]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/windows.cpp
fix text scrolling in GTK2 (patch 703988)
[wxWidgets.git] / wxPython / src / msw / windows.cpp
CommitLineData
8ab979d7 1/*
c368d904 2 * FILE : src/msw/windows.cpp
8ab979d7
RD
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
dbbb98cd 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
7e50db3f
RD
22#include "Python.h"
23
8ab979d7
RD
24#include <string.h>
25#include <stdlib.h>
26/* Definitions for Windows/Unix exporting */
27#if defined(__WIN32__)
28# if defined(_MSC_VER)
1d99702e 29# define SWIGEXPORT(a) __declspec(dllexport) a
8ab979d7
RD
30# else
31# if defined(__BORLANDC__)
c368d904 32# define SWIGEXPORT(a) a _export
8ab979d7 33# else
c368d904 34# define SWIGEXPORT(a) a
8ab979d7
RD
35# endif
36# endif
37#else
c368d904 38# define SWIGEXPORT(a) a
8ab979d7
RD
39#endif
40
41#ifdef __cplusplus
42extern "C" {
43#endif
8ab979d7
RD
44extern void SWIG_MakePtr(char *, void *, char *);
45extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46extern char *SWIG_GetPtr(char *, void **, char *);
1d99702e 47extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
8ab979d7
RD
48extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
49extern PyObject *SWIG_newvarlink(void);
50#ifdef __cplusplus
51}
52#endif
8ab979d7
RD
53#define SWIG_init initwindowsc
54
55#define SWIG_name "windowsc"
56
57#include "helpers.h"
8ab979d7 58#include <wx/menuitem.h>
9416aa89 59#include <wx/tooltip.h>
8ab979d7 60
8ab979d7
RD
61
62static PyObject* t_output_helper(PyObject* target, PyObject* o) {
63 PyObject* o2;
64 PyObject* o3;
65
f3d9dc1d 66 if (!target) {
8ab979d7 67 target = o;
f3d9dc1d 68 } else if (target == Py_None) {
8ab979d7
RD
69 Py_DECREF(Py_None);
70 target = o;
f3d9dc1d 71 } else {
8ab979d7
RD
72 if (!PyTuple_Check(target)) {
73 o2 = target;
74 target = PyTuple_New(1);
75 PyTuple_SetItem(target, 0, o2);
76 }
f3d9dc1d
RD
77 o3 = PyTuple_New(1);
78 PyTuple_SetItem(o3, 0, o);
8ab979d7
RD
79
80 o2 = target;
f3d9dc1d
RD
81 target = PySequence_Concat(o2, o3);
82 Py_DECREF(o2);
8ab979d7
RD
83 Py_DECREF(o3);
84 }
85 return target;
86}
87
137b5242
RD
88 // Put some wx default wxChar* values into wxStrings.
89 DECLARE_DEF_STRING(PanelNameStr);
90 static const wxString wxPyEmptyString(wxT(""));
91
2f90df85
RD
92class wxPyValidator : public wxValidator {
93 DECLARE_DYNAMIC_CLASS(wxPyValidator);
94public:
95 wxPyValidator() {
96 }
2f90df85
RD
97
98 ~wxPyValidator() {
99 }
100
19a97bd6 101 wxObject* Clone() const {
694759cf
RD
102 wxPyValidator* ptr = NULL;
103 wxPyValidator* self = (wxPyValidator*)this;
2f90df85 104
4268f798 105 wxPyBeginBlockThreads();
694759cf
RD
106 if (self->m_myInst.findCallback("Clone")) {
107 PyObject* ro;
108 ro = self->m_myInst.callCallbackObj(Py_BuildValue("()"));
f6bcfd97
BP
109 if (ro) {
110 SWIG_GetPtrObj(ro, (void **)&ptr, "_wxPyValidator_p");
111 Py_DECREF(ro);
112 }
694759cf 113 }
4268f798 114 wxPyEndBlockThreads();
19a97bd6 115
694759cf
RD
116 // This is very dangerous!!! But is the only way I could find
117 // to squash a memory leak. Currently it is okay, but if the
118 // validator architecture in wxWindows ever changes, problems
119 // could arise.
120 delete self;
694759cf
RD
121 return ptr;
122 }
2f90df85 123
9416aa89 124
2f90df85
RD
125 DEC_PYCALLBACK_BOOL_WXWIN(Validate);
126 DEC_PYCALLBACK_BOOL_(TransferToWindow);
127 DEC_PYCALLBACK_BOOL_(TransferFromWindow);
128
129 PYPRIVATE;
2f90df85
RD
130};
131
132IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator, wxValidator, Validate);
133IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferToWindow);
134IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferFromWindow);
135
136IMPLEMENT_DYNAMIC_CLASS(wxPyValidator, wxValidator);
8ab979d7 137
8ab979d7 138
2f90df85
RD
139wxWindow* wxWindow_FromHWND(unsigned long hWnd) {
140 wxWindow* win = new wxWindow;
141 win->SetHWND(hWnd);
142 win->SubclassWin(hWnd);
143 return win;
144}
e67409dc
RD
145
146wxWindow* wxFindWindowById( long id, const wxWindow *parent = NULL ) {
147 return wxWindow::FindWindowById(id, parent);
148}
149
150wxWindow* wxFindWindowByName( const wxString& name,
151 const wxWindow *parent = NULL ) {
152 return wxWindow::FindWindowByName(name, parent);
153}
154
155wxWindow* wxFindWindowByLabel( const wxString& label,
156 const wxWindow *parent = NULL ) {
157 return wxWindow::FindWindowByLabel(label, parent);
158}
2f90df85
RD
159#ifdef __cplusplus
160extern "C" {
161#endif
2f90df85
RD
162static PyObject *_wrap_wxWindow_FromHWND(PyObject *self, PyObject *args, PyObject *kwargs) {
163 PyObject * _resultobj;
164 wxWindow * _result;
165 unsigned long _arg0;
166 char *_kwnames[] = { "hWnd", NULL };
2f90df85
RD
167
168 self = self;
169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"l:wxWindow_FromHWND",_kwnames,&_arg0))
170 return NULL;
171{
4268f798 172 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 173 _result = (wxWindow *)wxWindow_FromHWND(_arg0);
2f90df85 174
4268f798 175 wxPyEndAllowThreads(__tstate);
493f1553 176 if (PyErr_Occurred()) return NULL;
9416aa89 177}{ _resultobj = wxPyMake_wxObject(_result); }
2f90df85
RD
178 return _resultobj;
179}
180
e67409dc
RD
181static PyObject *_wrap_wxFindWindowById(PyObject *self, PyObject *args, PyObject *kwargs) {
182 PyObject * _resultobj;
183 wxWindow * _result;
184 long _arg0;
185 wxWindow * _arg1 = (wxWindow *) NULL;
186 PyObject * _argo1 = 0;
187 char *_kwnames[] = { "id","parent", NULL };
188
189 self = self;
190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"l|O:wxFindWindowById",_kwnames,&_arg0,&_argo1))
191 return NULL;
192 if (_argo1) {
193 if (_argo1 == Py_None) { _arg1 = NULL; }
194 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
195 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFindWindowById. Expected _wxWindow_p.");
196 return NULL;
197 }
198 }
199{
200 PyThreadState* __tstate = wxPyBeginAllowThreads();
201 _result = (wxWindow *)wxFindWindowById(_arg0,_arg1);
202
203 wxPyEndAllowThreads(__tstate);
204 if (PyErr_Occurred()) return NULL;
205}{ _resultobj = wxPyMake_wxObject(_result); }
206 return _resultobj;
207}
208
209static PyObject *_wrap_wxFindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
210 PyObject * _resultobj;
211 wxWindow * _result;
212 wxString * _arg0;
213 wxWindow * _arg1 = (wxWindow *) NULL;
214 PyObject * _obj0 = 0;
215 PyObject * _argo1 = 0;
216 char *_kwnames[] = { "name","parent", NULL };
217
218 self = self;
219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxFindWindowByName",_kwnames,&_obj0,&_argo1))
220 return NULL;
221{
222 _arg0 = wxString_in_helper(_obj0);
223 if (_arg0 == NULL)
224 return NULL;
225}
226 if (_argo1) {
227 if (_argo1 == Py_None) { _arg1 = NULL; }
228 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
229 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
230 return NULL;
231 }
232 }
233{
234 PyThreadState* __tstate = wxPyBeginAllowThreads();
235 _result = (wxWindow *)wxFindWindowByName(*_arg0,_arg1);
236
237 wxPyEndAllowThreads(__tstate);
238 if (PyErr_Occurred()) return NULL;
239}{ _resultobj = wxPyMake_wxObject(_result); }
240{
241 if (_obj0)
242 delete _arg0;
243}
244 return _resultobj;
245}
246
247static PyObject *_wrap_wxFindWindowByLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
248 PyObject * _resultobj;
249 wxWindow * _result;
250 wxString * _arg0;
251 wxWindow * _arg1 = (wxWindow *) NULL;
252 PyObject * _obj0 = 0;
253 PyObject * _argo1 = 0;
254 char *_kwnames[] = { "label","parent", NULL };
255
256 self = self;
257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxFindWindowByLabel",_kwnames,&_obj0,&_argo1))
258 return NULL;
259{
260 _arg0 = wxString_in_helper(_obj0);
261 if (_arg0 == NULL)
262 return NULL;
263}
264 if (_argo1) {
265 if (_argo1 == Py_None) { _arg1 = NULL; }
266 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
267 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
268 return NULL;
269 }
270 }
271{
272 PyThreadState* __tstate = wxPyBeginAllowThreads();
273 _result = (wxWindow *)wxFindWindowByLabel(*_arg0,_arg1);
274
275 wxPyEndAllowThreads(__tstate);
276 if (PyErr_Occurred()) return NULL;
277}{ _resultobj = wxPyMake_wxObject(_result); }
278{
279 if (_obj0)
280 delete _arg0;
281}
282 return _resultobj;
283}
284
9416aa89
RD
285static void *SwigwxEvtHandlerTowxObject(void *ptr) {
286 wxEvtHandler *src;
287 wxObject *dest;
288 src = (wxEvtHandler *) ptr;
289 dest = (wxObject *) src;
290 return (void *) dest;
291}
292
c368d904
RD
293#define new_wxEvtHandler() (new wxEvtHandler())
294static PyObject *_wrap_new_wxEvtHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
295 PyObject * _resultobj;
296 wxEvtHandler * _result;
297 char *_kwnames[] = { NULL };
298 char _ptemp[128];
299
300 self = self;
301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxEvtHandler",_kwnames))
302 return NULL;
303{
4268f798 304 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 305 _result = (wxEvtHandler *)new_wxEvtHandler();
c368d904 306
4268f798 307 wxPyEndAllowThreads(__tstate);
493f1553 308 if (PyErr_Occurred()) return NULL;
c368d904
RD
309} if (_result) {
310 SWIG_MakePtr(_ptemp, (char *) _result,"_wxEvtHandler_p");
311 _resultobj = Py_BuildValue("s",_ptemp);
312 } else {
313 Py_INCREF(Py_None);
314 _resultobj = Py_None;
315 }
316 return _resultobj;
317}
318
2f90df85
RD
319#define wxEvtHandler_ProcessEvent(_swigobj,_swigarg0) (_swigobj->ProcessEvent(_swigarg0))
320static PyObject *_wrap_wxEvtHandler_ProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
321 PyObject * _resultobj;
322 bool _result;
323 wxEvtHandler * _arg0;
324 wxEvent * _arg1;
325 PyObject * _argo0 = 0;
326 PyObject * _argo1 = 0;
327 char *_kwnames[] = { "self","event", NULL };
328
329 self = self;
330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEvtHandler_ProcessEvent",_kwnames,&_argo0,&_argo1))
331 return NULL;
332 if (_argo0) {
333 if (_argo0 == Py_None) { _arg0 = NULL; }
334 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
335 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_ProcessEvent. Expected _wxEvtHandler_p.");
336 return NULL;
337 }
338 }
339 if (_argo1) {
7e50db3f 340 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvent_p")) {
2f90df85
RD
341 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxEvtHandler_ProcessEvent. Expected _wxEvent_p.");
342 return NULL;
343 }
344 }
345{
4268f798 346 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 347 _result = (bool )wxEvtHandler_ProcessEvent(_arg0,*_arg1);
2f90df85 348
4268f798 349 wxPyEndAllowThreads(__tstate);
493f1553 350 if (PyErr_Occurred()) return NULL;
2f90df85
RD
351} _resultobj = Py_BuildValue("i",_result);
352 return _resultobj;
353}
354
f6bcfd97
BP
355#define wxEvtHandler_AddPendingEvent(_swigobj,_swigarg0) (_swigobj->AddPendingEvent(_swigarg0))
356static PyObject *_wrap_wxEvtHandler_AddPendingEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
357 PyObject * _resultobj;
358 wxEvtHandler * _arg0;
359 wxEvent * _arg1;
360 PyObject * _argo0 = 0;
361 PyObject * _argo1 = 0;
362 char *_kwnames[] = { "self","event", NULL };
363
364 self = self;
365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEvtHandler_AddPendingEvent",_kwnames,&_argo0,&_argo1))
366 return NULL;
367 if (_argo0) {
368 if (_argo0 == Py_None) { _arg0 = NULL; }
369 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
370 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_AddPendingEvent. Expected _wxEvtHandler_p.");
371 return NULL;
372 }
373 }
374 if (_argo1) {
7e50db3f 375 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvent_p")) {
f6bcfd97
BP
376 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxEvtHandler_AddPendingEvent. Expected _wxEvent_p.");
377 return NULL;
378 }
379 }
380{
4268f798 381 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 382 wxEvtHandler_AddPendingEvent(_arg0,*_arg1);
f6bcfd97 383
4268f798 384 wxPyEndAllowThreads(__tstate);
493f1553 385 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
386} Py_INCREF(Py_None);
387 _resultobj = Py_None;
388 return _resultobj;
389}
390
2f90df85
RD
391#define wxEvtHandler_GetEvtHandlerEnabled(_swigobj) (_swigobj->GetEvtHandlerEnabled())
392static PyObject *_wrap_wxEvtHandler_GetEvtHandlerEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
393 PyObject * _resultobj;
394 bool _result;
395 wxEvtHandler * _arg0;
396 PyObject * _argo0 = 0;
397 char *_kwnames[] = { "self", NULL };
398
399 self = self;
400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvtHandler_GetEvtHandlerEnabled",_kwnames,&_argo0))
401 return NULL;
402 if (_argo0) {
403 if (_argo0 == Py_None) { _arg0 = NULL; }
404 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
405 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_GetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
406 return NULL;
407 }
408 }
409{
4268f798 410 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 411 _result = (bool )wxEvtHandler_GetEvtHandlerEnabled(_arg0);
2f90df85 412
4268f798 413 wxPyEndAllowThreads(__tstate);
493f1553 414 if (PyErr_Occurred()) return NULL;
2f90df85
RD
415} _resultobj = Py_BuildValue("i",_result);
416 return _resultobj;
417}
418
419#define wxEvtHandler_SetEvtHandlerEnabled(_swigobj,_swigarg0) (_swigobj->SetEvtHandlerEnabled(_swigarg0))
420static PyObject *_wrap_wxEvtHandler_SetEvtHandlerEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
421 PyObject * _resultobj;
422 wxEvtHandler * _arg0;
423 bool _arg1;
424 PyObject * _argo0 = 0;
425 int tempbool1;
426 char *_kwnames[] = { "self","enabled", NULL };
427
428 self = self;
429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxEvtHandler_SetEvtHandlerEnabled",_kwnames,&_argo0,&tempbool1))
430 return NULL;
431 if (_argo0) {
432 if (_argo0 == Py_None) { _arg0 = NULL; }
433 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
434 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_SetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
435 return NULL;
436 }
437 }
438 _arg1 = (bool ) tempbool1;
439{
4268f798 440 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 441 wxEvtHandler_SetEvtHandlerEnabled(_arg0,_arg1);
2f90df85 442
4268f798 443 wxPyEndAllowThreads(__tstate);
493f1553 444 if (PyErr_Occurred()) return NULL;
2f90df85
RD
445} Py_INCREF(Py_None);
446 _resultobj = Py_None;
447 return _resultobj;
448}
449
450#define wxEvtHandler_GetNextHandler(_swigobj) (_swigobj->GetNextHandler())
451static PyObject *_wrap_wxEvtHandler_GetNextHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
452 PyObject * _resultobj;
453 wxEvtHandler * _result;
454 wxEvtHandler * _arg0;
455 PyObject * _argo0 = 0;
456 char *_kwnames[] = { "self", NULL };
2f90df85
RD
457
458 self = self;
459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvtHandler_GetNextHandler",_kwnames,&_argo0))
460 return NULL;
461 if (_argo0) {
462 if (_argo0 == Py_None) { _arg0 = NULL; }
463 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
464 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_GetNextHandler. Expected _wxEvtHandler_p.");
465 return NULL;
466 }
467 }
468{
4268f798 469 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 470 _result = (wxEvtHandler *)wxEvtHandler_GetNextHandler(_arg0);
2f90df85 471
4268f798 472 wxPyEndAllowThreads(__tstate);
493f1553 473 if (PyErr_Occurred()) return NULL;
9416aa89 474}{ _resultobj = wxPyMake_wxObject(_result); }
2f90df85
RD
475 return _resultobj;
476}
477
478#define wxEvtHandler_GetPreviousHandler(_swigobj) (_swigobj->GetPreviousHandler())
479static PyObject *_wrap_wxEvtHandler_GetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
480 PyObject * _resultobj;
481 wxEvtHandler * _result;
482 wxEvtHandler * _arg0;
483 PyObject * _argo0 = 0;
484 char *_kwnames[] = { "self", NULL };
2f90df85
RD
485
486 self = self;
487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvtHandler_GetPreviousHandler",_kwnames,&_argo0))
488 return NULL;
489 if (_argo0) {
490 if (_argo0 == Py_None) { _arg0 = NULL; }
491 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
492 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_GetPreviousHandler. Expected _wxEvtHandler_p.");
493 return NULL;
494 }
495 }
496{
4268f798 497 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 498 _result = (wxEvtHandler *)wxEvtHandler_GetPreviousHandler(_arg0);
2f90df85 499
4268f798 500 wxPyEndAllowThreads(__tstate);
493f1553 501 if (PyErr_Occurred()) return NULL;
9416aa89 502}{ _resultobj = wxPyMake_wxObject(_result); }
2f90df85
RD
503 return _resultobj;
504}
505
506#define wxEvtHandler_SetNextHandler(_swigobj,_swigarg0) (_swigobj->SetNextHandler(_swigarg0))
507static PyObject *_wrap_wxEvtHandler_SetNextHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
508 PyObject * _resultobj;
509 wxEvtHandler * _arg0;
510 wxEvtHandler * _arg1;
511 PyObject * _argo0 = 0;
512 PyObject * _argo1 = 0;
513 char *_kwnames[] = { "self","handler", NULL };
514
515 self = self;
516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEvtHandler_SetNextHandler",_kwnames,&_argo0,&_argo1))
517 return NULL;
518 if (_argo0) {
519 if (_argo0 == Py_None) { _arg0 = NULL; }
520 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
521 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
522 return NULL;
523 }
524 }
525 if (_argo1) {
526 if (_argo1 == Py_None) { _arg1 = NULL; }
527 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
528 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
529 return NULL;
530 }
531 }
532{
4268f798 533 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 534 wxEvtHandler_SetNextHandler(_arg0,_arg1);
2f90df85 535
4268f798 536 wxPyEndAllowThreads(__tstate);
493f1553 537 if (PyErr_Occurred()) return NULL;
2f90df85
RD
538} Py_INCREF(Py_None);
539 _resultobj = Py_None;
540 return _resultobj;
541}
542
543#define wxEvtHandler_SetPreviousHandler(_swigobj,_swigarg0) (_swigobj->SetPreviousHandler(_swigarg0))
544static PyObject *_wrap_wxEvtHandler_SetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
545 PyObject * _resultobj;
546 wxEvtHandler * _arg0;
547 wxEvtHandler * _arg1;
548 PyObject * _argo0 = 0;
549 PyObject * _argo1 = 0;
550 char *_kwnames[] = { "self","handler", NULL };
551
552 self = self;
553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEvtHandler_SetPreviousHandler",_kwnames,&_argo0,&_argo1))
554 return NULL;
555 if (_argo0) {
556 if (_argo0 == Py_None) { _arg0 = NULL; }
557 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
558 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
559 return NULL;
560 }
561 }
562 if (_argo1) {
563 if (_argo1 == Py_None) { _arg1 = NULL; }
564 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
565 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
566 return NULL;
567 }
568 }
569{
4268f798 570 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 571 wxEvtHandler_SetPreviousHandler(_arg0,_arg1);
2f90df85 572
4268f798 573 wxPyEndAllowThreads(__tstate);
493f1553 574 if (PyErr_Occurred()) return NULL;
2f90df85
RD
575} Py_INCREF(Py_None);
576 _resultobj = Py_None;
577 return _resultobj;
578}
579
580static void wxEvtHandler_Connect(wxEvtHandler *self,int id,int lastId,int eventType,PyObject * func) {
581 if (PyCallable_Check(func)) {
582 self->Connect(id, lastId, eventType,
583 (wxObjectEventFunction) &wxPyCallback::EventThunker,
584 new wxPyCallback(func));
585 }
25b00b4e
RD
586 else if (func == Py_None) {
587 self->Disconnect(id, lastId, eventType,
588 (wxObjectEventFunction)
589 &wxPyCallback::EventThunker);
590 }
591 else {
592 PyErr_SetString(PyExc_TypeError, "Expected callable object or None.");
593 }
2f90df85
RD
594 }
595static PyObject *_wrap_wxEvtHandler_Connect(PyObject *self, PyObject *args, PyObject *kwargs) {
596 PyObject * _resultobj;
597 wxEvtHandler * _arg0;
598 int _arg1;
599 int _arg2;
600 int _arg3;
601 PyObject * _arg4;
602 PyObject * _argo0 = 0;
603 PyObject * _obj4 = 0;
604 char *_kwnames[] = { "self","id","lastId","eventType","func", NULL };
605
606 self = self;
607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiiO:wxEvtHandler_Connect",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_obj4))
608 return NULL;
609 if (_argo0) {
610 if (_argo0 == Py_None) { _arg0 = NULL; }
611 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
612 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
613 return NULL;
614 }
615 }
616{
617 _arg4 = _obj4;
618}
619{
4268f798 620 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 621 wxEvtHandler_Connect(_arg0,_arg1,_arg2,_arg3,_arg4);
2f90df85 622
4268f798 623 wxPyEndAllowThreads(__tstate);
493f1553 624 if (PyErr_Occurred()) return NULL;
2f90df85
RD
625} Py_INCREF(Py_None);
626 _resultobj = Py_None;
627 return _resultobj;
628}
629
6999b0d8
RD
630static bool wxEvtHandler_Disconnect(wxEvtHandler *self,int id,int lastId,wxEventType eventType) {
631 return self->Disconnect(id, lastId, eventType,
632 (wxObjectEventFunction)
633 &wxPyCallback::EventThunker);
634 }
635static PyObject *_wrap_wxEvtHandler_Disconnect(PyObject *self, PyObject *args, PyObject *kwargs) {
636 PyObject * _resultobj;
637 bool _result;
638 wxEvtHandler * _arg0;
639 int _arg1;
640 int _arg2 = (int ) -1;
641 wxEventType _arg3 = (wxEventType ) wxEVT_NULL;
642 PyObject * _argo0 = 0;
643 char *_kwnames[] = { "self","id","lastId","eventType", NULL };
644
645 self = self;
646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ii:wxEvtHandler_Disconnect",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
647 return NULL;
648 if (_argo0) {
649 if (_argo0 == Py_None) { _arg0 = NULL; }
650 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
651 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_Disconnect. Expected _wxEvtHandler_p.");
652 return NULL;
653 }
654 }
655{
4268f798 656 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 657 _result = (bool )wxEvtHandler_Disconnect(_arg0,_arg1,_arg2,_arg3);
6999b0d8 658
4268f798 659 wxPyEndAllowThreads(__tstate);
493f1553 660 if (PyErr_Occurred()) return NULL;
6999b0d8
RD
661} _resultobj = Py_BuildValue("i",_result);
662 return _resultobj;
663}
664
0122b7e3 665static void wxEvtHandler__setOORInfo(wxEvtHandler *self,PyObject * _self) {
4acff284 666 self->SetClientObject(new wxPyOORClientData(_self));
0122b7e3
RD
667 }
668static PyObject *_wrap_wxEvtHandler__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
669 PyObject * _resultobj;
670 wxEvtHandler * _arg0;
671 PyObject * _arg1;
672 PyObject * _argo0 = 0;
673 PyObject * _obj1 = 0;
674 char *_kwnames[] = { "self","_self", NULL };
675
676 self = self;
677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEvtHandler__setOORInfo",_kwnames,&_argo0,&_obj1))
678 return NULL;
679 if (_argo0) {
680 if (_argo0 == Py_None) { _arg0 = NULL; }
681 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
682 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler__setOORInfo. Expected _wxEvtHandler_p.");
683 return NULL;
684 }
685 }
686{
687 _arg1 = _obj1;
688}
689{
4268f798 690 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 691 wxEvtHandler__setOORInfo(_arg0,_arg1);
0122b7e3 692
4268f798 693 wxPyEndAllowThreads(__tstate);
0122b7e3
RD
694 if (PyErr_Occurred()) return NULL;
695} Py_INCREF(Py_None);
696 _resultobj = Py_None;
697 return _resultobj;
698}
699
2f90df85
RD
700static void *SwigwxValidatorTowxEvtHandler(void *ptr) {
701 wxValidator *src;
702 wxEvtHandler *dest;
703 src = (wxValidator *) ptr;
704 dest = (wxEvtHandler *) src;
705 return (void *) dest;
706}
707
9416aa89
RD
708static void *SwigwxValidatorTowxObject(void *ptr) {
709 wxValidator *src;
710 wxObject *dest;
711 src = (wxValidator *) ptr;
712 dest = (wxObject *) src;
713 return (void *) dest;
714}
715
2f90df85
RD
716#define new_wxValidator() (new wxValidator())
717static PyObject *_wrap_new_wxValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
718 PyObject * _resultobj;
719 wxValidator * _result;
720 char *_kwnames[] = { NULL };
721 char _ptemp[128];
722
723 self = self;
724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxValidator",_kwnames))
725 return NULL;
726{
4268f798 727 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 728 _result = (wxValidator *)new_wxValidator();
2f90df85 729
4268f798 730 wxPyEndAllowThreads(__tstate);
493f1553 731 if (PyErr_Occurred()) return NULL;
2f90df85
RD
732} if (_result) {
733 SWIG_MakePtr(_ptemp, (char *) _result,"_wxValidator_p");
734 _resultobj = Py_BuildValue("s",_ptemp);
735 } else {
736 Py_INCREF(Py_None);
737 _resultobj = Py_None;
738 }
739 return _resultobj;
af309447 740}
2f90df85
RD
741
742#define wxValidator_Clone(_swigobj) (_swigobj->Clone())
743static PyObject *_wrap_wxValidator_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 744 PyObject * _resultobj;
2f90df85
RD
745 wxValidator * _result;
746 wxValidator * _arg0;
747 PyObject * _argo0 = 0;
748 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
749
750 self = self;
2f90df85
RD
751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxValidator_Clone",_kwnames,&_argo0))
752 return NULL;
753 if (_argo0) {
754 if (_argo0 == Py_None) { _arg0 = NULL; }
755 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxValidator_p")) {
756 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxValidator_Clone. Expected _wxValidator_p.");
8ab979d7 757 return NULL;
2f90df85
RD
758 }
759 }
cf694132 760{
4268f798 761 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 762 _result = (wxValidator *)wxValidator_Clone(_arg0);
cf694132 763
4268f798 764 wxPyEndAllowThreads(__tstate);
493f1553 765 if (PyErr_Occurred()) return NULL;
9416aa89 766}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
767 return _resultobj;
768}
769
2f90df85
RD
770#define wxValidator_GetWindow(_swigobj) (_swigobj->GetWindow())
771static PyObject *_wrap_wxValidator_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
772 PyObject * _resultobj;
773 wxWindow * _result;
2f90df85
RD
774 wxValidator * _arg0;
775 PyObject * _argo0 = 0;
776 char *_kwnames[] = { "self", NULL };
af309447
RD
777
778 self = self;
2f90df85
RD
779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxValidator_GetWindow",_kwnames,&_argo0))
780 return NULL;
781 if (_argo0) {
782 if (_argo0 == Py_None) { _arg0 = NULL; }
783 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxValidator_p")) {
784 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxValidator_GetWindow. Expected _wxValidator_p.");
af309447 785 return NULL;
2f90df85
RD
786 }
787 }
cf694132 788{
4268f798 789 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 790 _result = (wxWindow *)wxValidator_GetWindow(_arg0);
cf694132 791
4268f798 792 wxPyEndAllowThreads(__tstate);
493f1553 793 if (PyErr_Occurred()) return NULL;
9416aa89 794}{ _resultobj = wxPyMake_wxObject(_result); }
af309447
RD
795 return _resultobj;
796}
797
2f90df85
RD
798#define wxValidator_SetWindow(_swigobj,_swigarg0) (_swigobj->SetWindow(_swigarg0))
799static PyObject *_wrap_wxValidator_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 800 PyObject * _resultobj;
2f90df85
RD
801 wxValidator * _arg0;
802 wxWindow * _arg1;
1d99702e
RD
803 PyObject * _argo0 = 0;
804 PyObject * _argo1 = 0;
2f90df85 805 char *_kwnames[] = { "self","window", NULL };
cf694132
RD
806
807 self = self;
2f90df85 808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxValidator_SetWindow",_kwnames,&_argo0,&_argo1))
cf694132 809 return NULL;
1d99702e
RD
810 if (_argo0) {
811 if (_argo0 == Py_None) { _arg0 = NULL; }
2f90df85
RD
812 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxValidator_p")) {
813 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxValidator_SetWindow. Expected _wxValidator_p.");
cf694132
RD
814 return NULL;
815 }
816 }
1d99702e
RD
817 if (_argo1) {
818 if (_argo1 == Py_None) { _arg1 = NULL; }
2f90df85
RD
819 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
820 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxValidator_SetWindow. Expected _wxWindow_p.");
cf694132
RD
821 return NULL;
822 }
823 }
824{
4268f798 825 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 826 wxValidator_SetWindow(_arg0,_arg1);
cf694132 827
4268f798 828 wxPyEndAllowThreads(__tstate);
493f1553 829 if (PyErr_Occurred()) return NULL;
2f90df85
RD
830} Py_INCREF(Py_None);
831 _resultobj = Py_None;
cf694132
RD
832 return _resultobj;
833}
834
9416aa89
RD
835static PyObject *_wrap_wxValidator_IsSilent(PyObject *self, PyObject *args, PyObject *kwargs) {
836 PyObject * _resultobj;
837 bool _result;
838 char *_kwnames[] = { NULL };
839
840 self = self;
841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxValidator_IsSilent",_kwnames))
842 return NULL;
843{
4268f798 844 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 845 _result = (bool )wxValidator::IsSilent();
9416aa89 846
4268f798 847 wxPyEndAllowThreads(__tstate);
493f1553 848 if (PyErr_Occurred()) return NULL;
9416aa89
RD
849} _resultobj = Py_BuildValue("i",_result);
850 return _resultobj;
851}
852
853static PyObject *_wrap_wxValidator_SetBellOnError(PyObject *self, PyObject *args, PyObject *kwargs) {
854 PyObject * _resultobj;
855 int _arg0 = (int ) TRUE;
856 char *_kwnames[] = { "doIt", NULL };
857
858 self = self;
859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:wxValidator_SetBellOnError",_kwnames,&_arg0))
860 return NULL;
861{
4268f798 862 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 863 wxValidator::SetBellOnError(_arg0);
9416aa89 864
4268f798 865 wxPyEndAllowThreads(__tstate);
493f1553 866 if (PyErr_Occurred()) return NULL;
9416aa89
RD
867} Py_INCREF(Py_None);
868 _resultobj = Py_None;
869 return _resultobj;
870}
871
2f90df85
RD
872static void *SwigwxPyValidatorTowxValidator(void *ptr) {
873 wxPyValidator *src;
874 wxValidator *dest;
875 src = (wxPyValidator *) ptr;
876 dest = (wxValidator *) src;
877 return (void *) dest;
878}
879
880static void *SwigwxPyValidatorTowxEvtHandler(void *ptr) {
881 wxPyValidator *src;
882 wxEvtHandler *dest;
883 src = (wxPyValidator *) ptr;
884 dest = (wxEvtHandler *) src;
885 return (void *) dest;
886}
887
9416aa89
RD
888static void *SwigwxPyValidatorTowxObject(void *ptr) {
889 wxPyValidator *src;
890 wxObject *dest;
891 src = (wxPyValidator *) ptr;
892 dest = (wxObject *) src;
893 return (void *) dest;
894}
895
2f90df85
RD
896#define new_wxPyValidator() (new wxPyValidator())
897static PyObject *_wrap_new_wxPyValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
898 PyObject * _resultobj;
899 wxPyValidator * _result;
900 char *_kwnames[] = { NULL };
901 char _ptemp[128];
902
903 self = self;
904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyValidator",_kwnames))
905 return NULL;
906{
4268f798 907 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 908 _result = (wxPyValidator *)new_wxPyValidator();
2f90df85 909
4268f798 910 wxPyEndAllowThreads(__tstate);
493f1553 911 if (PyErr_Occurred()) return NULL;
2f90df85
RD
912} if (_result) {
913 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyValidator_p");
914 _resultobj = Py_BuildValue("s",_ptemp);
915 } else {
916 Py_INCREF(Py_None);
917 _resultobj = Py_None;
918 }
919 return _resultobj;
920}
921
0122b7e3
RD
922#define wxPyValidator__setCallbackInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1,_swigarg2))
923static PyObject *_wrap_wxPyValidator__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 924 PyObject * _resultobj;
2f90df85
RD
925 wxPyValidator * _arg0;
926 PyObject * _arg1;
f6bcfd97
BP
927 PyObject * _arg2;
928 int _arg3 = (int ) TRUE;
1d99702e 929 PyObject * _argo0 = 0;
2f90df85 930 PyObject * _obj1 = 0;
f6bcfd97
BP
931 PyObject * _obj2 = 0;
932 char *_kwnames[] = { "self","self","_class","incref", NULL };
8ab979d7
RD
933
934 self = self;
0122b7e3 935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|i:wxPyValidator__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2,&_arg3))
8ab979d7 936 return NULL;
1d99702e
RD
937 if (_argo0) {
938 if (_argo0 == Py_None) { _arg0 = NULL; }
2f90df85 939 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyValidator_p")) {
0122b7e3 940 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyValidator__setCallbackInfo. Expected _wxPyValidator_p.");
8ab979d7
RD
941 return NULL;
942 }
943 }
944{
2f90df85 945 _arg1 = _obj1;
8ab979d7 946}
f6bcfd97
BP
947{
948 _arg2 = _obj2;
949}
cf694132 950{
4268f798 951 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 952 wxPyValidator__setCallbackInfo(_arg0,_arg1,_arg2,_arg3);
cf694132 953
4268f798 954 wxPyEndAllowThreads(__tstate);
493f1553 955 if (PyErr_Occurred()) return NULL;
cf694132 956} Py_INCREF(Py_None);
8ab979d7
RD
957 _resultobj = Py_None;
958 return _resultobj;
959}
960
961static void *SwigwxWindowTowxEvtHandler(void *ptr) {
962 wxWindow *src;
963 wxEvtHandler *dest;
964 src = (wxWindow *) ptr;
965 dest = (wxEvtHandler *) src;
966 return (void *) dest;
967}
968
9416aa89
RD
969static void *SwigwxWindowTowxObject(void *ptr) {
970 wxWindow *src;
971 wxObject *dest;
972 src = (wxWindow *) ptr;
973 dest = (wxObject *) src;
974 return (void *) dest;
975}
976
8ab979d7 977#define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
efc5f224 978static PyObject *_wrap_new_wxWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
979 PyObject * _resultobj;
980 wxWindow * _result;
981 wxWindow * _arg0;
982 wxWindowID _arg1;
e508a2b6
RD
983 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
984 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
1d99702e 985 long _arg4 = (long ) 0;
137b5242 986 wxString * _arg5 = (wxString *) &wxPyPanelNameStr;
1d99702e 987 PyObject * _argo0 = 0;
2f90df85
RD
988 wxPoint temp;
989 PyObject * _obj2 = 0;
990 wxSize temp0;
991 PyObject * _obj3 = 0;
137b5242 992 PyObject * _obj5 = 0;
efc5f224 993 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
8ab979d7
RD
994 char _ptemp[128];
995
996 self = self;
137b5242 997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
8ab979d7 998 return NULL;
1d99702e
RD
999 if (_argo0) {
1000 if (_argo0 == Py_None) { _arg0 = NULL; }
1001 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1002 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
1003 return NULL;
1004 }
1005 }
2f90df85
RD
1006 if (_obj2)
1007{
1008 _arg2 = &temp;
1009 if (! wxPoint_helper(_obj2, &_arg2))
8ab979d7 1010 return NULL;
2f90df85
RD
1011}
1012 if (_obj3)
1013{
1014 _arg3 = &temp0;
1015 if (! wxSize_helper(_obj3, &_arg3))
8ab979d7 1016 return NULL;
137b5242
RD
1017}
1018 if (_obj5)
1019{
1020 _arg5 = wxString_in_helper(_obj5);
1021 if (_arg5 == NULL)
1022 return NULL;
2f90df85 1023}
cf694132 1024{
4268f798 1025 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 1026 _result = (wxWindow *)new_wxWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
cf694132 1027
4268f798 1028 wxPyEndAllowThreads(__tstate);
493f1553 1029 if (PyErr_Occurred()) return NULL;
1d99702e
RD
1030} if (_result) {
1031 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
1032 _resultobj = Py_BuildValue("s",_ptemp);
1033 } else {
1034 Py_INCREF(Py_None);
1035 _resultobj = Py_None;
1036 }
137b5242
RD
1037{
1038 if (_obj5)
1039 delete _arg5;
1040}
8ab979d7
RD
1041 return _resultobj;
1042}
1043
09f3d4e6
RD
1044#define new_wxPreWindow() (new wxWindow())
1045static PyObject *_wrap_new_wxPreWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1046 PyObject * _resultobj;
1047 wxWindow * _result;
1048 char *_kwnames[] = { NULL };
1049 char _ptemp[128];
1050
1051 self = self;
1052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreWindow",_kwnames))
1053 return NULL;
1054{
4268f798 1055 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1056 _result = (wxWindow *)new_wxPreWindow();
09f3d4e6 1057
4268f798 1058 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
1059 if (PyErr_Occurred()) return NULL;
1060} if (_result) {
1061 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
1062 _resultobj = Py_BuildValue("s",_ptemp);
1063 } else {
1064 Py_INCREF(Py_None);
1065 _resultobj = Py_None;
1066 }
1067 return _resultobj;
1068}
1069
1070#define wxWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1071static PyObject *_wrap_wxWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1072 PyObject * _resultobj;
1073 bool _result;
1074 wxWindow * _arg0;
1075 wxWindow * _arg1;
1076 wxWindowID _arg2;
1077 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
1078 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1079 long _arg5 = (long ) 0;
137b5242 1080 wxString * _arg6 = (wxString *) &wxPyPanelNameStr;
09f3d4e6
RD
1081 PyObject * _argo0 = 0;
1082 PyObject * _argo1 = 0;
1083 wxPoint temp;
1084 PyObject * _obj3 = 0;
1085 wxSize temp0;
1086 PyObject * _obj4 = 0;
137b5242 1087 PyObject * _obj6 = 0;
09f3d4e6
RD
1088 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
1089
1090 self = self;
137b5242 1091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOlO:wxWindow_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
09f3d4e6
RD
1092 return NULL;
1093 if (_argo0) {
1094 if (_argo0 == Py_None) { _arg0 = NULL; }
1095 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1096 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Create. Expected _wxWindow_p.");
1097 return NULL;
1098 }
1099 }
1100 if (_argo1) {
1101 if (_argo1 == Py_None) { _arg1 = NULL; }
1102 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1103 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_Create. Expected _wxWindow_p.");
1104 return NULL;
1105 }
1106 }
1107 if (_obj3)
1108{
1109 _arg3 = &temp;
1110 if (! wxPoint_helper(_obj3, &_arg3))
1111 return NULL;
1112}
1113 if (_obj4)
1114{
1115 _arg4 = &temp0;
1116 if (! wxSize_helper(_obj4, &_arg4))
1117 return NULL;
137b5242
RD
1118}
1119 if (_obj6)
1120{
1121 _arg6 = wxString_in_helper(_obj6);
1122 if (_arg6 == NULL)
1123 return NULL;
09f3d4e6
RD
1124}
1125{
4268f798 1126 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 1127 _result = (bool )wxWindow_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
09f3d4e6 1128
4268f798 1129 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
1130 if (PyErr_Occurred()) return NULL;
1131} _resultobj = Py_BuildValue("i",_result);
137b5242
RD
1132{
1133 if (_obj6)
1134 delete _arg6;
1135}
09f3d4e6
RD
1136 return _resultobj;
1137}
1138
8ab979d7 1139#define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
efc5f224 1140static PyObject *_wrap_wxWindow_Center(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1141 PyObject * _resultobj;
1142 wxWindow * _arg0;
1d99702e
RD
1143 int _arg1 = (int ) wxBOTH;
1144 PyObject * _argo0 = 0;
efc5f224 1145 char *_kwnames[] = { "self","direction", NULL };
8ab979d7
RD
1146
1147 self = self;
efc5f224 1148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_Center",_kwnames,&_argo0,&_arg1))
8ab979d7 1149 return NULL;
1d99702e
RD
1150 if (_argo0) {
1151 if (_argo0 == Py_None) { _arg0 = NULL; }
1152 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1153 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
1154 return NULL;
1155 }
1156 }
cf694132 1157{
4268f798 1158 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1159 wxWindow_Center(_arg0,_arg1);
cf694132 1160
4268f798 1161 wxPyEndAllowThreads(__tstate);
493f1553 1162 if (PyErr_Occurred()) return NULL;
cf694132 1163} Py_INCREF(Py_None);
8ab979d7
RD
1164 _resultobj = Py_None;
1165 return _resultobj;
1166}
1167
1168#define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
efc5f224 1169static PyObject *_wrap_wxWindow_Centre(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1170 PyObject * _resultobj;
1171 wxWindow * _arg0;
1d99702e
RD
1172 int _arg1 = (int ) wxBOTH;
1173 PyObject * _argo0 = 0;
efc5f224 1174 char *_kwnames[] = { "self","direction", NULL };
8ab979d7
RD
1175
1176 self = self;
efc5f224 1177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_Centre",_kwnames,&_argo0,&_arg1))
8ab979d7 1178 return NULL;
1d99702e
RD
1179 if (_argo0) {
1180 if (_argo0 == Py_None) { _arg0 = NULL; }
1181 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1182 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
1183 return NULL;
1184 }
1185 }
cf694132 1186{
4268f798 1187 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1188 wxWindow_Centre(_arg0,_arg1);
cf694132 1189
4268f798 1190 wxPyEndAllowThreads(__tstate);
493f1553 1191 if (PyErr_Occurred()) return NULL;
cf694132 1192} Py_INCREF(Py_None);
8ab979d7
RD
1193 _resultobj = Py_None;
1194 return _resultobj;
1195}
1196
bb0054cd 1197#define wxWindow_CentreOnParent(_swigobj,_swigarg0) (_swigobj->CentreOnParent(_swigarg0))
efc5f224 1198static PyObject *_wrap_wxWindow_CentreOnParent(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
1199 PyObject * _resultobj;
1200 wxWindow * _arg0;
1d99702e
RD
1201 int _arg1 = (int ) wxBOTH;
1202 PyObject * _argo0 = 0;
efc5f224 1203 char *_kwnames[] = { "self","direction", NULL };
bb0054cd
RD
1204
1205 self = self;
efc5f224 1206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_CentreOnParent",_kwnames,&_argo0,&_arg1))
bb0054cd 1207 return NULL;
1d99702e
RD
1208 if (_argo0) {
1209 if (_argo0 == Py_None) { _arg0 = NULL; }
1210 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
bb0054cd
RD
1211 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_CentreOnParent. Expected _wxWindow_p.");
1212 return NULL;
1213 }
1214 }
1215{
4268f798 1216 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1217 wxWindow_CentreOnParent(_arg0,_arg1);
bb0054cd 1218
4268f798 1219 wxPyEndAllowThreads(__tstate);
493f1553 1220 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
1221} Py_INCREF(Py_None);
1222 _resultobj = Py_None;
1223 return _resultobj;
1224}
1225
1226#define wxWindow_CenterOnParent(_swigobj,_swigarg0) (_swigobj->CenterOnParent(_swigarg0))
efc5f224 1227static PyObject *_wrap_wxWindow_CenterOnParent(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
1228 PyObject * _resultobj;
1229 wxWindow * _arg0;
1d99702e
RD
1230 int _arg1 = (int ) wxBOTH;
1231 PyObject * _argo0 = 0;
efc5f224 1232 char *_kwnames[] = { "self","direction", NULL };
bb0054cd
RD
1233
1234 self = self;
efc5f224 1235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_CenterOnParent",_kwnames,&_argo0,&_arg1))
bb0054cd 1236 return NULL;
1d99702e
RD
1237 if (_argo0) {
1238 if (_argo0 == Py_None) { _arg0 = NULL; }
1239 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
bb0054cd
RD
1240 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_CenterOnParent. Expected _wxWindow_p.");
1241 return NULL;
1242 }
1243 }
1244{
4268f798 1245 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1246 wxWindow_CenterOnParent(_arg0,_arg1);
bb0054cd 1247
4268f798 1248 wxPyEndAllowThreads(__tstate);
493f1553 1249 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
1250} Py_INCREF(Py_None);
1251 _resultobj = Py_None;
1252 return _resultobj;
1253}
1254
3ca6a5f0
BP
1255#define wxWindow_CentreOnScreen(_swigobj,_swigarg0) (_swigobj->CentreOnScreen(_swigarg0))
1256static PyObject *_wrap_wxWindow_CentreOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
1257 PyObject * _resultobj;
1258 wxWindow * _arg0;
1259 int _arg1 = (int ) wxBOTH;
1260 PyObject * _argo0 = 0;
1261 char *_kwnames[] = { "self","direction", NULL };
1262
1263 self = self;
1264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_CentreOnScreen",_kwnames,&_argo0,&_arg1))
1265 return NULL;
1266 if (_argo0) {
1267 if (_argo0 == Py_None) { _arg0 = NULL; }
1268 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1269 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_CentreOnScreen. Expected _wxWindow_p.");
1270 return NULL;
1271 }
1272 }
1273{
4268f798 1274 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1275 wxWindow_CentreOnScreen(_arg0,_arg1);
3ca6a5f0 1276
4268f798 1277 wxPyEndAllowThreads(__tstate);
493f1553 1278 if (PyErr_Occurred()) return NULL;
3ca6a5f0
BP
1279} Py_INCREF(Py_None);
1280 _resultobj = Py_None;
1281 return _resultobj;
1282}
1283
1284#define wxWindow_CenterOnScreen(_swigobj,_swigarg0) (_swigobj->CenterOnScreen(_swigarg0))
1285static PyObject *_wrap_wxWindow_CenterOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
1286 PyObject * _resultobj;
1287 wxWindow * _arg0;
1288 int _arg1 = (int ) wxBOTH;
1289 PyObject * _argo0 = 0;
1290 char *_kwnames[] = { "self","direction", NULL };
1291
1292 self = self;
1293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_CenterOnScreen",_kwnames,&_argo0,&_arg1))
1294 return NULL;
1295 if (_argo0) {
1296 if (_argo0 == Py_None) { _arg0 = NULL; }
1297 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1298 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_CenterOnScreen. Expected _wxWindow_p.");
1299 return NULL;
1300 }
1301 }
1302{
4268f798 1303 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1304 wxWindow_CenterOnScreen(_arg0,_arg1);
3ca6a5f0 1305
4268f798 1306 wxPyEndAllowThreads(__tstate);
493f1553 1307 if (PyErr_Occurred()) return NULL;
3ca6a5f0
BP
1308} Py_INCREF(Py_None);
1309 _resultobj = Py_None;
1310 return _resultobj;
1311}
1312
e06b17c0
RD
1313#define wxWindow_ClearBackground(_swigobj) (_swigobj->ClearBackground())
1314static PyObject *_wrap_wxWindow_ClearBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
d56cebe7
RD
1315 PyObject * _resultobj;
1316 wxWindow * _arg0;
1317 PyObject * _argo0 = 0;
1318 char *_kwnames[] = { "self", NULL };
1319
1320 self = self;
e06b17c0 1321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_ClearBackground",_kwnames,&_argo0))
d56cebe7
RD
1322 return NULL;
1323 if (_argo0) {
1324 if (_argo0 == Py_None) { _arg0 = NULL; }
1325 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
e06b17c0 1326 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ClearBackground. Expected _wxWindow_p.");
d56cebe7
RD
1327 return NULL;
1328 }
1329 }
1330{
4268f798 1331 PyThreadState* __tstate = wxPyBeginAllowThreads();
e06b17c0 1332 wxWindow_ClearBackground(_arg0);
d56cebe7 1333
4268f798 1334 wxPyEndAllowThreads(__tstate);
d56cebe7
RD
1335 if (PyErr_Occurred()) return NULL;
1336} Py_INCREF(Py_None);
1337 _resultobj = Py_None;
1338 return _resultobj;
1339}
1340
af309447 1341#define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
efc5f224 1342static PyObject *_wrap_wxWindow_ClientToScreenXY(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1343 PyObject * _resultobj;
1344 wxWindow * _arg0;
1345 int * _arg1;
1346 int * _arg2;
1d99702e 1347 PyObject * _argo0 = 0;
8ab979d7
RD
1348 int temp;
1349 PyObject * _obj1 = 0;
1350 int temp0;
1351 PyObject * _obj2 = 0;
efc5f224 1352 char *_kwnames[] = { "self","x","y", NULL };
8ab979d7
RD
1353
1354 self = self;
efc5f224 1355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxWindow_ClientToScreenXY",_kwnames,&_argo0,&_obj1,&_obj2))
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")) {
af309447 1360 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
8ab979d7
RD
1361 return NULL;
1362 }
1363 }
1364{
1365 temp = (int) PyInt_AsLong(_obj1);
1366 _arg1 = &temp;
1367}
1368{
1369 temp0 = (int) PyInt_AsLong(_obj2);
1370 _arg2 = &temp0;
1371}
cf694132 1372{
4268f798 1373 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1374 wxWindow_ClientToScreenXY(_arg0,_arg1,_arg2);
cf694132 1375
4268f798 1376 wxPyEndAllowThreads(__tstate);
493f1553 1377 if (PyErr_Occurred()) return NULL;
cf694132 1378} Py_INCREF(Py_None);
8ab979d7
RD
1379 _resultobj = Py_None;
1380{
1381 PyObject *o;
1382 o = PyInt_FromLong((long) (*_arg1));
1383 _resultobj = t_output_helper(_resultobj, o);
1384}
1385{
1386 PyObject *o;
1387 o = PyInt_FromLong((long) (*_arg2));
1388 _resultobj = t_output_helper(_resultobj, o);
1389}
1390 return _resultobj;
1391}
1392
af309447 1393#define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
efc5f224 1394static PyObject *_wrap_wxWindow_ClientToScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
1395 PyObject * _resultobj;
1396 wxPoint * _result;
1397 wxWindow * _arg0;
1398 wxPoint * _arg1;
1d99702e 1399 PyObject * _argo0 = 0;
2f90df85
RD
1400 wxPoint temp;
1401 PyObject * _obj1 = 0;
efc5f224 1402 char *_kwnames[] = { "self","pt", NULL };
af309447
RD
1403 char _ptemp[128];
1404
1405 self = self;
2f90df85 1406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ClientToScreen",_kwnames,&_argo0,&_obj1))
af309447 1407 return NULL;
1d99702e
RD
1408 if (_argo0) {
1409 if (_argo0 == Py_None) { _arg0 = NULL; }
1410 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
af309447
RD
1411 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
1412 return NULL;
1413 }
1414 }
2f90df85
RD
1415{
1416 _arg1 = &temp;
1417 if (! wxPoint_helper(_obj1, &_arg1))
af309447 1418 return NULL;
2f90df85 1419}
cf694132 1420{
4268f798 1421 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1422 _result = new wxPoint (wxWindow_ClientToScreen(_arg0,*_arg1));
cf694132 1423
4268f798 1424 wxPyEndAllowThreads(__tstate);
493f1553 1425 if (PyErr_Occurred()) return NULL;
cf694132 1426} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
af309447
RD
1427 _resultobj = Py_BuildValue("s",_ptemp);
1428 return _resultobj;
1429}
1430
8ab979d7 1431#define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
efc5f224 1432static PyObject *_wrap_wxWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1433 PyObject * _resultobj;
1434 bool _result;
1435 wxWindow * _arg0;
1d99702e
RD
1436 int _arg1 = (int ) FALSE;
1437 PyObject * _argo0 = 0;
efc5f224 1438 char *_kwnames[] = { "self","force", NULL };
8ab979d7
RD
1439
1440 self = self;
efc5f224 1441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_Close",_kwnames,&_argo0,&_arg1))
8ab979d7 1442 return NULL;
1d99702e
RD
1443 if (_argo0) {
1444 if (_argo0 == Py_None) { _arg0 = NULL; }
1445 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1446 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
1447 return NULL;
1448 }
1449 }
cf694132 1450{
4268f798 1451 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1452 _result = (bool )wxWindow_Close(_arg0,_arg1);
cf694132 1453
4268f798 1454 wxPyEndAllowThreads(__tstate);
493f1553 1455 if (PyErr_Occurred()) return NULL;
cf694132 1456} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1457 return _resultobj;
1458}
1459
1460#define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
efc5f224 1461static PyObject *_wrap_wxWindow_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1462 PyObject * _resultobj;
1463 bool _result;
1464 wxWindow * _arg0;
1d99702e 1465 PyObject * _argo0 = 0;
efc5f224 1466 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1467
1468 self = self;
efc5f224 1469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Destroy",_kwnames,&_argo0))
8ab979d7 1470 return NULL;
1d99702e
RD
1471 if (_argo0) {
1472 if (_argo0 == Py_None) { _arg0 = NULL; }
1473 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1474 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
1475 return NULL;
1476 }
1477 }
cf694132 1478{
4268f798 1479 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1480 _result = (bool )wxWindow_Destroy(_arg0);
cf694132 1481
4268f798 1482 wxPyEndAllowThreads(__tstate);
493f1553 1483 if (PyErr_Occurred()) return NULL;
cf694132 1484} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1485 return _resultobj;
1486}
1487
1488#define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
efc5f224 1489static PyObject *_wrap_wxWindow_DestroyChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1490 PyObject * _resultobj;
1491 wxWindow * _arg0;
1d99702e 1492 PyObject * _argo0 = 0;
efc5f224 1493 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1494
1495 self = self;
efc5f224 1496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_DestroyChildren",_kwnames,&_argo0))
8ab979d7 1497 return NULL;
1d99702e
RD
1498 if (_argo0) {
1499 if (_argo0 == Py_None) { _arg0 = NULL; }
1500 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1501 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
1502 return NULL;
1503 }
1504 }
cf694132 1505{
4268f798 1506 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1507 wxWindow_DestroyChildren(_arg0);
cf694132 1508
4268f798 1509 wxPyEndAllowThreads(__tstate);
493f1553 1510 if (PyErr_Occurred()) return NULL;
cf694132 1511} Py_INCREF(Py_None);
8ab979d7
RD
1512 _resultobj = Py_None;
1513 return _resultobj;
1514}
1515
ac346f50
RD
1516#define wxWindow_IsBeingDeleted(_swigobj) (_swigobj->IsBeingDeleted())
1517static PyObject *_wrap_wxWindow_IsBeingDeleted(PyObject *self, PyObject *args, PyObject *kwargs) {
1518 PyObject * _resultobj;
1519 bool _result;
1520 wxWindow * _arg0;
1521 PyObject * _argo0 = 0;
1522 char *_kwnames[] = { "self", NULL };
1523
1524 self = self;
1525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_IsBeingDeleted",_kwnames,&_argo0))
1526 return NULL;
1527 if (_argo0) {
1528 if (_argo0 == Py_None) { _arg0 = NULL; }
1529 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1530 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsBeingDeleted. Expected _wxWindow_p.");
1531 return NULL;
1532 }
1533 }
1534{
4268f798 1535 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1536 _result = (bool )wxWindow_IsBeingDeleted(_arg0);
ac346f50 1537
4268f798 1538 wxPyEndAllowThreads(__tstate);
ac346f50
RD
1539 if (PyErr_Occurred()) return NULL;
1540} _resultobj = Py_BuildValue("i",_result);
1541 return _resultobj;
1542}
1543
8ab979d7 1544#define wxWindow_DragAcceptFiles(_swigobj,_swigarg0) (_swigobj->DragAcceptFiles(_swigarg0))
efc5f224 1545static PyObject *_wrap_wxWindow_DragAcceptFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1546 PyObject * _resultobj;
1547 wxWindow * _arg0;
1548 bool _arg1;
1d99702e 1549 PyObject * _argo0 = 0;
8ab979d7 1550 int tempbool1;
efc5f224 1551 char *_kwnames[] = { "self","accept", NULL };
8ab979d7
RD
1552
1553 self = self;
efc5f224 1554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_DragAcceptFiles",_kwnames,&_argo0,&tempbool1))
8ab979d7 1555 return NULL;
1d99702e
RD
1556 if (_argo0) {
1557 if (_argo0 == Py_None) { _arg0 = NULL; }
1558 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1559 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_DragAcceptFiles. Expected _wxWindow_p.");
1560 return NULL;
1561 }
1562 }
1563 _arg1 = (bool ) tempbool1;
cf694132 1564{
4268f798 1565 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1566 wxWindow_DragAcceptFiles(_arg0,_arg1);
cf694132 1567
4268f798 1568 wxPyEndAllowThreads(__tstate);
493f1553 1569 if (PyErr_Occurred()) return NULL;
cf694132 1570} Py_INCREF(Py_None);
8ab979d7
RD
1571 _resultobj = Py_None;
1572 return _resultobj;
1573}
1574
1575#define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
efc5f224 1576static PyObject *_wrap_wxWindow_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1577 PyObject * _resultobj;
1578 wxWindow * _arg0;
1579 bool _arg1;
1d99702e 1580 PyObject * _argo0 = 0;
8ab979d7 1581 int tempbool1;
efc5f224 1582 char *_kwnames[] = { "self","enable", NULL };
8ab979d7
RD
1583
1584 self = self;
efc5f224 1585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_Enable",_kwnames,&_argo0,&tempbool1))
8ab979d7 1586 return NULL;
1d99702e
RD
1587 if (_argo0) {
1588 if (_argo0 == Py_None) { _arg0 = NULL; }
1589 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1590 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
1591 return NULL;
1592 }
1593 }
1594 _arg1 = (bool ) tempbool1;
cf694132 1595{
4268f798 1596 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1597 wxWindow_Enable(_arg0,_arg1);
cf694132 1598
4268f798 1599 wxPyEndAllowThreads(__tstate);
493f1553 1600 if (PyErr_Occurred()) return NULL;
cf694132 1601} Py_INCREF(Py_None);
8ab979d7
RD
1602 _resultobj = Py_None;
1603 return _resultobj;
1604}
1605
7e50db3f
RD
1606#define wxWindow_Disable(_swigobj) (_swigobj->Disable())
1607static PyObject *_wrap_wxWindow_Disable(PyObject *self, PyObject *args, PyObject *kwargs) {
1608 PyObject * _resultobj;
1609 wxWindow * _arg0;
1610 PyObject * _argo0 = 0;
1611 char *_kwnames[] = { "self", NULL };
1612
1613 self = self;
1614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Disable",_kwnames,&_argo0))
1615 return NULL;
1616 if (_argo0) {
1617 if (_argo0 == Py_None) { _arg0 = NULL; }
1618 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1619 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Disable. Expected _wxWindow_p.");
1620 return NULL;
1621 }
1622 }
1623{
1624 PyThreadState* __tstate = wxPyBeginAllowThreads();
1625 wxWindow_Disable(_arg0);
1626
1627 wxPyEndAllowThreads(__tstate);
1628 if (PyErr_Occurred()) return NULL;
1629} Py_INCREF(Py_None);
1630 _resultobj = Py_None;
1631 return _resultobj;
1632}
1633
af309447 1634#define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
efc5f224 1635static PyObject *_wrap_wxWindow_FindWindowById(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1636 PyObject * _resultobj;
1637 wxWindow * _result;
1638 wxWindow * _arg0;
1639 long _arg1;
1d99702e 1640 PyObject * _argo0 = 0;
efc5f224 1641 char *_kwnames[] = { "self","id", NULL };
8ab979d7
RD
1642
1643 self = self;
efc5f224 1644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxWindow_FindWindowById",_kwnames,&_argo0,&_arg1))
8ab979d7 1645 return NULL;
1d99702e
RD
1646 if (_argo0) {
1647 if (_argo0 == Py_None) { _arg0 = NULL; }
1648 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
af309447 1649 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
8ab979d7
RD
1650 return NULL;
1651 }
1652 }
cf694132 1653{
4268f798 1654 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1655 _result = (wxWindow *)wxWindow_FindWindowById(_arg0,_arg1);
cf694132 1656
4268f798 1657 wxPyEndAllowThreads(__tstate);
493f1553 1658 if (PyErr_Occurred()) return NULL;
9416aa89 1659}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
1660 return _resultobj;
1661}
1662
1663#define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
efc5f224 1664static PyObject *_wrap_wxWindow_FindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1665 PyObject * _resultobj;
1666 wxWindow * _result;
1667 wxWindow * _arg0;
1668 wxString * _arg1;
1d99702e 1669 PyObject * _argo0 = 0;
8ab979d7 1670 PyObject * _obj1 = 0;
efc5f224 1671 char *_kwnames[] = { "self","name", NULL };
8ab979d7
RD
1672
1673 self = self;
efc5f224 1674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_FindWindowByName",_kwnames,&_argo0,&_obj1))
8ab979d7 1675 return NULL;
1d99702e
RD
1676 if (_argo0) {
1677 if (_argo0 == Py_None) { _arg0 = NULL; }
1678 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1679 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
1680 return NULL;
1681 }
1682 }
1683{
c8bc7bb8
RD
1684 _arg1 = wxString_in_helper(_obj1);
1685 if (_arg1 == NULL)
8ab979d7 1686 return NULL;
8ab979d7 1687}
cf694132 1688{
4268f798 1689 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1690 _result = (wxWindow *)wxWindow_FindWindowByName(_arg0,*_arg1);
cf694132 1691
4268f798 1692 wxPyEndAllowThreads(__tstate);
493f1553 1693 if (PyErr_Occurred()) return NULL;
9416aa89 1694}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
1695{
1696 if (_obj1)
1697 delete _arg1;
1698}
1699 return _resultobj;
1700}
1701
1702#define wxWindow_Fit(_swigobj) (_swigobj->Fit())
efc5f224 1703static PyObject *_wrap_wxWindow_Fit(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1704 PyObject * _resultobj;
1705 wxWindow * _arg0;
1d99702e 1706 PyObject * _argo0 = 0;
efc5f224 1707 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1708
1709 self = self;
efc5f224 1710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Fit",_kwnames,&_argo0))
8ab979d7 1711 return NULL;
1d99702e
RD
1712 if (_argo0) {
1713 if (_argo0 == Py_None) { _arg0 = NULL; }
1714 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1715 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
1716 return NULL;
1717 }
1718 }
cf694132 1719{
4268f798 1720 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1721 wxWindow_Fit(_arg0);
cf694132 1722
4268f798 1723 wxPyEndAllowThreads(__tstate);
493f1553 1724 if (PyErr_Occurred()) return NULL;
cf694132 1725} Py_INCREF(Py_None);
8ab979d7
RD
1726 _resultobj = Py_None;
1727 return _resultobj;
1728}
1729
7e50db3f
RD
1730#define wxWindow_FitInside(_swigobj) (_swigobj->FitInside())
1731static PyObject *_wrap_wxWindow_FitInside(PyObject *self, PyObject *args, PyObject *kwargs) {
1732 PyObject * _resultobj;
1733 wxWindow * _arg0;
1734 PyObject * _argo0 = 0;
1735 char *_kwnames[] = { "self", NULL };
1736
1737 self = self;
1738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_FitInside",_kwnames,&_argo0))
1739 return NULL;
1740 if (_argo0) {
1741 if (_argo0 == Py_None) { _arg0 = NULL; }
1742 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1743 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_FitInside. Expected _wxWindow_p.");
1744 return NULL;
1745 }
1746 }
1747{
1748 PyThreadState* __tstate = wxPyBeginAllowThreads();
1749 wxWindow_FitInside(_arg0);
1750
1751 wxPyEndAllowThreads(__tstate);
1752 if (PyErr_Occurred()) return NULL;
1753} Py_INCREF(Py_None);
1754 _resultobj = Py_None;
1755 return _resultobj;
1756}
1757
8ab979d7 1758#define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
efc5f224 1759static PyObject *_wrap_wxWindow_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1760 PyObject * _resultobj;
1761 wxColour * _result;
1762 wxWindow * _arg0;
1d99702e 1763 PyObject * _argo0 = 0;
efc5f224 1764 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1765 char _ptemp[128];
1766
1767 self = self;
efc5f224 1768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetBackgroundColour",_kwnames,&_argo0))
8ab979d7 1769 return NULL;
1d99702e
RD
1770 if (_argo0) {
1771 if (_argo0 == Py_None) { _arg0 = NULL; }
1772 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1773 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
1774 return NULL;
1775 }
1776 }
cf694132 1777{
4268f798 1778 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1779 _result = new wxColour (wxWindow_GetBackgroundColour(_arg0));
cf694132 1780
4268f798 1781 wxPyEndAllowThreads(__tstate);
493f1553 1782 if (PyErr_Occurred()) return NULL;
cf694132 1783} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8ab979d7
RD
1784 _resultobj = Py_BuildValue("s",_ptemp);
1785 return _resultobj;
1786}
1787
d426c97e
RD
1788static PyObject * wxWindow_GetChildren(wxWindow *self) {
1789 wxWindowList& list = self->GetChildren();
1790 return wxPy_ConvertList(&list, "wxWindow");
1791 }
1792static PyObject *_wrap_wxWindow_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
1793 PyObject * _resultobj;
1794 PyObject * _result;
1795 wxWindow * _arg0;
1796 PyObject * _argo0 = 0;
1797 char *_kwnames[] = { "self", NULL };
1798
1799 self = self;
1800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetChildren",_kwnames,&_argo0))
1801 return NULL;
1802 if (_argo0) {
1803 if (_argo0 == Py_None) { _arg0 = NULL; }
1804 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1805 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetChildren. Expected _wxWindow_p.");
1806 return NULL;
1807 }
1808 }
1809{
4268f798 1810 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1811 _result = (PyObject *)wxWindow_GetChildren(_arg0);
d426c97e 1812
4268f798 1813 wxPyEndAllowThreads(__tstate);
493f1553 1814 if (PyErr_Occurred()) return NULL;
d426c97e
RD
1815}{
1816 _resultobj = _result;
1817}
1818 return _resultobj;
1819}
1820
8ab979d7 1821#define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
efc5f224 1822static PyObject *_wrap_wxWindow_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1823 PyObject * _resultobj;
1824 int _result;
1825 wxWindow * _arg0;
1d99702e 1826 PyObject * _argo0 = 0;
efc5f224 1827 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1828
1829 self = self;
efc5f224 1830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetCharHeight",_kwnames,&_argo0))
8ab979d7 1831 return NULL;
1d99702e
RD
1832 if (_argo0) {
1833 if (_argo0 == Py_None) { _arg0 = NULL; }
1834 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1835 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
1836 return NULL;
1837 }
1838 }
cf694132 1839{
4268f798 1840 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1841 _result = (int )wxWindow_GetCharHeight(_arg0);
cf694132 1842
4268f798 1843 wxPyEndAllowThreads(__tstate);
493f1553 1844 if (PyErr_Occurred()) return NULL;
cf694132 1845} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1846 return _resultobj;
1847}
1848
1849#define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
efc5f224 1850static PyObject *_wrap_wxWindow_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1851 PyObject * _resultobj;
1852 int _result;
1853 wxWindow * _arg0;
1d99702e 1854 PyObject * _argo0 = 0;
efc5f224 1855 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1856
1857 self = self;
efc5f224 1858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetCharWidth",_kwnames,&_argo0))
8ab979d7 1859 return NULL;
1d99702e
RD
1860 if (_argo0) {
1861 if (_argo0 == Py_None) { _arg0 = NULL; }
1862 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1863 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
1864 return NULL;
1865 }
1866 }
cf694132 1867{
4268f798 1868 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1869 _result = (int )wxWindow_GetCharWidth(_arg0);
cf694132 1870
4268f798 1871 wxPyEndAllowThreads(__tstate);
493f1553 1872 if (PyErr_Occurred()) return NULL;
cf694132 1873} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1874 return _resultobj;
1875}
1876
b8b8dda7 1877#define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
efc5f224 1878static PyObject *_wrap_wxWindow_GetClientSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1879 PyObject * _resultobj;
1880 wxWindow * _arg0;
1881 int * _arg1;
1882 int temp;
1883 int * _arg2;
1884 int temp0;
1d99702e 1885 PyObject * _argo0 = 0;
efc5f224 1886 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1887
1888 self = self;
1889{
1890 _arg1 = &temp;
1891}
1892{
1893 _arg2 = &temp0;
1894}
efc5f224 1895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetClientSizeTuple",_kwnames,&_argo0))
8ab979d7 1896 return NULL;
1d99702e
RD
1897 if (_argo0) {
1898 if (_argo0 == Py_None) { _arg0 = NULL; }
1899 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b8b8dda7 1900 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
8ab979d7
RD
1901 return NULL;
1902 }
1903 }
cf694132 1904{
4268f798 1905 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1906 wxWindow_GetClientSizeTuple(_arg0,_arg1,_arg2);
cf694132 1907
4268f798 1908 wxPyEndAllowThreads(__tstate);
493f1553 1909 if (PyErr_Occurred()) return NULL;
cf694132 1910} Py_INCREF(Py_None);
8ab979d7
RD
1911 _resultobj = Py_None;
1912{
1913 PyObject *o;
1914 o = PyInt_FromLong((long) (*_arg1));
1915 _resultobj = t_output_helper(_resultobj, o);
1916}
1917{
1918 PyObject *o;
1919 o = PyInt_FromLong((long) (*_arg2));
1920 _resultobj = t_output_helper(_resultobj, o);
1921}
1922 return _resultobj;
1923}
1924
b8b8dda7 1925#define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
efc5f224 1926static PyObject *_wrap_wxWindow_GetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
1927 PyObject * _resultobj;
1928 wxSize * _result;
1929 wxWindow * _arg0;
1d99702e 1930 PyObject * _argo0 = 0;
efc5f224 1931 char *_kwnames[] = { "self", NULL };
b8b8dda7
RD
1932 char _ptemp[128];
1933
1934 self = self;
efc5f224 1935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetClientSize",_kwnames,&_argo0))
b8b8dda7 1936 return NULL;
1d99702e
RD
1937 if (_argo0) {
1938 if (_argo0 == Py_None) { _arg0 = NULL; }
1939 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b8b8dda7
RD
1940 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
1941 return NULL;
1942 }
1943 }
cf694132 1944{
4268f798 1945 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1946 _result = new wxSize (wxWindow_GetClientSize(_arg0));
cf694132 1947
4268f798 1948 wxPyEndAllowThreads(__tstate);
493f1553 1949 if (PyErr_Occurred()) return NULL;
cf694132 1950} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
b8b8dda7
RD
1951 _resultobj = Py_BuildValue("s",_ptemp);
1952 return _resultobj;
1953}
1954
23bed520
RD
1955#define wxWindow_GetClientAreaOrigin(_swigobj) (_swigobj->GetClientAreaOrigin())
1956static PyObject *_wrap_wxWindow_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
1957 PyObject * _resultobj;
1958 wxPoint * _result;
1959 wxWindow * _arg0;
1960 PyObject * _argo0 = 0;
1961 char *_kwnames[] = { "self", NULL };
1962 char _ptemp[128];
1963
1964 self = self;
1965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetClientAreaOrigin",_kwnames,&_argo0))
1966 return NULL;
1967 if (_argo0) {
1968 if (_argo0 == Py_None) { _arg0 = NULL; }
1969 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1970 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetClientAreaOrigin. Expected _wxWindow_p.");
1971 return NULL;
1972 }
1973 }
1974{
1975 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1976 _result = new wxPoint (wxWindow_GetClientAreaOrigin(_arg0));
23bed520
RD
1977
1978 wxPyEndAllowThreads(__tstate);
1979 if (PyErr_Occurred()) return NULL;
1980} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
1981 _resultobj = Py_BuildValue("s",_ptemp);
1982 return _resultobj;
1983}
1984
1985#define wxWindow_GetClientRect(_swigobj) (_swigobj->GetClientRect())
1986static PyObject *_wrap_wxWindow_GetClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
1987 PyObject * _resultobj;
1988 wxRect * _result;
1989 wxWindow * _arg0;
1990 PyObject * _argo0 = 0;
1991 char *_kwnames[] = { "self", NULL };
1992 char _ptemp[128];
1993
1994 self = self;
1995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetClientRect",_kwnames,&_argo0))
1996 return NULL;
1997 if (_argo0) {
1998 if (_argo0 == Py_None) { _arg0 = NULL; }
1999 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2000 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetClientRect. Expected _wxWindow_p.");
2001 return NULL;
2002 }
2003 }
2004{
2005 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2006 _result = new wxRect (wxWindow_GetClientRect(_arg0));
23bed520
RD
2007
2008 wxPyEndAllowThreads(__tstate);
2009 if (PyErr_Occurred()) return NULL;
2010} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
2011 _resultobj = Py_BuildValue("s",_ptemp);
2012 return _resultobj;
2013}
2014
8ab979d7 2015#define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
efc5f224 2016static PyObject *_wrap_wxWindow_GetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2017 PyObject * _resultobj;
2018 wxLayoutConstraints * _result;
2019 wxWindow * _arg0;
1d99702e 2020 PyObject * _argo0 = 0;
efc5f224 2021 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2022 char _ptemp[128];
2023
2024 self = self;
efc5f224 2025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetConstraints",_kwnames,&_argo0))
8ab979d7 2026 return NULL;
1d99702e
RD
2027 if (_argo0) {
2028 if (_argo0 == Py_None) { _arg0 = NULL; }
2029 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2030 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
2031 return NULL;
2032 }
2033 }
cf694132 2034{
4268f798 2035 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2036 _result = (wxLayoutConstraints *)wxWindow_GetConstraints(_arg0);
cf694132 2037
4268f798 2038 wxPyEndAllowThreads(__tstate);
493f1553 2039 if (PyErr_Occurred()) return NULL;
1d99702e
RD
2040} if (_result) {
2041 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLayoutConstraints_p");
2042 _resultobj = Py_BuildValue("s",_ptemp);
2043 } else {
2044 Py_INCREF(Py_None);
2045 _resultobj = Py_None;
2046 }
8ab979d7
RD
2047 return _resultobj;
2048}
2049
1afc06c2
RD
2050#define wxWindow_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
2051static PyObject *_wrap_wxWindow_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
2052 PyObject * _resultobj;
2053 wxEvtHandler * _result;
2054 wxWindow * _arg0;
2055 PyObject * _argo0 = 0;
2056 char *_kwnames[] = { "self", NULL };
1afc06c2
RD
2057
2058 self = self;
2059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetEventHandler",_kwnames,&_argo0))
2060 return NULL;
2061 if (_argo0) {
2062 if (_argo0 == Py_None) { _arg0 = NULL; }
2063 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2064 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetEventHandler. Expected _wxWindow_p.");
2065 return NULL;
2066 }
2067 }
2068{
4268f798 2069 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2070 _result = (wxEvtHandler *)wxWindow_GetEventHandler(_arg0);
1afc06c2 2071
4268f798 2072 wxPyEndAllowThreads(__tstate);
493f1553 2073 if (PyErr_Occurred()) return NULL;
9416aa89 2074}{ _resultobj = wxPyMake_wxObject(_result); }
1afc06c2
RD
2075 return _resultobj;
2076}
2077
8ab979d7 2078#define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
efc5f224 2079static PyObject *_wrap_wxWindow_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2080 PyObject * _resultobj;
2081 wxFont * _result;
2082 wxWindow * _arg0;
1d99702e 2083 PyObject * _argo0 = 0;
efc5f224 2084 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2085 char _ptemp[128];
2086
2087 self = self;
efc5f224 2088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetFont",_kwnames,&_argo0))
8ab979d7 2089 return NULL;
1d99702e
RD
2090 if (_argo0) {
2091 if (_argo0 == Py_None) { _arg0 = NULL; }
2092 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2093 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
2094 return NULL;
2095 }
2096 }
cf694132 2097{
4268f798 2098 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2099 _result = new wxFont (wxWindow_GetFont(_arg0));
cf694132 2100
4268f798 2101 wxPyEndAllowThreads(__tstate);
493f1553 2102 if (PyErr_Occurred()) return NULL;
c5943253
RD
2103} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
2104 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
2105 return _resultobj;
2106}
2107
2108#define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
efc5f224 2109static PyObject *_wrap_wxWindow_GetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2110 PyObject * _resultobj;
2111 wxColour * _result;
2112 wxWindow * _arg0;
1d99702e 2113 PyObject * _argo0 = 0;
efc5f224 2114 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2115 char _ptemp[128];
2116
2117 self = self;
efc5f224 2118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetForegroundColour",_kwnames,&_argo0))
8ab979d7 2119 return NULL;
1d99702e
RD
2120 if (_argo0) {
2121 if (_argo0 == Py_None) { _arg0 = NULL; }
2122 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2123 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
2124 return NULL;
2125 }
2126 }
cf694132 2127{
4268f798 2128 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2129 _result = new wxColour (wxWindow_GetForegroundColour(_arg0));
cf694132 2130
4268f798 2131 wxPyEndAllowThreads(__tstate);
493f1553 2132 if (PyErr_Occurred()) return NULL;
cf694132 2133} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8ab979d7
RD
2134 _resultobj = Py_BuildValue("s",_ptemp);
2135 return _resultobj;
2136}
2137
2138#define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
efc5f224 2139static PyObject *_wrap_wxWindow_GetGrandParent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2140 PyObject * _resultobj;
2141 wxWindow * _result;
2142 wxWindow * _arg0;
1d99702e 2143 PyObject * _argo0 = 0;
efc5f224 2144 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2145
2146 self = self;
efc5f224 2147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetGrandParent",_kwnames,&_argo0))
8ab979d7 2148 return NULL;
1d99702e
RD
2149 if (_argo0) {
2150 if (_argo0 == Py_None) { _arg0 = NULL; }
2151 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2152 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
2153 return NULL;
2154 }
2155 }
cf694132 2156{
4268f798 2157 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2158 _result = (wxWindow *)wxWindow_GetGrandParent(_arg0);
cf694132 2159
4268f798 2160 wxPyEndAllowThreads(__tstate);
493f1553 2161 if (PyErr_Occurred()) return NULL;
9416aa89 2162}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
2163 return _resultobj;
2164}
2165
2abc0a0f 2166static long wxWindow_GetHandle(wxWindow *self) {
1b55cabf 2167 return wxPyGetWinHandle(self); //(long)self->GetHandle();
2abc0a0f
RD
2168 }
2169static PyObject *_wrap_wxWindow_GetHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
2170 PyObject * _resultobj;
2171 long _result;
2172 wxWindow * _arg0;
2173 PyObject * _argo0 = 0;
2174 char *_kwnames[] = { "self", NULL };
2175
2176 self = self;
2177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetHandle",_kwnames,&_argo0))
2178 return NULL;
2179 if (_argo0) {
2180 if (_argo0 == Py_None) { _arg0 = NULL; }
2181 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2182 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetHandle. Expected _wxWindow_p.");
2183 return NULL;
2184 }
2185 }
2186{
4268f798 2187 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2188 _result = (long )wxWindow_GetHandle(_arg0);
2abc0a0f 2189
4268f798 2190 wxPyEndAllowThreads(__tstate);
493f1553 2191 if (PyErr_Occurred()) return NULL;
2abc0a0f
RD
2192} _resultobj = Py_BuildValue("l",_result);
2193 return _resultobj;
2194}
2195
8ab979d7 2196#define wxWindow_GetId(_swigobj) (_swigobj->GetId())
efc5f224 2197static PyObject *_wrap_wxWindow_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2198 PyObject * _resultobj;
2199 int _result;
2200 wxWindow * _arg0;
1d99702e 2201 PyObject * _argo0 = 0;
efc5f224 2202 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2203
2204 self = self;
efc5f224 2205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetId",_kwnames,&_argo0))
8ab979d7 2206 return NULL;
1d99702e
RD
2207 if (_argo0) {
2208 if (_argo0 == Py_None) { _arg0 = NULL; }
2209 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2210 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
2211 return NULL;
2212 }
2213 }
cf694132 2214{
4268f798 2215 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2216 _result = (int )wxWindow_GetId(_arg0);
cf694132 2217
4268f798 2218 wxPyEndAllowThreads(__tstate);
493f1553 2219 if (PyErr_Occurred()) return NULL;
cf694132 2220} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2221 return _resultobj;
2222}
2223
8ab979d7 2224#define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
efc5f224 2225static PyObject *_wrap_wxWindow_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2226 PyObject * _resultobj;
2227 wxString * _result;
2228 wxWindow * _arg0;
1d99702e 2229 PyObject * _argo0 = 0;
efc5f224 2230 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2231
2232 self = self;
efc5f224 2233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetLabel",_kwnames,&_argo0))
8ab979d7 2234 return NULL;
1d99702e
RD
2235 if (_argo0) {
2236 if (_argo0 == Py_None) { _arg0 = NULL; }
2237 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2238 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
2239 return NULL;
2240 }
2241 }
8ab979d7 2242{
4268f798 2243 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2244 _result = new wxString (wxWindow_GetLabel(_arg0));
cf694132 2245
4268f798 2246 wxPyEndAllowThreads(__tstate);
493f1553 2247 if (PyErr_Occurred()) return NULL;
cf694132 2248}{
c8bc7bb8 2249#if wxUSE_UNICODE
7e50db3f 2250 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 2251#else
eec92d76 2252 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 2253#endif
8ab979d7
RD
2254}
2255{
2256 delete _result;
2257}
2258 return _resultobj;
2259}
2260
bb0054cd 2261#define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
efc5f224 2262static PyObject *_wrap_wxWindow_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
2263 PyObject * _resultobj;
2264 wxWindow * _arg0;
2265 wxString * _arg1;
1d99702e 2266 PyObject * _argo0 = 0;
bb0054cd 2267 PyObject * _obj1 = 0;
efc5f224 2268 char *_kwnames[] = { "self","label", NULL };
bb0054cd
RD
2269
2270 self = self;
efc5f224 2271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetLabel",_kwnames,&_argo0,&_obj1))
bb0054cd 2272 return NULL;
1d99702e
RD
2273 if (_argo0) {
2274 if (_argo0 == Py_None) { _arg0 = NULL; }
2275 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
bb0054cd
RD
2276 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
2277 return NULL;
2278 }
2279 }
2280{
c8bc7bb8
RD
2281 _arg1 = wxString_in_helper(_obj1);
2282 if (_arg1 == NULL)
bb0054cd 2283 return NULL;
bb0054cd
RD
2284}
2285{
4268f798 2286 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2287 wxWindow_SetLabel(_arg0,*_arg1);
bb0054cd 2288
4268f798 2289 wxPyEndAllowThreads(__tstate);
493f1553 2290 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
2291} Py_INCREF(Py_None);
2292 _resultobj = Py_None;
2293{
2294 if (_obj1)
2295 delete _arg1;
2296}
2297 return _resultobj;
2298}
2299
8ab979d7 2300#define wxWindow_GetName(_swigobj) (_swigobj->GetName())
efc5f224 2301static PyObject *_wrap_wxWindow_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2302 PyObject * _resultobj;
2303 wxString * _result;
2304 wxWindow * _arg0;
1d99702e 2305 PyObject * _argo0 = 0;
efc5f224 2306 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2307
2308 self = self;
efc5f224 2309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetName",_kwnames,&_argo0))
8ab979d7 2310 return NULL;
1d99702e
RD
2311 if (_argo0) {
2312 if (_argo0 == Py_None) { _arg0 = NULL; }
2313 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2314 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
2315 return NULL;
2316 }
2317 }
8ab979d7 2318{
4268f798 2319 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2320 _result = new wxString (wxWindow_GetName(_arg0));
cf694132 2321
4268f798 2322 wxPyEndAllowThreads(__tstate);
493f1553 2323 if (PyErr_Occurred()) return NULL;
cf694132 2324}{
c8bc7bb8 2325#if wxUSE_UNICODE
7e50db3f 2326 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 2327#else
eec92d76 2328 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 2329#endif
8ab979d7
RD
2330}
2331{
2332 delete _result;
2333}
2334 return _resultobj;
2335}
2336
2337#define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
efc5f224 2338static PyObject *_wrap_wxWindow_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2339 PyObject * _resultobj;
2340 wxWindow * _result;
2341 wxWindow * _arg0;
1d99702e 2342 PyObject * _argo0 = 0;
efc5f224 2343 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2344
2345 self = self;
efc5f224 2346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetParent",_kwnames,&_argo0))
8ab979d7 2347 return NULL;
1d99702e
RD
2348 if (_argo0) {
2349 if (_argo0 == Py_None) { _arg0 = NULL; }
2350 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2351 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
2352 return NULL;
2353 }
2354 }
cf694132 2355{
4268f798 2356 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2357 _result = (wxWindow *)wxWindow_GetParent(_arg0);
cf694132 2358
4268f798 2359 wxPyEndAllowThreads(__tstate);
493f1553 2360 if (PyErr_Occurred()) return NULL;
9416aa89 2361}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
2362 return _resultobj;
2363}
2364
b8b8dda7 2365#define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
efc5f224 2366static PyObject *_wrap_wxWindow_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
2367 PyObject * _resultobj;
2368 wxWindow * _arg0;
2369 int * _arg1;
2370 int temp;
2371 int * _arg2;
2372 int temp0;
1d99702e 2373 PyObject * _argo0 = 0;
efc5f224 2374 char *_kwnames[] = { "self", NULL };
b8b8dda7
RD
2375
2376 self = self;
2377{
2378 _arg1 = &temp;
2379}
2380{
2381 _arg2 = &temp0;
2382}
efc5f224 2383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetPositionTuple",_kwnames,&_argo0))
b8b8dda7 2384 return NULL;
1d99702e
RD
2385 if (_argo0) {
2386 if (_argo0 == Py_None) { _arg0 = NULL; }
2387 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b8b8dda7
RD
2388 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
2389 return NULL;
2390 }
2391 }
cf694132 2392{
4268f798 2393 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2394 wxWindow_GetPositionTuple(_arg0,_arg1,_arg2);
cf694132 2395
4268f798 2396 wxPyEndAllowThreads(__tstate);
493f1553 2397 if (PyErr_Occurred()) return NULL;
cf694132 2398} Py_INCREF(Py_None);
b8b8dda7
RD
2399 _resultobj = Py_None;
2400{
2401 PyObject *o;
2402 o = PyInt_FromLong((long) (*_arg1));
2403 _resultobj = t_output_helper(_resultobj, o);
2404}
2405{
2406 PyObject *o;
2407 o = PyInt_FromLong((long) (*_arg2));
2408 _resultobj = t_output_helper(_resultobj, o);
2409}
2410 return _resultobj;
2411}
2412
2413#define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
efc5f224 2414static PyObject *_wrap_wxWindow_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
2415 PyObject * _resultobj;
2416 wxPoint * _result;
2417 wxWindow * _arg0;
1d99702e 2418 PyObject * _argo0 = 0;
efc5f224 2419 char *_kwnames[] = { "self", NULL };
b8b8dda7
RD
2420 char _ptemp[128];
2421
2422 self = self;
efc5f224 2423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetPosition",_kwnames,&_argo0))
b8b8dda7 2424 return NULL;
1d99702e
RD
2425 if (_argo0) {
2426 if (_argo0 == Py_None) { _arg0 = NULL; }
2427 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b8b8dda7
RD
2428 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
2429 return NULL;
2430 }
2431 }
cf694132 2432{
4268f798 2433 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2434 _result = new wxPoint (wxWindow_GetPosition(_arg0));
cf694132 2435
4268f798 2436 wxPyEndAllowThreads(__tstate);
493f1553 2437 if (PyErr_Occurred()) return NULL;
cf694132 2438} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
b8b8dda7
RD
2439 _resultobj = Py_BuildValue("s",_ptemp);
2440 return _resultobj;
2441}
2442
2443#define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
efc5f224 2444static PyObject *_wrap_wxWindow_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
2445 PyObject * _resultobj;
2446 wxRect * _result;
2447 wxWindow * _arg0;
1d99702e 2448 PyObject * _argo0 = 0;
efc5f224 2449 char *_kwnames[] = { "self", NULL };
b8b8dda7
RD
2450 char _ptemp[128];
2451
2452 self = self;
efc5f224 2453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetRect",_kwnames,&_argo0))
b8b8dda7 2454 return NULL;
1d99702e
RD
2455 if (_argo0) {
2456 if (_argo0 == Py_None) { _arg0 = NULL; }
2457 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b8b8dda7
RD
2458 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
2459 return NULL;
2460 }
2461 }
cf694132 2462{
4268f798 2463 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2464 _result = new wxRect (wxWindow_GetRect(_arg0));
cf694132 2465
4268f798 2466 wxPyEndAllowThreads(__tstate);
493f1553 2467 if (PyErr_Occurred()) return NULL;
cf694132 2468} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
b8b8dda7
RD
2469 _resultobj = Py_BuildValue("s",_ptemp);
2470 return _resultobj;
2471}
2472
8ab979d7 2473#define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
efc5f224 2474static PyObject *_wrap_wxWindow_GetScrollThumb(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2475 PyObject * _resultobj;
2476 int _result;
2477 wxWindow * _arg0;
2478 int _arg1;
1d99702e 2479 PyObject * _argo0 = 0;
efc5f224 2480 char *_kwnames[] = { "self","orientation", NULL };
8ab979d7
RD
2481
2482 self = self;
efc5f224 2483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_GetScrollThumb",_kwnames,&_argo0,&_arg1))
8ab979d7 2484 return NULL;
1d99702e
RD
2485 if (_argo0) {
2486 if (_argo0 == Py_None) { _arg0 = NULL; }
2487 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2488 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
2489 return NULL;
2490 }
2491 }
cf694132 2492{
4268f798 2493 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2494 _result = (int )wxWindow_GetScrollThumb(_arg0,_arg1);
cf694132 2495
4268f798 2496 wxPyEndAllowThreads(__tstate);
493f1553 2497 if (PyErr_Occurred()) return NULL;
cf694132 2498} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2499 return _resultobj;
2500}
2501
2502#define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
efc5f224 2503static PyObject *_wrap_wxWindow_GetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2504 PyObject * _resultobj;
2505 int _result;
2506 wxWindow * _arg0;
2507 int _arg1;
1d99702e 2508 PyObject * _argo0 = 0;
efc5f224 2509 char *_kwnames[] = { "self","orientation", NULL };
8ab979d7
RD
2510
2511 self = self;
efc5f224 2512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_GetScrollPos",_kwnames,&_argo0,&_arg1))
8ab979d7 2513 return NULL;
1d99702e
RD
2514 if (_argo0) {
2515 if (_argo0 == Py_None) { _arg0 = NULL; }
2516 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2517 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
2518 return NULL;
2519 }
2520 }
cf694132 2521{
4268f798 2522 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2523 _result = (int )wxWindow_GetScrollPos(_arg0,_arg1);
cf694132 2524
4268f798 2525 wxPyEndAllowThreads(__tstate);
493f1553 2526 if (PyErr_Occurred()) return NULL;
cf694132 2527} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2528 return _resultobj;
2529}
2530
2531#define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
efc5f224 2532static PyObject *_wrap_wxWindow_GetScrollRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2533 PyObject * _resultobj;
2534 int _result;
2535 wxWindow * _arg0;
2536 int _arg1;
1d99702e 2537 PyObject * _argo0 = 0;
efc5f224 2538 char *_kwnames[] = { "self","orientation", NULL };
8ab979d7
RD
2539
2540 self = self;
efc5f224 2541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_GetScrollRange",_kwnames,&_argo0,&_arg1))
8ab979d7 2542 return NULL;
1d99702e
RD
2543 if (_argo0) {
2544 if (_argo0 == Py_None) { _arg0 = NULL; }
2545 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2546 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
2547 return NULL;
2548 }
2549 }
cf694132 2550{
4268f798 2551 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2552 _result = (int )wxWindow_GetScrollRange(_arg0,_arg1);
cf694132 2553
4268f798 2554 wxPyEndAllowThreads(__tstate);
493f1553 2555 if (PyErr_Occurred()) return NULL;
cf694132 2556} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2557 return _resultobj;
2558}
2559
b8b8dda7 2560#define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
efc5f224 2561static PyObject *_wrap_wxWindow_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2562 PyObject * _resultobj;
2563 wxWindow * _arg0;
2564 int * _arg1;
2565 int temp;
2566 int * _arg2;
2567 int temp0;
1d99702e 2568 PyObject * _argo0 = 0;
efc5f224 2569 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2570
2571 self = self;
2572{
2573 _arg1 = &temp;
2574}
2575{
2576 _arg2 = &temp0;
2577}
efc5f224 2578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetSizeTuple",_kwnames,&_argo0))
8ab979d7 2579 return NULL;
1d99702e
RD
2580 if (_argo0) {
2581 if (_argo0 == Py_None) { _arg0 = NULL; }
2582 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b8b8dda7 2583 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
8ab979d7
RD
2584 return NULL;
2585 }
2586 }
cf694132 2587{
4268f798 2588 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2589 wxWindow_GetSizeTuple(_arg0,_arg1,_arg2);
cf694132 2590
4268f798 2591 wxPyEndAllowThreads(__tstate);
493f1553 2592 if (PyErr_Occurred()) return NULL;
cf694132 2593} Py_INCREF(Py_None);
8ab979d7
RD
2594 _resultobj = Py_None;
2595{
2596 PyObject *o;
2597 o = PyInt_FromLong((long) (*_arg1));
2598 _resultobj = t_output_helper(_resultobj, o);
2599}
2600{
2601 PyObject *o;
2602 o = PyInt_FromLong((long) (*_arg2));
2603 _resultobj = t_output_helper(_resultobj, o);
2604}
2605 return _resultobj;
2606}
2607
b8b8dda7 2608#define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
efc5f224 2609static PyObject *_wrap_wxWindow_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
2610 PyObject * _resultobj;
2611 wxSize * _result;
2612 wxWindow * _arg0;
1d99702e 2613 PyObject * _argo0 = 0;
efc5f224 2614 char *_kwnames[] = { "self", NULL };
b8b8dda7
RD
2615 char _ptemp[128];
2616
2617 self = self;
efc5f224 2618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetSize",_kwnames,&_argo0))
b8b8dda7 2619 return NULL;
1d99702e
RD
2620 if (_argo0) {
2621 if (_argo0 == Py_None) { _arg0 = NULL; }
2622 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b8b8dda7
RD
2623 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
2624 return NULL;
2625 }
2626 }
cf694132 2627{
4268f798 2628 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2629 _result = new wxSize (wxWindow_GetSize(_arg0));
cf694132 2630
4268f798 2631 wxPyEndAllowThreads(__tstate);
493f1553 2632 if (PyErr_Occurred()) return NULL;
cf694132 2633} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
b8b8dda7
RD
2634 _resultobj = Py_BuildValue("s",_ptemp);
2635 return _resultobj;
2636}
2637
8ab979d7 2638#define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
efc5f224 2639static PyObject *_wrap_wxWindow_GetTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2640 PyObject * _resultobj;
2641 wxWindow * _arg0;
2642 wxString * _arg1;
2643 int * _arg2;
2644 int temp;
2645 int * _arg3;
2646 int temp0;
1d99702e 2647 PyObject * _argo0 = 0;
8ab979d7 2648 PyObject * _obj1 = 0;
efc5f224 2649 char *_kwnames[] = { "self","string", NULL };
8ab979d7
RD
2650
2651 self = self;
2652{
2653 _arg2 = &temp;
2654}
2655{
2656 _arg3 = &temp0;
2657}
efc5f224 2658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_GetTextExtent",_kwnames,&_argo0,&_obj1))
8ab979d7 2659 return NULL;
1d99702e
RD
2660 if (_argo0) {
2661 if (_argo0 == Py_None) { _arg0 = NULL; }
2662 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2663 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
2664 return NULL;
2665 }
2666 }
2667{
c8bc7bb8
RD
2668 _arg1 = wxString_in_helper(_obj1);
2669 if (_arg1 == NULL)
8ab979d7 2670 return NULL;
8ab979d7 2671}
cf694132 2672{
4268f798 2673 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2674 wxWindow_GetTextExtent(_arg0,*_arg1,_arg2,_arg3);
cf694132 2675
4268f798 2676 wxPyEndAllowThreads(__tstate);
493f1553 2677 if (PyErr_Occurred()) return NULL;
cf694132 2678} Py_INCREF(Py_None);
8ab979d7
RD
2679 _resultobj = Py_None;
2680{
2681 PyObject *o;
2682 o = PyInt_FromLong((long) (*_arg2));
2683 _resultobj = t_output_helper(_resultobj, o);
2684}
2685{
2686 PyObject *o;
2687 o = PyInt_FromLong((long) (*_arg3));
2688 _resultobj = t_output_helper(_resultobj, o);
2689}
2690{
2691 if (_obj1)
2692 delete _arg1;
2693}
2694 return _resultobj;
2695}
2696
af309447 2697#define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
efc5f224 2698static PyObject *_wrap_wxWindow_GetFullTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
2699 PyObject * _resultobj;
2700 wxWindow * _arg0;
2701 wxString * _arg1;
2702 int * _arg2;
2703 int temp;
2704 int * _arg3;
2705 int temp0;
2706 int * _arg4;
2707 int temp1;
2708 int * _arg5;
2709 int temp2;
1d99702e
RD
2710 wxFont * _arg6 = (wxFont *) NULL;
2711 PyObject * _argo0 = 0;
af309447 2712 PyObject * _obj1 = 0;
1d99702e 2713 PyObject * _argo6 = 0;
efc5f224 2714 char *_kwnames[] = { "self","string","font", NULL };
af309447
RD
2715
2716 self = self;
2717{
2718 _arg2 = &temp;
2719}
2720{
2721 _arg3 = &temp0;
2722}
2723{
2724 _arg4 = &temp1;
2725}
2726{
2727 _arg5 = &temp2;
2728}
efc5f224 2729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxWindow_GetFullTextExtent",_kwnames,&_argo0,&_obj1,&_argo6))
af309447 2730 return NULL;
1d99702e
RD
2731 if (_argo0) {
2732 if (_argo0 == Py_None) { _arg0 = NULL; }
2733 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
af309447
RD
2734 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
2735 return NULL;
2736 }
2737 }
2738{
c8bc7bb8
RD
2739 _arg1 = wxString_in_helper(_obj1);
2740 if (_arg1 == NULL)
af309447 2741 return NULL;
af309447 2742}
1d99702e
RD
2743 if (_argo6) {
2744 if (_argo6 == Py_None) { _arg6 = NULL; }
2745 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxFont_p")) {
af309447
RD
2746 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
2747 return NULL;
2748 }
2749 }
cf694132 2750{
4268f798 2751 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2752 wxWindow_GetFullTextExtent(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
cf694132 2753
4268f798 2754 wxPyEndAllowThreads(__tstate);
493f1553 2755 if (PyErr_Occurred()) return NULL;
cf694132 2756} Py_INCREF(Py_None);
af309447
RD
2757 _resultobj = Py_None;
2758{
2759 PyObject *o;
2760 o = PyInt_FromLong((long) (*_arg2));
2761 _resultobj = t_output_helper(_resultobj, o);
2762}
2763{
2764 PyObject *o;
2765 o = PyInt_FromLong((long) (*_arg3));
2766 _resultobj = t_output_helper(_resultobj, o);
2767}
2768{
2769 PyObject *o;
2770 o = PyInt_FromLong((long) (*_arg4));
2771 _resultobj = t_output_helper(_resultobj, o);
2772}
2773{
2774 PyObject *o;
2775 o = PyInt_FromLong((long) (*_arg5));
2776 _resultobj = t_output_helper(_resultobj, o);
2777}
2778{
2779 if (_obj1)
2780 delete _arg1;
2781}
2782 return _resultobj;
2783}
2784
8ab979d7 2785#define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
efc5f224 2786static PyObject *_wrap_wxWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2787 PyObject * _resultobj;
2788 wxString * _result;
2789 wxWindow * _arg0;
1d99702e 2790 PyObject * _argo0 = 0;
efc5f224 2791 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2792
2793 self = self;
efc5f224 2794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetTitle",_kwnames,&_argo0))
8ab979d7 2795 return NULL;
1d99702e
RD
2796 if (_argo0) {
2797 if (_argo0 == Py_None) { _arg0 = NULL; }
2798 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2799 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
2800 return NULL;
2801 }
2802 }
8ab979d7 2803{
4268f798 2804 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2805 _result = new wxString (wxWindow_GetTitle(_arg0));
cf694132 2806
4268f798 2807 wxPyEndAllowThreads(__tstate);
493f1553 2808 if (PyErr_Occurred()) return NULL;
cf694132 2809}{
c8bc7bb8 2810#if wxUSE_UNICODE
7e50db3f 2811 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 2812#else
eec92d76 2813 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 2814#endif
8ab979d7
RD
2815}
2816{
2817 delete _result;
2818}
2819 return _resultobj;
2820}
2821
8bf5d46e 2822#define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
efc5f224 2823static PyObject *_wrap_wxWindow_GetUpdateRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
8bf5d46e
RD
2824 PyObject * _resultobj;
2825 wxRegion * _result;
2826 wxWindow * _arg0;
1d99702e 2827 PyObject * _argo0 = 0;
efc5f224 2828 char *_kwnames[] = { "self", NULL };
8bf5d46e
RD
2829 char _ptemp[128];
2830
2831 self = self;
efc5f224 2832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetUpdateRegion",_kwnames,&_argo0))
8bf5d46e 2833 return NULL;
1d99702e
RD
2834 if (_argo0) {
2835 if (_argo0 == Py_None) { _arg0 = NULL; }
2836 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8bf5d46e
RD
2837 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
2838 return NULL;
2839 }
2840 }
2841{
4268f798 2842 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2843 _result = new wxRegion (wxWindow_GetUpdateRegion(_arg0));
8bf5d46e 2844
4268f798 2845 wxPyEndAllowThreads(__tstate);
493f1553 2846 if (PyErr_Occurred()) return NULL;
8bf5d46e
RD
2847} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRegion_p");
2848 _resultobj = Py_BuildValue("s",_ptemp);
2849 return _resultobj;
2850}
2851
8ab979d7 2852#define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
efc5f224 2853static PyObject *_wrap_wxWindow_GetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2854 PyObject * _resultobj;
2855 long _result;
2856 wxWindow * _arg0;
1d99702e 2857 PyObject * _argo0 = 0;
efc5f224 2858 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2859
2860 self = self;
efc5f224 2861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetWindowStyleFlag",_kwnames,&_argo0))
8ab979d7 2862 return NULL;
1d99702e
RD
2863 if (_argo0) {
2864 if (_argo0 == Py_None) { _arg0 = NULL; }
2865 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2866 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
2867 return NULL;
2868 }
2869 }
cf694132 2870{
4268f798 2871 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2872 _result = (long )wxWindow_GetWindowStyleFlag(_arg0);
cf694132 2873
4268f798 2874 wxPyEndAllowThreads(__tstate);
493f1553 2875 if (PyErr_Occurred()) return NULL;
cf694132 2876} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
2877 return _resultobj;
2878}
2879
f6bcfd97
BP
2880#define wxWindow_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
2881static PyObject *_wrap_wxWindow_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
2882 PyObject * _resultobj;
2883 wxWindow * _arg0;
2884 long _arg1;
2885 PyObject * _argo0 = 0;
2886 char *_kwnames[] = { "self","style", NULL };
2887
2888 self = self;
2889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxWindow_SetWindowStyleFlag",_kwnames,&_argo0,&_arg1))
2890 return NULL;
2891 if (_argo0) {
2892 if (_argo0 == Py_None) { _arg0 = NULL; }
2893 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2894 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetWindowStyleFlag. Expected _wxWindow_p.");
2895 return NULL;
2896 }
2897 }
2898{
4268f798 2899 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2900 wxWindow_SetWindowStyleFlag(_arg0,_arg1);
f6bcfd97 2901
4268f798 2902 wxPyEndAllowThreads(__tstate);
493f1553 2903 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2904} Py_INCREF(Py_None);
2905 _resultobj = Py_None;
2906 return _resultobj;
2907}
2908
2909#define wxWindow_SetWindowStyle(_swigobj,_swigarg0) (_swigobj->SetWindowStyle(_swigarg0))
2910static PyObject *_wrap_wxWindow_SetWindowStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
2911 PyObject * _resultobj;
2912 wxWindow * _arg0;
2913 long _arg1;
2914 PyObject * _argo0 = 0;
2915 char *_kwnames[] = { "self","style", NULL };
2916
2917 self = self;
2918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxWindow_SetWindowStyle",_kwnames,&_argo0,&_arg1))
2919 return NULL;
2920 if (_argo0) {
2921 if (_argo0 == Py_None) { _arg0 = NULL; }
2922 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2923 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetWindowStyle. Expected _wxWindow_p.");
2924 return NULL;
2925 }
2926 }
2927{
4268f798 2928 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2929 wxWindow_SetWindowStyle(_arg0,_arg1);
f6bcfd97 2930
4268f798 2931 wxPyEndAllowThreads(__tstate);
493f1553 2932 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2933} Py_INCREF(Py_None);
2934 _resultobj = Py_None;
2935 return _resultobj;
2936}
2937
23bed520
RD
2938#define wxWindow_HasScrollbar(_swigobj,_swigarg0) (_swigobj->HasScrollbar(_swigarg0))
2939static PyObject *_wrap_wxWindow_HasScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
2940 PyObject * _resultobj;
2941 bool _result;
2942 wxWindow * _arg0;
2943 int _arg1;
2944 PyObject * _argo0 = 0;
2945 char *_kwnames[] = { "self","orient", NULL };
2946
2947 self = self;
2948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_HasScrollbar",_kwnames,&_argo0,&_arg1))
2949 return NULL;
2950 if (_argo0) {
2951 if (_argo0 == Py_None) { _arg0 = NULL; }
2952 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2953 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_HasScrollbar. Expected _wxWindow_p.");
2954 return NULL;
2955 }
2956 }
2957{
2958 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2959 _result = (bool )wxWindow_HasScrollbar(_arg0,_arg1);
23bed520
RD
2960
2961 wxPyEndAllowThreads(__tstate);
2962 if (PyErr_Occurred()) return NULL;
2963} _resultobj = Py_BuildValue("i",_result);
2964 return _resultobj;
2965}
2966
bb0054cd 2967#define wxWindow_Hide(_swigobj) (_swigobj->Hide())
efc5f224 2968static PyObject *_wrap_wxWindow_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
2969 PyObject * _resultobj;
2970 bool _result;
2971 wxWindow * _arg0;
1d99702e 2972 PyObject * _argo0 = 0;
efc5f224 2973 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
2974
2975 self = self;
efc5f224 2976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Hide",_kwnames,&_argo0))
bb0054cd 2977 return NULL;
1d99702e
RD
2978 if (_argo0) {
2979 if (_argo0 == Py_None) { _arg0 = NULL; }
2980 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
bb0054cd
RD
2981 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
2982 return NULL;
2983 }
2984 }
2985{
4268f798 2986 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2987 _result = (bool )wxWindow_Hide(_arg0);
bb0054cd 2988
4268f798 2989 wxPyEndAllowThreads(__tstate);
493f1553 2990 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
2991} _resultobj = Py_BuildValue("i",_result);
2992 return _resultobj;
2993}
2994
23bed520
RD
2995#define wxWindow_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0))
2996static PyObject *_wrap_wxWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
2997 PyObject * _resultobj;
2998 wxHitTest _result;
2999 wxWindow * _arg0;
3000 wxPoint * _arg1;
3001 PyObject * _argo0 = 0;
3002 wxPoint temp;
3003 PyObject * _obj1 = 0;
3004 char *_kwnames[] = { "self","pt", NULL };
3005
3006 self = self;
3007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_HitTest",_kwnames,&_argo0,&_obj1))
3008 return NULL;
3009 if (_argo0) {
3010 if (_argo0 == Py_None) { _arg0 = NULL; }
3011 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3012 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_HitTest. Expected _wxWindow_p.");
3013 return NULL;
3014 }
3015 }
3016{
3017 _arg1 = &temp;
3018 if (! wxPoint_helper(_obj1, &_arg1))
3019 return NULL;
3020}
3021{
3022 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3023 _result = (wxHitTest )wxWindow_HitTest(_arg0,*_arg1);
23bed520
RD
3024
3025 wxPyEndAllowThreads(__tstate);
3026 if (PyErr_Occurred()) return NULL;
3027} _resultobj = Py_BuildValue("i",_result);
3028 return _resultobj;
3029}
3030
8ab979d7 3031#define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
efc5f224 3032static PyObject *_wrap_wxWindow_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3033 PyObject * _resultobj;
3034 wxWindow * _arg0;
1d99702e 3035 PyObject * _argo0 = 0;
efc5f224 3036 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3037
3038 self = self;
efc5f224 3039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_InitDialog",_kwnames,&_argo0))
8ab979d7 3040 return NULL;
1d99702e
RD
3041 if (_argo0) {
3042 if (_argo0 == Py_None) { _arg0 = NULL; }
3043 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3044 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
3045 return NULL;
3046 }
3047 }
cf694132 3048{
4268f798 3049 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3050 wxWindow_InitDialog(_arg0);
cf694132 3051
4268f798 3052 wxPyEndAllowThreads(__tstate);
493f1553 3053 if (PyErr_Occurred()) return NULL;
cf694132 3054} Py_INCREF(Py_None);
8ab979d7
RD
3055 _resultobj = Py_None;
3056 return _resultobj;
3057}
3058
3059#define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
efc5f224 3060static PyObject *_wrap_wxWindow_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3061 PyObject * _resultobj;
3062 bool _result;
3063 wxWindow * _arg0;
1d99702e 3064 PyObject * _argo0 = 0;
efc5f224 3065 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3066
3067 self = self;
efc5f224 3068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_IsEnabled",_kwnames,&_argo0))
8ab979d7 3069 return NULL;
1d99702e
RD
3070 if (_argo0) {
3071 if (_argo0 == Py_None) { _arg0 = NULL; }
3072 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3073 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
3074 return NULL;
3075 }
3076 }
cf694132 3077{
4268f798 3078 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3079 _result = (bool )wxWindow_IsEnabled(_arg0);
cf694132 3080
4268f798 3081 wxPyEndAllowThreads(__tstate);
493f1553 3082 if (PyErr_Occurred()) return NULL;
cf694132 3083} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3084 return _resultobj;
3085}
3086
1b55cabf
RD
3087#define wxWindow_IsExposed(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->IsExposed(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3088static PyObject *_wrap_wxWindow_IsExposed(PyObject *self, PyObject *args, PyObject *kwargs) {
3089 PyObject * _resultobj;
3090 bool _result;
3091 wxWindow * _arg0;
3092 int _arg1;
3093 int _arg2;
3094 int _arg3 = (int ) 0;
3095 int _arg4 = (int ) 0;
3096 PyObject * _argo0 = 0;
3097 char *_kwnames[] = { "self","x","y","w","h", NULL };
3098
3099 self = self;
3100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|ii:wxWindow_IsExposed",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3101 return NULL;
3102 if (_argo0) {
3103 if (_argo0 == Py_None) { _arg0 = NULL; }
3104 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3105 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsExposed. Expected _wxWindow_p.");
3106 return NULL;
3107 }
3108 }
3109{
4268f798 3110 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3111 _result = (bool )wxWindow_IsExposed(_arg0,_arg1,_arg2,_arg3,_arg4);
1b55cabf 3112
4268f798 3113 wxPyEndAllowThreads(__tstate);
493f1553 3114 if (PyErr_Occurred()) return NULL;
1b55cabf
RD
3115} _resultobj = Py_BuildValue("i",_result);
3116 return _resultobj;
3117}
3118
3119#define wxWindow_IsExposedPoint(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
3120static PyObject *_wrap_wxWindow_IsExposedPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3121 PyObject * _resultobj;
3122 bool _result;
3123 wxWindow * _arg0;
3124 wxPoint * _arg1;
3125 PyObject * _argo0 = 0;
3126 wxPoint temp;
3127 PyObject * _obj1 = 0;
3128 char *_kwnames[] = { "self","pt", NULL };
3129
3130 self = self;
3131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_IsExposedPoint",_kwnames,&_argo0,&_obj1))
3132 return NULL;
3133 if (_argo0) {
3134 if (_argo0 == Py_None) { _arg0 = NULL; }
3135 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3136 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsExposedPoint. Expected _wxWindow_p.");
3137 return NULL;
3138 }
3139 }
3140{
3141 _arg1 = &temp;
3142 if (! wxPoint_helper(_obj1, &_arg1))
3143 return NULL;
3144}
3145{
4268f798 3146 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3147 _result = (bool )wxWindow_IsExposedPoint(_arg0,*_arg1);
1b55cabf 3148
4268f798 3149 wxPyEndAllowThreads(__tstate);
493f1553 3150 if (PyErr_Occurred()) return NULL;
1b55cabf
RD
3151} _resultobj = Py_BuildValue("i",_result);
3152 return _resultobj;
3153}
3154
3155#define wxWindow_IsExposedRect(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
3156static PyObject *_wrap_wxWindow_IsExposedRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3157 PyObject * _resultobj;
3158 bool _result;
3159 wxWindow * _arg0;
3160 wxRect * _arg1;
3161 PyObject * _argo0 = 0;
3162 wxRect temp;
3163 PyObject * _obj1 = 0;
3164 char *_kwnames[] = { "self","rect", NULL };
3165
3166 self = self;
3167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_IsExposedRect",_kwnames,&_argo0,&_obj1))
3168 return NULL;
3169 if (_argo0) {
3170 if (_argo0 == Py_None) { _arg0 = NULL; }
3171 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3172 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsExposedRect. Expected _wxWindow_p.");
3173 return NULL;
3174 }
3175 }
3176{
3177 _arg1 = &temp;
3178 if (! wxRect_helper(_obj1, &_arg1))
3179 return NULL;
3180}
3181{
4268f798 3182 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3183 _result = (bool )wxWindow_IsExposedRect(_arg0,*_arg1);
1b55cabf 3184
4268f798 3185 wxPyEndAllowThreads(__tstate);
493f1553 3186 if (PyErr_Occurred()) return NULL;
1b55cabf
RD
3187} _resultobj = Py_BuildValue("i",_result);
3188 return _resultobj;
3189}
3190
8ab979d7 3191#define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
efc5f224 3192static PyObject *_wrap_wxWindow_IsRetained(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3193 PyObject * _resultobj;
3194 bool _result;
3195 wxWindow * _arg0;
1d99702e 3196 PyObject * _argo0 = 0;
efc5f224 3197 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3198
3199 self = self;
efc5f224 3200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_IsRetained",_kwnames,&_argo0))
8ab979d7 3201 return NULL;
1d99702e
RD
3202 if (_argo0) {
3203 if (_argo0 == Py_None) { _arg0 = NULL; }
3204 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3205 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
3206 return NULL;
3207 }
3208 }
cf694132 3209{
4268f798 3210 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3211 _result = (bool )wxWindow_IsRetained(_arg0);
cf694132 3212
4268f798 3213 wxPyEndAllowThreads(__tstate);
493f1553 3214 if (PyErr_Occurred()) return NULL;
cf694132 3215} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3216 return _resultobj;
3217}
3218
3219#define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
efc5f224 3220static PyObject *_wrap_wxWindow_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3221 PyObject * _resultobj;
3222 bool _result;
3223 wxWindow * _arg0;
1d99702e 3224 PyObject * _argo0 = 0;
efc5f224 3225 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3226
3227 self = self;
efc5f224 3228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_IsShown",_kwnames,&_argo0))
8ab979d7 3229 return NULL;
1d99702e
RD
3230 if (_argo0) {
3231 if (_argo0 == Py_None) { _arg0 = NULL; }
3232 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3233 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
3234 return NULL;
3235 }
3236 }
cf694132 3237{
4268f798 3238 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3239 _result = (bool )wxWindow_IsShown(_arg0);
cf694132 3240
4268f798 3241 wxPyEndAllowThreads(__tstate);
493f1553 3242 if (PyErr_Occurred()) return NULL;
cf694132 3243} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3244 return _resultobj;
3245}
3246
bb0054cd 3247#define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
efc5f224 3248static PyObject *_wrap_wxWindow_IsTopLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
3249 PyObject * _resultobj;
3250 bool _result;
3251 wxWindow * _arg0;
1d99702e 3252 PyObject * _argo0 = 0;
efc5f224 3253 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
3254
3255 self = self;
efc5f224 3256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_IsTopLevel",_kwnames,&_argo0))
bb0054cd 3257 return NULL;
1d99702e
RD
3258 if (_argo0) {
3259 if (_argo0 == Py_None) { _arg0 = NULL; }
3260 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
bb0054cd
RD
3261 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
3262 return NULL;
3263 }
3264 }
3265{
4268f798 3266 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3267 _result = (bool )wxWindow_IsTopLevel(_arg0);
bb0054cd 3268
4268f798 3269 wxPyEndAllowThreads(__tstate);
493f1553 3270 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
3271} _resultobj = Py_BuildValue("i",_result);
3272 return _resultobj;
3273}
3274
8ab979d7 3275#define wxWindow_Layout(_swigobj) (_swigobj->Layout())
efc5f224 3276static PyObject *_wrap_wxWindow_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3277 PyObject * _resultobj;
3278 wxWindow * _arg0;
1d99702e 3279 PyObject * _argo0 = 0;
efc5f224 3280 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3281
3282 self = self;
efc5f224 3283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Layout",_kwnames,&_argo0))
8ab979d7 3284 return NULL;
1d99702e
RD
3285 if (_argo0) {
3286 if (_argo0 == Py_None) { _arg0 = NULL; }
3287 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3288 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
3289 return NULL;
3290 }
3291 }
cf694132 3292{
4268f798 3293 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3294 wxWindow_Layout(_arg0);
cf694132 3295
4268f798 3296 wxPyEndAllowThreads(__tstate);
493f1553 3297 if (PyErr_Occurred()) return NULL;
cf694132 3298} Py_INCREF(Py_None);
8ab979d7
RD
3299 _resultobj = Py_None;
3300 return _resultobj;
3301}
3302
8ab979d7 3303#define wxWindow_Lower(_swigobj) (_swigobj->Lower())
efc5f224 3304static PyObject *_wrap_wxWindow_Lower(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3305 PyObject * _resultobj;
3306 wxWindow * _arg0;
1d99702e 3307 PyObject * _argo0 = 0;
efc5f224 3308 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3309
3310 self = self;
efc5f224 3311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Lower",_kwnames,&_argo0))
8ab979d7 3312 return NULL;
1d99702e
RD
3313 if (_argo0) {
3314 if (_argo0 == Py_None) { _arg0 = NULL; }
3315 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3316 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
3317 return NULL;
3318 }
3319 }
cf694132 3320{
4268f798 3321 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3322 wxWindow_Lower(_arg0);
cf694132 3323
4268f798 3324 wxPyEndAllowThreads(__tstate);
493f1553 3325 if (PyErr_Occurred()) return NULL;
cf694132 3326} Py_INCREF(Py_None);
8ab979d7
RD
3327 _resultobj = Py_None;
3328 return _resultobj;
3329}
3330
3331#define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
efc5f224 3332static PyObject *_wrap_wxWindow_MakeModal(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3333 PyObject * _resultobj;
3334 wxWindow * _arg0;
900d9886 3335 bool _arg1 = (bool ) TRUE;
1d99702e 3336 PyObject * _argo0 = 0;
900d9886 3337 int tempbool1 = (int) TRUE;
efc5f224 3338 char *_kwnames[] = { "self","flag", NULL };
8ab979d7
RD
3339
3340 self = self;
900d9886 3341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_MakeModal",_kwnames,&_argo0,&tempbool1))
8ab979d7 3342 return NULL;
1d99702e
RD
3343 if (_argo0) {
3344 if (_argo0 == Py_None) { _arg0 = NULL; }
3345 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3346 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
3347 return NULL;
3348 }
3349 }
3350 _arg1 = (bool ) tempbool1;
cf694132 3351{
4268f798 3352 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3353 wxWindow_MakeModal(_arg0,_arg1);
cf694132 3354
4268f798 3355 wxPyEndAllowThreads(__tstate);
493f1553 3356 if (PyErr_Occurred()) return NULL;
cf694132 3357} Py_INCREF(Py_None);
8ab979d7
RD
3358 _resultobj = Py_None;
3359 return _resultobj;
3360}
3361
23bed520 3362#define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Move(_swigarg0,_swigarg1,_swigarg2))
efc5f224 3363static PyObject *_wrap_wxWindow_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3364 PyObject * _resultobj;
3365 wxWindow * _arg0;
3366 int _arg1;
3367 int _arg2;
23bed520 3368 int _arg3 = (int ) wxSIZE_USE_EXISTING;
1d99702e 3369 PyObject * _argo0 = 0;
23bed520 3370 char *_kwnames[] = { "self","x","y","flags", NULL };
8ab979d7
RD
3371
3372 self = self;
23bed520 3373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxWindow_MoveXY",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
af309447 3374 return NULL;
1d99702e
RD
3375 if (_argo0) {
3376 if (_argo0 == Py_None) { _arg0 = NULL; }
3377 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
af309447
RD
3378 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
3379 return NULL;
3380 }
3381 }
cf694132 3382{
4268f798 3383 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3384 wxWindow_MoveXY(_arg0,_arg1,_arg2,_arg3);
cf694132 3385
4268f798 3386 wxPyEndAllowThreads(__tstate);
493f1553 3387 if (PyErr_Occurred()) return NULL;
cf694132 3388} Py_INCREF(Py_None);
af309447
RD
3389 _resultobj = Py_None;
3390 return _resultobj;
3391}
3392
23bed520 3393#define wxWindow_Move(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
efc5f224 3394static PyObject *_wrap_wxWindow_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
3395 PyObject * _resultobj;
3396 wxWindow * _arg0;
3397 wxPoint * _arg1;
23bed520 3398 int _arg2 = (int ) wxSIZE_USE_EXISTING;
1d99702e 3399 PyObject * _argo0 = 0;
2f90df85
RD
3400 wxPoint temp;
3401 PyObject * _obj1 = 0;
23bed520 3402 char *_kwnames[] = { "self","point","flags", NULL };
af309447
RD
3403
3404 self = self;
23bed520 3405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxWindow_Move",_kwnames,&_argo0,&_obj1,&_arg2))
8ab979d7 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")) {
8ab979d7
RD
3410 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
3411 return NULL;
3412 }
3413 }
2f90df85
RD
3414{
3415 _arg1 = &temp;
3416 if (! wxPoint_helper(_obj1, &_arg1))
af309447 3417 return NULL;
2f90df85 3418}
cf694132 3419{
4268f798 3420 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3421 wxWindow_Move(_arg0,*_arg1,_arg2);
cf694132 3422
4268f798 3423 wxPyEndAllowThreads(__tstate);
493f1553 3424 if (PyErr_Occurred()) return NULL;
cf694132 3425} Py_INCREF(Py_None);
8ab979d7
RD
3426 _resultobj = Py_None;
3427 return _resultobj;
3428}
3429
1afc06c2
RD
3430#define wxWindow_PopEventHandler(_swigobj,_swigarg0) (_swigobj->PopEventHandler(_swigarg0))
3431static PyObject *_wrap_wxWindow_PopEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
3432 PyObject * _resultobj;
3433 wxEvtHandler * _result;
3434 wxWindow * _arg0;
3435 bool _arg1 = (bool ) FALSE;
3436 PyObject * _argo0 = 0;
3437 int tempbool1 = (int) FALSE;
3438 char *_kwnames[] = { "self","deleteHandler", NULL };
1afc06c2
RD
3439
3440 self = self;
3441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_PopEventHandler",_kwnames,&_argo0,&tempbool1))
3442 return NULL;
3443 if (_argo0) {
3444 if (_argo0 == Py_None) { _arg0 = NULL; }
3445 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3446 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PopEventHandler. Expected _wxWindow_p.");
3447 return NULL;
3448 }
3449 }
3450 _arg1 = (bool ) tempbool1;
3451{
4268f798 3452 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3453 _result = (wxEvtHandler *)wxWindow_PopEventHandler(_arg0,_arg1);
1afc06c2 3454
4268f798 3455 wxPyEndAllowThreads(__tstate);
493f1553 3456 if (PyErr_Occurred()) return NULL;
9416aa89 3457}{ _resultobj = wxPyMake_wxObject(_result); }
1afc06c2
RD
3458 return _resultobj;
3459}
3460
3461#define wxWindow_PushEventHandler(_swigobj,_swigarg0) (_swigobj->PushEventHandler(_swigarg0))
3462static PyObject *_wrap_wxWindow_PushEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
3463 PyObject * _resultobj;
3464 wxWindow * _arg0;
3465 wxEvtHandler * _arg1;
3466 PyObject * _argo0 = 0;
3467 PyObject * _argo1 = 0;
3468 char *_kwnames[] = { "self","handler", NULL };
3469
3470 self = self;
3471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_PushEventHandler",_kwnames,&_argo0,&_argo1))
3472 return NULL;
3473 if (_argo0) {
3474 if (_argo0 == Py_None) { _arg0 = NULL; }
3475 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3476 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PushEventHandler. Expected _wxWindow_p.");
3477 return NULL;
3478 }
3479 }
3480 if (_argo1) {
3481 if (_argo1 == Py_None) { _arg1 = NULL; }
3482 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
3483 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_PushEventHandler. Expected _wxEvtHandler_p.");
3484 return NULL;
3485 }
3486 }
3487{
4268f798 3488 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3489 wxWindow_PushEventHandler(_arg0,_arg1);
1afc06c2 3490
4268f798 3491 wxPyEndAllowThreads(__tstate);
493f1553 3492 if (PyErr_Occurred()) return NULL;
1afc06c2
RD
3493} Py_INCREF(Py_None);
3494 _resultobj = Py_None;
3495 return _resultobj;
3496}
3497
c6c593e8
RD
3498#define wxWindow_RemoveEventHandler(_swigobj,_swigarg0) (_swigobj->RemoveEventHandler(_swigarg0))
3499static PyObject *_wrap_wxWindow_RemoveEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
3500 PyObject * _resultobj;
3501 bool _result;
3502 wxWindow * _arg0;
3503 wxEvtHandler * _arg1;
3504 PyObject * _argo0 = 0;
3505 PyObject * _argo1 = 0;
3506 char *_kwnames[] = { "self","handler", NULL };
3507
3508 self = self;
3509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_RemoveEventHandler",_kwnames,&_argo0,&_argo1))
3510 return NULL;
3511 if (_argo0) {
3512 if (_argo0 == Py_None) { _arg0 = NULL; }
3513 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3514 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_RemoveEventHandler. Expected _wxWindow_p.");
3515 return NULL;
3516 }
3517 }
3518 if (_argo1) {
3519 if (_argo1 == Py_None) { _arg1 = NULL; }
3520 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
3521 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_RemoveEventHandler. Expected _wxEvtHandler_p.");
3522 return NULL;
3523 }
3524 }
3525{
3526 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3527 _result = (bool )wxWindow_RemoveEventHandler(_arg0,_arg1);
c6c593e8
RD
3528
3529 wxPyEndAllowThreads(__tstate);
3530 if (PyErr_Occurred()) return NULL;
3531} _resultobj = Py_BuildValue("i",_result);
3532 return _resultobj;
3533}
3534
8bf5d46e 3535#define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
efc5f224 3536static PyObject *_wrap_wxWindow_PopupMenuXY(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3537 PyObject * _resultobj;
3538 bool _result;
3539 wxWindow * _arg0;
3540 wxMenu * _arg1;
3541 int _arg2;
3542 int _arg3;
1d99702e
RD
3543 PyObject * _argo0 = 0;
3544 PyObject * _argo1 = 0;
efc5f224 3545 char *_kwnames[] = { "self","menu","x","y", NULL };
8ab979d7
RD
3546
3547 self = self;
efc5f224 3548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxWindow_PopupMenuXY",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
8bf5d46e 3549 return NULL;
1d99702e
RD
3550 if (_argo0) {
3551 if (_argo0 == Py_None) { _arg0 = NULL; }
3552 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8bf5d46e
RD
3553 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
3554 return NULL;
3555 }
3556 }
1d99702e
RD
3557 if (_argo1) {
3558 if (_argo1 == Py_None) { _arg1 = NULL; }
3559 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
8bf5d46e
RD
3560 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
3561 return NULL;
3562 }
3563 }
3564{
4268f798 3565 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3566 _result = (bool )wxWindow_PopupMenuXY(_arg0,_arg1,_arg2,_arg3);
8bf5d46e 3567
4268f798 3568 wxPyEndAllowThreads(__tstate);
493f1553 3569 if (PyErr_Occurred()) return NULL;
8bf5d46e
RD
3570} _resultobj = Py_BuildValue("i",_result);
3571 return _resultobj;
3572}
3573
3574#define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
efc5f224 3575static PyObject *_wrap_wxWindow_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
8bf5d46e
RD
3576 PyObject * _resultobj;
3577 bool _result;
3578 wxWindow * _arg0;
3579 wxMenu * _arg1;
3580 wxPoint * _arg2;
1d99702e
RD
3581 PyObject * _argo0 = 0;
3582 PyObject * _argo1 = 0;
2f90df85
RD
3583 wxPoint temp;
3584 PyObject * _obj2 = 0;
efc5f224 3585 char *_kwnames[] = { "self","menu","pos", NULL };
8bf5d46e
RD
3586
3587 self = self;
2f90df85 3588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxWindow_PopupMenu",_kwnames,&_argo0,&_argo1,&_obj2))
8ab979d7 3589 return NULL;
1d99702e
RD
3590 if (_argo0) {
3591 if (_argo0 == Py_None) { _arg0 = NULL; }
3592 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3593 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
3594 return NULL;
3595 }
3596 }
1d99702e
RD
3597 if (_argo1) {
3598 if (_argo1 == Py_None) { _arg1 = NULL; }
3599 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
8ab979d7
RD
3600 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
3601 return NULL;
3602 }
3603 }
2f90df85
RD
3604{
3605 _arg2 = &temp;
3606 if (! wxPoint_helper(_obj2, &_arg2))
8bf5d46e 3607 return NULL;
2f90df85 3608}
cf694132 3609{
4268f798 3610 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3611 _result = (bool )wxWindow_PopupMenu(_arg0,_arg1,*_arg2);
cf694132 3612
4268f798 3613 wxPyEndAllowThreads(__tstate);
493f1553 3614 if (PyErr_Occurred()) return NULL;
cf694132 3615} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3616 return _resultobj;
3617}
3618
3619#define wxWindow_Raise(_swigobj) (_swigobj->Raise())
efc5f224 3620static PyObject *_wrap_wxWindow_Raise(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3621 PyObject * _resultobj;
3622 wxWindow * _arg0;
1d99702e 3623 PyObject * _argo0 = 0;
efc5f224 3624 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3625
3626 self = self;
efc5f224 3627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Raise",_kwnames,&_argo0))
8ab979d7 3628 return NULL;
1d99702e
RD
3629 if (_argo0) {
3630 if (_argo0 == Py_None) { _arg0 = NULL; }
3631 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3632 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
3633 return NULL;
3634 }
3635 }
cf694132 3636{
4268f798 3637 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3638 wxWindow_Raise(_arg0);
cf694132 3639
4268f798 3640 wxPyEndAllowThreads(__tstate);
493f1553 3641 if (PyErr_Occurred()) return NULL;
cf694132 3642} Py_INCREF(Py_None);
8ab979d7
RD
3643 _resultobj = Py_None;
3644 return _resultobj;
3645}
3646
3647#define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
efc5f224 3648static PyObject *_wrap_wxWindow_Refresh(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3649 PyObject * _resultobj;
3650 wxWindow * _arg0;
1d99702e
RD
3651 bool _arg1 = (bool ) TRUE;
3652 wxRect * _arg2 = (wxRect *) NULL;
3653 PyObject * _argo0 = 0;
3654 int tempbool1 = (int) TRUE;
2f90df85
RD
3655 wxRect temp;
3656 PyObject * _obj2 = 0;
efc5f224 3657 char *_kwnames[] = { "self","eraseBackground","rect", NULL };
8ab979d7
RD
3658
3659 self = self;
2f90df85 3660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iO:wxWindow_Refresh",_kwnames,&_argo0,&tempbool1,&_obj2))
8ab979d7 3661 return NULL;
1d99702e
RD
3662 if (_argo0) {
3663 if (_argo0 == Py_None) { _arg0 = NULL; }
3664 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3665 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
3666 return NULL;
3667 }
3668 }
3669 _arg1 = (bool ) tempbool1;
2f90df85
RD
3670 if (_obj2)
3671{
3672 _arg2 = &temp;
3673 if (! wxRect_helper(_obj2, &_arg2))
8ab979d7 3674 return NULL;
2f90df85 3675}
cf694132 3676{
4268f798 3677 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3678 wxWindow_Refresh(_arg0,_arg1,_arg2);
cf694132 3679
4268f798 3680 wxPyEndAllowThreads(__tstate);
493f1553 3681 if (PyErr_Occurred()) return NULL;
cf694132 3682} Py_INCREF(Py_None);
8ab979d7
RD
3683 _resultobj = Py_None;
3684 return _resultobj;
3685}
3686
09f3d4e6
RD
3687#define wxWindow_RefreshRect(_swigobj,_swigarg0) (_swigobj->RefreshRect(_swigarg0))
3688static PyObject *_wrap_wxWindow_RefreshRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3689 PyObject * _resultobj;
3690 wxWindow * _arg0;
3691 wxRect * _arg1;
3692 PyObject * _argo0 = 0;
3693 wxRect temp;
3694 PyObject * _obj1 = 0;
3695 char *_kwnames[] = { "self","rect", NULL };
3696
3697 self = self;
3698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_RefreshRect",_kwnames,&_argo0,&_obj1))
3699 return NULL;
3700 if (_argo0) {
3701 if (_argo0 == Py_None) { _arg0 = NULL; }
3702 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3703 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_RefreshRect. Expected _wxWindow_p.");
3704 return NULL;
3705 }
3706 }
3707{
3708 _arg1 = &temp;
3709 if (! wxRect_helper(_obj1, &_arg1))
3710 return NULL;
3711}
3712{
4268f798 3713 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3714 wxWindow_RefreshRect(_arg0,*_arg1);
09f3d4e6 3715
4268f798 3716 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
3717 if (PyErr_Occurred()) return NULL;
3718} Py_INCREF(Py_None);
3719 _resultobj = Py_None;
3720 return _resultobj;
3721}
3722
e67409dc
RD
3723#define wxWindow_AddChild(_swigobj,_swigarg0) (_swigobj->AddChild(_swigarg0))
3724static PyObject *_wrap_wxWindow_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
3725 PyObject * _resultobj;
3726 wxWindow * _arg0;
3727 wxWindow * _arg1;
3728 PyObject * _argo0 = 0;
3729 PyObject * _argo1 = 0;
3730 char *_kwnames[] = { "self","child", NULL };
3731
3732 self = self;
3733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_AddChild",_kwnames,&_argo0,&_argo1))
3734 return NULL;
3735 if (_argo0) {
3736 if (_argo0 == Py_None) { _arg0 = NULL; }
3737 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3738 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_AddChild. Expected _wxWindow_p.");
3739 return NULL;
3740 }
3741 }
3742 if (_argo1) {
3743 if (_argo1 == Py_None) { _arg1 = NULL; }
3744 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
3745 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_AddChild. Expected _wxWindow_p.");
3746 return NULL;
3747 }
3748 }
3749{
3750 PyThreadState* __tstate = wxPyBeginAllowThreads();
3751 wxWindow_AddChild(_arg0,_arg1);
3752
3753 wxPyEndAllowThreads(__tstate);
3754 if (PyErr_Occurred()) return NULL;
3755} Py_INCREF(Py_None);
3756 _resultobj = Py_None;
3757 return _resultobj;
3758}
3759
b7e72427
RD
3760#define wxWindow_RemoveChild(_swigobj,_swigarg0) (_swigobj->RemoveChild(_swigarg0))
3761static PyObject *_wrap_wxWindow_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
3762 PyObject * _resultobj;
3763 wxWindow * _arg0;
3764 wxWindow * _arg1;
3765 PyObject * _argo0 = 0;
3766 PyObject * _argo1 = 0;
3767 char *_kwnames[] = { "self","child", NULL };
3768
3769 self = self;
3770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_RemoveChild",_kwnames,&_argo0,&_argo1))
3771 return NULL;
3772 if (_argo0) {
3773 if (_argo0 == Py_None) { _arg0 = NULL; }
3774 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3775 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3776 return NULL;
3777 }
3778 }
3779 if (_argo1) {
3780 if (_argo1 == Py_None) { _arg1 = NULL; }
3781 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
3782 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3783 return NULL;
3784 }
3785 }
3786{
4268f798 3787 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3788 wxWindow_RemoveChild(_arg0,_arg1);
b7e72427 3789
4268f798 3790 wxPyEndAllowThreads(__tstate);
493f1553 3791 if (PyErr_Occurred()) return NULL;
b7e72427
RD
3792} Py_INCREF(Py_None);
3793 _resultobj = Py_None;
3794 return _resultobj;
3795}
3796
bb0054cd 3797#define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
efc5f224 3798static PyObject *_wrap_wxWindow_Reparent(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
3799 PyObject * _resultobj;
3800 bool _result;
3801 wxWindow * _arg0;
3802 wxWindow * _arg1;
1d99702e
RD
3803 PyObject * _argo0 = 0;
3804 PyObject * _argo1 = 0;
efc5f224 3805 char *_kwnames[] = { "self","newParent", NULL };
bb0054cd
RD
3806
3807 self = self;
efc5f224 3808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_Reparent",_kwnames,&_argo0,&_argo1))
bb0054cd 3809 return NULL;
1d99702e
RD
3810 if (_argo0) {
3811 if (_argo0 == Py_None) { _arg0 = NULL; }
3812 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
bb0054cd
RD
3813 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
3814 return NULL;
3815 }
3816 }
1d99702e
RD
3817 if (_argo1) {
3818 if (_argo1 == Py_None) { _arg1 = NULL; }
3819 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
bb0054cd
RD
3820 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
3821 return NULL;
3822 }
3823 }
3824{
4268f798 3825 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3826 _result = (bool )wxWindow_Reparent(_arg0,_arg1);
bb0054cd 3827
4268f798 3828 wxPyEndAllowThreads(__tstate);
493f1553 3829 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
3830} _resultobj = Py_BuildValue("i",_result);
3831 return _resultobj;
3832}
3833
af309447 3834#define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
efc5f224 3835static PyObject *_wrap_wxWindow_ScreenToClientXY(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3836 PyObject * _resultobj;
3837 wxWindow * _arg0;
3838 int * _arg1;
3839 int * _arg2;
1d99702e 3840 PyObject * _argo0 = 0;
8ab979d7
RD
3841 int temp;
3842 PyObject * _obj1 = 0;
3843 int temp0;
3844 PyObject * _obj2 = 0;
efc5f224 3845 char *_kwnames[] = { "self","x","y", NULL };
8ab979d7
RD
3846
3847 self = self;
efc5f224 3848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxWindow_ScreenToClientXY",_kwnames,&_argo0,&_obj1,&_obj2))
8ab979d7 3849 return NULL;
1d99702e
RD
3850 if (_argo0) {
3851 if (_argo0 == Py_None) { _arg0 = NULL; }
3852 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
af309447 3853 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
8ab979d7
RD
3854 return NULL;
3855 }
3856 }
3857{
3858 temp = (int) PyInt_AsLong(_obj1);
3859 _arg1 = &temp;
3860}
3861{
3862 temp0 = (int) PyInt_AsLong(_obj2);
3863 _arg2 = &temp0;
3864}
cf694132 3865{
4268f798 3866 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3867 wxWindow_ScreenToClientXY(_arg0,_arg1,_arg2);
cf694132 3868
4268f798 3869 wxPyEndAllowThreads(__tstate);
493f1553 3870 if (PyErr_Occurred()) return NULL;
cf694132 3871} Py_INCREF(Py_None);
8ab979d7
RD
3872 _resultobj = Py_None;
3873{
3874 PyObject *o;
3875 o = PyInt_FromLong((long) (*_arg1));
3876 _resultobj = t_output_helper(_resultobj, o);
3877}
3878{
3879 PyObject *o;
3880 o = PyInt_FromLong((long) (*_arg2));
3881 _resultobj = t_output_helper(_resultobj, o);
3882}
3883 return _resultobj;
3884}
3885
af309447 3886#define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
efc5f224 3887static PyObject *_wrap_wxWindow_ScreenToClient(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
3888 PyObject * _resultobj;
3889 wxPoint * _result;
3890 wxWindow * _arg0;
3891 wxPoint * _arg1;
1d99702e 3892 PyObject * _argo0 = 0;
2f90df85
RD
3893 wxPoint temp;
3894 PyObject * _obj1 = 0;
efc5f224 3895 char *_kwnames[] = { "self","pt", NULL };
af309447
RD
3896 char _ptemp[128];
3897
3898 self = self;
2f90df85 3899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ScreenToClient",_kwnames,&_argo0,&_obj1))
af309447 3900 return NULL;
1d99702e
RD
3901 if (_argo0) {
3902 if (_argo0 == Py_None) { _arg0 = NULL; }
3903 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
af309447
RD
3904 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
3905 return NULL;
3906 }
3907 }
2f90df85
RD
3908{
3909 _arg1 = &temp;
3910 if (! wxPoint_helper(_obj1, &_arg1))
af309447 3911 return NULL;
2f90df85 3912}
cf694132 3913{
4268f798 3914 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3915 _result = new wxPoint (wxWindow_ScreenToClient(_arg0,*_arg1));
cf694132 3916
4268f798 3917 wxPyEndAllowThreads(__tstate);
493f1553 3918 if (PyErr_Occurred()) return NULL;
cf694132 3919} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
af309447
RD
3920 _resultobj = Py_BuildValue("s",_ptemp);
3921 return _resultobj;
3922}
3923
8ab979d7 3924#define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
efc5f224 3925static PyObject *_wrap_wxWindow_ScrollWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3926 PyObject * _resultobj;
3927 wxWindow * _arg0;
3928 int _arg1;
3929 int _arg2;
1d99702e
RD
3930 wxRect * _arg3 = (wxRect *) NULL;
3931 PyObject * _argo0 = 0;
2f90df85
RD
3932 wxRect temp;
3933 PyObject * _obj3 = 0;
efc5f224 3934 char *_kwnames[] = { "self","dx","dy","rect", NULL };
8ab979d7
RD
3935
3936 self = self;
2f90df85 3937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|O:wxWindow_ScrollWindow",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
8ab979d7 3938 return NULL;
1d99702e
RD
3939 if (_argo0) {
3940 if (_argo0 == Py_None) { _arg0 = NULL; }
3941 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3942 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
3943 return NULL;
3944 }
3945 }
2f90df85
RD
3946 if (_obj3)
3947{
3948 _arg3 = &temp;
3949 if (! wxRect_helper(_obj3, &_arg3))
8ab979d7 3950 return NULL;
2f90df85 3951}
cf694132 3952{
4268f798 3953 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3954 wxWindow_ScrollWindow(_arg0,_arg1,_arg2,_arg3);
cf694132 3955
4268f798 3956 wxPyEndAllowThreads(__tstate);
493f1553 3957 if (PyErr_Occurred()) return NULL;
cf694132 3958} Py_INCREF(Py_None);
8ab979d7
RD
3959 _resultobj = Py_None;
3960 return _resultobj;
3961}
3962
3963#define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
efc5f224 3964static PyObject *_wrap_wxWindow_SetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3965 PyObject * _resultobj;
3966 wxWindow * _arg0;
3967 bool _arg1;
1d99702e 3968 PyObject * _argo0 = 0;
8ab979d7 3969 int tempbool1;
efc5f224 3970 char *_kwnames[] = { "self","autoLayout", NULL };
8ab979d7
RD
3971
3972 self = self;
efc5f224 3973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_SetAutoLayout",_kwnames,&_argo0,&tempbool1))
8ab979d7 3974 return NULL;
1d99702e
RD
3975 if (_argo0) {
3976 if (_argo0 == Py_None) { _arg0 = NULL; }
3977 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3978 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
3979 return NULL;
3980 }
3981 }
3982 _arg1 = (bool ) tempbool1;
cf694132 3983{
4268f798 3984 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3985 wxWindow_SetAutoLayout(_arg0,_arg1);
cf694132 3986
4268f798 3987 wxPyEndAllowThreads(__tstate);
493f1553 3988 if (PyErr_Occurred()) return NULL;
cf694132 3989} Py_INCREF(Py_None);
8ab979d7
RD
3990 _resultobj = Py_None;
3991 return _resultobj;
3992}
3993
9d8bd15f
RD
3994#define wxWindow_GetAutoLayout(_swigobj) (_swigobj->GetAutoLayout())
3995static PyObject *_wrap_wxWindow_GetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
3996 PyObject * _resultobj;
3997 bool _result;
3998 wxWindow * _arg0;
3999 PyObject * _argo0 = 0;
4000 char *_kwnames[] = { "self", NULL };
4001
4002 self = self;
4003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetAutoLayout",_kwnames,&_argo0))
4004 return NULL;
4005 if (_argo0) {
4006 if (_argo0 == Py_None) { _arg0 = NULL; }
4007 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4008 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetAutoLayout. Expected _wxWindow_p.");
4009 return NULL;
4010 }
4011 }
4012{
4268f798 4013 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4014 _result = (bool )wxWindow_GetAutoLayout(_arg0);
9d8bd15f 4015
4268f798 4016 wxPyEndAllowThreads(__tstate);
493f1553 4017 if (PyErr_Occurred()) return NULL;
9d8bd15f
RD
4018} _resultobj = Py_BuildValue("i",_result);
4019 return _resultobj;
4020}
4021
8ab979d7 4022#define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
efc5f224 4023static PyObject *_wrap_wxWindow_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4024 PyObject * _resultobj;
4025 wxWindow * _arg0;
4026 wxColour * _arg1;
1d99702e 4027 PyObject * _argo0 = 0;
f6bcfd97
BP
4028 wxColour temp;
4029 PyObject * _obj1 = 0;
efc5f224 4030 char *_kwnames[] = { "self","colour", NULL };
8ab979d7
RD
4031
4032 self = self;
f6bcfd97 4033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
8ab979d7 4034 return NULL;
1d99702e
RD
4035 if (_argo0) {
4036 if (_argo0 == Py_None) { _arg0 = NULL; }
4037 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4038 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
4039 return NULL;
4040 }
4041 }
f6bcfd97
BP
4042{
4043 _arg1 = &temp;
4044 if (! wxColour_helper(_obj1, &_arg1))
8ab979d7 4045 return NULL;
f6bcfd97 4046}
cf694132 4047{
4268f798 4048 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4049 wxWindow_SetBackgroundColour(_arg0,*_arg1);
cf694132 4050
4268f798 4051 wxPyEndAllowThreads(__tstate);
493f1553 4052 if (PyErr_Occurred()) return NULL;
cf694132 4053} Py_INCREF(Py_None);
8ab979d7
RD
4054 _resultobj = Py_None;
4055 return _resultobj;
4056}
4057
4058#define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
efc5f224 4059static PyObject *_wrap_wxWindow_SetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4060 PyObject * _resultobj;
4061 wxWindow * _arg0;
4062 wxLayoutConstraints * _arg1;
1d99702e
RD
4063 PyObject * _argo0 = 0;
4064 PyObject * _argo1 = 0;
efc5f224 4065 char *_kwnames[] = { "self","constraints", NULL };
8ab979d7
RD
4066
4067 self = self;
efc5f224 4068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetConstraints",_kwnames,&_argo0,&_argo1))
8ab979d7 4069 return NULL;
1d99702e
RD
4070 if (_argo0) {
4071 if (_argo0 == Py_None) { _arg0 = NULL; }
4072 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4073 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
4074 return NULL;
4075 }
4076 }
1d99702e
RD
4077 if (_argo1) {
4078 if (_argo1 == Py_None) { _arg1 = NULL; }
4079 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxLayoutConstraints_p")) {
8ab979d7
RD
4080 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
4081 return NULL;
4082 }
4083 }
cf694132 4084{
4268f798 4085 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4086 wxWindow_SetConstraints(_arg0,_arg1);
cf694132 4087
4268f798 4088 wxPyEndAllowThreads(__tstate);
493f1553 4089 if (PyErr_Occurred()) return NULL;
cf694132 4090} Py_INCREF(Py_None);
8ab979d7
RD
4091 _resultobj = Py_None;
4092 return _resultobj;
4093}
4094
2f90df85
RD
4095#define wxWindow_UnsetConstraints(_swigobj,_swigarg0) (_swigobj->UnsetConstraints(_swigarg0))
4096static PyObject *_wrap_wxWindow_UnsetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
4097 PyObject * _resultobj;
4098 wxWindow * _arg0;
4099 wxLayoutConstraints * _arg1;
4100 PyObject * _argo0 = 0;
4101 PyObject * _argo1 = 0;
4102 char *_kwnames[] = { "self","constraints", NULL };
4103
4104 self = self;
4105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_UnsetConstraints",_kwnames,&_argo0,&_argo1))
4106 return NULL;
4107 if (_argo0) {
4108 if (_argo0 == Py_None) { _arg0 = NULL; }
4109 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4110 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_UnsetConstraints. Expected _wxWindow_p.");
4111 return NULL;
4112 }
4113 }
4114 if (_argo1) {
4115 if (_argo1 == Py_None) { _arg1 = NULL; }
4116 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxLayoutConstraints_p")) {
4117 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_UnsetConstraints. Expected _wxLayoutConstraints_p.");
4118 return NULL;
4119 }
4120 }
4121{
4268f798 4122 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4123 wxWindow_UnsetConstraints(_arg0,_arg1);
2f90df85 4124
4268f798 4125 wxPyEndAllowThreads(__tstate);
493f1553 4126 if (PyErr_Occurred()) return NULL;
2f90df85
RD
4127} Py_INCREF(Py_None);
4128 _resultobj = Py_None;
4129 return _resultobj;
4130}
4131
8ab979d7 4132#define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
efc5f224 4133static PyObject *_wrap_wxWindow_SetFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4134 PyObject * _resultobj;
4135 wxWindow * _arg0;
1d99702e 4136 PyObject * _argo0 = 0;
efc5f224 4137 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4138
4139 self = self;
efc5f224 4140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_SetFocus",_kwnames,&_argo0))
8ab979d7 4141 return NULL;
1d99702e
RD
4142 if (_argo0) {
4143 if (_argo0 == Py_None) { _arg0 = NULL; }
4144 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4145 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
4146 return NULL;
4147 }
4148 }
cf694132 4149{
4268f798 4150 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4151 wxWindow_SetFocus(_arg0);
cf694132 4152
4268f798 4153 wxPyEndAllowThreads(__tstate);
493f1553 4154 if (PyErr_Occurred()) return NULL;
cf694132 4155} Py_INCREF(Py_None);
8ab979d7
RD
4156 _resultobj = Py_None;
4157 return _resultobj;
4158}
4159
2a74d141
RD
4160#define wxWindow_SetFocusFromKbd(_swigobj) (_swigobj->SetFocusFromKbd())
4161static PyObject *_wrap_wxWindow_SetFocusFromKbd(PyObject *self, PyObject *args, PyObject *kwargs) {
4162 PyObject * _resultobj;
4163 wxWindow * _arg0;
4164 PyObject * _argo0 = 0;
4165 char *_kwnames[] = { "self", NULL };
4166
4167 self = self;
4168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_SetFocusFromKbd",_kwnames,&_argo0))
4169 return NULL;
4170 if (_argo0) {
4171 if (_argo0 == Py_None) { _arg0 = NULL; }
4172 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4173 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetFocusFromKbd. Expected _wxWindow_p.");
4174 return NULL;
4175 }
4176 }
4177{
4178 PyThreadState* __tstate = wxPyBeginAllowThreads();
4179 wxWindow_SetFocusFromKbd(_arg0);
4180
4181 wxPyEndAllowThreads(__tstate);
4182 if (PyErr_Occurred()) return NULL;
4183} Py_INCREF(Py_None);
4184 _resultobj = Py_None;
4185 return _resultobj;
4186}
4187
2f90df85
RD
4188#define wxWindow_AcceptsFocus(_swigobj) (_swigobj->AcceptsFocus())
4189static PyObject *_wrap_wxWindow_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
4190 PyObject * _resultobj;
4191 bool _result;
4192 wxWindow * _arg0;
4193 PyObject * _argo0 = 0;
4194 char *_kwnames[] = { "self", NULL };
4195
4196 self = self;
4197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_AcceptsFocus",_kwnames,&_argo0))
4198 return NULL;
4199 if (_argo0) {
4200 if (_argo0 == Py_None) { _arg0 = NULL; }
4201 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4202 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_AcceptsFocus. Expected _wxWindow_p.");
4203 return NULL;
4204 }
4205 }
4206{
4268f798 4207 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4208 _result = (bool )wxWindow_AcceptsFocus(_arg0);
2f90df85 4209
4268f798 4210 wxPyEndAllowThreads(__tstate);
493f1553 4211 if (PyErr_Occurred()) return NULL;
2f90df85
RD
4212} _resultobj = Py_BuildValue("i",_result);
4213 return _resultobj;
4214}
4215
8ab979d7 4216#define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
efc5f224 4217static PyObject *_wrap_wxWindow_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4218 PyObject * _resultobj;
4219 wxWindow * _arg0;
4220 wxFont * _arg1;
1d99702e
RD
4221 PyObject * _argo0 = 0;
4222 PyObject * _argo1 = 0;
efc5f224 4223 char *_kwnames[] = { "self","font", NULL };
8ab979d7
RD
4224
4225 self = self;
efc5f224 4226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetFont",_kwnames,&_argo0,&_argo1))
8ab979d7 4227 return NULL;
1d99702e
RD
4228 if (_argo0) {
4229 if (_argo0 == Py_None) { _arg0 = NULL; }
4230 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4231 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
4232 return NULL;
4233 }
4234 }
1d99702e 4235 if (_argo1) {
7e50db3f 4236 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
8ab979d7
RD
4237 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
4238 return NULL;
4239 }
4240 }
cf694132 4241{
4268f798 4242 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4243 wxWindow_SetFont(_arg0,*_arg1);
cf694132 4244
4268f798 4245 wxPyEndAllowThreads(__tstate);
493f1553 4246 if (PyErr_Occurred()) return NULL;
cf694132 4247} Py_INCREF(Py_None);
8ab979d7
RD
4248 _resultobj = Py_None;
4249 return _resultobj;
4250}
4251
4252#define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
efc5f224 4253static PyObject *_wrap_wxWindow_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4254 PyObject * _resultobj;
4255 wxWindow * _arg0;
4256 wxColour * _arg1;
1d99702e 4257 PyObject * _argo0 = 0;
f6bcfd97
BP
4258 wxColour temp;
4259 PyObject * _obj1 = 0;
efc5f224 4260 char *_kwnames[] = { "self","colour", NULL };
8ab979d7
RD
4261
4262 self = self;
f6bcfd97 4263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetForegroundColour",_kwnames,&_argo0,&_obj1))
8ab979d7 4264 return NULL;
1d99702e
RD
4265 if (_argo0) {
4266 if (_argo0 == Py_None) { _arg0 = NULL; }
4267 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4268 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
4269 return NULL;
4270 }
4271 }
f6bcfd97
BP
4272{
4273 _arg1 = &temp;
4274 if (! wxColour_helper(_obj1, &_arg1))
8ab979d7 4275 return NULL;
f6bcfd97 4276}
cf694132 4277{
4268f798 4278 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4279 wxWindow_SetForegroundColour(_arg0,*_arg1);
cf694132 4280
4268f798 4281 wxPyEndAllowThreads(__tstate);
493f1553 4282 if (PyErr_Occurred()) return NULL;
cf694132 4283} Py_INCREF(Py_None);
8ab979d7
RD
4284 _resultobj = Py_None;
4285 return _resultobj;
4286}
4287
4288#define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
efc5f224 4289static PyObject *_wrap_wxWindow_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4290 PyObject * _resultobj;
4291 wxWindow * _arg0;
4292 int _arg1;
1d99702e 4293 PyObject * _argo0 = 0;
efc5f224 4294 char *_kwnames[] = { "self","id", NULL };
8ab979d7
RD
4295
4296 self = self;
efc5f224 4297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_SetId",_kwnames,&_argo0,&_arg1))
8ab979d7 4298 return NULL;
1d99702e
RD
4299 if (_argo0) {
4300 if (_argo0 == Py_None) { _arg0 = NULL; }
4301 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4302 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
4303 return NULL;
4304 }
4305 }
cf694132 4306{
4268f798 4307 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4308 wxWindow_SetId(_arg0,_arg1);
cf694132 4309
4268f798 4310 wxPyEndAllowThreads(__tstate);
493f1553 4311 if (PyErr_Occurred()) return NULL;
cf694132 4312} Py_INCREF(Py_None);
8ab979d7
RD
4313 _resultobj = Py_None;
4314 return _resultobj;
4315}
4316
4317#define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
efc5f224 4318static PyObject *_wrap_wxWindow_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4319 PyObject * _resultobj;
4320 wxWindow * _arg0;
4321 wxString * _arg1;
1d99702e 4322 PyObject * _argo0 = 0;
8ab979d7 4323 PyObject * _obj1 = 0;
efc5f224 4324 char *_kwnames[] = { "self","name", NULL };
8ab979d7
RD
4325
4326 self = self;
efc5f224 4327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetName",_kwnames,&_argo0,&_obj1))
8ab979d7 4328 return NULL;
1d99702e
RD
4329 if (_argo0) {
4330 if (_argo0 == Py_None) { _arg0 = NULL; }
4331 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4332 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
4333 return NULL;
4334 }
4335 }
4336{
c8bc7bb8
RD
4337 _arg1 = wxString_in_helper(_obj1);
4338 if (_arg1 == NULL)
185d7c3e 4339 return NULL;
8ab979d7 4340}
cf694132 4341{
4268f798 4342 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4343 wxWindow_SetName(_arg0,*_arg1);
cf694132 4344
4268f798 4345 wxPyEndAllowThreads(__tstate);
493f1553 4346 if (PyErr_Occurred()) return NULL;
cf694132 4347} Py_INCREF(Py_None);
8ab979d7
RD
4348 _resultobj = Py_None;
4349{
4350 if (_obj1)
4351 delete _arg1;
4352}
4353 return _resultobj;
4354}
4355
8ab979d7 4356#define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
efc5f224 4357static PyObject *_wrap_wxWindow_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4358 PyObject * _resultobj;
4359 wxWindow * _arg0;
4360 int _arg1;
4361 int _arg2;
4362 int _arg3;
4363 int _arg4;
eb715945 4364 int _arg5 = (int ) TRUE;
1d99702e 4365 PyObject * _argo0 = 0;
efc5f224 4366 char *_kwnames[] = { "self","orientation","position","thumbSize","range","refresh", NULL };
8ab979d7
RD
4367
4368 self = self;
eb715945 4369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxWindow_SetScrollbar",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5))
8ab979d7 4370 return NULL;
1d99702e
RD
4371 if (_argo0) {
4372 if (_argo0 == Py_None) { _arg0 = NULL; }
4373 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4374 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
4375 return NULL;
4376 }
4377 }
cf694132 4378{
4268f798 4379 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4380 wxWindow_SetScrollbar(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
cf694132 4381
4268f798 4382 wxPyEndAllowThreads(__tstate);
493f1553 4383 if (PyErr_Occurred()) return NULL;
cf694132 4384} Py_INCREF(Py_None);
8ab979d7
RD
4385 _resultobj = Py_None;
4386 return _resultobj;
4387}
4388
4389#define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
efc5f224 4390static PyObject *_wrap_wxWindow_SetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4391 PyObject * _resultobj;
4392 wxWindow * _arg0;
4393 int _arg1;
4394 int _arg2;
1d99702e
RD
4395 bool _arg3 = (bool ) TRUE;
4396 PyObject * _argo0 = 0;
4397 int tempbool3 = (int) TRUE;
efc5f224 4398 char *_kwnames[] = { "self","orientation","pos","refresh", NULL };
8ab979d7
RD
4399
4400 self = self;
efc5f224 4401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxWindow_SetScrollPos",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
8ab979d7 4402 return NULL;
1d99702e
RD
4403 if (_argo0) {
4404 if (_argo0 == Py_None) { _arg0 = NULL; }
4405 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4406 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
4407 return NULL;
4408 }
4409 }
4410 _arg3 = (bool ) tempbool3;
cf694132 4411{
4268f798 4412 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4413 wxWindow_SetScrollPos(_arg0,_arg1,_arg2,_arg3);
cf694132 4414
4268f798 4415 wxPyEndAllowThreads(__tstate);
493f1553 4416 if (PyErr_Occurred()) return NULL;
cf694132 4417} Py_INCREF(Py_None);
8ab979d7
RD
4418 _resultobj = Py_None;
4419 return _resultobj;
4420}
4421
4422#define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
efc5f224 4423static PyObject *_wrap_wxWindow_SetDimensions(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4424 PyObject * _resultobj;
4425 wxWindow * _arg0;
4426 int _arg1;
4427 int _arg2;
4428 int _arg3;
4429 int _arg4;
1d99702e
RD
4430 int _arg5 = (int ) wxSIZE_AUTO;
4431 PyObject * _argo0 = 0;
efc5f224 4432 char *_kwnames[] = { "self","x","y","width","height","sizeFlags", NULL };
8ab979d7
RD
4433
4434 self = self;
efc5f224 4435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxWindow_SetDimensions",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5))
8ab979d7 4436 return NULL;
1d99702e
RD
4437 if (_argo0) {
4438 if (_argo0 == Py_None) { _arg0 = NULL; }
4439 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4440 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
4441 return NULL;
4442 }
4443 }
cf694132 4444{
4268f798 4445 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4446 wxWindow_SetDimensions(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
cf694132 4447
4268f798 4448 wxPyEndAllowThreads(__tstate);
493f1553 4449 if (PyErr_Occurred()) return NULL;
cf694132 4450} Py_INCREF(Py_None);
8ab979d7
RD
4451 _resultobj = Py_None;
4452 return _resultobj;
4453}
4454
4455static void wxWindow_SetSize(wxWindow *self,const wxSize & size) {
a1df7a95 4456 self->SetSize(size);
8ab979d7 4457 }
efc5f224 4458static PyObject *_wrap_wxWindow_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4459 PyObject * _resultobj;
4460 wxWindow * _arg0;
4461 wxSize * _arg1;
1d99702e 4462 PyObject * _argo0 = 0;
2f90df85
RD
4463 wxSize temp;
4464 PyObject * _obj1 = 0;
efc5f224 4465 char *_kwnames[] = { "self","size", NULL };
8ab979d7
RD
4466
4467 self = self;
2f90df85 4468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetSize",_kwnames,&_argo0,&_obj1))
8ab979d7 4469 return NULL;
1d99702e
RD
4470 if (_argo0) {
4471 if (_argo0 == Py_None) { _arg0 = NULL; }
4472 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4473 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
4474 return NULL;
4475 }
4476 }
2f90df85
RD
4477{
4478 _arg1 = &temp;
4479 if (! wxSize_helper(_obj1, &_arg1))
8ab979d7 4480 return NULL;
2f90df85 4481}
cf694132 4482{
4268f798 4483 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4484 wxWindow_SetSize(_arg0,*_arg1);
cf694132 4485
4268f798 4486 wxPyEndAllowThreads(__tstate);
493f1553 4487 if (PyErr_Occurred()) return NULL;
cf694132 4488} Py_INCREF(Py_None);
8ab979d7
RD
4489 _resultobj = Py_None;
4490 return _resultobj;
4491}
4492
23bed520
RD
4493static void wxWindow_SetPosition(wxWindow *self,const wxPoint & pos,int flags) {
4494 self->Move(pos, flags);
8ab979d7 4495 }
efc5f224 4496static PyObject *_wrap_wxWindow_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4497 PyObject * _resultobj;
4498 wxWindow * _arg0;
4499 wxPoint * _arg1;
23bed520 4500 int _arg2 = (int ) wxSIZE_USE_EXISTING;
1d99702e 4501 PyObject * _argo0 = 0;
2f90df85
RD
4502 wxPoint temp;
4503 PyObject * _obj1 = 0;
23bed520 4504 char *_kwnames[] = { "self","pos","flags", NULL };
8ab979d7
RD
4505
4506 self = self;
23bed520 4507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxWindow_SetPosition",_kwnames,&_argo0,&_obj1,&_arg2))
8ab979d7 4508 return NULL;
1d99702e
RD
4509 if (_argo0) {
4510 if (_argo0 == Py_None) { _arg0 = NULL; }
4511 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4512 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
4513 return NULL;
4514 }
4515 }
2f90df85
RD
4516{
4517 _arg1 = &temp;
4518 if (! wxPoint_helper(_obj1, &_arg1))
8ab979d7 4519 return NULL;
2f90df85 4520}
cf694132 4521{
4268f798 4522 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4523 wxWindow_SetPosition(_arg0,*_arg1,_arg2);
cf694132 4524
4268f798 4525 wxPyEndAllowThreads(__tstate);
493f1553 4526 if (PyErr_Occurred()) return NULL;
cf694132 4527} Py_INCREF(Py_None);
8ab979d7
RD
4528 _resultobj = Py_None;
4529 return _resultobj;
4530}
4531
dbbb98cd
RD
4532static void wxWindow_SetRect(wxWindow *self,const wxRect & rect,int sizeFlags) {
4533 self->SetSize(rect, sizeFlags);
4534 }
4535static PyObject *_wrap_wxWindow_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
4536 PyObject * _resultobj;
4537 wxWindow * _arg0;
4538 wxRect * _arg1;
4539 int _arg2 = (int ) wxSIZE_AUTO;
4540 PyObject * _argo0 = 0;
4541 wxRect temp;
4542 PyObject * _obj1 = 0;
4543 char *_kwnames[] = { "self","rect","sizeFlags", NULL };
4544
4545 self = self;
4546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxWindow_SetRect",_kwnames,&_argo0,&_obj1,&_arg2))
4547 return NULL;
4548 if (_argo0) {
4549 if (_argo0 == Py_None) { _arg0 = NULL; }
4550 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4551 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetRect. Expected _wxWindow_p.");
4552 return NULL;
4553 }
4554 }
4555{
4556 _arg1 = &temp;
4557 if (! wxRect_helper(_obj1, &_arg1))
4558 return NULL;
4559}
4560{
4268f798 4561 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4562 wxWindow_SetRect(_arg0,*_arg1,_arg2);
dbbb98cd 4563
4268f798 4564 wxPyEndAllowThreads(__tstate);
493f1553 4565 if (PyErr_Occurred()) return NULL;
dbbb98cd
RD
4566} Py_INCREF(Py_None);
4567 _resultobj = Py_None;
4568 return _resultobj;
4569}
4570
8ab979d7 4571#define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
efc5f224 4572static PyObject *_wrap_wxWindow_SetSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4573 PyObject * _resultobj;
4574 wxWindow * _arg0;
2a74d141
RD
4575 int _arg1;
4576 int _arg2;
1d99702e
RD
4577 int _arg3 = (int ) -1;
4578 int _arg4 = (int ) -1;
4579 int _arg5 = (int ) -1;
4580 int _arg6 = (int ) -1;
4581 PyObject * _argo0 = 0;
efc5f224 4582 char *_kwnames[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL };
8ab979d7
RD
4583
4584 self = self;
2a74d141 4585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|iiii:wxWindow_SetSizeHints",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6))
8ab979d7 4586 return NULL;
1d99702e
RD
4587 if (_argo0) {
4588 if (_argo0 == Py_None) { _arg0 = NULL; }
4589 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4590 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
4591 return NULL;
4592 }
4593 }
cf694132 4594{
4268f798 4595 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4596 wxWindow_SetSizeHints(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
cf694132 4597
4268f798 4598 wxPyEndAllowThreads(__tstate);
493f1553 4599 if (PyErr_Occurred()) return NULL;
cf694132 4600} Py_INCREF(Py_None);
8ab979d7
RD
4601 _resultobj = Py_None;
4602 return _resultobj;
4603}
4604
2a74d141
RD
4605#define wxWindow_SetVirtualSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetVirtualSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4606static PyObject *_wrap_wxWindow_SetVirtualSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
4607 PyObject * _resultobj;
4608 wxWindow * _arg0;
4609 int _arg1;
4610 int _arg2;
4611 int _arg3 = (int ) -1;
4612 int _arg4 = (int ) -1;
4613 PyObject * _argo0 = 0;
4614 char *_kwnames[] = { "self","minW","minH","maxW","maxH", NULL };
4615
4616 self = self;
4617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|ii:wxWindow_SetVirtualSizeHints",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
4618 return NULL;
4619 if (_argo0) {
4620 if (_argo0 == Py_None) { _arg0 = NULL; }
4621 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4622 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetVirtualSizeHints. Expected _wxWindow_p.");
4623 return NULL;
4624 }
4625 }
4626{
4627 PyThreadState* __tstate = wxPyBeginAllowThreads();
4628 wxWindow_SetVirtualSizeHints(_arg0,_arg1,_arg2,_arg3,_arg4);
4629
4630 wxPyEndAllowThreads(__tstate);
4631 if (PyErr_Occurred()) return NULL;
4632} Py_INCREF(Py_None);
4633 _resultobj = Py_None;
4634 return _resultobj;
4635}
4636
4637#define wxWindow_SetVirtualSize(_swigobj,_swigarg0) (_swigobj->SetVirtualSize(_swigarg0))
4638static PyObject *_wrap_wxWindow_SetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4639 PyObject * _resultobj;
4640 wxWindow * _arg0;
4641 wxSize * _arg1;
4642 PyObject * _argo0 = 0;
4643 wxSize temp;
4644 PyObject * _obj1 = 0;
4645 char *_kwnames[] = { "self","size", NULL };
4646
4647 self = self;
4648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetVirtualSize",_kwnames,&_argo0,&_obj1))
4649 return NULL;
4650 if (_argo0) {
4651 if (_argo0 == Py_None) { _arg0 = NULL; }
4652 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4653 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetVirtualSize. Expected _wxWindow_p.");
4654 return NULL;
4655 }
4656 }
4657{
4658 _arg1 = &temp;
4659 if (! wxSize_helper(_obj1, &_arg1))
4660 return NULL;
4661}
4662{
4663 PyThreadState* __tstate = wxPyBeginAllowThreads();
4664 wxWindow_SetVirtualSize(_arg0,*_arg1);
4665
4666 wxPyEndAllowThreads(__tstate);
4667 if (PyErr_Occurred()) return NULL;
4668} Py_INCREF(Py_None);
4669 _resultobj = Py_None;
4670 return _resultobj;
4671}
4672
4673#define wxWindow_SetVirtualSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetVirtualSize(_swigarg0,_swigarg1))
4674static PyObject *_wrap_wxWindow_SetVirtualSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
4675 PyObject * _resultobj;
4676 wxWindow * _arg0;
4677 int _arg1;
4678 int _arg2;
4679 PyObject * _argo0 = 0;
4680 char *_kwnames[] = { "self","x","y", NULL };
4681
4682 self = self;
4683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxWindow_SetVirtualSizeWH",_kwnames,&_argo0,&_arg1,&_arg2))
4684 return NULL;
4685 if (_argo0) {
4686 if (_argo0 == Py_None) { _arg0 = NULL; }
4687 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4688 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetVirtualSizeWH. Expected _wxWindow_p.");
4689 return NULL;
4690 }
4691 }
4692{
4693 PyThreadState* __tstate = wxPyBeginAllowThreads();
4694 wxWindow_SetVirtualSizeWH(_arg0,_arg1,_arg2);
4695
4696 wxPyEndAllowThreads(__tstate);
4697 if (PyErr_Occurred()) return NULL;
4698} Py_INCREF(Py_None);
4699 _resultobj = Py_None;
4700 return _resultobj;
4701}
4702
4703#define wxWindow_GetVirtualSize(_swigobj) (_swigobj->GetVirtualSize())
4704static PyObject *_wrap_wxWindow_GetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4705 PyObject * _resultobj;
4706 wxSize * _result;
4707 wxWindow * _arg0;
4708 PyObject * _argo0 = 0;
4709 char *_kwnames[] = { "self", NULL };
4710 char _ptemp[128];
4711
4712 self = self;
4713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetVirtualSize",_kwnames,&_argo0))
4714 return NULL;
4715 if (_argo0) {
4716 if (_argo0 == Py_None) { _arg0 = NULL; }
4717 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4718 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetVirtualSize. Expected _wxWindow_p.");
4719 return NULL;
4720 }
4721 }
4722{
4723 PyThreadState* __tstate = wxPyBeginAllowThreads();
4724 _result = new wxSize (wxWindow_GetVirtualSize(_arg0));
4725
4726 wxPyEndAllowThreads(__tstate);
4727 if (PyErr_Occurred()) return NULL;
4728} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
4729 _resultobj = Py_BuildValue("s",_ptemp);
4730 return _resultobj;
4731}
4732
4733#define wxWindow_GetVirtualSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
4734static PyObject *_wrap_wxWindow_GetVirtualSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4735 PyObject * _resultobj;
4736 wxWindow * _arg0;
4737 int * _arg1;
4738 int temp;
4739 int * _arg2;
4740 int temp0;
4741 PyObject * _argo0 = 0;
4742 char *_kwnames[] = { "self", NULL };
4743
4744 self = self;
4745{
4746 _arg1 = &temp;
4747}
4748{
4749 _arg2 = &temp0;
4750}
4751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetVirtualSizeTuple",_kwnames,&_argo0))
4752 return NULL;
4753 if (_argo0) {
4754 if (_argo0 == Py_None) { _arg0 = NULL; }
4755 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4756 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetVirtualSizeTuple. Expected _wxWindow_p.");
4757 return NULL;
4758 }
4759 }
4760{
4761 PyThreadState* __tstate = wxPyBeginAllowThreads();
4762 wxWindow_GetVirtualSizeTuple(_arg0,_arg1,_arg2);
4763
4764 wxPyEndAllowThreads(__tstate);
4765 if (PyErr_Occurred()) return NULL;
4766} Py_INCREF(Py_None);
4767 _resultobj = Py_None;
4768{
4769 PyObject *o;
4770 o = PyInt_FromLong((long) (*_arg1));
4771 _resultobj = t_output_helper(_resultobj, o);
4772}
4773{
4774 PyObject *o;
4775 o = PyInt_FromLong((long) (*_arg2));
4776 _resultobj = t_output_helper(_resultobj, o);
4777}
4778 return _resultobj;
4779}
4780
7e50db3f
RD
4781#define wxWindow_GetBestVirtualSize(_swigobj) (_swigobj->GetBestVirtualSize())
4782static PyObject *_wrap_wxWindow_GetBestVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4783 PyObject * _resultobj;
4784 wxSize * _result;
4785 wxWindow * _arg0;
4786 PyObject * _argo0 = 0;
4787 char *_kwnames[] = { "self", NULL };
4788 char _ptemp[128];
4789
4790 self = self;
4791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetBestVirtualSize",_kwnames,&_argo0))
4792 return NULL;
4793 if (_argo0) {
4794 if (_argo0 == Py_None) { _arg0 = NULL; }
4795 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4796 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetBestVirtualSize. Expected _wxWindow_p.");
4797 return NULL;
4798 }
4799 }
4800{
4801 PyThreadState* __tstate = wxPyBeginAllowThreads();
4802 _result = new wxSize (wxWindow_GetBestVirtualSize(_arg0));
4803
4804 wxPyEndAllowThreads(__tstate);
4805 if (PyErr_Occurred()) return NULL;
4806} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
4807 _resultobj = Py_BuildValue("s",_ptemp);
4808 return _resultobj;
4809}
4810
af309447 4811#define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
efc5f224 4812static PyObject *_wrap_wxWindow_SetClientSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4813 PyObject * _resultobj;
4814 wxWindow * _arg0;
4815 int _arg1;
4816 int _arg2;
1d99702e 4817 PyObject * _argo0 = 0;
efc5f224 4818 char *_kwnames[] = { "self","width","height", NULL };
8ab979d7
RD
4819
4820 self = self;
efc5f224 4821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxWindow_SetClientSizeWH",_kwnames,&_argo0,&_arg1,&_arg2))
af309447 4822 return NULL;
1d99702e
RD
4823 if (_argo0) {
4824 if (_argo0 == Py_None) { _arg0 = NULL; }
4825 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
af309447
RD
4826 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
4827 return NULL;
4828 }
4829 }
cf694132 4830{
4268f798 4831 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4832 wxWindow_SetClientSizeWH(_arg0,_arg1,_arg2);
cf694132 4833
4268f798 4834 wxPyEndAllowThreads(__tstate);
493f1553 4835 if (PyErr_Occurred()) return NULL;
cf694132 4836} Py_INCREF(Py_None);
af309447
RD
4837 _resultobj = Py_None;
4838 return _resultobj;
4839}
4840
4841#define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
efc5f224 4842static PyObject *_wrap_wxWindow_SetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
4843 PyObject * _resultobj;
4844 wxWindow * _arg0;
4845 wxSize * _arg1;
1d99702e 4846 PyObject * _argo0 = 0;
2f90df85
RD
4847 wxSize temp;
4848 PyObject * _obj1 = 0;
efc5f224 4849 char *_kwnames[] = { "self","size", NULL };
af309447
RD
4850
4851 self = self;
2f90df85 4852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetClientSize",_kwnames,&_argo0,&_obj1))
8ab979d7 4853 return NULL;
1d99702e
RD
4854 if (_argo0) {
4855 if (_argo0 == Py_None) { _arg0 = NULL; }
4856 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4857 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
4858 return NULL;
4859 }
4860 }
2f90df85
RD
4861{
4862 _arg1 = &temp;
4863 if (! wxSize_helper(_obj1, &_arg1))
af309447 4864 return NULL;
2f90df85 4865}
cf694132 4866{
4268f798 4867 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4868 wxWindow_SetClientSize(_arg0,*_arg1);
cf694132 4869
4268f798 4870 wxPyEndAllowThreads(__tstate);
493f1553 4871 if (PyErr_Occurred()) return NULL;
cf694132 4872} Py_INCREF(Py_None);
8ab979d7
RD
4873 _resultobj = Py_None;
4874 return _resultobj;
4875}
4876
4877#define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
efc5f224 4878static PyObject *_wrap_wxWindow_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4879 PyObject * _resultobj;
e67409dc 4880 bool _result;
8ab979d7
RD
4881 wxWindow * _arg0;
4882 wxCursor * _arg1;
1d99702e
RD
4883 PyObject * _argo0 = 0;
4884 PyObject * _argo1 = 0;
efc5f224 4885 char *_kwnames[] = { "self","cursor", NULL };
8ab979d7
RD
4886
4887 self = self;
efc5f224 4888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetCursor",_kwnames,&_argo0,&_argo1))
8ab979d7 4889 return NULL;
1d99702e
RD
4890 if (_argo0) {
4891 if (_argo0 == Py_None) { _arg0 = NULL; }
4892 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4893 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
4894 return NULL;
4895 }
4896 }
1d99702e 4897 if (_argo1) {
7e50db3f 4898 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCursor_p")) {
8ab979d7
RD
4899 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
4900 return NULL;
4901 }
4902 }
cf694132 4903{
4268f798 4904 PyThreadState* __tstate = wxPyBeginAllowThreads();
e67409dc 4905 _result = (bool )wxWindow_SetCursor(_arg0,*_arg1);
cf694132 4906
4268f798 4907 wxPyEndAllowThreads(__tstate);
493f1553 4908 if (PyErr_Occurred()) return NULL;
e67409dc
RD
4909} _resultobj = Py_BuildValue("i",_result);
4910 return _resultobj;
4911}
4912
4913#define wxWindow_GetCursor(_swigobj) (_swigobj->GetCursor())
4914static PyObject *_wrap_wxWindow_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4915 PyObject * _resultobj;
4916 wxCursor * _result;
4917 wxWindow * _arg0;
4918 PyObject * _argo0 = 0;
4919 char *_kwnames[] = { "self", NULL };
4920 char _ptemp[128];
4921
4922 self = self;
4923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetCursor",_kwnames,&_argo0))
4924 return NULL;
4925 if (_argo0) {
4926 if (_argo0 == Py_None) { _arg0 = NULL; }
4927 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4928 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetCursor. Expected _wxWindow_p.");
4929 return NULL;
4930 }
4931 }
4932{
4933 PyThreadState* __tstate = wxPyBeginAllowThreads();
4934 wxCursor & _result_ref = wxWindow_GetCursor(_arg0);
4935 _result = (wxCursor *) &_result_ref;
4936
4937 wxPyEndAllowThreads(__tstate);
4938 if (PyErr_Occurred()) return NULL;
4939} if (_result) {
4940 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCursor_p");
4941 _resultobj = Py_BuildValue("s",_ptemp);
4942 } else {
4943 Py_INCREF(Py_None);
4944 _resultobj = Py_None;
4945 }
8ab979d7
RD
4946 return _resultobj;
4947}
4948
1afc06c2
RD
4949#define wxWindow_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
4950static PyObject *_wrap_wxWindow_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
4951 PyObject * _resultobj;
4952 wxWindow * _arg0;
4953 wxEvtHandler * _arg1;
4954 PyObject * _argo0 = 0;
4955 PyObject * _argo1 = 0;
4956 char *_kwnames[] = { "self","handler", NULL };
4957
4958 self = self;
4959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetEventHandler",_kwnames,&_argo0,&_argo1))
4960 return NULL;
4961 if (_argo0) {
4962 if (_argo0 == Py_None) { _arg0 = NULL; }
4963 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4964 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetEventHandler. Expected _wxWindow_p.");
4965 return NULL;
4966 }
4967 }
4968 if (_argo1) {
4969 if (_argo1 == Py_None) { _arg1 = NULL; }
4970 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
4971 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetEventHandler. Expected _wxEvtHandler_p.");
4972 return NULL;
4973 }
4974 }
4975{
4268f798 4976 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4977 wxWindow_SetEventHandler(_arg0,_arg1);
1afc06c2 4978
4268f798 4979 wxPyEndAllowThreads(__tstate);
493f1553 4980 if (PyErr_Occurred()) return NULL;
1afc06c2
RD
4981} Py_INCREF(Py_None);
4982 _resultobj = Py_None;
4983 return _resultobj;
4984}
4985
83b18bab
RD
4986#define wxWindow_SetExtraStyle(_swigobj,_swigarg0) (_swigobj->SetExtraStyle(_swigarg0))
4987static PyObject *_wrap_wxWindow_SetExtraStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4988 PyObject * _resultobj;
4989 wxWindow * _arg0;
4990 long _arg1;
4991 PyObject * _argo0 = 0;
4992 char *_kwnames[] = { "self","exStyle", NULL };
4993
4994 self = self;
4995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxWindow_SetExtraStyle",_kwnames,&_argo0,&_arg1))
4996 return NULL;
4997 if (_argo0) {
4998 if (_argo0 == Py_None) { _arg0 = NULL; }
4999 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5000 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetExtraStyle. Expected _wxWindow_p.");
5001 return NULL;
5002 }
5003 }
5004{
4268f798 5005 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5006 wxWindow_SetExtraStyle(_arg0,_arg1);
83b18bab 5007
4268f798 5008 wxPyEndAllowThreads(__tstate);
493f1553 5009 if (PyErr_Occurred()) return NULL;
83b18bab
RD
5010} Py_INCREF(Py_None);
5011 _resultobj = Py_None;
5012 return _resultobj;
5013}
5014
8ab979d7 5015#define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
efc5f224 5016static PyObject *_wrap_wxWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5017 PyObject * _resultobj;
5018 wxWindow * _arg0;
5019 wxString * _arg1;
1d99702e 5020 PyObject * _argo0 = 0;
8ab979d7 5021 PyObject * _obj1 = 0;
efc5f224 5022 char *_kwnames[] = { "self","title", NULL };
8ab979d7
RD
5023
5024 self = self;
efc5f224 5025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetTitle",_kwnames,&_argo0,&_obj1))
8ab979d7 5026 return NULL;
1d99702e
RD
5027 if (_argo0) {
5028 if (_argo0 == Py_None) { _arg0 = NULL; }
5029 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
5030 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
5031 return NULL;
5032 }
5033 }
5034{
c8bc7bb8
RD
5035 _arg1 = wxString_in_helper(_obj1);
5036 if (_arg1 == NULL)
185d7c3e 5037 return NULL;
8ab979d7 5038}
cf694132 5039{
4268f798 5040 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5041 wxWindow_SetTitle(_arg0,*_arg1);
cf694132 5042
4268f798 5043 wxPyEndAllowThreads(__tstate);
493f1553 5044 if (PyErr_Occurred()) return NULL;
cf694132 5045} Py_INCREF(Py_None);
8ab979d7
RD
5046 _resultobj = Py_None;
5047{
5048 if (_obj1)
5049 delete _arg1;
5050}
5051 return _resultobj;
5052}
5053
5054#define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
efc5f224 5055static PyObject *_wrap_wxWindow_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5056 PyObject * _resultobj;
5057 bool _result;
5058 wxWindow * _arg0;
7b7ac0ab 5059 bool _arg1 = (bool ) TRUE;
1d99702e 5060 PyObject * _argo0 = 0;
7b7ac0ab 5061 int tempbool1 = (int) TRUE;
efc5f224 5062 char *_kwnames[] = { "self","show", NULL };
8ab979d7
RD
5063
5064 self = self;
7b7ac0ab 5065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_Show",_kwnames,&_argo0,&tempbool1))
8ab979d7 5066 return NULL;
1d99702e
RD
5067 if (_argo0) {
5068 if (_argo0 == Py_None) { _arg0 = NULL; }
5069 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
5070 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
5071 return NULL;
5072 }
5073 }
5074 _arg1 = (bool ) tempbool1;
cf694132 5075{
4268f798 5076 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5077 _result = (bool )wxWindow_Show(_arg0,_arg1);
cf694132 5078
4268f798 5079 wxPyEndAllowThreads(__tstate);
493f1553 5080 if (PyErr_Occurred()) return NULL;
cf694132 5081} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5082 return _resultobj;
5083}
5084
5085#define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
efc5f224 5086static PyObject *_wrap_wxWindow_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5087 PyObject * _resultobj;
5088 bool _result;
5089 wxWindow * _arg0;
1d99702e 5090 PyObject * _argo0 = 0;
efc5f224 5091 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5092
5093 self = self;
efc5f224 5094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_TransferDataFromWindow",_kwnames,&_argo0))
8ab979d7 5095 return NULL;
1d99702e
RD
5096 if (_argo0) {
5097 if (_argo0 == Py_None) { _arg0 = NULL; }
5098 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
5099 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
5100 return NULL;
5101 }
5102 }
cf694132 5103{
4268f798 5104 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5105 _result = (bool )wxWindow_TransferDataFromWindow(_arg0);
cf694132 5106
4268f798 5107 wxPyEndAllowThreads(__tstate);
493f1553 5108 if (PyErr_Occurred()) return NULL;
cf694132 5109} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5110 return _resultobj;
5111}
5112
5113#define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
efc5f224 5114static PyObject *_wrap_wxWindow_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5115 PyObject * _resultobj;
5116 bool _result;
5117 wxWindow * _arg0;
1d99702e 5118 PyObject * _argo0 = 0;
efc5f224 5119 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5120
5121 self = self;
efc5f224 5122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_TransferDataToWindow",_kwnames,&_argo0))
8ab979d7 5123 return NULL;
1d99702e
RD
5124 if (_argo0) {
5125 if (_argo0 == Py_None) { _arg0 = NULL; }
5126 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
5127 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
5128 return NULL;
5129 }
5130 }
cf694132 5131{
4268f798 5132 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5133 _result = (bool )wxWindow_TransferDataToWindow(_arg0);
cf694132 5134
4268f798 5135 wxPyEndAllowThreads(__tstate);
493f1553 5136 if (PyErr_Occurred()) return NULL;
cf694132 5137} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5138 return _resultobj;
5139}
5140
5a2a9da2 5141#define wxWindow_UpdateWindowUI(_swigobj,_swigarg0) (_swigobj->UpdateWindowUI(_swigarg0))
23bed520
RD
5142static PyObject *_wrap_wxWindow_UpdateWindowUI(PyObject *self, PyObject *args, PyObject *kwargs) {
5143 PyObject * _resultobj;
5144 wxWindow * _arg0;
5a2a9da2 5145 long _arg1 = (long ) wxUPDATE_UI_NONE;
23bed520 5146 PyObject * _argo0 = 0;
5a2a9da2 5147 char *_kwnames[] = { "self","flags", NULL };
23bed520
RD
5148
5149 self = self;
5a2a9da2 5150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|l:wxWindow_UpdateWindowUI",_kwnames,&_argo0,&_arg1))
23bed520
RD
5151 return NULL;
5152 if (_argo0) {
5153 if (_argo0 == Py_None) { _arg0 = NULL; }
5154 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5155 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_UpdateWindowUI. Expected _wxWindow_p.");
5156 return NULL;
5157 }
5158 }
5159{
5160 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 5161 wxWindow_UpdateWindowUI(_arg0,_arg1);
23bed520
RD
5162
5163 wxPyEndAllowThreads(__tstate);
5164 if (PyErr_Occurred()) return NULL;
5165} Py_INCREF(Py_None);
5166 _resultobj = Py_None;
5167 return _resultobj;
5168}
5169
8ab979d7 5170#define wxWindow_Validate(_swigobj) (_swigobj->Validate())
efc5f224 5171static PyObject *_wrap_wxWindow_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5172 PyObject * _resultobj;
5173 bool _result;
5174 wxWindow * _arg0;
1d99702e 5175 PyObject * _argo0 = 0;
efc5f224 5176 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5177
5178 self = self;
efc5f224 5179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Validate",_kwnames,&_argo0))
8ab979d7 5180 return NULL;
1d99702e
RD
5181 if (_argo0) {
5182 if (_argo0 == Py_None) { _arg0 = NULL; }
5183 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
5184 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
5185 return NULL;
5186 }
5187 }
cf694132 5188{
4268f798 5189 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5190 _result = (bool )wxWindow_Validate(_arg0);
cf694132 5191
4268f798 5192 wxPyEndAllowThreads(__tstate);
493f1553 5193 if (PyErr_Occurred()) return NULL;
cf694132 5194} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5195 return _resultobj;
5196}
5197
b8b8dda7 5198#define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
efc5f224 5199static PyObject *_wrap_wxWindow_ConvertDialogPointToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
5200 PyObject * _resultobj;
5201 wxPoint * _result;
5202 wxWindow * _arg0;
5203 wxPoint * _arg1;
1d99702e 5204 PyObject * _argo0 = 0;
2f90df85
RD
5205 wxPoint temp;
5206 PyObject * _obj1 = 0;
efc5f224 5207 char *_kwnames[] = { "self","pt", NULL };
b8b8dda7
RD
5208 char _ptemp[128];
5209
5210 self = self;
2f90df85 5211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames,&_argo0,&_obj1))
b8b8dda7 5212 return NULL;
1d99702e
RD
5213 if (_argo0) {
5214 if (_argo0 == Py_None) { _arg0 = NULL; }
5215 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b8b8dda7
RD
5216 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
5217 return NULL;
5218 }
5219 }
2f90df85
RD
5220{
5221 _arg1 = &temp;
5222 if (! wxPoint_helper(_obj1, &_arg1))
b8b8dda7 5223 return NULL;
2f90df85 5224}
cf694132 5225{
4268f798 5226 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5227 _result = new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0,*_arg1));
cf694132 5228
4268f798 5229 wxPyEndAllowThreads(__tstate);
493f1553 5230 if (PyErr_Occurred()) return NULL;
cf694132 5231} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
b8b8dda7
RD
5232 _resultobj = Py_BuildValue("s",_ptemp);
5233 return _resultobj;
5234}
5235
5236#define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
efc5f224 5237static PyObject *_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
5238 PyObject * _resultobj;
5239 wxSize * _result;
5240 wxWindow * _arg0;
5241 wxSize * _arg1;
1d99702e 5242 PyObject * _argo0 = 0;
2f90df85
RD
5243 wxSize temp;
5244 PyObject * _obj1 = 0;
efc5f224 5245 char *_kwnames[] = { "self","sz", NULL };
b8b8dda7
RD
5246 char _ptemp[128];
5247
5248 self = self;
2f90df85 5249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames,&_argo0,&_obj1))
b8b8dda7 5250 return NULL;
1d99702e
RD
5251 if (_argo0) {
5252 if (_argo0 == Py_None) { _arg0 = NULL; }
5253 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b8b8dda7
RD
5254 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
5255 return NULL;
5256 }
5257 }
2f90df85
RD
5258{
5259 _arg1 = &temp;
5260 if (! wxSize_helper(_obj1, &_arg1))
b8b8dda7 5261 return NULL;
2f90df85 5262}
cf694132 5263{
4268f798 5264 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5265 _result = new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0,*_arg1));
cf694132 5266
4268f798 5267 wxPyEndAllowThreads(__tstate);
493f1553 5268 if (PyErr_Occurred()) return NULL;
cf694132 5269} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
b8b8dda7
RD
5270 _resultobj = Py_BuildValue("s",_ptemp);
5271 return _resultobj;
5272}
5273
5274#define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
efc5f224 5275static PyObject *_wrap_wxWindow_ConvertPixelPointToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
5276 PyObject * _resultobj;
5277 wxPoint * _result;
5278 wxWindow * _arg0;
5279 wxPoint * _arg1;
1d99702e 5280 PyObject * _argo0 = 0;
2f90df85
RD
5281 wxPoint temp;
5282 PyObject * _obj1 = 0;
efc5f224 5283 char *_kwnames[] = { "self","pt", NULL };
b8b8dda7
RD
5284 char _ptemp[128];
5285
5286 self = self;
2f90df85 5287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames,&_argo0,&_obj1))
b8b8dda7 5288 return NULL;
1d99702e
RD
5289 if (_argo0) {
5290 if (_argo0 == Py_None) { _arg0 = NULL; }
5291 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b8b8dda7
RD
5292 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
5293 return NULL;
5294 }
5295 }
2f90df85
RD
5296{
5297 _arg1 = &temp;
5298 if (! wxPoint_helper(_obj1, &_arg1))
b8b8dda7 5299 return NULL;
2f90df85 5300}
cf694132 5301{
4268f798 5302 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5303 _result = new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0,*_arg1));
cf694132 5304
4268f798 5305 wxPyEndAllowThreads(__tstate);
493f1553 5306 if (PyErr_Occurred()) return NULL;
cf694132 5307} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
b8b8dda7
RD
5308 _resultobj = Py_BuildValue("s",_ptemp);
5309 return _resultobj;
5310}
5311
5312#define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
efc5f224 5313static PyObject *_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
5314 PyObject * _resultobj;
5315 wxSize * _result;
5316 wxWindow * _arg0;
5317 wxSize * _arg1;
1d99702e 5318 PyObject * _argo0 = 0;
2f90df85
RD
5319 wxSize temp;
5320 PyObject * _obj1 = 0;
efc5f224 5321 char *_kwnames[] = { "self","sz", NULL };
b8b8dda7
RD
5322 char _ptemp[128];
5323
5324 self = self;
2f90df85 5325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames,&_argo0,&_obj1))
b8b8dda7 5326 return NULL;
1d99702e
RD
5327 if (_argo0) {
5328 if (_argo0 == Py_None) { _arg0 = NULL; }
5329 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b8b8dda7
RD
5330 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
5331 return NULL;
5332 }
5333 }
2f90df85
RD
5334{
5335 _arg1 = &temp;
5336 if (! wxSize_helper(_obj1, &_arg1))
b8b8dda7 5337 return NULL;
2f90df85 5338}
cf694132 5339{
4268f798 5340 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5341 _result = new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0,*_arg1));
cf694132 5342
4268f798 5343 wxPyEndAllowThreads(__tstate);
493f1553 5344 if (PyErr_Occurred()) return NULL;
cf694132 5345} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
b8b8dda7
RD
5346 _resultobj = Py_BuildValue("s",_ptemp);
5347 return _resultobj;
5348}
5349
af309447 5350#define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
efc5f224 5351static PyObject *_wrap_wxWindow_SetToolTipString(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
5352 PyObject * _resultobj;
5353 wxWindow * _arg0;
5354 wxString * _arg1;
1d99702e 5355 PyObject * _argo0 = 0;
af309447 5356 PyObject * _obj1 = 0;
efc5f224 5357 char *_kwnames[] = { "self","tip", NULL };
af309447
RD
5358
5359 self = self;
efc5f224 5360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetToolTipString",_kwnames,&_argo0,&_obj1))
af309447 5361 return NULL;
1d99702e
RD
5362 if (_argo0) {
5363 if (_argo0 == Py_None) { _arg0 = NULL; }
5364 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
af309447
RD
5365 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
5366 return NULL;
5367 }
5368 }
5369{
c8bc7bb8
RD
5370 _arg1 = wxString_in_helper(_obj1);
5371 if (_arg1 == NULL)
185d7c3e 5372 return NULL;
af309447 5373}
cf694132 5374{
4268f798 5375 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5376 wxWindow_SetToolTipString(_arg0,*_arg1);
cf694132 5377
4268f798 5378 wxPyEndAllowThreads(__tstate);
493f1553 5379 if (PyErr_Occurred()) return NULL;
cf694132 5380} Py_INCREF(Py_None);
af309447
RD
5381 _resultobj = Py_None;
5382{
5383 if (_obj1)
5384 delete _arg1;
5385}
5386 return _resultobj;
5387}
5388
5389#define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
efc5f224 5390static PyObject *_wrap_wxWindow_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
5391 PyObject * _resultobj;
5392 wxWindow * _arg0;
5393 wxToolTip * _arg1;
1d99702e
RD
5394 PyObject * _argo0 = 0;
5395 PyObject * _argo1 = 0;
efc5f224 5396 char *_kwnames[] = { "self","tooltip", NULL };
af309447
RD
5397
5398 self = self;
efc5f224 5399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetToolTip",_kwnames,&_argo0,&_argo1))
af309447 5400 return NULL;
1d99702e
RD
5401 if (_argo0) {
5402 if (_argo0 == Py_None) { _arg0 = NULL; }
5403 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
af309447
RD
5404 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
5405 return NULL;
5406 }
5407 }
1d99702e
RD
5408 if (_argo1) {
5409 if (_argo1 == Py_None) { _arg1 = NULL; }
5410 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxToolTip_p")) {
af309447
RD
5411 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
5412 return NULL;
5413 }
5414 }
cf694132 5415{
4268f798 5416 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5417 wxWindow_SetToolTip(_arg0,_arg1);
cf694132 5418
4268f798 5419 wxPyEndAllowThreads(__tstate);
493f1553 5420 if (PyErr_Occurred()) return NULL;
cf694132 5421} Py_INCREF(Py_None);
af309447
RD
5422 _resultobj = Py_None;
5423 return _resultobj;
5424}
5425
5426#define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
efc5f224 5427static PyObject *_wrap_wxWindow_GetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
5428 PyObject * _resultobj;
5429 wxToolTip * _result;
5430 wxWindow * _arg0;
1d99702e 5431 PyObject * _argo0 = 0;
efc5f224 5432 char *_kwnames[] = { "self", NULL };
af309447
RD
5433
5434 self = self;
efc5f224 5435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetToolTip",_kwnames,&_argo0))
af309447 5436 return NULL;
1d99702e
RD
5437 if (_argo0) {
5438 if (_argo0 == Py_None) { _arg0 = NULL; }
5439 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
af309447
RD
5440 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
5441 return NULL;
5442 }
5443 }
cf694132 5444{
4268f798 5445 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5446 _result = (wxToolTip *)wxWindow_GetToolTip(_arg0);
cf694132 5447
4268f798 5448 wxPyEndAllowThreads(__tstate);
493f1553 5449 if (PyErr_Occurred()) return NULL;
9416aa89 5450}{ _resultobj = wxPyMake_wxObject(_result); }
af309447
RD
5451 return _resultobj;
5452}
5453
a541c325 5454#define wxWindow_SetSizer(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSizer(_swigarg0,_swigarg1))
2f90df85
RD
5455static PyObject *_wrap_wxWindow_SetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
5456 PyObject * _resultobj;
5457 wxWindow * _arg0;
5458 wxSizer * _arg1;
a541c325 5459 bool _arg2 = (bool ) TRUE;
2f90df85
RD
5460 PyObject * _argo0 = 0;
5461 PyObject * _argo1 = 0;
a541c325
RD
5462 int tempbool2 = (int) TRUE;
5463 char *_kwnames[] = { "self","sizer","deleteOld", NULL };
2f90df85
RD
5464
5465 self = self;
a541c325 5466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxWindow_SetSizer",_kwnames,&_argo0,&_argo1,&tempbool2))
2f90df85
RD
5467 return NULL;
5468 if (_argo0) {
5469 if (_argo0 == Py_None) { _arg0 = NULL; }
5470 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5471 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetSizer. Expected _wxWindow_p.");
5472 return NULL;
5473 }
5474 }
5475 if (_argo1) {
5476 if (_argo1 == Py_None) { _arg1 = NULL; }
5477 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSizer_p")) {
5478 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetSizer. Expected _wxSizer_p.");
5479 return NULL;
5480 }
5481 }
a541c325 5482 _arg2 = (bool ) tempbool2;
2f90df85 5483{
4268f798 5484 PyThreadState* __tstate = wxPyBeginAllowThreads();
a541c325 5485 wxWindow_SetSizer(_arg0,_arg1,_arg2);
2f90df85 5486
4268f798 5487 wxPyEndAllowThreads(__tstate);
493f1553 5488 if (PyErr_Occurred()) return NULL;
2f90df85
RD
5489} Py_INCREF(Py_None);
5490 _resultobj = Py_None;
5491 return _resultobj;
5492}
5493
2a74d141
RD
5494#define wxWindow_SetSizerAndFit(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSizerAndFit(_swigarg0,_swigarg1))
5495static PyObject *_wrap_wxWindow_SetSizerAndFit(PyObject *self, PyObject *args, PyObject *kwargs) {
5496 PyObject * _resultobj;
5497 wxWindow * _arg0;
5498 wxSizer * _arg1;
5499 bool _arg2 = (bool ) TRUE;
5500 PyObject * _argo0 = 0;
5501 PyObject * _argo1 = 0;
5502 int tempbool2 = (int) TRUE;
5503 char *_kwnames[] = { "self","sizer","deleteOld", NULL };
5504
5505 self = self;
5506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxWindow_SetSizerAndFit",_kwnames,&_argo0,&_argo1,&tempbool2))
5507 return NULL;
5508 if (_argo0) {
5509 if (_argo0 == Py_None) { _arg0 = NULL; }
5510 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5511 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetSizerAndFit. Expected _wxWindow_p.");
5512 return NULL;
5513 }
5514 }
5515 if (_argo1) {
5516 if (_argo1 == Py_None) { _arg1 = NULL; }
5517 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSizer_p")) {
5518 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetSizerAndFit. Expected _wxSizer_p.");
5519 return NULL;
5520 }
5521 }
5522 _arg2 = (bool ) tempbool2;
5523{
5524 PyThreadState* __tstate = wxPyBeginAllowThreads();
5525 wxWindow_SetSizerAndFit(_arg0,_arg1,_arg2);
5526
5527 wxPyEndAllowThreads(__tstate);
5528 if (PyErr_Occurred()) return NULL;
5529} Py_INCREF(Py_None);
5530 _resultobj = Py_None;
5531 return _resultobj;
5532}
5533
f6bcfd97
BP
5534#define wxWindow_GetSizer(_swigobj) (_swigobj->GetSizer())
5535static PyObject *_wrap_wxWindow_GetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
5536 PyObject * _resultobj;
5537 wxSizer * _result;
5538 wxWindow * _arg0;
5539 PyObject * _argo0 = 0;
5540 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
5541
5542 self = self;
5543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetSizer",_kwnames,&_argo0))
5544 return NULL;
5545 if (_argo0) {
5546 if (_argo0 == Py_None) { _arg0 = NULL; }
5547 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5548 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetSizer. Expected _wxWindow_p.");
5549 return NULL;
5550 }
5551 }
5552{
4268f798 5553 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5554 _result = (wxSizer *)wxWindow_GetSizer(_arg0);
f6bcfd97 5555
4268f798 5556 wxPyEndAllowThreads(__tstate);
493f1553 5557 if (PyErr_Occurred()) return NULL;
2f4e9287 5558}{ _resultobj = wxPyMake_wxSizer(_result); }
f6bcfd97
BP
5559 return _resultobj;
5560}
5561
be90c029
RD
5562#define wxWindow_SetContainingSizer(_swigobj,_swigarg0) (_swigobj->SetContainingSizer(_swigarg0))
5563static PyObject *_wrap_wxWindow_SetContainingSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
5564 PyObject * _resultobj;
5565 wxWindow * _arg0;
5566 wxSizer * _arg1;
5567 PyObject * _argo0 = 0;
5568 PyObject * _argo1 = 0;
5569 char *_kwnames[] = { "self","sizer", NULL };
5570
5571 self = self;
5572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetContainingSizer",_kwnames,&_argo0,&_argo1))
5573 return NULL;
5574 if (_argo0) {
5575 if (_argo0 == Py_None) { _arg0 = NULL; }
5576 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5577 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetContainingSizer. Expected _wxWindow_p.");
5578 return NULL;
5579 }
5580 }
5581 if (_argo1) {
5582 if (_argo1 == Py_None) { _arg1 = NULL; }
5583 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSizer_p")) {
5584 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetContainingSizer. Expected _wxSizer_p.");
5585 return NULL;
5586 }
5587 }
5588{
5589 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5590 wxWindow_SetContainingSizer(_arg0,_arg1);
be90c029
RD
5591
5592 wxPyEndAllowThreads(__tstate);
5593 if (PyErr_Occurred()) return NULL;
5594} Py_INCREF(Py_None);
5595 _resultobj = Py_None;
5596 return _resultobj;
5597}
5598
5599#define wxWindow_GetContainingSizer(_swigobj) (_swigobj->GetContainingSizer())
5600static PyObject *_wrap_wxWindow_GetContainingSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
5601 PyObject * _resultobj;
5602 wxSizer * _result;
5603 wxWindow * _arg0;
5604 PyObject * _argo0 = 0;
5605 char *_kwnames[] = { "self", NULL };
5606
5607 self = self;
5608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetContainingSizer",_kwnames,&_argo0))
5609 return NULL;
5610 if (_argo0) {
5611 if (_argo0 == Py_None) { _arg0 = NULL; }
5612 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5613 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetContainingSizer. Expected _wxWindow_p.");
5614 return NULL;
5615 }
5616 }
5617{
5618 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5619 _result = (wxSizer *)wxWindow_GetContainingSizer(_arg0);
be90c029
RD
5620
5621 wxPyEndAllowThreads(__tstate);
5622 if (PyErr_Occurred()) return NULL;
5623}{ _resultobj = wxPyMake_wxSizer(_result); }
5624 return _resultobj;
5625}
5626
2f90df85
RD
5627#define wxWindow_GetValidator(_swigobj) (_swigobj->GetValidator())
5628static PyObject *_wrap_wxWindow_GetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
5629 PyObject * _resultobj;
5630 wxValidator * _result;
5631 wxWindow * _arg0;
5632 PyObject * _argo0 = 0;
5633 char *_kwnames[] = { "self", NULL };
2f90df85
RD
5634
5635 self = self;
5636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetValidator",_kwnames,&_argo0))
5637 return NULL;
5638 if (_argo0) {
5639 if (_argo0 == Py_None) { _arg0 = NULL; }
5640 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5641 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetValidator. Expected _wxWindow_p.");
5642 return NULL;
5643 }
5644 }
5645{
4268f798 5646 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5647 _result = (wxValidator *)wxWindow_GetValidator(_arg0);
2f90df85 5648
4268f798 5649 wxPyEndAllowThreads(__tstate);
493f1553 5650 if (PyErr_Occurred()) return NULL;
9416aa89 5651}{ _resultobj = wxPyMake_wxObject(_result); }
2f90df85
RD
5652 return _resultobj;
5653}
5654
5655#define wxWindow_SetValidator(_swigobj,_swigarg0) (_swigobj->SetValidator(_swigarg0))
5656static PyObject *_wrap_wxWindow_SetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
5657 PyObject * _resultobj;
5658 wxWindow * _arg0;
5659 wxValidator * _arg1;
5660 PyObject * _argo0 = 0;
5661 PyObject * _argo1 = 0;
5662 char *_kwnames[] = { "self","validator", NULL };
5663
5664 self = self;
5665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetValidator",_kwnames,&_argo0,&_argo1))
5666 return NULL;
5667 if (_argo0) {
5668 if (_argo0 == Py_None) { _arg0 = NULL; }
5669 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5670 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetValidator. Expected _wxWindow_p.");
5671 return NULL;
5672 }
5673 }
5674 if (_argo1) {
7e50db3f 5675 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxValidator_p")) {
2f90df85
RD
5676 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetValidator. Expected _wxValidator_p.");
5677 return NULL;
5678 }
5679 }
5680{
4268f798 5681 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5682 wxWindow_SetValidator(_arg0,*_arg1);
2f90df85 5683
4268f798 5684 wxPyEndAllowThreads(__tstate);
493f1553 5685 if (PyErr_Occurred()) return NULL;
2f90df85
RD
5686} Py_INCREF(Py_None);
5687 _resultobj = Py_None;
5688 return _resultobj;
5689}
5690
b1462dfa
RD
5691#define wxWindow_SetDropTarget(_swigobj,_swigarg0) (_swigobj->SetDropTarget(_swigarg0))
5692static PyObject *_wrap_wxWindow_SetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
5693 PyObject * _resultobj;
5694 wxWindow * _arg0;
5695 wxDropTarget * _arg1;
5696 PyObject * _argo0 = 0;
5697 PyObject * _argo1 = 0;
5698 char *_kwnames[] = { "self","target", NULL };
5699
5700 self = self;
5701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetDropTarget",_kwnames,&_argo0,&_argo1))
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_SetDropTarget. Expected _wxWindow_p.");
5707 return NULL;
5708 }
5709 }
5710 if (_argo1) {
5711 if (_argo1 == Py_None) { _arg1 = NULL; }
5712 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDropTarget_p")) {
5713 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetDropTarget. Expected _wxDropTarget_p.");
5714 return NULL;
5715 }
5716 }
5717{
4268f798 5718 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5719 wxWindow_SetDropTarget(_arg0,_arg1);
b1462dfa 5720
4268f798 5721 wxPyEndAllowThreads(__tstate);
493f1553 5722 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
5723} Py_INCREF(Py_None);
5724 _resultobj = Py_None;
5725 return _resultobj;
5726}
5727
5728#define wxWindow_GetDropTarget(_swigobj) (_swigobj->GetDropTarget())
5729static PyObject *_wrap_wxWindow_GetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
5730 PyObject * _resultobj;
5731 wxDropTarget * _result;
5732 wxWindow * _arg0;
5733 PyObject * _argo0 = 0;
5734 char *_kwnames[] = { "self", NULL };
5735 char _ptemp[128];
5736
5737 self = self;
5738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetDropTarget",_kwnames,&_argo0))
5739 return NULL;
5740 if (_argo0) {
5741 if (_argo0 == Py_None) { _arg0 = NULL; }
5742 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5743 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetDropTarget. Expected _wxWindow_p.");
5744 return NULL;
5745 }
5746 }
5747{
4268f798 5748 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5749 _result = (wxDropTarget *)wxWindow_GetDropTarget(_arg0);
b1462dfa 5750
4268f798 5751 wxPyEndAllowThreads(__tstate);
493f1553 5752 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
5753} if (_result) {
5754 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDropTarget_p");
5755 _resultobj = Py_BuildValue("s",_ptemp);
5756 } else {
5757 Py_INCREF(Py_None);
5758 _resultobj = Py_None;
5759 }
5760 return _resultobj;
5761}
5762
694759cf
RD
5763#define wxWindow_GetBestSize(_swigobj) (_swigobj->GetBestSize())
5764static PyObject *_wrap_wxWindow_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5765 PyObject * _resultobj;
5766 wxSize * _result;
5767 wxWindow * _arg0;
5768 PyObject * _argo0 = 0;
5769 char *_kwnames[] = { "self", NULL };
5770 char _ptemp[128];
5771
5772 self = self;
5773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetBestSize",_kwnames,&_argo0))
5774 return NULL;
5775 if (_argo0) {
5776 if (_argo0 == Py_None) { _arg0 = NULL; }
5777 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5778 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetBestSize. Expected _wxWindow_p.");
5779 return NULL;
5780 }
5781 }
5782{
4268f798 5783 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5784 _result = new wxSize (wxWindow_GetBestSize(_arg0));
694759cf 5785
4268f798 5786 wxPyEndAllowThreads(__tstate);
493f1553 5787 if (PyErr_Occurred()) return NULL;
694759cf
RD
5788} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
5789 _resultobj = Py_BuildValue("s",_ptemp);
5790 return _resultobj;
5791}
5792
a541c325
RD
5793#define wxWindow_GetMaxSize(_swigobj) (_swigobj->GetMaxSize())
5794static PyObject *_wrap_wxWindow_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5795 PyObject * _resultobj;
5796 wxSize * _result;
5797 wxWindow * _arg0;
5798 PyObject * _argo0 = 0;
5799 char *_kwnames[] = { "self", NULL };
5800 char _ptemp[128];
5801
5802 self = self;
5803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetMaxSize",_kwnames,&_argo0))
5804 return NULL;
5805 if (_argo0) {
5806 if (_argo0 == Py_None) { _arg0 = NULL; }
5807 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5808 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetMaxSize. Expected _wxWindow_p.");
5809 return NULL;
5810 }
5811 }
5812{
5813 PyThreadState* __tstate = wxPyBeginAllowThreads();
5814 _result = new wxSize (wxWindow_GetMaxSize(_arg0));
5815
5816 wxPyEndAllowThreads(__tstate);
5817 if (PyErr_Occurred()) return NULL;
5818} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
5819 _resultobj = Py_BuildValue("s",_ptemp);
5820 return _resultobj;
5821}
5822
7e50db3f
RD
5823#define wxWindow_GetAdjustedBestSize(_swigobj) (_swigobj->GetAdjustedBestSize())
5824static PyObject *_wrap_wxWindow_GetAdjustedBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5825 PyObject * _resultobj;
5826 wxSize * _result;
5827 wxWindow * _arg0;
5828 PyObject * _argo0 = 0;
5829 char *_kwnames[] = { "self", NULL };
5830 char _ptemp[128];
5831
5832 self = self;
5833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetAdjustedBestSize",_kwnames,&_argo0))
5834 return NULL;
5835 if (_argo0) {
5836 if (_argo0 == Py_None) { _arg0 = NULL; }
5837 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5838 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetAdjustedBestSize. Expected _wxWindow_p.");
5839 return NULL;
5840 }
5841 }
5842{
5843 PyThreadState* __tstate = wxPyBeginAllowThreads();
5844 _result = new wxSize (wxWindow_GetAdjustedBestSize(_arg0));
5845
5846 wxPyEndAllowThreads(__tstate);
5847 if (PyErr_Occurred()) return NULL;
5848} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
5849 _resultobj = Py_BuildValue("s",_ptemp);
5850 return _resultobj;
5851}
5852
a1df7a95
RD
5853#define wxWindow_SetCaret(_swigobj,_swigarg0) (_swigobj->SetCaret(_swigarg0))
5854static PyObject *_wrap_wxWindow_SetCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
5855 PyObject * _resultobj;
5856 wxWindow * _arg0;
5857 wxCaret * _arg1;
5858 PyObject * _argo0 = 0;
5859 PyObject * _argo1 = 0;
5860 char *_kwnames[] = { "self","caret", NULL };
5861
5862 self = self;
5863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetCaret",_kwnames,&_argo0,&_argo1))
5864 return NULL;
5865 if (_argo0) {
5866 if (_argo0 == Py_None) { _arg0 = NULL; }
5867 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5868 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetCaret. Expected _wxWindow_p.");
5869 return NULL;
5870 }
5871 }
5872 if (_argo1) {
5873 if (_argo1 == Py_None) { _arg1 = NULL; }
5874 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCaret_p")) {
5875 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetCaret. Expected _wxCaret_p.");
5876 return NULL;
5877 }
5878 }
5879{
4268f798 5880 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5881 wxWindow_SetCaret(_arg0,_arg1);
a1df7a95 5882
4268f798 5883 wxPyEndAllowThreads(__tstate);
493f1553 5884 if (PyErr_Occurred()) return NULL;
a1df7a95
RD
5885} Py_INCREF(Py_None);
5886 _resultobj = Py_None;
5887 return _resultobj;
5888}
5889
5890#define wxWindow_GetCaret(_swigobj) (_swigobj->GetCaret())
5891static PyObject *_wrap_wxWindow_GetCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
5892 PyObject * _resultobj;
5893 wxCaret * _result;
5894 wxWindow * _arg0;
5895 PyObject * _argo0 = 0;
5896 char *_kwnames[] = { "self", NULL };
5897 char _ptemp[128];
5898
5899 self = self;
5900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetCaret",_kwnames,&_argo0))
5901 return NULL;
5902 if (_argo0) {
5903 if (_argo0 == Py_None) { _arg0 = NULL; }
5904 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5905 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetCaret. Expected _wxWindow_p.");
5906 return NULL;
5907 }
5908 }
5909{
4268f798 5910 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5911 _result = (wxCaret *)wxWindow_GetCaret(_arg0);
a1df7a95 5912
4268f798 5913 wxPyEndAllowThreads(__tstate);
493f1553 5914 if (PyErr_Occurred()) return NULL;
a1df7a95
RD
5915} if (_result) {
5916 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCaret_p");
5917 _resultobj = Py_BuildValue("s",_ptemp);
5918 } else {
5919 Py_INCREF(Py_None);
5920 _resultobj = Py_None;
5921 }
5922 return _resultobj;
5923}
5924
3a0958b1
RD
5925#define wxWindow_Freeze(_swigobj) (_swigobj->Freeze())
5926static PyObject *_wrap_wxWindow_Freeze(PyObject *self, PyObject *args, PyObject *kwargs) {
5927 PyObject * _resultobj;
5928 wxWindow * _arg0;
5929 PyObject * _argo0 = 0;
5930 char *_kwnames[] = { "self", NULL };
5931
5932 self = self;
5933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Freeze",_kwnames,&_argo0))
5934 return NULL;
5935 if (_argo0) {
5936 if (_argo0 == Py_None) { _arg0 = NULL; }
5937 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5938 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Freeze. Expected _wxWindow_p.");
5939 return NULL;
5940 }
5941 }
5942{
4268f798 5943 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5944 wxWindow_Freeze(_arg0);
3a0958b1 5945
4268f798 5946 wxPyEndAllowThreads(__tstate);
3a0958b1
RD
5947 if (PyErr_Occurred()) return NULL;
5948} Py_INCREF(Py_None);
5949 _resultobj = Py_None;
5950 return _resultobj;
5951}
5952
5953#define wxWindow_Thaw(_swigobj) (_swigobj->Thaw())
5954static PyObject *_wrap_wxWindow_Thaw(PyObject *self, PyObject *args, PyObject *kwargs) {
5955 PyObject * _resultobj;
5956 wxWindow * _arg0;
5957 PyObject * _argo0 = 0;
5958 char *_kwnames[] = { "self", NULL };
5959
5960 self = self;
5961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Thaw",_kwnames,&_argo0))
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_Thaw. Expected _wxWindow_p.");
5967 return NULL;
5968 }
5969 }
5970{
4268f798 5971 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5972 wxWindow_Thaw(_arg0);
3a0958b1 5973
4268f798 5974 wxPyEndAllowThreads(__tstate);
3a0958b1
RD
5975 if (PyErr_Occurred()) return NULL;
5976} Py_INCREF(Py_None);
5977 _resultobj = Py_None;
5978 return _resultobj;
5979}
5980
09f3d4e6
RD
5981#define wxWindow_Update(_swigobj) (_swigobj->Update())
5982static PyObject *_wrap_wxWindow_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
5983 PyObject * _resultobj;
5984 wxWindow * _arg0;
5985 PyObject * _argo0 = 0;
5986 char *_kwnames[] = { "self", NULL };
5987
5988 self = self;
5989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Update",_kwnames,&_argo0))
5990 return NULL;
5991 if (_argo0) {
5992 if (_argo0 == Py_None) { _arg0 = NULL; }
5993 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5994 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Update. Expected _wxWindow_p.");
5995 return NULL;
5996 }
5997 }
5998{
4268f798 5999 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6000 wxWindow_Update(_arg0);
09f3d4e6 6001
4268f798 6002 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
6003 if (PyErr_Occurred()) return NULL;
6004} Py_INCREF(Py_None);
6005 _resultobj = Py_None;
6006 return _resultobj;
6007}
6008
4f3449b4
RD
6009#define wxWindow_GetHelpText(_swigobj) (_swigobj->GetHelpText())
6010static PyObject *_wrap_wxWindow_GetHelpText(PyObject *self, PyObject *args, PyObject *kwargs) {
6011 PyObject * _resultobj;
6012 wxString * _result;
6013 wxWindow * _arg0;
6014 PyObject * _argo0 = 0;
6015 char *_kwnames[] = { "self", NULL };
6016
6017 self = self;
6018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetHelpText",_kwnames,&_argo0))
6019 return NULL;
6020 if (_argo0) {
6021 if (_argo0 == Py_None) { _arg0 = NULL; }
6022 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6023 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetHelpText. Expected _wxWindow_p.");
6024 return NULL;
6025 }
6026 }
6027{
4268f798 6028 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6029 _result = new wxString (wxWindow_GetHelpText(_arg0));
4f3449b4 6030
4268f798 6031 wxPyEndAllowThreads(__tstate);
4f3449b4
RD
6032 if (PyErr_Occurred()) return NULL;
6033}{
c8bc7bb8 6034#if wxUSE_UNICODE
7e50db3f 6035 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 6036#else
4f3449b4 6037 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 6038#endif
4f3449b4
RD
6039}
6040{
6041 delete _result;
6042}
6043 return _resultobj;
6044}
6045
6046#define wxWindow_SetHelpText(_swigobj,_swigarg0) (_swigobj->SetHelpText(_swigarg0))
6047static PyObject *_wrap_wxWindow_SetHelpText(PyObject *self, PyObject *args, PyObject *kwargs) {
6048 PyObject * _resultobj;
6049 wxWindow * _arg0;
6050 wxString * _arg1;
6051 PyObject * _argo0 = 0;
6052 PyObject * _obj1 = 0;
6053 char *_kwnames[] = { "self","helpText", NULL };
6054
6055 self = self;
6056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetHelpText",_kwnames,&_argo0,&_obj1))
6057 return NULL;
6058 if (_argo0) {
6059 if (_argo0 == Py_None) { _arg0 = NULL; }
6060 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6061 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetHelpText. Expected _wxWindow_p.");
6062 return NULL;
6063 }
6064 }
6065{
c8bc7bb8
RD
6066 _arg1 = wxString_in_helper(_obj1);
6067 if (_arg1 == NULL)
4f3449b4 6068 return NULL;
4f3449b4
RD
6069}
6070{
4268f798 6071 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6072 wxWindow_SetHelpText(_arg0,*_arg1);
4f3449b4 6073
4268f798 6074 wxPyEndAllowThreads(__tstate);
4f3449b4
RD
6075 if (PyErr_Occurred()) return NULL;
6076} Py_INCREF(Py_None);
6077 _resultobj = Py_None;
6078{
6079 if (_obj1)
6080 delete _arg1;
6081}
6082 return _resultobj;
6083}
6084
23bed520
RD
6085#define wxWindow_SetHelpTextForId(_swigobj,_swigarg0) (_swigobj->SetHelpTextForId(_swigarg0))
6086static PyObject *_wrap_wxWindow_SetHelpTextForId(PyObject *self, PyObject *args, PyObject *kwargs) {
6087 PyObject * _resultobj;
6088 wxWindow * _arg0;
6089 wxString * _arg1;
6090 PyObject * _argo0 = 0;
6091 PyObject * _obj1 = 0;
6092 char *_kwnames[] = { "self","text", NULL };
6093
6094 self = self;
6095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetHelpTextForId",_kwnames,&_argo0,&_obj1))
6096 return NULL;
6097 if (_argo0) {
6098 if (_argo0 == Py_None) { _arg0 = NULL; }
6099 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6100 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetHelpTextForId. Expected _wxWindow_p.");
6101 return NULL;
6102 }
6103 }
6104{
c8bc7bb8
RD
6105 _arg1 = wxString_in_helper(_obj1);
6106 if (_arg1 == NULL)
23bed520 6107 return NULL;
23bed520
RD
6108}
6109{
6110 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6111 wxWindow_SetHelpTextForId(_arg0,*_arg1);
23bed520
RD
6112
6113 wxPyEndAllowThreads(__tstate);
6114 if (PyErr_Occurred()) return NULL;
6115} Py_INCREF(Py_None);
6116 _resultobj = Py_None;
6117{
6118 if (_obj1)
6119 delete _arg1;
6120}
6121 return _resultobj;
6122}
6123
c7e7022c
RD
6124#define wxWindow_ScrollLines(_swigobj,_swigarg0) (_swigobj->ScrollLines(_swigarg0))
6125static PyObject *_wrap_wxWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
6126 PyObject * _resultobj;
6127 bool _result;
6128 wxWindow * _arg0;
6129 int _arg1;
6130 PyObject * _argo0 = 0;
6131 char *_kwnames[] = { "self","lines", NULL };
6132
6133 self = self;
6134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_ScrollLines",_kwnames,&_argo0,&_arg1))
6135 return NULL;
6136 if (_argo0) {
6137 if (_argo0 == Py_None) { _arg0 = NULL; }
6138 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6139 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScrollLines. Expected _wxWindow_p.");
6140 return NULL;
6141 }
6142 }
6143{
4268f798 6144 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6145 _result = (bool )wxWindow_ScrollLines(_arg0,_arg1);
c7e7022c 6146
4268f798 6147 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
6148 if (PyErr_Occurred()) return NULL;
6149} _resultobj = Py_BuildValue("i",_result);
6150 return _resultobj;
6151}
6152
6153#define wxWindow_ScrollPages(_swigobj,_swigarg0) (_swigobj->ScrollPages(_swigarg0))
6154static PyObject *_wrap_wxWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
6155 PyObject * _resultobj;
6156 bool _result;
6157 wxWindow * _arg0;
6158 int _arg1;
6159 PyObject * _argo0 = 0;
6160 char *_kwnames[] = { "self","pages", NULL };
6161
6162 self = self;
6163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_ScrollPages",_kwnames,&_argo0,&_arg1))
6164 return NULL;
6165 if (_argo0) {
6166 if (_argo0 == Py_None) { _arg0 = NULL; }
6167 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6168 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScrollPages. Expected _wxWindow_p.");
6169 return NULL;
6170 }
6171 }
6172{
4268f798 6173 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6174 _result = (bool )wxWindow_ScrollPages(_arg0,_arg1);
c7e7022c 6175
4268f798 6176 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
6177 if (PyErr_Occurred()) return NULL;
6178} _resultobj = Py_BuildValue("i",_result);
6179 return _resultobj;
6180}
6181
6182#define wxWindow_LineUp(_swigobj) (_swigobj->LineUp())
6183static PyObject *_wrap_wxWindow_LineUp(PyObject *self, PyObject *args, PyObject *kwargs) {
6184 PyObject * _resultobj;
6185 bool _result;
6186 wxWindow * _arg0;
6187 PyObject * _argo0 = 0;
6188 char *_kwnames[] = { "self", NULL };
6189
6190 self = self;
6191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_LineUp",_kwnames,&_argo0))
6192 return NULL;
6193 if (_argo0) {
6194 if (_argo0 == Py_None) { _arg0 = NULL; }
6195 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6196 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_LineUp. Expected _wxWindow_p.");
6197 return NULL;
6198 }
6199 }
6200{
4268f798 6201 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6202 _result = (bool )wxWindow_LineUp(_arg0);
c7e7022c 6203
4268f798 6204 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
6205 if (PyErr_Occurred()) return NULL;
6206} _resultobj = Py_BuildValue("i",_result);
6207 return _resultobj;
6208}
6209
6210#define wxWindow_LineDown(_swigobj) (_swigobj->LineDown())
6211static PyObject *_wrap_wxWindow_LineDown(PyObject *self, PyObject *args, PyObject *kwargs) {
6212 PyObject * _resultobj;
6213 bool _result;
6214 wxWindow * _arg0;
6215 PyObject * _argo0 = 0;
6216 char *_kwnames[] = { "self", NULL };
6217
6218 self = self;
6219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_LineDown",_kwnames,&_argo0))
6220 return NULL;
6221 if (_argo0) {
6222 if (_argo0 == Py_None) { _arg0 = NULL; }
6223 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6224 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_LineDown. Expected _wxWindow_p.");
6225 return NULL;
6226 }
6227 }
6228{
4268f798 6229 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6230 _result = (bool )wxWindow_LineDown(_arg0);
c7e7022c 6231
4268f798 6232 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
6233 if (PyErr_Occurred()) return NULL;
6234} _resultobj = Py_BuildValue("i",_result);
6235 return _resultobj;
6236}
6237
6238#define wxWindow_PageUp(_swigobj) (_swigobj->PageUp())
6239static PyObject *_wrap_wxWindow_PageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
6240 PyObject * _resultobj;
6241 bool _result;
6242 wxWindow * _arg0;
6243 PyObject * _argo0 = 0;
6244 char *_kwnames[] = { "self", NULL };
6245
6246 self = self;
6247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_PageUp",_kwnames,&_argo0))
6248 return NULL;
6249 if (_argo0) {
6250 if (_argo0 == Py_None) { _arg0 = NULL; }
6251 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6252 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PageUp. Expected _wxWindow_p.");
6253 return NULL;
6254 }
6255 }
6256{
4268f798 6257 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6258 _result = (bool )wxWindow_PageUp(_arg0);
c7e7022c 6259
4268f798 6260 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
6261 if (PyErr_Occurred()) return NULL;
6262} _resultobj = Py_BuildValue("i",_result);
6263 return _resultobj;
6264}
6265
6266#define wxWindow_PageDown(_swigobj) (_swigobj->PageDown())
6267static PyObject *_wrap_wxWindow_PageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
6268 PyObject * _resultobj;
6269 bool _result;
6270 wxWindow * _arg0;
6271 PyObject * _argo0 = 0;
6272 char *_kwnames[] = { "self", NULL };
6273
6274 self = self;
6275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_PageDown",_kwnames,&_argo0))
6276 return NULL;
6277 if (_argo0) {
6278 if (_argo0 == Py_None) { _arg0 = NULL; }
6279 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6280 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PageDown. Expected _wxWindow_p.");
6281 return NULL;
6282 }
6283 }
6284{
4268f798 6285 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6286 _result = (bool )wxWindow_PageDown(_arg0);
c7e7022c 6287
4268f798 6288 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
6289 if (PyErr_Occurred()) return NULL;
6290} _resultobj = Py_BuildValue("i",_result);
6291 return _resultobj;
6292}
6293
09f3d4e6
RD
6294static PyObject *_wrap_wxWindow_FindFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
6295 PyObject * _resultobj;
6296 wxWindow * _result;
6297 char *_kwnames[] = { NULL };
6298
6299 self = self;
6300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxWindow_FindFocus",_kwnames))
6301 return NULL;
6302{
4268f798 6303 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6304 _result = (wxWindow *)wxWindow::FindFocus();
09f3d4e6 6305
4268f798 6306 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
6307 if (PyErr_Occurred()) return NULL;
6308}{ _resultobj = wxPyMake_wxObject(_result); }
6309 return _resultobj;
6310}
6311
6312static PyObject *_wrap_wxWindow_NewControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
6313 PyObject * _resultobj;
6314 int _result;
6315 char *_kwnames[] = { NULL };
6316
6317 self = self;
6318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxWindow_NewControlId",_kwnames))
6319 return NULL;
6320{
4268f798 6321 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6322 _result = (int )wxWindow::NewControlId();
09f3d4e6 6323
4268f798 6324 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
6325 if (PyErr_Occurred()) return NULL;
6326} _resultobj = Py_BuildValue("i",_result);
6327 return _resultobj;
6328}
6329
6330static PyObject *_wrap_wxWindow_NextControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
6331 PyObject * _resultobj;
6332 int _result;
6333 int _arg0;
6334 char *_kwnames[] = { "id", NULL };
6335
6336 self = self;
6337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxWindow_NextControlId",_kwnames,&_arg0))
6338 return NULL;
6339{
4268f798 6340 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6341 _result = (int )wxWindow::NextControlId(_arg0);
09f3d4e6 6342
4268f798 6343 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
6344 if (PyErr_Occurred()) return NULL;
6345} _resultobj = Py_BuildValue("i",_result);
6346 return _resultobj;
6347}
6348
6349static PyObject *_wrap_wxWindow_PrevControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
6350 PyObject * _resultobj;
6351 int _result;
6352 int _arg0;
6353 char *_kwnames[] = { "id", NULL };
6354
6355 self = self;
6356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxWindow_PrevControlId",_kwnames,&_arg0))
6357 return NULL;
6358{
4268f798 6359 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6360 _result = (int )wxWindow::PrevControlId(_arg0);
09f3d4e6 6361
4268f798 6362 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
6363 if (PyErr_Occurred()) return NULL;
6364} _resultobj = Py_BuildValue("i",_result);
6365 return _resultobj;
6366}
6367
76bfdc78
RD
6368#define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
6369static PyObject *_wrap_wxWindow_SetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
6370 PyObject * _resultobj;
6371 wxWindow * _arg0;
6372 wxAcceleratorTable * _arg1;
6373 PyObject * _argo0 = 0;
6374 PyObject * _argo1 = 0;
6375 char *_kwnames[] = { "self","accel", NULL };
6376
6377 self = self;
6378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetAcceleratorTable",_kwnames,&_argo0,&_argo1))
6379 return NULL;
6380 if (_argo0) {
6381 if (_argo0 == Py_None) { _arg0 = NULL; }
6382 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6383 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
6384 return NULL;
6385 }
6386 }
6387 if (_argo1) {
7e50db3f 6388 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxAcceleratorTable_p")) {
76bfdc78
RD
6389 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
6390 return NULL;
6391 }
6392 }
6393{
4268f798 6394 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6395 wxWindow_SetAcceleratorTable(_arg0,*_arg1);
76bfdc78 6396
4268f798 6397 wxPyEndAllowThreads(__tstate);
76bfdc78
RD
6398 if (PyErr_Occurred()) return NULL;
6399} Py_INCREF(Py_None);
6400 _resultobj = Py_None;
6401 return _resultobj;
6402}
6403
900d9886
RD
6404#define wxWindow_GetAcceleratorTable(_swigobj) (_swigobj->GetAcceleratorTable())
6405static PyObject *_wrap_wxWindow_GetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
6406 PyObject * _resultobj;
6407 wxAcceleratorTable * _result;
6408 wxWindow * _arg0;
6409 PyObject * _argo0 = 0;
6410 char *_kwnames[] = { "self", NULL };
6411 char _ptemp[128];
6412
6413 self = self;
6414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetAcceleratorTable",_kwnames,&_argo0))
6415 return NULL;
6416 if (_argo0) {
6417 if (_argo0 == Py_None) { _arg0 = NULL; }
6418 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6419 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetAcceleratorTable. Expected _wxWindow_p.");
6420 return NULL;
6421 }
6422 }
6423{
4268f798 6424 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6425 _result = (wxAcceleratorTable *)wxWindow_GetAcceleratorTable(_arg0);
900d9886 6426
4268f798 6427 wxPyEndAllowThreads(__tstate);
900d9886
RD
6428 if (PyErr_Occurred()) return NULL;
6429} if (_result) {
6430 SWIG_MakePtr(_ptemp, (char *) _result,"_wxAcceleratorTable_p");
6431 _resultobj = Py_BuildValue("s",_ptemp);
6432 } else {
6433 Py_INCREF(Py_None);
6434 _resultobj = Py_None;
6435 }
6436 return _resultobj;
6437}
6438
5a2a9da2
RD
6439static bool wxWindow_RegisterHotKey(wxWindow *self,int hotkeyId,int modifiers,int keycode) {
6440#if wxUSE_HOTKEY
6441 return self->RegisterHotKey(hotkeyId, modifiers, keycode);
6442#else
6443 return FALSE;
6444#endif
6445 }
6446static PyObject *_wrap_wxWindow_RegisterHotKey(PyObject *self, PyObject *args, PyObject *kwargs) {
6447 PyObject * _resultobj;
6448 bool _result;
6449 wxWindow * _arg0;
6450 int _arg1;
6451 int _arg2;
6452 int _arg3;
6453 PyObject * _argo0 = 0;
6454 char *_kwnames[] = { "self","hotkeyId","modifiers","keycode", NULL };
6455
6456 self = self;
6457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxWindow_RegisterHotKey",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
6458 return NULL;
6459 if (_argo0) {
6460 if (_argo0 == Py_None) { _arg0 = NULL; }
6461 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6462 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_RegisterHotKey. Expected _wxWindow_p.");
6463 return NULL;
6464 }
6465 }
6466{
6467 PyThreadState* __tstate = wxPyBeginAllowThreads();
6468 _result = (bool )wxWindow_RegisterHotKey(_arg0,_arg1,_arg2,_arg3);
6469
6470 wxPyEndAllowThreads(__tstate);
6471 if (PyErr_Occurred()) return NULL;
6472} _resultobj = Py_BuildValue("i",_result);
6473 return _resultobj;
6474}
6475
6476static bool wxWindow_UnregisterHotKey(wxWindow *self,int hotkeyId) {
6477#if wxUSE_HOTKEY
6478 return self->UnregisterHotKey(hotkeyId);
6479#else
6480 return FALSE;
6481#endif
6482 }
6483static PyObject *_wrap_wxWindow_UnregisterHotKey(PyObject *self, PyObject *args, PyObject *kwargs) {
6484 PyObject * _resultobj;
6485 bool _result;
6486 wxWindow * _arg0;
6487 int _arg1;
6488 PyObject * _argo0 = 0;
6489 char *_kwnames[] = { "self","hotkeyId", NULL };
6490
6491 self = self;
6492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_UnregisterHotKey",_kwnames,&_argo0,&_arg1))
6493 return NULL;
6494 if (_argo0) {
6495 if (_argo0 == Py_None) { _arg0 = NULL; }
6496 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6497 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_UnregisterHotKey. Expected _wxWindow_p.");
6498 return NULL;
6499 }
6500 }
6501{
6502 PyThreadState* __tstate = wxPyBeginAllowThreads();
6503 _result = (bool )wxWindow_UnregisterHotKey(_arg0,_arg1);
6504
6505 wxPyEndAllowThreads(__tstate);
6506 if (PyErr_Occurred()) return NULL;
6507} _resultobj = Py_BuildValue("i",_result);
6508 return _resultobj;
6509}
6510
07c99b26
RD
6511#define wxWindow_OnPaint(_swigobj,_swigarg0) (_swigobj->OnPaint(_swigarg0))
6512static PyObject *_wrap_wxWindow_OnPaint(PyObject *self, PyObject *args, PyObject *kwargs) {
78e8819c
RD
6513 PyObject * _resultobj;
6514 wxWindow * _arg0;
6515 wxPaintEvent * _arg1;
6516 PyObject * _argo0 = 0;
6517 PyObject * _argo1 = 0;
6518 char *_kwnames[] = { "self","event", NULL };
6519
6520 self = self;
07c99b26 6521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_OnPaint",_kwnames,&_argo0,&_argo1))
78e8819c
RD
6522 return NULL;
6523 if (_argo0) {
6524 if (_argo0 == Py_None) { _arg0 = NULL; }
6525 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
07c99b26 6526 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_OnPaint. Expected _wxWindow_p.");
78e8819c
RD
6527 return NULL;
6528 }
6529 }
6530 if (_argo1) {
7e50db3f 6531 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPaintEvent_p")) {
07c99b26 6532 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_OnPaint. Expected _wxPaintEvent_p.");
78e8819c
RD
6533 return NULL;
6534 }
6535 }
6536{
4268f798 6537 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6538 wxWindow_OnPaint(_arg0,*_arg1);
78e8819c 6539
4268f798 6540 wxPyEndAllowThreads(__tstate);
78e8819c
RD
6541 if (PyErr_Occurred()) return NULL;
6542} Py_INCREF(Py_None);
6543 _resultobj = Py_None;
6544 return _resultobj;
6545}
6546
5a2930ab
RD
6547#define wxWindow_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
6548static PyObject *_wrap_wxWindow_GetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
6549 PyObject * _resultobj;
26e335b8 6550 wxWindow * _result;
5a2930ab
RD
6551 wxWindow * _arg0;
6552 PyObject * _argo0 = 0;
6553 char *_kwnames[] = { "self", NULL };
6554
6555 self = self;
6556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetDefaultItem",_kwnames,&_argo0))
6557 return NULL;
6558 if (_argo0) {
6559 if (_argo0 == Py_None) { _arg0 = NULL; }
6560 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6561 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetDefaultItem. Expected _wxWindow_p.");
6562 return NULL;
6563 }
6564 }
6565{
6566 PyThreadState* __tstate = wxPyBeginAllowThreads();
26e335b8 6567 _result = (wxWindow *)wxWindow_GetDefaultItem(_arg0);
5a2930ab
RD
6568
6569 wxPyEndAllowThreads(__tstate);
6570 if (PyErr_Occurred()) return NULL;
6571}{ _resultobj = wxPyMake_wxObject(_result); }
6572 return _resultobj;
6573}
6574
6575#define wxWindow_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
6576static PyObject *_wrap_wxWindow_SetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
6577 PyObject * _resultobj;
26e335b8 6578 wxWindow * _result;
5a2930ab 6579 wxWindow * _arg0;
26e335b8 6580 wxWindow * _arg1;
5a2930ab
RD
6581 PyObject * _argo0 = 0;
6582 PyObject * _argo1 = 0;
6583 char *_kwnames[] = { "self","btn", NULL };
6584
6585 self = self;
6586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetDefaultItem",_kwnames,&_argo0,&_argo1))
6587 return NULL;
6588 if (_argo0) {
6589 if (_argo0 == Py_None) { _arg0 = NULL; }
6590 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6591 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetDefaultItem. Expected _wxWindow_p.");
6592 return NULL;
6593 }
6594 }
6595 if (_argo1) {
6596 if (_argo1 == Py_None) { _arg1 = NULL; }
26e335b8
RD
6597 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
6598 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetDefaultItem. Expected _wxWindow_p.");
5a2930ab
RD
6599 return NULL;
6600 }
6601 }
6602{
6603 PyThreadState* __tstate = wxPyBeginAllowThreads();
26e335b8 6604 _result = (wxWindow *)wxWindow_SetDefaultItem(_arg0,_arg1);
5a2930ab
RD
6605
6606 wxPyEndAllowThreads(__tstate);
6607 if (PyErr_Occurred()) return NULL;
26e335b8 6608}{ _resultobj = wxPyMake_wxObject(_result); }
5a2930ab
RD
6609 return _resultobj;
6610}
6611
0b85cc38
RD
6612#define wxWindow_SetTmpDefaultItem(_swigobj,_swigarg0) (_swigobj->SetTmpDefaultItem(_swigarg0))
6613static PyObject *_wrap_wxWindow_SetTmpDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
6614 PyObject * _resultobj;
6615 wxWindow * _arg0;
6616 wxWindow * _arg1;
6617 PyObject * _argo0 = 0;
6618 PyObject * _argo1 = 0;
6619 char *_kwnames[] = { "self","win", NULL };
6620
6621 self = self;
6622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetTmpDefaultItem",_kwnames,&_argo0,&_argo1))
6623 return NULL;
6624 if (_argo0) {
6625 if (_argo0 == Py_None) { _arg0 = NULL; }
6626 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6627 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetTmpDefaultItem. Expected _wxWindow_p.");
6628 return NULL;
6629 }
6630 }
6631 if (_argo1) {
6632 if (_argo1 == Py_None) { _arg1 = NULL; }
6633 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
6634 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetTmpDefaultItem. Expected _wxWindow_p.");
6635 return NULL;
6636 }
6637 }
6638{
6639 PyThreadState* __tstate = wxPyBeginAllowThreads();
6640 wxWindow_SetTmpDefaultItem(_arg0,_arg1);
6641
6642 wxPyEndAllowThreads(__tstate);
6643 if (PyErr_Occurred()) return NULL;
6644} Py_INCREF(Py_None);
6645 _resultobj = Py_None;
6646 return _resultobj;
6647}
6648
6d26dc89
RD
6649#define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
6650static PyObject *_wrap_wxWindow_WarpPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
6651 PyObject * _resultobj;
6652 wxWindow * _arg0;
6653 int _arg1;
6654 int _arg2;
6655 PyObject * _argo0 = 0;
6656 char *_kwnames[] = { "self","x","y", NULL };
6657
6658 self = self;
6659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxWindow_WarpPointer",_kwnames,&_argo0,&_arg1,&_arg2))
6660 return NULL;
6661 if (_argo0) {
6662 if (_argo0 == Py_None) { _arg0 = NULL; }
6663 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6664 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
6665 return NULL;
6666 }
6667 }
6668{
6669 PyThreadState* __tstate = wxPyBeginAllowThreads();
6670 wxWindow_WarpPointer(_arg0,_arg1,_arg2);
6671
6672 wxPyEndAllowThreads(__tstate);
6673 if (PyErr_Occurred()) return NULL;
6674} Py_INCREF(Py_None);
6675 _resultobj = Py_None;
6676 return _resultobj;
6677}
6678
6679#define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
6680static PyObject *_wrap_wxWindow_CaptureMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
6681 PyObject * _resultobj;
6682 wxWindow * _arg0;
6683 PyObject * _argo0 = 0;
6684 char *_kwnames[] = { "self", NULL };
6685
6686 self = self;
6687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_CaptureMouse",_kwnames,&_argo0))
6688 return NULL;
6689 if (_argo0) {
6690 if (_argo0 == Py_None) { _arg0 = NULL; }
6691 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6692 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
6693 return NULL;
6694 }
6695 }
6696{
6697 PyThreadState* __tstate = wxPyBeginAllowThreads();
6698 wxWindow_CaptureMouse(_arg0);
6699
6700 wxPyEndAllowThreads(__tstate);
6701 if (PyErr_Occurred()) return NULL;
6702} Py_INCREF(Py_None);
6703 _resultobj = Py_None;
6704 return _resultobj;
6705}
6706
6707#define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
6708static PyObject *_wrap_wxWindow_ReleaseMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
6709 PyObject * _resultobj;
6710 wxWindow * _arg0;
6711 PyObject * _argo0 = 0;
6712 char *_kwnames[] = { "self", NULL };
6713
6714 self = self;
6715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_ReleaseMouse",_kwnames,&_argo0))
6716 return NULL;
6717 if (_argo0) {
6718 if (_argo0 == Py_None) { _arg0 = NULL; }
6719 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6720 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
6721 return NULL;
6722 }
6723 }
6724{
6725 PyThreadState* __tstate = wxPyBeginAllowThreads();
6726 wxWindow_ReleaseMouse(_arg0);
6727
6728 wxPyEndAllowThreads(__tstate);
6729 if (PyErr_Occurred()) return NULL;
6730} Py_INCREF(Py_None);
6731 _resultobj = Py_None;
6732 return _resultobj;
6733}
6734
6735static PyObject *_wrap_wxWindow_GetCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
6736 PyObject * _resultobj;
6737 wxWindow * _result;
6738 char *_kwnames[] = { NULL };
6739
6740 self = self;
6741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxWindow_GetCapture",_kwnames))
6742 return NULL;
6743{
6744 PyThreadState* __tstate = wxPyBeginAllowThreads();
6745 _result = (wxWindow *)wxWindow::GetCapture();
6746
6747 wxPyEndAllowThreads(__tstate);
6748 if (PyErr_Occurred()) return NULL;
6749}{ _resultobj = wxPyMake_wxObject(_result); }
6750 return _resultobj;
6751}
6752
6753#define wxWindow_HasCapture(_swigobj) (_swigobj->HasCapture())
6754static PyObject *_wrap_wxWindow_HasCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
6755 PyObject * _resultobj;
6756 bool _result;
6757 wxWindow * _arg0;
6758 PyObject * _argo0 = 0;
6759 char *_kwnames[] = { "self", NULL };
6760
6761 self = self;
6762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_HasCapture",_kwnames,&_argo0))
6763 return NULL;
6764 if (_argo0) {
6765 if (_argo0 == Py_None) { _arg0 = NULL; }
6766 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6767 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_HasCapture. Expected _wxWindow_p.");
6768 return NULL;
6769 }
6770 }
6771{
6772 PyThreadState* __tstate = wxPyBeginAllowThreads();
6773 _result = (bool )wxWindow_HasCapture(_arg0);
6774
6775 wxPyEndAllowThreads(__tstate);
6776 if (PyErr_Occurred()) return NULL;
6777} _resultobj = Py_BuildValue("i",_result);
6778 return _resultobj;
6779}
6780
5a2a9da2
RD
6781#define wxWindow_SetThemeEnabled(_swigobj,_swigarg0) (_swigobj->SetThemeEnabled(_swigarg0))
6782static PyObject *_wrap_wxWindow_SetThemeEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
6783 PyObject * _resultobj;
6784 wxWindow * _arg0;
6785 bool _arg1;
6786 PyObject * _argo0 = 0;
6787 int tempbool1;
6788 char *_kwnames[] = { "self","enable", NULL };
6789
6790 self = self;
6791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_SetThemeEnabled",_kwnames,&_argo0,&tempbool1))
6792 return NULL;
6793 if (_argo0) {
6794 if (_argo0 == Py_None) { _arg0 = NULL; }
6795 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6796 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetThemeEnabled. Expected _wxWindow_p.");
6797 return NULL;
6798 }
6799 }
6800 _arg1 = (bool ) tempbool1;
6801{
6802 PyThreadState* __tstate = wxPyBeginAllowThreads();
6803 wxWindow_SetThemeEnabled(_arg0,_arg1);
6804
6805 wxPyEndAllowThreads(__tstate);
6806 if (PyErr_Occurred()) return NULL;
6807} Py_INCREF(Py_None);
6808 _resultobj = Py_None;
6809 return _resultobj;
6810}
6811
6812#define wxWindow_GetThemeEnabled(_swigobj) (_swigobj->GetThemeEnabled())
6813static PyObject *_wrap_wxWindow_GetThemeEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
6814 PyObject * _resultobj;
6815 bool _result;
6816 wxWindow * _arg0;
6817 PyObject * _argo0 = 0;
6818 char *_kwnames[] = { "self", NULL };
6819
6820 self = self;
6821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetThemeEnabled",_kwnames,&_argo0))
6822 return NULL;
6823 if (_argo0) {
6824 if (_argo0 == Py_None) { _arg0 = NULL; }
6825 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6826 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetThemeEnabled. Expected _wxWindow_p.");
6827 return NULL;
6828 }
6829 }
6830{
6831 PyThreadState* __tstate = wxPyBeginAllowThreads();
6832 _result = (bool )wxWindow_GetThemeEnabled(_arg0);
6833
6834 wxPyEndAllowThreads(__tstate);
6835 if (PyErr_Occurred()) return NULL;
6836} _resultobj = Py_BuildValue("i",_result);
6837 return _resultobj;
6838}
6839
6840#define wxWindow_GetBorderFlags(_swigobj,_swigarg0) (_swigobj->GetBorder(_swigarg0))
6841static PyObject *_wrap_wxWindow_GetBorderFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6842 PyObject * _resultobj;
6843 wxBorder _result;
6844 wxWindow * _arg0;
6845 long _arg1;
6846 PyObject * _argo0 = 0;
6847 char *_kwnames[] = { "self","flags", NULL };
6848
6849 self = self;
6850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxWindow_GetBorderFlags",_kwnames,&_argo0,&_arg1))
6851 return NULL;
6852 if (_argo0) {
6853 if (_argo0 == Py_None) { _arg0 = NULL; }
6854 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6855 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetBorderFlags. Expected _wxWindow_p.");
6856 return NULL;
6857 }
6858 }
6859{
6860 PyThreadState* __tstate = wxPyBeginAllowThreads();
6861 _result = (wxBorder )wxWindow_GetBorderFlags(_arg0,_arg1);
6862
6863 wxPyEndAllowThreads(__tstate);
6864 if (PyErr_Occurred()) return NULL;
6865} _resultobj = Py_BuildValue("i",_result);
6866 return _resultobj;
6867}
6868
6869#define wxWindow_GetBorder(_swigobj) (_swigobj->GetBorder())
6870static PyObject *_wrap_wxWindow_GetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6871 PyObject * _resultobj;
6872 wxBorder _result;
6873 wxWindow * _arg0;
6874 PyObject * _argo0 = 0;
6875 char *_kwnames[] = { "self", NULL };
6876
6877 self = self;
6878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetBorder",_kwnames,&_argo0))
6879 return NULL;
6880 if (_argo0) {
6881 if (_argo0 == Py_None) { _arg0 = NULL; }
6882 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6883 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetBorder. Expected _wxWindow_p.");
6884 return NULL;
6885 }
6886 }
6887{
6888 PyThreadState* __tstate = wxPyBeginAllowThreads();
6889 _result = (wxBorder )wxWindow_GetBorder(_arg0);
6890
6891 wxPyEndAllowThreads(__tstate);
6892 if (PyErr_Occurred()) return NULL;
6893} _resultobj = Py_BuildValue("i",_result);
6894 return _resultobj;
6895}
6896
8ab979d7
RD
6897static void *SwigwxPanelTowxWindow(void *ptr) {
6898 wxPanel *src;
6899 wxWindow *dest;
6900 src = (wxPanel *) ptr;
6901 dest = (wxWindow *) src;
6902 return (void *) dest;
6903}
6904
6905static void *SwigwxPanelTowxEvtHandler(void *ptr) {
6906 wxPanel *src;
6907 wxEvtHandler *dest;
6908 src = (wxPanel *) ptr;
6909 dest = (wxEvtHandler *) src;
6910 return (void *) dest;
6911}
6912
9416aa89
RD
6913static void *SwigwxPanelTowxObject(void *ptr) {
6914 wxPanel *src;
6915 wxObject *dest;
6916 src = (wxPanel *) ptr;
6917 dest = (wxObject *) src;
6918 return (void *) dest;
6919}
6920
8ab979d7 6921#define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
efc5f224 6922static PyObject *_wrap_new_wxPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6923 PyObject * _resultobj;
6924 wxPanel * _result;
6925 wxWindow * _arg0;
6926 wxWindowID _arg1;
e508a2b6
RD
6927 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
6928 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
1d99702e 6929 long _arg4 = (long ) wxTAB_TRAVERSAL;
137b5242 6930 wxString * _arg5 = (wxString *) &wxPyPanelNameStr;
1d99702e 6931 PyObject * _argo0 = 0;
2f90df85
RD
6932 wxPoint temp;
6933 PyObject * _obj2 = 0;
6934 wxSize temp0;
6935 PyObject * _obj3 = 0;
137b5242 6936 PyObject * _obj5 = 0;
efc5f224 6937 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
8ab979d7
RD
6938 char _ptemp[128];
6939
6940 self = self;
137b5242 6941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxPanel",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
8ab979d7 6942 return NULL;
1d99702e
RD
6943 if (_argo0) {
6944 if (_argo0 == Py_None) { _arg0 = NULL; }
6945 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
6946 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
6947 return NULL;
6948 }
6949 }
2f90df85
RD
6950 if (_obj2)
6951{
6952 _arg2 = &temp;
6953 if (! wxPoint_helper(_obj2, &_arg2))
8ab979d7 6954 return NULL;
2f90df85
RD
6955}
6956 if (_obj3)
6957{
6958 _arg3 = &temp0;
6959 if (! wxSize_helper(_obj3, &_arg3))
8ab979d7 6960 return NULL;
137b5242
RD
6961}
6962 if (_obj5)
6963{
6964 _arg5 = wxString_in_helper(_obj5);
6965 if (_arg5 == NULL)
6966 return NULL;
2f90df85 6967}
cf694132 6968{
4268f798 6969 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 6970 _result = (wxPanel *)new_wxPanel(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
cf694132 6971
4268f798 6972 wxPyEndAllowThreads(__tstate);
493f1553 6973 if (PyErr_Occurred()) return NULL;
1d99702e
RD
6974} if (_result) {
6975 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPanel_p");
6976 _resultobj = Py_BuildValue("s",_ptemp);
6977 } else {
6978 Py_INCREF(Py_None);
6979 _resultobj = Py_None;
6980 }
137b5242
RD
6981{
6982 if (_obj5)
6983 delete _arg5;
6984}
8ab979d7
RD
6985 return _resultobj;
6986}
6987
09f3d4e6
RD
6988#define new_wxPrePanel() (new wxPanel())
6989static PyObject *_wrap_new_wxPrePanel(PyObject *self, PyObject *args, PyObject *kwargs) {
6990 PyObject * _resultobj;
6991 wxPanel * _result;
6992 char *_kwnames[] = { NULL };
6993 char _ptemp[128];
6994
6995 self = self;
6996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPrePanel",_kwnames))
6997 return NULL;
6998{
4268f798 6999 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7000 _result = (wxPanel *)new_wxPrePanel();
09f3d4e6 7001
4268f798 7002 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
7003 if (PyErr_Occurred()) return NULL;
7004} if (_result) {
7005 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPanel_p");
7006 _resultobj = Py_BuildValue("s",_ptemp);
7007 } else {
7008 Py_INCREF(Py_None);
7009 _resultobj = Py_None;
7010 }
7011 return _resultobj;
7012}
7013
7014#define wxPanel_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7015static PyObject *_wrap_wxPanel_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7016 PyObject * _resultobj;
7017 bool _result;
7018 wxPanel * _arg0;
7019 wxWindow * _arg1;
7020 wxWindowID _arg2;
7021 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
7022 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
7023 long _arg5 = (long ) wxTAB_TRAVERSAL;
137b5242 7024 wxString * _arg6 = (wxString *) &wxPyPanelNameStr;
09f3d4e6
RD
7025 PyObject * _argo0 = 0;
7026 PyObject * _argo1 = 0;
7027 wxPoint temp;
7028 PyObject * _obj3 = 0;
7029 wxSize temp0;
7030 PyObject * _obj4 = 0;
137b5242 7031 PyObject * _obj6 = 0;
09f3d4e6
RD
7032 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
7033
7034 self = self;
137b5242 7035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOlO:wxPanel_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
09f3d4e6
RD
7036 return NULL;
7037 if (_argo0) {
7038 if (_argo0 == Py_None) { _arg0 = NULL; }
7039 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPanel_p")) {
7040 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPanel_Create. Expected _wxPanel_p.");
7041 return NULL;
7042 }
7043 }
7044 if (_argo1) {
7045 if (_argo1 == Py_None) { _arg1 = NULL; }
7046 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
7047 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPanel_Create. Expected _wxWindow_p.");
7048 return NULL;
7049 }
7050 }
7051 if (_obj3)
7052{
7053 _arg3 = &temp;
7054 if (! wxPoint_helper(_obj3, &_arg3))
7055 return NULL;
7056}
7057 if (_obj4)
7058{
7059 _arg4 = &temp0;
7060 if (! wxSize_helper(_obj4, &_arg4))
7061 return NULL;
137b5242
RD
7062}
7063 if (_obj6)
7064{
7065 _arg6 = wxString_in_helper(_obj6);
7066 if (_arg6 == NULL)
7067 return NULL;
09f3d4e6
RD
7068}
7069{
4268f798 7070 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 7071 _result = (bool )wxPanel_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
09f3d4e6 7072
4268f798 7073 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
7074 if (PyErr_Occurred()) return NULL;
7075} _resultobj = Py_BuildValue("i",_result);
137b5242
RD
7076{
7077 if (_obj6)
7078 delete _arg6;
7079}
09f3d4e6
RD
7080 return _resultobj;
7081}
7082
8ab979d7 7083#define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
efc5f224 7084static PyObject *_wrap_wxPanel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7085 PyObject * _resultobj;
7086 wxPanel * _arg0;
1d99702e 7087 PyObject * _argo0 = 0;
efc5f224 7088 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
7089
7090 self = self;
efc5f224 7091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPanel_InitDialog",_kwnames,&_argo0))
8ab979d7 7092 return NULL;
1d99702e
RD
7093 if (_argo0) {
7094 if (_argo0 == Py_None) { _arg0 = NULL; }
7095 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPanel_p")) {
8ab979d7
RD
7096 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
7097 return NULL;
7098 }
7099 }
cf694132 7100{
4268f798 7101 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7102 wxPanel_InitDialog(_arg0);
cf694132 7103
4268f798 7104 wxPyEndAllowThreads(__tstate);
493f1553 7105 if (PyErr_Occurred()) return NULL;
cf694132 7106} Py_INCREF(Py_None);
8ab979d7
RD
7107 _resultobj = Py_None;
7108 return _resultobj;
7109}
7110
bb0054cd
RD
7111static void *SwigwxScrolledWindowTowxPanel(void *ptr) {
7112 wxScrolledWindow *src;
7113 wxPanel *dest;
7114 src = (wxScrolledWindow *) ptr;
7115 dest = (wxPanel *) src;
7116 return (void *) dest;
7117}
7118
8ab979d7
RD
7119static void *SwigwxScrolledWindowTowxWindow(void *ptr) {
7120 wxScrolledWindow *src;
7121 wxWindow *dest;
7122 src = (wxScrolledWindow *) ptr;
7123 dest = (wxWindow *) src;
7124 return (void *) dest;
7125}
7126
7127static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr) {
7128 wxScrolledWindow *src;
7129 wxEvtHandler *dest;
7130 src = (wxScrolledWindow *) ptr;
7131 dest = (wxEvtHandler *) src;
7132 return (void *) dest;
7133}
7134
9416aa89
RD
7135static void *SwigwxScrolledWindowTowxObject(void *ptr) {
7136 wxScrolledWindow *src;
7137 wxObject *dest;
7138 src = (wxScrolledWindow *) ptr;
7139 dest = (wxObject *) src;
7140 return (void *) dest;
7141}
7142
8ab979d7 7143#define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
efc5f224 7144static PyObject *_wrap_new_wxScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7145 PyObject * _resultobj;
7146 wxScrolledWindow * _result;
7147 wxWindow * _arg0;
1d99702e 7148 wxWindowID _arg1 = (wxWindowID ) -1;
e508a2b6
RD
7149 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
7150 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
1d99702e 7151 long _arg4 = (long ) wxHSCROLL|wxVSCROLL;
137b5242 7152 wxString * _arg5 = (wxString *) &wxPyPanelNameStr;
1d99702e 7153 PyObject * _argo0 = 0;
2f90df85
RD
7154 wxPoint temp;
7155 PyObject * _obj2 = 0;
7156 wxSize temp0;
7157 PyObject * _obj3 = 0;
137b5242 7158 PyObject * _obj5 = 0;
efc5f224 7159 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
8ab979d7
RD
7160 char _ptemp[128];
7161
7162 self = self;
137b5242 7163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlO:new_wxScrolledWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
8ab979d7 7164 return NULL;
1d99702e
RD
7165 if (_argo0) {
7166 if (_argo0 == Py_None) { _arg0 = NULL; }
7167 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
7168 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
7169 return NULL;
7170 }
7171 }
2f90df85
RD
7172 if (_obj2)
7173{
7174 _arg2 = &temp;
7175 if (! wxPoint_helper(_obj2, &_arg2))
8ab979d7 7176 return NULL;
2f90df85
RD
7177}
7178 if (_obj3)
7179{
7180 _arg3 = &temp0;
7181 if (! wxSize_helper(_obj3, &_arg3))
8ab979d7 7182 return NULL;
137b5242
RD
7183}
7184 if (_obj5)
7185{
7186 _arg5 = wxString_in_helper(_obj5);
7187 if (_arg5 == NULL)
7188 return NULL;
2f90df85 7189}
cf694132 7190{
4268f798 7191 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 7192 _result = (wxScrolledWindow *)new_wxScrolledWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
cf694132 7193
4268f798 7194 wxPyEndAllowThreads(__tstate);
493f1553 7195 if (PyErr_Occurred()) return NULL;
1d99702e
RD
7196} if (_result) {
7197 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrolledWindow_p");
7198 _resultobj = Py_BuildValue("s",_ptemp);
7199 } else {
7200 Py_INCREF(Py_None);
7201 _resultobj = Py_None;
7202 }
137b5242
RD
7203{
7204 if (_obj5)
7205 delete _arg5;
7206}
8ab979d7
RD
7207 return _resultobj;
7208}
7209
09f3d4e6
RD
7210#define new_wxPreScrolledWindow() (new wxScrolledWindow())
7211static PyObject *_wrap_new_wxPreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7212 PyObject * _resultobj;
7213 wxScrolledWindow * _result;
7214 char *_kwnames[] = { NULL };
7215 char _ptemp[128];
7216
7217 self = self;
7218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreScrolledWindow",_kwnames))
7219 return NULL;
7220{
4268f798 7221 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7222 _result = (wxScrolledWindow *)new_wxPreScrolledWindow();
09f3d4e6 7223
4268f798 7224 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
7225 if (PyErr_Occurred()) return NULL;
7226} if (_result) {
7227 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrolledWindow_p");
7228 _resultobj = Py_BuildValue("s",_ptemp);
7229 } else {
7230 Py_INCREF(Py_None);
7231 _resultobj = Py_None;
7232 }
7233 return _resultobj;
7234}
7235
7236#define wxScrolledWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7237static PyObject *_wrap_wxScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7238 PyObject * _resultobj;
7239 bool _result;
7240 wxScrolledWindow * _arg0;
7241 wxWindow * _arg1;
7242 wxWindowID _arg2 = (wxWindowID ) -1;
7243 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
7244 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
7245 long _arg5 = (long ) wxHSCROLL|wxVSCROLL;
137b5242 7246 wxString * _arg6 = (wxString *) &wxPyPanelNameStr;
09f3d4e6
RD
7247 PyObject * _argo0 = 0;
7248 PyObject * _argo1 = 0;
7249 wxPoint temp;
7250 PyObject * _obj3 = 0;
7251 wxSize temp0;
7252 PyObject * _obj4 = 0;
137b5242 7253 PyObject * _obj6 = 0;
09f3d4e6
RD
7254 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
7255
7256 self = self;
137b5242 7257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlO:wxScrolledWindow_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
09f3d4e6
RD
7258 return NULL;
7259 if (_argo0) {
7260 if (_argo0 == Py_None) { _arg0 = NULL; }
7261 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7262 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_Create. Expected _wxScrolledWindow_p.");
7263 return NULL;
7264 }
7265 }
7266 if (_argo1) {
7267 if (_argo1 == Py_None) { _arg1 = NULL; }
7268 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
7269 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxScrolledWindow_Create. Expected _wxWindow_p.");
7270 return NULL;
7271 }
7272 }
7273 if (_obj3)
7274{
7275 _arg3 = &temp;
7276 if (! wxPoint_helper(_obj3, &_arg3))
7277 return NULL;
7278}
7279 if (_obj4)
7280{
7281 _arg4 = &temp0;
7282 if (! wxSize_helper(_obj4, &_arg4))
7283 return NULL;
137b5242
RD
7284}
7285 if (_obj6)
7286{
7287 _arg6 = wxString_in_helper(_obj6);
7288 if (_arg6 == NULL)
7289 return NULL;
09f3d4e6
RD
7290}
7291{
4268f798 7292 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 7293 _result = (bool )wxScrolledWindow_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
09f3d4e6 7294
4268f798 7295 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
7296 if (PyErr_Occurred()) return NULL;
7297} _resultobj = Py_BuildValue("i",_result);
137b5242
RD
7298{
7299 if (_obj6)
7300 delete _arg6;
7301}
09f3d4e6
RD
7302 return _resultobj;
7303}
7304
8ab979d7 7305#define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
efc5f224 7306static PyObject *_wrap_wxScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7307 PyObject * _resultobj;
7308 wxScrolledWindow * _arg0;
7309 bool _arg1;
7310 bool _arg2;
1d99702e 7311 PyObject * _argo0 = 0;
8ab979d7
RD
7312 int tempbool1;
7313 int tempbool2;
efc5f224 7314 char *_kwnames[] = { "self","xScrolling","yScrolling", NULL };
8ab979d7
RD
7315
7316 self = self;
efc5f224 7317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxScrolledWindow_EnableScrolling",_kwnames,&_argo0,&tempbool1,&tempbool2))
8ab979d7 7318 return NULL;
1d99702e
RD
7319 if (_argo0) {
7320 if (_argo0 == Py_None) { _arg0 = NULL; }
7321 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
8ab979d7
RD
7322 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
7323 return NULL;
7324 }
7325 }
7326 _arg1 = (bool ) tempbool1;
7327 _arg2 = (bool ) tempbool2;
cf694132 7328{
4268f798 7329 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7330 wxScrolledWindow_EnableScrolling(_arg0,_arg1,_arg2);
cf694132 7331
4268f798 7332 wxPyEndAllowThreads(__tstate);
493f1553 7333 if (PyErr_Occurred()) return NULL;
cf694132 7334} Py_INCREF(Py_None);
8ab979d7
RD
7335 _resultobj = Py_None;
7336 return _resultobj;
7337}
7338
b7e72427
RD
7339#define wxScrolledWindow_GetScrollPageSize(_swigobj,_swigarg0) (_swigobj->GetScrollPageSize(_swigarg0))
7340static PyObject *_wrap_wxScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7341 PyObject * _resultobj;
7342 int _result;
7343 wxScrolledWindow * _arg0;
7344 int _arg1;
7345 PyObject * _argo0 = 0;
7346 char *_kwnames[] = { "self","orient", NULL };
7347
7348 self = self;
7349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxScrolledWindow_GetScrollPageSize",_kwnames,&_argo0,&_arg1))
7350 return NULL;
7351 if (_argo0) {
7352 if (_argo0 == Py_None) { _arg0 = NULL; }
7353 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7354 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetScrollPageSize. Expected _wxScrolledWindow_p.");
7355 return NULL;
7356 }
7357 }
7358{
4268f798 7359 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7360 _result = (int )wxScrolledWindow_GetScrollPageSize(_arg0,_arg1);
b7e72427 7361
4268f798 7362 wxPyEndAllowThreads(__tstate);
493f1553 7363 if (PyErr_Occurred()) return NULL;
b7e72427
RD
7364} _resultobj = Py_BuildValue("i",_result);
7365 return _resultobj;
7366}
7367
8ab979d7 7368#define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
efc5f224 7369static PyObject *_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7370 PyObject * _resultobj;
7371 wxScrolledWindow * _arg0;
7372 int * _arg1;
7373 int temp;
7374 int * _arg2;
7375 int temp0;
1d99702e 7376 PyObject * _argo0 = 0;
efc5f224 7377 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
7378
7379 self = self;
7380{
7381 _arg1 = &temp;
7382}
7383{
7384 _arg2 = &temp0;
7385}
efc5f224 7386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames,&_argo0))
8ab979d7 7387 return NULL;
1d99702e
RD
7388 if (_argo0) {
7389 if (_argo0 == Py_None) { _arg0 = NULL; }
7390 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
8ab979d7
RD
7391 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
7392 return NULL;
7393 }
7394 }
cf694132 7395{
4268f798 7396 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7397 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0,_arg1,_arg2);
cf694132 7398
4268f798 7399 wxPyEndAllowThreads(__tstate);
493f1553 7400 if (PyErr_Occurred()) return NULL;
cf694132 7401} Py_INCREF(Py_None);
8ab979d7
RD
7402 _resultobj = Py_None;
7403{
7404 PyObject *o;
7405 o = PyInt_FromLong((long) (*_arg1));
7406 _resultobj = t_output_helper(_resultobj, o);
7407}
7408{
7409 PyObject *o;
7410 o = PyInt_FromLong((long) (*_arg2));
7411 _resultobj = t_output_helper(_resultobj, o);
7412}
7413 return _resultobj;
7414}
7415
b7e72427
RD
7416#define wxScrolledWindow_GetTargetWindow(_swigobj) (_swigobj->GetTargetWindow())
7417static PyObject *_wrap_wxScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7418 PyObject * _resultobj;
7419 wxWindow * _result;
7420 wxScrolledWindow * _arg0;
7421 PyObject * _argo0 = 0;
7422 char *_kwnames[] = { "self", NULL };
b7e72427
RD
7423
7424 self = self;
7425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_GetTargetWindow",_kwnames,&_argo0))
7426 return NULL;
7427 if (_argo0) {
7428 if (_argo0 == Py_None) { _arg0 = NULL; }
7429 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7430 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetTargetWindow. Expected _wxScrolledWindow_p.");
7431 return NULL;
7432 }
7433 }
7434{
4268f798 7435 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7436 _result = (wxWindow *)wxScrolledWindow_GetTargetWindow(_arg0);
b7e72427 7437
4268f798 7438 wxPyEndAllowThreads(__tstate);
493f1553 7439 if (PyErr_Occurred()) return NULL;
9416aa89 7440}{ _resultobj = wxPyMake_wxObject(_result); }
b7e72427
RD
7441 return _resultobj;
7442}
7443
8ab979d7 7444#define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
efc5f224 7445static PyObject *_wrap_wxScrolledWindow_IsRetained(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7446 PyObject * _resultobj;
7447 bool _result;
7448 wxScrolledWindow * _arg0;
1d99702e 7449 PyObject * _argo0 = 0;
efc5f224 7450 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
7451
7452 self = self;
efc5f224 7453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_IsRetained",_kwnames,&_argo0))
8ab979d7 7454 return NULL;
1d99702e
RD
7455 if (_argo0) {
7456 if (_argo0 == Py_None) { _arg0 = NULL; }
7457 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
8ab979d7
RD
7458 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
7459 return NULL;
7460 }
7461 }
cf694132 7462{
4268f798 7463 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7464 _result = (bool )wxScrolledWindow_IsRetained(_arg0);
cf694132 7465
4268f798 7466 wxPyEndAllowThreads(__tstate);
493f1553 7467 if (PyErr_Occurred()) return NULL;
cf694132 7468} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7469 return _resultobj;
7470}
7471
7472#define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
efc5f224 7473static PyObject *_wrap_wxScrolledWindow_PrepareDC(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7474 PyObject * _resultobj;
7475 wxScrolledWindow * _arg0;
7476 wxDC * _arg1;
1d99702e
RD
7477 PyObject * _argo0 = 0;
7478 PyObject * _argo1 = 0;
efc5f224 7479 char *_kwnames[] = { "self","dc", NULL };
8ab979d7
RD
7480
7481 self = self;
efc5f224 7482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxScrolledWindow_PrepareDC",_kwnames,&_argo0,&_argo1))
8ab979d7 7483 return NULL;
1d99702e
RD
7484 if (_argo0) {
7485 if (_argo0 == Py_None) { _arg0 = NULL; }
7486 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
8ab979d7
RD
7487 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
7488 return NULL;
7489 }
7490 }
1d99702e 7491 if (_argo1) {
7e50db3f 7492 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8ab979d7
RD
7493 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
7494 return NULL;
7495 }
7496 }
cf694132 7497{
4268f798 7498 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7499 wxScrolledWindow_PrepareDC(_arg0,*_arg1);
cf694132 7500
4268f798 7501 wxPyEndAllowThreads(__tstate);
493f1553 7502 if (PyErr_Occurred()) return NULL;
cf694132 7503} Py_INCREF(Py_None);
8ab979d7
RD
7504 _resultobj = Py_None;
7505 return _resultobj;
7506}
7507
7508#define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
efc5f224 7509static PyObject *_wrap_wxScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7510 PyObject * _resultobj;
7511 wxScrolledWindow * _arg0;
7512 int _arg1;
7513 int _arg2;
1d99702e 7514 PyObject * _argo0 = 0;
efc5f224 7515 char *_kwnames[] = { "self","x","y", NULL };
8ab979d7
RD
7516
7517 self = self;
efc5f224 7518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxScrolledWindow_Scroll",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 7519 return NULL;
1d99702e
RD
7520 if (_argo0) {
7521 if (_argo0 == Py_None) { _arg0 = NULL; }
7522 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
8ab979d7
RD
7523 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
7524 return NULL;
7525 }
7526 }
cf694132 7527{
4268f798 7528 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7529 wxScrolledWindow_Scroll(_arg0,_arg1,_arg2);
cf694132 7530
4268f798 7531 wxPyEndAllowThreads(__tstate);
493f1553 7532 if (PyErr_Occurred()) return NULL;
cf694132 7533} Py_INCREF(Py_None);
8ab979d7
RD
7534 _resultobj = Py_None;
7535 return _resultobj;
7536}
7537
f6bcfd97 7538#define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
efc5f224 7539static PyObject *_wrap_wxScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7540 PyObject * _resultobj;
7541 wxScrolledWindow * _arg0;
7542 int _arg1;
7543 int _arg2;
7544 int _arg3;
7545 int _arg4;
1d99702e
RD
7546 int _arg5 = (int ) 0;
7547 int _arg6 = (int ) 0;
f6bcfd97 7548 int _arg7 = (int ) FALSE;
1d99702e 7549 PyObject * _argo0 = 0;
f6bcfd97 7550 char *_kwnames[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos","noRefresh", NULL };
8ab979d7
RD
7551
7552 self = self;
f6bcfd97 7553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|iii:wxScrolledWindow_SetScrollbars",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6,&_arg7))
8ab979d7 7554 return NULL;
1d99702e
RD
7555 if (_argo0) {
7556 if (_argo0 == Py_None) { _arg0 = NULL; }
7557 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
8ab979d7
RD
7558 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
7559 return NULL;
7560 }
7561 }
cf694132 7562{
4268f798 7563 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7564 wxScrolledWindow_SetScrollbars(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7);
cf694132 7565
4268f798 7566 wxPyEndAllowThreads(__tstate);
493f1553 7567 if (PyErr_Occurred()) return NULL;
cf694132 7568} Py_INCREF(Py_None);
8ab979d7
RD
7569 _resultobj = Py_None;
7570 return _resultobj;
7571}
7572
b7e72427
RD
7573#define wxScrolledWindow_SetScrollPageSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScrollPageSize(_swigarg0,_swigarg1))
7574static PyObject *_wrap_wxScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7575 PyObject * _resultobj;
7576 wxScrolledWindow * _arg0;
7577 int _arg1;
7578 int _arg2;
7579 PyObject * _argo0 = 0;
7580 char *_kwnames[] = { "self","orient","pageSize", NULL };
7581
7582 self = self;
7583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxScrolledWindow_SetScrollPageSize",_kwnames,&_argo0,&_arg1,&_arg2))
7584 return NULL;
7585 if (_argo0) {
7586 if (_argo0 == Py_None) { _arg0 = NULL; }
7587 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7588 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_SetScrollPageSize. Expected _wxScrolledWindow_p.");
7589 return NULL;
7590 }
7591 }
7592{
4268f798 7593 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7594 wxScrolledWindow_SetScrollPageSize(_arg0,_arg1,_arg2);
b7e72427 7595
4268f798 7596 wxPyEndAllowThreads(__tstate);
493f1553 7597 if (PyErr_Occurred()) return NULL;
b7e72427
RD
7598} Py_INCREF(Py_None);
7599 _resultobj = Py_None;
7600 return _resultobj;
7601}
7602
eb715945
RD
7603#define wxScrolledWindow_SetTargetWindow(_swigobj,_swigarg0) (_swigobj->SetTargetWindow(_swigarg0))
7604static PyObject *_wrap_wxScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7605 PyObject * _resultobj;
7606 wxScrolledWindow * _arg0;
7607 wxWindow * _arg1;
7608 PyObject * _argo0 = 0;
7609 PyObject * _argo1 = 0;
7610 char *_kwnames[] = { "self","window", NULL };
7611
7612 self = self;
7613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxScrolledWindow_SetTargetWindow",_kwnames,&_argo0,&_argo1))
7614 return NULL;
7615 if (_argo0) {
7616 if (_argo0 == Py_None) { _arg0 = NULL; }
7617 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7618 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_SetTargetWindow. Expected _wxScrolledWindow_p.");
7619 return NULL;
7620 }
7621 }
7622 if (_argo1) {
7623 if (_argo1 == Py_None) { _arg1 = NULL; }
7624 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
7625 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxScrolledWindow_SetTargetWindow. Expected _wxWindow_p.");
7626 return NULL;
7627 }
7628 }
7629{
4268f798 7630 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7631 wxScrolledWindow_SetTargetWindow(_arg0,_arg1);
eb715945 7632
4268f798 7633 wxPyEndAllowThreads(__tstate);
493f1553 7634 if (PyErr_Occurred()) return NULL;
eb715945
RD
7635} Py_INCREF(Py_None);
7636 _resultobj = Py_None;
7637 return _resultobj;
7638}
7639
4c9993c3
RD
7640#define wxScrolledWindow_GetViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetViewStart(_swigarg0,_swigarg1))
7641static PyObject *_wrap_wxScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
7642 PyObject * _resultobj;
7643 wxScrolledWindow * _arg0;
7644 int * _arg1;
7645 int temp;
7646 int * _arg2;
7647 int temp0;
7648 PyObject * _argo0 = 0;
7649 char *_kwnames[] = { "self", NULL };
7650
7651 self = self;
7652{
7653 _arg1 = &temp;
7654}
7655{
7656 _arg2 = &temp0;
7657}
7658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_GetViewStart",_kwnames,&_argo0))
7659 return NULL;
7660 if (_argo0) {
7661 if (_argo0 == Py_None) { _arg0 = NULL; }
7662 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7663 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetViewStart. Expected _wxScrolledWindow_p.");
7664 return NULL;
7665 }
7666 }
7667{
4268f798 7668 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7669 wxScrolledWindow_GetViewStart(_arg0,_arg1,_arg2);
4c9993c3 7670
4268f798 7671 wxPyEndAllowThreads(__tstate);
493f1553 7672 if (PyErr_Occurred()) return NULL;
4c9993c3
RD
7673} Py_INCREF(Py_None);
7674 _resultobj = Py_None;
7675{
7676 PyObject *o;
7677 o = PyInt_FromLong((long) (*_arg1));
7678 _resultobj = t_output_helper(_resultobj, o);
7679}
7680{
7681 PyObject *o;
7682 o = PyInt_FromLong((long) (*_arg2));
7683 _resultobj = t_output_helper(_resultobj, o);
7684}
7685 return _resultobj;
7686}
7687
e9159fe8
RD
7688#define wxScrolledWindow_CalcScrolledPosition1(_swigobj,_swigarg0) (_swigobj->CalcScrolledPosition(_swigarg0))
7689static PyObject *_wrap_wxScrolledWindow_CalcScrolledPosition1(PyObject *self, PyObject *args, PyObject *kwargs) {
7690 PyObject * _resultobj;
7691 wxPoint * _result;
7692 wxScrolledWindow * _arg0;
7693 wxPoint * _arg1;
7694 PyObject * _argo0 = 0;
7695 wxPoint temp;
7696 PyObject * _obj1 = 0;
7697 char *_kwnames[] = { "self","pt", NULL };
7698 char _ptemp[128];
7699
7700 self = self;
7701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxScrolledWindow_CalcScrolledPosition1",_kwnames,&_argo0,&_obj1))
7702 return NULL;
7703 if (_argo0) {
7704 if (_argo0 == Py_None) { _arg0 = NULL; }
7705 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7706 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition1. Expected _wxScrolledWindow_p.");
7707 return NULL;
7708 }
7709 }
7710{
7711 _arg1 = &temp;
7712 if (! wxPoint_helper(_obj1, &_arg1))
7713 return NULL;
7714}
7715{
7716 PyThreadState* __tstate = wxPyBeginAllowThreads();
7717 _result = new wxPoint (wxScrolledWindow_CalcScrolledPosition1(_arg0,*_arg1));
7718
7719 wxPyEndAllowThreads(__tstate);
7720 if (PyErr_Occurred()) return NULL;
7721} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
7722 _resultobj = Py_BuildValue("s",_ptemp);
7723 return _resultobj;
7724}
7725
7726#define wxScrolledWindow_CalcScrolledPosition2(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcScrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7727static PyObject *_wrap_wxScrolledWindow_CalcScrolledPosition2(PyObject *self, PyObject *args, PyObject *kwargs) {
9d8bd15f
RD
7728 PyObject * _resultobj;
7729 wxScrolledWindow * _arg0;
7730 int _arg1;
7731 int _arg2;
7732 int * _arg3;
7733 int temp;
7734 int * _arg4;
7735 int temp0;
7736 PyObject * _argo0 = 0;
7737 char *_kwnames[] = { "self","x","y", NULL };
7738
7739 self = self;
7740{
7741 _arg3 = &temp;
7742}
7743{
7744 _arg4 = &temp0;
7745}
e9159fe8 7746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxScrolledWindow_CalcScrolledPosition2",_kwnames,&_argo0,&_arg1,&_arg2))
9d8bd15f
RD
7747 return NULL;
7748 if (_argo0) {
7749 if (_argo0 == Py_None) { _arg0 = NULL; }
7750 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
e9159fe8 7751 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition2. Expected _wxScrolledWindow_p.");
9d8bd15f
RD
7752 return NULL;
7753 }
7754 }
7755{
4268f798 7756 PyThreadState* __tstate = wxPyBeginAllowThreads();
e9159fe8 7757 wxScrolledWindow_CalcScrolledPosition2(_arg0,_arg1,_arg2,_arg3,_arg4);
9d8bd15f 7758
4268f798 7759 wxPyEndAllowThreads(__tstate);
493f1553 7760 if (PyErr_Occurred()) return NULL;
9d8bd15f
RD
7761} Py_INCREF(Py_None);
7762 _resultobj = Py_None;
7763{
7764 PyObject *o;
7765 o = PyInt_FromLong((long) (*_arg3));
7766 _resultobj = t_output_helper(_resultobj, o);
7767}
7768{
7769 PyObject *o;
7770 o = PyInt_FromLong((long) (*_arg4));
7771 _resultobj = t_output_helper(_resultobj, o);
7772}
7773 return _resultobj;
7774}
7775
e9159fe8
RD
7776#define wxScrolledWindow_CalcUnscrolledPosition1(_swigobj,_swigarg0) (_swigobj->CalcUnscrolledPosition(_swigarg0))
7777static PyObject *_wrap_wxScrolledWindow_CalcUnscrolledPosition1(PyObject *self, PyObject *args, PyObject *kwargs) {
7778 PyObject * _resultobj;
7779 wxPoint * _result;
7780 wxScrolledWindow * _arg0;
7781 wxPoint * _arg1;
7782 PyObject * _argo0 = 0;
7783 wxPoint temp;
7784 PyObject * _obj1 = 0;
7785 char *_kwnames[] = { "self","pt", NULL };
7786 char _ptemp[128];
7787
7788 self = self;
7789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxScrolledWindow_CalcUnscrolledPosition1",_kwnames,&_argo0,&_obj1))
7790 return NULL;
7791 if (_argo0) {
7792 if (_argo0 == Py_None) { _arg0 = NULL; }
7793 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7794 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition1. Expected _wxScrolledWindow_p.");
7795 return NULL;
7796 }
7797 }
7798{
7799 _arg1 = &temp;
7800 if (! wxPoint_helper(_obj1, &_arg1))
7801 return NULL;
7802}
7803{
7804 PyThreadState* __tstate = wxPyBeginAllowThreads();
7805 _result = new wxPoint (wxScrolledWindow_CalcUnscrolledPosition1(_arg0,*_arg1));
7806
7807 wxPyEndAllowThreads(__tstate);
7808 if (PyErr_Occurred()) return NULL;
7809} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
7810 _resultobj = Py_BuildValue("s",_ptemp);
7811 return _resultobj;
7812}
7813
7814#define wxScrolledWindow_CalcUnscrolledPosition2(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcUnscrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7815static PyObject *_wrap_wxScrolledWindow_CalcUnscrolledPosition2(PyObject *self, PyObject *args, PyObject *kwargs) {
9d8bd15f
RD
7816 PyObject * _resultobj;
7817 wxScrolledWindow * _arg0;
7818 int _arg1;
7819 int _arg2;
7820 int * _arg3;
7821 int temp;
7822 int * _arg4;
7823 int temp0;
7824 PyObject * _argo0 = 0;
7825 char *_kwnames[] = { "self","x","y", NULL };
7826
7827 self = self;
7828{
7829 _arg3 = &temp;
7830}
7831{
7832 _arg4 = &temp0;
7833}
e9159fe8 7834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxScrolledWindow_CalcUnscrolledPosition2",_kwnames,&_argo0,&_arg1,&_arg2))
9d8bd15f
RD
7835 return NULL;
7836 if (_argo0) {
7837 if (_argo0 == Py_None) { _arg0 = NULL; }
7838 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
e9159fe8 7839 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition2. Expected _wxScrolledWindow_p.");
9d8bd15f
RD
7840 return NULL;
7841 }
7842 }
7843{
4268f798 7844 PyThreadState* __tstate = wxPyBeginAllowThreads();
e9159fe8 7845 wxScrolledWindow_CalcUnscrolledPosition2(_arg0,_arg1,_arg2,_arg3,_arg4);
9d8bd15f 7846
4268f798 7847 wxPyEndAllowThreads(__tstate);
493f1553 7848 if (PyErr_Occurred()) return NULL;
9d8bd15f
RD
7849} Py_INCREF(Py_None);
7850 _resultobj = Py_None;
7851{
7852 PyObject *o;
7853 o = PyInt_FromLong((long) (*_arg3));
7854 _resultobj = t_output_helper(_resultobj, o);
7855}
7856{
7857 PyObject *o;
7858 o = PyInt_FromLong((long) (*_arg4));
7859 _resultobj = t_output_helper(_resultobj, o);
7860}
7861 return _resultobj;
7862}
7863
d1679124
RD
7864#define wxScrolledWindow_SetScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScale(_swigarg0,_swigarg1))
7865static PyObject *_wrap_wxScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
7866 PyObject * _resultobj;
7867 wxScrolledWindow * _arg0;
7868 double _arg1;
7869 double _arg2;
7870 PyObject * _argo0 = 0;
7871 char *_kwnames[] = { "self","xs","ys", NULL };
7872
7873 self = self;
7874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxScrolledWindow_SetScale",_kwnames,&_argo0,&_arg1,&_arg2))
7875 return NULL;
7876 if (_argo0) {
7877 if (_argo0 == Py_None) { _arg0 = NULL; }
7878 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7879 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_SetScale. Expected _wxScrolledWindow_p.");
7880 return NULL;
7881 }
7882 }
7883{
4268f798 7884 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7885 wxScrolledWindow_SetScale(_arg0,_arg1,_arg2);
d1679124 7886
4268f798 7887 wxPyEndAllowThreads(__tstate);
493f1553 7888 if (PyErr_Occurred()) return NULL;
d1679124
RD
7889} Py_INCREF(Py_None);
7890 _resultobj = Py_None;
7891 return _resultobj;
7892}
7893
7894#define wxScrolledWindow_GetScaleX(_swigobj) (_swigobj->GetScaleX())
7895static PyObject *_wrap_wxScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
7896 PyObject * _resultobj;
7897 double _result;
7898 wxScrolledWindow * _arg0;
7899 PyObject * _argo0 = 0;
7900 char *_kwnames[] = { "self", NULL };
7901
7902 self = self;
7903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_GetScaleX",_kwnames,&_argo0))
7904 return NULL;
7905 if (_argo0) {
7906 if (_argo0 == Py_None) { _arg0 = NULL; }
7907 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7908 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetScaleX. Expected _wxScrolledWindow_p.");
7909 return NULL;
7910 }
7911 }
7912{
4268f798 7913 PyThreadState* __tstate = wxPyBeginAllowThreads();
e9159fe8
RD
7914 _result = (double )wxScrolledWindow_GetScaleX(_arg0);
7915
7916 wxPyEndAllowThreads(__tstate);
7917 if (PyErr_Occurred()) return NULL;
7918} _resultobj = Py_BuildValue("d",_result);
7919 return _resultobj;
7920}
7921
7922#define wxScrolledWindow_GetScaleY(_swigobj) (_swigobj->GetScaleY())
7923static PyObject *_wrap_wxScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
7924 PyObject * _resultobj;
7925 double _result;
7926 wxScrolledWindow * _arg0;
7927 PyObject * _argo0 = 0;
7928 char *_kwnames[] = { "self", NULL };
7929
7930 self = self;
7931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_GetScaleY",_kwnames,&_argo0))
7932 return NULL;
7933 if (_argo0) {
7934 if (_argo0 == Py_None) { _arg0 = NULL; }
7935 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7936 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetScaleY. Expected _wxScrolledWindow_p.");
7937 return NULL;
7938 }
7939 }
7940{
7941 PyThreadState* __tstate = wxPyBeginAllowThreads();
7942 _result = (double )wxScrolledWindow_GetScaleY(_arg0);
7943
7944 wxPyEndAllowThreads(__tstate);
7945 if (PyErr_Occurred()) return NULL;
7946} _resultobj = Py_BuildValue("d",_result);
7947 return _resultobj;
7948}
7949
7950#define wxScrolledWindow_AdjustScrollbars(_swigobj) (_swigobj->AdjustScrollbars())
7951static PyObject *_wrap_wxScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
7952 PyObject * _resultobj;
7953 wxScrolledWindow * _arg0;
7954 PyObject * _argo0 = 0;
7955 char *_kwnames[] = { "self", NULL };
7956
7957 self = self;
7958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_AdjustScrollbars",_kwnames,&_argo0))
7959 return NULL;
7960 if (_argo0) {
7961 if (_argo0 == Py_None) { _arg0 = NULL; }
7962 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7963 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_AdjustScrollbars. Expected _wxScrolledWindow_p.");
7964 return NULL;
7965 }
7966 }
7967{
7968 PyThreadState* __tstate = wxPyBeginAllowThreads();
7969 wxScrolledWindow_AdjustScrollbars(_arg0);
7970
7971 wxPyEndAllowThreads(__tstate);
7972 if (PyErr_Occurred()) return NULL;
7973} Py_INCREF(Py_None);
7974 _resultobj = Py_None;
7975 return _resultobj;
7976}
7977
7978#define wxScrolledWindow_Layout(_swigobj) (_swigobj->Layout())
7979static PyObject *_wrap_wxScrolledWindow_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
7980 PyObject * _resultobj;
7981 bool _result;
7982 wxScrolledWindow * _arg0;
7983 PyObject * _argo0 = 0;
7984 char *_kwnames[] = { "self", NULL };
7985
7986 self = self;
7987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_Layout",_kwnames,&_argo0))
7988 return NULL;
7989 if (_argo0) {
7990 if (_argo0 == Py_None) { _arg0 = NULL; }
7991 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7992 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_Layout. Expected _wxScrolledWindow_p.");
7993 return NULL;
7994 }
7995 }
7996{
7997 PyThreadState* __tstate = wxPyBeginAllowThreads();
7998 _result = (bool )wxScrolledWindow_Layout(_arg0);
7999
8000 wxPyEndAllowThreads(__tstate);
8001 if (PyErr_Occurred()) return NULL;
8002} _resultobj = Py_BuildValue("i",_result);
8003 return _resultobj;
8004}
8005
2a74d141
RD
8006#define wxScrolledWindow_SetScrollRate(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScrollRate(_swigarg0,_swigarg1))
8007static PyObject *_wrap_wxScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) {
8008 PyObject * _resultobj;
8009 wxScrolledWindow * _arg0;
8010 int _arg1;
8011 int _arg2;
8012 PyObject * _argo0 = 0;
8013 char *_kwnames[] = { "self","xstep","ystep", NULL };
8014
8015 self = self;
8016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxScrolledWindow_SetScrollRate",_kwnames,&_argo0,&_arg1,&_arg2))
8017 return NULL;
8018 if (_argo0) {
8019 if (_argo0 == Py_None) { _arg0 = NULL; }
8020 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
8021 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_SetScrollRate. Expected _wxScrolledWindow_p.");
8022 return NULL;
8023 }
8024 }
8025{
8026 PyThreadState* __tstate = wxPyBeginAllowThreads();
8027 wxScrolledWindow_SetScrollRate(_arg0,_arg1,_arg2);
8028
8029 wxPyEndAllowThreads(__tstate);
8030 if (PyErr_Occurred()) return NULL;
8031} Py_INCREF(Py_None);
8032 _resultobj = Py_None;
8033 return _resultobj;
8034}
8035
e9159fe8
RD
8036static void *SwigwxMenuTowxEvtHandler(void *ptr) {
8037 wxMenu *src;
8038 wxEvtHandler *dest;
8039 src = (wxMenu *) ptr;
8040 dest = (wxEvtHandler *) src;
8041 return (void *) dest;
8042}
8043
8044static void *SwigwxMenuTowxObject(void *ptr) {
8045 wxMenu *src;
8046 wxObject *dest;
8047 src = (wxMenu *) ptr;
8048 dest = (wxObject *) src;
8049 return (void *) dest;
8050}
8051
8052#define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
8053static PyObject *_wrap_new_wxMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
8054 PyObject * _resultobj;
8055 wxMenu * _result;
137b5242 8056 wxString * _arg0 = (wxString *) &wxPyEmptyString;
e9159fe8
RD
8057 long _arg1 = (long ) 0;
8058 PyObject * _obj0 = 0;
8059 char *_kwnames[] = { "title","style", NULL };
8060 char _ptemp[128];
8061
8062 self = self;
8063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|Ol:new_wxMenu",_kwnames,&_obj0,&_arg1))
8064 return NULL;
8065 if (_obj0)
8066{
8067 _arg0 = wxString_in_helper(_obj0);
8068 if (_arg0 == NULL)
8069 return NULL;
8070}
8071{
8072 PyThreadState* __tstate = wxPyBeginAllowThreads();
8073 _result = (wxMenu *)new_wxMenu(*_arg0,_arg1);
8074
8075 wxPyEndAllowThreads(__tstate);
8076 if (PyErr_Occurred()) return NULL;
8077} if (_result) {
8078 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenu_p");
8079 _resultobj = Py_BuildValue("s",_ptemp);
8080 } else {
8081 Py_INCREF(Py_None);
8082 _resultobj = Py_None;
8083 }
8084{
8085 if (_obj0)
8086 delete _arg0;
8087}
8088 return _resultobj;
8089}
8090
8091#define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8092static PyObject *_wrap_wxMenu_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
8093 PyObject * _resultobj;
8094 wxMenu * _arg0;
8095 int _arg1;
8096 wxString * _arg2;
137b5242 8097 wxString * _arg3 = (wxString *) &wxPyEmptyString;
546bfbea 8098 wxItemKind _arg4 = (wxItemKind ) wxITEM_NORMAL;
e9159fe8
RD
8099 PyObject * _argo0 = 0;
8100 PyObject * _obj2 = 0;
8101 PyObject * _obj3 = 0;
8102 char *_kwnames[] = { "self","id","item","helpString","kind", NULL };
8103
8104 self = self;
8105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|Oi:wxMenu_Append",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4))
8106 return NULL;
8107 if (_argo0) {
8108 if (_argo0 == Py_None) { _arg0 = NULL; }
8109 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8110 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
8111 return NULL;
8112 }
8113 }
8114{
8115 _arg2 = wxString_in_helper(_obj2);
8116 if (_arg2 == NULL)
8117 return NULL;
8118}
8119 if (_obj3)
8120{
8121 _arg3 = wxString_in_helper(_obj3);
8122 if (_arg3 == NULL)
8123 return NULL;
8124}
8125{
8126 PyThreadState* __tstate = wxPyBeginAllowThreads();
8127 wxMenu_Append(_arg0,_arg1,*_arg2,*_arg3,_arg4);
8128
8129 wxPyEndAllowThreads(__tstate);
8130 if (PyErr_Occurred()) return NULL;
8131} Py_INCREF(Py_None);
8132 _resultobj = Py_None;
8133{
8134 if (_obj2)
8135 delete _arg2;
8136}
8137{
8138 if (_obj3)
8139 delete _arg3;
8140}
8141 return _resultobj;
8142}
8143
8144#define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8145static PyObject *_wrap_wxMenu_AppendMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
8146 PyObject * _resultobj;
8147 wxMenu * _arg0;
8148 int _arg1;
8149 wxString * _arg2;
8150 wxMenu * _arg3;
137b5242 8151 wxString * _arg4 = (wxString *) &wxPyEmptyString;
e9159fe8
RD
8152 PyObject * _argo0 = 0;
8153 PyObject * _obj2 = 0;
8154 PyObject * _argo3 = 0;
8155 PyObject * _obj4 = 0;
8156 char *_kwnames[] = { "self","id","item","subMenu","helpString", NULL };
8157
8158 self = self;
8159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO|O:wxMenu_AppendMenu",_kwnames,&_argo0,&_arg1,&_obj2,&_argo3,&_obj4))
8160 return NULL;
8161 if (_argo0) {
8162 if (_argo0 == Py_None) { _arg0 = NULL; }
8163 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8164 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
8165 return NULL;
8166 }
8167 }
8168{
8169 _arg2 = wxString_in_helper(_obj2);
8170 if (_arg2 == NULL)
8171 return NULL;
8172}
8173 if (_argo3) {
8174 if (_argo3 == Py_None) { _arg3 = NULL; }
8175 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxMenu_p")) {
8176 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
8177 return NULL;
8178 }
8179 }
8180 if (_obj4)
8181{
8182 _arg4 = wxString_in_helper(_obj4);
8183 if (_arg4 == NULL)
8184 return NULL;
8185}
8186{
8187 PyThreadState* __tstate = wxPyBeginAllowThreads();
8188 wxMenu_AppendMenu(_arg0,_arg1,*_arg2,_arg3,*_arg4);
8189
8190 wxPyEndAllowThreads(__tstate);
8191 if (PyErr_Occurred()) return NULL;
8192} Py_INCREF(Py_None);
8193 _resultobj = Py_None;
8194{
8195 if (_obj2)
8196 delete _arg2;
8197}
8198{
8199 if (_obj4)
8200 delete _arg4;
8201}
8202 return _resultobj;
8203}
8204
8205#define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
8206static PyObject *_wrap_wxMenu_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8207 PyObject * _resultobj;
8208 wxMenu * _arg0;
8209 wxMenuItem * _arg1;
8210 PyObject * _argo0 = 0;
8211 PyObject * _argo1 = 0;
8212 char *_kwnames[] = { "self","item", NULL };
8213
8214 self = self;
8215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_AppendItem",_kwnames,&_argo0,&_argo1))
8216 return NULL;
8217 if (_argo0) {
8218 if (_argo0 == Py_None) { _arg0 = NULL; }
8219 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8220 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
8221 return NULL;
8222 }
8223 }
8224 if (_argo1) {
8225 if (_argo1 == Py_None) { _arg1 = NULL; }
8226 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenuItem_p")) {
8227 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
8228 return NULL;
8229 }
8230 }
8231{
8232 PyThreadState* __tstate = wxPyBeginAllowThreads();
8233 wxMenu_AppendItem(_arg0,_arg1);
8234
8235 wxPyEndAllowThreads(__tstate);
8236 if (PyErr_Occurred()) return NULL;
8237} Py_INCREF(Py_None);
8238 _resultobj = Py_None;
8239 return _resultobj;
8240}
8241
8242#define wxMenu_AppendCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AppendCheckItem(_swigarg0,_swigarg1,_swigarg2))
8243static PyObject *_wrap_wxMenu_AppendCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8244 PyObject * _resultobj;
8245 wxMenu * _arg0;
8246 int _arg1;
8247 wxString * _arg2;
137b5242 8248 wxString * _arg3 = (wxString *) &wxPyEmptyString;
e9159fe8
RD
8249 PyObject * _argo0 = 0;
8250 PyObject * _obj2 = 0;
8251 PyObject * _obj3 = 0;
8252 char *_kwnames[] = { "self","id","text","help", NULL };
8253
8254 self = self;
8255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|O:wxMenu_AppendCheckItem",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3))
8256 return NULL;
8257 if (_argo0) {
8258 if (_argo0 == Py_None) { _arg0 = NULL; }
8259 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8260 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendCheckItem. Expected _wxMenu_p.");
8261 return NULL;
8262 }
8263 }
8264{
8265 _arg2 = wxString_in_helper(_obj2);
8266 if (_arg2 == NULL)
8267 return NULL;
8268}
8269 if (_obj3)
8270{
8271 _arg3 = wxString_in_helper(_obj3);
8272 if (_arg3 == NULL)
8273 return NULL;
8274}
8275{
8276 PyThreadState* __tstate = wxPyBeginAllowThreads();
8277 wxMenu_AppendCheckItem(_arg0,_arg1,*_arg2,*_arg3);
8278
8279 wxPyEndAllowThreads(__tstate);
8280 if (PyErr_Occurred()) return NULL;
8281} Py_INCREF(Py_None);
8282 _resultobj = Py_None;
8283{
8284 if (_obj2)
8285 delete _arg2;
8286}
8287{
8288 if (_obj3)
8289 delete _arg3;
8290}
8291 return _resultobj;
8292}
8293
8294#define wxMenu_AppendRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AppendRadioItem(_swigarg0,_swigarg1,_swigarg2))
8295static PyObject *_wrap_wxMenu_AppendRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8296 PyObject * _resultobj;
8297 wxMenu * _arg0;
8298 int _arg1;
8299 wxString * _arg2;
137b5242 8300 wxString * _arg3 = (wxString *) &wxPyEmptyString;
e9159fe8
RD
8301 PyObject * _argo0 = 0;
8302 PyObject * _obj2 = 0;
8303 PyObject * _obj3 = 0;
8304 char *_kwnames[] = { "self","id","text","help", NULL };
8305
8306 self = self;
8307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|O:wxMenu_AppendRadioItem",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3))
8308 return NULL;
8309 if (_argo0) {
8310 if (_argo0 == Py_None) { _arg0 = NULL; }
8311 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8312 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendRadioItem. Expected _wxMenu_p.");
8313 return NULL;
8314 }
8315 }
8316{
8317 _arg2 = wxString_in_helper(_obj2);
8318 if (_arg2 == NULL)
8319 return NULL;
8320}
8321 if (_obj3)
8322{
8323 _arg3 = wxString_in_helper(_obj3);
8324 if (_arg3 == NULL)
8325 return NULL;
8326}
8327{
8328 PyThreadState* __tstate = wxPyBeginAllowThreads();
8329 wxMenu_AppendRadioItem(_arg0,_arg1,*_arg2,*_arg3);
8330
8331 wxPyEndAllowThreads(__tstate);
8332 if (PyErr_Occurred()) return NULL;
8333} Py_INCREF(Py_None);
8334 _resultobj = Py_None;
8335{
8336 if (_obj2)
8337 delete _arg2;
8338}
8339{
8340 if (_obj3)
8341 delete _arg3;
8342}
8343 return _resultobj;
8344}
8345
8346#define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
8347static PyObject *_wrap_wxMenu_AppendSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
8348 PyObject * _resultobj;
8349 wxMenu * _arg0;
8350 PyObject * _argo0 = 0;
8351 char *_kwnames[] = { "self", NULL };
8352
8353 self = self;
8354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_AppendSeparator",_kwnames,&_argo0))
8355 return NULL;
8356 if (_argo0) {
8357 if (_argo0 == Py_None) { _arg0 = NULL; }
8358 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8359 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
8360 return NULL;
8361 }
8362 }
8363{
8364 PyThreadState* __tstate = wxPyBeginAllowThreads();
8365 wxMenu_AppendSeparator(_arg0);
8366
8367 wxPyEndAllowThreads(__tstate);
8368 if (PyErr_Occurred()) return NULL;
8369} Py_INCREF(Py_None);
8370 _resultobj = Py_None;
8371 return _resultobj;
8372}
8373
8374#define wxMenu_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8375static PyObject *_wrap_wxMenu_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
8376 PyObject * _resultobj;
8377 wxMenu * _arg0;
8378 size_t _arg1;
8379 int _arg2;
8380 wxString * _arg3;
137b5242 8381 wxString * _arg4 = (wxString *) &wxPyEmptyString;
546bfbea 8382 wxItemKind _arg5 = (wxItemKind ) wxITEM_NORMAL;
e9159fe8
RD
8383 PyObject * _argo0 = 0;
8384 PyObject * _obj3 = 0;
8385 PyObject * _obj4 = 0;
8386 char *_kwnames[] = { "self","pos","id","text","help","kind", NULL };
8387
8388 self = self;
8389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO|Oi:wxMenu_Insert",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4,&_arg5))
8390 return NULL;
8391 if (_argo0) {
8392 if (_argo0 == Py_None) { _arg0 = NULL; }
8393 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8394 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Insert. Expected _wxMenu_p.");
8395 return NULL;
8396 }
8397 }
8398{
8399 _arg3 = wxString_in_helper(_obj3);
8400 if (_arg3 == NULL)
8401 return NULL;
8402}
8403 if (_obj4)
8404{
8405 _arg4 = wxString_in_helper(_obj4);
8406 if (_arg4 == NULL)
8407 return NULL;
8408}
8409{
8410 PyThreadState* __tstate = wxPyBeginAllowThreads();
8411 wxMenu_Insert(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5);
8412
8413 wxPyEndAllowThreads(__tstate);
8414 if (PyErr_Occurred()) return NULL;
8415} Py_INCREF(Py_None);
8416 _resultobj = Py_None;
8417{
8418 if (_obj3)
8419 delete _arg3;
8420}
8421{
8422 if (_obj4)
8423 delete _arg4;
8424}
8425 return _resultobj;
8426}
8427
8428#define wxMenu_InsertSeparator(_swigobj,_swigarg0) (_swigobj->InsertSeparator(_swigarg0))
8429static PyObject *_wrap_wxMenu_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
8430 PyObject * _resultobj;
8431 wxMenu * _arg0;
8432 size_t _arg1;
8433 PyObject * _argo0 = 0;
8434 char *_kwnames[] = { "self","pos", NULL };
8435
8436 self = self;
8437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_InsertSeparator",_kwnames,&_argo0,&_arg1))
8438 return NULL;
8439 if (_argo0) {
8440 if (_argo0 == Py_None) { _arg0 = NULL; }
8441 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8442 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_InsertSeparator. Expected _wxMenu_p.");
8443 return NULL;
8444 }
8445 }
8446{
8447 PyThreadState* __tstate = wxPyBeginAllowThreads();
8448 wxMenu_InsertSeparator(_arg0,_arg1);
8449
8450 wxPyEndAllowThreads(__tstate);
8451 if (PyErr_Occurred()) return NULL;
8452} Py_INCREF(Py_None);
8453 _resultobj = Py_None;
8454 return _resultobj;
8455}
8456
8457#define wxMenu_InsertCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertCheckItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8458static PyObject *_wrap_wxMenu_InsertCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8459 PyObject * _resultobj;
8460 wxMenu * _arg0;
8461 size_t _arg1;
8462 int _arg2;
8463 wxString * _arg3;
137b5242 8464 wxString * _arg4 = (wxString *) &wxPyEmptyString;
e9159fe8
RD
8465 PyObject * _argo0 = 0;
8466 PyObject * _obj3 = 0;
8467 PyObject * _obj4 = 0;
8468 char *_kwnames[] = { "self","pos","id","text","help", NULL };
8469
8470 self = self;
8471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO|O:wxMenu_InsertCheckItem",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4))
8472 return NULL;
8473 if (_argo0) {
8474 if (_argo0 == Py_None) { _arg0 = NULL; }
8475 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8476 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_InsertCheckItem. Expected _wxMenu_p.");
8477 return NULL;
8478 }
8479 }
8480{
8481 _arg3 = wxString_in_helper(_obj3);
8482 if (_arg3 == NULL)
8483 return NULL;
8484}
8485 if (_obj4)
8486{
8487 _arg4 = wxString_in_helper(_obj4);
8488 if (_arg4 == NULL)
8489 return NULL;
8490}
8491{
8492 PyThreadState* __tstate = wxPyBeginAllowThreads();
8493 wxMenu_InsertCheckItem(_arg0,_arg1,_arg2,*_arg3,*_arg4);
8494
8495 wxPyEndAllowThreads(__tstate);
8496 if (PyErr_Occurred()) return NULL;
8497} Py_INCREF(Py_None);
8498 _resultobj = Py_None;
8499{
8500 if (_obj3)
8501 delete _arg3;
8502}
8503{
8504 if (_obj4)
8505 delete _arg4;
8506}
8507 return _resultobj;
8508}
8509
8510#define wxMenu_InsertRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertRadioItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8511static PyObject *_wrap_wxMenu_InsertRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8512 PyObject * _resultobj;
8513 wxMenu * _arg0;
8514 size_t _arg1;
8515 int _arg2;
8516 wxString * _arg3;
137b5242 8517 wxString * _arg4 = (wxString *) &wxPyEmptyString;
e9159fe8
RD
8518 PyObject * _argo0 = 0;
8519 PyObject * _obj3 = 0;
8520 PyObject * _obj4 = 0;
8521 char *_kwnames[] = { "self","pos","id","text","help", NULL };
8522
8523 self = self;
8524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO|O:wxMenu_InsertRadioItem",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4))
8525 return NULL;
8526 if (_argo0) {
8527 if (_argo0 == Py_None) { _arg0 = NULL; }
8528 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8529 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_InsertRadioItem. Expected _wxMenu_p.");
8530 return NULL;
8531 }
8532 }
8533{
8534 _arg3 = wxString_in_helper(_obj3);
8535 if (_arg3 == NULL)
8536 return NULL;
8537}
8538 if (_obj4)
8539{
8540 _arg4 = wxString_in_helper(_obj4);
8541 if (_arg4 == NULL)
8542 return NULL;
8543}
8544{
8545 PyThreadState* __tstate = wxPyBeginAllowThreads();
8546 wxMenu_InsertRadioItem(_arg0,_arg1,_arg2,*_arg3,*_arg4);
8547
8548 wxPyEndAllowThreads(__tstate);
8549 if (PyErr_Occurred()) return NULL;
8550} Py_INCREF(Py_None);
8551 _resultobj = Py_None;
8552{
8553 if (_obj3)
8554 delete _arg3;
8555}
8556{
8557 if (_obj4)
8558 delete _arg4;
8559}
8560 return _resultobj;
8561}
8562
8563#define wxMenu_InsertMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8564static PyObject *_wrap_wxMenu_InsertMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
8565 PyObject * _resultobj;
8566 wxMenu * _arg0;
8567 size_t _arg1;
8568 int _arg2;
8569 wxString * _arg3;
8570 wxMenu * _arg4;
137b5242 8571 wxString * _arg5 = (wxString *) &wxPyEmptyString;
e9159fe8
RD
8572 PyObject * _argo0 = 0;
8573 PyObject * _obj3 = 0;
8574 PyObject * _argo4 = 0;
8575 PyObject * _obj5 = 0;
8576 char *_kwnames[] = { "self","pos","id","text","submenu","help", NULL };
8577
8578 self = self;
8579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOO|O:wxMenu_InsertMenu",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_argo4,&_obj5))
8580 return NULL;
8581 if (_argo0) {
8582 if (_argo0 == Py_None) { _arg0 = NULL; }
8583 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8584 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_InsertMenu. Expected _wxMenu_p.");
8585 return NULL;
8586 }
8587 }
8588{
8589 _arg3 = wxString_in_helper(_obj3);
8590 if (_arg3 == NULL)
8591 return NULL;
8592}
8593 if (_argo4) {
8594 if (_argo4 == Py_None) { _arg4 = NULL; }
8595 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxMenu_p")) {
8596 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxMenu_InsertMenu. Expected _wxMenu_p.");
8597 return NULL;
8598 }
8599 }
8600 if (_obj5)
8601{
8602 _arg5 = wxString_in_helper(_obj5);
8603 if (_arg5 == NULL)
8604 return NULL;
8605}
8606{
8607 PyThreadState* __tstate = wxPyBeginAllowThreads();
8608 wxMenu_InsertMenu(_arg0,_arg1,_arg2,*_arg3,_arg4,*_arg5);
d1679124 8609
4268f798 8610 wxPyEndAllowThreads(__tstate);
493f1553 8611 if (PyErr_Occurred()) return NULL;
e9159fe8
RD
8612} Py_INCREF(Py_None);
8613 _resultobj = Py_None;
8614{
8615 if (_obj3)
8616 delete _arg3;
8617}
8618{
8619 if (_obj5)
8620 delete _arg5;
8621}
d1679124
RD
8622 return _resultobj;
8623}
8624
e9159fe8
RD
8625#define wxMenu_InsertItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Insert(_swigarg0,_swigarg1))
8626static PyObject *_wrap_wxMenu_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
d1679124 8627 PyObject * _resultobj;
e9159fe8
RD
8628 bool _result;
8629 wxMenu * _arg0;
8630 size_t _arg1;
8631 wxMenuItem * _arg2;
d1679124 8632 PyObject * _argo0 = 0;
e9159fe8
RD
8633 PyObject * _argo2 = 0;
8634 char *_kwnames[] = { "self","pos","item", NULL };
d1679124
RD
8635
8636 self = self;
e9159fe8 8637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenu_InsertItem",_kwnames,&_argo0,&_arg1,&_argo2))
d1679124
RD
8638 return NULL;
8639 if (_argo0) {
8640 if (_argo0 == Py_None) { _arg0 = NULL; }
e9159fe8
RD
8641 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8642 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_InsertItem. Expected _wxMenu_p.");
8643 return NULL;
8644 }
8645 }
8646 if (_argo2) {
8647 if (_argo2 == Py_None) { _arg2 = NULL; }
8648 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxMenuItem_p")) {
8649 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxMenu_InsertItem. Expected _wxMenuItem_p.");
d1679124
RD
8650 return NULL;
8651 }
8652 }
8653{
4268f798 8654 PyThreadState* __tstate = wxPyBeginAllowThreads();
e9159fe8 8655 _result = (bool )wxMenu_InsertItem(_arg0,_arg1,_arg2);
d1679124 8656
4268f798 8657 wxPyEndAllowThreads(__tstate);
493f1553 8658 if (PyErr_Occurred()) return NULL;
e9159fe8 8659} _resultobj = Py_BuildValue("i",_result);
d1679124
RD
8660 return _resultobj;
8661}
8662
e9159fe8
RD
8663#define wxMenu_Prepend(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Prepend(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8664static PyObject *_wrap_wxMenu_Prepend(PyObject *self, PyObject *args, PyObject *kwargs) {
d1679124 8665 PyObject * _resultobj;
e9159fe8
RD
8666 wxMenu * _arg0;
8667 int _arg1;
8668 wxString * _arg2;
137b5242 8669 wxString * _arg3 = (wxString *) &wxPyEmptyString;
546bfbea 8670 wxItemKind _arg4 = (wxItemKind ) wxITEM_NORMAL;
d1679124 8671 PyObject * _argo0 = 0;
e9159fe8
RD
8672 PyObject * _obj2 = 0;
8673 PyObject * _obj3 = 0;
8674 char *_kwnames[] = { "self","id","text","help","kind", NULL };
d1679124
RD
8675
8676 self = self;
e9159fe8 8677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|Oi:wxMenu_Prepend",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4))
d1679124
RD
8678 return NULL;
8679 if (_argo0) {
8680 if (_argo0 == Py_None) { _arg0 = NULL; }
e9159fe8
RD
8681 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8682 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Prepend. Expected _wxMenu_p.");
d1679124
RD
8683 return NULL;
8684 }
8685 }
e9159fe8
RD
8686{
8687 _arg2 = wxString_in_helper(_obj2);
8688 if (_arg2 == NULL)
8689 return NULL;
8690}
8691 if (_obj3)
8692{
8693 _arg3 = wxString_in_helper(_obj3);
8694 if (_arg3 == NULL)
8695 return NULL;
8696}
d1679124 8697{
4268f798 8698 PyThreadState* __tstate = wxPyBeginAllowThreads();
e9159fe8 8699 wxMenu_Prepend(_arg0,_arg1,*_arg2,*_arg3,_arg4);
d1679124 8700
4268f798 8701 wxPyEndAllowThreads(__tstate);
493f1553 8702 if (PyErr_Occurred()) return NULL;
d1679124
RD
8703} Py_INCREF(Py_None);
8704 _resultobj = Py_None;
e9159fe8
RD
8705{
8706 if (_obj2)
8707 delete _arg2;
8708}
8709{
8710 if (_obj3)
8711 delete _arg3;
8712}
d1679124
RD
8713 return _resultobj;
8714}
8715
e9159fe8
RD
8716#define wxMenu_PrependSeparator(_swigobj) (_swigobj->PrependSeparator())
8717static PyObject *_wrap_wxMenu_PrependSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
26e335b8 8718 PyObject * _resultobj;
e9159fe8 8719 wxMenu * _arg0;
26e335b8
RD
8720 PyObject * _argo0 = 0;
8721 char *_kwnames[] = { "self", NULL };
8722
8723 self = self;
e9159fe8 8724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_PrependSeparator",_kwnames,&_argo0))
26e335b8
RD
8725 return NULL;
8726 if (_argo0) {
8727 if (_argo0 == Py_None) { _arg0 = NULL; }
e9159fe8
RD
8728 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8729 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_PrependSeparator. Expected _wxMenu_p.");
26e335b8
RD
8730 return NULL;
8731 }
8732 }
8733{
8734 PyThreadState* __tstate = wxPyBeginAllowThreads();
e9159fe8 8735 wxMenu_PrependSeparator(_arg0);
26e335b8
RD
8736
8737 wxPyEndAllowThreads(__tstate);
8738 if (PyErr_Occurred()) return NULL;
e9159fe8
RD
8739} Py_INCREF(Py_None);
8740 _resultobj = Py_None;
26e335b8
RD
8741 return _resultobj;
8742}
8743
e9159fe8
RD
8744#define wxMenu_PrependCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PrependCheckItem(_swigarg0,_swigarg1,_swigarg2))
8745static PyObject *_wrap_wxMenu_PrependCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8746 PyObject * _resultobj;
e9159fe8
RD
8747 wxMenu * _arg0;
8748 int _arg1;
8749 wxString * _arg2;
137b5242 8750 wxString * _arg3 = (wxString *) &wxPyEmptyString;
e9159fe8
RD
8751 PyObject * _argo0 = 0;
8752 PyObject * _obj2 = 0;
8753 PyObject * _obj3 = 0;
8754 char *_kwnames[] = { "self","id","text","help", NULL };
8ab979d7
RD
8755
8756 self = self;
e9159fe8 8757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|O:wxMenu_PrependCheckItem",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3))
8ab979d7 8758 return NULL;
e9159fe8
RD
8759 if (_argo0) {
8760 if (_argo0 == Py_None) { _arg0 = NULL; }
8761 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8762 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_PrependCheckItem. Expected _wxMenu_p.");
8763 return NULL;
8764 }
8765 }
8ab979d7 8766{
e9159fe8
RD
8767 _arg2 = wxString_in_helper(_obj2);
8768 if (_arg2 == NULL)
8769 return NULL;
8770}
8771 if (_obj3)
8772{
8773 _arg3 = wxString_in_helper(_obj3);
8774 if (_arg3 == NULL)
185d7c3e 8775 return NULL;
8ab979d7 8776}
cf694132 8777{
4268f798 8778 PyThreadState* __tstate = wxPyBeginAllowThreads();
e9159fe8 8779 wxMenu_PrependCheckItem(_arg0,_arg1,*_arg2,*_arg3);
cf694132 8780
4268f798 8781 wxPyEndAllowThreads(__tstate);
493f1553 8782 if (PyErr_Occurred()) return NULL;
e9159fe8
RD
8783} Py_INCREF(Py_None);
8784 _resultobj = Py_None;
8ab979d7 8785{
e9159fe8
RD
8786 if (_obj2)
8787 delete _arg2;
8788}
8789{
8790 if (_obj3)
8791 delete _arg3;
8ab979d7
RD
8792}
8793 return _resultobj;
8794}
8795
e9159fe8
RD
8796#define wxMenu_PrependRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PrependRadioItem(_swigarg0,_swigarg1,_swigarg2))
8797static PyObject *_wrap_wxMenu_PrependRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8798 PyObject * _resultobj;
8799 wxMenu * _arg0;
8800 int _arg1;
8801 wxString * _arg2;
137b5242 8802 wxString * _arg3 = (wxString *) &wxPyEmptyString;
1d99702e 8803 PyObject * _argo0 = 0;
8ab979d7
RD
8804 PyObject * _obj2 = 0;
8805 PyObject * _obj3 = 0;
e9159fe8 8806 char *_kwnames[] = { "self","id","text","help", NULL };
8ab979d7
RD
8807
8808 self = self;
e9159fe8 8809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|O:wxMenu_PrependRadioItem",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3))
8ab979d7 8810 return NULL;
1d99702e
RD
8811 if (_argo0) {
8812 if (_argo0 == Py_None) { _arg0 = NULL; }
8813 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
e9159fe8 8814 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_PrependRadioItem. Expected _wxMenu_p.");
8ab979d7
RD
8815 return NULL;
8816 }
8817 }
8818{
c8bc7bb8
RD
8819 _arg2 = wxString_in_helper(_obj2);
8820 if (_arg2 == NULL)
8ab979d7 8821 return NULL;
8ab979d7
RD
8822}
8823 if (_obj3)
8824{
c8bc7bb8
RD
8825 _arg3 = wxString_in_helper(_obj3);
8826 if (_arg3 == NULL)
8ab979d7 8827 return NULL;
8ab979d7 8828}
cf694132 8829{
4268f798 8830 PyThreadState* __tstate = wxPyBeginAllowThreads();
e9159fe8 8831 wxMenu_PrependRadioItem(_arg0,_arg1,*_arg2,*_arg3);
cf694132 8832
4268f798 8833 wxPyEndAllowThreads(__tstate);
493f1553 8834 if (PyErr_Occurred()) return NULL;
cf694132 8835} Py_INCREF(Py_None);
8ab979d7
RD
8836 _resultobj = Py_None;
8837{
8838 if (_obj2)
8839 delete _arg2;
8840}
8841{
8842 if (_obj3)
8843 delete _arg3;
8844}
8845 return _resultobj;
8846}
8847
e9159fe8
RD
8848#define wxMenu_PrependMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Prepend(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8849static PyObject *_wrap_wxMenu_PrependMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8850 PyObject * _resultobj;
8851 wxMenu * _arg0;
8852 int _arg1;
8853 wxString * _arg2;
8854 wxMenu * _arg3;
137b5242 8855 wxString * _arg4 = (wxString *) &wxPyEmptyString;
1d99702e 8856 PyObject * _argo0 = 0;
8ab979d7 8857 PyObject * _obj2 = 0;
1d99702e 8858 PyObject * _argo3 = 0;
8ab979d7 8859 PyObject * _obj4 = 0;
e9159fe8 8860 char *_kwnames[] = { "self","id","text","submenu","help", NULL };
8ab979d7
RD
8861
8862 self = self;
e9159fe8 8863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO|O:wxMenu_PrependMenu",_kwnames,&_argo0,&_arg1,&_obj2,&_argo3,&_obj4))
8ab979d7 8864 return NULL;
1d99702e
RD
8865 if (_argo0) {
8866 if (_argo0 == Py_None) { _arg0 = NULL; }
8867 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
e9159fe8 8868 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_PrependMenu. Expected _wxMenu_p.");
8ab979d7
RD
8869 return NULL;
8870 }
8871 }
8872{
c8bc7bb8
RD
8873 _arg2 = wxString_in_helper(_obj2);
8874 if (_arg2 == NULL)
185d7c3e 8875 return NULL;
8ab979d7 8876}
1d99702e
RD
8877 if (_argo3) {
8878 if (_argo3 == Py_None) { _arg3 = NULL; }
8879 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxMenu_p")) {
e9159fe8 8880 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxMenu_PrependMenu. Expected _wxMenu_p.");
8ab979d7
RD
8881 return NULL;
8882 }
8883 }
8884 if (_obj4)
8885{
c8bc7bb8
RD
8886 _arg4 = wxString_in_helper(_obj4);
8887 if (_arg4 == NULL)
185d7c3e 8888 return NULL;
8ab979d7 8889}
cf694132 8890{
4268f798 8891 PyThreadState* __tstate = wxPyBeginAllowThreads();
e9159fe8 8892 wxMenu_PrependMenu(_arg0,_arg1,*_arg2,_arg3,*_arg4);
cf694132 8893
4268f798 8894 wxPyEndAllowThreads(__tstate);
493f1553 8895 if (PyErr_Occurred()) return NULL;
cf694132 8896} Py_INCREF(Py_None);
8ab979d7
RD
8897 _resultobj = Py_None;
8898{
8899 if (_obj2)
8900 delete _arg2;
8901}
8902{
8903 if (_obj4)
8904 delete _arg4;
8905}
8906 return _resultobj;
8907}
8908
e9159fe8
RD
8909#define wxMenu_PrependItem(_swigobj,_swigarg0) (_swigobj->Prepend(_swigarg0))
8910static PyObject *_wrap_wxMenu_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
8911 PyObject * _resultobj;
8912 wxMenu * _arg0;
8913 wxMenuItem * _arg1;
1d99702e
RD
8914 PyObject * _argo0 = 0;
8915 PyObject * _argo1 = 0;
efc5f224 8916 char *_kwnames[] = { "self","item", NULL };
af309447
RD
8917
8918 self = self;
e9159fe8 8919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_PrependItem",_kwnames,&_argo0,&_argo1))
af309447 8920 return NULL;
1d99702e
RD
8921 if (_argo0) {
8922 if (_argo0 == Py_None) { _arg0 = NULL; }
8923 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
e9159fe8 8924 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_PrependItem. Expected _wxMenu_p.");
af309447
RD
8925 return NULL;
8926 }
8927 }
1d99702e
RD
8928 if (_argo1) {
8929 if (_argo1 == Py_None) { _arg1 = NULL; }
8930 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenuItem_p")) {
e9159fe8 8931 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_PrependItem. Expected _wxMenuItem_p.");
8ab979d7
RD
8932 return NULL;
8933 }
8934 }
cf694132 8935{
4268f798 8936 PyThreadState* __tstate = wxPyBeginAllowThreads();
e9159fe8 8937 wxMenu_PrependItem(_arg0,_arg1);
cf694132 8938
4268f798 8939 wxPyEndAllowThreads(__tstate);
493f1553 8940 if (PyErr_Occurred()) return NULL;
cf694132 8941} Py_INCREF(Py_None);
8ab979d7
RD
8942 _resultobj = Py_None;
8943 return _resultobj;
8944}
8945
8946#define wxMenu_Break(_swigobj) (_swigobj->Break())
efc5f224 8947static PyObject *_wrap_wxMenu_Break(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8948 PyObject * _resultobj;
8949 wxMenu * _arg0;
1d99702e 8950 PyObject * _argo0 = 0;
efc5f224 8951 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
8952
8953 self = self;
efc5f224 8954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_Break",_kwnames,&_argo0))
8ab979d7 8955 return NULL;
1d99702e
RD
8956 if (_argo0) {
8957 if (_argo0 == Py_None) { _arg0 = NULL; }
8958 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8ab979d7
RD
8959 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
8960 return NULL;
8961 }
8962 }
cf694132 8963{
4268f798 8964 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8965 wxMenu_Break(_arg0);
cf694132 8966
4268f798 8967 wxPyEndAllowThreads(__tstate);
493f1553 8968 if (PyErr_Occurred()) return NULL;
cf694132 8969} Py_INCREF(Py_None);
8ab979d7
RD
8970 _resultobj = Py_None;
8971 return _resultobj;
8972}
8973
8974#define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
efc5f224 8975static PyObject *_wrap_wxMenu_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8976 PyObject * _resultobj;
8977 wxMenu * _arg0;
8978 int _arg1;
8979 bool _arg2;
1d99702e 8980 PyObject * _argo0 = 0;
8ab979d7 8981 int tempbool2;
efc5f224 8982 char *_kwnames[] = { "self","id","flag", NULL };
8ab979d7
RD
8983
8984 self = self;
efc5f224 8985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxMenu_Check",_kwnames,&_argo0,&_arg1,&tempbool2))
8ab979d7 8986 return NULL;
1d99702e
RD
8987 if (_argo0) {
8988 if (_argo0 == Py_None) { _arg0 = NULL; }
8989 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8ab979d7
RD
8990 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
8991 return NULL;
8992 }
8993 }
8994 _arg2 = (bool ) tempbool2;
cf694132 8995{
4268f798 8996 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8997 wxMenu_Check(_arg0,_arg1,_arg2);
cf694132 8998
4268f798 8999 wxPyEndAllowThreads(__tstate);
493f1553 9000 if (PyErr_Occurred()) return NULL;
cf694132 9001} Py_INCREF(Py_None);
8ab979d7
RD
9002 _resultobj = Py_None;
9003 return _resultobj;
9004}
9005
b1462dfa
RD
9006#define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
9007static PyObject *_wrap_wxMenu_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
9008 PyObject * _resultobj;
9009 bool _result;
9010 wxMenu * _arg0;
9011 int _arg1;
9012 PyObject * _argo0 = 0;
9013 char *_kwnames[] = { "self","id", NULL };
9014
9015 self = self;
9016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_IsChecked",_kwnames,&_argo0,&_arg1))
9017 return NULL;
9018 if (_argo0) {
9019 if (_argo0 == Py_None) { _arg0 = NULL; }
9020 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9021 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
9022 return NULL;
9023 }
9024 }
9025{
4268f798 9026 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9027 _result = (bool )wxMenu_IsChecked(_arg0,_arg1);
b1462dfa 9028
4268f798 9029 wxPyEndAllowThreads(__tstate);
493f1553 9030 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
9031} _resultobj = Py_BuildValue("i",_result);
9032 return _resultobj;
9033}
9034
8ab979d7 9035#define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
efc5f224 9036static PyObject *_wrap_wxMenu_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9037 PyObject * _resultobj;
9038 wxMenu * _arg0;
9039 int _arg1;
9040 bool _arg2;
1d99702e 9041 PyObject * _argo0 = 0;
8ab979d7 9042 int tempbool2;
efc5f224 9043 char *_kwnames[] = { "self","id","enable", NULL };
8ab979d7
RD
9044
9045 self = self;
efc5f224 9046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxMenu_Enable",_kwnames,&_argo0,&_arg1,&tempbool2))
8ab979d7 9047 return NULL;
1d99702e
RD
9048 if (_argo0) {
9049 if (_argo0 == Py_None) { _arg0 = NULL; }
9050 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8ab979d7
RD
9051 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
9052 return NULL;
9053 }
9054 }
9055 _arg2 = (bool ) tempbool2;
cf694132 9056{
4268f798 9057 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9058 wxMenu_Enable(_arg0,_arg1,_arg2);
cf694132 9059
4268f798 9060 wxPyEndAllowThreads(__tstate);
493f1553 9061 if (PyErr_Occurred()) return NULL;
cf694132 9062} Py_INCREF(Py_None);
8ab979d7
RD
9063 _resultobj = Py_None;
9064 return _resultobj;
9065}
9066
b1462dfa
RD
9067#define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
9068static PyObject *_wrap_wxMenu_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
9069 PyObject * _resultobj;
9070 bool _result;
9071 wxMenu * _arg0;
9072 int _arg1;
9073 PyObject * _argo0 = 0;
9074 char *_kwnames[] = { "self","id", NULL };
9075
9076 self = self;
9077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_IsEnabled",_kwnames,&_argo0,&_arg1))
9078 return NULL;
9079 if (_argo0) {
9080 if (_argo0 == Py_None) { _arg0 = NULL; }
9081 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9082 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
9083 return NULL;
9084 }
9085 }
9086{
4268f798 9087 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9088 _result = (bool )wxMenu_IsEnabled(_arg0,_arg1);
b1462dfa 9089
4268f798 9090 wxPyEndAllowThreads(__tstate);
493f1553 9091 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
9092} _resultobj = Py_BuildValue("i",_result);
9093 return _resultobj;
9094}
9095
8ab979d7 9096#define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
efc5f224 9097static PyObject *_wrap_wxMenu_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9098 PyObject * _resultobj;
9099 int _result;
9100 wxMenu * _arg0;
9101 wxString * _arg1;
1d99702e 9102 PyObject * _argo0 = 0;
8ab979d7 9103 PyObject * _obj1 = 0;
efc5f224 9104 char *_kwnames[] = { "self","itemString", NULL };
8ab979d7
RD
9105
9106 self = self;
efc5f224 9107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_FindItem",_kwnames,&_argo0,&_obj1))
8ab979d7 9108 return NULL;
1d99702e
RD
9109 if (_argo0) {
9110 if (_argo0 == Py_None) { _arg0 = NULL; }
9111 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8ab979d7
RD
9112 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
9113 return NULL;
9114 }
9115 }
9116{
c8bc7bb8
RD
9117 _arg1 = wxString_in_helper(_obj1);
9118 if (_arg1 == NULL)
185d7c3e 9119 return NULL;
8ab979d7 9120}
cf694132 9121{
4268f798 9122 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9123 _result = (int )wxMenu_FindItem(_arg0,*_arg1);
cf694132 9124
4268f798 9125 wxPyEndAllowThreads(__tstate);
493f1553 9126 if (PyErr_Occurred()) return NULL;
cf694132 9127} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
9128{
9129 if (_obj1)
9130 delete _arg1;
9131}
9132 return _resultobj;
9133}
9134
b1462dfa
RD
9135#define wxMenu_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
9136static PyObject *_wrap_wxMenu_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
9137 PyObject * _resultobj;
9138 wxMenuItem * _result;
9139 wxMenu * _arg0;
9140 int _arg1;
9141 PyObject * _argo0 = 0;
9142 char *_kwnames[] = { "self","id", NULL };
b1462dfa
RD
9143
9144 self = self;
9145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_FindItemById",_kwnames,&_argo0,&_arg1))
9146 return NULL;
9147 if (_argo0) {
9148 if (_argo0 == Py_None) { _arg0 = NULL; }
9149 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9150 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_FindItemById. Expected _wxMenu_p.");
9151 return NULL;
9152 }
9153 }
9154{
4268f798 9155 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9156 _result = (wxMenuItem *)wxMenu_FindItemById(_arg0,_arg1);
b1462dfa 9157
4268f798 9158 wxPyEndAllowThreads(__tstate);
493f1553 9159 if (PyErr_Occurred()) return NULL;
9416aa89 9160}{ _resultobj = wxPyMake_wxObject(_result); }
b1462dfa
RD
9161 return _resultobj;
9162}
9163
5a2a9da2
RD
9164#define wxMenu_FindItemByPosition(_swigobj,_swigarg0) (_swigobj->FindItemByPosition(_swigarg0))
9165static PyObject *_wrap_wxMenu_FindItemByPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9166 PyObject * _resultobj;
9167 wxMenuItem * _result;
9168 wxMenu * _arg0;
9169 size_t _arg1;
9170 PyObject * _argo0 = 0;
9171 char *_kwnames[] = { "self","position", NULL };
9172
9173 self = self;
9174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_FindItemByPosition",_kwnames,&_argo0,&_arg1))
9175 return NULL;
9176 if (_argo0) {
9177 if (_argo0 == Py_None) { _arg0 = NULL; }
9178 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9179 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_FindItemByPosition. Expected _wxMenu_p.");
9180 return NULL;
9181 }
9182 }
9183{
9184 PyThreadState* __tstate = wxPyBeginAllowThreads();
9185 _result = (wxMenuItem *)wxMenu_FindItemByPosition(_arg0,_arg1);
9186
9187 wxPyEndAllowThreads(__tstate);
9188 if (PyErr_Occurred()) return NULL;
9189}{ _resultobj = wxPyMake_wxObject(_result); }
9190 return _resultobj;
9191}
9192
8ab979d7 9193#define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
efc5f224 9194static PyObject *_wrap_wxMenu_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9195 PyObject * _resultobj;
9196 wxString * _result;
9197 wxMenu * _arg0;
1d99702e 9198 PyObject * _argo0 = 0;
efc5f224 9199 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9200
9201 self = self;
efc5f224 9202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetTitle",_kwnames,&_argo0))
8ab979d7 9203 return NULL;
1d99702e
RD
9204 if (_argo0) {
9205 if (_argo0 == Py_None) { _arg0 = NULL; }
9206 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8ab979d7
RD
9207 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
9208 return NULL;
9209 }
9210 }
8ab979d7 9211{
4268f798 9212 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9213 _result = new wxString (wxMenu_GetTitle(_arg0));
cf694132 9214
4268f798 9215 wxPyEndAllowThreads(__tstate);
493f1553 9216 if (PyErr_Occurred()) return NULL;
cf694132 9217}{
c8bc7bb8 9218#if wxUSE_UNICODE
7e50db3f 9219 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 9220#else
eec92d76 9221 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 9222#endif
8ab979d7
RD
9223}
9224{
9225 delete _result;
9226}
9227 return _resultobj;
9228}
9229
9230#define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
efc5f224 9231static PyObject *_wrap_wxMenu_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9232 PyObject * _resultobj;
9233 wxMenu * _arg0;
9234 wxString * _arg1;
1d99702e 9235 PyObject * _argo0 = 0;
8ab979d7 9236 PyObject * _obj1 = 0;
efc5f224 9237 char *_kwnames[] = { "self","title", NULL };
8ab979d7
RD
9238
9239 self = self;
efc5f224 9240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_SetTitle",_kwnames,&_argo0,&_obj1))
8ab979d7 9241 return NULL;
1d99702e
RD
9242 if (_argo0) {
9243 if (_argo0 == Py_None) { _arg0 = NULL; }
9244 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8ab979d7
RD
9245 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
9246 return NULL;
9247 }
9248 }
9249{
c8bc7bb8
RD
9250 _arg1 = wxString_in_helper(_obj1);
9251 if (_arg1 == NULL)
185d7c3e 9252 return NULL;
8ab979d7 9253}
cf694132 9254{
4268f798 9255 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9256 wxMenu_SetTitle(_arg0,*_arg1);
cf694132 9257
4268f798 9258 wxPyEndAllowThreads(__tstate);
493f1553 9259 if (PyErr_Occurred()) return NULL;
cf694132 9260} Py_INCREF(Py_None);
8ab979d7
RD
9261 _resultobj = Py_None;
9262{
9263 if (_obj1)
9264 delete _arg1;
9265}
9266 return _resultobj;
9267}
9268
b1462dfa
RD
9269#define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
9270static PyObject *_wrap_wxMenu_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9271 PyObject * _resultobj;
b1462dfa 9272 wxString * _result;
8ab979d7
RD
9273 wxMenu * _arg0;
9274 int _arg1;
1d99702e 9275 PyObject * _argo0 = 0;
efc5f224 9276 char *_kwnames[] = { "self","id", NULL };
8ab979d7
RD
9277
9278 self = self;
b1462dfa 9279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_GetLabel",_kwnames,&_argo0,&_arg1))
8ab979d7 9280 return NULL;
1d99702e
RD
9281 if (_argo0) {
9282 if (_argo0 == Py_None) { _arg0 = NULL; }
9283 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
b1462dfa 9284 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
8ab979d7
RD
9285 return NULL;
9286 }
9287 }
cf694132 9288{
4268f798 9289 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9290 _result = new wxString (wxMenu_GetLabel(_arg0,_arg1));
cf694132 9291
4268f798 9292 wxPyEndAllowThreads(__tstate);
493f1553 9293 if (PyErr_Occurred()) return NULL;
b1462dfa 9294}{
c8bc7bb8 9295#if wxUSE_UNICODE
7e50db3f 9296 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 9297#else
eec92d76 9298 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 9299#endif
b1462dfa
RD
9300}
9301{
9302 delete _result;
9303}
8ab979d7
RD
9304 return _resultobj;
9305}
9306
b1462dfa
RD
9307#define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
9308static PyObject *_wrap_wxMenu_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9309 PyObject * _resultobj;
8ab979d7
RD
9310 wxMenu * _arg0;
9311 int _arg1;
b1462dfa 9312 wxString * _arg2;
1d99702e 9313 PyObject * _argo0 = 0;
b1462dfa
RD
9314 PyObject * _obj2 = 0;
9315 char *_kwnames[] = { "self","id","label", NULL };
8ab979d7
RD
9316
9317 self = self;
b1462dfa 9318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenu_SetLabel",_kwnames,&_argo0,&_arg1,&_obj2))
8ab979d7 9319 return NULL;
1d99702e
RD
9320 if (_argo0) {
9321 if (_argo0 == Py_None) { _arg0 = NULL; }
9322 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
b1462dfa 9323 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
8ab979d7
RD
9324 return NULL;
9325 }
9326 }
b1462dfa 9327{
c8bc7bb8
RD
9328 _arg2 = wxString_in_helper(_obj2);
9329 if (_arg2 == NULL)
185d7c3e 9330 return NULL;
b1462dfa 9331}
8ab979d7 9332{
4268f798 9333 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9334 wxMenu_SetLabel(_arg0,_arg1,*_arg2);
cf694132 9335
4268f798 9336 wxPyEndAllowThreads(__tstate);
493f1553 9337 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
9338} Py_INCREF(Py_None);
9339 _resultobj = Py_None;
8ab979d7 9340{
b1462dfa
RD
9341 if (_obj2)
9342 delete _arg2;
8ab979d7
RD
9343}
9344 return _resultobj;
9345}
9346
b1462dfa
RD
9347#define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
9348static PyObject *_wrap_wxMenu_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9349 PyObject * _resultobj;
9350 wxString * _result;
9351 wxMenu * _arg0;
9352 int _arg1;
1d99702e 9353 PyObject * _argo0 = 0;
efc5f224 9354 char *_kwnames[] = { "self","id", NULL };
8ab979d7
RD
9355
9356 self = self;
b1462dfa 9357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_GetHelpString",_kwnames,&_argo0,&_arg1))
8ab979d7 9358 return NULL;
1d99702e
RD
9359 if (_argo0) {
9360 if (_argo0 == Py_None) { _arg0 = NULL; }
9361 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
b1462dfa 9362 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
8ab979d7
RD
9363 return NULL;
9364 }
9365 }
8ab979d7 9366{
4268f798 9367 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9368 _result = new wxString (wxMenu_GetHelpString(_arg0,_arg1));
cf694132 9369
4268f798 9370 wxPyEndAllowThreads(__tstate);
493f1553 9371 if (PyErr_Occurred()) return NULL;
cf694132 9372}{
c8bc7bb8 9373#if wxUSE_UNICODE
7e50db3f 9374 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 9375#else
eec92d76 9376 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 9377#endif
8ab979d7
RD
9378}
9379{
9380 delete _result;
9381}
9382 return _resultobj;
9383}
9384
9385#define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
efc5f224 9386static PyObject *_wrap_wxMenu_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9387 PyObject * _resultobj;
9388 wxMenu * _arg0;
9389 int _arg1;
9390 wxString * _arg2;
1d99702e 9391 PyObject * _argo0 = 0;
8ab979d7 9392 PyObject * _obj2 = 0;
efc5f224 9393 char *_kwnames[] = { "self","id","helpString", NULL };
8ab979d7
RD
9394
9395 self = self;
efc5f224 9396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenu_SetHelpString",_kwnames,&_argo0,&_arg1,&_obj2))
8ab979d7 9397 return NULL;
1d99702e
RD
9398 if (_argo0) {
9399 if (_argo0 == Py_None) { _arg0 = NULL; }
9400 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8ab979d7
RD
9401 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
9402 return NULL;
9403 }
9404 }
9405{
c8bc7bb8
RD
9406 _arg2 = wxString_in_helper(_obj2);
9407 if (_arg2 == NULL)
185d7c3e 9408 return NULL;
8ab979d7 9409}
cf694132 9410{
4268f798 9411 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9412 wxMenu_SetHelpString(_arg0,_arg1,*_arg2);
cf694132 9413
4268f798 9414 wxPyEndAllowThreads(__tstate);
493f1553 9415 if (PyErr_Occurred()) return NULL;
cf694132 9416} Py_INCREF(Py_None);
8ab979d7
RD
9417 _resultobj = Py_None;
9418{
9419 if (_obj2)
9420 delete _arg2;
9421}
9422 return _resultobj;
9423}
9424
b1462dfa
RD
9425#define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
9426static PyObject *_wrap_wxMenu_UpdateUI(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9427 PyObject * _resultobj;
8ab979d7 9428 wxMenu * _arg0;
b1462dfa 9429 wxEvtHandler * _arg1 = (wxEvtHandler *) NULL;
1d99702e 9430 PyObject * _argo0 = 0;
b1462dfa
RD
9431 PyObject * _argo1 = 0;
9432 char *_kwnames[] = { "self","source", NULL };
8ab979d7
RD
9433
9434 self = self;
b1462dfa 9435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxMenu_UpdateUI",_kwnames,&_argo0,&_argo1))
8ab979d7 9436 return NULL;
1d99702e
RD
9437 if (_argo0) {
9438 if (_argo0 == Py_None) { _arg0 = NULL; }
9439 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
b1462dfa
RD
9440 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
9441 return NULL;
9442 }
9443 }
9444 if (_argo1) {
9445 if (_argo1 == Py_None) { _arg1 = NULL; }
9446 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
9447 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
8ab979d7
RD
9448 return NULL;
9449 }
9450 }
cf694132 9451{
4268f798 9452 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9453 wxMenu_UpdateUI(_arg0,_arg1);
cf694132 9454
4268f798 9455 wxPyEndAllowThreads(__tstate);
493f1553 9456 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
9457} Py_INCREF(Py_None);
9458 _resultobj = Py_None;
8ab979d7
RD
9459 return _resultobj;
9460}
9461
b1462dfa
RD
9462#define wxMenu_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
9463static PyObject *_wrap_wxMenu_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9464 PyObject * _resultobj;
9465 bool _result;
9466 wxMenu * _arg0;
9467 int _arg1;
1d99702e 9468 PyObject * _argo0 = 0;
efc5f224 9469 char *_kwnames[] = { "self","id", NULL };
8ab979d7
RD
9470
9471 self = self;
b1462dfa 9472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_Delete",_kwnames,&_argo0,&_arg1))
8ab979d7 9473 return NULL;
1d99702e
RD
9474 if (_argo0) {
9475 if (_argo0 == Py_None) { _arg0 = NULL; }
9476 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
b1462dfa 9477 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Delete. Expected _wxMenu_p.");
8ab979d7
RD
9478 return NULL;
9479 }
9480 }
cf694132 9481{
4268f798 9482 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9483 _result = (bool )wxMenu_Delete(_arg0,_arg1);
cf694132 9484
4268f798 9485 wxPyEndAllowThreads(__tstate);
493f1553 9486 if (PyErr_Occurred()) return NULL;
cf694132 9487} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
9488 return _resultobj;
9489}
9490
b1462dfa
RD
9491#define wxMenu_DeleteItem(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
9492static PyObject *_wrap_wxMenu_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9493 PyObject * _resultobj;
b1462dfa 9494 bool _result;
8ab979d7 9495 wxMenu * _arg0;
b1462dfa 9496 wxMenuItem * _arg1;
1d99702e 9497 PyObject * _argo0 = 0;
b1462dfa
RD
9498 PyObject * _argo1 = 0;
9499 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
9500
9501 self = self;
b1462dfa 9502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_DeleteItem",_kwnames,&_argo0,&_argo1))
8ab979d7 9503 return NULL;
1d99702e
RD
9504 if (_argo0) {
9505 if (_argo0 == Py_None) { _arg0 = NULL; }
9506 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
b1462dfa 9507 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_DeleteItem. Expected _wxMenu_p.");
8ab979d7
RD
9508 return NULL;
9509 }
9510 }
b1462dfa
RD
9511 if (_argo1) {
9512 if (_argo1 == Py_None) { _arg1 = NULL; }
9513 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenuItem_p")) {
9514 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_DeleteItem. Expected _wxMenuItem_p.");
8ab979d7 9515 return NULL;
b1462dfa 9516 }
8ab979d7 9517 }
cf694132 9518{
4268f798 9519 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9520 _result = (bool )wxMenu_DeleteItem(_arg0,_arg1);
cf694132 9521
4268f798 9522 wxPyEndAllowThreads(__tstate);
493f1553 9523 if (PyErr_Occurred()) return NULL;
b1462dfa 9524} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
9525 return _resultobj;
9526}
9527
b1462dfa
RD
9528#define wxMenu_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
9529static PyObject *_wrap_wxMenu_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
efc5f224 9530 PyObject * _resultobj;
b1462dfa 9531 wxMenuItem * _result;
efc5f224 9532 wxMenu * _arg0;
b1462dfa 9533 int _arg1;
efc5f224 9534 PyObject * _argo0 = 0;
b1462dfa 9535 char *_kwnames[] = { "self","id", NULL };
efc5f224
RD
9536
9537 self = self;
b1462dfa 9538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_Remove",_kwnames,&_argo0,&_arg1))
efc5f224
RD
9539 return NULL;
9540 if (_argo0) {
9541 if (_argo0 == Py_None) { _arg0 = NULL; }
9542 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
b1462dfa 9543 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Remove. Expected _wxMenu_p.");
efc5f224
RD
9544 return NULL;
9545 }
9546 }
9547{
4268f798 9548 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9549 _result = (wxMenuItem *)wxMenu_Remove(_arg0,_arg1);
efc5f224 9550
4268f798 9551 wxPyEndAllowThreads(__tstate);
493f1553 9552 if (PyErr_Occurred()) return NULL;
9416aa89 9553}{ _resultobj = wxPyMake_wxObject(_result); }
efc5f224
RD
9554 return _resultobj;
9555}
9556
b1462dfa
RD
9557#define wxMenu_RemoveItem(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
9558static PyObject *_wrap_wxMenu_RemoveItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9559 PyObject * _resultobj;
b1462dfa
RD
9560 wxMenuItem * _result;
9561 wxMenu * _arg0;
9562 wxMenuItem * _arg1;
9563 PyObject * _argo0 = 0;
9564 PyObject * _argo1 = 0;
9565 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
9566
9567 self = self;
b1462dfa
RD
9568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_RemoveItem",_kwnames,&_argo0,&_argo1))
9569 return NULL;
9570 if (_argo0) {
9571 if (_argo0 == Py_None) { _arg0 = NULL; }
9572 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9573 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_RemoveItem. Expected _wxMenu_p.");
9574 return NULL;
9575 }
9576 }
9577 if (_argo1) {
9578 if (_argo1 == Py_None) { _arg1 = NULL; }
9579 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenuItem_p")) {
9580 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_RemoveItem. Expected _wxMenuItem_p.");
8ab979d7 9581 return NULL;
b1462dfa
RD
9582 }
9583 }
cf694132 9584{
4268f798 9585 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9586 _result = (wxMenuItem *)wxMenu_RemoveItem(_arg0,_arg1);
cf694132 9587
4268f798 9588 wxPyEndAllowThreads(__tstate);
493f1553 9589 if (PyErr_Occurred()) return NULL;
9416aa89 9590}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
9591 return _resultobj;
9592}
9593
eb715945 9594static void wxMenu_Destroy(wxMenu *self) { delete self; }
b1462dfa 9595static PyObject *_wrap_wxMenu_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9596 PyObject * _resultobj;
b1462dfa 9597 wxMenu * _arg0;
1d99702e 9598 PyObject * _argo0 = 0;
b1462dfa 9599 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9600
9601 self = self;
b1462dfa 9602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_Destroy",_kwnames,&_argo0))
8ab979d7 9603 return NULL;
1d99702e
RD
9604 if (_argo0) {
9605 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9606 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9607 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Destroy. Expected _wxMenu_p.");
8ab979d7
RD
9608 return NULL;
9609 }
9610 }
cf694132 9611{
4268f798 9612 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9613 wxMenu_Destroy(_arg0);
cf694132 9614
4268f798 9615 wxPyEndAllowThreads(__tstate);
493f1553 9616 if (PyErr_Occurred()) return NULL;
cf694132 9617} Py_INCREF(Py_None);
8ab979d7 9618 _resultobj = Py_None;
8ab979d7
RD
9619 return _resultobj;
9620}
9621
b1462dfa
RD
9622#define wxMenu_DestroyId(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
9623static PyObject *_wrap_wxMenu_DestroyId(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9624 PyObject * _resultobj;
b1462dfa
RD
9625 bool _result;
9626 wxMenu * _arg0;
8ab979d7 9627 int _arg1;
1d99702e 9628 PyObject * _argo0 = 0;
b1462dfa 9629 char *_kwnames[] = { "self","id", NULL };
8ab979d7
RD
9630
9631 self = self;
b1462dfa 9632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_DestroyId",_kwnames,&_argo0,&_arg1))
8ab979d7 9633 return NULL;
1d99702e
RD
9634 if (_argo0) {
9635 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9636 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9637 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_DestroyId. Expected _wxMenu_p.");
8ab979d7
RD
9638 return NULL;
9639 }
9640 }
cf694132 9641{
4268f798 9642 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9643 _result = (bool )wxMenu_DestroyId(_arg0,_arg1);
cf694132 9644
4268f798 9645 wxPyEndAllowThreads(__tstate);
493f1553 9646 if (PyErr_Occurred()) return NULL;
b1462dfa 9647} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
9648 return _resultobj;
9649}
9650
b1462dfa
RD
9651#define wxMenu_DestroyItem(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
9652static PyObject *_wrap_wxMenu_DestroyItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9653 PyObject * _resultobj;
b1462dfa
RD
9654 bool _result;
9655 wxMenu * _arg0;
9656 wxMenuItem * _arg1;
1d99702e 9657 PyObject * _argo0 = 0;
b1462dfa
RD
9658 PyObject * _argo1 = 0;
9659 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
9660
9661 self = self;
b1462dfa 9662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_DestroyItem",_kwnames,&_argo0,&_argo1))
8ab979d7 9663 return NULL;
1d99702e
RD
9664 if (_argo0) {
9665 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9666 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9667 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_DestroyItem. Expected _wxMenu_p.");
9668 return NULL;
9669 }
9670 }
9671 if (_argo1) {
9672 if (_argo1 == Py_None) { _arg1 = NULL; }
9673 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenuItem_p")) {
9674 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_DestroyItem. Expected _wxMenuItem_p.");
8ab979d7
RD
9675 return NULL;
9676 }
9677 }
cf694132 9678{
4268f798 9679 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9680 _result = (bool )wxMenu_DestroyItem(_arg0,_arg1);
cf694132 9681
4268f798 9682 wxPyEndAllowThreads(__tstate);
493f1553 9683 if (PyErr_Occurred()) return NULL;
b1462dfa 9684} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
9685 return _resultobj;
9686}
9687
b1462dfa
RD
9688#define wxMenu_GetMenuItemCount(_swigobj) (_swigobj->GetMenuItemCount())
9689static PyObject *_wrap_wxMenu_GetMenuItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9690 PyObject * _resultobj;
b1462dfa
RD
9691 size_t _result;
9692 wxMenu * _arg0;
1d99702e 9693 PyObject * _argo0 = 0;
b1462dfa 9694 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9695
9696 self = self;
b1462dfa 9697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetMenuItemCount",_kwnames,&_argo0))
8ab979d7 9698 return NULL;
1d99702e
RD
9699 if (_argo0) {
9700 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9701 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9702 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetMenuItemCount. Expected _wxMenu_p.");
8ab979d7
RD
9703 return NULL;
9704 }
9705 }
cf694132 9706{
4268f798 9707 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9708 _result = (size_t )wxMenu_GetMenuItemCount(_arg0);
cf694132 9709
4268f798 9710 wxPyEndAllowThreads(__tstate);
493f1553 9711 if (PyErr_Occurred()) return NULL;
2abc0a0f 9712} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
9713 return _resultobj;
9714}
9715
b1462dfa
RD
9716static PyObject * wxMenu_GetMenuItems(wxMenu *self) {
9717 wxMenuItemList& list = self->GetMenuItems();
9718 return wxPy_ConvertList(&list, "wxMenuItem");
9719 }
9720static PyObject *_wrap_wxMenu_GetMenuItems(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9721 PyObject * _resultobj;
b1462dfa
RD
9722 PyObject * _result;
9723 wxMenu * _arg0;
1d99702e 9724 PyObject * _argo0 = 0;
b1462dfa 9725 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9726
9727 self = self;
b1462dfa 9728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetMenuItems",_kwnames,&_argo0))
8ab979d7 9729 return NULL;
1d99702e
RD
9730 if (_argo0) {
9731 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9732 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9733 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetMenuItems. Expected _wxMenu_p.");
8ab979d7
RD
9734 return NULL;
9735 }
9736 }
cf694132 9737{
4268f798 9738 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9739 _result = (PyObject *)wxMenu_GetMenuItems(_arg0);
cf694132 9740
4268f798 9741 wxPyEndAllowThreads(__tstate);
493f1553 9742 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
9743}{
9744 _resultobj = _result;
9745}
8ab979d7
RD
9746 return _resultobj;
9747}
9748
b1462dfa
RD
9749#define wxMenu_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
9750static PyObject *_wrap_wxMenu_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9751 PyObject * _resultobj;
b1462dfa
RD
9752 wxMenu * _arg0;
9753 wxEvtHandler * _arg1;
1d99702e 9754 PyObject * _argo0 = 0;
b1462dfa
RD
9755 PyObject * _argo1 = 0;
9756 char *_kwnames[] = { "self","handler", NULL };
8ab979d7
RD
9757
9758 self = self;
b1462dfa 9759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_SetEventHandler",_kwnames,&_argo0,&_argo1))
8ab979d7 9760 return NULL;
1d99702e
RD
9761 if (_argo0) {
9762 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9763 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9764 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetEventHandler. Expected _wxMenu_p.");
8ab979d7
RD
9765 return NULL;
9766 }
9767 }
b1462dfa
RD
9768 if (_argo1) {
9769 if (_argo1 == Py_None) { _arg1 = NULL; }
9770 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
9771 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_SetEventHandler. Expected _wxEvtHandler_p.");
8ab979d7 9772 return NULL;
b1462dfa 9773 }
8ab979d7 9774 }
cf694132 9775{
4268f798 9776 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9777 wxMenu_SetEventHandler(_arg0,_arg1);
cf694132 9778
4268f798 9779 wxPyEndAllowThreads(__tstate);
493f1553 9780 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
9781} Py_INCREF(Py_None);
9782 _resultobj = Py_None;
8ab979d7
RD
9783 return _resultobj;
9784}
9785
b1462dfa
RD
9786#define wxMenu_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
9787static PyObject *_wrap_wxMenu_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9788 PyObject * _resultobj;
b1462dfa
RD
9789 wxEvtHandler * _result;
9790 wxMenu * _arg0;
1d99702e 9791 PyObject * _argo0 = 0;
b1462dfa 9792 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9793
9794 self = self;
b1462dfa 9795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetEventHandler",_kwnames,&_argo0))
8ab979d7 9796 return NULL;
1d99702e
RD
9797 if (_argo0) {
9798 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9799 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9800 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetEventHandler. Expected _wxMenu_p.");
8ab979d7
RD
9801 return NULL;
9802 }
9803 }
cf694132 9804{
4268f798 9805 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9806 _result = (wxEvtHandler *)wxMenu_GetEventHandler(_arg0);
cf694132 9807
4268f798 9808 wxPyEndAllowThreads(__tstate);
493f1553 9809 if (PyErr_Occurred()) return NULL;
9416aa89 9810}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
9811 return _resultobj;
9812}
9813
b1462dfa
RD
9814#define wxMenu_SetInvokingWindow(_swigobj,_swigarg0) (_swigobj->SetInvokingWindow(_swigarg0))
9815static PyObject *_wrap_wxMenu_SetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2f90df85 9816 PyObject * _resultobj;
b1462dfa
RD
9817 wxMenu * _arg0;
9818 wxWindow * _arg1;
2f90df85 9819 PyObject * _argo0 = 0;
b1462dfa
RD
9820 PyObject * _argo1 = 0;
9821 char *_kwnames[] = { "self","win", NULL };
2f90df85
RD
9822
9823 self = self;
b1462dfa 9824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_SetInvokingWindow",_kwnames,&_argo0,&_argo1))
2f90df85
RD
9825 return NULL;
9826 if (_argo0) {
9827 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9828 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9829 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetInvokingWindow. Expected _wxMenu_p.");
2f90df85
RD
9830 return NULL;
9831 }
9832 }
b1462dfa
RD
9833 if (_argo1) {
9834 if (_argo1 == Py_None) { _arg1 = NULL; }
9835 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
9836 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_SetInvokingWindow. Expected _wxWindow_p.");
2f90df85 9837 return NULL;
b1462dfa 9838 }
2f90df85 9839 }
2f90df85 9840{
4268f798 9841 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9842 wxMenu_SetInvokingWindow(_arg0,_arg1);
2f90df85 9843
4268f798 9844 wxPyEndAllowThreads(__tstate);
493f1553 9845 if (PyErr_Occurred()) return NULL;
2f90df85
RD
9846} Py_INCREF(Py_None);
9847 _resultobj = Py_None;
2f90df85
RD
9848 return _resultobj;
9849}
9850
b1462dfa
RD
9851#define wxMenu_GetInvokingWindow(_swigobj) (_swigobj->GetInvokingWindow())
9852static PyObject *_wrap_wxMenu_GetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9853 PyObject * _resultobj;
b1462dfa
RD
9854 wxWindow * _result;
9855 wxMenu * _arg0;
1d99702e 9856 PyObject * _argo0 = 0;
b1462dfa 9857 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9858
9859 self = self;
b1462dfa 9860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetInvokingWindow",_kwnames,&_argo0))
8ab979d7 9861 return NULL;
1d99702e
RD
9862 if (_argo0) {
9863 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9864 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9865 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetInvokingWindow. Expected _wxMenu_p.");
8ab979d7
RD
9866 return NULL;
9867 }
9868 }
cf694132 9869{
4268f798 9870 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9871 _result = (wxWindow *)wxMenu_GetInvokingWindow(_arg0);
cf694132 9872
4268f798 9873 wxPyEndAllowThreads(__tstate);
493f1553 9874 if (PyErr_Occurred()) return NULL;
9416aa89 9875}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
9876 return _resultobj;
9877}
9878
b1462dfa
RD
9879#define wxMenu_GetStyle(_swigobj) (_swigobj->GetStyle())
9880static PyObject *_wrap_wxMenu_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9881 PyObject * _resultobj;
b1462dfa
RD
9882 long _result;
9883 wxMenu * _arg0;
1d99702e 9884 PyObject * _argo0 = 0;
b1462dfa 9885 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9886
9887 self = self;
b1462dfa 9888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetStyle",_kwnames,&_argo0))
8ab979d7 9889 return NULL;
1d99702e
RD
9890 if (_argo0) {
9891 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9892 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9893 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetStyle. Expected _wxMenu_p.");
8ab979d7
RD
9894 return NULL;
9895 }
9896 }
8ab979d7 9897{
4268f798 9898 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9899 _result = (long )wxMenu_GetStyle(_arg0);
cf694132 9900
4268f798 9901 wxPyEndAllowThreads(__tstate);
493f1553 9902 if (PyErr_Occurred()) return NULL;
b1462dfa 9903} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
9904 return _resultobj;
9905}
9906
b1462dfa
RD
9907#define wxMenu_IsAttached(_swigobj) (_swigobj->IsAttached())
9908static PyObject *_wrap_wxMenu_IsAttached(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9909 PyObject * _resultobj;
b1462dfa
RD
9910 bool _result;
9911 wxMenu * _arg0;
1d99702e 9912 PyObject * _argo0 = 0;
b1462dfa 9913 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9914
9915 self = self;
b1462dfa 9916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_IsAttached",_kwnames,&_argo0))
8ab979d7 9917 return NULL;
1d99702e
RD
9918 if (_argo0) {
9919 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9920 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9921 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_IsAttached. Expected _wxMenu_p.");
8ab979d7
RD
9922 return NULL;
9923 }
9924 }
8ab979d7 9925{
4268f798 9926 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9927 _result = (bool )wxMenu_IsAttached(_arg0);
cf694132 9928
4268f798 9929 wxPyEndAllowThreads(__tstate);
493f1553 9930 if (PyErr_Occurred()) return NULL;
b1462dfa 9931} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
9932 return _resultobj;
9933}
9934
b1462dfa
RD
9935#define wxMenu_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
9936static PyObject *_wrap_wxMenu_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9937 PyObject * _resultobj;
b1462dfa
RD
9938 wxMenu * _arg0;
9939 wxMenu * _arg1;
1d99702e 9940 PyObject * _argo0 = 0;
b1462dfa
RD
9941 PyObject * _argo1 = 0;
9942 char *_kwnames[] = { "self","parent", NULL };
8ab979d7
RD
9943
9944 self = self;
b1462dfa 9945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_SetParent",_kwnames,&_argo0,&_argo1))
8ab979d7 9946 return NULL;
1d99702e
RD
9947 if (_argo0) {
9948 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9949 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9950 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetParent. Expected _wxMenu_p.");
8ab979d7
RD
9951 return NULL;
9952 }
9953 }
b1462dfa
RD
9954 if (_argo1) {
9955 if (_argo1 == Py_None) { _arg1 = NULL; }
9956 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
9957 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_SetParent. Expected _wxMenu_p.");
8ab979d7 9958 return NULL;
b1462dfa 9959 }
8ab979d7 9960 }
cf694132 9961{
4268f798 9962 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9963 wxMenu_SetParent(_arg0,_arg1);
cf694132 9964
4268f798 9965 wxPyEndAllowThreads(__tstate);
493f1553 9966 if (PyErr_Occurred()) return NULL;
cf694132 9967} Py_INCREF(Py_None);
8ab979d7 9968 _resultobj = Py_None;
8ab979d7
RD
9969 return _resultobj;
9970}
9971
b1462dfa
RD
9972#define wxMenu_GetParent(_swigobj) (_swigobj->GetParent())
9973static PyObject *_wrap_wxMenu_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9974 PyObject * _resultobj;
b1462dfa
RD
9975 wxMenu * _result;
9976 wxMenu * _arg0;
1d99702e 9977 PyObject * _argo0 = 0;
b1462dfa 9978 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9979
9980 self = self;
b1462dfa 9981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetParent",_kwnames,&_argo0))
8ab979d7 9982 return NULL;
1d99702e
RD
9983 if (_argo0) {
9984 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9985 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9986 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetParent. Expected _wxMenu_p.");
8ab979d7
RD
9987 return NULL;
9988 }
9989 }
8ab979d7 9990{
4268f798 9991 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9992 _result = (wxMenu *)wxMenu_GetParent(_arg0);
cf694132 9993
4268f798 9994 wxPyEndAllowThreads(__tstate);
493f1553 9995 if (PyErr_Occurred()) return NULL;
9416aa89 9996}{ _resultobj = wxPyMake_wxObject(_result); }
b1462dfa 9997 return _resultobj;
8ab979d7 9998}
b1462dfa
RD
9999
10000static void *SwigwxMenuBarTowxWindow(void *ptr) {
10001 wxMenuBar *src;
10002 wxWindow *dest;
10003 src = (wxMenuBar *) ptr;
10004 dest = (wxWindow *) src;
10005 return (void *) dest;
10006}
10007
10008static void *SwigwxMenuBarTowxEvtHandler(void *ptr) {
10009 wxMenuBar *src;
10010 wxEvtHandler *dest;
10011 src = (wxMenuBar *) ptr;
10012 dest = (wxEvtHandler *) src;
10013 return (void *) dest;
8ab979d7 10014}
b1462dfa 10015
9416aa89
RD
10016static void *SwigwxMenuBarTowxObject(void *ptr) {
10017 wxMenuBar *src;
10018 wxObject *dest;
10019 src = (wxMenuBar *) ptr;
10020 dest = (wxObject *) src;
10021 return (void *) dest;
10022}
10023
c368d904 10024#define new_wxMenuBar(_swigarg0) (new wxMenuBar(_swigarg0))
b1462dfa
RD
10025static PyObject *_wrap_new_wxMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
10026 PyObject * _resultobj;
10027 wxMenuBar * _result;
c368d904
RD
10028 long _arg0 = (long ) 0;
10029 char *_kwnames[] = { "style", NULL };
b1462dfa
RD
10030 char _ptemp[128];
10031
10032 self = self;
c368d904 10033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|l:new_wxMenuBar",_kwnames,&_arg0))
b1462dfa
RD
10034 return NULL;
10035{
4268f798 10036 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10037 _result = (wxMenuBar *)new_wxMenuBar(_arg0);
b1462dfa 10038
4268f798 10039 wxPyEndAllowThreads(__tstate);
493f1553 10040 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
10041} if (_result) {
10042 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuBar_p");
10043 _resultobj = Py_BuildValue("s",_ptemp);
10044 } else {
10045 Py_INCREF(Py_None);
10046 _resultobj = Py_None;
10047 }
8ab979d7
RD
10048 return _resultobj;
10049}
10050
b1462dfa
RD
10051#define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
10052static PyObject *_wrap_wxMenuBar_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 10053 PyObject * _resultobj;
b1462dfa 10054 bool _result;
8ab979d7 10055 wxMenuBar * _arg0;
b1462dfa 10056 wxMenu * _arg1;
8ab979d7 10057 wxString * _arg2;
1d99702e 10058 PyObject * _argo0 = 0;
b1462dfa 10059 PyObject * _argo1 = 0;
8ab979d7 10060 PyObject * _obj2 = 0;
b1462dfa 10061 char *_kwnames[] = { "self","menu","title", NULL };
8ab979d7
RD
10062
10063 self = self;
b1462dfa 10064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxMenuBar_Append",_kwnames,&_argo0,&_argo1,&_obj2))
8ab979d7 10065 return NULL;
1d99702e
RD
10066 if (_argo0) {
10067 if (_argo0 == Py_None) { _arg0 = NULL; }
10068 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
b1462dfa
RD
10069 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
10070 return NULL;
10071 }
10072 }
10073 if (_argo1) {
10074 if (_argo1 == Py_None) { _arg1 = NULL; }
10075 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
10076 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
8ab979d7
RD
10077 return NULL;
10078 }
10079 }
10080{
c8bc7bb8
RD
10081 _arg2 = wxString_in_helper(_obj2);
10082 if (_arg2 == NULL)
185d7c3e 10083 return NULL;
8ab979d7 10084}
cf694132 10085{
4268f798 10086 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10087 _result = (bool )wxMenuBar_Append(_arg0,_arg1,*_arg2);
cf694132 10088
4268f798 10089 wxPyEndAllowThreads(__tstate);
493f1553 10090 if (PyErr_Occurred()) return NULL;
b1462dfa 10091} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
10092{
10093 if (_obj2)
10094 delete _arg2;
10095}
10096 return _resultobj;
10097}
10098
b1462dfa
RD
10099#define wxMenuBar_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2))
10100static PyObject *_wrap_wxMenuBar_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 10101 PyObject * _resultobj;
b1462dfa 10102 bool _result;
8ab979d7 10103 wxMenuBar * _arg0;
b1462dfa
RD
10104 size_t _arg1;
10105 wxMenu * _arg2;
10106 wxString * _arg3;
1d99702e 10107 PyObject * _argo0 = 0;
b1462dfa
RD
10108 PyObject * _argo2 = 0;
10109 PyObject * _obj3 = 0;
10110 char *_kwnames[] = { "self","pos","menu","title", NULL };
8ab979d7
RD
10111
10112 self = self;
b1462dfa 10113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO:wxMenuBar_Insert",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3))
8ab979d7 10114 return NULL;
1d99702e
RD
10115 if (_argo0) {
10116 if (_argo0 == Py_None) { _arg0 = NULL; }
10117 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
b1462dfa
RD
10118 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Insert. Expected _wxMenuBar_p.");
10119 return NULL;
10120 }
10121 }
10122 if (_argo2) {
10123 if (_argo2 == Py_None) { _arg2 = NULL; }
10124 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxMenu_p")) {
10125 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxMenuBar_Insert. Expected _wxMenu_p.");
8ab979d7
RD
10126 return NULL;
10127 }
10128 }
b1462dfa 10129{
c8bc7bb8
RD
10130 _arg3 = wxString_in_helper(_obj3);
10131 if (_arg3 == NULL)
185d7c3e 10132 return NULL;
b1462dfa 10133}
cf694132 10134{
4268f798 10135 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10136 _result = (bool )wxMenuBar_Insert(_arg0,_arg1,_arg2,*_arg3);
cf694132 10137
4268f798 10138 wxPyEndAllowThreads(__tstate);
493f1553 10139 if (PyErr_Occurred()) return NULL;
cf694132 10140} _resultobj = Py_BuildValue("i",_result);
b1462dfa
RD
10141{
10142 if (_obj3)
10143 delete _arg3;
10144}
8ab979d7
RD
10145 return _resultobj;
10146}
10147
b1462dfa
RD
10148#define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
10149static PyObject *_wrap_wxMenuBar_GetMenuCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 10150 PyObject * _resultobj;
b1462dfa 10151 size_t _result;
8ab979d7 10152 wxMenuBar * _arg0;
1d99702e 10153 PyObject * _argo0 = 0;
b1462dfa 10154 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
10155
10156 self = self;
b1462dfa 10157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuBar_GetMenuCount",_kwnames,&_argo0))
8ab979d7 10158 return NULL;
1d99702e
RD
10159 if (_argo0) {
10160 if (_argo0 == Py_None) { _arg0 = NULL; }
10161 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
b1462dfa 10162 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
8ab979d7
RD
10163 return NULL;
10164 }
10165 }
cf694132 10166{
4268f798 10167 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10168 _result = (size_t )wxMenuBar_GetMenuCount(_arg0);
cf694132 10169
4268f798 10170 wxPyEndAllowThreads(__tstate);
493f1553 10171 if (PyErr_Occurred()) return NULL;
b1462dfa 10172} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
10173 return _resultobj;
10174}
10175
b1462dfa
RD
10176#define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
10177static PyObject *_wrap_wxMenuBar_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
06c0fba4 10178 PyObject * _resultobj;
b1462dfa 10179 wxMenu * _result;
06c0fba4 10180 wxMenuBar * _arg0;
b1462dfa 10181 size_t _arg1;
06c0fba4 10182 PyObject * _argo0 = 0;
b1462dfa 10183 char *_kwnames[] = { "self","pos", NULL };
06c0fba4
RD
10184
10185 self = self;
b1462dfa 10186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_GetMenu",_kwnames,&_argo0,&_arg1))
06c0fba4
RD
10187 return NULL;
10188 if (_argo0) {
10189 if (_argo0 == Py_None) { _arg0 = NULL; }
10190 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
b1462dfa 10191 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
06c0fba4
RD
10192 return NULL;
10193 }
10194 }
10195{
4268f798 10196 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10197 _result = (wxMenu *)wxMenuBar_GetMenu(_arg0,_arg1);
06c0fba4 10198
4268f798 10199 wxPyEndAllowThreads(__tstate);
493f1553 10200 if (PyErr_Occurred()) return NULL;
9416aa89 10201}{ _resultobj = wxPyMake_wxObject(_result); }
06c0fba4
RD
10202 return _resultobj;
10203}
10204
2abc0a0f
RD
10205#define wxMenuBar_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
10206static PyObject *_wrap_wxMenuBar_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
10207 PyObject * _resultobj;
10208 wxMenu * _result;
10209 wxMenuBar * _arg0;
10210 size_t _arg1;
10211 wxMenu * _arg2;
10212 wxString * _arg3;
10213 PyObject * _argo0 = 0;
10214 PyObject * _argo2 = 0;
10215 PyObject * _obj3 = 0;
10216 char *_kwnames[] = { "self","pos","menu","title", NULL };
2abc0a0f
RD
10217
10218 self = self;
10219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO:wxMenuBar_Replace",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3))
10220 return NULL;
10221 if (_argo0) {
10222 if (_argo0 == Py_None) { _arg0 = NULL; }
10223 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10224 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Replace. Expected _wxMenuBar_p.");
10225 return NULL;
10226 }
10227 }
10228 if (_argo2) {
10229 if (_argo2 == Py_None) { _arg2 = NULL; }
10230 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxMenu_p")) {
10231 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxMenuBar_Replace. Expected _wxMenu_p.");
10232 return NULL;
10233 }
10234 }
10235{
c8bc7bb8
RD
10236 _arg3 = wxString_in_helper(_obj3);
10237 if (_arg3 == NULL)
185d7c3e 10238 return NULL;
2abc0a0f
RD
10239}
10240{
4268f798 10241 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10242 _result = (wxMenu *)wxMenuBar_Replace(_arg0,_arg1,_arg2,*_arg3);
2abc0a0f 10243
4268f798 10244 wxPyEndAllowThreads(__tstate);
493f1553 10245 if (PyErr_Occurred()) return NULL;
9416aa89 10246}{ _resultobj = wxPyMake_wxObject(_result); }
2abc0a0f
RD
10247{
10248 if (_obj3)
10249 delete _arg3;
10250}
10251 return _resultobj;
10252}
10253
10254#define wxMenuBar_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
10255static PyObject *_wrap_wxMenuBar_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
10256 PyObject * _resultobj;
10257 wxMenu * _result;
10258 wxMenuBar * _arg0;
10259 size_t _arg1;
10260 PyObject * _argo0 = 0;
10261 char *_kwnames[] = { "self","pos", NULL };
2abc0a0f
RD
10262
10263 self = self;
10264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_Remove",_kwnames,&_argo0,&_arg1))
10265 return NULL;
10266 if (_argo0) {
10267 if (_argo0 == Py_None) { _arg0 = NULL; }
10268 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10269 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Remove. Expected _wxMenuBar_p.");
10270 return NULL;
10271 }
10272 }
10273{
4268f798 10274 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10275 _result = (wxMenu *)wxMenuBar_Remove(_arg0,_arg1);
2abc0a0f 10276
4268f798 10277 wxPyEndAllowThreads(__tstate);
493f1553 10278 if (PyErr_Occurred()) return NULL;
9416aa89 10279}{ _resultobj = wxPyMake_wxObject(_result); }
2abc0a0f
RD
10280 return _resultobj;
10281}
10282
b1462dfa
RD
10283#define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
10284static PyObject *_wrap_wxMenuBar_EnableTop(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 10285 PyObject * _resultobj;
b1462dfa
RD
10286 wxMenuBar * _arg0;
10287 size_t _arg1;
10288 bool _arg2;
10289 PyObject * _argo0 = 0;
10290 int tempbool2;
10291 char *_kwnames[] = { "self","pos","enable", NULL };
10292
10293 self = self;
10294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxMenuBar_EnableTop",_kwnames,&_argo0,&_arg1,&tempbool2))
10295 return NULL;
10296 if (_argo0) {
10297 if (_argo0 == Py_None) { _arg0 = NULL; }
10298 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10299 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
10300 return NULL;
10301 }
10302 }
10303 _arg2 = (bool ) tempbool2;
10304{
4268f798 10305 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10306 wxMenuBar_EnableTop(_arg0,_arg1,_arg2);
b1462dfa 10307
4268f798 10308 wxPyEndAllowThreads(__tstate);
493f1553 10309 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
10310} Py_INCREF(Py_None);
10311 _resultobj = Py_None;
10312 return _resultobj;
10313}
10314
7e50db3f
RD
10315#define wxMenuBar_IsEnabledTop(_swigobj,_swigarg0) (_swigobj->IsEnabledTop(_swigarg0))
10316static PyObject *_wrap_wxMenuBar_IsEnabledTop(PyObject *self, PyObject *args, PyObject *kwargs) {
10317 PyObject * _resultobj;
10318 bool _result;
10319 wxMenuBar * _arg0;
10320 size_t _arg1;
10321 PyObject * _argo0 = 0;
10322 char *_kwnames[] = { "self","pos", NULL };
10323
10324 self = self;
10325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_IsEnabledTop",_kwnames,&_argo0,&_arg1))
10326 return NULL;
10327 if (_argo0) {
10328 if (_argo0 == Py_None) { _arg0 = NULL; }
10329 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10330 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_IsEnabledTop. Expected _wxMenuBar_p.");
10331 return NULL;
10332 }
10333 }
10334{
10335 PyThreadState* __tstate = wxPyBeginAllowThreads();
10336 _result = (bool )wxMenuBar_IsEnabledTop(_arg0,_arg1);
10337
10338 wxPyEndAllowThreads(__tstate);
10339 if (PyErr_Occurred()) return NULL;
10340} _resultobj = Py_BuildValue("i",_result);
10341 return _resultobj;
10342}
10343
b1462dfa
RD
10344#define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
10345static PyObject *_wrap_wxMenuBar_SetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
10346 PyObject * _resultobj;
10347 wxMenuBar * _arg0;
10348 size_t _arg1;
10349 wxString * _arg2;
1d99702e 10350 PyObject * _argo0 = 0;
cf694132 10351 PyObject * _obj2 = 0;
b1462dfa 10352 char *_kwnames[] = { "self","pos","label", NULL };
cf694132
RD
10353
10354 self = self;
b1462dfa 10355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenuBar_SetLabelTop",_kwnames,&_argo0,&_arg1,&_obj2))
cf694132 10356 return NULL;
1d99702e
RD
10357 if (_argo0) {
10358 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
10359 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10360 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
cf694132
RD
10361 return NULL;
10362 }
10363 }
cf694132 10364{
c8bc7bb8
RD
10365 _arg2 = wxString_in_helper(_obj2);
10366 if (_arg2 == NULL)
185d7c3e 10367 return NULL;
cf694132 10368}
cf694132 10369{
4268f798 10370 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10371 wxMenuBar_SetLabelTop(_arg0,_arg1,*_arg2);
b1462dfa 10372
4268f798 10373 wxPyEndAllowThreads(__tstate);
493f1553 10374 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
10375} Py_INCREF(Py_None);
10376 _resultobj = Py_None;
10377{
10378 if (_obj2)
10379 delete _arg2;
10380}
10381 return _resultobj;
10382}
10383
10384#define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
10385static PyObject *_wrap_wxMenuBar_GetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
10386 PyObject * _resultobj;
10387 wxString * _result;
10388 wxMenuBar * _arg0;
10389 size_t _arg1;
10390 PyObject * _argo0 = 0;
10391 char *_kwnames[] = { "self","pos", NULL };
10392
10393 self = self;
10394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_GetLabelTop",_kwnames,&_argo0,&_arg1))
10395 return NULL;
10396 if (_argo0) {
10397 if (_argo0 == Py_None) { _arg0 = NULL; }
10398 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10399 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
10400 return NULL;
10401 }
10402 }
10403{
4268f798 10404 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10405 _result = new wxString (wxMenuBar_GetLabelTop(_arg0,_arg1));
b1462dfa 10406
4268f798 10407 wxPyEndAllowThreads(__tstate);
493f1553 10408 if (PyErr_Occurred()) return NULL;
b1462dfa 10409}{
c8bc7bb8 10410#if wxUSE_UNICODE
7e50db3f 10411 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 10412#else
eec92d76 10413 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 10414#endif
b1462dfa
RD
10415}
10416{
10417 delete _result;
10418}
10419 return _resultobj;
10420}
10421
3a0958b1
RD
10422#define wxMenuBar_FindMenu(_swigobj,_swigarg0) (_swigobj->FindMenu(_swigarg0))
10423static PyObject *_wrap_wxMenuBar_FindMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
10424 PyObject * _resultobj;
10425 int _result;
10426 wxMenuBar * _arg0;
10427 wxString * _arg1;
10428 PyObject * _argo0 = 0;
10429 PyObject * _obj1 = 0;
10430 char *_kwnames[] = { "self","title", NULL };
10431
10432 self = self;
10433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuBar_FindMenu",_kwnames,&_argo0,&_obj1))
10434 return NULL;
10435 if (_argo0) {
10436 if (_argo0 == Py_None) { _arg0 = NULL; }
10437 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10438 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_FindMenu. Expected _wxMenuBar_p.");
10439 return NULL;
10440 }
10441 }
10442{
c8bc7bb8
RD
10443 _arg1 = wxString_in_helper(_obj1);
10444 if (_arg1 == NULL)
3a0958b1 10445 return NULL;
3a0958b1
RD
10446}
10447{
4268f798 10448 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10449 _result = (int )wxMenuBar_FindMenu(_arg0,*_arg1);
3a0958b1 10450
4268f798 10451 wxPyEndAllowThreads(__tstate);
3a0958b1
RD
10452 if (PyErr_Occurred()) return NULL;
10453} _resultobj = Py_BuildValue("i",_result);
10454{
10455 if (_obj1)
10456 delete _arg1;
10457}
10458 return _resultobj;
10459}
10460
b1462dfa
RD
10461#define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
10462static PyObject *_wrap_wxMenuBar_FindMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
10463 PyObject * _resultobj;
10464 int _result;
10465 wxMenuBar * _arg0;
10466 wxString * _arg1;
10467 wxString * _arg2;
10468 PyObject * _argo0 = 0;
10469 PyObject * _obj1 = 0;
10470 PyObject * _obj2 = 0;
10471 char *_kwnames[] = { "self","menuString","itemString", NULL };
10472
10473 self = self;
10474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxMenuBar_FindMenuItem",_kwnames,&_argo0,&_obj1,&_obj2))
10475 return NULL;
10476 if (_argo0) {
10477 if (_argo0 == Py_None) { _arg0 = NULL; }
10478 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10479 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
10480 return NULL;
10481 }
10482 }
10483{
c8bc7bb8
RD
10484 _arg1 = wxString_in_helper(_obj1);
10485 if (_arg1 == NULL)
185d7c3e 10486 return NULL;
cf694132 10487}
b1462dfa 10488{
c8bc7bb8
RD
10489 _arg2 = wxString_in_helper(_obj2);
10490 if (_arg2 == NULL)
b1462dfa 10491 return NULL;
b1462dfa
RD
10492}
10493{
4268f798 10494 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10495 _result = (int )wxMenuBar_FindMenuItem(_arg0,*_arg1,*_arg2);
b1462dfa 10496
4268f798 10497 wxPyEndAllowThreads(__tstate);
493f1553 10498 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
10499} _resultobj = Py_BuildValue("i",_result);
10500{
10501 if (_obj1)
10502 delete _arg1;
10503}
10504{
10505 if (_obj2)
10506 delete _arg2;
10507}
10508 return _resultobj;
10509}
10510
10511#define wxMenuBar_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
10512static PyObject *_wrap_wxMenuBar_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
10513 PyObject * _resultobj;
10514 wxMenuItem * _result;
10515 wxMenuBar * _arg0;
10516 int _arg1;
10517 PyObject * _argo0 = 0;
10518 char *_kwnames[] = { "self","id", NULL };
b1462dfa
RD
10519
10520 self = self;
10521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_FindItemById",_kwnames,&_argo0,&_arg1))
10522 return NULL;
10523 if (_argo0) {
10524 if (_argo0 == Py_None) { _arg0 = NULL; }
10525 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10526 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_FindItemById. Expected _wxMenuBar_p.");
cf694132
RD
10527 return NULL;
10528 }
10529 }
10530{
4268f798 10531 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10532 _result = (wxMenuItem *)wxMenuBar_FindItemById(_arg0,_arg1);
cf694132 10533
4268f798 10534 wxPyEndAllowThreads(__tstate);
493f1553 10535 if (PyErr_Occurred()) return NULL;
9416aa89 10536}{ _resultobj = wxPyMake_wxObject(_result); }
b1462dfa 10537 return _resultobj;
cf694132 10538}
b1462dfa
RD
10539
10540#define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
10541static PyObject *_wrap_wxMenuBar_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
10542 PyObject * _resultobj;
10543 wxMenuBar * _arg0;
10544 int _arg1;
10545 bool _arg2;
10546 PyObject * _argo0 = 0;
10547 int tempbool2;
10548 char *_kwnames[] = { "self","id","enable", NULL };
10549
10550 self = self;
10551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxMenuBar_Enable",_kwnames,&_argo0,&_arg1,&tempbool2))
10552 return NULL;
10553 if (_argo0) {
10554 if (_argo0 == Py_None) { _arg0 = NULL; }
10555 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10556 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
10557 return NULL;
10558 }
10559 }
10560 _arg2 = (bool ) tempbool2;
cf694132 10561{
4268f798 10562 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10563 wxMenuBar_Enable(_arg0,_arg1,_arg2);
b1462dfa 10564
4268f798 10565 wxPyEndAllowThreads(__tstate);
493f1553 10566 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
10567} Py_INCREF(Py_None);
10568 _resultobj = Py_None;
10569 return _resultobj;
cf694132 10570}
b1462dfa
RD
10571
10572#define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
10573static PyObject *_wrap_wxMenuBar_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
10574 PyObject * _resultobj;
10575 wxMenuBar * _arg0;
10576 int _arg1;
10577 bool _arg2;
10578 PyObject * _argo0 = 0;
10579 int tempbool2;
10580 char *_kwnames[] = { "self","id","check", NULL };
10581
10582 self = self;
10583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxMenuBar_Check",_kwnames,&_argo0,&_arg1,&tempbool2))
10584 return NULL;
10585 if (_argo0) {
10586 if (_argo0 == Py_None) { _arg0 = NULL; }
10587 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10588 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
10589 return NULL;
10590 }
10591 }
10592 _arg2 = (bool ) tempbool2;
10593{
4268f798 10594 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10595 wxMenuBar_Check(_arg0,_arg1,_arg2);
b1462dfa 10596
4268f798 10597 wxPyEndAllowThreads(__tstate);
493f1553 10598 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
10599} Py_INCREF(Py_None);
10600 _resultobj = Py_None;
cf694132
RD
10601 return _resultobj;
10602}
10603
b1462dfa
RD
10604#define wxMenuBar_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
10605static PyObject *_wrap_wxMenuBar_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10606 PyObject * _resultobj;
10607 bool _result;
b1462dfa
RD
10608 wxMenuBar * _arg0;
10609 int _arg1;
1d99702e 10610 PyObject * _argo0 = 0;
b1462dfa 10611 char *_kwnames[] = { "self","id", NULL };
8ab979d7
RD
10612
10613 self = self;
b1462dfa 10614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_IsChecked",_kwnames,&_argo0,&_arg1))
8ab979d7 10615 return NULL;
1d99702e
RD
10616 if (_argo0) {
10617 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
10618 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10619 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_IsChecked. Expected _wxMenuBar_p.");
8ab979d7
RD
10620 return NULL;
10621 }
10622 }
cf694132 10623{
4268f798 10624 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10625 _result = (bool )wxMenuBar_IsChecked(_arg0,_arg1);
cf694132 10626
4268f798 10627 wxPyEndAllowThreads(__tstate);
493f1553 10628 if (PyErr_Occurred()) return NULL;
cf694132 10629} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
10630 return _resultobj;
10631}
10632
b1462dfa
RD
10633#define wxMenuBar_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
10634static PyObject *_wrap_wxMenuBar_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10635 PyObject * _resultobj;
10636 bool _result;
b1462dfa
RD
10637 wxMenuBar * _arg0;
10638 int _arg1;
1d99702e 10639 PyObject * _argo0 = 0;
b1462dfa 10640 char *_kwnames[] = { "self","id", NULL };
8ab979d7
RD
10641
10642 self = self;
b1462dfa 10643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_IsEnabled",_kwnames,&_argo0,&_arg1))
8ab979d7 10644 return NULL;
1d99702e
RD
10645 if (_argo0) {
10646 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
10647 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10648 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_IsEnabled. Expected _wxMenuBar_p.");
8ab979d7
RD
10649 return NULL;
10650 }
10651 }
cf694132 10652{
4268f798 10653 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10654 _result = (bool )wxMenuBar_IsEnabled(_arg0,_arg1);
cf694132 10655
4268f798 10656 wxPyEndAllowThreads(__tstate);
493f1553 10657 if (PyErr_Occurred()) return NULL;
cf694132 10658} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
10659 return _resultobj;
10660}
10661
b1462dfa
RD
10662#define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
10663static PyObject *_wrap_wxMenuBar_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 10664 PyObject * _resultobj;
b1462dfa
RD
10665 wxMenuBar * _arg0;
10666 int _arg1;
10667 wxString * _arg2;
1d99702e 10668 PyObject * _argo0 = 0;
b1462dfa
RD
10669 PyObject * _obj2 = 0;
10670 char *_kwnames[] = { "self","id","label", NULL };
8ab979d7
RD
10671
10672 self = self;
b1462dfa 10673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenuBar_SetLabel",_kwnames,&_argo0,&_arg1,&_obj2))
8ab979d7 10674 return NULL;
1d99702e
RD
10675 if (_argo0) {
10676 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
10677 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10678 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
8ab979d7
RD
10679 return NULL;
10680 }
10681 }
b1462dfa 10682{
c8bc7bb8
RD
10683 _arg2 = wxString_in_helper(_obj2);
10684 if (_arg2 == NULL)
b1462dfa 10685 return NULL;
b1462dfa 10686}
cf694132 10687{
4268f798 10688 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10689 wxMenuBar_SetLabel(_arg0,_arg1,*_arg2);
cf694132 10690
4268f798 10691 wxPyEndAllowThreads(__tstate);
493f1553 10692 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
10693} Py_INCREF(Py_None);
10694 _resultobj = Py_None;
10695{
10696 if (_obj2)
10697 delete _arg2;
10698}
8ab979d7
RD
10699 return _resultobj;
10700}
10701
b1462dfa
RD
10702#define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
10703static PyObject *_wrap_wxMenuBar_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 10704 PyObject * _resultobj;
b1462dfa
RD
10705 wxString * _result;
10706 wxMenuBar * _arg0;
10707 int _arg1;
1d99702e 10708 PyObject * _argo0 = 0;
b1462dfa 10709 char *_kwnames[] = { "self","id", NULL };
8ab979d7
RD
10710
10711 self = self;
b1462dfa 10712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_GetLabel",_kwnames,&_argo0,&_arg1))
8ab979d7 10713 return NULL;
1d99702e
RD
10714 if (_argo0) {
10715 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
10716 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10717 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
10718 return NULL;
10719 }
10720 }
10721{
4268f798 10722 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10723 _result = new wxString (wxMenuBar_GetLabel(_arg0,_arg1));
b1462dfa 10724
4268f798 10725 wxPyEndAllowThreads(__tstate);
493f1553 10726 if (PyErr_Occurred()) return NULL;
b1462dfa 10727}{
c8bc7bb8 10728#if wxUSE_UNICODE
7e50db3f 10729 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 10730#else
eec92d76 10731 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 10732#endif
b1462dfa
RD
10733}
10734{
10735 delete _result;
10736}
10737 return _resultobj;
10738}
10739
10740#define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
10741static PyObject *_wrap_wxMenuBar_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
10742 PyObject * _resultobj;
10743 wxMenuBar * _arg0;
10744 int _arg1;
10745 wxString * _arg2;
10746 PyObject * _argo0 = 0;
10747 PyObject * _obj2 = 0;
10748 char *_kwnames[] = { "self","id","helpString", NULL };
10749
10750 self = self;
10751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenuBar_SetHelpString",_kwnames,&_argo0,&_arg1,&_obj2))
10752 return NULL;
10753 if (_argo0) {
10754 if (_argo0 == Py_None) { _arg0 = NULL; }
10755 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10756 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
10757 return NULL;
10758 }
10759 }
10760{
c8bc7bb8
RD
10761 _arg2 = wxString_in_helper(_obj2);
10762 if (_arg2 == NULL)
b1462dfa 10763 return NULL;
b1462dfa
RD
10764}
10765{
4268f798 10766 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10767 wxMenuBar_SetHelpString(_arg0,_arg1,*_arg2);
b1462dfa 10768
4268f798 10769 wxPyEndAllowThreads(__tstate);
493f1553 10770 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
10771} Py_INCREF(Py_None);
10772 _resultobj = Py_None;
10773{
10774 if (_obj2)
10775 delete _arg2;
10776}
10777 return _resultobj;
10778}
10779
10780#define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
10781static PyObject *_wrap_wxMenuBar_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
10782 PyObject * _resultobj;
10783 wxString * _result;
10784 wxMenuBar * _arg0;
10785 int _arg1;
10786 PyObject * _argo0 = 0;
10787 char *_kwnames[] = { "self","id", NULL };
10788
10789 self = self;
10790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_GetHelpString",_kwnames,&_argo0,&_arg1))
10791 return NULL;
10792 if (_argo0) {
10793 if (_argo0 == Py_None) { _arg0 = NULL; }
10794 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10795 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
8ab979d7
RD
10796 return NULL;
10797 }
10798 }
cf694132 10799{
4268f798 10800 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10801 _result = new wxString (wxMenuBar_GetHelpString(_arg0,_arg1));
cf694132 10802
4268f798 10803 wxPyEndAllowThreads(__tstate);
493f1553 10804 if (PyErr_Occurred()) return NULL;
b1462dfa 10805}{
c8bc7bb8 10806#if wxUSE_UNICODE
7e50db3f 10807 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 10808#else
eec92d76 10809 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 10810#endif
b1462dfa
RD
10811}
10812{
10813 delete _result;
10814}
8ab979d7
RD
10815 return _resultobj;
10816}
10817
9416aa89
RD
10818static void *SwigwxMenuItemTowxObject(void *ptr) {
10819 wxMenuItem *src;
10820 wxObject *dest;
10821 src = (wxMenuItem *) ptr;
10822 dest = (wxObject *) src;
10823 return (void *) dest;
10824}
10825
b1462dfa
RD
10826#define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
10827static PyObject *_wrap_new_wxMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 10828 PyObject * _resultobj;
b1462dfa
RD
10829 wxMenuItem * _result;
10830 wxMenu * _arg0 = (wxMenu *) NULL;
4c9993c3 10831 int _arg1 = (int ) wxID_SEPARATOR;
137b5242
RD
10832 wxString * _arg2 = (wxString *) &wxPyEmptyString;
10833 wxString * _arg3 = (wxString *) &wxPyEmptyString;
546bfbea 10834 wxItemKind _arg4 = (wxItemKind ) wxITEM_NORMAL;
b1462dfa 10835 wxMenu * _arg5 = (wxMenu *) NULL;
1d99702e 10836 PyObject * _argo0 = 0;
b1462dfa
RD
10837 PyObject * _obj2 = 0;
10838 PyObject * _obj3 = 0;
b1462dfa 10839 PyObject * _argo5 = 0;
e9159fe8 10840 char *_kwnames[] = { "parentMenu","id","text","help","kind","subMenu", NULL };
b1462dfa 10841 char _ptemp[128];
8ab979d7
RD
10842
10843 self = self;
e9159fe8 10844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OiOOiO:new_wxMenuItem",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5))
8ab979d7 10845 return NULL;
1d99702e
RD
10846 if (_argo0) {
10847 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
10848 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
10849 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
10850 return NULL;
10851 }
10852 }
10853 if (_obj2)
10854{
c8bc7bb8
RD
10855 _arg2 = wxString_in_helper(_obj2);
10856 if (_arg2 == NULL)
b1462dfa 10857 return NULL;
b1462dfa
RD
10858}
10859 if (_obj3)
10860{
c8bc7bb8
RD
10861 _arg3 = wxString_in_helper(_obj3);
10862 if (_arg3 == NULL)
b1462dfa 10863 return NULL;
b1462dfa 10864}
b1462dfa
RD
10865 if (_argo5) {
10866 if (_argo5 == Py_None) { _arg5 = NULL; }
10867 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxMenu_p")) {
10868 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
8ab979d7
RD
10869 return NULL;
10870 }
10871 }
cf694132 10872{
4268f798 10873 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10874 _result = (wxMenuItem *)new_wxMenuItem(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
cf694132 10875
4268f798 10876 wxPyEndAllowThreads(__tstate);
493f1553 10877 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
10878} if (_result) {
10879 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuItem_p");
10880 _resultobj = Py_BuildValue("s",_ptemp);
10881 } else {
10882 Py_INCREF(Py_None);
10883 _resultobj = Py_None;
10884 }
10885{
10886 if (_obj2)
10887 delete _arg2;
10888}
10889{
10890 if (_obj3)
10891 delete _arg3;
10892}
8ab979d7
RD
10893 return _resultobj;
10894}
10895
b1462dfa
RD
10896#define wxMenuItem_GetMenu(_swigobj) (_swigobj->GetMenu())
10897static PyObject *_wrap_wxMenuItem_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 10898 PyObject * _resultobj;
b1462dfa 10899 wxMenu * _result;
8ab979d7 10900 wxMenuItem * _arg0;
1d99702e 10901 PyObject * _argo0 = 0;
efc5f224 10902 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
10903
10904 self = self;
b1462dfa 10905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetMenu",_kwnames,&_argo0))
8ab979d7 10906 return NULL;
1d99702e
RD
10907 if (_argo0) {
10908 if (_argo0 == Py_None) { _arg0 = NULL; }
10909 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10910 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetMenu. Expected _wxMenuItem_p.");
8ab979d7
RD
10911 return NULL;
10912 }
10913 }
cf694132 10914{
4268f798 10915 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10916 _result = (wxMenu *)wxMenuItem_GetMenu(_arg0);
cf694132 10917
4268f798 10918 wxPyEndAllowThreads(__tstate);
493f1553 10919 if (PyErr_Occurred()) return NULL;
9416aa89 10920}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
10921 return _resultobj;
10922}
10923
5a2a9da2
RD
10924#define wxMenuItem_SetMenu(_swigobj,_swigarg0) (_swigobj->SetMenu(_swigarg0))
10925static PyObject *_wrap_wxMenuItem_SetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
10926 PyObject * _resultobj;
10927 wxMenuItem * _arg0;
10928 wxMenu * _arg1;
10929 PyObject * _argo0 = 0;
10930 PyObject * _argo1 = 0;
10931 char *_kwnames[] = { "self","menu", NULL };
10932
10933 self = self;
10934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetMenu",_kwnames,&_argo0,&_argo1))
10935 return NULL;
10936 if (_argo0) {
10937 if (_argo0 == Py_None) { _arg0 = NULL; }
10938 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
10939 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetMenu. Expected _wxMenuItem_p.");
10940 return NULL;
10941 }
10942 }
10943 if (_argo1) {
10944 if (_argo1 == Py_None) { _arg1 = NULL; }
10945 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
10946 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenuItem_SetMenu. Expected _wxMenu_p.");
10947 return NULL;
10948 }
10949 }
10950{
10951 PyThreadState* __tstate = wxPyBeginAllowThreads();
10952 wxMenuItem_SetMenu(_arg0,_arg1);
10953
10954 wxPyEndAllowThreads(__tstate);
10955 if (PyErr_Occurred()) return NULL;
10956} Py_INCREF(Py_None);
10957 _resultobj = Py_None;
10958 return _resultobj;
10959}
10960
2abc0a0f
RD
10961#define wxMenuItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
10962static PyObject *_wrap_wxMenuItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10963 PyObject * _resultobj;
10964 wxMenuItem * _arg0;
2abc0a0f 10965 int _arg1;
1d99702e 10966 PyObject * _argo0 = 0;
2abc0a0f 10967 char *_kwnames[] = { "self","id", NULL };
8ab979d7
RD
10968
10969 self = self;
2abc0a0f 10970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuItem_SetId",_kwnames,&_argo0,&_arg1))
8ab979d7 10971 return NULL;
1d99702e
RD
10972 if (_argo0) {
10973 if (_argo0 == Py_None) { _arg0 = NULL; }
10974 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
2abc0a0f 10975 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetId. Expected _wxMenuItem_p.");
8ab979d7
RD
10976 return NULL;
10977 }
10978 }
cf694132 10979{
4268f798 10980 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10981 wxMenuItem_SetId(_arg0,_arg1);
cf694132 10982
4268f798 10983 wxPyEndAllowThreads(__tstate);
493f1553 10984 if (PyErr_Occurred()) return NULL;
cf694132 10985} Py_INCREF(Py_None);
8ab979d7 10986 _resultobj = Py_None;
8ab979d7
RD
10987 return _resultobj;
10988}
10989
b1462dfa
RD
10990#define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
10991static PyObject *_wrap_wxMenuItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 10992 PyObject * _resultobj;
b1462dfa 10993 int _result;
8ab979d7 10994 wxMenuItem * _arg0;
1d99702e 10995 PyObject * _argo0 = 0;
efc5f224 10996 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
10997
10998 self = self;
b1462dfa 10999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetId",_kwnames,&_argo0))
8ab979d7 11000 return NULL;
1d99702e
RD
11001 if (_argo0) {
11002 if (_argo0 == Py_None) { _arg0 = NULL; }
11003 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 11004 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
8ab979d7
RD
11005 return NULL;
11006 }
11007 }
8ab979d7 11008{
4268f798 11009 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11010 _result = (int )wxMenuItem_GetId(_arg0);
cf694132 11011
4268f798 11012 wxPyEndAllowThreads(__tstate);
493f1553 11013 if (PyErr_Occurred()) return NULL;
b1462dfa 11014} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
11015 return _resultobj;
11016}
11017
b1462dfa
RD
11018#define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
11019static PyObject *_wrap_wxMenuItem_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 11020 PyObject * _resultobj;
b1462dfa 11021 bool _result;
8ab979d7 11022 wxMenuItem * _arg0;
1d99702e 11023 PyObject * _argo0 = 0;
efc5f224 11024 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
11025
11026 self = self;
b1462dfa 11027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsSeparator",_kwnames,&_argo0))
8ab979d7 11028 return NULL;
1d99702e
RD
11029 if (_argo0) {
11030 if (_argo0 == Py_None) { _arg0 = NULL; }
11031 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 11032 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
8ab979d7
RD
11033 return NULL;
11034 }
11035 }
8ab979d7 11036{
4268f798 11037 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11038 _result = (bool )wxMenuItem_IsSeparator(_arg0);
cf694132 11039
4268f798 11040 wxPyEndAllowThreads(__tstate);
493f1553 11041 if (PyErr_Occurred()) return NULL;
b1462dfa 11042} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
11043 return _resultobj;
11044}
11045
b1462dfa
RD
11046#define wxMenuItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
11047static PyObject *_wrap_wxMenuItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
11048 PyObject * _resultobj;
11049 wxMenuItem * _arg0;
11050 wxString * _arg1;
1d99702e 11051 PyObject * _argo0 = 0;
8ab979d7 11052 PyObject * _obj1 = 0;
b1462dfa 11053 char *_kwnames[] = { "self","str", NULL };
8ab979d7
RD
11054
11055 self = self;
b1462dfa 11056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetText",_kwnames,&_argo0,&_obj1))
8ab979d7 11057 return NULL;
1d99702e
RD
11058 if (_argo0) {
11059 if (_argo0 == Py_None) { _arg0 = NULL; }
11060 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 11061 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetText. Expected _wxMenuItem_p.");
8ab979d7
RD
11062 return NULL;
11063 }
11064 }
11065{
c8bc7bb8
RD
11066 _arg1 = wxString_in_helper(_obj1);
11067 if (_arg1 == NULL)
185d7c3e 11068 return NULL;
8ab979d7 11069}
cf694132 11070{
4268f798 11071 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11072 wxMenuItem_SetText(_arg0,*_arg1);
cf694132 11073
4268f798 11074 wxPyEndAllowThreads(__tstate);
493f1553 11075 if (PyErr_Occurred()) return NULL;
cf694132 11076} Py_INCREF(Py_None);
8ab979d7
RD
11077 _resultobj = Py_None;
11078{
11079 if (_obj1)
11080 delete _arg1;
11081}
11082 return _resultobj;
11083}
11084
b1462dfa
RD
11085#define wxMenuItem_GetLabel(_swigobj) (_swigobj->GetLabel())
11086static PyObject *_wrap_wxMenuItem_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 11087 PyObject * _resultobj;
b1462dfa 11088 wxString * _result;
8ab979d7 11089 wxMenuItem * _arg0;
1d99702e 11090 PyObject * _argo0 = 0;
b1462dfa 11091 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
11092
11093 self = self;
b1462dfa 11094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetLabel",_kwnames,&_argo0))
8ab979d7 11095 return NULL;
1d99702e
RD
11096 if (_argo0) {
11097 if (_argo0 == Py_None) { _arg0 = NULL; }
11098 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 11099 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetLabel. Expected _wxMenuItem_p.");
8ab979d7
RD
11100 return NULL;
11101 }
11102 }
cf694132 11103{
4268f798 11104 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11105 _result = new wxString (wxMenuItem_GetLabel(_arg0));
cf694132 11106
4268f798 11107 wxPyEndAllowThreads(__tstate);
493f1553 11108 if (PyErr_Occurred()) return NULL;
b1462dfa 11109}{
c8bc7bb8 11110#if wxUSE_UNICODE
7e50db3f 11111 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 11112#else
eec92d76 11113 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 11114#endif
8ab979d7 11115}
cf694132 11116{
b1462dfa
RD
11117 delete _result;
11118}
cf694132
RD
11119 return _resultobj;
11120}
11121
b1462dfa
RD
11122#define wxMenuItem_GetText(_swigobj) (_swigobj->GetText())
11123static PyObject *_wrap_wxMenuItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 11124 PyObject * _resultobj;
b1462dfa 11125 wxString * _result;
cf694132 11126 wxMenuItem * _arg0;
1d99702e 11127 PyObject * _argo0 = 0;
efc5f224 11128 char *_kwnames[] = { "self", NULL };
cf694132
RD
11129
11130 self = self;
b1462dfa 11131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetText",_kwnames,&_argo0))
cf694132 11132 return NULL;
1d99702e
RD
11133 if (_argo0) {
11134 if (_argo0 == Py_None) { _arg0 = NULL; }
11135 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 11136 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetText. Expected _wxMenuItem_p.");
cf694132
RD
11137 return NULL;
11138 }
11139 }
11140{
4268f798 11141 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11142 const wxString & _result_ref = wxMenuItem_GetText(_arg0);
b1462dfa 11143 _result = (wxString *) &_result_ref;
cf694132 11144
4268f798 11145 wxPyEndAllowThreads(__tstate);
493f1553 11146 if (PyErr_Occurred()) return NULL;
b1462dfa 11147}{
c8bc7bb8 11148#if wxUSE_UNICODE
7e50db3f 11149 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 11150#else
eec92d76 11151 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 11152#endif
cf694132 11153}
cf694132
RD
11154 return _resultobj;
11155}
11156
e9159fe8
RD
11157#define wxMenuItem_GetKind(_swigobj) (_swigobj->GetKind())
11158static PyObject *_wrap_wxMenuItem_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
11159 PyObject * _resultobj;
11160 wxItemKind _result;
11161 wxMenuItem * _arg0;
11162 PyObject * _argo0 = 0;
11163 char *_kwnames[] = { "self", NULL };
11164
11165 self = self;
11166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetKind",_kwnames,&_argo0))
11167 return NULL;
11168 if (_argo0) {
11169 if (_argo0 == Py_None) { _arg0 = NULL; }
11170 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11171 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetKind. Expected _wxMenuItem_p.");
11172 return NULL;
11173 }
11174 }
11175{
11176 PyThreadState* __tstate = wxPyBeginAllowThreads();
11177 _result = (wxItemKind )wxMenuItem_GetKind(_arg0);
11178
11179 wxPyEndAllowThreads(__tstate);
11180 if (PyErr_Occurred()) return NULL;
11181} _resultobj = Py_BuildValue("i",_result);
11182 return _resultobj;
11183}
11184
b1462dfa
RD
11185#define wxMenuItem_SetCheckable(_swigobj,_swigarg0) (_swigobj->SetCheckable(_swigarg0))
11186static PyObject *_wrap_wxMenuItem_SetCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 11187 PyObject * _resultobj;
cf694132 11188 wxMenuItem * _arg0;
b1462dfa 11189 bool _arg1;
1d99702e 11190 PyObject * _argo0 = 0;
b1462dfa
RD
11191 int tempbool1;
11192 char *_kwnames[] = { "self","checkable", NULL };
cf694132
RD
11193
11194 self = self;
b1462dfa 11195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuItem_SetCheckable",_kwnames,&_argo0,&tempbool1))
cf694132 11196 return NULL;
1d99702e
RD
11197 if (_argo0) {
11198 if (_argo0 == Py_None) { _arg0 = NULL; }
11199 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 11200 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetCheckable. Expected _wxMenuItem_p.");
cf694132
RD
11201 return NULL;
11202 }
11203 }
b1462dfa 11204 _arg1 = (bool ) tempbool1;
cf694132 11205{
4268f798 11206 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11207 wxMenuItem_SetCheckable(_arg0,_arg1);
cf694132 11208
4268f798 11209 wxPyEndAllowThreads(__tstate);
493f1553 11210 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
11211} Py_INCREF(Py_None);
11212 _resultobj = Py_None;
cf694132
RD
11213 return _resultobj;
11214}
11215
b1462dfa
RD
11216#define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
11217static PyObject *_wrap_wxMenuItem_IsCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 11218 PyObject * _resultobj;
b1462dfa 11219 bool _result;
cf694132 11220 wxMenuItem * _arg0;
1d99702e 11221 PyObject * _argo0 = 0;
efc5f224 11222 char *_kwnames[] = { "self", NULL };
cf694132
RD
11223
11224 self = self;
b1462dfa 11225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsCheckable",_kwnames,&_argo0))
cf694132 11226 return NULL;
1d99702e
RD
11227 if (_argo0) {
11228 if (_argo0 == Py_None) { _arg0 = NULL; }
11229 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 11230 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
cf694132
RD
11231 return NULL;
11232 }
11233 }
11234{
4268f798 11235 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11236 _result = (bool )wxMenuItem_IsCheckable(_arg0);
cf694132 11237
4268f798 11238 wxPyEndAllowThreads(__tstate);
493f1553 11239 if (PyErr_Occurred()) return NULL;
cf694132
RD
11240} _resultobj = Py_BuildValue("i",_result);
11241 return _resultobj;
11242}
11243
b1462dfa
RD
11244#define wxMenuItem_IsSubMenu(_swigobj) (_swigobj->IsSubMenu())
11245static PyObject *_wrap_wxMenuItem_IsSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 11246 PyObject * _resultobj;
b1462dfa 11247 bool _result;
cf694132 11248 wxMenuItem * _arg0;
1d99702e 11249 PyObject * _argo0 = 0;
efc5f224 11250 char *_kwnames[] = { "self", NULL };
cf694132
RD
11251
11252 self = self;
b1462dfa 11253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsSubMenu",_kwnames,&_argo0))
cf694132 11254 return NULL;
1d99702e
RD
11255 if (_argo0) {
11256 if (_argo0 == Py_None) { _arg0 = NULL; }
11257 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 11258 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsSubMenu. Expected _wxMenuItem_p.");
cf694132
RD
11259 return NULL;
11260 }
11261 }
11262{
4268f798 11263 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11264 _result = (bool )wxMenuItem_IsSubMenu(_arg0);
cf694132 11265
4268f798 11266 wxPyEndAllowThreads(__tstate);
493f1553 11267 if (PyErr_Occurred()) return NULL;
b1462dfa 11268} _resultobj = Py_BuildValue("i",_result);
cf694132
RD
11269 return _resultobj;
11270}
11271
b1462dfa
RD
11272#define wxMenuItem_SetSubMenu(_swigobj,_swigarg0) (_swigobj->SetSubMenu(_swigarg0))
11273static PyObject *_wrap_wxMenuItem_SetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132
RD
11274 PyObject * _resultobj;
11275 wxMenuItem * _arg0;
b1462dfa 11276 wxMenu * _arg1;
1d99702e
RD
11277 PyObject * _argo0 = 0;
11278 PyObject * _argo1 = 0;
b1462dfa 11279 char *_kwnames[] = { "self","menu", NULL };
cf694132
RD
11280
11281 self = self;
b1462dfa 11282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetSubMenu",_kwnames,&_argo0,&_argo1))
cf694132 11283 return NULL;
1d99702e
RD
11284 if (_argo0) {
11285 if (_argo0 == Py_None) { _arg0 = NULL; }
11286 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 11287 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetSubMenu. Expected _wxMenuItem_p.");
cf694132
RD
11288 return NULL;
11289 }
11290 }
1d99702e
RD
11291 if (_argo1) {
11292 if (_argo1 == Py_None) { _arg1 = NULL; }
b1462dfa
RD
11293 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
11294 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenuItem_SetSubMenu. Expected _wxMenu_p.");
cf694132
RD
11295 return NULL;
11296 }
11297 }
11298{
4268f798 11299 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11300 wxMenuItem_SetSubMenu(_arg0,_arg1);
cf694132 11301
4268f798 11302 wxPyEndAllowThreads(__tstate);
493f1553 11303 if (PyErr_Occurred()) return NULL;
cf694132
RD
11304} Py_INCREF(Py_None);
11305 _resultobj = Py_None;
11306 return _resultobj;
11307}
11308
b1462dfa
RD
11309#define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
11310static PyObject *_wrap_wxMenuItem_GetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 11311 PyObject * _resultobj;
b1462dfa 11312 wxMenu * _result;
cf694132 11313 wxMenuItem * _arg0;
1d99702e 11314 PyObject * _argo0 = 0;
b1462dfa 11315 char *_kwnames[] = { "self", NULL };
cf694132
RD
11316
11317 self = self;
b1462dfa 11318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetSubMenu",_kwnames,&_argo0))
cf694132 11319 return NULL;
1d99702e
RD
11320 if (_argo0) {
11321 if (_argo0 == Py_None) { _arg0 = NULL; }
11322 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 11323 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
cf694132
RD
11324 return NULL;
11325 }
11326 }
b1462dfa 11327{
4268f798 11328 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11329 _result = (wxMenu *)wxMenuItem_GetSubMenu(_arg0);
b1462dfa 11330
4268f798 11331 wxPyEndAllowThreads(__tstate);
493f1553 11332 if (PyErr_Occurred()) return NULL;
9416aa89 11333}{ _resultobj = wxPyMake_wxObject(_result); }
b1462dfa
RD
11334 return _resultobj;
11335}
11336
11337#define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
11338static PyObject *_wrap_wxMenuItem_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
11339 PyObject * _resultobj;
11340 wxMenuItem * _arg0;
11341 bool _arg1 = (bool ) TRUE;
11342 PyObject * _argo0 = 0;
11343 int tempbool1 = (int) TRUE;
11344 char *_kwnames[] = { "self","enable", NULL };
11345
11346 self = self;
11347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxMenuItem_Enable",_kwnames,&_argo0,&tempbool1))
11348 return NULL;
11349 if (_argo0) {
11350 if (_argo0 == Py_None) { _arg0 = NULL; }
11351 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11352 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
cf694132
RD
11353 return NULL;
11354 }
11355 }
b1462dfa 11356 _arg1 = (bool ) tempbool1;
cf694132 11357{
4268f798 11358 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11359 wxMenuItem_Enable(_arg0,_arg1);
cf694132 11360
4268f798 11361 wxPyEndAllowThreads(__tstate);
493f1553 11362 if (PyErr_Occurred()) return NULL;
cf694132
RD
11363} Py_INCREF(Py_None);
11364 _resultobj = Py_None;
11365 return _resultobj;
11366}
11367
b1462dfa
RD
11368#define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
11369static PyObject *_wrap_wxMenuItem_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 11370 PyObject * _resultobj;
b1462dfa 11371 bool _result;
cf694132 11372 wxMenuItem * _arg0;
1d99702e 11373 PyObject * _argo0 = 0;
b1462dfa 11374 char *_kwnames[] = { "self", NULL };
cf694132
RD
11375
11376 self = self;
b1462dfa 11377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsEnabled",_kwnames,&_argo0))
cf694132 11378 return NULL;
1d99702e
RD
11379 if (_argo0) {
11380 if (_argo0 == Py_None) { _arg0 = NULL; }
11381 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 11382 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
cf694132
RD
11383 return NULL;
11384 }
11385 }
11386{
4268f798 11387 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11388 _result = (bool )wxMenuItem_IsEnabled(_arg0);
cf694132 11389
4268f798 11390 wxPyEndAllowThreads(__tstate);
493f1553 11391 if (PyErr_Occurred()) return NULL;
b1462dfa 11392} _resultobj = Py_BuildValue("i",_result);
cf694132
RD
11393 return _resultobj;
11394}
11395
b1462dfa
RD
11396#define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
11397static PyObject *_wrap_wxMenuItem_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132
RD
11398 PyObject * _resultobj;
11399 wxMenuItem * _arg0;
b1462dfa 11400 bool _arg1 = (bool ) TRUE;
1d99702e 11401 PyObject * _argo0 = 0;
b1462dfa
RD
11402 int tempbool1 = (int) TRUE;
11403 char *_kwnames[] = { "self","check", NULL };
cf694132
RD
11404
11405 self = self;
b1462dfa 11406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxMenuItem_Check",_kwnames,&_argo0,&tempbool1))
cf694132 11407 return NULL;
1d99702e
RD
11408 if (_argo0) {
11409 if (_argo0 == Py_None) { _arg0 = NULL; }
11410 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 11411 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
cf694132
RD
11412 return NULL;
11413 }
11414 }
b1462dfa 11415 _arg1 = (bool ) tempbool1;
cf694132 11416{
4268f798 11417 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11418 wxMenuItem_Check(_arg0,_arg1);
cf694132 11419
4268f798 11420 wxPyEndAllowThreads(__tstate);
493f1553 11421 if (PyErr_Occurred()) return NULL;
cf694132
RD
11422} Py_INCREF(Py_None);
11423 _resultobj = Py_None;
11424 return _resultobj;
11425}
11426
b1462dfa
RD
11427#define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
11428static PyObject *_wrap_wxMenuItem_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
2abc0a0f 11429 PyObject * _resultobj;
b1462dfa 11430 bool _result;
2abc0a0f 11431 wxMenuItem * _arg0;
2abc0a0f 11432 PyObject * _argo0 = 0;
b1462dfa 11433 char *_kwnames[] = { "self", NULL };
2abc0a0f
RD
11434
11435 self = self;
b1462dfa 11436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsChecked",_kwnames,&_argo0))
2abc0a0f
RD
11437 return NULL;
11438 if (_argo0) {
11439 if (_argo0 == Py_None) { _arg0 = NULL; }
11440 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 11441 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
2abc0a0f
RD
11442 return NULL;
11443 }
11444 }
2abc0a0f 11445{
4268f798 11446 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11447 _result = (bool )wxMenuItem_IsChecked(_arg0);
2abc0a0f 11448
4268f798 11449 wxPyEndAllowThreads(__tstate);
493f1553 11450 if (PyErr_Occurred()) return NULL;
b1462dfa 11451} _resultobj = Py_BuildValue("i",_result);
2abc0a0f
RD
11452 return _resultobj;
11453}
11454
b1462dfa
RD
11455#define wxMenuItem_Toggle(_swigobj) (_swigobj->Toggle())
11456static PyObject *_wrap_wxMenuItem_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
2abc0a0f 11457 PyObject * _resultobj;
2abc0a0f
RD
11458 wxMenuItem * _arg0;
11459 PyObject * _argo0 = 0;
11460 char *_kwnames[] = { "self", NULL };
11461
11462 self = self;
b1462dfa 11463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_Toggle",_kwnames,&_argo0))
2abc0a0f
RD
11464 return NULL;
11465 if (_argo0) {
11466 if (_argo0 == Py_None) { _arg0 = NULL; }
11467 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 11468 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_Toggle. Expected _wxMenuItem_p.");
2abc0a0f
RD
11469 return NULL;
11470 }
11471 }
11472{
4268f798 11473 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11474 wxMenuItem_Toggle(_arg0);
2abc0a0f 11475
4268f798 11476 wxPyEndAllowThreads(__tstate);
493f1553 11477 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
11478} Py_INCREF(Py_None);
11479 _resultobj = Py_None;
2abc0a0f
RD
11480 return _resultobj;
11481}
11482
b1462dfa
RD
11483#define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
11484static PyObject *_wrap_wxMenuItem_SetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132
RD
11485 PyObject * _resultobj;
11486 wxMenuItem * _arg0;
b1462dfa 11487 wxString * _arg1;
1d99702e 11488 PyObject * _argo0 = 0;
b1462dfa
RD
11489 PyObject * _obj1 = 0;
11490 char *_kwnames[] = { "self","str", NULL };
cf694132
RD
11491
11492 self = self;
b1462dfa 11493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetHelp",_kwnames,&_argo0,&_obj1))
cf694132 11494 return NULL;
1d99702e
RD
11495 if (_argo0) {
11496 if (_argo0 == Py_None) { _arg0 = NULL; }
11497 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 11498 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
cf694132
RD
11499 return NULL;
11500 }
11501 }
b1462dfa 11502{
c8bc7bb8
RD
11503 _arg1 = wxString_in_helper(_obj1);
11504 if (_arg1 == NULL)
185d7c3e 11505 return NULL;
b1462dfa 11506}
cf694132 11507{
4268f798 11508 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11509 wxMenuItem_SetHelp(_arg0,*_arg1);
cf694132 11510
4268f798 11511 wxPyEndAllowThreads(__tstate);
493f1553 11512 if (PyErr_Occurred()) return NULL;
cf694132 11513} Py_INCREF(Py_None);
8ab979d7 11514 _resultobj = Py_None;
b1462dfa
RD
11515{
11516 if (_obj1)
11517 delete _arg1;
11518}
8ab979d7
RD
11519 return _resultobj;
11520}
11521
b1462dfa
RD
11522#define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
11523static PyObject *_wrap_wxMenuItem_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
be4d9c1f 11524 PyObject * _resultobj;
b1462dfa 11525 wxString * _result;
be4d9c1f 11526 wxMenuItem * _arg0;
1d99702e 11527 PyObject * _argo0 = 0;
efc5f224 11528 char *_kwnames[] = { "self", NULL };
be4d9c1f
RD
11529
11530 self = self;
b1462dfa 11531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetHelp",_kwnames,&_argo0))
be4d9c1f 11532 return NULL;
1d99702e
RD
11533 if (_argo0) {
11534 if (_argo0 == Py_None) { _arg0 = NULL; }
11535 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 11536 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
be4d9c1f
RD
11537 return NULL;
11538 }
11539 }
cf694132 11540{
4268f798 11541 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11542 const wxString & _result_ref = wxMenuItem_GetHelp(_arg0);
b1462dfa 11543 _result = (wxString *) &_result_ref;
cf694132 11544
4268f798 11545 wxPyEndAllowThreads(__tstate);
493f1553 11546 if (PyErr_Occurred()) return NULL;
b1462dfa 11547}{
c8bc7bb8 11548#if wxUSE_UNICODE
7e50db3f 11549 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 11550#else
eec92d76 11551 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 11552#endif
b1462dfa 11553}
be4d9c1f
RD
11554 return _resultobj;
11555}
11556
b1462dfa
RD
11557#define wxMenuItem_GetAccel(_swigobj) (_swigobj->GetAccel())
11558static PyObject *_wrap_wxMenuItem_GetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
2abc0a0f 11559 PyObject * _resultobj;
b1462dfa 11560 wxAcceleratorEntry * _result;
2abc0a0f 11561 wxMenuItem * _arg0;
2abc0a0f 11562 PyObject * _argo0 = 0;
b1462dfa
RD
11563 char *_kwnames[] = { "self", NULL };
11564 char _ptemp[128];
2abc0a0f
RD
11565
11566 self = self;
b1462dfa 11567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetAccel",_kwnames,&_argo0))
2abc0a0f
RD
11568 return NULL;
11569 if (_argo0) {
11570 if (_argo0 == Py_None) { _arg0 = NULL; }
11571 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 11572 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetAccel. Expected _wxMenuItem_p.");
2abc0a0f
RD
11573 return NULL;
11574 }
11575 }
2abc0a0f 11576{
4268f798 11577 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11578 _result = (wxAcceleratorEntry *)wxMenuItem_GetAccel(_arg0);
2abc0a0f 11579
4268f798 11580 wxPyEndAllowThreads(__tstate);
493f1553 11581 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
11582} if (_result) {
11583 SWIG_MakePtr(_ptemp, (char *) _result,"_wxAcceleratorEntry_p");
11584 _resultobj = Py_BuildValue("s",_ptemp);
11585 } else {
11586 Py_INCREF(Py_None);
11587 _resultobj = Py_None;
11588 }
2abc0a0f
RD
11589 return _resultobj;
11590}
11591
b1462dfa
RD
11592#define wxMenuItem_SetAccel(_swigobj,_swigarg0) (_swigobj->SetAccel(_swigarg0))
11593static PyObject *_wrap_wxMenuItem_SetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
2abc0a0f
RD
11594 PyObject * _resultobj;
11595 wxMenuItem * _arg0;
b1462dfa 11596 wxAcceleratorEntry * _arg1;
2abc0a0f
RD
11597 PyObject * _argo0 = 0;
11598 PyObject * _argo1 = 0;
b1462dfa 11599 char *_kwnames[] = { "self","accel", NULL };
2abc0a0f
RD
11600
11601 self = self;
b1462dfa 11602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetAccel",_kwnames,&_argo0,&_argo1))
2abc0a0f
RD
11603 return NULL;
11604 if (_argo0) {
11605 if (_argo0 == Py_None) { _arg0 = NULL; }
11606 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 11607 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetAccel. Expected _wxMenuItem_p.");
2abc0a0f
RD
11608 return NULL;
11609 }
11610 }
11611 if (_argo1) {
11612 if (_argo1 == Py_None) { _arg1 = NULL; }
b1462dfa
RD
11613 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxAcceleratorEntry_p")) {
11614 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenuItem_SetAccel. Expected _wxAcceleratorEntry_p.");
2abc0a0f
RD
11615 return NULL;
11616 }
11617 }
11618{
4268f798 11619 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11620 wxMenuItem_SetAccel(_arg0,_arg1);
2abc0a0f 11621
4268f798 11622 wxPyEndAllowThreads(__tstate);
493f1553 11623 if (PyErr_Occurred()) return NULL;
2abc0a0f
RD
11624} Py_INCREF(Py_None);
11625 _resultobj = Py_None;
11626 return _resultobj;
11627}
11628
1b62f00d
RD
11629static PyObject *_wrap_wxMenuItem_GetLabelFromText(PyObject *self, PyObject *args, PyObject *kwargs) {
11630 PyObject * _resultobj;
11631 wxString * _result;
11632 wxString * _arg0;
11633 PyObject * _obj0 = 0;
11634 char *_kwnames[] = { "text", NULL };
11635
11636 self = self;
11637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetLabelFromText",_kwnames,&_obj0))
11638 return NULL;
11639{
c8bc7bb8
RD
11640 _arg0 = wxString_in_helper(_obj0);
11641 if (_arg0 == NULL)
1b62f00d 11642 return NULL;
1b62f00d
RD
11643}
11644{
4268f798 11645 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11646 _result = new wxString (wxMenuItem::GetLabelFromText(*_arg0));
1b62f00d 11647
4268f798 11648 wxPyEndAllowThreads(__tstate);
493f1553 11649 if (PyErr_Occurred()) return NULL;
1b62f00d 11650}{
c8bc7bb8 11651#if wxUSE_UNICODE
7e50db3f 11652 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 11653#else
1b62f00d 11654 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 11655#endif
1b62f00d
RD
11656}
11657{
11658 if (_obj0)
11659 delete _arg0;
11660}
11661{
11662 delete _result;
11663}
11664 return _resultobj;
11665}
11666
f3d9dc1d
RD
11667#define wxMenuItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
11668static PyObject *_wrap_wxMenuItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11669 PyObject * _resultobj;
11670 wxMenuItem * _arg0;
11671 wxFont * _arg1;
11672 PyObject * _argo0 = 0;
11673 PyObject * _argo1 = 0;
11674 char *_kwnames[] = { "self","font", NULL };
11675
11676 self = self;
11677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetFont",_kwnames,&_argo0,&_argo1))
11678 return NULL;
11679 if (_argo0) {
11680 if (_argo0 == Py_None) { _arg0 = NULL; }
11681 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11682 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetFont. Expected _wxMenuItem_p.");
11683 return NULL;
11684 }
11685 }
11686 if (_argo1) {
7e50db3f 11687 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
f3d9dc1d
RD
11688 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenuItem_SetFont. Expected _wxFont_p.");
11689 return NULL;
11690 }
11691 }
11692{
4268f798 11693 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11694 wxMenuItem_SetFont(_arg0,*_arg1);
f3d9dc1d 11695
4268f798 11696 wxPyEndAllowThreads(__tstate);
493f1553 11697 if (PyErr_Occurred()) return NULL;
f3d9dc1d
RD
11698} Py_INCREF(Py_None);
11699 _resultobj = Py_None;
11700 return _resultobj;
11701}
11702
11703#define wxMenuItem_GetFont(_swigobj) (_swigobj->GetFont())
11704static PyObject *_wrap_wxMenuItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11705 PyObject * _resultobj;
11706 wxFont * _result;
11707 wxMenuItem * _arg0;
11708 PyObject * _argo0 = 0;
11709 char *_kwnames[] = { "self", NULL };
11710 char _ptemp[128];
11711
11712 self = self;
11713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetFont",_kwnames,&_argo0))
11714 return NULL;
11715 if (_argo0) {
11716 if (_argo0 == Py_None) { _arg0 = NULL; }
11717 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11718 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetFont. Expected _wxMenuItem_p.");
11719 return NULL;
11720 }
11721 }
11722{
4268f798 11723 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11724 _result = new wxFont (wxMenuItem_GetFont(_arg0));
f3d9dc1d 11725
4268f798 11726 wxPyEndAllowThreads(__tstate);
493f1553 11727 if (PyErr_Occurred()) return NULL;
c5943253
RD
11728} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
11729 _resultobj = Py_BuildValue("s",_ptemp);
f3d9dc1d
RD
11730 return _resultobj;
11731}
11732
11733#define wxMenuItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
11734static PyObject *_wrap_wxMenuItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11735 PyObject * _resultobj;
11736 wxMenuItem * _arg0;
11737 wxColour * _arg1;
11738 PyObject * _argo0 = 0;
11739 wxColour temp;
11740 PyObject * _obj1 = 0;
11741 char *_kwnames[] = { "self","colText", NULL };
11742
11743 self = self;
11744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetTextColour",_kwnames,&_argo0,&_obj1))
11745 return NULL;
11746 if (_argo0) {
11747 if (_argo0 == Py_None) { _arg0 = NULL; }
11748 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11749 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetTextColour. Expected _wxMenuItem_p.");
11750 return NULL;
11751 }
11752 }
11753{
11754 _arg1 = &temp;
11755 if (! wxColour_helper(_obj1, &_arg1))
11756 return NULL;
11757}
11758{
4268f798 11759 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11760 wxMenuItem_SetTextColour(_arg0,*_arg1);
f3d9dc1d 11761
4268f798 11762 wxPyEndAllowThreads(__tstate);
493f1553 11763 if (PyErr_Occurred()) return NULL;
f3d9dc1d
RD
11764} Py_INCREF(Py_None);
11765 _resultobj = Py_None;
11766 return _resultobj;
11767}
11768
11769#define wxMenuItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
11770static PyObject *_wrap_wxMenuItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11771 PyObject * _resultobj;
11772 wxColour * _result;
11773 wxMenuItem * _arg0;
11774 PyObject * _argo0 = 0;
11775 char *_kwnames[] = { "self", NULL };
11776 char _ptemp[128];
11777
11778 self = self;
11779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetTextColour",_kwnames,&_argo0))
11780 return NULL;
11781 if (_argo0) {
11782 if (_argo0 == Py_None) { _arg0 = NULL; }
11783 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11784 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetTextColour. Expected _wxMenuItem_p.");
11785 return NULL;
11786 }
11787 }
11788{
4268f798 11789 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11790 _result = new wxColour (wxMenuItem_GetTextColour(_arg0));
f3d9dc1d 11791
4268f798 11792 wxPyEndAllowThreads(__tstate);
493f1553 11793 if (PyErr_Occurred()) return NULL;
25832b3f
RD
11794} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
11795 _resultobj = Py_BuildValue("s",_ptemp);
f3d9dc1d
RD
11796 return _resultobj;
11797}
11798
11799#define wxMenuItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
11800static PyObject *_wrap_wxMenuItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11801 PyObject * _resultobj;
11802 wxMenuItem * _arg0;
11803 wxColour * _arg1;
11804 PyObject * _argo0 = 0;
11805 wxColour temp;
11806 PyObject * _obj1 = 0;
11807 char *_kwnames[] = { "self","colBack", NULL };
11808
11809 self = self;
11810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
11811 return NULL;
11812 if (_argo0) {
11813 if (_argo0 == Py_None) { _arg0 = NULL; }
11814 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11815 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetBackgroundColour. Expected _wxMenuItem_p.");
11816 return NULL;
11817 }
11818 }
11819{
11820 _arg1 = &temp;
11821 if (! wxColour_helper(_obj1, &_arg1))
11822 return NULL;
11823}
11824{
4268f798 11825 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11826 wxMenuItem_SetBackgroundColour(_arg0,*_arg1);
f3d9dc1d 11827
4268f798 11828 wxPyEndAllowThreads(__tstate);
493f1553 11829 if (PyErr_Occurred()) return NULL;
f3d9dc1d
RD
11830} Py_INCREF(Py_None);
11831 _resultobj = Py_None;
11832 return _resultobj;
11833}
11834
11835#define wxMenuItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
11836static PyObject *_wrap_wxMenuItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11837 PyObject * _resultobj;
11838 wxColour * _result;
11839 wxMenuItem * _arg0;
11840 PyObject * _argo0 = 0;
11841 char *_kwnames[] = { "self", NULL };
11842 char _ptemp[128];
11843
11844 self = self;
11845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetBackgroundColour",_kwnames,&_argo0))
11846 return NULL;
11847 if (_argo0) {
11848 if (_argo0 == Py_None) { _arg0 = NULL; }
11849 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11850 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetBackgroundColour. Expected _wxMenuItem_p.");
11851 return NULL;
11852 }
11853 }
11854{
4268f798 11855 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11856 _result = new wxColour (wxMenuItem_GetBackgroundColour(_arg0));
f3d9dc1d 11857
4268f798 11858 wxPyEndAllowThreads(__tstate);
493f1553 11859 if (PyErr_Occurred()) return NULL;
25832b3f
RD
11860} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
11861 _resultobj = Py_BuildValue("s",_ptemp);
f3d9dc1d
RD
11862 return _resultobj;
11863}
11864
11865#define wxMenuItem_SetBitmaps(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBitmaps(_swigarg0,_swigarg1))
11866static PyObject *_wrap_wxMenuItem_SetBitmaps(PyObject *self, PyObject *args, PyObject *kwargs) {
11867 PyObject * _resultobj;
11868 wxMenuItem * _arg0;
11869 wxBitmap * _arg1;
11870 wxBitmap * _arg2 = (wxBitmap *) &wxNullBitmap;
11871 PyObject * _argo0 = 0;
11872 PyObject * _argo1 = 0;
11873 PyObject * _argo2 = 0;
11874 char *_kwnames[] = { "self","bmpChecked","bmpUnchecked", NULL };
11875
11876 self = self;
11877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxMenuItem_SetBitmaps",_kwnames,&_argo0,&_argo1,&_argo2))
11878 return NULL;
11879 if (_argo0) {
11880 if (_argo0 == Py_None) { _arg0 = NULL; }
11881 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11882 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetBitmaps. Expected _wxMenuItem_p.");
11883 return NULL;
11884 }
11885 }
11886 if (_argo1) {
7e50db3f 11887 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
f3d9dc1d
RD
11888 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenuItem_SetBitmaps. Expected _wxBitmap_p.");
11889 return NULL;
11890 }
11891 }
11892 if (_argo2) {
7e50db3f 11893 if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) {
f3d9dc1d
RD
11894 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxMenuItem_SetBitmaps. Expected _wxBitmap_p.");
11895 return NULL;
11896 }
11897 }
11898{
4268f798 11899 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11900 wxMenuItem_SetBitmaps(_arg0,*_arg1,*_arg2);
f3d9dc1d 11901
4268f798 11902 wxPyEndAllowThreads(__tstate);
493f1553 11903 if (PyErr_Occurred()) return NULL;
f3d9dc1d
RD
11904} Py_INCREF(Py_None);
11905 _resultobj = Py_None;
11906 return _resultobj;
11907}
11908
f3d9dc1d
RD
11909#define wxMenuItem_SetMarginWidth(_swigobj,_swigarg0) (_swigobj->SetMarginWidth(_swigarg0))
11910static PyObject *_wrap_wxMenuItem_SetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
11911 PyObject * _resultobj;
11912 wxMenuItem * _arg0;
11913 int _arg1;
11914 PyObject * _argo0 = 0;
11915 char *_kwnames[] = { "self","nWidth", NULL };
11916
11917 self = self;
11918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuItem_SetMarginWidth",_kwnames,&_argo0,&_arg1))
11919 return NULL;
11920 if (_argo0) {
11921 if (_argo0 == Py_None) { _arg0 = NULL; }
11922 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11923 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetMarginWidth. Expected _wxMenuItem_p.");
11924 return NULL;
11925 }
11926 }
11927{
4268f798 11928 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11929 wxMenuItem_SetMarginWidth(_arg0,_arg1);
f3d9dc1d 11930
4268f798 11931 wxPyEndAllowThreads(__tstate);
493f1553 11932 if (PyErr_Occurred()) return NULL;
f3d9dc1d
RD
11933} Py_INCREF(Py_None);
11934 _resultobj = Py_None;
11935 return _resultobj;
11936}
11937
11938#define wxMenuItem_GetMarginWidth(_swigobj) (_swigobj->GetMarginWidth())
11939static PyObject *_wrap_wxMenuItem_GetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
11940 PyObject * _resultobj;
11941 int _result;
11942 wxMenuItem * _arg0;
11943 PyObject * _argo0 = 0;
11944 char *_kwnames[] = { "self", NULL };
11945
11946 self = self;
11947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetMarginWidth",_kwnames,&_argo0))
11948 return NULL;
11949 if (_argo0) {
11950 if (_argo0 == Py_None) { _arg0 = NULL; }
11951 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11952 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetMarginWidth. Expected _wxMenuItem_p.");
11953 return NULL;
11954 }
11955 }
11956{
4268f798 11957 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11958 _result = (int )wxMenuItem_GetMarginWidth(_arg0);
f3d9dc1d 11959
4268f798 11960 wxPyEndAllowThreads(__tstate);
493f1553 11961 if (PyErr_Occurred()) return NULL;
f3d9dc1d
RD
11962} _resultobj = Py_BuildValue("i",_result);
11963 return _resultobj;
11964}
11965
11966static PyObject *_wrap_wxMenuItem_GetDefaultMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
11967 PyObject * _resultobj;
11968 int _result;
11969 char *_kwnames[] = { NULL };
11970
11971 self = self;
11972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxMenuItem_GetDefaultMarginWidth",_kwnames))
11973 return NULL;
11974{
4268f798 11975 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11976 _result = (int )wxMenuItem::GetDefaultMarginWidth();
f3d9dc1d 11977
4268f798 11978 wxPyEndAllowThreads(__tstate);
493f1553 11979 if (PyErr_Occurred()) return NULL;
f3d9dc1d
RD
11980} _resultobj = Py_BuildValue("i",_result);
11981 return _resultobj;
11982}
11983
11984#define wxMenuItem_IsOwnerDrawn(_swigobj) (_swigobj->IsOwnerDrawn())
11985static PyObject *_wrap_wxMenuItem_IsOwnerDrawn(PyObject *self, PyObject *args, PyObject *kwargs) {
11986 PyObject * _resultobj;
11987 bool _result;
11988 wxMenuItem * _arg0;
11989 PyObject * _argo0 = 0;
11990 char *_kwnames[] = { "self", NULL };
11991
11992 self = self;
11993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsOwnerDrawn",_kwnames,&_argo0))
11994 return NULL;
11995 if (_argo0) {
11996 if (_argo0 == Py_None) { _arg0 = NULL; }
11997 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11998 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsOwnerDrawn. Expected _wxMenuItem_p.");
11999 return NULL;
12000 }
12001 }
12002{
4268f798 12003 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12004 _result = (bool )wxMenuItem_IsOwnerDrawn(_arg0);
f3d9dc1d 12005
4268f798 12006 wxPyEndAllowThreads(__tstate);
493f1553 12007 if (PyErr_Occurred()) return NULL;
f3d9dc1d
RD
12008} _resultobj = Py_BuildValue("i",_result);
12009 return _resultobj;
12010}
12011
12012#define wxMenuItem_ResetOwnerDrawn(_swigobj) (_swigobj->ResetOwnerDrawn())
12013static PyObject *_wrap_wxMenuItem_ResetOwnerDrawn(PyObject *self, PyObject *args, PyObject *kwargs) {
12014 PyObject * _resultobj;
12015 wxMenuItem * _arg0;
12016 PyObject * _argo0 = 0;
12017 char *_kwnames[] = { "self", NULL };
12018
12019 self = self;
12020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_ResetOwnerDrawn",_kwnames,&_argo0))
12021 return NULL;
12022 if (_argo0) {
12023 if (_argo0 == Py_None) { _arg0 = NULL; }
12024 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
12025 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_ResetOwnerDrawn. Expected _wxMenuItem_p.");
12026 return NULL;
12027 }
12028 }
12029{
4268f798 12030 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12031 wxMenuItem_ResetOwnerDrawn(_arg0);
f3d9dc1d 12032
4268f798 12033 wxPyEndAllowThreads(__tstate);
493f1553 12034 if (PyErr_Occurred()) return NULL;
f3d9dc1d
RD
12035} Py_INCREF(Py_None);
12036 _resultobj = Py_None;
12037 return _resultobj;
12038}
12039
032b1ef1
RD
12040#define wxMenuItem_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
12041static PyObject *_wrap_wxMenuItem_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
12042 PyObject * _resultobj;
12043 wxMenuItem * _arg0;
12044 wxBitmap * _arg1;
12045 PyObject * _argo0 = 0;
12046 PyObject * _argo1 = 0;
12047 char *_kwnames[] = { "self","bitmap", NULL };
12048
12049 self = self;
12050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetBitmap",_kwnames,&_argo0,&_argo1))
12051 return NULL;
12052 if (_argo0) {
12053 if (_argo0 == Py_None) { _arg0 = NULL; }
12054 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
12055 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetBitmap. Expected _wxMenuItem_p.");
12056 return NULL;
12057 }
12058 }
12059 if (_argo1) {
7e50db3f 12060 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
032b1ef1
RD
12061 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenuItem_SetBitmap. Expected _wxBitmap_p.");
12062 return NULL;
12063 }
12064 }
12065{
12066 PyThreadState* __tstate = wxPyBeginAllowThreads();
12067 wxMenuItem_SetBitmap(_arg0,*_arg1);
12068
12069 wxPyEndAllowThreads(__tstate);
12070 if (PyErr_Occurred()) return NULL;
12071} Py_INCREF(Py_None);
12072 _resultobj = Py_None;
12073 return _resultobj;
12074}
12075
12076#define wxMenuItem_GetBitmap(_swigobj) (_swigobj->GetBitmap())
12077static PyObject *_wrap_wxMenuItem_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
12078 PyObject * _resultobj;
12079 wxBitmap * _result;
12080 wxMenuItem * _arg0;
12081 PyObject * _argo0 = 0;
12082 char *_kwnames[] = { "self", NULL };
12083 char _ptemp[128];
12084
12085 self = self;
12086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetBitmap",_kwnames,&_argo0))
12087 return NULL;
12088 if (_argo0) {
12089 if (_argo0 == Py_None) { _arg0 = NULL; }
12090 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
12091 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetBitmap. Expected _wxMenuItem_p.");
12092 return NULL;
12093 }
12094 }
12095{
12096 PyThreadState* __tstate = wxPyBeginAllowThreads();
12097 const wxBitmap & _result_ref = wxMenuItem_GetBitmap(_arg0);
12098 _result = (wxBitmap *) &_result_ref;
12099
12100 wxPyEndAllowThreads(__tstate);
12101 if (PyErr_Occurred()) return NULL;
12102} if (_result) {
12103 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
12104 _resultobj = Py_BuildValue("s",_ptemp);
12105 } else {
12106 Py_INCREF(Py_None);
12107 _resultobj = Py_None;
12108 }
12109 return _resultobj;
12110}
12111
8ab979d7 12112static PyMethodDef windowscMethods[] = {
032b1ef1
RD
12113 { "wxMenuItem_GetBitmap", (PyCFunction) _wrap_wxMenuItem_GetBitmap, METH_VARARGS | METH_KEYWORDS },
12114 { "wxMenuItem_SetBitmap", (PyCFunction) _wrap_wxMenuItem_SetBitmap, METH_VARARGS | METH_KEYWORDS },
f3d9dc1d
RD
12115 { "wxMenuItem_ResetOwnerDrawn", (PyCFunction) _wrap_wxMenuItem_ResetOwnerDrawn, METH_VARARGS | METH_KEYWORDS },
12116 { "wxMenuItem_IsOwnerDrawn", (PyCFunction) _wrap_wxMenuItem_IsOwnerDrawn, METH_VARARGS | METH_KEYWORDS },
12117 { "wxMenuItem_GetDefaultMarginWidth", (PyCFunction) _wrap_wxMenuItem_GetDefaultMarginWidth, METH_VARARGS | METH_KEYWORDS },
12118 { "wxMenuItem_GetMarginWidth", (PyCFunction) _wrap_wxMenuItem_GetMarginWidth, METH_VARARGS | METH_KEYWORDS },
12119 { "wxMenuItem_SetMarginWidth", (PyCFunction) _wrap_wxMenuItem_SetMarginWidth, METH_VARARGS | METH_KEYWORDS },
f3d9dc1d
RD
12120 { "wxMenuItem_SetBitmaps", (PyCFunction) _wrap_wxMenuItem_SetBitmaps, METH_VARARGS | METH_KEYWORDS },
12121 { "wxMenuItem_GetBackgroundColour", (PyCFunction) _wrap_wxMenuItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12122 { "wxMenuItem_SetBackgroundColour", (PyCFunction) _wrap_wxMenuItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12123 { "wxMenuItem_GetTextColour", (PyCFunction) _wrap_wxMenuItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
12124 { "wxMenuItem_SetTextColour", (PyCFunction) _wrap_wxMenuItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
12125 { "wxMenuItem_GetFont", (PyCFunction) _wrap_wxMenuItem_GetFont, METH_VARARGS | METH_KEYWORDS },
12126 { "wxMenuItem_SetFont", (PyCFunction) _wrap_wxMenuItem_SetFont, METH_VARARGS | METH_KEYWORDS },
1b62f00d 12127 { "wxMenuItem_GetLabelFromText", (PyCFunction) _wrap_wxMenuItem_GetLabelFromText, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
12128 { "wxMenuItem_SetAccel", (PyCFunction) _wrap_wxMenuItem_SetAccel, METH_VARARGS | METH_KEYWORDS },
12129 { "wxMenuItem_GetAccel", (PyCFunction) _wrap_wxMenuItem_GetAccel, METH_VARARGS | METH_KEYWORDS },
12130 { "wxMenuItem_GetHelp", (PyCFunction) _wrap_wxMenuItem_GetHelp, METH_VARARGS | METH_KEYWORDS },
12131 { "wxMenuItem_SetHelp", (PyCFunction) _wrap_wxMenuItem_SetHelp, METH_VARARGS | METH_KEYWORDS },
12132 { "wxMenuItem_Toggle", (PyCFunction) _wrap_wxMenuItem_Toggle, METH_VARARGS | METH_KEYWORDS },
12133 { "wxMenuItem_IsChecked", (PyCFunction) _wrap_wxMenuItem_IsChecked, METH_VARARGS | METH_KEYWORDS },
efc5f224 12134 { "wxMenuItem_Check", (PyCFunction) _wrap_wxMenuItem_Check, METH_VARARGS | METH_KEYWORDS },
b1462dfa 12135 { "wxMenuItem_IsEnabled", (PyCFunction) _wrap_wxMenuItem_IsEnabled, METH_VARARGS | METH_KEYWORDS },
efc5f224 12136 { "wxMenuItem_Enable", (PyCFunction) _wrap_wxMenuItem_Enable, METH_VARARGS | METH_KEYWORDS },
efc5f224 12137 { "wxMenuItem_GetSubMenu", (PyCFunction) _wrap_wxMenuItem_GetSubMenu, METH_VARARGS | METH_KEYWORDS },
b1462dfa 12138 { "wxMenuItem_SetSubMenu", (PyCFunction) _wrap_wxMenuItem_SetSubMenu, METH_VARARGS | METH_KEYWORDS },
2abc0a0f 12139 { "wxMenuItem_IsSubMenu", (PyCFunction) _wrap_wxMenuItem_IsSubMenu, METH_VARARGS | METH_KEYWORDS },
efc5f224 12140 { "wxMenuItem_IsCheckable", (PyCFunction) _wrap_wxMenuItem_IsCheckable, METH_VARARGS | METH_KEYWORDS },
b1462dfa 12141 { "wxMenuItem_SetCheckable", (PyCFunction) _wrap_wxMenuItem_SetCheckable, METH_VARARGS | METH_KEYWORDS },
e9159fe8 12142 { "wxMenuItem_GetKind", (PyCFunction) _wrap_wxMenuItem_GetKind, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
12143 { "wxMenuItem_GetText", (PyCFunction) _wrap_wxMenuItem_GetText, METH_VARARGS | METH_KEYWORDS },
12144 { "wxMenuItem_GetLabel", (PyCFunction) _wrap_wxMenuItem_GetLabel, METH_VARARGS | METH_KEYWORDS },
12145 { "wxMenuItem_SetText", (PyCFunction) _wrap_wxMenuItem_SetText, METH_VARARGS | METH_KEYWORDS },
efc5f224 12146 { "wxMenuItem_IsSeparator", (PyCFunction) _wrap_wxMenuItem_IsSeparator, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
12147 { "wxMenuItem_GetId", (PyCFunction) _wrap_wxMenuItem_GetId, METH_VARARGS | METH_KEYWORDS },
12148 { "wxMenuItem_SetId", (PyCFunction) _wrap_wxMenuItem_SetId, METH_VARARGS | METH_KEYWORDS },
5a2a9da2 12149 { "wxMenuItem_SetMenu", (PyCFunction) _wrap_wxMenuItem_SetMenu, METH_VARARGS | METH_KEYWORDS },
b1462dfa 12150 { "wxMenuItem_GetMenu", (PyCFunction) _wrap_wxMenuItem_GetMenu, METH_VARARGS | METH_KEYWORDS },
efc5f224 12151 { "new_wxMenuItem", (PyCFunction) _wrap_new_wxMenuItem, METH_VARARGS | METH_KEYWORDS },
b1462dfa 12152 { "wxMenuBar_GetHelpString", (PyCFunction) _wrap_wxMenuBar_GetHelpString, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
12153 { "wxMenuBar_SetHelpString", (PyCFunction) _wrap_wxMenuBar_SetHelpString, METH_VARARGS | METH_KEYWORDS },
12154 { "wxMenuBar_GetLabel", (PyCFunction) _wrap_wxMenuBar_GetLabel, METH_VARARGS | METH_KEYWORDS },
2f90df85 12155 { "wxMenuBar_SetLabel", (PyCFunction) _wrap_wxMenuBar_SetLabel, METH_VARARGS | METH_KEYWORDS },
2abc0a0f
RD
12156 { "wxMenuBar_IsEnabled", (PyCFunction) _wrap_wxMenuBar_IsEnabled, METH_VARARGS | METH_KEYWORDS },
12157 { "wxMenuBar_IsChecked", (PyCFunction) _wrap_wxMenuBar_IsChecked, METH_VARARGS | METH_KEYWORDS },
efc5f224 12158 { "wxMenuBar_Check", (PyCFunction) _wrap_wxMenuBar_Check, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
12159 { "wxMenuBar_Enable", (PyCFunction) _wrap_wxMenuBar_Enable, METH_VARARGS | METH_KEYWORDS },
12160 { "wxMenuBar_FindItemById", (PyCFunction) _wrap_wxMenuBar_FindItemById, METH_VARARGS | METH_KEYWORDS },
12161 { "wxMenuBar_FindMenuItem", (PyCFunction) _wrap_wxMenuBar_FindMenuItem, METH_VARARGS | METH_KEYWORDS },
3a0958b1 12162 { "wxMenuBar_FindMenu", (PyCFunction) _wrap_wxMenuBar_FindMenu, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
12163 { "wxMenuBar_GetLabelTop", (PyCFunction) _wrap_wxMenuBar_GetLabelTop, METH_VARARGS | METH_KEYWORDS },
12164 { "wxMenuBar_SetLabelTop", (PyCFunction) _wrap_wxMenuBar_SetLabelTop, METH_VARARGS | METH_KEYWORDS },
7e50db3f 12165 { "wxMenuBar_IsEnabledTop", (PyCFunction) _wrap_wxMenuBar_IsEnabledTop, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
12166 { "wxMenuBar_EnableTop", (PyCFunction) _wrap_wxMenuBar_EnableTop, METH_VARARGS | METH_KEYWORDS },
12167 { "wxMenuBar_Remove", (PyCFunction) _wrap_wxMenuBar_Remove, METH_VARARGS | METH_KEYWORDS },
12168 { "wxMenuBar_Replace", (PyCFunction) _wrap_wxMenuBar_Replace, METH_VARARGS | METH_KEYWORDS },
12169 { "wxMenuBar_GetMenu", (PyCFunction) _wrap_wxMenuBar_GetMenu, METH_VARARGS | METH_KEYWORDS },
12170 { "wxMenuBar_GetMenuCount", (PyCFunction) _wrap_wxMenuBar_GetMenuCount, METH_VARARGS | METH_KEYWORDS },
12171 { "wxMenuBar_Insert", (PyCFunction) _wrap_wxMenuBar_Insert, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
12172 { "wxMenuBar_Append", (PyCFunction) _wrap_wxMenuBar_Append, METH_VARARGS | METH_KEYWORDS },
12173 { "new_wxMenuBar", (PyCFunction) _wrap_new_wxMenuBar, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
12174 { "wxMenu_GetParent", (PyCFunction) _wrap_wxMenu_GetParent, METH_VARARGS | METH_KEYWORDS },
12175 { "wxMenu_SetParent", (PyCFunction) _wrap_wxMenu_SetParent, METH_VARARGS | METH_KEYWORDS },
12176 { "wxMenu_IsAttached", (PyCFunction) _wrap_wxMenu_IsAttached, METH_VARARGS | METH_KEYWORDS },
12177 { "wxMenu_GetStyle", (PyCFunction) _wrap_wxMenu_GetStyle, METH_VARARGS | METH_KEYWORDS },
12178 { "wxMenu_GetInvokingWindow", (PyCFunction) _wrap_wxMenu_GetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
12179 { "wxMenu_SetInvokingWindow", (PyCFunction) _wrap_wxMenu_SetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
12180 { "wxMenu_GetEventHandler", (PyCFunction) _wrap_wxMenu_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
12181 { "wxMenu_SetEventHandler", (PyCFunction) _wrap_wxMenu_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
12182 { "wxMenu_GetMenuItems", (PyCFunction) _wrap_wxMenu_GetMenuItems, METH_VARARGS | METH_KEYWORDS },
12183 { "wxMenu_GetMenuItemCount", (PyCFunction) _wrap_wxMenu_GetMenuItemCount, METH_VARARGS | METH_KEYWORDS },
12184 { "wxMenu_DestroyItem", (PyCFunction) _wrap_wxMenu_DestroyItem, METH_VARARGS | METH_KEYWORDS },
12185 { "wxMenu_DestroyId", (PyCFunction) _wrap_wxMenu_DestroyId, METH_VARARGS | METH_KEYWORDS },
efc5f224 12186 { "wxMenu_Destroy", (PyCFunction) _wrap_wxMenu_Destroy, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
12187 { "wxMenu_RemoveItem", (PyCFunction) _wrap_wxMenu_RemoveItem, METH_VARARGS | METH_KEYWORDS },
12188 { "wxMenu_Remove", (PyCFunction) _wrap_wxMenu_Remove, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
12189 { "wxMenu_DeleteItem", (PyCFunction) _wrap_wxMenu_DeleteItem, METH_VARARGS | METH_KEYWORDS },
12190 { "wxMenu_Delete", (PyCFunction) _wrap_wxMenu_Delete, METH_VARARGS | METH_KEYWORDS },
efc5f224 12191 { "wxMenu_UpdateUI", (PyCFunction) _wrap_wxMenu_UpdateUI, METH_VARARGS | METH_KEYWORDS },
efc5f224 12192 { "wxMenu_SetHelpString", (PyCFunction) _wrap_wxMenu_SetHelpString, METH_VARARGS | METH_KEYWORDS },
efc5f224 12193 { "wxMenu_GetHelpString", (PyCFunction) _wrap_wxMenu_GetHelpString, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
12194 { "wxMenu_SetLabel", (PyCFunction) _wrap_wxMenu_SetLabel, METH_VARARGS | METH_KEYWORDS },
12195 { "wxMenu_GetLabel", (PyCFunction) _wrap_wxMenu_GetLabel, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
12196 { "wxMenu_SetTitle", (PyCFunction) _wrap_wxMenu_SetTitle, METH_VARARGS | METH_KEYWORDS },
12197 { "wxMenu_GetTitle", (PyCFunction) _wrap_wxMenu_GetTitle, METH_VARARGS | METH_KEYWORDS },
5a2a9da2 12198 { "wxMenu_FindItemByPosition", (PyCFunction) _wrap_wxMenu_FindItemByPosition, METH_VARARGS | METH_KEYWORDS },
b1462dfa 12199 { "wxMenu_FindItemById", (PyCFunction) _wrap_wxMenu_FindItemById, METH_VARARGS | METH_KEYWORDS },
efc5f224 12200 { "wxMenu_FindItem", (PyCFunction) _wrap_wxMenu_FindItem, METH_VARARGS | METH_KEYWORDS },
b1462dfa 12201 { "wxMenu_IsEnabled", (PyCFunction) _wrap_wxMenu_IsEnabled, METH_VARARGS | METH_KEYWORDS },
efc5f224 12202 { "wxMenu_Enable", (PyCFunction) _wrap_wxMenu_Enable, METH_VARARGS | METH_KEYWORDS },
b1462dfa 12203 { "wxMenu_IsChecked", (PyCFunction) _wrap_wxMenu_IsChecked, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
12204 { "wxMenu_Check", (PyCFunction) _wrap_wxMenu_Check, METH_VARARGS | METH_KEYWORDS },
12205 { "wxMenu_Break", (PyCFunction) _wrap_wxMenu_Break, METH_VARARGS | METH_KEYWORDS },
e9159fe8
RD
12206 { "wxMenu_PrependItem", (PyCFunction) _wrap_wxMenu_PrependItem, METH_VARARGS | METH_KEYWORDS },
12207 { "wxMenu_PrependMenu", (PyCFunction) _wrap_wxMenu_PrependMenu, METH_VARARGS | METH_KEYWORDS },
12208 { "wxMenu_PrependRadioItem", (PyCFunction) _wrap_wxMenu_PrependRadioItem, METH_VARARGS | METH_KEYWORDS },
12209 { "wxMenu_PrependCheckItem", (PyCFunction) _wrap_wxMenu_PrependCheckItem, METH_VARARGS | METH_KEYWORDS },
12210 { "wxMenu_PrependSeparator", (PyCFunction) _wrap_wxMenu_PrependSeparator, METH_VARARGS | METH_KEYWORDS },
12211 { "wxMenu_Prepend", (PyCFunction) _wrap_wxMenu_Prepend, METH_VARARGS | METH_KEYWORDS },
12212 { "wxMenu_InsertItem", (PyCFunction) _wrap_wxMenu_InsertItem, METH_VARARGS | METH_KEYWORDS },
12213 { "wxMenu_InsertMenu", (PyCFunction) _wrap_wxMenu_InsertMenu, METH_VARARGS | METH_KEYWORDS },
12214 { "wxMenu_InsertRadioItem", (PyCFunction) _wrap_wxMenu_InsertRadioItem, METH_VARARGS | METH_KEYWORDS },
12215 { "wxMenu_InsertCheckItem", (PyCFunction) _wrap_wxMenu_InsertCheckItem, METH_VARARGS | METH_KEYWORDS },
12216 { "wxMenu_InsertSeparator", (PyCFunction) _wrap_wxMenu_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
12217 { "wxMenu_Insert", (PyCFunction) _wrap_wxMenu_Insert, METH_VARARGS | METH_KEYWORDS },
efc5f224 12218 { "wxMenu_AppendSeparator", (PyCFunction) _wrap_wxMenu_AppendSeparator, METH_VARARGS | METH_KEYWORDS },
e9159fe8
RD
12219 { "wxMenu_AppendRadioItem", (PyCFunction) _wrap_wxMenu_AppendRadioItem, METH_VARARGS | METH_KEYWORDS },
12220 { "wxMenu_AppendCheckItem", (PyCFunction) _wrap_wxMenu_AppendCheckItem, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
12221 { "wxMenu_AppendItem", (PyCFunction) _wrap_wxMenu_AppendItem, METH_VARARGS | METH_KEYWORDS },
12222 { "wxMenu_AppendMenu", (PyCFunction) _wrap_wxMenu_AppendMenu, METH_VARARGS | METH_KEYWORDS },
12223 { "wxMenu_Append", (PyCFunction) _wrap_wxMenu_Append, METH_VARARGS | METH_KEYWORDS },
12224 { "new_wxMenu", (PyCFunction) _wrap_new_wxMenu, METH_VARARGS | METH_KEYWORDS },
2a74d141 12225 { "wxScrolledWindow_SetScrollRate", (PyCFunction) _wrap_wxScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
26e335b8 12226 { "wxScrolledWindow_Layout", (PyCFunction) _wrap_wxScrolledWindow_Layout, METH_VARARGS | METH_KEYWORDS },
d1679124
RD
12227 { "wxScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_wxScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
12228 { "wxScrolledWindow_GetScaleY", (PyCFunction) _wrap_wxScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
12229 { "wxScrolledWindow_GetScaleX", (PyCFunction) _wrap_wxScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
12230 { "wxScrolledWindow_SetScale", (PyCFunction) _wrap_wxScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
e9159fe8
RD
12231 { "wxScrolledWindow_CalcUnscrolledPosition2", (PyCFunction) _wrap_wxScrolledWindow_CalcUnscrolledPosition2, METH_VARARGS | METH_KEYWORDS },
12232 { "wxScrolledWindow_CalcUnscrolledPosition1", (PyCFunction) _wrap_wxScrolledWindow_CalcUnscrolledPosition1, METH_VARARGS | METH_KEYWORDS },
12233 { "wxScrolledWindow_CalcScrolledPosition2", (PyCFunction) _wrap_wxScrolledWindow_CalcScrolledPosition2, METH_VARARGS | METH_KEYWORDS },
12234 { "wxScrolledWindow_CalcScrolledPosition1", (PyCFunction) _wrap_wxScrolledWindow_CalcScrolledPosition1, METH_VARARGS | METH_KEYWORDS },
4c9993c3 12235 { "wxScrolledWindow_GetViewStart", (PyCFunction) _wrap_wxScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
eb715945 12236 { "wxScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_wxScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
b7e72427 12237 { "wxScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_wxScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
12238 { "wxScrolledWindow_SetScrollbars", (PyCFunction) _wrap_wxScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
12239 { "wxScrolledWindow_Scroll", (PyCFunction) _wrap_wxScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
12240 { "wxScrolledWindow_PrepareDC", (PyCFunction) _wrap_wxScrolledWindow_PrepareDC, METH_VARARGS | METH_KEYWORDS },
12241 { "wxScrolledWindow_IsRetained", (PyCFunction) _wrap_wxScrolledWindow_IsRetained, METH_VARARGS | METH_KEYWORDS },
b7e72427 12242 { "wxScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_wxScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
efc5f224 12243 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
b7e72427 12244 { "wxScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_wxScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
efc5f224 12245 { "wxScrolledWindow_EnableScrolling", (PyCFunction) _wrap_wxScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
12246 { "wxScrolledWindow_Create", (PyCFunction) _wrap_wxScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
12247 { "new_wxPreScrolledWindow", (PyCFunction) _wrap_new_wxPreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
efc5f224 12248 { "new_wxScrolledWindow", (PyCFunction) _wrap_new_wxScrolledWindow, METH_VARARGS | METH_KEYWORDS },
efc5f224 12249 { "wxPanel_InitDialog", (PyCFunction) _wrap_wxPanel_InitDialog, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
12250 { "wxPanel_Create", (PyCFunction) _wrap_wxPanel_Create, METH_VARARGS | METH_KEYWORDS },
12251 { "new_wxPrePanel", (PyCFunction) _wrap_new_wxPrePanel, METH_VARARGS | METH_KEYWORDS },
efc5f224 12252 { "new_wxPanel", (PyCFunction) _wrap_new_wxPanel, METH_VARARGS | METH_KEYWORDS },
5a2a9da2
RD
12253 { "wxWindow_GetBorder", (PyCFunction) _wrap_wxWindow_GetBorder, METH_VARARGS | METH_KEYWORDS },
12254 { "wxWindow_GetBorderFlags", (PyCFunction) _wrap_wxWindow_GetBorderFlags, METH_VARARGS | METH_KEYWORDS },
12255 { "wxWindow_GetThemeEnabled", (PyCFunction) _wrap_wxWindow_GetThemeEnabled, METH_VARARGS | METH_KEYWORDS },
12256 { "wxWindow_SetThemeEnabled", (PyCFunction) _wrap_wxWindow_SetThemeEnabled, METH_VARARGS | METH_KEYWORDS },
6d26dc89
RD
12257 { "wxWindow_HasCapture", (PyCFunction) _wrap_wxWindow_HasCapture, METH_VARARGS | METH_KEYWORDS },
12258 { "wxWindow_GetCapture", (PyCFunction) _wrap_wxWindow_GetCapture, METH_VARARGS | METH_KEYWORDS },
12259 { "wxWindow_ReleaseMouse", (PyCFunction) _wrap_wxWindow_ReleaseMouse, METH_VARARGS | METH_KEYWORDS },
12260 { "wxWindow_CaptureMouse", (PyCFunction) _wrap_wxWindow_CaptureMouse, METH_VARARGS | METH_KEYWORDS },
12261 { "wxWindow_WarpPointer", (PyCFunction) _wrap_wxWindow_WarpPointer, METH_VARARGS | METH_KEYWORDS },
0b85cc38 12262 { "wxWindow_SetTmpDefaultItem", (PyCFunction) _wrap_wxWindow_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS },
5a2930ab
RD
12263 { "wxWindow_SetDefaultItem", (PyCFunction) _wrap_wxWindow_SetDefaultItem, METH_VARARGS | METH_KEYWORDS },
12264 { "wxWindow_GetDefaultItem", (PyCFunction) _wrap_wxWindow_GetDefaultItem, METH_VARARGS | METH_KEYWORDS },
07c99b26 12265 { "wxWindow_OnPaint", (PyCFunction) _wrap_wxWindow_OnPaint, METH_VARARGS | METH_KEYWORDS },
5a2a9da2
RD
12266 { "wxWindow_UnregisterHotKey", (PyCFunction) _wrap_wxWindow_UnregisterHotKey, METH_VARARGS | METH_KEYWORDS },
12267 { "wxWindow_RegisterHotKey", (PyCFunction) _wrap_wxWindow_RegisterHotKey, METH_VARARGS | METH_KEYWORDS },
900d9886 12268 { "wxWindow_GetAcceleratorTable", (PyCFunction) _wrap_wxWindow_GetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
76bfdc78 12269 { "wxWindow_SetAcceleratorTable", (PyCFunction) _wrap_wxWindow_SetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
12270 { "wxWindow_PrevControlId", (PyCFunction) _wrap_wxWindow_PrevControlId, METH_VARARGS | METH_KEYWORDS },
12271 { "wxWindow_NextControlId", (PyCFunction) _wrap_wxWindow_NextControlId, METH_VARARGS | METH_KEYWORDS },
12272 { "wxWindow_NewControlId", (PyCFunction) _wrap_wxWindow_NewControlId, METH_VARARGS | METH_KEYWORDS },
12273 { "wxWindow_FindFocus", (PyCFunction) _wrap_wxWindow_FindFocus, METH_VARARGS | METH_KEYWORDS },
c7e7022c
RD
12274 { "wxWindow_PageDown", (PyCFunction) _wrap_wxWindow_PageDown, METH_VARARGS | METH_KEYWORDS },
12275 { "wxWindow_PageUp", (PyCFunction) _wrap_wxWindow_PageUp, METH_VARARGS | METH_KEYWORDS },
12276 { "wxWindow_LineDown", (PyCFunction) _wrap_wxWindow_LineDown, METH_VARARGS | METH_KEYWORDS },
12277 { "wxWindow_LineUp", (PyCFunction) _wrap_wxWindow_LineUp, METH_VARARGS | METH_KEYWORDS },
12278 { "wxWindow_ScrollPages", (PyCFunction) _wrap_wxWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
12279 { "wxWindow_ScrollLines", (PyCFunction) _wrap_wxWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
23bed520 12280 { "wxWindow_SetHelpTextForId", (PyCFunction) _wrap_wxWindow_SetHelpTextForId, METH_VARARGS | METH_KEYWORDS },
4f3449b4
RD
12281 { "wxWindow_SetHelpText", (PyCFunction) _wrap_wxWindow_SetHelpText, METH_VARARGS | METH_KEYWORDS },
12282 { "wxWindow_GetHelpText", (PyCFunction) _wrap_wxWindow_GetHelpText, METH_VARARGS | METH_KEYWORDS },
09f3d4e6 12283 { "wxWindow_Update", (PyCFunction) _wrap_wxWindow_Update, METH_VARARGS | METH_KEYWORDS },
3a0958b1
RD
12284 { "wxWindow_Thaw", (PyCFunction) _wrap_wxWindow_Thaw, METH_VARARGS | METH_KEYWORDS },
12285 { "wxWindow_Freeze", (PyCFunction) _wrap_wxWindow_Freeze, METH_VARARGS | METH_KEYWORDS },
a1df7a95
RD
12286 { "wxWindow_GetCaret", (PyCFunction) _wrap_wxWindow_GetCaret, METH_VARARGS | METH_KEYWORDS },
12287 { "wxWindow_SetCaret", (PyCFunction) _wrap_wxWindow_SetCaret, METH_VARARGS | METH_KEYWORDS },
7e50db3f 12288 { "wxWindow_GetAdjustedBestSize", (PyCFunction) _wrap_wxWindow_GetAdjustedBestSize, METH_VARARGS | METH_KEYWORDS },
a541c325 12289 { "wxWindow_GetMaxSize", (PyCFunction) _wrap_wxWindow_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
694759cf 12290 { "wxWindow_GetBestSize", (PyCFunction) _wrap_wxWindow_GetBestSize, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
12291 { "wxWindow_GetDropTarget", (PyCFunction) _wrap_wxWindow_GetDropTarget, METH_VARARGS | METH_KEYWORDS },
12292 { "wxWindow_SetDropTarget", (PyCFunction) _wrap_wxWindow_SetDropTarget, METH_VARARGS | METH_KEYWORDS },
2f90df85
RD
12293 { "wxWindow_SetValidator", (PyCFunction) _wrap_wxWindow_SetValidator, METH_VARARGS | METH_KEYWORDS },
12294 { "wxWindow_GetValidator", (PyCFunction) _wrap_wxWindow_GetValidator, METH_VARARGS | METH_KEYWORDS },
be90c029
RD
12295 { "wxWindow_GetContainingSizer", (PyCFunction) _wrap_wxWindow_GetContainingSizer, METH_VARARGS | METH_KEYWORDS },
12296 { "wxWindow_SetContainingSizer", (PyCFunction) _wrap_wxWindow_SetContainingSizer, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 12297 { "wxWindow_GetSizer", (PyCFunction) _wrap_wxWindow_GetSizer, METH_VARARGS | METH_KEYWORDS },
2a74d141 12298 { "wxWindow_SetSizerAndFit", (PyCFunction) _wrap_wxWindow_SetSizerAndFit, METH_VARARGS | METH_KEYWORDS },
2f90df85 12299 { "wxWindow_SetSizer", (PyCFunction) _wrap_wxWindow_SetSizer, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
12300 { "wxWindow_GetToolTip", (PyCFunction) _wrap_wxWindow_GetToolTip, METH_VARARGS | METH_KEYWORDS },
12301 { "wxWindow_SetToolTip", (PyCFunction) _wrap_wxWindow_SetToolTip, METH_VARARGS | METH_KEYWORDS },
12302 { "wxWindow_SetToolTipString", (PyCFunction) _wrap_wxWindow_SetToolTipString, METH_VARARGS | METH_KEYWORDS },
12303 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction) _wrap_wxWindow_ConvertPixelSizeToDialog, METH_VARARGS | METH_KEYWORDS },
12304 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction) _wrap_wxWindow_ConvertPixelPointToDialog, METH_VARARGS | METH_KEYWORDS },
12305 { "wxWindow_DLG_SZE", (PyCFunction) _wrap_wxWindow_ConvertDialogSizeToPixels, METH_VARARGS | METH_KEYWORDS },
12306 { "wxWindow_DLG_PNT", (PyCFunction) _wrap_wxWindow_ConvertDialogPointToPixels, METH_VARARGS | METH_KEYWORDS },
12307 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction) _wrap_wxWindow_ConvertDialogSizeToPixels, METH_VARARGS | METH_KEYWORDS },
12308 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction) _wrap_wxWindow_ConvertDialogPointToPixels, METH_VARARGS | METH_KEYWORDS },
efc5f224 12309 { "wxWindow_Validate", (PyCFunction) _wrap_wxWindow_Validate, METH_VARARGS | METH_KEYWORDS },
23bed520 12310 { "wxWindow_UpdateWindowUI", (PyCFunction) _wrap_wxWindow_UpdateWindowUI, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
12311 { "wxWindow_TransferDataToWindow", (PyCFunction) _wrap_wxWindow_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
12312 { "wxWindow_TransferDataFromWindow", (PyCFunction) _wrap_wxWindow_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
12313 { "wxWindow_Show", (PyCFunction) _wrap_wxWindow_Show, METH_VARARGS | METH_KEYWORDS },
12314 { "wxWindow_SetTitle", (PyCFunction) _wrap_wxWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
83b18bab 12315 { "wxWindow_SetExtraStyle", (PyCFunction) _wrap_wxWindow_SetExtraStyle, METH_VARARGS | METH_KEYWORDS },
1afc06c2 12316 { "wxWindow_SetEventHandler", (PyCFunction) _wrap_wxWindow_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
e67409dc 12317 { "wxWindow_GetCursor", (PyCFunction) _wrap_wxWindow_GetCursor, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
12318 { "wxWindow_SetCursor", (PyCFunction) _wrap_wxWindow_SetCursor, METH_VARARGS | METH_KEYWORDS },
12319 { "wxWindow_SetClientSize", (PyCFunction) _wrap_wxWindow_SetClientSize, METH_VARARGS | METH_KEYWORDS },
12320 { "wxWindow_SetClientSizeWH", (PyCFunction) _wrap_wxWindow_SetClientSizeWH, METH_VARARGS | METH_KEYWORDS },
7e50db3f 12321 { "wxWindow_GetBestVirtualSize", (PyCFunction) _wrap_wxWindow_GetBestVirtualSize, METH_VARARGS | METH_KEYWORDS },
2a74d141
RD
12322 { "wxWindow_GetVirtualSizeTuple", (PyCFunction) _wrap_wxWindow_GetVirtualSizeTuple, METH_VARARGS | METH_KEYWORDS },
12323 { "wxWindow_GetVirtualSize", (PyCFunction) _wrap_wxWindow_GetVirtualSize, METH_VARARGS | METH_KEYWORDS },
12324 { "wxWindow_SetVirtualSizeWH", (PyCFunction) _wrap_wxWindow_SetVirtualSizeWH, METH_VARARGS | METH_KEYWORDS },
12325 { "wxWindow_SetVirtualSize", (PyCFunction) _wrap_wxWindow_SetVirtualSize, METH_VARARGS | METH_KEYWORDS },
12326 { "wxWindow_SetVirtualSizeHints", (PyCFunction) _wrap_wxWindow_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS },
efc5f224 12327 { "wxWindow_SetSizeHints", (PyCFunction) _wrap_wxWindow_SetSizeHints, METH_VARARGS | METH_KEYWORDS },
dbbb98cd 12328 { "wxWindow_SetRect", (PyCFunction) _wrap_wxWindow_SetRect, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
12329 { "wxWindow_SetPosition", (PyCFunction) _wrap_wxWindow_SetPosition, METH_VARARGS | METH_KEYWORDS },
12330 { "wxWindow_SetSize", (PyCFunction) _wrap_wxWindow_SetSize, METH_VARARGS | METH_KEYWORDS },
12331 { "wxWindow_SetDimensions", (PyCFunction) _wrap_wxWindow_SetDimensions, METH_VARARGS | METH_KEYWORDS },
12332 { "wxWindow_SetScrollPos", (PyCFunction) _wrap_wxWindow_SetScrollPos, METH_VARARGS | METH_KEYWORDS },
12333 { "wxWindow_SetScrollbar", (PyCFunction) _wrap_wxWindow_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
12334 { "wxWindow_SetName", (PyCFunction) _wrap_wxWindow_SetName, METH_VARARGS | METH_KEYWORDS },
12335 { "wxWindow_SetId", (PyCFunction) _wrap_wxWindow_SetId, METH_VARARGS | METH_KEYWORDS },
12336 { "wxWindow_SetForegroundColour", (PyCFunction) _wrap_wxWindow_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
12337 { "wxWindow_SetFont", (PyCFunction) _wrap_wxWindow_SetFont, METH_VARARGS | METH_KEYWORDS },
2f90df85 12338 { "wxWindow_AcceptsFocus", (PyCFunction) _wrap_wxWindow_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
2a74d141 12339 { "wxWindow_SetFocusFromKbd", (PyCFunction) _wrap_wxWindow_SetFocusFromKbd, METH_VARARGS | METH_KEYWORDS },
efc5f224 12340 { "wxWindow_SetFocus", (PyCFunction) _wrap_wxWindow_SetFocus, METH_VARARGS | METH_KEYWORDS },
2f90df85 12341 { "wxWindow_UnsetConstraints", (PyCFunction) _wrap_wxWindow_UnsetConstraints, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
12342 { "wxWindow_SetConstraints", (PyCFunction) _wrap_wxWindow_SetConstraints, METH_VARARGS | METH_KEYWORDS },
12343 { "wxWindow_SetBackgroundColour", (PyCFunction) _wrap_wxWindow_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
9d8bd15f 12344 { "wxWindow_GetAutoLayout", (PyCFunction) _wrap_wxWindow_GetAutoLayout, METH_VARARGS | METH_KEYWORDS },
efc5f224 12345 { "wxWindow_SetAutoLayout", (PyCFunction) _wrap_wxWindow_SetAutoLayout, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
12346 { "wxWindow_ScrollWindow", (PyCFunction) _wrap_wxWindow_ScrollWindow, METH_VARARGS | METH_KEYWORDS },
12347 { "wxWindow_ScreenToClient", (PyCFunction) _wrap_wxWindow_ScreenToClient, METH_VARARGS | METH_KEYWORDS },
12348 { "wxWindow_ScreenToClientXY", (PyCFunction) _wrap_wxWindow_ScreenToClientXY, METH_VARARGS | METH_KEYWORDS },
12349 { "wxWindow_Reparent", (PyCFunction) _wrap_wxWindow_Reparent, METH_VARARGS | METH_KEYWORDS },
b7e72427 12350 { "wxWindow_RemoveChild", (PyCFunction) _wrap_wxWindow_RemoveChild, METH_VARARGS | METH_KEYWORDS },
e67409dc 12351 { "wxWindow_AddChild", (PyCFunction) _wrap_wxWindow_AddChild, METH_VARARGS | METH_KEYWORDS },
09f3d4e6 12352 { "wxWindow_RefreshRect", (PyCFunction) _wrap_wxWindow_RefreshRect, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
12353 { "wxWindow_Refresh", (PyCFunction) _wrap_wxWindow_Refresh, METH_VARARGS | METH_KEYWORDS },
12354 { "wxWindow_Raise", (PyCFunction) _wrap_wxWindow_Raise, METH_VARARGS | METH_KEYWORDS },
12355 { "wxWindow_PopupMenu", (PyCFunction) _wrap_wxWindow_PopupMenu, METH_VARARGS | METH_KEYWORDS },
12356 { "wxWindow_PopupMenuXY", (PyCFunction) _wrap_wxWindow_PopupMenuXY, METH_VARARGS | METH_KEYWORDS },
c6c593e8 12357 { "wxWindow_RemoveEventHandler", (PyCFunction) _wrap_wxWindow_RemoveEventHandler, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
12358 { "wxWindow_PushEventHandler", (PyCFunction) _wrap_wxWindow_PushEventHandler, METH_VARARGS | METH_KEYWORDS },
12359 { "wxWindow_PopEventHandler", (PyCFunction) _wrap_wxWindow_PopEventHandler, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
12360 { "wxWindow_Move", (PyCFunction) _wrap_wxWindow_Move, METH_VARARGS | METH_KEYWORDS },
12361 { "wxWindow_MoveXY", (PyCFunction) _wrap_wxWindow_MoveXY, METH_VARARGS | METH_KEYWORDS },
12362 { "wxWindow_MakeModal", (PyCFunction) _wrap_wxWindow_MakeModal, METH_VARARGS | METH_KEYWORDS },
12363 { "wxWindow_Lower", (PyCFunction) _wrap_wxWindow_Lower, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
12364 { "wxWindow_Layout", (PyCFunction) _wrap_wxWindow_Layout, METH_VARARGS | METH_KEYWORDS },
12365 { "wxWindow_IsTopLevel", (PyCFunction) _wrap_wxWindow_IsTopLevel, METH_VARARGS | METH_KEYWORDS },
12366 { "wxWindow_IsShown", (PyCFunction) _wrap_wxWindow_IsShown, METH_VARARGS | METH_KEYWORDS },
12367 { "wxWindow_IsRetained", (PyCFunction) _wrap_wxWindow_IsRetained, METH_VARARGS | METH_KEYWORDS },
1b55cabf
RD
12368 { "wxWindow_IsExposedRect", (PyCFunction) _wrap_wxWindow_IsExposedRect, METH_VARARGS | METH_KEYWORDS },
12369 { "wxWindow_IsExposedPoint", (PyCFunction) _wrap_wxWindow_IsExposedPoint, METH_VARARGS | METH_KEYWORDS },
12370 { "wxWindow_IsExposed", (PyCFunction) _wrap_wxWindow_IsExposed, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
12371 { "wxWindow_IsEnabled", (PyCFunction) _wrap_wxWindow_IsEnabled, METH_VARARGS | METH_KEYWORDS },
12372 { "wxWindow_InitDialog", (PyCFunction) _wrap_wxWindow_InitDialog, METH_VARARGS | METH_KEYWORDS },
23bed520 12373 { "wxWindow_HitTest", (PyCFunction) _wrap_wxWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
efc5f224 12374 { "wxWindow_Hide", (PyCFunction) _wrap_wxWindow_Hide, METH_VARARGS | METH_KEYWORDS },
23bed520 12375 { "wxWindow_HasScrollbar", (PyCFunction) _wrap_wxWindow_HasScrollbar, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
12376 { "wxWindow_SetWindowStyle", (PyCFunction) _wrap_wxWindow_SetWindowStyle, METH_VARARGS | METH_KEYWORDS },
12377 { "wxWindow_SetWindowStyleFlag", (PyCFunction) _wrap_wxWindow_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
12378 { "wxWindow_GetWindowStyleFlag", (PyCFunction) _wrap_wxWindow_GetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
12379 { "wxWindow_GetUpdateRegion", (PyCFunction) _wrap_wxWindow_GetUpdateRegion, METH_VARARGS | METH_KEYWORDS },
12380 { "wxWindow_GetTitle", (PyCFunction) _wrap_wxWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
12381 { "wxWindow_GetFullTextExtent", (PyCFunction) _wrap_wxWindow_GetFullTextExtent, METH_VARARGS | METH_KEYWORDS },
12382 { "wxWindow_GetTextExtent", (PyCFunction) _wrap_wxWindow_GetTextExtent, METH_VARARGS | METH_KEYWORDS },
12383 { "wxWindow_GetSize", (PyCFunction) _wrap_wxWindow_GetSize, METH_VARARGS | METH_KEYWORDS },
12384 { "wxWindow_GetSizeTuple", (PyCFunction) _wrap_wxWindow_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
12385 { "wxWindow_GetScrollRange", (PyCFunction) _wrap_wxWindow_GetScrollRange, METH_VARARGS | METH_KEYWORDS },
12386 { "wxWindow_GetScrollPos", (PyCFunction) _wrap_wxWindow_GetScrollPos, METH_VARARGS | METH_KEYWORDS },
12387 { "wxWindow_GetScrollThumb", (PyCFunction) _wrap_wxWindow_GetScrollThumb, METH_VARARGS | METH_KEYWORDS },
12388 { "wxWindow_GetRect", (PyCFunction) _wrap_wxWindow_GetRect, METH_VARARGS | METH_KEYWORDS },
12389 { "wxWindow_GetPosition", (PyCFunction) _wrap_wxWindow_GetPosition, METH_VARARGS | METH_KEYWORDS },
12390 { "wxWindow_GetPositionTuple", (PyCFunction) _wrap_wxWindow_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
12391 { "wxWindow_GetParent", (PyCFunction) _wrap_wxWindow_GetParent, METH_VARARGS | METH_KEYWORDS },
12392 { "wxWindow_GetName", (PyCFunction) _wrap_wxWindow_GetName, METH_VARARGS | METH_KEYWORDS },
12393 { "wxWindow_SetLabel", (PyCFunction) _wrap_wxWindow_SetLabel, METH_VARARGS | METH_KEYWORDS },
12394 { "wxWindow_GetLabel", (PyCFunction) _wrap_wxWindow_GetLabel, METH_VARARGS | METH_KEYWORDS },
12395 { "wxWindow_GetId", (PyCFunction) _wrap_wxWindow_GetId, METH_VARARGS | METH_KEYWORDS },
2abc0a0f 12396 { "wxWindow_GetHandle", (PyCFunction) _wrap_wxWindow_GetHandle, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
12397 { "wxWindow_GetGrandParent", (PyCFunction) _wrap_wxWindow_GetGrandParent, METH_VARARGS | METH_KEYWORDS },
12398 { "wxWindow_GetForegroundColour", (PyCFunction) _wrap_wxWindow_GetForegroundColour, METH_VARARGS | METH_KEYWORDS },
12399 { "wxWindow_GetFont", (PyCFunction) _wrap_wxWindow_GetFont, METH_VARARGS | METH_KEYWORDS },
1afc06c2 12400 { "wxWindow_GetEventHandler", (PyCFunction) _wrap_wxWindow_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
efc5f224 12401 { "wxWindow_GetConstraints", (PyCFunction) _wrap_wxWindow_GetConstraints, METH_VARARGS | METH_KEYWORDS },
23bed520
RD
12402 { "wxWindow_GetClientRect", (PyCFunction) _wrap_wxWindow_GetClientRect, METH_VARARGS | METH_KEYWORDS },
12403 { "wxWindow_GetClientAreaOrigin", (PyCFunction) _wrap_wxWindow_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
12404 { "wxWindow_GetClientSize", (PyCFunction) _wrap_wxWindow_GetClientSize, METH_VARARGS | METH_KEYWORDS },
12405 { "wxWindow_GetClientSizeTuple", (PyCFunction) _wrap_wxWindow_GetClientSizeTuple, METH_VARARGS | METH_KEYWORDS },
12406 { "wxWindow_GetCharWidth", (PyCFunction) _wrap_wxWindow_GetCharWidth, METH_VARARGS | METH_KEYWORDS },
12407 { "wxWindow_GetCharHeight", (PyCFunction) _wrap_wxWindow_GetCharHeight, METH_VARARGS | METH_KEYWORDS },
d426c97e 12408 { "wxWindow_GetChildren", (PyCFunction) _wrap_wxWindow_GetChildren, METH_VARARGS | METH_KEYWORDS },
efc5f224 12409 { "wxWindow_GetBackgroundColour", (PyCFunction) _wrap_wxWindow_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
7e50db3f 12410 { "wxWindow_FitInside", (PyCFunction) _wrap_wxWindow_FitInside, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
12411 { "wxWindow_Fit", (PyCFunction) _wrap_wxWindow_Fit, METH_VARARGS | METH_KEYWORDS },
12412 { "wxWindow_FindWindowByName", (PyCFunction) _wrap_wxWindow_FindWindowByName, METH_VARARGS | METH_KEYWORDS },
12413 { "wxWindow_FindWindowById", (PyCFunction) _wrap_wxWindow_FindWindowById, METH_VARARGS | METH_KEYWORDS },
7e50db3f 12414 { "wxWindow_Disable", (PyCFunction) _wrap_wxWindow_Disable, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
12415 { "wxWindow_Enable", (PyCFunction) _wrap_wxWindow_Enable, METH_VARARGS | METH_KEYWORDS },
12416 { "wxWindow_DragAcceptFiles", (PyCFunction) _wrap_wxWindow_DragAcceptFiles, METH_VARARGS | METH_KEYWORDS },
ac346f50 12417 { "wxWindow_IsBeingDeleted", (PyCFunction) _wrap_wxWindow_IsBeingDeleted, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
12418 { "wxWindow_DestroyChildren", (PyCFunction) _wrap_wxWindow_DestroyChildren, METH_VARARGS | METH_KEYWORDS },
12419 { "wxWindow_Destroy", (PyCFunction) _wrap_wxWindow_Destroy, METH_VARARGS | METH_KEYWORDS },
12420 { "wxWindow_Close", (PyCFunction) _wrap_wxWindow_Close, METH_VARARGS | METH_KEYWORDS },
12421 { "wxWindow_ClientToScreen", (PyCFunction) _wrap_wxWindow_ClientToScreen, METH_VARARGS | METH_KEYWORDS },
12422 { "wxWindow_ClientToScreenXY", (PyCFunction) _wrap_wxWindow_ClientToScreenXY, METH_VARARGS | METH_KEYWORDS },
e06b17c0 12423 { "wxWindow_ClearBackground", (PyCFunction) _wrap_wxWindow_ClearBackground, METH_VARARGS | METH_KEYWORDS },
3ca6a5f0
BP
12424 { "wxWindow_CenterOnScreen", (PyCFunction) _wrap_wxWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS },
12425 { "wxWindow_CentreOnScreen", (PyCFunction) _wrap_wxWindow_CentreOnScreen, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
12426 { "wxWindow_CenterOnParent", (PyCFunction) _wrap_wxWindow_CenterOnParent, METH_VARARGS | METH_KEYWORDS },
12427 { "wxWindow_CentreOnParent", (PyCFunction) _wrap_wxWindow_CentreOnParent, METH_VARARGS | METH_KEYWORDS },
12428 { "wxWindow_Centre", (PyCFunction) _wrap_wxWindow_Centre, METH_VARARGS | METH_KEYWORDS },
12429 { "wxWindow_Center", (PyCFunction) _wrap_wxWindow_Center, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
12430 { "wxWindow_Create", (PyCFunction) _wrap_wxWindow_Create, METH_VARARGS | METH_KEYWORDS },
12431 { "new_wxPreWindow", (PyCFunction) _wrap_new_wxPreWindow, METH_VARARGS | METH_KEYWORDS },
efc5f224 12432 { "new_wxWindow", (PyCFunction) _wrap_new_wxWindow, METH_VARARGS | METH_KEYWORDS },
0122b7e3 12433 { "wxPyValidator__setCallbackInfo", (PyCFunction) _wrap_wxPyValidator__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
2f90df85 12434 { "new_wxPyValidator", (PyCFunction) _wrap_new_wxPyValidator, METH_VARARGS | METH_KEYWORDS },
9416aa89
RD
12435 { "wxValidator_SetBellOnError", (PyCFunction) _wrap_wxValidator_SetBellOnError, METH_VARARGS | METH_KEYWORDS },
12436 { "wxValidator_IsSilent", (PyCFunction) _wrap_wxValidator_IsSilent, METH_VARARGS | METH_KEYWORDS },
2f90df85
RD
12437 { "wxValidator_SetWindow", (PyCFunction) _wrap_wxValidator_SetWindow, METH_VARARGS | METH_KEYWORDS },
12438 { "wxValidator_GetWindow", (PyCFunction) _wrap_wxValidator_GetWindow, METH_VARARGS | METH_KEYWORDS },
12439 { "wxValidator_Clone", (PyCFunction) _wrap_wxValidator_Clone, METH_VARARGS | METH_KEYWORDS },
12440 { "new_wxValidator", (PyCFunction) _wrap_new_wxValidator, METH_VARARGS | METH_KEYWORDS },
0122b7e3 12441 { "wxEvtHandler__setOORInfo", (PyCFunction) _wrap_wxEvtHandler__setOORInfo, METH_VARARGS | METH_KEYWORDS },
6999b0d8 12442 { "wxEvtHandler_Disconnect", (PyCFunction) _wrap_wxEvtHandler_Disconnect, METH_VARARGS | METH_KEYWORDS },
efc5f224 12443 { "wxEvtHandler_Connect", (PyCFunction) _wrap_wxEvtHandler_Connect, METH_VARARGS | METH_KEYWORDS },
2f90df85
RD
12444 { "wxEvtHandler_SetPreviousHandler", (PyCFunction) _wrap_wxEvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
12445 { "wxEvtHandler_SetNextHandler", (PyCFunction) _wrap_wxEvtHandler_SetNextHandler, METH_VARARGS | METH_KEYWORDS },
12446 { "wxEvtHandler_GetPreviousHandler", (PyCFunction) _wrap_wxEvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
12447 { "wxEvtHandler_GetNextHandler", (PyCFunction) _wrap_wxEvtHandler_GetNextHandler, METH_VARARGS | METH_KEYWORDS },
12448 { "wxEvtHandler_SetEvtHandlerEnabled", (PyCFunction) _wrap_wxEvtHandler_SetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
12449 { "wxEvtHandler_GetEvtHandlerEnabled", (PyCFunction) _wrap_wxEvtHandler_GetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 12450 { "wxEvtHandler_AddPendingEvent", (PyCFunction) _wrap_wxEvtHandler_AddPendingEvent, METH_VARARGS | METH_KEYWORDS },
efc5f224 12451 { "wxEvtHandler_ProcessEvent", (PyCFunction) _wrap_wxEvtHandler_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
c368d904 12452 { "new_wxEvtHandler", (PyCFunction) _wrap_new_wxEvtHandler, METH_VARARGS | METH_KEYWORDS },
e67409dc
RD
12453 { "wxFindWindowByLabel", (PyCFunction) _wrap_wxFindWindowByLabel, METH_VARARGS | METH_KEYWORDS },
12454 { "wxFindWindowByName", (PyCFunction) _wrap_wxFindWindowByName, METH_VARARGS | METH_KEYWORDS },
12455 { "wxFindWindowById", (PyCFunction) _wrap_wxFindWindowById, METH_VARARGS | METH_KEYWORDS },
efc5f224 12456 { "wxWindow_FromHWND", (PyCFunction) _wrap_wxWindow_FromHWND, METH_VARARGS | METH_KEYWORDS },
8ab979d7
RD
12457 { NULL, NULL }
12458};
1d99702e
RD
12459#ifdef __cplusplus
12460}
12461#endif
12462/*
12463 * This table is used by the pointer type-checker
12464 */
12465static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
1d99702e 12466 { "_signed_long","_long",0},
b1462dfa 12467 { "_wxPrintQuality","_wxCoord",0},
1d99702e
RD
12468 { "_wxPrintQuality","_int",0},
12469 { "_wxPrintQuality","_signed_int",0},
12470 { "_wxPrintQuality","_unsigned_int",0},
12471 { "_wxPrintQuality","_wxWindowID",0},
12472 { "_wxPrintQuality","_uint",0},
12473 { "_wxPrintQuality","_EBool",0},
12474 { "_wxPrintQuality","_size_t",0},
c368d904 12475 { "_wxPrintQuality","_time_t",0},
1d99702e 12476 { "_byte","_unsigned_char",0},
1d99702e
RD
12477 { "_long","_unsigned_long",0},
12478 { "_long","_signed_long",0},
b1462dfa 12479 { "_size_t","_wxCoord",0},
1d99702e 12480 { "_size_t","_wxPrintQuality",0},
c368d904 12481 { "_size_t","_time_t",0},
1d99702e
RD
12482 { "_size_t","_unsigned_int",0},
12483 { "_size_t","_int",0},
12484 { "_size_t","_wxWindowID",0},
12485 { "_size_t","_uint",0},
1d99702e 12486 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel},
b1462dfa 12487 { "_uint","_wxCoord",0},
1d99702e 12488 { "_uint","_wxPrintQuality",0},
c368d904 12489 { "_uint","_time_t",0},
1d99702e
RD
12490 { "_uint","_size_t",0},
12491 { "_uint","_unsigned_int",0},
12492 { "_uint","_int",0},
12493 { "_uint","_wxWindowID",0},
f6bcfd97 12494 { "_wxChar","_char",0},
f6bcfd97 12495 { "_char","_wxChar",0},
cdf14688 12496 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
b1462dfa 12497 { "_EBool","_wxCoord",0},
1d99702e
RD
12498 { "_EBool","_wxPrintQuality",0},
12499 { "_EBool","_signed_int",0},
12500 { "_EBool","_int",0},
12501 { "_EBool","_wxWindowID",0},
1d99702e 12502 { "_unsigned_long","_long",0},
cdf14688 12503 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
b1462dfa 12504 { "_signed_int","_wxCoord",0},
1d99702e
RD
12505 { "_signed_int","_wxPrintQuality",0},
12506 { "_signed_int","_EBool",0},
12507 { "_signed_int","_wxWindowID",0},
12508 { "_signed_int","_int",0},
1d99702e
RD
12509 { "_WXTYPE","_short",0},
12510 { "_WXTYPE","_signed_short",0},
12511 { "_WXTYPE","_unsigned_short",0},
1d99702e
RD
12512 { "_unsigned_short","_WXTYPE",0},
12513 { "_unsigned_short","_short",0},
9416aa89 12514 { "_wxObject","_wxMenuItem",SwigwxMenuItemTowxObject},
9416aa89 12515 { "_wxObject","_wxMenuBar",SwigwxMenuBarTowxObject},
9416aa89 12516 { "_wxObject","_wxMenu",SwigwxMenuTowxObject},
9416aa89 12517 { "_wxObject","_wxScrolledWindow",SwigwxScrolledWindowTowxObject},
9416aa89 12518 { "_wxObject","_wxPanel",SwigwxPanelTowxObject},
9416aa89 12519 { "_wxObject","_wxWindow",SwigwxWindowTowxObject},
9416aa89 12520 { "_wxObject","_wxPyValidator",SwigwxPyValidatorTowxObject},
9416aa89 12521 { "_wxObject","_wxValidator",SwigwxValidatorTowxObject},
9416aa89 12522 { "_wxObject","_wxEvtHandler",SwigwxEvtHandlerTowxObject},
1d99702e
RD
12523 { "_signed_short","_WXTYPE",0},
12524 { "_signed_short","_short",0},
1d99702e 12525 { "_unsigned_char","_byte",0},
b1462dfa 12526 { "_unsigned_int","_wxCoord",0},
1d99702e 12527 { "_unsigned_int","_wxPrintQuality",0},
c368d904 12528 { "_unsigned_int","_time_t",0},
1d99702e
RD
12529 { "_unsigned_int","_size_t",0},
12530 { "_unsigned_int","_uint",0},
12531 { "_unsigned_int","_wxWindowID",0},
12532 { "_unsigned_int","_int",0},
1d99702e
RD
12533 { "_short","_WXTYPE",0},
12534 { "_short","_unsigned_short",0},
12535 { "_short","_signed_short",0},
b1462dfa 12536 { "_wxWindowID","_wxCoord",0},
1d99702e 12537 { "_wxWindowID","_wxPrintQuality",0},
c368d904 12538 { "_wxWindowID","_time_t",0},
1d99702e
RD
12539 { "_wxWindowID","_size_t",0},
12540 { "_wxWindowID","_EBool",0},
12541 { "_wxWindowID","_uint",0},
12542 { "_wxWindowID","_int",0},
12543 { "_wxWindowID","_signed_int",0},
12544 { "_wxWindowID","_unsigned_int",0},
b1462dfa 12545 { "_int","_wxCoord",0},
1d99702e 12546 { "_int","_wxPrintQuality",0},
c368d904 12547 { "_int","_time_t",0},
1d99702e
RD
12548 { "_int","_size_t",0},
12549 { "_int","_EBool",0},
12550 { "_int","_uint",0},
12551 { "_int","_wxWindowID",0},
12552 { "_int","_unsigned_int",0},
12553 { "_int","_signed_int",0},
c368d904
RD
12554 { "_time_t","_wxCoord",0},
12555 { "_time_t","_wxPrintQuality",0},
12556 { "_time_t","_unsigned_int",0},
12557 { "_time_t","_int",0},
12558 { "_time_t","_wxWindowID",0},
12559 { "_time_t","_uint",0},
12560 { "_time_t","_size_t",0},
2f90df85 12561 { "_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator},
b1462dfa
RD
12562 { "_wxCoord","_int",0},
12563 { "_wxCoord","_signed_int",0},
12564 { "_wxCoord","_unsigned_int",0},
12565 { "_wxCoord","_wxWindowID",0},
12566 { "_wxCoord","_uint",0},
12567 { "_wxCoord","_EBool",0},
12568 { "_wxCoord","_size_t",0},
c368d904 12569 { "_wxCoord","_time_t",0},
b1462dfa 12570 { "_wxCoord","_wxPrintQuality",0},
1d99702e 12571 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler},
1d99702e 12572 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler},
1d99702e 12573 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler},
1d99702e 12574 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler},
1d99702e 12575 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler},
2f90df85 12576 { "_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler},
2f90df85 12577 { "_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler},
b1462dfa 12578 { "_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow},
1d99702e 12579 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow},
1d99702e 12580 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow},
1d99702e
RD
12581{0,0,0}};
12582
8ab979d7
RD
12583static PyObject *SWIG_globals;
12584#ifdef __cplusplus
12585extern "C"
12586#endif
1d99702e 12587SWIGEXPORT(void) initwindowsc() {
8ab979d7
RD
12588 PyObject *m, *d;
12589 SWIG_globals = SWIG_newvarlink();
12590 m = Py_InitModule("windowsc", windowscMethods);
12591 d = PyModule_GetDict(m);
1d99702e
RD
12592{
12593 int i;
12594 for (i = 0; _swig_mapping[i].n1; i++)
12595 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
12596}
8ab979d7 12597}