]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/windows.cpp
implement wxColourDialog::Move() (patch 548048)
[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
9a74fcaf
RD
89 // Put some wx default wxChar* values into wxStrings.
90 DECLARE_DEF_STRING(PanelNameStr);
91 static const wxString wxPyEmptyString(wxT(""));
92
2f90df85
RD
93class wxPyValidator : public wxValidator {
94 DECLARE_DYNAMIC_CLASS(wxPyValidator);
95public:
96 wxPyValidator() {
97 }
2f90df85
RD
98
99 ~wxPyValidator() {
100 }
101
059a841c 102 wxObject* Clone() const {
694759cf
RD
103 wxPyValidator* ptr = NULL;
104 wxPyValidator* self = (wxPyValidator*)this;
2f90df85 105
474c48f9 106 wxPyBeginBlockThreads();
694759cf
RD
107 if (self->m_myInst.findCallback("Clone")) {
108 PyObject* ro;
109 ro = self->m_myInst.callCallbackObj(Py_BuildValue("()"));
f6bcfd97
BP
110 if (ro) {
111 SWIG_GetPtrObj(ro, (void **)&ptr, "_wxPyValidator_p");
112 Py_DECREF(ro);
113 }
694759cf 114 }
474c48f9 115 wxPyEndBlockThreads();
059a841c 116
694759cf
RD
117 // This is very dangerous!!! But is the only way I could find
118 // to squash a memory leak. Currently it is okay, but if the
119 // validator architecture in wxWindows ever changes, problems
120 // could arise.
121 delete self;
694759cf
RD
122 return ptr;
123 }
2f90df85 124
9df61a29 125
2f90df85
RD
126 DEC_PYCALLBACK_BOOL_WXWIN(Validate);
127 DEC_PYCALLBACK_BOOL_(TransferToWindow);
128 DEC_PYCALLBACK_BOOL_(TransferFromWindow);
129
130 PYPRIVATE;
2f90df85
RD
131};
132
133IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator, wxValidator, Validate);
134IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferToWindow);
135IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferFromWindow);
136
137IMPLEMENT_DYNAMIC_CLASS(wxPyValidator, wxValidator);
8ab979d7 138
2f90df85
RD
139#ifdef __cplusplus
140extern "C" {
141#endif
9df61a29
RD
142static void *SwigwxEvtHandlerTowxObject(void *ptr) {
143 wxEvtHandler *src;
144 wxObject *dest;
145 src = (wxEvtHandler *) ptr;
146 dest = (wxObject *) src;
147 return (void *) dest;
148}
149
c368d904
RD
150#define new_wxEvtHandler() (new wxEvtHandler())
151static PyObject *_wrap_new_wxEvtHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
152 PyObject * _resultobj;
153 wxEvtHandler * _result;
154 char *_kwnames[] = { NULL };
155 char _ptemp[128];
156
157 self = self;
158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxEvtHandler",_kwnames))
159 return NULL;
160{
474c48f9 161 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 162 _result = (wxEvtHandler *)new_wxEvtHandler();
c368d904 163
474c48f9 164 wxPyEndAllowThreads(__tstate);
4dfaa61e 165 if (PyErr_Occurred()) return NULL;
c368d904
RD
166} if (_result) {
167 SWIG_MakePtr(_ptemp, (char *) _result,"_wxEvtHandler_p");
168 _resultobj = Py_BuildValue("s",_ptemp);
169 } else {
170 Py_INCREF(Py_None);
171 _resultobj = Py_None;
172 }
173 return _resultobj;
174}
175
2f90df85
RD
176#define wxEvtHandler_ProcessEvent(_swigobj,_swigarg0) (_swigobj->ProcessEvent(_swigarg0))
177static PyObject *_wrap_wxEvtHandler_ProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
178 PyObject * _resultobj;
179 bool _result;
180 wxEvtHandler * _arg0;
181 wxEvent * _arg1;
182 PyObject * _argo0 = 0;
183 PyObject * _argo1 = 0;
184 char *_kwnames[] = { "self","event", NULL };
185
186 self = self;
187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEvtHandler_ProcessEvent",_kwnames,&_argo0,&_argo1))
188 return NULL;
189 if (_argo0) {
190 if (_argo0 == Py_None) { _arg0 = NULL; }
191 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
192 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_ProcessEvent. Expected _wxEvtHandler_p.");
193 return NULL;
194 }
195 }
196 if (_argo1) {
197 if (_argo1 == Py_None) { _arg1 = NULL; }
198 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvent_p")) {
199 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxEvtHandler_ProcessEvent. Expected _wxEvent_p.");
200 return NULL;
201 }
202 }
203{
474c48f9 204 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 205 _result = (bool )wxEvtHandler_ProcessEvent(_arg0,*_arg1);
2f90df85 206
474c48f9 207 wxPyEndAllowThreads(__tstate);
4dfaa61e 208 if (PyErr_Occurred()) return NULL;
2f90df85
RD
209} _resultobj = Py_BuildValue("i",_result);
210 return _resultobj;
211}
212
f6bcfd97
BP
213#define wxEvtHandler_AddPendingEvent(_swigobj,_swigarg0) (_swigobj->AddPendingEvent(_swigarg0))
214static PyObject *_wrap_wxEvtHandler_AddPendingEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
215 PyObject * _resultobj;
216 wxEvtHandler * _arg0;
217 wxEvent * _arg1;
218 PyObject * _argo0 = 0;
219 PyObject * _argo1 = 0;
220 char *_kwnames[] = { "self","event", NULL };
221
222 self = self;
223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEvtHandler_AddPendingEvent",_kwnames,&_argo0,&_argo1))
224 return NULL;
225 if (_argo0) {
226 if (_argo0 == Py_None) { _arg0 = NULL; }
227 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
228 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_AddPendingEvent. Expected _wxEvtHandler_p.");
229 return NULL;
230 }
231 }
232 if (_argo1) {
233 if (_argo1 == Py_None) { _arg1 = NULL; }
234 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvent_p")) {
235 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxEvtHandler_AddPendingEvent. Expected _wxEvent_p.");
236 return NULL;
237 }
238 }
239{
474c48f9 240 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 241 wxEvtHandler_AddPendingEvent(_arg0,*_arg1);
f6bcfd97 242
474c48f9 243 wxPyEndAllowThreads(__tstate);
4dfaa61e 244 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
245} Py_INCREF(Py_None);
246 _resultobj = Py_None;
247 return _resultobj;
248}
249
2f90df85
RD
250#define wxEvtHandler_GetEvtHandlerEnabled(_swigobj) (_swigobj->GetEvtHandlerEnabled())
251static PyObject *_wrap_wxEvtHandler_GetEvtHandlerEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
252 PyObject * _resultobj;
253 bool _result;
254 wxEvtHandler * _arg0;
255 PyObject * _argo0 = 0;
256 char *_kwnames[] = { "self", NULL };
257
258 self = self;
259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvtHandler_GetEvtHandlerEnabled",_kwnames,&_argo0))
260 return NULL;
261 if (_argo0) {
262 if (_argo0 == Py_None) { _arg0 = NULL; }
263 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
264 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_GetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
265 return NULL;
266 }
267 }
268{
474c48f9 269 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 270 _result = (bool )wxEvtHandler_GetEvtHandlerEnabled(_arg0);
2f90df85 271
474c48f9 272 wxPyEndAllowThreads(__tstate);
4dfaa61e 273 if (PyErr_Occurred()) return NULL;
2f90df85
RD
274} _resultobj = Py_BuildValue("i",_result);
275 return _resultobj;
276}
277
278#define wxEvtHandler_SetEvtHandlerEnabled(_swigobj,_swigarg0) (_swigobj->SetEvtHandlerEnabled(_swigarg0))
279static PyObject *_wrap_wxEvtHandler_SetEvtHandlerEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
280 PyObject * _resultobj;
281 wxEvtHandler * _arg0;
282 bool _arg1;
283 PyObject * _argo0 = 0;
284 int tempbool1;
285 char *_kwnames[] = { "self","enabled", NULL };
286
287 self = self;
288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxEvtHandler_SetEvtHandlerEnabled",_kwnames,&_argo0,&tempbool1))
289 return NULL;
290 if (_argo0) {
291 if (_argo0 == Py_None) { _arg0 = NULL; }
292 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
293 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_SetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
294 return NULL;
295 }
296 }
297 _arg1 = (bool ) tempbool1;
298{
474c48f9 299 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 300 wxEvtHandler_SetEvtHandlerEnabled(_arg0,_arg1);
2f90df85 301
474c48f9 302 wxPyEndAllowThreads(__tstate);
4dfaa61e 303 if (PyErr_Occurred()) return NULL;
2f90df85
RD
304} Py_INCREF(Py_None);
305 _resultobj = Py_None;
306 return _resultobj;
307}
308
309#define wxEvtHandler_GetNextHandler(_swigobj) (_swigobj->GetNextHandler())
310static PyObject *_wrap_wxEvtHandler_GetNextHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
311 PyObject * _resultobj;
312 wxEvtHandler * _result;
313 wxEvtHandler * _arg0;
314 PyObject * _argo0 = 0;
315 char *_kwnames[] = { "self", NULL };
2f90df85
RD
316
317 self = self;
318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvtHandler_GetNextHandler",_kwnames,&_argo0))
319 return NULL;
320 if (_argo0) {
321 if (_argo0 == Py_None) { _arg0 = NULL; }
322 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
323 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_GetNextHandler. Expected _wxEvtHandler_p.");
324 return NULL;
325 }
326 }
327{
474c48f9 328 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 329 _result = (wxEvtHandler *)wxEvtHandler_GetNextHandler(_arg0);
2f90df85 330
474c48f9 331 wxPyEndAllowThreads(__tstate);
4dfaa61e 332 if (PyErr_Occurred()) return NULL;
9df61a29 333}{ _resultobj = wxPyMake_wxObject(_result); }
2f90df85
RD
334 return _resultobj;
335}
336
337#define wxEvtHandler_GetPreviousHandler(_swigobj) (_swigobj->GetPreviousHandler())
338static PyObject *_wrap_wxEvtHandler_GetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
339 PyObject * _resultobj;
340 wxEvtHandler * _result;
341 wxEvtHandler * _arg0;
342 PyObject * _argo0 = 0;
343 char *_kwnames[] = { "self", NULL };
2f90df85
RD
344
345 self = self;
346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvtHandler_GetPreviousHandler",_kwnames,&_argo0))
347 return NULL;
348 if (_argo0) {
349 if (_argo0 == Py_None) { _arg0 = NULL; }
350 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
351 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_GetPreviousHandler. Expected _wxEvtHandler_p.");
352 return NULL;
353 }
354 }
355{
474c48f9 356 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 357 _result = (wxEvtHandler *)wxEvtHandler_GetPreviousHandler(_arg0);
2f90df85 358
474c48f9 359 wxPyEndAllowThreads(__tstate);
4dfaa61e 360 if (PyErr_Occurred()) return NULL;
9df61a29 361}{ _resultobj = wxPyMake_wxObject(_result); }
2f90df85
RD
362 return _resultobj;
363}
364
365#define wxEvtHandler_SetNextHandler(_swigobj,_swigarg0) (_swigobj->SetNextHandler(_swigarg0))
366static PyObject *_wrap_wxEvtHandler_SetNextHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
367 PyObject * _resultobj;
368 wxEvtHandler * _arg0;
369 wxEvtHandler * _arg1;
370 PyObject * _argo0 = 0;
371 PyObject * _argo1 = 0;
372 char *_kwnames[] = { "self","handler", NULL };
373
374 self = self;
375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEvtHandler_SetNextHandler",_kwnames,&_argo0,&_argo1))
376 return NULL;
377 if (_argo0) {
378 if (_argo0 == Py_None) { _arg0 = NULL; }
379 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
380 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
381 return NULL;
382 }
383 }
384 if (_argo1) {
385 if (_argo1 == Py_None) { _arg1 = NULL; }
386 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
387 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
388 return NULL;
389 }
390 }
391{
474c48f9 392 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 393 wxEvtHandler_SetNextHandler(_arg0,_arg1);
2f90df85 394
474c48f9 395 wxPyEndAllowThreads(__tstate);
4dfaa61e 396 if (PyErr_Occurred()) return NULL;
2f90df85
RD
397} Py_INCREF(Py_None);
398 _resultobj = Py_None;
399 return _resultobj;
400}
401
402#define wxEvtHandler_SetPreviousHandler(_swigobj,_swigarg0) (_swigobj->SetPreviousHandler(_swigarg0))
403static PyObject *_wrap_wxEvtHandler_SetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
404 PyObject * _resultobj;
405 wxEvtHandler * _arg0;
406 wxEvtHandler * _arg1;
407 PyObject * _argo0 = 0;
408 PyObject * _argo1 = 0;
409 char *_kwnames[] = { "self","handler", NULL };
410
411 self = self;
412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEvtHandler_SetPreviousHandler",_kwnames,&_argo0,&_argo1))
413 return NULL;
414 if (_argo0) {
415 if (_argo0 == Py_None) { _arg0 = NULL; }
416 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
417 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
418 return NULL;
419 }
420 }
421 if (_argo1) {
422 if (_argo1 == Py_None) { _arg1 = NULL; }
423 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
424 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
425 return NULL;
426 }
427 }
428{
474c48f9 429 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 430 wxEvtHandler_SetPreviousHandler(_arg0,_arg1);
2f90df85 431
474c48f9 432 wxPyEndAllowThreads(__tstate);
4dfaa61e 433 if (PyErr_Occurred()) return NULL;
2f90df85
RD
434} Py_INCREF(Py_None);
435 _resultobj = Py_None;
436 return _resultobj;
437}
438
439static void wxEvtHandler_Connect(wxEvtHandler *self,int id,int lastId,int eventType,PyObject * func) {
440 if (PyCallable_Check(func)) {
441 self->Connect(id, lastId, eventType,
442 (wxObjectEventFunction) &wxPyCallback::EventThunker,
443 new wxPyCallback(func));
444 }
a57d56d6
RD
445 else if (func == Py_None) {
446 self->Disconnect(id, lastId, eventType,
447 (wxObjectEventFunction)
448 &wxPyCallback::EventThunker);
449 }
450 else {
451 PyErr_SetString(PyExc_TypeError, "Expected callable object or None.");
452 }
2f90df85
RD
453 }
454static PyObject *_wrap_wxEvtHandler_Connect(PyObject *self, PyObject *args, PyObject *kwargs) {
455 PyObject * _resultobj;
456 wxEvtHandler * _arg0;
457 int _arg1;
458 int _arg2;
459 int _arg3;
460 PyObject * _arg4;
461 PyObject * _argo0 = 0;
462 PyObject * _obj4 = 0;
463 char *_kwnames[] = { "self","id","lastId","eventType","func", NULL };
464
465 self = self;
466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiiO:wxEvtHandler_Connect",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_obj4))
467 return NULL;
468 if (_argo0) {
469 if (_argo0 == Py_None) { _arg0 = NULL; }
470 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
471 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
472 return NULL;
473 }
474 }
475{
476 _arg4 = _obj4;
477}
478{
474c48f9 479 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 480 wxEvtHandler_Connect(_arg0,_arg1,_arg2,_arg3,_arg4);
2f90df85 481
474c48f9 482 wxPyEndAllowThreads(__tstate);
4dfaa61e 483 if (PyErr_Occurred()) return NULL;
2f90df85
RD
484} Py_INCREF(Py_None);
485 _resultobj = Py_None;
486 return _resultobj;
487}
488
6999b0d8
RD
489static bool wxEvtHandler_Disconnect(wxEvtHandler *self,int id,int lastId,wxEventType eventType) {
490 return self->Disconnect(id, lastId, eventType,
491 (wxObjectEventFunction)
492 &wxPyCallback::EventThunker);
493 }
494static PyObject *_wrap_wxEvtHandler_Disconnect(PyObject *self, PyObject *args, PyObject *kwargs) {
495 PyObject * _resultobj;
496 bool _result;
497 wxEvtHandler * _arg0;
498 int _arg1;
499 int _arg2 = (int ) -1;
500 wxEventType _arg3 = (wxEventType ) wxEVT_NULL;
501 PyObject * _argo0 = 0;
502 char *_kwnames[] = { "self","id","lastId","eventType", NULL };
503
504 self = self;
505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ii:wxEvtHandler_Disconnect",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
506 return NULL;
507 if (_argo0) {
508 if (_argo0 == Py_None) { _arg0 = NULL; }
509 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
510 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_Disconnect. Expected _wxEvtHandler_p.");
511 return NULL;
512 }
513 }
514{
474c48f9 515 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 516 _result = (bool )wxEvtHandler_Disconnect(_arg0,_arg1,_arg2,_arg3);
6999b0d8 517
474c48f9 518 wxPyEndAllowThreads(__tstate);
4dfaa61e 519 if (PyErr_Occurred()) return NULL;
6999b0d8
RD
520} _resultobj = Py_BuildValue("i",_result);
521 return _resultobj;
522}
523
0220cbc1 524static void wxEvtHandler__setOORInfo(wxEvtHandler *self,PyObject * _self) {
301dfd67 525 self->SetClientObject(new wxPyOORClientData(_self));
0220cbc1
RD
526 }
527static PyObject *_wrap_wxEvtHandler__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
528 PyObject * _resultobj;
529 wxEvtHandler * _arg0;
530 PyObject * _arg1;
531 PyObject * _argo0 = 0;
532 PyObject * _obj1 = 0;
533 char *_kwnames[] = { "self","_self", NULL };
534
535 self = self;
536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEvtHandler__setOORInfo",_kwnames,&_argo0,&_obj1))
537 return NULL;
538 if (_argo0) {
539 if (_argo0 == Py_None) { _arg0 = NULL; }
540 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
541 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler__setOORInfo. Expected _wxEvtHandler_p.");
542 return NULL;
543 }
544 }
545{
546 _arg1 = _obj1;
547}
548{
474c48f9 549 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 550 wxEvtHandler__setOORInfo(_arg0,_arg1);
0220cbc1 551
474c48f9 552 wxPyEndAllowThreads(__tstate);
0220cbc1
RD
553 if (PyErr_Occurred()) return NULL;
554} Py_INCREF(Py_None);
555 _resultobj = Py_None;
556 return _resultobj;
557}
558
2f90df85
RD
559static void *SwigwxValidatorTowxEvtHandler(void *ptr) {
560 wxValidator *src;
561 wxEvtHandler *dest;
562 src = (wxValidator *) ptr;
563 dest = (wxEvtHandler *) src;
564 return (void *) dest;
565}
566
9df61a29
RD
567static void *SwigwxValidatorTowxObject(void *ptr) {
568 wxValidator *src;
569 wxObject *dest;
570 src = (wxValidator *) ptr;
571 dest = (wxObject *) src;
572 return (void *) dest;
573}
574
2f90df85
RD
575#define new_wxValidator() (new wxValidator())
576static PyObject *_wrap_new_wxValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
577 PyObject * _resultobj;
578 wxValidator * _result;
579 char *_kwnames[] = { NULL };
580 char _ptemp[128];
581
582 self = self;
583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxValidator",_kwnames))
584 return NULL;
585{
474c48f9 586 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 587 _result = (wxValidator *)new_wxValidator();
2f90df85 588
474c48f9 589 wxPyEndAllowThreads(__tstate);
4dfaa61e 590 if (PyErr_Occurred()) return NULL;
2f90df85
RD
591} if (_result) {
592 SWIG_MakePtr(_ptemp, (char *) _result,"_wxValidator_p");
593 _resultobj = Py_BuildValue("s",_ptemp);
594 } else {
595 Py_INCREF(Py_None);
596 _resultobj = Py_None;
597 }
598 return _resultobj;
af309447 599}
2f90df85
RD
600
601#define wxValidator_Clone(_swigobj) (_swigobj->Clone())
602static PyObject *_wrap_wxValidator_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 603 PyObject * _resultobj;
2f90df85
RD
604 wxValidator * _result;
605 wxValidator * _arg0;
606 PyObject * _argo0 = 0;
607 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
608
609 self = self;
2f90df85
RD
610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxValidator_Clone",_kwnames,&_argo0))
611 return NULL;
612 if (_argo0) {
613 if (_argo0 == Py_None) { _arg0 = NULL; }
614 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxValidator_p")) {
615 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxValidator_Clone. Expected _wxValidator_p.");
8ab979d7 616 return NULL;
2f90df85
RD
617 }
618 }
cf694132 619{
474c48f9 620 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 621 _result = (wxValidator *)wxValidator_Clone(_arg0);
cf694132 622
474c48f9 623 wxPyEndAllowThreads(__tstate);
4dfaa61e 624 if (PyErr_Occurred()) return NULL;
9df61a29 625}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
626 return _resultobj;
627}
628
2f90df85
RD
629#define wxValidator_GetWindow(_swigobj) (_swigobj->GetWindow())
630static PyObject *_wrap_wxValidator_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
631 PyObject * _resultobj;
632 wxWindow * _result;
2f90df85
RD
633 wxValidator * _arg0;
634 PyObject * _argo0 = 0;
635 char *_kwnames[] = { "self", NULL };
af309447
RD
636
637 self = self;
2f90df85
RD
638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxValidator_GetWindow",_kwnames,&_argo0))
639 return NULL;
640 if (_argo0) {
641 if (_argo0 == Py_None) { _arg0 = NULL; }
642 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxValidator_p")) {
643 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxValidator_GetWindow. Expected _wxValidator_p.");
af309447 644 return NULL;
2f90df85
RD
645 }
646 }
cf694132 647{
474c48f9 648 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 649 _result = (wxWindow *)wxValidator_GetWindow(_arg0);
cf694132 650
474c48f9 651 wxPyEndAllowThreads(__tstate);
4dfaa61e 652 if (PyErr_Occurred()) return NULL;
9df61a29 653}{ _resultobj = wxPyMake_wxObject(_result); }
af309447
RD
654 return _resultobj;
655}
656
2f90df85
RD
657#define wxValidator_SetWindow(_swigobj,_swigarg0) (_swigobj->SetWindow(_swigarg0))
658static PyObject *_wrap_wxValidator_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 659 PyObject * _resultobj;
2f90df85
RD
660 wxValidator * _arg0;
661 wxWindow * _arg1;
1d99702e
RD
662 PyObject * _argo0 = 0;
663 PyObject * _argo1 = 0;
2f90df85 664 char *_kwnames[] = { "self","window", NULL };
cf694132
RD
665
666 self = self;
2f90df85 667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxValidator_SetWindow",_kwnames,&_argo0,&_argo1))
cf694132 668 return NULL;
1d99702e
RD
669 if (_argo0) {
670 if (_argo0 == Py_None) { _arg0 = NULL; }
2f90df85
RD
671 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxValidator_p")) {
672 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxValidator_SetWindow. Expected _wxValidator_p.");
cf694132
RD
673 return NULL;
674 }
675 }
1d99702e
RD
676 if (_argo1) {
677 if (_argo1 == Py_None) { _arg1 = NULL; }
2f90df85
RD
678 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
679 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxValidator_SetWindow. Expected _wxWindow_p.");
cf694132
RD
680 return NULL;
681 }
682 }
683{
474c48f9 684 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 685 wxValidator_SetWindow(_arg0,_arg1);
cf694132 686
474c48f9 687 wxPyEndAllowThreads(__tstate);
4dfaa61e 688 if (PyErr_Occurred()) return NULL;
2f90df85
RD
689} Py_INCREF(Py_None);
690 _resultobj = Py_None;
cf694132
RD
691 return _resultobj;
692}
693
9df61a29
RD
694static PyObject *_wrap_wxValidator_IsSilent(PyObject *self, PyObject *args, PyObject *kwargs) {
695 PyObject * _resultobj;
696 bool _result;
697 char *_kwnames[] = { NULL };
698
699 self = self;
700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxValidator_IsSilent",_kwnames))
701 return NULL;
702{
474c48f9 703 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 704 _result = (bool )wxValidator::IsSilent();
9df61a29 705
474c48f9 706 wxPyEndAllowThreads(__tstate);
4dfaa61e 707 if (PyErr_Occurred()) return NULL;
9df61a29
RD
708} _resultobj = Py_BuildValue("i",_result);
709 return _resultobj;
710}
711
712static PyObject *_wrap_wxValidator_SetBellOnError(PyObject *self, PyObject *args, PyObject *kwargs) {
713 PyObject * _resultobj;
714 int _arg0 = (int ) TRUE;
715 char *_kwnames[] = { "doIt", NULL };
716
717 self = self;
718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:wxValidator_SetBellOnError",_kwnames,&_arg0))
719 return NULL;
720{
474c48f9 721 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 722 wxValidator::SetBellOnError(_arg0);
9df61a29 723
474c48f9 724 wxPyEndAllowThreads(__tstate);
4dfaa61e 725 if (PyErr_Occurred()) return NULL;
9df61a29
RD
726} Py_INCREF(Py_None);
727 _resultobj = Py_None;
728 return _resultobj;
729}
730
2f90df85
RD
731static void *SwigwxPyValidatorTowxValidator(void *ptr) {
732 wxPyValidator *src;
733 wxValidator *dest;
734 src = (wxPyValidator *) ptr;
735 dest = (wxValidator *) src;
736 return (void *) dest;
737}
738
739static void *SwigwxPyValidatorTowxEvtHandler(void *ptr) {
740 wxPyValidator *src;
741 wxEvtHandler *dest;
742 src = (wxPyValidator *) ptr;
743 dest = (wxEvtHandler *) src;
744 return (void *) dest;
745}
746
9df61a29
RD
747static void *SwigwxPyValidatorTowxObject(void *ptr) {
748 wxPyValidator *src;
749 wxObject *dest;
750 src = (wxPyValidator *) ptr;
751 dest = (wxObject *) src;
752 return (void *) dest;
753}
754
2f90df85
RD
755#define new_wxPyValidator() (new wxPyValidator())
756static PyObject *_wrap_new_wxPyValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
757 PyObject * _resultobj;
758 wxPyValidator * _result;
759 char *_kwnames[] = { NULL };
760 char _ptemp[128];
761
762 self = self;
763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyValidator",_kwnames))
764 return NULL;
765{
474c48f9 766 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 767 _result = (wxPyValidator *)new_wxPyValidator();
2f90df85 768
474c48f9 769 wxPyEndAllowThreads(__tstate);
4dfaa61e 770 if (PyErr_Occurred()) return NULL;
2f90df85
RD
771} if (_result) {
772 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyValidator_p");
773 _resultobj = Py_BuildValue("s",_ptemp);
774 } else {
775 Py_INCREF(Py_None);
776 _resultobj = Py_None;
777 }
778 return _resultobj;
779}
780
0220cbc1
RD
781#define wxPyValidator__setCallbackInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1,_swigarg2))
782static PyObject *_wrap_wxPyValidator__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 783 PyObject * _resultobj;
2f90df85
RD
784 wxPyValidator * _arg0;
785 PyObject * _arg1;
f6bcfd97
BP
786 PyObject * _arg2;
787 int _arg3 = (int ) TRUE;
1d99702e 788 PyObject * _argo0 = 0;
2f90df85 789 PyObject * _obj1 = 0;
f6bcfd97
BP
790 PyObject * _obj2 = 0;
791 char *_kwnames[] = { "self","self","_class","incref", NULL };
8ab979d7
RD
792
793 self = self;
0220cbc1 794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|i:wxPyValidator__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2,&_arg3))
8ab979d7 795 return NULL;
1d99702e
RD
796 if (_argo0) {
797 if (_argo0 == Py_None) { _arg0 = NULL; }
2f90df85 798 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyValidator_p")) {
0220cbc1 799 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyValidator__setCallbackInfo. Expected _wxPyValidator_p.");
8ab979d7
RD
800 return NULL;
801 }
802 }
803{
2f90df85 804 _arg1 = _obj1;
8ab979d7 805}
f6bcfd97
BP
806{
807 _arg2 = _obj2;
808}
cf694132 809{
474c48f9 810 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 811 wxPyValidator__setCallbackInfo(_arg0,_arg1,_arg2,_arg3);
cf694132 812
474c48f9 813 wxPyEndAllowThreads(__tstate);
4dfaa61e 814 if (PyErr_Occurred()) return NULL;
cf694132 815} Py_INCREF(Py_None);
8ab979d7
RD
816 _resultobj = Py_None;
817 return _resultobj;
818}
819
820static void *SwigwxWindowTowxEvtHandler(void *ptr) {
821 wxWindow *src;
822 wxEvtHandler *dest;
823 src = (wxWindow *) ptr;
824 dest = (wxEvtHandler *) src;
825 return (void *) dest;
826}
827
9df61a29
RD
828static void *SwigwxWindowTowxObject(void *ptr) {
829 wxWindow *src;
830 wxObject *dest;
831 src = (wxWindow *) ptr;
832 dest = (wxObject *) src;
833 return (void *) dest;
834}
835
8ab979d7 836#define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
efc5f224 837static PyObject *_wrap_new_wxWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
838 PyObject * _resultobj;
839 wxWindow * _result;
840 wxWindow * _arg0;
841 wxWindowID _arg1;
b68dc582
RD
842 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
843 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
1d99702e 844 long _arg4 = (long ) 0;
9a74fcaf 845 wxString * _arg5 = (wxString *) &wxPyPanelNameStr;
1d99702e 846 PyObject * _argo0 = 0;
2f90df85
RD
847 wxPoint temp;
848 PyObject * _obj2 = 0;
849 wxSize temp0;
850 PyObject * _obj3 = 0;
9a74fcaf 851 PyObject * _obj5 = 0;
efc5f224 852 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
8ab979d7
RD
853 char _ptemp[128];
854
855 self = self;
9a74fcaf 856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
8ab979d7 857 return NULL;
1d99702e
RD
858 if (_argo0) {
859 if (_argo0 == Py_None) { _arg0 = NULL; }
860 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
861 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
862 return NULL;
863 }
864 }
2f90df85
RD
865 if (_obj2)
866{
867 _arg2 = &temp;
868 if (! wxPoint_helper(_obj2, &_arg2))
8ab979d7 869 return NULL;
2f90df85
RD
870}
871 if (_obj3)
872{
873 _arg3 = &temp0;
874 if (! wxSize_helper(_obj3, &_arg3))
8ab979d7 875 return NULL;
9a74fcaf
RD
876}
877 if (_obj5)
878{
879 _arg5 = wxString_in_helper(_obj5);
880 if (_arg5 == NULL)
881 return NULL;
2f90df85 882}
cf694132 883{
474c48f9 884 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 885 _result = (wxWindow *)new_wxWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
cf694132 886
474c48f9 887 wxPyEndAllowThreads(__tstate);
4dfaa61e 888 if (PyErr_Occurred()) return NULL;
1d99702e
RD
889} if (_result) {
890 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
891 _resultobj = Py_BuildValue("s",_ptemp);
892 } else {
893 Py_INCREF(Py_None);
894 _resultobj = Py_None;
895 }
9a74fcaf
RD
896{
897 if (_obj5)
898 delete _arg5;
899}
8ab979d7
RD
900 return _resultobj;
901}
902
aa2a5b86
RD
903#define new_wxPreWindow() (new wxWindow())
904static PyObject *_wrap_new_wxPreWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
905 PyObject * _resultobj;
906 wxWindow * _result;
907 char *_kwnames[] = { NULL };
908 char _ptemp[128];
909
910 self = self;
911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreWindow",_kwnames))
912 return NULL;
913{
474c48f9 914 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 915 _result = (wxWindow *)new_wxPreWindow();
aa2a5b86 916
474c48f9 917 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
918 if (PyErr_Occurred()) return NULL;
919} if (_result) {
920 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
921 _resultobj = Py_BuildValue("s",_ptemp);
922 } else {
923 Py_INCREF(Py_None);
924 _resultobj = Py_None;
925 }
926 return _resultobj;
927}
928
929#define wxWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
930static PyObject *_wrap_wxWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
931 PyObject * _resultobj;
932 bool _result;
933 wxWindow * _arg0;
934 wxWindow * _arg1;
935 wxWindowID _arg2;
936 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
937 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
938 long _arg5 = (long ) 0;
9a74fcaf 939 wxString * _arg6 = (wxString *) &wxPyPanelNameStr;
aa2a5b86
RD
940 PyObject * _argo0 = 0;
941 PyObject * _argo1 = 0;
942 wxPoint temp;
943 PyObject * _obj3 = 0;
944 wxSize temp0;
945 PyObject * _obj4 = 0;
9a74fcaf 946 PyObject * _obj6 = 0;
aa2a5b86
RD
947 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
948
949 self = self;
9a74fcaf 950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOlO:wxWindow_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
aa2a5b86
RD
951 return NULL;
952 if (_argo0) {
953 if (_argo0 == Py_None) { _arg0 = NULL; }
954 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
955 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Create. Expected _wxWindow_p.");
956 return NULL;
957 }
958 }
959 if (_argo1) {
960 if (_argo1 == Py_None) { _arg1 = NULL; }
961 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
962 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_Create. Expected _wxWindow_p.");
963 return NULL;
964 }
965 }
966 if (_obj3)
967{
968 _arg3 = &temp;
969 if (! wxPoint_helper(_obj3, &_arg3))
970 return NULL;
971}
972 if (_obj4)
973{
974 _arg4 = &temp0;
975 if (! wxSize_helper(_obj4, &_arg4))
976 return NULL;
9a74fcaf
RD
977}
978 if (_obj6)
979{
980 _arg6 = wxString_in_helper(_obj6);
981 if (_arg6 == NULL)
982 return NULL;
aa2a5b86
RD
983}
984{
474c48f9 985 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 986 _result = (bool )wxWindow_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
aa2a5b86 987
474c48f9 988 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
989 if (PyErr_Occurred()) return NULL;
990} _resultobj = Py_BuildValue("i",_result);
9a74fcaf
RD
991{
992 if (_obj6)
993 delete _arg6;
994}
aa2a5b86
RD
995 return _resultobj;
996}
997
8ab979d7 998#define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
efc5f224 999static PyObject *_wrap_wxWindow_Center(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1000 PyObject * _resultobj;
1001 wxWindow * _arg0;
1d99702e
RD
1002 int _arg1 = (int ) wxBOTH;
1003 PyObject * _argo0 = 0;
efc5f224 1004 char *_kwnames[] = { "self","direction", NULL };
8ab979d7
RD
1005
1006 self = self;
efc5f224 1007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_Center",_kwnames,&_argo0,&_arg1))
8ab979d7 1008 return NULL;
1d99702e
RD
1009 if (_argo0) {
1010 if (_argo0 == Py_None) { _arg0 = NULL; }
1011 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1012 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
1013 return NULL;
1014 }
1015 }
cf694132 1016{
474c48f9 1017 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1018 wxWindow_Center(_arg0,_arg1);
cf694132 1019
474c48f9 1020 wxPyEndAllowThreads(__tstate);
4dfaa61e 1021 if (PyErr_Occurred()) return NULL;
cf694132 1022} Py_INCREF(Py_None);
8ab979d7
RD
1023 _resultobj = Py_None;
1024 return _resultobj;
1025}
1026
1027#define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
efc5f224 1028static PyObject *_wrap_wxWindow_Centre(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1029 PyObject * _resultobj;
1030 wxWindow * _arg0;
1d99702e
RD
1031 int _arg1 = (int ) wxBOTH;
1032 PyObject * _argo0 = 0;
efc5f224 1033 char *_kwnames[] = { "self","direction", NULL };
8ab979d7
RD
1034
1035 self = self;
efc5f224 1036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_Centre",_kwnames,&_argo0,&_arg1))
8ab979d7 1037 return NULL;
1d99702e
RD
1038 if (_argo0) {
1039 if (_argo0 == Py_None) { _arg0 = NULL; }
1040 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1041 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
1042 return NULL;
1043 }
1044 }
cf694132 1045{
474c48f9 1046 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1047 wxWindow_Centre(_arg0,_arg1);
cf694132 1048
474c48f9 1049 wxPyEndAllowThreads(__tstate);
4dfaa61e 1050 if (PyErr_Occurred()) return NULL;
cf694132 1051} Py_INCREF(Py_None);
8ab979d7
RD
1052 _resultobj = Py_None;
1053 return _resultobj;
1054}
1055
bb0054cd 1056#define wxWindow_CentreOnParent(_swigobj,_swigarg0) (_swigobj->CentreOnParent(_swigarg0))
efc5f224 1057static PyObject *_wrap_wxWindow_CentreOnParent(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
1058 PyObject * _resultobj;
1059 wxWindow * _arg0;
1d99702e
RD
1060 int _arg1 = (int ) wxBOTH;
1061 PyObject * _argo0 = 0;
efc5f224 1062 char *_kwnames[] = { "self","direction", NULL };
bb0054cd
RD
1063
1064 self = self;
efc5f224 1065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_CentreOnParent",_kwnames,&_argo0,&_arg1))
bb0054cd 1066 return NULL;
1d99702e
RD
1067 if (_argo0) {
1068 if (_argo0 == Py_None) { _arg0 = NULL; }
1069 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
bb0054cd
RD
1070 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_CentreOnParent. Expected _wxWindow_p.");
1071 return NULL;
1072 }
1073 }
1074{
474c48f9 1075 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1076 wxWindow_CentreOnParent(_arg0,_arg1);
bb0054cd 1077
474c48f9 1078 wxPyEndAllowThreads(__tstate);
4dfaa61e 1079 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
1080} Py_INCREF(Py_None);
1081 _resultobj = Py_None;
1082 return _resultobj;
1083}
1084
1085#define wxWindow_CenterOnParent(_swigobj,_swigarg0) (_swigobj->CenterOnParent(_swigarg0))
efc5f224 1086static PyObject *_wrap_wxWindow_CenterOnParent(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
1087 PyObject * _resultobj;
1088 wxWindow * _arg0;
1d99702e
RD
1089 int _arg1 = (int ) wxBOTH;
1090 PyObject * _argo0 = 0;
efc5f224 1091 char *_kwnames[] = { "self","direction", NULL };
bb0054cd
RD
1092
1093 self = self;
efc5f224 1094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_CenterOnParent",_kwnames,&_argo0,&_arg1))
bb0054cd 1095 return NULL;
1d99702e
RD
1096 if (_argo0) {
1097 if (_argo0 == Py_None) { _arg0 = NULL; }
1098 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
bb0054cd
RD
1099 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_CenterOnParent. Expected _wxWindow_p.");
1100 return NULL;
1101 }
1102 }
1103{
474c48f9 1104 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1105 wxWindow_CenterOnParent(_arg0,_arg1);
bb0054cd 1106
474c48f9 1107 wxPyEndAllowThreads(__tstate);
4dfaa61e 1108 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
1109} Py_INCREF(Py_None);
1110 _resultobj = Py_None;
1111 return _resultobj;
1112}
1113
3ca6a5f0
BP
1114#define wxWindow_CentreOnScreen(_swigobj,_swigarg0) (_swigobj->CentreOnScreen(_swigarg0))
1115static PyObject *_wrap_wxWindow_CentreOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
1116 PyObject * _resultobj;
1117 wxWindow * _arg0;
1118 int _arg1 = (int ) wxBOTH;
1119 PyObject * _argo0 = 0;
1120 char *_kwnames[] = { "self","direction", NULL };
1121
1122 self = self;
1123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_CentreOnScreen",_kwnames,&_argo0,&_arg1))
1124 return NULL;
1125 if (_argo0) {
1126 if (_argo0 == Py_None) { _arg0 = NULL; }
1127 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1128 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_CentreOnScreen. Expected _wxWindow_p.");
1129 return NULL;
1130 }
1131 }
1132{
474c48f9 1133 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1134 wxWindow_CentreOnScreen(_arg0,_arg1);
3ca6a5f0 1135
474c48f9 1136 wxPyEndAllowThreads(__tstate);
4dfaa61e 1137 if (PyErr_Occurred()) return NULL;
3ca6a5f0
BP
1138} Py_INCREF(Py_None);
1139 _resultobj = Py_None;
1140 return _resultobj;
1141}
1142
1143#define wxWindow_CenterOnScreen(_swigobj,_swigarg0) (_swigobj->CenterOnScreen(_swigarg0))
1144static PyObject *_wrap_wxWindow_CenterOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
1145 PyObject * _resultobj;
1146 wxWindow * _arg0;
1147 int _arg1 = (int ) wxBOTH;
1148 PyObject * _argo0 = 0;
1149 char *_kwnames[] = { "self","direction", NULL };
1150
1151 self = self;
1152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_CenterOnScreen",_kwnames,&_argo0,&_arg1))
1153 return NULL;
1154 if (_argo0) {
1155 if (_argo0 == Py_None) { _arg0 = NULL; }
1156 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1157 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_CenterOnScreen. Expected _wxWindow_p.");
1158 return NULL;
1159 }
1160 }
1161{
474c48f9 1162 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1163 wxWindow_CenterOnScreen(_arg0,_arg1);
3ca6a5f0 1164
474c48f9 1165 wxPyEndAllowThreads(__tstate);
4dfaa61e 1166 if (PyErr_Occurred()) return NULL;
3ca6a5f0
BP
1167} Py_INCREF(Py_None);
1168 _resultobj = Py_None;
1169 return _resultobj;
1170}
1171
9d6da64a
RD
1172#define wxWindow_Clear(_swigobj) (_swigobj->Clear())
1173static PyObject *_wrap_wxWindow_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
1174 PyObject * _resultobj;
1175 wxWindow * _arg0;
1176 PyObject * _argo0 = 0;
1177 char *_kwnames[] = { "self", NULL };
1178
1179 self = self;
1180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Clear",_kwnames,&_argo0))
1181 return NULL;
1182 if (_argo0) {
1183 if (_argo0 == Py_None) { _arg0 = NULL; }
1184 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1185 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Clear. Expected _wxWindow_p.");
1186 return NULL;
1187 }
1188 }
1189{
474c48f9 1190 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1191 wxWindow_Clear(_arg0);
9d6da64a 1192
474c48f9 1193 wxPyEndAllowThreads(__tstate);
9d6da64a
RD
1194 if (PyErr_Occurred()) return NULL;
1195} Py_INCREF(Py_None);
1196 _resultobj = Py_None;
1197 return _resultobj;
1198}
1199
af309447 1200#define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
efc5f224 1201static PyObject *_wrap_wxWindow_ClientToScreenXY(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1202 PyObject * _resultobj;
1203 wxWindow * _arg0;
1204 int * _arg1;
1205 int * _arg2;
1d99702e 1206 PyObject * _argo0 = 0;
8ab979d7
RD
1207 int temp;
1208 PyObject * _obj1 = 0;
1209 int temp0;
1210 PyObject * _obj2 = 0;
efc5f224 1211 char *_kwnames[] = { "self","x","y", NULL };
8ab979d7
RD
1212
1213 self = self;
efc5f224 1214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxWindow_ClientToScreenXY",_kwnames,&_argo0,&_obj1,&_obj2))
8ab979d7 1215 return NULL;
1d99702e
RD
1216 if (_argo0) {
1217 if (_argo0 == Py_None) { _arg0 = NULL; }
1218 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
af309447 1219 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
8ab979d7
RD
1220 return NULL;
1221 }
1222 }
1223{
1224 temp = (int) PyInt_AsLong(_obj1);
1225 _arg1 = &temp;
1226}
1227{
1228 temp0 = (int) PyInt_AsLong(_obj2);
1229 _arg2 = &temp0;
1230}
cf694132 1231{
474c48f9 1232 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1233 wxWindow_ClientToScreenXY(_arg0,_arg1,_arg2);
cf694132 1234
474c48f9 1235 wxPyEndAllowThreads(__tstate);
4dfaa61e 1236 if (PyErr_Occurred()) return NULL;
cf694132 1237} Py_INCREF(Py_None);
8ab979d7
RD
1238 _resultobj = Py_None;
1239{
1240 PyObject *o;
1241 o = PyInt_FromLong((long) (*_arg1));
1242 _resultobj = t_output_helper(_resultobj, o);
1243}
1244{
1245 PyObject *o;
1246 o = PyInt_FromLong((long) (*_arg2));
1247 _resultobj = t_output_helper(_resultobj, o);
1248}
1249 return _resultobj;
1250}
1251
af309447 1252#define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
efc5f224 1253static PyObject *_wrap_wxWindow_ClientToScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
1254 PyObject * _resultobj;
1255 wxPoint * _result;
1256 wxWindow * _arg0;
1257 wxPoint * _arg1;
1d99702e 1258 PyObject * _argo0 = 0;
2f90df85
RD
1259 wxPoint temp;
1260 PyObject * _obj1 = 0;
efc5f224 1261 char *_kwnames[] = { "self","pt", NULL };
af309447
RD
1262 char _ptemp[128];
1263
1264 self = self;
2f90df85 1265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ClientToScreen",_kwnames,&_argo0,&_obj1))
af309447 1266 return NULL;
1d99702e
RD
1267 if (_argo0) {
1268 if (_argo0 == Py_None) { _arg0 = NULL; }
1269 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
af309447
RD
1270 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
1271 return NULL;
1272 }
1273 }
2f90df85
RD
1274{
1275 _arg1 = &temp;
1276 if (! wxPoint_helper(_obj1, &_arg1))
af309447 1277 return NULL;
2f90df85 1278}
cf694132 1279{
474c48f9 1280 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1281 _result = new wxPoint (wxWindow_ClientToScreen(_arg0,*_arg1));
cf694132 1282
474c48f9 1283 wxPyEndAllowThreads(__tstate);
4dfaa61e 1284 if (PyErr_Occurred()) return NULL;
cf694132 1285} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
af309447
RD
1286 _resultobj = Py_BuildValue("s",_ptemp);
1287 return _resultobj;
1288}
1289
8ab979d7 1290#define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
efc5f224 1291static PyObject *_wrap_wxWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1292 PyObject * _resultobj;
1293 bool _result;
1294 wxWindow * _arg0;
1d99702e
RD
1295 int _arg1 = (int ) FALSE;
1296 PyObject * _argo0 = 0;
efc5f224 1297 char *_kwnames[] = { "self","force", NULL };
8ab979d7
RD
1298
1299 self = self;
efc5f224 1300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_Close",_kwnames,&_argo0,&_arg1))
8ab979d7 1301 return NULL;
1d99702e
RD
1302 if (_argo0) {
1303 if (_argo0 == Py_None) { _arg0 = NULL; }
1304 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1305 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
1306 return NULL;
1307 }
1308 }
cf694132 1309{
474c48f9 1310 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1311 _result = (bool )wxWindow_Close(_arg0,_arg1);
cf694132 1312
474c48f9 1313 wxPyEndAllowThreads(__tstate);
4dfaa61e 1314 if (PyErr_Occurred()) return NULL;
cf694132 1315} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1316 return _resultobj;
1317}
1318
1319#define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
efc5f224 1320static PyObject *_wrap_wxWindow_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1321 PyObject * _resultobj;
1322 bool _result;
1323 wxWindow * _arg0;
1d99702e 1324 PyObject * _argo0 = 0;
efc5f224 1325 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1326
1327 self = self;
efc5f224 1328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Destroy",_kwnames,&_argo0))
8ab979d7 1329 return NULL;
1d99702e
RD
1330 if (_argo0) {
1331 if (_argo0 == Py_None) { _arg0 = NULL; }
1332 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1333 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
1334 return NULL;
1335 }
1336 }
cf694132 1337{
474c48f9 1338 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1339 _result = (bool )wxWindow_Destroy(_arg0);
cf694132 1340
474c48f9 1341 wxPyEndAllowThreads(__tstate);
4dfaa61e 1342 if (PyErr_Occurred()) return NULL;
cf694132 1343} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1344 return _resultobj;
1345}
1346
1347#define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
efc5f224 1348static PyObject *_wrap_wxWindow_DestroyChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1349 PyObject * _resultobj;
1350 wxWindow * _arg0;
1d99702e 1351 PyObject * _argo0 = 0;
efc5f224 1352 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1353
1354 self = self;
efc5f224 1355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_DestroyChildren",_kwnames,&_argo0))
8ab979d7 1356 return NULL;
1d99702e
RD
1357 if (_argo0) {
1358 if (_argo0 == Py_None) { _arg0 = NULL; }
1359 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1360 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
1361 return NULL;
1362 }
1363 }
cf694132 1364{
474c48f9 1365 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1366 wxWindow_DestroyChildren(_arg0);
cf694132 1367
474c48f9 1368 wxPyEndAllowThreads(__tstate);
4dfaa61e 1369 if (PyErr_Occurred()) return NULL;
cf694132 1370} Py_INCREF(Py_None);
8ab979d7
RD
1371 _resultobj = Py_None;
1372 return _resultobj;
1373}
1374
4dfaa61e
RD
1375#define wxWindow_IsBeingDeleted(_swigobj) (_swigobj->IsBeingDeleted())
1376static PyObject *_wrap_wxWindow_IsBeingDeleted(PyObject *self, PyObject *args, PyObject *kwargs) {
1377 PyObject * _resultobj;
1378 bool _result;
1379 wxWindow * _arg0;
1380 PyObject * _argo0 = 0;
1381 char *_kwnames[] = { "self", NULL };
1382
1383 self = self;
1384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_IsBeingDeleted",_kwnames,&_argo0))
1385 return NULL;
1386 if (_argo0) {
1387 if (_argo0 == Py_None) { _arg0 = NULL; }
1388 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1389 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsBeingDeleted. Expected _wxWindow_p.");
1390 return NULL;
1391 }
1392 }
1393{
474c48f9 1394 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1395 _result = (bool )wxWindow_IsBeingDeleted(_arg0);
4dfaa61e 1396
474c48f9 1397 wxPyEndAllowThreads(__tstate);
4dfaa61e
RD
1398 if (PyErr_Occurred()) return NULL;
1399} _resultobj = Py_BuildValue("i",_result);
1400 return _resultobj;
1401}
1402
8ab979d7 1403#define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
efc5f224 1404static PyObject *_wrap_wxWindow_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1405 PyObject * _resultobj;
1406 wxWindow * _arg0;
1407 bool _arg1;
1d99702e 1408 PyObject * _argo0 = 0;
8ab979d7 1409 int tempbool1;
efc5f224 1410 char *_kwnames[] = { "self","enable", NULL };
8ab979d7
RD
1411
1412 self = self;
efc5f224 1413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_Enable",_kwnames,&_argo0,&tempbool1))
8ab979d7 1414 return NULL;
1d99702e
RD
1415 if (_argo0) {
1416 if (_argo0 == Py_None) { _arg0 = NULL; }
1417 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1418 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
1419 return NULL;
1420 }
1421 }
1422 _arg1 = (bool ) tempbool1;
cf694132 1423{
474c48f9 1424 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1425 wxWindow_Enable(_arg0,_arg1);
cf694132 1426
474c48f9 1427 wxPyEndAllowThreads(__tstate);
4dfaa61e 1428 if (PyErr_Occurred()) return NULL;
cf694132 1429} Py_INCREF(Py_None);
8ab979d7
RD
1430 _resultobj = Py_None;
1431 return _resultobj;
1432}
1433
af309447 1434#define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
efc5f224 1435static PyObject *_wrap_wxWindow_FindWindowById(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1436 PyObject * _resultobj;
1437 wxWindow * _result;
1438 wxWindow * _arg0;
1439 long _arg1;
1d99702e 1440 PyObject * _argo0 = 0;
efc5f224 1441 char *_kwnames[] = { "self","id", NULL };
8ab979d7
RD
1442
1443 self = self;
efc5f224 1444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxWindow_FindWindowById",_kwnames,&_argo0,&_arg1))
8ab979d7 1445 return NULL;
1d99702e
RD
1446 if (_argo0) {
1447 if (_argo0 == Py_None) { _arg0 = NULL; }
1448 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
af309447 1449 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
8ab979d7
RD
1450 return NULL;
1451 }
1452 }
cf694132 1453{
474c48f9 1454 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1455 _result = (wxWindow *)wxWindow_FindWindowById(_arg0,_arg1);
cf694132 1456
474c48f9 1457 wxPyEndAllowThreads(__tstate);
4dfaa61e 1458 if (PyErr_Occurred()) return NULL;
9df61a29 1459}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
1460 return _resultobj;
1461}
1462
1463#define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
efc5f224 1464static PyObject *_wrap_wxWindow_FindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1465 PyObject * _resultobj;
1466 wxWindow * _result;
1467 wxWindow * _arg0;
1468 wxString * _arg1;
1d99702e 1469 PyObject * _argo0 = 0;
8ab979d7 1470 PyObject * _obj1 = 0;
efc5f224 1471 char *_kwnames[] = { "self","name", NULL };
8ab979d7
RD
1472
1473 self = self;
efc5f224 1474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_FindWindowByName",_kwnames,&_argo0,&_obj1))
8ab979d7 1475 return NULL;
1d99702e
RD
1476 if (_argo0) {
1477 if (_argo0 == Py_None) { _arg0 = NULL; }
1478 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1479 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
1480 return NULL;
1481 }
1482 }
1483{
c8bc7bb8
RD
1484 _arg1 = wxString_in_helper(_obj1);
1485 if (_arg1 == NULL)
8ab979d7 1486 return NULL;
8ab979d7 1487}
cf694132 1488{
474c48f9 1489 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1490 _result = (wxWindow *)wxWindow_FindWindowByName(_arg0,*_arg1);
cf694132 1491
474c48f9 1492 wxPyEndAllowThreads(__tstate);
4dfaa61e 1493 if (PyErr_Occurred()) return NULL;
9df61a29 1494}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
1495{
1496 if (_obj1)
1497 delete _arg1;
1498}
1499 return _resultobj;
1500}
1501
1502#define wxWindow_Fit(_swigobj) (_swigobj->Fit())
efc5f224 1503static PyObject *_wrap_wxWindow_Fit(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1504 PyObject * _resultobj;
1505 wxWindow * _arg0;
1d99702e 1506 PyObject * _argo0 = 0;
efc5f224 1507 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1508
1509 self = self;
efc5f224 1510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Fit",_kwnames,&_argo0))
8ab979d7 1511 return NULL;
1d99702e
RD
1512 if (_argo0) {
1513 if (_argo0 == Py_None) { _arg0 = NULL; }
1514 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1515 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
1516 return NULL;
1517 }
1518 }
cf694132 1519{
474c48f9 1520 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1521 wxWindow_Fit(_arg0);
cf694132 1522
474c48f9 1523 wxPyEndAllowThreads(__tstate);
4dfaa61e 1524 if (PyErr_Occurred()) return NULL;
cf694132 1525} Py_INCREF(Py_None);
8ab979d7
RD
1526 _resultobj = Py_None;
1527 return _resultobj;
1528}
1529
1530#define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
efc5f224 1531static PyObject *_wrap_wxWindow_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1532 PyObject * _resultobj;
1533 wxColour * _result;
1534 wxWindow * _arg0;
1d99702e 1535 PyObject * _argo0 = 0;
efc5f224 1536 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1537 char _ptemp[128];
1538
1539 self = self;
efc5f224 1540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetBackgroundColour",_kwnames,&_argo0))
8ab979d7 1541 return NULL;
1d99702e
RD
1542 if (_argo0) {
1543 if (_argo0 == Py_None) { _arg0 = NULL; }
1544 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1545 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
1546 return NULL;
1547 }
1548 }
cf694132 1549{
474c48f9 1550 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1551 _result = new wxColour (wxWindow_GetBackgroundColour(_arg0));
cf694132 1552
474c48f9 1553 wxPyEndAllowThreads(__tstate);
4dfaa61e 1554 if (PyErr_Occurred()) return NULL;
cf694132 1555} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8ab979d7
RD
1556 _resultobj = Py_BuildValue("s",_ptemp);
1557 return _resultobj;
1558}
1559
8cb49012
RD
1560#define wxWindow_GetBorder(_swigobj) (_swigobj->GetBorder())
1561static PyObject *_wrap_wxWindow_GetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
1562 PyObject * _resultobj;
1563 wxBorder _result;
1564 wxWindow * _arg0;
1565 PyObject * _argo0 = 0;
1566 char *_kwnames[] = { "self", NULL };
1567
1568 self = self;
1569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetBorder",_kwnames,&_argo0))
1570 return NULL;
1571 if (_argo0) {
1572 if (_argo0 == Py_None) { _arg0 = NULL; }
1573 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1574 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetBorder. Expected _wxWindow_p.");
1575 return NULL;
1576 }
1577 }
1578{
1579 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1580 _result = (wxBorder )wxWindow_GetBorder(_arg0);
8cb49012
RD
1581
1582 wxPyEndAllowThreads(__tstate);
1583 if (PyErr_Occurred()) return NULL;
1584} _resultobj = Py_BuildValue("i",_result);
1585 return _resultobj;
1586}
1587
d426c97e
RD
1588static PyObject * wxWindow_GetChildren(wxWindow *self) {
1589 wxWindowList& list = self->GetChildren();
1590 return wxPy_ConvertList(&list, "wxWindow");
1591 }
1592static PyObject *_wrap_wxWindow_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
1593 PyObject * _resultobj;
1594 PyObject * _result;
1595 wxWindow * _arg0;
1596 PyObject * _argo0 = 0;
1597 char *_kwnames[] = { "self", NULL };
1598
1599 self = self;
1600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetChildren",_kwnames,&_argo0))
1601 return NULL;
1602 if (_argo0) {
1603 if (_argo0 == Py_None) { _arg0 = NULL; }
1604 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1605 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetChildren. Expected _wxWindow_p.");
1606 return NULL;
1607 }
1608 }
1609{
474c48f9 1610 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1611 _result = (PyObject *)wxWindow_GetChildren(_arg0);
d426c97e 1612
474c48f9 1613 wxPyEndAllowThreads(__tstate);
4dfaa61e 1614 if (PyErr_Occurred()) return NULL;
d426c97e
RD
1615}{
1616 _resultobj = _result;
1617}
1618 return _resultobj;
1619}
1620
8ab979d7 1621#define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
efc5f224 1622static PyObject *_wrap_wxWindow_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1623 PyObject * _resultobj;
1624 int _result;
1625 wxWindow * _arg0;
1d99702e 1626 PyObject * _argo0 = 0;
efc5f224 1627 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1628
1629 self = self;
efc5f224 1630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetCharHeight",_kwnames,&_argo0))
8ab979d7 1631 return NULL;
1d99702e
RD
1632 if (_argo0) {
1633 if (_argo0 == Py_None) { _arg0 = NULL; }
1634 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1635 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
1636 return NULL;
1637 }
1638 }
cf694132 1639{
474c48f9 1640 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1641 _result = (int )wxWindow_GetCharHeight(_arg0);
cf694132 1642
474c48f9 1643 wxPyEndAllowThreads(__tstate);
4dfaa61e 1644 if (PyErr_Occurred()) return NULL;
cf694132 1645} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1646 return _resultobj;
1647}
1648
1649#define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
efc5f224 1650static PyObject *_wrap_wxWindow_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1651 PyObject * _resultobj;
1652 int _result;
1653 wxWindow * _arg0;
1d99702e 1654 PyObject * _argo0 = 0;
efc5f224 1655 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1656
1657 self = self;
efc5f224 1658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetCharWidth",_kwnames,&_argo0))
8ab979d7 1659 return NULL;
1d99702e
RD
1660 if (_argo0) {
1661 if (_argo0 == Py_None) { _arg0 = NULL; }
1662 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1663 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
1664 return NULL;
1665 }
1666 }
cf694132 1667{
474c48f9 1668 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1669 _result = (int )wxWindow_GetCharWidth(_arg0);
cf694132 1670
474c48f9 1671 wxPyEndAllowThreads(__tstate);
4dfaa61e 1672 if (PyErr_Occurred()) return NULL;
cf694132 1673} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1674 return _resultobj;
1675}
1676
b8b8dda7 1677#define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
efc5f224 1678static PyObject *_wrap_wxWindow_GetClientSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1679 PyObject * _resultobj;
1680 wxWindow * _arg0;
1681 int * _arg1;
1682 int temp;
1683 int * _arg2;
1684 int temp0;
1d99702e 1685 PyObject * _argo0 = 0;
efc5f224 1686 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1687
1688 self = self;
1689{
1690 _arg1 = &temp;
1691}
1692{
1693 _arg2 = &temp0;
1694}
efc5f224 1695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetClientSizeTuple",_kwnames,&_argo0))
8ab979d7 1696 return NULL;
1d99702e
RD
1697 if (_argo0) {
1698 if (_argo0 == Py_None) { _arg0 = NULL; }
1699 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b8b8dda7 1700 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
8ab979d7
RD
1701 return NULL;
1702 }
1703 }
cf694132 1704{
474c48f9 1705 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1706 wxWindow_GetClientSizeTuple(_arg0,_arg1,_arg2);
cf694132 1707
474c48f9 1708 wxPyEndAllowThreads(__tstate);
4dfaa61e 1709 if (PyErr_Occurred()) return NULL;
cf694132 1710} Py_INCREF(Py_None);
8ab979d7
RD
1711 _resultobj = Py_None;
1712{
1713 PyObject *o;
1714 o = PyInt_FromLong((long) (*_arg1));
1715 _resultobj = t_output_helper(_resultobj, o);
1716}
1717{
1718 PyObject *o;
1719 o = PyInt_FromLong((long) (*_arg2));
1720 _resultobj = t_output_helper(_resultobj, o);
1721}
1722 return _resultobj;
1723}
1724
b8b8dda7 1725#define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
efc5f224 1726static PyObject *_wrap_wxWindow_GetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
1727 PyObject * _resultobj;
1728 wxSize * _result;
1729 wxWindow * _arg0;
1d99702e 1730 PyObject * _argo0 = 0;
efc5f224 1731 char *_kwnames[] = { "self", NULL };
b8b8dda7
RD
1732 char _ptemp[128];
1733
1734 self = self;
efc5f224 1735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetClientSize",_kwnames,&_argo0))
b8b8dda7 1736 return NULL;
1d99702e
RD
1737 if (_argo0) {
1738 if (_argo0 == Py_None) { _arg0 = NULL; }
1739 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b8b8dda7
RD
1740 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
1741 return NULL;
1742 }
1743 }
cf694132 1744{
474c48f9 1745 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1746 _result = new wxSize (wxWindow_GetClientSize(_arg0));
cf694132 1747
474c48f9 1748 wxPyEndAllowThreads(__tstate);
4dfaa61e 1749 if (PyErr_Occurred()) return NULL;
cf694132 1750} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
b8b8dda7
RD
1751 _resultobj = Py_BuildValue("s",_ptemp);
1752 return _resultobj;
1753}
1754
8cb49012
RD
1755#define wxWindow_GetClientAreaOrigin(_swigobj) (_swigobj->GetClientAreaOrigin())
1756static PyObject *_wrap_wxWindow_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
1757 PyObject * _resultobj;
1758 wxPoint * _result;
1759 wxWindow * _arg0;
1760 PyObject * _argo0 = 0;
1761 char *_kwnames[] = { "self", NULL };
1762 char _ptemp[128];
1763
1764 self = self;
1765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetClientAreaOrigin",_kwnames,&_argo0))
1766 return NULL;
1767 if (_argo0) {
1768 if (_argo0 == Py_None) { _arg0 = NULL; }
1769 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1770 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetClientAreaOrigin. Expected _wxWindow_p.");
1771 return NULL;
1772 }
1773 }
1774{
1775 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1776 _result = new wxPoint (wxWindow_GetClientAreaOrigin(_arg0));
8cb49012
RD
1777
1778 wxPyEndAllowThreads(__tstate);
1779 if (PyErr_Occurred()) return NULL;
1780} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
1781 _resultobj = Py_BuildValue("s",_ptemp);
1782 return _resultobj;
1783}
1784
1785#define wxWindow_GetClientRect(_swigobj) (_swigobj->GetClientRect())
1786static PyObject *_wrap_wxWindow_GetClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
1787 PyObject * _resultobj;
1788 wxRect * _result;
1789 wxWindow * _arg0;
1790 PyObject * _argo0 = 0;
1791 char *_kwnames[] = { "self", NULL };
1792 char _ptemp[128];
1793
1794 self = self;
1795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetClientRect",_kwnames,&_argo0))
1796 return NULL;
1797 if (_argo0) {
1798 if (_argo0 == Py_None) { _arg0 = NULL; }
1799 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1800 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetClientRect. Expected _wxWindow_p.");
1801 return NULL;
1802 }
1803 }
1804{
1805 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1806 _result = new wxRect (wxWindow_GetClientRect(_arg0));
8cb49012
RD
1807
1808 wxPyEndAllowThreads(__tstate);
1809 if (PyErr_Occurred()) return NULL;
1810} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
1811 _resultobj = Py_BuildValue("s",_ptemp);
1812 return _resultobj;
1813}
1814
8ab979d7 1815#define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
efc5f224 1816static PyObject *_wrap_wxWindow_GetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1817 PyObject * _resultobj;
1818 wxLayoutConstraints * _result;
1819 wxWindow * _arg0;
1d99702e 1820 PyObject * _argo0 = 0;
efc5f224 1821 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1822 char _ptemp[128];
1823
1824 self = self;
efc5f224 1825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetConstraints",_kwnames,&_argo0))
8ab979d7 1826 return NULL;
1d99702e
RD
1827 if (_argo0) {
1828 if (_argo0 == Py_None) { _arg0 = NULL; }
1829 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1830 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
1831 return NULL;
1832 }
1833 }
cf694132 1834{
474c48f9 1835 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1836 _result = (wxLayoutConstraints *)wxWindow_GetConstraints(_arg0);
cf694132 1837
474c48f9 1838 wxPyEndAllowThreads(__tstate);
4dfaa61e 1839 if (PyErr_Occurred()) return NULL;
1d99702e
RD
1840} if (_result) {
1841 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLayoutConstraints_p");
1842 _resultobj = Py_BuildValue("s",_ptemp);
1843 } else {
1844 Py_INCREF(Py_None);
1845 _resultobj = Py_None;
1846 }
8ab979d7
RD
1847 return _resultobj;
1848}
1849
1afc06c2
RD
1850#define wxWindow_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
1851static PyObject *_wrap_wxWindow_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
1852 PyObject * _resultobj;
1853 wxEvtHandler * _result;
1854 wxWindow * _arg0;
1855 PyObject * _argo0 = 0;
1856 char *_kwnames[] = { "self", NULL };
1afc06c2
RD
1857
1858 self = self;
1859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetEventHandler",_kwnames,&_argo0))
1860 return NULL;
1861 if (_argo0) {
1862 if (_argo0 == Py_None) { _arg0 = NULL; }
1863 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1864 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetEventHandler. Expected _wxWindow_p.");
1865 return NULL;
1866 }
1867 }
1868{
474c48f9 1869 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1870 _result = (wxEvtHandler *)wxWindow_GetEventHandler(_arg0);
1afc06c2 1871
474c48f9 1872 wxPyEndAllowThreads(__tstate);
4dfaa61e 1873 if (PyErr_Occurred()) return NULL;
9df61a29 1874}{ _resultobj = wxPyMake_wxObject(_result); }
1afc06c2
RD
1875 return _resultobj;
1876}
1877
8ab979d7 1878#define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
efc5f224 1879static PyObject *_wrap_wxWindow_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1880 PyObject * _resultobj;
1881 wxFont * _result;
1882 wxWindow * _arg0;
1d99702e 1883 PyObject * _argo0 = 0;
efc5f224 1884 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1885 char _ptemp[128];
1886
1887 self = self;
efc5f224 1888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetFont",_kwnames,&_argo0))
8ab979d7 1889 return NULL;
1d99702e
RD
1890 if (_argo0) {
1891 if (_argo0 == Py_None) { _arg0 = NULL; }
1892 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1893 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
1894 return NULL;
1895 }
1896 }
cf694132 1897{
474c48f9 1898 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1899 _result = new wxFont (wxWindow_GetFont(_arg0));
cf694132 1900
474c48f9 1901 wxPyEndAllowThreads(__tstate);
4dfaa61e 1902 if (PyErr_Occurred()) return NULL;
3e212503
RD
1903} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
1904 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
1905 return _resultobj;
1906}
1907
1908#define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
efc5f224 1909static PyObject *_wrap_wxWindow_GetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1910 PyObject * _resultobj;
1911 wxColour * _result;
1912 wxWindow * _arg0;
1d99702e 1913 PyObject * _argo0 = 0;
efc5f224 1914 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1915 char _ptemp[128];
1916
1917 self = self;
efc5f224 1918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetForegroundColour",_kwnames,&_argo0))
8ab979d7 1919 return NULL;
1d99702e
RD
1920 if (_argo0) {
1921 if (_argo0 == Py_None) { _arg0 = NULL; }
1922 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1923 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
1924 return NULL;
1925 }
1926 }
cf694132 1927{
474c48f9 1928 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1929 _result = new wxColour (wxWindow_GetForegroundColour(_arg0));
cf694132 1930
474c48f9 1931 wxPyEndAllowThreads(__tstate);
4dfaa61e 1932 if (PyErr_Occurred()) return NULL;
cf694132 1933} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8ab979d7
RD
1934 _resultobj = Py_BuildValue("s",_ptemp);
1935 return _resultobj;
1936}
1937
1938#define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
efc5f224 1939static PyObject *_wrap_wxWindow_GetGrandParent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1940 PyObject * _resultobj;
1941 wxWindow * _result;
1942 wxWindow * _arg0;
1d99702e 1943 PyObject * _argo0 = 0;
efc5f224 1944 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1945
1946 self = self;
efc5f224 1947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetGrandParent",_kwnames,&_argo0))
8ab979d7 1948 return NULL;
1d99702e
RD
1949 if (_argo0) {
1950 if (_argo0 == Py_None) { _arg0 = NULL; }
1951 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1952 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
1953 return NULL;
1954 }
1955 }
cf694132 1956{
474c48f9 1957 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1958 _result = (wxWindow *)wxWindow_GetGrandParent(_arg0);
cf694132 1959
474c48f9 1960 wxPyEndAllowThreads(__tstate);
4dfaa61e 1961 if (PyErr_Occurred()) return NULL;
9df61a29 1962}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
1963 return _resultobj;
1964}
1965
2abc0a0f 1966static long wxWindow_GetHandle(wxWindow *self) {
1b55cabf 1967 return wxPyGetWinHandle(self); //(long)self->GetHandle();
2abc0a0f
RD
1968 }
1969static PyObject *_wrap_wxWindow_GetHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
1970 PyObject * _resultobj;
1971 long _result;
1972 wxWindow * _arg0;
1973 PyObject * _argo0 = 0;
1974 char *_kwnames[] = { "self", NULL };
1975
1976 self = self;
1977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetHandle",_kwnames,&_argo0))
1978 return NULL;
1979 if (_argo0) {
1980 if (_argo0 == Py_None) { _arg0 = NULL; }
1981 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1982 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetHandle. Expected _wxWindow_p.");
1983 return NULL;
1984 }
1985 }
1986{
474c48f9 1987 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1988 _result = (long )wxWindow_GetHandle(_arg0);
2abc0a0f 1989
474c48f9 1990 wxPyEndAllowThreads(__tstate);
4dfaa61e 1991 if (PyErr_Occurred()) return NULL;
2abc0a0f
RD
1992} _resultobj = Py_BuildValue("l",_result);
1993 return _resultobj;
1994}
1995
8ab979d7 1996#define wxWindow_GetId(_swigobj) (_swigobj->GetId())
efc5f224 1997static PyObject *_wrap_wxWindow_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1998 PyObject * _resultobj;
1999 int _result;
2000 wxWindow * _arg0;
1d99702e 2001 PyObject * _argo0 = 0;
efc5f224 2002 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2003
2004 self = self;
efc5f224 2005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetId",_kwnames,&_argo0))
8ab979d7 2006 return NULL;
1d99702e
RD
2007 if (_argo0) {
2008 if (_argo0 == Py_None) { _arg0 = NULL; }
2009 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2010 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
2011 return NULL;
2012 }
2013 }
cf694132 2014{
474c48f9 2015 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2016 _result = (int )wxWindow_GetId(_arg0);
cf694132 2017
474c48f9 2018 wxPyEndAllowThreads(__tstate);
4dfaa61e 2019 if (PyErr_Occurred()) return NULL;
cf694132 2020} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2021 return _resultobj;
2022}
2023
8ab979d7 2024#define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
efc5f224 2025static PyObject *_wrap_wxWindow_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2026 PyObject * _resultobj;
2027 wxString * _result;
2028 wxWindow * _arg0;
1d99702e 2029 PyObject * _argo0 = 0;
efc5f224 2030 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2031
2032 self = self;
efc5f224 2033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetLabel",_kwnames,&_argo0))
8ab979d7 2034 return NULL;
1d99702e
RD
2035 if (_argo0) {
2036 if (_argo0 == Py_None) { _arg0 = NULL; }
2037 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2038 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
2039 return NULL;
2040 }
2041 }
8ab979d7 2042{
474c48f9 2043 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2044 _result = new wxString (wxWindow_GetLabel(_arg0));
cf694132 2045
474c48f9 2046 wxPyEndAllowThreads(__tstate);
4dfaa61e 2047 if (PyErr_Occurred()) return NULL;
cf694132 2048}{
c8bc7bb8
RD
2049#if wxUSE_UNICODE
2050 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
2051#else
eec92d76 2052 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 2053#endif
8ab979d7
RD
2054}
2055{
2056 delete _result;
2057}
2058 return _resultobj;
2059}
2060
bb0054cd 2061#define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
efc5f224 2062static PyObject *_wrap_wxWindow_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
2063 PyObject * _resultobj;
2064 wxWindow * _arg0;
2065 wxString * _arg1;
1d99702e 2066 PyObject * _argo0 = 0;
bb0054cd 2067 PyObject * _obj1 = 0;
efc5f224 2068 char *_kwnames[] = { "self","label", NULL };
bb0054cd
RD
2069
2070 self = self;
efc5f224 2071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetLabel",_kwnames,&_argo0,&_obj1))
bb0054cd 2072 return NULL;
1d99702e
RD
2073 if (_argo0) {
2074 if (_argo0 == Py_None) { _arg0 = NULL; }
2075 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
bb0054cd
RD
2076 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
2077 return NULL;
2078 }
2079 }
2080{
c8bc7bb8
RD
2081 _arg1 = wxString_in_helper(_obj1);
2082 if (_arg1 == NULL)
bb0054cd 2083 return NULL;
bb0054cd
RD
2084}
2085{
474c48f9 2086 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2087 wxWindow_SetLabel(_arg0,*_arg1);
bb0054cd 2088
474c48f9 2089 wxPyEndAllowThreads(__tstate);
4dfaa61e 2090 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
2091} Py_INCREF(Py_None);
2092 _resultobj = Py_None;
2093{
2094 if (_obj1)
2095 delete _arg1;
2096}
2097 return _resultobj;
2098}
2099
8ab979d7 2100#define wxWindow_GetName(_swigobj) (_swigobj->GetName())
efc5f224 2101static PyObject *_wrap_wxWindow_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2102 PyObject * _resultobj;
2103 wxString * _result;
2104 wxWindow * _arg0;
1d99702e 2105 PyObject * _argo0 = 0;
efc5f224 2106 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2107
2108 self = self;
efc5f224 2109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetName",_kwnames,&_argo0))
8ab979d7 2110 return NULL;
1d99702e
RD
2111 if (_argo0) {
2112 if (_argo0 == Py_None) { _arg0 = NULL; }
2113 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2114 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
2115 return NULL;
2116 }
2117 }
8ab979d7 2118{
474c48f9 2119 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2120 _result = new wxString (wxWindow_GetName(_arg0));
cf694132 2121
474c48f9 2122 wxPyEndAllowThreads(__tstate);
4dfaa61e 2123 if (PyErr_Occurred()) return NULL;
cf694132 2124}{
c8bc7bb8
RD
2125#if wxUSE_UNICODE
2126 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
2127#else
eec92d76 2128 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 2129#endif
8ab979d7
RD
2130}
2131{
2132 delete _result;
2133}
2134 return _resultobj;
2135}
2136
2137#define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
efc5f224 2138static PyObject *_wrap_wxWindow_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2139 PyObject * _resultobj;
2140 wxWindow * _result;
2141 wxWindow * _arg0;
1d99702e 2142 PyObject * _argo0 = 0;
efc5f224 2143 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2144
2145 self = self;
efc5f224 2146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetParent",_kwnames,&_argo0))
8ab979d7 2147 return NULL;
1d99702e
RD
2148 if (_argo0) {
2149 if (_argo0 == Py_None) { _arg0 = NULL; }
2150 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2151 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
2152 return NULL;
2153 }
2154 }
cf694132 2155{
474c48f9 2156 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2157 _result = (wxWindow *)wxWindow_GetParent(_arg0);
cf694132 2158
474c48f9 2159 wxPyEndAllowThreads(__tstate);
4dfaa61e 2160 if (PyErr_Occurred()) return NULL;
9df61a29 2161}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
2162 return _resultobj;
2163}
2164
b8b8dda7 2165#define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
efc5f224 2166static PyObject *_wrap_wxWindow_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
2167 PyObject * _resultobj;
2168 wxWindow * _arg0;
2169 int * _arg1;
2170 int temp;
2171 int * _arg2;
2172 int temp0;
1d99702e 2173 PyObject * _argo0 = 0;
efc5f224 2174 char *_kwnames[] = { "self", NULL };
b8b8dda7
RD
2175
2176 self = self;
2177{
2178 _arg1 = &temp;
2179}
2180{
2181 _arg2 = &temp0;
2182}
efc5f224 2183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetPositionTuple",_kwnames,&_argo0))
b8b8dda7 2184 return NULL;
1d99702e
RD
2185 if (_argo0) {
2186 if (_argo0 == Py_None) { _arg0 = NULL; }
2187 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b8b8dda7
RD
2188 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
2189 return NULL;
2190 }
2191 }
cf694132 2192{
474c48f9 2193 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2194 wxWindow_GetPositionTuple(_arg0,_arg1,_arg2);
cf694132 2195
474c48f9 2196 wxPyEndAllowThreads(__tstate);
4dfaa61e 2197 if (PyErr_Occurred()) return NULL;
cf694132 2198} Py_INCREF(Py_None);
b8b8dda7
RD
2199 _resultobj = Py_None;
2200{
2201 PyObject *o;
2202 o = PyInt_FromLong((long) (*_arg1));
2203 _resultobj = t_output_helper(_resultobj, o);
2204}
2205{
2206 PyObject *o;
2207 o = PyInt_FromLong((long) (*_arg2));
2208 _resultobj = t_output_helper(_resultobj, o);
2209}
2210 return _resultobj;
2211}
2212
2213#define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
efc5f224 2214static PyObject *_wrap_wxWindow_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
2215 PyObject * _resultobj;
2216 wxPoint * _result;
2217 wxWindow * _arg0;
1d99702e 2218 PyObject * _argo0 = 0;
efc5f224 2219 char *_kwnames[] = { "self", NULL };
b8b8dda7
RD
2220 char _ptemp[128];
2221
2222 self = self;
efc5f224 2223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetPosition",_kwnames,&_argo0))
b8b8dda7 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")) {
b8b8dda7
RD
2228 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
2229 return NULL;
2230 }
2231 }
cf694132 2232{
474c48f9 2233 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2234 _result = new wxPoint (wxWindow_GetPosition(_arg0));
cf694132 2235
474c48f9 2236 wxPyEndAllowThreads(__tstate);
4dfaa61e 2237 if (PyErr_Occurred()) return NULL;
cf694132 2238} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
b8b8dda7
RD
2239 _resultobj = Py_BuildValue("s",_ptemp);
2240 return _resultobj;
2241}
2242
2243#define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
efc5f224 2244static PyObject *_wrap_wxWindow_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
2245 PyObject * _resultobj;
2246 wxRect * _result;
2247 wxWindow * _arg0;
1d99702e 2248 PyObject * _argo0 = 0;
efc5f224 2249 char *_kwnames[] = { "self", NULL };
b8b8dda7
RD
2250 char _ptemp[128];
2251
2252 self = self;
efc5f224 2253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetRect",_kwnames,&_argo0))
b8b8dda7 2254 return NULL;
1d99702e
RD
2255 if (_argo0) {
2256 if (_argo0 == Py_None) { _arg0 = NULL; }
2257 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b8b8dda7
RD
2258 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
2259 return NULL;
2260 }
2261 }
cf694132 2262{
474c48f9 2263 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2264 _result = new wxRect (wxWindow_GetRect(_arg0));
cf694132 2265
474c48f9 2266 wxPyEndAllowThreads(__tstate);
4dfaa61e 2267 if (PyErr_Occurred()) return NULL;
cf694132 2268} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
b8b8dda7
RD
2269 _resultobj = Py_BuildValue("s",_ptemp);
2270 return _resultobj;
2271}
2272
8ab979d7 2273#define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
efc5f224 2274static PyObject *_wrap_wxWindow_GetScrollThumb(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2275 PyObject * _resultobj;
2276 int _result;
2277 wxWindow * _arg0;
2278 int _arg1;
1d99702e 2279 PyObject * _argo0 = 0;
efc5f224 2280 char *_kwnames[] = { "self","orientation", NULL };
8ab979d7
RD
2281
2282 self = self;
efc5f224 2283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_GetScrollThumb",_kwnames,&_argo0,&_arg1))
8ab979d7 2284 return NULL;
1d99702e
RD
2285 if (_argo0) {
2286 if (_argo0 == Py_None) { _arg0 = NULL; }
2287 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2288 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
2289 return NULL;
2290 }
2291 }
cf694132 2292{
474c48f9 2293 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2294 _result = (int )wxWindow_GetScrollThumb(_arg0,_arg1);
cf694132 2295
474c48f9 2296 wxPyEndAllowThreads(__tstate);
4dfaa61e 2297 if (PyErr_Occurred()) return NULL;
cf694132 2298} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2299 return _resultobj;
2300}
2301
2302#define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
efc5f224 2303static PyObject *_wrap_wxWindow_GetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2304 PyObject * _resultobj;
2305 int _result;
2306 wxWindow * _arg0;
2307 int _arg1;
1d99702e 2308 PyObject * _argo0 = 0;
efc5f224 2309 char *_kwnames[] = { "self","orientation", NULL };
8ab979d7
RD
2310
2311 self = self;
efc5f224 2312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_GetScrollPos",_kwnames,&_argo0,&_arg1))
8ab979d7 2313 return NULL;
1d99702e
RD
2314 if (_argo0) {
2315 if (_argo0 == Py_None) { _arg0 = NULL; }
2316 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2317 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
2318 return NULL;
2319 }
2320 }
cf694132 2321{
474c48f9 2322 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2323 _result = (int )wxWindow_GetScrollPos(_arg0,_arg1);
cf694132 2324
474c48f9 2325 wxPyEndAllowThreads(__tstate);
4dfaa61e 2326 if (PyErr_Occurred()) return NULL;
cf694132 2327} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2328 return _resultobj;
2329}
2330
2331#define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
efc5f224 2332static PyObject *_wrap_wxWindow_GetScrollRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2333 PyObject * _resultobj;
2334 int _result;
2335 wxWindow * _arg0;
2336 int _arg1;
1d99702e 2337 PyObject * _argo0 = 0;
efc5f224 2338 char *_kwnames[] = { "self","orientation", NULL };
8ab979d7
RD
2339
2340 self = self;
efc5f224 2341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_GetScrollRange",_kwnames,&_argo0,&_arg1))
8ab979d7 2342 return NULL;
1d99702e
RD
2343 if (_argo0) {
2344 if (_argo0 == Py_None) { _arg0 = NULL; }
2345 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2346 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
2347 return NULL;
2348 }
2349 }
cf694132 2350{
474c48f9 2351 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2352 _result = (int )wxWindow_GetScrollRange(_arg0,_arg1);
cf694132 2353
474c48f9 2354 wxPyEndAllowThreads(__tstate);
4dfaa61e 2355 if (PyErr_Occurred()) return NULL;
cf694132 2356} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2357 return _resultobj;
2358}
2359
b8b8dda7 2360#define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
efc5f224 2361static PyObject *_wrap_wxWindow_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2362 PyObject * _resultobj;
2363 wxWindow * _arg0;
2364 int * _arg1;
2365 int temp;
2366 int * _arg2;
2367 int temp0;
1d99702e 2368 PyObject * _argo0 = 0;
efc5f224 2369 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2370
2371 self = self;
2372{
2373 _arg1 = &temp;
2374}
2375{
2376 _arg2 = &temp0;
2377}
efc5f224 2378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetSizeTuple",_kwnames,&_argo0))
8ab979d7 2379 return NULL;
1d99702e
RD
2380 if (_argo0) {
2381 if (_argo0 == Py_None) { _arg0 = NULL; }
2382 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b8b8dda7 2383 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
8ab979d7
RD
2384 return NULL;
2385 }
2386 }
cf694132 2387{
474c48f9 2388 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2389 wxWindow_GetSizeTuple(_arg0,_arg1,_arg2);
cf694132 2390
474c48f9 2391 wxPyEndAllowThreads(__tstate);
4dfaa61e 2392 if (PyErr_Occurred()) return NULL;
cf694132 2393} Py_INCREF(Py_None);
8ab979d7
RD
2394 _resultobj = Py_None;
2395{
2396 PyObject *o;
2397 o = PyInt_FromLong((long) (*_arg1));
2398 _resultobj = t_output_helper(_resultobj, o);
2399}
2400{
2401 PyObject *o;
2402 o = PyInt_FromLong((long) (*_arg2));
2403 _resultobj = t_output_helper(_resultobj, o);
2404}
2405 return _resultobj;
2406}
2407
b8b8dda7 2408#define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
efc5f224 2409static PyObject *_wrap_wxWindow_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
2410 PyObject * _resultobj;
2411 wxSize * _result;
2412 wxWindow * _arg0;
1d99702e 2413 PyObject * _argo0 = 0;
efc5f224 2414 char *_kwnames[] = { "self", NULL };
b8b8dda7
RD
2415 char _ptemp[128];
2416
2417 self = self;
efc5f224 2418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetSize",_kwnames,&_argo0))
b8b8dda7 2419 return NULL;
1d99702e
RD
2420 if (_argo0) {
2421 if (_argo0 == Py_None) { _arg0 = NULL; }
2422 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b8b8dda7
RD
2423 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
2424 return NULL;
2425 }
2426 }
cf694132 2427{
474c48f9 2428 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2429 _result = new wxSize (wxWindow_GetSize(_arg0));
cf694132 2430
474c48f9 2431 wxPyEndAllowThreads(__tstate);
4dfaa61e 2432 if (PyErr_Occurred()) return NULL;
cf694132 2433} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
b8b8dda7
RD
2434 _resultobj = Py_BuildValue("s",_ptemp);
2435 return _resultobj;
2436}
2437
8ab979d7 2438#define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
efc5f224 2439static PyObject *_wrap_wxWindow_GetTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2440 PyObject * _resultobj;
2441 wxWindow * _arg0;
2442 wxString * _arg1;
2443 int * _arg2;
2444 int temp;
2445 int * _arg3;
2446 int temp0;
1d99702e 2447 PyObject * _argo0 = 0;
8ab979d7 2448 PyObject * _obj1 = 0;
efc5f224 2449 char *_kwnames[] = { "self","string", NULL };
8ab979d7
RD
2450
2451 self = self;
2452{
2453 _arg2 = &temp;
2454}
2455{
2456 _arg3 = &temp0;
2457}
efc5f224 2458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_GetTextExtent",_kwnames,&_argo0,&_obj1))
8ab979d7 2459 return NULL;
1d99702e
RD
2460 if (_argo0) {
2461 if (_argo0 == Py_None) { _arg0 = NULL; }
2462 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2463 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
2464 return NULL;
2465 }
2466 }
2467{
c8bc7bb8
RD
2468 _arg1 = wxString_in_helper(_obj1);
2469 if (_arg1 == NULL)
8ab979d7 2470 return NULL;
8ab979d7 2471}
cf694132 2472{
474c48f9 2473 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2474 wxWindow_GetTextExtent(_arg0,*_arg1,_arg2,_arg3);
cf694132 2475
474c48f9 2476 wxPyEndAllowThreads(__tstate);
4dfaa61e 2477 if (PyErr_Occurred()) return NULL;
cf694132 2478} Py_INCREF(Py_None);
8ab979d7
RD
2479 _resultobj = Py_None;
2480{
2481 PyObject *o;
2482 o = PyInt_FromLong((long) (*_arg2));
2483 _resultobj = t_output_helper(_resultobj, o);
2484}
2485{
2486 PyObject *o;
2487 o = PyInt_FromLong((long) (*_arg3));
2488 _resultobj = t_output_helper(_resultobj, o);
2489}
2490{
2491 if (_obj1)
2492 delete _arg1;
2493}
2494 return _resultobj;
2495}
2496
af309447 2497#define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
efc5f224 2498static PyObject *_wrap_wxWindow_GetFullTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
2499 PyObject * _resultobj;
2500 wxWindow * _arg0;
2501 wxString * _arg1;
2502 int * _arg2;
2503 int temp;
2504 int * _arg3;
2505 int temp0;
2506 int * _arg4;
2507 int temp1;
2508 int * _arg5;
2509 int temp2;
1d99702e
RD
2510 wxFont * _arg6 = (wxFont *) NULL;
2511 PyObject * _argo0 = 0;
af309447 2512 PyObject * _obj1 = 0;
1d99702e 2513 PyObject * _argo6 = 0;
efc5f224 2514 char *_kwnames[] = { "self","string","font", NULL };
af309447
RD
2515
2516 self = self;
2517{
2518 _arg2 = &temp;
2519}
2520{
2521 _arg3 = &temp0;
2522}
2523{
2524 _arg4 = &temp1;
2525}
2526{
2527 _arg5 = &temp2;
2528}
efc5f224 2529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxWindow_GetFullTextExtent",_kwnames,&_argo0,&_obj1,&_argo6))
af309447 2530 return NULL;
1d99702e
RD
2531 if (_argo0) {
2532 if (_argo0 == Py_None) { _arg0 = NULL; }
2533 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
af309447
RD
2534 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
2535 return NULL;
2536 }
2537 }
2538{
c8bc7bb8
RD
2539 _arg1 = wxString_in_helper(_obj1);
2540 if (_arg1 == NULL)
af309447 2541 return NULL;
af309447 2542}
1d99702e
RD
2543 if (_argo6) {
2544 if (_argo6 == Py_None) { _arg6 = NULL; }
2545 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxFont_p")) {
af309447
RD
2546 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
2547 return NULL;
2548 }
2549 }
cf694132 2550{
474c48f9 2551 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2552 wxWindow_GetFullTextExtent(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
cf694132 2553
474c48f9 2554 wxPyEndAllowThreads(__tstate);
4dfaa61e 2555 if (PyErr_Occurred()) return NULL;
cf694132 2556} Py_INCREF(Py_None);
af309447
RD
2557 _resultobj = Py_None;
2558{
2559 PyObject *o;
2560 o = PyInt_FromLong((long) (*_arg2));
2561 _resultobj = t_output_helper(_resultobj, o);
2562}
2563{
2564 PyObject *o;
2565 o = PyInt_FromLong((long) (*_arg3));
2566 _resultobj = t_output_helper(_resultobj, o);
2567}
2568{
2569 PyObject *o;
2570 o = PyInt_FromLong((long) (*_arg4));
2571 _resultobj = t_output_helper(_resultobj, o);
2572}
2573{
2574 PyObject *o;
2575 o = PyInt_FromLong((long) (*_arg5));
2576 _resultobj = t_output_helper(_resultobj, o);
2577}
2578{
2579 if (_obj1)
2580 delete _arg1;
2581}
2582 return _resultobj;
2583}
2584
8ab979d7 2585#define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
efc5f224 2586static PyObject *_wrap_wxWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2587 PyObject * _resultobj;
2588 wxString * _result;
2589 wxWindow * _arg0;
1d99702e 2590 PyObject * _argo0 = 0;
efc5f224 2591 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2592
2593 self = self;
efc5f224 2594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetTitle",_kwnames,&_argo0))
8ab979d7 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")) {
8ab979d7
RD
2599 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
2600 return NULL;
2601 }
2602 }
8ab979d7 2603{
474c48f9 2604 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2605 _result = new wxString (wxWindow_GetTitle(_arg0));
cf694132 2606
474c48f9 2607 wxPyEndAllowThreads(__tstate);
4dfaa61e 2608 if (PyErr_Occurred()) return NULL;
cf694132 2609}{
c8bc7bb8
RD
2610#if wxUSE_UNICODE
2611 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
2612#else
eec92d76 2613 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 2614#endif
8ab979d7
RD
2615}
2616{
2617 delete _result;
2618}
2619 return _resultobj;
2620}
2621
8bf5d46e 2622#define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
efc5f224 2623static PyObject *_wrap_wxWindow_GetUpdateRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
8bf5d46e
RD
2624 PyObject * _resultobj;
2625 wxRegion * _result;
2626 wxWindow * _arg0;
1d99702e 2627 PyObject * _argo0 = 0;
efc5f224 2628 char *_kwnames[] = { "self", NULL };
8bf5d46e
RD
2629 char _ptemp[128];
2630
2631 self = self;
efc5f224 2632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetUpdateRegion",_kwnames,&_argo0))
8bf5d46e 2633 return NULL;
1d99702e
RD
2634 if (_argo0) {
2635 if (_argo0 == Py_None) { _arg0 = NULL; }
2636 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8bf5d46e
RD
2637 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
2638 return NULL;
2639 }
2640 }
2641{
474c48f9 2642 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2643 _result = new wxRegion (wxWindow_GetUpdateRegion(_arg0));
8bf5d46e 2644
474c48f9 2645 wxPyEndAllowThreads(__tstate);
4dfaa61e 2646 if (PyErr_Occurred()) return NULL;
8bf5d46e
RD
2647} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRegion_p");
2648 _resultobj = Py_BuildValue("s",_ptemp);
2649 return _resultobj;
2650}
2651
8ab979d7 2652#define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
efc5f224 2653static PyObject *_wrap_wxWindow_GetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2654 PyObject * _resultobj;
2655 long _result;
2656 wxWindow * _arg0;
1d99702e 2657 PyObject * _argo0 = 0;
efc5f224 2658 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2659
2660 self = self;
efc5f224 2661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetWindowStyleFlag",_kwnames,&_argo0))
8ab979d7 2662 return NULL;
1d99702e
RD
2663 if (_argo0) {
2664 if (_argo0 == Py_None) { _arg0 = NULL; }
2665 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2666 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
2667 return NULL;
2668 }
2669 }
cf694132 2670{
474c48f9 2671 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2672 _result = (long )wxWindow_GetWindowStyleFlag(_arg0);
cf694132 2673
474c48f9 2674 wxPyEndAllowThreads(__tstate);
4dfaa61e 2675 if (PyErr_Occurred()) return NULL;
cf694132 2676} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
2677 return _resultobj;
2678}
2679
f6bcfd97
BP
2680#define wxWindow_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
2681static PyObject *_wrap_wxWindow_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
2682 PyObject * _resultobj;
2683 wxWindow * _arg0;
2684 long _arg1;
2685 PyObject * _argo0 = 0;
2686 char *_kwnames[] = { "self","style", NULL };
2687
2688 self = self;
2689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxWindow_SetWindowStyleFlag",_kwnames,&_argo0,&_arg1))
2690 return NULL;
2691 if (_argo0) {
2692 if (_argo0 == Py_None) { _arg0 = NULL; }
2693 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2694 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetWindowStyleFlag. Expected _wxWindow_p.");
2695 return NULL;
2696 }
2697 }
2698{
474c48f9 2699 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2700 wxWindow_SetWindowStyleFlag(_arg0,_arg1);
f6bcfd97 2701
474c48f9 2702 wxPyEndAllowThreads(__tstate);
4dfaa61e 2703 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2704} Py_INCREF(Py_None);
2705 _resultobj = Py_None;
2706 return _resultobj;
2707}
2708
2709#define wxWindow_SetWindowStyle(_swigobj,_swigarg0) (_swigobj->SetWindowStyle(_swigarg0))
2710static PyObject *_wrap_wxWindow_SetWindowStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
2711 PyObject * _resultobj;
2712 wxWindow * _arg0;
2713 long _arg1;
2714 PyObject * _argo0 = 0;
2715 char *_kwnames[] = { "self","style", NULL };
2716
2717 self = self;
2718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxWindow_SetWindowStyle",_kwnames,&_argo0,&_arg1))
2719 return NULL;
2720 if (_argo0) {
2721 if (_argo0 == Py_None) { _arg0 = NULL; }
2722 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2723 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetWindowStyle. Expected _wxWindow_p.");
2724 return NULL;
2725 }
2726 }
2727{
474c48f9 2728 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2729 wxWindow_SetWindowStyle(_arg0,_arg1);
f6bcfd97 2730
474c48f9 2731 wxPyEndAllowThreads(__tstate);
4dfaa61e 2732 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2733} Py_INCREF(Py_None);
2734 _resultobj = Py_None;
2735 return _resultobj;
2736}
2737
8cb49012
RD
2738#define wxWindow_HasScrollbar(_swigobj,_swigarg0) (_swigobj->HasScrollbar(_swigarg0))
2739static PyObject *_wrap_wxWindow_HasScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
2740 PyObject * _resultobj;
2741 bool _result;
2742 wxWindow * _arg0;
2743 int _arg1;
2744 PyObject * _argo0 = 0;
2745 char *_kwnames[] = { "self","orient", NULL };
2746
2747 self = self;
2748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_HasScrollbar",_kwnames,&_argo0,&_arg1))
2749 return NULL;
2750 if (_argo0) {
2751 if (_argo0 == Py_None) { _arg0 = NULL; }
2752 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2753 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_HasScrollbar. Expected _wxWindow_p.");
2754 return NULL;
2755 }
2756 }
2757{
2758 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2759 _result = (bool )wxWindow_HasScrollbar(_arg0,_arg1);
8cb49012
RD
2760
2761 wxPyEndAllowThreads(__tstate);
2762 if (PyErr_Occurred()) return NULL;
2763} _resultobj = Py_BuildValue("i",_result);
2764 return _resultobj;
2765}
2766
bb0054cd 2767#define wxWindow_Hide(_swigobj) (_swigobj->Hide())
efc5f224 2768static PyObject *_wrap_wxWindow_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
2769 PyObject * _resultobj;
2770 bool _result;
2771 wxWindow * _arg0;
1d99702e 2772 PyObject * _argo0 = 0;
efc5f224 2773 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
2774
2775 self = self;
efc5f224 2776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Hide",_kwnames,&_argo0))
bb0054cd 2777 return NULL;
1d99702e
RD
2778 if (_argo0) {
2779 if (_argo0 == Py_None) { _arg0 = NULL; }
2780 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
bb0054cd
RD
2781 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
2782 return NULL;
2783 }
2784 }
2785{
474c48f9 2786 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2787 _result = (bool )wxWindow_Hide(_arg0);
bb0054cd 2788
474c48f9 2789 wxPyEndAllowThreads(__tstate);
4dfaa61e 2790 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
2791} _resultobj = Py_BuildValue("i",_result);
2792 return _resultobj;
2793}
2794
8cb49012
RD
2795#define wxWindow_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0))
2796static PyObject *_wrap_wxWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
2797 PyObject * _resultobj;
2798 wxHitTest _result;
2799 wxWindow * _arg0;
2800 wxPoint * _arg1;
2801 PyObject * _argo0 = 0;
2802 wxPoint temp;
2803 PyObject * _obj1 = 0;
2804 char *_kwnames[] = { "self","pt", NULL };
2805
2806 self = self;
2807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_HitTest",_kwnames,&_argo0,&_obj1))
2808 return NULL;
2809 if (_argo0) {
2810 if (_argo0 == Py_None) { _arg0 = NULL; }
2811 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2812 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_HitTest. Expected _wxWindow_p.");
2813 return NULL;
2814 }
2815 }
2816{
2817 _arg1 = &temp;
2818 if (! wxPoint_helper(_obj1, &_arg1))
2819 return NULL;
2820}
2821{
2822 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2823 _result = (wxHitTest )wxWindow_HitTest(_arg0,*_arg1);
8cb49012
RD
2824
2825 wxPyEndAllowThreads(__tstate);
2826 if (PyErr_Occurred()) return NULL;
2827} _resultobj = Py_BuildValue("i",_result);
2828 return _resultobj;
2829}
2830
8ab979d7 2831#define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
efc5f224 2832static PyObject *_wrap_wxWindow_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2833 PyObject * _resultobj;
2834 wxWindow * _arg0;
1d99702e 2835 PyObject * _argo0 = 0;
efc5f224 2836 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2837
2838 self = self;
efc5f224 2839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_InitDialog",_kwnames,&_argo0))
8ab979d7 2840 return NULL;
1d99702e
RD
2841 if (_argo0) {
2842 if (_argo0 == Py_None) { _arg0 = NULL; }
2843 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2844 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
2845 return NULL;
2846 }
2847 }
cf694132 2848{
474c48f9 2849 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2850 wxWindow_InitDialog(_arg0);
cf694132 2851
474c48f9 2852 wxPyEndAllowThreads(__tstate);
4dfaa61e 2853 if (PyErr_Occurred()) return NULL;
cf694132 2854} Py_INCREF(Py_None);
8ab979d7
RD
2855 _resultobj = Py_None;
2856 return _resultobj;
2857}
2858
2859#define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
efc5f224 2860static PyObject *_wrap_wxWindow_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2861 PyObject * _resultobj;
2862 bool _result;
2863 wxWindow * _arg0;
1d99702e 2864 PyObject * _argo0 = 0;
efc5f224 2865 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2866
2867 self = self;
efc5f224 2868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_IsEnabled",_kwnames,&_argo0))
8ab979d7 2869 return NULL;
1d99702e
RD
2870 if (_argo0) {
2871 if (_argo0 == Py_None) { _arg0 = NULL; }
2872 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2873 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
2874 return NULL;
2875 }
2876 }
cf694132 2877{
474c48f9 2878 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2879 _result = (bool )wxWindow_IsEnabled(_arg0);
cf694132 2880
474c48f9 2881 wxPyEndAllowThreads(__tstate);
4dfaa61e 2882 if (PyErr_Occurred()) return NULL;
cf694132 2883} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2884 return _resultobj;
2885}
2886
1b55cabf
RD
2887#define wxWindow_IsExposed(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->IsExposed(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2888static PyObject *_wrap_wxWindow_IsExposed(PyObject *self, PyObject *args, PyObject *kwargs) {
2889 PyObject * _resultobj;
2890 bool _result;
2891 wxWindow * _arg0;
2892 int _arg1;
2893 int _arg2;
2894 int _arg3 = (int ) 0;
2895 int _arg4 = (int ) 0;
2896 PyObject * _argo0 = 0;
2897 char *_kwnames[] = { "self","x","y","w","h", NULL };
2898
2899 self = self;
2900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|ii:wxWindow_IsExposed",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2901 return NULL;
2902 if (_argo0) {
2903 if (_argo0 == Py_None) { _arg0 = NULL; }
2904 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2905 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsExposed. Expected _wxWindow_p.");
2906 return NULL;
2907 }
2908 }
2909{
474c48f9 2910 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2911 _result = (bool )wxWindow_IsExposed(_arg0,_arg1,_arg2,_arg3,_arg4);
1b55cabf 2912
474c48f9 2913 wxPyEndAllowThreads(__tstate);
4dfaa61e 2914 if (PyErr_Occurred()) return NULL;
1b55cabf
RD
2915} _resultobj = Py_BuildValue("i",_result);
2916 return _resultobj;
2917}
2918
2919#define wxWindow_IsExposedPoint(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
2920static PyObject *_wrap_wxWindow_IsExposedPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2921 PyObject * _resultobj;
2922 bool _result;
2923 wxWindow * _arg0;
2924 wxPoint * _arg1;
2925 PyObject * _argo0 = 0;
2926 wxPoint temp;
2927 PyObject * _obj1 = 0;
2928 char *_kwnames[] = { "self","pt", NULL };
2929
2930 self = self;
2931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_IsExposedPoint",_kwnames,&_argo0,&_obj1))
2932 return NULL;
2933 if (_argo0) {
2934 if (_argo0 == Py_None) { _arg0 = NULL; }
2935 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2936 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsExposedPoint. Expected _wxWindow_p.");
2937 return NULL;
2938 }
2939 }
2940{
2941 _arg1 = &temp;
2942 if (! wxPoint_helper(_obj1, &_arg1))
2943 return NULL;
2944}
2945{
474c48f9 2946 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2947 _result = (bool )wxWindow_IsExposedPoint(_arg0,*_arg1);
1b55cabf 2948
474c48f9 2949 wxPyEndAllowThreads(__tstate);
4dfaa61e 2950 if (PyErr_Occurred()) return NULL;
1b55cabf
RD
2951} _resultobj = Py_BuildValue("i",_result);
2952 return _resultobj;
2953}
2954
2955#define wxWindow_IsExposedRect(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
2956static PyObject *_wrap_wxWindow_IsExposedRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2957 PyObject * _resultobj;
2958 bool _result;
2959 wxWindow * _arg0;
2960 wxRect * _arg1;
2961 PyObject * _argo0 = 0;
2962 wxRect temp;
2963 PyObject * _obj1 = 0;
2964 char *_kwnames[] = { "self","rect", NULL };
2965
2966 self = self;
2967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_IsExposedRect",_kwnames,&_argo0,&_obj1))
2968 return NULL;
2969 if (_argo0) {
2970 if (_argo0 == Py_None) { _arg0 = NULL; }
2971 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2972 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsExposedRect. Expected _wxWindow_p.");
2973 return NULL;
2974 }
2975 }
2976{
2977 _arg1 = &temp;
2978 if (! wxRect_helper(_obj1, &_arg1))
2979 return NULL;
2980}
2981{
474c48f9 2982 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2983 _result = (bool )wxWindow_IsExposedRect(_arg0,*_arg1);
1b55cabf 2984
474c48f9 2985 wxPyEndAllowThreads(__tstate);
4dfaa61e 2986 if (PyErr_Occurred()) return NULL;
1b55cabf
RD
2987} _resultobj = Py_BuildValue("i",_result);
2988 return _resultobj;
2989}
2990
8ab979d7 2991#define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
efc5f224 2992static PyObject *_wrap_wxWindow_IsRetained(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2993 PyObject * _resultobj;
2994 bool _result;
2995 wxWindow * _arg0;
1d99702e 2996 PyObject * _argo0 = 0;
efc5f224 2997 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2998
2999 self = self;
efc5f224 3000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_IsRetained",_kwnames,&_argo0))
8ab979d7 3001 return NULL;
1d99702e
RD
3002 if (_argo0) {
3003 if (_argo0 == Py_None) { _arg0 = NULL; }
3004 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3005 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
3006 return NULL;
3007 }
3008 }
cf694132 3009{
474c48f9 3010 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3011 _result = (bool )wxWindow_IsRetained(_arg0);
cf694132 3012
474c48f9 3013 wxPyEndAllowThreads(__tstate);
4dfaa61e 3014 if (PyErr_Occurred()) return NULL;
cf694132 3015} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3016 return _resultobj;
3017}
3018
3019#define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
efc5f224 3020static PyObject *_wrap_wxWindow_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3021 PyObject * _resultobj;
3022 bool _result;
3023 wxWindow * _arg0;
1d99702e 3024 PyObject * _argo0 = 0;
efc5f224 3025 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3026
3027 self = self;
efc5f224 3028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_IsShown",_kwnames,&_argo0))
8ab979d7 3029 return NULL;
1d99702e
RD
3030 if (_argo0) {
3031 if (_argo0 == Py_None) { _arg0 = NULL; }
3032 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3033 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
3034 return NULL;
3035 }
3036 }
cf694132 3037{
474c48f9 3038 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3039 _result = (bool )wxWindow_IsShown(_arg0);
cf694132 3040
474c48f9 3041 wxPyEndAllowThreads(__tstate);
4dfaa61e 3042 if (PyErr_Occurred()) return NULL;
cf694132 3043} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3044 return _resultobj;
3045}
3046
bb0054cd 3047#define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
efc5f224 3048static PyObject *_wrap_wxWindow_IsTopLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
3049 PyObject * _resultobj;
3050 bool _result;
3051 wxWindow * _arg0;
1d99702e 3052 PyObject * _argo0 = 0;
efc5f224 3053 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
3054
3055 self = self;
efc5f224 3056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_IsTopLevel",_kwnames,&_argo0))
bb0054cd 3057 return NULL;
1d99702e
RD
3058 if (_argo0) {
3059 if (_argo0 == Py_None) { _arg0 = NULL; }
3060 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
bb0054cd
RD
3061 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
3062 return NULL;
3063 }
3064 }
3065{
474c48f9 3066 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3067 _result = (bool )wxWindow_IsTopLevel(_arg0);
bb0054cd 3068
474c48f9 3069 wxPyEndAllowThreads(__tstate);
4dfaa61e 3070 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
3071} _resultobj = Py_BuildValue("i",_result);
3072 return _resultobj;
3073}
3074
8ab979d7 3075#define wxWindow_Layout(_swigobj) (_swigobj->Layout())
efc5f224 3076static PyObject *_wrap_wxWindow_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3077 PyObject * _resultobj;
3078 wxWindow * _arg0;
1d99702e 3079 PyObject * _argo0 = 0;
efc5f224 3080 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3081
3082 self = self;
efc5f224 3083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Layout",_kwnames,&_argo0))
8ab979d7 3084 return NULL;
1d99702e
RD
3085 if (_argo0) {
3086 if (_argo0 == Py_None) { _arg0 = NULL; }
3087 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3088 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
3089 return NULL;
3090 }
3091 }
cf694132 3092{
474c48f9 3093 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3094 wxWindow_Layout(_arg0);
cf694132 3095
474c48f9 3096 wxPyEndAllowThreads(__tstate);
4dfaa61e 3097 if (PyErr_Occurred()) return NULL;
cf694132 3098} Py_INCREF(Py_None);
8ab979d7
RD
3099 _resultobj = Py_None;
3100 return _resultobj;
3101}
3102
3103#define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
efc5f224 3104static PyObject *_wrap_wxWindow_LoadFromResource(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3105 PyObject * _resultobj;
3106 bool _result;
3107 wxWindow * _arg0;
3108 wxWindow * _arg1;
3109 wxString * _arg2;
1d99702e
RD
3110 wxResourceTable * _arg3 = (wxResourceTable *) NULL;
3111 PyObject * _argo0 = 0;
3112 PyObject * _argo1 = 0;
8ab979d7 3113 PyObject * _obj2 = 0;
1d99702e 3114 PyObject * _argo3 = 0;
efc5f224 3115 char *_kwnames[] = { "self","parent","resourceName","resourceTable", NULL };
8ab979d7
RD
3116
3117 self = self;
efc5f224 3118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|O:wxWindow_LoadFromResource",_kwnames,&_argo0,&_argo1,&_obj2,&_argo3))
8ab979d7 3119 return NULL;
1d99702e
RD
3120 if (_argo0) {
3121 if (_argo0 == Py_None) { _arg0 = NULL; }
3122 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3123 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
3124 return NULL;
3125 }
3126 }
1d99702e
RD
3127 if (_argo1) {
3128 if (_argo1 == Py_None) { _arg1 = NULL; }
3129 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
8ab979d7
RD
3130 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
3131 return NULL;
3132 }
3133 }
3134{
c8bc7bb8
RD
3135 _arg2 = wxString_in_helper(_obj2);
3136 if (_arg2 == NULL)
8ab979d7 3137 return NULL;
8ab979d7 3138}
1d99702e
RD
3139 if (_argo3) {
3140 if (_argo3 == Py_None) { _arg3 = NULL; }
3141 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxResourceTable_p")) {
8ab979d7
RD
3142 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
3143 return NULL;
3144 }
3145 }
cf694132 3146{
474c48f9 3147 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3148 _result = (bool )wxWindow_LoadFromResource(_arg0,_arg1,*_arg2,_arg3);
cf694132 3149
474c48f9 3150 wxPyEndAllowThreads(__tstate);
4dfaa61e 3151 if (PyErr_Occurred()) return NULL;
cf694132 3152} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3153{
3154 if (_obj2)
3155 delete _arg2;
3156}
3157 return _resultobj;
3158}
3159
3160#define wxWindow_Lower(_swigobj) (_swigobj->Lower())
efc5f224 3161static PyObject *_wrap_wxWindow_Lower(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3162 PyObject * _resultobj;
3163 wxWindow * _arg0;
1d99702e 3164 PyObject * _argo0 = 0;
efc5f224 3165 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3166
3167 self = self;
efc5f224 3168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Lower",_kwnames,&_argo0))
8ab979d7 3169 return NULL;
1d99702e
RD
3170 if (_argo0) {
3171 if (_argo0 == Py_None) { _arg0 = NULL; }
3172 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3173 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
3174 return NULL;
3175 }
3176 }
cf694132 3177{
474c48f9 3178 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3179 wxWindow_Lower(_arg0);
cf694132 3180
474c48f9 3181 wxPyEndAllowThreads(__tstate);
4dfaa61e 3182 if (PyErr_Occurred()) return NULL;
cf694132 3183} Py_INCREF(Py_None);
8ab979d7
RD
3184 _resultobj = Py_None;
3185 return _resultobj;
3186}
3187
3188#define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
efc5f224 3189static PyObject *_wrap_wxWindow_MakeModal(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3190 PyObject * _resultobj;
3191 wxWindow * _arg0;
65191ae8 3192 bool _arg1 = (bool ) TRUE;
1d99702e 3193 PyObject * _argo0 = 0;
65191ae8 3194 int tempbool1 = (int) TRUE;
efc5f224 3195 char *_kwnames[] = { "self","flag", NULL };
8ab979d7
RD
3196
3197 self = self;
65191ae8 3198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_MakeModal",_kwnames,&_argo0,&tempbool1))
8ab979d7 3199 return NULL;
1d99702e
RD
3200 if (_argo0) {
3201 if (_argo0 == Py_None) { _arg0 = NULL; }
3202 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3203 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
3204 return NULL;
3205 }
3206 }
3207 _arg1 = (bool ) tempbool1;
cf694132 3208{
474c48f9 3209 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3210 wxWindow_MakeModal(_arg0,_arg1);
cf694132 3211
474c48f9 3212 wxPyEndAllowThreads(__tstate);
4dfaa61e 3213 if (PyErr_Occurred()) return NULL;
cf694132 3214} Py_INCREF(Py_None);
8ab979d7
RD
3215 _resultobj = Py_None;
3216 return _resultobj;
3217}
3218
8cb49012 3219#define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Move(_swigarg0,_swigarg1,_swigarg2))
efc5f224 3220static PyObject *_wrap_wxWindow_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3221 PyObject * _resultobj;
3222 wxWindow * _arg0;
3223 int _arg1;
3224 int _arg2;
8cb49012 3225 int _arg3 = (int ) wxSIZE_USE_EXISTING;
1d99702e 3226 PyObject * _argo0 = 0;
8cb49012 3227 char *_kwnames[] = { "self","x","y","flags", NULL };
8ab979d7
RD
3228
3229 self = self;
8cb49012 3230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxWindow_MoveXY",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
af309447 3231 return NULL;
1d99702e
RD
3232 if (_argo0) {
3233 if (_argo0 == Py_None) { _arg0 = NULL; }
3234 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
af309447
RD
3235 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
3236 return NULL;
3237 }
3238 }
cf694132 3239{
474c48f9 3240 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3241 wxWindow_MoveXY(_arg0,_arg1,_arg2,_arg3);
cf694132 3242
474c48f9 3243 wxPyEndAllowThreads(__tstate);
4dfaa61e 3244 if (PyErr_Occurred()) return NULL;
cf694132 3245} Py_INCREF(Py_None);
af309447
RD
3246 _resultobj = Py_None;
3247 return _resultobj;
3248}
3249
8cb49012 3250#define wxWindow_Move(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
efc5f224 3251static PyObject *_wrap_wxWindow_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
3252 PyObject * _resultobj;
3253 wxWindow * _arg0;
3254 wxPoint * _arg1;
8cb49012 3255 int _arg2 = (int ) wxSIZE_USE_EXISTING;
1d99702e 3256 PyObject * _argo0 = 0;
2f90df85
RD
3257 wxPoint temp;
3258 PyObject * _obj1 = 0;
8cb49012 3259 char *_kwnames[] = { "self","point","flags", NULL };
af309447
RD
3260
3261 self = self;
8cb49012 3262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxWindow_Move",_kwnames,&_argo0,&_obj1,&_arg2))
8ab979d7 3263 return NULL;
1d99702e
RD
3264 if (_argo0) {
3265 if (_argo0 == Py_None) { _arg0 = NULL; }
3266 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3267 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
3268 return NULL;
3269 }
3270 }
2f90df85
RD
3271{
3272 _arg1 = &temp;
3273 if (! wxPoint_helper(_obj1, &_arg1))
af309447 3274 return NULL;
2f90df85 3275}
cf694132 3276{
474c48f9 3277 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3278 wxWindow_Move(_arg0,*_arg1,_arg2);
cf694132 3279
474c48f9 3280 wxPyEndAllowThreads(__tstate);
4dfaa61e 3281 if (PyErr_Occurred()) return NULL;
cf694132 3282} Py_INCREF(Py_None);
8ab979d7
RD
3283 _resultobj = Py_None;
3284 return _resultobj;
3285}
3286
1afc06c2
RD
3287#define wxWindow_PopEventHandler(_swigobj,_swigarg0) (_swigobj->PopEventHandler(_swigarg0))
3288static PyObject *_wrap_wxWindow_PopEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
3289 PyObject * _resultobj;
3290 wxEvtHandler * _result;
3291 wxWindow * _arg0;
3292 bool _arg1 = (bool ) FALSE;
3293 PyObject * _argo0 = 0;
3294 int tempbool1 = (int) FALSE;
3295 char *_kwnames[] = { "self","deleteHandler", NULL };
1afc06c2
RD
3296
3297 self = self;
3298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_PopEventHandler",_kwnames,&_argo0,&tempbool1))
3299 return NULL;
3300 if (_argo0) {
3301 if (_argo0 == Py_None) { _arg0 = NULL; }
3302 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3303 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PopEventHandler. Expected _wxWindow_p.");
3304 return NULL;
3305 }
3306 }
3307 _arg1 = (bool ) tempbool1;
3308{
474c48f9 3309 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3310 _result = (wxEvtHandler *)wxWindow_PopEventHandler(_arg0,_arg1);
1afc06c2 3311
474c48f9 3312 wxPyEndAllowThreads(__tstate);
4dfaa61e 3313 if (PyErr_Occurred()) return NULL;
9df61a29 3314}{ _resultobj = wxPyMake_wxObject(_result); }
1afc06c2
RD
3315 return _resultobj;
3316}
3317
3318#define wxWindow_PushEventHandler(_swigobj,_swigarg0) (_swigobj->PushEventHandler(_swigarg0))
3319static PyObject *_wrap_wxWindow_PushEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
3320 PyObject * _resultobj;
3321 wxWindow * _arg0;
3322 wxEvtHandler * _arg1;
3323 PyObject * _argo0 = 0;
3324 PyObject * _argo1 = 0;
3325 char *_kwnames[] = { "self","handler", NULL };
3326
3327 self = self;
3328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_PushEventHandler",_kwnames,&_argo0,&_argo1))
3329 return NULL;
3330 if (_argo0) {
3331 if (_argo0 == Py_None) { _arg0 = NULL; }
3332 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3333 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PushEventHandler. Expected _wxWindow_p.");
3334 return NULL;
3335 }
3336 }
3337 if (_argo1) {
3338 if (_argo1 == Py_None) { _arg1 = NULL; }
3339 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
3340 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_PushEventHandler. Expected _wxEvtHandler_p.");
3341 return NULL;
3342 }
3343 }
3344{
474c48f9 3345 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3346 wxWindow_PushEventHandler(_arg0,_arg1);
1afc06c2 3347
474c48f9 3348 wxPyEndAllowThreads(__tstate);
4dfaa61e 3349 if (PyErr_Occurred()) return NULL;
1afc06c2
RD
3350} Py_INCREF(Py_None);
3351 _resultobj = Py_None;
3352 return _resultobj;
3353}
3354
5d413391
RD
3355#define wxWindow_RemoveEventHandler(_swigobj,_swigarg0) (_swigobj->RemoveEventHandler(_swigarg0))
3356static PyObject *_wrap_wxWindow_RemoveEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
3357 PyObject * _resultobj;
3358 bool _result;
3359 wxWindow * _arg0;
3360 wxEvtHandler * _arg1;
3361 PyObject * _argo0 = 0;
3362 PyObject * _argo1 = 0;
3363 char *_kwnames[] = { "self","handler", NULL };
3364
3365 self = self;
3366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_RemoveEventHandler",_kwnames,&_argo0,&_argo1))
3367 return NULL;
3368 if (_argo0) {
3369 if (_argo0 == Py_None) { _arg0 = NULL; }
3370 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3371 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_RemoveEventHandler. Expected _wxWindow_p.");
3372 return NULL;
3373 }
3374 }
3375 if (_argo1) {
3376 if (_argo1 == Py_None) { _arg1 = NULL; }
3377 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
3378 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_RemoveEventHandler. Expected _wxEvtHandler_p.");
3379 return NULL;
3380 }
3381 }
3382{
3383 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3384 _result = (bool )wxWindow_RemoveEventHandler(_arg0,_arg1);
5d413391
RD
3385
3386 wxPyEndAllowThreads(__tstate);
3387 if (PyErr_Occurred()) return NULL;
3388} _resultobj = Py_BuildValue("i",_result);
3389 return _resultobj;
3390}
3391
8bf5d46e 3392#define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
efc5f224 3393static PyObject *_wrap_wxWindow_PopupMenuXY(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3394 PyObject * _resultobj;
3395 bool _result;
3396 wxWindow * _arg0;
3397 wxMenu * _arg1;
3398 int _arg2;
3399 int _arg3;
1d99702e
RD
3400 PyObject * _argo0 = 0;
3401 PyObject * _argo1 = 0;
efc5f224 3402 char *_kwnames[] = { "self","menu","x","y", NULL };
8ab979d7
RD
3403
3404 self = self;
efc5f224 3405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxWindow_PopupMenuXY",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
8bf5d46e 3406 return NULL;
1d99702e
RD
3407 if (_argo0) {
3408 if (_argo0 == Py_None) { _arg0 = NULL; }
3409 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8bf5d46e
RD
3410 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
3411 return NULL;
3412 }
3413 }
1d99702e
RD
3414 if (_argo1) {
3415 if (_argo1 == Py_None) { _arg1 = NULL; }
3416 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
8bf5d46e
RD
3417 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
3418 return NULL;
3419 }
3420 }
3421{
474c48f9 3422 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3423 _result = (bool )wxWindow_PopupMenuXY(_arg0,_arg1,_arg2,_arg3);
8bf5d46e 3424
474c48f9 3425 wxPyEndAllowThreads(__tstate);
4dfaa61e 3426 if (PyErr_Occurred()) return NULL;
8bf5d46e
RD
3427} _resultobj = Py_BuildValue("i",_result);
3428 return _resultobj;
3429}
3430
3431#define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
efc5f224 3432static PyObject *_wrap_wxWindow_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
8bf5d46e
RD
3433 PyObject * _resultobj;
3434 bool _result;
3435 wxWindow * _arg0;
3436 wxMenu * _arg1;
3437 wxPoint * _arg2;
1d99702e
RD
3438 PyObject * _argo0 = 0;
3439 PyObject * _argo1 = 0;
2f90df85
RD
3440 wxPoint temp;
3441 PyObject * _obj2 = 0;
efc5f224 3442 char *_kwnames[] = { "self","menu","pos", NULL };
8bf5d46e
RD
3443
3444 self = self;
2f90df85 3445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxWindow_PopupMenu",_kwnames,&_argo0,&_argo1,&_obj2))
8ab979d7 3446 return NULL;
1d99702e
RD
3447 if (_argo0) {
3448 if (_argo0 == Py_None) { _arg0 = NULL; }
3449 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3450 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
3451 return NULL;
3452 }
3453 }
1d99702e
RD
3454 if (_argo1) {
3455 if (_argo1 == Py_None) { _arg1 = NULL; }
3456 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
8ab979d7
RD
3457 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
3458 return NULL;
3459 }
3460 }
2f90df85
RD
3461{
3462 _arg2 = &temp;
3463 if (! wxPoint_helper(_obj2, &_arg2))
8bf5d46e 3464 return NULL;
2f90df85 3465}
cf694132 3466{
474c48f9 3467 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3468 _result = (bool )wxWindow_PopupMenu(_arg0,_arg1,*_arg2);
cf694132 3469
474c48f9 3470 wxPyEndAllowThreads(__tstate);
4dfaa61e 3471 if (PyErr_Occurred()) return NULL;
cf694132 3472} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3473 return _resultobj;
3474}
3475
3476#define wxWindow_Raise(_swigobj) (_swigobj->Raise())
efc5f224 3477static PyObject *_wrap_wxWindow_Raise(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3478 PyObject * _resultobj;
3479 wxWindow * _arg0;
1d99702e 3480 PyObject * _argo0 = 0;
efc5f224 3481 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3482
3483 self = self;
efc5f224 3484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Raise",_kwnames,&_argo0))
8ab979d7 3485 return NULL;
1d99702e
RD
3486 if (_argo0) {
3487 if (_argo0 == Py_None) { _arg0 = NULL; }
3488 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3489 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
3490 return NULL;
3491 }
3492 }
cf694132 3493{
474c48f9 3494 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3495 wxWindow_Raise(_arg0);
cf694132 3496
474c48f9 3497 wxPyEndAllowThreads(__tstate);
4dfaa61e 3498 if (PyErr_Occurred()) return NULL;
cf694132 3499} Py_INCREF(Py_None);
8ab979d7
RD
3500 _resultobj = Py_None;
3501 return _resultobj;
3502}
3503
3504#define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
efc5f224 3505static PyObject *_wrap_wxWindow_Refresh(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3506 PyObject * _resultobj;
3507 wxWindow * _arg0;
1d99702e
RD
3508 bool _arg1 = (bool ) TRUE;
3509 wxRect * _arg2 = (wxRect *) NULL;
3510 PyObject * _argo0 = 0;
3511 int tempbool1 = (int) TRUE;
2f90df85
RD
3512 wxRect temp;
3513 PyObject * _obj2 = 0;
efc5f224 3514 char *_kwnames[] = { "self","eraseBackground","rect", NULL };
8ab979d7
RD
3515
3516 self = self;
2f90df85 3517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iO:wxWindow_Refresh",_kwnames,&_argo0,&tempbool1,&_obj2))
8ab979d7 3518 return NULL;
1d99702e
RD
3519 if (_argo0) {
3520 if (_argo0 == Py_None) { _arg0 = NULL; }
3521 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3522 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
3523 return NULL;
3524 }
3525 }
3526 _arg1 = (bool ) tempbool1;
2f90df85
RD
3527 if (_obj2)
3528{
3529 _arg2 = &temp;
3530 if (! wxRect_helper(_obj2, &_arg2))
8ab979d7 3531 return NULL;
2f90df85 3532}
cf694132 3533{
474c48f9 3534 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3535 wxWindow_Refresh(_arg0,_arg1,_arg2);
cf694132 3536
474c48f9 3537 wxPyEndAllowThreads(__tstate);
4dfaa61e 3538 if (PyErr_Occurred()) return NULL;
cf694132 3539} Py_INCREF(Py_None);
8ab979d7
RD
3540 _resultobj = Py_None;
3541 return _resultobj;
3542}
3543
aa2a5b86
RD
3544#define wxWindow_RefreshRect(_swigobj,_swigarg0) (_swigobj->RefreshRect(_swigarg0))
3545static PyObject *_wrap_wxWindow_RefreshRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3546 PyObject * _resultobj;
3547 wxWindow * _arg0;
3548 wxRect * _arg1;
3549 PyObject * _argo0 = 0;
3550 wxRect temp;
3551 PyObject * _obj1 = 0;
3552 char *_kwnames[] = { "self","rect", NULL };
3553
3554 self = self;
3555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_RefreshRect",_kwnames,&_argo0,&_obj1))
3556 return NULL;
3557 if (_argo0) {
3558 if (_argo0 == Py_None) { _arg0 = NULL; }
3559 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3560 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_RefreshRect. Expected _wxWindow_p.");
3561 return NULL;
3562 }
3563 }
3564{
3565 _arg1 = &temp;
3566 if (! wxRect_helper(_obj1, &_arg1))
3567 return NULL;
3568}
3569{
474c48f9 3570 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3571 wxWindow_RefreshRect(_arg0,*_arg1);
aa2a5b86 3572
474c48f9 3573 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
3574 if (PyErr_Occurred()) return NULL;
3575} Py_INCREF(Py_None);
3576 _resultobj = Py_None;
3577 return _resultobj;
3578}
3579
b7e72427
RD
3580#define wxWindow_RemoveChild(_swigobj,_swigarg0) (_swigobj->RemoveChild(_swigarg0))
3581static PyObject *_wrap_wxWindow_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
3582 PyObject * _resultobj;
3583 wxWindow * _arg0;
3584 wxWindow * _arg1;
3585 PyObject * _argo0 = 0;
3586 PyObject * _argo1 = 0;
3587 char *_kwnames[] = { "self","child", NULL };
3588
3589 self = self;
3590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_RemoveChild",_kwnames,&_argo0,&_argo1))
3591 return NULL;
3592 if (_argo0) {
3593 if (_argo0 == Py_None) { _arg0 = NULL; }
3594 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3595 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3596 return NULL;
3597 }
3598 }
3599 if (_argo1) {
3600 if (_argo1 == Py_None) { _arg1 = NULL; }
3601 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
3602 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3603 return NULL;
3604 }
3605 }
3606{
474c48f9 3607 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3608 wxWindow_RemoveChild(_arg0,_arg1);
b7e72427 3609
474c48f9 3610 wxPyEndAllowThreads(__tstate);
4dfaa61e 3611 if (PyErr_Occurred()) return NULL;
b7e72427
RD
3612} Py_INCREF(Py_None);
3613 _resultobj = Py_None;
3614 return _resultobj;
3615}
3616
bb0054cd 3617#define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
efc5f224 3618static PyObject *_wrap_wxWindow_Reparent(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
3619 PyObject * _resultobj;
3620 bool _result;
3621 wxWindow * _arg0;
3622 wxWindow * _arg1;
1d99702e
RD
3623 PyObject * _argo0 = 0;
3624 PyObject * _argo1 = 0;
efc5f224 3625 char *_kwnames[] = { "self","newParent", NULL };
bb0054cd
RD
3626
3627 self = self;
efc5f224 3628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_Reparent",_kwnames,&_argo0,&_argo1))
bb0054cd 3629 return NULL;
1d99702e
RD
3630 if (_argo0) {
3631 if (_argo0 == Py_None) { _arg0 = NULL; }
3632 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
bb0054cd
RD
3633 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
3634 return NULL;
3635 }
3636 }
1d99702e
RD
3637 if (_argo1) {
3638 if (_argo1 == Py_None) { _arg1 = NULL; }
3639 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
bb0054cd
RD
3640 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
3641 return NULL;
3642 }
3643 }
3644{
474c48f9 3645 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3646 _result = (bool )wxWindow_Reparent(_arg0,_arg1);
bb0054cd 3647
474c48f9 3648 wxPyEndAllowThreads(__tstate);
4dfaa61e 3649 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
3650} _resultobj = Py_BuildValue("i",_result);
3651 return _resultobj;
3652}
3653
af309447 3654#define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
efc5f224 3655static PyObject *_wrap_wxWindow_ScreenToClientXY(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3656 PyObject * _resultobj;
3657 wxWindow * _arg0;
3658 int * _arg1;
3659 int * _arg2;
1d99702e 3660 PyObject * _argo0 = 0;
8ab979d7
RD
3661 int temp;
3662 PyObject * _obj1 = 0;
3663 int temp0;
3664 PyObject * _obj2 = 0;
efc5f224 3665 char *_kwnames[] = { "self","x","y", NULL };
8ab979d7
RD
3666
3667 self = self;
efc5f224 3668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxWindow_ScreenToClientXY",_kwnames,&_argo0,&_obj1,&_obj2))
8ab979d7 3669 return NULL;
1d99702e
RD
3670 if (_argo0) {
3671 if (_argo0 == Py_None) { _arg0 = NULL; }
3672 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
af309447 3673 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
8ab979d7
RD
3674 return NULL;
3675 }
3676 }
3677{
3678 temp = (int) PyInt_AsLong(_obj1);
3679 _arg1 = &temp;
3680}
3681{
3682 temp0 = (int) PyInt_AsLong(_obj2);
3683 _arg2 = &temp0;
3684}
cf694132 3685{
474c48f9 3686 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3687 wxWindow_ScreenToClientXY(_arg0,_arg1,_arg2);
cf694132 3688
474c48f9 3689 wxPyEndAllowThreads(__tstate);
4dfaa61e 3690 if (PyErr_Occurred()) return NULL;
cf694132 3691} Py_INCREF(Py_None);
8ab979d7
RD
3692 _resultobj = Py_None;
3693{
3694 PyObject *o;
3695 o = PyInt_FromLong((long) (*_arg1));
3696 _resultobj = t_output_helper(_resultobj, o);
3697}
3698{
3699 PyObject *o;
3700 o = PyInt_FromLong((long) (*_arg2));
3701 _resultobj = t_output_helper(_resultobj, o);
3702}
3703 return _resultobj;
3704}
3705
af309447 3706#define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
efc5f224 3707static PyObject *_wrap_wxWindow_ScreenToClient(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
3708 PyObject * _resultobj;
3709 wxPoint * _result;
3710 wxWindow * _arg0;
3711 wxPoint * _arg1;
1d99702e 3712 PyObject * _argo0 = 0;
2f90df85
RD
3713 wxPoint temp;
3714 PyObject * _obj1 = 0;
efc5f224 3715 char *_kwnames[] = { "self","pt", NULL };
af309447
RD
3716 char _ptemp[128];
3717
3718 self = self;
2f90df85 3719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ScreenToClient",_kwnames,&_argo0,&_obj1))
af309447 3720 return NULL;
1d99702e
RD
3721 if (_argo0) {
3722 if (_argo0 == Py_None) { _arg0 = NULL; }
3723 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
af309447
RD
3724 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
3725 return NULL;
3726 }
3727 }
2f90df85
RD
3728{
3729 _arg1 = &temp;
3730 if (! wxPoint_helper(_obj1, &_arg1))
af309447 3731 return NULL;
2f90df85 3732}
cf694132 3733{
474c48f9 3734 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3735 _result = new wxPoint (wxWindow_ScreenToClient(_arg0,*_arg1));
cf694132 3736
474c48f9 3737 wxPyEndAllowThreads(__tstate);
4dfaa61e 3738 if (PyErr_Occurred()) return NULL;
cf694132 3739} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
af309447
RD
3740 _resultobj = Py_BuildValue("s",_ptemp);
3741 return _resultobj;
3742}
3743
8ab979d7 3744#define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
efc5f224 3745static PyObject *_wrap_wxWindow_ScrollWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3746 PyObject * _resultobj;
3747 wxWindow * _arg0;
3748 int _arg1;
3749 int _arg2;
1d99702e
RD
3750 wxRect * _arg3 = (wxRect *) NULL;
3751 PyObject * _argo0 = 0;
2f90df85
RD
3752 wxRect temp;
3753 PyObject * _obj3 = 0;
efc5f224 3754 char *_kwnames[] = { "self","dx","dy","rect", NULL };
8ab979d7
RD
3755
3756 self = self;
2f90df85 3757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|O:wxWindow_ScrollWindow",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
8ab979d7 3758 return NULL;
1d99702e
RD
3759 if (_argo0) {
3760 if (_argo0 == Py_None) { _arg0 = NULL; }
3761 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3762 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
3763 return NULL;
3764 }
3765 }
2f90df85
RD
3766 if (_obj3)
3767{
3768 _arg3 = &temp;
3769 if (! wxRect_helper(_obj3, &_arg3))
8ab979d7 3770 return NULL;
2f90df85 3771}
cf694132 3772{
474c48f9 3773 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3774 wxWindow_ScrollWindow(_arg0,_arg1,_arg2,_arg3);
cf694132 3775
474c48f9 3776 wxPyEndAllowThreads(__tstate);
4dfaa61e 3777 if (PyErr_Occurred()) return NULL;
cf694132 3778} Py_INCREF(Py_None);
8ab979d7
RD
3779 _resultobj = Py_None;
3780 return _resultobj;
3781}
3782
3783#define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
efc5f224 3784static PyObject *_wrap_wxWindow_SetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3785 PyObject * _resultobj;
3786 wxWindow * _arg0;
3787 bool _arg1;
1d99702e 3788 PyObject * _argo0 = 0;
8ab979d7 3789 int tempbool1;
efc5f224 3790 char *_kwnames[] = { "self","autoLayout", NULL };
8ab979d7
RD
3791
3792 self = self;
efc5f224 3793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_SetAutoLayout",_kwnames,&_argo0,&tempbool1))
8ab979d7 3794 return NULL;
1d99702e
RD
3795 if (_argo0) {
3796 if (_argo0 == Py_None) { _arg0 = NULL; }
3797 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3798 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
3799 return NULL;
3800 }
3801 }
3802 _arg1 = (bool ) tempbool1;
cf694132 3803{
474c48f9 3804 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3805 wxWindow_SetAutoLayout(_arg0,_arg1);
cf694132 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
9d8bd15f
RD
3814#define wxWindow_GetAutoLayout(_swigobj) (_swigobj->GetAutoLayout())
3815static PyObject *_wrap_wxWindow_GetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
3816 PyObject * _resultobj;
3817 bool _result;
3818 wxWindow * _arg0;
3819 PyObject * _argo0 = 0;
3820 char *_kwnames[] = { "self", NULL };
3821
3822 self = self;
3823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetAutoLayout",_kwnames,&_argo0))
3824 return NULL;
3825 if (_argo0) {
3826 if (_argo0 == Py_None) { _arg0 = NULL; }
3827 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3828 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetAutoLayout. Expected _wxWindow_p.");
3829 return NULL;
3830 }
3831 }
3832{
474c48f9 3833 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3834 _result = (bool )wxWindow_GetAutoLayout(_arg0);
9d8bd15f 3835
474c48f9 3836 wxPyEndAllowThreads(__tstate);
4dfaa61e 3837 if (PyErr_Occurred()) return NULL;
9d8bd15f
RD
3838} _resultobj = Py_BuildValue("i",_result);
3839 return _resultobj;
3840}
3841
8ab979d7 3842#define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
efc5f224 3843static PyObject *_wrap_wxWindow_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3844 PyObject * _resultobj;
3845 wxWindow * _arg0;
3846 wxColour * _arg1;
1d99702e 3847 PyObject * _argo0 = 0;
f6bcfd97
BP
3848 wxColour temp;
3849 PyObject * _obj1 = 0;
efc5f224 3850 char *_kwnames[] = { "self","colour", NULL };
8ab979d7
RD
3851
3852 self = self;
f6bcfd97 3853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
8ab979d7 3854 return NULL;
1d99702e
RD
3855 if (_argo0) {
3856 if (_argo0 == Py_None) { _arg0 = NULL; }
3857 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3858 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
3859 return NULL;
3860 }
3861 }
f6bcfd97
BP
3862{
3863 _arg1 = &temp;
3864 if (! wxColour_helper(_obj1, &_arg1))
8ab979d7 3865 return NULL;
f6bcfd97 3866}
cf694132 3867{
474c48f9 3868 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3869 wxWindow_SetBackgroundColour(_arg0,*_arg1);
cf694132 3870
474c48f9 3871 wxPyEndAllowThreads(__tstate);
4dfaa61e 3872 if (PyErr_Occurred()) return NULL;
cf694132 3873} Py_INCREF(Py_None);
8ab979d7
RD
3874 _resultobj = Py_None;
3875 return _resultobj;
3876}
3877
3878#define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
efc5f224 3879static PyObject *_wrap_wxWindow_SetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3880 PyObject * _resultobj;
3881 wxWindow * _arg0;
3882 wxLayoutConstraints * _arg1;
1d99702e
RD
3883 PyObject * _argo0 = 0;
3884 PyObject * _argo1 = 0;
efc5f224 3885 char *_kwnames[] = { "self","constraints", NULL };
8ab979d7
RD
3886
3887 self = self;
efc5f224 3888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetConstraints",_kwnames,&_argo0,&_argo1))
8ab979d7 3889 return NULL;
1d99702e
RD
3890 if (_argo0) {
3891 if (_argo0 == Py_None) { _arg0 = NULL; }
3892 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3893 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
3894 return NULL;
3895 }
3896 }
1d99702e
RD
3897 if (_argo1) {
3898 if (_argo1 == Py_None) { _arg1 = NULL; }
3899 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxLayoutConstraints_p")) {
8ab979d7
RD
3900 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
3901 return NULL;
3902 }
3903 }
cf694132 3904{
474c48f9 3905 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3906 wxWindow_SetConstraints(_arg0,_arg1);
cf694132 3907
474c48f9 3908 wxPyEndAllowThreads(__tstate);
4dfaa61e 3909 if (PyErr_Occurred()) return NULL;
cf694132 3910} Py_INCREF(Py_None);
8ab979d7
RD
3911 _resultobj = Py_None;
3912 return _resultobj;
3913}
3914
2f90df85
RD
3915#define wxWindow_UnsetConstraints(_swigobj,_swigarg0) (_swigobj->UnsetConstraints(_swigarg0))
3916static PyObject *_wrap_wxWindow_UnsetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
3917 PyObject * _resultobj;
3918 wxWindow * _arg0;
3919 wxLayoutConstraints * _arg1;
3920 PyObject * _argo0 = 0;
3921 PyObject * _argo1 = 0;
3922 char *_kwnames[] = { "self","constraints", NULL };
3923
3924 self = self;
3925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_UnsetConstraints",_kwnames,&_argo0,&_argo1))
3926 return NULL;
3927 if (_argo0) {
3928 if (_argo0 == Py_None) { _arg0 = NULL; }
3929 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3930 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_UnsetConstraints. Expected _wxWindow_p.");
3931 return NULL;
3932 }
3933 }
3934 if (_argo1) {
3935 if (_argo1 == Py_None) { _arg1 = NULL; }
3936 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxLayoutConstraints_p")) {
3937 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_UnsetConstraints. Expected _wxLayoutConstraints_p.");
3938 return NULL;
3939 }
3940 }
3941{
474c48f9 3942 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3943 wxWindow_UnsetConstraints(_arg0,_arg1);
2f90df85 3944
474c48f9 3945 wxPyEndAllowThreads(__tstate);
4dfaa61e 3946 if (PyErr_Occurred()) return NULL;
2f90df85
RD
3947} Py_INCREF(Py_None);
3948 _resultobj = Py_None;
3949 return _resultobj;
3950}
3951
8ab979d7 3952#define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
efc5f224 3953static PyObject *_wrap_wxWindow_SetFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3954 PyObject * _resultobj;
3955 wxWindow * _arg0;
1d99702e 3956 PyObject * _argo0 = 0;
efc5f224 3957 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3958
3959 self = self;
efc5f224 3960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_SetFocus",_kwnames,&_argo0))
8ab979d7 3961 return NULL;
1d99702e
RD
3962 if (_argo0) {
3963 if (_argo0 == Py_None) { _arg0 = NULL; }
3964 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3965 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
3966 return NULL;
3967 }
3968 }
cf694132 3969{
474c48f9 3970 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3971 wxWindow_SetFocus(_arg0);
cf694132 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
2f90df85
RD
3980#define wxWindow_AcceptsFocus(_swigobj) (_swigobj->AcceptsFocus())
3981static PyObject *_wrap_wxWindow_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
3982 PyObject * _resultobj;
3983 bool _result;
3984 wxWindow * _arg0;
3985 PyObject * _argo0 = 0;
3986 char *_kwnames[] = { "self", NULL };
3987
3988 self = self;
3989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_AcceptsFocus",_kwnames,&_argo0))
3990 return NULL;
3991 if (_argo0) {
3992 if (_argo0 == Py_None) { _arg0 = NULL; }
3993 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3994 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_AcceptsFocus. Expected _wxWindow_p.");
3995 return NULL;
3996 }
3997 }
3998{
474c48f9 3999 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4000 _result = (bool )wxWindow_AcceptsFocus(_arg0);
2f90df85 4001
474c48f9 4002 wxPyEndAllowThreads(__tstate);
4dfaa61e 4003 if (PyErr_Occurred()) return NULL;
2f90df85
RD
4004} _resultobj = Py_BuildValue("i",_result);
4005 return _resultobj;
4006}
4007
8ab979d7 4008#define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
efc5f224 4009static PyObject *_wrap_wxWindow_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4010 PyObject * _resultobj;
4011 wxWindow * _arg0;
4012 wxFont * _arg1;
1d99702e
RD
4013 PyObject * _argo0 = 0;
4014 PyObject * _argo1 = 0;
efc5f224 4015 char *_kwnames[] = { "self","font", NULL };
8ab979d7
RD
4016
4017 self = self;
efc5f224 4018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetFont",_kwnames,&_argo0,&_argo1))
8ab979d7 4019 return NULL;
1d99702e
RD
4020 if (_argo0) {
4021 if (_argo0 == Py_None) { _arg0 = NULL; }
4022 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4023 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
4024 return NULL;
4025 }
4026 }
1d99702e
RD
4027 if (_argo1) {
4028 if (_argo1 == Py_None) { _arg1 = NULL; }
4029 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
8ab979d7
RD
4030 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
4031 return NULL;
4032 }
4033 }
cf694132 4034{
474c48f9 4035 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4036 wxWindow_SetFont(_arg0,*_arg1);
cf694132 4037
474c48f9 4038 wxPyEndAllowThreads(__tstate);
4dfaa61e 4039 if (PyErr_Occurred()) return NULL;
cf694132 4040} Py_INCREF(Py_None);
8ab979d7
RD
4041 _resultobj = Py_None;
4042 return _resultobj;
4043}
4044
4045#define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
efc5f224 4046static PyObject *_wrap_wxWindow_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4047 PyObject * _resultobj;
4048 wxWindow * _arg0;
4049 wxColour * _arg1;
1d99702e 4050 PyObject * _argo0 = 0;
f6bcfd97
BP
4051 wxColour temp;
4052 PyObject * _obj1 = 0;
efc5f224 4053 char *_kwnames[] = { "self","colour", NULL };
8ab979d7
RD
4054
4055 self = self;
f6bcfd97 4056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetForegroundColour",_kwnames,&_argo0,&_obj1))
8ab979d7 4057 return NULL;
1d99702e
RD
4058 if (_argo0) {
4059 if (_argo0 == Py_None) { _arg0 = NULL; }
4060 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4061 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
4062 return NULL;
4063 }
4064 }
f6bcfd97
BP
4065{
4066 _arg1 = &temp;
4067 if (! wxColour_helper(_obj1, &_arg1))
8ab979d7 4068 return NULL;
f6bcfd97 4069}
cf694132 4070{
474c48f9 4071 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4072 wxWindow_SetForegroundColour(_arg0,*_arg1);
cf694132 4073
474c48f9 4074 wxPyEndAllowThreads(__tstate);
4dfaa61e 4075 if (PyErr_Occurred()) return NULL;
cf694132 4076} Py_INCREF(Py_None);
8ab979d7
RD
4077 _resultobj = Py_None;
4078 return _resultobj;
4079}
4080
4081#define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
efc5f224 4082static PyObject *_wrap_wxWindow_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4083 PyObject * _resultobj;
4084 wxWindow * _arg0;
4085 int _arg1;
1d99702e 4086 PyObject * _argo0 = 0;
efc5f224 4087 char *_kwnames[] = { "self","id", NULL };
8ab979d7
RD
4088
4089 self = self;
efc5f224 4090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_SetId",_kwnames,&_argo0,&_arg1))
8ab979d7 4091 return NULL;
1d99702e
RD
4092 if (_argo0) {
4093 if (_argo0 == Py_None) { _arg0 = NULL; }
4094 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4095 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
4096 return NULL;
4097 }
4098 }
cf694132 4099{
474c48f9 4100 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4101 wxWindow_SetId(_arg0,_arg1);
cf694132 4102
474c48f9 4103 wxPyEndAllowThreads(__tstate);
4dfaa61e 4104 if (PyErr_Occurred()) return NULL;
cf694132 4105} Py_INCREF(Py_None);
8ab979d7
RD
4106 _resultobj = Py_None;
4107 return _resultobj;
4108}
4109
4110#define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
efc5f224 4111static PyObject *_wrap_wxWindow_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4112 PyObject * _resultobj;
4113 wxWindow * _arg0;
4114 wxString * _arg1;
1d99702e 4115 PyObject * _argo0 = 0;
8ab979d7 4116 PyObject * _obj1 = 0;
efc5f224 4117 char *_kwnames[] = { "self","name", NULL };
8ab979d7
RD
4118
4119 self = self;
efc5f224 4120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetName",_kwnames,&_argo0,&_obj1))
8ab979d7 4121 return NULL;
1d99702e
RD
4122 if (_argo0) {
4123 if (_argo0 == Py_None) { _arg0 = NULL; }
4124 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4125 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
4126 return NULL;
4127 }
4128 }
4129{
c8bc7bb8
RD
4130 _arg1 = wxString_in_helper(_obj1);
4131 if (_arg1 == NULL)
2cd2fac8 4132 return NULL;
8ab979d7 4133}
cf694132 4134{
474c48f9 4135 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4136 wxWindow_SetName(_arg0,*_arg1);
cf694132 4137
474c48f9 4138 wxPyEndAllowThreads(__tstate);
4dfaa61e 4139 if (PyErr_Occurred()) return NULL;
cf694132 4140} Py_INCREF(Py_None);
8ab979d7
RD
4141 _resultobj = Py_None;
4142{
4143 if (_obj1)
4144 delete _arg1;
4145}
4146 return _resultobj;
4147}
4148
8ab979d7 4149#define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
efc5f224 4150static PyObject *_wrap_wxWindow_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4151 PyObject * _resultobj;
4152 wxWindow * _arg0;
4153 int _arg1;
4154 int _arg2;
4155 int _arg3;
4156 int _arg4;
eb715945 4157 int _arg5 = (int ) TRUE;
1d99702e 4158 PyObject * _argo0 = 0;
efc5f224 4159 char *_kwnames[] = { "self","orientation","position","thumbSize","range","refresh", NULL };
8ab979d7
RD
4160
4161 self = self;
eb715945 4162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxWindow_SetScrollbar",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5))
8ab979d7 4163 return NULL;
1d99702e
RD
4164 if (_argo0) {
4165 if (_argo0 == Py_None) { _arg0 = NULL; }
4166 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4167 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
4168 return NULL;
4169 }
4170 }
cf694132 4171{
474c48f9 4172 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4173 wxWindow_SetScrollbar(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
cf694132 4174
474c48f9 4175 wxPyEndAllowThreads(__tstate);
4dfaa61e 4176 if (PyErr_Occurred()) return NULL;
cf694132 4177} Py_INCREF(Py_None);
8ab979d7
RD
4178 _resultobj = Py_None;
4179 return _resultobj;
4180}
4181
4182#define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
efc5f224 4183static PyObject *_wrap_wxWindow_SetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4184 PyObject * _resultobj;
4185 wxWindow * _arg0;
4186 int _arg1;
4187 int _arg2;
1d99702e
RD
4188 bool _arg3 = (bool ) TRUE;
4189 PyObject * _argo0 = 0;
4190 int tempbool3 = (int) TRUE;
efc5f224 4191 char *_kwnames[] = { "self","orientation","pos","refresh", NULL };
8ab979d7
RD
4192
4193 self = self;
efc5f224 4194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxWindow_SetScrollPos",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
8ab979d7 4195 return NULL;
1d99702e
RD
4196 if (_argo0) {
4197 if (_argo0 == Py_None) { _arg0 = NULL; }
4198 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4199 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
4200 return NULL;
4201 }
4202 }
4203 _arg3 = (bool ) tempbool3;
cf694132 4204{
474c48f9 4205 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4206 wxWindow_SetScrollPos(_arg0,_arg1,_arg2,_arg3);
cf694132 4207
474c48f9 4208 wxPyEndAllowThreads(__tstate);
4dfaa61e 4209 if (PyErr_Occurred()) return NULL;
cf694132 4210} Py_INCREF(Py_None);
8ab979d7
RD
4211 _resultobj = Py_None;
4212 return _resultobj;
4213}
4214
4215#define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
efc5f224 4216static PyObject *_wrap_wxWindow_SetDimensions(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4217 PyObject * _resultobj;
4218 wxWindow * _arg0;
4219 int _arg1;
4220 int _arg2;
4221 int _arg3;
4222 int _arg4;
1d99702e
RD
4223 int _arg5 = (int ) wxSIZE_AUTO;
4224 PyObject * _argo0 = 0;
efc5f224 4225 char *_kwnames[] = { "self","x","y","width","height","sizeFlags", NULL };
8ab979d7
RD
4226
4227 self = self;
efc5f224 4228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxWindow_SetDimensions",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5))
8ab979d7 4229 return NULL;
1d99702e
RD
4230 if (_argo0) {
4231 if (_argo0 == Py_None) { _arg0 = NULL; }
4232 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4233 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
4234 return NULL;
4235 }
4236 }
cf694132 4237{
474c48f9 4238 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4239 wxWindow_SetDimensions(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
cf694132 4240
474c48f9 4241 wxPyEndAllowThreads(__tstate);
4dfaa61e 4242 if (PyErr_Occurred()) return NULL;
cf694132 4243} Py_INCREF(Py_None);
8ab979d7
RD
4244 _resultobj = Py_None;
4245 return _resultobj;
4246}
4247
4248static void wxWindow_SetSize(wxWindow *self,const wxSize & size) {
a1df7a95 4249 self->SetSize(size);
8ab979d7 4250 }
efc5f224 4251static PyObject *_wrap_wxWindow_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4252 PyObject * _resultobj;
4253 wxWindow * _arg0;
4254 wxSize * _arg1;
1d99702e 4255 PyObject * _argo0 = 0;
2f90df85
RD
4256 wxSize temp;
4257 PyObject * _obj1 = 0;
efc5f224 4258 char *_kwnames[] = { "self","size", NULL };
8ab979d7
RD
4259
4260 self = self;
2f90df85 4261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetSize",_kwnames,&_argo0,&_obj1))
8ab979d7 4262 return NULL;
1d99702e
RD
4263 if (_argo0) {
4264 if (_argo0 == Py_None) { _arg0 = NULL; }
4265 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4266 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
4267 return NULL;
4268 }
4269 }
2f90df85
RD
4270{
4271 _arg1 = &temp;
4272 if (! wxSize_helper(_obj1, &_arg1))
8ab979d7 4273 return NULL;
2f90df85 4274}
cf694132 4275{
474c48f9 4276 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4277 wxWindow_SetSize(_arg0,*_arg1);
cf694132 4278
474c48f9 4279 wxPyEndAllowThreads(__tstate);
4dfaa61e 4280 if (PyErr_Occurred()) return NULL;
cf694132 4281} Py_INCREF(Py_None);
8ab979d7
RD
4282 _resultobj = Py_None;
4283 return _resultobj;
4284}
4285
8cb49012
RD
4286static void wxWindow_SetPosition(wxWindow *self,const wxPoint & pos,int flags) {
4287 self->Move(pos, flags);
8ab979d7 4288 }
efc5f224 4289static PyObject *_wrap_wxWindow_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4290 PyObject * _resultobj;
4291 wxWindow * _arg0;
4292 wxPoint * _arg1;
8cb49012 4293 int _arg2 = (int ) wxSIZE_USE_EXISTING;
1d99702e 4294 PyObject * _argo0 = 0;
2f90df85
RD
4295 wxPoint temp;
4296 PyObject * _obj1 = 0;
8cb49012 4297 char *_kwnames[] = { "self","pos","flags", NULL };
8ab979d7
RD
4298
4299 self = self;
8cb49012 4300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxWindow_SetPosition",_kwnames,&_argo0,&_obj1,&_arg2))
8ab979d7 4301 return NULL;
1d99702e
RD
4302 if (_argo0) {
4303 if (_argo0 == Py_None) { _arg0 = NULL; }
4304 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4305 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
4306 return NULL;
4307 }
4308 }
2f90df85
RD
4309{
4310 _arg1 = &temp;
4311 if (! wxPoint_helper(_obj1, &_arg1))
8ab979d7 4312 return NULL;
2f90df85 4313}
cf694132 4314{
474c48f9 4315 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4316 wxWindow_SetPosition(_arg0,*_arg1,_arg2);
cf694132 4317
474c48f9 4318 wxPyEndAllowThreads(__tstate);
4dfaa61e 4319 if (PyErr_Occurred()) return NULL;
cf694132 4320} Py_INCREF(Py_None);
8ab979d7
RD
4321 _resultobj = Py_None;
4322 return _resultobj;
4323}
4324
2cd2fac8
RD
4325static void wxWindow_SetRect(wxWindow *self,const wxRect & rect,int sizeFlags) {
4326 self->SetSize(rect, sizeFlags);
4327 }
4328static PyObject *_wrap_wxWindow_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
4329 PyObject * _resultobj;
4330 wxWindow * _arg0;
4331 wxRect * _arg1;
4332 int _arg2 = (int ) wxSIZE_AUTO;
4333 PyObject * _argo0 = 0;
4334 wxRect temp;
4335 PyObject * _obj1 = 0;
4336 char *_kwnames[] = { "self","rect","sizeFlags", NULL };
4337
4338 self = self;
4339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxWindow_SetRect",_kwnames,&_argo0,&_obj1,&_arg2))
4340 return NULL;
4341 if (_argo0) {
4342 if (_argo0 == Py_None) { _arg0 = NULL; }
4343 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4344 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetRect. Expected _wxWindow_p.");
4345 return NULL;
4346 }
4347 }
4348{
4349 _arg1 = &temp;
4350 if (! wxRect_helper(_obj1, &_arg1))
4351 return NULL;
4352}
4353{
474c48f9 4354 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4355 wxWindow_SetRect(_arg0,*_arg1,_arg2);
2cd2fac8 4356
474c48f9 4357 wxPyEndAllowThreads(__tstate);
4dfaa61e 4358 if (PyErr_Occurred()) return NULL;
2cd2fac8
RD
4359} Py_INCREF(Py_None);
4360 _resultobj = Py_None;
4361 return _resultobj;
4362}
4363
8ab979d7 4364#define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
efc5f224 4365static PyObject *_wrap_wxWindow_SetSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4366 PyObject * _resultobj;
4367 wxWindow * _arg0;
1d99702e
RD
4368 int _arg1 = (int ) -1;
4369 int _arg2 = (int ) -1;
4370 int _arg3 = (int ) -1;
4371 int _arg4 = (int ) -1;
4372 int _arg5 = (int ) -1;
4373 int _arg6 = (int ) -1;
4374 PyObject * _argo0 = 0;
efc5f224 4375 char *_kwnames[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL };
8ab979d7
RD
4376
4377 self = self;
efc5f224 4378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iiiiii:wxWindow_SetSizeHints",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6))
8ab979d7 4379 return NULL;
1d99702e
RD
4380 if (_argo0) {
4381 if (_argo0 == Py_None) { _arg0 = NULL; }
4382 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4383 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
4384 return NULL;
4385 }
4386 }
cf694132 4387{
474c48f9 4388 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4389 wxWindow_SetSizeHints(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
cf694132 4390
474c48f9 4391 wxPyEndAllowThreads(__tstate);
4dfaa61e 4392 if (PyErr_Occurred()) return NULL;
cf694132 4393} Py_INCREF(Py_None);
8ab979d7
RD
4394 _resultobj = Py_None;
4395 return _resultobj;
4396}
4397
af309447 4398#define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
efc5f224 4399static PyObject *_wrap_wxWindow_SetClientSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4400 PyObject * _resultobj;
4401 wxWindow * _arg0;
4402 int _arg1;
4403 int _arg2;
1d99702e 4404 PyObject * _argo0 = 0;
efc5f224 4405 char *_kwnames[] = { "self","width","height", NULL };
8ab979d7
RD
4406
4407 self = self;
efc5f224 4408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxWindow_SetClientSizeWH",_kwnames,&_argo0,&_arg1,&_arg2))
af309447 4409 return NULL;
1d99702e
RD
4410 if (_argo0) {
4411 if (_argo0 == Py_None) { _arg0 = NULL; }
4412 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
af309447
RD
4413 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
4414 return NULL;
4415 }
4416 }
cf694132 4417{
474c48f9 4418 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4419 wxWindow_SetClientSizeWH(_arg0,_arg1,_arg2);
cf694132 4420
474c48f9 4421 wxPyEndAllowThreads(__tstate);
4dfaa61e 4422 if (PyErr_Occurred()) return NULL;
cf694132 4423} Py_INCREF(Py_None);
af309447
RD
4424 _resultobj = Py_None;
4425 return _resultobj;
4426}
4427
4428#define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
efc5f224 4429static PyObject *_wrap_wxWindow_SetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
4430 PyObject * _resultobj;
4431 wxWindow * _arg0;
4432 wxSize * _arg1;
1d99702e 4433 PyObject * _argo0 = 0;
2f90df85
RD
4434 wxSize temp;
4435 PyObject * _obj1 = 0;
efc5f224 4436 char *_kwnames[] = { "self","size", NULL };
af309447
RD
4437
4438 self = self;
2f90df85 4439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetClientSize",_kwnames,&_argo0,&_obj1))
8ab979d7 4440 return NULL;
1d99702e
RD
4441 if (_argo0) {
4442 if (_argo0 == Py_None) { _arg0 = NULL; }
4443 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4444 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
4445 return NULL;
4446 }
4447 }
2f90df85
RD
4448{
4449 _arg1 = &temp;
4450 if (! wxSize_helper(_obj1, &_arg1))
af309447 4451 return NULL;
2f90df85 4452}
cf694132 4453{
474c48f9 4454 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4455 wxWindow_SetClientSize(_arg0,*_arg1);
cf694132 4456
474c48f9 4457 wxPyEndAllowThreads(__tstate);
4dfaa61e 4458 if (PyErr_Occurred()) return NULL;
cf694132 4459} Py_INCREF(Py_None);
8ab979d7
RD
4460 _resultobj = Py_None;
4461 return _resultobj;
4462}
4463
4464#define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
efc5f224 4465static PyObject *_wrap_wxWindow_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4466 PyObject * _resultobj;
4467 wxWindow * _arg0;
4468 wxCursor * _arg1;
1d99702e
RD
4469 PyObject * _argo0 = 0;
4470 PyObject * _argo1 = 0;
efc5f224 4471 char *_kwnames[] = { "self","cursor", NULL };
8ab979d7
RD
4472
4473 self = self;
efc5f224 4474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetCursor",_kwnames,&_argo0,&_argo1))
8ab979d7 4475 return NULL;
1d99702e
RD
4476 if (_argo0) {
4477 if (_argo0 == Py_None) { _arg0 = NULL; }
4478 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4479 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
4480 return NULL;
4481 }
4482 }
1d99702e
RD
4483 if (_argo1) {
4484 if (_argo1 == Py_None) { _arg1 = NULL; }
4485 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCursor_p")) {
8ab979d7
RD
4486 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
4487 return NULL;
4488 }
4489 }
cf694132 4490{
474c48f9 4491 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4492 wxWindow_SetCursor(_arg0,*_arg1);
cf694132 4493
474c48f9 4494 wxPyEndAllowThreads(__tstate);
4dfaa61e 4495 if (PyErr_Occurred()) return NULL;
cf694132 4496} Py_INCREF(Py_None);
8ab979d7
RD
4497 _resultobj = Py_None;
4498 return _resultobj;
4499}
4500
1afc06c2
RD
4501#define wxWindow_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
4502static PyObject *_wrap_wxWindow_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
4503 PyObject * _resultobj;
4504 wxWindow * _arg0;
4505 wxEvtHandler * _arg1;
4506 PyObject * _argo0 = 0;
4507 PyObject * _argo1 = 0;
4508 char *_kwnames[] = { "self","handler", NULL };
4509
4510 self = self;
4511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetEventHandler",_kwnames,&_argo0,&_argo1))
4512 return NULL;
4513 if (_argo0) {
4514 if (_argo0 == Py_None) { _arg0 = NULL; }
4515 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4516 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetEventHandler. Expected _wxWindow_p.");
4517 return NULL;
4518 }
4519 }
4520 if (_argo1) {
4521 if (_argo1 == Py_None) { _arg1 = NULL; }
4522 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
4523 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetEventHandler. Expected _wxEvtHandler_p.");
4524 return NULL;
4525 }
4526 }
4527{
474c48f9 4528 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4529 wxWindow_SetEventHandler(_arg0,_arg1);
1afc06c2 4530
474c48f9 4531 wxPyEndAllowThreads(__tstate);
4dfaa61e 4532 if (PyErr_Occurred()) return NULL;
1afc06c2
RD
4533} Py_INCREF(Py_None);
4534 _resultobj = Py_None;
4535 return _resultobj;
4536}
4537
5e40f9dd
RD
4538#define wxWindow_SetExtraStyle(_swigobj,_swigarg0) (_swigobj->SetExtraStyle(_swigarg0))
4539static PyObject *_wrap_wxWindow_SetExtraStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4540 PyObject * _resultobj;
4541 wxWindow * _arg0;
4542 long _arg1;
4543 PyObject * _argo0 = 0;
4544 char *_kwnames[] = { "self","exStyle", NULL };
4545
4546 self = self;
4547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxWindow_SetExtraStyle",_kwnames,&_argo0,&_arg1))
4548 return NULL;
4549 if (_argo0) {
4550 if (_argo0 == Py_None) { _arg0 = NULL; }
4551 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4552 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetExtraStyle. Expected _wxWindow_p.");
4553 return NULL;
4554 }
4555 }
4556{
474c48f9 4557 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4558 wxWindow_SetExtraStyle(_arg0,_arg1);
5e40f9dd 4559
474c48f9 4560 wxPyEndAllowThreads(__tstate);
4dfaa61e 4561 if (PyErr_Occurred()) return NULL;
5e40f9dd
RD
4562} Py_INCREF(Py_None);
4563 _resultobj = Py_None;
4564 return _resultobj;
4565}
4566
8ab979d7 4567#define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
efc5f224 4568static PyObject *_wrap_wxWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4569 PyObject * _resultobj;
4570 wxWindow * _arg0;
4571 wxString * _arg1;
1d99702e 4572 PyObject * _argo0 = 0;
8ab979d7 4573 PyObject * _obj1 = 0;
efc5f224 4574 char *_kwnames[] = { "self","title", NULL };
8ab979d7
RD
4575
4576 self = self;
efc5f224 4577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetTitle",_kwnames,&_argo0,&_obj1))
8ab979d7 4578 return NULL;
1d99702e
RD
4579 if (_argo0) {
4580 if (_argo0 == Py_None) { _arg0 = NULL; }
4581 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4582 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
4583 return NULL;
4584 }
4585 }
4586{
c8bc7bb8
RD
4587 _arg1 = wxString_in_helper(_obj1);
4588 if (_arg1 == NULL)
2cd2fac8 4589 return NULL;
8ab979d7 4590}
cf694132 4591{
474c48f9 4592 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4593 wxWindow_SetTitle(_arg0,*_arg1);
cf694132 4594
474c48f9 4595 wxPyEndAllowThreads(__tstate);
4dfaa61e 4596 if (PyErr_Occurred()) return NULL;
cf694132 4597} Py_INCREF(Py_None);
8ab979d7
RD
4598 _resultobj = Py_None;
4599{
4600 if (_obj1)
4601 delete _arg1;
4602}
4603 return _resultobj;
4604}
4605
4606#define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
efc5f224 4607static PyObject *_wrap_wxWindow_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4608 PyObject * _resultobj;
4609 bool _result;
4610 wxWindow * _arg0;
3e212503 4611 bool _arg1 = (bool ) TRUE;
1d99702e 4612 PyObject * _argo0 = 0;
3e212503 4613 int tempbool1 = (int) TRUE;
efc5f224 4614 char *_kwnames[] = { "self","show", NULL };
8ab979d7
RD
4615
4616 self = self;
3e212503 4617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_Show",_kwnames,&_argo0,&tempbool1))
8ab979d7 4618 return NULL;
1d99702e
RD
4619 if (_argo0) {
4620 if (_argo0 == Py_None) { _arg0 = NULL; }
4621 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4622 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
4623 return NULL;
4624 }
4625 }
4626 _arg1 = (bool ) tempbool1;
cf694132 4627{
474c48f9 4628 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4629 _result = (bool )wxWindow_Show(_arg0,_arg1);
cf694132 4630
474c48f9 4631 wxPyEndAllowThreads(__tstate);
4dfaa61e 4632 if (PyErr_Occurred()) return NULL;
cf694132 4633} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4634 return _resultobj;
4635}
4636
4637#define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
efc5f224 4638static PyObject *_wrap_wxWindow_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4639 PyObject * _resultobj;
4640 bool _result;
4641 wxWindow * _arg0;
1d99702e 4642 PyObject * _argo0 = 0;
efc5f224 4643 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4644
4645 self = self;
efc5f224 4646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_TransferDataFromWindow",_kwnames,&_argo0))
8ab979d7 4647 return NULL;
1d99702e
RD
4648 if (_argo0) {
4649 if (_argo0 == Py_None) { _arg0 = NULL; }
4650 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4651 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
4652 return NULL;
4653 }
4654 }
cf694132 4655{
474c48f9 4656 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4657 _result = (bool )wxWindow_TransferDataFromWindow(_arg0);
cf694132 4658
474c48f9 4659 wxPyEndAllowThreads(__tstate);
4dfaa61e 4660 if (PyErr_Occurred()) return NULL;
cf694132 4661} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4662 return _resultobj;
4663}
4664
4665#define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
efc5f224 4666static PyObject *_wrap_wxWindow_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4667 PyObject * _resultobj;
4668 bool _result;
4669 wxWindow * _arg0;
1d99702e 4670 PyObject * _argo0 = 0;
efc5f224 4671 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4672
4673 self = self;
efc5f224 4674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_TransferDataToWindow",_kwnames,&_argo0))
8ab979d7 4675 return NULL;
1d99702e
RD
4676 if (_argo0) {
4677 if (_argo0 == Py_None) { _arg0 = NULL; }
4678 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4679 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
4680 return NULL;
4681 }
4682 }
cf694132 4683{
474c48f9 4684 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4685 _result = (bool )wxWindow_TransferDataToWindow(_arg0);
cf694132 4686
474c48f9 4687 wxPyEndAllowThreads(__tstate);
4dfaa61e 4688 if (PyErr_Occurred()) return NULL;
cf694132 4689} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4690 return _resultobj;
4691}
4692
8cb49012
RD
4693#define wxWindow_UpdateWindowUI(_swigobj) (_swigobj->UpdateWindowUI())
4694static PyObject *_wrap_wxWindow_UpdateWindowUI(PyObject *self, PyObject *args, PyObject *kwargs) {
4695 PyObject * _resultobj;
4696 wxWindow * _arg0;
4697 PyObject * _argo0 = 0;
4698 char *_kwnames[] = { "self", NULL };
4699
4700 self = self;
4701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_UpdateWindowUI",_kwnames,&_argo0))
4702 return NULL;
4703 if (_argo0) {
4704 if (_argo0 == Py_None) { _arg0 = NULL; }
4705 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4706 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_UpdateWindowUI. Expected _wxWindow_p.");
4707 return NULL;
4708 }
4709 }
4710{
4711 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4712 wxWindow_UpdateWindowUI(_arg0);
8cb49012
RD
4713
4714 wxPyEndAllowThreads(__tstate);
4715 if (PyErr_Occurred()) return NULL;
4716} Py_INCREF(Py_None);
4717 _resultobj = Py_None;
4718 return _resultobj;
4719}
4720
8ab979d7 4721#define wxWindow_Validate(_swigobj) (_swigobj->Validate())
efc5f224 4722static PyObject *_wrap_wxWindow_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4723 PyObject * _resultobj;
4724 bool _result;
4725 wxWindow * _arg0;
1d99702e 4726 PyObject * _argo0 = 0;
efc5f224 4727 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4728
4729 self = self;
efc5f224 4730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Validate",_kwnames,&_argo0))
8ab979d7 4731 return NULL;
1d99702e
RD
4732 if (_argo0) {
4733 if (_argo0 == Py_None) { _arg0 = NULL; }
4734 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4735 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
4736 return NULL;
4737 }
4738 }
cf694132 4739{
474c48f9 4740 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4741 _result = (bool )wxWindow_Validate(_arg0);
cf694132 4742
474c48f9 4743 wxPyEndAllowThreads(__tstate);
4dfaa61e 4744 if (PyErr_Occurred()) return NULL;
cf694132 4745} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4746 return _resultobj;
4747}
4748
b8b8dda7 4749#define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
efc5f224 4750static PyObject *_wrap_wxWindow_ConvertDialogPointToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
4751 PyObject * _resultobj;
4752 wxPoint * _result;
4753 wxWindow * _arg0;
4754 wxPoint * _arg1;
1d99702e 4755 PyObject * _argo0 = 0;
2f90df85
RD
4756 wxPoint temp;
4757 PyObject * _obj1 = 0;
efc5f224 4758 char *_kwnames[] = { "self","pt", NULL };
b8b8dda7
RD
4759 char _ptemp[128];
4760
4761 self = self;
2f90df85 4762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames,&_argo0,&_obj1))
b8b8dda7 4763 return NULL;
1d99702e
RD
4764 if (_argo0) {
4765 if (_argo0 == Py_None) { _arg0 = NULL; }
4766 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b8b8dda7
RD
4767 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
4768 return NULL;
4769 }
4770 }
2f90df85
RD
4771{
4772 _arg1 = &temp;
4773 if (! wxPoint_helper(_obj1, &_arg1))
b8b8dda7 4774 return NULL;
2f90df85 4775}
cf694132 4776{
474c48f9 4777 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4778 _result = new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0,*_arg1));
cf694132 4779
474c48f9 4780 wxPyEndAllowThreads(__tstate);
4dfaa61e 4781 if (PyErr_Occurred()) return NULL;
cf694132 4782} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
b8b8dda7
RD
4783 _resultobj = Py_BuildValue("s",_ptemp);
4784 return _resultobj;
4785}
4786
4787#define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
efc5f224 4788static PyObject *_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
4789 PyObject * _resultobj;
4790 wxSize * _result;
4791 wxWindow * _arg0;
4792 wxSize * _arg1;
1d99702e 4793 PyObject * _argo0 = 0;
2f90df85
RD
4794 wxSize temp;
4795 PyObject * _obj1 = 0;
efc5f224 4796 char *_kwnames[] = { "self","sz", NULL };
b8b8dda7
RD
4797 char _ptemp[128];
4798
4799 self = self;
2f90df85 4800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames,&_argo0,&_obj1))
b8b8dda7 4801 return NULL;
1d99702e
RD
4802 if (_argo0) {
4803 if (_argo0 == Py_None) { _arg0 = NULL; }
4804 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b8b8dda7
RD
4805 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
4806 return NULL;
4807 }
4808 }
2f90df85
RD
4809{
4810 _arg1 = &temp;
4811 if (! wxSize_helper(_obj1, &_arg1))
b8b8dda7 4812 return NULL;
2f90df85 4813}
cf694132 4814{
474c48f9 4815 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4816 _result = new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0,*_arg1));
cf694132 4817
474c48f9 4818 wxPyEndAllowThreads(__tstate);
4dfaa61e 4819 if (PyErr_Occurred()) return NULL;
cf694132 4820} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
b8b8dda7
RD
4821 _resultobj = Py_BuildValue("s",_ptemp);
4822 return _resultobj;
4823}
4824
4825#define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
efc5f224 4826static PyObject *_wrap_wxWindow_ConvertPixelPointToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
4827 PyObject * _resultobj;
4828 wxPoint * _result;
4829 wxWindow * _arg0;
4830 wxPoint * _arg1;
1d99702e 4831 PyObject * _argo0 = 0;
2f90df85
RD
4832 wxPoint temp;
4833 PyObject * _obj1 = 0;
efc5f224 4834 char *_kwnames[] = { "self","pt", NULL };
b8b8dda7
RD
4835 char _ptemp[128];
4836
4837 self = self;
2f90df85 4838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames,&_argo0,&_obj1))
b8b8dda7 4839 return NULL;
1d99702e
RD
4840 if (_argo0) {
4841 if (_argo0 == Py_None) { _arg0 = NULL; }
4842 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b8b8dda7
RD
4843 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
4844 return NULL;
4845 }
4846 }
2f90df85
RD
4847{
4848 _arg1 = &temp;
4849 if (! wxPoint_helper(_obj1, &_arg1))
b8b8dda7 4850 return NULL;
2f90df85 4851}
cf694132 4852{
474c48f9 4853 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4854 _result = new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0,*_arg1));
cf694132 4855
474c48f9 4856 wxPyEndAllowThreads(__tstate);
4dfaa61e 4857 if (PyErr_Occurred()) return NULL;
cf694132 4858} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
b8b8dda7
RD
4859 _resultobj = Py_BuildValue("s",_ptemp);
4860 return _resultobj;
4861}
4862
4863#define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
efc5f224 4864static PyObject *_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
4865 PyObject * _resultobj;
4866 wxSize * _result;
4867 wxWindow * _arg0;
4868 wxSize * _arg1;
1d99702e 4869 PyObject * _argo0 = 0;
2f90df85
RD
4870 wxSize temp;
4871 PyObject * _obj1 = 0;
efc5f224 4872 char *_kwnames[] = { "self","sz", NULL };
b8b8dda7
RD
4873 char _ptemp[128];
4874
4875 self = self;
2f90df85 4876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames,&_argo0,&_obj1))
b8b8dda7 4877 return NULL;
1d99702e
RD
4878 if (_argo0) {
4879 if (_argo0 == Py_None) { _arg0 = NULL; }
4880 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b8b8dda7
RD
4881 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
4882 return NULL;
4883 }
4884 }
2f90df85
RD
4885{
4886 _arg1 = &temp;
4887 if (! wxSize_helper(_obj1, &_arg1))
b8b8dda7 4888 return NULL;
2f90df85 4889}
cf694132 4890{
474c48f9 4891 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4892 _result = new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0,*_arg1));
cf694132 4893
474c48f9 4894 wxPyEndAllowThreads(__tstate);
4dfaa61e 4895 if (PyErr_Occurred()) return NULL;
cf694132 4896} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
b8b8dda7
RD
4897 _resultobj = Py_BuildValue("s",_ptemp);
4898 return _resultobj;
4899}
4900
af309447 4901#define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
efc5f224 4902static PyObject *_wrap_wxWindow_SetToolTipString(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
4903 PyObject * _resultobj;
4904 wxWindow * _arg0;
4905 wxString * _arg1;
1d99702e 4906 PyObject * _argo0 = 0;
af309447 4907 PyObject * _obj1 = 0;
efc5f224 4908 char *_kwnames[] = { "self","tip", NULL };
af309447
RD
4909
4910 self = self;
efc5f224 4911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetToolTipString",_kwnames,&_argo0,&_obj1))
af309447 4912 return NULL;
1d99702e
RD
4913 if (_argo0) {
4914 if (_argo0 == Py_None) { _arg0 = NULL; }
4915 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
af309447
RD
4916 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
4917 return NULL;
4918 }
4919 }
4920{
c8bc7bb8
RD
4921 _arg1 = wxString_in_helper(_obj1);
4922 if (_arg1 == NULL)
2cd2fac8 4923 return NULL;
af309447 4924}
cf694132 4925{
474c48f9 4926 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4927 wxWindow_SetToolTipString(_arg0,*_arg1);
cf694132 4928
474c48f9 4929 wxPyEndAllowThreads(__tstate);
4dfaa61e 4930 if (PyErr_Occurred()) return NULL;
cf694132 4931} Py_INCREF(Py_None);
af309447
RD
4932 _resultobj = Py_None;
4933{
4934 if (_obj1)
4935 delete _arg1;
4936}
4937 return _resultobj;
4938}
4939
4940#define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
efc5f224 4941static PyObject *_wrap_wxWindow_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
4942 PyObject * _resultobj;
4943 wxWindow * _arg0;
4944 wxToolTip * _arg1;
1d99702e
RD
4945 PyObject * _argo0 = 0;
4946 PyObject * _argo1 = 0;
efc5f224 4947 char *_kwnames[] = { "self","tooltip", NULL };
af309447
RD
4948
4949 self = self;
efc5f224 4950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetToolTip",_kwnames,&_argo0,&_argo1))
af309447 4951 return NULL;
1d99702e
RD
4952 if (_argo0) {
4953 if (_argo0 == Py_None) { _arg0 = NULL; }
4954 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
af309447
RD
4955 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
4956 return NULL;
4957 }
4958 }
1d99702e
RD
4959 if (_argo1) {
4960 if (_argo1 == Py_None) { _arg1 = NULL; }
4961 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxToolTip_p")) {
af309447
RD
4962 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
4963 return NULL;
4964 }
4965 }
cf694132 4966{
474c48f9 4967 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4968 wxWindow_SetToolTip(_arg0,_arg1);
cf694132 4969
474c48f9 4970 wxPyEndAllowThreads(__tstate);
4dfaa61e 4971 if (PyErr_Occurred()) return NULL;
cf694132 4972} Py_INCREF(Py_None);
af309447
RD
4973 _resultobj = Py_None;
4974 return _resultobj;
4975}
4976
4977#define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
efc5f224 4978static PyObject *_wrap_wxWindow_GetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
4979 PyObject * _resultobj;
4980 wxToolTip * _result;
4981 wxWindow * _arg0;
1d99702e 4982 PyObject * _argo0 = 0;
efc5f224 4983 char *_kwnames[] = { "self", NULL };
af309447
RD
4984
4985 self = self;
efc5f224 4986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetToolTip",_kwnames,&_argo0))
af309447 4987 return NULL;
1d99702e
RD
4988 if (_argo0) {
4989 if (_argo0 == Py_None) { _arg0 = NULL; }
4990 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
af309447
RD
4991 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
4992 return NULL;
4993 }
4994 }
cf694132 4995{
474c48f9 4996 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4997 _result = (wxToolTip *)wxWindow_GetToolTip(_arg0);
cf694132 4998
474c48f9 4999 wxPyEndAllowThreads(__tstate);
4dfaa61e 5000 if (PyErr_Occurred()) return NULL;
9df61a29 5001}{ _resultobj = wxPyMake_wxObject(_result); }
af309447
RD
5002 return _resultobj;
5003}
5004
49df1f52 5005#define wxWindow_SetSizer(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSizer(_swigarg0,_swigarg1))
2f90df85
RD
5006static PyObject *_wrap_wxWindow_SetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
5007 PyObject * _resultobj;
5008 wxWindow * _arg0;
5009 wxSizer * _arg1;
49df1f52 5010 bool _arg2 = (bool ) TRUE;
2f90df85
RD
5011 PyObject * _argo0 = 0;
5012 PyObject * _argo1 = 0;
49df1f52
RD
5013 int tempbool2 = (int) TRUE;
5014 char *_kwnames[] = { "self","sizer","deleteOld", NULL };
2f90df85
RD
5015
5016 self = self;
49df1f52 5017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxWindow_SetSizer",_kwnames,&_argo0,&_argo1,&tempbool2))
2f90df85
RD
5018 return NULL;
5019 if (_argo0) {
5020 if (_argo0 == Py_None) { _arg0 = NULL; }
5021 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5022 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetSizer. Expected _wxWindow_p.");
5023 return NULL;
5024 }
5025 }
5026 if (_argo1) {
5027 if (_argo1 == Py_None) { _arg1 = NULL; }
5028 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSizer_p")) {
5029 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetSizer. Expected _wxSizer_p.");
5030 return NULL;
5031 }
5032 }
49df1f52 5033 _arg2 = (bool ) tempbool2;
2f90df85 5034{
474c48f9 5035 PyThreadState* __tstate = wxPyBeginAllowThreads();
49df1f52 5036 wxWindow_SetSizer(_arg0,_arg1,_arg2);
2f90df85 5037
474c48f9 5038 wxPyEndAllowThreads(__tstate);
4dfaa61e 5039 if (PyErr_Occurred()) return NULL;
2f90df85
RD
5040} Py_INCREF(Py_None);
5041 _resultobj = Py_None;
5042 return _resultobj;
5043}
5044
f6bcfd97
BP
5045#define wxWindow_GetSizer(_swigobj) (_swigobj->GetSizer())
5046static PyObject *_wrap_wxWindow_GetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
5047 PyObject * _resultobj;
5048 wxSizer * _result;
5049 wxWindow * _arg0;
5050 PyObject * _argo0 = 0;
5051 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
5052
5053 self = self;
5054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetSizer",_kwnames,&_argo0))
5055 return NULL;
5056 if (_argo0) {
5057 if (_argo0 == Py_None) { _arg0 = NULL; }
5058 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5059 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetSizer. Expected _wxWindow_p.");
5060 return NULL;
5061 }
5062 }
5063{
474c48f9 5064 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5065 _result = (wxSizer *)wxWindow_GetSizer(_arg0);
f6bcfd97 5066
474c48f9 5067 wxPyEndAllowThreads(__tstate);
4dfaa61e 5068 if (PyErr_Occurred()) return NULL;
7a9b33db 5069}{ _resultobj = wxPyMake_wxSizer(_result); }
f6bcfd97
BP
5070 return _resultobj;
5071}
5072
94082a71
RD
5073#define wxWindow_SetContainingSizer(_swigobj,_swigarg0) (_swigobj->SetContainingSizer(_swigarg0))
5074static PyObject *_wrap_wxWindow_SetContainingSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
5075 PyObject * _resultobj;
5076 wxWindow * _arg0;
5077 wxSizer * _arg1;
5078 PyObject * _argo0 = 0;
5079 PyObject * _argo1 = 0;
5080 char *_kwnames[] = { "self","sizer", NULL };
5081
5082 self = self;
5083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetContainingSizer",_kwnames,&_argo0,&_argo1))
5084 return NULL;
5085 if (_argo0) {
5086 if (_argo0 == Py_None) { _arg0 = NULL; }
5087 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5088 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetContainingSizer. Expected _wxWindow_p.");
5089 return NULL;
5090 }
5091 }
5092 if (_argo1) {
5093 if (_argo1 == Py_None) { _arg1 = NULL; }
5094 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSizer_p")) {
5095 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetContainingSizer. Expected _wxSizer_p.");
5096 return NULL;
5097 }
5098 }
5099{
5100 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5101 wxWindow_SetContainingSizer(_arg0,_arg1);
94082a71
RD
5102
5103 wxPyEndAllowThreads(__tstate);
5104 if (PyErr_Occurred()) return NULL;
5105} Py_INCREF(Py_None);
5106 _resultobj = Py_None;
5107 return _resultobj;
5108}
5109
5110#define wxWindow_GetContainingSizer(_swigobj) (_swigobj->GetContainingSizer())
5111static PyObject *_wrap_wxWindow_GetContainingSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
5112 PyObject * _resultobj;
5113 wxSizer * _result;
5114 wxWindow * _arg0;
5115 PyObject * _argo0 = 0;
5116 char *_kwnames[] = { "self", NULL };
5117
5118 self = self;
5119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetContainingSizer",_kwnames,&_argo0))
5120 return NULL;
5121 if (_argo0) {
5122 if (_argo0 == Py_None) { _arg0 = NULL; }
5123 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5124 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetContainingSizer. Expected _wxWindow_p.");
5125 return NULL;
5126 }
5127 }
5128{
5129 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5130 _result = (wxSizer *)wxWindow_GetContainingSizer(_arg0);
94082a71
RD
5131
5132 wxPyEndAllowThreads(__tstate);
5133 if (PyErr_Occurred()) return NULL;
5134}{ _resultobj = wxPyMake_wxSizer(_result); }
5135 return _resultobj;
5136}
5137
2f90df85
RD
5138#define wxWindow_GetValidator(_swigobj) (_swigobj->GetValidator())
5139static PyObject *_wrap_wxWindow_GetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
5140 PyObject * _resultobj;
5141 wxValidator * _result;
5142 wxWindow * _arg0;
5143 PyObject * _argo0 = 0;
5144 char *_kwnames[] = { "self", NULL };
2f90df85
RD
5145
5146 self = self;
5147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetValidator",_kwnames,&_argo0))
5148 return NULL;
5149 if (_argo0) {
5150 if (_argo0 == Py_None) { _arg0 = NULL; }
5151 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5152 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetValidator. Expected _wxWindow_p.");
5153 return NULL;
5154 }
5155 }
5156{
474c48f9 5157 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5158 _result = (wxValidator *)wxWindow_GetValidator(_arg0);
2f90df85 5159
474c48f9 5160 wxPyEndAllowThreads(__tstate);
4dfaa61e 5161 if (PyErr_Occurred()) return NULL;
9df61a29 5162}{ _resultobj = wxPyMake_wxObject(_result); }
2f90df85
RD
5163 return _resultobj;
5164}
5165
5166#define wxWindow_SetValidator(_swigobj,_swigarg0) (_swigobj->SetValidator(_swigarg0))
5167static PyObject *_wrap_wxWindow_SetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
5168 PyObject * _resultobj;
5169 wxWindow * _arg0;
5170 wxValidator * _arg1;
5171 PyObject * _argo0 = 0;
5172 PyObject * _argo1 = 0;
5173 char *_kwnames[] = { "self","validator", NULL };
5174
5175 self = self;
5176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetValidator",_kwnames,&_argo0,&_argo1))
5177 return NULL;
5178 if (_argo0) {
5179 if (_argo0 == Py_None) { _arg0 = NULL; }
5180 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5181 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetValidator. Expected _wxWindow_p.");
5182 return NULL;
5183 }
5184 }
5185 if (_argo1) {
5186 if (_argo1 == Py_None) { _arg1 = NULL; }
5187 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxValidator_p")) {
5188 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetValidator. Expected _wxValidator_p.");
5189 return NULL;
5190 }
5191 }
5192{
474c48f9 5193 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5194 wxWindow_SetValidator(_arg0,*_arg1);
2f90df85 5195
474c48f9 5196 wxPyEndAllowThreads(__tstate);
4dfaa61e 5197 if (PyErr_Occurred()) return NULL;
2f90df85
RD
5198} Py_INCREF(Py_None);
5199 _resultobj = Py_None;
5200 return _resultobj;
5201}
5202
b1462dfa
RD
5203#define wxWindow_SetDropTarget(_swigobj,_swigarg0) (_swigobj->SetDropTarget(_swigarg0))
5204static PyObject *_wrap_wxWindow_SetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
5205 PyObject * _resultobj;
5206 wxWindow * _arg0;
5207 wxDropTarget * _arg1;
5208 PyObject * _argo0 = 0;
5209 PyObject * _argo1 = 0;
5210 char *_kwnames[] = { "self","target", NULL };
5211
5212 self = self;
5213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetDropTarget",_kwnames,&_argo0,&_argo1))
5214 return NULL;
5215 if (_argo0) {
5216 if (_argo0 == Py_None) { _arg0 = NULL; }
5217 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5218 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetDropTarget. Expected _wxWindow_p.");
5219 return NULL;
5220 }
5221 }
5222 if (_argo1) {
5223 if (_argo1 == Py_None) { _arg1 = NULL; }
5224 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDropTarget_p")) {
5225 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetDropTarget. Expected _wxDropTarget_p.");
5226 return NULL;
5227 }
5228 }
5229{
474c48f9 5230 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5231 wxWindow_SetDropTarget(_arg0,_arg1);
b1462dfa 5232
474c48f9 5233 wxPyEndAllowThreads(__tstate);
4dfaa61e 5234 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
5235} Py_INCREF(Py_None);
5236 _resultobj = Py_None;
5237 return _resultobj;
5238}
5239
5240#define wxWindow_GetDropTarget(_swigobj) (_swigobj->GetDropTarget())
5241static PyObject *_wrap_wxWindow_GetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
5242 PyObject * _resultobj;
5243 wxDropTarget * _result;
5244 wxWindow * _arg0;
5245 PyObject * _argo0 = 0;
5246 char *_kwnames[] = { "self", NULL };
5247 char _ptemp[128];
5248
5249 self = self;
5250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetDropTarget",_kwnames,&_argo0))
5251 return NULL;
5252 if (_argo0) {
5253 if (_argo0 == Py_None) { _arg0 = NULL; }
5254 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5255 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetDropTarget. Expected _wxWindow_p.");
5256 return NULL;
5257 }
5258 }
5259{
474c48f9 5260 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5261 _result = (wxDropTarget *)wxWindow_GetDropTarget(_arg0);
b1462dfa 5262
474c48f9 5263 wxPyEndAllowThreads(__tstate);
4dfaa61e 5264 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
5265} if (_result) {
5266 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDropTarget_p");
5267 _resultobj = Py_BuildValue("s",_ptemp);
5268 } else {
5269 Py_INCREF(Py_None);
5270 _resultobj = Py_None;
5271 }
5272 return _resultobj;
5273}
5274
694759cf
RD
5275#define wxWindow_GetBestSize(_swigobj) (_swigobj->GetBestSize())
5276static PyObject *_wrap_wxWindow_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5277 PyObject * _resultobj;
5278 wxSize * _result;
5279 wxWindow * _arg0;
5280 PyObject * _argo0 = 0;
5281 char *_kwnames[] = { "self", NULL };
5282 char _ptemp[128];
5283
5284 self = self;
5285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetBestSize",_kwnames,&_argo0))
5286 return NULL;
5287 if (_argo0) {
5288 if (_argo0 == Py_None) { _arg0 = NULL; }
5289 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5290 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetBestSize. Expected _wxWindow_p.");
5291 return NULL;
5292 }
5293 }
5294{
474c48f9 5295 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5296 _result = new wxSize (wxWindow_GetBestSize(_arg0));
694759cf 5297
474c48f9 5298 wxPyEndAllowThreads(__tstate);
4dfaa61e 5299 if (PyErr_Occurred()) return NULL;
694759cf
RD
5300} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
5301 _resultobj = Py_BuildValue("s",_ptemp);
5302 return _resultobj;
5303}
5304
49df1f52
RD
5305#define wxWindow_GetMaxSize(_swigobj) (_swigobj->GetMaxSize())
5306static PyObject *_wrap_wxWindow_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5307 PyObject * _resultobj;
5308 wxSize * _result;
5309 wxWindow * _arg0;
5310 PyObject * _argo0 = 0;
5311 char *_kwnames[] = { "self", NULL };
5312 char _ptemp[128];
5313
5314 self = self;
5315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetMaxSize",_kwnames,&_argo0))
5316 return NULL;
5317 if (_argo0) {
5318 if (_argo0 == Py_None) { _arg0 = NULL; }
5319 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5320 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetMaxSize. Expected _wxWindow_p.");
5321 return NULL;
5322 }
5323 }
5324{
5325 PyThreadState* __tstate = wxPyBeginAllowThreads();
5326 _result = new wxSize (wxWindow_GetMaxSize(_arg0));
5327
5328 wxPyEndAllowThreads(__tstate);
5329 if (PyErr_Occurred()) return NULL;
5330} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
5331 _resultobj = Py_BuildValue("s",_ptemp);
5332 return _resultobj;
5333}
5334
a1df7a95
RD
5335#define wxWindow_SetCaret(_swigobj,_swigarg0) (_swigobj->SetCaret(_swigarg0))
5336static PyObject *_wrap_wxWindow_SetCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
5337 PyObject * _resultobj;
5338 wxWindow * _arg0;
5339 wxCaret * _arg1;
5340 PyObject * _argo0 = 0;
5341 PyObject * _argo1 = 0;
5342 char *_kwnames[] = { "self","caret", NULL };
5343
5344 self = self;
5345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetCaret",_kwnames,&_argo0,&_argo1))
5346 return NULL;
5347 if (_argo0) {
5348 if (_argo0 == Py_None) { _arg0 = NULL; }
5349 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5350 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetCaret. Expected _wxWindow_p.");
5351 return NULL;
5352 }
5353 }
5354 if (_argo1) {
5355 if (_argo1 == Py_None) { _arg1 = NULL; }
5356 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCaret_p")) {
5357 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetCaret. Expected _wxCaret_p.");
5358 return NULL;
5359 }
5360 }
5361{
474c48f9 5362 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5363 wxWindow_SetCaret(_arg0,_arg1);
a1df7a95 5364
474c48f9 5365 wxPyEndAllowThreads(__tstate);
4dfaa61e 5366 if (PyErr_Occurred()) return NULL;
a1df7a95
RD
5367} Py_INCREF(Py_None);
5368 _resultobj = Py_None;
5369 return _resultobj;
5370}
5371
5372#define wxWindow_GetCaret(_swigobj) (_swigobj->GetCaret())
5373static PyObject *_wrap_wxWindow_GetCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
5374 PyObject * _resultobj;
5375 wxCaret * _result;
5376 wxWindow * _arg0;
5377 PyObject * _argo0 = 0;
5378 char *_kwnames[] = { "self", NULL };
5379 char _ptemp[128];
5380
5381 self = self;
5382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetCaret",_kwnames,&_argo0))
5383 return NULL;
5384 if (_argo0) {
5385 if (_argo0 == Py_None) { _arg0 = NULL; }
5386 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5387 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetCaret. Expected _wxWindow_p.");
5388 return NULL;
5389 }
5390 }
5391{
474c48f9 5392 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5393 _result = (wxCaret *)wxWindow_GetCaret(_arg0);
a1df7a95 5394
474c48f9 5395 wxPyEndAllowThreads(__tstate);
4dfaa61e 5396 if (PyErr_Occurred()) return NULL;
a1df7a95
RD
5397} if (_result) {
5398 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCaret_p");
5399 _resultobj = Py_BuildValue("s",_ptemp);
5400 } else {
5401 Py_INCREF(Py_None);
5402 _resultobj = Py_None;
5403 }
5404 return _resultobj;
5405}
5406
10be44ac
RD
5407#define wxWindow_Freeze(_swigobj) (_swigobj->Freeze())
5408static PyObject *_wrap_wxWindow_Freeze(PyObject *self, PyObject *args, PyObject *kwargs) {
5409 PyObject * _resultobj;
5410 wxWindow * _arg0;
5411 PyObject * _argo0 = 0;
5412 char *_kwnames[] = { "self", NULL };
5413
5414 self = self;
5415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Freeze",_kwnames,&_argo0))
5416 return NULL;
5417 if (_argo0) {
5418 if (_argo0 == Py_None) { _arg0 = NULL; }
5419 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5420 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Freeze. Expected _wxWindow_p.");
5421 return NULL;
5422 }
5423 }
5424{
474c48f9 5425 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5426 wxWindow_Freeze(_arg0);
10be44ac 5427
474c48f9 5428 wxPyEndAllowThreads(__tstate);
10be44ac
RD
5429 if (PyErr_Occurred()) return NULL;
5430} Py_INCREF(Py_None);
5431 _resultobj = Py_None;
5432 return _resultobj;
5433}
5434
5435#define wxWindow_Thaw(_swigobj) (_swigobj->Thaw())
5436static PyObject *_wrap_wxWindow_Thaw(PyObject *self, PyObject *args, PyObject *kwargs) {
5437 PyObject * _resultobj;
5438 wxWindow * _arg0;
5439 PyObject * _argo0 = 0;
5440 char *_kwnames[] = { "self", NULL };
5441
5442 self = self;
5443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Thaw",_kwnames,&_argo0))
5444 return NULL;
5445 if (_argo0) {
5446 if (_argo0 == Py_None) { _arg0 = NULL; }
5447 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5448 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Thaw. Expected _wxWindow_p.");
5449 return NULL;
5450 }
5451 }
5452{
474c48f9 5453 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5454 wxWindow_Thaw(_arg0);
10be44ac 5455
474c48f9 5456 wxPyEndAllowThreads(__tstate);
10be44ac
RD
5457 if (PyErr_Occurred()) return NULL;
5458} Py_INCREF(Py_None);
5459 _resultobj = Py_None;
5460 return _resultobj;
5461}
5462
aa2a5b86
RD
5463#define wxWindow_Update(_swigobj) (_swigobj->Update())
5464static PyObject *_wrap_wxWindow_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
5465 PyObject * _resultobj;
5466 wxWindow * _arg0;
5467 PyObject * _argo0 = 0;
5468 char *_kwnames[] = { "self", NULL };
5469
5470 self = self;
5471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Update",_kwnames,&_argo0))
5472 return NULL;
5473 if (_argo0) {
5474 if (_argo0 == Py_None) { _arg0 = NULL; }
5475 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5476 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Update. Expected _wxWindow_p.");
5477 return NULL;
5478 }
5479 }
5480{
474c48f9 5481 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5482 wxWindow_Update(_arg0);
aa2a5b86 5483
474c48f9 5484 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
5485 if (PyErr_Occurred()) return NULL;
5486} Py_INCREF(Py_None);
5487 _resultobj = Py_None;
5488 return _resultobj;
5489}
5490
cd096152
RD
5491#define wxWindow_GetHelpText(_swigobj) (_swigobj->GetHelpText())
5492static PyObject *_wrap_wxWindow_GetHelpText(PyObject *self, PyObject *args, PyObject *kwargs) {
5493 PyObject * _resultobj;
5494 wxString * _result;
5495 wxWindow * _arg0;
5496 PyObject * _argo0 = 0;
5497 char *_kwnames[] = { "self", NULL };
5498
5499 self = self;
5500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetHelpText",_kwnames,&_argo0))
5501 return NULL;
5502 if (_argo0) {
5503 if (_argo0 == Py_None) { _arg0 = NULL; }
5504 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5505 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetHelpText. Expected _wxWindow_p.");
5506 return NULL;
5507 }
5508 }
5509{
474c48f9 5510 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5511 _result = new wxString (wxWindow_GetHelpText(_arg0));
cd096152 5512
474c48f9 5513 wxPyEndAllowThreads(__tstate);
cd096152
RD
5514 if (PyErr_Occurred()) return NULL;
5515}{
c8bc7bb8
RD
5516#if wxUSE_UNICODE
5517 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
5518#else
cd096152 5519 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 5520#endif
cd096152
RD
5521}
5522{
5523 delete _result;
5524}
5525 return _resultobj;
5526}
5527
5528#define wxWindow_SetHelpText(_swigobj,_swigarg0) (_swigobj->SetHelpText(_swigarg0))
5529static PyObject *_wrap_wxWindow_SetHelpText(PyObject *self, PyObject *args, PyObject *kwargs) {
5530 PyObject * _resultobj;
5531 wxWindow * _arg0;
5532 wxString * _arg1;
5533 PyObject * _argo0 = 0;
5534 PyObject * _obj1 = 0;
5535 char *_kwnames[] = { "self","helpText", NULL };
5536
5537 self = self;
5538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetHelpText",_kwnames,&_argo0,&_obj1))
5539 return NULL;
5540 if (_argo0) {
5541 if (_argo0 == Py_None) { _arg0 = NULL; }
5542 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5543 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetHelpText. Expected _wxWindow_p.");
5544 return NULL;
5545 }
5546 }
5547{
c8bc7bb8
RD
5548 _arg1 = wxString_in_helper(_obj1);
5549 if (_arg1 == NULL)
cd096152 5550 return NULL;
cd096152
RD
5551}
5552{
474c48f9 5553 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5554 wxWindow_SetHelpText(_arg0,*_arg1);
cd096152 5555
474c48f9 5556 wxPyEndAllowThreads(__tstate);
cd096152
RD
5557 if (PyErr_Occurred()) return NULL;
5558} Py_INCREF(Py_None);
5559 _resultobj = Py_None;
5560{
5561 if (_obj1)
5562 delete _arg1;
5563}
5564 return _resultobj;
5565}
5566
8cb49012
RD
5567#define wxWindow_SetHelpTextForId(_swigobj,_swigarg0) (_swigobj->SetHelpTextForId(_swigarg0))
5568static PyObject *_wrap_wxWindow_SetHelpTextForId(PyObject *self, PyObject *args, PyObject *kwargs) {
5569 PyObject * _resultobj;
5570 wxWindow * _arg0;
5571 wxString * _arg1;
5572 PyObject * _argo0 = 0;
5573 PyObject * _obj1 = 0;
5574 char *_kwnames[] = { "self","text", NULL };
5575
5576 self = self;
5577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetHelpTextForId",_kwnames,&_argo0,&_obj1))
5578 return NULL;
5579 if (_argo0) {
5580 if (_argo0 == Py_None) { _arg0 = NULL; }
5581 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5582 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetHelpTextForId. Expected _wxWindow_p.");
5583 return NULL;
5584 }
5585 }
5586{
c8bc7bb8
RD
5587 _arg1 = wxString_in_helper(_obj1);
5588 if (_arg1 == NULL)
8cb49012 5589 return NULL;
8cb49012
RD
5590}
5591{
5592 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5593 wxWindow_SetHelpTextForId(_arg0,*_arg1);
8cb49012
RD
5594
5595 wxPyEndAllowThreads(__tstate);
5596 if (PyErr_Occurred()) return NULL;
5597} Py_INCREF(Py_None);
5598 _resultobj = Py_None;
5599{
5600 if (_obj1)
5601 delete _arg1;
5602}
5603 return _resultobj;
5604}
5605
cd096152
RD
5606#define wxWindow_ScrollLines(_swigobj,_swigarg0) (_swigobj->ScrollLines(_swigarg0))
5607static PyObject *_wrap_wxWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
5608 PyObject * _resultobj;
5609 bool _result;
5610 wxWindow * _arg0;
5611 int _arg1;
5612 PyObject * _argo0 = 0;
5613 char *_kwnames[] = { "self","lines", NULL };
5614
5615 self = self;
5616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_ScrollLines",_kwnames,&_argo0,&_arg1))
5617 return NULL;
5618 if (_argo0) {
5619 if (_argo0 == Py_None) { _arg0 = NULL; }
5620 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5621 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScrollLines. Expected _wxWindow_p.");
5622 return NULL;
5623 }
5624 }
5625{
474c48f9 5626 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5627 _result = (bool )wxWindow_ScrollLines(_arg0,_arg1);
cd096152 5628
474c48f9 5629 wxPyEndAllowThreads(__tstate);
cd096152
RD
5630 if (PyErr_Occurred()) return NULL;
5631} _resultobj = Py_BuildValue("i",_result);
5632 return _resultobj;
5633}
5634
5635#define wxWindow_ScrollPages(_swigobj,_swigarg0) (_swigobj->ScrollPages(_swigarg0))
5636static PyObject *_wrap_wxWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
5637 PyObject * _resultobj;
5638 bool _result;
5639 wxWindow * _arg0;
5640 int _arg1;
5641 PyObject * _argo0 = 0;
5642 char *_kwnames[] = { "self","pages", NULL };
5643
5644 self = self;
5645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_ScrollPages",_kwnames,&_argo0,&_arg1))
5646 return NULL;
5647 if (_argo0) {
5648 if (_argo0 == Py_None) { _arg0 = NULL; }
5649 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5650 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScrollPages. Expected _wxWindow_p.");
5651 return NULL;
5652 }
5653 }
5654{
474c48f9 5655 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5656 _result = (bool )wxWindow_ScrollPages(_arg0,_arg1);
cd096152 5657
474c48f9 5658 wxPyEndAllowThreads(__tstate);
cd096152
RD
5659 if (PyErr_Occurred()) return NULL;
5660} _resultobj = Py_BuildValue("i",_result);
5661 return _resultobj;
5662}
5663
5664#define wxWindow_LineUp(_swigobj) (_swigobj->LineUp())
5665static PyObject *_wrap_wxWindow_LineUp(PyObject *self, PyObject *args, PyObject *kwargs) {
5666 PyObject * _resultobj;
5667 bool _result;
5668 wxWindow * _arg0;
5669 PyObject * _argo0 = 0;
5670 char *_kwnames[] = { "self", NULL };
5671
5672 self = self;
5673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_LineUp",_kwnames,&_argo0))
5674 return NULL;
5675 if (_argo0) {
5676 if (_argo0 == Py_None) { _arg0 = NULL; }
5677 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5678 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_LineUp. Expected _wxWindow_p.");
5679 return NULL;
5680 }
5681 }
5682{
474c48f9 5683 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5684 _result = (bool )wxWindow_LineUp(_arg0);
cd096152 5685
474c48f9 5686 wxPyEndAllowThreads(__tstate);
cd096152
RD
5687 if (PyErr_Occurred()) return NULL;
5688} _resultobj = Py_BuildValue("i",_result);
5689 return _resultobj;
5690}
5691
5692#define wxWindow_LineDown(_swigobj) (_swigobj->LineDown())
5693static PyObject *_wrap_wxWindow_LineDown(PyObject *self, PyObject *args, PyObject *kwargs) {
5694 PyObject * _resultobj;
5695 bool _result;
5696 wxWindow * _arg0;
5697 PyObject * _argo0 = 0;
5698 char *_kwnames[] = { "self", NULL };
5699
5700 self = self;
5701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_LineDown",_kwnames,&_argo0))
5702 return NULL;
5703 if (_argo0) {
5704 if (_argo0 == Py_None) { _arg0 = NULL; }
5705 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5706 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_LineDown. Expected _wxWindow_p.");
5707 return NULL;
5708 }
5709 }
5710{
474c48f9 5711 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5712 _result = (bool )wxWindow_LineDown(_arg0);
cd096152 5713
474c48f9 5714 wxPyEndAllowThreads(__tstate);
cd096152
RD
5715 if (PyErr_Occurred()) return NULL;
5716} _resultobj = Py_BuildValue("i",_result);
5717 return _resultobj;
5718}
5719
5720#define wxWindow_PageUp(_swigobj) (_swigobj->PageUp())
5721static PyObject *_wrap_wxWindow_PageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
5722 PyObject * _resultobj;
5723 bool _result;
5724 wxWindow * _arg0;
5725 PyObject * _argo0 = 0;
5726 char *_kwnames[] = { "self", NULL };
5727
5728 self = self;
5729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_PageUp",_kwnames,&_argo0))
5730 return NULL;
5731 if (_argo0) {
5732 if (_argo0 == Py_None) { _arg0 = NULL; }
5733 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5734 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PageUp. Expected _wxWindow_p.");
5735 return NULL;
5736 }
5737 }
5738{
474c48f9 5739 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5740 _result = (bool )wxWindow_PageUp(_arg0);
cd096152 5741
474c48f9 5742 wxPyEndAllowThreads(__tstate);
cd096152
RD
5743 if (PyErr_Occurred()) return NULL;
5744} _resultobj = Py_BuildValue("i",_result);
5745 return _resultobj;
5746}
5747
5748#define wxWindow_PageDown(_swigobj) (_swigobj->PageDown())
5749static PyObject *_wrap_wxWindow_PageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
5750 PyObject * _resultobj;
5751 bool _result;
5752 wxWindow * _arg0;
5753 PyObject * _argo0 = 0;
5754 char *_kwnames[] = { "self", NULL };
5755
5756 self = self;
5757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_PageDown",_kwnames,&_argo0))
5758 return NULL;
5759 if (_argo0) {
5760 if (_argo0 == Py_None) { _arg0 = NULL; }
5761 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5762 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PageDown. Expected _wxWindow_p.");
5763 return NULL;
5764 }
5765 }
5766{
474c48f9 5767 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5768 _result = (bool )wxWindow_PageDown(_arg0);
cd096152 5769
474c48f9 5770 wxPyEndAllowThreads(__tstate);
cd096152
RD
5771 if (PyErr_Occurred()) return NULL;
5772} _resultobj = Py_BuildValue("i",_result);
5773 return _resultobj;
5774}
5775
aa2a5b86
RD
5776static PyObject *_wrap_wxWindow_FindFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
5777 PyObject * _resultobj;
5778 wxWindow * _result;
5779 char *_kwnames[] = { NULL };
5780
5781 self = self;
5782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxWindow_FindFocus",_kwnames))
5783 return NULL;
5784{
474c48f9 5785 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5786 _result = (wxWindow *)wxWindow::FindFocus();
aa2a5b86 5787
474c48f9 5788 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
5789 if (PyErr_Occurred()) return NULL;
5790}{ _resultobj = wxPyMake_wxObject(_result); }
5791 return _resultobj;
5792}
5793
5794static PyObject *_wrap_wxWindow_NewControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
5795 PyObject * _resultobj;
5796 int _result;
5797 char *_kwnames[] = { NULL };
5798
5799 self = self;
5800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxWindow_NewControlId",_kwnames))
5801 return NULL;
5802{
474c48f9 5803 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5804 _result = (int )wxWindow::NewControlId();
aa2a5b86 5805
474c48f9 5806 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
5807 if (PyErr_Occurred()) return NULL;
5808} _resultobj = Py_BuildValue("i",_result);
5809 return _resultobj;
5810}
5811
5812static PyObject *_wrap_wxWindow_NextControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
5813 PyObject * _resultobj;
5814 int _result;
5815 int _arg0;
5816 char *_kwnames[] = { "id", NULL };
5817
5818 self = self;
5819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxWindow_NextControlId",_kwnames,&_arg0))
5820 return NULL;
5821{
474c48f9 5822 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5823 _result = (int )wxWindow::NextControlId(_arg0);
aa2a5b86 5824
474c48f9 5825 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
5826 if (PyErr_Occurred()) return NULL;
5827} _resultobj = Py_BuildValue("i",_result);
5828 return _resultobj;
5829}
5830
5831static PyObject *_wrap_wxWindow_PrevControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
5832 PyObject * _resultobj;
5833 int _result;
5834 int _arg0;
5835 char *_kwnames[] = { "id", NULL };
5836
5837 self = self;
5838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxWindow_PrevControlId",_kwnames,&_arg0))
5839 return NULL;
5840{
474c48f9 5841 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5842 _result = (int )wxWindow::PrevControlId(_arg0);
aa2a5b86 5843
474c48f9 5844 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
5845 if (PyErr_Occurred()) return NULL;
5846} _resultobj = Py_BuildValue("i",_result);
5847 return _resultobj;
5848}
5849
32c988a3
RD
5850#define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
5851static PyObject *_wrap_wxWindow_SetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
5852 PyObject * _resultobj;
5853 wxWindow * _arg0;
5854 wxAcceleratorTable * _arg1;
5855 PyObject * _argo0 = 0;
5856 PyObject * _argo1 = 0;
5857 char *_kwnames[] = { "self","accel", NULL };
5858
5859 self = self;
5860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetAcceleratorTable",_kwnames,&_argo0,&_argo1))
5861 return NULL;
5862 if (_argo0) {
5863 if (_argo0 == Py_None) { _arg0 = NULL; }
5864 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5865 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
5866 return NULL;
5867 }
5868 }
5869 if (_argo1) {
5870 if (_argo1 == Py_None) { _arg1 = NULL; }
5871 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxAcceleratorTable_p")) {
5872 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
5873 return NULL;
5874 }
5875 }
5876{
474c48f9 5877 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5878 wxWindow_SetAcceleratorTable(_arg0,*_arg1);
32c988a3 5879
474c48f9 5880 wxPyEndAllowThreads(__tstate);
32c988a3
RD
5881 if (PyErr_Occurred()) return NULL;
5882} Py_INCREF(Py_None);
5883 _resultobj = Py_None;
5884 return _resultobj;
5885}
5886
65191ae8
RD
5887#define wxWindow_GetAcceleratorTable(_swigobj) (_swigobj->GetAcceleratorTable())
5888static PyObject *_wrap_wxWindow_GetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
5889 PyObject * _resultobj;
5890 wxAcceleratorTable * _result;
5891 wxWindow * _arg0;
5892 PyObject * _argo0 = 0;
5893 char *_kwnames[] = { "self", NULL };
5894 char _ptemp[128];
5895
5896 self = self;
5897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetAcceleratorTable",_kwnames,&_argo0))
5898 return NULL;
5899 if (_argo0) {
5900 if (_argo0 == Py_None) { _arg0 = NULL; }
5901 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5902 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetAcceleratorTable. Expected _wxWindow_p.");
5903 return NULL;
5904 }
5905 }
5906{
474c48f9 5907 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5908 _result = (wxAcceleratorTable *)wxWindow_GetAcceleratorTable(_arg0);
65191ae8 5909
474c48f9 5910 wxPyEndAllowThreads(__tstate);
65191ae8
RD
5911 if (PyErr_Occurred()) return NULL;
5912} if (_result) {
5913 SWIG_MakePtr(_ptemp, (char *) _result,"_wxAcceleratorTable_p");
5914 _resultobj = Py_BuildValue("s",_ptemp);
5915 } else {
5916 Py_INCREF(Py_None);
5917 _resultobj = Py_None;
5918 }
5919 return _resultobj;
5920}
5921
1893b029
RD
5922#define wxWindow_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
5923static PyObject *_wrap_wxWindow_GetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
5924 PyObject * _resultobj;
49df1f52 5925 wxWindow * _result;
1893b029
RD
5926 wxWindow * _arg0;
5927 PyObject * _argo0 = 0;
5928 char *_kwnames[] = { "self", NULL };
5929
5930 self = self;
5931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetDefaultItem",_kwnames,&_argo0))
5932 return NULL;
5933 if (_argo0) {
5934 if (_argo0 == Py_None) { _arg0 = NULL; }
5935 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5936 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetDefaultItem. Expected _wxWindow_p.");
5937 return NULL;
5938 }
5939 }
5940{
5941 PyThreadState* __tstate = wxPyBeginAllowThreads();
49df1f52 5942 _result = (wxWindow *)wxWindow_GetDefaultItem(_arg0);
1893b029
RD
5943
5944 wxPyEndAllowThreads(__tstate);
5945 if (PyErr_Occurred()) return NULL;
5946}{ _resultobj = wxPyMake_wxObject(_result); }
5947 return _resultobj;
5948}
5949
5950#define wxWindow_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
5951static PyObject *_wrap_wxWindow_SetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
5952 PyObject * _resultobj;
49df1f52 5953 wxWindow * _result;
1893b029 5954 wxWindow * _arg0;
49df1f52 5955 wxWindow * _arg1;
1893b029
RD
5956 PyObject * _argo0 = 0;
5957 PyObject * _argo1 = 0;
5958 char *_kwnames[] = { "self","btn", NULL };
5959
5960 self = self;
5961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetDefaultItem",_kwnames,&_argo0,&_argo1))
5962 return NULL;
5963 if (_argo0) {
5964 if (_argo0 == Py_None) { _arg0 = NULL; }
5965 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5966 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetDefaultItem. Expected _wxWindow_p.");
5967 return NULL;
5968 }
5969 }
5970 if (_argo1) {
5971 if (_argo1 == Py_None) { _arg1 = NULL; }
49df1f52
RD
5972 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
5973 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetDefaultItem. Expected _wxWindow_p.");
1893b029
RD
5974 return NULL;
5975 }
5976 }
5977{
5978 PyThreadState* __tstate = wxPyBeginAllowThreads();
49df1f52 5979 _result = (wxWindow *)wxWindow_SetDefaultItem(_arg0,_arg1);
1893b029
RD
5980
5981 wxPyEndAllowThreads(__tstate);
5982 if (PyErr_Occurred()) return NULL;
49df1f52 5983}{ _resultobj = wxPyMake_wxObject(_result); }
1893b029
RD
5984 return _resultobj;
5985}
5986
94c16279
RD
5987#define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
5988static PyObject *_wrap_wxWindow_WarpPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
5989 PyObject * _resultobj;
5990 wxWindow * _arg0;
5991 int _arg1;
5992 int _arg2;
5993 PyObject * _argo0 = 0;
5994 char *_kwnames[] = { "self","x","y", NULL };
5995
5996 self = self;
5997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxWindow_WarpPointer",_kwnames,&_argo0,&_arg1,&_arg2))
5998 return NULL;
5999 if (_argo0) {
6000 if (_argo0 == Py_None) { _arg0 = NULL; }
6001 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6002 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
6003 return NULL;
6004 }
6005 }
6006{
6007 PyThreadState* __tstate = wxPyBeginAllowThreads();
6008 wxWindow_WarpPointer(_arg0,_arg1,_arg2);
6009
6010 wxPyEndAllowThreads(__tstate);
6011 if (PyErr_Occurred()) return NULL;
6012} Py_INCREF(Py_None);
6013 _resultobj = Py_None;
6014 return _resultobj;
6015}
6016
6017#define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
6018static PyObject *_wrap_wxWindow_CaptureMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
6019 PyObject * _resultobj;
6020 wxWindow * _arg0;
6021 PyObject * _argo0 = 0;
6022 char *_kwnames[] = { "self", NULL };
6023
6024 self = self;
6025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_CaptureMouse",_kwnames,&_argo0))
6026 return NULL;
6027 if (_argo0) {
6028 if (_argo0 == Py_None) { _arg0 = NULL; }
6029 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6030 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
6031 return NULL;
6032 }
6033 }
6034{
6035 PyThreadState* __tstate = wxPyBeginAllowThreads();
6036 wxWindow_CaptureMouse(_arg0);
6037
6038 wxPyEndAllowThreads(__tstate);
6039 if (PyErr_Occurred()) return NULL;
6040} Py_INCREF(Py_None);
6041 _resultobj = Py_None;
6042 return _resultobj;
6043}
6044
6045#define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
6046static PyObject *_wrap_wxWindow_ReleaseMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
6047 PyObject * _resultobj;
6048 wxWindow * _arg0;
6049 PyObject * _argo0 = 0;
6050 char *_kwnames[] = { "self", NULL };
6051
6052 self = self;
6053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_ReleaseMouse",_kwnames,&_argo0))
6054 return NULL;
6055 if (_argo0) {
6056 if (_argo0 == Py_None) { _arg0 = NULL; }
6057 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6058 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
6059 return NULL;
6060 }
6061 }
6062{
6063 PyThreadState* __tstate = wxPyBeginAllowThreads();
6064 wxWindow_ReleaseMouse(_arg0);
6065
6066 wxPyEndAllowThreads(__tstate);
6067 if (PyErr_Occurred()) return NULL;
6068} Py_INCREF(Py_None);
6069 _resultobj = Py_None;
6070 return _resultobj;
6071}
6072
6073static PyObject *_wrap_wxWindow_GetCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
6074 PyObject * _resultobj;
6075 wxWindow * _result;
6076 char *_kwnames[] = { NULL };
6077
6078 self = self;
6079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxWindow_GetCapture",_kwnames))
6080 return NULL;
6081{
6082 PyThreadState* __tstate = wxPyBeginAllowThreads();
6083 _result = (wxWindow *)wxWindow::GetCapture();
6084
6085 wxPyEndAllowThreads(__tstate);
6086 if (PyErr_Occurred()) return NULL;
6087}{ _resultobj = wxPyMake_wxObject(_result); }
6088 return _resultobj;
6089}
6090
6091#define wxWindow_HasCapture(_swigobj) (_swigobj->HasCapture())
6092static PyObject *_wrap_wxWindow_HasCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
6093 PyObject * _resultobj;
6094 bool _result;
6095 wxWindow * _arg0;
6096 PyObject * _argo0 = 0;
6097 char *_kwnames[] = { "self", NULL };
6098
6099 self = self;
6100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_HasCapture",_kwnames,&_argo0))
6101 return NULL;
6102 if (_argo0) {
6103 if (_argo0 == Py_None) { _arg0 = NULL; }
6104 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6105 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_HasCapture. Expected _wxWindow_p.");
6106 return NULL;
6107 }
6108 }
6109{
6110 PyThreadState* __tstate = wxPyBeginAllowThreads();
6111 _result = (bool )wxWindow_HasCapture(_arg0);
6112
6113 wxPyEndAllowThreads(__tstate);
6114 if (PyErr_Occurred()) return NULL;
6115} _resultobj = Py_BuildValue("i",_result);
6116 return _resultobj;
6117}
6118
8ab979d7
RD
6119static void *SwigwxPanelTowxWindow(void *ptr) {
6120 wxPanel *src;
6121 wxWindow *dest;
6122 src = (wxPanel *) ptr;
6123 dest = (wxWindow *) src;
6124 return (void *) dest;
6125}
6126
6127static void *SwigwxPanelTowxEvtHandler(void *ptr) {
6128 wxPanel *src;
6129 wxEvtHandler *dest;
6130 src = (wxPanel *) ptr;
6131 dest = (wxEvtHandler *) src;
6132 return (void *) dest;
6133}
6134
9df61a29
RD
6135static void *SwigwxPanelTowxObject(void *ptr) {
6136 wxPanel *src;
6137 wxObject *dest;
6138 src = (wxPanel *) ptr;
6139 dest = (wxObject *) src;
6140 return (void *) dest;
6141}
6142
8ab979d7 6143#define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
efc5f224 6144static PyObject *_wrap_new_wxPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6145 PyObject * _resultobj;
6146 wxPanel * _result;
6147 wxWindow * _arg0;
6148 wxWindowID _arg1;
b68dc582
RD
6149 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
6150 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
1d99702e 6151 long _arg4 = (long ) wxTAB_TRAVERSAL;
9a74fcaf 6152 wxString * _arg5 = (wxString *) &wxPyPanelNameStr;
1d99702e 6153 PyObject * _argo0 = 0;
2f90df85
RD
6154 wxPoint temp;
6155 PyObject * _obj2 = 0;
6156 wxSize temp0;
6157 PyObject * _obj3 = 0;
9a74fcaf 6158 PyObject * _obj5 = 0;
efc5f224 6159 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
8ab979d7
RD
6160 char _ptemp[128];
6161
6162 self = self;
9a74fcaf 6163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxPanel",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
8ab979d7 6164 return NULL;
1d99702e
RD
6165 if (_argo0) {
6166 if (_argo0 == Py_None) { _arg0 = NULL; }
6167 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
6168 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
6169 return NULL;
6170 }
6171 }
2f90df85
RD
6172 if (_obj2)
6173{
6174 _arg2 = &temp;
6175 if (! wxPoint_helper(_obj2, &_arg2))
8ab979d7 6176 return NULL;
2f90df85
RD
6177}
6178 if (_obj3)
6179{
6180 _arg3 = &temp0;
6181 if (! wxSize_helper(_obj3, &_arg3))
8ab979d7 6182 return NULL;
9a74fcaf
RD
6183}
6184 if (_obj5)
6185{
6186 _arg5 = wxString_in_helper(_obj5);
6187 if (_arg5 == NULL)
6188 return NULL;
2f90df85 6189}
cf694132 6190{
474c48f9 6191 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 6192 _result = (wxPanel *)new_wxPanel(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
cf694132 6193
474c48f9 6194 wxPyEndAllowThreads(__tstate);
4dfaa61e 6195 if (PyErr_Occurred()) return NULL;
1d99702e
RD
6196} if (_result) {
6197 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPanel_p");
6198 _resultobj = Py_BuildValue("s",_ptemp);
6199 } else {
6200 Py_INCREF(Py_None);
6201 _resultobj = Py_None;
6202 }
9a74fcaf
RD
6203{
6204 if (_obj5)
6205 delete _arg5;
6206}
8ab979d7
RD
6207 return _resultobj;
6208}
6209
aa2a5b86
RD
6210#define new_wxPrePanel() (new wxPanel())
6211static PyObject *_wrap_new_wxPrePanel(PyObject *self, PyObject *args, PyObject *kwargs) {
6212 PyObject * _resultobj;
6213 wxPanel * _result;
6214 char *_kwnames[] = { NULL };
6215 char _ptemp[128];
6216
6217 self = self;
6218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPrePanel",_kwnames))
6219 return NULL;
6220{
474c48f9 6221 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6222 _result = (wxPanel *)new_wxPrePanel();
aa2a5b86 6223
474c48f9 6224 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
6225 if (PyErr_Occurred()) return NULL;
6226} if (_result) {
6227 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPanel_p");
6228 _resultobj = Py_BuildValue("s",_ptemp);
6229 } else {
6230 Py_INCREF(Py_None);
6231 _resultobj = Py_None;
6232 }
6233 return _resultobj;
6234}
6235
6236#define wxPanel_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6237static PyObject *_wrap_wxPanel_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6238 PyObject * _resultobj;
6239 bool _result;
6240 wxPanel * _arg0;
6241 wxWindow * _arg1;
6242 wxWindowID _arg2;
6243 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
6244 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
6245 long _arg5 = (long ) wxTAB_TRAVERSAL;
9a74fcaf 6246 wxString * _arg6 = (wxString *) &wxPyPanelNameStr;
aa2a5b86
RD
6247 PyObject * _argo0 = 0;
6248 PyObject * _argo1 = 0;
6249 wxPoint temp;
6250 PyObject * _obj3 = 0;
6251 wxSize temp0;
6252 PyObject * _obj4 = 0;
9a74fcaf 6253 PyObject * _obj6 = 0;
aa2a5b86
RD
6254 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
6255
6256 self = self;
9a74fcaf 6257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOlO:wxPanel_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
aa2a5b86
RD
6258 return NULL;
6259 if (_argo0) {
6260 if (_argo0 == Py_None) { _arg0 = NULL; }
6261 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPanel_p")) {
6262 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPanel_Create. Expected _wxPanel_p.");
6263 return NULL;
6264 }
6265 }
6266 if (_argo1) {
6267 if (_argo1 == Py_None) { _arg1 = NULL; }
6268 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
6269 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPanel_Create. Expected _wxWindow_p.");
6270 return NULL;
6271 }
6272 }
6273 if (_obj3)
6274{
6275 _arg3 = &temp;
6276 if (! wxPoint_helper(_obj3, &_arg3))
6277 return NULL;
6278}
6279 if (_obj4)
6280{
6281 _arg4 = &temp0;
6282 if (! wxSize_helper(_obj4, &_arg4))
6283 return NULL;
9a74fcaf
RD
6284}
6285 if (_obj6)
6286{
6287 _arg6 = wxString_in_helper(_obj6);
6288 if (_arg6 == NULL)
6289 return NULL;
aa2a5b86
RD
6290}
6291{
474c48f9 6292 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 6293 _result = (bool )wxPanel_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
aa2a5b86 6294
474c48f9 6295 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
6296 if (PyErr_Occurred()) return NULL;
6297} _resultobj = Py_BuildValue("i",_result);
9a74fcaf
RD
6298{
6299 if (_obj6)
6300 delete _arg6;
6301}
aa2a5b86
RD
6302 return _resultobj;
6303}
6304
8ab979d7 6305#define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
efc5f224 6306static PyObject *_wrap_wxPanel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6307 PyObject * _resultobj;
6308 wxPanel * _arg0;
1d99702e 6309 PyObject * _argo0 = 0;
efc5f224 6310 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6311
6312 self = self;
efc5f224 6313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPanel_InitDialog",_kwnames,&_argo0))
8ab979d7 6314 return NULL;
1d99702e
RD
6315 if (_argo0) {
6316 if (_argo0 == Py_None) { _arg0 = NULL; }
6317 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPanel_p")) {
8ab979d7
RD
6318 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
6319 return NULL;
6320 }
6321 }
cf694132 6322{
474c48f9 6323 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6324 wxPanel_InitDialog(_arg0);
cf694132 6325
474c48f9 6326 wxPyEndAllowThreads(__tstate);
4dfaa61e 6327 if (PyErr_Occurred()) return NULL;
cf694132 6328} Py_INCREF(Py_None);
8ab979d7
RD
6329 _resultobj = Py_None;
6330 return _resultobj;
6331}
6332
bb0054cd
RD
6333static void *SwigwxScrolledWindowTowxPanel(void *ptr) {
6334 wxScrolledWindow *src;
6335 wxPanel *dest;
6336 src = (wxScrolledWindow *) ptr;
6337 dest = (wxPanel *) src;
6338 return (void *) dest;
6339}
6340
8ab979d7
RD
6341static void *SwigwxScrolledWindowTowxWindow(void *ptr) {
6342 wxScrolledWindow *src;
6343 wxWindow *dest;
6344 src = (wxScrolledWindow *) ptr;
6345 dest = (wxWindow *) src;
6346 return (void *) dest;
6347}
6348
6349static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr) {
6350 wxScrolledWindow *src;
6351 wxEvtHandler *dest;
6352 src = (wxScrolledWindow *) ptr;
6353 dest = (wxEvtHandler *) src;
6354 return (void *) dest;
6355}
6356
9df61a29
RD
6357static void *SwigwxScrolledWindowTowxObject(void *ptr) {
6358 wxScrolledWindow *src;
6359 wxObject *dest;
6360 src = (wxScrolledWindow *) ptr;
6361 dest = (wxObject *) src;
6362 return (void *) dest;
6363}
6364
8ab979d7 6365#define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
efc5f224 6366static PyObject *_wrap_new_wxScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6367 PyObject * _resultobj;
6368 wxScrolledWindow * _result;
6369 wxWindow * _arg0;
1d99702e 6370 wxWindowID _arg1 = (wxWindowID ) -1;
b68dc582
RD
6371 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
6372 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
1d99702e 6373 long _arg4 = (long ) wxHSCROLL|wxVSCROLL;
9a74fcaf 6374 wxString * _arg5 = (wxString *) &wxPyPanelNameStr;
1d99702e 6375 PyObject * _argo0 = 0;
2f90df85
RD
6376 wxPoint temp;
6377 PyObject * _obj2 = 0;
6378 wxSize temp0;
6379 PyObject * _obj3 = 0;
9a74fcaf 6380 PyObject * _obj5 = 0;
efc5f224 6381 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
8ab979d7
RD
6382 char _ptemp[128];
6383
6384 self = self;
9a74fcaf 6385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlO:new_wxScrolledWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
8ab979d7 6386 return NULL;
1d99702e
RD
6387 if (_argo0) {
6388 if (_argo0 == Py_None) { _arg0 = NULL; }
6389 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
6390 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
6391 return NULL;
6392 }
6393 }
2f90df85
RD
6394 if (_obj2)
6395{
6396 _arg2 = &temp;
6397 if (! wxPoint_helper(_obj2, &_arg2))
8ab979d7 6398 return NULL;
2f90df85
RD
6399}
6400 if (_obj3)
6401{
6402 _arg3 = &temp0;
6403 if (! wxSize_helper(_obj3, &_arg3))
8ab979d7 6404 return NULL;
9a74fcaf
RD
6405}
6406 if (_obj5)
6407{
6408 _arg5 = wxString_in_helper(_obj5);
6409 if (_arg5 == NULL)
6410 return NULL;
2f90df85 6411}
cf694132 6412{
474c48f9 6413 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 6414 _result = (wxScrolledWindow *)new_wxScrolledWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
cf694132 6415
474c48f9 6416 wxPyEndAllowThreads(__tstate);
4dfaa61e 6417 if (PyErr_Occurred()) return NULL;
1d99702e
RD
6418} if (_result) {
6419 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrolledWindow_p");
6420 _resultobj = Py_BuildValue("s",_ptemp);
6421 } else {
6422 Py_INCREF(Py_None);
6423 _resultobj = Py_None;
6424 }
9a74fcaf
RD
6425{
6426 if (_obj5)
6427 delete _arg5;
6428}
8ab979d7
RD
6429 return _resultobj;
6430}
6431
aa2a5b86
RD
6432#define new_wxPreScrolledWindow() (new wxScrolledWindow())
6433static PyObject *_wrap_new_wxPreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6434 PyObject * _resultobj;
6435 wxScrolledWindow * _result;
6436 char *_kwnames[] = { NULL };
6437 char _ptemp[128];
6438
6439 self = self;
6440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreScrolledWindow",_kwnames))
6441 return NULL;
6442{
474c48f9 6443 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6444 _result = (wxScrolledWindow *)new_wxPreScrolledWindow();
aa2a5b86 6445
474c48f9 6446 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
6447 if (PyErr_Occurred()) return NULL;
6448} if (_result) {
6449 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrolledWindow_p");
6450 _resultobj = Py_BuildValue("s",_ptemp);
6451 } else {
6452 Py_INCREF(Py_None);
6453 _resultobj = Py_None;
6454 }
6455 return _resultobj;
6456}
6457
6458#define wxScrolledWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6459static PyObject *_wrap_wxScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6460 PyObject * _resultobj;
6461 bool _result;
6462 wxScrolledWindow * _arg0;
6463 wxWindow * _arg1;
6464 wxWindowID _arg2 = (wxWindowID ) -1;
6465 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
6466 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
6467 long _arg5 = (long ) wxHSCROLL|wxVSCROLL;
9a74fcaf 6468 wxString * _arg6 = (wxString *) &wxPyPanelNameStr;
aa2a5b86
RD
6469 PyObject * _argo0 = 0;
6470 PyObject * _argo1 = 0;
6471 wxPoint temp;
6472 PyObject * _obj3 = 0;
6473 wxSize temp0;
6474 PyObject * _obj4 = 0;
9a74fcaf 6475 PyObject * _obj6 = 0;
aa2a5b86
RD
6476 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
6477
6478 self = self;
9a74fcaf 6479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlO:wxScrolledWindow_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
aa2a5b86
RD
6480 return NULL;
6481 if (_argo0) {
6482 if (_argo0 == Py_None) { _arg0 = NULL; }
6483 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
6484 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_Create. Expected _wxScrolledWindow_p.");
6485 return NULL;
6486 }
6487 }
6488 if (_argo1) {
6489 if (_argo1 == Py_None) { _arg1 = NULL; }
6490 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
6491 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxScrolledWindow_Create. Expected _wxWindow_p.");
6492 return NULL;
6493 }
6494 }
6495 if (_obj3)
6496{
6497 _arg3 = &temp;
6498 if (! wxPoint_helper(_obj3, &_arg3))
6499 return NULL;
6500}
6501 if (_obj4)
6502{
6503 _arg4 = &temp0;
6504 if (! wxSize_helper(_obj4, &_arg4))
6505 return NULL;
9a74fcaf
RD
6506}
6507 if (_obj6)
6508{
6509 _arg6 = wxString_in_helper(_obj6);
6510 if (_arg6 == NULL)
6511 return NULL;
aa2a5b86
RD
6512}
6513{
474c48f9 6514 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 6515 _result = (bool )wxScrolledWindow_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
aa2a5b86 6516
474c48f9 6517 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
6518 if (PyErr_Occurred()) return NULL;
6519} _resultobj = Py_BuildValue("i",_result);
9a74fcaf
RD
6520{
6521 if (_obj6)
6522 delete _arg6;
6523}
aa2a5b86
RD
6524 return _resultobj;
6525}
6526
8ab979d7 6527#define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
efc5f224 6528static PyObject *_wrap_wxScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6529 PyObject * _resultobj;
6530 wxScrolledWindow * _arg0;
6531 bool _arg1;
6532 bool _arg2;
1d99702e 6533 PyObject * _argo0 = 0;
8ab979d7
RD
6534 int tempbool1;
6535 int tempbool2;
efc5f224 6536 char *_kwnames[] = { "self","xScrolling","yScrolling", NULL };
8ab979d7
RD
6537
6538 self = self;
efc5f224 6539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxScrolledWindow_EnableScrolling",_kwnames,&_argo0,&tempbool1,&tempbool2))
8ab979d7 6540 return NULL;
1d99702e
RD
6541 if (_argo0) {
6542 if (_argo0 == Py_None) { _arg0 = NULL; }
6543 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
8ab979d7
RD
6544 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
6545 return NULL;
6546 }
6547 }
6548 _arg1 = (bool ) tempbool1;
6549 _arg2 = (bool ) tempbool2;
cf694132 6550{
474c48f9 6551 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6552 wxScrolledWindow_EnableScrolling(_arg0,_arg1,_arg2);
cf694132 6553
474c48f9 6554 wxPyEndAllowThreads(__tstate);
4dfaa61e 6555 if (PyErr_Occurred()) return NULL;
cf694132 6556} Py_INCREF(Py_None);
8ab979d7
RD
6557 _resultobj = Py_None;
6558 return _resultobj;
6559}
6560
b7e72427
RD
6561#define wxScrolledWindow_GetScrollPageSize(_swigobj,_swigarg0) (_swigobj->GetScrollPageSize(_swigarg0))
6562static PyObject *_wrap_wxScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6563 PyObject * _resultobj;
6564 int _result;
6565 wxScrolledWindow * _arg0;
6566 int _arg1;
6567 PyObject * _argo0 = 0;
6568 char *_kwnames[] = { "self","orient", NULL };
6569
6570 self = self;
6571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxScrolledWindow_GetScrollPageSize",_kwnames,&_argo0,&_arg1))
6572 return NULL;
6573 if (_argo0) {
6574 if (_argo0 == Py_None) { _arg0 = NULL; }
6575 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
6576 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetScrollPageSize. Expected _wxScrolledWindow_p.");
6577 return NULL;
6578 }
6579 }
6580{
474c48f9 6581 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6582 _result = (int )wxScrolledWindow_GetScrollPageSize(_arg0,_arg1);
b7e72427 6583
474c48f9 6584 wxPyEndAllowThreads(__tstate);
4dfaa61e 6585 if (PyErr_Occurred()) return NULL;
b7e72427
RD
6586} _resultobj = Py_BuildValue("i",_result);
6587 return _resultobj;
6588}
6589
8ab979d7 6590#define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
efc5f224 6591static PyObject *_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6592 PyObject * _resultobj;
6593 wxScrolledWindow * _arg0;
6594 int * _arg1;
6595 int temp;
6596 int * _arg2;
6597 int temp0;
1d99702e 6598 PyObject * _argo0 = 0;
efc5f224 6599 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6600
6601 self = self;
6602{
6603 _arg1 = &temp;
6604}
6605{
6606 _arg2 = &temp0;
6607}
efc5f224 6608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames,&_argo0))
8ab979d7 6609 return NULL;
1d99702e
RD
6610 if (_argo0) {
6611 if (_argo0 == Py_None) { _arg0 = NULL; }
6612 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
8ab979d7
RD
6613 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
6614 return NULL;
6615 }
6616 }
cf694132 6617{
474c48f9 6618 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6619 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0,_arg1,_arg2);
cf694132 6620
474c48f9 6621 wxPyEndAllowThreads(__tstate);
4dfaa61e 6622 if (PyErr_Occurred()) return NULL;
cf694132 6623} Py_INCREF(Py_None);
8ab979d7
RD
6624 _resultobj = Py_None;
6625{
6626 PyObject *o;
6627 o = PyInt_FromLong((long) (*_arg1));
6628 _resultobj = t_output_helper(_resultobj, o);
6629}
6630{
6631 PyObject *o;
6632 o = PyInt_FromLong((long) (*_arg2));
6633 _resultobj = t_output_helper(_resultobj, o);
6634}
6635 return _resultobj;
6636}
6637
b7e72427
RD
6638#define wxScrolledWindow_GetTargetWindow(_swigobj) (_swigobj->GetTargetWindow())
6639static PyObject *_wrap_wxScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6640 PyObject * _resultobj;
6641 wxWindow * _result;
6642 wxScrolledWindow * _arg0;
6643 PyObject * _argo0 = 0;
6644 char *_kwnames[] = { "self", NULL };
b7e72427
RD
6645
6646 self = self;
6647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_GetTargetWindow",_kwnames,&_argo0))
6648 return NULL;
6649 if (_argo0) {
6650 if (_argo0 == Py_None) { _arg0 = NULL; }
6651 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
6652 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetTargetWindow. Expected _wxScrolledWindow_p.");
6653 return NULL;
6654 }
6655 }
6656{
474c48f9 6657 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6658 _result = (wxWindow *)wxScrolledWindow_GetTargetWindow(_arg0);
b7e72427 6659
474c48f9 6660 wxPyEndAllowThreads(__tstate);
4dfaa61e 6661 if (PyErr_Occurred()) return NULL;
9df61a29 6662}{ _resultobj = wxPyMake_wxObject(_result); }
b7e72427
RD
6663 return _resultobj;
6664}
6665
8ab979d7 6666#define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
efc5f224 6667static PyObject *_wrap_wxScrolledWindow_GetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6668 PyObject * _resultobj;
6669 wxScrolledWindow * _arg0;
6670 int * _arg1;
6671 int temp;
6672 int * _arg2;
6673 int temp0;
1d99702e 6674 PyObject * _argo0 = 0;
efc5f224 6675 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6676
6677 self = self;
6678{
6679 _arg1 = &temp;
6680}
6681{
6682 _arg2 = &temp0;
6683}
efc5f224 6684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_GetVirtualSize",_kwnames,&_argo0))
8ab979d7 6685 return NULL;
1d99702e
RD
6686 if (_argo0) {
6687 if (_argo0 == Py_None) { _arg0 = NULL; }
6688 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
8ab979d7
RD
6689 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
6690 return NULL;
6691 }
6692 }
cf694132 6693{
474c48f9 6694 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6695 wxScrolledWindow_GetVirtualSize(_arg0,_arg1,_arg2);
cf694132 6696
474c48f9 6697 wxPyEndAllowThreads(__tstate);
4dfaa61e 6698 if (PyErr_Occurred()) return NULL;
cf694132 6699} Py_INCREF(Py_None);
8ab979d7
RD
6700 _resultobj = Py_None;
6701{
6702 PyObject *o;
6703 o = PyInt_FromLong((long) (*_arg1));
6704 _resultobj = t_output_helper(_resultobj, o);
6705}
6706{
6707 PyObject *o;
6708 o = PyInt_FromLong((long) (*_arg2));
6709 _resultobj = t_output_helper(_resultobj, o);
6710}
6711 return _resultobj;
6712}
6713
6714#define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
efc5f224 6715static PyObject *_wrap_wxScrolledWindow_IsRetained(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6716 PyObject * _resultobj;
6717 bool _result;
6718 wxScrolledWindow * _arg0;
1d99702e 6719 PyObject * _argo0 = 0;
efc5f224 6720 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6721
6722 self = self;
efc5f224 6723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_IsRetained",_kwnames,&_argo0))
8ab979d7 6724 return NULL;
1d99702e
RD
6725 if (_argo0) {
6726 if (_argo0 == Py_None) { _arg0 = NULL; }
6727 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
8ab979d7
RD
6728 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
6729 return NULL;
6730 }
6731 }
cf694132 6732{
474c48f9 6733 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6734 _result = (bool )wxScrolledWindow_IsRetained(_arg0);
cf694132 6735
474c48f9 6736 wxPyEndAllowThreads(__tstate);
4dfaa61e 6737 if (PyErr_Occurred()) return NULL;
cf694132 6738} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
6739 return _resultobj;
6740}
6741
6742#define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
efc5f224 6743static PyObject *_wrap_wxScrolledWindow_PrepareDC(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6744 PyObject * _resultobj;
6745 wxScrolledWindow * _arg0;
6746 wxDC * _arg1;
1d99702e
RD
6747 PyObject * _argo0 = 0;
6748 PyObject * _argo1 = 0;
efc5f224 6749 char *_kwnames[] = { "self","dc", NULL };
8ab979d7
RD
6750
6751 self = self;
efc5f224 6752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxScrolledWindow_PrepareDC",_kwnames,&_argo0,&_argo1))
8ab979d7 6753 return NULL;
1d99702e
RD
6754 if (_argo0) {
6755 if (_argo0 == Py_None) { _arg0 = NULL; }
6756 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
8ab979d7
RD
6757 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
6758 return NULL;
6759 }
6760 }
1d99702e
RD
6761 if (_argo1) {
6762 if (_argo1 == Py_None) { _arg1 = NULL; }
6763 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8ab979d7
RD
6764 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
6765 return NULL;
6766 }
6767 }
cf694132 6768{
474c48f9 6769 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6770 wxScrolledWindow_PrepareDC(_arg0,*_arg1);
cf694132 6771
474c48f9 6772 wxPyEndAllowThreads(__tstate);
4dfaa61e 6773 if (PyErr_Occurred()) return NULL;
cf694132 6774} Py_INCREF(Py_None);
8ab979d7
RD
6775 _resultobj = Py_None;
6776 return _resultobj;
6777}
6778
6779#define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
efc5f224 6780static PyObject *_wrap_wxScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6781 PyObject * _resultobj;
6782 wxScrolledWindow * _arg0;
6783 int _arg1;
6784 int _arg2;
1d99702e 6785 PyObject * _argo0 = 0;
efc5f224 6786 char *_kwnames[] = { "self","x","y", NULL };
8ab979d7
RD
6787
6788 self = self;
efc5f224 6789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxScrolledWindow_Scroll",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 6790 return NULL;
1d99702e
RD
6791 if (_argo0) {
6792 if (_argo0 == Py_None) { _arg0 = NULL; }
6793 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
8ab979d7
RD
6794 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
6795 return NULL;
6796 }
6797 }
cf694132 6798{
474c48f9 6799 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6800 wxScrolledWindow_Scroll(_arg0,_arg1,_arg2);
cf694132 6801
474c48f9 6802 wxPyEndAllowThreads(__tstate);
4dfaa61e 6803 if (PyErr_Occurred()) return NULL;
cf694132 6804} Py_INCREF(Py_None);
8ab979d7
RD
6805 _resultobj = Py_None;
6806 return _resultobj;
6807}
6808
f6bcfd97 6809#define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
efc5f224 6810static PyObject *_wrap_wxScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6811 PyObject * _resultobj;
6812 wxScrolledWindow * _arg0;
6813 int _arg1;
6814 int _arg2;
6815 int _arg3;
6816 int _arg4;
1d99702e
RD
6817 int _arg5 = (int ) 0;
6818 int _arg6 = (int ) 0;
f6bcfd97 6819 int _arg7 = (int ) FALSE;
1d99702e 6820 PyObject * _argo0 = 0;
f6bcfd97 6821 char *_kwnames[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos","noRefresh", NULL };
8ab979d7
RD
6822
6823 self = self;
f6bcfd97 6824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|iii:wxScrolledWindow_SetScrollbars",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6,&_arg7))
8ab979d7 6825 return NULL;
1d99702e
RD
6826 if (_argo0) {
6827 if (_argo0 == Py_None) { _arg0 = NULL; }
6828 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
8ab979d7
RD
6829 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
6830 return NULL;
6831 }
6832 }
cf694132 6833{
474c48f9 6834 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6835 wxScrolledWindow_SetScrollbars(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7);
cf694132 6836
474c48f9 6837 wxPyEndAllowThreads(__tstate);
4dfaa61e 6838 if (PyErr_Occurred()) return NULL;
cf694132 6839} Py_INCREF(Py_None);
8ab979d7
RD
6840 _resultobj = Py_None;
6841 return _resultobj;
6842}
6843
b7e72427
RD
6844#define wxScrolledWindow_SetScrollPageSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScrollPageSize(_swigarg0,_swigarg1))
6845static PyObject *_wrap_wxScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6846 PyObject * _resultobj;
6847 wxScrolledWindow * _arg0;
6848 int _arg1;
6849 int _arg2;
6850 PyObject * _argo0 = 0;
6851 char *_kwnames[] = { "self","orient","pageSize", NULL };
6852
6853 self = self;
6854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxScrolledWindow_SetScrollPageSize",_kwnames,&_argo0,&_arg1,&_arg2))
6855 return NULL;
6856 if (_argo0) {
6857 if (_argo0 == Py_None) { _arg0 = NULL; }
6858 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
6859 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_SetScrollPageSize. Expected _wxScrolledWindow_p.");
6860 return NULL;
6861 }
6862 }
6863{
474c48f9 6864 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6865 wxScrolledWindow_SetScrollPageSize(_arg0,_arg1,_arg2);
b7e72427 6866
474c48f9 6867 wxPyEndAllowThreads(__tstate);
4dfaa61e 6868 if (PyErr_Occurred()) return NULL;
b7e72427
RD
6869} Py_INCREF(Py_None);
6870 _resultobj = Py_None;
6871 return _resultobj;
6872}
6873
eb715945
RD
6874#define wxScrolledWindow_SetTargetWindow(_swigobj,_swigarg0) (_swigobj->SetTargetWindow(_swigarg0))
6875static PyObject *_wrap_wxScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6876 PyObject * _resultobj;
6877 wxScrolledWindow * _arg0;
6878 wxWindow * _arg1;
6879 PyObject * _argo0 = 0;
6880 PyObject * _argo1 = 0;
6881 char *_kwnames[] = { "self","window", NULL };
6882
6883 self = self;
6884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxScrolledWindow_SetTargetWindow",_kwnames,&_argo0,&_argo1))
6885 return NULL;
6886 if (_argo0) {
6887 if (_argo0 == Py_None) { _arg0 = NULL; }
6888 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
6889 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_SetTargetWindow. Expected _wxScrolledWindow_p.");
6890 return NULL;
6891 }
6892 }
6893 if (_argo1) {
6894 if (_argo1 == Py_None) { _arg1 = NULL; }
6895 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
6896 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxScrolledWindow_SetTargetWindow. Expected _wxWindow_p.");
6897 return NULL;
6898 }
6899 }
6900{
474c48f9 6901 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6902 wxScrolledWindow_SetTargetWindow(_arg0,_arg1);
eb715945 6903
474c48f9 6904 wxPyEndAllowThreads(__tstate);
4dfaa61e 6905 if (PyErr_Occurred()) return NULL;
eb715945
RD
6906} Py_INCREF(Py_None);
6907 _resultobj = Py_None;
6908 return _resultobj;
6909}
6910
4c9993c3
RD
6911#define wxScrolledWindow_GetViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetViewStart(_swigarg0,_swigarg1))
6912static PyObject *_wrap_wxScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
6913 PyObject * _resultobj;
6914 wxScrolledWindow * _arg0;
6915 int * _arg1;
6916 int temp;
6917 int * _arg2;
6918 int temp0;
6919 PyObject * _argo0 = 0;
6920 char *_kwnames[] = { "self", NULL };
6921
6922 self = self;
6923{
6924 _arg1 = &temp;
6925}
6926{
6927 _arg2 = &temp0;
6928}
6929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_GetViewStart",_kwnames,&_argo0))
6930 return NULL;
6931 if (_argo0) {
6932 if (_argo0 == Py_None) { _arg0 = NULL; }
6933 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
6934 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetViewStart. Expected _wxScrolledWindow_p.");
6935 return NULL;
6936 }
6937 }
6938{
474c48f9 6939 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6940 wxScrolledWindow_GetViewStart(_arg0,_arg1,_arg2);
4c9993c3 6941
474c48f9 6942 wxPyEndAllowThreads(__tstate);
4dfaa61e 6943 if (PyErr_Occurred()) return NULL;
4c9993c3
RD
6944} Py_INCREF(Py_None);
6945 _resultobj = Py_None;
6946{
6947 PyObject *o;
6948 o = PyInt_FromLong((long) (*_arg1));
6949 _resultobj = t_output_helper(_resultobj, o);
6950}
6951{
6952 PyObject *o;
6953 o = PyInt_FromLong((long) (*_arg2));
6954 _resultobj = t_output_helper(_resultobj, o);
6955}
6956 return _resultobj;
6957}
6958
a884bee5
RD
6959#define wxScrolledWindow_CalcScrolledPosition1(_swigobj,_swigarg0) (_swigobj->CalcScrolledPosition(_swigarg0))
6960static PyObject *_wrap_wxScrolledWindow_CalcScrolledPosition1(PyObject *self, PyObject *args, PyObject *kwargs) {
6961 PyObject * _resultobj;
6962 wxPoint * _result;
6963 wxScrolledWindow * _arg0;
6964 wxPoint * _arg1;
6965 PyObject * _argo0 = 0;
6966 wxPoint temp;
6967 PyObject * _obj1 = 0;
6968 char *_kwnames[] = { "self","pt", NULL };
6969 char _ptemp[128];
6970
6971 self = self;
6972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxScrolledWindow_CalcScrolledPosition1",_kwnames,&_argo0,&_obj1))
6973 return NULL;
6974 if (_argo0) {
6975 if (_argo0 == Py_None) { _arg0 = NULL; }
6976 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
6977 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition1. Expected _wxScrolledWindow_p.");
6978 return NULL;
6979 }
6980 }
6981{
6982 _arg1 = &temp;
6983 if (! wxPoint_helper(_obj1, &_arg1))
6984 return NULL;
6985}
6986{
6987 PyThreadState* __tstate = wxPyBeginAllowThreads();
6988 _result = new wxPoint (wxScrolledWindow_CalcScrolledPosition1(_arg0,*_arg1));
6989
6990 wxPyEndAllowThreads(__tstate);
6991 if (PyErr_Occurred()) return NULL;
6992} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
6993 _resultobj = Py_BuildValue("s",_ptemp);
6994 return _resultobj;
6995}
6996
6997#define wxScrolledWindow_CalcScrolledPosition2(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcScrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6998static PyObject *_wrap_wxScrolledWindow_CalcScrolledPosition2(PyObject *self, PyObject *args, PyObject *kwargs) {
9d8bd15f
RD
6999 PyObject * _resultobj;
7000 wxScrolledWindow * _arg0;
7001 int _arg1;
7002 int _arg2;
7003 int * _arg3;
7004 int temp;
7005 int * _arg4;
7006 int temp0;
7007 PyObject * _argo0 = 0;
7008 char *_kwnames[] = { "self","x","y", NULL };
7009
7010 self = self;
7011{
7012 _arg3 = &temp;
7013}
7014{
7015 _arg4 = &temp0;
7016}
a884bee5 7017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxScrolledWindow_CalcScrolledPosition2",_kwnames,&_argo0,&_arg1,&_arg2))
9d8bd15f
RD
7018 return NULL;
7019 if (_argo0) {
7020 if (_argo0 == Py_None) { _arg0 = NULL; }
7021 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
a884bee5 7022 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition2. Expected _wxScrolledWindow_p.");
9d8bd15f
RD
7023 return NULL;
7024 }
7025 }
7026{
474c48f9 7027 PyThreadState* __tstate = wxPyBeginAllowThreads();
a884bee5 7028 wxScrolledWindow_CalcScrolledPosition2(_arg0,_arg1,_arg2,_arg3,_arg4);
9d8bd15f 7029
474c48f9 7030 wxPyEndAllowThreads(__tstate);
4dfaa61e 7031 if (PyErr_Occurred()) return NULL;
9d8bd15f
RD
7032} Py_INCREF(Py_None);
7033 _resultobj = Py_None;
7034{
7035 PyObject *o;
7036 o = PyInt_FromLong((long) (*_arg3));
7037 _resultobj = t_output_helper(_resultobj, o);
7038}
7039{
7040 PyObject *o;
7041 o = PyInt_FromLong((long) (*_arg4));
7042 _resultobj = t_output_helper(_resultobj, o);
7043}
7044 return _resultobj;
7045}
7046
a884bee5
RD
7047#define wxScrolledWindow_CalcUnscrolledPosition1(_swigobj,_swigarg0) (_swigobj->CalcUnscrolledPosition(_swigarg0))
7048static PyObject *_wrap_wxScrolledWindow_CalcUnscrolledPosition1(PyObject *self, PyObject *args, PyObject *kwargs) {
7049 PyObject * _resultobj;
7050 wxPoint * _result;
7051 wxScrolledWindow * _arg0;
7052 wxPoint * _arg1;
7053 PyObject * _argo0 = 0;
7054 wxPoint temp;
7055 PyObject * _obj1 = 0;
7056 char *_kwnames[] = { "self","pt", NULL };
7057 char _ptemp[128];
7058
7059 self = self;
7060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxScrolledWindow_CalcUnscrolledPosition1",_kwnames,&_argo0,&_obj1))
7061 return NULL;
7062 if (_argo0) {
7063 if (_argo0 == Py_None) { _arg0 = NULL; }
7064 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7065 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition1. Expected _wxScrolledWindow_p.");
7066 return NULL;
7067 }
7068 }
7069{
7070 _arg1 = &temp;
7071 if (! wxPoint_helper(_obj1, &_arg1))
7072 return NULL;
7073}
7074{
7075 PyThreadState* __tstate = wxPyBeginAllowThreads();
7076 _result = new wxPoint (wxScrolledWindow_CalcUnscrolledPosition1(_arg0,*_arg1));
7077
7078 wxPyEndAllowThreads(__tstate);
7079 if (PyErr_Occurred()) return NULL;
7080} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
7081 _resultobj = Py_BuildValue("s",_ptemp);
7082 return _resultobj;
7083}
7084
7085#define wxScrolledWindow_CalcUnscrolledPosition2(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcUnscrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7086static PyObject *_wrap_wxScrolledWindow_CalcUnscrolledPosition2(PyObject *self, PyObject *args, PyObject *kwargs) {
9d8bd15f
RD
7087 PyObject * _resultobj;
7088 wxScrolledWindow * _arg0;
7089 int _arg1;
7090 int _arg2;
7091 int * _arg3;
7092 int temp;
7093 int * _arg4;
7094 int temp0;
7095 PyObject * _argo0 = 0;
7096 char *_kwnames[] = { "self","x","y", NULL };
7097
7098 self = self;
7099{
7100 _arg3 = &temp;
7101}
7102{
7103 _arg4 = &temp0;
7104}
a884bee5 7105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxScrolledWindow_CalcUnscrolledPosition2",_kwnames,&_argo0,&_arg1,&_arg2))
9d8bd15f
RD
7106 return NULL;
7107 if (_argo0) {
7108 if (_argo0 == Py_None) { _arg0 = NULL; }
7109 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
a884bee5 7110 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition2. Expected _wxScrolledWindow_p.");
9d8bd15f
RD
7111 return NULL;
7112 }
7113 }
7114{
474c48f9 7115 PyThreadState* __tstate = wxPyBeginAllowThreads();
a884bee5 7116 wxScrolledWindow_CalcUnscrolledPosition2(_arg0,_arg1,_arg2,_arg3,_arg4);
9d8bd15f 7117
474c48f9 7118 wxPyEndAllowThreads(__tstate);
4dfaa61e 7119 if (PyErr_Occurred()) return NULL;
9d8bd15f
RD
7120} Py_INCREF(Py_None);
7121 _resultobj = Py_None;
7122{
7123 PyObject *o;
7124 o = PyInt_FromLong((long) (*_arg3));
7125 _resultobj = t_output_helper(_resultobj, o);
7126}
7127{
7128 PyObject *o;
7129 o = PyInt_FromLong((long) (*_arg4));
7130 _resultobj = t_output_helper(_resultobj, o);
7131}
7132 return _resultobj;
7133}
7134
7a446686
RD
7135#define wxScrolledWindow_SetScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScale(_swigarg0,_swigarg1))
7136static PyObject *_wrap_wxScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
7137 PyObject * _resultobj;
7138 wxScrolledWindow * _arg0;
7139 double _arg1;
7140 double _arg2;
7141 PyObject * _argo0 = 0;
7142 char *_kwnames[] = { "self","xs","ys", NULL };
7143
7144 self = self;
7145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxScrolledWindow_SetScale",_kwnames,&_argo0,&_arg1,&_arg2))
7146 return NULL;
7147 if (_argo0) {
7148 if (_argo0 == Py_None) { _arg0 = NULL; }
7149 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7150 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_SetScale. Expected _wxScrolledWindow_p.");
7151 return NULL;
7152 }
7153 }
7154{
474c48f9 7155 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7156 wxScrolledWindow_SetScale(_arg0,_arg1,_arg2);
7a446686 7157
474c48f9 7158 wxPyEndAllowThreads(__tstate);
4dfaa61e 7159 if (PyErr_Occurred()) return NULL;
7a446686
RD
7160} Py_INCREF(Py_None);
7161 _resultobj = Py_None;
7162 return _resultobj;
7163}
7164
7165#define wxScrolledWindow_GetScaleX(_swigobj) (_swigobj->GetScaleX())
7166static PyObject *_wrap_wxScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
7167 PyObject * _resultobj;
7168 double _result;
7169 wxScrolledWindow * _arg0;
7170 PyObject * _argo0 = 0;
7171 char *_kwnames[] = { "self", NULL };
7172
7173 self = self;
7174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_GetScaleX",_kwnames,&_argo0))
7175 return NULL;
7176 if (_argo0) {
7177 if (_argo0 == Py_None) { _arg0 = NULL; }
7178 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7179 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetScaleX. Expected _wxScrolledWindow_p.");
7180 return NULL;
7181 }
7182 }
7183{
474c48f9 7184 PyThreadState* __tstate = wxPyBeginAllowThreads();
a884bee5
RD
7185 _result = (double )wxScrolledWindow_GetScaleX(_arg0);
7186
7187 wxPyEndAllowThreads(__tstate);
7188 if (PyErr_Occurred()) return NULL;
7189} _resultobj = Py_BuildValue("d",_result);
7190 return _resultobj;
7191}
7192
7193#define wxScrolledWindow_GetScaleY(_swigobj) (_swigobj->GetScaleY())
7194static PyObject *_wrap_wxScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
7195 PyObject * _resultobj;
7196 double _result;
7197 wxScrolledWindow * _arg0;
7198 PyObject * _argo0 = 0;
7199 char *_kwnames[] = { "self", NULL };
7200
7201 self = self;
7202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_GetScaleY",_kwnames,&_argo0))
7203 return NULL;
7204 if (_argo0) {
7205 if (_argo0 == Py_None) { _arg0 = NULL; }
7206 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7207 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetScaleY. Expected _wxScrolledWindow_p.");
7208 return NULL;
7209 }
7210 }
7211{
7212 PyThreadState* __tstate = wxPyBeginAllowThreads();
7213 _result = (double )wxScrolledWindow_GetScaleY(_arg0);
7214
7215 wxPyEndAllowThreads(__tstate);
7216 if (PyErr_Occurred()) return NULL;
7217} _resultobj = Py_BuildValue("d",_result);
7218 return _resultobj;
7219}
7220
7221#define wxScrolledWindow_AdjustScrollbars(_swigobj) (_swigobj->AdjustScrollbars())
7222static PyObject *_wrap_wxScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
7223 PyObject * _resultobj;
7224 wxScrolledWindow * _arg0;
7225 PyObject * _argo0 = 0;
7226 char *_kwnames[] = { "self", NULL };
7227
7228 self = self;
7229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_AdjustScrollbars",_kwnames,&_argo0))
7230 return NULL;
7231 if (_argo0) {
7232 if (_argo0 == Py_None) { _arg0 = NULL; }
7233 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7234 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_AdjustScrollbars. Expected _wxScrolledWindow_p.");
7235 return NULL;
7236 }
7237 }
7238{
7239 PyThreadState* __tstate = wxPyBeginAllowThreads();
7240 wxScrolledWindow_AdjustScrollbars(_arg0);
7241
7242 wxPyEndAllowThreads(__tstate);
7243 if (PyErr_Occurred()) return NULL;
7244} Py_INCREF(Py_None);
7245 _resultobj = Py_None;
7246 return _resultobj;
7247}
7248
7249#define wxScrolledWindow_Layout(_swigobj) (_swigobj->Layout())
7250static PyObject *_wrap_wxScrolledWindow_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
7251 PyObject * _resultobj;
7252 bool _result;
7253 wxScrolledWindow * _arg0;
7254 PyObject * _argo0 = 0;
7255 char *_kwnames[] = { "self", NULL };
7256
7257 self = self;
7258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_Layout",_kwnames,&_argo0))
7259 return NULL;
7260 if (_argo0) {
7261 if (_argo0 == Py_None) { _arg0 = NULL; }
7262 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7263 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_Layout. Expected _wxScrolledWindow_p.");
7264 return NULL;
7265 }
7266 }
7267{
7268 PyThreadState* __tstate = wxPyBeginAllowThreads();
7269 _result = (bool )wxScrolledWindow_Layout(_arg0);
7270
7271 wxPyEndAllowThreads(__tstate);
7272 if (PyErr_Occurred()) return NULL;
7273} _resultobj = Py_BuildValue("i",_result);
7274 return _resultobj;
7275}
7276
7277static void *SwigwxMenuTowxEvtHandler(void *ptr) {
7278 wxMenu *src;
7279 wxEvtHandler *dest;
7280 src = (wxMenu *) ptr;
7281 dest = (wxEvtHandler *) src;
7282 return (void *) dest;
7283}
7284
7285static void *SwigwxMenuTowxObject(void *ptr) {
7286 wxMenu *src;
7287 wxObject *dest;
7288 src = (wxMenu *) ptr;
7289 dest = (wxObject *) src;
7290 return (void *) dest;
7291}
7292
7293#define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
7294static PyObject *_wrap_new_wxMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
7295 PyObject * _resultobj;
7296 wxMenu * _result;
9a74fcaf 7297 wxString * _arg0 = (wxString *) &wxPyEmptyString;
a884bee5
RD
7298 long _arg1 = (long ) 0;
7299 PyObject * _obj0 = 0;
7300 char *_kwnames[] = { "title","style", NULL };
7301 char _ptemp[128];
7302
7303 self = self;
7304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|Ol:new_wxMenu",_kwnames,&_obj0,&_arg1))
7305 return NULL;
7306 if (_obj0)
7307{
7308 _arg0 = wxString_in_helper(_obj0);
7309 if (_arg0 == NULL)
7310 return NULL;
7311}
7312{
7313 PyThreadState* __tstate = wxPyBeginAllowThreads();
7314 _result = (wxMenu *)new_wxMenu(*_arg0,_arg1);
7315
7316 wxPyEndAllowThreads(__tstate);
7317 if (PyErr_Occurred()) return NULL;
7318} if (_result) {
7319 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenu_p");
7320 _resultobj = Py_BuildValue("s",_ptemp);
7321 } else {
7322 Py_INCREF(Py_None);
7323 _resultobj = Py_None;
7324 }
7325{
7326 if (_obj0)
7327 delete _arg0;
7328}
7329 return _resultobj;
7330}
7331
7332#define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7333static PyObject *_wrap_wxMenu_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
7334 PyObject * _resultobj;
7335 wxMenu * _arg0;
7336 int _arg1;
7337 wxString * _arg2;
9a74fcaf 7338 wxString * _arg3 = (wxString *) &wxPyEmptyString;
546bfbea 7339 wxItemKind _arg4 = (wxItemKind ) wxITEM_NORMAL;
a884bee5
RD
7340 PyObject * _argo0 = 0;
7341 PyObject * _obj2 = 0;
7342 PyObject * _obj3 = 0;
7343 char *_kwnames[] = { "self","id","item","helpString","kind", NULL };
7344
7345 self = self;
7346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|Oi:wxMenu_Append",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4))
7347 return NULL;
7348 if (_argo0) {
7349 if (_argo0 == Py_None) { _arg0 = NULL; }
7350 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7351 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
7352 return NULL;
7353 }
7354 }
7355{
7356 _arg2 = wxString_in_helper(_obj2);
7357 if (_arg2 == NULL)
7358 return NULL;
7359}
7360 if (_obj3)
7361{
7362 _arg3 = wxString_in_helper(_obj3);
7363 if (_arg3 == NULL)
7364 return NULL;
7365}
7366{
7367 PyThreadState* __tstate = wxPyBeginAllowThreads();
7368 wxMenu_Append(_arg0,_arg1,*_arg2,*_arg3,_arg4);
7369
7370 wxPyEndAllowThreads(__tstate);
7371 if (PyErr_Occurred()) return NULL;
7372} Py_INCREF(Py_None);
7373 _resultobj = Py_None;
7374{
7375 if (_obj2)
7376 delete _arg2;
7377}
7378{
7379 if (_obj3)
7380 delete _arg3;
7381}
7382 return _resultobj;
7383}
7384
7385#define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7386static PyObject *_wrap_wxMenu_AppendMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
7387 PyObject * _resultobj;
7388 wxMenu * _arg0;
7389 int _arg1;
7390 wxString * _arg2;
7391 wxMenu * _arg3;
9a74fcaf 7392 wxString * _arg4 = (wxString *) &wxPyEmptyString;
a884bee5
RD
7393 PyObject * _argo0 = 0;
7394 PyObject * _obj2 = 0;
7395 PyObject * _argo3 = 0;
7396 PyObject * _obj4 = 0;
7397 char *_kwnames[] = { "self","id","item","subMenu","helpString", NULL };
7398
7399 self = self;
7400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO|O:wxMenu_AppendMenu",_kwnames,&_argo0,&_arg1,&_obj2,&_argo3,&_obj4))
7401 return NULL;
7402 if (_argo0) {
7403 if (_argo0 == Py_None) { _arg0 = NULL; }
7404 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7405 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
7406 return NULL;
7407 }
7408 }
7409{
7410 _arg2 = wxString_in_helper(_obj2);
7411 if (_arg2 == NULL)
7412 return NULL;
7413}
7414 if (_argo3) {
7415 if (_argo3 == Py_None) { _arg3 = NULL; }
7416 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxMenu_p")) {
7417 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
7418 return NULL;
7419 }
7420 }
7421 if (_obj4)
7422{
7423 _arg4 = wxString_in_helper(_obj4);
7424 if (_arg4 == NULL)
7425 return NULL;
7426}
7427{
7428 PyThreadState* __tstate = wxPyBeginAllowThreads();
7429 wxMenu_AppendMenu(_arg0,_arg1,*_arg2,_arg3,*_arg4);
7430
7431 wxPyEndAllowThreads(__tstate);
7432 if (PyErr_Occurred()) return NULL;
7433} Py_INCREF(Py_None);
7434 _resultobj = Py_None;
7435{
7436 if (_obj2)
7437 delete _arg2;
7438}
7439{
7440 if (_obj4)
7441 delete _arg4;
7442}
7443 return _resultobj;
7444}
7445
7446#define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
7447static PyObject *_wrap_wxMenu_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
7448 PyObject * _resultobj;
7449 wxMenu * _arg0;
7450 wxMenuItem * _arg1;
7451 PyObject * _argo0 = 0;
7452 PyObject * _argo1 = 0;
7453 char *_kwnames[] = { "self","item", NULL };
7454
7455 self = self;
7456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_AppendItem",_kwnames,&_argo0,&_argo1))
7457 return NULL;
7458 if (_argo0) {
7459 if (_argo0 == Py_None) { _arg0 = NULL; }
7460 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7461 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
7462 return NULL;
7463 }
7464 }
7465 if (_argo1) {
7466 if (_argo1 == Py_None) { _arg1 = NULL; }
7467 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenuItem_p")) {
7468 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
7469 return NULL;
7470 }
7471 }
7472{
7473 PyThreadState* __tstate = wxPyBeginAllowThreads();
7474 wxMenu_AppendItem(_arg0,_arg1);
7475
7476 wxPyEndAllowThreads(__tstate);
7477 if (PyErr_Occurred()) return NULL;
7478} Py_INCREF(Py_None);
7479 _resultobj = Py_None;
7480 return _resultobj;
7481}
7482
7483#define wxMenu_AppendCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AppendCheckItem(_swigarg0,_swigarg1,_swigarg2))
7484static PyObject *_wrap_wxMenu_AppendCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
7485 PyObject * _resultobj;
7486 wxMenu * _arg0;
7487 int _arg1;
7488 wxString * _arg2;
9a74fcaf 7489 wxString * _arg3 = (wxString *) &wxPyEmptyString;
a884bee5
RD
7490 PyObject * _argo0 = 0;
7491 PyObject * _obj2 = 0;
7492 PyObject * _obj3 = 0;
7493 char *_kwnames[] = { "self","id","text","help", NULL };
7494
7495 self = self;
7496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|O:wxMenu_AppendCheckItem",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3))
7497 return NULL;
7498 if (_argo0) {
7499 if (_argo0 == Py_None) { _arg0 = NULL; }
7500 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7501 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendCheckItem. Expected _wxMenu_p.");
7502 return NULL;
7503 }
7504 }
7505{
7506 _arg2 = wxString_in_helper(_obj2);
7507 if (_arg2 == NULL)
7508 return NULL;
7509}
7510 if (_obj3)
7511{
7512 _arg3 = wxString_in_helper(_obj3);
7513 if (_arg3 == NULL)
7514 return NULL;
7515}
7516{
7517 PyThreadState* __tstate = wxPyBeginAllowThreads();
7518 wxMenu_AppendCheckItem(_arg0,_arg1,*_arg2,*_arg3);
7519
7520 wxPyEndAllowThreads(__tstate);
7521 if (PyErr_Occurred()) return NULL;
7522} Py_INCREF(Py_None);
7523 _resultobj = Py_None;
7524{
7525 if (_obj2)
7526 delete _arg2;
7527}
7528{
7529 if (_obj3)
7530 delete _arg3;
7531}
7532 return _resultobj;
7533}
7534
7535#define wxMenu_AppendRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AppendRadioItem(_swigarg0,_swigarg1,_swigarg2))
7536static PyObject *_wrap_wxMenu_AppendRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
7537 PyObject * _resultobj;
7538 wxMenu * _arg0;
7539 int _arg1;
7540 wxString * _arg2;
9a74fcaf 7541 wxString * _arg3 = (wxString *) &wxPyEmptyString;
a884bee5
RD
7542 PyObject * _argo0 = 0;
7543 PyObject * _obj2 = 0;
7544 PyObject * _obj3 = 0;
7545 char *_kwnames[] = { "self","id","text","help", NULL };
7546
7547 self = self;
7548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|O:wxMenu_AppendRadioItem",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3))
7549 return NULL;
7550 if (_argo0) {
7551 if (_argo0 == Py_None) { _arg0 = NULL; }
7552 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7553 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendRadioItem. Expected _wxMenu_p.");
7554 return NULL;
7555 }
7556 }
7557{
7558 _arg2 = wxString_in_helper(_obj2);
7559 if (_arg2 == NULL)
7560 return NULL;
7561}
7562 if (_obj3)
7563{
7564 _arg3 = wxString_in_helper(_obj3);
7565 if (_arg3 == NULL)
7566 return NULL;
7567}
7568{
7569 PyThreadState* __tstate = wxPyBeginAllowThreads();
7570 wxMenu_AppendRadioItem(_arg0,_arg1,*_arg2,*_arg3);
7571
7572 wxPyEndAllowThreads(__tstate);
7573 if (PyErr_Occurred()) return NULL;
7574} Py_INCREF(Py_None);
7575 _resultobj = Py_None;
7576{
7577 if (_obj2)
7578 delete _arg2;
7579}
7580{
7581 if (_obj3)
7582 delete _arg3;
7583}
7584 return _resultobj;
7585}
7586
7587#define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
7588static PyObject *_wrap_wxMenu_AppendSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
7589 PyObject * _resultobj;
7590 wxMenu * _arg0;
7591 PyObject * _argo0 = 0;
7592 char *_kwnames[] = { "self", NULL };
7593
7594 self = self;
7595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_AppendSeparator",_kwnames,&_argo0))
7596 return NULL;
7597 if (_argo0) {
7598 if (_argo0 == Py_None) { _arg0 = NULL; }
7599 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7600 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
7601 return NULL;
7602 }
7603 }
7604{
7605 PyThreadState* __tstate = wxPyBeginAllowThreads();
7606 wxMenu_AppendSeparator(_arg0);
7607
7608 wxPyEndAllowThreads(__tstate);
7609 if (PyErr_Occurred()) return NULL;
7610} Py_INCREF(Py_None);
7611 _resultobj = Py_None;
7612 return _resultobj;
7613}
7614
7615#define wxMenu_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7616static PyObject *_wrap_wxMenu_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
7617 PyObject * _resultobj;
7618 wxMenu * _arg0;
7619 size_t _arg1;
7620 int _arg2;
7621 wxString * _arg3;
9a74fcaf 7622 wxString * _arg4 = (wxString *) &wxPyEmptyString;
546bfbea 7623 wxItemKind _arg5 = (wxItemKind ) wxITEM_NORMAL;
a884bee5
RD
7624 PyObject * _argo0 = 0;
7625 PyObject * _obj3 = 0;
7626 PyObject * _obj4 = 0;
7627 char *_kwnames[] = { "self","pos","id","text","help","kind", NULL };
7628
7629 self = self;
7630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO|Oi:wxMenu_Insert",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4,&_arg5))
7631 return NULL;
7632 if (_argo0) {
7633 if (_argo0 == Py_None) { _arg0 = NULL; }
7634 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7635 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Insert. Expected _wxMenu_p.");
7636 return NULL;
7637 }
7638 }
7639{
7640 _arg3 = wxString_in_helper(_obj3);
7641 if (_arg3 == NULL)
7642 return NULL;
7643}
7644 if (_obj4)
7645{
7646 _arg4 = wxString_in_helper(_obj4);
7647 if (_arg4 == NULL)
7648 return NULL;
7649}
7650{
7651 PyThreadState* __tstate = wxPyBeginAllowThreads();
7652 wxMenu_Insert(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5);
7653
7654 wxPyEndAllowThreads(__tstate);
7655 if (PyErr_Occurred()) return NULL;
7656} Py_INCREF(Py_None);
7657 _resultobj = Py_None;
7658{
7659 if (_obj3)
7660 delete _arg3;
7661}
7662{
7663 if (_obj4)
7664 delete _arg4;
7665}
7666 return _resultobj;
7667}
7668
7669#define wxMenu_InsertSeparator(_swigobj,_swigarg0) (_swigobj->InsertSeparator(_swigarg0))
7670static PyObject *_wrap_wxMenu_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
7671 PyObject * _resultobj;
7672 wxMenu * _arg0;
7673 size_t _arg1;
7674 PyObject * _argo0 = 0;
7675 char *_kwnames[] = { "self","pos", NULL };
7676
7677 self = self;
7678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_InsertSeparator",_kwnames,&_argo0,&_arg1))
7679 return NULL;
7680 if (_argo0) {
7681 if (_argo0 == Py_None) { _arg0 = NULL; }
7682 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7683 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_InsertSeparator. Expected _wxMenu_p.");
7684 return NULL;
7685 }
7686 }
7687{
7688 PyThreadState* __tstate = wxPyBeginAllowThreads();
7689 wxMenu_InsertSeparator(_arg0,_arg1);
7690
7691 wxPyEndAllowThreads(__tstate);
7692 if (PyErr_Occurred()) return NULL;
7693} Py_INCREF(Py_None);
7694 _resultobj = Py_None;
7695 return _resultobj;
7696}
7697
7698#define wxMenu_InsertCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertCheckItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7699static PyObject *_wrap_wxMenu_InsertCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
7700 PyObject * _resultobj;
7701 wxMenu * _arg0;
7702 size_t _arg1;
7703 int _arg2;
7704 wxString * _arg3;
9a74fcaf 7705 wxString * _arg4 = (wxString *) &wxPyEmptyString;
a884bee5
RD
7706 PyObject * _argo0 = 0;
7707 PyObject * _obj3 = 0;
7708 PyObject * _obj4 = 0;
7709 char *_kwnames[] = { "self","pos","id","text","help", NULL };
7710
7711 self = self;
7712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO|O:wxMenu_InsertCheckItem",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4))
7713 return NULL;
7714 if (_argo0) {
7715 if (_argo0 == Py_None) { _arg0 = NULL; }
7716 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7717 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_InsertCheckItem. Expected _wxMenu_p.");
7718 return NULL;
7719 }
7720 }
7721{
7722 _arg3 = wxString_in_helper(_obj3);
7723 if (_arg3 == NULL)
7724 return NULL;
7725}
7726 if (_obj4)
7727{
7728 _arg4 = wxString_in_helper(_obj4);
7729 if (_arg4 == NULL)
7730 return NULL;
7731}
7732{
7733 PyThreadState* __tstate = wxPyBeginAllowThreads();
7734 wxMenu_InsertCheckItem(_arg0,_arg1,_arg2,*_arg3,*_arg4);
7735
7736 wxPyEndAllowThreads(__tstate);
7737 if (PyErr_Occurred()) return NULL;
7738} Py_INCREF(Py_None);
7739 _resultobj = Py_None;
7740{
7741 if (_obj3)
7742 delete _arg3;
7743}
7744{
7745 if (_obj4)
7746 delete _arg4;
7747}
7748 return _resultobj;
7749}
7750
7751#define wxMenu_InsertRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertRadioItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7752static PyObject *_wrap_wxMenu_InsertRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
7753 PyObject * _resultobj;
7754 wxMenu * _arg0;
7755 size_t _arg1;
7756 int _arg2;
7757 wxString * _arg3;
9a74fcaf 7758 wxString * _arg4 = (wxString *) &wxPyEmptyString;
a884bee5
RD
7759 PyObject * _argo0 = 0;
7760 PyObject * _obj3 = 0;
7761 PyObject * _obj4 = 0;
7762 char *_kwnames[] = { "self","pos","id","text","help", NULL };
7763
7764 self = self;
7765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO|O:wxMenu_InsertRadioItem",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4))
7766 return NULL;
7767 if (_argo0) {
7768 if (_argo0 == Py_None) { _arg0 = NULL; }
7769 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7770 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_InsertRadioItem. Expected _wxMenu_p.");
7771 return NULL;
7772 }
7773 }
7774{
7775 _arg3 = wxString_in_helper(_obj3);
7776 if (_arg3 == NULL)
7777 return NULL;
7778}
7779 if (_obj4)
7780{
7781 _arg4 = wxString_in_helper(_obj4);
7782 if (_arg4 == NULL)
7783 return NULL;
7784}
7785{
7786 PyThreadState* __tstate = wxPyBeginAllowThreads();
7787 wxMenu_InsertRadioItem(_arg0,_arg1,_arg2,*_arg3,*_arg4);
7788
7789 wxPyEndAllowThreads(__tstate);
7790 if (PyErr_Occurred()) return NULL;
7791} Py_INCREF(Py_None);
7792 _resultobj = Py_None;
7793{
7794 if (_obj3)
7795 delete _arg3;
7796}
7797{
7798 if (_obj4)
7799 delete _arg4;
7800}
7801 return _resultobj;
7802}
7803
7804#define wxMenu_InsertMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7805static PyObject *_wrap_wxMenu_InsertMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
7806 PyObject * _resultobj;
7807 wxMenu * _arg0;
7808 size_t _arg1;
7809 int _arg2;
7810 wxString * _arg3;
7811 wxMenu * _arg4;
9a74fcaf 7812 wxString * _arg5 = (wxString *) &wxPyEmptyString;
a884bee5
RD
7813 PyObject * _argo0 = 0;
7814 PyObject * _obj3 = 0;
7815 PyObject * _argo4 = 0;
7816 PyObject * _obj5 = 0;
7817 char *_kwnames[] = { "self","pos","id","text","submenu","help", NULL };
7818
7819 self = self;
7820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOO|O:wxMenu_InsertMenu",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_argo4,&_obj5))
7821 return NULL;
7822 if (_argo0) {
7823 if (_argo0 == Py_None) { _arg0 = NULL; }
7824 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7825 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_InsertMenu. Expected _wxMenu_p.");
7826 return NULL;
7827 }
7828 }
7829{
7830 _arg3 = wxString_in_helper(_obj3);
7831 if (_arg3 == NULL)
7832 return NULL;
7833}
7834 if (_argo4) {
7835 if (_argo4 == Py_None) { _arg4 = NULL; }
7836 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxMenu_p")) {
7837 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxMenu_InsertMenu. Expected _wxMenu_p.");
7838 return NULL;
7839 }
7840 }
7841 if (_obj5)
7842{
7843 _arg5 = wxString_in_helper(_obj5);
7844 if (_arg5 == NULL)
7845 return NULL;
7846}
7847{
7848 PyThreadState* __tstate = wxPyBeginAllowThreads();
7849 wxMenu_InsertMenu(_arg0,_arg1,_arg2,*_arg3,_arg4,*_arg5);
7a446686 7850
474c48f9 7851 wxPyEndAllowThreads(__tstate);
4dfaa61e 7852 if (PyErr_Occurred()) return NULL;
a884bee5
RD
7853} Py_INCREF(Py_None);
7854 _resultobj = Py_None;
7855{
7856 if (_obj3)
7857 delete _arg3;
7858}
7859{
7860 if (_obj5)
7861 delete _arg5;
7862}
7a446686
RD
7863 return _resultobj;
7864}
7865
a884bee5
RD
7866#define wxMenu_InsertItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Insert(_swigarg0,_swigarg1))
7867static PyObject *_wrap_wxMenu_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
7a446686 7868 PyObject * _resultobj;
a884bee5
RD
7869 bool _result;
7870 wxMenu * _arg0;
7871 size_t _arg1;
7872 wxMenuItem * _arg2;
7a446686 7873 PyObject * _argo0 = 0;
a884bee5
RD
7874 PyObject * _argo2 = 0;
7875 char *_kwnames[] = { "self","pos","item", NULL };
7a446686
RD
7876
7877 self = self;
a884bee5 7878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenu_InsertItem",_kwnames,&_argo0,&_arg1,&_argo2))
7a446686
RD
7879 return NULL;
7880 if (_argo0) {
7881 if (_argo0 == Py_None) { _arg0 = NULL; }
a884bee5
RD
7882 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7883 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_InsertItem. Expected _wxMenu_p.");
7884 return NULL;
7885 }
7886 }
7887 if (_argo2) {
7888 if (_argo2 == Py_None) { _arg2 = NULL; }
7889 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxMenuItem_p")) {
7890 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxMenu_InsertItem. Expected _wxMenuItem_p.");
7a446686
RD
7891 return NULL;
7892 }
7893 }
7894{
474c48f9 7895 PyThreadState* __tstate = wxPyBeginAllowThreads();
a884bee5 7896 _result = (bool )wxMenu_InsertItem(_arg0,_arg1,_arg2);
7a446686 7897
474c48f9 7898 wxPyEndAllowThreads(__tstate);
4dfaa61e 7899 if (PyErr_Occurred()) return NULL;
a884bee5 7900} _resultobj = Py_BuildValue("i",_result);
7a446686
RD
7901 return _resultobj;
7902}
7903
a884bee5
RD
7904#define wxMenu_Prepend(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Prepend(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7905static PyObject *_wrap_wxMenu_Prepend(PyObject *self, PyObject *args, PyObject *kwargs) {
7a446686 7906 PyObject * _resultobj;
a884bee5
RD
7907 wxMenu * _arg0;
7908 int _arg1;
7909 wxString * _arg2;
9a74fcaf 7910 wxString * _arg3 = (wxString *) &wxPyEmptyString;
546bfbea 7911 wxItemKind _arg4 = (wxItemKind ) wxITEM_NORMAL;
7a446686 7912 PyObject * _argo0 = 0;
a884bee5
RD
7913 PyObject * _obj2 = 0;
7914 PyObject * _obj3 = 0;
7915 char *_kwnames[] = { "self","id","text","help","kind", NULL };
7a446686
RD
7916
7917 self = self;
a884bee5 7918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|Oi:wxMenu_Prepend",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4))
7a446686
RD
7919 return NULL;
7920 if (_argo0) {
7921 if (_argo0 == Py_None) { _arg0 = NULL; }
a884bee5
RD
7922 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7923 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Prepend. Expected _wxMenu_p.");
7a446686
RD
7924 return NULL;
7925 }
7926 }
a884bee5
RD
7927{
7928 _arg2 = wxString_in_helper(_obj2);
7929 if (_arg2 == NULL)
7930 return NULL;
7931}
7932 if (_obj3)
7933{
7934 _arg3 = wxString_in_helper(_obj3);
7935 if (_arg3 == NULL)
7936 return NULL;
7937}
7a446686 7938{
474c48f9 7939 PyThreadState* __tstate = wxPyBeginAllowThreads();
a884bee5 7940 wxMenu_Prepend(_arg0,_arg1,*_arg2,*_arg3,_arg4);
7a446686 7941
474c48f9 7942 wxPyEndAllowThreads(__tstate);
4dfaa61e 7943 if (PyErr_Occurred()) return NULL;
7a446686
RD
7944} Py_INCREF(Py_None);
7945 _resultobj = Py_None;
a884bee5
RD
7946{
7947 if (_obj2)
7948 delete _arg2;
7949}
7950{
7951 if (_obj3)
7952 delete _arg3;
7953}
7a446686
RD
7954 return _resultobj;
7955}
7956
a884bee5
RD
7957#define wxMenu_PrependSeparator(_swigobj) (_swigobj->PrependSeparator())
7958static PyObject *_wrap_wxMenu_PrependSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
49df1f52 7959 PyObject * _resultobj;
a884bee5 7960 wxMenu * _arg0;
49df1f52
RD
7961 PyObject * _argo0 = 0;
7962 char *_kwnames[] = { "self", NULL };
7963
7964 self = self;
a884bee5 7965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_PrependSeparator",_kwnames,&_argo0))
49df1f52
RD
7966 return NULL;
7967 if (_argo0) {
7968 if (_argo0 == Py_None) { _arg0 = NULL; }
a884bee5
RD
7969 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7970 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_PrependSeparator. Expected _wxMenu_p.");
49df1f52
RD
7971 return NULL;
7972 }
7973 }
7974{
7975 PyThreadState* __tstate = wxPyBeginAllowThreads();
a884bee5 7976 wxMenu_PrependSeparator(_arg0);
49df1f52
RD
7977
7978 wxPyEndAllowThreads(__tstate);
7979 if (PyErr_Occurred()) return NULL;
a884bee5
RD
7980} Py_INCREF(Py_None);
7981 _resultobj = Py_None;
49df1f52
RD
7982 return _resultobj;
7983}
7984
a884bee5
RD
7985#define wxMenu_PrependCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PrependCheckItem(_swigarg0,_swigarg1,_swigarg2))
7986static PyObject *_wrap_wxMenu_PrependCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7987 PyObject * _resultobj;
a884bee5
RD
7988 wxMenu * _arg0;
7989 int _arg1;
7990 wxString * _arg2;
9a74fcaf 7991 wxString * _arg3 = (wxString *) &wxPyEmptyString;
a884bee5
RD
7992 PyObject * _argo0 = 0;
7993 PyObject * _obj2 = 0;
7994 PyObject * _obj3 = 0;
7995 char *_kwnames[] = { "self","id","text","help", NULL };
8ab979d7
RD
7996
7997 self = self;
a884bee5 7998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|O:wxMenu_PrependCheckItem",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3))
8ab979d7 7999 return NULL;
a884bee5
RD
8000 if (_argo0) {
8001 if (_argo0 == Py_None) { _arg0 = NULL; }
8002 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8003 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_PrependCheckItem. Expected _wxMenu_p.");
8004 return NULL;
8005 }
8006 }
8ab979d7 8007{
a884bee5
RD
8008 _arg2 = wxString_in_helper(_obj2);
8009 if (_arg2 == NULL)
8010 return NULL;
8011}
8012 if (_obj3)
8013{
8014 _arg3 = wxString_in_helper(_obj3);
8015 if (_arg3 == NULL)
2cd2fac8 8016 return NULL;
8ab979d7 8017}
cf694132 8018{
474c48f9 8019 PyThreadState* __tstate = wxPyBeginAllowThreads();
a884bee5 8020 wxMenu_PrependCheckItem(_arg0,_arg1,*_arg2,*_arg3);
cf694132 8021
474c48f9 8022 wxPyEndAllowThreads(__tstate);
4dfaa61e 8023 if (PyErr_Occurred()) return NULL;
a884bee5
RD
8024} Py_INCREF(Py_None);
8025 _resultobj = Py_None;
8ab979d7 8026{
a884bee5
RD
8027 if (_obj2)
8028 delete _arg2;
8029}
8030{
8031 if (_obj3)
8032 delete _arg3;
8ab979d7
RD
8033}
8034 return _resultobj;
8035}
8036
a884bee5
RD
8037#define wxMenu_PrependRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PrependRadioItem(_swigarg0,_swigarg1,_swigarg2))
8038static PyObject *_wrap_wxMenu_PrependRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8039 PyObject * _resultobj;
8040 wxMenu * _arg0;
8041 int _arg1;
8042 wxString * _arg2;
9a74fcaf 8043 wxString * _arg3 = (wxString *) &wxPyEmptyString;
1d99702e 8044 PyObject * _argo0 = 0;
8ab979d7
RD
8045 PyObject * _obj2 = 0;
8046 PyObject * _obj3 = 0;
a884bee5 8047 char *_kwnames[] = { "self","id","text","help", NULL };
8ab979d7
RD
8048
8049 self = self;
a884bee5 8050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|O:wxMenu_PrependRadioItem",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3))
8ab979d7 8051 return NULL;
1d99702e
RD
8052 if (_argo0) {
8053 if (_argo0 == Py_None) { _arg0 = NULL; }
8054 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
a884bee5 8055 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_PrependRadioItem. Expected _wxMenu_p.");
8ab979d7
RD
8056 return NULL;
8057 }
8058 }
8059{
c8bc7bb8
RD
8060 _arg2 = wxString_in_helper(_obj2);
8061 if (_arg2 == NULL)
8ab979d7 8062 return NULL;
8ab979d7
RD
8063}
8064 if (_obj3)
8065{
c8bc7bb8
RD
8066 _arg3 = wxString_in_helper(_obj3);
8067 if (_arg3 == NULL)
8ab979d7 8068 return NULL;
8ab979d7 8069}
cf694132 8070{
474c48f9 8071 PyThreadState* __tstate = wxPyBeginAllowThreads();
a884bee5 8072 wxMenu_PrependRadioItem(_arg0,_arg1,*_arg2,*_arg3);
cf694132 8073
474c48f9 8074 wxPyEndAllowThreads(__tstate);
4dfaa61e 8075 if (PyErr_Occurred()) return NULL;
cf694132 8076} Py_INCREF(Py_None);
8ab979d7
RD
8077 _resultobj = Py_None;
8078{
8079 if (_obj2)
8080 delete _arg2;
8081}
8082{
8083 if (_obj3)
8084 delete _arg3;
8085}
8086 return _resultobj;
8087}
8088
a884bee5
RD
8089#define wxMenu_PrependMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Prepend(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8090static PyObject *_wrap_wxMenu_PrependMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8091 PyObject * _resultobj;
8092 wxMenu * _arg0;
8093 int _arg1;
8094 wxString * _arg2;
8095 wxMenu * _arg3;
9a74fcaf 8096 wxString * _arg4 = (wxString *) &wxPyEmptyString;
1d99702e 8097 PyObject * _argo0 = 0;
8ab979d7 8098 PyObject * _obj2 = 0;
1d99702e 8099 PyObject * _argo3 = 0;
8ab979d7 8100 PyObject * _obj4 = 0;
a884bee5 8101 char *_kwnames[] = { "self","id","text","submenu","help", NULL };
8ab979d7
RD
8102
8103 self = self;
a884bee5 8104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO|O:wxMenu_PrependMenu",_kwnames,&_argo0,&_arg1,&_obj2,&_argo3,&_obj4))
8ab979d7 8105 return NULL;
1d99702e
RD
8106 if (_argo0) {
8107 if (_argo0 == Py_None) { _arg0 = NULL; }
8108 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
a884bee5 8109 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_PrependMenu. Expected _wxMenu_p.");
8ab979d7
RD
8110 return NULL;
8111 }
8112 }
8113{
c8bc7bb8
RD
8114 _arg2 = wxString_in_helper(_obj2);
8115 if (_arg2 == NULL)
2cd2fac8 8116 return NULL;
8ab979d7 8117}
1d99702e
RD
8118 if (_argo3) {
8119 if (_argo3 == Py_None) { _arg3 = NULL; }
8120 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxMenu_p")) {
a884bee5 8121 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxMenu_PrependMenu. Expected _wxMenu_p.");
8ab979d7
RD
8122 return NULL;
8123 }
8124 }
8125 if (_obj4)
8126{
c8bc7bb8
RD
8127 _arg4 = wxString_in_helper(_obj4);
8128 if (_arg4 == NULL)
2cd2fac8 8129 return NULL;
8ab979d7 8130}
cf694132 8131{
474c48f9 8132 PyThreadState* __tstate = wxPyBeginAllowThreads();
a884bee5 8133 wxMenu_PrependMenu(_arg0,_arg1,*_arg2,_arg3,*_arg4);
cf694132 8134
474c48f9 8135 wxPyEndAllowThreads(__tstate);
4dfaa61e 8136 if (PyErr_Occurred()) return NULL;
cf694132 8137} Py_INCREF(Py_None);
8ab979d7
RD
8138 _resultobj = Py_None;
8139{
8140 if (_obj2)
8141 delete _arg2;
8142}
8143{
8144 if (_obj4)
8145 delete _arg4;
8146}
8147 return _resultobj;
8148}
8149
a884bee5
RD
8150#define wxMenu_PrependItem(_swigobj,_swigarg0) (_swigobj->Prepend(_swigarg0))
8151static PyObject *_wrap_wxMenu_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
8152 PyObject * _resultobj;
8153 wxMenu * _arg0;
8154 wxMenuItem * _arg1;
1d99702e
RD
8155 PyObject * _argo0 = 0;
8156 PyObject * _argo1 = 0;
efc5f224 8157 char *_kwnames[] = { "self","item", NULL };
af309447
RD
8158
8159 self = self;
a884bee5 8160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_PrependItem",_kwnames,&_argo0,&_argo1))
af309447 8161 return NULL;
1d99702e
RD
8162 if (_argo0) {
8163 if (_argo0 == Py_None) { _arg0 = NULL; }
8164 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
a884bee5 8165 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_PrependItem. Expected _wxMenu_p.");
af309447
RD
8166 return NULL;
8167 }
8168 }
1d99702e
RD
8169 if (_argo1) {
8170 if (_argo1 == Py_None) { _arg1 = NULL; }
8171 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenuItem_p")) {
a884bee5 8172 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_PrependItem. Expected _wxMenuItem_p.");
8ab979d7
RD
8173 return NULL;
8174 }
8175 }
cf694132 8176{
474c48f9 8177 PyThreadState* __tstate = wxPyBeginAllowThreads();
a884bee5 8178 wxMenu_PrependItem(_arg0,_arg1);
cf694132 8179
474c48f9 8180 wxPyEndAllowThreads(__tstate);
4dfaa61e 8181 if (PyErr_Occurred()) return NULL;
cf694132 8182} Py_INCREF(Py_None);
8ab979d7
RD
8183 _resultobj = Py_None;
8184 return _resultobj;
8185}
8186
8187#define wxMenu_Break(_swigobj) (_swigobj->Break())
efc5f224 8188static PyObject *_wrap_wxMenu_Break(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8189 PyObject * _resultobj;
8190 wxMenu * _arg0;
1d99702e 8191 PyObject * _argo0 = 0;
efc5f224 8192 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
8193
8194 self = self;
efc5f224 8195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_Break",_kwnames,&_argo0))
8ab979d7 8196 return NULL;
1d99702e
RD
8197 if (_argo0) {
8198 if (_argo0 == Py_None) { _arg0 = NULL; }
8199 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8ab979d7
RD
8200 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
8201 return NULL;
8202 }
8203 }
cf694132 8204{
474c48f9 8205 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8206 wxMenu_Break(_arg0);
cf694132 8207
474c48f9 8208 wxPyEndAllowThreads(__tstate);
4dfaa61e 8209 if (PyErr_Occurred()) return NULL;
cf694132 8210} Py_INCREF(Py_None);
8ab979d7
RD
8211 _resultobj = Py_None;
8212 return _resultobj;
8213}
8214
8215#define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
efc5f224 8216static PyObject *_wrap_wxMenu_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8217 PyObject * _resultobj;
8218 wxMenu * _arg0;
8219 int _arg1;
8220 bool _arg2;
1d99702e 8221 PyObject * _argo0 = 0;
8ab979d7 8222 int tempbool2;
efc5f224 8223 char *_kwnames[] = { "self","id","flag", NULL };
8ab979d7
RD
8224
8225 self = self;
efc5f224 8226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxMenu_Check",_kwnames,&_argo0,&_arg1,&tempbool2))
8ab979d7 8227 return NULL;
1d99702e
RD
8228 if (_argo0) {
8229 if (_argo0 == Py_None) { _arg0 = NULL; }
8230 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8ab979d7
RD
8231 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
8232 return NULL;
8233 }
8234 }
8235 _arg2 = (bool ) tempbool2;
cf694132 8236{
474c48f9 8237 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8238 wxMenu_Check(_arg0,_arg1,_arg2);
cf694132 8239
474c48f9 8240 wxPyEndAllowThreads(__tstate);
4dfaa61e 8241 if (PyErr_Occurred()) return NULL;
cf694132 8242} Py_INCREF(Py_None);
8ab979d7
RD
8243 _resultobj = Py_None;
8244 return _resultobj;
8245}
8246
b1462dfa
RD
8247#define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
8248static PyObject *_wrap_wxMenu_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
8249 PyObject * _resultobj;
8250 bool _result;
8251 wxMenu * _arg0;
8252 int _arg1;
8253 PyObject * _argo0 = 0;
8254 char *_kwnames[] = { "self","id", NULL };
8255
8256 self = self;
8257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_IsChecked",_kwnames,&_argo0,&_arg1))
8258 return NULL;
8259 if (_argo0) {
8260 if (_argo0 == Py_None) { _arg0 = NULL; }
8261 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8262 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
8263 return NULL;
8264 }
8265 }
8266{
474c48f9 8267 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8268 _result = (bool )wxMenu_IsChecked(_arg0,_arg1);
b1462dfa 8269
474c48f9 8270 wxPyEndAllowThreads(__tstate);
4dfaa61e 8271 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
8272} _resultobj = Py_BuildValue("i",_result);
8273 return _resultobj;
8274}
8275
8ab979d7 8276#define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
efc5f224 8277static PyObject *_wrap_wxMenu_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8278 PyObject * _resultobj;
8279 wxMenu * _arg0;
8280 int _arg1;
8281 bool _arg2;
1d99702e 8282 PyObject * _argo0 = 0;
8ab979d7 8283 int tempbool2;
efc5f224 8284 char *_kwnames[] = { "self","id","enable", NULL };
8ab979d7
RD
8285
8286 self = self;
efc5f224 8287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxMenu_Enable",_kwnames,&_argo0,&_arg1,&tempbool2))
8ab979d7 8288 return NULL;
1d99702e
RD
8289 if (_argo0) {
8290 if (_argo0 == Py_None) { _arg0 = NULL; }
8291 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8ab979d7
RD
8292 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
8293 return NULL;
8294 }
8295 }
8296 _arg2 = (bool ) tempbool2;
cf694132 8297{
474c48f9 8298 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8299 wxMenu_Enable(_arg0,_arg1,_arg2);
cf694132 8300
474c48f9 8301 wxPyEndAllowThreads(__tstate);
4dfaa61e 8302 if (PyErr_Occurred()) return NULL;
cf694132 8303} Py_INCREF(Py_None);
8ab979d7
RD
8304 _resultobj = Py_None;
8305 return _resultobj;
8306}
8307
b1462dfa
RD
8308#define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
8309static PyObject *_wrap_wxMenu_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
8310 PyObject * _resultobj;
8311 bool _result;
8312 wxMenu * _arg0;
8313 int _arg1;
8314 PyObject * _argo0 = 0;
8315 char *_kwnames[] = { "self","id", NULL };
8316
8317 self = self;
8318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_IsEnabled",_kwnames,&_argo0,&_arg1))
8319 return NULL;
8320 if (_argo0) {
8321 if (_argo0 == Py_None) { _arg0 = NULL; }
8322 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8323 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
8324 return NULL;
8325 }
8326 }
8327{
474c48f9 8328 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8329 _result = (bool )wxMenu_IsEnabled(_arg0,_arg1);
b1462dfa 8330
474c48f9 8331 wxPyEndAllowThreads(__tstate);
4dfaa61e 8332 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
8333} _resultobj = Py_BuildValue("i",_result);
8334 return _resultobj;
8335}
8336
8ab979d7 8337#define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
efc5f224 8338static PyObject *_wrap_wxMenu_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8339 PyObject * _resultobj;
8340 int _result;
8341 wxMenu * _arg0;
8342 wxString * _arg1;
1d99702e 8343 PyObject * _argo0 = 0;
8ab979d7 8344 PyObject * _obj1 = 0;
efc5f224 8345 char *_kwnames[] = { "self","itemString", NULL };
8ab979d7
RD
8346
8347 self = self;
efc5f224 8348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_FindItem",_kwnames,&_argo0,&_obj1))
8ab979d7 8349 return NULL;
1d99702e
RD
8350 if (_argo0) {
8351 if (_argo0 == Py_None) { _arg0 = NULL; }
8352 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8ab979d7
RD
8353 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
8354 return NULL;
8355 }
8356 }
8357{
c8bc7bb8
RD
8358 _arg1 = wxString_in_helper(_obj1);
8359 if (_arg1 == NULL)
2cd2fac8 8360 return NULL;
8ab979d7 8361}
cf694132 8362{
474c48f9 8363 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8364 _result = (int )wxMenu_FindItem(_arg0,*_arg1);
cf694132 8365
474c48f9 8366 wxPyEndAllowThreads(__tstate);
4dfaa61e 8367 if (PyErr_Occurred()) return NULL;
cf694132 8368} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
8369{
8370 if (_obj1)
8371 delete _arg1;
8372}
8373 return _resultobj;
8374}
8375
b1462dfa
RD
8376#define wxMenu_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
8377static PyObject *_wrap_wxMenu_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
8378 PyObject * _resultobj;
8379 wxMenuItem * _result;
8380 wxMenu * _arg0;
8381 int _arg1;
8382 PyObject * _argo0 = 0;
8383 char *_kwnames[] = { "self","id", NULL };
b1462dfa
RD
8384
8385 self = self;
8386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_FindItemById",_kwnames,&_argo0,&_arg1))
8387 return NULL;
8388 if (_argo0) {
8389 if (_argo0 == Py_None) { _arg0 = NULL; }
8390 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8391 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_FindItemById. Expected _wxMenu_p.");
8392 return NULL;
8393 }
8394 }
8395{
474c48f9 8396 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8397 _result = (wxMenuItem *)wxMenu_FindItemById(_arg0,_arg1);
b1462dfa 8398
474c48f9 8399 wxPyEndAllowThreads(__tstate);
4dfaa61e 8400 if (PyErr_Occurred()) return NULL;
9df61a29 8401}{ _resultobj = wxPyMake_wxObject(_result); }
b1462dfa
RD
8402 return _resultobj;
8403}
8404
8ab979d7 8405#define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
efc5f224 8406static PyObject *_wrap_wxMenu_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8407 PyObject * _resultobj;
8408 wxString * _result;
8409 wxMenu * _arg0;
1d99702e 8410 PyObject * _argo0 = 0;
efc5f224 8411 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
8412
8413 self = self;
efc5f224 8414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetTitle",_kwnames,&_argo0))
8ab979d7 8415 return NULL;
1d99702e
RD
8416 if (_argo0) {
8417 if (_argo0 == Py_None) { _arg0 = NULL; }
8418 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8ab979d7
RD
8419 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
8420 return NULL;
8421 }
8422 }
8ab979d7 8423{
474c48f9 8424 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8425 _result = new wxString (wxMenu_GetTitle(_arg0));
cf694132 8426
474c48f9 8427 wxPyEndAllowThreads(__tstate);
4dfaa61e 8428 if (PyErr_Occurred()) return NULL;
cf694132 8429}{
c8bc7bb8
RD
8430#if wxUSE_UNICODE
8431 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
8432#else
eec92d76 8433 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 8434#endif
8ab979d7
RD
8435}
8436{
8437 delete _result;
8438}
8439 return _resultobj;
8440}
8441
8442#define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
efc5f224 8443static PyObject *_wrap_wxMenu_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8444 PyObject * _resultobj;
8445 wxMenu * _arg0;
8446 wxString * _arg1;
1d99702e 8447 PyObject * _argo0 = 0;
8ab979d7 8448 PyObject * _obj1 = 0;
efc5f224 8449 char *_kwnames[] = { "self","title", NULL };
8ab979d7
RD
8450
8451 self = self;
efc5f224 8452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_SetTitle",_kwnames,&_argo0,&_obj1))
8ab979d7 8453 return NULL;
1d99702e
RD
8454 if (_argo0) {
8455 if (_argo0 == Py_None) { _arg0 = NULL; }
8456 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8ab979d7
RD
8457 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
8458 return NULL;
8459 }
8460 }
8461{
c8bc7bb8
RD
8462 _arg1 = wxString_in_helper(_obj1);
8463 if (_arg1 == NULL)
2cd2fac8 8464 return NULL;
8ab979d7 8465}
cf694132 8466{
474c48f9 8467 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8468 wxMenu_SetTitle(_arg0,*_arg1);
cf694132 8469
474c48f9 8470 wxPyEndAllowThreads(__tstate);
4dfaa61e 8471 if (PyErr_Occurred()) return NULL;
cf694132 8472} Py_INCREF(Py_None);
8ab979d7
RD
8473 _resultobj = Py_None;
8474{
8475 if (_obj1)
8476 delete _arg1;
8477}
8478 return _resultobj;
8479}
8480
b1462dfa
RD
8481#define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
8482static PyObject *_wrap_wxMenu_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8483 PyObject * _resultobj;
b1462dfa 8484 wxString * _result;
8ab979d7
RD
8485 wxMenu * _arg0;
8486 int _arg1;
1d99702e 8487 PyObject * _argo0 = 0;
efc5f224 8488 char *_kwnames[] = { "self","id", NULL };
8ab979d7
RD
8489
8490 self = self;
b1462dfa 8491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_GetLabel",_kwnames,&_argo0,&_arg1))
8ab979d7 8492 return NULL;
1d99702e
RD
8493 if (_argo0) {
8494 if (_argo0 == Py_None) { _arg0 = NULL; }
8495 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
b1462dfa 8496 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
8ab979d7
RD
8497 return NULL;
8498 }
8499 }
cf694132 8500{
474c48f9 8501 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8502 _result = new wxString (wxMenu_GetLabel(_arg0,_arg1));
cf694132 8503
474c48f9 8504 wxPyEndAllowThreads(__tstate);
4dfaa61e 8505 if (PyErr_Occurred()) return NULL;
b1462dfa 8506}{
c8bc7bb8
RD
8507#if wxUSE_UNICODE
8508 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
8509#else
eec92d76 8510 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 8511#endif
b1462dfa
RD
8512}
8513{
8514 delete _result;
8515}
8ab979d7
RD
8516 return _resultobj;
8517}
8518
b1462dfa
RD
8519#define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
8520static PyObject *_wrap_wxMenu_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8521 PyObject * _resultobj;
8ab979d7
RD
8522 wxMenu * _arg0;
8523 int _arg1;
b1462dfa 8524 wxString * _arg2;
1d99702e 8525 PyObject * _argo0 = 0;
b1462dfa
RD
8526 PyObject * _obj2 = 0;
8527 char *_kwnames[] = { "self","id","label", NULL };
8ab979d7
RD
8528
8529 self = self;
b1462dfa 8530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenu_SetLabel",_kwnames,&_argo0,&_arg1,&_obj2))
8ab979d7 8531 return NULL;
1d99702e
RD
8532 if (_argo0) {
8533 if (_argo0 == Py_None) { _arg0 = NULL; }
8534 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
b1462dfa 8535 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
8ab979d7
RD
8536 return NULL;
8537 }
8538 }
b1462dfa 8539{
c8bc7bb8
RD
8540 _arg2 = wxString_in_helper(_obj2);
8541 if (_arg2 == NULL)
2cd2fac8 8542 return NULL;
b1462dfa 8543}
8ab979d7 8544{
474c48f9 8545 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8546 wxMenu_SetLabel(_arg0,_arg1,*_arg2);
cf694132 8547
474c48f9 8548 wxPyEndAllowThreads(__tstate);
4dfaa61e 8549 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
8550} Py_INCREF(Py_None);
8551 _resultobj = Py_None;
8ab979d7 8552{
b1462dfa
RD
8553 if (_obj2)
8554 delete _arg2;
8ab979d7
RD
8555}
8556 return _resultobj;
8557}
8558
b1462dfa
RD
8559#define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
8560static PyObject *_wrap_wxMenu_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8561 PyObject * _resultobj;
8562 wxString * _result;
8563 wxMenu * _arg0;
8564 int _arg1;
1d99702e 8565 PyObject * _argo0 = 0;
efc5f224 8566 char *_kwnames[] = { "self","id", NULL };
8ab979d7
RD
8567
8568 self = self;
b1462dfa 8569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_GetHelpString",_kwnames,&_argo0,&_arg1))
8ab979d7 8570 return NULL;
1d99702e
RD
8571 if (_argo0) {
8572 if (_argo0 == Py_None) { _arg0 = NULL; }
8573 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
b1462dfa 8574 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
8ab979d7
RD
8575 return NULL;
8576 }
8577 }
8ab979d7 8578{
474c48f9 8579 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8580 _result = new wxString (wxMenu_GetHelpString(_arg0,_arg1));
cf694132 8581
474c48f9 8582 wxPyEndAllowThreads(__tstate);
4dfaa61e 8583 if (PyErr_Occurred()) return NULL;
cf694132 8584}{
c8bc7bb8
RD
8585#if wxUSE_UNICODE
8586 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
8587#else
eec92d76 8588 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 8589#endif
8ab979d7
RD
8590}
8591{
8592 delete _result;
8593}
8594 return _resultobj;
8595}
8596
8597#define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
efc5f224 8598static PyObject *_wrap_wxMenu_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8599 PyObject * _resultobj;
8600 wxMenu * _arg0;
8601 int _arg1;
8602 wxString * _arg2;
1d99702e 8603 PyObject * _argo0 = 0;
8ab979d7 8604 PyObject * _obj2 = 0;
efc5f224 8605 char *_kwnames[] = { "self","id","helpString", NULL };
8ab979d7
RD
8606
8607 self = self;
efc5f224 8608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenu_SetHelpString",_kwnames,&_argo0,&_arg1,&_obj2))
8ab979d7 8609 return NULL;
1d99702e
RD
8610 if (_argo0) {
8611 if (_argo0 == Py_None) { _arg0 = NULL; }
8612 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8ab979d7
RD
8613 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
8614 return NULL;
8615 }
8616 }
8617{
c8bc7bb8
RD
8618 _arg2 = wxString_in_helper(_obj2);
8619 if (_arg2 == NULL)
2cd2fac8 8620 return NULL;
8ab979d7 8621}
cf694132 8622{
474c48f9 8623 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8624 wxMenu_SetHelpString(_arg0,_arg1,*_arg2);
cf694132 8625
474c48f9 8626 wxPyEndAllowThreads(__tstate);
4dfaa61e 8627 if (PyErr_Occurred()) return NULL;
cf694132 8628} Py_INCREF(Py_None);
8ab979d7
RD
8629 _resultobj = Py_None;
8630{
8631 if (_obj2)
8632 delete _arg2;
8633}
8634 return _resultobj;
8635}
8636
b1462dfa
RD
8637#define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
8638static PyObject *_wrap_wxMenu_UpdateUI(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8639 PyObject * _resultobj;
8ab979d7 8640 wxMenu * _arg0;
b1462dfa 8641 wxEvtHandler * _arg1 = (wxEvtHandler *) NULL;
1d99702e 8642 PyObject * _argo0 = 0;
b1462dfa
RD
8643 PyObject * _argo1 = 0;
8644 char *_kwnames[] = { "self","source", NULL };
8ab979d7
RD
8645
8646 self = self;
b1462dfa 8647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxMenu_UpdateUI",_kwnames,&_argo0,&_argo1))
8ab979d7 8648 return NULL;
1d99702e
RD
8649 if (_argo0) {
8650 if (_argo0 == Py_None) { _arg0 = NULL; }
8651 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
b1462dfa
RD
8652 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
8653 return NULL;
8654 }
8655 }
8656 if (_argo1) {
8657 if (_argo1 == Py_None) { _arg1 = NULL; }
8658 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
8659 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
8ab979d7
RD
8660 return NULL;
8661 }
8662 }
cf694132 8663{
474c48f9 8664 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8665 wxMenu_UpdateUI(_arg0,_arg1);
cf694132 8666
474c48f9 8667 wxPyEndAllowThreads(__tstate);
4dfaa61e 8668 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
8669} Py_INCREF(Py_None);
8670 _resultobj = Py_None;
8ab979d7
RD
8671 return _resultobj;
8672}
8673
b1462dfa
RD
8674#define wxMenu_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
8675static PyObject *_wrap_wxMenu_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8676 PyObject * _resultobj;
8677 bool _result;
8678 wxMenu * _arg0;
8679 int _arg1;
1d99702e 8680 PyObject * _argo0 = 0;
efc5f224 8681 char *_kwnames[] = { "self","id", NULL };
8ab979d7
RD
8682
8683 self = self;
b1462dfa 8684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_Delete",_kwnames,&_argo0,&_arg1))
8ab979d7 8685 return NULL;
1d99702e
RD
8686 if (_argo0) {
8687 if (_argo0 == Py_None) { _arg0 = NULL; }
8688 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
b1462dfa 8689 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Delete. Expected _wxMenu_p.");
8ab979d7
RD
8690 return NULL;
8691 }
8692 }
cf694132 8693{
474c48f9 8694 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8695 _result = (bool )wxMenu_Delete(_arg0,_arg1);
cf694132 8696
474c48f9 8697 wxPyEndAllowThreads(__tstate);
4dfaa61e 8698 if (PyErr_Occurred()) return NULL;
cf694132 8699} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
8700 return _resultobj;
8701}
8702
b1462dfa
RD
8703#define wxMenu_DeleteItem(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
8704static PyObject *_wrap_wxMenu_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8705 PyObject * _resultobj;
b1462dfa 8706 bool _result;
8ab979d7 8707 wxMenu * _arg0;
b1462dfa 8708 wxMenuItem * _arg1;
1d99702e 8709 PyObject * _argo0 = 0;
b1462dfa
RD
8710 PyObject * _argo1 = 0;
8711 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
8712
8713 self = self;
b1462dfa 8714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_DeleteItem",_kwnames,&_argo0,&_argo1))
8ab979d7 8715 return NULL;
1d99702e
RD
8716 if (_argo0) {
8717 if (_argo0 == Py_None) { _arg0 = NULL; }
8718 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
b1462dfa 8719 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_DeleteItem. Expected _wxMenu_p.");
8ab979d7
RD
8720 return NULL;
8721 }
8722 }
b1462dfa
RD
8723 if (_argo1) {
8724 if (_argo1 == Py_None) { _arg1 = NULL; }
8725 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenuItem_p")) {
8726 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_DeleteItem. Expected _wxMenuItem_p.");
8ab979d7 8727 return NULL;
b1462dfa 8728 }
8ab979d7 8729 }
cf694132 8730{
474c48f9 8731 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8732 _result = (bool )wxMenu_DeleteItem(_arg0,_arg1);
cf694132 8733
474c48f9 8734 wxPyEndAllowThreads(__tstate);
4dfaa61e 8735 if (PyErr_Occurred()) return NULL;
b1462dfa 8736} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
8737 return _resultobj;
8738}
8739
b1462dfa
RD
8740#define wxMenu_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
8741static PyObject *_wrap_wxMenu_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
efc5f224 8742 PyObject * _resultobj;
b1462dfa 8743 wxMenuItem * _result;
efc5f224 8744 wxMenu * _arg0;
b1462dfa 8745 int _arg1;
efc5f224 8746 PyObject * _argo0 = 0;
b1462dfa 8747 char *_kwnames[] = { "self","id", NULL };
efc5f224
RD
8748
8749 self = self;
b1462dfa 8750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_Remove",_kwnames,&_argo0,&_arg1))
efc5f224
RD
8751 return NULL;
8752 if (_argo0) {
8753 if (_argo0 == Py_None) { _arg0 = NULL; }
8754 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
b1462dfa 8755 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Remove. Expected _wxMenu_p.");
efc5f224
RD
8756 return NULL;
8757 }
8758 }
8759{
474c48f9 8760 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8761 _result = (wxMenuItem *)wxMenu_Remove(_arg0,_arg1);
efc5f224 8762
474c48f9 8763 wxPyEndAllowThreads(__tstate);
4dfaa61e 8764 if (PyErr_Occurred()) return NULL;
9df61a29 8765}{ _resultobj = wxPyMake_wxObject(_result); }
efc5f224
RD
8766 return _resultobj;
8767}
8768
b1462dfa
RD
8769#define wxMenu_RemoveItem(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
8770static PyObject *_wrap_wxMenu_RemoveItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8771 PyObject * _resultobj;
b1462dfa
RD
8772 wxMenuItem * _result;
8773 wxMenu * _arg0;
8774 wxMenuItem * _arg1;
8775 PyObject * _argo0 = 0;
8776 PyObject * _argo1 = 0;
8777 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
8778
8779 self = self;
b1462dfa
RD
8780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_RemoveItem",_kwnames,&_argo0,&_argo1))
8781 return NULL;
8782 if (_argo0) {
8783 if (_argo0 == Py_None) { _arg0 = NULL; }
8784 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8785 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_RemoveItem. Expected _wxMenu_p.");
8786 return NULL;
8787 }
8788 }
8789 if (_argo1) {
8790 if (_argo1 == Py_None) { _arg1 = NULL; }
8791 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenuItem_p")) {
8792 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_RemoveItem. Expected _wxMenuItem_p.");
8ab979d7 8793 return NULL;
b1462dfa
RD
8794 }
8795 }
cf694132 8796{
474c48f9 8797 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8798 _result = (wxMenuItem *)wxMenu_RemoveItem(_arg0,_arg1);
cf694132 8799
474c48f9 8800 wxPyEndAllowThreads(__tstate);
4dfaa61e 8801 if (PyErr_Occurred()) return NULL;
9df61a29 8802}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
8803 return _resultobj;
8804}
8805
eb715945 8806static void wxMenu_Destroy(wxMenu *self) { delete self; }
b1462dfa 8807static PyObject *_wrap_wxMenu_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8808 PyObject * _resultobj;
b1462dfa 8809 wxMenu * _arg0;
1d99702e 8810 PyObject * _argo0 = 0;
b1462dfa 8811 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
8812
8813 self = self;
b1462dfa 8814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_Destroy",_kwnames,&_argo0))
8ab979d7 8815 return NULL;
1d99702e
RD
8816 if (_argo0) {
8817 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
8818 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8819 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Destroy. Expected _wxMenu_p.");
8ab979d7
RD
8820 return NULL;
8821 }
8822 }
cf694132 8823{
474c48f9 8824 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8825 wxMenu_Destroy(_arg0);
cf694132 8826
474c48f9 8827 wxPyEndAllowThreads(__tstate);
4dfaa61e 8828 if (PyErr_Occurred()) return NULL;
cf694132 8829} Py_INCREF(Py_None);
8ab979d7 8830 _resultobj = Py_None;
8ab979d7
RD
8831 return _resultobj;
8832}
8833
b1462dfa
RD
8834#define wxMenu_DestroyId(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
8835static PyObject *_wrap_wxMenu_DestroyId(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8836 PyObject * _resultobj;
b1462dfa
RD
8837 bool _result;
8838 wxMenu * _arg0;
8ab979d7 8839 int _arg1;
1d99702e 8840 PyObject * _argo0 = 0;
b1462dfa 8841 char *_kwnames[] = { "self","id", NULL };
8ab979d7
RD
8842
8843 self = self;
b1462dfa 8844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_DestroyId",_kwnames,&_argo0,&_arg1))
8ab979d7 8845 return NULL;
1d99702e
RD
8846 if (_argo0) {
8847 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
8848 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8849 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_DestroyId. Expected _wxMenu_p.");
8ab979d7
RD
8850 return NULL;
8851 }
8852 }
cf694132 8853{
474c48f9 8854 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8855 _result = (bool )wxMenu_DestroyId(_arg0,_arg1);
cf694132 8856
474c48f9 8857 wxPyEndAllowThreads(__tstate);
4dfaa61e 8858 if (PyErr_Occurred()) return NULL;
b1462dfa 8859} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
8860 return _resultobj;
8861}
8862
b1462dfa
RD
8863#define wxMenu_DestroyItem(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
8864static PyObject *_wrap_wxMenu_DestroyItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8865 PyObject * _resultobj;
b1462dfa
RD
8866 bool _result;
8867 wxMenu * _arg0;
8868 wxMenuItem * _arg1;
1d99702e 8869 PyObject * _argo0 = 0;
b1462dfa
RD
8870 PyObject * _argo1 = 0;
8871 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
8872
8873 self = self;
b1462dfa 8874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_DestroyItem",_kwnames,&_argo0,&_argo1))
8ab979d7 8875 return NULL;
1d99702e
RD
8876 if (_argo0) {
8877 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
8878 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8879 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_DestroyItem. Expected _wxMenu_p.");
8880 return NULL;
8881 }
8882 }
8883 if (_argo1) {
8884 if (_argo1 == Py_None) { _arg1 = NULL; }
8885 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenuItem_p")) {
8886 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_DestroyItem. Expected _wxMenuItem_p.");
8ab979d7
RD
8887 return NULL;
8888 }
8889 }
cf694132 8890{
474c48f9 8891 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8892 _result = (bool )wxMenu_DestroyItem(_arg0,_arg1);
cf694132 8893
474c48f9 8894 wxPyEndAllowThreads(__tstate);
4dfaa61e 8895 if (PyErr_Occurred()) return NULL;
b1462dfa 8896} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
8897 return _resultobj;
8898}
8899
b1462dfa
RD
8900#define wxMenu_GetMenuItemCount(_swigobj) (_swigobj->GetMenuItemCount())
8901static PyObject *_wrap_wxMenu_GetMenuItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8902 PyObject * _resultobj;
b1462dfa
RD
8903 size_t _result;
8904 wxMenu * _arg0;
1d99702e 8905 PyObject * _argo0 = 0;
b1462dfa 8906 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
8907
8908 self = self;
b1462dfa 8909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetMenuItemCount",_kwnames,&_argo0))
8ab979d7 8910 return NULL;
1d99702e
RD
8911 if (_argo0) {
8912 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
8913 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8914 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetMenuItemCount. Expected _wxMenu_p.");
8ab979d7
RD
8915 return NULL;
8916 }
8917 }
cf694132 8918{
474c48f9 8919 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8920 _result = (size_t )wxMenu_GetMenuItemCount(_arg0);
cf694132 8921
474c48f9 8922 wxPyEndAllowThreads(__tstate);
4dfaa61e 8923 if (PyErr_Occurred()) return NULL;
2abc0a0f 8924} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
8925 return _resultobj;
8926}
8927
b1462dfa
RD
8928static PyObject * wxMenu_GetMenuItems(wxMenu *self) {
8929 wxMenuItemList& list = self->GetMenuItems();
8930 return wxPy_ConvertList(&list, "wxMenuItem");
8931 }
8932static PyObject *_wrap_wxMenu_GetMenuItems(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8933 PyObject * _resultobj;
b1462dfa
RD
8934 PyObject * _result;
8935 wxMenu * _arg0;
1d99702e 8936 PyObject * _argo0 = 0;
b1462dfa 8937 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
8938
8939 self = self;
b1462dfa 8940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetMenuItems",_kwnames,&_argo0))
8ab979d7 8941 return NULL;
1d99702e
RD
8942 if (_argo0) {
8943 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
8944 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8945 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetMenuItems. Expected _wxMenu_p.");
8ab979d7
RD
8946 return NULL;
8947 }
8948 }
cf694132 8949{
474c48f9 8950 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8951 _result = (PyObject *)wxMenu_GetMenuItems(_arg0);
cf694132 8952
474c48f9 8953 wxPyEndAllowThreads(__tstate);
4dfaa61e 8954 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
8955}{
8956 _resultobj = _result;
8957}
8ab979d7
RD
8958 return _resultobj;
8959}
8960
b1462dfa
RD
8961#define wxMenu_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
8962static PyObject *_wrap_wxMenu_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8963 PyObject * _resultobj;
b1462dfa
RD
8964 wxMenu * _arg0;
8965 wxEvtHandler * _arg1;
1d99702e 8966 PyObject * _argo0 = 0;
b1462dfa
RD
8967 PyObject * _argo1 = 0;
8968 char *_kwnames[] = { "self","handler", NULL };
8ab979d7
RD
8969
8970 self = self;
b1462dfa 8971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_SetEventHandler",_kwnames,&_argo0,&_argo1))
8ab979d7 8972 return NULL;
1d99702e
RD
8973 if (_argo0) {
8974 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
8975 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8976 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetEventHandler. Expected _wxMenu_p.");
8ab979d7
RD
8977 return NULL;
8978 }
8979 }
b1462dfa
RD
8980 if (_argo1) {
8981 if (_argo1 == Py_None) { _arg1 = NULL; }
8982 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
8983 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_SetEventHandler. Expected _wxEvtHandler_p.");
8ab979d7 8984 return NULL;
b1462dfa 8985 }
8ab979d7 8986 }
cf694132 8987{
474c48f9 8988 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8989 wxMenu_SetEventHandler(_arg0,_arg1);
cf694132 8990
474c48f9 8991 wxPyEndAllowThreads(__tstate);
4dfaa61e 8992 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
8993} Py_INCREF(Py_None);
8994 _resultobj = Py_None;
8ab979d7
RD
8995 return _resultobj;
8996}
8997
b1462dfa
RD
8998#define wxMenu_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
8999static PyObject *_wrap_wxMenu_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9000 PyObject * _resultobj;
b1462dfa
RD
9001 wxEvtHandler * _result;
9002 wxMenu * _arg0;
1d99702e 9003 PyObject * _argo0 = 0;
b1462dfa 9004 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9005
9006 self = self;
b1462dfa 9007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetEventHandler",_kwnames,&_argo0))
8ab979d7 9008 return NULL;
1d99702e
RD
9009 if (_argo0) {
9010 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9011 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9012 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetEventHandler. Expected _wxMenu_p.");
8ab979d7
RD
9013 return NULL;
9014 }
9015 }
cf694132 9016{
474c48f9 9017 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9018 _result = (wxEvtHandler *)wxMenu_GetEventHandler(_arg0);
cf694132 9019
474c48f9 9020 wxPyEndAllowThreads(__tstate);
4dfaa61e 9021 if (PyErr_Occurred()) return NULL;
9df61a29 9022}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
9023 return _resultobj;
9024}
9025
b1462dfa
RD
9026#define wxMenu_SetInvokingWindow(_swigobj,_swigarg0) (_swigobj->SetInvokingWindow(_swigarg0))
9027static PyObject *_wrap_wxMenu_SetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2f90df85 9028 PyObject * _resultobj;
b1462dfa
RD
9029 wxMenu * _arg0;
9030 wxWindow * _arg1;
2f90df85 9031 PyObject * _argo0 = 0;
b1462dfa
RD
9032 PyObject * _argo1 = 0;
9033 char *_kwnames[] = { "self","win", NULL };
2f90df85
RD
9034
9035 self = self;
b1462dfa 9036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_SetInvokingWindow",_kwnames,&_argo0,&_argo1))
2f90df85
RD
9037 return NULL;
9038 if (_argo0) {
9039 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9040 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9041 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetInvokingWindow. Expected _wxMenu_p.");
2f90df85
RD
9042 return NULL;
9043 }
9044 }
b1462dfa
RD
9045 if (_argo1) {
9046 if (_argo1 == Py_None) { _arg1 = NULL; }
9047 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
9048 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_SetInvokingWindow. Expected _wxWindow_p.");
2f90df85 9049 return NULL;
b1462dfa 9050 }
2f90df85 9051 }
2f90df85 9052{
474c48f9 9053 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9054 wxMenu_SetInvokingWindow(_arg0,_arg1);
2f90df85 9055
474c48f9 9056 wxPyEndAllowThreads(__tstate);
4dfaa61e 9057 if (PyErr_Occurred()) return NULL;
2f90df85
RD
9058} Py_INCREF(Py_None);
9059 _resultobj = Py_None;
2f90df85
RD
9060 return _resultobj;
9061}
9062
b1462dfa
RD
9063#define wxMenu_GetInvokingWindow(_swigobj) (_swigobj->GetInvokingWindow())
9064static PyObject *_wrap_wxMenu_GetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9065 PyObject * _resultobj;
b1462dfa
RD
9066 wxWindow * _result;
9067 wxMenu * _arg0;
1d99702e 9068 PyObject * _argo0 = 0;
b1462dfa 9069 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9070
9071 self = self;
b1462dfa 9072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetInvokingWindow",_kwnames,&_argo0))
8ab979d7 9073 return NULL;
1d99702e
RD
9074 if (_argo0) {
9075 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9076 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9077 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetInvokingWindow. Expected _wxMenu_p.");
8ab979d7
RD
9078 return NULL;
9079 }
9080 }
cf694132 9081{
474c48f9 9082 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9083 _result = (wxWindow *)wxMenu_GetInvokingWindow(_arg0);
cf694132 9084
474c48f9 9085 wxPyEndAllowThreads(__tstate);
4dfaa61e 9086 if (PyErr_Occurred()) return NULL;
9df61a29 9087}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
9088 return _resultobj;
9089}
9090
b1462dfa
RD
9091#define wxMenu_GetStyle(_swigobj) (_swigobj->GetStyle())
9092static PyObject *_wrap_wxMenu_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9093 PyObject * _resultobj;
b1462dfa
RD
9094 long _result;
9095 wxMenu * _arg0;
1d99702e 9096 PyObject * _argo0 = 0;
b1462dfa 9097 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9098
9099 self = self;
b1462dfa 9100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetStyle",_kwnames,&_argo0))
8ab979d7 9101 return NULL;
1d99702e
RD
9102 if (_argo0) {
9103 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9104 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9105 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetStyle. Expected _wxMenu_p.");
8ab979d7
RD
9106 return NULL;
9107 }
9108 }
8ab979d7 9109{
474c48f9 9110 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9111 _result = (long )wxMenu_GetStyle(_arg0);
cf694132 9112
474c48f9 9113 wxPyEndAllowThreads(__tstate);
4dfaa61e 9114 if (PyErr_Occurred()) return NULL;
b1462dfa 9115} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
9116 return _resultobj;
9117}
9118
b1462dfa
RD
9119#define wxMenu_IsAttached(_swigobj) (_swigobj->IsAttached())
9120static PyObject *_wrap_wxMenu_IsAttached(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9121 PyObject * _resultobj;
b1462dfa
RD
9122 bool _result;
9123 wxMenu * _arg0;
1d99702e 9124 PyObject * _argo0 = 0;
b1462dfa 9125 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9126
9127 self = self;
b1462dfa 9128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_IsAttached",_kwnames,&_argo0))
8ab979d7 9129 return NULL;
1d99702e
RD
9130 if (_argo0) {
9131 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9132 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9133 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_IsAttached. Expected _wxMenu_p.");
8ab979d7
RD
9134 return NULL;
9135 }
9136 }
8ab979d7 9137{
474c48f9 9138 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9139 _result = (bool )wxMenu_IsAttached(_arg0);
cf694132 9140
474c48f9 9141 wxPyEndAllowThreads(__tstate);
4dfaa61e 9142 if (PyErr_Occurred()) return NULL;
b1462dfa 9143} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
9144 return _resultobj;
9145}
9146
b1462dfa
RD
9147#define wxMenu_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
9148static PyObject *_wrap_wxMenu_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9149 PyObject * _resultobj;
b1462dfa
RD
9150 wxMenu * _arg0;
9151 wxMenu * _arg1;
1d99702e 9152 PyObject * _argo0 = 0;
b1462dfa
RD
9153 PyObject * _argo1 = 0;
9154 char *_kwnames[] = { "self","parent", NULL };
8ab979d7
RD
9155
9156 self = self;
b1462dfa 9157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_SetParent",_kwnames,&_argo0,&_argo1))
8ab979d7 9158 return NULL;
1d99702e
RD
9159 if (_argo0) {
9160 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9161 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9162 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetParent. Expected _wxMenu_p.");
8ab979d7
RD
9163 return NULL;
9164 }
9165 }
b1462dfa
RD
9166 if (_argo1) {
9167 if (_argo1 == Py_None) { _arg1 = NULL; }
9168 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
9169 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_SetParent. Expected _wxMenu_p.");
8ab979d7 9170 return NULL;
b1462dfa 9171 }
8ab979d7 9172 }
cf694132 9173{
474c48f9 9174 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9175 wxMenu_SetParent(_arg0,_arg1);
cf694132 9176
474c48f9 9177 wxPyEndAllowThreads(__tstate);
4dfaa61e 9178 if (PyErr_Occurred()) return NULL;
cf694132 9179} Py_INCREF(Py_None);
8ab979d7 9180 _resultobj = Py_None;
8ab979d7
RD
9181 return _resultobj;
9182}
9183
b1462dfa
RD
9184#define wxMenu_GetParent(_swigobj) (_swigobj->GetParent())
9185static PyObject *_wrap_wxMenu_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9186 PyObject * _resultobj;
b1462dfa
RD
9187 wxMenu * _result;
9188 wxMenu * _arg0;
1d99702e 9189 PyObject * _argo0 = 0;
b1462dfa 9190 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9191
9192 self = self;
b1462dfa 9193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetParent",_kwnames,&_argo0))
8ab979d7 9194 return NULL;
1d99702e
RD
9195 if (_argo0) {
9196 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9197 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9198 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetParent. Expected _wxMenu_p.");
8ab979d7
RD
9199 return NULL;
9200 }
9201 }
8ab979d7 9202{
474c48f9 9203 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9204 _result = (wxMenu *)wxMenu_GetParent(_arg0);
cf694132 9205
474c48f9 9206 wxPyEndAllowThreads(__tstate);
4dfaa61e 9207 if (PyErr_Occurred()) return NULL;
9df61a29 9208}{ _resultobj = wxPyMake_wxObject(_result); }
b1462dfa 9209 return _resultobj;
8ab979d7 9210}
b1462dfa
RD
9211
9212static void *SwigwxMenuBarTowxWindow(void *ptr) {
9213 wxMenuBar *src;
9214 wxWindow *dest;
9215 src = (wxMenuBar *) ptr;
9216 dest = (wxWindow *) src;
9217 return (void *) dest;
9218}
9219
9220static void *SwigwxMenuBarTowxEvtHandler(void *ptr) {
9221 wxMenuBar *src;
9222 wxEvtHandler *dest;
9223 src = (wxMenuBar *) ptr;
9224 dest = (wxEvtHandler *) src;
9225 return (void *) dest;
8ab979d7 9226}
b1462dfa 9227
9df61a29
RD
9228static void *SwigwxMenuBarTowxObject(void *ptr) {
9229 wxMenuBar *src;
9230 wxObject *dest;
9231 src = (wxMenuBar *) ptr;
9232 dest = (wxObject *) src;
9233 return (void *) dest;
9234}
9235
c368d904 9236#define new_wxMenuBar(_swigarg0) (new wxMenuBar(_swigarg0))
b1462dfa
RD
9237static PyObject *_wrap_new_wxMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9238 PyObject * _resultobj;
9239 wxMenuBar * _result;
c368d904
RD
9240 long _arg0 = (long ) 0;
9241 char *_kwnames[] = { "style", NULL };
b1462dfa
RD
9242 char _ptemp[128];
9243
9244 self = self;
c368d904 9245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|l:new_wxMenuBar",_kwnames,&_arg0))
b1462dfa
RD
9246 return NULL;
9247{
474c48f9 9248 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9249 _result = (wxMenuBar *)new_wxMenuBar(_arg0);
b1462dfa 9250
474c48f9 9251 wxPyEndAllowThreads(__tstate);
4dfaa61e 9252 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
9253} if (_result) {
9254 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuBar_p");
9255 _resultobj = Py_BuildValue("s",_ptemp);
9256 } else {
9257 Py_INCREF(Py_None);
9258 _resultobj = Py_None;
9259 }
8ab979d7
RD
9260 return _resultobj;
9261}
9262
b1462dfa
RD
9263#define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
9264static PyObject *_wrap_wxMenuBar_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9265 PyObject * _resultobj;
b1462dfa 9266 bool _result;
8ab979d7 9267 wxMenuBar * _arg0;
b1462dfa 9268 wxMenu * _arg1;
8ab979d7 9269 wxString * _arg2;
1d99702e 9270 PyObject * _argo0 = 0;
b1462dfa 9271 PyObject * _argo1 = 0;
8ab979d7 9272 PyObject * _obj2 = 0;
b1462dfa 9273 char *_kwnames[] = { "self","menu","title", NULL };
8ab979d7
RD
9274
9275 self = self;
b1462dfa 9276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxMenuBar_Append",_kwnames,&_argo0,&_argo1,&_obj2))
8ab979d7 9277 return NULL;
1d99702e
RD
9278 if (_argo0) {
9279 if (_argo0 == Py_None) { _arg0 = NULL; }
9280 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
b1462dfa
RD
9281 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
9282 return NULL;
9283 }
9284 }
9285 if (_argo1) {
9286 if (_argo1 == Py_None) { _arg1 = NULL; }
9287 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
9288 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
8ab979d7
RD
9289 return NULL;
9290 }
9291 }
9292{
c8bc7bb8
RD
9293 _arg2 = wxString_in_helper(_obj2);
9294 if (_arg2 == NULL)
2cd2fac8 9295 return NULL;
8ab979d7 9296}
cf694132 9297{
474c48f9 9298 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9299 _result = (bool )wxMenuBar_Append(_arg0,_arg1,*_arg2);
cf694132 9300
474c48f9 9301 wxPyEndAllowThreads(__tstate);
4dfaa61e 9302 if (PyErr_Occurred()) return NULL;
b1462dfa 9303} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
9304{
9305 if (_obj2)
9306 delete _arg2;
9307}
9308 return _resultobj;
9309}
9310
b1462dfa
RD
9311#define wxMenuBar_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2))
9312static PyObject *_wrap_wxMenuBar_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9313 PyObject * _resultobj;
b1462dfa 9314 bool _result;
8ab979d7 9315 wxMenuBar * _arg0;
b1462dfa
RD
9316 size_t _arg1;
9317 wxMenu * _arg2;
9318 wxString * _arg3;
1d99702e 9319 PyObject * _argo0 = 0;
b1462dfa
RD
9320 PyObject * _argo2 = 0;
9321 PyObject * _obj3 = 0;
9322 char *_kwnames[] = { "self","pos","menu","title", NULL };
8ab979d7
RD
9323
9324 self = self;
b1462dfa 9325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO:wxMenuBar_Insert",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3))
8ab979d7 9326 return NULL;
1d99702e
RD
9327 if (_argo0) {
9328 if (_argo0 == Py_None) { _arg0 = NULL; }
9329 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
b1462dfa
RD
9330 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Insert. Expected _wxMenuBar_p.");
9331 return NULL;
9332 }
9333 }
9334 if (_argo2) {
9335 if (_argo2 == Py_None) { _arg2 = NULL; }
9336 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxMenu_p")) {
9337 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxMenuBar_Insert. Expected _wxMenu_p.");
8ab979d7
RD
9338 return NULL;
9339 }
9340 }
b1462dfa 9341{
c8bc7bb8
RD
9342 _arg3 = wxString_in_helper(_obj3);
9343 if (_arg3 == NULL)
2cd2fac8 9344 return NULL;
b1462dfa 9345}
cf694132 9346{
474c48f9 9347 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9348 _result = (bool )wxMenuBar_Insert(_arg0,_arg1,_arg2,*_arg3);
cf694132 9349
474c48f9 9350 wxPyEndAllowThreads(__tstate);
4dfaa61e 9351 if (PyErr_Occurred()) return NULL;
cf694132 9352} _resultobj = Py_BuildValue("i",_result);
b1462dfa
RD
9353{
9354 if (_obj3)
9355 delete _arg3;
9356}
8ab979d7
RD
9357 return _resultobj;
9358}
9359
b1462dfa
RD
9360#define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
9361static PyObject *_wrap_wxMenuBar_GetMenuCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9362 PyObject * _resultobj;
b1462dfa 9363 size_t _result;
8ab979d7 9364 wxMenuBar * _arg0;
1d99702e 9365 PyObject * _argo0 = 0;
b1462dfa 9366 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9367
9368 self = self;
b1462dfa 9369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuBar_GetMenuCount",_kwnames,&_argo0))
8ab979d7 9370 return NULL;
1d99702e
RD
9371 if (_argo0) {
9372 if (_argo0 == Py_None) { _arg0 = NULL; }
9373 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
b1462dfa 9374 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
8ab979d7
RD
9375 return NULL;
9376 }
9377 }
cf694132 9378{
474c48f9 9379 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9380 _result = (size_t )wxMenuBar_GetMenuCount(_arg0);
cf694132 9381
474c48f9 9382 wxPyEndAllowThreads(__tstate);
4dfaa61e 9383 if (PyErr_Occurred()) return NULL;
b1462dfa 9384} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
9385 return _resultobj;
9386}
9387
b1462dfa
RD
9388#define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
9389static PyObject *_wrap_wxMenuBar_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
06c0fba4 9390 PyObject * _resultobj;
b1462dfa 9391 wxMenu * _result;
06c0fba4 9392 wxMenuBar * _arg0;
b1462dfa 9393 size_t _arg1;
06c0fba4 9394 PyObject * _argo0 = 0;
b1462dfa 9395 char *_kwnames[] = { "self","pos", NULL };
06c0fba4
RD
9396
9397 self = self;
b1462dfa 9398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_GetMenu",_kwnames,&_argo0,&_arg1))
06c0fba4
RD
9399 return NULL;
9400 if (_argo0) {
9401 if (_argo0 == Py_None) { _arg0 = NULL; }
9402 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
b1462dfa 9403 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
06c0fba4
RD
9404 return NULL;
9405 }
9406 }
9407{
474c48f9 9408 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9409 _result = (wxMenu *)wxMenuBar_GetMenu(_arg0,_arg1);
06c0fba4 9410
474c48f9 9411 wxPyEndAllowThreads(__tstate);
4dfaa61e 9412 if (PyErr_Occurred()) return NULL;
9df61a29 9413}{ _resultobj = wxPyMake_wxObject(_result); }
06c0fba4
RD
9414 return _resultobj;
9415}
9416
2abc0a0f
RD
9417#define wxMenuBar_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
9418static PyObject *_wrap_wxMenuBar_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
9419 PyObject * _resultobj;
9420 wxMenu * _result;
9421 wxMenuBar * _arg0;
9422 size_t _arg1;
9423 wxMenu * _arg2;
9424 wxString * _arg3;
9425 PyObject * _argo0 = 0;
9426 PyObject * _argo2 = 0;
9427 PyObject * _obj3 = 0;
9428 char *_kwnames[] = { "self","pos","menu","title", NULL };
2abc0a0f
RD
9429
9430 self = self;
9431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO:wxMenuBar_Replace",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3))
9432 return NULL;
9433 if (_argo0) {
9434 if (_argo0 == Py_None) { _arg0 = NULL; }
9435 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9436 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Replace. Expected _wxMenuBar_p.");
9437 return NULL;
9438 }
9439 }
9440 if (_argo2) {
9441 if (_argo2 == Py_None) { _arg2 = NULL; }
9442 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxMenu_p")) {
9443 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxMenuBar_Replace. Expected _wxMenu_p.");
9444 return NULL;
9445 }
9446 }
9447{
c8bc7bb8
RD
9448 _arg3 = wxString_in_helper(_obj3);
9449 if (_arg3 == NULL)
2cd2fac8 9450 return NULL;
2abc0a0f
RD
9451}
9452{
474c48f9 9453 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9454 _result = (wxMenu *)wxMenuBar_Replace(_arg0,_arg1,_arg2,*_arg3);
2abc0a0f 9455
474c48f9 9456 wxPyEndAllowThreads(__tstate);
4dfaa61e 9457 if (PyErr_Occurred()) return NULL;
9df61a29 9458}{ _resultobj = wxPyMake_wxObject(_result); }
2abc0a0f
RD
9459{
9460 if (_obj3)
9461 delete _arg3;
9462}
9463 return _resultobj;
9464}
9465
9466#define wxMenuBar_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
9467static PyObject *_wrap_wxMenuBar_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
9468 PyObject * _resultobj;
9469 wxMenu * _result;
9470 wxMenuBar * _arg0;
9471 size_t _arg1;
9472 PyObject * _argo0 = 0;
9473 char *_kwnames[] = { "self","pos", NULL };
2abc0a0f
RD
9474
9475 self = self;
9476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_Remove",_kwnames,&_argo0,&_arg1))
9477 return NULL;
9478 if (_argo0) {
9479 if (_argo0 == Py_None) { _arg0 = NULL; }
9480 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9481 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Remove. Expected _wxMenuBar_p.");
9482 return NULL;
9483 }
9484 }
9485{
474c48f9 9486 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9487 _result = (wxMenu *)wxMenuBar_Remove(_arg0,_arg1);
2abc0a0f 9488
474c48f9 9489 wxPyEndAllowThreads(__tstate);
4dfaa61e 9490 if (PyErr_Occurred()) return NULL;
9df61a29 9491}{ _resultobj = wxPyMake_wxObject(_result); }
2abc0a0f
RD
9492 return _resultobj;
9493}
9494
b1462dfa
RD
9495#define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
9496static PyObject *_wrap_wxMenuBar_EnableTop(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 9497 PyObject * _resultobj;
b1462dfa
RD
9498 wxMenuBar * _arg0;
9499 size_t _arg1;
9500 bool _arg2;
9501 PyObject * _argo0 = 0;
9502 int tempbool2;
9503 char *_kwnames[] = { "self","pos","enable", NULL };
9504
9505 self = self;
9506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxMenuBar_EnableTop",_kwnames,&_argo0,&_arg1,&tempbool2))
9507 return NULL;
9508 if (_argo0) {
9509 if (_argo0 == Py_None) { _arg0 = NULL; }
9510 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9511 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
9512 return NULL;
9513 }
9514 }
9515 _arg2 = (bool ) tempbool2;
9516{
474c48f9 9517 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9518 wxMenuBar_EnableTop(_arg0,_arg1,_arg2);
b1462dfa 9519
474c48f9 9520 wxPyEndAllowThreads(__tstate);
4dfaa61e 9521 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
9522} Py_INCREF(Py_None);
9523 _resultobj = Py_None;
9524 return _resultobj;
9525}
9526
9527#define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
9528static PyObject *_wrap_wxMenuBar_SetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
9529 PyObject * _resultobj;
9530 wxMenuBar * _arg0;
9531 size_t _arg1;
9532 wxString * _arg2;
1d99702e 9533 PyObject * _argo0 = 0;
cf694132 9534 PyObject * _obj2 = 0;
b1462dfa 9535 char *_kwnames[] = { "self","pos","label", NULL };
cf694132
RD
9536
9537 self = self;
b1462dfa 9538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenuBar_SetLabelTop",_kwnames,&_argo0,&_arg1,&_obj2))
cf694132 9539 return NULL;
1d99702e
RD
9540 if (_argo0) {
9541 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9542 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9543 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
cf694132
RD
9544 return NULL;
9545 }
9546 }
cf694132 9547{
c8bc7bb8
RD
9548 _arg2 = wxString_in_helper(_obj2);
9549 if (_arg2 == NULL)
2cd2fac8 9550 return NULL;
cf694132 9551}
cf694132 9552{
474c48f9 9553 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9554 wxMenuBar_SetLabelTop(_arg0,_arg1,*_arg2);
b1462dfa 9555
474c48f9 9556 wxPyEndAllowThreads(__tstate);
4dfaa61e 9557 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
9558} Py_INCREF(Py_None);
9559 _resultobj = Py_None;
9560{
9561 if (_obj2)
9562 delete _arg2;
9563}
9564 return _resultobj;
9565}
9566
9567#define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
9568static PyObject *_wrap_wxMenuBar_GetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
9569 PyObject * _resultobj;
9570 wxString * _result;
9571 wxMenuBar * _arg0;
9572 size_t _arg1;
9573 PyObject * _argo0 = 0;
9574 char *_kwnames[] = { "self","pos", NULL };
9575
9576 self = self;
9577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_GetLabelTop",_kwnames,&_argo0,&_arg1))
9578 return NULL;
9579 if (_argo0) {
9580 if (_argo0 == Py_None) { _arg0 = NULL; }
9581 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9582 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
9583 return NULL;
9584 }
9585 }
9586{
474c48f9 9587 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9588 _result = new wxString (wxMenuBar_GetLabelTop(_arg0,_arg1));
b1462dfa 9589
474c48f9 9590 wxPyEndAllowThreads(__tstate);
4dfaa61e 9591 if (PyErr_Occurred()) return NULL;
b1462dfa 9592}{
c8bc7bb8
RD
9593#if wxUSE_UNICODE
9594 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
9595#else
eec92d76 9596 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 9597#endif
b1462dfa
RD
9598}
9599{
9600 delete _result;
9601}
9602 return _resultobj;
9603}
9604
10be44ac
RD
9605#define wxMenuBar_FindMenu(_swigobj,_swigarg0) (_swigobj->FindMenu(_swigarg0))
9606static PyObject *_wrap_wxMenuBar_FindMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
9607 PyObject * _resultobj;
9608 int _result;
9609 wxMenuBar * _arg0;
9610 wxString * _arg1;
9611 PyObject * _argo0 = 0;
9612 PyObject * _obj1 = 0;
9613 char *_kwnames[] = { "self","title", NULL };
9614
9615 self = self;
9616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuBar_FindMenu",_kwnames,&_argo0,&_obj1))
9617 return NULL;
9618 if (_argo0) {
9619 if (_argo0 == Py_None) { _arg0 = NULL; }
9620 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9621 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_FindMenu. Expected _wxMenuBar_p.");
9622 return NULL;
9623 }
9624 }
9625{
c8bc7bb8
RD
9626 _arg1 = wxString_in_helper(_obj1);
9627 if (_arg1 == NULL)
10be44ac 9628 return NULL;
10be44ac
RD
9629}
9630{
474c48f9 9631 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9632 _result = (int )wxMenuBar_FindMenu(_arg0,*_arg1);
10be44ac 9633
474c48f9 9634 wxPyEndAllowThreads(__tstate);
10be44ac
RD
9635 if (PyErr_Occurred()) return NULL;
9636} _resultobj = Py_BuildValue("i",_result);
9637{
9638 if (_obj1)
9639 delete _arg1;
9640}
9641 return _resultobj;
9642}
9643
b1462dfa
RD
9644#define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
9645static PyObject *_wrap_wxMenuBar_FindMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9646 PyObject * _resultobj;
9647 int _result;
9648 wxMenuBar * _arg0;
9649 wxString * _arg1;
9650 wxString * _arg2;
9651 PyObject * _argo0 = 0;
9652 PyObject * _obj1 = 0;
9653 PyObject * _obj2 = 0;
9654 char *_kwnames[] = { "self","menuString","itemString", NULL };
9655
9656 self = self;
9657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxMenuBar_FindMenuItem",_kwnames,&_argo0,&_obj1,&_obj2))
9658 return NULL;
9659 if (_argo0) {
9660 if (_argo0 == Py_None) { _arg0 = NULL; }
9661 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9662 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
9663 return NULL;
9664 }
9665 }
9666{
c8bc7bb8
RD
9667 _arg1 = wxString_in_helper(_obj1);
9668 if (_arg1 == NULL)
2cd2fac8 9669 return NULL;
cf694132 9670}
b1462dfa 9671{
c8bc7bb8
RD
9672 _arg2 = wxString_in_helper(_obj2);
9673 if (_arg2 == NULL)
b1462dfa 9674 return NULL;
b1462dfa
RD
9675}
9676{
474c48f9 9677 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9678 _result = (int )wxMenuBar_FindMenuItem(_arg0,*_arg1,*_arg2);
b1462dfa 9679
474c48f9 9680 wxPyEndAllowThreads(__tstate);
4dfaa61e 9681 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
9682} _resultobj = Py_BuildValue("i",_result);
9683{
9684 if (_obj1)
9685 delete _arg1;
9686}
9687{
9688 if (_obj2)
9689 delete _arg2;
9690}
9691 return _resultobj;
9692}
9693
9694#define wxMenuBar_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
9695static PyObject *_wrap_wxMenuBar_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
9696 PyObject * _resultobj;
9697 wxMenuItem * _result;
9698 wxMenuBar * _arg0;
9699 int _arg1;
9700 PyObject * _argo0 = 0;
9701 char *_kwnames[] = { "self","id", NULL };
b1462dfa
RD
9702
9703 self = self;
9704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_FindItemById",_kwnames,&_argo0,&_arg1))
9705 return NULL;
9706 if (_argo0) {
9707 if (_argo0 == Py_None) { _arg0 = NULL; }
9708 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9709 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_FindItemById. Expected _wxMenuBar_p.");
cf694132
RD
9710 return NULL;
9711 }
9712 }
9713{
474c48f9 9714 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9715 _result = (wxMenuItem *)wxMenuBar_FindItemById(_arg0,_arg1);
cf694132 9716
474c48f9 9717 wxPyEndAllowThreads(__tstate);
4dfaa61e 9718 if (PyErr_Occurred()) return NULL;
9df61a29 9719}{ _resultobj = wxPyMake_wxObject(_result); }
b1462dfa 9720 return _resultobj;
cf694132 9721}
b1462dfa
RD
9722
9723#define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
9724static PyObject *_wrap_wxMenuBar_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
9725 PyObject * _resultobj;
9726 wxMenuBar * _arg0;
9727 int _arg1;
9728 bool _arg2;
9729 PyObject * _argo0 = 0;
9730 int tempbool2;
9731 char *_kwnames[] = { "self","id","enable", NULL };
9732
9733 self = self;
9734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxMenuBar_Enable",_kwnames,&_argo0,&_arg1,&tempbool2))
9735 return NULL;
9736 if (_argo0) {
9737 if (_argo0 == Py_None) { _arg0 = NULL; }
9738 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9739 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
9740 return NULL;
9741 }
9742 }
9743 _arg2 = (bool ) tempbool2;
cf694132 9744{
474c48f9 9745 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9746 wxMenuBar_Enable(_arg0,_arg1,_arg2);
b1462dfa 9747
474c48f9 9748 wxPyEndAllowThreads(__tstate);
4dfaa61e 9749 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
9750} Py_INCREF(Py_None);
9751 _resultobj = Py_None;
9752 return _resultobj;
cf694132 9753}
b1462dfa
RD
9754
9755#define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
9756static PyObject *_wrap_wxMenuBar_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
9757 PyObject * _resultobj;
9758 wxMenuBar * _arg0;
9759 int _arg1;
9760 bool _arg2;
9761 PyObject * _argo0 = 0;
9762 int tempbool2;
9763 char *_kwnames[] = { "self","id","check", NULL };
9764
9765 self = self;
9766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxMenuBar_Check",_kwnames,&_argo0,&_arg1,&tempbool2))
9767 return NULL;
9768 if (_argo0) {
9769 if (_argo0 == Py_None) { _arg0 = NULL; }
9770 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9771 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
9772 return NULL;
9773 }
9774 }
9775 _arg2 = (bool ) tempbool2;
9776{
474c48f9 9777 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9778 wxMenuBar_Check(_arg0,_arg1,_arg2);
b1462dfa 9779
474c48f9 9780 wxPyEndAllowThreads(__tstate);
4dfaa61e 9781 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
9782} Py_INCREF(Py_None);
9783 _resultobj = Py_None;
cf694132
RD
9784 return _resultobj;
9785}
9786
b1462dfa
RD
9787#define wxMenuBar_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
9788static PyObject *_wrap_wxMenuBar_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9789 PyObject * _resultobj;
9790 bool _result;
b1462dfa
RD
9791 wxMenuBar * _arg0;
9792 int _arg1;
1d99702e 9793 PyObject * _argo0 = 0;
b1462dfa 9794 char *_kwnames[] = { "self","id", NULL };
8ab979d7
RD
9795
9796 self = self;
b1462dfa 9797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_IsChecked",_kwnames,&_argo0,&_arg1))
8ab979d7 9798 return NULL;
1d99702e
RD
9799 if (_argo0) {
9800 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9801 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9802 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_IsChecked. Expected _wxMenuBar_p.");
8ab979d7
RD
9803 return NULL;
9804 }
9805 }
cf694132 9806{
474c48f9 9807 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9808 _result = (bool )wxMenuBar_IsChecked(_arg0,_arg1);
cf694132 9809
474c48f9 9810 wxPyEndAllowThreads(__tstate);
4dfaa61e 9811 if (PyErr_Occurred()) return NULL;
cf694132 9812} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
9813 return _resultobj;
9814}
9815
b1462dfa
RD
9816#define wxMenuBar_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
9817static PyObject *_wrap_wxMenuBar_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9818 PyObject * _resultobj;
9819 bool _result;
b1462dfa
RD
9820 wxMenuBar * _arg0;
9821 int _arg1;
1d99702e 9822 PyObject * _argo0 = 0;
b1462dfa 9823 char *_kwnames[] = { "self","id", NULL };
8ab979d7
RD
9824
9825 self = self;
b1462dfa 9826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_IsEnabled",_kwnames,&_argo0,&_arg1))
8ab979d7 9827 return NULL;
1d99702e
RD
9828 if (_argo0) {
9829 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9830 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9831 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_IsEnabled. Expected _wxMenuBar_p.");
8ab979d7
RD
9832 return NULL;
9833 }
9834 }
cf694132 9835{
474c48f9 9836 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9837 _result = (bool )wxMenuBar_IsEnabled(_arg0,_arg1);
cf694132 9838
474c48f9 9839 wxPyEndAllowThreads(__tstate);
4dfaa61e 9840 if (PyErr_Occurred()) return NULL;
cf694132 9841} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
9842 return _resultobj;
9843}
9844
b1462dfa
RD
9845#define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
9846static PyObject *_wrap_wxMenuBar_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9847 PyObject * _resultobj;
b1462dfa
RD
9848 wxMenuBar * _arg0;
9849 int _arg1;
9850 wxString * _arg2;
1d99702e 9851 PyObject * _argo0 = 0;
b1462dfa
RD
9852 PyObject * _obj2 = 0;
9853 char *_kwnames[] = { "self","id","label", NULL };
8ab979d7
RD
9854
9855 self = self;
b1462dfa 9856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenuBar_SetLabel",_kwnames,&_argo0,&_arg1,&_obj2))
8ab979d7 9857 return NULL;
1d99702e
RD
9858 if (_argo0) {
9859 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9860 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9861 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
8ab979d7
RD
9862 return NULL;
9863 }
9864 }
b1462dfa 9865{
c8bc7bb8
RD
9866 _arg2 = wxString_in_helper(_obj2);
9867 if (_arg2 == NULL)
b1462dfa 9868 return NULL;
b1462dfa 9869}
cf694132 9870{
474c48f9 9871 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9872 wxMenuBar_SetLabel(_arg0,_arg1,*_arg2);
cf694132 9873
474c48f9 9874 wxPyEndAllowThreads(__tstate);
4dfaa61e 9875 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
9876} Py_INCREF(Py_None);
9877 _resultobj = Py_None;
9878{
9879 if (_obj2)
9880 delete _arg2;
9881}
8ab979d7
RD
9882 return _resultobj;
9883}
9884
b1462dfa
RD
9885#define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
9886static PyObject *_wrap_wxMenuBar_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9887 PyObject * _resultobj;
b1462dfa
RD
9888 wxString * _result;
9889 wxMenuBar * _arg0;
9890 int _arg1;
1d99702e 9891 PyObject * _argo0 = 0;
b1462dfa 9892 char *_kwnames[] = { "self","id", NULL };
8ab979d7
RD
9893
9894 self = self;
b1462dfa 9895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_GetLabel",_kwnames,&_argo0,&_arg1))
8ab979d7 9896 return NULL;
1d99702e
RD
9897 if (_argo0) {
9898 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9899 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9900 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
9901 return NULL;
9902 }
9903 }
9904{
474c48f9 9905 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9906 _result = new wxString (wxMenuBar_GetLabel(_arg0,_arg1));
b1462dfa 9907
474c48f9 9908 wxPyEndAllowThreads(__tstate);
4dfaa61e 9909 if (PyErr_Occurred()) return NULL;
b1462dfa 9910}{
c8bc7bb8
RD
9911#if wxUSE_UNICODE
9912 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
9913#else
eec92d76 9914 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 9915#endif
b1462dfa
RD
9916}
9917{
9918 delete _result;
9919}
9920 return _resultobj;
9921}
9922
9923#define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
9924static PyObject *_wrap_wxMenuBar_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
9925 PyObject * _resultobj;
9926 wxMenuBar * _arg0;
9927 int _arg1;
9928 wxString * _arg2;
9929 PyObject * _argo0 = 0;
9930 PyObject * _obj2 = 0;
9931 char *_kwnames[] = { "self","id","helpString", NULL };
9932
9933 self = self;
9934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenuBar_SetHelpString",_kwnames,&_argo0,&_arg1,&_obj2))
9935 return NULL;
9936 if (_argo0) {
9937 if (_argo0 == Py_None) { _arg0 = NULL; }
9938 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9939 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
9940 return NULL;
9941 }
9942 }
9943{
c8bc7bb8
RD
9944 _arg2 = wxString_in_helper(_obj2);
9945 if (_arg2 == NULL)
b1462dfa 9946 return NULL;
b1462dfa
RD
9947}
9948{
474c48f9 9949 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9950 wxMenuBar_SetHelpString(_arg0,_arg1,*_arg2);
b1462dfa 9951
474c48f9 9952 wxPyEndAllowThreads(__tstate);
4dfaa61e 9953 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
9954} Py_INCREF(Py_None);
9955 _resultobj = Py_None;
9956{
9957 if (_obj2)
9958 delete _arg2;
9959}
9960 return _resultobj;
9961}
9962
9963#define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
9964static PyObject *_wrap_wxMenuBar_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
9965 PyObject * _resultobj;
9966 wxString * _result;
9967 wxMenuBar * _arg0;
9968 int _arg1;
9969 PyObject * _argo0 = 0;
9970 char *_kwnames[] = { "self","id", NULL };
9971
9972 self = self;
9973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_GetHelpString",_kwnames,&_argo0,&_arg1))
9974 return NULL;
9975 if (_argo0) {
9976 if (_argo0 == Py_None) { _arg0 = NULL; }
9977 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9978 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
8ab979d7
RD
9979 return NULL;
9980 }
9981 }
cf694132 9982{
474c48f9 9983 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9984 _result = new wxString (wxMenuBar_GetHelpString(_arg0,_arg1));
cf694132 9985
474c48f9 9986 wxPyEndAllowThreads(__tstate);
4dfaa61e 9987 if (PyErr_Occurred()) return NULL;
b1462dfa 9988}{
c8bc7bb8
RD
9989#if wxUSE_UNICODE
9990 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
9991#else
eec92d76 9992 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 9993#endif
b1462dfa
RD
9994}
9995{
9996 delete _result;
9997}
8ab979d7
RD
9998 return _resultobj;
9999}
10000
9df61a29
RD
10001static void *SwigwxMenuItemTowxObject(void *ptr) {
10002 wxMenuItem *src;
10003 wxObject *dest;
10004 src = (wxMenuItem *) ptr;
10005 dest = (wxObject *) src;
10006 return (void *) dest;
10007}
10008
b1462dfa
RD
10009#define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
10010static PyObject *_wrap_new_wxMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 10011 PyObject * _resultobj;
b1462dfa
RD
10012 wxMenuItem * _result;
10013 wxMenu * _arg0 = (wxMenu *) NULL;
4c9993c3 10014 int _arg1 = (int ) wxID_SEPARATOR;
9a74fcaf
RD
10015 wxString * _arg2 = (wxString *) &wxPyEmptyString;
10016 wxString * _arg3 = (wxString *) &wxPyEmptyString;
546bfbea 10017 wxItemKind _arg4 = (wxItemKind ) wxITEM_NORMAL;
b1462dfa 10018 wxMenu * _arg5 = (wxMenu *) NULL;
1d99702e 10019 PyObject * _argo0 = 0;
b1462dfa
RD
10020 PyObject * _obj2 = 0;
10021 PyObject * _obj3 = 0;
b1462dfa 10022 PyObject * _argo5 = 0;
a884bee5 10023 char *_kwnames[] = { "parentMenu","id","text","help","kind","subMenu", NULL };
b1462dfa 10024 char _ptemp[128];
8ab979d7
RD
10025
10026 self = self;
a884bee5 10027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OiOOiO:new_wxMenuItem",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5))
8ab979d7 10028 return NULL;
1d99702e
RD
10029 if (_argo0) {
10030 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
10031 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
10032 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
10033 return NULL;
10034 }
10035 }
10036 if (_obj2)
10037{
c8bc7bb8
RD
10038 _arg2 = wxString_in_helper(_obj2);
10039 if (_arg2 == NULL)
b1462dfa 10040 return NULL;
b1462dfa
RD
10041}
10042 if (_obj3)
10043{
c8bc7bb8
RD
10044 _arg3 = wxString_in_helper(_obj3);
10045 if (_arg3 == NULL)
b1462dfa 10046 return NULL;
b1462dfa 10047}
b1462dfa
RD
10048 if (_argo5) {
10049 if (_argo5 == Py_None) { _arg5 = NULL; }
10050 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxMenu_p")) {
10051 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
8ab979d7
RD
10052 return NULL;
10053 }
10054 }
cf694132 10055{
474c48f9 10056 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10057 _result = (wxMenuItem *)new_wxMenuItem(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
cf694132 10058
474c48f9 10059 wxPyEndAllowThreads(__tstate);
4dfaa61e 10060 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
10061} if (_result) {
10062 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuItem_p");
10063 _resultobj = Py_BuildValue("s",_ptemp);
10064 } else {
10065 Py_INCREF(Py_None);
10066 _resultobj = Py_None;
10067 }
10068{
10069 if (_obj2)
10070 delete _arg2;
10071}
10072{
10073 if (_obj3)
10074 delete _arg3;
10075}
8ab979d7
RD
10076 return _resultobj;
10077}
10078
b1462dfa
RD
10079#define wxMenuItem_GetMenu(_swigobj) (_swigobj->GetMenu())
10080static PyObject *_wrap_wxMenuItem_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 10081 PyObject * _resultobj;
b1462dfa 10082 wxMenu * _result;
8ab979d7 10083 wxMenuItem * _arg0;
1d99702e 10084 PyObject * _argo0 = 0;
efc5f224 10085 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
10086
10087 self = self;
b1462dfa 10088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetMenu",_kwnames,&_argo0))
8ab979d7 10089 return NULL;
1d99702e
RD
10090 if (_argo0) {
10091 if (_argo0 == Py_None) { _arg0 = NULL; }
10092 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10093 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetMenu. Expected _wxMenuItem_p.");
8ab979d7
RD
10094 return NULL;
10095 }
10096 }
cf694132 10097{
474c48f9 10098 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10099 _result = (wxMenu *)wxMenuItem_GetMenu(_arg0);
cf694132 10100
474c48f9 10101 wxPyEndAllowThreads(__tstate);
4dfaa61e 10102 if (PyErr_Occurred()) return NULL;
9df61a29 10103}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
10104 return _resultobj;
10105}
10106
2abc0a0f
RD
10107#define wxMenuItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
10108static PyObject *_wrap_wxMenuItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10109 PyObject * _resultobj;
10110 wxMenuItem * _arg0;
2abc0a0f 10111 int _arg1;
1d99702e 10112 PyObject * _argo0 = 0;
2abc0a0f 10113 char *_kwnames[] = { "self","id", NULL };
8ab979d7
RD
10114
10115 self = self;
2abc0a0f 10116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuItem_SetId",_kwnames,&_argo0,&_arg1))
8ab979d7 10117 return NULL;
1d99702e
RD
10118 if (_argo0) {
10119 if (_argo0 == Py_None) { _arg0 = NULL; }
10120 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
2abc0a0f 10121 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetId. Expected _wxMenuItem_p.");
8ab979d7
RD
10122 return NULL;
10123 }
10124 }
cf694132 10125{
474c48f9 10126 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10127 wxMenuItem_SetId(_arg0,_arg1);
cf694132 10128
474c48f9 10129 wxPyEndAllowThreads(__tstate);
4dfaa61e 10130 if (PyErr_Occurred()) return NULL;
cf694132 10131} Py_INCREF(Py_None);
8ab979d7 10132 _resultobj = Py_None;
8ab979d7
RD
10133 return _resultobj;
10134}
10135
b1462dfa
RD
10136#define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
10137static PyObject *_wrap_wxMenuItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 10138 PyObject * _resultobj;
b1462dfa 10139 int _result;
8ab979d7 10140 wxMenuItem * _arg0;
1d99702e 10141 PyObject * _argo0 = 0;
efc5f224 10142 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
10143
10144 self = self;
b1462dfa 10145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetId",_kwnames,&_argo0))
8ab979d7 10146 return NULL;
1d99702e
RD
10147 if (_argo0) {
10148 if (_argo0 == Py_None) { _arg0 = NULL; }
10149 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10150 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
8ab979d7
RD
10151 return NULL;
10152 }
10153 }
8ab979d7 10154{
474c48f9 10155 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10156 _result = (int )wxMenuItem_GetId(_arg0);
cf694132 10157
474c48f9 10158 wxPyEndAllowThreads(__tstate);
4dfaa61e 10159 if (PyErr_Occurred()) return NULL;
b1462dfa 10160} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
10161 return _resultobj;
10162}
10163
b1462dfa
RD
10164#define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
10165static PyObject *_wrap_wxMenuItem_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 10166 PyObject * _resultobj;
b1462dfa 10167 bool _result;
8ab979d7 10168 wxMenuItem * _arg0;
1d99702e 10169 PyObject * _argo0 = 0;
efc5f224 10170 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
10171
10172 self = self;
b1462dfa 10173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsSeparator",_kwnames,&_argo0))
8ab979d7 10174 return NULL;
1d99702e
RD
10175 if (_argo0) {
10176 if (_argo0 == Py_None) { _arg0 = NULL; }
10177 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10178 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
8ab979d7
RD
10179 return NULL;
10180 }
10181 }
8ab979d7 10182{
474c48f9 10183 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10184 _result = (bool )wxMenuItem_IsSeparator(_arg0);
cf694132 10185
474c48f9 10186 wxPyEndAllowThreads(__tstate);
4dfaa61e 10187 if (PyErr_Occurred()) return NULL;
b1462dfa 10188} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
10189 return _resultobj;
10190}
10191
b1462dfa
RD
10192#define wxMenuItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
10193static PyObject *_wrap_wxMenuItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10194 PyObject * _resultobj;
10195 wxMenuItem * _arg0;
10196 wxString * _arg1;
1d99702e 10197 PyObject * _argo0 = 0;
8ab979d7 10198 PyObject * _obj1 = 0;
b1462dfa 10199 char *_kwnames[] = { "self","str", NULL };
8ab979d7
RD
10200
10201 self = self;
b1462dfa 10202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetText",_kwnames,&_argo0,&_obj1))
8ab979d7 10203 return NULL;
1d99702e
RD
10204 if (_argo0) {
10205 if (_argo0 == Py_None) { _arg0 = NULL; }
10206 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10207 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetText. Expected _wxMenuItem_p.");
8ab979d7
RD
10208 return NULL;
10209 }
10210 }
10211{
c8bc7bb8
RD
10212 _arg1 = wxString_in_helper(_obj1);
10213 if (_arg1 == NULL)
2cd2fac8 10214 return NULL;
8ab979d7 10215}
cf694132 10216{
474c48f9 10217 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10218 wxMenuItem_SetText(_arg0,*_arg1);
cf694132 10219
474c48f9 10220 wxPyEndAllowThreads(__tstate);
4dfaa61e 10221 if (PyErr_Occurred()) return NULL;
cf694132 10222} Py_INCREF(Py_None);
8ab979d7
RD
10223 _resultobj = Py_None;
10224{
10225 if (_obj1)
10226 delete _arg1;
10227}
10228 return _resultobj;
10229}
10230
b1462dfa
RD
10231#define wxMenuItem_GetLabel(_swigobj) (_swigobj->GetLabel())
10232static PyObject *_wrap_wxMenuItem_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 10233 PyObject * _resultobj;
b1462dfa 10234 wxString * _result;
8ab979d7 10235 wxMenuItem * _arg0;
1d99702e 10236 PyObject * _argo0 = 0;
b1462dfa 10237 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
10238
10239 self = self;
b1462dfa 10240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetLabel",_kwnames,&_argo0))
8ab979d7 10241 return NULL;
1d99702e
RD
10242 if (_argo0) {
10243 if (_argo0 == Py_None) { _arg0 = NULL; }
10244 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10245 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetLabel. Expected _wxMenuItem_p.");
8ab979d7
RD
10246 return NULL;
10247 }
10248 }
cf694132 10249{
474c48f9 10250 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10251 _result = new wxString (wxMenuItem_GetLabel(_arg0));
cf694132 10252
474c48f9 10253 wxPyEndAllowThreads(__tstate);
4dfaa61e 10254 if (PyErr_Occurred()) return NULL;
b1462dfa 10255}{
c8bc7bb8
RD
10256#if wxUSE_UNICODE
10257 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
10258#else
eec92d76 10259 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 10260#endif
8ab979d7 10261}
cf694132 10262{
b1462dfa
RD
10263 delete _result;
10264}
cf694132
RD
10265 return _resultobj;
10266}
10267
b1462dfa
RD
10268#define wxMenuItem_GetText(_swigobj) (_swigobj->GetText())
10269static PyObject *_wrap_wxMenuItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 10270 PyObject * _resultobj;
b1462dfa 10271 wxString * _result;
cf694132 10272 wxMenuItem * _arg0;
1d99702e 10273 PyObject * _argo0 = 0;
efc5f224 10274 char *_kwnames[] = { "self", NULL };
cf694132
RD
10275
10276 self = self;
b1462dfa 10277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetText",_kwnames,&_argo0))
cf694132 10278 return NULL;
1d99702e
RD
10279 if (_argo0) {
10280 if (_argo0 == Py_None) { _arg0 = NULL; }
10281 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10282 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetText. Expected _wxMenuItem_p.");
cf694132
RD
10283 return NULL;
10284 }
10285 }
10286{
474c48f9 10287 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10288 const wxString & _result_ref = wxMenuItem_GetText(_arg0);
b1462dfa 10289 _result = (wxString *) &_result_ref;
cf694132 10290
474c48f9 10291 wxPyEndAllowThreads(__tstate);
4dfaa61e 10292 if (PyErr_Occurred()) return NULL;
b1462dfa 10293}{
c8bc7bb8
RD
10294#if wxUSE_UNICODE
10295 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
10296#else
eec92d76 10297 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 10298#endif
cf694132 10299}
cf694132
RD
10300 return _resultobj;
10301}
10302
a884bee5
RD
10303#define wxMenuItem_GetKind(_swigobj) (_swigobj->GetKind())
10304static PyObject *_wrap_wxMenuItem_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
10305 PyObject * _resultobj;
10306 wxItemKind _result;
10307 wxMenuItem * _arg0;
10308 PyObject * _argo0 = 0;
10309 char *_kwnames[] = { "self", NULL };
10310
10311 self = self;
10312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetKind",_kwnames,&_argo0))
10313 return NULL;
10314 if (_argo0) {
10315 if (_argo0 == Py_None) { _arg0 = NULL; }
10316 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
10317 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetKind. Expected _wxMenuItem_p.");
10318 return NULL;
10319 }
10320 }
10321{
10322 PyThreadState* __tstate = wxPyBeginAllowThreads();
10323 _result = (wxItemKind )wxMenuItem_GetKind(_arg0);
10324
10325 wxPyEndAllowThreads(__tstate);
10326 if (PyErr_Occurred()) return NULL;
10327} _resultobj = Py_BuildValue("i",_result);
10328 return _resultobj;
10329}
10330
b1462dfa
RD
10331#define wxMenuItem_SetCheckable(_swigobj,_swigarg0) (_swigobj->SetCheckable(_swigarg0))
10332static PyObject *_wrap_wxMenuItem_SetCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 10333 PyObject * _resultobj;
cf694132 10334 wxMenuItem * _arg0;
b1462dfa 10335 bool _arg1;
1d99702e 10336 PyObject * _argo0 = 0;
b1462dfa
RD
10337 int tempbool1;
10338 char *_kwnames[] = { "self","checkable", NULL };
cf694132
RD
10339
10340 self = self;
b1462dfa 10341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuItem_SetCheckable",_kwnames,&_argo0,&tempbool1))
cf694132 10342 return NULL;
1d99702e
RD
10343 if (_argo0) {
10344 if (_argo0 == Py_None) { _arg0 = NULL; }
10345 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10346 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetCheckable. Expected _wxMenuItem_p.");
cf694132
RD
10347 return NULL;
10348 }
10349 }
b1462dfa 10350 _arg1 = (bool ) tempbool1;
cf694132 10351{
474c48f9 10352 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10353 wxMenuItem_SetCheckable(_arg0,_arg1);
cf694132 10354
474c48f9 10355 wxPyEndAllowThreads(__tstate);
4dfaa61e 10356 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
10357} Py_INCREF(Py_None);
10358 _resultobj = Py_None;
cf694132
RD
10359 return _resultobj;
10360}
10361
b1462dfa
RD
10362#define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
10363static PyObject *_wrap_wxMenuItem_IsCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 10364 PyObject * _resultobj;
b1462dfa 10365 bool _result;
cf694132 10366 wxMenuItem * _arg0;
1d99702e 10367 PyObject * _argo0 = 0;
efc5f224 10368 char *_kwnames[] = { "self", NULL };
cf694132
RD
10369
10370 self = self;
b1462dfa 10371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsCheckable",_kwnames,&_argo0))
cf694132 10372 return NULL;
1d99702e
RD
10373 if (_argo0) {
10374 if (_argo0 == Py_None) { _arg0 = NULL; }
10375 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10376 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
cf694132
RD
10377 return NULL;
10378 }
10379 }
10380{
474c48f9 10381 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10382 _result = (bool )wxMenuItem_IsCheckable(_arg0);
cf694132 10383
474c48f9 10384 wxPyEndAllowThreads(__tstate);
4dfaa61e 10385 if (PyErr_Occurred()) return NULL;
cf694132
RD
10386} _resultobj = Py_BuildValue("i",_result);
10387 return _resultobj;
10388}
10389
b1462dfa
RD
10390#define wxMenuItem_IsSubMenu(_swigobj) (_swigobj->IsSubMenu())
10391static PyObject *_wrap_wxMenuItem_IsSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 10392 PyObject * _resultobj;
b1462dfa 10393 bool _result;
cf694132 10394 wxMenuItem * _arg0;
1d99702e 10395 PyObject * _argo0 = 0;
efc5f224 10396 char *_kwnames[] = { "self", NULL };
cf694132
RD
10397
10398 self = self;
b1462dfa 10399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsSubMenu",_kwnames,&_argo0))
cf694132 10400 return NULL;
1d99702e
RD
10401 if (_argo0) {
10402 if (_argo0 == Py_None) { _arg0 = NULL; }
10403 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10404 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsSubMenu. Expected _wxMenuItem_p.");
cf694132
RD
10405 return NULL;
10406 }
10407 }
10408{
474c48f9 10409 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10410 _result = (bool )wxMenuItem_IsSubMenu(_arg0);
cf694132 10411
474c48f9 10412 wxPyEndAllowThreads(__tstate);
4dfaa61e 10413 if (PyErr_Occurred()) return NULL;
b1462dfa 10414} _resultobj = Py_BuildValue("i",_result);
cf694132
RD
10415 return _resultobj;
10416}
10417
b1462dfa
RD
10418#define wxMenuItem_SetSubMenu(_swigobj,_swigarg0) (_swigobj->SetSubMenu(_swigarg0))
10419static PyObject *_wrap_wxMenuItem_SetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132
RD
10420 PyObject * _resultobj;
10421 wxMenuItem * _arg0;
b1462dfa 10422 wxMenu * _arg1;
1d99702e
RD
10423 PyObject * _argo0 = 0;
10424 PyObject * _argo1 = 0;
b1462dfa 10425 char *_kwnames[] = { "self","menu", NULL };
cf694132
RD
10426
10427 self = self;
b1462dfa 10428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetSubMenu",_kwnames,&_argo0,&_argo1))
cf694132 10429 return NULL;
1d99702e
RD
10430 if (_argo0) {
10431 if (_argo0 == Py_None) { _arg0 = NULL; }
10432 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10433 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetSubMenu. Expected _wxMenuItem_p.");
cf694132
RD
10434 return NULL;
10435 }
10436 }
1d99702e
RD
10437 if (_argo1) {
10438 if (_argo1 == Py_None) { _arg1 = NULL; }
b1462dfa
RD
10439 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
10440 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenuItem_SetSubMenu. Expected _wxMenu_p.");
cf694132
RD
10441 return NULL;
10442 }
10443 }
10444{
474c48f9 10445 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10446 wxMenuItem_SetSubMenu(_arg0,_arg1);
cf694132 10447
474c48f9 10448 wxPyEndAllowThreads(__tstate);
4dfaa61e 10449 if (PyErr_Occurred()) return NULL;
cf694132
RD
10450} Py_INCREF(Py_None);
10451 _resultobj = Py_None;
10452 return _resultobj;
10453}
10454
b1462dfa
RD
10455#define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
10456static PyObject *_wrap_wxMenuItem_GetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 10457 PyObject * _resultobj;
b1462dfa 10458 wxMenu * _result;
cf694132 10459 wxMenuItem * _arg0;
1d99702e 10460 PyObject * _argo0 = 0;
b1462dfa 10461 char *_kwnames[] = { "self", NULL };
cf694132
RD
10462
10463 self = self;
b1462dfa 10464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetSubMenu",_kwnames,&_argo0))
cf694132 10465 return NULL;
1d99702e
RD
10466 if (_argo0) {
10467 if (_argo0 == Py_None) { _arg0 = NULL; }
10468 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10469 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
cf694132
RD
10470 return NULL;
10471 }
10472 }
b1462dfa 10473{
474c48f9 10474 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10475 _result = (wxMenu *)wxMenuItem_GetSubMenu(_arg0);
b1462dfa 10476
474c48f9 10477 wxPyEndAllowThreads(__tstate);
4dfaa61e 10478 if (PyErr_Occurred()) return NULL;
9df61a29 10479}{ _resultobj = wxPyMake_wxObject(_result); }
b1462dfa
RD
10480 return _resultobj;
10481}
10482
10483#define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
10484static PyObject *_wrap_wxMenuItem_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
10485 PyObject * _resultobj;
10486 wxMenuItem * _arg0;
10487 bool _arg1 = (bool ) TRUE;
10488 PyObject * _argo0 = 0;
10489 int tempbool1 = (int) TRUE;
10490 char *_kwnames[] = { "self","enable", NULL };
10491
10492 self = self;
10493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxMenuItem_Enable",_kwnames,&_argo0,&tempbool1))
10494 return NULL;
10495 if (_argo0) {
10496 if (_argo0 == Py_None) { _arg0 = NULL; }
10497 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
10498 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
cf694132
RD
10499 return NULL;
10500 }
10501 }
b1462dfa 10502 _arg1 = (bool ) tempbool1;
cf694132 10503{
474c48f9 10504 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10505 wxMenuItem_Enable(_arg0,_arg1);
cf694132 10506
474c48f9 10507 wxPyEndAllowThreads(__tstate);
4dfaa61e 10508 if (PyErr_Occurred()) return NULL;
cf694132
RD
10509} Py_INCREF(Py_None);
10510 _resultobj = Py_None;
10511 return _resultobj;
10512}
10513
b1462dfa
RD
10514#define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
10515static PyObject *_wrap_wxMenuItem_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 10516 PyObject * _resultobj;
b1462dfa 10517 bool _result;
cf694132 10518 wxMenuItem * _arg0;
1d99702e 10519 PyObject * _argo0 = 0;
b1462dfa 10520 char *_kwnames[] = { "self", NULL };
cf694132
RD
10521
10522 self = self;
b1462dfa 10523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsEnabled",_kwnames,&_argo0))
cf694132 10524 return NULL;
1d99702e
RD
10525 if (_argo0) {
10526 if (_argo0 == Py_None) { _arg0 = NULL; }
10527 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10528 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
cf694132
RD
10529 return NULL;
10530 }
10531 }
10532{
474c48f9 10533 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10534 _result = (bool )wxMenuItem_IsEnabled(_arg0);
cf694132 10535
474c48f9 10536 wxPyEndAllowThreads(__tstate);
4dfaa61e 10537 if (PyErr_Occurred()) return NULL;
b1462dfa 10538} _resultobj = Py_BuildValue("i",_result);
cf694132
RD
10539 return _resultobj;
10540}
10541
b1462dfa
RD
10542#define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
10543static PyObject *_wrap_wxMenuItem_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132
RD
10544 PyObject * _resultobj;
10545 wxMenuItem * _arg0;
b1462dfa 10546 bool _arg1 = (bool ) TRUE;
1d99702e 10547 PyObject * _argo0 = 0;
b1462dfa
RD
10548 int tempbool1 = (int) TRUE;
10549 char *_kwnames[] = { "self","check", NULL };
cf694132
RD
10550
10551 self = self;
b1462dfa 10552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxMenuItem_Check",_kwnames,&_argo0,&tempbool1))
cf694132 10553 return NULL;
1d99702e
RD
10554 if (_argo0) {
10555 if (_argo0 == Py_None) { _arg0 = NULL; }
10556 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10557 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
cf694132
RD
10558 return NULL;
10559 }
10560 }
b1462dfa 10561 _arg1 = (bool ) tempbool1;
cf694132 10562{
474c48f9 10563 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10564 wxMenuItem_Check(_arg0,_arg1);
cf694132 10565
474c48f9 10566 wxPyEndAllowThreads(__tstate);
4dfaa61e 10567 if (PyErr_Occurred()) return NULL;
cf694132
RD
10568} Py_INCREF(Py_None);
10569 _resultobj = Py_None;
10570 return _resultobj;
10571}
10572
b1462dfa
RD
10573#define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
10574static PyObject *_wrap_wxMenuItem_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
2abc0a0f 10575 PyObject * _resultobj;
b1462dfa 10576 bool _result;
2abc0a0f 10577 wxMenuItem * _arg0;
2abc0a0f 10578 PyObject * _argo0 = 0;
b1462dfa 10579 char *_kwnames[] = { "self", NULL };
2abc0a0f
RD
10580
10581 self = self;
b1462dfa 10582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsChecked",_kwnames,&_argo0))
2abc0a0f
RD
10583 return NULL;
10584 if (_argo0) {
10585 if (_argo0 == Py_None) { _arg0 = NULL; }
10586 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10587 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
2abc0a0f
RD
10588 return NULL;
10589 }
10590 }
2abc0a0f 10591{
474c48f9 10592 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10593 _result = (bool )wxMenuItem_IsChecked(_arg0);
2abc0a0f 10594
474c48f9 10595 wxPyEndAllowThreads(__tstate);
4dfaa61e 10596 if (PyErr_Occurred()) return NULL;
b1462dfa 10597} _resultobj = Py_BuildValue("i",_result);
2abc0a0f
RD
10598 return _resultobj;
10599}
10600
b1462dfa
RD
10601#define wxMenuItem_Toggle(_swigobj) (_swigobj->Toggle())
10602static PyObject *_wrap_wxMenuItem_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
2abc0a0f 10603 PyObject * _resultobj;
2abc0a0f
RD
10604 wxMenuItem * _arg0;
10605 PyObject * _argo0 = 0;
10606 char *_kwnames[] = { "self", NULL };
10607
10608 self = self;
b1462dfa 10609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_Toggle",_kwnames,&_argo0))
2abc0a0f
RD
10610 return NULL;
10611 if (_argo0) {
10612 if (_argo0 == Py_None) { _arg0 = NULL; }
10613 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10614 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_Toggle. Expected _wxMenuItem_p.");
2abc0a0f
RD
10615 return NULL;
10616 }
10617 }
10618{
474c48f9 10619 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10620 wxMenuItem_Toggle(_arg0);
2abc0a0f 10621
474c48f9 10622 wxPyEndAllowThreads(__tstate);
4dfaa61e 10623 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
10624} Py_INCREF(Py_None);
10625 _resultobj = Py_None;
2abc0a0f
RD
10626 return _resultobj;
10627}
10628
b1462dfa
RD
10629#define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
10630static PyObject *_wrap_wxMenuItem_SetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132
RD
10631 PyObject * _resultobj;
10632 wxMenuItem * _arg0;
b1462dfa 10633 wxString * _arg1;
1d99702e 10634 PyObject * _argo0 = 0;
b1462dfa
RD
10635 PyObject * _obj1 = 0;
10636 char *_kwnames[] = { "self","str", NULL };
cf694132
RD
10637
10638 self = self;
b1462dfa 10639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetHelp",_kwnames,&_argo0,&_obj1))
cf694132 10640 return NULL;
1d99702e
RD
10641 if (_argo0) {
10642 if (_argo0 == Py_None) { _arg0 = NULL; }
10643 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10644 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
cf694132
RD
10645 return NULL;
10646 }
10647 }
b1462dfa 10648{
c8bc7bb8
RD
10649 _arg1 = wxString_in_helper(_obj1);
10650 if (_arg1 == NULL)
2cd2fac8 10651 return NULL;
b1462dfa 10652}
cf694132 10653{
474c48f9 10654 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10655 wxMenuItem_SetHelp(_arg0,*_arg1);
cf694132 10656
474c48f9 10657 wxPyEndAllowThreads(__tstate);
4dfaa61e 10658 if (PyErr_Occurred()) return NULL;
cf694132 10659} Py_INCREF(Py_None);
8ab979d7 10660 _resultobj = Py_None;
b1462dfa
RD
10661{
10662 if (_obj1)
10663 delete _arg1;
10664}
8ab979d7
RD
10665 return _resultobj;
10666}
10667
b1462dfa
RD
10668#define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
10669static PyObject *_wrap_wxMenuItem_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
be4d9c1f 10670 PyObject * _resultobj;
b1462dfa 10671 wxString * _result;
be4d9c1f 10672 wxMenuItem * _arg0;
1d99702e 10673 PyObject * _argo0 = 0;
efc5f224 10674 char *_kwnames[] = { "self", NULL };
be4d9c1f
RD
10675
10676 self = self;
b1462dfa 10677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetHelp",_kwnames,&_argo0))
be4d9c1f 10678 return NULL;
1d99702e
RD
10679 if (_argo0) {
10680 if (_argo0 == Py_None) { _arg0 = NULL; }
10681 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10682 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
be4d9c1f
RD
10683 return NULL;
10684 }
10685 }
cf694132 10686{
474c48f9 10687 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10688 const wxString & _result_ref = wxMenuItem_GetHelp(_arg0);
b1462dfa 10689 _result = (wxString *) &_result_ref;
cf694132 10690
474c48f9 10691 wxPyEndAllowThreads(__tstate);
4dfaa61e 10692 if (PyErr_Occurred()) return NULL;
b1462dfa 10693}{
c8bc7bb8
RD
10694#if wxUSE_UNICODE
10695 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
10696#else
eec92d76 10697 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 10698#endif
b1462dfa 10699}
be4d9c1f
RD
10700 return _resultobj;
10701}
10702
b1462dfa
RD
10703#define wxMenuItem_GetAccel(_swigobj) (_swigobj->GetAccel())
10704static PyObject *_wrap_wxMenuItem_GetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
2abc0a0f 10705 PyObject * _resultobj;
b1462dfa 10706 wxAcceleratorEntry * _result;
2abc0a0f 10707 wxMenuItem * _arg0;
2abc0a0f 10708 PyObject * _argo0 = 0;
b1462dfa
RD
10709 char *_kwnames[] = { "self", NULL };
10710 char _ptemp[128];
2abc0a0f
RD
10711
10712 self = self;
b1462dfa 10713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetAccel",_kwnames,&_argo0))
2abc0a0f
RD
10714 return NULL;
10715 if (_argo0) {
10716 if (_argo0 == Py_None) { _arg0 = NULL; }
10717 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10718 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetAccel. Expected _wxMenuItem_p.");
2abc0a0f
RD
10719 return NULL;
10720 }
10721 }
2abc0a0f 10722{
474c48f9 10723 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10724 _result = (wxAcceleratorEntry *)wxMenuItem_GetAccel(_arg0);
2abc0a0f 10725
474c48f9 10726 wxPyEndAllowThreads(__tstate);
4dfaa61e 10727 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
10728} if (_result) {
10729 SWIG_MakePtr(_ptemp, (char *) _result,"_wxAcceleratorEntry_p");
10730 _resultobj = Py_BuildValue("s",_ptemp);
10731 } else {
10732 Py_INCREF(Py_None);
10733 _resultobj = Py_None;
10734 }
2abc0a0f
RD
10735 return _resultobj;
10736}
10737
b1462dfa
RD
10738#define wxMenuItem_SetAccel(_swigobj,_swigarg0) (_swigobj->SetAccel(_swigarg0))
10739static PyObject *_wrap_wxMenuItem_SetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
2abc0a0f
RD
10740 PyObject * _resultobj;
10741 wxMenuItem * _arg0;
b1462dfa 10742 wxAcceleratorEntry * _arg1;
2abc0a0f
RD
10743 PyObject * _argo0 = 0;
10744 PyObject * _argo1 = 0;
b1462dfa 10745 char *_kwnames[] = { "self","accel", NULL };
2abc0a0f
RD
10746
10747 self = self;
b1462dfa 10748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetAccel",_kwnames,&_argo0,&_argo1))
2abc0a0f
RD
10749 return NULL;
10750 if (_argo0) {
10751 if (_argo0 == Py_None) { _arg0 = NULL; }
10752 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10753 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetAccel. Expected _wxMenuItem_p.");
2abc0a0f
RD
10754 return NULL;
10755 }
10756 }
10757 if (_argo1) {
10758 if (_argo1 == Py_None) { _arg1 = NULL; }
b1462dfa
RD
10759 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxAcceleratorEntry_p")) {
10760 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenuItem_SetAccel. Expected _wxAcceleratorEntry_p.");
2abc0a0f
RD
10761 return NULL;
10762 }
10763 }
10764{
474c48f9 10765 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10766 wxMenuItem_SetAccel(_arg0,_arg1);
2abc0a0f 10767
474c48f9 10768 wxPyEndAllowThreads(__tstate);
4dfaa61e 10769 if (PyErr_Occurred()) return NULL;
2abc0a0f
RD
10770} Py_INCREF(Py_None);
10771 _resultobj = Py_None;
10772 return _resultobj;
10773}
10774
9c4165ad
RD
10775static PyObject *_wrap_wxMenuItem_GetLabelFromText(PyObject *self, PyObject *args, PyObject *kwargs) {
10776 PyObject * _resultobj;
10777 wxString * _result;
10778 wxString * _arg0;
10779 PyObject * _obj0 = 0;
10780 char *_kwnames[] = { "text", NULL };
10781
10782 self = self;
10783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetLabelFromText",_kwnames,&_obj0))
10784 return NULL;
10785{
c8bc7bb8
RD
10786 _arg0 = wxString_in_helper(_obj0);
10787 if (_arg0 == NULL)
9c4165ad 10788 return NULL;
9c4165ad
RD
10789}
10790{
474c48f9 10791 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10792 _result = new wxString (wxMenuItem::GetLabelFromText(*_arg0));
9c4165ad 10793
474c48f9 10794 wxPyEndAllowThreads(__tstate);
4dfaa61e 10795 if (PyErr_Occurred()) return NULL;
9c4165ad 10796}{
c8bc7bb8
RD
10797#if wxUSE_UNICODE
10798 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
10799#else
9c4165ad 10800 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 10801#endif
9c4165ad
RD
10802}
10803{
10804 if (_obj0)
10805 delete _arg0;
10806}
10807{
10808 delete _result;
10809}
10810 return _resultobj;
10811}
10812
8ab979d7 10813static PyMethodDef windowscMethods[] = {
9c4165ad 10814 { "wxMenuItem_GetLabelFromText", (PyCFunction) _wrap_wxMenuItem_GetLabelFromText, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
10815 { "wxMenuItem_SetAccel", (PyCFunction) _wrap_wxMenuItem_SetAccel, METH_VARARGS | METH_KEYWORDS },
10816 { "wxMenuItem_GetAccel", (PyCFunction) _wrap_wxMenuItem_GetAccel, METH_VARARGS | METH_KEYWORDS },
10817 { "wxMenuItem_GetHelp", (PyCFunction) _wrap_wxMenuItem_GetHelp, METH_VARARGS | METH_KEYWORDS },
10818 { "wxMenuItem_SetHelp", (PyCFunction) _wrap_wxMenuItem_SetHelp, METH_VARARGS | METH_KEYWORDS },
10819 { "wxMenuItem_Toggle", (PyCFunction) _wrap_wxMenuItem_Toggle, METH_VARARGS | METH_KEYWORDS },
10820 { "wxMenuItem_IsChecked", (PyCFunction) _wrap_wxMenuItem_IsChecked, METH_VARARGS | METH_KEYWORDS },
efc5f224 10821 { "wxMenuItem_Check", (PyCFunction) _wrap_wxMenuItem_Check, METH_VARARGS | METH_KEYWORDS },
b1462dfa 10822 { "wxMenuItem_IsEnabled", (PyCFunction) _wrap_wxMenuItem_IsEnabled, METH_VARARGS | METH_KEYWORDS },
efc5f224 10823 { "wxMenuItem_Enable", (PyCFunction) _wrap_wxMenuItem_Enable, METH_VARARGS | METH_KEYWORDS },
efc5f224 10824 { "wxMenuItem_GetSubMenu", (PyCFunction) _wrap_wxMenuItem_GetSubMenu, METH_VARARGS | METH_KEYWORDS },
b1462dfa 10825 { "wxMenuItem_SetSubMenu", (PyCFunction) _wrap_wxMenuItem_SetSubMenu, METH_VARARGS | METH_KEYWORDS },
2abc0a0f 10826 { "wxMenuItem_IsSubMenu", (PyCFunction) _wrap_wxMenuItem_IsSubMenu, METH_VARARGS | METH_KEYWORDS },
efc5f224 10827 { "wxMenuItem_IsCheckable", (PyCFunction) _wrap_wxMenuItem_IsCheckable, METH_VARARGS | METH_KEYWORDS },
b1462dfa 10828 { "wxMenuItem_SetCheckable", (PyCFunction) _wrap_wxMenuItem_SetCheckable, METH_VARARGS | METH_KEYWORDS },
a884bee5 10829 { "wxMenuItem_GetKind", (PyCFunction) _wrap_wxMenuItem_GetKind, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
10830 { "wxMenuItem_GetText", (PyCFunction) _wrap_wxMenuItem_GetText, METH_VARARGS | METH_KEYWORDS },
10831 { "wxMenuItem_GetLabel", (PyCFunction) _wrap_wxMenuItem_GetLabel, METH_VARARGS | METH_KEYWORDS },
10832 { "wxMenuItem_SetText", (PyCFunction) _wrap_wxMenuItem_SetText, METH_VARARGS | METH_KEYWORDS },
efc5f224 10833 { "wxMenuItem_IsSeparator", (PyCFunction) _wrap_wxMenuItem_IsSeparator, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
10834 { "wxMenuItem_GetId", (PyCFunction) _wrap_wxMenuItem_GetId, METH_VARARGS | METH_KEYWORDS },
10835 { "wxMenuItem_SetId", (PyCFunction) _wrap_wxMenuItem_SetId, METH_VARARGS | METH_KEYWORDS },
10836 { "wxMenuItem_GetMenu", (PyCFunction) _wrap_wxMenuItem_GetMenu, METH_VARARGS | METH_KEYWORDS },
efc5f224 10837 { "new_wxMenuItem", (PyCFunction) _wrap_new_wxMenuItem, METH_VARARGS | METH_KEYWORDS },
b1462dfa 10838 { "wxMenuBar_GetHelpString", (PyCFunction) _wrap_wxMenuBar_GetHelpString, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10839 { "wxMenuBar_SetHelpString", (PyCFunction) _wrap_wxMenuBar_SetHelpString, METH_VARARGS | METH_KEYWORDS },
10840 { "wxMenuBar_GetLabel", (PyCFunction) _wrap_wxMenuBar_GetLabel, METH_VARARGS | METH_KEYWORDS },
2f90df85 10841 { "wxMenuBar_SetLabel", (PyCFunction) _wrap_wxMenuBar_SetLabel, METH_VARARGS | METH_KEYWORDS },
2abc0a0f
RD
10842 { "wxMenuBar_IsEnabled", (PyCFunction) _wrap_wxMenuBar_IsEnabled, METH_VARARGS | METH_KEYWORDS },
10843 { "wxMenuBar_IsChecked", (PyCFunction) _wrap_wxMenuBar_IsChecked, METH_VARARGS | METH_KEYWORDS },
efc5f224 10844 { "wxMenuBar_Check", (PyCFunction) _wrap_wxMenuBar_Check, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
10845 { "wxMenuBar_Enable", (PyCFunction) _wrap_wxMenuBar_Enable, METH_VARARGS | METH_KEYWORDS },
10846 { "wxMenuBar_FindItemById", (PyCFunction) _wrap_wxMenuBar_FindItemById, METH_VARARGS | METH_KEYWORDS },
10847 { "wxMenuBar_FindMenuItem", (PyCFunction) _wrap_wxMenuBar_FindMenuItem, METH_VARARGS | METH_KEYWORDS },
10be44ac 10848 { "wxMenuBar_FindMenu", (PyCFunction) _wrap_wxMenuBar_FindMenu, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
10849 { "wxMenuBar_GetLabelTop", (PyCFunction) _wrap_wxMenuBar_GetLabelTop, METH_VARARGS | METH_KEYWORDS },
10850 { "wxMenuBar_SetLabelTop", (PyCFunction) _wrap_wxMenuBar_SetLabelTop, METH_VARARGS | METH_KEYWORDS },
10851 { "wxMenuBar_EnableTop", (PyCFunction) _wrap_wxMenuBar_EnableTop, METH_VARARGS | METH_KEYWORDS },
10852 { "wxMenuBar_Remove", (PyCFunction) _wrap_wxMenuBar_Remove, METH_VARARGS | METH_KEYWORDS },
10853 { "wxMenuBar_Replace", (PyCFunction) _wrap_wxMenuBar_Replace, METH_VARARGS | METH_KEYWORDS },
10854 { "wxMenuBar_GetMenu", (PyCFunction) _wrap_wxMenuBar_GetMenu, METH_VARARGS | METH_KEYWORDS },
10855 { "wxMenuBar_GetMenuCount", (PyCFunction) _wrap_wxMenuBar_GetMenuCount, METH_VARARGS | METH_KEYWORDS },
10856 { "wxMenuBar_Insert", (PyCFunction) _wrap_wxMenuBar_Insert, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10857 { "wxMenuBar_Append", (PyCFunction) _wrap_wxMenuBar_Append, METH_VARARGS | METH_KEYWORDS },
10858 { "new_wxMenuBar", (PyCFunction) _wrap_new_wxMenuBar, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
10859 { "wxMenu_GetParent", (PyCFunction) _wrap_wxMenu_GetParent, METH_VARARGS | METH_KEYWORDS },
10860 { "wxMenu_SetParent", (PyCFunction) _wrap_wxMenu_SetParent, METH_VARARGS | METH_KEYWORDS },
10861 { "wxMenu_IsAttached", (PyCFunction) _wrap_wxMenu_IsAttached, METH_VARARGS | METH_KEYWORDS },
10862 { "wxMenu_GetStyle", (PyCFunction) _wrap_wxMenu_GetStyle, METH_VARARGS | METH_KEYWORDS },
10863 { "wxMenu_GetInvokingWindow", (PyCFunction) _wrap_wxMenu_GetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
10864 { "wxMenu_SetInvokingWindow", (PyCFunction) _wrap_wxMenu_SetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
10865 { "wxMenu_GetEventHandler", (PyCFunction) _wrap_wxMenu_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
10866 { "wxMenu_SetEventHandler", (PyCFunction) _wrap_wxMenu_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
10867 { "wxMenu_GetMenuItems", (PyCFunction) _wrap_wxMenu_GetMenuItems, METH_VARARGS | METH_KEYWORDS },
10868 { "wxMenu_GetMenuItemCount", (PyCFunction) _wrap_wxMenu_GetMenuItemCount, METH_VARARGS | METH_KEYWORDS },
10869 { "wxMenu_DestroyItem", (PyCFunction) _wrap_wxMenu_DestroyItem, METH_VARARGS | METH_KEYWORDS },
10870 { "wxMenu_DestroyId", (PyCFunction) _wrap_wxMenu_DestroyId, METH_VARARGS | METH_KEYWORDS },
efc5f224 10871 { "wxMenu_Destroy", (PyCFunction) _wrap_wxMenu_Destroy, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
10872 { "wxMenu_RemoveItem", (PyCFunction) _wrap_wxMenu_RemoveItem, METH_VARARGS | METH_KEYWORDS },
10873 { "wxMenu_Remove", (PyCFunction) _wrap_wxMenu_Remove, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
10874 { "wxMenu_DeleteItem", (PyCFunction) _wrap_wxMenu_DeleteItem, METH_VARARGS | METH_KEYWORDS },
10875 { "wxMenu_Delete", (PyCFunction) _wrap_wxMenu_Delete, METH_VARARGS | METH_KEYWORDS },
efc5f224 10876 { "wxMenu_UpdateUI", (PyCFunction) _wrap_wxMenu_UpdateUI, METH_VARARGS | METH_KEYWORDS },
efc5f224 10877 { "wxMenu_SetHelpString", (PyCFunction) _wrap_wxMenu_SetHelpString, METH_VARARGS | METH_KEYWORDS },
efc5f224 10878 { "wxMenu_GetHelpString", (PyCFunction) _wrap_wxMenu_GetHelpString, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
10879 { "wxMenu_SetLabel", (PyCFunction) _wrap_wxMenu_SetLabel, METH_VARARGS | METH_KEYWORDS },
10880 { "wxMenu_GetLabel", (PyCFunction) _wrap_wxMenu_GetLabel, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10881 { "wxMenu_SetTitle", (PyCFunction) _wrap_wxMenu_SetTitle, METH_VARARGS | METH_KEYWORDS },
10882 { "wxMenu_GetTitle", (PyCFunction) _wrap_wxMenu_GetTitle, METH_VARARGS | METH_KEYWORDS },
b1462dfa 10883 { "wxMenu_FindItemById", (PyCFunction) _wrap_wxMenu_FindItemById, METH_VARARGS | METH_KEYWORDS },
efc5f224 10884 { "wxMenu_FindItem", (PyCFunction) _wrap_wxMenu_FindItem, METH_VARARGS | METH_KEYWORDS },
b1462dfa 10885 { "wxMenu_IsEnabled", (PyCFunction) _wrap_wxMenu_IsEnabled, METH_VARARGS | METH_KEYWORDS },
efc5f224 10886 { "wxMenu_Enable", (PyCFunction) _wrap_wxMenu_Enable, METH_VARARGS | METH_KEYWORDS },
b1462dfa 10887 { "wxMenu_IsChecked", (PyCFunction) _wrap_wxMenu_IsChecked, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10888 { "wxMenu_Check", (PyCFunction) _wrap_wxMenu_Check, METH_VARARGS | METH_KEYWORDS },
10889 { "wxMenu_Break", (PyCFunction) _wrap_wxMenu_Break, METH_VARARGS | METH_KEYWORDS },
a884bee5
RD
10890 { "wxMenu_PrependItem", (PyCFunction) _wrap_wxMenu_PrependItem, METH_VARARGS | METH_KEYWORDS },
10891 { "wxMenu_PrependMenu", (PyCFunction) _wrap_wxMenu_PrependMenu, METH_VARARGS | METH_KEYWORDS },
10892 { "wxMenu_PrependRadioItem", (PyCFunction) _wrap_wxMenu_PrependRadioItem, METH_VARARGS | METH_KEYWORDS },
10893 { "wxMenu_PrependCheckItem", (PyCFunction) _wrap_wxMenu_PrependCheckItem, METH_VARARGS | METH_KEYWORDS },
10894 { "wxMenu_PrependSeparator", (PyCFunction) _wrap_wxMenu_PrependSeparator, METH_VARARGS | METH_KEYWORDS },
10895 { "wxMenu_Prepend", (PyCFunction) _wrap_wxMenu_Prepend, METH_VARARGS | METH_KEYWORDS },
10896 { "wxMenu_InsertItem", (PyCFunction) _wrap_wxMenu_InsertItem, METH_VARARGS | METH_KEYWORDS },
10897 { "wxMenu_InsertMenu", (PyCFunction) _wrap_wxMenu_InsertMenu, METH_VARARGS | METH_KEYWORDS },
10898 { "wxMenu_InsertRadioItem", (PyCFunction) _wrap_wxMenu_InsertRadioItem, METH_VARARGS | METH_KEYWORDS },
10899 { "wxMenu_InsertCheckItem", (PyCFunction) _wrap_wxMenu_InsertCheckItem, METH_VARARGS | METH_KEYWORDS },
10900 { "wxMenu_InsertSeparator", (PyCFunction) _wrap_wxMenu_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
10901 { "wxMenu_Insert", (PyCFunction) _wrap_wxMenu_Insert, METH_VARARGS | METH_KEYWORDS },
efc5f224 10902 { "wxMenu_AppendSeparator", (PyCFunction) _wrap_wxMenu_AppendSeparator, METH_VARARGS | METH_KEYWORDS },
a884bee5
RD
10903 { "wxMenu_AppendRadioItem", (PyCFunction) _wrap_wxMenu_AppendRadioItem, METH_VARARGS | METH_KEYWORDS },
10904 { "wxMenu_AppendCheckItem", (PyCFunction) _wrap_wxMenu_AppendCheckItem, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10905 { "wxMenu_AppendItem", (PyCFunction) _wrap_wxMenu_AppendItem, METH_VARARGS | METH_KEYWORDS },
10906 { "wxMenu_AppendMenu", (PyCFunction) _wrap_wxMenu_AppendMenu, METH_VARARGS | METH_KEYWORDS },
10907 { "wxMenu_Append", (PyCFunction) _wrap_wxMenu_Append, METH_VARARGS | METH_KEYWORDS },
10908 { "new_wxMenu", (PyCFunction) _wrap_new_wxMenu, METH_VARARGS | METH_KEYWORDS },
49df1f52 10909 { "wxScrolledWindow_Layout", (PyCFunction) _wrap_wxScrolledWindow_Layout, METH_VARARGS | METH_KEYWORDS },
7a446686
RD
10910 { "wxScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_wxScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
10911 { "wxScrolledWindow_GetScaleY", (PyCFunction) _wrap_wxScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
10912 { "wxScrolledWindow_GetScaleX", (PyCFunction) _wrap_wxScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
10913 { "wxScrolledWindow_SetScale", (PyCFunction) _wrap_wxScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
a884bee5
RD
10914 { "wxScrolledWindow_CalcUnscrolledPosition2", (PyCFunction) _wrap_wxScrolledWindow_CalcUnscrolledPosition2, METH_VARARGS | METH_KEYWORDS },
10915 { "wxScrolledWindow_CalcUnscrolledPosition1", (PyCFunction) _wrap_wxScrolledWindow_CalcUnscrolledPosition1, METH_VARARGS | METH_KEYWORDS },
10916 { "wxScrolledWindow_CalcScrolledPosition2", (PyCFunction) _wrap_wxScrolledWindow_CalcScrolledPosition2, METH_VARARGS | METH_KEYWORDS },
10917 { "wxScrolledWindow_CalcScrolledPosition1", (PyCFunction) _wrap_wxScrolledWindow_CalcScrolledPosition1, METH_VARARGS | METH_KEYWORDS },
4c9993c3 10918 { "wxScrolledWindow_GetViewStart", (PyCFunction) _wrap_wxScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
eb715945 10919 { "wxScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_wxScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
b7e72427 10920 { "wxScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_wxScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10921 { "wxScrolledWindow_SetScrollbars", (PyCFunction) _wrap_wxScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
10922 { "wxScrolledWindow_Scroll", (PyCFunction) _wrap_wxScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
10923 { "wxScrolledWindow_PrepareDC", (PyCFunction) _wrap_wxScrolledWindow_PrepareDC, METH_VARARGS | METH_KEYWORDS },
10924 { "wxScrolledWindow_IsRetained", (PyCFunction) _wrap_wxScrolledWindow_IsRetained, METH_VARARGS | METH_KEYWORDS },
10925 { "wxScrolledWindow_GetVirtualSize", (PyCFunction) _wrap_wxScrolledWindow_GetVirtualSize, METH_VARARGS | METH_KEYWORDS },
b7e72427 10926 { "wxScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_wxScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
efc5f224 10927 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
b7e72427 10928 { "wxScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_wxScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
efc5f224 10929 { "wxScrolledWindow_EnableScrolling", (PyCFunction) _wrap_wxScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
10930 { "wxScrolledWindow_Create", (PyCFunction) _wrap_wxScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
10931 { "new_wxPreScrolledWindow", (PyCFunction) _wrap_new_wxPreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
efc5f224 10932 { "new_wxScrolledWindow", (PyCFunction) _wrap_new_wxScrolledWindow, METH_VARARGS | METH_KEYWORDS },
efc5f224 10933 { "wxPanel_InitDialog", (PyCFunction) _wrap_wxPanel_InitDialog, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
10934 { "wxPanel_Create", (PyCFunction) _wrap_wxPanel_Create, METH_VARARGS | METH_KEYWORDS },
10935 { "new_wxPrePanel", (PyCFunction) _wrap_new_wxPrePanel, METH_VARARGS | METH_KEYWORDS },
efc5f224 10936 { "new_wxPanel", (PyCFunction) _wrap_new_wxPanel, METH_VARARGS | METH_KEYWORDS },
94c16279
RD
10937 { "wxWindow_HasCapture", (PyCFunction) _wrap_wxWindow_HasCapture, METH_VARARGS | METH_KEYWORDS },
10938 { "wxWindow_GetCapture", (PyCFunction) _wrap_wxWindow_GetCapture, METH_VARARGS | METH_KEYWORDS },
10939 { "wxWindow_ReleaseMouse", (PyCFunction) _wrap_wxWindow_ReleaseMouse, METH_VARARGS | METH_KEYWORDS },
10940 { "wxWindow_CaptureMouse", (PyCFunction) _wrap_wxWindow_CaptureMouse, METH_VARARGS | METH_KEYWORDS },
10941 { "wxWindow_WarpPointer", (PyCFunction) _wrap_wxWindow_WarpPointer, METH_VARARGS | METH_KEYWORDS },
1893b029
RD
10942 { "wxWindow_SetDefaultItem", (PyCFunction) _wrap_wxWindow_SetDefaultItem, METH_VARARGS | METH_KEYWORDS },
10943 { "wxWindow_GetDefaultItem", (PyCFunction) _wrap_wxWindow_GetDefaultItem, METH_VARARGS | METH_KEYWORDS },
65191ae8 10944 { "wxWindow_GetAcceleratorTable", (PyCFunction) _wrap_wxWindow_GetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
32c988a3 10945 { "wxWindow_SetAcceleratorTable", (PyCFunction) _wrap_wxWindow_SetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
10946 { "wxWindow_PrevControlId", (PyCFunction) _wrap_wxWindow_PrevControlId, METH_VARARGS | METH_KEYWORDS },
10947 { "wxWindow_NextControlId", (PyCFunction) _wrap_wxWindow_NextControlId, METH_VARARGS | METH_KEYWORDS },
10948 { "wxWindow_NewControlId", (PyCFunction) _wrap_wxWindow_NewControlId, METH_VARARGS | METH_KEYWORDS },
10949 { "wxWindow_FindFocus", (PyCFunction) _wrap_wxWindow_FindFocus, METH_VARARGS | METH_KEYWORDS },
cd096152
RD
10950 { "wxWindow_PageDown", (PyCFunction) _wrap_wxWindow_PageDown, METH_VARARGS | METH_KEYWORDS },
10951 { "wxWindow_PageUp", (PyCFunction) _wrap_wxWindow_PageUp, METH_VARARGS | METH_KEYWORDS },
10952 { "wxWindow_LineDown", (PyCFunction) _wrap_wxWindow_LineDown, METH_VARARGS | METH_KEYWORDS },
10953 { "wxWindow_LineUp", (PyCFunction) _wrap_wxWindow_LineUp, METH_VARARGS | METH_KEYWORDS },
10954 { "wxWindow_ScrollPages", (PyCFunction) _wrap_wxWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
10955 { "wxWindow_ScrollLines", (PyCFunction) _wrap_wxWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
8cb49012 10956 { "wxWindow_SetHelpTextForId", (PyCFunction) _wrap_wxWindow_SetHelpTextForId, METH_VARARGS | METH_KEYWORDS },
cd096152
RD
10957 { "wxWindow_SetHelpText", (PyCFunction) _wrap_wxWindow_SetHelpText, METH_VARARGS | METH_KEYWORDS },
10958 { "wxWindow_GetHelpText", (PyCFunction) _wrap_wxWindow_GetHelpText, METH_VARARGS | METH_KEYWORDS },
aa2a5b86 10959 { "wxWindow_Update", (PyCFunction) _wrap_wxWindow_Update, METH_VARARGS | METH_KEYWORDS },
10be44ac
RD
10960 { "wxWindow_Thaw", (PyCFunction) _wrap_wxWindow_Thaw, METH_VARARGS | METH_KEYWORDS },
10961 { "wxWindow_Freeze", (PyCFunction) _wrap_wxWindow_Freeze, METH_VARARGS | METH_KEYWORDS },
a1df7a95
RD
10962 { "wxWindow_GetCaret", (PyCFunction) _wrap_wxWindow_GetCaret, METH_VARARGS | METH_KEYWORDS },
10963 { "wxWindow_SetCaret", (PyCFunction) _wrap_wxWindow_SetCaret, METH_VARARGS | METH_KEYWORDS },
49df1f52 10964 { "wxWindow_GetMaxSize", (PyCFunction) _wrap_wxWindow_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
694759cf 10965 { "wxWindow_GetBestSize", (PyCFunction) _wrap_wxWindow_GetBestSize, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
10966 { "wxWindow_GetDropTarget", (PyCFunction) _wrap_wxWindow_GetDropTarget, METH_VARARGS | METH_KEYWORDS },
10967 { "wxWindow_SetDropTarget", (PyCFunction) _wrap_wxWindow_SetDropTarget, METH_VARARGS | METH_KEYWORDS },
2f90df85
RD
10968 { "wxWindow_SetValidator", (PyCFunction) _wrap_wxWindow_SetValidator, METH_VARARGS | METH_KEYWORDS },
10969 { "wxWindow_GetValidator", (PyCFunction) _wrap_wxWindow_GetValidator, METH_VARARGS | METH_KEYWORDS },
94082a71
RD
10970 { "wxWindow_GetContainingSizer", (PyCFunction) _wrap_wxWindow_GetContainingSizer, METH_VARARGS | METH_KEYWORDS },
10971 { "wxWindow_SetContainingSizer", (PyCFunction) _wrap_wxWindow_SetContainingSizer, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 10972 { "wxWindow_GetSizer", (PyCFunction) _wrap_wxWindow_GetSizer, METH_VARARGS | METH_KEYWORDS },
2f90df85 10973 { "wxWindow_SetSizer", (PyCFunction) _wrap_wxWindow_SetSizer, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10974 { "wxWindow_GetToolTip", (PyCFunction) _wrap_wxWindow_GetToolTip, METH_VARARGS | METH_KEYWORDS },
10975 { "wxWindow_SetToolTip", (PyCFunction) _wrap_wxWindow_SetToolTip, METH_VARARGS | METH_KEYWORDS },
10976 { "wxWindow_SetToolTipString", (PyCFunction) _wrap_wxWindow_SetToolTipString, METH_VARARGS | METH_KEYWORDS },
10977 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction) _wrap_wxWindow_ConvertPixelSizeToDialog, METH_VARARGS | METH_KEYWORDS },
10978 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction) _wrap_wxWindow_ConvertPixelPointToDialog, METH_VARARGS | METH_KEYWORDS },
10979 { "wxWindow_DLG_SZE", (PyCFunction) _wrap_wxWindow_ConvertDialogSizeToPixels, METH_VARARGS | METH_KEYWORDS },
10980 { "wxWindow_DLG_PNT", (PyCFunction) _wrap_wxWindow_ConvertDialogPointToPixels, METH_VARARGS | METH_KEYWORDS },
10981 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction) _wrap_wxWindow_ConvertDialogSizeToPixels, METH_VARARGS | METH_KEYWORDS },
10982 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction) _wrap_wxWindow_ConvertDialogPointToPixels, METH_VARARGS | METH_KEYWORDS },
efc5f224 10983 { "wxWindow_Validate", (PyCFunction) _wrap_wxWindow_Validate, METH_VARARGS | METH_KEYWORDS },
8cb49012 10984 { "wxWindow_UpdateWindowUI", (PyCFunction) _wrap_wxWindow_UpdateWindowUI, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10985 { "wxWindow_TransferDataToWindow", (PyCFunction) _wrap_wxWindow_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
10986 { "wxWindow_TransferDataFromWindow", (PyCFunction) _wrap_wxWindow_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
10987 { "wxWindow_Show", (PyCFunction) _wrap_wxWindow_Show, METH_VARARGS | METH_KEYWORDS },
10988 { "wxWindow_SetTitle", (PyCFunction) _wrap_wxWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
5e40f9dd 10989 { "wxWindow_SetExtraStyle", (PyCFunction) _wrap_wxWindow_SetExtraStyle, METH_VARARGS | METH_KEYWORDS },
1afc06c2 10990 { "wxWindow_SetEventHandler", (PyCFunction) _wrap_wxWindow_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10991 { "wxWindow_SetCursor", (PyCFunction) _wrap_wxWindow_SetCursor, METH_VARARGS | METH_KEYWORDS },
10992 { "wxWindow_SetClientSize", (PyCFunction) _wrap_wxWindow_SetClientSize, METH_VARARGS | METH_KEYWORDS },
10993 { "wxWindow_SetClientSizeWH", (PyCFunction) _wrap_wxWindow_SetClientSizeWH, METH_VARARGS | METH_KEYWORDS },
10994 { "wxWindow_SetSizeHints", (PyCFunction) _wrap_wxWindow_SetSizeHints, METH_VARARGS | METH_KEYWORDS },
2cd2fac8 10995 { "wxWindow_SetRect", (PyCFunction) _wrap_wxWindow_SetRect, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10996 { "wxWindow_SetPosition", (PyCFunction) _wrap_wxWindow_SetPosition, METH_VARARGS | METH_KEYWORDS },
10997 { "wxWindow_SetSize", (PyCFunction) _wrap_wxWindow_SetSize, METH_VARARGS | METH_KEYWORDS },
10998 { "wxWindow_SetDimensions", (PyCFunction) _wrap_wxWindow_SetDimensions, METH_VARARGS | METH_KEYWORDS },
10999 { "wxWindow_SetScrollPos", (PyCFunction) _wrap_wxWindow_SetScrollPos, METH_VARARGS | METH_KEYWORDS },
11000 { "wxWindow_SetScrollbar", (PyCFunction) _wrap_wxWindow_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
11001 { "wxWindow_SetName", (PyCFunction) _wrap_wxWindow_SetName, METH_VARARGS | METH_KEYWORDS },
11002 { "wxWindow_SetId", (PyCFunction) _wrap_wxWindow_SetId, METH_VARARGS | METH_KEYWORDS },
11003 { "wxWindow_SetForegroundColour", (PyCFunction) _wrap_wxWindow_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
11004 { "wxWindow_SetFont", (PyCFunction) _wrap_wxWindow_SetFont, METH_VARARGS | METH_KEYWORDS },
2f90df85 11005 { "wxWindow_AcceptsFocus", (PyCFunction) _wrap_wxWindow_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
efc5f224 11006 { "wxWindow_SetFocus", (PyCFunction) _wrap_wxWindow_SetFocus, METH_VARARGS | METH_KEYWORDS },
2f90df85 11007 { "wxWindow_UnsetConstraints", (PyCFunction) _wrap_wxWindow_UnsetConstraints, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11008 { "wxWindow_SetConstraints", (PyCFunction) _wrap_wxWindow_SetConstraints, METH_VARARGS | METH_KEYWORDS },
11009 { "wxWindow_SetBackgroundColour", (PyCFunction) _wrap_wxWindow_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
9d8bd15f 11010 { "wxWindow_GetAutoLayout", (PyCFunction) _wrap_wxWindow_GetAutoLayout, METH_VARARGS | METH_KEYWORDS },
efc5f224 11011 { "wxWindow_SetAutoLayout", (PyCFunction) _wrap_wxWindow_SetAutoLayout, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11012 { "wxWindow_ScrollWindow", (PyCFunction) _wrap_wxWindow_ScrollWindow, METH_VARARGS | METH_KEYWORDS },
11013 { "wxWindow_ScreenToClient", (PyCFunction) _wrap_wxWindow_ScreenToClient, METH_VARARGS | METH_KEYWORDS },
11014 { "wxWindow_ScreenToClientXY", (PyCFunction) _wrap_wxWindow_ScreenToClientXY, METH_VARARGS | METH_KEYWORDS },
11015 { "wxWindow_Reparent", (PyCFunction) _wrap_wxWindow_Reparent, METH_VARARGS | METH_KEYWORDS },
b7e72427 11016 { "wxWindow_RemoveChild", (PyCFunction) _wrap_wxWindow_RemoveChild, METH_VARARGS | METH_KEYWORDS },
aa2a5b86 11017 { "wxWindow_RefreshRect", (PyCFunction) _wrap_wxWindow_RefreshRect, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11018 { "wxWindow_Refresh", (PyCFunction) _wrap_wxWindow_Refresh, METH_VARARGS | METH_KEYWORDS },
11019 { "wxWindow_Raise", (PyCFunction) _wrap_wxWindow_Raise, METH_VARARGS | METH_KEYWORDS },
11020 { "wxWindow_PopupMenu", (PyCFunction) _wrap_wxWindow_PopupMenu, METH_VARARGS | METH_KEYWORDS },
11021 { "wxWindow_PopupMenuXY", (PyCFunction) _wrap_wxWindow_PopupMenuXY, METH_VARARGS | METH_KEYWORDS },
5d413391 11022 { "wxWindow_RemoveEventHandler", (PyCFunction) _wrap_wxWindow_RemoveEventHandler, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
11023 { "wxWindow_PushEventHandler", (PyCFunction) _wrap_wxWindow_PushEventHandler, METH_VARARGS | METH_KEYWORDS },
11024 { "wxWindow_PopEventHandler", (PyCFunction) _wrap_wxWindow_PopEventHandler, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11025 { "wxWindow_Move", (PyCFunction) _wrap_wxWindow_Move, METH_VARARGS | METH_KEYWORDS },
11026 { "wxWindow_MoveXY", (PyCFunction) _wrap_wxWindow_MoveXY, METH_VARARGS | METH_KEYWORDS },
11027 { "wxWindow_MakeModal", (PyCFunction) _wrap_wxWindow_MakeModal, METH_VARARGS | METH_KEYWORDS },
11028 { "wxWindow_Lower", (PyCFunction) _wrap_wxWindow_Lower, METH_VARARGS | METH_KEYWORDS },
11029 { "wxWindow_LoadFromResource", (PyCFunction) _wrap_wxWindow_LoadFromResource, METH_VARARGS | METH_KEYWORDS },
11030 { "wxWindow_Layout", (PyCFunction) _wrap_wxWindow_Layout, METH_VARARGS | METH_KEYWORDS },
11031 { "wxWindow_IsTopLevel", (PyCFunction) _wrap_wxWindow_IsTopLevel, METH_VARARGS | METH_KEYWORDS },
11032 { "wxWindow_IsShown", (PyCFunction) _wrap_wxWindow_IsShown, METH_VARARGS | METH_KEYWORDS },
11033 { "wxWindow_IsRetained", (PyCFunction) _wrap_wxWindow_IsRetained, METH_VARARGS | METH_KEYWORDS },
1b55cabf
RD
11034 { "wxWindow_IsExposedRect", (PyCFunction) _wrap_wxWindow_IsExposedRect, METH_VARARGS | METH_KEYWORDS },
11035 { "wxWindow_IsExposedPoint", (PyCFunction) _wrap_wxWindow_IsExposedPoint, METH_VARARGS | METH_KEYWORDS },
11036 { "wxWindow_IsExposed", (PyCFunction) _wrap_wxWindow_IsExposed, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11037 { "wxWindow_IsEnabled", (PyCFunction) _wrap_wxWindow_IsEnabled, METH_VARARGS | METH_KEYWORDS },
11038 { "wxWindow_InitDialog", (PyCFunction) _wrap_wxWindow_InitDialog, METH_VARARGS | METH_KEYWORDS },
8cb49012 11039 { "wxWindow_HitTest", (PyCFunction) _wrap_wxWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
efc5f224 11040 { "wxWindow_Hide", (PyCFunction) _wrap_wxWindow_Hide, METH_VARARGS | METH_KEYWORDS },
8cb49012 11041 { "wxWindow_HasScrollbar", (PyCFunction) _wrap_wxWindow_HasScrollbar, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
11042 { "wxWindow_SetWindowStyle", (PyCFunction) _wrap_wxWindow_SetWindowStyle, METH_VARARGS | METH_KEYWORDS },
11043 { "wxWindow_SetWindowStyleFlag", (PyCFunction) _wrap_wxWindow_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11044 { "wxWindow_GetWindowStyleFlag", (PyCFunction) _wrap_wxWindow_GetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
11045 { "wxWindow_GetUpdateRegion", (PyCFunction) _wrap_wxWindow_GetUpdateRegion, METH_VARARGS | METH_KEYWORDS },
11046 { "wxWindow_GetTitle", (PyCFunction) _wrap_wxWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
11047 { "wxWindow_GetFullTextExtent", (PyCFunction) _wrap_wxWindow_GetFullTextExtent, METH_VARARGS | METH_KEYWORDS },
11048 { "wxWindow_GetTextExtent", (PyCFunction) _wrap_wxWindow_GetTextExtent, METH_VARARGS | METH_KEYWORDS },
11049 { "wxWindow_GetSize", (PyCFunction) _wrap_wxWindow_GetSize, METH_VARARGS | METH_KEYWORDS },
11050 { "wxWindow_GetSizeTuple", (PyCFunction) _wrap_wxWindow_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
11051 { "wxWindow_GetScrollRange", (PyCFunction) _wrap_wxWindow_GetScrollRange, METH_VARARGS | METH_KEYWORDS },
11052 { "wxWindow_GetScrollPos", (PyCFunction) _wrap_wxWindow_GetScrollPos, METH_VARARGS | METH_KEYWORDS },
11053 { "wxWindow_GetScrollThumb", (PyCFunction) _wrap_wxWindow_GetScrollThumb, METH_VARARGS | METH_KEYWORDS },
11054 { "wxWindow_GetRect", (PyCFunction) _wrap_wxWindow_GetRect, METH_VARARGS | METH_KEYWORDS },
11055 { "wxWindow_GetPosition", (PyCFunction) _wrap_wxWindow_GetPosition, METH_VARARGS | METH_KEYWORDS },
11056 { "wxWindow_GetPositionTuple", (PyCFunction) _wrap_wxWindow_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
11057 { "wxWindow_GetParent", (PyCFunction) _wrap_wxWindow_GetParent, METH_VARARGS | METH_KEYWORDS },
11058 { "wxWindow_GetName", (PyCFunction) _wrap_wxWindow_GetName, METH_VARARGS | METH_KEYWORDS },
11059 { "wxWindow_SetLabel", (PyCFunction) _wrap_wxWindow_SetLabel, METH_VARARGS | METH_KEYWORDS },
11060 { "wxWindow_GetLabel", (PyCFunction) _wrap_wxWindow_GetLabel, METH_VARARGS | METH_KEYWORDS },
11061 { "wxWindow_GetId", (PyCFunction) _wrap_wxWindow_GetId, METH_VARARGS | METH_KEYWORDS },
2abc0a0f 11062 { "wxWindow_GetHandle", (PyCFunction) _wrap_wxWindow_GetHandle, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11063 { "wxWindow_GetGrandParent", (PyCFunction) _wrap_wxWindow_GetGrandParent, METH_VARARGS | METH_KEYWORDS },
11064 { "wxWindow_GetForegroundColour", (PyCFunction) _wrap_wxWindow_GetForegroundColour, METH_VARARGS | METH_KEYWORDS },
11065 { "wxWindow_GetFont", (PyCFunction) _wrap_wxWindow_GetFont, METH_VARARGS | METH_KEYWORDS },
1afc06c2 11066 { "wxWindow_GetEventHandler", (PyCFunction) _wrap_wxWindow_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
efc5f224 11067 { "wxWindow_GetConstraints", (PyCFunction) _wrap_wxWindow_GetConstraints, METH_VARARGS | METH_KEYWORDS },
8cb49012
RD
11068 { "wxWindow_GetClientRect", (PyCFunction) _wrap_wxWindow_GetClientRect, METH_VARARGS | METH_KEYWORDS },
11069 { "wxWindow_GetClientAreaOrigin", (PyCFunction) _wrap_wxWindow_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11070 { "wxWindow_GetClientSize", (PyCFunction) _wrap_wxWindow_GetClientSize, METH_VARARGS | METH_KEYWORDS },
11071 { "wxWindow_GetClientSizeTuple", (PyCFunction) _wrap_wxWindow_GetClientSizeTuple, METH_VARARGS | METH_KEYWORDS },
11072 { "wxWindow_GetCharWidth", (PyCFunction) _wrap_wxWindow_GetCharWidth, METH_VARARGS | METH_KEYWORDS },
11073 { "wxWindow_GetCharHeight", (PyCFunction) _wrap_wxWindow_GetCharHeight, METH_VARARGS | METH_KEYWORDS },
d426c97e 11074 { "wxWindow_GetChildren", (PyCFunction) _wrap_wxWindow_GetChildren, METH_VARARGS | METH_KEYWORDS },
8cb49012 11075 { "wxWindow_GetBorder", (PyCFunction) _wrap_wxWindow_GetBorder, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11076 { "wxWindow_GetBackgroundColour", (PyCFunction) _wrap_wxWindow_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11077 { "wxWindow_Fit", (PyCFunction) _wrap_wxWindow_Fit, METH_VARARGS | METH_KEYWORDS },
11078 { "wxWindow_FindWindowByName", (PyCFunction) _wrap_wxWindow_FindWindowByName, METH_VARARGS | METH_KEYWORDS },
11079 { "wxWindow_FindWindowById", (PyCFunction) _wrap_wxWindow_FindWindowById, METH_VARARGS | METH_KEYWORDS },
11080 { "wxWindow_Enable", (PyCFunction) _wrap_wxWindow_Enable, METH_VARARGS | METH_KEYWORDS },
4dfaa61e 11081 { "wxWindow_IsBeingDeleted", (PyCFunction) _wrap_wxWindow_IsBeingDeleted, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11082 { "wxWindow_DestroyChildren", (PyCFunction) _wrap_wxWindow_DestroyChildren, METH_VARARGS | METH_KEYWORDS },
11083 { "wxWindow_Destroy", (PyCFunction) _wrap_wxWindow_Destroy, METH_VARARGS | METH_KEYWORDS },
11084 { "wxWindow_Close", (PyCFunction) _wrap_wxWindow_Close, METH_VARARGS | METH_KEYWORDS },
11085 { "wxWindow_ClientToScreen", (PyCFunction) _wrap_wxWindow_ClientToScreen, METH_VARARGS | METH_KEYWORDS },
11086 { "wxWindow_ClientToScreenXY", (PyCFunction) _wrap_wxWindow_ClientToScreenXY, METH_VARARGS | METH_KEYWORDS },
9d6da64a 11087 { "wxWindow_Clear", (PyCFunction) _wrap_wxWindow_Clear, METH_VARARGS | METH_KEYWORDS },
3ca6a5f0
BP
11088 { "wxWindow_CenterOnScreen", (PyCFunction) _wrap_wxWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS },
11089 { "wxWindow_CentreOnScreen", (PyCFunction) _wrap_wxWindow_CentreOnScreen, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11090 { "wxWindow_CenterOnParent", (PyCFunction) _wrap_wxWindow_CenterOnParent, METH_VARARGS | METH_KEYWORDS },
11091 { "wxWindow_CentreOnParent", (PyCFunction) _wrap_wxWindow_CentreOnParent, METH_VARARGS | METH_KEYWORDS },
11092 { "wxWindow_Centre", (PyCFunction) _wrap_wxWindow_Centre, METH_VARARGS | METH_KEYWORDS },
11093 { "wxWindow_Center", (PyCFunction) _wrap_wxWindow_Center, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
11094 { "wxWindow_Create", (PyCFunction) _wrap_wxWindow_Create, METH_VARARGS | METH_KEYWORDS },
11095 { "new_wxPreWindow", (PyCFunction) _wrap_new_wxPreWindow, METH_VARARGS | METH_KEYWORDS },
efc5f224 11096 { "new_wxWindow", (PyCFunction) _wrap_new_wxWindow, METH_VARARGS | METH_KEYWORDS },
0220cbc1 11097 { "wxPyValidator__setCallbackInfo", (PyCFunction) _wrap_wxPyValidator__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
2f90df85 11098 { "new_wxPyValidator", (PyCFunction) _wrap_new_wxPyValidator, METH_VARARGS | METH_KEYWORDS },
9df61a29
RD
11099 { "wxValidator_SetBellOnError", (PyCFunction) _wrap_wxValidator_SetBellOnError, METH_VARARGS | METH_KEYWORDS },
11100 { "wxValidator_IsSilent", (PyCFunction) _wrap_wxValidator_IsSilent, METH_VARARGS | METH_KEYWORDS },
2f90df85
RD
11101 { "wxValidator_SetWindow", (PyCFunction) _wrap_wxValidator_SetWindow, METH_VARARGS | METH_KEYWORDS },
11102 { "wxValidator_GetWindow", (PyCFunction) _wrap_wxValidator_GetWindow, METH_VARARGS | METH_KEYWORDS },
11103 { "wxValidator_Clone", (PyCFunction) _wrap_wxValidator_Clone, METH_VARARGS | METH_KEYWORDS },
11104 { "new_wxValidator", (PyCFunction) _wrap_new_wxValidator, METH_VARARGS | METH_KEYWORDS },
0220cbc1 11105 { "wxEvtHandler__setOORInfo", (PyCFunction) _wrap_wxEvtHandler__setOORInfo, METH_VARARGS | METH_KEYWORDS },
6999b0d8 11106 { "wxEvtHandler_Disconnect", (PyCFunction) _wrap_wxEvtHandler_Disconnect, METH_VARARGS | METH_KEYWORDS },
efc5f224 11107 { "wxEvtHandler_Connect", (PyCFunction) _wrap_wxEvtHandler_Connect, METH_VARARGS | METH_KEYWORDS },
2f90df85
RD
11108 { "wxEvtHandler_SetPreviousHandler", (PyCFunction) _wrap_wxEvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
11109 { "wxEvtHandler_SetNextHandler", (PyCFunction) _wrap_wxEvtHandler_SetNextHandler, METH_VARARGS | METH_KEYWORDS },
11110 { "wxEvtHandler_GetPreviousHandler", (PyCFunction) _wrap_wxEvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
11111 { "wxEvtHandler_GetNextHandler", (PyCFunction) _wrap_wxEvtHandler_GetNextHandler, METH_VARARGS | METH_KEYWORDS },
11112 { "wxEvtHandler_SetEvtHandlerEnabled", (PyCFunction) _wrap_wxEvtHandler_SetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
11113 { "wxEvtHandler_GetEvtHandlerEnabled", (PyCFunction) _wrap_wxEvtHandler_GetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 11114 { "wxEvtHandler_AddPendingEvent", (PyCFunction) _wrap_wxEvtHandler_AddPendingEvent, METH_VARARGS | METH_KEYWORDS },
efc5f224 11115 { "wxEvtHandler_ProcessEvent", (PyCFunction) _wrap_wxEvtHandler_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
c368d904 11116 { "new_wxEvtHandler", (PyCFunction) _wrap_new_wxEvtHandler, METH_VARARGS | METH_KEYWORDS },
8ab979d7
RD
11117 { NULL, NULL }
11118};
1d99702e
RD
11119#ifdef __cplusplus
11120}
11121#endif
11122/*
11123 * This table is used by the pointer type-checker
11124 */
11125static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
1d99702e 11126 { "_signed_long","_long",0},
b1462dfa 11127 { "_wxPrintQuality","_wxCoord",0},
1d99702e
RD
11128 { "_wxPrintQuality","_int",0},
11129 { "_wxPrintQuality","_signed_int",0},
11130 { "_wxPrintQuality","_unsigned_int",0},
11131 { "_wxPrintQuality","_wxWindowID",0},
11132 { "_wxPrintQuality","_uint",0},
11133 { "_wxPrintQuality","_EBool",0},
11134 { "_wxPrintQuality","_size_t",0},
c368d904 11135 { "_wxPrintQuality","_time_t",0},
1d99702e 11136 { "_byte","_unsigned_char",0},
1d99702e
RD
11137 { "_long","_unsigned_long",0},
11138 { "_long","_signed_long",0},
b1462dfa 11139 { "_size_t","_wxCoord",0},
1d99702e 11140 { "_size_t","_wxPrintQuality",0},
c368d904 11141 { "_size_t","_time_t",0},
1d99702e
RD
11142 { "_size_t","_unsigned_int",0},
11143 { "_size_t","_int",0},
11144 { "_size_t","_wxWindowID",0},
11145 { "_size_t","_uint",0},
1d99702e 11146 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel},
b1462dfa 11147 { "_uint","_wxCoord",0},
1d99702e 11148 { "_uint","_wxPrintQuality",0},
c368d904 11149 { "_uint","_time_t",0},
1d99702e
RD
11150 { "_uint","_size_t",0},
11151 { "_uint","_unsigned_int",0},
11152 { "_uint","_int",0},
11153 { "_uint","_wxWindowID",0},
f6bcfd97 11154 { "_wxChar","_char",0},
f6bcfd97 11155 { "_char","_wxChar",0},
059a841c 11156 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
b1462dfa 11157 { "_EBool","_wxCoord",0},
1d99702e
RD
11158 { "_EBool","_wxPrintQuality",0},
11159 { "_EBool","_signed_int",0},
11160 { "_EBool","_int",0},
11161 { "_EBool","_wxWindowID",0},
1d99702e 11162 { "_unsigned_long","_long",0},
059a841c 11163 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
b1462dfa 11164 { "_signed_int","_wxCoord",0},
1d99702e
RD
11165 { "_signed_int","_wxPrintQuality",0},
11166 { "_signed_int","_EBool",0},
11167 { "_signed_int","_wxWindowID",0},
11168 { "_signed_int","_int",0},
1d99702e
RD
11169 { "_WXTYPE","_short",0},
11170 { "_WXTYPE","_signed_short",0},
11171 { "_WXTYPE","_unsigned_short",0},
1d99702e
RD
11172 { "_unsigned_short","_WXTYPE",0},
11173 { "_unsigned_short","_short",0},
9df61a29 11174 { "_wxObject","_wxMenuItem",SwigwxMenuItemTowxObject},
9df61a29 11175 { "_wxObject","_wxMenuBar",SwigwxMenuBarTowxObject},
9df61a29 11176 { "_wxObject","_wxMenu",SwigwxMenuTowxObject},
9df61a29 11177 { "_wxObject","_wxScrolledWindow",SwigwxScrolledWindowTowxObject},
9df61a29 11178 { "_wxObject","_wxPanel",SwigwxPanelTowxObject},
9df61a29 11179 { "_wxObject","_wxWindow",SwigwxWindowTowxObject},
9df61a29 11180 { "_wxObject","_wxPyValidator",SwigwxPyValidatorTowxObject},
9df61a29 11181 { "_wxObject","_wxValidator",SwigwxValidatorTowxObject},
9df61a29 11182 { "_wxObject","_wxEvtHandler",SwigwxEvtHandlerTowxObject},
1d99702e
RD
11183 { "_signed_short","_WXTYPE",0},
11184 { "_signed_short","_short",0},
1d99702e 11185 { "_unsigned_char","_byte",0},
b1462dfa 11186 { "_unsigned_int","_wxCoord",0},
1d99702e 11187 { "_unsigned_int","_wxPrintQuality",0},
c368d904 11188 { "_unsigned_int","_time_t",0},
1d99702e
RD
11189 { "_unsigned_int","_size_t",0},
11190 { "_unsigned_int","_uint",0},
11191 { "_unsigned_int","_wxWindowID",0},
11192 { "_unsigned_int","_int",0},
1d99702e
RD
11193 { "_short","_WXTYPE",0},
11194 { "_short","_unsigned_short",0},
11195 { "_short","_signed_short",0},
b1462dfa 11196 { "_wxWindowID","_wxCoord",0},
1d99702e 11197 { "_wxWindowID","_wxPrintQuality",0},
c368d904 11198 { "_wxWindowID","_time_t",0},
1d99702e
RD
11199 { "_wxWindowID","_size_t",0},
11200 { "_wxWindowID","_EBool",0},
11201 { "_wxWindowID","_uint",0},
11202 { "_wxWindowID","_int",0},
11203 { "_wxWindowID","_signed_int",0},
11204 { "_wxWindowID","_unsigned_int",0},
b1462dfa 11205 { "_int","_wxCoord",0},
1d99702e 11206 { "_int","_wxPrintQuality",0},
c368d904 11207 { "_int","_time_t",0},
1d99702e
RD
11208 { "_int","_size_t",0},
11209 { "_int","_EBool",0},
11210 { "_int","_uint",0},
11211 { "_int","_wxWindowID",0},
11212 { "_int","_unsigned_int",0},
11213 { "_int","_signed_int",0},
c368d904
RD
11214 { "_time_t","_wxCoord",0},
11215 { "_time_t","_wxPrintQuality",0},
11216 { "_time_t","_unsigned_int",0},
11217 { "_time_t","_int",0},
11218 { "_time_t","_wxWindowID",0},
11219 { "_time_t","_uint",0},
11220 { "_time_t","_size_t",0},
2f90df85 11221 { "_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator},
b1462dfa
RD
11222 { "_wxCoord","_int",0},
11223 { "_wxCoord","_signed_int",0},
11224 { "_wxCoord","_unsigned_int",0},
11225 { "_wxCoord","_wxWindowID",0},
11226 { "_wxCoord","_uint",0},
11227 { "_wxCoord","_EBool",0},
11228 { "_wxCoord","_size_t",0},
c368d904 11229 { "_wxCoord","_time_t",0},
b1462dfa 11230 { "_wxCoord","_wxPrintQuality",0},
1d99702e 11231 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler},
1d99702e 11232 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler},
1d99702e 11233 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler},
1d99702e 11234 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler},
1d99702e 11235 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler},
2f90df85 11236 { "_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler},
2f90df85 11237 { "_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler},
b1462dfa 11238 { "_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow},
1d99702e 11239 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow},
1d99702e 11240 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow},
1d99702e
RD
11241{0,0,0}};
11242
8ab979d7
RD
11243static PyObject *SWIG_globals;
11244#ifdef __cplusplus
11245extern "C"
11246#endif
1d99702e 11247SWIGEXPORT(void) initwindowsc() {
8ab979d7
RD
11248 PyObject *m, *d;
11249 SWIG_globals = SWIG_newvarlink();
11250 m = Py_InitModule("windowsc", windowscMethods);
11251 d = PyModule_GetDict(m);
1d99702e
RD
11252{
11253 int i;
11254 for (i = 0; _swig_mapping[i].n1; i++)
11255 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
11256}
8ab979d7 11257}