]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/windows.cpp
Font updates
[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
22#include <string.h>
23#include <stdlib.h>
24/* Definitions for Windows/Unix exporting */
25#if defined(__WIN32__)
26# if defined(_MSC_VER)
1d99702e 27# define SWIGEXPORT(a) __declspec(dllexport) a
8ab979d7
RD
28# else
29# if defined(__BORLANDC__)
c368d904 30# define SWIGEXPORT(a) a _export
8ab979d7 31# else
c368d904 32# define SWIGEXPORT(a) a
8ab979d7
RD
33# endif
34# endif
35#else
c368d904 36# define SWIGEXPORT(a) a
8ab979d7
RD
37#endif
38
c368d904
RD
39#include "Python.h"
40
8ab979d7
RD
41#ifdef __cplusplus
42extern "C" {
43#endif
dbbb98cd 44
8ab979d7
RD
45extern void SWIG_MakePtr(char *, void *, char *);
46extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47extern char *SWIG_GetPtr(char *, void **, char *);
1d99702e 48extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
8ab979d7
RD
49extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
50extern PyObject *SWIG_newvarlink(void);
51#ifdef __cplusplus
52}
53#endif
8ab979d7
RD
54#define SWIG_init initwindowsc
55
56#define SWIG_name "windowsc"
57
58#include "helpers.h"
8ab979d7 59#include <wx/menuitem.h>
9416aa89 60#include <wx/tooltip.h>
8ab979d7 61
8ab979d7
RD
62
63static PyObject* t_output_helper(PyObject* target, PyObject* o) {
64 PyObject* o2;
65 PyObject* o3;
66
f3d9dc1d 67 if (!target) {
8ab979d7 68 target = o;
f3d9dc1d 69 } else if (target == Py_None) {
8ab979d7
RD
70 Py_DECREF(Py_None);
71 target = o;
f3d9dc1d 72 } else {
8ab979d7
RD
73 if (!PyTuple_Check(target)) {
74 o2 = target;
75 target = PyTuple_New(1);
76 PyTuple_SetItem(target, 0, o2);
77 }
f3d9dc1d
RD
78 o3 = PyTuple_New(1);
79 PyTuple_SetItem(o3, 0, o);
8ab979d7
RD
80
81 o2 = target;
f3d9dc1d
RD
82 target = PySequence_Concat(o2, o3);
83 Py_DECREF(o2);
8ab979d7
RD
84 Py_DECREF(o3);
85 }
86 return target;
87}
88
137b5242
RD
89 // Put some wx default wxChar* values into wxStrings.
90 DECLARE_DEF_STRING(PanelNameStr);
91 static const wxString wxPyEmptyString(wxT(""));
92
2f90df85
RD
93class wxPyValidator : public wxValidator {
94 DECLARE_DYNAMIC_CLASS(wxPyValidator);
95public:
96 wxPyValidator() {
97 }
2f90df85
RD
98
99 ~wxPyValidator() {
100 }
101
19a97bd6 102 wxObject* Clone() const {
694759cf
RD
103 wxPyValidator* ptr = NULL;
104 wxPyValidator* self = (wxPyValidator*)this;
2f90df85 105
4268f798 106 wxPyBeginBlockThreads();
694759cf
RD
107 if (self->m_myInst.findCallback("Clone")) {
108 PyObject* ro;
109 ro = self->m_myInst.callCallbackObj(Py_BuildValue("()"));
f6bcfd97
BP
110 if (ro) {
111 SWIG_GetPtrObj(ro, (void **)&ptr, "_wxPyValidator_p");
112 Py_DECREF(ro);
113 }
694759cf 114 }
4268f798 115 wxPyEndBlockThreads();
19a97bd6 116
694759cf
RD
117 // This is very dangerous!!! But is the only way I could find
118 // to squash a memory leak. Currently it is okay, but if the
119 // validator architecture in wxWindows ever changes, problems
120 // could arise.
121 delete self;
694759cf
RD
122 return ptr;
123 }
2f90df85 124
9416aa89 125
2f90df85
RD
126 DEC_PYCALLBACK_BOOL_WXWIN(Validate);
127 DEC_PYCALLBACK_BOOL_(TransferToWindow);
128 DEC_PYCALLBACK_BOOL_(TransferFromWindow);
129
130 PYPRIVATE;
2f90df85
RD
131};
132
133IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator, wxValidator, Validate);
134IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferToWindow);
135IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferFromWindow);
136
137IMPLEMENT_DYNAMIC_CLASS(wxPyValidator, wxValidator);
8ab979d7 138
8ab979d7 139
2f90df85
RD
140wxWindow* wxWindow_FromHWND(unsigned long hWnd) {
141 wxWindow* win = new wxWindow;
142 win->SetHWND(hWnd);
143 win->SubclassWin(hWnd);
144 return win;
145}
e67409dc
RD
146
147wxWindow* wxFindWindowById( long id, const wxWindow *parent = NULL ) {
148 return wxWindow::FindWindowById(id, parent);
149}
150
151wxWindow* wxFindWindowByName( const wxString& name,
152 const wxWindow *parent = NULL ) {
153 return wxWindow::FindWindowByName(name, parent);
154}
155
156wxWindow* wxFindWindowByLabel( const wxString& label,
157 const wxWindow *parent = NULL ) {
158 return wxWindow::FindWindowByLabel(label, parent);
159}
2f90df85
RD
160#ifdef __cplusplus
161extern "C" {
162#endif
2f90df85
RD
163static PyObject *_wrap_wxWindow_FromHWND(PyObject *self, PyObject *args, PyObject *kwargs) {
164 PyObject * _resultobj;
165 wxWindow * _result;
166 unsigned long _arg0;
167 char *_kwnames[] = { "hWnd", NULL };
2f90df85
RD
168
169 self = self;
170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"l:wxWindow_FromHWND",_kwnames,&_arg0))
171 return NULL;
172{
4268f798 173 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 174 _result = (wxWindow *)wxWindow_FromHWND(_arg0);
2f90df85 175
4268f798 176 wxPyEndAllowThreads(__tstate);
493f1553 177 if (PyErr_Occurred()) return NULL;
9416aa89 178}{ _resultobj = wxPyMake_wxObject(_result); }
2f90df85
RD
179 return _resultobj;
180}
181
e67409dc
RD
182static PyObject *_wrap_wxFindWindowById(PyObject *self, PyObject *args, PyObject *kwargs) {
183 PyObject * _resultobj;
184 wxWindow * _result;
185 long _arg0;
186 wxWindow * _arg1 = (wxWindow *) NULL;
187 PyObject * _argo1 = 0;
188 char *_kwnames[] = { "id","parent", NULL };
189
190 self = self;
191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"l|O:wxFindWindowById",_kwnames,&_arg0,&_argo1))
192 return NULL;
193 if (_argo1) {
194 if (_argo1 == Py_None) { _arg1 = NULL; }
195 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
196 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFindWindowById. Expected _wxWindow_p.");
197 return NULL;
198 }
199 }
200{
201 PyThreadState* __tstate = wxPyBeginAllowThreads();
202 _result = (wxWindow *)wxFindWindowById(_arg0,_arg1);
203
204 wxPyEndAllowThreads(__tstate);
205 if (PyErr_Occurred()) return NULL;
206}{ _resultobj = wxPyMake_wxObject(_result); }
207 return _resultobj;
208}
209
210static PyObject *_wrap_wxFindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
211 PyObject * _resultobj;
212 wxWindow * _result;
213 wxString * _arg0;
214 wxWindow * _arg1 = (wxWindow *) NULL;
215 PyObject * _obj0 = 0;
216 PyObject * _argo1 = 0;
217 char *_kwnames[] = { "name","parent", NULL };
218
219 self = self;
220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxFindWindowByName",_kwnames,&_obj0,&_argo1))
221 return NULL;
222{
223 _arg0 = wxString_in_helper(_obj0);
224 if (_arg0 == NULL)
225 return NULL;
226}
227 if (_argo1) {
228 if (_argo1 == Py_None) { _arg1 = NULL; }
229 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
230 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
231 return NULL;
232 }
233 }
234{
235 PyThreadState* __tstate = wxPyBeginAllowThreads();
236 _result = (wxWindow *)wxFindWindowByName(*_arg0,_arg1);
237
238 wxPyEndAllowThreads(__tstate);
239 if (PyErr_Occurred()) return NULL;
240}{ _resultobj = wxPyMake_wxObject(_result); }
241{
242 if (_obj0)
243 delete _arg0;
244}
245 return _resultobj;
246}
247
248static PyObject *_wrap_wxFindWindowByLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
249 PyObject * _resultobj;
250 wxWindow * _result;
251 wxString * _arg0;
252 wxWindow * _arg1 = (wxWindow *) NULL;
253 PyObject * _obj0 = 0;
254 PyObject * _argo1 = 0;
255 char *_kwnames[] = { "label","parent", NULL };
256
257 self = self;
258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxFindWindowByLabel",_kwnames,&_obj0,&_argo1))
259 return NULL;
260{
261 _arg0 = wxString_in_helper(_obj0);
262 if (_arg0 == NULL)
263 return NULL;
264}
265 if (_argo1) {
266 if (_argo1 == Py_None) { _arg1 = NULL; }
267 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
268 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
269 return NULL;
270 }
271 }
272{
273 PyThreadState* __tstate = wxPyBeginAllowThreads();
274 _result = (wxWindow *)wxFindWindowByLabel(*_arg0,_arg1);
275
276 wxPyEndAllowThreads(__tstate);
277 if (PyErr_Occurred()) return NULL;
278}{ _resultobj = wxPyMake_wxObject(_result); }
279{
280 if (_obj0)
281 delete _arg0;
282}
283 return _resultobj;
284}
285
9416aa89
RD
286static void *SwigwxEvtHandlerTowxObject(void *ptr) {
287 wxEvtHandler *src;
288 wxObject *dest;
289 src = (wxEvtHandler *) ptr;
290 dest = (wxObject *) src;
291 return (void *) dest;
292}
293
c368d904
RD
294#define new_wxEvtHandler() (new wxEvtHandler())
295static PyObject *_wrap_new_wxEvtHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
296 PyObject * _resultobj;
297 wxEvtHandler * _result;
298 char *_kwnames[] = { NULL };
299 char _ptemp[128];
300
301 self = self;
302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxEvtHandler",_kwnames))
303 return NULL;
304{
4268f798 305 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 306 _result = (wxEvtHandler *)new_wxEvtHandler();
c368d904 307
4268f798 308 wxPyEndAllowThreads(__tstate);
493f1553 309 if (PyErr_Occurred()) return NULL;
c368d904
RD
310} if (_result) {
311 SWIG_MakePtr(_ptemp, (char *) _result,"_wxEvtHandler_p");
312 _resultobj = Py_BuildValue("s",_ptemp);
313 } else {
314 Py_INCREF(Py_None);
315 _resultobj = Py_None;
316 }
317 return _resultobj;
318}
319
2f90df85
RD
320#define wxEvtHandler_ProcessEvent(_swigobj,_swigarg0) (_swigobj->ProcessEvent(_swigarg0))
321static PyObject *_wrap_wxEvtHandler_ProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
322 PyObject * _resultobj;
323 bool _result;
324 wxEvtHandler * _arg0;
325 wxEvent * _arg1;
326 PyObject * _argo0 = 0;
327 PyObject * _argo1 = 0;
328 char *_kwnames[] = { "self","event", NULL };
329
330 self = self;
331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEvtHandler_ProcessEvent",_kwnames,&_argo0,&_argo1))
332 return NULL;
333 if (_argo0) {
334 if (_argo0 == Py_None) { _arg0 = NULL; }
335 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
336 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_ProcessEvent. Expected _wxEvtHandler_p.");
337 return NULL;
338 }
339 }
340 if (_argo1) {
341 if (_argo1 == Py_None) { _arg1 = NULL; }
342 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvent_p")) {
343 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxEvtHandler_ProcessEvent. Expected _wxEvent_p.");
344 return NULL;
345 }
346 }
347{
4268f798 348 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 349 _result = (bool )wxEvtHandler_ProcessEvent(_arg0,*_arg1);
2f90df85 350
4268f798 351 wxPyEndAllowThreads(__tstate);
493f1553 352 if (PyErr_Occurred()) return NULL;
2f90df85
RD
353} _resultobj = Py_BuildValue("i",_result);
354 return _resultobj;
355}
356
f6bcfd97
BP
357#define wxEvtHandler_AddPendingEvent(_swigobj,_swigarg0) (_swigobj->AddPendingEvent(_swigarg0))
358static PyObject *_wrap_wxEvtHandler_AddPendingEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
359 PyObject * _resultobj;
360 wxEvtHandler * _arg0;
361 wxEvent * _arg1;
362 PyObject * _argo0 = 0;
363 PyObject * _argo1 = 0;
364 char *_kwnames[] = { "self","event", NULL };
365
366 self = self;
367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEvtHandler_AddPendingEvent",_kwnames,&_argo0,&_argo1))
368 return NULL;
369 if (_argo0) {
370 if (_argo0 == Py_None) { _arg0 = NULL; }
371 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
372 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_AddPendingEvent. Expected _wxEvtHandler_p.");
373 return NULL;
374 }
375 }
376 if (_argo1) {
377 if (_argo1 == Py_None) { _arg1 = NULL; }
378 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvent_p")) {
379 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxEvtHandler_AddPendingEvent. Expected _wxEvent_p.");
380 return NULL;
381 }
382 }
383{
4268f798 384 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 385 wxEvtHandler_AddPendingEvent(_arg0,*_arg1);
f6bcfd97 386
4268f798 387 wxPyEndAllowThreads(__tstate);
493f1553 388 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
389} Py_INCREF(Py_None);
390 _resultobj = Py_None;
391 return _resultobj;
392}
393
2f90df85
RD
394#define wxEvtHandler_GetEvtHandlerEnabled(_swigobj) (_swigobj->GetEvtHandlerEnabled())
395static PyObject *_wrap_wxEvtHandler_GetEvtHandlerEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
396 PyObject * _resultobj;
397 bool _result;
398 wxEvtHandler * _arg0;
399 PyObject * _argo0 = 0;
400 char *_kwnames[] = { "self", NULL };
401
402 self = self;
403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvtHandler_GetEvtHandlerEnabled",_kwnames,&_argo0))
404 return NULL;
405 if (_argo0) {
406 if (_argo0 == Py_None) { _arg0 = NULL; }
407 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
408 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_GetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
409 return NULL;
410 }
411 }
412{
4268f798 413 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 414 _result = (bool )wxEvtHandler_GetEvtHandlerEnabled(_arg0);
2f90df85 415
4268f798 416 wxPyEndAllowThreads(__tstate);
493f1553 417 if (PyErr_Occurred()) return NULL;
2f90df85
RD
418} _resultobj = Py_BuildValue("i",_result);
419 return _resultobj;
420}
421
422#define wxEvtHandler_SetEvtHandlerEnabled(_swigobj,_swigarg0) (_swigobj->SetEvtHandlerEnabled(_swigarg0))
423static PyObject *_wrap_wxEvtHandler_SetEvtHandlerEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
424 PyObject * _resultobj;
425 wxEvtHandler * _arg0;
426 bool _arg1;
427 PyObject * _argo0 = 0;
428 int tempbool1;
429 char *_kwnames[] = { "self","enabled", NULL };
430
431 self = self;
432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxEvtHandler_SetEvtHandlerEnabled",_kwnames,&_argo0,&tempbool1))
433 return NULL;
434 if (_argo0) {
435 if (_argo0 == Py_None) { _arg0 = NULL; }
436 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
437 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_SetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
438 return NULL;
439 }
440 }
441 _arg1 = (bool ) tempbool1;
442{
4268f798 443 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 444 wxEvtHandler_SetEvtHandlerEnabled(_arg0,_arg1);
2f90df85 445
4268f798 446 wxPyEndAllowThreads(__tstate);
493f1553 447 if (PyErr_Occurred()) return NULL;
2f90df85
RD
448} Py_INCREF(Py_None);
449 _resultobj = Py_None;
450 return _resultobj;
451}
452
453#define wxEvtHandler_GetNextHandler(_swigobj) (_swigobj->GetNextHandler())
454static PyObject *_wrap_wxEvtHandler_GetNextHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
455 PyObject * _resultobj;
456 wxEvtHandler * _result;
457 wxEvtHandler * _arg0;
458 PyObject * _argo0 = 0;
459 char *_kwnames[] = { "self", NULL };
2f90df85
RD
460
461 self = self;
462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvtHandler_GetNextHandler",_kwnames,&_argo0))
463 return NULL;
464 if (_argo0) {
465 if (_argo0 == Py_None) { _arg0 = NULL; }
466 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
467 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_GetNextHandler. Expected _wxEvtHandler_p.");
468 return NULL;
469 }
470 }
471{
4268f798 472 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 473 _result = (wxEvtHandler *)wxEvtHandler_GetNextHandler(_arg0);
2f90df85 474
4268f798 475 wxPyEndAllowThreads(__tstate);
493f1553 476 if (PyErr_Occurred()) return NULL;
9416aa89 477}{ _resultobj = wxPyMake_wxObject(_result); }
2f90df85
RD
478 return _resultobj;
479}
480
481#define wxEvtHandler_GetPreviousHandler(_swigobj) (_swigobj->GetPreviousHandler())
482static PyObject *_wrap_wxEvtHandler_GetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
483 PyObject * _resultobj;
484 wxEvtHandler * _result;
485 wxEvtHandler * _arg0;
486 PyObject * _argo0 = 0;
487 char *_kwnames[] = { "self", NULL };
2f90df85
RD
488
489 self = self;
490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvtHandler_GetPreviousHandler",_kwnames,&_argo0))
491 return NULL;
492 if (_argo0) {
493 if (_argo0 == Py_None) { _arg0 = NULL; }
494 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
495 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_GetPreviousHandler. Expected _wxEvtHandler_p.");
496 return NULL;
497 }
498 }
499{
4268f798 500 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 501 _result = (wxEvtHandler *)wxEvtHandler_GetPreviousHandler(_arg0);
2f90df85 502
4268f798 503 wxPyEndAllowThreads(__tstate);
493f1553 504 if (PyErr_Occurred()) return NULL;
9416aa89 505}{ _resultobj = wxPyMake_wxObject(_result); }
2f90df85
RD
506 return _resultobj;
507}
508
509#define wxEvtHandler_SetNextHandler(_swigobj,_swigarg0) (_swigobj->SetNextHandler(_swigarg0))
510static PyObject *_wrap_wxEvtHandler_SetNextHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
511 PyObject * _resultobj;
512 wxEvtHandler * _arg0;
513 wxEvtHandler * _arg1;
514 PyObject * _argo0 = 0;
515 PyObject * _argo1 = 0;
516 char *_kwnames[] = { "self","handler", NULL };
517
518 self = self;
519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEvtHandler_SetNextHandler",_kwnames,&_argo0,&_argo1))
520 return NULL;
521 if (_argo0) {
522 if (_argo0 == Py_None) { _arg0 = NULL; }
523 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
524 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
525 return NULL;
526 }
527 }
528 if (_argo1) {
529 if (_argo1 == Py_None) { _arg1 = NULL; }
530 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
531 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
532 return NULL;
533 }
534 }
535{
4268f798 536 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 537 wxEvtHandler_SetNextHandler(_arg0,_arg1);
2f90df85 538
4268f798 539 wxPyEndAllowThreads(__tstate);
493f1553 540 if (PyErr_Occurred()) return NULL;
2f90df85
RD
541} Py_INCREF(Py_None);
542 _resultobj = Py_None;
543 return _resultobj;
544}
545
546#define wxEvtHandler_SetPreviousHandler(_swigobj,_swigarg0) (_swigobj->SetPreviousHandler(_swigarg0))
547static PyObject *_wrap_wxEvtHandler_SetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
548 PyObject * _resultobj;
549 wxEvtHandler * _arg0;
550 wxEvtHandler * _arg1;
551 PyObject * _argo0 = 0;
552 PyObject * _argo1 = 0;
553 char *_kwnames[] = { "self","handler", NULL };
554
555 self = self;
556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEvtHandler_SetPreviousHandler",_kwnames,&_argo0,&_argo1))
557 return NULL;
558 if (_argo0) {
559 if (_argo0 == Py_None) { _arg0 = NULL; }
560 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
561 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
562 return NULL;
563 }
564 }
565 if (_argo1) {
566 if (_argo1 == Py_None) { _arg1 = NULL; }
567 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
568 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
569 return NULL;
570 }
571 }
572{
4268f798 573 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 574 wxEvtHandler_SetPreviousHandler(_arg0,_arg1);
2f90df85 575
4268f798 576 wxPyEndAllowThreads(__tstate);
493f1553 577 if (PyErr_Occurred()) return NULL;
2f90df85
RD
578} Py_INCREF(Py_None);
579 _resultobj = Py_None;
580 return _resultobj;
581}
582
583static void wxEvtHandler_Connect(wxEvtHandler *self,int id,int lastId,int eventType,PyObject * func) {
584 if (PyCallable_Check(func)) {
585 self->Connect(id, lastId, eventType,
586 (wxObjectEventFunction) &wxPyCallback::EventThunker,
587 new wxPyCallback(func));
588 }
25b00b4e
RD
589 else if (func == Py_None) {
590 self->Disconnect(id, lastId, eventType,
591 (wxObjectEventFunction)
592 &wxPyCallback::EventThunker);
593 }
594 else {
595 PyErr_SetString(PyExc_TypeError, "Expected callable object or None.");
596 }
2f90df85
RD
597 }
598static PyObject *_wrap_wxEvtHandler_Connect(PyObject *self, PyObject *args, PyObject *kwargs) {
599 PyObject * _resultobj;
600 wxEvtHandler * _arg0;
601 int _arg1;
602 int _arg2;
603 int _arg3;
604 PyObject * _arg4;
605 PyObject * _argo0 = 0;
606 PyObject * _obj4 = 0;
607 char *_kwnames[] = { "self","id","lastId","eventType","func", NULL };
608
609 self = self;
610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiiO:wxEvtHandler_Connect",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_obj4))
611 return NULL;
612 if (_argo0) {
613 if (_argo0 == Py_None) { _arg0 = NULL; }
614 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
615 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
616 return NULL;
617 }
618 }
619{
620 _arg4 = _obj4;
621}
622{
4268f798 623 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 624 wxEvtHandler_Connect(_arg0,_arg1,_arg2,_arg3,_arg4);
2f90df85 625
4268f798 626 wxPyEndAllowThreads(__tstate);
493f1553 627 if (PyErr_Occurred()) return NULL;
2f90df85
RD
628} Py_INCREF(Py_None);
629 _resultobj = Py_None;
630 return _resultobj;
631}
632
6999b0d8
RD
633static bool wxEvtHandler_Disconnect(wxEvtHandler *self,int id,int lastId,wxEventType eventType) {
634 return self->Disconnect(id, lastId, eventType,
635 (wxObjectEventFunction)
636 &wxPyCallback::EventThunker);
637 }
638static PyObject *_wrap_wxEvtHandler_Disconnect(PyObject *self, PyObject *args, PyObject *kwargs) {
639 PyObject * _resultobj;
640 bool _result;
641 wxEvtHandler * _arg0;
642 int _arg1;
643 int _arg2 = (int ) -1;
644 wxEventType _arg3 = (wxEventType ) wxEVT_NULL;
645 PyObject * _argo0 = 0;
646 char *_kwnames[] = { "self","id","lastId","eventType", NULL };
647
648 self = self;
649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ii:wxEvtHandler_Disconnect",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
650 return NULL;
651 if (_argo0) {
652 if (_argo0 == Py_None) { _arg0 = NULL; }
653 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
654 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_Disconnect. Expected _wxEvtHandler_p.");
655 return NULL;
656 }
657 }
658{
4268f798 659 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 660 _result = (bool )wxEvtHandler_Disconnect(_arg0,_arg1,_arg2,_arg3);
6999b0d8 661
4268f798 662 wxPyEndAllowThreads(__tstate);
493f1553 663 if (PyErr_Occurred()) return NULL;
6999b0d8
RD
664} _resultobj = Py_BuildValue("i",_result);
665 return _resultobj;
666}
667
0122b7e3 668static void wxEvtHandler__setOORInfo(wxEvtHandler *self,PyObject * _self) {
4acff284 669 self->SetClientObject(new wxPyOORClientData(_self));
0122b7e3
RD
670 }
671static PyObject *_wrap_wxEvtHandler__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
672 PyObject * _resultobj;
673 wxEvtHandler * _arg0;
674 PyObject * _arg1;
675 PyObject * _argo0 = 0;
676 PyObject * _obj1 = 0;
677 char *_kwnames[] = { "self","_self", NULL };
678
679 self = self;
680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEvtHandler__setOORInfo",_kwnames,&_argo0,&_obj1))
681 return NULL;
682 if (_argo0) {
683 if (_argo0 == Py_None) { _arg0 = NULL; }
684 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
685 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler__setOORInfo. Expected _wxEvtHandler_p.");
686 return NULL;
687 }
688 }
689{
690 _arg1 = _obj1;
691}
692{
4268f798 693 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 694 wxEvtHandler__setOORInfo(_arg0,_arg1);
0122b7e3 695
4268f798 696 wxPyEndAllowThreads(__tstate);
0122b7e3
RD
697 if (PyErr_Occurred()) return NULL;
698} Py_INCREF(Py_None);
699 _resultobj = Py_None;
700 return _resultobj;
701}
702
2f90df85
RD
703static void *SwigwxValidatorTowxEvtHandler(void *ptr) {
704 wxValidator *src;
705 wxEvtHandler *dest;
706 src = (wxValidator *) ptr;
707 dest = (wxEvtHandler *) src;
708 return (void *) dest;
709}
710
9416aa89
RD
711static void *SwigwxValidatorTowxObject(void *ptr) {
712 wxValidator *src;
713 wxObject *dest;
714 src = (wxValidator *) ptr;
715 dest = (wxObject *) src;
716 return (void *) dest;
717}
718
2f90df85
RD
719#define new_wxValidator() (new wxValidator())
720static PyObject *_wrap_new_wxValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
721 PyObject * _resultobj;
722 wxValidator * _result;
723 char *_kwnames[] = { NULL };
724 char _ptemp[128];
725
726 self = self;
727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxValidator",_kwnames))
728 return NULL;
729{
4268f798 730 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 731 _result = (wxValidator *)new_wxValidator();
2f90df85 732
4268f798 733 wxPyEndAllowThreads(__tstate);
493f1553 734 if (PyErr_Occurred()) return NULL;
2f90df85
RD
735} if (_result) {
736 SWIG_MakePtr(_ptemp, (char *) _result,"_wxValidator_p");
737 _resultobj = Py_BuildValue("s",_ptemp);
738 } else {
739 Py_INCREF(Py_None);
740 _resultobj = Py_None;
741 }
742 return _resultobj;
af309447 743}
2f90df85
RD
744
745#define wxValidator_Clone(_swigobj) (_swigobj->Clone())
746static PyObject *_wrap_wxValidator_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 747 PyObject * _resultobj;
2f90df85
RD
748 wxValidator * _result;
749 wxValidator * _arg0;
750 PyObject * _argo0 = 0;
751 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
752
753 self = self;
2f90df85
RD
754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxValidator_Clone",_kwnames,&_argo0))
755 return NULL;
756 if (_argo0) {
757 if (_argo0 == Py_None) { _arg0 = NULL; }
758 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxValidator_p")) {
759 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxValidator_Clone. Expected _wxValidator_p.");
8ab979d7 760 return NULL;
2f90df85
RD
761 }
762 }
cf694132 763{
4268f798 764 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 765 _result = (wxValidator *)wxValidator_Clone(_arg0);
cf694132 766
4268f798 767 wxPyEndAllowThreads(__tstate);
493f1553 768 if (PyErr_Occurred()) return NULL;
9416aa89 769}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
770 return _resultobj;
771}
772
2f90df85
RD
773#define wxValidator_GetWindow(_swigobj) (_swigobj->GetWindow())
774static PyObject *_wrap_wxValidator_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
775 PyObject * _resultobj;
776 wxWindow * _result;
2f90df85
RD
777 wxValidator * _arg0;
778 PyObject * _argo0 = 0;
779 char *_kwnames[] = { "self", NULL };
af309447
RD
780
781 self = self;
2f90df85
RD
782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxValidator_GetWindow",_kwnames,&_argo0))
783 return NULL;
784 if (_argo0) {
785 if (_argo0 == Py_None) { _arg0 = NULL; }
786 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxValidator_p")) {
787 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxValidator_GetWindow. Expected _wxValidator_p.");
af309447 788 return NULL;
2f90df85
RD
789 }
790 }
cf694132 791{
4268f798 792 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 793 _result = (wxWindow *)wxValidator_GetWindow(_arg0);
cf694132 794
4268f798 795 wxPyEndAllowThreads(__tstate);
493f1553 796 if (PyErr_Occurred()) return NULL;
9416aa89 797}{ _resultobj = wxPyMake_wxObject(_result); }
af309447
RD
798 return _resultobj;
799}
800
2f90df85
RD
801#define wxValidator_SetWindow(_swigobj,_swigarg0) (_swigobj->SetWindow(_swigarg0))
802static PyObject *_wrap_wxValidator_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 803 PyObject * _resultobj;
2f90df85
RD
804 wxValidator * _arg0;
805 wxWindow * _arg1;
1d99702e
RD
806 PyObject * _argo0 = 0;
807 PyObject * _argo1 = 0;
2f90df85 808 char *_kwnames[] = { "self","window", NULL };
cf694132
RD
809
810 self = self;
2f90df85 811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxValidator_SetWindow",_kwnames,&_argo0,&_argo1))
cf694132 812 return NULL;
1d99702e
RD
813 if (_argo0) {
814 if (_argo0 == Py_None) { _arg0 = NULL; }
2f90df85
RD
815 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxValidator_p")) {
816 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxValidator_SetWindow. Expected _wxValidator_p.");
cf694132
RD
817 return NULL;
818 }
819 }
1d99702e
RD
820 if (_argo1) {
821 if (_argo1 == Py_None) { _arg1 = NULL; }
2f90df85
RD
822 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
823 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxValidator_SetWindow. Expected _wxWindow_p.");
cf694132
RD
824 return NULL;
825 }
826 }
827{
4268f798 828 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 829 wxValidator_SetWindow(_arg0,_arg1);
cf694132 830
4268f798 831 wxPyEndAllowThreads(__tstate);
493f1553 832 if (PyErr_Occurred()) return NULL;
2f90df85
RD
833} Py_INCREF(Py_None);
834 _resultobj = Py_None;
cf694132
RD
835 return _resultobj;
836}
837
9416aa89
RD
838static PyObject *_wrap_wxValidator_IsSilent(PyObject *self, PyObject *args, PyObject *kwargs) {
839 PyObject * _resultobj;
840 bool _result;
841 char *_kwnames[] = { NULL };
842
843 self = self;
844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxValidator_IsSilent",_kwnames))
845 return NULL;
846{
4268f798 847 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 848 _result = (bool )wxValidator::IsSilent();
9416aa89 849
4268f798 850 wxPyEndAllowThreads(__tstate);
493f1553 851 if (PyErr_Occurred()) return NULL;
9416aa89
RD
852} _resultobj = Py_BuildValue("i",_result);
853 return _resultobj;
854}
855
856static PyObject *_wrap_wxValidator_SetBellOnError(PyObject *self, PyObject *args, PyObject *kwargs) {
857 PyObject * _resultobj;
858 int _arg0 = (int ) TRUE;
859 char *_kwnames[] = { "doIt", NULL };
860
861 self = self;
862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:wxValidator_SetBellOnError",_kwnames,&_arg0))
863 return NULL;
864{
4268f798 865 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 866 wxValidator::SetBellOnError(_arg0);
9416aa89 867
4268f798 868 wxPyEndAllowThreads(__tstate);
493f1553 869 if (PyErr_Occurred()) return NULL;
9416aa89
RD
870} Py_INCREF(Py_None);
871 _resultobj = Py_None;
872 return _resultobj;
873}
874
2f90df85
RD
875static void *SwigwxPyValidatorTowxValidator(void *ptr) {
876 wxPyValidator *src;
877 wxValidator *dest;
878 src = (wxPyValidator *) ptr;
879 dest = (wxValidator *) src;
880 return (void *) dest;
881}
882
883static void *SwigwxPyValidatorTowxEvtHandler(void *ptr) {
884 wxPyValidator *src;
885 wxEvtHandler *dest;
886 src = (wxPyValidator *) ptr;
887 dest = (wxEvtHandler *) src;
888 return (void *) dest;
889}
890
9416aa89
RD
891static void *SwigwxPyValidatorTowxObject(void *ptr) {
892 wxPyValidator *src;
893 wxObject *dest;
894 src = (wxPyValidator *) ptr;
895 dest = (wxObject *) src;
896 return (void *) dest;
897}
898
2f90df85
RD
899#define new_wxPyValidator() (new wxPyValidator())
900static PyObject *_wrap_new_wxPyValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
901 PyObject * _resultobj;
902 wxPyValidator * _result;
903 char *_kwnames[] = { NULL };
904 char _ptemp[128];
905
906 self = self;
907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyValidator",_kwnames))
908 return NULL;
909{
4268f798 910 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 911 _result = (wxPyValidator *)new_wxPyValidator();
2f90df85 912
4268f798 913 wxPyEndAllowThreads(__tstate);
493f1553 914 if (PyErr_Occurred()) return NULL;
2f90df85
RD
915} if (_result) {
916 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyValidator_p");
917 _resultobj = Py_BuildValue("s",_ptemp);
918 } else {
919 Py_INCREF(Py_None);
920 _resultobj = Py_None;
921 }
922 return _resultobj;
923}
924
0122b7e3
RD
925#define wxPyValidator__setCallbackInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1,_swigarg2))
926static PyObject *_wrap_wxPyValidator__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 927 PyObject * _resultobj;
2f90df85
RD
928 wxPyValidator * _arg0;
929 PyObject * _arg1;
f6bcfd97
BP
930 PyObject * _arg2;
931 int _arg3 = (int ) TRUE;
1d99702e 932 PyObject * _argo0 = 0;
2f90df85 933 PyObject * _obj1 = 0;
f6bcfd97
BP
934 PyObject * _obj2 = 0;
935 char *_kwnames[] = { "self","self","_class","incref", NULL };
8ab979d7
RD
936
937 self = self;
0122b7e3 938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|i:wxPyValidator__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2,&_arg3))
8ab979d7 939 return NULL;
1d99702e
RD
940 if (_argo0) {
941 if (_argo0 == Py_None) { _arg0 = NULL; }
2f90df85 942 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyValidator_p")) {
0122b7e3 943 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyValidator__setCallbackInfo. Expected _wxPyValidator_p.");
8ab979d7
RD
944 return NULL;
945 }
946 }
947{
2f90df85 948 _arg1 = _obj1;
8ab979d7 949}
f6bcfd97
BP
950{
951 _arg2 = _obj2;
952}
cf694132 953{
4268f798 954 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 955 wxPyValidator__setCallbackInfo(_arg0,_arg1,_arg2,_arg3);
cf694132 956
4268f798 957 wxPyEndAllowThreads(__tstate);
493f1553 958 if (PyErr_Occurred()) return NULL;
cf694132 959} Py_INCREF(Py_None);
8ab979d7
RD
960 _resultobj = Py_None;
961 return _resultobj;
962}
963
964static void *SwigwxWindowTowxEvtHandler(void *ptr) {
965 wxWindow *src;
966 wxEvtHandler *dest;
967 src = (wxWindow *) ptr;
968 dest = (wxEvtHandler *) src;
969 return (void *) dest;
970}
971
9416aa89
RD
972static void *SwigwxWindowTowxObject(void *ptr) {
973 wxWindow *src;
974 wxObject *dest;
975 src = (wxWindow *) ptr;
976 dest = (wxObject *) src;
977 return (void *) dest;
978}
979
8ab979d7 980#define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
efc5f224 981static PyObject *_wrap_new_wxWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
982 PyObject * _resultobj;
983 wxWindow * _result;
984 wxWindow * _arg0;
985 wxWindowID _arg1;
e508a2b6
RD
986 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
987 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
1d99702e 988 long _arg4 = (long ) 0;
137b5242 989 wxString * _arg5 = (wxString *) &wxPyPanelNameStr;
1d99702e 990 PyObject * _argo0 = 0;
2f90df85
RD
991 wxPoint temp;
992 PyObject * _obj2 = 0;
993 wxSize temp0;
994 PyObject * _obj3 = 0;
137b5242 995 PyObject * _obj5 = 0;
efc5f224 996 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
8ab979d7
RD
997 char _ptemp[128];
998
999 self = self;
137b5242 1000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
8ab979d7 1001 return NULL;
1d99702e
RD
1002 if (_argo0) {
1003 if (_argo0 == Py_None) { _arg0 = NULL; }
1004 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1005 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
1006 return NULL;
1007 }
1008 }
2f90df85
RD
1009 if (_obj2)
1010{
1011 _arg2 = &temp;
1012 if (! wxPoint_helper(_obj2, &_arg2))
8ab979d7 1013 return NULL;
2f90df85
RD
1014}
1015 if (_obj3)
1016{
1017 _arg3 = &temp0;
1018 if (! wxSize_helper(_obj3, &_arg3))
8ab979d7 1019 return NULL;
137b5242
RD
1020}
1021 if (_obj5)
1022{
1023 _arg5 = wxString_in_helper(_obj5);
1024 if (_arg5 == NULL)
1025 return NULL;
2f90df85 1026}
cf694132 1027{
4268f798 1028 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 1029 _result = (wxWindow *)new_wxWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
cf694132 1030
4268f798 1031 wxPyEndAllowThreads(__tstate);
493f1553 1032 if (PyErr_Occurred()) return NULL;
1d99702e
RD
1033} if (_result) {
1034 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
1035 _resultobj = Py_BuildValue("s",_ptemp);
1036 } else {
1037 Py_INCREF(Py_None);
1038 _resultobj = Py_None;
1039 }
137b5242
RD
1040{
1041 if (_obj5)
1042 delete _arg5;
1043}
8ab979d7
RD
1044 return _resultobj;
1045}
1046
09f3d4e6
RD
1047#define new_wxPreWindow() (new wxWindow())
1048static PyObject *_wrap_new_wxPreWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1049 PyObject * _resultobj;
1050 wxWindow * _result;
1051 char *_kwnames[] = { NULL };
1052 char _ptemp[128];
1053
1054 self = self;
1055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreWindow",_kwnames))
1056 return NULL;
1057{
4268f798 1058 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1059 _result = (wxWindow *)new_wxPreWindow();
09f3d4e6 1060
4268f798 1061 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
1062 if (PyErr_Occurred()) return NULL;
1063} if (_result) {
1064 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
1065 _resultobj = Py_BuildValue("s",_ptemp);
1066 } else {
1067 Py_INCREF(Py_None);
1068 _resultobj = Py_None;
1069 }
1070 return _resultobj;
1071}
1072
1073#define wxWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1074static PyObject *_wrap_wxWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1075 PyObject * _resultobj;
1076 bool _result;
1077 wxWindow * _arg0;
1078 wxWindow * _arg1;
1079 wxWindowID _arg2;
1080 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
1081 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1082 long _arg5 = (long ) 0;
137b5242 1083 wxString * _arg6 = (wxString *) &wxPyPanelNameStr;
09f3d4e6
RD
1084 PyObject * _argo0 = 0;
1085 PyObject * _argo1 = 0;
1086 wxPoint temp;
1087 PyObject * _obj3 = 0;
1088 wxSize temp0;
1089 PyObject * _obj4 = 0;
137b5242 1090 PyObject * _obj6 = 0;
09f3d4e6
RD
1091 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
1092
1093 self = self;
137b5242 1094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOlO:wxWindow_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
09f3d4e6
RD
1095 return NULL;
1096 if (_argo0) {
1097 if (_argo0 == Py_None) { _arg0 = NULL; }
1098 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1099 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Create. Expected _wxWindow_p.");
1100 return NULL;
1101 }
1102 }
1103 if (_argo1) {
1104 if (_argo1 == Py_None) { _arg1 = NULL; }
1105 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1106 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_Create. Expected _wxWindow_p.");
1107 return NULL;
1108 }
1109 }
1110 if (_obj3)
1111{
1112 _arg3 = &temp;
1113 if (! wxPoint_helper(_obj3, &_arg3))
1114 return NULL;
1115}
1116 if (_obj4)
1117{
1118 _arg4 = &temp0;
1119 if (! wxSize_helper(_obj4, &_arg4))
1120 return NULL;
137b5242
RD
1121}
1122 if (_obj6)
1123{
1124 _arg6 = wxString_in_helper(_obj6);
1125 if (_arg6 == NULL)
1126 return NULL;
09f3d4e6
RD
1127}
1128{
4268f798 1129 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 1130 _result = (bool )wxWindow_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
09f3d4e6 1131
4268f798 1132 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
1133 if (PyErr_Occurred()) return NULL;
1134} _resultobj = Py_BuildValue("i",_result);
137b5242
RD
1135{
1136 if (_obj6)
1137 delete _arg6;
1138}
09f3d4e6
RD
1139 return _resultobj;
1140}
1141
8ab979d7 1142#define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
efc5f224 1143static PyObject *_wrap_wxWindow_Center(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1144 PyObject * _resultobj;
1145 wxWindow * _arg0;
1d99702e
RD
1146 int _arg1 = (int ) wxBOTH;
1147 PyObject * _argo0 = 0;
efc5f224 1148 char *_kwnames[] = { "self","direction", NULL };
8ab979d7
RD
1149
1150 self = self;
efc5f224 1151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_Center",_kwnames,&_argo0,&_arg1))
8ab979d7 1152 return NULL;
1d99702e
RD
1153 if (_argo0) {
1154 if (_argo0 == Py_None) { _arg0 = NULL; }
1155 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1156 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
1157 return NULL;
1158 }
1159 }
cf694132 1160{
4268f798 1161 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1162 wxWindow_Center(_arg0,_arg1);
cf694132 1163
4268f798 1164 wxPyEndAllowThreads(__tstate);
493f1553 1165 if (PyErr_Occurred()) return NULL;
cf694132 1166} Py_INCREF(Py_None);
8ab979d7
RD
1167 _resultobj = Py_None;
1168 return _resultobj;
1169}
1170
1171#define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
efc5f224 1172static PyObject *_wrap_wxWindow_Centre(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1173 PyObject * _resultobj;
1174 wxWindow * _arg0;
1d99702e
RD
1175 int _arg1 = (int ) wxBOTH;
1176 PyObject * _argo0 = 0;
efc5f224 1177 char *_kwnames[] = { "self","direction", NULL };
8ab979d7
RD
1178
1179 self = self;
efc5f224 1180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_Centre",_kwnames,&_argo0,&_arg1))
8ab979d7 1181 return NULL;
1d99702e
RD
1182 if (_argo0) {
1183 if (_argo0 == Py_None) { _arg0 = NULL; }
1184 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1185 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
1186 return NULL;
1187 }
1188 }
cf694132 1189{
4268f798 1190 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1191 wxWindow_Centre(_arg0,_arg1);
cf694132 1192
4268f798 1193 wxPyEndAllowThreads(__tstate);
493f1553 1194 if (PyErr_Occurred()) return NULL;
cf694132 1195} Py_INCREF(Py_None);
8ab979d7
RD
1196 _resultobj = Py_None;
1197 return _resultobj;
1198}
1199
bb0054cd 1200#define wxWindow_CentreOnParent(_swigobj,_swigarg0) (_swigobj->CentreOnParent(_swigarg0))
efc5f224 1201static PyObject *_wrap_wxWindow_CentreOnParent(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
1202 PyObject * _resultobj;
1203 wxWindow * _arg0;
1d99702e
RD
1204 int _arg1 = (int ) wxBOTH;
1205 PyObject * _argo0 = 0;
efc5f224 1206 char *_kwnames[] = { "self","direction", NULL };
bb0054cd
RD
1207
1208 self = self;
efc5f224 1209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_CentreOnParent",_kwnames,&_argo0,&_arg1))
bb0054cd 1210 return NULL;
1d99702e
RD
1211 if (_argo0) {
1212 if (_argo0 == Py_None) { _arg0 = NULL; }
1213 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
bb0054cd
RD
1214 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_CentreOnParent. Expected _wxWindow_p.");
1215 return NULL;
1216 }
1217 }
1218{
4268f798 1219 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1220 wxWindow_CentreOnParent(_arg0,_arg1);
bb0054cd 1221
4268f798 1222 wxPyEndAllowThreads(__tstate);
493f1553 1223 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
1224} Py_INCREF(Py_None);
1225 _resultobj = Py_None;
1226 return _resultobj;
1227}
1228
1229#define wxWindow_CenterOnParent(_swigobj,_swigarg0) (_swigobj->CenterOnParent(_swigarg0))
efc5f224 1230static PyObject *_wrap_wxWindow_CenterOnParent(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
1231 PyObject * _resultobj;
1232 wxWindow * _arg0;
1d99702e
RD
1233 int _arg1 = (int ) wxBOTH;
1234 PyObject * _argo0 = 0;
efc5f224 1235 char *_kwnames[] = { "self","direction", NULL };
bb0054cd
RD
1236
1237 self = self;
efc5f224 1238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_CenterOnParent",_kwnames,&_argo0,&_arg1))
bb0054cd 1239 return NULL;
1d99702e
RD
1240 if (_argo0) {
1241 if (_argo0 == Py_None) { _arg0 = NULL; }
1242 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
bb0054cd
RD
1243 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_CenterOnParent. Expected _wxWindow_p.");
1244 return NULL;
1245 }
1246 }
1247{
4268f798 1248 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1249 wxWindow_CenterOnParent(_arg0,_arg1);
bb0054cd 1250
4268f798 1251 wxPyEndAllowThreads(__tstate);
493f1553 1252 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
1253} Py_INCREF(Py_None);
1254 _resultobj = Py_None;
1255 return _resultobj;
1256}
1257
3ca6a5f0
BP
1258#define wxWindow_CentreOnScreen(_swigobj,_swigarg0) (_swigobj->CentreOnScreen(_swigarg0))
1259static PyObject *_wrap_wxWindow_CentreOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
1260 PyObject * _resultobj;
1261 wxWindow * _arg0;
1262 int _arg1 = (int ) wxBOTH;
1263 PyObject * _argo0 = 0;
1264 char *_kwnames[] = { "self","direction", NULL };
1265
1266 self = self;
1267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_CentreOnScreen",_kwnames,&_argo0,&_arg1))
1268 return NULL;
1269 if (_argo0) {
1270 if (_argo0 == Py_None) { _arg0 = NULL; }
1271 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1272 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_CentreOnScreen. Expected _wxWindow_p.");
1273 return NULL;
1274 }
1275 }
1276{
4268f798 1277 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1278 wxWindow_CentreOnScreen(_arg0,_arg1);
3ca6a5f0 1279
4268f798 1280 wxPyEndAllowThreads(__tstate);
493f1553 1281 if (PyErr_Occurred()) return NULL;
3ca6a5f0
BP
1282} Py_INCREF(Py_None);
1283 _resultobj = Py_None;
1284 return _resultobj;
1285}
1286
1287#define wxWindow_CenterOnScreen(_swigobj,_swigarg0) (_swigobj->CenterOnScreen(_swigarg0))
1288static PyObject *_wrap_wxWindow_CenterOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
1289 PyObject * _resultobj;
1290 wxWindow * _arg0;
1291 int _arg1 = (int ) wxBOTH;
1292 PyObject * _argo0 = 0;
1293 char *_kwnames[] = { "self","direction", NULL };
1294
1295 self = self;
1296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_CenterOnScreen",_kwnames,&_argo0,&_arg1))
1297 return NULL;
1298 if (_argo0) {
1299 if (_argo0 == Py_None) { _arg0 = NULL; }
1300 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1301 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_CenterOnScreen. Expected _wxWindow_p.");
1302 return NULL;
1303 }
1304 }
1305{
4268f798 1306 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1307 wxWindow_CenterOnScreen(_arg0,_arg1);
3ca6a5f0 1308
4268f798 1309 wxPyEndAllowThreads(__tstate);
493f1553 1310 if (PyErr_Occurred()) return NULL;
3ca6a5f0
BP
1311} Py_INCREF(Py_None);
1312 _resultobj = Py_None;
1313 return _resultobj;
1314}
1315
d56cebe7
RD
1316#define wxWindow_Clear(_swigobj) (_swigobj->Clear())
1317static PyObject *_wrap_wxWindow_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
1318 PyObject * _resultobj;
1319 wxWindow * _arg0;
1320 PyObject * _argo0 = 0;
1321 char *_kwnames[] = { "self", NULL };
1322
1323 self = self;
1324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Clear",_kwnames,&_argo0))
1325 return NULL;
1326 if (_argo0) {
1327 if (_argo0 == Py_None) { _arg0 = NULL; }
1328 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1329 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Clear. Expected _wxWindow_p.");
1330 return NULL;
1331 }
1332 }
1333{
4268f798 1334 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1335 wxWindow_Clear(_arg0);
d56cebe7 1336
4268f798 1337 wxPyEndAllowThreads(__tstate);
d56cebe7
RD
1338 if (PyErr_Occurred()) return NULL;
1339} Py_INCREF(Py_None);
1340 _resultobj = Py_None;
1341 return _resultobj;
1342}
1343
af309447 1344#define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
efc5f224 1345static PyObject *_wrap_wxWindow_ClientToScreenXY(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1346 PyObject * _resultobj;
1347 wxWindow * _arg0;
1348 int * _arg1;
1349 int * _arg2;
1d99702e 1350 PyObject * _argo0 = 0;
8ab979d7
RD
1351 int temp;
1352 PyObject * _obj1 = 0;
1353 int temp0;
1354 PyObject * _obj2 = 0;
efc5f224 1355 char *_kwnames[] = { "self","x","y", NULL };
8ab979d7
RD
1356
1357 self = self;
efc5f224 1358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxWindow_ClientToScreenXY",_kwnames,&_argo0,&_obj1,&_obj2))
8ab979d7 1359 return NULL;
1d99702e
RD
1360 if (_argo0) {
1361 if (_argo0 == Py_None) { _arg0 = NULL; }
1362 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
af309447 1363 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
8ab979d7
RD
1364 return NULL;
1365 }
1366 }
1367{
1368 temp = (int) PyInt_AsLong(_obj1);
1369 _arg1 = &temp;
1370}
1371{
1372 temp0 = (int) PyInt_AsLong(_obj2);
1373 _arg2 = &temp0;
1374}
cf694132 1375{
4268f798 1376 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1377 wxWindow_ClientToScreenXY(_arg0,_arg1,_arg2);
cf694132 1378
4268f798 1379 wxPyEndAllowThreads(__tstate);
493f1553 1380 if (PyErr_Occurred()) return NULL;
cf694132 1381} Py_INCREF(Py_None);
8ab979d7
RD
1382 _resultobj = Py_None;
1383{
1384 PyObject *o;
1385 o = PyInt_FromLong((long) (*_arg1));
1386 _resultobj = t_output_helper(_resultobj, o);
1387}
1388{
1389 PyObject *o;
1390 o = PyInt_FromLong((long) (*_arg2));
1391 _resultobj = t_output_helper(_resultobj, o);
1392}
1393 return _resultobj;
1394}
1395
af309447 1396#define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
efc5f224 1397static PyObject *_wrap_wxWindow_ClientToScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
1398 PyObject * _resultobj;
1399 wxPoint * _result;
1400 wxWindow * _arg0;
1401 wxPoint * _arg1;
1d99702e 1402 PyObject * _argo0 = 0;
2f90df85
RD
1403 wxPoint temp;
1404 PyObject * _obj1 = 0;
efc5f224 1405 char *_kwnames[] = { "self","pt", NULL };
af309447
RD
1406 char _ptemp[128];
1407
1408 self = self;
2f90df85 1409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ClientToScreen",_kwnames,&_argo0,&_obj1))
af309447 1410 return NULL;
1d99702e
RD
1411 if (_argo0) {
1412 if (_argo0 == Py_None) { _arg0 = NULL; }
1413 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
af309447
RD
1414 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
1415 return NULL;
1416 }
1417 }
2f90df85
RD
1418{
1419 _arg1 = &temp;
1420 if (! wxPoint_helper(_obj1, &_arg1))
af309447 1421 return NULL;
2f90df85 1422}
cf694132 1423{
4268f798 1424 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1425 _result = new wxPoint (wxWindow_ClientToScreen(_arg0,*_arg1));
cf694132 1426
4268f798 1427 wxPyEndAllowThreads(__tstate);
493f1553 1428 if (PyErr_Occurred()) return NULL;
cf694132 1429} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
af309447
RD
1430 _resultobj = Py_BuildValue("s",_ptemp);
1431 return _resultobj;
1432}
1433
8ab979d7 1434#define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
efc5f224 1435static PyObject *_wrap_wxWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1436 PyObject * _resultobj;
1437 bool _result;
1438 wxWindow * _arg0;
1d99702e
RD
1439 int _arg1 = (int ) FALSE;
1440 PyObject * _argo0 = 0;
efc5f224 1441 char *_kwnames[] = { "self","force", NULL };
8ab979d7
RD
1442
1443 self = self;
efc5f224 1444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_Close",_kwnames,&_argo0,&_arg1))
8ab979d7 1445 return NULL;
1d99702e
RD
1446 if (_argo0) {
1447 if (_argo0 == Py_None) { _arg0 = NULL; }
1448 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1449 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
1450 return NULL;
1451 }
1452 }
cf694132 1453{
4268f798 1454 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1455 _result = (bool )wxWindow_Close(_arg0,_arg1);
cf694132 1456
4268f798 1457 wxPyEndAllowThreads(__tstate);
493f1553 1458 if (PyErr_Occurred()) return NULL;
cf694132 1459} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1460 return _resultobj;
1461}
1462
1463#define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
efc5f224 1464static PyObject *_wrap_wxWindow_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1465 PyObject * _resultobj;
1466 bool _result;
1467 wxWindow * _arg0;
1d99702e 1468 PyObject * _argo0 = 0;
efc5f224 1469 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1470
1471 self = self;
efc5f224 1472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Destroy",_kwnames,&_argo0))
8ab979d7 1473 return NULL;
1d99702e
RD
1474 if (_argo0) {
1475 if (_argo0 == Py_None) { _arg0 = NULL; }
1476 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1477 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
1478 return NULL;
1479 }
1480 }
cf694132 1481{
4268f798 1482 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1483 _result = (bool )wxWindow_Destroy(_arg0);
cf694132 1484
4268f798 1485 wxPyEndAllowThreads(__tstate);
493f1553 1486 if (PyErr_Occurred()) return NULL;
cf694132 1487} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1488 return _resultobj;
1489}
1490
1491#define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
efc5f224 1492static PyObject *_wrap_wxWindow_DestroyChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1493 PyObject * _resultobj;
1494 wxWindow * _arg0;
1d99702e 1495 PyObject * _argo0 = 0;
efc5f224 1496 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1497
1498 self = self;
efc5f224 1499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_DestroyChildren",_kwnames,&_argo0))
8ab979d7 1500 return NULL;
1d99702e
RD
1501 if (_argo0) {
1502 if (_argo0 == Py_None) { _arg0 = NULL; }
1503 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1504 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
1505 return NULL;
1506 }
1507 }
cf694132 1508{
4268f798 1509 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1510 wxWindow_DestroyChildren(_arg0);
cf694132 1511
4268f798 1512 wxPyEndAllowThreads(__tstate);
493f1553 1513 if (PyErr_Occurred()) return NULL;
cf694132 1514} Py_INCREF(Py_None);
8ab979d7
RD
1515 _resultobj = Py_None;
1516 return _resultobj;
1517}
1518
ac346f50
RD
1519#define wxWindow_IsBeingDeleted(_swigobj) (_swigobj->IsBeingDeleted())
1520static PyObject *_wrap_wxWindow_IsBeingDeleted(PyObject *self, PyObject *args, PyObject *kwargs) {
1521 PyObject * _resultobj;
1522 bool _result;
1523 wxWindow * _arg0;
1524 PyObject * _argo0 = 0;
1525 char *_kwnames[] = { "self", NULL };
1526
1527 self = self;
1528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_IsBeingDeleted",_kwnames,&_argo0))
1529 return NULL;
1530 if (_argo0) {
1531 if (_argo0 == Py_None) { _arg0 = NULL; }
1532 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1533 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsBeingDeleted. Expected _wxWindow_p.");
1534 return NULL;
1535 }
1536 }
1537{
4268f798 1538 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1539 _result = (bool )wxWindow_IsBeingDeleted(_arg0);
ac346f50 1540
4268f798 1541 wxPyEndAllowThreads(__tstate);
ac346f50
RD
1542 if (PyErr_Occurred()) return NULL;
1543} _resultobj = Py_BuildValue("i",_result);
1544 return _resultobj;
1545}
1546
8ab979d7 1547#define wxWindow_DragAcceptFiles(_swigobj,_swigarg0) (_swigobj->DragAcceptFiles(_swigarg0))
efc5f224 1548static PyObject *_wrap_wxWindow_DragAcceptFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1549 PyObject * _resultobj;
1550 wxWindow * _arg0;
1551 bool _arg1;
1d99702e 1552 PyObject * _argo0 = 0;
8ab979d7 1553 int tempbool1;
efc5f224 1554 char *_kwnames[] = { "self","accept", NULL };
8ab979d7
RD
1555
1556 self = self;
efc5f224 1557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_DragAcceptFiles",_kwnames,&_argo0,&tempbool1))
8ab979d7 1558 return NULL;
1d99702e
RD
1559 if (_argo0) {
1560 if (_argo0 == Py_None) { _arg0 = NULL; }
1561 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1562 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_DragAcceptFiles. Expected _wxWindow_p.");
1563 return NULL;
1564 }
1565 }
1566 _arg1 = (bool ) tempbool1;
cf694132 1567{
4268f798 1568 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1569 wxWindow_DragAcceptFiles(_arg0,_arg1);
cf694132 1570
4268f798 1571 wxPyEndAllowThreads(__tstate);
493f1553 1572 if (PyErr_Occurred()) return NULL;
cf694132 1573} Py_INCREF(Py_None);
8ab979d7
RD
1574 _resultobj = Py_None;
1575 return _resultobj;
1576}
1577
1578#define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
efc5f224 1579static PyObject *_wrap_wxWindow_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1580 PyObject * _resultobj;
1581 wxWindow * _arg0;
1582 bool _arg1;
1d99702e 1583 PyObject * _argo0 = 0;
8ab979d7 1584 int tempbool1;
efc5f224 1585 char *_kwnames[] = { "self","enable", NULL };
8ab979d7
RD
1586
1587 self = self;
efc5f224 1588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_Enable",_kwnames,&_argo0,&tempbool1))
8ab979d7 1589 return NULL;
1d99702e
RD
1590 if (_argo0) {
1591 if (_argo0 == Py_None) { _arg0 = NULL; }
1592 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1593 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
1594 return NULL;
1595 }
1596 }
1597 _arg1 = (bool ) tempbool1;
cf694132 1598{
4268f798 1599 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1600 wxWindow_Enable(_arg0,_arg1);
cf694132 1601
4268f798 1602 wxPyEndAllowThreads(__tstate);
493f1553 1603 if (PyErr_Occurred()) return NULL;
cf694132 1604} Py_INCREF(Py_None);
8ab979d7
RD
1605 _resultobj = Py_None;
1606 return _resultobj;
1607}
1608
af309447 1609#define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
efc5f224 1610static PyObject *_wrap_wxWindow_FindWindowById(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1611 PyObject * _resultobj;
1612 wxWindow * _result;
1613 wxWindow * _arg0;
1614 long _arg1;
1d99702e 1615 PyObject * _argo0 = 0;
efc5f224 1616 char *_kwnames[] = { "self","id", NULL };
8ab979d7
RD
1617
1618 self = self;
efc5f224 1619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxWindow_FindWindowById",_kwnames,&_argo0,&_arg1))
8ab979d7 1620 return NULL;
1d99702e
RD
1621 if (_argo0) {
1622 if (_argo0 == Py_None) { _arg0 = NULL; }
1623 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
af309447 1624 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
8ab979d7
RD
1625 return NULL;
1626 }
1627 }
cf694132 1628{
4268f798 1629 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1630 _result = (wxWindow *)wxWindow_FindWindowById(_arg0,_arg1);
cf694132 1631
4268f798 1632 wxPyEndAllowThreads(__tstate);
493f1553 1633 if (PyErr_Occurred()) return NULL;
9416aa89 1634}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
1635 return _resultobj;
1636}
1637
1638#define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
efc5f224 1639static PyObject *_wrap_wxWindow_FindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1640 PyObject * _resultobj;
1641 wxWindow * _result;
1642 wxWindow * _arg0;
1643 wxString * _arg1;
1d99702e 1644 PyObject * _argo0 = 0;
8ab979d7 1645 PyObject * _obj1 = 0;
efc5f224 1646 char *_kwnames[] = { "self","name", NULL };
8ab979d7
RD
1647
1648 self = self;
efc5f224 1649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_FindWindowByName",_kwnames,&_argo0,&_obj1))
8ab979d7 1650 return NULL;
1d99702e
RD
1651 if (_argo0) {
1652 if (_argo0 == Py_None) { _arg0 = NULL; }
1653 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1654 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
1655 return NULL;
1656 }
1657 }
1658{
c8bc7bb8
RD
1659 _arg1 = wxString_in_helper(_obj1);
1660 if (_arg1 == NULL)
8ab979d7 1661 return NULL;
8ab979d7 1662}
cf694132 1663{
4268f798 1664 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1665 _result = (wxWindow *)wxWindow_FindWindowByName(_arg0,*_arg1);
cf694132 1666
4268f798 1667 wxPyEndAllowThreads(__tstate);
493f1553 1668 if (PyErr_Occurred()) return NULL;
9416aa89 1669}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
1670{
1671 if (_obj1)
1672 delete _arg1;
1673}
1674 return _resultobj;
1675}
1676
1677#define wxWindow_Fit(_swigobj) (_swigobj->Fit())
efc5f224 1678static PyObject *_wrap_wxWindow_Fit(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1679 PyObject * _resultobj;
1680 wxWindow * _arg0;
1d99702e 1681 PyObject * _argo0 = 0;
efc5f224 1682 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1683
1684 self = self;
efc5f224 1685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Fit",_kwnames,&_argo0))
8ab979d7 1686 return NULL;
1d99702e
RD
1687 if (_argo0) {
1688 if (_argo0 == Py_None) { _arg0 = NULL; }
1689 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1690 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
1691 return NULL;
1692 }
1693 }
cf694132 1694{
4268f798 1695 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1696 wxWindow_Fit(_arg0);
cf694132 1697
4268f798 1698 wxPyEndAllowThreads(__tstate);
493f1553 1699 if (PyErr_Occurred()) return NULL;
cf694132 1700} Py_INCREF(Py_None);
8ab979d7
RD
1701 _resultobj = Py_None;
1702 return _resultobj;
1703}
1704
1705#define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
efc5f224 1706static PyObject *_wrap_wxWindow_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1707 PyObject * _resultobj;
1708 wxColour * _result;
1709 wxWindow * _arg0;
1d99702e 1710 PyObject * _argo0 = 0;
efc5f224 1711 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1712 char _ptemp[128];
1713
1714 self = self;
efc5f224 1715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetBackgroundColour",_kwnames,&_argo0))
8ab979d7 1716 return NULL;
1d99702e
RD
1717 if (_argo0) {
1718 if (_argo0 == Py_None) { _arg0 = NULL; }
1719 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1720 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
1721 return NULL;
1722 }
1723 }
cf694132 1724{
4268f798 1725 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1726 _result = new wxColour (wxWindow_GetBackgroundColour(_arg0));
cf694132 1727
4268f798 1728 wxPyEndAllowThreads(__tstate);
493f1553 1729 if (PyErr_Occurred()) return NULL;
cf694132 1730} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8ab979d7
RD
1731 _resultobj = Py_BuildValue("s",_ptemp);
1732 return _resultobj;
1733}
1734
23bed520
RD
1735#define wxWindow_GetBorder(_swigobj) (_swigobj->GetBorder())
1736static PyObject *_wrap_wxWindow_GetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
1737 PyObject * _resultobj;
1738 wxBorder _result;
1739 wxWindow * _arg0;
1740 PyObject * _argo0 = 0;
1741 char *_kwnames[] = { "self", NULL };
1742
1743 self = self;
1744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetBorder",_kwnames,&_argo0))
1745 return NULL;
1746 if (_argo0) {
1747 if (_argo0 == Py_None) { _arg0 = NULL; }
1748 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1749 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetBorder. Expected _wxWindow_p.");
1750 return NULL;
1751 }
1752 }
1753{
1754 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1755 _result = (wxBorder )wxWindow_GetBorder(_arg0);
23bed520
RD
1756
1757 wxPyEndAllowThreads(__tstate);
1758 if (PyErr_Occurred()) return NULL;
1759} _resultobj = Py_BuildValue("i",_result);
1760 return _resultobj;
1761}
1762
d426c97e
RD
1763static PyObject * wxWindow_GetChildren(wxWindow *self) {
1764 wxWindowList& list = self->GetChildren();
1765 return wxPy_ConvertList(&list, "wxWindow");
1766 }
1767static PyObject *_wrap_wxWindow_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
1768 PyObject * _resultobj;
1769 PyObject * _result;
1770 wxWindow * _arg0;
1771 PyObject * _argo0 = 0;
1772 char *_kwnames[] = { "self", NULL };
1773
1774 self = self;
1775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetChildren",_kwnames,&_argo0))
1776 return NULL;
1777 if (_argo0) {
1778 if (_argo0 == Py_None) { _arg0 = NULL; }
1779 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1780 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetChildren. Expected _wxWindow_p.");
1781 return NULL;
1782 }
1783 }
1784{
4268f798 1785 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1786 _result = (PyObject *)wxWindow_GetChildren(_arg0);
d426c97e 1787
4268f798 1788 wxPyEndAllowThreads(__tstate);
493f1553 1789 if (PyErr_Occurred()) return NULL;
d426c97e
RD
1790}{
1791 _resultobj = _result;
1792}
1793 return _resultobj;
1794}
1795
8ab979d7 1796#define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
efc5f224 1797static PyObject *_wrap_wxWindow_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1798 PyObject * _resultobj;
1799 int _result;
1800 wxWindow * _arg0;
1d99702e 1801 PyObject * _argo0 = 0;
efc5f224 1802 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1803
1804 self = self;
efc5f224 1805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetCharHeight",_kwnames,&_argo0))
8ab979d7 1806 return NULL;
1d99702e
RD
1807 if (_argo0) {
1808 if (_argo0 == Py_None) { _arg0 = NULL; }
1809 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1810 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
1811 return NULL;
1812 }
1813 }
cf694132 1814{
4268f798 1815 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1816 _result = (int )wxWindow_GetCharHeight(_arg0);
cf694132 1817
4268f798 1818 wxPyEndAllowThreads(__tstate);
493f1553 1819 if (PyErr_Occurred()) return NULL;
cf694132 1820} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1821 return _resultobj;
1822}
1823
1824#define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
efc5f224 1825static PyObject *_wrap_wxWindow_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1826 PyObject * _resultobj;
1827 int _result;
1828 wxWindow * _arg0;
1d99702e 1829 PyObject * _argo0 = 0;
efc5f224 1830 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1831
1832 self = self;
efc5f224 1833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetCharWidth",_kwnames,&_argo0))
8ab979d7 1834 return NULL;
1d99702e
RD
1835 if (_argo0) {
1836 if (_argo0 == Py_None) { _arg0 = NULL; }
1837 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1838 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
1839 return NULL;
1840 }
1841 }
cf694132 1842{
4268f798 1843 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1844 _result = (int )wxWindow_GetCharWidth(_arg0);
cf694132 1845
4268f798 1846 wxPyEndAllowThreads(__tstate);
493f1553 1847 if (PyErr_Occurred()) return NULL;
cf694132 1848} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1849 return _resultobj;
1850}
1851
b8b8dda7 1852#define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
efc5f224 1853static PyObject *_wrap_wxWindow_GetClientSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1854 PyObject * _resultobj;
1855 wxWindow * _arg0;
1856 int * _arg1;
1857 int temp;
1858 int * _arg2;
1859 int temp0;
1d99702e 1860 PyObject * _argo0 = 0;
efc5f224 1861 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1862
1863 self = self;
1864{
1865 _arg1 = &temp;
1866}
1867{
1868 _arg2 = &temp0;
1869}
efc5f224 1870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetClientSizeTuple",_kwnames,&_argo0))
8ab979d7 1871 return NULL;
1d99702e
RD
1872 if (_argo0) {
1873 if (_argo0 == Py_None) { _arg0 = NULL; }
1874 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b8b8dda7 1875 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
8ab979d7
RD
1876 return NULL;
1877 }
1878 }
cf694132 1879{
4268f798 1880 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1881 wxWindow_GetClientSizeTuple(_arg0,_arg1,_arg2);
cf694132 1882
4268f798 1883 wxPyEndAllowThreads(__tstate);
493f1553 1884 if (PyErr_Occurred()) return NULL;
cf694132 1885} Py_INCREF(Py_None);
8ab979d7
RD
1886 _resultobj = Py_None;
1887{
1888 PyObject *o;
1889 o = PyInt_FromLong((long) (*_arg1));
1890 _resultobj = t_output_helper(_resultobj, o);
1891}
1892{
1893 PyObject *o;
1894 o = PyInt_FromLong((long) (*_arg2));
1895 _resultobj = t_output_helper(_resultobj, o);
1896}
1897 return _resultobj;
1898}
1899
b8b8dda7 1900#define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
efc5f224 1901static PyObject *_wrap_wxWindow_GetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
1902 PyObject * _resultobj;
1903 wxSize * _result;
1904 wxWindow * _arg0;
1d99702e 1905 PyObject * _argo0 = 0;
efc5f224 1906 char *_kwnames[] = { "self", NULL };
b8b8dda7
RD
1907 char _ptemp[128];
1908
1909 self = self;
efc5f224 1910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetClientSize",_kwnames,&_argo0))
b8b8dda7 1911 return NULL;
1d99702e
RD
1912 if (_argo0) {
1913 if (_argo0 == Py_None) { _arg0 = NULL; }
1914 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b8b8dda7
RD
1915 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
1916 return NULL;
1917 }
1918 }
cf694132 1919{
4268f798 1920 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1921 _result = new wxSize (wxWindow_GetClientSize(_arg0));
cf694132 1922
4268f798 1923 wxPyEndAllowThreads(__tstate);
493f1553 1924 if (PyErr_Occurred()) return NULL;
cf694132 1925} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
b8b8dda7
RD
1926 _resultobj = Py_BuildValue("s",_ptemp);
1927 return _resultobj;
1928}
1929
23bed520
RD
1930#define wxWindow_GetClientAreaOrigin(_swigobj) (_swigobj->GetClientAreaOrigin())
1931static PyObject *_wrap_wxWindow_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
1932 PyObject * _resultobj;
1933 wxPoint * _result;
1934 wxWindow * _arg0;
1935 PyObject * _argo0 = 0;
1936 char *_kwnames[] = { "self", NULL };
1937 char _ptemp[128];
1938
1939 self = self;
1940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetClientAreaOrigin",_kwnames,&_argo0))
1941 return NULL;
1942 if (_argo0) {
1943 if (_argo0 == Py_None) { _arg0 = NULL; }
1944 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1945 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetClientAreaOrigin. Expected _wxWindow_p.");
1946 return NULL;
1947 }
1948 }
1949{
1950 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1951 _result = new wxPoint (wxWindow_GetClientAreaOrigin(_arg0));
23bed520
RD
1952
1953 wxPyEndAllowThreads(__tstate);
1954 if (PyErr_Occurred()) return NULL;
1955} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
1956 _resultobj = Py_BuildValue("s",_ptemp);
1957 return _resultobj;
1958}
1959
1960#define wxWindow_GetClientRect(_swigobj) (_swigobj->GetClientRect())
1961static PyObject *_wrap_wxWindow_GetClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
1962 PyObject * _resultobj;
1963 wxRect * _result;
1964 wxWindow * _arg0;
1965 PyObject * _argo0 = 0;
1966 char *_kwnames[] = { "self", NULL };
1967 char _ptemp[128];
1968
1969 self = self;
1970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetClientRect",_kwnames,&_argo0))
1971 return NULL;
1972 if (_argo0) {
1973 if (_argo0 == Py_None) { _arg0 = NULL; }
1974 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1975 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetClientRect. Expected _wxWindow_p.");
1976 return NULL;
1977 }
1978 }
1979{
1980 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1981 _result = new wxRect (wxWindow_GetClientRect(_arg0));
23bed520
RD
1982
1983 wxPyEndAllowThreads(__tstate);
1984 if (PyErr_Occurred()) return NULL;
1985} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
1986 _resultobj = Py_BuildValue("s",_ptemp);
1987 return _resultobj;
1988}
1989
8ab979d7 1990#define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
efc5f224 1991static PyObject *_wrap_wxWindow_GetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1992 PyObject * _resultobj;
1993 wxLayoutConstraints * _result;
1994 wxWindow * _arg0;
1d99702e 1995 PyObject * _argo0 = 0;
efc5f224 1996 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1997 char _ptemp[128];
1998
1999 self = self;
efc5f224 2000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetConstraints",_kwnames,&_argo0))
8ab979d7 2001 return NULL;
1d99702e
RD
2002 if (_argo0) {
2003 if (_argo0 == Py_None) { _arg0 = NULL; }
2004 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2005 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
2006 return NULL;
2007 }
2008 }
cf694132 2009{
4268f798 2010 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2011 _result = (wxLayoutConstraints *)wxWindow_GetConstraints(_arg0);
cf694132 2012
4268f798 2013 wxPyEndAllowThreads(__tstate);
493f1553 2014 if (PyErr_Occurred()) return NULL;
1d99702e
RD
2015} if (_result) {
2016 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLayoutConstraints_p");
2017 _resultobj = Py_BuildValue("s",_ptemp);
2018 } else {
2019 Py_INCREF(Py_None);
2020 _resultobj = Py_None;
2021 }
8ab979d7
RD
2022 return _resultobj;
2023}
2024
1afc06c2
RD
2025#define wxWindow_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
2026static PyObject *_wrap_wxWindow_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
2027 PyObject * _resultobj;
2028 wxEvtHandler * _result;
2029 wxWindow * _arg0;
2030 PyObject * _argo0 = 0;
2031 char *_kwnames[] = { "self", NULL };
1afc06c2
RD
2032
2033 self = self;
2034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetEventHandler",_kwnames,&_argo0))
2035 return NULL;
2036 if (_argo0) {
2037 if (_argo0 == Py_None) { _arg0 = NULL; }
2038 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2039 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetEventHandler. Expected _wxWindow_p.");
2040 return NULL;
2041 }
2042 }
2043{
4268f798 2044 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2045 _result = (wxEvtHandler *)wxWindow_GetEventHandler(_arg0);
1afc06c2 2046
4268f798 2047 wxPyEndAllowThreads(__tstate);
493f1553 2048 if (PyErr_Occurred()) return NULL;
9416aa89 2049}{ _resultobj = wxPyMake_wxObject(_result); }
1afc06c2
RD
2050 return _resultobj;
2051}
2052
8ab979d7 2053#define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
efc5f224 2054static PyObject *_wrap_wxWindow_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2055 PyObject * _resultobj;
2056 wxFont * _result;
2057 wxWindow * _arg0;
1d99702e 2058 PyObject * _argo0 = 0;
efc5f224 2059 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2060 char _ptemp[128];
2061
2062 self = self;
efc5f224 2063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetFont",_kwnames,&_argo0))
8ab979d7 2064 return NULL;
1d99702e
RD
2065 if (_argo0) {
2066 if (_argo0 == Py_None) { _arg0 = NULL; }
2067 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2068 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
2069 return NULL;
2070 }
2071 }
cf694132 2072{
4268f798 2073 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2074 _result = new wxFont (wxWindow_GetFont(_arg0));
cf694132 2075
4268f798 2076 wxPyEndAllowThreads(__tstate);
493f1553 2077 if (PyErr_Occurred()) return NULL;
c5943253
RD
2078} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
2079 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
2080 return _resultobj;
2081}
2082
2083#define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
efc5f224 2084static PyObject *_wrap_wxWindow_GetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2085 PyObject * _resultobj;
2086 wxColour * _result;
2087 wxWindow * _arg0;
1d99702e 2088 PyObject * _argo0 = 0;
efc5f224 2089 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2090 char _ptemp[128];
2091
2092 self = self;
efc5f224 2093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetForegroundColour",_kwnames,&_argo0))
8ab979d7 2094 return NULL;
1d99702e
RD
2095 if (_argo0) {
2096 if (_argo0 == Py_None) { _arg0 = NULL; }
2097 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2098 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
2099 return NULL;
2100 }
2101 }
cf694132 2102{
4268f798 2103 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2104 _result = new wxColour (wxWindow_GetForegroundColour(_arg0));
cf694132 2105
4268f798 2106 wxPyEndAllowThreads(__tstate);
493f1553 2107 if (PyErr_Occurred()) return NULL;
cf694132 2108} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8ab979d7
RD
2109 _resultobj = Py_BuildValue("s",_ptemp);
2110 return _resultobj;
2111}
2112
2113#define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
efc5f224 2114static PyObject *_wrap_wxWindow_GetGrandParent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2115 PyObject * _resultobj;
2116 wxWindow * _result;
2117 wxWindow * _arg0;
1d99702e 2118 PyObject * _argo0 = 0;
efc5f224 2119 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2120
2121 self = self;
efc5f224 2122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetGrandParent",_kwnames,&_argo0))
8ab979d7 2123 return NULL;
1d99702e
RD
2124 if (_argo0) {
2125 if (_argo0 == Py_None) { _arg0 = NULL; }
2126 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2127 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
2128 return NULL;
2129 }
2130 }
cf694132 2131{
4268f798 2132 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2133 _result = (wxWindow *)wxWindow_GetGrandParent(_arg0);
cf694132 2134
4268f798 2135 wxPyEndAllowThreads(__tstate);
493f1553 2136 if (PyErr_Occurred()) return NULL;
9416aa89 2137}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
2138 return _resultobj;
2139}
2140
2abc0a0f 2141static long wxWindow_GetHandle(wxWindow *self) {
1b55cabf 2142 return wxPyGetWinHandle(self); //(long)self->GetHandle();
2abc0a0f
RD
2143 }
2144static PyObject *_wrap_wxWindow_GetHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
2145 PyObject * _resultobj;
2146 long _result;
2147 wxWindow * _arg0;
2148 PyObject * _argo0 = 0;
2149 char *_kwnames[] = { "self", NULL };
2150
2151 self = self;
2152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetHandle",_kwnames,&_argo0))
2153 return NULL;
2154 if (_argo0) {
2155 if (_argo0 == Py_None) { _arg0 = NULL; }
2156 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2157 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetHandle. Expected _wxWindow_p.");
2158 return NULL;
2159 }
2160 }
2161{
4268f798 2162 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2163 _result = (long )wxWindow_GetHandle(_arg0);
2abc0a0f 2164
4268f798 2165 wxPyEndAllowThreads(__tstate);
493f1553 2166 if (PyErr_Occurred()) return NULL;
2abc0a0f
RD
2167} _resultobj = Py_BuildValue("l",_result);
2168 return _resultobj;
2169}
2170
8ab979d7 2171#define wxWindow_GetId(_swigobj) (_swigobj->GetId())
efc5f224 2172static PyObject *_wrap_wxWindow_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2173 PyObject * _resultobj;
2174 int _result;
2175 wxWindow * _arg0;
1d99702e 2176 PyObject * _argo0 = 0;
efc5f224 2177 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2178
2179 self = self;
efc5f224 2180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetId",_kwnames,&_argo0))
8ab979d7 2181 return NULL;
1d99702e
RD
2182 if (_argo0) {
2183 if (_argo0 == Py_None) { _arg0 = NULL; }
2184 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2185 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
2186 return NULL;
2187 }
2188 }
cf694132 2189{
4268f798 2190 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2191 _result = (int )wxWindow_GetId(_arg0);
cf694132 2192
4268f798 2193 wxPyEndAllowThreads(__tstate);
493f1553 2194 if (PyErr_Occurred()) return NULL;
cf694132 2195} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2196 return _resultobj;
2197}
2198
8ab979d7 2199#define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
efc5f224 2200static PyObject *_wrap_wxWindow_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2201 PyObject * _resultobj;
2202 wxString * _result;
2203 wxWindow * _arg0;
1d99702e 2204 PyObject * _argo0 = 0;
efc5f224 2205 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2206
2207 self = self;
efc5f224 2208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetLabel",_kwnames,&_argo0))
8ab979d7 2209 return NULL;
1d99702e
RD
2210 if (_argo0) {
2211 if (_argo0 == Py_None) { _arg0 = NULL; }
2212 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2213 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
2214 return NULL;
2215 }
2216 }
8ab979d7 2217{
4268f798 2218 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2219 _result = new wxString (wxWindow_GetLabel(_arg0));
cf694132 2220
4268f798 2221 wxPyEndAllowThreads(__tstate);
493f1553 2222 if (PyErr_Occurred()) return NULL;
cf694132 2223}{
c8bc7bb8
RD
2224#if wxUSE_UNICODE
2225 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
2226#else
eec92d76 2227 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 2228#endif
8ab979d7
RD
2229}
2230{
2231 delete _result;
2232}
2233 return _resultobj;
2234}
2235
bb0054cd 2236#define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
efc5f224 2237static PyObject *_wrap_wxWindow_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
2238 PyObject * _resultobj;
2239 wxWindow * _arg0;
2240 wxString * _arg1;
1d99702e 2241 PyObject * _argo0 = 0;
bb0054cd 2242 PyObject * _obj1 = 0;
efc5f224 2243 char *_kwnames[] = { "self","label", NULL };
bb0054cd
RD
2244
2245 self = self;
efc5f224 2246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetLabel",_kwnames,&_argo0,&_obj1))
bb0054cd 2247 return NULL;
1d99702e
RD
2248 if (_argo0) {
2249 if (_argo0 == Py_None) { _arg0 = NULL; }
2250 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
bb0054cd
RD
2251 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
2252 return NULL;
2253 }
2254 }
2255{
c8bc7bb8
RD
2256 _arg1 = wxString_in_helper(_obj1);
2257 if (_arg1 == NULL)
bb0054cd 2258 return NULL;
bb0054cd
RD
2259}
2260{
4268f798 2261 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2262 wxWindow_SetLabel(_arg0,*_arg1);
bb0054cd 2263
4268f798 2264 wxPyEndAllowThreads(__tstate);
493f1553 2265 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
2266} Py_INCREF(Py_None);
2267 _resultobj = Py_None;
2268{
2269 if (_obj1)
2270 delete _arg1;
2271}
2272 return _resultobj;
2273}
2274
8ab979d7 2275#define wxWindow_GetName(_swigobj) (_swigobj->GetName())
efc5f224 2276static PyObject *_wrap_wxWindow_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2277 PyObject * _resultobj;
2278 wxString * _result;
2279 wxWindow * _arg0;
1d99702e 2280 PyObject * _argo0 = 0;
efc5f224 2281 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2282
2283 self = self;
efc5f224 2284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetName",_kwnames,&_argo0))
8ab979d7 2285 return NULL;
1d99702e
RD
2286 if (_argo0) {
2287 if (_argo0 == Py_None) { _arg0 = NULL; }
2288 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2289 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
2290 return NULL;
2291 }
2292 }
8ab979d7 2293{
4268f798 2294 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2295 _result = new wxString (wxWindow_GetName(_arg0));
cf694132 2296
4268f798 2297 wxPyEndAllowThreads(__tstate);
493f1553 2298 if (PyErr_Occurred()) return NULL;
cf694132 2299}{
c8bc7bb8
RD
2300#if wxUSE_UNICODE
2301 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
2302#else
eec92d76 2303 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 2304#endif
8ab979d7
RD
2305}
2306{
2307 delete _result;
2308}
2309 return _resultobj;
2310}
2311
2312#define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
efc5f224 2313static PyObject *_wrap_wxWindow_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2314 PyObject * _resultobj;
2315 wxWindow * _result;
2316 wxWindow * _arg0;
1d99702e 2317 PyObject * _argo0 = 0;
efc5f224 2318 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2319
2320 self = self;
efc5f224 2321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetParent",_kwnames,&_argo0))
8ab979d7 2322 return NULL;
1d99702e
RD
2323 if (_argo0) {
2324 if (_argo0 == Py_None) { _arg0 = NULL; }
2325 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2326 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
2327 return NULL;
2328 }
2329 }
cf694132 2330{
4268f798 2331 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2332 _result = (wxWindow *)wxWindow_GetParent(_arg0);
cf694132 2333
4268f798 2334 wxPyEndAllowThreads(__tstate);
493f1553 2335 if (PyErr_Occurred()) return NULL;
9416aa89 2336}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
2337 return _resultobj;
2338}
2339
b8b8dda7 2340#define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
efc5f224 2341static PyObject *_wrap_wxWindow_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
2342 PyObject * _resultobj;
2343 wxWindow * _arg0;
2344 int * _arg1;
2345 int temp;
2346 int * _arg2;
2347 int temp0;
1d99702e 2348 PyObject * _argo0 = 0;
efc5f224 2349 char *_kwnames[] = { "self", NULL };
b8b8dda7
RD
2350
2351 self = self;
2352{
2353 _arg1 = &temp;
2354}
2355{
2356 _arg2 = &temp0;
2357}
efc5f224 2358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetPositionTuple",_kwnames,&_argo0))
b8b8dda7 2359 return NULL;
1d99702e
RD
2360 if (_argo0) {
2361 if (_argo0 == Py_None) { _arg0 = NULL; }
2362 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b8b8dda7
RD
2363 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
2364 return NULL;
2365 }
2366 }
cf694132 2367{
4268f798 2368 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2369 wxWindow_GetPositionTuple(_arg0,_arg1,_arg2);
cf694132 2370
4268f798 2371 wxPyEndAllowThreads(__tstate);
493f1553 2372 if (PyErr_Occurred()) return NULL;
cf694132 2373} Py_INCREF(Py_None);
b8b8dda7
RD
2374 _resultobj = Py_None;
2375{
2376 PyObject *o;
2377 o = PyInt_FromLong((long) (*_arg1));
2378 _resultobj = t_output_helper(_resultobj, o);
2379}
2380{
2381 PyObject *o;
2382 o = PyInt_FromLong((long) (*_arg2));
2383 _resultobj = t_output_helper(_resultobj, o);
2384}
2385 return _resultobj;
2386}
2387
2388#define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
efc5f224 2389static PyObject *_wrap_wxWindow_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
2390 PyObject * _resultobj;
2391 wxPoint * _result;
2392 wxWindow * _arg0;
1d99702e 2393 PyObject * _argo0 = 0;
efc5f224 2394 char *_kwnames[] = { "self", NULL };
b8b8dda7
RD
2395 char _ptemp[128];
2396
2397 self = self;
efc5f224 2398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetPosition",_kwnames,&_argo0))
b8b8dda7 2399 return NULL;
1d99702e
RD
2400 if (_argo0) {
2401 if (_argo0 == Py_None) { _arg0 = NULL; }
2402 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b8b8dda7
RD
2403 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
2404 return NULL;
2405 }
2406 }
cf694132 2407{
4268f798 2408 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2409 _result = new wxPoint (wxWindow_GetPosition(_arg0));
cf694132 2410
4268f798 2411 wxPyEndAllowThreads(__tstate);
493f1553 2412 if (PyErr_Occurred()) return NULL;
cf694132 2413} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
b8b8dda7
RD
2414 _resultobj = Py_BuildValue("s",_ptemp);
2415 return _resultobj;
2416}
2417
2418#define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
efc5f224 2419static PyObject *_wrap_wxWindow_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
2420 PyObject * _resultobj;
2421 wxRect * _result;
2422 wxWindow * _arg0;
1d99702e 2423 PyObject * _argo0 = 0;
efc5f224 2424 char *_kwnames[] = { "self", NULL };
b8b8dda7
RD
2425 char _ptemp[128];
2426
2427 self = self;
efc5f224 2428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetRect",_kwnames,&_argo0))
b8b8dda7 2429 return NULL;
1d99702e
RD
2430 if (_argo0) {
2431 if (_argo0 == Py_None) { _arg0 = NULL; }
2432 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b8b8dda7
RD
2433 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
2434 return NULL;
2435 }
2436 }
cf694132 2437{
4268f798 2438 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2439 _result = new wxRect (wxWindow_GetRect(_arg0));
cf694132 2440
4268f798 2441 wxPyEndAllowThreads(__tstate);
493f1553 2442 if (PyErr_Occurred()) return NULL;
cf694132 2443} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
b8b8dda7
RD
2444 _resultobj = Py_BuildValue("s",_ptemp);
2445 return _resultobj;
2446}
2447
8ab979d7 2448#define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
efc5f224 2449static PyObject *_wrap_wxWindow_GetScrollThumb(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2450 PyObject * _resultobj;
2451 int _result;
2452 wxWindow * _arg0;
2453 int _arg1;
1d99702e 2454 PyObject * _argo0 = 0;
efc5f224 2455 char *_kwnames[] = { "self","orientation", NULL };
8ab979d7
RD
2456
2457 self = self;
efc5f224 2458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_GetScrollThumb",_kwnames,&_argo0,&_arg1))
8ab979d7 2459 return NULL;
1d99702e
RD
2460 if (_argo0) {
2461 if (_argo0 == Py_None) { _arg0 = NULL; }
2462 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2463 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
2464 return NULL;
2465 }
2466 }
cf694132 2467{
4268f798 2468 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2469 _result = (int )wxWindow_GetScrollThumb(_arg0,_arg1);
cf694132 2470
4268f798 2471 wxPyEndAllowThreads(__tstate);
493f1553 2472 if (PyErr_Occurred()) return NULL;
cf694132 2473} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2474 return _resultobj;
2475}
2476
2477#define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
efc5f224 2478static PyObject *_wrap_wxWindow_GetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2479 PyObject * _resultobj;
2480 int _result;
2481 wxWindow * _arg0;
2482 int _arg1;
1d99702e 2483 PyObject * _argo0 = 0;
efc5f224 2484 char *_kwnames[] = { "self","orientation", NULL };
8ab979d7
RD
2485
2486 self = self;
efc5f224 2487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_GetScrollPos",_kwnames,&_argo0,&_arg1))
8ab979d7 2488 return NULL;
1d99702e
RD
2489 if (_argo0) {
2490 if (_argo0 == Py_None) { _arg0 = NULL; }
2491 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2492 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
2493 return NULL;
2494 }
2495 }
cf694132 2496{
4268f798 2497 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2498 _result = (int )wxWindow_GetScrollPos(_arg0,_arg1);
cf694132 2499
4268f798 2500 wxPyEndAllowThreads(__tstate);
493f1553 2501 if (PyErr_Occurred()) return NULL;
cf694132 2502} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2503 return _resultobj;
2504}
2505
2506#define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
efc5f224 2507static PyObject *_wrap_wxWindow_GetScrollRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2508 PyObject * _resultobj;
2509 int _result;
2510 wxWindow * _arg0;
2511 int _arg1;
1d99702e 2512 PyObject * _argo0 = 0;
efc5f224 2513 char *_kwnames[] = { "self","orientation", NULL };
8ab979d7
RD
2514
2515 self = self;
efc5f224 2516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_GetScrollRange",_kwnames,&_argo0,&_arg1))
8ab979d7 2517 return NULL;
1d99702e
RD
2518 if (_argo0) {
2519 if (_argo0 == Py_None) { _arg0 = NULL; }
2520 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2521 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
2522 return NULL;
2523 }
2524 }
cf694132 2525{
4268f798 2526 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2527 _result = (int )wxWindow_GetScrollRange(_arg0,_arg1);
cf694132 2528
4268f798 2529 wxPyEndAllowThreads(__tstate);
493f1553 2530 if (PyErr_Occurred()) return NULL;
cf694132 2531} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2532 return _resultobj;
2533}
2534
b8b8dda7 2535#define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
efc5f224 2536static PyObject *_wrap_wxWindow_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2537 PyObject * _resultobj;
2538 wxWindow * _arg0;
2539 int * _arg1;
2540 int temp;
2541 int * _arg2;
2542 int temp0;
1d99702e 2543 PyObject * _argo0 = 0;
efc5f224 2544 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2545
2546 self = self;
2547{
2548 _arg1 = &temp;
2549}
2550{
2551 _arg2 = &temp0;
2552}
efc5f224 2553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetSizeTuple",_kwnames,&_argo0))
8ab979d7 2554 return NULL;
1d99702e
RD
2555 if (_argo0) {
2556 if (_argo0 == Py_None) { _arg0 = NULL; }
2557 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b8b8dda7 2558 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
8ab979d7
RD
2559 return NULL;
2560 }
2561 }
cf694132 2562{
4268f798 2563 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2564 wxWindow_GetSizeTuple(_arg0,_arg1,_arg2);
cf694132 2565
4268f798 2566 wxPyEndAllowThreads(__tstate);
493f1553 2567 if (PyErr_Occurred()) return NULL;
cf694132 2568} Py_INCREF(Py_None);
8ab979d7
RD
2569 _resultobj = Py_None;
2570{
2571 PyObject *o;
2572 o = PyInt_FromLong((long) (*_arg1));
2573 _resultobj = t_output_helper(_resultobj, o);
2574}
2575{
2576 PyObject *o;
2577 o = PyInt_FromLong((long) (*_arg2));
2578 _resultobj = t_output_helper(_resultobj, o);
2579}
2580 return _resultobj;
2581}
2582
b8b8dda7 2583#define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
efc5f224 2584static PyObject *_wrap_wxWindow_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
2585 PyObject * _resultobj;
2586 wxSize * _result;
2587 wxWindow * _arg0;
1d99702e 2588 PyObject * _argo0 = 0;
efc5f224 2589 char *_kwnames[] = { "self", NULL };
b8b8dda7
RD
2590 char _ptemp[128];
2591
2592 self = self;
efc5f224 2593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetSize",_kwnames,&_argo0))
b8b8dda7 2594 return NULL;
1d99702e
RD
2595 if (_argo0) {
2596 if (_argo0 == Py_None) { _arg0 = NULL; }
2597 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b8b8dda7
RD
2598 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
2599 return NULL;
2600 }
2601 }
cf694132 2602{
4268f798 2603 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2604 _result = new wxSize (wxWindow_GetSize(_arg0));
cf694132 2605
4268f798 2606 wxPyEndAllowThreads(__tstate);
493f1553 2607 if (PyErr_Occurred()) return NULL;
cf694132 2608} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
b8b8dda7
RD
2609 _resultobj = Py_BuildValue("s",_ptemp);
2610 return _resultobj;
2611}
2612
8ab979d7 2613#define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
efc5f224 2614static PyObject *_wrap_wxWindow_GetTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2615 PyObject * _resultobj;
2616 wxWindow * _arg0;
2617 wxString * _arg1;
2618 int * _arg2;
2619 int temp;
2620 int * _arg3;
2621 int temp0;
1d99702e 2622 PyObject * _argo0 = 0;
8ab979d7 2623 PyObject * _obj1 = 0;
efc5f224 2624 char *_kwnames[] = { "self","string", NULL };
8ab979d7
RD
2625
2626 self = self;
2627{
2628 _arg2 = &temp;
2629}
2630{
2631 _arg3 = &temp0;
2632}
efc5f224 2633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_GetTextExtent",_kwnames,&_argo0,&_obj1))
8ab979d7 2634 return NULL;
1d99702e
RD
2635 if (_argo0) {
2636 if (_argo0 == Py_None) { _arg0 = NULL; }
2637 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2638 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
2639 return NULL;
2640 }
2641 }
2642{
c8bc7bb8
RD
2643 _arg1 = wxString_in_helper(_obj1);
2644 if (_arg1 == NULL)
8ab979d7 2645 return NULL;
8ab979d7 2646}
cf694132 2647{
4268f798 2648 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2649 wxWindow_GetTextExtent(_arg0,*_arg1,_arg2,_arg3);
cf694132 2650
4268f798 2651 wxPyEndAllowThreads(__tstate);
493f1553 2652 if (PyErr_Occurred()) return NULL;
cf694132 2653} Py_INCREF(Py_None);
8ab979d7
RD
2654 _resultobj = Py_None;
2655{
2656 PyObject *o;
2657 o = PyInt_FromLong((long) (*_arg2));
2658 _resultobj = t_output_helper(_resultobj, o);
2659}
2660{
2661 PyObject *o;
2662 o = PyInt_FromLong((long) (*_arg3));
2663 _resultobj = t_output_helper(_resultobj, o);
2664}
2665{
2666 if (_obj1)
2667 delete _arg1;
2668}
2669 return _resultobj;
2670}
2671
af309447 2672#define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
efc5f224 2673static PyObject *_wrap_wxWindow_GetFullTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
2674 PyObject * _resultobj;
2675 wxWindow * _arg0;
2676 wxString * _arg1;
2677 int * _arg2;
2678 int temp;
2679 int * _arg3;
2680 int temp0;
2681 int * _arg4;
2682 int temp1;
2683 int * _arg5;
2684 int temp2;
1d99702e
RD
2685 wxFont * _arg6 = (wxFont *) NULL;
2686 PyObject * _argo0 = 0;
af309447 2687 PyObject * _obj1 = 0;
1d99702e 2688 PyObject * _argo6 = 0;
efc5f224 2689 char *_kwnames[] = { "self","string","font", NULL };
af309447
RD
2690
2691 self = self;
2692{
2693 _arg2 = &temp;
2694}
2695{
2696 _arg3 = &temp0;
2697}
2698{
2699 _arg4 = &temp1;
2700}
2701{
2702 _arg5 = &temp2;
2703}
efc5f224 2704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxWindow_GetFullTextExtent",_kwnames,&_argo0,&_obj1,&_argo6))
af309447 2705 return NULL;
1d99702e
RD
2706 if (_argo0) {
2707 if (_argo0 == Py_None) { _arg0 = NULL; }
2708 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
af309447
RD
2709 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
2710 return NULL;
2711 }
2712 }
2713{
c8bc7bb8
RD
2714 _arg1 = wxString_in_helper(_obj1);
2715 if (_arg1 == NULL)
af309447 2716 return NULL;
af309447 2717}
1d99702e
RD
2718 if (_argo6) {
2719 if (_argo6 == Py_None) { _arg6 = NULL; }
2720 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxFont_p")) {
af309447
RD
2721 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
2722 return NULL;
2723 }
2724 }
cf694132 2725{
4268f798 2726 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2727 wxWindow_GetFullTextExtent(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
cf694132 2728
4268f798 2729 wxPyEndAllowThreads(__tstate);
493f1553 2730 if (PyErr_Occurred()) return NULL;
cf694132 2731} Py_INCREF(Py_None);
af309447
RD
2732 _resultobj = Py_None;
2733{
2734 PyObject *o;
2735 o = PyInt_FromLong((long) (*_arg2));
2736 _resultobj = t_output_helper(_resultobj, o);
2737}
2738{
2739 PyObject *o;
2740 o = PyInt_FromLong((long) (*_arg3));
2741 _resultobj = t_output_helper(_resultobj, o);
2742}
2743{
2744 PyObject *o;
2745 o = PyInt_FromLong((long) (*_arg4));
2746 _resultobj = t_output_helper(_resultobj, o);
2747}
2748{
2749 PyObject *o;
2750 o = PyInt_FromLong((long) (*_arg5));
2751 _resultobj = t_output_helper(_resultobj, o);
2752}
2753{
2754 if (_obj1)
2755 delete _arg1;
2756}
2757 return _resultobj;
2758}
2759
8ab979d7 2760#define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
efc5f224 2761static PyObject *_wrap_wxWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2762 PyObject * _resultobj;
2763 wxString * _result;
2764 wxWindow * _arg0;
1d99702e 2765 PyObject * _argo0 = 0;
efc5f224 2766 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2767
2768 self = self;
efc5f224 2769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetTitle",_kwnames,&_argo0))
8ab979d7 2770 return NULL;
1d99702e
RD
2771 if (_argo0) {
2772 if (_argo0 == Py_None) { _arg0 = NULL; }
2773 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2774 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
2775 return NULL;
2776 }
2777 }
8ab979d7 2778{
4268f798 2779 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2780 _result = new wxString (wxWindow_GetTitle(_arg0));
cf694132 2781
4268f798 2782 wxPyEndAllowThreads(__tstate);
493f1553 2783 if (PyErr_Occurred()) return NULL;
cf694132 2784}{
c8bc7bb8
RD
2785#if wxUSE_UNICODE
2786 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
2787#else
eec92d76 2788 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 2789#endif
8ab979d7
RD
2790}
2791{
2792 delete _result;
2793}
2794 return _resultobj;
2795}
2796
8bf5d46e 2797#define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
efc5f224 2798static PyObject *_wrap_wxWindow_GetUpdateRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
8bf5d46e
RD
2799 PyObject * _resultobj;
2800 wxRegion * _result;
2801 wxWindow * _arg0;
1d99702e 2802 PyObject * _argo0 = 0;
efc5f224 2803 char *_kwnames[] = { "self", NULL };
8bf5d46e
RD
2804 char _ptemp[128];
2805
2806 self = self;
efc5f224 2807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetUpdateRegion",_kwnames,&_argo0))
8bf5d46e 2808 return NULL;
1d99702e
RD
2809 if (_argo0) {
2810 if (_argo0 == Py_None) { _arg0 = NULL; }
2811 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8bf5d46e
RD
2812 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
2813 return NULL;
2814 }
2815 }
2816{
4268f798 2817 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2818 _result = new wxRegion (wxWindow_GetUpdateRegion(_arg0));
8bf5d46e 2819
4268f798 2820 wxPyEndAllowThreads(__tstate);
493f1553 2821 if (PyErr_Occurred()) return NULL;
8bf5d46e
RD
2822} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRegion_p");
2823 _resultobj = Py_BuildValue("s",_ptemp);
2824 return _resultobj;
2825}
2826
8ab979d7 2827#define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
efc5f224 2828static PyObject *_wrap_wxWindow_GetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2829 PyObject * _resultobj;
2830 long _result;
2831 wxWindow * _arg0;
1d99702e 2832 PyObject * _argo0 = 0;
efc5f224 2833 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2834
2835 self = self;
efc5f224 2836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetWindowStyleFlag",_kwnames,&_argo0))
8ab979d7 2837 return NULL;
1d99702e
RD
2838 if (_argo0) {
2839 if (_argo0 == Py_None) { _arg0 = NULL; }
2840 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2841 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
2842 return NULL;
2843 }
2844 }
cf694132 2845{
4268f798 2846 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2847 _result = (long )wxWindow_GetWindowStyleFlag(_arg0);
cf694132 2848
4268f798 2849 wxPyEndAllowThreads(__tstate);
493f1553 2850 if (PyErr_Occurred()) return NULL;
cf694132 2851} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
2852 return _resultobj;
2853}
2854
f6bcfd97
BP
2855#define wxWindow_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
2856static PyObject *_wrap_wxWindow_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
2857 PyObject * _resultobj;
2858 wxWindow * _arg0;
2859 long _arg1;
2860 PyObject * _argo0 = 0;
2861 char *_kwnames[] = { "self","style", NULL };
2862
2863 self = self;
2864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxWindow_SetWindowStyleFlag",_kwnames,&_argo0,&_arg1))
2865 return NULL;
2866 if (_argo0) {
2867 if (_argo0 == Py_None) { _arg0 = NULL; }
2868 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2869 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetWindowStyleFlag. Expected _wxWindow_p.");
2870 return NULL;
2871 }
2872 }
2873{
4268f798 2874 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2875 wxWindow_SetWindowStyleFlag(_arg0,_arg1);
f6bcfd97 2876
4268f798 2877 wxPyEndAllowThreads(__tstate);
493f1553 2878 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2879} Py_INCREF(Py_None);
2880 _resultobj = Py_None;
2881 return _resultobj;
2882}
2883
2884#define wxWindow_SetWindowStyle(_swigobj,_swigarg0) (_swigobj->SetWindowStyle(_swigarg0))
2885static PyObject *_wrap_wxWindow_SetWindowStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
2886 PyObject * _resultobj;
2887 wxWindow * _arg0;
2888 long _arg1;
2889 PyObject * _argo0 = 0;
2890 char *_kwnames[] = { "self","style", NULL };
2891
2892 self = self;
2893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxWindow_SetWindowStyle",_kwnames,&_argo0,&_arg1))
2894 return NULL;
2895 if (_argo0) {
2896 if (_argo0 == Py_None) { _arg0 = NULL; }
2897 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2898 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetWindowStyle. Expected _wxWindow_p.");
2899 return NULL;
2900 }
2901 }
2902{
4268f798 2903 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2904 wxWindow_SetWindowStyle(_arg0,_arg1);
f6bcfd97 2905
4268f798 2906 wxPyEndAllowThreads(__tstate);
493f1553 2907 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2908} Py_INCREF(Py_None);
2909 _resultobj = Py_None;
2910 return _resultobj;
2911}
2912
23bed520
RD
2913#define wxWindow_HasScrollbar(_swigobj,_swigarg0) (_swigobj->HasScrollbar(_swigarg0))
2914static PyObject *_wrap_wxWindow_HasScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
2915 PyObject * _resultobj;
2916 bool _result;
2917 wxWindow * _arg0;
2918 int _arg1;
2919 PyObject * _argo0 = 0;
2920 char *_kwnames[] = { "self","orient", NULL };
2921
2922 self = self;
2923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_HasScrollbar",_kwnames,&_argo0,&_arg1))
2924 return NULL;
2925 if (_argo0) {
2926 if (_argo0 == Py_None) { _arg0 = NULL; }
2927 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2928 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_HasScrollbar. Expected _wxWindow_p.");
2929 return NULL;
2930 }
2931 }
2932{
2933 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2934 _result = (bool )wxWindow_HasScrollbar(_arg0,_arg1);
23bed520
RD
2935
2936 wxPyEndAllowThreads(__tstate);
2937 if (PyErr_Occurred()) return NULL;
2938} _resultobj = Py_BuildValue("i",_result);
2939 return _resultobj;
2940}
2941
bb0054cd 2942#define wxWindow_Hide(_swigobj) (_swigobj->Hide())
efc5f224 2943static PyObject *_wrap_wxWindow_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
2944 PyObject * _resultobj;
2945 bool _result;
2946 wxWindow * _arg0;
1d99702e 2947 PyObject * _argo0 = 0;
efc5f224 2948 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
2949
2950 self = self;
efc5f224 2951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Hide",_kwnames,&_argo0))
bb0054cd 2952 return NULL;
1d99702e
RD
2953 if (_argo0) {
2954 if (_argo0 == Py_None) { _arg0 = NULL; }
2955 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
bb0054cd
RD
2956 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
2957 return NULL;
2958 }
2959 }
2960{
4268f798 2961 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2962 _result = (bool )wxWindow_Hide(_arg0);
bb0054cd 2963
4268f798 2964 wxPyEndAllowThreads(__tstate);
493f1553 2965 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
2966} _resultobj = Py_BuildValue("i",_result);
2967 return _resultobj;
2968}
2969
23bed520
RD
2970#define wxWindow_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0))
2971static PyObject *_wrap_wxWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
2972 PyObject * _resultobj;
2973 wxHitTest _result;
2974 wxWindow * _arg0;
2975 wxPoint * _arg1;
2976 PyObject * _argo0 = 0;
2977 wxPoint temp;
2978 PyObject * _obj1 = 0;
2979 char *_kwnames[] = { "self","pt", NULL };
2980
2981 self = self;
2982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_HitTest",_kwnames,&_argo0,&_obj1))
2983 return NULL;
2984 if (_argo0) {
2985 if (_argo0 == Py_None) { _arg0 = NULL; }
2986 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2987 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_HitTest. Expected _wxWindow_p.");
2988 return NULL;
2989 }
2990 }
2991{
2992 _arg1 = &temp;
2993 if (! wxPoint_helper(_obj1, &_arg1))
2994 return NULL;
2995}
2996{
2997 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2998 _result = (wxHitTest )wxWindow_HitTest(_arg0,*_arg1);
23bed520
RD
2999
3000 wxPyEndAllowThreads(__tstate);
3001 if (PyErr_Occurred()) return NULL;
3002} _resultobj = Py_BuildValue("i",_result);
3003 return _resultobj;
3004}
3005
8ab979d7 3006#define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
efc5f224 3007static PyObject *_wrap_wxWindow_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3008 PyObject * _resultobj;
3009 wxWindow * _arg0;
1d99702e 3010 PyObject * _argo0 = 0;
efc5f224 3011 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3012
3013 self = self;
efc5f224 3014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_InitDialog",_kwnames,&_argo0))
8ab979d7 3015 return NULL;
1d99702e
RD
3016 if (_argo0) {
3017 if (_argo0 == Py_None) { _arg0 = NULL; }
3018 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3019 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
3020 return NULL;
3021 }
3022 }
cf694132 3023{
4268f798 3024 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3025 wxWindow_InitDialog(_arg0);
cf694132 3026
4268f798 3027 wxPyEndAllowThreads(__tstate);
493f1553 3028 if (PyErr_Occurred()) return NULL;
cf694132 3029} Py_INCREF(Py_None);
8ab979d7
RD
3030 _resultobj = Py_None;
3031 return _resultobj;
3032}
3033
3034#define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
efc5f224 3035static PyObject *_wrap_wxWindow_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3036 PyObject * _resultobj;
3037 bool _result;
3038 wxWindow * _arg0;
1d99702e 3039 PyObject * _argo0 = 0;
efc5f224 3040 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3041
3042 self = self;
efc5f224 3043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_IsEnabled",_kwnames,&_argo0))
8ab979d7 3044 return NULL;
1d99702e
RD
3045 if (_argo0) {
3046 if (_argo0 == Py_None) { _arg0 = NULL; }
3047 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3048 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
3049 return NULL;
3050 }
3051 }
cf694132 3052{
4268f798 3053 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3054 _result = (bool )wxWindow_IsEnabled(_arg0);
cf694132 3055
4268f798 3056 wxPyEndAllowThreads(__tstate);
493f1553 3057 if (PyErr_Occurred()) return NULL;
cf694132 3058} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3059 return _resultobj;
3060}
3061
1b55cabf
RD
3062#define wxWindow_IsExposed(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->IsExposed(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3063static PyObject *_wrap_wxWindow_IsExposed(PyObject *self, PyObject *args, PyObject *kwargs) {
3064 PyObject * _resultobj;
3065 bool _result;
3066 wxWindow * _arg0;
3067 int _arg1;
3068 int _arg2;
3069 int _arg3 = (int ) 0;
3070 int _arg4 = (int ) 0;
3071 PyObject * _argo0 = 0;
3072 char *_kwnames[] = { "self","x","y","w","h", NULL };
3073
3074 self = self;
3075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|ii:wxWindow_IsExposed",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3076 return NULL;
3077 if (_argo0) {
3078 if (_argo0 == Py_None) { _arg0 = NULL; }
3079 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3080 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsExposed. Expected _wxWindow_p.");
3081 return NULL;
3082 }
3083 }
3084{
4268f798 3085 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3086 _result = (bool )wxWindow_IsExposed(_arg0,_arg1,_arg2,_arg3,_arg4);
1b55cabf 3087
4268f798 3088 wxPyEndAllowThreads(__tstate);
493f1553 3089 if (PyErr_Occurred()) return NULL;
1b55cabf
RD
3090} _resultobj = Py_BuildValue("i",_result);
3091 return _resultobj;
3092}
3093
3094#define wxWindow_IsExposedPoint(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
3095static PyObject *_wrap_wxWindow_IsExposedPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3096 PyObject * _resultobj;
3097 bool _result;
3098 wxWindow * _arg0;
3099 wxPoint * _arg1;
3100 PyObject * _argo0 = 0;
3101 wxPoint temp;
3102 PyObject * _obj1 = 0;
3103 char *_kwnames[] = { "self","pt", NULL };
3104
3105 self = self;
3106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_IsExposedPoint",_kwnames,&_argo0,&_obj1))
3107 return NULL;
3108 if (_argo0) {
3109 if (_argo0 == Py_None) { _arg0 = NULL; }
3110 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3111 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsExposedPoint. Expected _wxWindow_p.");
3112 return NULL;
3113 }
3114 }
3115{
3116 _arg1 = &temp;
3117 if (! wxPoint_helper(_obj1, &_arg1))
3118 return NULL;
3119}
3120{
4268f798 3121 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3122 _result = (bool )wxWindow_IsExposedPoint(_arg0,*_arg1);
1b55cabf 3123
4268f798 3124 wxPyEndAllowThreads(__tstate);
493f1553 3125 if (PyErr_Occurred()) return NULL;
1b55cabf
RD
3126} _resultobj = Py_BuildValue("i",_result);
3127 return _resultobj;
3128}
3129
3130#define wxWindow_IsExposedRect(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
3131static PyObject *_wrap_wxWindow_IsExposedRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3132 PyObject * _resultobj;
3133 bool _result;
3134 wxWindow * _arg0;
3135 wxRect * _arg1;
3136 PyObject * _argo0 = 0;
3137 wxRect temp;
3138 PyObject * _obj1 = 0;
3139 char *_kwnames[] = { "self","rect", NULL };
3140
3141 self = self;
3142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_IsExposedRect",_kwnames,&_argo0,&_obj1))
3143 return NULL;
3144 if (_argo0) {
3145 if (_argo0 == Py_None) { _arg0 = NULL; }
3146 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3147 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsExposedRect. Expected _wxWindow_p.");
3148 return NULL;
3149 }
3150 }
3151{
3152 _arg1 = &temp;
3153 if (! wxRect_helper(_obj1, &_arg1))
3154 return NULL;
3155}
3156{
4268f798 3157 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3158 _result = (bool )wxWindow_IsExposedRect(_arg0,*_arg1);
1b55cabf 3159
4268f798 3160 wxPyEndAllowThreads(__tstate);
493f1553 3161 if (PyErr_Occurred()) return NULL;
1b55cabf
RD
3162} _resultobj = Py_BuildValue("i",_result);
3163 return _resultobj;
3164}
3165
8ab979d7 3166#define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
efc5f224 3167static PyObject *_wrap_wxWindow_IsRetained(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3168 PyObject * _resultobj;
3169 bool _result;
3170 wxWindow * _arg0;
1d99702e 3171 PyObject * _argo0 = 0;
efc5f224 3172 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3173
3174 self = self;
efc5f224 3175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_IsRetained",_kwnames,&_argo0))
8ab979d7 3176 return NULL;
1d99702e
RD
3177 if (_argo0) {
3178 if (_argo0 == Py_None) { _arg0 = NULL; }
3179 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3180 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
3181 return NULL;
3182 }
3183 }
cf694132 3184{
4268f798 3185 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3186 _result = (bool )wxWindow_IsRetained(_arg0);
cf694132 3187
4268f798 3188 wxPyEndAllowThreads(__tstate);
493f1553 3189 if (PyErr_Occurred()) return NULL;
cf694132 3190} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3191 return _resultobj;
3192}
3193
3194#define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
efc5f224 3195static PyObject *_wrap_wxWindow_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3196 PyObject * _resultobj;
3197 bool _result;
3198 wxWindow * _arg0;
1d99702e 3199 PyObject * _argo0 = 0;
efc5f224 3200 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3201
3202 self = self;
efc5f224 3203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_IsShown",_kwnames,&_argo0))
8ab979d7 3204 return NULL;
1d99702e
RD
3205 if (_argo0) {
3206 if (_argo0 == Py_None) { _arg0 = NULL; }
3207 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3208 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
3209 return NULL;
3210 }
3211 }
cf694132 3212{
4268f798 3213 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3214 _result = (bool )wxWindow_IsShown(_arg0);
cf694132 3215
4268f798 3216 wxPyEndAllowThreads(__tstate);
493f1553 3217 if (PyErr_Occurred()) return NULL;
cf694132 3218} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3219 return _resultobj;
3220}
3221
bb0054cd 3222#define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
efc5f224 3223static PyObject *_wrap_wxWindow_IsTopLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
3224 PyObject * _resultobj;
3225 bool _result;
3226 wxWindow * _arg0;
1d99702e 3227 PyObject * _argo0 = 0;
efc5f224 3228 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
3229
3230 self = self;
efc5f224 3231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_IsTopLevel",_kwnames,&_argo0))
bb0054cd 3232 return NULL;
1d99702e
RD
3233 if (_argo0) {
3234 if (_argo0 == Py_None) { _arg0 = NULL; }
3235 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
bb0054cd
RD
3236 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
3237 return NULL;
3238 }
3239 }
3240{
4268f798 3241 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3242 _result = (bool )wxWindow_IsTopLevel(_arg0);
bb0054cd 3243
4268f798 3244 wxPyEndAllowThreads(__tstate);
493f1553 3245 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
3246} _resultobj = Py_BuildValue("i",_result);
3247 return _resultobj;
3248}
3249
8ab979d7 3250#define wxWindow_Layout(_swigobj) (_swigobj->Layout())
efc5f224 3251static PyObject *_wrap_wxWindow_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3252 PyObject * _resultobj;
3253 wxWindow * _arg0;
1d99702e 3254 PyObject * _argo0 = 0;
efc5f224 3255 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3256
3257 self = self;
efc5f224 3258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Layout",_kwnames,&_argo0))
8ab979d7 3259 return NULL;
1d99702e
RD
3260 if (_argo0) {
3261 if (_argo0 == Py_None) { _arg0 = NULL; }
3262 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3263 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
3264 return NULL;
3265 }
3266 }
cf694132 3267{
4268f798 3268 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3269 wxWindow_Layout(_arg0);
cf694132 3270
4268f798 3271 wxPyEndAllowThreads(__tstate);
493f1553 3272 if (PyErr_Occurred()) return NULL;
cf694132 3273} Py_INCREF(Py_None);
8ab979d7
RD
3274 _resultobj = Py_None;
3275 return _resultobj;
3276}
3277
3278#define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
efc5f224 3279static PyObject *_wrap_wxWindow_LoadFromResource(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3280 PyObject * _resultobj;
3281 bool _result;
3282 wxWindow * _arg0;
3283 wxWindow * _arg1;
3284 wxString * _arg2;
1d99702e
RD
3285 wxResourceTable * _arg3 = (wxResourceTable *) NULL;
3286 PyObject * _argo0 = 0;
3287 PyObject * _argo1 = 0;
8ab979d7 3288 PyObject * _obj2 = 0;
1d99702e 3289 PyObject * _argo3 = 0;
efc5f224 3290 char *_kwnames[] = { "self","parent","resourceName","resourceTable", NULL };
8ab979d7
RD
3291
3292 self = self;
efc5f224 3293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|O:wxWindow_LoadFromResource",_kwnames,&_argo0,&_argo1,&_obj2,&_argo3))
8ab979d7 3294 return NULL;
1d99702e
RD
3295 if (_argo0) {
3296 if (_argo0 == Py_None) { _arg0 = NULL; }
3297 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3298 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
3299 return NULL;
3300 }
3301 }
1d99702e
RD
3302 if (_argo1) {
3303 if (_argo1 == Py_None) { _arg1 = NULL; }
3304 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
8ab979d7
RD
3305 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
3306 return NULL;
3307 }
3308 }
3309{
c8bc7bb8
RD
3310 _arg2 = wxString_in_helper(_obj2);
3311 if (_arg2 == NULL)
8ab979d7 3312 return NULL;
8ab979d7 3313}
1d99702e
RD
3314 if (_argo3) {
3315 if (_argo3 == Py_None) { _arg3 = NULL; }
3316 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxResourceTable_p")) {
8ab979d7
RD
3317 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
3318 return NULL;
3319 }
3320 }
cf694132 3321{
4268f798 3322 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3323 _result = (bool )wxWindow_LoadFromResource(_arg0,_arg1,*_arg2,_arg3);
cf694132 3324
4268f798 3325 wxPyEndAllowThreads(__tstate);
493f1553 3326 if (PyErr_Occurred()) return NULL;
cf694132 3327} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3328{
3329 if (_obj2)
3330 delete _arg2;
3331}
3332 return _resultobj;
3333}
3334
3335#define wxWindow_Lower(_swigobj) (_swigobj->Lower())
efc5f224 3336static PyObject *_wrap_wxWindow_Lower(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3337 PyObject * _resultobj;
3338 wxWindow * _arg0;
1d99702e 3339 PyObject * _argo0 = 0;
efc5f224 3340 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3341
3342 self = self;
efc5f224 3343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Lower",_kwnames,&_argo0))
8ab979d7 3344 return NULL;
1d99702e
RD
3345 if (_argo0) {
3346 if (_argo0 == Py_None) { _arg0 = NULL; }
3347 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3348 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
3349 return NULL;
3350 }
3351 }
cf694132 3352{
4268f798 3353 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3354 wxWindow_Lower(_arg0);
cf694132 3355
4268f798 3356 wxPyEndAllowThreads(__tstate);
493f1553 3357 if (PyErr_Occurred()) return NULL;
cf694132 3358} Py_INCREF(Py_None);
8ab979d7
RD
3359 _resultobj = Py_None;
3360 return _resultobj;
3361}
3362
3363#define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
efc5f224 3364static PyObject *_wrap_wxWindow_MakeModal(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3365 PyObject * _resultobj;
3366 wxWindow * _arg0;
900d9886 3367 bool _arg1 = (bool ) TRUE;
1d99702e 3368 PyObject * _argo0 = 0;
900d9886 3369 int tempbool1 = (int) TRUE;
efc5f224 3370 char *_kwnames[] = { "self","flag", NULL };
8ab979d7
RD
3371
3372 self = self;
900d9886 3373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_MakeModal",_kwnames,&_argo0,&tempbool1))
8ab979d7 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")) {
8ab979d7
RD
3378 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
3379 return NULL;
3380 }
3381 }
3382 _arg1 = (bool ) tempbool1;
cf694132 3383{
4268f798 3384 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3385 wxWindow_MakeModal(_arg0,_arg1);
cf694132 3386
4268f798 3387 wxPyEndAllowThreads(__tstate);
493f1553 3388 if (PyErr_Occurred()) return NULL;
cf694132 3389} Py_INCREF(Py_None);
8ab979d7
RD
3390 _resultobj = Py_None;
3391 return _resultobj;
3392}
3393
23bed520 3394#define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Move(_swigarg0,_swigarg1,_swigarg2))
efc5f224 3395static PyObject *_wrap_wxWindow_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3396 PyObject * _resultobj;
3397 wxWindow * _arg0;
3398 int _arg1;
3399 int _arg2;
23bed520 3400 int _arg3 = (int ) wxSIZE_USE_EXISTING;
1d99702e 3401 PyObject * _argo0 = 0;
23bed520 3402 char *_kwnames[] = { "self","x","y","flags", NULL };
8ab979d7
RD
3403
3404 self = self;
23bed520 3405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxWindow_MoveXY",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
af309447 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")) {
af309447
RD
3410 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
3411 return NULL;
3412 }
3413 }
cf694132 3414{
4268f798 3415 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3416 wxWindow_MoveXY(_arg0,_arg1,_arg2,_arg3);
cf694132 3417
4268f798 3418 wxPyEndAllowThreads(__tstate);
493f1553 3419 if (PyErr_Occurred()) return NULL;
cf694132 3420} Py_INCREF(Py_None);
af309447
RD
3421 _resultobj = Py_None;
3422 return _resultobj;
3423}
3424
23bed520 3425#define wxWindow_Move(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
efc5f224 3426static PyObject *_wrap_wxWindow_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
3427 PyObject * _resultobj;
3428 wxWindow * _arg0;
3429 wxPoint * _arg1;
23bed520 3430 int _arg2 = (int ) wxSIZE_USE_EXISTING;
1d99702e 3431 PyObject * _argo0 = 0;
2f90df85
RD
3432 wxPoint temp;
3433 PyObject * _obj1 = 0;
23bed520 3434 char *_kwnames[] = { "self","point","flags", NULL };
af309447
RD
3435
3436 self = self;
23bed520 3437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxWindow_Move",_kwnames,&_argo0,&_obj1,&_arg2))
8ab979d7 3438 return NULL;
1d99702e
RD
3439 if (_argo0) {
3440 if (_argo0 == Py_None) { _arg0 = NULL; }
3441 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3442 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
3443 return NULL;
3444 }
3445 }
2f90df85
RD
3446{
3447 _arg1 = &temp;
3448 if (! wxPoint_helper(_obj1, &_arg1))
af309447 3449 return NULL;
2f90df85 3450}
cf694132 3451{
4268f798 3452 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3453 wxWindow_Move(_arg0,*_arg1,_arg2);
cf694132 3454
4268f798 3455 wxPyEndAllowThreads(__tstate);
493f1553 3456 if (PyErr_Occurred()) return NULL;
cf694132 3457} Py_INCREF(Py_None);
8ab979d7
RD
3458 _resultobj = Py_None;
3459 return _resultobj;
3460}
3461
1afc06c2
RD
3462#define wxWindow_PopEventHandler(_swigobj,_swigarg0) (_swigobj->PopEventHandler(_swigarg0))
3463static PyObject *_wrap_wxWindow_PopEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
3464 PyObject * _resultobj;
3465 wxEvtHandler * _result;
3466 wxWindow * _arg0;
3467 bool _arg1 = (bool ) FALSE;
3468 PyObject * _argo0 = 0;
3469 int tempbool1 = (int) FALSE;
3470 char *_kwnames[] = { "self","deleteHandler", NULL };
1afc06c2
RD
3471
3472 self = self;
3473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_PopEventHandler",_kwnames,&_argo0,&tempbool1))
3474 return NULL;
3475 if (_argo0) {
3476 if (_argo0 == Py_None) { _arg0 = NULL; }
3477 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3478 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PopEventHandler. Expected _wxWindow_p.");
3479 return NULL;
3480 }
3481 }
3482 _arg1 = (bool ) tempbool1;
3483{
4268f798 3484 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3485 _result = (wxEvtHandler *)wxWindow_PopEventHandler(_arg0,_arg1);
1afc06c2 3486
4268f798 3487 wxPyEndAllowThreads(__tstate);
493f1553 3488 if (PyErr_Occurred()) return NULL;
9416aa89 3489}{ _resultobj = wxPyMake_wxObject(_result); }
1afc06c2
RD
3490 return _resultobj;
3491}
3492
3493#define wxWindow_PushEventHandler(_swigobj,_swigarg0) (_swigobj->PushEventHandler(_swigarg0))
3494static PyObject *_wrap_wxWindow_PushEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
3495 PyObject * _resultobj;
3496 wxWindow * _arg0;
3497 wxEvtHandler * _arg1;
3498 PyObject * _argo0 = 0;
3499 PyObject * _argo1 = 0;
3500 char *_kwnames[] = { "self","handler", NULL };
3501
3502 self = self;
3503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_PushEventHandler",_kwnames,&_argo0,&_argo1))
3504 return NULL;
3505 if (_argo0) {
3506 if (_argo0 == Py_None) { _arg0 = NULL; }
3507 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3508 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PushEventHandler. Expected _wxWindow_p.");
3509 return NULL;
3510 }
3511 }
3512 if (_argo1) {
3513 if (_argo1 == Py_None) { _arg1 = NULL; }
3514 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
3515 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_PushEventHandler. Expected _wxEvtHandler_p.");
3516 return NULL;
3517 }
3518 }
3519{
4268f798 3520 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3521 wxWindow_PushEventHandler(_arg0,_arg1);
1afc06c2 3522
4268f798 3523 wxPyEndAllowThreads(__tstate);
493f1553 3524 if (PyErr_Occurred()) return NULL;
1afc06c2
RD
3525} Py_INCREF(Py_None);
3526 _resultobj = Py_None;
3527 return _resultobj;
3528}
3529
c6c593e8
RD
3530#define wxWindow_RemoveEventHandler(_swigobj,_swigarg0) (_swigobj->RemoveEventHandler(_swigarg0))
3531static PyObject *_wrap_wxWindow_RemoveEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
3532 PyObject * _resultobj;
3533 bool _result;
3534 wxWindow * _arg0;
3535 wxEvtHandler * _arg1;
3536 PyObject * _argo0 = 0;
3537 PyObject * _argo1 = 0;
3538 char *_kwnames[] = { "self","handler", NULL };
3539
3540 self = self;
3541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_RemoveEventHandler",_kwnames,&_argo0,&_argo1))
3542 return NULL;
3543 if (_argo0) {
3544 if (_argo0 == Py_None) { _arg0 = NULL; }
3545 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3546 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_RemoveEventHandler. Expected _wxWindow_p.");
3547 return NULL;
3548 }
3549 }
3550 if (_argo1) {
3551 if (_argo1 == Py_None) { _arg1 = NULL; }
3552 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
3553 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_RemoveEventHandler. Expected _wxEvtHandler_p.");
3554 return NULL;
3555 }
3556 }
3557{
3558 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3559 _result = (bool )wxWindow_RemoveEventHandler(_arg0,_arg1);
c6c593e8
RD
3560
3561 wxPyEndAllowThreads(__tstate);
3562 if (PyErr_Occurred()) return NULL;
3563} _resultobj = Py_BuildValue("i",_result);
3564 return _resultobj;
3565}
3566
8bf5d46e 3567#define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
efc5f224 3568static PyObject *_wrap_wxWindow_PopupMenuXY(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3569 PyObject * _resultobj;
3570 bool _result;
3571 wxWindow * _arg0;
3572 wxMenu * _arg1;
3573 int _arg2;
3574 int _arg3;
1d99702e
RD
3575 PyObject * _argo0 = 0;
3576 PyObject * _argo1 = 0;
efc5f224 3577 char *_kwnames[] = { "self","menu","x","y", NULL };
8ab979d7
RD
3578
3579 self = self;
efc5f224 3580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxWindow_PopupMenuXY",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
8bf5d46e 3581 return NULL;
1d99702e
RD
3582 if (_argo0) {
3583 if (_argo0 == Py_None) { _arg0 = NULL; }
3584 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8bf5d46e
RD
3585 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
3586 return NULL;
3587 }
3588 }
1d99702e
RD
3589 if (_argo1) {
3590 if (_argo1 == Py_None) { _arg1 = NULL; }
3591 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
8bf5d46e
RD
3592 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
3593 return NULL;
3594 }
3595 }
3596{
4268f798 3597 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3598 _result = (bool )wxWindow_PopupMenuXY(_arg0,_arg1,_arg2,_arg3);
8bf5d46e 3599
4268f798 3600 wxPyEndAllowThreads(__tstate);
493f1553 3601 if (PyErr_Occurred()) return NULL;
8bf5d46e
RD
3602} _resultobj = Py_BuildValue("i",_result);
3603 return _resultobj;
3604}
3605
3606#define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
efc5f224 3607static PyObject *_wrap_wxWindow_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
8bf5d46e
RD
3608 PyObject * _resultobj;
3609 bool _result;
3610 wxWindow * _arg0;
3611 wxMenu * _arg1;
3612 wxPoint * _arg2;
1d99702e
RD
3613 PyObject * _argo0 = 0;
3614 PyObject * _argo1 = 0;
2f90df85
RD
3615 wxPoint temp;
3616 PyObject * _obj2 = 0;
efc5f224 3617 char *_kwnames[] = { "self","menu","pos", NULL };
8bf5d46e
RD
3618
3619 self = self;
2f90df85 3620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxWindow_PopupMenu",_kwnames,&_argo0,&_argo1,&_obj2))
8ab979d7 3621 return NULL;
1d99702e
RD
3622 if (_argo0) {
3623 if (_argo0 == Py_None) { _arg0 = NULL; }
3624 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3625 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
3626 return NULL;
3627 }
3628 }
1d99702e
RD
3629 if (_argo1) {
3630 if (_argo1 == Py_None) { _arg1 = NULL; }
3631 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
8ab979d7
RD
3632 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
3633 return NULL;
3634 }
3635 }
2f90df85
RD
3636{
3637 _arg2 = &temp;
3638 if (! wxPoint_helper(_obj2, &_arg2))
8bf5d46e 3639 return NULL;
2f90df85 3640}
cf694132 3641{
4268f798 3642 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3643 _result = (bool )wxWindow_PopupMenu(_arg0,_arg1,*_arg2);
cf694132 3644
4268f798 3645 wxPyEndAllowThreads(__tstate);
493f1553 3646 if (PyErr_Occurred()) return NULL;
cf694132 3647} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3648 return _resultobj;
3649}
3650
3651#define wxWindow_Raise(_swigobj) (_swigobj->Raise())
efc5f224 3652static PyObject *_wrap_wxWindow_Raise(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3653 PyObject * _resultobj;
3654 wxWindow * _arg0;
1d99702e 3655 PyObject * _argo0 = 0;
efc5f224 3656 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3657
3658 self = self;
efc5f224 3659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Raise",_kwnames,&_argo0))
8ab979d7 3660 return NULL;
1d99702e
RD
3661 if (_argo0) {
3662 if (_argo0 == Py_None) { _arg0 = NULL; }
3663 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3664 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
3665 return NULL;
3666 }
3667 }
cf694132 3668{
4268f798 3669 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3670 wxWindow_Raise(_arg0);
cf694132 3671
4268f798 3672 wxPyEndAllowThreads(__tstate);
493f1553 3673 if (PyErr_Occurred()) return NULL;
cf694132 3674} Py_INCREF(Py_None);
8ab979d7
RD
3675 _resultobj = Py_None;
3676 return _resultobj;
3677}
3678
3679#define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
efc5f224 3680static PyObject *_wrap_wxWindow_Refresh(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3681 PyObject * _resultobj;
3682 wxWindow * _arg0;
1d99702e
RD
3683 bool _arg1 = (bool ) TRUE;
3684 wxRect * _arg2 = (wxRect *) NULL;
3685 PyObject * _argo0 = 0;
3686 int tempbool1 = (int) TRUE;
2f90df85
RD
3687 wxRect temp;
3688 PyObject * _obj2 = 0;
efc5f224 3689 char *_kwnames[] = { "self","eraseBackground","rect", NULL };
8ab979d7
RD
3690
3691 self = self;
2f90df85 3692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iO:wxWindow_Refresh",_kwnames,&_argo0,&tempbool1,&_obj2))
8ab979d7 3693 return NULL;
1d99702e
RD
3694 if (_argo0) {
3695 if (_argo0 == Py_None) { _arg0 = NULL; }
3696 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3697 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
3698 return NULL;
3699 }
3700 }
3701 _arg1 = (bool ) tempbool1;
2f90df85
RD
3702 if (_obj2)
3703{
3704 _arg2 = &temp;
3705 if (! wxRect_helper(_obj2, &_arg2))
8ab979d7 3706 return NULL;
2f90df85 3707}
cf694132 3708{
4268f798 3709 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3710 wxWindow_Refresh(_arg0,_arg1,_arg2);
cf694132 3711
4268f798 3712 wxPyEndAllowThreads(__tstate);
493f1553 3713 if (PyErr_Occurred()) return NULL;
cf694132 3714} Py_INCREF(Py_None);
8ab979d7
RD
3715 _resultobj = Py_None;
3716 return _resultobj;
3717}
3718
09f3d4e6
RD
3719#define wxWindow_RefreshRect(_swigobj,_swigarg0) (_swigobj->RefreshRect(_swigarg0))
3720static PyObject *_wrap_wxWindow_RefreshRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3721 PyObject * _resultobj;
3722 wxWindow * _arg0;
3723 wxRect * _arg1;
3724 PyObject * _argo0 = 0;
3725 wxRect temp;
3726 PyObject * _obj1 = 0;
3727 char *_kwnames[] = { "self","rect", NULL };
3728
3729 self = self;
3730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_RefreshRect",_kwnames,&_argo0,&_obj1))
3731 return NULL;
3732 if (_argo0) {
3733 if (_argo0 == Py_None) { _arg0 = NULL; }
3734 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3735 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_RefreshRect. Expected _wxWindow_p.");
3736 return NULL;
3737 }
3738 }
3739{
3740 _arg1 = &temp;
3741 if (! wxRect_helper(_obj1, &_arg1))
3742 return NULL;
3743}
3744{
4268f798 3745 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3746 wxWindow_RefreshRect(_arg0,*_arg1);
09f3d4e6 3747
4268f798 3748 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
3749 if (PyErr_Occurred()) return NULL;
3750} Py_INCREF(Py_None);
3751 _resultobj = Py_None;
3752 return _resultobj;
3753}
3754
e67409dc
RD
3755#define wxWindow_AddChild(_swigobj,_swigarg0) (_swigobj->AddChild(_swigarg0))
3756static PyObject *_wrap_wxWindow_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
3757 PyObject * _resultobj;
3758 wxWindow * _arg0;
3759 wxWindow * _arg1;
3760 PyObject * _argo0 = 0;
3761 PyObject * _argo1 = 0;
3762 char *_kwnames[] = { "self","child", NULL };
3763
3764 self = self;
3765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_AddChild",_kwnames,&_argo0,&_argo1))
3766 return NULL;
3767 if (_argo0) {
3768 if (_argo0 == Py_None) { _arg0 = NULL; }
3769 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3770 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_AddChild. Expected _wxWindow_p.");
3771 return NULL;
3772 }
3773 }
3774 if (_argo1) {
3775 if (_argo1 == Py_None) { _arg1 = NULL; }
3776 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
3777 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_AddChild. Expected _wxWindow_p.");
3778 return NULL;
3779 }
3780 }
3781{
3782 PyThreadState* __tstate = wxPyBeginAllowThreads();
3783 wxWindow_AddChild(_arg0,_arg1);
3784
3785 wxPyEndAllowThreads(__tstate);
3786 if (PyErr_Occurred()) return NULL;
3787} Py_INCREF(Py_None);
3788 _resultobj = Py_None;
3789 return _resultobj;
3790}
3791
b7e72427
RD
3792#define wxWindow_RemoveChild(_swigobj,_swigarg0) (_swigobj->RemoveChild(_swigarg0))
3793static PyObject *_wrap_wxWindow_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
3794 PyObject * _resultobj;
3795 wxWindow * _arg0;
3796 wxWindow * _arg1;
3797 PyObject * _argo0 = 0;
3798 PyObject * _argo1 = 0;
3799 char *_kwnames[] = { "self","child", NULL };
3800
3801 self = self;
3802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_RemoveChild",_kwnames,&_argo0,&_argo1))
3803 return NULL;
3804 if (_argo0) {
3805 if (_argo0 == Py_None) { _arg0 = NULL; }
3806 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3807 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3808 return NULL;
3809 }
3810 }
3811 if (_argo1) {
3812 if (_argo1 == Py_None) { _arg1 = NULL; }
3813 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
3814 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3815 return NULL;
3816 }
3817 }
3818{
4268f798 3819 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3820 wxWindow_RemoveChild(_arg0,_arg1);
b7e72427 3821
4268f798 3822 wxPyEndAllowThreads(__tstate);
493f1553 3823 if (PyErr_Occurred()) return NULL;
b7e72427
RD
3824} Py_INCREF(Py_None);
3825 _resultobj = Py_None;
3826 return _resultobj;
3827}
3828
bb0054cd 3829#define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
efc5f224 3830static PyObject *_wrap_wxWindow_Reparent(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
3831 PyObject * _resultobj;
3832 bool _result;
3833 wxWindow * _arg0;
3834 wxWindow * _arg1;
1d99702e
RD
3835 PyObject * _argo0 = 0;
3836 PyObject * _argo1 = 0;
efc5f224 3837 char *_kwnames[] = { "self","newParent", NULL };
bb0054cd
RD
3838
3839 self = self;
efc5f224 3840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_Reparent",_kwnames,&_argo0,&_argo1))
bb0054cd 3841 return NULL;
1d99702e
RD
3842 if (_argo0) {
3843 if (_argo0 == Py_None) { _arg0 = NULL; }
3844 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
bb0054cd
RD
3845 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
3846 return NULL;
3847 }
3848 }
1d99702e
RD
3849 if (_argo1) {
3850 if (_argo1 == Py_None) { _arg1 = NULL; }
3851 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
bb0054cd
RD
3852 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
3853 return NULL;
3854 }
3855 }
3856{
4268f798 3857 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3858 _result = (bool )wxWindow_Reparent(_arg0,_arg1);
bb0054cd 3859
4268f798 3860 wxPyEndAllowThreads(__tstate);
493f1553 3861 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
3862} _resultobj = Py_BuildValue("i",_result);
3863 return _resultobj;
3864}
3865
af309447 3866#define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
efc5f224 3867static PyObject *_wrap_wxWindow_ScreenToClientXY(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3868 PyObject * _resultobj;
3869 wxWindow * _arg0;
3870 int * _arg1;
3871 int * _arg2;
1d99702e 3872 PyObject * _argo0 = 0;
8ab979d7
RD
3873 int temp;
3874 PyObject * _obj1 = 0;
3875 int temp0;
3876 PyObject * _obj2 = 0;
efc5f224 3877 char *_kwnames[] = { "self","x","y", NULL };
8ab979d7
RD
3878
3879 self = self;
efc5f224 3880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxWindow_ScreenToClientXY",_kwnames,&_argo0,&_obj1,&_obj2))
8ab979d7 3881 return NULL;
1d99702e
RD
3882 if (_argo0) {
3883 if (_argo0 == Py_None) { _arg0 = NULL; }
3884 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
af309447 3885 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
8ab979d7
RD
3886 return NULL;
3887 }
3888 }
3889{
3890 temp = (int) PyInt_AsLong(_obj1);
3891 _arg1 = &temp;
3892}
3893{
3894 temp0 = (int) PyInt_AsLong(_obj2);
3895 _arg2 = &temp0;
3896}
cf694132 3897{
4268f798 3898 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3899 wxWindow_ScreenToClientXY(_arg0,_arg1,_arg2);
cf694132 3900
4268f798 3901 wxPyEndAllowThreads(__tstate);
493f1553 3902 if (PyErr_Occurred()) return NULL;
cf694132 3903} Py_INCREF(Py_None);
8ab979d7
RD
3904 _resultobj = Py_None;
3905{
3906 PyObject *o;
3907 o = PyInt_FromLong((long) (*_arg1));
3908 _resultobj = t_output_helper(_resultobj, o);
3909}
3910{
3911 PyObject *o;
3912 o = PyInt_FromLong((long) (*_arg2));
3913 _resultobj = t_output_helper(_resultobj, o);
3914}
3915 return _resultobj;
3916}
3917
af309447 3918#define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
efc5f224 3919static PyObject *_wrap_wxWindow_ScreenToClient(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
3920 PyObject * _resultobj;
3921 wxPoint * _result;
3922 wxWindow * _arg0;
3923 wxPoint * _arg1;
1d99702e 3924 PyObject * _argo0 = 0;
2f90df85
RD
3925 wxPoint temp;
3926 PyObject * _obj1 = 0;
efc5f224 3927 char *_kwnames[] = { "self","pt", NULL };
af309447
RD
3928 char _ptemp[128];
3929
3930 self = self;
2f90df85 3931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ScreenToClient",_kwnames,&_argo0,&_obj1))
af309447 3932 return NULL;
1d99702e
RD
3933 if (_argo0) {
3934 if (_argo0 == Py_None) { _arg0 = NULL; }
3935 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
af309447
RD
3936 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
3937 return NULL;
3938 }
3939 }
2f90df85
RD
3940{
3941 _arg1 = &temp;
3942 if (! wxPoint_helper(_obj1, &_arg1))
af309447 3943 return NULL;
2f90df85 3944}
cf694132 3945{
4268f798 3946 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3947 _result = new wxPoint (wxWindow_ScreenToClient(_arg0,*_arg1));
cf694132 3948
4268f798 3949 wxPyEndAllowThreads(__tstate);
493f1553 3950 if (PyErr_Occurred()) return NULL;
cf694132 3951} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
af309447
RD
3952 _resultobj = Py_BuildValue("s",_ptemp);
3953 return _resultobj;
3954}
3955
8ab979d7 3956#define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
efc5f224 3957static PyObject *_wrap_wxWindow_ScrollWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3958 PyObject * _resultobj;
3959 wxWindow * _arg0;
3960 int _arg1;
3961 int _arg2;
1d99702e
RD
3962 wxRect * _arg3 = (wxRect *) NULL;
3963 PyObject * _argo0 = 0;
2f90df85
RD
3964 wxRect temp;
3965 PyObject * _obj3 = 0;
efc5f224 3966 char *_kwnames[] = { "self","dx","dy","rect", NULL };
8ab979d7
RD
3967
3968 self = self;
2f90df85 3969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|O:wxWindow_ScrollWindow",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
8ab979d7 3970 return NULL;
1d99702e
RD
3971 if (_argo0) {
3972 if (_argo0 == Py_None) { _arg0 = NULL; }
3973 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3974 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
3975 return NULL;
3976 }
3977 }
2f90df85
RD
3978 if (_obj3)
3979{
3980 _arg3 = &temp;
3981 if (! wxRect_helper(_obj3, &_arg3))
8ab979d7 3982 return NULL;
2f90df85 3983}
cf694132 3984{
4268f798 3985 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3986 wxWindow_ScrollWindow(_arg0,_arg1,_arg2,_arg3);
cf694132 3987
4268f798 3988 wxPyEndAllowThreads(__tstate);
493f1553 3989 if (PyErr_Occurred()) return NULL;
cf694132 3990} Py_INCREF(Py_None);
8ab979d7
RD
3991 _resultobj = Py_None;
3992 return _resultobj;
3993}
3994
3995#define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
efc5f224 3996static PyObject *_wrap_wxWindow_SetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3997 PyObject * _resultobj;
3998 wxWindow * _arg0;
3999 bool _arg1;
1d99702e 4000 PyObject * _argo0 = 0;
8ab979d7 4001 int tempbool1;
efc5f224 4002 char *_kwnames[] = { "self","autoLayout", NULL };
8ab979d7
RD
4003
4004 self = self;
efc5f224 4005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_SetAutoLayout",_kwnames,&_argo0,&tempbool1))
8ab979d7 4006 return NULL;
1d99702e
RD
4007 if (_argo0) {
4008 if (_argo0 == Py_None) { _arg0 = NULL; }
4009 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4010 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
4011 return NULL;
4012 }
4013 }
4014 _arg1 = (bool ) tempbool1;
cf694132 4015{
4268f798 4016 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4017 wxWindow_SetAutoLayout(_arg0,_arg1);
cf694132 4018
4268f798 4019 wxPyEndAllowThreads(__tstate);
493f1553 4020 if (PyErr_Occurred()) return NULL;
cf694132 4021} Py_INCREF(Py_None);
8ab979d7
RD
4022 _resultobj = Py_None;
4023 return _resultobj;
4024}
4025
9d8bd15f
RD
4026#define wxWindow_GetAutoLayout(_swigobj) (_swigobj->GetAutoLayout())
4027static PyObject *_wrap_wxWindow_GetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
4028 PyObject * _resultobj;
4029 bool _result;
4030 wxWindow * _arg0;
4031 PyObject * _argo0 = 0;
4032 char *_kwnames[] = { "self", NULL };
4033
4034 self = self;
4035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetAutoLayout",_kwnames,&_argo0))
4036 return NULL;
4037 if (_argo0) {
4038 if (_argo0 == Py_None) { _arg0 = NULL; }
4039 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4040 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetAutoLayout. Expected _wxWindow_p.");
4041 return NULL;
4042 }
4043 }
4044{
4268f798 4045 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4046 _result = (bool )wxWindow_GetAutoLayout(_arg0);
9d8bd15f 4047
4268f798 4048 wxPyEndAllowThreads(__tstate);
493f1553 4049 if (PyErr_Occurred()) return NULL;
9d8bd15f
RD
4050} _resultobj = Py_BuildValue("i",_result);
4051 return _resultobj;
4052}
4053
8ab979d7 4054#define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
efc5f224 4055static PyObject *_wrap_wxWindow_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4056 PyObject * _resultobj;
4057 wxWindow * _arg0;
4058 wxColour * _arg1;
1d99702e 4059 PyObject * _argo0 = 0;
f6bcfd97
BP
4060 wxColour temp;
4061 PyObject * _obj1 = 0;
efc5f224 4062 char *_kwnames[] = { "self","colour", NULL };
8ab979d7
RD
4063
4064 self = self;
f6bcfd97 4065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
8ab979d7 4066 return NULL;
1d99702e
RD
4067 if (_argo0) {
4068 if (_argo0 == Py_None) { _arg0 = NULL; }
4069 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4070 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
4071 return NULL;
4072 }
4073 }
f6bcfd97
BP
4074{
4075 _arg1 = &temp;
4076 if (! wxColour_helper(_obj1, &_arg1))
8ab979d7 4077 return NULL;
f6bcfd97 4078}
cf694132 4079{
4268f798 4080 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4081 wxWindow_SetBackgroundColour(_arg0,*_arg1);
cf694132 4082
4268f798 4083 wxPyEndAllowThreads(__tstate);
493f1553 4084 if (PyErr_Occurred()) return NULL;
cf694132 4085} Py_INCREF(Py_None);
8ab979d7
RD
4086 _resultobj = Py_None;
4087 return _resultobj;
4088}
4089
4090#define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
efc5f224 4091static PyObject *_wrap_wxWindow_SetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4092 PyObject * _resultobj;
4093 wxWindow * _arg0;
4094 wxLayoutConstraints * _arg1;
1d99702e
RD
4095 PyObject * _argo0 = 0;
4096 PyObject * _argo1 = 0;
efc5f224 4097 char *_kwnames[] = { "self","constraints", NULL };
8ab979d7
RD
4098
4099 self = self;
efc5f224 4100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetConstraints",_kwnames,&_argo0,&_argo1))
8ab979d7 4101 return NULL;
1d99702e
RD
4102 if (_argo0) {
4103 if (_argo0 == Py_None) { _arg0 = NULL; }
4104 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4105 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
4106 return NULL;
4107 }
4108 }
1d99702e
RD
4109 if (_argo1) {
4110 if (_argo1 == Py_None) { _arg1 = NULL; }
4111 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxLayoutConstraints_p")) {
8ab979d7
RD
4112 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
4113 return NULL;
4114 }
4115 }
cf694132 4116{
4268f798 4117 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4118 wxWindow_SetConstraints(_arg0,_arg1);
cf694132 4119
4268f798 4120 wxPyEndAllowThreads(__tstate);
493f1553 4121 if (PyErr_Occurred()) return NULL;
cf694132 4122} Py_INCREF(Py_None);
8ab979d7
RD
4123 _resultobj = Py_None;
4124 return _resultobj;
4125}
4126
2f90df85
RD
4127#define wxWindow_UnsetConstraints(_swigobj,_swigarg0) (_swigobj->UnsetConstraints(_swigarg0))
4128static PyObject *_wrap_wxWindow_UnsetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
4129 PyObject * _resultobj;
4130 wxWindow * _arg0;
4131 wxLayoutConstraints * _arg1;
4132 PyObject * _argo0 = 0;
4133 PyObject * _argo1 = 0;
4134 char *_kwnames[] = { "self","constraints", NULL };
4135
4136 self = self;
4137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_UnsetConstraints",_kwnames,&_argo0,&_argo1))
4138 return NULL;
4139 if (_argo0) {
4140 if (_argo0 == Py_None) { _arg0 = NULL; }
4141 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4142 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_UnsetConstraints. Expected _wxWindow_p.");
4143 return NULL;
4144 }
4145 }
4146 if (_argo1) {
4147 if (_argo1 == Py_None) { _arg1 = NULL; }
4148 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxLayoutConstraints_p")) {
4149 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_UnsetConstraints. Expected _wxLayoutConstraints_p.");
4150 return NULL;
4151 }
4152 }
4153{
4268f798 4154 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4155 wxWindow_UnsetConstraints(_arg0,_arg1);
2f90df85 4156
4268f798 4157 wxPyEndAllowThreads(__tstate);
493f1553 4158 if (PyErr_Occurred()) return NULL;
2f90df85
RD
4159} Py_INCREF(Py_None);
4160 _resultobj = Py_None;
4161 return _resultobj;
4162}
4163
8ab979d7 4164#define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
efc5f224 4165static PyObject *_wrap_wxWindow_SetFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4166 PyObject * _resultobj;
4167 wxWindow * _arg0;
1d99702e 4168 PyObject * _argo0 = 0;
efc5f224 4169 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4170
4171 self = self;
efc5f224 4172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_SetFocus",_kwnames,&_argo0))
8ab979d7 4173 return NULL;
1d99702e
RD
4174 if (_argo0) {
4175 if (_argo0 == Py_None) { _arg0 = NULL; }
4176 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4177 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
4178 return NULL;
4179 }
4180 }
cf694132 4181{
4268f798 4182 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4183 wxWindow_SetFocus(_arg0);
cf694132 4184
4268f798 4185 wxPyEndAllowThreads(__tstate);
493f1553 4186 if (PyErr_Occurred()) return NULL;
cf694132 4187} Py_INCREF(Py_None);
8ab979d7
RD
4188 _resultobj = Py_None;
4189 return _resultobj;
4190}
4191
2a74d141
RD
4192#define wxWindow_SetFocusFromKbd(_swigobj) (_swigobj->SetFocusFromKbd())
4193static PyObject *_wrap_wxWindow_SetFocusFromKbd(PyObject *self, PyObject *args, PyObject *kwargs) {
4194 PyObject * _resultobj;
4195 wxWindow * _arg0;
4196 PyObject * _argo0 = 0;
4197 char *_kwnames[] = { "self", NULL };
4198
4199 self = self;
4200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_SetFocusFromKbd",_kwnames,&_argo0))
4201 return NULL;
4202 if (_argo0) {
4203 if (_argo0 == Py_None) { _arg0 = NULL; }
4204 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4205 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetFocusFromKbd. Expected _wxWindow_p.");
4206 return NULL;
4207 }
4208 }
4209{
4210 PyThreadState* __tstate = wxPyBeginAllowThreads();
4211 wxWindow_SetFocusFromKbd(_arg0);
4212
4213 wxPyEndAllowThreads(__tstate);
4214 if (PyErr_Occurred()) return NULL;
4215} Py_INCREF(Py_None);
4216 _resultobj = Py_None;
4217 return _resultobj;
4218}
4219
2f90df85
RD
4220#define wxWindow_AcceptsFocus(_swigobj) (_swigobj->AcceptsFocus())
4221static PyObject *_wrap_wxWindow_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
4222 PyObject * _resultobj;
4223 bool _result;
4224 wxWindow * _arg0;
4225 PyObject * _argo0 = 0;
4226 char *_kwnames[] = { "self", NULL };
4227
4228 self = self;
4229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_AcceptsFocus",_kwnames,&_argo0))
4230 return NULL;
4231 if (_argo0) {
4232 if (_argo0 == Py_None) { _arg0 = NULL; }
4233 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4234 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_AcceptsFocus. Expected _wxWindow_p.");
4235 return NULL;
4236 }
4237 }
4238{
4268f798 4239 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4240 _result = (bool )wxWindow_AcceptsFocus(_arg0);
2f90df85 4241
4268f798 4242 wxPyEndAllowThreads(__tstate);
493f1553 4243 if (PyErr_Occurred()) return NULL;
2f90df85
RD
4244} _resultobj = Py_BuildValue("i",_result);
4245 return _resultobj;
4246}
4247
8ab979d7 4248#define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
efc5f224 4249static PyObject *_wrap_wxWindow_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4250 PyObject * _resultobj;
4251 wxWindow * _arg0;
4252 wxFont * _arg1;
1d99702e
RD
4253 PyObject * _argo0 = 0;
4254 PyObject * _argo1 = 0;
efc5f224 4255 char *_kwnames[] = { "self","font", NULL };
8ab979d7
RD
4256
4257 self = self;
efc5f224 4258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetFont",_kwnames,&_argo0,&_argo1))
8ab979d7 4259 return NULL;
1d99702e
RD
4260 if (_argo0) {
4261 if (_argo0 == Py_None) { _arg0 = NULL; }
4262 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4263 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
4264 return NULL;
4265 }
4266 }
1d99702e
RD
4267 if (_argo1) {
4268 if (_argo1 == Py_None) { _arg1 = NULL; }
4269 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
8ab979d7
RD
4270 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
4271 return NULL;
4272 }
4273 }
cf694132 4274{
4268f798 4275 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4276 wxWindow_SetFont(_arg0,*_arg1);
cf694132 4277
4268f798 4278 wxPyEndAllowThreads(__tstate);
493f1553 4279 if (PyErr_Occurred()) return NULL;
cf694132 4280} Py_INCREF(Py_None);
8ab979d7
RD
4281 _resultobj = Py_None;
4282 return _resultobj;
4283}
4284
4285#define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
efc5f224 4286static PyObject *_wrap_wxWindow_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4287 PyObject * _resultobj;
4288 wxWindow * _arg0;
4289 wxColour * _arg1;
1d99702e 4290 PyObject * _argo0 = 0;
f6bcfd97
BP
4291 wxColour temp;
4292 PyObject * _obj1 = 0;
efc5f224 4293 char *_kwnames[] = { "self","colour", NULL };
8ab979d7
RD
4294
4295 self = self;
f6bcfd97 4296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetForegroundColour",_kwnames,&_argo0,&_obj1))
8ab979d7 4297 return NULL;
1d99702e
RD
4298 if (_argo0) {
4299 if (_argo0 == Py_None) { _arg0 = NULL; }
4300 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4301 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
4302 return NULL;
4303 }
4304 }
f6bcfd97
BP
4305{
4306 _arg1 = &temp;
4307 if (! wxColour_helper(_obj1, &_arg1))
8ab979d7 4308 return NULL;
f6bcfd97 4309}
cf694132 4310{
4268f798 4311 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4312 wxWindow_SetForegroundColour(_arg0,*_arg1);
cf694132 4313
4268f798 4314 wxPyEndAllowThreads(__tstate);
493f1553 4315 if (PyErr_Occurred()) return NULL;
cf694132 4316} Py_INCREF(Py_None);
8ab979d7
RD
4317 _resultobj = Py_None;
4318 return _resultobj;
4319}
4320
4321#define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
efc5f224 4322static PyObject *_wrap_wxWindow_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4323 PyObject * _resultobj;
4324 wxWindow * _arg0;
4325 int _arg1;
1d99702e 4326 PyObject * _argo0 = 0;
efc5f224 4327 char *_kwnames[] = { "self","id", NULL };
8ab979d7
RD
4328
4329 self = self;
efc5f224 4330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_SetId",_kwnames,&_argo0,&_arg1))
8ab979d7 4331 return NULL;
1d99702e
RD
4332 if (_argo0) {
4333 if (_argo0 == Py_None) { _arg0 = NULL; }
4334 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4335 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
4336 return NULL;
4337 }
4338 }
cf694132 4339{
4268f798 4340 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4341 wxWindow_SetId(_arg0,_arg1);
cf694132 4342
4268f798 4343 wxPyEndAllowThreads(__tstate);
493f1553 4344 if (PyErr_Occurred()) return NULL;
cf694132 4345} Py_INCREF(Py_None);
8ab979d7
RD
4346 _resultobj = Py_None;
4347 return _resultobj;
4348}
4349
4350#define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
efc5f224 4351static PyObject *_wrap_wxWindow_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4352 PyObject * _resultobj;
4353 wxWindow * _arg0;
4354 wxString * _arg1;
1d99702e 4355 PyObject * _argo0 = 0;
8ab979d7 4356 PyObject * _obj1 = 0;
efc5f224 4357 char *_kwnames[] = { "self","name", NULL };
8ab979d7
RD
4358
4359 self = self;
efc5f224 4360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetName",_kwnames,&_argo0,&_obj1))
8ab979d7 4361 return NULL;
1d99702e
RD
4362 if (_argo0) {
4363 if (_argo0 == Py_None) { _arg0 = NULL; }
4364 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4365 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
4366 return NULL;
4367 }
4368 }
4369{
c8bc7bb8
RD
4370 _arg1 = wxString_in_helper(_obj1);
4371 if (_arg1 == NULL)
185d7c3e 4372 return NULL;
8ab979d7 4373}
cf694132 4374{
4268f798 4375 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4376 wxWindow_SetName(_arg0,*_arg1);
cf694132 4377
4268f798 4378 wxPyEndAllowThreads(__tstate);
493f1553 4379 if (PyErr_Occurred()) return NULL;
cf694132 4380} Py_INCREF(Py_None);
8ab979d7
RD
4381 _resultobj = Py_None;
4382{
4383 if (_obj1)
4384 delete _arg1;
4385}
4386 return _resultobj;
4387}
4388
8ab979d7 4389#define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
efc5f224 4390static PyObject *_wrap_wxWindow_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4391 PyObject * _resultobj;
4392 wxWindow * _arg0;
4393 int _arg1;
4394 int _arg2;
4395 int _arg3;
4396 int _arg4;
eb715945 4397 int _arg5 = (int ) TRUE;
1d99702e 4398 PyObject * _argo0 = 0;
efc5f224 4399 char *_kwnames[] = { "self","orientation","position","thumbSize","range","refresh", NULL };
8ab979d7
RD
4400
4401 self = self;
eb715945 4402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxWindow_SetScrollbar",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5))
8ab979d7 4403 return NULL;
1d99702e
RD
4404 if (_argo0) {
4405 if (_argo0 == Py_None) { _arg0 = NULL; }
4406 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4407 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
4408 return NULL;
4409 }
4410 }
cf694132 4411{
4268f798 4412 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4413 wxWindow_SetScrollbar(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
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_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
efc5f224 4423static PyObject *_wrap_wxWindow_SetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4424 PyObject * _resultobj;
4425 wxWindow * _arg0;
4426 int _arg1;
4427 int _arg2;
1d99702e
RD
4428 bool _arg3 = (bool ) TRUE;
4429 PyObject * _argo0 = 0;
4430 int tempbool3 = (int) TRUE;
efc5f224 4431 char *_kwnames[] = { "self","orientation","pos","refresh", NULL };
8ab979d7
RD
4432
4433 self = self;
efc5f224 4434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxWindow_SetScrollPos",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
8ab979d7 4435 return NULL;
1d99702e
RD
4436 if (_argo0) {
4437 if (_argo0 == Py_None) { _arg0 = NULL; }
4438 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4439 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
4440 return NULL;
4441 }
4442 }
4443 _arg3 = (bool ) tempbool3;
cf694132 4444{
4268f798 4445 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4446 wxWindow_SetScrollPos(_arg0,_arg1,_arg2,_arg3);
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
4455#define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
efc5f224 4456static PyObject *_wrap_wxWindow_SetDimensions(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4457 PyObject * _resultobj;
4458 wxWindow * _arg0;
4459 int _arg1;
4460 int _arg2;
4461 int _arg3;
4462 int _arg4;
1d99702e
RD
4463 int _arg5 = (int ) wxSIZE_AUTO;
4464 PyObject * _argo0 = 0;
efc5f224 4465 char *_kwnames[] = { "self","x","y","width","height","sizeFlags", NULL };
8ab979d7
RD
4466
4467 self = self;
efc5f224 4468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxWindow_SetDimensions",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5))
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_SetDimensions. Expected _wxWindow_p.");
4474 return NULL;
4475 }
4476 }
cf694132 4477{
4268f798 4478 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4479 wxWindow_SetDimensions(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
cf694132 4480
4268f798 4481 wxPyEndAllowThreads(__tstate);
493f1553 4482 if (PyErr_Occurred()) return NULL;
cf694132 4483} Py_INCREF(Py_None);
8ab979d7
RD
4484 _resultobj = Py_None;
4485 return _resultobj;
4486}
4487
4488static void wxWindow_SetSize(wxWindow *self,const wxSize & size) {
a1df7a95 4489 self->SetSize(size);
8ab979d7 4490 }
efc5f224 4491static PyObject *_wrap_wxWindow_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4492 PyObject * _resultobj;
4493 wxWindow * _arg0;
4494 wxSize * _arg1;
1d99702e 4495 PyObject * _argo0 = 0;
2f90df85
RD
4496 wxSize temp;
4497 PyObject * _obj1 = 0;
efc5f224 4498 char *_kwnames[] = { "self","size", NULL };
8ab979d7
RD
4499
4500 self = self;
2f90df85 4501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetSize",_kwnames,&_argo0,&_obj1))
8ab979d7 4502 return NULL;
1d99702e
RD
4503 if (_argo0) {
4504 if (_argo0 == Py_None) { _arg0 = NULL; }
4505 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4506 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
4507 return NULL;
4508 }
4509 }
2f90df85
RD
4510{
4511 _arg1 = &temp;
4512 if (! wxSize_helper(_obj1, &_arg1))
8ab979d7 4513 return NULL;
2f90df85 4514}
cf694132 4515{
4268f798 4516 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4517 wxWindow_SetSize(_arg0,*_arg1);
cf694132 4518
4268f798 4519 wxPyEndAllowThreads(__tstate);
493f1553 4520 if (PyErr_Occurred()) return NULL;
cf694132 4521} Py_INCREF(Py_None);
8ab979d7
RD
4522 _resultobj = Py_None;
4523 return _resultobj;
4524}
4525
23bed520
RD
4526static void wxWindow_SetPosition(wxWindow *self,const wxPoint & pos,int flags) {
4527 self->Move(pos, flags);
8ab979d7 4528 }
efc5f224 4529static PyObject *_wrap_wxWindow_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4530 PyObject * _resultobj;
4531 wxWindow * _arg0;
4532 wxPoint * _arg1;
23bed520 4533 int _arg2 = (int ) wxSIZE_USE_EXISTING;
1d99702e 4534 PyObject * _argo0 = 0;
2f90df85
RD
4535 wxPoint temp;
4536 PyObject * _obj1 = 0;
23bed520 4537 char *_kwnames[] = { "self","pos","flags", NULL };
8ab979d7
RD
4538
4539 self = self;
23bed520 4540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxWindow_SetPosition",_kwnames,&_argo0,&_obj1,&_arg2))
8ab979d7 4541 return NULL;
1d99702e
RD
4542 if (_argo0) {
4543 if (_argo0 == Py_None) { _arg0 = NULL; }
4544 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4545 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
4546 return NULL;
4547 }
4548 }
2f90df85
RD
4549{
4550 _arg1 = &temp;
4551 if (! wxPoint_helper(_obj1, &_arg1))
8ab979d7 4552 return NULL;
2f90df85 4553}
cf694132 4554{
4268f798 4555 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4556 wxWindow_SetPosition(_arg0,*_arg1,_arg2);
cf694132 4557
4268f798 4558 wxPyEndAllowThreads(__tstate);
493f1553 4559 if (PyErr_Occurred()) return NULL;
cf694132 4560} Py_INCREF(Py_None);
8ab979d7
RD
4561 _resultobj = Py_None;
4562 return _resultobj;
4563}
4564
dbbb98cd
RD
4565static void wxWindow_SetRect(wxWindow *self,const wxRect & rect,int sizeFlags) {
4566 self->SetSize(rect, sizeFlags);
4567 }
4568static PyObject *_wrap_wxWindow_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
4569 PyObject * _resultobj;
4570 wxWindow * _arg0;
4571 wxRect * _arg1;
4572 int _arg2 = (int ) wxSIZE_AUTO;
4573 PyObject * _argo0 = 0;
4574 wxRect temp;
4575 PyObject * _obj1 = 0;
4576 char *_kwnames[] = { "self","rect","sizeFlags", NULL };
4577
4578 self = self;
4579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxWindow_SetRect",_kwnames,&_argo0,&_obj1,&_arg2))
4580 return NULL;
4581 if (_argo0) {
4582 if (_argo0 == Py_None) { _arg0 = NULL; }
4583 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4584 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetRect. Expected _wxWindow_p.");
4585 return NULL;
4586 }
4587 }
4588{
4589 _arg1 = &temp;
4590 if (! wxRect_helper(_obj1, &_arg1))
4591 return NULL;
4592}
4593{
4268f798 4594 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4595 wxWindow_SetRect(_arg0,*_arg1,_arg2);
dbbb98cd 4596
4268f798 4597 wxPyEndAllowThreads(__tstate);
493f1553 4598 if (PyErr_Occurred()) return NULL;
dbbb98cd
RD
4599} Py_INCREF(Py_None);
4600 _resultobj = Py_None;
4601 return _resultobj;
4602}
4603
8ab979d7 4604#define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
efc5f224 4605static PyObject *_wrap_wxWindow_SetSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4606 PyObject * _resultobj;
4607 wxWindow * _arg0;
2a74d141
RD
4608 int _arg1;
4609 int _arg2;
1d99702e
RD
4610 int _arg3 = (int ) -1;
4611 int _arg4 = (int ) -1;
4612 int _arg5 = (int ) -1;
4613 int _arg6 = (int ) -1;
4614 PyObject * _argo0 = 0;
efc5f224 4615 char *_kwnames[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL };
8ab979d7
RD
4616
4617 self = self;
2a74d141 4618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|iiii:wxWindow_SetSizeHints",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6))
8ab979d7 4619 return NULL;
1d99702e
RD
4620 if (_argo0) {
4621 if (_argo0 == Py_None) { _arg0 = NULL; }
4622 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4623 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
4624 return NULL;
4625 }
4626 }
cf694132 4627{
4268f798 4628 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4629 wxWindow_SetSizeHints(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
cf694132 4630
4268f798 4631 wxPyEndAllowThreads(__tstate);
493f1553 4632 if (PyErr_Occurred()) return NULL;
cf694132 4633} Py_INCREF(Py_None);
8ab979d7
RD
4634 _resultobj = Py_None;
4635 return _resultobj;
4636}
4637
2a74d141
RD
4638#define wxWindow_SetVirtualSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetVirtualSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4639static PyObject *_wrap_wxWindow_SetVirtualSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
4640 PyObject * _resultobj;
4641 wxWindow * _arg0;
4642 int _arg1;
4643 int _arg2;
4644 int _arg3 = (int ) -1;
4645 int _arg4 = (int ) -1;
4646 PyObject * _argo0 = 0;
4647 char *_kwnames[] = { "self","minW","minH","maxW","maxH", NULL };
4648
4649 self = self;
4650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|ii:wxWindow_SetVirtualSizeHints",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
4651 return NULL;
4652 if (_argo0) {
4653 if (_argo0 == Py_None) { _arg0 = NULL; }
4654 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4655 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetVirtualSizeHints. Expected _wxWindow_p.");
4656 return NULL;
4657 }
4658 }
4659{
4660 PyThreadState* __tstate = wxPyBeginAllowThreads();
4661 wxWindow_SetVirtualSizeHints(_arg0,_arg1,_arg2,_arg3,_arg4);
4662
4663 wxPyEndAllowThreads(__tstate);
4664 if (PyErr_Occurred()) return NULL;
4665} Py_INCREF(Py_None);
4666 _resultobj = Py_None;
4667 return _resultobj;
4668}
4669
4670#define wxWindow_SetVirtualSize(_swigobj,_swigarg0) (_swigobj->SetVirtualSize(_swigarg0))
4671static PyObject *_wrap_wxWindow_SetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4672 PyObject * _resultobj;
4673 wxWindow * _arg0;
4674 wxSize * _arg1;
4675 PyObject * _argo0 = 0;
4676 wxSize temp;
4677 PyObject * _obj1 = 0;
4678 char *_kwnames[] = { "self","size", NULL };
4679
4680 self = self;
4681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetVirtualSize",_kwnames,&_argo0,&_obj1))
4682 return NULL;
4683 if (_argo0) {
4684 if (_argo0 == Py_None) { _arg0 = NULL; }
4685 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4686 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetVirtualSize. Expected _wxWindow_p.");
4687 return NULL;
4688 }
4689 }
4690{
4691 _arg1 = &temp;
4692 if (! wxSize_helper(_obj1, &_arg1))
4693 return NULL;
4694}
4695{
4696 PyThreadState* __tstate = wxPyBeginAllowThreads();
4697 wxWindow_SetVirtualSize(_arg0,*_arg1);
4698
4699 wxPyEndAllowThreads(__tstate);
4700 if (PyErr_Occurred()) return NULL;
4701} Py_INCREF(Py_None);
4702 _resultobj = Py_None;
4703 return _resultobj;
4704}
4705
4706#define wxWindow_SetVirtualSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetVirtualSize(_swigarg0,_swigarg1))
4707static PyObject *_wrap_wxWindow_SetVirtualSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
4708 PyObject * _resultobj;
4709 wxWindow * _arg0;
4710 int _arg1;
4711 int _arg2;
4712 PyObject * _argo0 = 0;
4713 char *_kwnames[] = { "self","x","y", NULL };
4714
4715 self = self;
4716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxWindow_SetVirtualSizeWH",_kwnames,&_argo0,&_arg1,&_arg2))
4717 return NULL;
4718 if (_argo0) {
4719 if (_argo0 == Py_None) { _arg0 = NULL; }
4720 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4721 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetVirtualSizeWH. Expected _wxWindow_p.");
4722 return NULL;
4723 }
4724 }
4725{
4726 PyThreadState* __tstate = wxPyBeginAllowThreads();
4727 wxWindow_SetVirtualSizeWH(_arg0,_arg1,_arg2);
4728
4729 wxPyEndAllowThreads(__tstate);
4730 if (PyErr_Occurred()) return NULL;
4731} Py_INCREF(Py_None);
4732 _resultobj = Py_None;
4733 return _resultobj;
4734}
4735
4736#define wxWindow_GetVirtualSize(_swigobj) (_swigobj->GetVirtualSize())
4737static PyObject *_wrap_wxWindow_GetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4738 PyObject * _resultobj;
4739 wxSize * _result;
4740 wxWindow * _arg0;
4741 PyObject * _argo0 = 0;
4742 char *_kwnames[] = { "self", NULL };
4743 char _ptemp[128];
4744
4745 self = self;
4746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetVirtualSize",_kwnames,&_argo0))
4747 return NULL;
4748 if (_argo0) {
4749 if (_argo0 == Py_None) { _arg0 = NULL; }
4750 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4751 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetVirtualSize. Expected _wxWindow_p.");
4752 return NULL;
4753 }
4754 }
4755{
4756 PyThreadState* __tstate = wxPyBeginAllowThreads();
4757 _result = new wxSize (wxWindow_GetVirtualSize(_arg0));
4758
4759 wxPyEndAllowThreads(__tstate);
4760 if (PyErr_Occurred()) return NULL;
4761} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
4762 _resultobj = Py_BuildValue("s",_ptemp);
4763 return _resultobj;
4764}
4765
4766#define wxWindow_GetVirtualSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
4767static PyObject *_wrap_wxWindow_GetVirtualSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4768 PyObject * _resultobj;
4769 wxWindow * _arg0;
4770 int * _arg1;
4771 int temp;
4772 int * _arg2;
4773 int temp0;
4774 PyObject * _argo0 = 0;
4775 char *_kwnames[] = { "self", NULL };
4776
4777 self = self;
4778{
4779 _arg1 = &temp;
4780}
4781{
4782 _arg2 = &temp0;
4783}
4784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetVirtualSizeTuple",_kwnames,&_argo0))
4785 return NULL;
4786 if (_argo0) {
4787 if (_argo0 == Py_None) { _arg0 = NULL; }
4788 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4789 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetVirtualSizeTuple. Expected _wxWindow_p.");
4790 return NULL;
4791 }
4792 }
4793{
4794 PyThreadState* __tstate = wxPyBeginAllowThreads();
4795 wxWindow_GetVirtualSizeTuple(_arg0,_arg1,_arg2);
4796
4797 wxPyEndAllowThreads(__tstate);
4798 if (PyErr_Occurred()) return NULL;
4799} Py_INCREF(Py_None);
4800 _resultobj = Py_None;
4801{
4802 PyObject *o;
4803 o = PyInt_FromLong((long) (*_arg1));
4804 _resultobj = t_output_helper(_resultobj, o);
4805}
4806{
4807 PyObject *o;
4808 o = PyInt_FromLong((long) (*_arg2));
4809 _resultobj = t_output_helper(_resultobj, o);
4810}
4811 return _resultobj;
4812}
4813
af309447 4814#define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
efc5f224 4815static PyObject *_wrap_wxWindow_SetClientSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4816 PyObject * _resultobj;
4817 wxWindow * _arg0;
4818 int _arg1;
4819 int _arg2;
1d99702e 4820 PyObject * _argo0 = 0;
efc5f224 4821 char *_kwnames[] = { "self","width","height", NULL };
8ab979d7
RD
4822
4823 self = self;
efc5f224 4824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxWindow_SetClientSizeWH",_kwnames,&_argo0,&_arg1,&_arg2))
af309447 4825 return NULL;
1d99702e
RD
4826 if (_argo0) {
4827 if (_argo0 == Py_None) { _arg0 = NULL; }
4828 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
af309447
RD
4829 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
4830 return NULL;
4831 }
4832 }
cf694132 4833{
4268f798 4834 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4835 wxWindow_SetClientSizeWH(_arg0,_arg1,_arg2);
cf694132 4836
4268f798 4837 wxPyEndAllowThreads(__tstate);
493f1553 4838 if (PyErr_Occurred()) return NULL;
cf694132 4839} Py_INCREF(Py_None);
af309447
RD
4840 _resultobj = Py_None;
4841 return _resultobj;
4842}
4843
4844#define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
efc5f224 4845static PyObject *_wrap_wxWindow_SetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
4846 PyObject * _resultobj;
4847 wxWindow * _arg0;
4848 wxSize * _arg1;
1d99702e 4849 PyObject * _argo0 = 0;
2f90df85
RD
4850 wxSize temp;
4851 PyObject * _obj1 = 0;
efc5f224 4852 char *_kwnames[] = { "self","size", NULL };
af309447
RD
4853
4854 self = self;
2f90df85 4855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetClientSize",_kwnames,&_argo0,&_obj1))
8ab979d7 4856 return NULL;
1d99702e
RD
4857 if (_argo0) {
4858 if (_argo0 == Py_None) { _arg0 = NULL; }
4859 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4860 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
4861 return NULL;
4862 }
4863 }
2f90df85
RD
4864{
4865 _arg1 = &temp;
4866 if (! wxSize_helper(_obj1, &_arg1))
af309447 4867 return NULL;
2f90df85 4868}
cf694132 4869{
4268f798 4870 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4871 wxWindow_SetClientSize(_arg0,*_arg1);
cf694132 4872
4268f798 4873 wxPyEndAllowThreads(__tstate);
493f1553 4874 if (PyErr_Occurred()) return NULL;
cf694132 4875} Py_INCREF(Py_None);
8ab979d7
RD
4876 _resultobj = Py_None;
4877 return _resultobj;
4878}
4879
4880#define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
efc5f224 4881static PyObject *_wrap_wxWindow_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4882 PyObject * _resultobj;
e67409dc 4883 bool _result;
8ab979d7
RD
4884 wxWindow * _arg0;
4885 wxCursor * _arg1;
1d99702e
RD
4886 PyObject * _argo0 = 0;
4887 PyObject * _argo1 = 0;
efc5f224 4888 char *_kwnames[] = { "self","cursor", NULL };
8ab979d7
RD
4889
4890 self = self;
efc5f224 4891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetCursor",_kwnames,&_argo0,&_argo1))
8ab979d7 4892 return NULL;
1d99702e
RD
4893 if (_argo0) {
4894 if (_argo0 == Py_None) { _arg0 = NULL; }
4895 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4896 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
4897 return NULL;
4898 }
4899 }
1d99702e
RD
4900 if (_argo1) {
4901 if (_argo1 == Py_None) { _arg1 = NULL; }
4902 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCursor_p")) {
8ab979d7
RD
4903 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
4904 return NULL;
4905 }
4906 }
cf694132 4907{
4268f798 4908 PyThreadState* __tstate = wxPyBeginAllowThreads();
e67409dc 4909 _result = (bool )wxWindow_SetCursor(_arg0,*_arg1);
cf694132 4910
4268f798 4911 wxPyEndAllowThreads(__tstate);
493f1553 4912 if (PyErr_Occurred()) return NULL;
e67409dc
RD
4913} _resultobj = Py_BuildValue("i",_result);
4914 return _resultobj;
4915}
4916
4917#define wxWindow_GetCursor(_swigobj) (_swigobj->GetCursor())
4918static PyObject *_wrap_wxWindow_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4919 PyObject * _resultobj;
4920 wxCursor * _result;
4921 wxWindow * _arg0;
4922 PyObject * _argo0 = 0;
4923 char *_kwnames[] = { "self", NULL };
4924 char _ptemp[128];
4925
4926 self = self;
4927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetCursor",_kwnames,&_argo0))
4928 return NULL;
4929 if (_argo0) {
4930 if (_argo0 == Py_None) { _arg0 = NULL; }
4931 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4932 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetCursor. Expected _wxWindow_p.");
4933 return NULL;
4934 }
4935 }
4936{
4937 PyThreadState* __tstate = wxPyBeginAllowThreads();
4938 wxCursor & _result_ref = wxWindow_GetCursor(_arg0);
4939 _result = (wxCursor *) &_result_ref;
4940
4941 wxPyEndAllowThreads(__tstate);
4942 if (PyErr_Occurred()) return NULL;
4943} if (_result) {
4944 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCursor_p");
4945 _resultobj = Py_BuildValue("s",_ptemp);
4946 } else {
4947 Py_INCREF(Py_None);
4948 _resultobj = Py_None;
4949 }
8ab979d7
RD
4950 return _resultobj;
4951}
4952
1afc06c2
RD
4953#define wxWindow_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
4954static PyObject *_wrap_wxWindow_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
4955 PyObject * _resultobj;
4956 wxWindow * _arg0;
4957 wxEvtHandler * _arg1;
4958 PyObject * _argo0 = 0;
4959 PyObject * _argo1 = 0;
4960 char *_kwnames[] = { "self","handler", NULL };
4961
4962 self = self;
4963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetEventHandler",_kwnames,&_argo0,&_argo1))
4964 return NULL;
4965 if (_argo0) {
4966 if (_argo0 == Py_None) { _arg0 = NULL; }
4967 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4968 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetEventHandler. Expected _wxWindow_p.");
4969 return NULL;
4970 }
4971 }
4972 if (_argo1) {
4973 if (_argo1 == Py_None) { _arg1 = NULL; }
4974 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
4975 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetEventHandler. Expected _wxEvtHandler_p.");
4976 return NULL;
4977 }
4978 }
4979{
4268f798 4980 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4981 wxWindow_SetEventHandler(_arg0,_arg1);
1afc06c2 4982
4268f798 4983 wxPyEndAllowThreads(__tstate);
493f1553 4984 if (PyErr_Occurred()) return NULL;
1afc06c2
RD
4985} Py_INCREF(Py_None);
4986 _resultobj = Py_None;
4987 return _resultobj;
4988}
4989
83b18bab
RD
4990#define wxWindow_SetExtraStyle(_swigobj,_swigarg0) (_swigobj->SetExtraStyle(_swigarg0))
4991static PyObject *_wrap_wxWindow_SetExtraStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4992 PyObject * _resultobj;
4993 wxWindow * _arg0;
4994 long _arg1;
4995 PyObject * _argo0 = 0;
4996 char *_kwnames[] = { "self","exStyle", NULL };
4997
4998 self = self;
4999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxWindow_SetExtraStyle",_kwnames,&_argo0,&_arg1))
5000 return NULL;
5001 if (_argo0) {
5002 if (_argo0 == Py_None) { _arg0 = NULL; }
5003 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5004 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetExtraStyle. Expected _wxWindow_p.");
5005 return NULL;
5006 }
5007 }
5008{
4268f798 5009 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5010 wxWindow_SetExtraStyle(_arg0,_arg1);
83b18bab 5011
4268f798 5012 wxPyEndAllowThreads(__tstate);
493f1553 5013 if (PyErr_Occurred()) return NULL;
83b18bab
RD
5014} Py_INCREF(Py_None);
5015 _resultobj = Py_None;
5016 return _resultobj;
5017}
5018
8ab979d7 5019#define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
efc5f224 5020static PyObject *_wrap_wxWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5021 PyObject * _resultobj;
5022 wxWindow * _arg0;
5023 wxString * _arg1;
1d99702e 5024 PyObject * _argo0 = 0;
8ab979d7 5025 PyObject * _obj1 = 0;
efc5f224 5026 char *_kwnames[] = { "self","title", NULL };
8ab979d7
RD
5027
5028 self = self;
efc5f224 5029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetTitle",_kwnames,&_argo0,&_obj1))
8ab979d7 5030 return NULL;
1d99702e
RD
5031 if (_argo0) {
5032 if (_argo0 == Py_None) { _arg0 = NULL; }
5033 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
5034 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
5035 return NULL;
5036 }
5037 }
5038{
c8bc7bb8
RD
5039 _arg1 = wxString_in_helper(_obj1);
5040 if (_arg1 == NULL)
185d7c3e 5041 return NULL;
8ab979d7 5042}
cf694132 5043{
4268f798 5044 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5045 wxWindow_SetTitle(_arg0,*_arg1);
cf694132 5046
4268f798 5047 wxPyEndAllowThreads(__tstate);
493f1553 5048 if (PyErr_Occurred()) return NULL;
cf694132 5049} Py_INCREF(Py_None);
8ab979d7
RD
5050 _resultobj = Py_None;
5051{
5052 if (_obj1)
5053 delete _arg1;
5054}
5055 return _resultobj;
5056}
5057
5058#define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
efc5f224 5059static PyObject *_wrap_wxWindow_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5060 PyObject * _resultobj;
5061 bool _result;
5062 wxWindow * _arg0;
7b7ac0ab 5063 bool _arg1 = (bool ) TRUE;
1d99702e 5064 PyObject * _argo0 = 0;
7b7ac0ab 5065 int tempbool1 = (int) TRUE;
efc5f224 5066 char *_kwnames[] = { "self","show", NULL };
8ab979d7
RD
5067
5068 self = self;
7b7ac0ab 5069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_Show",_kwnames,&_argo0,&tempbool1))
8ab979d7 5070 return NULL;
1d99702e
RD
5071 if (_argo0) {
5072 if (_argo0 == Py_None) { _arg0 = NULL; }
5073 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
5074 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
5075 return NULL;
5076 }
5077 }
5078 _arg1 = (bool ) tempbool1;
cf694132 5079{
4268f798 5080 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5081 _result = (bool )wxWindow_Show(_arg0,_arg1);
cf694132 5082
4268f798 5083 wxPyEndAllowThreads(__tstate);
493f1553 5084 if (PyErr_Occurred()) return NULL;
cf694132 5085} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5086 return _resultobj;
5087}
5088
5089#define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
efc5f224 5090static PyObject *_wrap_wxWindow_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5091 PyObject * _resultobj;
5092 bool _result;
5093 wxWindow * _arg0;
1d99702e 5094 PyObject * _argo0 = 0;
efc5f224 5095 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5096
5097 self = self;
efc5f224 5098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_TransferDataFromWindow",_kwnames,&_argo0))
8ab979d7 5099 return NULL;
1d99702e
RD
5100 if (_argo0) {
5101 if (_argo0 == Py_None) { _arg0 = NULL; }
5102 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
5103 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
5104 return NULL;
5105 }
5106 }
cf694132 5107{
4268f798 5108 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5109 _result = (bool )wxWindow_TransferDataFromWindow(_arg0);
cf694132 5110
4268f798 5111 wxPyEndAllowThreads(__tstate);
493f1553 5112 if (PyErr_Occurred()) return NULL;
cf694132 5113} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5114 return _resultobj;
5115}
5116
5117#define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
efc5f224 5118static PyObject *_wrap_wxWindow_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5119 PyObject * _resultobj;
5120 bool _result;
5121 wxWindow * _arg0;
1d99702e 5122 PyObject * _argo0 = 0;
efc5f224 5123 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5124
5125 self = self;
efc5f224 5126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_TransferDataToWindow",_kwnames,&_argo0))
8ab979d7 5127 return NULL;
1d99702e
RD
5128 if (_argo0) {
5129 if (_argo0 == Py_None) { _arg0 = NULL; }
5130 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
5131 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
5132 return NULL;
5133 }
5134 }
cf694132 5135{
4268f798 5136 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5137 _result = (bool )wxWindow_TransferDataToWindow(_arg0);
cf694132 5138
4268f798 5139 wxPyEndAllowThreads(__tstate);
493f1553 5140 if (PyErr_Occurred()) return NULL;
cf694132 5141} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5142 return _resultobj;
5143}
5144
23bed520
RD
5145#define wxWindow_UpdateWindowUI(_swigobj) (_swigobj->UpdateWindowUI())
5146static PyObject *_wrap_wxWindow_UpdateWindowUI(PyObject *self, PyObject *args, PyObject *kwargs) {
5147 PyObject * _resultobj;
5148 wxWindow * _arg0;
5149 PyObject * _argo0 = 0;
5150 char *_kwnames[] = { "self", NULL };
5151
5152 self = self;
5153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_UpdateWindowUI",_kwnames,&_argo0))
5154 return NULL;
5155 if (_argo0) {
5156 if (_argo0 == Py_None) { _arg0 = NULL; }
5157 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5158 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_UpdateWindowUI. Expected _wxWindow_p.");
5159 return NULL;
5160 }
5161 }
5162{
5163 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5164 wxWindow_UpdateWindowUI(_arg0);
23bed520
RD
5165
5166 wxPyEndAllowThreads(__tstate);
5167 if (PyErr_Occurred()) return NULL;
5168} Py_INCREF(Py_None);
5169 _resultobj = Py_None;
5170 return _resultobj;
5171}
5172
8ab979d7 5173#define wxWindow_Validate(_swigobj) (_swigobj->Validate())
efc5f224 5174static PyObject *_wrap_wxWindow_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5175 PyObject * _resultobj;
5176 bool _result;
5177 wxWindow * _arg0;
1d99702e 5178 PyObject * _argo0 = 0;
efc5f224 5179 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5180
5181 self = self;
efc5f224 5182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Validate",_kwnames,&_argo0))
8ab979d7 5183 return NULL;
1d99702e
RD
5184 if (_argo0) {
5185 if (_argo0 == Py_None) { _arg0 = NULL; }
5186 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
5187 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
5188 return NULL;
5189 }
5190 }
cf694132 5191{
4268f798 5192 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5193 _result = (bool )wxWindow_Validate(_arg0);
cf694132 5194
4268f798 5195 wxPyEndAllowThreads(__tstate);
493f1553 5196 if (PyErr_Occurred()) return NULL;
cf694132 5197} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5198 return _resultobj;
5199}
5200
b8b8dda7 5201#define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
efc5f224 5202static PyObject *_wrap_wxWindow_ConvertDialogPointToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
5203 PyObject * _resultobj;
5204 wxPoint * _result;
5205 wxWindow * _arg0;
5206 wxPoint * _arg1;
1d99702e 5207 PyObject * _argo0 = 0;
2f90df85
RD
5208 wxPoint temp;
5209 PyObject * _obj1 = 0;
efc5f224 5210 char *_kwnames[] = { "self","pt", NULL };
b8b8dda7
RD
5211 char _ptemp[128];
5212
5213 self = self;
2f90df85 5214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames,&_argo0,&_obj1))
b8b8dda7 5215 return NULL;
1d99702e
RD
5216 if (_argo0) {
5217 if (_argo0 == Py_None) { _arg0 = NULL; }
5218 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b8b8dda7
RD
5219 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
5220 return NULL;
5221 }
5222 }
2f90df85
RD
5223{
5224 _arg1 = &temp;
5225 if (! wxPoint_helper(_obj1, &_arg1))
b8b8dda7 5226 return NULL;
2f90df85 5227}
cf694132 5228{
4268f798 5229 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5230 _result = new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0,*_arg1));
cf694132 5231
4268f798 5232 wxPyEndAllowThreads(__tstate);
493f1553 5233 if (PyErr_Occurred()) return NULL;
cf694132 5234} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
b8b8dda7
RD
5235 _resultobj = Py_BuildValue("s",_ptemp);
5236 return _resultobj;
5237}
5238
5239#define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
efc5f224 5240static PyObject *_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
5241 PyObject * _resultobj;
5242 wxSize * _result;
5243 wxWindow * _arg0;
5244 wxSize * _arg1;
1d99702e 5245 PyObject * _argo0 = 0;
2f90df85
RD
5246 wxSize temp;
5247 PyObject * _obj1 = 0;
efc5f224 5248 char *_kwnames[] = { "self","sz", NULL };
b8b8dda7
RD
5249 char _ptemp[128];
5250
5251 self = self;
2f90df85 5252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames,&_argo0,&_obj1))
b8b8dda7 5253 return NULL;
1d99702e
RD
5254 if (_argo0) {
5255 if (_argo0 == Py_None) { _arg0 = NULL; }
5256 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b8b8dda7
RD
5257 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
5258 return NULL;
5259 }
5260 }
2f90df85
RD
5261{
5262 _arg1 = &temp;
5263 if (! wxSize_helper(_obj1, &_arg1))
b8b8dda7 5264 return NULL;
2f90df85 5265}
cf694132 5266{
4268f798 5267 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5268 _result = new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0,*_arg1));
cf694132 5269
4268f798 5270 wxPyEndAllowThreads(__tstate);
493f1553 5271 if (PyErr_Occurred()) return NULL;
cf694132 5272} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
b8b8dda7
RD
5273 _resultobj = Py_BuildValue("s",_ptemp);
5274 return _resultobj;
5275}
5276
5277#define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
efc5f224 5278static PyObject *_wrap_wxWindow_ConvertPixelPointToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
5279 PyObject * _resultobj;
5280 wxPoint * _result;
5281 wxWindow * _arg0;
5282 wxPoint * _arg1;
1d99702e 5283 PyObject * _argo0 = 0;
2f90df85
RD
5284 wxPoint temp;
5285 PyObject * _obj1 = 0;
efc5f224 5286 char *_kwnames[] = { "self","pt", NULL };
b8b8dda7
RD
5287 char _ptemp[128];
5288
5289 self = self;
2f90df85 5290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames,&_argo0,&_obj1))
b8b8dda7 5291 return NULL;
1d99702e
RD
5292 if (_argo0) {
5293 if (_argo0 == Py_None) { _arg0 = NULL; }
5294 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b8b8dda7
RD
5295 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
5296 return NULL;
5297 }
5298 }
2f90df85
RD
5299{
5300 _arg1 = &temp;
5301 if (! wxPoint_helper(_obj1, &_arg1))
b8b8dda7 5302 return NULL;
2f90df85 5303}
cf694132 5304{
4268f798 5305 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5306 _result = new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0,*_arg1));
cf694132 5307
4268f798 5308 wxPyEndAllowThreads(__tstate);
493f1553 5309 if (PyErr_Occurred()) return NULL;
cf694132 5310} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
b8b8dda7
RD
5311 _resultobj = Py_BuildValue("s",_ptemp);
5312 return _resultobj;
5313}
5314
5315#define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
efc5f224 5316static PyObject *_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
5317 PyObject * _resultobj;
5318 wxSize * _result;
5319 wxWindow * _arg0;
5320 wxSize * _arg1;
1d99702e 5321 PyObject * _argo0 = 0;
2f90df85
RD
5322 wxSize temp;
5323 PyObject * _obj1 = 0;
efc5f224 5324 char *_kwnames[] = { "self","sz", NULL };
b8b8dda7
RD
5325 char _ptemp[128];
5326
5327 self = self;
2f90df85 5328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames,&_argo0,&_obj1))
b8b8dda7 5329 return NULL;
1d99702e
RD
5330 if (_argo0) {
5331 if (_argo0 == Py_None) { _arg0 = NULL; }
5332 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b8b8dda7
RD
5333 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
5334 return NULL;
5335 }
5336 }
2f90df85
RD
5337{
5338 _arg1 = &temp;
5339 if (! wxSize_helper(_obj1, &_arg1))
b8b8dda7 5340 return NULL;
2f90df85 5341}
cf694132 5342{
4268f798 5343 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5344 _result = new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0,*_arg1));
cf694132 5345
4268f798 5346 wxPyEndAllowThreads(__tstate);
493f1553 5347 if (PyErr_Occurred()) return NULL;
cf694132 5348} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
b8b8dda7
RD
5349 _resultobj = Py_BuildValue("s",_ptemp);
5350 return _resultobj;
5351}
5352
af309447 5353#define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
efc5f224 5354static PyObject *_wrap_wxWindow_SetToolTipString(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
5355 PyObject * _resultobj;
5356 wxWindow * _arg0;
5357 wxString * _arg1;
1d99702e 5358 PyObject * _argo0 = 0;
af309447 5359 PyObject * _obj1 = 0;
efc5f224 5360 char *_kwnames[] = { "self","tip", NULL };
af309447
RD
5361
5362 self = self;
efc5f224 5363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetToolTipString",_kwnames,&_argo0,&_obj1))
af309447 5364 return NULL;
1d99702e
RD
5365 if (_argo0) {
5366 if (_argo0 == Py_None) { _arg0 = NULL; }
5367 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
af309447
RD
5368 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
5369 return NULL;
5370 }
5371 }
5372{
c8bc7bb8
RD
5373 _arg1 = wxString_in_helper(_obj1);
5374 if (_arg1 == NULL)
185d7c3e 5375 return NULL;
af309447 5376}
cf694132 5377{
4268f798 5378 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5379 wxWindow_SetToolTipString(_arg0,*_arg1);
cf694132 5380
4268f798 5381 wxPyEndAllowThreads(__tstate);
493f1553 5382 if (PyErr_Occurred()) return NULL;
cf694132 5383} Py_INCREF(Py_None);
af309447
RD
5384 _resultobj = Py_None;
5385{
5386 if (_obj1)
5387 delete _arg1;
5388}
5389 return _resultobj;
5390}
5391
5392#define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
efc5f224 5393static PyObject *_wrap_wxWindow_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
5394 PyObject * _resultobj;
5395 wxWindow * _arg0;
5396 wxToolTip * _arg1;
1d99702e
RD
5397 PyObject * _argo0 = 0;
5398 PyObject * _argo1 = 0;
efc5f224 5399 char *_kwnames[] = { "self","tooltip", NULL };
af309447
RD
5400
5401 self = self;
efc5f224 5402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetToolTip",_kwnames,&_argo0,&_argo1))
af309447 5403 return NULL;
1d99702e
RD
5404 if (_argo0) {
5405 if (_argo0 == Py_None) { _arg0 = NULL; }
5406 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
af309447
RD
5407 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
5408 return NULL;
5409 }
5410 }
1d99702e
RD
5411 if (_argo1) {
5412 if (_argo1 == Py_None) { _arg1 = NULL; }
5413 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxToolTip_p")) {
af309447
RD
5414 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
5415 return NULL;
5416 }
5417 }
cf694132 5418{
4268f798 5419 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5420 wxWindow_SetToolTip(_arg0,_arg1);
cf694132 5421
4268f798 5422 wxPyEndAllowThreads(__tstate);
493f1553 5423 if (PyErr_Occurred()) return NULL;
cf694132 5424} Py_INCREF(Py_None);
af309447
RD
5425 _resultobj = Py_None;
5426 return _resultobj;
5427}
5428
5429#define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
efc5f224 5430static PyObject *_wrap_wxWindow_GetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
5431 PyObject * _resultobj;
5432 wxToolTip * _result;
5433 wxWindow * _arg0;
1d99702e 5434 PyObject * _argo0 = 0;
efc5f224 5435 char *_kwnames[] = { "self", NULL };
af309447
RD
5436
5437 self = self;
efc5f224 5438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetToolTip",_kwnames,&_argo0))
af309447 5439 return NULL;
1d99702e
RD
5440 if (_argo0) {
5441 if (_argo0 == Py_None) { _arg0 = NULL; }
5442 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
af309447
RD
5443 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
5444 return NULL;
5445 }
5446 }
cf694132 5447{
4268f798 5448 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5449 _result = (wxToolTip *)wxWindow_GetToolTip(_arg0);
cf694132 5450
4268f798 5451 wxPyEndAllowThreads(__tstate);
493f1553 5452 if (PyErr_Occurred()) return NULL;
9416aa89 5453}{ _resultobj = wxPyMake_wxObject(_result); }
af309447
RD
5454 return _resultobj;
5455}
5456
a541c325 5457#define wxWindow_SetSizer(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSizer(_swigarg0,_swigarg1))
2f90df85
RD
5458static PyObject *_wrap_wxWindow_SetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
5459 PyObject * _resultobj;
5460 wxWindow * _arg0;
5461 wxSizer * _arg1;
a541c325 5462 bool _arg2 = (bool ) TRUE;
2f90df85
RD
5463 PyObject * _argo0 = 0;
5464 PyObject * _argo1 = 0;
a541c325
RD
5465 int tempbool2 = (int) TRUE;
5466 char *_kwnames[] = { "self","sizer","deleteOld", NULL };
2f90df85
RD
5467
5468 self = self;
a541c325 5469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxWindow_SetSizer",_kwnames,&_argo0,&_argo1,&tempbool2))
2f90df85
RD
5470 return NULL;
5471 if (_argo0) {
5472 if (_argo0 == Py_None) { _arg0 = NULL; }
5473 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5474 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetSizer. Expected _wxWindow_p.");
5475 return NULL;
5476 }
5477 }
5478 if (_argo1) {
5479 if (_argo1 == Py_None) { _arg1 = NULL; }
5480 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSizer_p")) {
5481 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetSizer. Expected _wxSizer_p.");
5482 return NULL;
5483 }
5484 }
a541c325 5485 _arg2 = (bool ) tempbool2;
2f90df85 5486{
4268f798 5487 PyThreadState* __tstate = wxPyBeginAllowThreads();
a541c325 5488 wxWindow_SetSizer(_arg0,_arg1,_arg2);
2f90df85 5489
4268f798 5490 wxPyEndAllowThreads(__tstate);
493f1553 5491 if (PyErr_Occurred()) return NULL;
2f90df85
RD
5492} Py_INCREF(Py_None);
5493 _resultobj = Py_None;
5494 return _resultobj;
5495}
5496
2a74d141
RD
5497#define wxWindow_SetSizerAndFit(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSizerAndFit(_swigarg0,_swigarg1))
5498static PyObject *_wrap_wxWindow_SetSizerAndFit(PyObject *self, PyObject *args, PyObject *kwargs) {
5499 PyObject * _resultobj;
5500 wxWindow * _arg0;
5501 wxSizer * _arg1;
5502 bool _arg2 = (bool ) TRUE;
5503 PyObject * _argo0 = 0;
5504 PyObject * _argo1 = 0;
5505 int tempbool2 = (int) TRUE;
5506 char *_kwnames[] = { "self","sizer","deleteOld", NULL };
5507
5508 self = self;
5509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxWindow_SetSizerAndFit",_kwnames,&_argo0,&_argo1,&tempbool2))
5510 return NULL;
5511 if (_argo0) {
5512 if (_argo0 == Py_None) { _arg0 = NULL; }
5513 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5514 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetSizerAndFit. Expected _wxWindow_p.");
5515 return NULL;
5516 }
5517 }
5518 if (_argo1) {
5519 if (_argo1 == Py_None) { _arg1 = NULL; }
5520 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSizer_p")) {
5521 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetSizerAndFit. Expected _wxSizer_p.");
5522 return NULL;
5523 }
5524 }
5525 _arg2 = (bool ) tempbool2;
5526{
5527 PyThreadState* __tstate = wxPyBeginAllowThreads();
5528 wxWindow_SetSizerAndFit(_arg0,_arg1,_arg2);
5529
5530 wxPyEndAllowThreads(__tstate);
5531 if (PyErr_Occurred()) return NULL;
5532} Py_INCREF(Py_None);
5533 _resultobj = Py_None;
5534 return _resultobj;
5535}
5536
f6bcfd97
BP
5537#define wxWindow_GetSizer(_swigobj) (_swigobj->GetSizer())
5538static PyObject *_wrap_wxWindow_GetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
5539 PyObject * _resultobj;
5540 wxSizer * _result;
5541 wxWindow * _arg0;
5542 PyObject * _argo0 = 0;
5543 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
5544
5545 self = self;
5546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetSizer",_kwnames,&_argo0))
5547 return NULL;
5548 if (_argo0) {
5549 if (_argo0 == Py_None) { _arg0 = NULL; }
5550 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5551 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetSizer. Expected _wxWindow_p.");
5552 return NULL;
5553 }
5554 }
5555{
4268f798 5556 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5557 _result = (wxSizer *)wxWindow_GetSizer(_arg0);
f6bcfd97 5558
4268f798 5559 wxPyEndAllowThreads(__tstate);
493f1553 5560 if (PyErr_Occurred()) return NULL;
2f4e9287 5561}{ _resultobj = wxPyMake_wxSizer(_result); }
f6bcfd97
BP
5562 return _resultobj;
5563}
5564
be90c029
RD
5565#define wxWindow_SetContainingSizer(_swigobj,_swigarg0) (_swigobj->SetContainingSizer(_swigarg0))
5566static PyObject *_wrap_wxWindow_SetContainingSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
5567 PyObject * _resultobj;
5568 wxWindow * _arg0;
5569 wxSizer * _arg1;
5570 PyObject * _argo0 = 0;
5571 PyObject * _argo1 = 0;
5572 char *_kwnames[] = { "self","sizer", NULL };
5573
5574 self = self;
5575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetContainingSizer",_kwnames,&_argo0,&_argo1))
5576 return NULL;
5577 if (_argo0) {
5578 if (_argo0 == Py_None) { _arg0 = NULL; }
5579 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5580 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetContainingSizer. Expected _wxWindow_p.");
5581 return NULL;
5582 }
5583 }
5584 if (_argo1) {
5585 if (_argo1 == Py_None) { _arg1 = NULL; }
5586 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSizer_p")) {
5587 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetContainingSizer. Expected _wxSizer_p.");
5588 return NULL;
5589 }
5590 }
5591{
5592 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5593 wxWindow_SetContainingSizer(_arg0,_arg1);
be90c029
RD
5594
5595 wxPyEndAllowThreads(__tstate);
5596 if (PyErr_Occurred()) return NULL;
5597} Py_INCREF(Py_None);
5598 _resultobj = Py_None;
5599 return _resultobj;
5600}
5601
5602#define wxWindow_GetContainingSizer(_swigobj) (_swigobj->GetContainingSizer())
5603static PyObject *_wrap_wxWindow_GetContainingSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
5604 PyObject * _resultobj;
5605 wxSizer * _result;
5606 wxWindow * _arg0;
5607 PyObject * _argo0 = 0;
5608 char *_kwnames[] = { "self", NULL };
5609
5610 self = self;
5611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetContainingSizer",_kwnames,&_argo0))
5612 return NULL;
5613 if (_argo0) {
5614 if (_argo0 == Py_None) { _arg0 = NULL; }
5615 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5616 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetContainingSizer. Expected _wxWindow_p.");
5617 return NULL;
5618 }
5619 }
5620{
5621 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5622 _result = (wxSizer *)wxWindow_GetContainingSizer(_arg0);
be90c029
RD
5623
5624 wxPyEndAllowThreads(__tstate);
5625 if (PyErr_Occurred()) return NULL;
5626}{ _resultobj = wxPyMake_wxSizer(_result); }
5627 return _resultobj;
5628}
5629
2f90df85
RD
5630#define wxWindow_GetValidator(_swigobj) (_swigobj->GetValidator())
5631static PyObject *_wrap_wxWindow_GetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
5632 PyObject * _resultobj;
5633 wxValidator * _result;
5634 wxWindow * _arg0;
5635 PyObject * _argo0 = 0;
5636 char *_kwnames[] = { "self", NULL };
2f90df85
RD
5637
5638 self = self;
5639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetValidator",_kwnames,&_argo0))
5640 return NULL;
5641 if (_argo0) {
5642 if (_argo0 == Py_None) { _arg0 = NULL; }
5643 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5644 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetValidator. Expected _wxWindow_p.");
5645 return NULL;
5646 }
5647 }
5648{
4268f798 5649 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5650 _result = (wxValidator *)wxWindow_GetValidator(_arg0);
2f90df85 5651
4268f798 5652 wxPyEndAllowThreads(__tstate);
493f1553 5653 if (PyErr_Occurred()) return NULL;
9416aa89 5654}{ _resultobj = wxPyMake_wxObject(_result); }
2f90df85
RD
5655 return _resultobj;
5656}
5657
5658#define wxWindow_SetValidator(_swigobj,_swigarg0) (_swigobj->SetValidator(_swigarg0))
5659static PyObject *_wrap_wxWindow_SetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
5660 PyObject * _resultobj;
5661 wxWindow * _arg0;
5662 wxValidator * _arg1;
5663 PyObject * _argo0 = 0;
5664 PyObject * _argo1 = 0;
5665 char *_kwnames[] = { "self","validator", NULL };
5666
5667 self = self;
5668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetValidator",_kwnames,&_argo0,&_argo1))
5669 return NULL;
5670 if (_argo0) {
5671 if (_argo0 == Py_None) { _arg0 = NULL; }
5672 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5673 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetValidator. Expected _wxWindow_p.");
5674 return NULL;
5675 }
5676 }
5677 if (_argo1) {
5678 if (_argo1 == Py_None) { _arg1 = NULL; }
5679 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxValidator_p")) {
5680 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetValidator. Expected _wxValidator_p.");
5681 return NULL;
5682 }
5683 }
5684{
4268f798 5685 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5686 wxWindow_SetValidator(_arg0,*_arg1);
2f90df85 5687
4268f798 5688 wxPyEndAllowThreads(__tstate);
493f1553 5689 if (PyErr_Occurred()) return NULL;
2f90df85
RD
5690} Py_INCREF(Py_None);
5691 _resultobj = Py_None;
5692 return _resultobj;
5693}
5694
b1462dfa
RD
5695#define wxWindow_SetDropTarget(_swigobj,_swigarg0) (_swigobj->SetDropTarget(_swigarg0))
5696static PyObject *_wrap_wxWindow_SetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
5697 PyObject * _resultobj;
5698 wxWindow * _arg0;
5699 wxDropTarget * _arg1;
5700 PyObject * _argo0 = 0;
5701 PyObject * _argo1 = 0;
5702 char *_kwnames[] = { "self","target", NULL };
5703
5704 self = self;
5705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetDropTarget",_kwnames,&_argo0,&_argo1))
5706 return NULL;
5707 if (_argo0) {
5708 if (_argo0 == Py_None) { _arg0 = NULL; }
5709 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5710 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetDropTarget. Expected _wxWindow_p.");
5711 return NULL;
5712 }
5713 }
5714 if (_argo1) {
5715 if (_argo1 == Py_None) { _arg1 = NULL; }
5716 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDropTarget_p")) {
5717 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetDropTarget. Expected _wxDropTarget_p.");
5718 return NULL;
5719 }
5720 }
5721{
4268f798 5722 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5723 wxWindow_SetDropTarget(_arg0,_arg1);
b1462dfa 5724
4268f798 5725 wxPyEndAllowThreads(__tstate);
493f1553 5726 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
5727} Py_INCREF(Py_None);
5728 _resultobj = Py_None;
5729 return _resultobj;
5730}
5731
5732#define wxWindow_GetDropTarget(_swigobj) (_swigobj->GetDropTarget())
5733static PyObject *_wrap_wxWindow_GetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
5734 PyObject * _resultobj;
5735 wxDropTarget * _result;
5736 wxWindow * _arg0;
5737 PyObject * _argo0 = 0;
5738 char *_kwnames[] = { "self", NULL };
5739 char _ptemp[128];
5740
5741 self = self;
5742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetDropTarget",_kwnames,&_argo0))
5743 return NULL;
5744 if (_argo0) {
5745 if (_argo0 == Py_None) { _arg0 = NULL; }
5746 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5747 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetDropTarget. Expected _wxWindow_p.");
5748 return NULL;
5749 }
5750 }
5751{
4268f798 5752 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5753 _result = (wxDropTarget *)wxWindow_GetDropTarget(_arg0);
b1462dfa 5754
4268f798 5755 wxPyEndAllowThreads(__tstate);
493f1553 5756 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
5757} if (_result) {
5758 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDropTarget_p");
5759 _resultobj = Py_BuildValue("s",_ptemp);
5760 } else {
5761 Py_INCREF(Py_None);
5762 _resultobj = Py_None;
5763 }
5764 return _resultobj;
5765}
5766
694759cf
RD
5767#define wxWindow_GetBestSize(_swigobj) (_swigobj->GetBestSize())
5768static PyObject *_wrap_wxWindow_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5769 PyObject * _resultobj;
5770 wxSize * _result;
5771 wxWindow * _arg0;
5772 PyObject * _argo0 = 0;
5773 char *_kwnames[] = { "self", NULL };
5774 char _ptemp[128];
5775
5776 self = self;
5777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetBestSize",_kwnames,&_argo0))
5778 return NULL;
5779 if (_argo0) {
5780 if (_argo0 == Py_None) { _arg0 = NULL; }
5781 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5782 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetBestSize. Expected _wxWindow_p.");
5783 return NULL;
5784 }
5785 }
5786{
4268f798 5787 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5788 _result = new wxSize (wxWindow_GetBestSize(_arg0));
694759cf 5789
4268f798 5790 wxPyEndAllowThreads(__tstate);
493f1553 5791 if (PyErr_Occurred()) return NULL;
694759cf
RD
5792} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
5793 _resultobj = Py_BuildValue("s",_ptemp);
5794 return _resultobj;
5795}
5796
a541c325
RD
5797#define wxWindow_GetMaxSize(_swigobj) (_swigobj->GetMaxSize())
5798static PyObject *_wrap_wxWindow_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5799 PyObject * _resultobj;
5800 wxSize * _result;
5801 wxWindow * _arg0;
5802 PyObject * _argo0 = 0;
5803 char *_kwnames[] = { "self", NULL };
5804 char _ptemp[128];
5805
5806 self = self;
5807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetMaxSize",_kwnames,&_argo0))
5808 return NULL;
5809 if (_argo0) {
5810 if (_argo0 == Py_None) { _arg0 = NULL; }
5811 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5812 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetMaxSize. Expected _wxWindow_p.");
5813 return NULL;
5814 }
5815 }
5816{
5817 PyThreadState* __tstate = wxPyBeginAllowThreads();
5818 _result = new wxSize (wxWindow_GetMaxSize(_arg0));
5819
5820 wxPyEndAllowThreads(__tstate);
5821 if (PyErr_Occurred()) return NULL;
5822} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
5823 _resultobj = Py_BuildValue("s",_ptemp);
5824 return _resultobj;
5825}
5826
a1df7a95
RD
5827#define wxWindow_SetCaret(_swigobj,_swigarg0) (_swigobj->SetCaret(_swigarg0))
5828static PyObject *_wrap_wxWindow_SetCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
5829 PyObject * _resultobj;
5830 wxWindow * _arg0;
5831 wxCaret * _arg1;
5832 PyObject * _argo0 = 0;
5833 PyObject * _argo1 = 0;
5834 char *_kwnames[] = { "self","caret", NULL };
5835
5836 self = self;
5837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetCaret",_kwnames,&_argo0,&_argo1))
5838 return NULL;
5839 if (_argo0) {
5840 if (_argo0 == Py_None) { _arg0 = NULL; }
5841 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5842 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetCaret. Expected _wxWindow_p.");
5843 return NULL;
5844 }
5845 }
5846 if (_argo1) {
5847 if (_argo1 == Py_None) { _arg1 = NULL; }
5848 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCaret_p")) {
5849 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetCaret. Expected _wxCaret_p.");
5850 return NULL;
5851 }
5852 }
5853{
4268f798 5854 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5855 wxWindow_SetCaret(_arg0,_arg1);
a1df7a95 5856
4268f798 5857 wxPyEndAllowThreads(__tstate);
493f1553 5858 if (PyErr_Occurred()) return NULL;
a1df7a95
RD
5859} Py_INCREF(Py_None);
5860 _resultobj = Py_None;
5861 return _resultobj;
5862}
5863
5864#define wxWindow_GetCaret(_swigobj) (_swigobj->GetCaret())
5865static PyObject *_wrap_wxWindow_GetCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
5866 PyObject * _resultobj;
5867 wxCaret * _result;
5868 wxWindow * _arg0;
5869 PyObject * _argo0 = 0;
5870 char *_kwnames[] = { "self", NULL };
5871 char _ptemp[128];
5872
5873 self = self;
5874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetCaret",_kwnames,&_argo0))
5875 return NULL;
5876 if (_argo0) {
5877 if (_argo0 == Py_None) { _arg0 = NULL; }
5878 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5879 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetCaret. Expected _wxWindow_p.");
5880 return NULL;
5881 }
5882 }
5883{
4268f798 5884 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5885 _result = (wxCaret *)wxWindow_GetCaret(_arg0);
a1df7a95 5886
4268f798 5887 wxPyEndAllowThreads(__tstate);
493f1553 5888 if (PyErr_Occurred()) return NULL;
a1df7a95
RD
5889} if (_result) {
5890 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCaret_p");
5891 _resultobj = Py_BuildValue("s",_ptemp);
5892 } else {
5893 Py_INCREF(Py_None);
5894 _resultobj = Py_None;
5895 }
5896 return _resultobj;
5897}
5898
3a0958b1
RD
5899#define wxWindow_Freeze(_swigobj) (_swigobj->Freeze())
5900static PyObject *_wrap_wxWindow_Freeze(PyObject *self, PyObject *args, PyObject *kwargs) {
5901 PyObject * _resultobj;
5902 wxWindow * _arg0;
5903 PyObject * _argo0 = 0;
5904 char *_kwnames[] = { "self", NULL };
5905
5906 self = self;
5907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Freeze",_kwnames,&_argo0))
5908 return NULL;
5909 if (_argo0) {
5910 if (_argo0 == Py_None) { _arg0 = NULL; }
5911 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5912 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Freeze. Expected _wxWindow_p.");
5913 return NULL;
5914 }
5915 }
5916{
4268f798 5917 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5918 wxWindow_Freeze(_arg0);
3a0958b1 5919
4268f798 5920 wxPyEndAllowThreads(__tstate);
3a0958b1
RD
5921 if (PyErr_Occurred()) return NULL;
5922} Py_INCREF(Py_None);
5923 _resultobj = Py_None;
5924 return _resultobj;
5925}
5926
5927#define wxWindow_Thaw(_swigobj) (_swigobj->Thaw())
5928static PyObject *_wrap_wxWindow_Thaw(PyObject *self, PyObject *args, PyObject *kwargs) {
5929 PyObject * _resultobj;
5930 wxWindow * _arg0;
5931 PyObject * _argo0 = 0;
5932 char *_kwnames[] = { "self", NULL };
5933
5934 self = self;
5935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Thaw",_kwnames,&_argo0))
5936 return NULL;
5937 if (_argo0) {
5938 if (_argo0 == Py_None) { _arg0 = NULL; }
5939 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5940 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Thaw. Expected _wxWindow_p.");
5941 return NULL;
5942 }
5943 }
5944{
4268f798 5945 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5946 wxWindow_Thaw(_arg0);
3a0958b1 5947
4268f798 5948 wxPyEndAllowThreads(__tstate);
3a0958b1
RD
5949 if (PyErr_Occurred()) return NULL;
5950} Py_INCREF(Py_None);
5951 _resultobj = Py_None;
5952 return _resultobj;
5953}
5954
09f3d4e6
RD
5955#define wxWindow_Update(_swigobj) (_swigobj->Update())
5956static PyObject *_wrap_wxWindow_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
5957 PyObject * _resultobj;
5958 wxWindow * _arg0;
5959 PyObject * _argo0 = 0;
5960 char *_kwnames[] = { "self", NULL };
5961
5962 self = self;
5963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Update",_kwnames,&_argo0))
5964 return NULL;
5965 if (_argo0) {
5966 if (_argo0 == Py_None) { _arg0 = NULL; }
5967 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5968 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Update. Expected _wxWindow_p.");
5969 return NULL;
5970 }
5971 }
5972{
4268f798 5973 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5974 wxWindow_Update(_arg0);
09f3d4e6 5975
4268f798 5976 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
5977 if (PyErr_Occurred()) return NULL;
5978} Py_INCREF(Py_None);
5979 _resultobj = Py_None;
5980 return _resultobj;
5981}
5982
4f3449b4
RD
5983#define wxWindow_GetHelpText(_swigobj) (_swigobj->GetHelpText())
5984static PyObject *_wrap_wxWindow_GetHelpText(PyObject *self, PyObject *args, PyObject *kwargs) {
5985 PyObject * _resultobj;
5986 wxString * _result;
5987 wxWindow * _arg0;
5988 PyObject * _argo0 = 0;
5989 char *_kwnames[] = { "self", NULL };
5990
5991 self = self;
5992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetHelpText",_kwnames,&_argo0))
5993 return NULL;
5994 if (_argo0) {
5995 if (_argo0 == Py_None) { _arg0 = NULL; }
5996 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5997 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetHelpText. Expected _wxWindow_p.");
5998 return NULL;
5999 }
6000 }
6001{
4268f798 6002 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6003 _result = new wxString (wxWindow_GetHelpText(_arg0));
4f3449b4 6004
4268f798 6005 wxPyEndAllowThreads(__tstate);
4f3449b4
RD
6006 if (PyErr_Occurred()) return NULL;
6007}{
c8bc7bb8
RD
6008#if wxUSE_UNICODE
6009 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
6010#else
4f3449b4 6011 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 6012#endif
4f3449b4
RD
6013}
6014{
6015 delete _result;
6016}
6017 return _resultobj;
6018}
6019
6020#define wxWindow_SetHelpText(_swigobj,_swigarg0) (_swigobj->SetHelpText(_swigarg0))
6021static PyObject *_wrap_wxWindow_SetHelpText(PyObject *self, PyObject *args, PyObject *kwargs) {
6022 PyObject * _resultobj;
6023 wxWindow * _arg0;
6024 wxString * _arg1;
6025 PyObject * _argo0 = 0;
6026 PyObject * _obj1 = 0;
6027 char *_kwnames[] = { "self","helpText", NULL };
6028
6029 self = self;
6030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetHelpText",_kwnames,&_argo0,&_obj1))
6031 return NULL;
6032 if (_argo0) {
6033 if (_argo0 == Py_None) { _arg0 = NULL; }
6034 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6035 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetHelpText. Expected _wxWindow_p.");
6036 return NULL;
6037 }
6038 }
6039{
c8bc7bb8
RD
6040 _arg1 = wxString_in_helper(_obj1);
6041 if (_arg1 == NULL)
4f3449b4 6042 return NULL;
4f3449b4
RD
6043}
6044{
4268f798 6045 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6046 wxWindow_SetHelpText(_arg0,*_arg1);
4f3449b4 6047
4268f798 6048 wxPyEndAllowThreads(__tstate);
4f3449b4
RD
6049 if (PyErr_Occurred()) return NULL;
6050} Py_INCREF(Py_None);
6051 _resultobj = Py_None;
6052{
6053 if (_obj1)
6054 delete _arg1;
6055}
6056 return _resultobj;
6057}
6058
23bed520
RD
6059#define wxWindow_SetHelpTextForId(_swigobj,_swigarg0) (_swigobj->SetHelpTextForId(_swigarg0))
6060static PyObject *_wrap_wxWindow_SetHelpTextForId(PyObject *self, PyObject *args, PyObject *kwargs) {
6061 PyObject * _resultobj;
6062 wxWindow * _arg0;
6063 wxString * _arg1;
6064 PyObject * _argo0 = 0;
6065 PyObject * _obj1 = 0;
6066 char *_kwnames[] = { "self","text", NULL };
6067
6068 self = self;
6069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetHelpTextForId",_kwnames,&_argo0,&_obj1))
6070 return NULL;
6071 if (_argo0) {
6072 if (_argo0 == Py_None) { _arg0 = NULL; }
6073 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6074 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetHelpTextForId. Expected _wxWindow_p.");
6075 return NULL;
6076 }
6077 }
6078{
c8bc7bb8
RD
6079 _arg1 = wxString_in_helper(_obj1);
6080 if (_arg1 == NULL)
23bed520 6081 return NULL;
23bed520
RD
6082}
6083{
6084 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6085 wxWindow_SetHelpTextForId(_arg0,*_arg1);
23bed520
RD
6086
6087 wxPyEndAllowThreads(__tstate);
6088 if (PyErr_Occurred()) return NULL;
6089} Py_INCREF(Py_None);
6090 _resultobj = Py_None;
6091{
6092 if (_obj1)
6093 delete _arg1;
6094}
6095 return _resultobj;
6096}
6097
c7e7022c
RD
6098#define wxWindow_ScrollLines(_swigobj,_swigarg0) (_swigobj->ScrollLines(_swigarg0))
6099static PyObject *_wrap_wxWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
6100 PyObject * _resultobj;
6101 bool _result;
6102 wxWindow * _arg0;
6103 int _arg1;
6104 PyObject * _argo0 = 0;
6105 char *_kwnames[] = { "self","lines", NULL };
6106
6107 self = self;
6108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_ScrollLines",_kwnames,&_argo0,&_arg1))
6109 return NULL;
6110 if (_argo0) {
6111 if (_argo0 == Py_None) { _arg0 = NULL; }
6112 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6113 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScrollLines. Expected _wxWindow_p.");
6114 return NULL;
6115 }
6116 }
6117{
4268f798 6118 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6119 _result = (bool )wxWindow_ScrollLines(_arg0,_arg1);
c7e7022c 6120
4268f798 6121 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
6122 if (PyErr_Occurred()) return NULL;
6123} _resultobj = Py_BuildValue("i",_result);
6124 return _resultobj;
6125}
6126
6127#define wxWindow_ScrollPages(_swigobj,_swigarg0) (_swigobj->ScrollPages(_swigarg0))
6128static PyObject *_wrap_wxWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
6129 PyObject * _resultobj;
6130 bool _result;
6131 wxWindow * _arg0;
6132 int _arg1;
6133 PyObject * _argo0 = 0;
6134 char *_kwnames[] = { "self","pages", NULL };
6135
6136 self = self;
6137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_ScrollPages",_kwnames,&_argo0,&_arg1))
6138 return NULL;
6139 if (_argo0) {
6140 if (_argo0 == Py_None) { _arg0 = NULL; }
6141 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6142 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScrollPages. Expected _wxWindow_p.");
6143 return NULL;
6144 }
6145 }
6146{
4268f798 6147 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6148 _result = (bool )wxWindow_ScrollPages(_arg0,_arg1);
c7e7022c 6149
4268f798 6150 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
6151 if (PyErr_Occurred()) return NULL;
6152} _resultobj = Py_BuildValue("i",_result);
6153 return _resultobj;
6154}
6155
6156#define wxWindow_LineUp(_swigobj) (_swigobj->LineUp())
6157static PyObject *_wrap_wxWindow_LineUp(PyObject *self, PyObject *args, PyObject *kwargs) {
6158 PyObject * _resultobj;
6159 bool _result;
6160 wxWindow * _arg0;
6161 PyObject * _argo0 = 0;
6162 char *_kwnames[] = { "self", NULL };
6163
6164 self = self;
6165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_LineUp",_kwnames,&_argo0))
6166 return NULL;
6167 if (_argo0) {
6168 if (_argo0 == Py_None) { _arg0 = NULL; }
6169 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6170 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_LineUp. Expected _wxWindow_p.");
6171 return NULL;
6172 }
6173 }
6174{
4268f798 6175 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6176 _result = (bool )wxWindow_LineUp(_arg0);
c7e7022c 6177
4268f798 6178 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
6179 if (PyErr_Occurred()) return NULL;
6180} _resultobj = Py_BuildValue("i",_result);
6181 return _resultobj;
6182}
6183
6184#define wxWindow_LineDown(_swigobj) (_swigobj->LineDown())
6185static PyObject *_wrap_wxWindow_LineDown(PyObject *self, PyObject *args, PyObject *kwargs) {
6186 PyObject * _resultobj;
6187 bool _result;
6188 wxWindow * _arg0;
6189 PyObject * _argo0 = 0;
6190 char *_kwnames[] = { "self", NULL };
6191
6192 self = self;
6193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_LineDown",_kwnames,&_argo0))
6194 return NULL;
6195 if (_argo0) {
6196 if (_argo0 == Py_None) { _arg0 = NULL; }
6197 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6198 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_LineDown. Expected _wxWindow_p.");
6199 return NULL;
6200 }
6201 }
6202{
4268f798 6203 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6204 _result = (bool )wxWindow_LineDown(_arg0);
c7e7022c 6205
4268f798 6206 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
6207 if (PyErr_Occurred()) return NULL;
6208} _resultobj = Py_BuildValue("i",_result);
6209 return _resultobj;
6210}
6211
6212#define wxWindow_PageUp(_swigobj) (_swigobj->PageUp())
6213static PyObject *_wrap_wxWindow_PageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
6214 PyObject * _resultobj;
6215 bool _result;
6216 wxWindow * _arg0;
6217 PyObject * _argo0 = 0;
6218 char *_kwnames[] = { "self", NULL };
6219
6220 self = self;
6221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_PageUp",_kwnames,&_argo0))
6222 return NULL;
6223 if (_argo0) {
6224 if (_argo0 == Py_None) { _arg0 = NULL; }
6225 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6226 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PageUp. Expected _wxWindow_p.");
6227 return NULL;
6228 }
6229 }
6230{
4268f798 6231 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6232 _result = (bool )wxWindow_PageUp(_arg0);
c7e7022c 6233
4268f798 6234 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
6235 if (PyErr_Occurred()) return NULL;
6236} _resultobj = Py_BuildValue("i",_result);
6237 return _resultobj;
6238}
6239
6240#define wxWindow_PageDown(_swigobj) (_swigobj->PageDown())
6241static PyObject *_wrap_wxWindow_PageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
6242 PyObject * _resultobj;
6243 bool _result;
6244 wxWindow * _arg0;
6245 PyObject * _argo0 = 0;
6246 char *_kwnames[] = { "self", NULL };
6247
6248 self = self;
6249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_PageDown",_kwnames,&_argo0))
6250 return NULL;
6251 if (_argo0) {
6252 if (_argo0 == Py_None) { _arg0 = NULL; }
6253 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6254 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PageDown. Expected _wxWindow_p.");
6255 return NULL;
6256 }
6257 }
6258{
4268f798 6259 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6260 _result = (bool )wxWindow_PageDown(_arg0);
c7e7022c 6261
4268f798 6262 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
6263 if (PyErr_Occurred()) return NULL;
6264} _resultobj = Py_BuildValue("i",_result);
6265 return _resultobj;
6266}
6267
09f3d4e6
RD
6268static PyObject *_wrap_wxWindow_FindFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
6269 PyObject * _resultobj;
6270 wxWindow * _result;
6271 char *_kwnames[] = { NULL };
6272
6273 self = self;
6274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxWindow_FindFocus",_kwnames))
6275 return NULL;
6276{
4268f798 6277 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6278 _result = (wxWindow *)wxWindow::FindFocus();
09f3d4e6 6279
4268f798 6280 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
6281 if (PyErr_Occurred()) return NULL;
6282}{ _resultobj = wxPyMake_wxObject(_result); }
6283 return _resultobj;
6284}
6285
6286static PyObject *_wrap_wxWindow_NewControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
6287 PyObject * _resultobj;
6288 int _result;
6289 char *_kwnames[] = { NULL };
6290
6291 self = self;
6292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxWindow_NewControlId",_kwnames))
6293 return NULL;
6294{
4268f798 6295 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6296 _result = (int )wxWindow::NewControlId();
09f3d4e6 6297
4268f798 6298 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
6299 if (PyErr_Occurred()) return NULL;
6300} _resultobj = Py_BuildValue("i",_result);
6301 return _resultobj;
6302}
6303
6304static PyObject *_wrap_wxWindow_NextControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
6305 PyObject * _resultobj;
6306 int _result;
6307 int _arg0;
6308 char *_kwnames[] = { "id", NULL };
6309
6310 self = self;
6311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxWindow_NextControlId",_kwnames,&_arg0))
6312 return NULL;
6313{
4268f798 6314 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6315 _result = (int )wxWindow::NextControlId(_arg0);
09f3d4e6 6316
4268f798 6317 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
6318 if (PyErr_Occurred()) return NULL;
6319} _resultobj = Py_BuildValue("i",_result);
6320 return _resultobj;
6321}
6322
6323static PyObject *_wrap_wxWindow_PrevControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
6324 PyObject * _resultobj;
6325 int _result;
6326 int _arg0;
6327 char *_kwnames[] = { "id", NULL };
6328
6329 self = self;
6330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxWindow_PrevControlId",_kwnames,&_arg0))
6331 return NULL;
6332{
4268f798 6333 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6334 _result = (int )wxWindow::PrevControlId(_arg0);
09f3d4e6 6335
4268f798 6336 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
6337 if (PyErr_Occurred()) return NULL;
6338} _resultobj = Py_BuildValue("i",_result);
6339 return _resultobj;
6340}
6341
76bfdc78
RD
6342#define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
6343static PyObject *_wrap_wxWindow_SetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
6344 PyObject * _resultobj;
6345 wxWindow * _arg0;
6346 wxAcceleratorTable * _arg1;
6347 PyObject * _argo0 = 0;
6348 PyObject * _argo1 = 0;
6349 char *_kwnames[] = { "self","accel", NULL };
6350
6351 self = self;
6352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetAcceleratorTable",_kwnames,&_argo0,&_argo1))
6353 return NULL;
6354 if (_argo0) {
6355 if (_argo0 == Py_None) { _arg0 = NULL; }
6356 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6357 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
6358 return NULL;
6359 }
6360 }
6361 if (_argo1) {
6362 if (_argo1 == Py_None) { _arg1 = NULL; }
6363 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxAcceleratorTable_p")) {
6364 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
6365 return NULL;
6366 }
6367 }
6368{
4268f798 6369 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6370 wxWindow_SetAcceleratorTable(_arg0,*_arg1);
76bfdc78 6371
4268f798 6372 wxPyEndAllowThreads(__tstate);
76bfdc78
RD
6373 if (PyErr_Occurred()) return NULL;
6374} Py_INCREF(Py_None);
6375 _resultobj = Py_None;
6376 return _resultobj;
6377}
6378
900d9886
RD
6379#define wxWindow_GetAcceleratorTable(_swigobj) (_swigobj->GetAcceleratorTable())
6380static PyObject *_wrap_wxWindow_GetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
6381 PyObject * _resultobj;
6382 wxAcceleratorTable * _result;
6383 wxWindow * _arg0;
6384 PyObject * _argo0 = 0;
6385 char *_kwnames[] = { "self", NULL };
6386 char _ptemp[128];
6387
6388 self = self;
6389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetAcceleratorTable",_kwnames,&_argo0))
6390 return NULL;
6391 if (_argo0) {
6392 if (_argo0 == Py_None) { _arg0 = NULL; }
6393 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6394 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetAcceleratorTable. Expected _wxWindow_p.");
6395 return NULL;
6396 }
6397 }
6398{
4268f798 6399 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6400 _result = (wxAcceleratorTable *)wxWindow_GetAcceleratorTable(_arg0);
900d9886 6401
4268f798 6402 wxPyEndAllowThreads(__tstate);
900d9886
RD
6403 if (PyErr_Occurred()) return NULL;
6404} if (_result) {
6405 SWIG_MakePtr(_ptemp, (char *) _result,"_wxAcceleratorTable_p");
6406 _resultobj = Py_BuildValue("s",_ptemp);
6407 } else {
6408 Py_INCREF(Py_None);
6409 _resultobj = Py_None;
6410 }
6411 return _resultobj;
6412}
6413
07c99b26
RD
6414#define wxWindow_OnPaint(_swigobj,_swigarg0) (_swigobj->OnPaint(_swigarg0))
6415static PyObject *_wrap_wxWindow_OnPaint(PyObject *self, PyObject *args, PyObject *kwargs) {
78e8819c
RD
6416 PyObject * _resultobj;
6417 wxWindow * _arg0;
6418 wxPaintEvent * _arg1;
6419 PyObject * _argo0 = 0;
6420 PyObject * _argo1 = 0;
6421 char *_kwnames[] = { "self","event", NULL };
6422
6423 self = self;
07c99b26 6424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_OnPaint",_kwnames,&_argo0,&_argo1))
78e8819c
RD
6425 return NULL;
6426 if (_argo0) {
6427 if (_argo0 == Py_None) { _arg0 = NULL; }
6428 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
07c99b26 6429 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_OnPaint. Expected _wxWindow_p.");
78e8819c
RD
6430 return NULL;
6431 }
6432 }
6433 if (_argo1) {
6434 if (_argo1 == Py_None) { _arg1 = NULL; }
6435 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPaintEvent_p")) {
07c99b26 6436 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_OnPaint. Expected _wxPaintEvent_p.");
78e8819c
RD
6437 return NULL;
6438 }
6439 }
6440{
4268f798 6441 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6442 wxWindow_OnPaint(_arg0,*_arg1);
78e8819c 6443
4268f798 6444 wxPyEndAllowThreads(__tstate);
78e8819c
RD
6445 if (PyErr_Occurred()) return NULL;
6446} Py_INCREF(Py_None);
6447 _resultobj = Py_None;
6448 return _resultobj;
6449}
6450
5a2930ab
RD
6451#define wxWindow_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
6452static PyObject *_wrap_wxWindow_GetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
6453 PyObject * _resultobj;
26e335b8 6454 wxWindow * _result;
5a2930ab
RD
6455 wxWindow * _arg0;
6456 PyObject * _argo0 = 0;
6457 char *_kwnames[] = { "self", NULL };
6458
6459 self = self;
6460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetDefaultItem",_kwnames,&_argo0))
6461 return NULL;
6462 if (_argo0) {
6463 if (_argo0 == Py_None) { _arg0 = NULL; }
6464 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6465 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetDefaultItem. Expected _wxWindow_p.");
6466 return NULL;
6467 }
6468 }
6469{
6470 PyThreadState* __tstate = wxPyBeginAllowThreads();
26e335b8 6471 _result = (wxWindow *)wxWindow_GetDefaultItem(_arg0);
5a2930ab
RD
6472
6473 wxPyEndAllowThreads(__tstate);
6474 if (PyErr_Occurred()) return NULL;
6475}{ _resultobj = wxPyMake_wxObject(_result); }
6476 return _resultobj;
6477}
6478
6479#define wxWindow_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
6480static PyObject *_wrap_wxWindow_SetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
6481 PyObject * _resultobj;
26e335b8 6482 wxWindow * _result;
5a2930ab 6483 wxWindow * _arg0;
26e335b8 6484 wxWindow * _arg1;
5a2930ab
RD
6485 PyObject * _argo0 = 0;
6486 PyObject * _argo1 = 0;
6487 char *_kwnames[] = { "self","btn", NULL };
6488
6489 self = self;
6490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetDefaultItem",_kwnames,&_argo0,&_argo1))
6491 return NULL;
6492 if (_argo0) {
6493 if (_argo0 == Py_None) { _arg0 = NULL; }
6494 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6495 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetDefaultItem. Expected _wxWindow_p.");
6496 return NULL;
6497 }
6498 }
6499 if (_argo1) {
6500 if (_argo1 == Py_None) { _arg1 = NULL; }
26e335b8
RD
6501 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
6502 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetDefaultItem. Expected _wxWindow_p.");
5a2930ab
RD
6503 return NULL;
6504 }
6505 }
6506{
6507 PyThreadState* __tstate = wxPyBeginAllowThreads();
26e335b8 6508 _result = (wxWindow *)wxWindow_SetDefaultItem(_arg0,_arg1);
5a2930ab
RD
6509
6510 wxPyEndAllowThreads(__tstate);
6511 if (PyErr_Occurred()) return NULL;
26e335b8 6512}{ _resultobj = wxPyMake_wxObject(_result); }
5a2930ab
RD
6513 return _resultobj;
6514}
6515
0b85cc38
RD
6516#define wxWindow_SetTmpDefaultItem(_swigobj,_swigarg0) (_swigobj->SetTmpDefaultItem(_swigarg0))
6517static PyObject *_wrap_wxWindow_SetTmpDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
6518 PyObject * _resultobj;
6519 wxWindow * _arg0;
6520 wxWindow * _arg1;
6521 PyObject * _argo0 = 0;
6522 PyObject * _argo1 = 0;
6523 char *_kwnames[] = { "self","win", NULL };
6524
6525 self = self;
6526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetTmpDefaultItem",_kwnames,&_argo0,&_argo1))
6527 return NULL;
6528 if (_argo0) {
6529 if (_argo0 == Py_None) { _arg0 = NULL; }
6530 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6531 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetTmpDefaultItem. Expected _wxWindow_p.");
6532 return NULL;
6533 }
6534 }
6535 if (_argo1) {
6536 if (_argo1 == Py_None) { _arg1 = NULL; }
6537 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
6538 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetTmpDefaultItem. Expected _wxWindow_p.");
6539 return NULL;
6540 }
6541 }
6542{
6543 PyThreadState* __tstate = wxPyBeginAllowThreads();
6544 wxWindow_SetTmpDefaultItem(_arg0,_arg1);
6545
6546 wxPyEndAllowThreads(__tstate);
6547 if (PyErr_Occurred()) return NULL;
6548} Py_INCREF(Py_None);
6549 _resultobj = Py_None;
6550 return _resultobj;
6551}
6552
6d26dc89
RD
6553#define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
6554static PyObject *_wrap_wxWindow_WarpPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
6555 PyObject * _resultobj;
6556 wxWindow * _arg0;
6557 int _arg1;
6558 int _arg2;
6559 PyObject * _argo0 = 0;
6560 char *_kwnames[] = { "self","x","y", NULL };
6561
6562 self = self;
6563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxWindow_WarpPointer",_kwnames,&_argo0,&_arg1,&_arg2))
6564 return NULL;
6565 if (_argo0) {
6566 if (_argo0 == Py_None) { _arg0 = NULL; }
6567 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6568 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
6569 return NULL;
6570 }
6571 }
6572{
6573 PyThreadState* __tstate = wxPyBeginAllowThreads();
6574 wxWindow_WarpPointer(_arg0,_arg1,_arg2);
6575
6576 wxPyEndAllowThreads(__tstate);
6577 if (PyErr_Occurred()) return NULL;
6578} Py_INCREF(Py_None);
6579 _resultobj = Py_None;
6580 return _resultobj;
6581}
6582
6583#define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
6584static PyObject *_wrap_wxWindow_CaptureMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
6585 PyObject * _resultobj;
6586 wxWindow * _arg0;
6587 PyObject * _argo0 = 0;
6588 char *_kwnames[] = { "self", NULL };
6589
6590 self = self;
6591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_CaptureMouse",_kwnames,&_argo0))
6592 return NULL;
6593 if (_argo0) {
6594 if (_argo0 == Py_None) { _arg0 = NULL; }
6595 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6596 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
6597 return NULL;
6598 }
6599 }
6600{
6601 PyThreadState* __tstate = wxPyBeginAllowThreads();
6602 wxWindow_CaptureMouse(_arg0);
6603
6604 wxPyEndAllowThreads(__tstate);
6605 if (PyErr_Occurred()) return NULL;
6606} Py_INCREF(Py_None);
6607 _resultobj = Py_None;
6608 return _resultobj;
6609}
6610
6611#define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
6612static PyObject *_wrap_wxWindow_ReleaseMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
6613 PyObject * _resultobj;
6614 wxWindow * _arg0;
6615 PyObject * _argo0 = 0;
6616 char *_kwnames[] = { "self", NULL };
6617
6618 self = self;
6619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_ReleaseMouse",_kwnames,&_argo0))
6620 return NULL;
6621 if (_argo0) {
6622 if (_argo0 == Py_None) { _arg0 = NULL; }
6623 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6624 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
6625 return NULL;
6626 }
6627 }
6628{
6629 PyThreadState* __tstate = wxPyBeginAllowThreads();
6630 wxWindow_ReleaseMouse(_arg0);
6631
6632 wxPyEndAllowThreads(__tstate);
6633 if (PyErr_Occurred()) return NULL;
6634} Py_INCREF(Py_None);
6635 _resultobj = Py_None;
6636 return _resultobj;
6637}
6638
6639static PyObject *_wrap_wxWindow_GetCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
6640 PyObject * _resultobj;
6641 wxWindow * _result;
6642 char *_kwnames[] = { NULL };
6643
6644 self = self;
6645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxWindow_GetCapture",_kwnames))
6646 return NULL;
6647{
6648 PyThreadState* __tstate = wxPyBeginAllowThreads();
6649 _result = (wxWindow *)wxWindow::GetCapture();
6650
6651 wxPyEndAllowThreads(__tstate);
6652 if (PyErr_Occurred()) return NULL;
6653}{ _resultobj = wxPyMake_wxObject(_result); }
6654 return _resultobj;
6655}
6656
6657#define wxWindow_HasCapture(_swigobj) (_swigobj->HasCapture())
6658static PyObject *_wrap_wxWindow_HasCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
6659 PyObject * _resultobj;
6660 bool _result;
6661 wxWindow * _arg0;
6662 PyObject * _argo0 = 0;
6663 char *_kwnames[] = { "self", NULL };
6664
6665 self = self;
6666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_HasCapture",_kwnames,&_argo0))
6667 return NULL;
6668 if (_argo0) {
6669 if (_argo0 == Py_None) { _arg0 = NULL; }
6670 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6671 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_HasCapture. Expected _wxWindow_p.");
6672 return NULL;
6673 }
6674 }
6675{
6676 PyThreadState* __tstate = wxPyBeginAllowThreads();
6677 _result = (bool )wxWindow_HasCapture(_arg0);
6678
6679 wxPyEndAllowThreads(__tstate);
6680 if (PyErr_Occurred()) return NULL;
6681} _resultobj = Py_BuildValue("i",_result);
6682 return _resultobj;
6683}
6684
8ab979d7
RD
6685static void *SwigwxPanelTowxWindow(void *ptr) {
6686 wxPanel *src;
6687 wxWindow *dest;
6688 src = (wxPanel *) ptr;
6689 dest = (wxWindow *) src;
6690 return (void *) dest;
6691}
6692
6693static void *SwigwxPanelTowxEvtHandler(void *ptr) {
6694 wxPanel *src;
6695 wxEvtHandler *dest;
6696 src = (wxPanel *) ptr;
6697 dest = (wxEvtHandler *) src;
6698 return (void *) dest;
6699}
6700
9416aa89
RD
6701static void *SwigwxPanelTowxObject(void *ptr) {
6702 wxPanel *src;
6703 wxObject *dest;
6704 src = (wxPanel *) ptr;
6705 dest = (wxObject *) src;
6706 return (void *) dest;
6707}
6708
8ab979d7 6709#define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
efc5f224 6710static PyObject *_wrap_new_wxPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6711 PyObject * _resultobj;
6712 wxPanel * _result;
6713 wxWindow * _arg0;
6714 wxWindowID _arg1;
e508a2b6
RD
6715 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
6716 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
1d99702e 6717 long _arg4 = (long ) wxTAB_TRAVERSAL;
137b5242 6718 wxString * _arg5 = (wxString *) &wxPyPanelNameStr;
1d99702e 6719 PyObject * _argo0 = 0;
2f90df85
RD
6720 wxPoint temp;
6721 PyObject * _obj2 = 0;
6722 wxSize temp0;
6723 PyObject * _obj3 = 0;
137b5242 6724 PyObject * _obj5 = 0;
efc5f224 6725 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
8ab979d7
RD
6726 char _ptemp[128];
6727
6728 self = self;
137b5242 6729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxPanel",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
8ab979d7 6730 return NULL;
1d99702e
RD
6731 if (_argo0) {
6732 if (_argo0 == Py_None) { _arg0 = NULL; }
6733 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
6734 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
6735 return NULL;
6736 }
6737 }
2f90df85
RD
6738 if (_obj2)
6739{
6740 _arg2 = &temp;
6741 if (! wxPoint_helper(_obj2, &_arg2))
8ab979d7 6742 return NULL;
2f90df85
RD
6743}
6744 if (_obj3)
6745{
6746 _arg3 = &temp0;
6747 if (! wxSize_helper(_obj3, &_arg3))
8ab979d7 6748 return NULL;
137b5242
RD
6749}
6750 if (_obj5)
6751{
6752 _arg5 = wxString_in_helper(_obj5);
6753 if (_arg5 == NULL)
6754 return NULL;
2f90df85 6755}
cf694132 6756{
4268f798 6757 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 6758 _result = (wxPanel *)new_wxPanel(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
cf694132 6759
4268f798 6760 wxPyEndAllowThreads(__tstate);
493f1553 6761 if (PyErr_Occurred()) return NULL;
1d99702e
RD
6762} if (_result) {
6763 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPanel_p");
6764 _resultobj = Py_BuildValue("s",_ptemp);
6765 } else {
6766 Py_INCREF(Py_None);
6767 _resultobj = Py_None;
6768 }
137b5242
RD
6769{
6770 if (_obj5)
6771 delete _arg5;
6772}
8ab979d7
RD
6773 return _resultobj;
6774}
6775
09f3d4e6
RD
6776#define new_wxPrePanel() (new wxPanel())
6777static PyObject *_wrap_new_wxPrePanel(PyObject *self, PyObject *args, PyObject *kwargs) {
6778 PyObject * _resultobj;
6779 wxPanel * _result;
6780 char *_kwnames[] = { NULL };
6781 char _ptemp[128];
6782
6783 self = self;
6784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPrePanel",_kwnames))
6785 return NULL;
6786{
4268f798 6787 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6788 _result = (wxPanel *)new_wxPrePanel();
09f3d4e6 6789
4268f798 6790 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
6791 if (PyErr_Occurred()) return NULL;
6792} if (_result) {
6793 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPanel_p");
6794 _resultobj = Py_BuildValue("s",_ptemp);
6795 } else {
6796 Py_INCREF(Py_None);
6797 _resultobj = Py_None;
6798 }
6799 return _resultobj;
6800}
6801
6802#define wxPanel_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6803static PyObject *_wrap_wxPanel_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6804 PyObject * _resultobj;
6805 bool _result;
6806 wxPanel * _arg0;
6807 wxWindow * _arg1;
6808 wxWindowID _arg2;
6809 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
6810 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
6811 long _arg5 = (long ) wxTAB_TRAVERSAL;
137b5242 6812 wxString * _arg6 = (wxString *) &wxPyPanelNameStr;
09f3d4e6
RD
6813 PyObject * _argo0 = 0;
6814 PyObject * _argo1 = 0;
6815 wxPoint temp;
6816 PyObject * _obj3 = 0;
6817 wxSize temp0;
6818 PyObject * _obj4 = 0;
137b5242 6819 PyObject * _obj6 = 0;
09f3d4e6
RD
6820 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
6821
6822 self = self;
137b5242 6823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOlO:wxPanel_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
09f3d4e6
RD
6824 return NULL;
6825 if (_argo0) {
6826 if (_argo0 == Py_None) { _arg0 = NULL; }
6827 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPanel_p")) {
6828 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPanel_Create. Expected _wxPanel_p.");
6829 return NULL;
6830 }
6831 }
6832 if (_argo1) {
6833 if (_argo1 == Py_None) { _arg1 = NULL; }
6834 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
6835 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPanel_Create. Expected _wxWindow_p.");
6836 return NULL;
6837 }
6838 }
6839 if (_obj3)
6840{
6841 _arg3 = &temp;
6842 if (! wxPoint_helper(_obj3, &_arg3))
6843 return NULL;
6844}
6845 if (_obj4)
6846{
6847 _arg4 = &temp0;
6848 if (! wxSize_helper(_obj4, &_arg4))
6849 return NULL;
137b5242
RD
6850}
6851 if (_obj6)
6852{
6853 _arg6 = wxString_in_helper(_obj6);
6854 if (_arg6 == NULL)
6855 return NULL;
09f3d4e6
RD
6856}
6857{
4268f798 6858 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 6859 _result = (bool )wxPanel_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
09f3d4e6 6860
4268f798 6861 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
6862 if (PyErr_Occurred()) return NULL;
6863} _resultobj = Py_BuildValue("i",_result);
137b5242
RD
6864{
6865 if (_obj6)
6866 delete _arg6;
6867}
09f3d4e6
RD
6868 return _resultobj;
6869}
6870
8ab979d7 6871#define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
efc5f224 6872static PyObject *_wrap_wxPanel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6873 PyObject * _resultobj;
6874 wxPanel * _arg0;
1d99702e 6875 PyObject * _argo0 = 0;
efc5f224 6876 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6877
6878 self = self;
efc5f224 6879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPanel_InitDialog",_kwnames,&_argo0))
8ab979d7 6880 return NULL;
1d99702e
RD
6881 if (_argo0) {
6882 if (_argo0 == Py_None) { _arg0 = NULL; }
6883 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPanel_p")) {
8ab979d7
RD
6884 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
6885 return NULL;
6886 }
6887 }
cf694132 6888{
4268f798 6889 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6890 wxPanel_InitDialog(_arg0);
cf694132 6891
4268f798 6892 wxPyEndAllowThreads(__tstate);
493f1553 6893 if (PyErr_Occurred()) return NULL;
cf694132 6894} Py_INCREF(Py_None);
8ab979d7
RD
6895 _resultobj = Py_None;
6896 return _resultobj;
6897}
6898
bb0054cd
RD
6899static void *SwigwxScrolledWindowTowxPanel(void *ptr) {
6900 wxScrolledWindow *src;
6901 wxPanel *dest;
6902 src = (wxScrolledWindow *) ptr;
6903 dest = (wxPanel *) src;
6904 return (void *) dest;
6905}
6906
8ab979d7
RD
6907static void *SwigwxScrolledWindowTowxWindow(void *ptr) {
6908 wxScrolledWindow *src;
6909 wxWindow *dest;
6910 src = (wxScrolledWindow *) ptr;
6911 dest = (wxWindow *) src;
6912 return (void *) dest;
6913}
6914
6915static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr) {
6916 wxScrolledWindow *src;
6917 wxEvtHandler *dest;
6918 src = (wxScrolledWindow *) ptr;
6919 dest = (wxEvtHandler *) src;
6920 return (void *) dest;
6921}
6922
9416aa89
RD
6923static void *SwigwxScrolledWindowTowxObject(void *ptr) {
6924 wxScrolledWindow *src;
6925 wxObject *dest;
6926 src = (wxScrolledWindow *) ptr;
6927 dest = (wxObject *) src;
6928 return (void *) dest;
6929}
6930
8ab979d7 6931#define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
efc5f224 6932static PyObject *_wrap_new_wxScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6933 PyObject * _resultobj;
6934 wxScrolledWindow * _result;
6935 wxWindow * _arg0;
1d99702e 6936 wxWindowID _arg1 = (wxWindowID ) -1;
e508a2b6
RD
6937 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
6938 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
1d99702e 6939 long _arg4 = (long ) wxHSCROLL|wxVSCROLL;
137b5242 6940 wxString * _arg5 = (wxString *) &wxPyPanelNameStr;
1d99702e 6941 PyObject * _argo0 = 0;
2f90df85
RD
6942 wxPoint temp;
6943 PyObject * _obj2 = 0;
6944 wxSize temp0;
6945 PyObject * _obj3 = 0;
137b5242 6946 PyObject * _obj5 = 0;
efc5f224 6947 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
8ab979d7
RD
6948 char _ptemp[128];
6949
6950 self = self;
137b5242 6951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlO:new_wxScrolledWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
8ab979d7 6952 return NULL;
1d99702e
RD
6953 if (_argo0) {
6954 if (_argo0 == Py_None) { _arg0 = NULL; }
6955 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
6956 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
6957 return NULL;
6958 }
6959 }
2f90df85
RD
6960 if (_obj2)
6961{
6962 _arg2 = &temp;
6963 if (! wxPoint_helper(_obj2, &_arg2))
8ab979d7 6964 return NULL;
2f90df85
RD
6965}
6966 if (_obj3)
6967{
6968 _arg3 = &temp0;
6969 if (! wxSize_helper(_obj3, &_arg3))
8ab979d7 6970 return NULL;
137b5242
RD
6971}
6972 if (_obj5)
6973{
6974 _arg5 = wxString_in_helper(_obj5);
6975 if (_arg5 == NULL)
6976 return NULL;
2f90df85 6977}
cf694132 6978{
4268f798 6979 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 6980 _result = (wxScrolledWindow *)new_wxScrolledWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
cf694132 6981
4268f798 6982 wxPyEndAllowThreads(__tstate);
493f1553 6983 if (PyErr_Occurred()) return NULL;
1d99702e
RD
6984} if (_result) {
6985 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrolledWindow_p");
6986 _resultobj = Py_BuildValue("s",_ptemp);
6987 } else {
6988 Py_INCREF(Py_None);
6989 _resultobj = Py_None;
6990 }
137b5242
RD
6991{
6992 if (_obj5)
6993 delete _arg5;
6994}
8ab979d7
RD
6995 return _resultobj;
6996}
6997
09f3d4e6
RD
6998#define new_wxPreScrolledWindow() (new wxScrolledWindow())
6999static PyObject *_wrap_new_wxPreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7000 PyObject * _resultobj;
7001 wxScrolledWindow * _result;
7002 char *_kwnames[] = { NULL };
7003 char _ptemp[128];
7004
7005 self = self;
7006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreScrolledWindow",_kwnames))
7007 return NULL;
7008{
4268f798 7009 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7010 _result = (wxScrolledWindow *)new_wxPreScrolledWindow();
09f3d4e6 7011
4268f798 7012 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
7013 if (PyErr_Occurred()) return NULL;
7014} if (_result) {
7015 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrolledWindow_p");
7016 _resultobj = Py_BuildValue("s",_ptemp);
7017 } else {
7018 Py_INCREF(Py_None);
7019 _resultobj = Py_None;
7020 }
7021 return _resultobj;
7022}
7023
7024#define wxScrolledWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7025static PyObject *_wrap_wxScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7026 PyObject * _resultobj;
7027 bool _result;
7028 wxScrolledWindow * _arg0;
7029 wxWindow * _arg1;
7030 wxWindowID _arg2 = (wxWindowID ) -1;
7031 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
7032 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
7033 long _arg5 = (long ) wxHSCROLL|wxVSCROLL;
137b5242 7034 wxString * _arg6 = (wxString *) &wxPyPanelNameStr;
09f3d4e6
RD
7035 PyObject * _argo0 = 0;
7036 PyObject * _argo1 = 0;
7037 wxPoint temp;
7038 PyObject * _obj3 = 0;
7039 wxSize temp0;
7040 PyObject * _obj4 = 0;
137b5242 7041 PyObject * _obj6 = 0;
09f3d4e6
RD
7042 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
7043
7044 self = self;
137b5242 7045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlO:wxScrolledWindow_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
09f3d4e6
RD
7046 return NULL;
7047 if (_argo0) {
7048 if (_argo0 == Py_None) { _arg0 = NULL; }
7049 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7050 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_Create. Expected _wxScrolledWindow_p.");
7051 return NULL;
7052 }
7053 }
7054 if (_argo1) {
7055 if (_argo1 == Py_None) { _arg1 = NULL; }
7056 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
7057 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxScrolledWindow_Create. Expected _wxWindow_p.");
7058 return NULL;
7059 }
7060 }
7061 if (_obj3)
7062{
7063 _arg3 = &temp;
7064 if (! wxPoint_helper(_obj3, &_arg3))
7065 return NULL;
7066}
7067 if (_obj4)
7068{
7069 _arg4 = &temp0;
7070 if (! wxSize_helper(_obj4, &_arg4))
7071 return NULL;
137b5242
RD
7072}
7073 if (_obj6)
7074{
7075 _arg6 = wxString_in_helper(_obj6);
7076 if (_arg6 == NULL)
7077 return NULL;
09f3d4e6
RD
7078}
7079{
4268f798 7080 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 7081 _result = (bool )wxScrolledWindow_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
09f3d4e6 7082
4268f798 7083 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
7084 if (PyErr_Occurred()) return NULL;
7085} _resultobj = Py_BuildValue("i",_result);
137b5242
RD
7086{
7087 if (_obj6)
7088 delete _arg6;
7089}
09f3d4e6
RD
7090 return _resultobj;
7091}
7092
8ab979d7 7093#define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
efc5f224 7094static PyObject *_wrap_wxScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7095 PyObject * _resultobj;
7096 wxScrolledWindow * _arg0;
7097 bool _arg1;
7098 bool _arg2;
1d99702e 7099 PyObject * _argo0 = 0;
8ab979d7
RD
7100 int tempbool1;
7101 int tempbool2;
efc5f224 7102 char *_kwnames[] = { "self","xScrolling","yScrolling", NULL };
8ab979d7
RD
7103
7104 self = self;
efc5f224 7105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxScrolledWindow_EnableScrolling",_kwnames,&_argo0,&tempbool1,&tempbool2))
8ab979d7 7106 return NULL;
1d99702e
RD
7107 if (_argo0) {
7108 if (_argo0 == Py_None) { _arg0 = NULL; }
7109 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
8ab979d7
RD
7110 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
7111 return NULL;
7112 }
7113 }
7114 _arg1 = (bool ) tempbool1;
7115 _arg2 = (bool ) tempbool2;
cf694132 7116{
4268f798 7117 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7118 wxScrolledWindow_EnableScrolling(_arg0,_arg1,_arg2);
cf694132 7119
4268f798 7120 wxPyEndAllowThreads(__tstate);
493f1553 7121 if (PyErr_Occurred()) return NULL;
cf694132 7122} Py_INCREF(Py_None);
8ab979d7
RD
7123 _resultobj = Py_None;
7124 return _resultobj;
7125}
7126
b7e72427
RD
7127#define wxScrolledWindow_GetScrollPageSize(_swigobj,_swigarg0) (_swigobj->GetScrollPageSize(_swigarg0))
7128static PyObject *_wrap_wxScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7129 PyObject * _resultobj;
7130 int _result;
7131 wxScrolledWindow * _arg0;
7132 int _arg1;
7133 PyObject * _argo0 = 0;
7134 char *_kwnames[] = { "self","orient", NULL };
7135
7136 self = self;
7137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxScrolledWindow_GetScrollPageSize",_kwnames,&_argo0,&_arg1))
7138 return NULL;
7139 if (_argo0) {
7140 if (_argo0 == Py_None) { _arg0 = NULL; }
7141 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7142 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetScrollPageSize. Expected _wxScrolledWindow_p.");
7143 return NULL;
7144 }
7145 }
7146{
4268f798 7147 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7148 _result = (int )wxScrolledWindow_GetScrollPageSize(_arg0,_arg1);
b7e72427 7149
4268f798 7150 wxPyEndAllowThreads(__tstate);
493f1553 7151 if (PyErr_Occurred()) return NULL;
b7e72427
RD
7152} _resultobj = Py_BuildValue("i",_result);
7153 return _resultobj;
7154}
7155
8ab979d7 7156#define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
efc5f224 7157static PyObject *_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7158 PyObject * _resultobj;
7159 wxScrolledWindow * _arg0;
7160 int * _arg1;
7161 int temp;
7162 int * _arg2;
7163 int temp0;
1d99702e 7164 PyObject * _argo0 = 0;
efc5f224 7165 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
7166
7167 self = self;
7168{
7169 _arg1 = &temp;
7170}
7171{
7172 _arg2 = &temp0;
7173}
efc5f224 7174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames,&_argo0))
8ab979d7 7175 return NULL;
1d99702e
RD
7176 if (_argo0) {
7177 if (_argo0 == Py_None) { _arg0 = NULL; }
7178 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
8ab979d7
RD
7179 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
7180 return NULL;
7181 }
7182 }
cf694132 7183{
4268f798 7184 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7185 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0,_arg1,_arg2);
cf694132 7186
4268f798 7187 wxPyEndAllowThreads(__tstate);
493f1553 7188 if (PyErr_Occurred()) return NULL;
cf694132 7189} Py_INCREF(Py_None);
8ab979d7
RD
7190 _resultobj = Py_None;
7191{
7192 PyObject *o;
7193 o = PyInt_FromLong((long) (*_arg1));
7194 _resultobj = t_output_helper(_resultobj, o);
7195}
7196{
7197 PyObject *o;
7198 o = PyInt_FromLong((long) (*_arg2));
7199 _resultobj = t_output_helper(_resultobj, o);
7200}
7201 return _resultobj;
7202}
7203
b7e72427
RD
7204#define wxScrolledWindow_GetTargetWindow(_swigobj) (_swigobj->GetTargetWindow())
7205static PyObject *_wrap_wxScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7206 PyObject * _resultobj;
7207 wxWindow * _result;
7208 wxScrolledWindow * _arg0;
7209 PyObject * _argo0 = 0;
7210 char *_kwnames[] = { "self", NULL };
b7e72427
RD
7211
7212 self = self;
7213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_GetTargetWindow",_kwnames,&_argo0))
7214 return NULL;
7215 if (_argo0) {
7216 if (_argo0 == Py_None) { _arg0 = NULL; }
7217 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7218 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetTargetWindow. Expected _wxScrolledWindow_p.");
7219 return NULL;
7220 }
7221 }
7222{
4268f798 7223 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7224 _result = (wxWindow *)wxScrolledWindow_GetTargetWindow(_arg0);
b7e72427 7225
4268f798 7226 wxPyEndAllowThreads(__tstate);
493f1553 7227 if (PyErr_Occurred()) return NULL;
9416aa89 7228}{ _resultobj = wxPyMake_wxObject(_result); }
b7e72427
RD
7229 return _resultobj;
7230}
7231
8ab979d7 7232#define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
efc5f224 7233static PyObject *_wrap_wxScrolledWindow_IsRetained(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7234 PyObject * _resultobj;
7235 bool _result;
7236 wxScrolledWindow * _arg0;
1d99702e 7237 PyObject * _argo0 = 0;
efc5f224 7238 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
7239
7240 self = self;
efc5f224 7241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_IsRetained",_kwnames,&_argo0))
8ab979d7 7242 return NULL;
1d99702e
RD
7243 if (_argo0) {
7244 if (_argo0 == Py_None) { _arg0 = NULL; }
7245 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
8ab979d7
RD
7246 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
7247 return NULL;
7248 }
7249 }
cf694132 7250{
4268f798 7251 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7252 _result = (bool )wxScrolledWindow_IsRetained(_arg0);
cf694132 7253
4268f798 7254 wxPyEndAllowThreads(__tstate);
493f1553 7255 if (PyErr_Occurred()) return NULL;
cf694132 7256} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7257 return _resultobj;
7258}
7259
7260#define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
efc5f224 7261static PyObject *_wrap_wxScrolledWindow_PrepareDC(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7262 PyObject * _resultobj;
7263 wxScrolledWindow * _arg0;
7264 wxDC * _arg1;
1d99702e
RD
7265 PyObject * _argo0 = 0;
7266 PyObject * _argo1 = 0;
efc5f224 7267 char *_kwnames[] = { "self","dc", NULL };
8ab979d7
RD
7268
7269 self = self;
efc5f224 7270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxScrolledWindow_PrepareDC",_kwnames,&_argo0,&_argo1))
8ab979d7 7271 return NULL;
1d99702e
RD
7272 if (_argo0) {
7273 if (_argo0 == Py_None) { _arg0 = NULL; }
7274 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
8ab979d7
RD
7275 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
7276 return NULL;
7277 }
7278 }
1d99702e
RD
7279 if (_argo1) {
7280 if (_argo1 == Py_None) { _arg1 = NULL; }
7281 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8ab979d7
RD
7282 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
7283 return NULL;
7284 }
7285 }
cf694132 7286{
4268f798 7287 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7288 wxScrolledWindow_PrepareDC(_arg0,*_arg1);
cf694132 7289
4268f798 7290 wxPyEndAllowThreads(__tstate);
493f1553 7291 if (PyErr_Occurred()) return NULL;
cf694132 7292} Py_INCREF(Py_None);
8ab979d7
RD
7293 _resultobj = Py_None;
7294 return _resultobj;
7295}
7296
7297#define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
efc5f224 7298static PyObject *_wrap_wxScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7299 PyObject * _resultobj;
7300 wxScrolledWindow * _arg0;
7301 int _arg1;
7302 int _arg2;
1d99702e 7303 PyObject * _argo0 = 0;
efc5f224 7304 char *_kwnames[] = { "self","x","y", NULL };
8ab979d7
RD
7305
7306 self = self;
efc5f224 7307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxScrolledWindow_Scroll",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 7308 return NULL;
1d99702e
RD
7309 if (_argo0) {
7310 if (_argo0 == Py_None) { _arg0 = NULL; }
7311 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
8ab979d7
RD
7312 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
7313 return NULL;
7314 }
7315 }
cf694132 7316{
4268f798 7317 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7318 wxScrolledWindow_Scroll(_arg0,_arg1,_arg2);
cf694132 7319
4268f798 7320 wxPyEndAllowThreads(__tstate);
493f1553 7321 if (PyErr_Occurred()) return NULL;
cf694132 7322} Py_INCREF(Py_None);
8ab979d7
RD
7323 _resultobj = Py_None;
7324 return _resultobj;
7325}
7326
f6bcfd97 7327#define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
efc5f224 7328static PyObject *_wrap_wxScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7329 PyObject * _resultobj;
7330 wxScrolledWindow * _arg0;
7331 int _arg1;
7332 int _arg2;
7333 int _arg3;
7334 int _arg4;
1d99702e
RD
7335 int _arg5 = (int ) 0;
7336 int _arg6 = (int ) 0;
f6bcfd97 7337 int _arg7 = (int ) FALSE;
1d99702e 7338 PyObject * _argo0 = 0;
f6bcfd97 7339 char *_kwnames[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos","noRefresh", NULL };
8ab979d7
RD
7340
7341 self = self;
f6bcfd97 7342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|iii:wxScrolledWindow_SetScrollbars",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6,&_arg7))
8ab979d7 7343 return NULL;
1d99702e
RD
7344 if (_argo0) {
7345 if (_argo0 == Py_None) { _arg0 = NULL; }
7346 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
8ab979d7
RD
7347 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
7348 return NULL;
7349 }
7350 }
cf694132 7351{
4268f798 7352 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7353 wxScrolledWindow_SetScrollbars(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7);
cf694132 7354
4268f798 7355 wxPyEndAllowThreads(__tstate);
493f1553 7356 if (PyErr_Occurred()) return NULL;
cf694132 7357} Py_INCREF(Py_None);
8ab979d7
RD
7358 _resultobj = Py_None;
7359 return _resultobj;
7360}
7361
b7e72427
RD
7362#define wxScrolledWindow_SetScrollPageSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScrollPageSize(_swigarg0,_swigarg1))
7363static PyObject *_wrap_wxScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7364 PyObject * _resultobj;
7365 wxScrolledWindow * _arg0;
7366 int _arg1;
7367 int _arg2;
7368 PyObject * _argo0 = 0;
7369 char *_kwnames[] = { "self","orient","pageSize", NULL };
7370
7371 self = self;
7372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxScrolledWindow_SetScrollPageSize",_kwnames,&_argo0,&_arg1,&_arg2))
7373 return NULL;
7374 if (_argo0) {
7375 if (_argo0 == Py_None) { _arg0 = NULL; }
7376 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7377 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_SetScrollPageSize. Expected _wxScrolledWindow_p.");
7378 return NULL;
7379 }
7380 }
7381{
4268f798 7382 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7383 wxScrolledWindow_SetScrollPageSize(_arg0,_arg1,_arg2);
b7e72427 7384
4268f798 7385 wxPyEndAllowThreads(__tstate);
493f1553 7386 if (PyErr_Occurred()) return NULL;
b7e72427
RD
7387} Py_INCREF(Py_None);
7388 _resultobj = Py_None;
7389 return _resultobj;
7390}
7391
eb715945
RD
7392#define wxScrolledWindow_SetTargetWindow(_swigobj,_swigarg0) (_swigobj->SetTargetWindow(_swigarg0))
7393static PyObject *_wrap_wxScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7394 PyObject * _resultobj;
7395 wxScrolledWindow * _arg0;
7396 wxWindow * _arg1;
7397 PyObject * _argo0 = 0;
7398 PyObject * _argo1 = 0;
7399 char *_kwnames[] = { "self","window", NULL };
7400
7401 self = self;
7402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxScrolledWindow_SetTargetWindow",_kwnames,&_argo0,&_argo1))
7403 return NULL;
7404 if (_argo0) {
7405 if (_argo0 == Py_None) { _arg0 = NULL; }
7406 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7407 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_SetTargetWindow. Expected _wxScrolledWindow_p.");
7408 return NULL;
7409 }
7410 }
7411 if (_argo1) {
7412 if (_argo1 == Py_None) { _arg1 = NULL; }
7413 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
7414 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxScrolledWindow_SetTargetWindow. Expected _wxWindow_p.");
7415 return NULL;
7416 }
7417 }
7418{
4268f798 7419 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7420 wxScrolledWindow_SetTargetWindow(_arg0,_arg1);
eb715945 7421
4268f798 7422 wxPyEndAllowThreads(__tstate);
493f1553 7423 if (PyErr_Occurred()) return NULL;
eb715945
RD
7424} Py_INCREF(Py_None);
7425 _resultobj = Py_None;
7426 return _resultobj;
7427}
7428
4c9993c3
RD
7429#define wxScrolledWindow_GetViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetViewStart(_swigarg0,_swigarg1))
7430static PyObject *_wrap_wxScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
7431 PyObject * _resultobj;
7432 wxScrolledWindow * _arg0;
7433 int * _arg1;
7434 int temp;
7435 int * _arg2;
7436 int temp0;
7437 PyObject * _argo0 = 0;
7438 char *_kwnames[] = { "self", NULL };
7439
7440 self = self;
7441{
7442 _arg1 = &temp;
7443}
7444{
7445 _arg2 = &temp0;
7446}
7447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_GetViewStart",_kwnames,&_argo0))
7448 return NULL;
7449 if (_argo0) {
7450 if (_argo0 == Py_None) { _arg0 = NULL; }
7451 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7452 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetViewStart. Expected _wxScrolledWindow_p.");
7453 return NULL;
7454 }
7455 }
7456{
4268f798 7457 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7458 wxScrolledWindow_GetViewStart(_arg0,_arg1,_arg2);
4c9993c3 7459
4268f798 7460 wxPyEndAllowThreads(__tstate);
493f1553 7461 if (PyErr_Occurred()) return NULL;
4c9993c3
RD
7462} Py_INCREF(Py_None);
7463 _resultobj = Py_None;
7464{
7465 PyObject *o;
7466 o = PyInt_FromLong((long) (*_arg1));
7467 _resultobj = t_output_helper(_resultobj, o);
7468}
7469{
7470 PyObject *o;
7471 o = PyInt_FromLong((long) (*_arg2));
7472 _resultobj = t_output_helper(_resultobj, o);
7473}
7474 return _resultobj;
7475}
7476
e9159fe8
RD
7477#define wxScrolledWindow_CalcScrolledPosition1(_swigobj,_swigarg0) (_swigobj->CalcScrolledPosition(_swigarg0))
7478static PyObject *_wrap_wxScrolledWindow_CalcScrolledPosition1(PyObject *self, PyObject *args, PyObject *kwargs) {
7479 PyObject * _resultobj;
7480 wxPoint * _result;
7481 wxScrolledWindow * _arg0;
7482 wxPoint * _arg1;
7483 PyObject * _argo0 = 0;
7484 wxPoint temp;
7485 PyObject * _obj1 = 0;
7486 char *_kwnames[] = { "self","pt", NULL };
7487 char _ptemp[128];
7488
7489 self = self;
7490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxScrolledWindow_CalcScrolledPosition1",_kwnames,&_argo0,&_obj1))
7491 return NULL;
7492 if (_argo0) {
7493 if (_argo0 == Py_None) { _arg0 = NULL; }
7494 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7495 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition1. Expected _wxScrolledWindow_p.");
7496 return NULL;
7497 }
7498 }
7499{
7500 _arg1 = &temp;
7501 if (! wxPoint_helper(_obj1, &_arg1))
7502 return NULL;
7503}
7504{
7505 PyThreadState* __tstate = wxPyBeginAllowThreads();
7506 _result = new wxPoint (wxScrolledWindow_CalcScrolledPosition1(_arg0,*_arg1));
7507
7508 wxPyEndAllowThreads(__tstate);
7509 if (PyErr_Occurred()) return NULL;
7510} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
7511 _resultobj = Py_BuildValue("s",_ptemp);
7512 return _resultobj;
7513}
7514
7515#define wxScrolledWindow_CalcScrolledPosition2(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcScrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7516static PyObject *_wrap_wxScrolledWindow_CalcScrolledPosition2(PyObject *self, PyObject *args, PyObject *kwargs) {
9d8bd15f
RD
7517 PyObject * _resultobj;
7518 wxScrolledWindow * _arg0;
7519 int _arg1;
7520 int _arg2;
7521 int * _arg3;
7522 int temp;
7523 int * _arg4;
7524 int temp0;
7525 PyObject * _argo0 = 0;
7526 char *_kwnames[] = { "self","x","y", NULL };
7527
7528 self = self;
7529{
7530 _arg3 = &temp;
7531}
7532{
7533 _arg4 = &temp0;
7534}
e9159fe8 7535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxScrolledWindow_CalcScrolledPosition2",_kwnames,&_argo0,&_arg1,&_arg2))
9d8bd15f
RD
7536 return NULL;
7537 if (_argo0) {
7538 if (_argo0 == Py_None) { _arg0 = NULL; }
7539 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
e9159fe8 7540 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition2. Expected _wxScrolledWindow_p.");
9d8bd15f
RD
7541 return NULL;
7542 }
7543 }
7544{
4268f798 7545 PyThreadState* __tstate = wxPyBeginAllowThreads();
e9159fe8 7546 wxScrolledWindow_CalcScrolledPosition2(_arg0,_arg1,_arg2,_arg3,_arg4);
9d8bd15f 7547
4268f798 7548 wxPyEndAllowThreads(__tstate);
493f1553 7549 if (PyErr_Occurred()) return NULL;
9d8bd15f
RD
7550} Py_INCREF(Py_None);
7551 _resultobj = Py_None;
7552{
7553 PyObject *o;
7554 o = PyInt_FromLong((long) (*_arg3));
7555 _resultobj = t_output_helper(_resultobj, o);
7556}
7557{
7558 PyObject *o;
7559 o = PyInt_FromLong((long) (*_arg4));
7560 _resultobj = t_output_helper(_resultobj, o);
7561}
7562 return _resultobj;
7563}
7564
e9159fe8
RD
7565#define wxScrolledWindow_CalcUnscrolledPosition1(_swigobj,_swigarg0) (_swigobj->CalcUnscrolledPosition(_swigarg0))
7566static PyObject *_wrap_wxScrolledWindow_CalcUnscrolledPosition1(PyObject *self, PyObject *args, PyObject *kwargs) {
7567 PyObject * _resultobj;
7568 wxPoint * _result;
7569 wxScrolledWindow * _arg0;
7570 wxPoint * _arg1;
7571 PyObject * _argo0 = 0;
7572 wxPoint temp;
7573 PyObject * _obj1 = 0;
7574 char *_kwnames[] = { "self","pt", NULL };
7575 char _ptemp[128];
7576
7577 self = self;
7578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxScrolledWindow_CalcUnscrolledPosition1",_kwnames,&_argo0,&_obj1))
7579 return NULL;
7580 if (_argo0) {
7581 if (_argo0 == Py_None) { _arg0 = NULL; }
7582 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7583 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition1. Expected _wxScrolledWindow_p.");
7584 return NULL;
7585 }
7586 }
7587{
7588 _arg1 = &temp;
7589 if (! wxPoint_helper(_obj1, &_arg1))
7590 return NULL;
7591}
7592{
7593 PyThreadState* __tstate = wxPyBeginAllowThreads();
7594 _result = new wxPoint (wxScrolledWindow_CalcUnscrolledPosition1(_arg0,*_arg1));
7595
7596 wxPyEndAllowThreads(__tstate);
7597 if (PyErr_Occurred()) return NULL;
7598} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
7599 _resultobj = Py_BuildValue("s",_ptemp);
7600 return _resultobj;
7601}
7602
7603#define wxScrolledWindow_CalcUnscrolledPosition2(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcUnscrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7604static PyObject *_wrap_wxScrolledWindow_CalcUnscrolledPosition2(PyObject *self, PyObject *args, PyObject *kwargs) {
9d8bd15f
RD
7605 PyObject * _resultobj;
7606 wxScrolledWindow * _arg0;
7607 int _arg1;
7608 int _arg2;
7609 int * _arg3;
7610 int temp;
7611 int * _arg4;
7612 int temp0;
7613 PyObject * _argo0 = 0;
7614 char *_kwnames[] = { "self","x","y", NULL };
7615
7616 self = self;
7617{
7618 _arg3 = &temp;
7619}
7620{
7621 _arg4 = &temp0;
7622}
e9159fe8 7623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxScrolledWindow_CalcUnscrolledPosition2",_kwnames,&_argo0,&_arg1,&_arg2))
9d8bd15f
RD
7624 return NULL;
7625 if (_argo0) {
7626 if (_argo0 == Py_None) { _arg0 = NULL; }
7627 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
e9159fe8 7628 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition2. Expected _wxScrolledWindow_p.");
9d8bd15f
RD
7629 return NULL;
7630 }
7631 }
7632{
4268f798 7633 PyThreadState* __tstate = wxPyBeginAllowThreads();
e9159fe8 7634 wxScrolledWindow_CalcUnscrolledPosition2(_arg0,_arg1,_arg2,_arg3,_arg4);
9d8bd15f 7635
4268f798 7636 wxPyEndAllowThreads(__tstate);
493f1553 7637 if (PyErr_Occurred()) return NULL;
9d8bd15f
RD
7638} Py_INCREF(Py_None);
7639 _resultobj = Py_None;
7640{
7641 PyObject *o;
7642 o = PyInt_FromLong((long) (*_arg3));
7643 _resultobj = t_output_helper(_resultobj, o);
7644}
7645{
7646 PyObject *o;
7647 o = PyInt_FromLong((long) (*_arg4));
7648 _resultobj = t_output_helper(_resultobj, o);
7649}
7650 return _resultobj;
7651}
7652
d1679124
RD
7653#define wxScrolledWindow_SetScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScale(_swigarg0,_swigarg1))
7654static PyObject *_wrap_wxScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
7655 PyObject * _resultobj;
7656 wxScrolledWindow * _arg0;
7657 double _arg1;
7658 double _arg2;
7659 PyObject * _argo0 = 0;
7660 char *_kwnames[] = { "self","xs","ys", NULL };
7661
7662 self = self;
7663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxScrolledWindow_SetScale",_kwnames,&_argo0,&_arg1,&_arg2))
7664 return NULL;
7665 if (_argo0) {
7666 if (_argo0 == Py_None) { _arg0 = NULL; }
7667 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7668 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_SetScale. Expected _wxScrolledWindow_p.");
7669 return NULL;
7670 }
7671 }
7672{
4268f798 7673 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7674 wxScrolledWindow_SetScale(_arg0,_arg1,_arg2);
d1679124 7675
4268f798 7676 wxPyEndAllowThreads(__tstate);
493f1553 7677 if (PyErr_Occurred()) return NULL;
d1679124
RD
7678} Py_INCREF(Py_None);
7679 _resultobj = Py_None;
7680 return _resultobj;
7681}
7682
7683#define wxScrolledWindow_GetScaleX(_swigobj) (_swigobj->GetScaleX())
7684static PyObject *_wrap_wxScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
7685 PyObject * _resultobj;
7686 double _result;
7687 wxScrolledWindow * _arg0;
7688 PyObject * _argo0 = 0;
7689 char *_kwnames[] = { "self", NULL };
7690
7691 self = self;
7692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_GetScaleX",_kwnames,&_argo0))
7693 return NULL;
7694 if (_argo0) {
7695 if (_argo0 == Py_None) { _arg0 = NULL; }
7696 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7697 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetScaleX. Expected _wxScrolledWindow_p.");
7698 return NULL;
7699 }
7700 }
7701{
4268f798 7702 PyThreadState* __tstate = wxPyBeginAllowThreads();
e9159fe8
RD
7703 _result = (double )wxScrolledWindow_GetScaleX(_arg0);
7704
7705 wxPyEndAllowThreads(__tstate);
7706 if (PyErr_Occurred()) return NULL;
7707} _resultobj = Py_BuildValue("d",_result);
7708 return _resultobj;
7709}
7710
7711#define wxScrolledWindow_GetScaleY(_swigobj) (_swigobj->GetScaleY())
7712static PyObject *_wrap_wxScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
7713 PyObject * _resultobj;
7714 double _result;
7715 wxScrolledWindow * _arg0;
7716 PyObject * _argo0 = 0;
7717 char *_kwnames[] = { "self", NULL };
7718
7719 self = self;
7720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_GetScaleY",_kwnames,&_argo0))
7721 return NULL;
7722 if (_argo0) {
7723 if (_argo0 == Py_None) { _arg0 = NULL; }
7724 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7725 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetScaleY. Expected _wxScrolledWindow_p.");
7726 return NULL;
7727 }
7728 }
7729{
7730 PyThreadState* __tstate = wxPyBeginAllowThreads();
7731 _result = (double )wxScrolledWindow_GetScaleY(_arg0);
7732
7733 wxPyEndAllowThreads(__tstate);
7734 if (PyErr_Occurred()) return NULL;
7735} _resultobj = Py_BuildValue("d",_result);
7736 return _resultobj;
7737}
7738
7739#define wxScrolledWindow_AdjustScrollbars(_swigobj) (_swigobj->AdjustScrollbars())
7740static PyObject *_wrap_wxScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
7741 PyObject * _resultobj;
7742 wxScrolledWindow * _arg0;
7743 PyObject * _argo0 = 0;
7744 char *_kwnames[] = { "self", NULL };
7745
7746 self = self;
7747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_AdjustScrollbars",_kwnames,&_argo0))
7748 return NULL;
7749 if (_argo0) {
7750 if (_argo0 == Py_None) { _arg0 = NULL; }
7751 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7752 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_AdjustScrollbars. Expected _wxScrolledWindow_p.");
7753 return NULL;
7754 }
7755 }
7756{
7757 PyThreadState* __tstate = wxPyBeginAllowThreads();
7758 wxScrolledWindow_AdjustScrollbars(_arg0);
7759
7760 wxPyEndAllowThreads(__tstate);
7761 if (PyErr_Occurred()) return NULL;
7762} Py_INCREF(Py_None);
7763 _resultobj = Py_None;
7764 return _resultobj;
7765}
7766
7767#define wxScrolledWindow_Layout(_swigobj) (_swigobj->Layout())
7768static PyObject *_wrap_wxScrolledWindow_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
7769 PyObject * _resultobj;
7770 bool _result;
7771 wxScrolledWindow * _arg0;
7772 PyObject * _argo0 = 0;
7773 char *_kwnames[] = { "self", NULL };
7774
7775 self = self;
7776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_Layout",_kwnames,&_argo0))
7777 return NULL;
7778 if (_argo0) {
7779 if (_argo0 == Py_None) { _arg0 = NULL; }
7780 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7781 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_Layout. Expected _wxScrolledWindow_p.");
7782 return NULL;
7783 }
7784 }
7785{
7786 PyThreadState* __tstate = wxPyBeginAllowThreads();
7787 _result = (bool )wxScrolledWindow_Layout(_arg0);
7788
7789 wxPyEndAllowThreads(__tstate);
7790 if (PyErr_Occurred()) return NULL;
7791} _resultobj = Py_BuildValue("i",_result);
7792 return _resultobj;
7793}
7794
2a74d141
RD
7795#define wxScrolledWindow_SetScrollRate(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScrollRate(_swigarg0,_swigarg1))
7796static PyObject *_wrap_wxScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) {
7797 PyObject * _resultobj;
7798 wxScrolledWindow * _arg0;
7799 int _arg1;
7800 int _arg2;
7801 PyObject * _argo0 = 0;
7802 char *_kwnames[] = { "self","xstep","ystep", NULL };
7803
7804 self = self;
7805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxScrolledWindow_SetScrollRate",_kwnames,&_argo0,&_arg1,&_arg2))
7806 return NULL;
7807 if (_argo0) {
7808 if (_argo0 == Py_None) { _arg0 = NULL; }
7809 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7810 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_SetScrollRate. Expected _wxScrolledWindow_p.");
7811 return NULL;
7812 }
7813 }
7814{
7815 PyThreadState* __tstate = wxPyBeginAllowThreads();
7816 wxScrolledWindow_SetScrollRate(_arg0,_arg1,_arg2);
7817
7818 wxPyEndAllowThreads(__tstate);
7819 if (PyErr_Occurred()) return NULL;
7820} Py_INCREF(Py_None);
7821 _resultobj = Py_None;
7822 return _resultobj;
7823}
7824
e9159fe8
RD
7825static void *SwigwxMenuTowxEvtHandler(void *ptr) {
7826 wxMenu *src;
7827 wxEvtHandler *dest;
7828 src = (wxMenu *) ptr;
7829 dest = (wxEvtHandler *) src;
7830 return (void *) dest;
7831}
7832
7833static void *SwigwxMenuTowxObject(void *ptr) {
7834 wxMenu *src;
7835 wxObject *dest;
7836 src = (wxMenu *) ptr;
7837 dest = (wxObject *) src;
7838 return (void *) dest;
7839}
7840
7841#define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
7842static PyObject *_wrap_new_wxMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
7843 PyObject * _resultobj;
7844 wxMenu * _result;
137b5242 7845 wxString * _arg0 = (wxString *) &wxPyEmptyString;
e9159fe8
RD
7846 long _arg1 = (long ) 0;
7847 PyObject * _obj0 = 0;
7848 char *_kwnames[] = { "title","style", NULL };
7849 char _ptemp[128];
7850
7851 self = self;
7852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|Ol:new_wxMenu",_kwnames,&_obj0,&_arg1))
7853 return NULL;
7854 if (_obj0)
7855{
7856 _arg0 = wxString_in_helper(_obj0);
7857 if (_arg0 == NULL)
7858 return NULL;
7859}
7860{
7861 PyThreadState* __tstate = wxPyBeginAllowThreads();
7862 _result = (wxMenu *)new_wxMenu(*_arg0,_arg1);
7863
7864 wxPyEndAllowThreads(__tstate);
7865 if (PyErr_Occurred()) return NULL;
7866} if (_result) {
7867 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenu_p");
7868 _resultobj = Py_BuildValue("s",_ptemp);
7869 } else {
7870 Py_INCREF(Py_None);
7871 _resultobj = Py_None;
7872 }
7873{
7874 if (_obj0)
7875 delete _arg0;
7876}
7877 return _resultobj;
7878}
7879
7880#define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7881static PyObject *_wrap_wxMenu_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
7882 PyObject * _resultobj;
7883 wxMenu * _arg0;
7884 int _arg1;
7885 wxString * _arg2;
137b5242 7886 wxString * _arg3 = (wxString *) &wxPyEmptyString;
546bfbea 7887 wxItemKind _arg4 = (wxItemKind ) wxITEM_NORMAL;
e9159fe8
RD
7888 PyObject * _argo0 = 0;
7889 PyObject * _obj2 = 0;
7890 PyObject * _obj3 = 0;
7891 char *_kwnames[] = { "self","id","item","helpString","kind", NULL };
7892
7893 self = self;
7894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|Oi:wxMenu_Append",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4))
7895 return NULL;
7896 if (_argo0) {
7897 if (_argo0 == Py_None) { _arg0 = NULL; }
7898 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7899 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
7900 return NULL;
7901 }
7902 }
7903{
7904 _arg2 = wxString_in_helper(_obj2);
7905 if (_arg2 == NULL)
7906 return NULL;
7907}
7908 if (_obj3)
7909{
7910 _arg3 = wxString_in_helper(_obj3);
7911 if (_arg3 == NULL)
7912 return NULL;
7913}
7914{
7915 PyThreadState* __tstate = wxPyBeginAllowThreads();
7916 wxMenu_Append(_arg0,_arg1,*_arg2,*_arg3,_arg4);
7917
7918 wxPyEndAllowThreads(__tstate);
7919 if (PyErr_Occurred()) return NULL;
7920} Py_INCREF(Py_None);
7921 _resultobj = Py_None;
7922{
7923 if (_obj2)
7924 delete _arg2;
7925}
7926{
7927 if (_obj3)
7928 delete _arg3;
7929}
7930 return _resultobj;
7931}
7932
7933#define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7934static PyObject *_wrap_wxMenu_AppendMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
7935 PyObject * _resultobj;
7936 wxMenu * _arg0;
7937 int _arg1;
7938 wxString * _arg2;
7939 wxMenu * _arg3;
137b5242 7940 wxString * _arg4 = (wxString *) &wxPyEmptyString;
e9159fe8
RD
7941 PyObject * _argo0 = 0;
7942 PyObject * _obj2 = 0;
7943 PyObject * _argo3 = 0;
7944 PyObject * _obj4 = 0;
7945 char *_kwnames[] = { "self","id","item","subMenu","helpString", NULL };
7946
7947 self = self;
7948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO|O:wxMenu_AppendMenu",_kwnames,&_argo0,&_arg1,&_obj2,&_argo3,&_obj4))
7949 return NULL;
7950 if (_argo0) {
7951 if (_argo0 == Py_None) { _arg0 = NULL; }
7952 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7953 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
7954 return NULL;
7955 }
7956 }
7957{
7958 _arg2 = wxString_in_helper(_obj2);
7959 if (_arg2 == NULL)
7960 return NULL;
7961}
7962 if (_argo3) {
7963 if (_argo3 == Py_None) { _arg3 = NULL; }
7964 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxMenu_p")) {
7965 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
7966 return NULL;
7967 }
7968 }
7969 if (_obj4)
7970{
7971 _arg4 = wxString_in_helper(_obj4);
7972 if (_arg4 == NULL)
7973 return NULL;
7974}
7975{
7976 PyThreadState* __tstate = wxPyBeginAllowThreads();
7977 wxMenu_AppendMenu(_arg0,_arg1,*_arg2,_arg3,*_arg4);
7978
7979 wxPyEndAllowThreads(__tstate);
7980 if (PyErr_Occurred()) return NULL;
7981} Py_INCREF(Py_None);
7982 _resultobj = Py_None;
7983{
7984 if (_obj2)
7985 delete _arg2;
7986}
7987{
7988 if (_obj4)
7989 delete _arg4;
7990}
7991 return _resultobj;
7992}
7993
7994#define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
7995static PyObject *_wrap_wxMenu_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
7996 PyObject * _resultobj;
7997 wxMenu * _arg0;
7998 wxMenuItem * _arg1;
7999 PyObject * _argo0 = 0;
8000 PyObject * _argo1 = 0;
8001 char *_kwnames[] = { "self","item", NULL };
8002
8003 self = self;
8004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_AppendItem",_kwnames,&_argo0,&_argo1))
8005 return NULL;
8006 if (_argo0) {
8007 if (_argo0 == Py_None) { _arg0 = NULL; }
8008 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8009 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
8010 return NULL;
8011 }
8012 }
8013 if (_argo1) {
8014 if (_argo1 == Py_None) { _arg1 = NULL; }
8015 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenuItem_p")) {
8016 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
8017 return NULL;
8018 }
8019 }
8020{
8021 PyThreadState* __tstate = wxPyBeginAllowThreads();
8022 wxMenu_AppendItem(_arg0,_arg1);
8023
8024 wxPyEndAllowThreads(__tstate);
8025 if (PyErr_Occurred()) return NULL;
8026} Py_INCREF(Py_None);
8027 _resultobj = Py_None;
8028 return _resultobj;
8029}
8030
8031#define wxMenu_AppendCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AppendCheckItem(_swigarg0,_swigarg1,_swigarg2))
8032static PyObject *_wrap_wxMenu_AppendCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8033 PyObject * _resultobj;
8034 wxMenu * _arg0;
8035 int _arg1;
8036 wxString * _arg2;
137b5242 8037 wxString * _arg3 = (wxString *) &wxPyEmptyString;
e9159fe8
RD
8038 PyObject * _argo0 = 0;
8039 PyObject * _obj2 = 0;
8040 PyObject * _obj3 = 0;
8041 char *_kwnames[] = { "self","id","text","help", NULL };
8042
8043 self = self;
8044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|O:wxMenu_AppendCheckItem",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3))
8045 return NULL;
8046 if (_argo0) {
8047 if (_argo0 == Py_None) { _arg0 = NULL; }
8048 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8049 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendCheckItem. Expected _wxMenu_p.");
8050 return NULL;
8051 }
8052 }
8053{
8054 _arg2 = wxString_in_helper(_obj2);
8055 if (_arg2 == NULL)
8056 return NULL;
8057}
8058 if (_obj3)
8059{
8060 _arg3 = wxString_in_helper(_obj3);
8061 if (_arg3 == NULL)
8062 return NULL;
8063}
8064{
8065 PyThreadState* __tstate = wxPyBeginAllowThreads();
8066 wxMenu_AppendCheckItem(_arg0,_arg1,*_arg2,*_arg3);
8067
8068 wxPyEndAllowThreads(__tstate);
8069 if (PyErr_Occurred()) return NULL;
8070} Py_INCREF(Py_None);
8071 _resultobj = Py_None;
8072{
8073 if (_obj2)
8074 delete _arg2;
8075}
8076{
8077 if (_obj3)
8078 delete _arg3;
8079}
8080 return _resultobj;
8081}
8082
8083#define wxMenu_AppendRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AppendRadioItem(_swigarg0,_swigarg1,_swigarg2))
8084static PyObject *_wrap_wxMenu_AppendRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8085 PyObject * _resultobj;
8086 wxMenu * _arg0;
8087 int _arg1;
8088 wxString * _arg2;
137b5242 8089 wxString * _arg3 = (wxString *) &wxPyEmptyString;
e9159fe8
RD
8090 PyObject * _argo0 = 0;
8091 PyObject * _obj2 = 0;
8092 PyObject * _obj3 = 0;
8093 char *_kwnames[] = { "self","id","text","help", NULL };
8094
8095 self = self;
8096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|O:wxMenu_AppendRadioItem",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3))
8097 return NULL;
8098 if (_argo0) {
8099 if (_argo0 == Py_None) { _arg0 = NULL; }
8100 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8101 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendRadioItem. Expected _wxMenu_p.");
8102 return NULL;
8103 }
8104 }
8105{
8106 _arg2 = wxString_in_helper(_obj2);
8107 if (_arg2 == NULL)
8108 return NULL;
8109}
8110 if (_obj3)
8111{
8112 _arg3 = wxString_in_helper(_obj3);
8113 if (_arg3 == NULL)
8114 return NULL;
8115}
8116{
8117 PyThreadState* __tstate = wxPyBeginAllowThreads();
8118 wxMenu_AppendRadioItem(_arg0,_arg1,*_arg2,*_arg3);
8119
8120 wxPyEndAllowThreads(__tstate);
8121 if (PyErr_Occurred()) return NULL;
8122} Py_INCREF(Py_None);
8123 _resultobj = Py_None;
8124{
8125 if (_obj2)
8126 delete _arg2;
8127}
8128{
8129 if (_obj3)
8130 delete _arg3;
8131}
8132 return _resultobj;
8133}
8134
8135#define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
8136static PyObject *_wrap_wxMenu_AppendSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
8137 PyObject * _resultobj;
8138 wxMenu * _arg0;
8139 PyObject * _argo0 = 0;
8140 char *_kwnames[] = { "self", NULL };
8141
8142 self = self;
8143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_AppendSeparator",_kwnames,&_argo0))
8144 return NULL;
8145 if (_argo0) {
8146 if (_argo0 == Py_None) { _arg0 = NULL; }
8147 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8148 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
8149 return NULL;
8150 }
8151 }
8152{
8153 PyThreadState* __tstate = wxPyBeginAllowThreads();
8154 wxMenu_AppendSeparator(_arg0);
8155
8156 wxPyEndAllowThreads(__tstate);
8157 if (PyErr_Occurred()) return NULL;
8158} Py_INCREF(Py_None);
8159 _resultobj = Py_None;
8160 return _resultobj;
8161}
8162
8163#define wxMenu_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8164static PyObject *_wrap_wxMenu_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
8165 PyObject * _resultobj;
8166 wxMenu * _arg0;
8167 size_t _arg1;
8168 int _arg2;
8169 wxString * _arg3;
137b5242 8170 wxString * _arg4 = (wxString *) &wxPyEmptyString;
546bfbea 8171 wxItemKind _arg5 = (wxItemKind ) wxITEM_NORMAL;
e9159fe8
RD
8172 PyObject * _argo0 = 0;
8173 PyObject * _obj3 = 0;
8174 PyObject * _obj4 = 0;
8175 char *_kwnames[] = { "self","pos","id","text","help","kind", NULL };
8176
8177 self = self;
8178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO|Oi:wxMenu_Insert",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4,&_arg5))
8179 return NULL;
8180 if (_argo0) {
8181 if (_argo0 == Py_None) { _arg0 = NULL; }
8182 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8183 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Insert. Expected _wxMenu_p.");
8184 return NULL;
8185 }
8186 }
8187{
8188 _arg3 = wxString_in_helper(_obj3);
8189 if (_arg3 == NULL)
8190 return NULL;
8191}
8192 if (_obj4)
8193{
8194 _arg4 = wxString_in_helper(_obj4);
8195 if (_arg4 == NULL)
8196 return NULL;
8197}
8198{
8199 PyThreadState* __tstate = wxPyBeginAllowThreads();
8200 wxMenu_Insert(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5);
8201
8202 wxPyEndAllowThreads(__tstate);
8203 if (PyErr_Occurred()) return NULL;
8204} Py_INCREF(Py_None);
8205 _resultobj = Py_None;
8206{
8207 if (_obj3)
8208 delete _arg3;
8209}
8210{
8211 if (_obj4)
8212 delete _arg4;
8213}
8214 return _resultobj;
8215}
8216
8217#define wxMenu_InsertSeparator(_swigobj,_swigarg0) (_swigobj->InsertSeparator(_swigarg0))
8218static PyObject *_wrap_wxMenu_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
8219 PyObject * _resultobj;
8220 wxMenu * _arg0;
8221 size_t _arg1;
8222 PyObject * _argo0 = 0;
8223 char *_kwnames[] = { "self","pos", NULL };
8224
8225 self = self;
8226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_InsertSeparator",_kwnames,&_argo0,&_arg1))
8227 return NULL;
8228 if (_argo0) {
8229 if (_argo0 == Py_None) { _arg0 = NULL; }
8230 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8231 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_InsertSeparator. Expected _wxMenu_p.");
8232 return NULL;
8233 }
8234 }
8235{
8236 PyThreadState* __tstate = wxPyBeginAllowThreads();
8237 wxMenu_InsertSeparator(_arg0,_arg1);
8238
8239 wxPyEndAllowThreads(__tstate);
8240 if (PyErr_Occurred()) return NULL;
8241} Py_INCREF(Py_None);
8242 _resultobj = Py_None;
8243 return _resultobj;
8244}
8245
8246#define wxMenu_InsertCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertCheckItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8247static PyObject *_wrap_wxMenu_InsertCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8248 PyObject * _resultobj;
8249 wxMenu * _arg0;
8250 size_t _arg1;
8251 int _arg2;
8252 wxString * _arg3;
137b5242 8253 wxString * _arg4 = (wxString *) &wxPyEmptyString;
e9159fe8
RD
8254 PyObject * _argo0 = 0;
8255 PyObject * _obj3 = 0;
8256 PyObject * _obj4 = 0;
8257 char *_kwnames[] = { "self","pos","id","text","help", NULL };
8258
8259 self = self;
8260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO|O:wxMenu_InsertCheckItem",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4))
8261 return NULL;
8262 if (_argo0) {
8263 if (_argo0 == Py_None) { _arg0 = NULL; }
8264 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8265 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_InsertCheckItem. Expected _wxMenu_p.");
8266 return NULL;
8267 }
8268 }
8269{
8270 _arg3 = wxString_in_helper(_obj3);
8271 if (_arg3 == NULL)
8272 return NULL;
8273}
8274 if (_obj4)
8275{
8276 _arg4 = wxString_in_helper(_obj4);
8277 if (_arg4 == NULL)
8278 return NULL;
8279}
8280{
8281 PyThreadState* __tstate = wxPyBeginAllowThreads();
8282 wxMenu_InsertCheckItem(_arg0,_arg1,_arg2,*_arg3,*_arg4);
8283
8284 wxPyEndAllowThreads(__tstate);
8285 if (PyErr_Occurred()) return NULL;
8286} Py_INCREF(Py_None);
8287 _resultobj = Py_None;
8288{
8289 if (_obj3)
8290 delete _arg3;
8291}
8292{
8293 if (_obj4)
8294 delete _arg4;
8295}
8296 return _resultobj;
8297}
8298
8299#define wxMenu_InsertRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertRadioItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8300static PyObject *_wrap_wxMenu_InsertRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8301 PyObject * _resultobj;
8302 wxMenu * _arg0;
8303 size_t _arg1;
8304 int _arg2;
8305 wxString * _arg3;
137b5242 8306 wxString * _arg4 = (wxString *) &wxPyEmptyString;
e9159fe8
RD
8307 PyObject * _argo0 = 0;
8308 PyObject * _obj3 = 0;
8309 PyObject * _obj4 = 0;
8310 char *_kwnames[] = { "self","pos","id","text","help", NULL };
8311
8312 self = self;
8313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO|O:wxMenu_InsertRadioItem",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4))
8314 return NULL;
8315 if (_argo0) {
8316 if (_argo0 == Py_None) { _arg0 = NULL; }
8317 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8318 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_InsertRadioItem. Expected _wxMenu_p.");
8319 return NULL;
8320 }
8321 }
8322{
8323 _arg3 = wxString_in_helper(_obj3);
8324 if (_arg3 == NULL)
8325 return NULL;
8326}
8327 if (_obj4)
8328{
8329 _arg4 = wxString_in_helper(_obj4);
8330 if (_arg4 == NULL)
8331 return NULL;
8332}
8333{
8334 PyThreadState* __tstate = wxPyBeginAllowThreads();
8335 wxMenu_InsertRadioItem(_arg0,_arg1,_arg2,*_arg3,*_arg4);
8336
8337 wxPyEndAllowThreads(__tstate);
8338 if (PyErr_Occurred()) return NULL;
8339} Py_INCREF(Py_None);
8340 _resultobj = Py_None;
8341{
8342 if (_obj3)
8343 delete _arg3;
8344}
8345{
8346 if (_obj4)
8347 delete _arg4;
8348}
8349 return _resultobj;
8350}
8351
8352#define wxMenu_InsertMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8353static PyObject *_wrap_wxMenu_InsertMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
8354 PyObject * _resultobj;
8355 wxMenu * _arg0;
8356 size_t _arg1;
8357 int _arg2;
8358 wxString * _arg3;
8359 wxMenu * _arg4;
137b5242 8360 wxString * _arg5 = (wxString *) &wxPyEmptyString;
e9159fe8
RD
8361 PyObject * _argo0 = 0;
8362 PyObject * _obj3 = 0;
8363 PyObject * _argo4 = 0;
8364 PyObject * _obj5 = 0;
8365 char *_kwnames[] = { "self","pos","id","text","submenu","help", NULL };
8366
8367 self = self;
8368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOO|O:wxMenu_InsertMenu",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_argo4,&_obj5))
8369 return NULL;
8370 if (_argo0) {
8371 if (_argo0 == Py_None) { _arg0 = NULL; }
8372 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8373 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_InsertMenu. Expected _wxMenu_p.");
8374 return NULL;
8375 }
8376 }
8377{
8378 _arg3 = wxString_in_helper(_obj3);
8379 if (_arg3 == NULL)
8380 return NULL;
8381}
8382 if (_argo4) {
8383 if (_argo4 == Py_None) { _arg4 = NULL; }
8384 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxMenu_p")) {
8385 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxMenu_InsertMenu. Expected _wxMenu_p.");
8386 return NULL;
8387 }
8388 }
8389 if (_obj5)
8390{
8391 _arg5 = wxString_in_helper(_obj5);
8392 if (_arg5 == NULL)
8393 return NULL;
8394}
8395{
8396 PyThreadState* __tstate = wxPyBeginAllowThreads();
8397 wxMenu_InsertMenu(_arg0,_arg1,_arg2,*_arg3,_arg4,*_arg5);
d1679124 8398
4268f798 8399 wxPyEndAllowThreads(__tstate);
493f1553 8400 if (PyErr_Occurred()) return NULL;
e9159fe8
RD
8401} Py_INCREF(Py_None);
8402 _resultobj = Py_None;
8403{
8404 if (_obj3)
8405 delete _arg3;
8406}
8407{
8408 if (_obj5)
8409 delete _arg5;
8410}
d1679124
RD
8411 return _resultobj;
8412}
8413
e9159fe8
RD
8414#define wxMenu_InsertItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Insert(_swigarg0,_swigarg1))
8415static PyObject *_wrap_wxMenu_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
d1679124 8416 PyObject * _resultobj;
e9159fe8
RD
8417 bool _result;
8418 wxMenu * _arg0;
8419 size_t _arg1;
8420 wxMenuItem * _arg2;
d1679124 8421 PyObject * _argo0 = 0;
e9159fe8
RD
8422 PyObject * _argo2 = 0;
8423 char *_kwnames[] = { "self","pos","item", NULL };
d1679124
RD
8424
8425 self = self;
e9159fe8 8426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenu_InsertItem",_kwnames,&_argo0,&_arg1,&_argo2))
d1679124
RD
8427 return NULL;
8428 if (_argo0) {
8429 if (_argo0 == Py_None) { _arg0 = NULL; }
e9159fe8
RD
8430 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8431 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_InsertItem. Expected _wxMenu_p.");
8432 return NULL;
8433 }
8434 }
8435 if (_argo2) {
8436 if (_argo2 == Py_None) { _arg2 = NULL; }
8437 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxMenuItem_p")) {
8438 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxMenu_InsertItem. Expected _wxMenuItem_p.");
d1679124
RD
8439 return NULL;
8440 }
8441 }
8442{
4268f798 8443 PyThreadState* __tstate = wxPyBeginAllowThreads();
e9159fe8 8444 _result = (bool )wxMenu_InsertItem(_arg0,_arg1,_arg2);
d1679124 8445
4268f798 8446 wxPyEndAllowThreads(__tstate);
493f1553 8447 if (PyErr_Occurred()) return NULL;
e9159fe8 8448} _resultobj = Py_BuildValue("i",_result);
d1679124
RD
8449 return _resultobj;
8450}
8451
e9159fe8
RD
8452#define wxMenu_Prepend(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Prepend(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8453static PyObject *_wrap_wxMenu_Prepend(PyObject *self, PyObject *args, PyObject *kwargs) {
d1679124 8454 PyObject * _resultobj;
e9159fe8
RD
8455 wxMenu * _arg0;
8456 int _arg1;
8457 wxString * _arg2;
137b5242 8458 wxString * _arg3 = (wxString *) &wxPyEmptyString;
546bfbea 8459 wxItemKind _arg4 = (wxItemKind ) wxITEM_NORMAL;
d1679124 8460 PyObject * _argo0 = 0;
e9159fe8
RD
8461 PyObject * _obj2 = 0;
8462 PyObject * _obj3 = 0;
8463 char *_kwnames[] = { "self","id","text","help","kind", NULL };
d1679124
RD
8464
8465 self = self;
e9159fe8 8466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|Oi:wxMenu_Prepend",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4))
d1679124
RD
8467 return NULL;
8468 if (_argo0) {
8469 if (_argo0 == Py_None) { _arg0 = NULL; }
e9159fe8
RD
8470 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8471 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Prepend. Expected _wxMenu_p.");
d1679124
RD
8472 return NULL;
8473 }
8474 }
e9159fe8
RD
8475{
8476 _arg2 = wxString_in_helper(_obj2);
8477 if (_arg2 == NULL)
8478 return NULL;
8479}
8480 if (_obj3)
8481{
8482 _arg3 = wxString_in_helper(_obj3);
8483 if (_arg3 == NULL)
8484 return NULL;
8485}
d1679124 8486{
4268f798 8487 PyThreadState* __tstate = wxPyBeginAllowThreads();
e9159fe8 8488 wxMenu_Prepend(_arg0,_arg1,*_arg2,*_arg3,_arg4);
d1679124 8489
4268f798 8490 wxPyEndAllowThreads(__tstate);
493f1553 8491 if (PyErr_Occurred()) return NULL;
d1679124
RD
8492} Py_INCREF(Py_None);
8493 _resultobj = Py_None;
e9159fe8
RD
8494{
8495 if (_obj2)
8496 delete _arg2;
8497}
8498{
8499 if (_obj3)
8500 delete _arg3;
8501}
d1679124
RD
8502 return _resultobj;
8503}
8504
e9159fe8
RD
8505#define wxMenu_PrependSeparator(_swigobj) (_swigobj->PrependSeparator())
8506static PyObject *_wrap_wxMenu_PrependSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
26e335b8 8507 PyObject * _resultobj;
e9159fe8 8508 wxMenu * _arg0;
26e335b8
RD
8509 PyObject * _argo0 = 0;
8510 char *_kwnames[] = { "self", NULL };
8511
8512 self = self;
e9159fe8 8513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_PrependSeparator",_kwnames,&_argo0))
26e335b8
RD
8514 return NULL;
8515 if (_argo0) {
8516 if (_argo0 == Py_None) { _arg0 = NULL; }
e9159fe8
RD
8517 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8518 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_PrependSeparator. Expected _wxMenu_p.");
26e335b8
RD
8519 return NULL;
8520 }
8521 }
8522{
8523 PyThreadState* __tstate = wxPyBeginAllowThreads();
e9159fe8 8524 wxMenu_PrependSeparator(_arg0);
26e335b8
RD
8525
8526 wxPyEndAllowThreads(__tstate);
8527 if (PyErr_Occurred()) return NULL;
e9159fe8
RD
8528} Py_INCREF(Py_None);
8529 _resultobj = Py_None;
26e335b8
RD
8530 return _resultobj;
8531}
8532
e9159fe8
RD
8533#define wxMenu_PrependCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PrependCheckItem(_swigarg0,_swigarg1,_swigarg2))
8534static PyObject *_wrap_wxMenu_PrependCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8535 PyObject * _resultobj;
e9159fe8
RD
8536 wxMenu * _arg0;
8537 int _arg1;
8538 wxString * _arg2;
137b5242 8539 wxString * _arg3 = (wxString *) &wxPyEmptyString;
e9159fe8
RD
8540 PyObject * _argo0 = 0;
8541 PyObject * _obj2 = 0;
8542 PyObject * _obj3 = 0;
8543 char *_kwnames[] = { "self","id","text","help", NULL };
8ab979d7
RD
8544
8545 self = self;
e9159fe8 8546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|O:wxMenu_PrependCheckItem",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3))
8ab979d7 8547 return NULL;
e9159fe8
RD
8548 if (_argo0) {
8549 if (_argo0 == Py_None) { _arg0 = NULL; }
8550 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8551 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_PrependCheckItem. Expected _wxMenu_p.");
8552 return NULL;
8553 }
8554 }
8ab979d7 8555{
e9159fe8
RD
8556 _arg2 = wxString_in_helper(_obj2);
8557 if (_arg2 == NULL)
8558 return NULL;
8559}
8560 if (_obj3)
8561{
8562 _arg3 = wxString_in_helper(_obj3);
8563 if (_arg3 == NULL)
185d7c3e 8564 return NULL;
8ab979d7 8565}
cf694132 8566{
4268f798 8567 PyThreadState* __tstate = wxPyBeginAllowThreads();
e9159fe8 8568 wxMenu_PrependCheckItem(_arg0,_arg1,*_arg2,*_arg3);
cf694132 8569
4268f798 8570 wxPyEndAllowThreads(__tstate);
493f1553 8571 if (PyErr_Occurred()) return NULL;
e9159fe8
RD
8572} Py_INCREF(Py_None);
8573 _resultobj = Py_None;
8ab979d7 8574{
e9159fe8
RD
8575 if (_obj2)
8576 delete _arg2;
8577}
8578{
8579 if (_obj3)
8580 delete _arg3;
8ab979d7
RD
8581}
8582 return _resultobj;
8583}
8584
e9159fe8
RD
8585#define wxMenu_PrependRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PrependRadioItem(_swigarg0,_swigarg1,_swigarg2))
8586static PyObject *_wrap_wxMenu_PrependRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8587 PyObject * _resultobj;
8588 wxMenu * _arg0;
8589 int _arg1;
8590 wxString * _arg2;
137b5242 8591 wxString * _arg3 = (wxString *) &wxPyEmptyString;
1d99702e 8592 PyObject * _argo0 = 0;
8ab979d7
RD
8593 PyObject * _obj2 = 0;
8594 PyObject * _obj3 = 0;
e9159fe8 8595 char *_kwnames[] = { "self","id","text","help", NULL };
8ab979d7
RD
8596
8597 self = self;
e9159fe8 8598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|O:wxMenu_PrependRadioItem",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3))
8ab979d7 8599 return NULL;
1d99702e
RD
8600 if (_argo0) {
8601 if (_argo0 == Py_None) { _arg0 = NULL; }
8602 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
e9159fe8 8603 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_PrependRadioItem. Expected _wxMenu_p.");
8ab979d7
RD
8604 return NULL;
8605 }
8606 }
8607{
c8bc7bb8
RD
8608 _arg2 = wxString_in_helper(_obj2);
8609 if (_arg2 == NULL)
8ab979d7 8610 return NULL;
8ab979d7
RD
8611}
8612 if (_obj3)
8613{
c8bc7bb8
RD
8614 _arg3 = wxString_in_helper(_obj3);
8615 if (_arg3 == NULL)
8ab979d7 8616 return NULL;
8ab979d7 8617}
cf694132 8618{
4268f798 8619 PyThreadState* __tstate = wxPyBeginAllowThreads();
e9159fe8 8620 wxMenu_PrependRadioItem(_arg0,_arg1,*_arg2,*_arg3);
cf694132 8621
4268f798 8622 wxPyEndAllowThreads(__tstate);
493f1553 8623 if (PyErr_Occurred()) return NULL;
cf694132 8624} Py_INCREF(Py_None);
8ab979d7
RD
8625 _resultobj = Py_None;
8626{
8627 if (_obj2)
8628 delete _arg2;
8629}
8630{
8631 if (_obj3)
8632 delete _arg3;
8633}
8634 return _resultobj;
8635}
8636
e9159fe8
RD
8637#define wxMenu_PrependMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Prepend(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8638static PyObject *_wrap_wxMenu_PrependMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8639 PyObject * _resultobj;
8640 wxMenu * _arg0;
8641 int _arg1;
8642 wxString * _arg2;
8643 wxMenu * _arg3;
137b5242 8644 wxString * _arg4 = (wxString *) &wxPyEmptyString;
1d99702e 8645 PyObject * _argo0 = 0;
8ab979d7 8646 PyObject * _obj2 = 0;
1d99702e 8647 PyObject * _argo3 = 0;
8ab979d7 8648 PyObject * _obj4 = 0;
e9159fe8 8649 char *_kwnames[] = { "self","id","text","submenu","help", NULL };
8ab979d7
RD
8650
8651 self = self;
e9159fe8 8652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO|O:wxMenu_PrependMenu",_kwnames,&_argo0,&_arg1,&_obj2,&_argo3,&_obj4))
8ab979d7 8653 return NULL;
1d99702e
RD
8654 if (_argo0) {
8655 if (_argo0 == Py_None) { _arg0 = NULL; }
8656 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
e9159fe8 8657 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_PrependMenu. Expected _wxMenu_p.");
8ab979d7
RD
8658 return NULL;
8659 }
8660 }
8661{
c8bc7bb8
RD
8662 _arg2 = wxString_in_helper(_obj2);
8663 if (_arg2 == NULL)
185d7c3e 8664 return NULL;
8ab979d7 8665}
1d99702e
RD
8666 if (_argo3) {
8667 if (_argo3 == Py_None) { _arg3 = NULL; }
8668 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxMenu_p")) {
e9159fe8 8669 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxMenu_PrependMenu. Expected _wxMenu_p.");
8ab979d7
RD
8670 return NULL;
8671 }
8672 }
8673 if (_obj4)
8674{
c8bc7bb8
RD
8675 _arg4 = wxString_in_helper(_obj4);
8676 if (_arg4 == NULL)
185d7c3e 8677 return NULL;
8ab979d7 8678}
cf694132 8679{
4268f798 8680 PyThreadState* __tstate = wxPyBeginAllowThreads();
e9159fe8 8681 wxMenu_PrependMenu(_arg0,_arg1,*_arg2,_arg3,*_arg4);
cf694132 8682
4268f798 8683 wxPyEndAllowThreads(__tstate);
493f1553 8684 if (PyErr_Occurred()) return NULL;
cf694132 8685} Py_INCREF(Py_None);
8ab979d7
RD
8686 _resultobj = Py_None;
8687{
8688 if (_obj2)
8689 delete _arg2;
8690}
8691{
8692 if (_obj4)
8693 delete _arg4;
8694}
8695 return _resultobj;
8696}
8697
e9159fe8
RD
8698#define wxMenu_PrependItem(_swigobj,_swigarg0) (_swigobj->Prepend(_swigarg0))
8699static PyObject *_wrap_wxMenu_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
8700 PyObject * _resultobj;
8701 wxMenu * _arg0;
8702 wxMenuItem * _arg1;
1d99702e
RD
8703 PyObject * _argo0 = 0;
8704 PyObject * _argo1 = 0;
efc5f224 8705 char *_kwnames[] = { "self","item", NULL };
af309447
RD
8706
8707 self = self;
e9159fe8 8708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_PrependItem",_kwnames,&_argo0,&_argo1))
af309447 8709 return NULL;
1d99702e
RD
8710 if (_argo0) {
8711 if (_argo0 == Py_None) { _arg0 = NULL; }
8712 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
e9159fe8 8713 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_PrependItem. Expected _wxMenu_p.");
af309447
RD
8714 return NULL;
8715 }
8716 }
1d99702e
RD
8717 if (_argo1) {
8718 if (_argo1 == Py_None) { _arg1 = NULL; }
8719 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenuItem_p")) {
e9159fe8 8720 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_PrependItem. Expected _wxMenuItem_p.");
8ab979d7
RD
8721 return NULL;
8722 }
8723 }
cf694132 8724{
4268f798 8725 PyThreadState* __tstate = wxPyBeginAllowThreads();
e9159fe8 8726 wxMenu_PrependItem(_arg0,_arg1);
cf694132 8727
4268f798 8728 wxPyEndAllowThreads(__tstate);
493f1553 8729 if (PyErr_Occurred()) return NULL;
cf694132 8730} Py_INCREF(Py_None);
8ab979d7
RD
8731 _resultobj = Py_None;
8732 return _resultobj;
8733}
8734
8735#define wxMenu_Break(_swigobj) (_swigobj->Break())
efc5f224 8736static PyObject *_wrap_wxMenu_Break(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8737 PyObject * _resultobj;
8738 wxMenu * _arg0;
1d99702e 8739 PyObject * _argo0 = 0;
efc5f224 8740 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
8741
8742 self = self;
efc5f224 8743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_Break",_kwnames,&_argo0))
8ab979d7 8744 return NULL;
1d99702e
RD
8745 if (_argo0) {
8746 if (_argo0 == Py_None) { _arg0 = NULL; }
8747 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8ab979d7
RD
8748 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
8749 return NULL;
8750 }
8751 }
cf694132 8752{
4268f798 8753 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8754 wxMenu_Break(_arg0);
cf694132 8755
4268f798 8756 wxPyEndAllowThreads(__tstate);
493f1553 8757 if (PyErr_Occurred()) return NULL;
cf694132 8758} Py_INCREF(Py_None);
8ab979d7
RD
8759 _resultobj = Py_None;
8760 return _resultobj;
8761}
8762
8763#define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
efc5f224 8764static PyObject *_wrap_wxMenu_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8765 PyObject * _resultobj;
8766 wxMenu * _arg0;
8767 int _arg1;
8768 bool _arg2;
1d99702e 8769 PyObject * _argo0 = 0;
8ab979d7 8770 int tempbool2;
efc5f224 8771 char *_kwnames[] = { "self","id","flag", NULL };
8ab979d7
RD
8772
8773 self = self;
efc5f224 8774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxMenu_Check",_kwnames,&_argo0,&_arg1,&tempbool2))
8ab979d7 8775 return NULL;
1d99702e
RD
8776 if (_argo0) {
8777 if (_argo0 == Py_None) { _arg0 = NULL; }
8778 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8ab979d7
RD
8779 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
8780 return NULL;
8781 }
8782 }
8783 _arg2 = (bool ) tempbool2;
cf694132 8784{
4268f798 8785 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8786 wxMenu_Check(_arg0,_arg1,_arg2);
cf694132 8787
4268f798 8788 wxPyEndAllowThreads(__tstate);
493f1553 8789 if (PyErr_Occurred()) return NULL;
cf694132 8790} Py_INCREF(Py_None);
8ab979d7
RD
8791 _resultobj = Py_None;
8792 return _resultobj;
8793}
8794
b1462dfa
RD
8795#define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
8796static PyObject *_wrap_wxMenu_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
8797 PyObject * _resultobj;
8798 bool _result;
8799 wxMenu * _arg0;
8800 int _arg1;
8801 PyObject * _argo0 = 0;
8802 char *_kwnames[] = { "self","id", NULL };
8803
8804 self = self;
8805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_IsChecked",_kwnames,&_argo0,&_arg1))
8806 return NULL;
8807 if (_argo0) {
8808 if (_argo0 == Py_None) { _arg0 = NULL; }
8809 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8810 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
8811 return NULL;
8812 }
8813 }
8814{
4268f798 8815 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8816 _result = (bool )wxMenu_IsChecked(_arg0,_arg1);
b1462dfa 8817
4268f798 8818 wxPyEndAllowThreads(__tstate);
493f1553 8819 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
8820} _resultobj = Py_BuildValue("i",_result);
8821 return _resultobj;
8822}
8823
8ab979d7 8824#define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
efc5f224 8825static PyObject *_wrap_wxMenu_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8826 PyObject * _resultobj;
8827 wxMenu * _arg0;
8828 int _arg1;
8829 bool _arg2;
1d99702e 8830 PyObject * _argo0 = 0;
8ab979d7 8831 int tempbool2;
efc5f224 8832 char *_kwnames[] = { "self","id","enable", NULL };
8ab979d7
RD
8833
8834 self = self;
efc5f224 8835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxMenu_Enable",_kwnames,&_argo0,&_arg1,&tempbool2))
8ab979d7 8836 return NULL;
1d99702e
RD
8837 if (_argo0) {
8838 if (_argo0 == Py_None) { _arg0 = NULL; }
8839 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8ab979d7
RD
8840 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
8841 return NULL;
8842 }
8843 }
8844 _arg2 = (bool ) tempbool2;
cf694132 8845{
4268f798 8846 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8847 wxMenu_Enable(_arg0,_arg1,_arg2);
cf694132 8848
4268f798 8849 wxPyEndAllowThreads(__tstate);
493f1553 8850 if (PyErr_Occurred()) return NULL;
cf694132 8851} Py_INCREF(Py_None);
8ab979d7
RD
8852 _resultobj = Py_None;
8853 return _resultobj;
8854}
8855
b1462dfa
RD
8856#define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
8857static PyObject *_wrap_wxMenu_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
8858 PyObject * _resultobj;
8859 bool _result;
8860 wxMenu * _arg0;
8861 int _arg1;
8862 PyObject * _argo0 = 0;
8863 char *_kwnames[] = { "self","id", NULL };
8864
8865 self = self;
8866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_IsEnabled",_kwnames,&_argo0,&_arg1))
8867 return NULL;
8868 if (_argo0) {
8869 if (_argo0 == Py_None) { _arg0 = NULL; }
8870 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8871 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
8872 return NULL;
8873 }
8874 }
8875{
4268f798 8876 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8877 _result = (bool )wxMenu_IsEnabled(_arg0,_arg1);
b1462dfa 8878
4268f798 8879 wxPyEndAllowThreads(__tstate);
493f1553 8880 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
8881} _resultobj = Py_BuildValue("i",_result);
8882 return _resultobj;
8883}
8884
8ab979d7 8885#define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
efc5f224 8886static PyObject *_wrap_wxMenu_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8887 PyObject * _resultobj;
8888 int _result;
8889 wxMenu * _arg0;
8890 wxString * _arg1;
1d99702e 8891 PyObject * _argo0 = 0;
8ab979d7 8892 PyObject * _obj1 = 0;
efc5f224 8893 char *_kwnames[] = { "self","itemString", NULL };
8ab979d7
RD
8894
8895 self = self;
efc5f224 8896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_FindItem",_kwnames,&_argo0,&_obj1))
8ab979d7 8897 return NULL;
1d99702e
RD
8898 if (_argo0) {
8899 if (_argo0 == Py_None) { _arg0 = NULL; }
8900 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8ab979d7
RD
8901 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
8902 return NULL;
8903 }
8904 }
8905{
c8bc7bb8
RD
8906 _arg1 = wxString_in_helper(_obj1);
8907 if (_arg1 == NULL)
185d7c3e 8908 return NULL;
8ab979d7 8909}
cf694132 8910{
4268f798 8911 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8912 _result = (int )wxMenu_FindItem(_arg0,*_arg1);
cf694132 8913
4268f798 8914 wxPyEndAllowThreads(__tstate);
493f1553 8915 if (PyErr_Occurred()) return NULL;
cf694132 8916} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
8917{
8918 if (_obj1)
8919 delete _arg1;
8920}
8921 return _resultobj;
8922}
8923
b1462dfa
RD
8924#define wxMenu_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
8925static PyObject *_wrap_wxMenu_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
8926 PyObject * _resultobj;
8927 wxMenuItem * _result;
8928 wxMenu * _arg0;
8929 int _arg1;
8930 PyObject * _argo0 = 0;
8931 char *_kwnames[] = { "self","id", NULL };
b1462dfa
RD
8932
8933 self = self;
8934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_FindItemById",_kwnames,&_argo0,&_arg1))
8935 return NULL;
8936 if (_argo0) {
8937 if (_argo0 == Py_None) { _arg0 = NULL; }
8938 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8939 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_FindItemById. Expected _wxMenu_p.");
8940 return NULL;
8941 }
8942 }
8943{
4268f798 8944 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8945 _result = (wxMenuItem *)wxMenu_FindItemById(_arg0,_arg1);
b1462dfa 8946
4268f798 8947 wxPyEndAllowThreads(__tstate);
493f1553 8948 if (PyErr_Occurred()) return NULL;
9416aa89 8949}{ _resultobj = wxPyMake_wxObject(_result); }
b1462dfa
RD
8950 return _resultobj;
8951}
8952
8ab979d7 8953#define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
efc5f224 8954static PyObject *_wrap_wxMenu_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8955 PyObject * _resultobj;
8956 wxString * _result;
8957 wxMenu * _arg0;
1d99702e 8958 PyObject * _argo0 = 0;
efc5f224 8959 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
8960
8961 self = self;
efc5f224 8962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetTitle",_kwnames,&_argo0))
8ab979d7 8963 return NULL;
1d99702e
RD
8964 if (_argo0) {
8965 if (_argo0 == Py_None) { _arg0 = NULL; }
8966 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8ab979d7
RD
8967 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
8968 return NULL;
8969 }
8970 }
8ab979d7 8971{
4268f798 8972 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8973 _result = new wxString (wxMenu_GetTitle(_arg0));
cf694132 8974
4268f798 8975 wxPyEndAllowThreads(__tstate);
493f1553 8976 if (PyErr_Occurred()) return NULL;
cf694132 8977}{
c8bc7bb8
RD
8978#if wxUSE_UNICODE
8979 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
8980#else
eec92d76 8981 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 8982#endif
8ab979d7
RD
8983}
8984{
8985 delete _result;
8986}
8987 return _resultobj;
8988}
8989
8990#define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
efc5f224 8991static PyObject *_wrap_wxMenu_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8992 PyObject * _resultobj;
8993 wxMenu * _arg0;
8994 wxString * _arg1;
1d99702e 8995 PyObject * _argo0 = 0;
8ab979d7 8996 PyObject * _obj1 = 0;
efc5f224 8997 char *_kwnames[] = { "self","title", NULL };
8ab979d7
RD
8998
8999 self = self;
efc5f224 9000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_SetTitle",_kwnames,&_argo0,&_obj1))
8ab979d7 9001 return NULL;
1d99702e
RD
9002 if (_argo0) {
9003 if (_argo0 == Py_None) { _arg0 = NULL; }
9004 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8ab979d7
RD
9005 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
9006 return NULL;
9007 }
9008 }
9009{
c8bc7bb8
RD
9010 _arg1 = wxString_in_helper(_obj1);
9011 if (_arg1 == NULL)
185d7c3e 9012 return NULL;
8ab979d7 9013}
cf694132 9014{
4268f798 9015 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9016 wxMenu_SetTitle(_arg0,*_arg1);
cf694132 9017
4268f798 9018 wxPyEndAllowThreads(__tstate);
493f1553 9019 if (PyErr_Occurred()) return NULL;
cf694132 9020} Py_INCREF(Py_None);
8ab979d7
RD
9021 _resultobj = Py_None;
9022{
9023 if (_obj1)
9024 delete _arg1;
9025}
9026 return _resultobj;
9027}
9028
b1462dfa
RD
9029#define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
9030static PyObject *_wrap_wxMenu_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9031 PyObject * _resultobj;
b1462dfa 9032 wxString * _result;
8ab979d7
RD
9033 wxMenu * _arg0;
9034 int _arg1;
1d99702e 9035 PyObject * _argo0 = 0;
efc5f224 9036 char *_kwnames[] = { "self","id", NULL };
8ab979d7
RD
9037
9038 self = self;
b1462dfa 9039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_GetLabel",_kwnames,&_argo0,&_arg1))
8ab979d7 9040 return NULL;
1d99702e
RD
9041 if (_argo0) {
9042 if (_argo0 == Py_None) { _arg0 = NULL; }
9043 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
b1462dfa 9044 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
8ab979d7
RD
9045 return NULL;
9046 }
9047 }
cf694132 9048{
4268f798 9049 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9050 _result = new wxString (wxMenu_GetLabel(_arg0,_arg1));
cf694132 9051
4268f798 9052 wxPyEndAllowThreads(__tstate);
493f1553 9053 if (PyErr_Occurred()) return NULL;
b1462dfa 9054}{
c8bc7bb8
RD
9055#if wxUSE_UNICODE
9056 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
9057#else
eec92d76 9058 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 9059#endif
b1462dfa
RD
9060}
9061{
9062 delete _result;
9063}
8ab979d7
RD
9064 return _resultobj;
9065}
9066
b1462dfa
RD
9067#define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
9068static PyObject *_wrap_wxMenu_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9069 PyObject * _resultobj;
8ab979d7
RD
9070 wxMenu * _arg0;
9071 int _arg1;
b1462dfa 9072 wxString * _arg2;
1d99702e 9073 PyObject * _argo0 = 0;
b1462dfa
RD
9074 PyObject * _obj2 = 0;
9075 char *_kwnames[] = { "self","id","label", NULL };
8ab979d7
RD
9076
9077 self = self;
b1462dfa 9078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenu_SetLabel",_kwnames,&_argo0,&_arg1,&_obj2))
8ab979d7 9079 return NULL;
1d99702e
RD
9080 if (_argo0) {
9081 if (_argo0 == Py_None) { _arg0 = NULL; }
9082 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
b1462dfa 9083 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
8ab979d7
RD
9084 return NULL;
9085 }
9086 }
b1462dfa 9087{
c8bc7bb8
RD
9088 _arg2 = wxString_in_helper(_obj2);
9089 if (_arg2 == NULL)
185d7c3e 9090 return NULL;
b1462dfa 9091}
8ab979d7 9092{
4268f798 9093 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9094 wxMenu_SetLabel(_arg0,_arg1,*_arg2);
cf694132 9095
4268f798 9096 wxPyEndAllowThreads(__tstate);
493f1553 9097 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
9098} Py_INCREF(Py_None);
9099 _resultobj = Py_None;
8ab979d7 9100{
b1462dfa
RD
9101 if (_obj2)
9102 delete _arg2;
8ab979d7
RD
9103}
9104 return _resultobj;
9105}
9106
b1462dfa
RD
9107#define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
9108static PyObject *_wrap_wxMenu_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9109 PyObject * _resultobj;
9110 wxString * _result;
9111 wxMenu * _arg0;
9112 int _arg1;
1d99702e 9113 PyObject * _argo0 = 0;
efc5f224 9114 char *_kwnames[] = { "self","id", NULL };
8ab979d7
RD
9115
9116 self = self;
b1462dfa 9117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_GetHelpString",_kwnames,&_argo0,&_arg1))
8ab979d7 9118 return NULL;
1d99702e
RD
9119 if (_argo0) {
9120 if (_argo0 == Py_None) { _arg0 = NULL; }
9121 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
b1462dfa 9122 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
8ab979d7
RD
9123 return NULL;
9124 }
9125 }
8ab979d7 9126{
4268f798 9127 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9128 _result = new wxString (wxMenu_GetHelpString(_arg0,_arg1));
cf694132 9129
4268f798 9130 wxPyEndAllowThreads(__tstate);
493f1553 9131 if (PyErr_Occurred()) return NULL;
cf694132 9132}{
c8bc7bb8
RD
9133#if wxUSE_UNICODE
9134 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
9135#else
eec92d76 9136 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 9137#endif
8ab979d7
RD
9138}
9139{
9140 delete _result;
9141}
9142 return _resultobj;
9143}
9144
9145#define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
efc5f224 9146static PyObject *_wrap_wxMenu_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9147 PyObject * _resultobj;
9148 wxMenu * _arg0;
9149 int _arg1;
9150 wxString * _arg2;
1d99702e 9151 PyObject * _argo0 = 0;
8ab979d7 9152 PyObject * _obj2 = 0;
efc5f224 9153 char *_kwnames[] = { "self","id","helpString", NULL };
8ab979d7
RD
9154
9155 self = self;
efc5f224 9156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenu_SetHelpString",_kwnames,&_argo0,&_arg1,&_obj2))
8ab979d7 9157 return NULL;
1d99702e
RD
9158 if (_argo0) {
9159 if (_argo0 == Py_None) { _arg0 = NULL; }
9160 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8ab979d7
RD
9161 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
9162 return NULL;
9163 }
9164 }
9165{
c8bc7bb8
RD
9166 _arg2 = wxString_in_helper(_obj2);
9167 if (_arg2 == NULL)
185d7c3e 9168 return NULL;
8ab979d7 9169}
cf694132 9170{
4268f798 9171 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9172 wxMenu_SetHelpString(_arg0,_arg1,*_arg2);
cf694132 9173
4268f798 9174 wxPyEndAllowThreads(__tstate);
493f1553 9175 if (PyErr_Occurred()) return NULL;
cf694132 9176} Py_INCREF(Py_None);
8ab979d7
RD
9177 _resultobj = Py_None;
9178{
9179 if (_obj2)
9180 delete _arg2;
9181}
9182 return _resultobj;
9183}
9184
b1462dfa
RD
9185#define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
9186static PyObject *_wrap_wxMenu_UpdateUI(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9187 PyObject * _resultobj;
8ab979d7 9188 wxMenu * _arg0;
b1462dfa 9189 wxEvtHandler * _arg1 = (wxEvtHandler *) NULL;
1d99702e 9190 PyObject * _argo0 = 0;
b1462dfa
RD
9191 PyObject * _argo1 = 0;
9192 char *_kwnames[] = { "self","source", NULL };
8ab979d7
RD
9193
9194 self = self;
b1462dfa 9195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxMenu_UpdateUI",_kwnames,&_argo0,&_argo1))
8ab979d7 9196 return NULL;
1d99702e
RD
9197 if (_argo0) {
9198 if (_argo0 == Py_None) { _arg0 = NULL; }
9199 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
b1462dfa
RD
9200 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
9201 return NULL;
9202 }
9203 }
9204 if (_argo1) {
9205 if (_argo1 == Py_None) { _arg1 = NULL; }
9206 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
9207 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
8ab979d7
RD
9208 return NULL;
9209 }
9210 }
cf694132 9211{
4268f798 9212 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9213 wxMenu_UpdateUI(_arg0,_arg1);
cf694132 9214
4268f798 9215 wxPyEndAllowThreads(__tstate);
493f1553 9216 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
9217} Py_INCREF(Py_None);
9218 _resultobj = Py_None;
8ab979d7
RD
9219 return _resultobj;
9220}
9221
b1462dfa
RD
9222#define wxMenu_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
9223static PyObject *_wrap_wxMenu_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9224 PyObject * _resultobj;
9225 bool _result;
9226 wxMenu * _arg0;
9227 int _arg1;
1d99702e 9228 PyObject * _argo0 = 0;
efc5f224 9229 char *_kwnames[] = { "self","id", NULL };
8ab979d7
RD
9230
9231 self = self;
b1462dfa 9232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_Delete",_kwnames,&_argo0,&_arg1))
8ab979d7 9233 return NULL;
1d99702e
RD
9234 if (_argo0) {
9235 if (_argo0 == Py_None) { _arg0 = NULL; }
9236 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
b1462dfa 9237 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Delete. Expected _wxMenu_p.");
8ab979d7
RD
9238 return NULL;
9239 }
9240 }
cf694132 9241{
4268f798 9242 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9243 _result = (bool )wxMenu_Delete(_arg0,_arg1);
cf694132 9244
4268f798 9245 wxPyEndAllowThreads(__tstate);
493f1553 9246 if (PyErr_Occurred()) return NULL;
cf694132 9247} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
9248 return _resultobj;
9249}
9250
b1462dfa
RD
9251#define wxMenu_DeleteItem(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
9252static PyObject *_wrap_wxMenu_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9253 PyObject * _resultobj;
b1462dfa 9254 bool _result;
8ab979d7 9255 wxMenu * _arg0;
b1462dfa 9256 wxMenuItem * _arg1;
1d99702e 9257 PyObject * _argo0 = 0;
b1462dfa
RD
9258 PyObject * _argo1 = 0;
9259 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
9260
9261 self = self;
b1462dfa 9262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_DeleteItem",_kwnames,&_argo0,&_argo1))
8ab979d7 9263 return NULL;
1d99702e
RD
9264 if (_argo0) {
9265 if (_argo0 == Py_None) { _arg0 = NULL; }
9266 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
b1462dfa 9267 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_DeleteItem. Expected _wxMenu_p.");
8ab979d7
RD
9268 return NULL;
9269 }
9270 }
b1462dfa
RD
9271 if (_argo1) {
9272 if (_argo1 == Py_None) { _arg1 = NULL; }
9273 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenuItem_p")) {
9274 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_DeleteItem. Expected _wxMenuItem_p.");
8ab979d7 9275 return NULL;
b1462dfa 9276 }
8ab979d7 9277 }
cf694132 9278{
4268f798 9279 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9280 _result = (bool )wxMenu_DeleteItem(_arg0,_arg1);
cf694132 9281
4268f798 9282 wxPyEndAllowThreads(__tstate);
493f1553 9283 if (PyErr_Occurred()) return NULL;
b1462dfa 9284} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
9285 return _resultobj;
9286}
9287
b1462dfa
RD
9288#define wxMenu_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
9289static PyObject *_wrap_wxMenu_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
efc5f224 9290 PyObject * _resultobj;
b1462dfa 9291 wxMenuItem * _result;
efc5f224 9292 wxMenu * _arg0;
b1462dfa 9293 int _arg1;
efc5f224 9294 PyObject * _argo0 = 0;
b1462dfa 9295 char *_kwnames[] = { "self","id", NULL };
efc5f224
RD
9296
9297 self = self;
b1462dfa 9298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_Remove",_kwnames,&_argo0,&_arg1))
efc5f224
RD
9299 return NULL;
9300 if (_argo0) {
9301 if (_argo0 == Py_None) { _arg0 = NULL; }
9302 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
b1462dfa 9303 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Remove. Expected _wxMenu_p.");
efc5f224
RD
9304 return NULL;
9305 }
9306 }
9307{
4268f798 9308 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9309 _result = (wxMenuItem *)wxMenu_Remove(_arg0,_arg1);
efc5f224 9310
4268f798 9311 wxPyEndAllowThreads(__tstate);
493f1553 9312 if (PyErr_Occurred()) return NULL;
9416aa89 9313}{ _resultobj = wxPyMake_wxObject(_result); }
efc5f224
RD
9314 return _resultobj;
9315}
9316
b1462dfa
RD
9317#define wxMenu_RemoveItem(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
9318static PyObject *_wrap_wxMenu_RemoveItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9319 PyObject * _resultobj;
b1462dfa
RD
9320 wxMenuItem * _result;
9321 wxMenu * _arg0;
9322 wxMenuItem * _arg1;
9323 PyObject * _argo0 = 0;
9324 PyObject * _argo1 = 0;
9325 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
9326
9327 self = self;
b1462dfa
RD
9328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_RemoveItem",_kwnames,&_argo0,&_argo1))
9329 return NULL;
9330 if (_argo0) {
9331 if (_argo0 == Py_None) { _arg0 = NULL; }
9332 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9333 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_RemoveItem. Expected _wxMenu_p.");
9334 return NULL;
9335 }
9336 }
9337 if (_argo1) {
9338 if (_argo1 == Py_None) { _arg1 = NULL; }
9339 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenuItem_p")) {
9340 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_RemoveItem. Expected _wxMenuItem_p.");
8ab979d7 9341 return NULL;
b1462dfa
RD
9342 }
9343 }
cf694132 9344{
4268f798 9345 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9346 _result = (wxMenuItem *)wxMenu_RemoveItem(_arg0,_arg1);
cf694132 9347
4268f798 9348 wxPyEndAllowThreads(__tstate);
493f1553 9349 if (PyErr_Occurred()) return NULL;
9416aa89 9350}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
9351 return _resultobj;
9352}
9353
eb715945 9354static void wxMenu_Destroy(wxMenu *self) { delete self; }
b1462dfa 9355static PyObject *_wrap_wxMenu_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9356 PyObject * _resultobj;
b1462dfa 9357 wxMenu * _arg0;
1d99702e 9358 PyObject * _argo0 = 0;
b1462dfa 9359 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9360
9361 self = self;
b1462dfa 9362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_Destroy",_kwnames,&_argo0))
8ab979d7 9363 return NULL;
1d99702e
RD
9364 if (_argo0) {
9365 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9366 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9367 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Destroy. Expected _wxMenu_p.");
8ab979d7
RD
9368 return NULL;
9369 }
9370 }
cf694132 9371{
4268f798 9372 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9373 wxMenu_Destroy(_arg0);
cf694132 9374
4268f798 9375 wxPyEndAllowThreads(__tstate);
493f1553 9376 if (PyErr_Occurred()) return NULL;
cf694132 9377} Py_INCREF(Py_None);
8ab979d7 9378 _resultobj = Py_None;
8ab979d7
RD
9379 return _resultobj;
9380}
9381
b1462dfa
RD
9382#define wxMenu_DestroyId(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
9383static PyObject *_wrap_wxMenu_DestroyId(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9384 PyObject * _resultobj;
b1462dfa
RD
9385 bool _result;
9386 wxMenu * _arg0;
8ab979d7 9387 int _arg1;
1d99702e 9388 PyObject * _argo0 = 0;
b1462dfa 9389 char *_kwnames[] = { "self","id", NULL };
8ab979d7
RD
9390
9391 self = self;
b1462dfa 9392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_DestroyId",_kwnames,&_argo0,&_arg1))
8ab979d7 9393 return NULL;
1d99702e
RD
9394 if (_argo0) {
9395 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9396 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9397 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_DestroyId. Expected _wxMenu_p.");
8ab979d7
RD
9398 return NULL;
9399 }
9400 }
cf694132 9401{
4268f798 9402 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9403 _result = (bool )wxMenu_DestroyId(_arg0,_arg1);
cf694132 9404
4268f798 9405 wxPyEndAllowThreads(__tstate);
493f1553 9406 if (PyErr_Occurred()) return NULL;
b1462dfa 9407} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
9408 return _resultobj;
9409}
9410
b1462dfa
RD
9411#define wxMenu_DestroyItem(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
9412static PyObject *_wrap_wxMenu_DestroyItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9413 PyObject * _resultobj;
b1462dfa
RD
9414 bool _result;
9415 wxMenu * _arg0;
9416 wxMenuItem * _arg1;
1d99702e 9417 PyObject * _argo0 = 0;
b1462dfa
RD
9418 PyObject * _argo1 = 0;
9419 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
9420
9421 self = self;
b1462dfa 9422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_DestroyItem",_kwnames,&_argo0,&_argo1))
8ab979d7 9423 return NULL;
1d99702e
RD
9424 if (_argo0) {
9425 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9426 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9427 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_DestroyItem. Expected _wxMenu_p.");
9428 return NULL;
9429 }
9430 }
9431 if (_argo1) {
9432 if (_argo1 == Py_None) { _arg1 = NULL; }
9433 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenuItem_p")) {
9434 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_DestroyItem. Expected _wxMenuItem_p.");
8ab979d7
RD
9435 return NULL;
9436 }
9437 }
cf694132 9438{
4268f798 9439 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9440 _result = (bool )wxMenu_DestroyItem(_arg0,_arg1);
cf694132 9441
4268f798 9442 wxPyEndAllowThreads(__tstate);
493f1553 9443 if (PyErr_Occurred()) return NULL;
b1462dfa 9444} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
9445 return _resultobj;
9446}
9447
b1462dfa
RD
9448#define wxMenu_GetMenuItemCount(_swigobj) (_swigobj->GetMenuItemCount())
9449static PyObject *_wrap_wxMenu_GetMenuItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9450 PyObject * _resultobj;
b1462dfa
RD
9451 size_t _result;
9452 wxMenu * _arg0;
1d99702e 9453 PyObject * _argo0 = 0;
b1462dfa 9454 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9455
9456 self = self;
b1462dfa 9457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetMenuItemCount",_kwnames,&_argo0))
8ab979d7 9458 return NULL;
1d99702e
RD
9459 if (_argo0) {
9460 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9461 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9462 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetMenuItemCount. Expected _wxMenu_p.");
8ab979d7
RD
9463 return NULL;
9464 }
9465 }
cf694132 9466{
4268f798 9467 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9468 _result = (size_t )wxMenu_GetMenuItemCount(_arg0);
cf694132 9469
4268f798 9470 wxPyEndAllowThreads(__tstate);
493f1553 9471 if (PyErr_Occurred()) return NULL;
2abc0a0f 9472} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
9473 return _resultobj;
9474}
9475
b1462dfa
RD
9476static PyObject * wxMenu_GetMenuItems(wxMenu *self) {
9477 wxMenuItemList& list = self->GetMenuItems();
9478 return wxPy_ConvertList(&list, "wxMenuItem");
9479 }
9480static PyObject *_wrap_wxMenu_GetMenuItems(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9481 PyObject * _resultobj;
b1462dfa
RD
9482 PyObject * _result;
9483 wxMenu * _arg0;
1d99702e 9484 PyObject * _argo0 = 0;
b1462dfa 9485 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9486
9487 self = self;
b1462dfa 9488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetMenuItems",_kwnames,&_argo0))
8ab979d7 9489 return NULL;
1d99702e
RD
9490 if (_argo0) {
9491 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9492 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9493 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetMenuItems. Expected _wxMenu_p.");
8ab979d7
RD
9494 return NULL;
9495 }
9496 }
cf694132 9497{
4268f798 9498 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9499 _result = (PyObject *)wxMenu_GetMenuItems(_arg0);
cf694132 9500
4268f798 9501 wxPyEndAllowThreads(__tstate);
493f1553 9502 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
9503}{
9504 _resultobj = _result;
9505}
8ab979d7
RD
9506 return _resultobj;
9507}
9508
b1462dfa
RD
9509#define wxMenu_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
9510static PyObject *_wrap_wxMenu_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9511 PyObject * _resultobj;
b1462dfa
RD
9512 wxMenu * _arg0;
9513 wxEvtHandler * _arg1;
1d99702e 9514 PyObject * _argo0 = 0;
b1462dfa
RD
9515 PyObject * _argo1 = 0;
9516 char *_kwnames[] = { "self","handler", NULL };
8ab979d7
RD
9517
9518 self = self;
b1462dfa 9519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_SetEventHandler",_kwnames,&_argo0,&_argo1))
8ab979d7 9520 return NULL;
1d99702e
RD
9521 if (_argo0) {
9522 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9523 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9524 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetEventHandler. Expected _wxMenu_p.");
8ab979d7
RD
9525 return NULL;
9526 }
9527 }
b1462dfa
RD
9528 if (_argo1) {
9529 if (_argo1 == Py_None) { _arg1 = NULL; }
9530 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
9531 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_SetEventHandler. Expected _wxEvtHandler_p.");
8ab979d7 9532 return NULL;
b1462dfa 9533 }
8ab979d7 9534 }
cf694132 9535{
4268f798 9536 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9537 wxMenu_SetEventHandler(_arg0,_arg1);
cf694132 9538
4268f798 9539 wxPyEndAllowThreads(__tstate);
493f1553 9540 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
9541} Py_INCREF(Py_None);
9542 _resultobj = Py_None;
8ab979d7
RD
9543 return _resultobj;
9544}
9545
b1462dfa
RD
9546#define wxMenu_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
9547static PyObject *_wrap_wxMenu_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9548 PyObject * _resultobj;
b1462dfa
RD
9549 wxEvtHandler * _result;
9550 wxMenu * _arg0;
1d99702e 9551 PyObject * _argo0 = 0;
b1462dfa 9552 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9553
9554 self = self;
b1462dfa 9555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetEventHandler",_kwnames,&_argo0))
8ab979d7 9556 return NULL;
1d99702e
RD
9557 if (_argo0) {
9558 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9559 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9560 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetEventHandler. Expected _wxMenu_p.");
8ab979d7
RD
9561 return NULL;
9562 }
9563 }
cf694132 9564{
4268f798 9565 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9566 _result = (wxEvtHandler *)wxMenu_GetEventHandler(_arg0);
cf694132 9567
4268f798 9568 wxPyEndAllowThreads(__tstate);
493f1553 9569 if (PyErr_Occurred()) return NULL;
9416aa89 9570}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
9571 return _resultobj;
9572}
9573
b1462dfa
RD
9574#define wxMenu_SetInvokingWindow(_swigobj,_swigarg0) (_swigobj->SetInvokingWindow(_swigarg0))
9575static PyObject *_wrap_wxMenu_SetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2f90df85 9576 PyObject * _resultobj;
b1462dfa
RD
9577 wxMenu * _arg0;
9578 wxWindow * _arg1;
2f90df85 9579 PyObject * _argo0 = 0;
b1462dfa
RD
9580 PyObject * _argo1 = 0;
9581 char *_kwnames[] = { "self","win", NULL };
2f90df85
RD
9582
9583 self = self;
b1462dfa 9584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_SetInvokingWindow",_kwnames,&_argo0,&_argo1))
2f90df85
RD
9585 return NULL;
9586 if (_argo0) {
9587 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9588 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9589 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetInvokingWindow. Expected _wxMenu_p.");
2f90df85
RD
9590 return NULL;
9591 }
9592 }
b1462dfa
RD
9593 if (_argo1) {
9594 if (_argo1 == Py_None) { _arg1 = NULL; }
9595 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
9596 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_SetInvokingWindow. Expected _wxWindow_p.");
2f90df85 9597 return NULL;
b1462dfa 9598 }
2f90df85 9599 }
2f90df85 9600{
4268f798 9601 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9602 wxMenu_SetInvokingWindow(_arg0,_arg1);
2f90df85 9603
4268f798 9604 wxPyEndAllowThreads(__tstate);
493f1553 9605 if (PyErr_Occurred()) return NULL;
2f90df85
RD
9606} Py_INCREF(Py_None);
9607 _resultobj = Py_None;
2f90df85
RD
9608 return _resultobj;
9609}
9610
b1462dfa
RD
9611#define wxMenu_GetInvokingWindow(_swigobj) (_swigobj->GetInvokingWindow())
9612static PyObject *_wrap_wxMenu_GetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9613 PyObject * _resultobj;
b1462dfa
RD
9614 wxWindow * _result;
9615 wxMenu * _arg0;
1d99702e 9616 PyObject * _argo0 = 0;
b1462dfa 9617 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9618
9619 self = self;
b1462dfa 9620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetInvokingWindow",_kwnames,&_argo0))
8ab979d7 9621 return NULL;
1d99702e
RD
9622 if (_argo0) {
9623 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9624 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9625 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetInvokingWindow. Expected _wxMenu_p.");
8ab979d7
RD
9626 return NULL;
9627 }
9628 }
cf694132 9629{
4268f798 9630 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9631 _result = (wxWindow *)wxMenu_GetInvokingWindow(_arg0);
cf694132 9632
4268f798 9633 wxPyEndAllowThreads(__tstate);
493f1553 9634 if (PyErr_Occurred()) return NULL;
9416aa89 9635}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
9636 return _resultobj;
9637}
9638
b1462dfa
RD
9639#define wxMenu_GetStyle(_swigobj) (_swigobj->GetStyle())
9640static PyObject *_wrap_wxMenu_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9641 PyObject * _resultobj;
b1462dfa
RD
9642 long _result;
9643 wxMenu * _arg0;
1d99702e 9644 PyObject * _argo0 = 0;
b1462dfa 9645 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9646
9647 self = self;
b1462dfa 9648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetStyle",_kwnames,&_argo0))
8ab979d7 9649 return NULL;
1d99702e
RD
9650 if (_argo0) {
9651 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9652 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9653 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetStyle. Expected _wxMenu_p.");
8ab979d7
RD
9654 return NULL;
9655 }
9656 }
8ab979d7 9657{
4268f798 9658 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9659 _result = (long )wxMenu_GetStyle(_arg0);
cf694132 9660
4268f798 9661 wxPyEndAllowThreads(__tstate);
493f1553 9662 if (PyErr_Occurred()) return NULL;
b1462dfa 9663} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
9664 return _resultobj;
9665}
9666
b1462dfa
RD
9667#define wxMenu_IsAttached(_swigobj) (_swigobj->IsAttached())
9668static PyObject *_wrap_wxMenu_IsAttached(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9669 PyObject * _resultobj;
b1462dfa
RD
9670 bool _result;
9671 wxMenu * _arg0;
1d99702e 9672 PyObject * _argo0 = 0;
b1462dfa 9673 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9674
9675 self = self;
b1462dfa 9676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_IsAttached",_kwnames,&_argo0))
8ab979d7 9677 return NULL;
1d99702e
RD
9678 if (_argo0) {
9679 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9680 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9681 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_IsAttached. Expected _wxMenu_p.");
8ab979d7
RD
9682 return NULL;
9683 }
9684 }
8ab979d7 9685{
4268f798 9686 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9687 _result = (bool )wxMenu_IsAttached(_arg0);
cf694132 9688
4268f798 9689 wxPyEndAllowThreads(__tstate);
493f1553 9690 if (PyErr_Occurred()) return NULL;
b1462dfa 9691} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
9692 return _resultobj;
9693}
9694
b1462dfa
RD
9695#define wxMenu_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
9696static PyObject *_wrap_wxMenu_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9697 PyObject * _resultobj;
b1462dfa
RD
9698 wxMenu * _arg0;
9699 wxMenu * _arg1;
1d99702e 9700 PyObject * _argo0 = 0;
b1462dfa
RD
9701 PyObject * _argo1 = 0;
9702 char *_kwnames[] = { "self","parent", NULL };
8ab979d7
RD
9703
9704 self = self;
b1462dfa 9705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_SetParent",_kwnames,&_argo0,&_argo1))
8ab979d7 9706 return NULL;
1d99702e
RD
9707 if (_argo0) {
9708 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9709 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9710 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetParent. Expected _wxMenu_p.");
8ab979d7
RD
9711 return NULL;
9712 }
9713 }
b1462dfa
RD
9714 if (_argo1) {
9715 if (_argo1 == Py_None) { _arg1 = NULL; }
9716 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
9717 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_SetParent. Expected _wxMenu_p.");
8ab979d7 9718 return NULL;
b1462dfa 9719 }
8ab979d7 9720 }
cf694132 9721{
4268f798 9722 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9723 wxMenu_SetParent(_arg0,_arg1);
cf694132 9724
4268f798 9725 wxPyEndAllowThreads(__tstate);
493f1553 9726 if (PyErr_Occurred()) return NULL;
cf694132 9727} Py_INCREF(Py_None);
8ab979d7 9728 _resultobj = Py_None;
8ab979d7
RD
9729 return _resultobj;
9730}
9731
b1462dfa
RD
9732#define wxMenu_GetParent(_swigobj) (_swigobj->GetParent())
9733static PyObject *_wrap_wxMenu_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9734 PyObject * _resultobj;
b1462dfa
RD
9735 wxMenu * _result;
9736 wxMenu * _arg0;
1d99702e 9737 PyObject * _argo0 = 0;
b1462dfa 9738 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9739
9740 self = self;
b1462dfa 9741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetParent",_kwnames,&_argo0))
8ab979d7 9742 return NULL;
1d99702e
RD
9743 if (_argo0) {
9744 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9745 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9746 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetParent. Expected _wxMenu_p.");
8ab979d7
RD
9747 return NULL;
9748 }
9749 }
8ab979d7 9750{
4268f798 9751 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9752 _result = (wxMenu *)wxMenu_GetParent(_arg0);
cf694132 9753
4268f798 9754 wxPyEndAllowThreads(__tstate);
493f1553 9755 if (PyErr_Occurred()) return NULL;
9416aa89 9756}{ _resultobj = wxPyMake_wxObject(_result); }
b1462dfa 9757 return _resultobj;
8ab979d7 9758}
b1462dfa
RD
9759
9760static void *SwigwxMenuBarTowxWindow(void *ptr) {
9761 wxMenuBar *src;
9762 wxWindow *dest;
9763 src = (wxMenuBar *) ptr;
9764 dest = (wxWindow *) src;
9765 return (void *) dest;
9766}
9767
9768static void *SwigwxMenuBarTowxEvtHandler(void *ptr) {
9769 wxMenuBar *src;
9770 wxEvtHandler *dest;
9771 src = (wxMenuBar *) ptr;
9772 dest = (wxEvtHandler *) src;
9773 return (void *) dest;
8ab979d7 9774}
b1462dfa 9775
9416aa89
RD
9776static void *SwigwxMenuBarTowxObject(void *ptr) {
9777 wxMenuBar *src;
9778 wxObject *dest;
9779 src = (wxMenuBar *) ptr;
9780 dest = (wxObject *) src;
9781 return (void *) dest;
9782}
9783
c368d904 9784#define new_wxMenuBar(_swigarg0) (new wxMenuBar(_swigarg0))
b1462dfa
RD
9785static PyObject *_wrap_new_wxMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9786 PyObject * _resultobj;
9787 wxMenuBar * _result;
c368d904
RD
9788 long _arg0 = (long ) 0;
9789 char *_kwnames[] = { "style", NULL };
b1462dfa
RD
9790 char _ptemp[128];
9791
9792 self = self;
c368d904 9793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|l:new_wxMenuBar",_kwnames,&_arg0))
b1462dfa
RD
9794 return NULL;
9795{
4268f798 9796 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9797 _result = (wxMenuBar *)new_wxMenuBar(_arg0);
b1462dfa 9798
4268f798 9799 wxPyEndAllowThreads(__tstate);
493f1553 9800 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
9801} if (_result) {
9802 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuBar_p");
9803 _resultobj = Py_BuildValue("s",_ptemp);
9804 } else {
9805 Py_INCREF(Py_None);
9806 _resultobj = Py_None;
9807 }
8ab979d7
RD
9808 return _resultobj;
9809}
9810
b1462dfa
RD
9811#define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
9812static PyObject *_wrap_wxMenuBar_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9813 PyObject * _resultobj;
b1462dfa 9814 bool _result;
8ab979d7 9815 wxMenuBar * _arg0;
b1462dfa 9816 wxMenu * _arg1;
8ab979d7 9817 wxString * _arg2;
1d99702e 9818 PyObject * _argo0 = 0;
b1462dfa 9819 PyObject * _argo1 = 0;
8ab979d7 9820 PyObject * _obj2 = 0;
b1462dfa 9821 char *_kwnames[] = { "self","menu","title", NULL };
8ab979d7
RD
9822
9823 self = self;
b1462dfa 9824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxMenuBar_Append",_kwnames,&_argo0,&_argo1,&_obj2))
8ab979d7 9825 return NULL;
1d99702e
RD
9826 if (_argo0) {
9827 if (_argo0 == Py_None) { _arg0 = NULL; }
9828 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
b1462dfa
RD
9829 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
9830 return NULL;
9831 }
9832 }
9833 if (_argo1) {
9834 if (_argo1 == Py_None) { _arg1 = NULL; }
9835 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
9836 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
8ab979d7
RD
9837 return NULL;
9838 }
9839 }
9840{
c8bc7bb8
RD
9841 _arg2 = wxString_in_helper(_obj2);
9842 if (_arg2 == NULL)
185d7c3e 9843 return NULL;
8ab979d7 9844}
cf694132 9845{
4268f798 9846 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9847 _result = (bool )wxMenuBar_Append(_arg0,_arg1,*_arg2);
cf694132 9848
4268f798 9849 wxPyEndAllowThreads(__tstate);
493f1553 9850 if (PyErr_Occurred()) return NULL;
b1462dfa 9851} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
9852{
9853 if (_obj2)
9854 delete _arg2;
9855}
9856 return _resultobj;
9857}
9858
b1462dfa
RD
9859#define wxMenuBar_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2))
9860static PyObject *_wrap_wxMenuBar_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9861 PyObject * _resultobj;
b1462dfa 9862 bool _result;
8ab979d7 9863 wxMenuBar * _arg0;
b1462dfa
RD
9864 size_t _arg1;
9865 wxMenu * _arg2;
9866 wxString * _arg3;
1d99702e 9867 PyObject * _argo0 = 0;
b1462dfa
RD
9868 PyObject * _argo2 = 0;
9869 PyObject * _obj3 = 0;
9870 char *_kwnames[] = { "self","pos","menu","title", NULL };
8ab979d7
RD
9871
9872 self = self;
b1462dfa 9873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO:wxMenuBar_Insert",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3))
8ab979d7 9874 return NULL;
1d99702e
RD
9875 if (_argo0) {
9876 if (_argo0 == Py_None) { _arg0 = NULL; }
9877 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
b1462dfa
RD
9878 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Insert. Expected _wxMenuBar_p.");
9879 return NULL;
9880 }
9881 }
9882 if (_argo2) {
9883 if (_argo2 == Py_None) { _arg2 = NULL; }
9884 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxMenu_p")) {
9885 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxMenuBar_Insert. Expected _wxMenu_p.");
8ab979d7
RD
9886 return NULL;
9887 }
9888 }
b1462dfa 9889{
c8bc7bb8
RD
9890 _arg3 = wxString_in_helper(_obj3);
9891 if (_arg3 == NULL)
185d7c3e 9892 return NULL;
b1462dfa 9893}
cf694132 9894{
4268f798 9895 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9896 _result = (bool )wxMenuBar_Insert(_arg0,_arg1,_arg2,*_arg3);
cf694132 9897
4268f798 9898 wxPyEndAllowThreads(__tstate);
493f1553 9899 if (PyErr_Occurred()) return NULL;
cf694132 9900} _resultobj = Py_BuildValue("i",_result);
b1462dfa
RD
9901{
9902 if (_obj3)
9903 delete _arg3;
9904}
8ab979d7
RD
9905 return _resultobj;
9906}
9907
b1462dfa
RD
9908#define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
9909static PyObject *_wrap_wxMenuBar_GetMenuCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9910 PyObject * _resultobj;
b1462dfa 9911 size_t _result;
8ab979d7 9912 wxMenuBar * _arg0;
1d99702e 9913 PyObject * _argo0 = 0;
b1462dfa 9914 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9915
9916 self = self;
b1462dfa 9917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuBar_GetMenuCount",_kwnames,&_argo0))
8ab979d7 9918 return NULL;
1d99702e
RD
9919 if (_argo0) {
9920 if (_argo0 == Py_None) { _arg0 = NULL; }
9921 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
b1462dfa 9922 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
8ab979d7
RD
9923 return NULL;
9924 }
9925 }
cf694132 9926{
4268f798 9927 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9928 _result = (size_t )wxMenuBar_GetMenuCount(_arg0);
cf694132 9929
4268f798 9930 wxPyEndAllowThreads(__tstate);
493f1553 9931 if (PyErr_Occurred()) return NULL;
b1462dfa 9932} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
9933 return _resultobj;
9934}
9935
b1462dfa
RD
9936#define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
9937static PyObject *_wrap_wxMenuBar_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
06c0fba4 9938 PyObject * _resultobj;
b1462dfa 9939 wxMenu * _result;
06c0fba4 9940 wxMenuBar * _arg0;
b1462dfa 9941 size_t _arg1;
06c0fba4 9942 PyObject * _argo0 = 0;
b1462dfa 9943 char *_kwnames[] = { "self","pos", NULL };
06c0fba4
RD
9944
9945 self = self;
b1462dfa 9946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_GetMenu",_kwnames,&_argo0,&_arg1))
06c0fba4
RD
9947 return NULL;
9948 if (_argo0) {
9949 if (_argo0 == Py_None) { _arg0 = NULL; }
9950 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
b1462dfa 9951 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
06c0fba4
RD
9952 return NULL;
9953 }
9954 }
9955{
4268f798 9956 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9957 _result = (wxMenu *)wxMenuBar_GetMenu(_arg0,_arg1);
06c0fba4 9958
4268f798 9959 wxPyEndAllowThreads(__tstate);
493f1553 9960 if (PyErr_Occurred()) return NULL;
9416aa89 9961}{ _resultobj = wxPyMake_wxObject(_result); }
06c0fba4
RD
9962 return _resultobj;
9963}
9964
2abc0a0f
RD
9965#define wxMenuBar_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
9966static PyObject *_wrap_wxMenuBar_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
9967 PyObject * _resultobj;
9968 wxMenu * _result;
9969 wxMenuBar * _arg0;
9970 size_t _arg1;
9971 wxMenu * _arg2;
9972 wxString * _arg3;
9973 PyObject * _argo0 = 0;
9974 PyObject * _argo2 = 0;
9975 PyObject * _obj3 = 0;
9976 char *_kwnames[] = { "self","pos","menu","title", NULL };
2abc0a0f
RD
9977
9978 self = self;
9979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO:wxMenuBar_Replace",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3))
9980 return NULL;
9981 if (_argo0) {
9982 if (_argo0 == Py_None) { _arg0 = NULL; }
9983 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9984 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Replace. Expected _wxMenuBar_p.");
9985 return NULL;
9986 }
9987 }
9988 if (_argo2) {
9989 if (_argo2 == Py_None) { _arg2 = NULL; }
9990 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxMenu_p")) {
9991 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxMenuBar_Replace. Expected _wxMenu_p.");
9992 return NULL;
9993 }
9994 }
9995{
c8bc7bb8
RD
9996 _arg3 = wxString_in_helper(_obj3);
9997 if (_arg3 == NULL)
185d7c3e 9998 return NULL;
2abc0a0f
RD
9999}
10000{
4268f798 10001 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10002 _result = (wxMenu *)wxMenuBar_Replace(_arg0,_arg1,_arg2,*_arg3);
2abc0a0f 10003
4268f798 10004 wxPyEndAllowThreads(__tstate);
493f1553 10005 if (PyErr_Occurred()) return NULL;
9416aa89 10006}{ _resultobj = wxPyMake_wxObject(_result); }
2abc0a0f
RD
10007{
10008 if (_obj3)
10009 delete _arg3;
10010}
10011 return _resultobj;
10012}
10013
10014#define wxMenuBar_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
10015static PyObject *_wrap_wxMenuBar_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
10016 PyObject * _resultobj;
10017 wxMenu * _result;
10018 wxMenuBar * _arg0;
10019 size_t _arg1;
10020 PyObject * _argo0 = 0;
10021 char *_kwnames[] = { "self","pos", NULL };
2abc0a0f
RD
10022
10023 self = self;
10024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_Remove",_kwnames,&_argo0,&_arg1))
10025 return NULL;
10026 if (_argo0) {
10027 if (_argo0 == Py_None) { _arg0 = NULL; }
10028 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10029 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Remove. Expected _wxMenuBar_p.");
10030 return NULL;
10031 }
10032 }
10033{
4268f798 10034 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10035 _result = (wxMenu *)wxMenuBar_Remove(_arg0,_arg1);
2abc0a0f 10036
4268f798 10037 wxPyEndAllowThreads(__tstate);
493f1553 10038 if (PyErr_Occurred()) return NULL;
9416aa89 10039}{ _resultobj = wxPyMake_wxObject(_result); }
2abc0a0f
RD
10040 return _resultobj;
10041}
10042
b1462dfa
RD
10043#define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
10044static PyObject *_wrap_wxMenuBar_EnableTop(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 10045 PyObject * _resultobj;
b1462dfa
RD
10046 wxMenuBar * _arg0;
10047 size_t _arg1;
10048 bool _arg2;
10049 PyObject * _argo0 = 0;
10050 int tempbool2;
10051 char *_kwnames[] = { "self","pos","enable", NULL };
10052
10053 self = self;
10054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxMenuBar_EnableTop",_kwnames,&_argo0,&_arg1,&tempbool2))
10055 return NULL;
10056 if (_argo0) {
10057 if (_argo0 == Py_None) { _arg0 = NULL; }
10058 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10059 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
10060 return NULL;
10061 }
10062 }
10063 _arg2 = (bool ) tempbool2;
10064{
4268f798 10065 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10066 wxMenuBar_EnableTop(_arg0,_arg1,_arg2);
b1462dfa 10067
4268f798 10068 wxPyEndAllowThreads(__tstate);
493f1553 10069 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
10070} Py_INCREF(Py_None);
10071 _resultobj = Py_None;
10072 return _resultobj;
10073}
10074
10075#define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
10076static PyObject *_wrap_wxMenuBar_SetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
10077 PyObject * _resultobj;
10078 wxMenuBar * _arg0;
10079 size_t _arg1;
10080 wxString * _arg2;
1d99702e 10081 PyObject * _argo0 = 0;
cf694132 10082 PyObject * _obj2 = 0;
b1462dfa 10083 char *_kwnames[] = { "self","pos","label", NULL };
cf694132
RD
10084
10085 self = self;
b1462dfa 10086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenuBar_SetLabelTop",_kwnames,&_argo0,&_arg1,&_obj2))
cf694132 10087 return NULL;
1d99702e
RD
10088 if (_argo0) {
10089 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
10090 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10091 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
cf694132
RD
10092 return NULL;
10093 }
10094 }
cf694132 10095{
c8bc7bb8
RD
10096 _arg2 = wxString_in_helper(_obj2);
10097 if (_arg2 == NULL)
185d7c3e 10098 return NULL;
cf694132 10099}
cf694132 10100{
4268f798 10101 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10102 wxMenuBar_SetLabelTop(_arg0,_arg1,*_arg2);
b1462dfa 10103
4268f798 10104 wxPyEndAllowThreads(__tstate);
493f1553 10105 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
10106} Py_INCREF(Py_None);
10107 _resultobj = Py_None;
10108{
10109 if (_obj2)
10110 delete _arg2;
10111}
10112 return _resultobj;
10113}
10114
10115#define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
10116static PyObject *_wrap_wxMenuBar_GetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
10117 PyObject * _resultobj;
10118 wxString * _result;
10119 wxMenuBar * _arg0;
10120 size_t _arg1;
10121 PyObject * _argo0 = 0;
10122 char *_kwnames[] = { "self","pos", NULL };
10123
10124 self = self;
10125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_GetLabelTop",_kwnames,&_argo0,&_arg1))
10126 return NULL;
10127 if (_argo0) {
10128 if (_argo0 == Py_None) { _arg0 = NULL; }
10129 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10130 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
10131 return NULL;
10132 }
10133 }
10134{
4268f798 10135 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10136 _result = new wxString (wxMenuBar_GetLabelTop(_arg0,_arg1));
b1462dfa 10137
4268f798 10138 wxPyEndAllowThreads(__tstate);
493f1553 10139 if (PyErr_Occurred()) return NULL;
b1462dfa 10140}{
c8bc7bb8
RD
10141#if wxUSE_UNICODE
10142 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
10143#else
eec92d76 10144 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 10145#endif
b1462dfa
RD
10146}
10147{
10148 delete _result;
10149}
10150 return _resultobj;
10151}
10152
3a0958b1
RD
10153#define wxMenuBar_FindMenu(_swigobj,_swigarg0) (_swigobj->FindMenu(_swigarg0))
10154static PyObject *_wrap_wxMenuBar_FindMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
10155 PyObject * _resultobj;
10156 int _result;
10157 wxMenuBar * _arg0;
10158 wxString * _arg1;
10159 PyObject * _argo0 = 0;
10160 PyObject * _obj1 = 0;
10161 char *_kwnames[] = { "self","title", NULL };
10162
10163 self = self;
10164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuBar_FindMenu",_kwnames,&_argo0,&_obj1))
10165 return NULL;
10166 if (_argo0) {
10167 if (_argo0 == Py_None) { _arg0 = NULL; }
10168 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10169 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_FindMenu. Expected _wxMenuBar_p.");
10170 return NULL;
10171 }
10172 }
10173{
c8bc7bb8
RD
10174 _arg1 = wxString_in_helper(_obj1);
10175 if (_arg1 == NULL)
3a0958b1 10176 return NULL;
3a0958b1
RD
10177}
10178{
4268f798 10179 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10180 _result = (int )wxMenuBar_FindMenu(_arg0,*_arg1);
3a0958b1 10181
4268f798 10182 wxPyEndAllowThreads(__tstate);
3a0958b1
RD
10183 if (PyErr_Occurred()) return NULL;
10184} _resultobj = Py_BuildValue("i",_result);
10185{
10186 if (_obj1)
10187 delete _arg1;
10188}
10189 return _resultobj;
10190}
10191
b1462dfa
RD
10192#define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
10193static PyObject *_wrap_wxMenuBar_FindMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
10194 PyObject * _resultobj;
10195 int _result;
10196 wxMenuBar * _arg0;
10197 wxString * _arg1;
10198 wxString * _arg2;
10199 PyObject * _argo0 = 0;
10200 PyObject * _obj1 = 0;
10201 PyObject * _obj2 = 0;
10202 char *_kwnames[] = { "self","menuString","itemString", NULL };
10203
10204 self = self;
10205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxMenuBar_FindMenuItem",_kwnames,&_argo0,&_obj1,&_obj2))
10206 return NULL;
10207 if (_argo0) {
10208 if (_argo0 == Py_None) { _arg0 = NULL; }
10209 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10210 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
10211 return NULL;
10212 }
10213 }
10214{
c8bc7bb8
RD
10215 _arg1 = wxString_in_helper(_obj1);
10216 if (_arg1 == NULL)
185d7c3e 10217 return NULL;
cf694132 10218}
b1462dfa 10219{
c8bc7bb8
RD
10220 _arg2 = wxString_in_helper(_obj2);
10221 if (_arg2 == NULL)
b1462dfa 10222 return NULL;
b1462dfa
RD
10223}
10224{
4268f798 10225 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10226 _result = (int )wxMenuBar_FindMenuItem(_arg0,*_arg1,*_arg2);
b1462dfa 10227
4268f798 10228 wxPyEndAllowThreads(__tstate);
493f1553 10229 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
10230} _resultobj = Py_BuildValue("i",_result);
10231{
10232 if (_obj1)
10233 delete _arg1;
10234}
10235{
10236 if (_obj2)
10237 delete _arg2;
10238}
10239 return _resultobj;
10240}
10241
10242#define wxMenuBar_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
10243static PyObject *_wrap_wxMenuBar_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
10244 PyObject * _resultobj;
10245 wxMenuItem * _result;
10246 wxMenuBar * _arg0;
10247 int _arg1;
10248 PyObject * _argo0 = 0;
10249 char *_kwnames[] = { "self","id", NULL };
b1462dfa
RD
10250
10251 self = self;
10252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_FindItemById",_kwnames,&_argo0,&_arg1))
10253 return NULL;
10254 if (_argo0) {
10255 if (_argo0 == Py_None) { _arg0 = NULL; }
10256 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10257 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_FindItemById. Expected _wxMenuBar_p.");
cf694132
RD
10258 return NULL;
10259 }
10260 }
10261{
4268f798 10262 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10263 _result = (wxMenuItem *)wxMenuBar_FindItemById(_arg0,_arg1);
cf694132 10264
4268f798 10265 wxPyEndAllowThreads(__tstate);
493f1553 10266 if (PyErr_Occurred()) return NULL;
9416aa89 10267}{ _resultobj = wxPyMake_wxObject(_result); }
b1462dfa 10268 return _resultobj;
cf694132 10269}
b1462dfa
RD
10270
10271#define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
10272static PyObject *_wrap_wxMenuBar_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
10273 PyObject * _resultobj;
10274 wxMenuBar * _arg0;
10275 int _arg1;
10276 bool _arg2;
10277 PyObject * _argo0 = 0;
10278 int tempbool2;
10279 char *_kwnames[] = { "self","id","enable", NULL };
10280
10281 self = self;
10282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxMenuBar_Enable",_kwnames,&_argo0,&_arg1,&tempbool2))
10283 return NULL;
10284 if (_argo0) {
10285 if (_argo0 == Py_None) { _arg0 = NULL; }
10286 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10287 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
10288 return NULL;
10289 }
10290 }
10291 _arg2 = (bool ) tempbool2;
cf694132 10292{
4268f798 10293 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10294 wxMenuBar_Enable(_arg0,_arg1,_arg2);
b1462dfa 10295
4268f798 10296 wxPyEndAllowThreads(__tstate);
493f1553 10297 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
10298} Py_INCREF(Py_None);
10299 _resultobj = Py_None;
10300 return _resultobj;
cf694132 10301}
b1462dfa
RD
10302
10303#define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
10304static PyObject *_wrap_wxMenuBar_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
10305 PyObject * _resultobj;
10306 wxMenuBar * _arg0;
10307 int _arg1;
10308 bool _arg2;
10309 PyObject * _argo0 = 0;
10310 int tempbool2;
10311 char *_kwnames[] = { "self","id","check", NULL };
10312
10313 self = self;
10314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxMenuBar_Check",_kwnames,&_argo0,&_arg1,&tempbool2))
10315 return NULL;
10316 if (_argo0) {
10317 if (_argo0 == Py_None) { _arg0 = NULL; }
10318 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10319 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
10320 return NULL;
10321 }
10322 }
10323 _arg2 = (bool ) tempbool2;
10324{
4268f798 10325 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10326 wxMenuBar_Check(_arg0,_arg1,_arg2);
b1462dfa 10327
4268f798 10328 wxPyEndAllowThreads(__tstate);
493f1553 10329 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
10330} Py_INCREF(Py_None);
10331 _resultobj = Py_None;
cf694132
RD
10332 return _resultobj;
10333}
10334
b1462dfa
RD
10335#define wxMenuBar_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
10336static PyObject *_wrap_wxMenuBar_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10337 PyObject * _resultobj;
10338 bool _result;
b1462dfa
RD
10339 wxMenuBar * _arg0;
10340 int _arg1;
1d99702e 10341 PyObject * _argo0 = 0;
b1462dfa 10342 char *_kwnames[] = { "self","id", NULL };
8ab979d7
RD
10343
10344 self = self;
b1462dfa 10345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_IsChecked",_kwnames,&_argo0,&_arg1))
8ab979d7 10346 return NULL;
1d99702e
RD
10347 if (_argo0) {
10348 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
10349 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10350 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_IsChecked. Expected _wxMenuBar_p.");
8ab979d7
RD
10351 return NULL;
10352 }
10353 }
cf694132 10354{
4268f798 10355 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10356 _result = (bool )wxMenuBar_IsChecked(_arg0,_arg1);
cf694132 10357
4268f798 10358 wxPyEndAllowThreads(__tstate);
493f1553 10359 if (PyErr_Occurred()) return NULL;
cf694132 10360} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
10361 return _resultobj;
10362}
10363
b1462dfa
RD
10364#define wxMenuBar_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
10365static PyObject *_wrap_wxMenuBar_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10366 PyObject * _resultobj;
10367 bool _result;
b1462dfa
RD
10368 wxMenuBar * _arg0;
10369 int _arg1;
1d99702e 10370 PyObject * _argo0 = 0;
b1462dfa 10371 char *_kwnames[] = { "self","id", NULL };
8ab979d7
RD
10372
10373 self = self;
b1462dfa 10374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_IsEnabled",_kwnames,&_argo0,&_arg1))
8ab979d7 10375 return NULL;
1d99702e
RD
10376 if (_argo0) {
10377 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
10378 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10379 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_IsEnabled. Expected _wxMenuBar_p.");
8ab979d7
RD
10380 return NULL;
10381 }
10382 }
cf694132 10383{
4268f798 10384 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10385 _result = (bool )wxMenuBar_IsEnabled(_arg0,_arg1);
cf694132 10386
4268f798 10387 wxPyEndAllowThreads(__tstate);
493f1553 10388 if (PyErr_Occurred()) return NULL;
cf694132 10389} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
10390 return _resultobj;
10391}
10392
b1462dfa
RD
10393#define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
10394static PyObject *_wrap_wxMenuBar_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 10395 PyObject * _resultobj;
b1462dfa
RD
10396 wxMenuBar * _arg0;
10397 int _arg1;
10398 wxString * _arg2;
1d99702e 10399 PyObject * _argo0 = 0;
b1462dfa
RD
10400 PyObject * _obj2 = 0;
10401 char *_kwnames[] = { "self","id","label", NULL };
8ab979d7
RD
10402
10403 self = self;
b1462dfa 10404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenuBar_SetLabel",_kwnames,&_argo0,&_arg1,&_obj2))
8ab979d7 10405 return NULL;
1d99702e
RD
10406 if (_argo0) {
10407 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
10408 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10409 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
8ab979d7
RD
10410 return NULL;
10411 }
10412 }
b1462dfa 10413{
c8bc7bb8
RD
10414 _arg2 = wxString_in_helper(_obj2);
10415 if (_arg2 == NULL)
b1462dfa 10416 return NULL;
b1462dfa 10417}
cf694132 10418{
4268f798 10419 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10420 wxMenuBar_SetLabel(_arg0,_arg1,*_arg2);
cf694132 10421
4268f798 10422 wxPyEndAllowThreads(__tstate);
493f1553 10423 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
10424} Py_INCREF(Py_None);
10425 _resultobj = Py_None;
10426{
10427 if (_obj2)
10428 delete _arg2;
10429}
8ab979d7
RD
10430 return _resultobj;
10431}
10432
b1462dfa
RD
10433#define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
10434static PyObject *_wrap_wxMenuBar_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 10435 PyObject * _resultobj;
b1462dfa
RD
10436 wxString * _result;
10437 wxMenuBar * _arg0;
10438 int _arg1;
1d99702e 10439 PyObject * _argo0 = 0;
b1462dfa 10440 char *_kwnames[] = { "self","id", NULL };
8ab979d7
RD
10441
10442 self = self;
b1462dfa 10443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_GetLabel",_kwnames,&_argo0,&_arg1))
8ab979d7 10444 return NULL;
1d99702e
RD
10445 if (_argo0) {
10446 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
10447 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10448 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
10449 return NULL;
10450 }
10451 }
10452{
4268f798 10453 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10454 _result = new wxString (wxMenuBar_GetLabel(_arg0,_arg1));
b1462dfa 10455
4268f798 10456 wxPyEndAllowThreads(__tstate);
493f1553 10457 if (PyErr_Occurred()) return NULL;
b1462dfa 10458}{
c8bc7bb8
RD
10459#if wxUSE_UNICODE
10460 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
10461#else
eec92d76 10462 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 10463#endif
b1462dfa
RD
10464}
10465{
10466 delete _result;
10467}
10468 return _resultobj;
10469}
10470
10471#define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
10472static PyObject *_wrap_wxMenuBar_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
10473 PyObject * _resultobj;
10474 wxMenuBar * _arg0;
10475 int _arg1;
10476 wxString * _arg2;
10477 PyObject * _argo0 = 0;
10478 PyObject * _obj2 = 0;
10479 char *_kwnames[] = { "self","id","helpString", NULL };
10480
10481 self = self;
10482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenuBar_SetHelpString",_kwnames,&_argo0,&_arg1,&_obj2))
10483 return NULL;
10484 if (_argo0) {
10485 if (_argo0 == Py_None) { _arg0 = NULL; }
10486 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10487 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
10488 return NULL;
10489 }
10490 }
10491{
c8bc7bb8
RD
10492 _arg2 = wxString_in_helper(_obj2);
10493 if (_arg2 == NULL)
b1462dfa 10494 return NULL;
b1462dfa
RD
10495}
10496{
4268f798 10497 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10498 wxMenuBar_SetHelpString(_arg0,_arg1,*_arg2);
b1462dfa 10499
4268f798 10500 wxPyEndAllowThreads(__tstate);
493f1553 10501 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
10502} Py_INCREF(Py_None);
10503 _resultobj = Py_None;
10504{
10505 if (_obj2)
10506 delete _arg2;
10507}
10508 return _resultobj;
10509}
10510
10511#define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
10512static PyObject *_wrap_wxMenuBar_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
10513 PyObject * _resultobj;
10514 wxString * _result;
10515 wxMenuBar * _arg0;
10516 int _arg1;
10517 PyObject * _argo0 = 0;
10518 char *_kwnames[] = { "self","id", NULL };
10519
10520 self = self;
10521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_GetHelpString",_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_GetHelpString. Expected _wxMenuBar_p.");
8ab979d7
RD
10527 return NULL;
10528 }
10529 }
cf694132 10530{
4268f798 10531 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10532 _result = new wxString (wxMenuBar_GetHelpString(_arg0,_arg1));
cf694132 10533
4268f798 10534 wxPyEndAllowThreads(__tstate);
493f1553 10535 if (PyErr_Occurred()) return NULL;
b1462dfa 10536}{
c8bc7bb8
RD
10537#if wxUSE_UNICODE
10538 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
10539#else
eec92d76 10540 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 10541#endif
b1462dfa
RD
10542}
10543{
10544 delete _result;
10545}
8ab979d7
RD
10546 return _resultobj;
10547}
10548
9416aa89
RD
10549static void *SwigwxMenuItemTowxObject(void *ptr) {
10550 wxMenuItem *src;
10551 wxObject *dest;
10552 src = (wxMenuItem *) ptr;
10553 dest = (wxObject *) src;
10554 return (void *) dest;
10555}
10556
b1462dfa
RD
10557#define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
10558static PyObject *_wrap_new_wxMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 10559 PyObject * _resultobj;
b1462dfa
RD
10560 wxMenuItem * _result;
10561 wxMenu * _arg0 = (wxMenu *) NULL;
4c9993c3 10562 int _arg1 = (int ) wxID_SEPARATOR;
137b5242
RD
10563 wxString * _arg2 = (wxString *) &wxPyEmptyString;
10564 wxString * _arg3 = (wxString *) &wxPyEmptyString;
546bfbea 10565 wxItemKind _arg4 = (wxItemKind ) wxITEM_NORMAL;
b1462dfa 10566 wxMenu * _arg5 = (wxMenu *) NULL;
1d99702e 10567 PyObject * _argo0 = 0;
b1462dfa
RD
10568 PyObject * _obj2 = 0;
10569 PyObject * _obj3 = 0;
b1462dfa 10570 PyObject * _argo5 = 0;
e9159fe8 10571 char *_kwnames[] = { "parentMenu","id","text","help","kind","subMenu", NULL };
b1462dfa 10572 char _ptemp[128];
8ab979d7
RD
10573
10574 self = self;
e9159fe8 10575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OiOOiO:new_wxMenuItem",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5))
8ab979d7 10576 return NULL;
1d99702e
RD
10577 if (_argo0) {
10578 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
10579 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
10580 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
10581 return NULL;
10582 }
10583 }
10584 if (_obj2)
10585{
c8bc7bb8
RD
10586 _arg2 = wxString_in_helper(_obj2);
10587 if (_arg2 == NULL)
b1462dfa 10588 return NULL;
b1462dfa
RD
10589}
10590 if (_obj3)
10591{
c8bc7bb8
RD
10592 _arg3 = wxString_in_helper(_obj3);
10593 if (_arg3 == NULL)
b1462dfa 10594 return NULL;
b1462dfa 10595}
b1462dfa
RD
10596 if (_argo5) {
10597 if (_argo5 == Py_None) { _arg5 = NULL; }
10598 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxMenu_p")) {
10599 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
8ab979d7
RD
10600 return NULL;
10601 }
10602 }
cf694132 10603{
4268f798 10604 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10605 _result = (wxMenuItem *)new_wxMenuItem(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
cf694132 10606
4268f798 10607 wxPyEndAllowThreads(__tstate);
493f1553 10608 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
10609} if (_result) {
10610 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuItem_p");
10611 _resultobj = Py_BuildValue("s",_ptemp);
10612 } else {
10613 Py_INCREF(Py_None);
10614 _resultobj = Py_None;
10615 }
10616{
10617 if (_obj2)
10618 delete _arg2;
10619}
10620{
10621 if (_obj3)
10622 delete _arg3;
10623}
8ab979d7
RD
10624 return _resultobj;
10625}
10626
b1462dfa
RD
10627#define wxMenuItem_GetMenu(_swigobj) (_swigobj->GetMenu())
10628static PyObject *_wrap_wxMenuItem_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 10629 PyObject * _resultobj;
b1462dfa 10630 wxMenu * _result;
8ab979d7 10631 wxMenuItem * _arg0;
1d99702e 10632 PyObject * _argo0 = 0;
efc5f224 10633 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
10634
10635 self = self;
b1462dfa 10636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetMenu",_kwnames,&_argo0))
8ab979d7 10637 return NULL;
1d99702e
RD
10638 if (_argo0) {
10639 if (_argo0 == Py_None) { _arg0 = NULL; }
10640 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10641 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetMenu. Expected _wxMenuItem_p.");
8ab979d7
RD
10642 return NULL;
10643 }
10644 }
cf694132 10645{
4268f798 10646 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10647 _result = (wxMenu *)wxMenuItem_GetMenu(_arg0);
cf694132 10648
4268f798 10649 wxPyEndAllowThreads(__tstate);
493f1553 10650 if (PyErr_Occurred()) return NULL;
9416aa89 10651}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
10652 return _resultobj;
10653}
10654
2abc0a0f
RD
10655#define wxMenuItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
10656static PyObject *_wrap_wxMenuItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10657 PyObject * _resultobj;
10658 wxMenuItem * _arg0;
2abc0a0f 10659 int _arg1;
1d99702e 10660 PyObject * _argo0 = 0;
2abc0a0f 10661 char *_kwnames[] = { "self","id", NULL };
8ab979d7
RD
10662
10663 self = self;
2abc0a0f 10664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuItem_SetId",_kwnames,&_argo0,&_arg1))
8ab979d7 10665 return NULL;
1d99702e
RD
10666 if (_argo0) {
10667 if (_argo0 == Py_None) { _arg0 = NULL; }
10668 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
2abc0a0f 10669 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetId. Expected _wxMenuItem_p.");
8ab979d7
RD
10670 return NULL;
10671 }
10672 }
cf694132 10673{
4268f798 10674 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10675 wxMenuItem_SetId(_arg0,_arg1);
cf694132 10676
4268f798 10677 wxPyEndAllowThreads(__tstate);
493f1553 10678 if (PyErr_Occurred()) return NULL;
cf694132 10679} Py_INCREF(Py_None);
8ab979d7 10680 _resultobj = Py_None;
8ab979d7
RD
10681 return _resultobj;
10682}
10683
b1462dfa
RD
10684#define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
10685static PyObject *_wrap_wxMenuItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 10686 PyObject * _resultobj;
b1462dfa 10687 int _result;
8ab979d7 10688 wxMenuItem * _arg0;
1d99702e 10689 PyObject * _argo0 = 0;
efc5f224 10690 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
10691
10692 self = self;
b1462dfa 10693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetId",_kwnames,&_argo0))
8ab979d7 10694 return NULL;
1d99702e
RD
10695 if (_argo0) {
10696 if (_argo0 == Py_None) { _arg0 = NULL; }
10697 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10698 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
8ab979d7
RD
10699 return NULL;
10700 }
10701 }
8ab979d7 10702{
4268f798 10703 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10704 _result = (int )wxMenuItem_GetId(_arg0);
cf694132 10705
4268f798 10706 wxPyEndAllowThreads(__tstate);
493f1553 10707 if (PyErr_Occurred()) return NULL;
b1462dfa 10708} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
10709 return _resultobj;
10710}
10711
b1462dfa
RD
10712#define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
10713static PyObject *_wrap_wxMenuItem_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 10714 PyObject * _resultobj;
b1462dfa 10715 bool _result;
8ab979d7 10716 wxMenuItem * _arg0;
1d99702e 10717 PyObject * _argo0 = 0;
efc5f224 10718 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
10719
10720 self = self;
b1462dfa 10721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsSeparator",_kwnames,&_argo0))
8ab979d7 10722 return NULL;
1d99702e
RD
10723 if (_argo0) {
10724 if (_argo0 == Py_None) { _arg0 = NULL; }
10725 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10726 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
8ab979d7
RD
10727 return NULL;
10728 }
10729 }
8ab979d7 10730{
4268f798 10731 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10732 _result = (bool )wxMenuItem_IsSeparator(_arg0);
cf694132 10733
4268f798 10734 wxPyEndAllowThreads(__tstate);
493f1553 10735 if (PyErr_Occurred()) return NULL;
b1462dfa 10736} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
10737 return _resultobj;
10738}
10739
b1462dfa
RD
10740#define wxMenuItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
10741static PyObject *_wrap_wxMenuItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10742 PyObject * _resultobj;
10743 wxMenuItem * _arg0;
10744 wxString * _arg1;
1d99702e 10745 PyObject * _argo0 = 0;
8ab979d7 10746 PyObject * _obj1 = 0;
b1462dfa 10747 char *_kwnames[] = { "self","str", NULL };
8ab979d7
RD
10748
10749 self = self;
b1462dfa 10750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetText",_kwnames,&_argo0,&_obj1))
8ab979d7 10751 return NULL;
1d99702e
RD
10752 if (_argo0) {
10753 if (_argo0 == Py_None) { _arg0 = NULL; }
10754 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10755 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetText. Expected _wxMenuItem_p.");
8ab979d7
RD
10756 return NULL;
10757 }
10758 }
10759{
c8bc7bb8
RD
10760 _arg1 = wxString_in_helper(_obj1);
10761 if (_arg1 == NULL)
185d7c3e 10762 return NULL;
8ab979d7 10763}
cf694132 10764{
4268f798 10765 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10766 wxMenuItem_SetText(_arg0,*_arg1);
cf694132 10767
4268f798 10768 wxPyEndAllowThreads(__tstate);
493f1553 10769 if (PyErr_Occurred()) return NULL;
cf694132 10770} Py_INCREF(Py_None);
8ab979d7
RD
10771 _resultobj = Py_None;
10772{
10773 if (_obj1)
10774 delete _arg1;
10775}
10776 return _resultobj;
10777}
10778
b1462dfa
RD
10779#define wxMenuItem_GetLabel(_swigobj) (_swigobj->GetLabel())
10780static PyObject *_wrap_wxMenuItem_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 10781 PyObject * _resultobj;
b1462dfa 10782 wxString * _result;
8ab979d7 10783 wxMenuItem * _arg0;
1d99702e 10784 PyObject * _argo0 = 0;
b1462dfa 10785 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
10786
10787 self = self;
b1462dfa 10788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetLabel",_kwnames,&_argo0))
8ab979d7 10789 return NULL;
1d99702e
RD
10790 if (_argo0) {
10791 if (_argo0 == Py_None) { _arg0 = NULL; }
10792 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10793 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetLabel. Expected _wxMenuItem_p.");
8ab979d7
RD
10794 return NULL;
10795 }
10796 }
cf694132 10797{
4268f798 10798 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10799 _result = new wxString (wxMenuItem_GetLabel(_arg0));
cf694132 10800
4268f798 10801 wxPyEndAllowThreads(__tstate);
493f1553 10802 if (PyErr_Occurred()) return NULL;
b1462dfa 10803}{
c8bc7bb8
RD
10804#if wxUSE_UNICODE
10805 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
10806#else
eec92d76 10807 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 10808#endif
8ab979d7 10809}
cf694132 10810{
b1462dfa
RD
10811 delete _result;
10812}
cf694132
RD
10813 return _resultobj;
10814}
10815
b1462dfa
RD
10816#define wxMenuItem_GetText(_swigobj) (_swigobj->GetText())
10817static PyObject *_wrap_wxMenuItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 10818 PyObject * _resultobj;
b1462dfa 10819 wxString * _result;
cf694132 10820 wxMenuItem * _arg0;
1d99702e 10821 PyObject * _argo0 = 0;
efc5f224 10822 char *_kwnames[] = { "self", NULL };
cf694132
RD
10823
10824 self = self;
b1462dfa 10825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetText",_kwnames,&_argo0))
cf694132 10826 return NULL;
1d99702e
RD
10827 if (_argo0) {
10828 if (_argo0 == Py_None) { _arg0 = NULL; }
10829 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10830 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetText. Expected _wxMenuItem_p.");
cf694132
RD
10831 return NULL;
10832 }
10833 }
10834{
4268f798 10835 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10836 const wxString & _result_ref = wxMenuItem_GetText(_arg0);
b1462dfa 10837 _result = (wxString *) &_result_ref;
cf694132 10838
4268f798 10839 wxPyEndAllowThreads(__tstate);
493f1553 10840 if (PyErr_Occurred()) return NULL;
b1462dfa 10841}{
c8bc7bb8
RD
10842#if wxUSE_UNICODE
10843 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
10844#else
eec92d76 10845 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 10846#endif
cf694132 10847}
cf694132
RD
10848 return _resultobj;
10849}
10850
e9159fe8
RD
10851#define wxMenuItem_GetKind(_swigobj) (_swigobj->GetKind())
10852static PyObject *_wrap_wxMenuItem_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
10853 PyObject * _resultobj;
10854 wxItemKind _result;
10855 wxMenuItem * _arg0;
10856 PyObject * _argo0 = 0;
10857 char *_kwnames[] = { "self", NULL };
10858
10859 self = self;
10860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetKind",_kwnames,&_argo0))
10861 return NULL;
10862 if (_argo0) {
10863 if (_argo0 == Py_None) { _arg0 = NULL; }
10864 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
10865 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetKind. Expected _wxMenuItem_p.");
10866 return NULL;
10867 }
10868 }
10869{
10870 PyThreadState* __tstate = wxPyBeginAllowThreads();
10871 _result = (wxItemKind )wxMenuItem_GetKind(_arg0);
10872
10873 wxPyEndAllowThreads(__tstate);
10874 if (PyErr_Occurred()) return NULL;
10875} _resultobj = Py_BuildValue("i",_result);
10876 return _resultobj;
10877}
10878
b1462dfa
RD
10879#define wxMenuItem_SetCheckable(_swigobj,_swigarg0) (_swigobj->SetCheckable(_swigarg0))
10880static PyObject *_wrap_wxMenuItem_SetCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 10881 PyObject * _resultobj;
cf694132 10882 wxMenuItem * _arg0;
b1462dfa 10883 bool _arg1;
1d99702e 10884 PyObject * _argo0 = 0;
b1462dfa
RD
10885 int tempbool1;
10886 char *_kwnames[] = { "self","checkable", NULL };
cf694132
RD
10887
10888 self = self;
b1462dfa 10889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuItem_SetCheckable",_kwnames,&_argo0,&tempbool1))
cf694132 10890 return NULL;
1d99702e
RD
10891 if (_argo0) {
10892 if (_argo0 == Py_None) { _arg0 = NULL; }
10893 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10894 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetCheckable. Expected _wxMenuItem_p.");
cf694132
RD
10895 return NULL;
10896 }
10897 }
b1462dfa 10898 _arg1 = (bool ) tempbool1;
cf694132 10899{
4268f798 10900 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10901 wxMenuItem_SetCheckable(_arg0,_arg1);
cf694132 10902
4268f798 10903 wxPyEndAllowThreads(__tstate);
493f1553 10904 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
10905} Py_INCREF(Py_None);
10906 _resultobj = Py_None;
cf694132
RD
10907 return _resultobj;
10908}
10909
b1462dfa
RD
10910#define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
10911static PyObject *_wrap_wxMenuItem_IsCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 10912 PyObject * _resultobj;
b1462dfa 10913 bool _result;
cf694132 10914 wxMenuItem * _arg0;
1d99702e 10915 PyObject * _argo0 = 0;
efc5f224 10916 char *_kwnames[] = { "self", NULL };
cf694132
RD
10917
10918 self = self;
b1462dfa 10919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsCheckable",_kwnames,&_argo0))
cf694132 10920 return NULL;
1d99702e
RD
10921 if (_argo0) {
10922 if (_argo0 == Py_None) { _arg0 = NULL; }
10923 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10924 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
cf694132
RD
10925 return NULL;
10926 }
10927 }
10928{
4268f798 10929 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10930 _result = (bool )wxMenuItem_IsCheckable(_arg0);
cf694132 10931
4268f798 10932 wxPyEndAllowThreads(__tstate);
493f1553 10933 if (PyErr_Occurred()) return NULL;
cf694132
RD
10934} _resultobj = Py_BuildValue("i",_result);
10935 return _resultobj;
10936}
10937
b1462dfa
RD
10938#define wxMenuItem_IsSubMenu(_swigobj) (_swigobj->IsSubMenu())
10939static PyObject *_wrap_wxMenuItem_IsSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 10940 PyObject * _resultobj;
b1462dfa 10941 bool _result;
cf694132 10942 wxMenuItem * _arg0;
1d99702e 10943 PyObject * _argo0 = 0;
efc5f224 10944 char *_kwnames[] = { "self", NULL };
cf694132
RD
10945
10946 self = self;
b1462dfa 10947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsSubMenu",_kwnames,&_argo0))
cf694132 10948 return NULL;
1d99702e
RD
10949 if (_argo0) {
10950 if (_argo0 == Py_None) { _arg0 = NULL; }
10951 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10952 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsSubMenu. Expected _wxMenuItem_p.");
cf694132
RD
10953 return NULL;
10954 }
10955 }
10956{
4268f798 10957 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10958 _result = (bool )wxMenuItem_IsSubMenu(_arg0);
cf694132 10959
4268f798 10960 wxPyEndAllowThreads(__tstate);
493f1553 10961 if (PyErr_Occurred()) return NULL;
b1462dfa 10962} _resultobj = Py_BuildValue("i",_result);
cf694132
RD
10963 return _resultobj;
10964}
10965
b1462dfa
RD
10966#define wxMenuItem_SetSubMenu(_swigobj,_swigarg0) (_swigobj->SetSubMenu(_swigarg0))
10967static PyObject *_wrap_wxMenuItem_SetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132
RD
10968 PyObject * _resultobj;
10969 wxMenuItem * _arg0;
b1462dfa 10970 wxMenu * _arg1;
1d99702e
RD
10971 PyObject * _argo0 = 0;
10972 PyObject * _argo1 = 0;
b1462dfa 10973 char *_kwnames[] = { "self","menu", NULL };
cf694132
RD
10974
10975 self = self;
b1462dfa 10976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetSubMenu",_kwnames,&_argo0,&_argo1))
cf694132 10977 return NULL;
1d99702e
RD
10978 if (_argo0) {
10979 if (_argo0 == Py_None) { _arg0 = NULL; }
10980 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10981 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetSubMenu. Expected _wxMenuItem_p.");
cf694132
RD
10982 return NULL;
10983 }
10984 }
1d99702e
RD
10985 if (_argo1) {
10986 if (_argo1 == Py_None) { _arg1 = NULL; }
b1462dfa
RD
10987 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
10988 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenuItem_SetSubMenu. Expected _wxMenu_p.");
cf694132
RD
10989 return NULL;
10990 }
10991 }
10992{
4268f798 10993 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10994 wxMenuItem_SetSubMenu(_arg0,_arg1);
cf694132 10995
4268f798 10996 wxPyEndAllowThreads(__tstate);
493f1553 10997 if (PyErr_Occurred()) return NULL;
cf694132
RD
10998} Py_INCREF(Py_None);
10999 _resultobj = Py_None;
11000 return _resultobj;
11001}
11002
b1462dfa
RD
11003#define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
11004static PyObject *_wrap_wxMenuItem_GetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 11005 PyObject * _resultobj;
b1462dfa 11006 wxMenu * _result;
cf694132 11007 wxMenuItem * _arg0;
1d99702e 11008 PyObject * _argo0 = 0;
b1462dfa 11009 char *_kwnames[] = { "self", NULL };
cf694132
RD
11010
11011 self = self;
b1462dfa 11012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetSubMenu",_kwnames,&_argo0))
cf694132 11013 return NULL;
1d99702e
RD
11014 if (_argo0) {
11015 if (_argo0 == Py_None) { _arg0 = NULL; }
11016 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 11017 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
cf694132
RD
11018 return NULL;
11019 }
11020 }
b1462dfa 11021{
4268f798 11022 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11023 _result = (wxMenu *)wxMenuItem_GetSubMenu(_arg0);
b1462dfa 11024
4268f798 11025 wxPyEndAllowThreads(__tstate);
493f1553 11026 if (PyErr_Occurred()) return NULL;
9416aa89 11027}{ _resultobj = wxPyMake_wxObject(_result); }
b1462dfa
RD
11028 return _resultobj;
11029}
11030
11031#define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
11032static PyObject *_wrap_wxMenuItem_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
11033 PyObject * _resultobj;
11034 wxMenuItem * _arg0;
11035 bool _arg1 = (bool ) TRUE;
11036 PyObject * _argo0 = 0;
11037 int tempbool1 = (int) TRUE;
11038 char *_kwnames[] = { "self","enable", NULL };
11039
11040 self = self;
11041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxMenuItem_Enable",_kwnames,&_argo0,&tempbool1))
11042 return NULL;
11043 if (_argo0) {
11044 if (_argo0 == Py_None) { _arg0 = NULL; }
11045 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11046 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
cf694132
RD
11047 return NULL;
11048 }
11049 }
b1462dfa 11050 _arg1 = (bool ) tempbool1;
cf694132 11051{
4268f798 11052 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11053 wxMenuItem_Enable(_arg0,_arg1);
cf694132 11054
4268f798 11055 wxPyEndAllowThreads(__tstate);
493f1553 11056 if (PyErr_Occurred()) return NULL;
cf694132
RD
11057} Py_INCREF(Py_None);
11058 _resultobj = Py_None;
11059 return _resultobj;
11060}
11061
b1462dfa
RD
11062#define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
11063static PyObject *_wrap_wxMenuItem_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 11064 PyObject * _resultobj;
b1462dfa 11065 bool _result;
cf694132 11066 wxMenuItem * _arg0;
1d99702e 11067 PyObject * _argo0 = 0;
b1462dfa 11068 char *_kwnames[] = { "self", NULL };
cf694132
RD
11069
11070 self = self;
b1462dfa 11071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsEnabled",_kwnames,&_argo0))
cf694132 11072 return NULL;
1d99702e
RD
11073 if (_argo0) {
11074 if (_argo0 == Py_None) { _arg0 = NULL; }
11075 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 11076 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
cf694132
RD
11077 return NULL;
11078 }
11079 }
11080{
4268f798 11081 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11082 _result = (bool )wxMenuItem_IsEnabled(_arg0);
cf694132 11083
4268f798 11084 wxPyEndAllowThreads(__tstate);
493f1553 11085 if (PyErr_Occurred()) return NULL;
b1462dfa 11086} _resultobj = Py_BuildValue("i",_result);
cf694132
RD
11087 return _resultobj;
11088}
11089
b1462dfa
RD
11090#define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
11091static PyObject *_wrap_wxMenuItem_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132
RD
11092 PyObject * _resultobj;
11093 wxMenuItem * _arg0;
b1462dfa 11094 bool _arg1 = (bool ) TRUE;
1d99702e 11095 PyObject * _argo0 = 0;
b1462dfa
RD
11096 int tempbool1 = (int) TRUE;
11097 char *_kwnames[] = { "self","check", NULL };
cf694132
RD
11098
11099 self = self;
b1462dfa 11100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxMenuItem_Check",_kwnames,&_argo0,&tempbool1))
cf694132 11101 return NULL;
1d99702e
RD
11102 if (_argo0) {
11103 if (_argo0 == Py_None) { _arg0 = NULL; }
11104 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 11105 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
cf694132
RD
11106 return NULL;
11107 }
11108 }
b1462dfa 11109 _arg1 = (bool ) tempbool1;
cf694132 11110{
4268f798 11111 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11112 wxMenuItem_Check(_arg0,_arg1);
cf694132 11113
4268f798 11114 wxPyEndAllowThreads(__tstate);
493f1553 11115 if (PyErr_Occurred()) return NULL;
cf694132
RD
11116} Py_INCREF(Py_None);
11117 _resultobj = Py_None;
11118 return _resultobj;
11119}
11120
b1462dfa
RD
11121#define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
11122static PyObject *_wrap_wxMenuItem_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
2abc0a0f 11123 PyObject * _resultobj;
b1462dfa 11124 bool _result;
2abc0a0f 11125 wxMenuItem * _arg0;
2abc0a0f 11126 PyObject * _argo0 = 0;
b1462dfa 11127 char *_kwnames[] = { "self", NULL };
2abc0a0f
RD
11128
11129 self = self;
b1462dfa 11130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsChecked",_kwnames,&_argo0))
2abc0a0f
RD
11131 return NULL;
11132 if (_argo0) {
11133 if (_argo0 == Py_None) { _arg0 = NULL; }
11134 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 11135 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
2abc0a0f
RD
11136 return NULL;
11137 }
11138 }
2abc0a0f 11139{
4268f798 11140 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11141 _result = (bool )wxMenuItem_IsChecked(_arg0);
2abc0a0f 11142
4268f798 11143 wxPyEndAllowThreads(__tstate);
493f1553 11144 if (PyErr_Occurred()) return NULL;
b1462dfa 11145} _resultobj = Py_BuildValue("i",_result);
2abc0a0f
RD
11146 return _resultobj;
11147}
11148
b1462dfa
RD
11149#define wxMenuItem_Toggle(_swigobj) (_swigobj->Toggle())
11150static PyObject *_wrap_wxMenuItem_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
2abc0a0f 11151 PyObject * _resultobj;
2abc0a0f
RD
11152 wxMenuItem * _arg0;
11153 PyObject * _argo0 = 0;
11154 char *_kwnames[] = { "self", NULL };
11155
11156 self = self;
b1462dfa 11157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_Toggle",_kwnames,&_argo0))
2abc0a0f
RD
11158 return NULL;
11159 if (_argo0) {
11160 if (_argo0 == Py_None) { _arg0 = NULL; }
11161 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 11162 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_Toggle. Expected _wxMenuItem_p.");
2abc0a0f
RD
11163 return NULL;
11164 }
11165 }
11166{
4268f798 11167 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11168 wxMenuItem_Toggle(_arg0);
2abc0a0f 11169
4268f798 11170 wxPyEndAllowThreads(__tstate);
493f1553 11171 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
11172} Py_INCREF(Py_None);
11173 _resultobj = Py_None;
2abc0a0f
RD
11174 return _resultobj;
11175}
11176
b1462dfa
RD
11177#define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
11178static PyObject *_wrap_wxMenuItem_SetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132
RD
11179 PyObject * _resultobj;
11180 wxMenuItem * _arg0;
b1462dfa 11181 wxString * _arg1;
1d99702e 11182 PyObject * _argo0 = 0;
b1462dfa
RD
11183 PyObject * _obj1 = 0;
11184 char *_kwnames[] = { "self","str", NULL };
cf694132
RD
11185
11186 self = self;
b1462dfa 11187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetHelp",_kwnames,&_argo0,&_obj1))
cf694132 11188 return NULL;
1d99702e
RD
11189 if (_argo0) {
11190 if (_argo0 == Py_None) { _arg0 = NULL; }
11191 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 11192 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
cf694132
RD
11193 return NULL;
11194 }
11195 }
b1462dfa 11196{
c8bc7bb8
RD
11197 _arg1 = wxString_in_helper(_obj1);
11198 if (_arg1 == NULL)
185d7c3e 11199 return NULL;
b1462dfa 11200}
cf694132 11201{
4268f798 11202 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11203 wxMenuItem_SetHelp(_arg0,*_arg1);
cf694132 11204
4268f798 11205 wxPyEndAllowThreads(__tstate);
493f1553 11206 if (PyErr_Occurred()) return NULL;
cf694132 11207} Py_INCREF(Py_None);
8ab979d7 11208 _resultobj = Py_None;
b1462dfa
RD
11209{
11210 if (_obj1)
11211 delete _arg1;
11212}
8ab979d7
RD
11213 return _resultobj;
11214}
11215
b1462dfa
RD
11216#define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
11217static PyObject *_wrap_wxMenuItem_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
be4d9c1f 11218 PyObject * _resultobj;
b1462dfa 11219 wxString * _result;
be4d9c1f 11220 wxMenuItem * _arg0;
1d99702e 11221 PyObject * _argo0 = 0;
efc5f224 11222 char *_kwnames[] = { "self", NULL };
be4d9c1f
RD
11223
11224 self = self;
b1462dfa 11225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetHelp",_kwnames,&_argo0))
be4d9c1f 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_GetHelp. Expected _wxMenuItem_p.");
be4d9c1f
RD
11231 return NULL;
11232 }
11233 }
cf694132 11234{
4268f798 11235 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11236 const wxString & _result_ref = wxMenuItem_GetHelp(_arg0);
b1462dfa 11237 _result = (wxString *) &_result_ref;
cf694132 11238
4268f798 11239 wxPyEndAllowThreads(__tstate);
493f1553 11240 if (PyErr_Occurred()) return NULL;
b1462dfa 11241}{
c8bc7bb8
RD
11242#if wxUSE_UNICODE
11243 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
11244#else
eec92d76 11245 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 11246#endif
b1462dfa 11247}
be4d9c1f
RD
11248 return _resultobj;
11249}
11250
b1462dfa
RD
11251#define wxMenuItem_GetAccel(_swigobj) (_swigobj->GetAccel())
11252static PyObject *_wrap_wxMenuItem_GetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
2abc0a0f 11253 PyObject * _resultobj;
b1462dfa 11254 wxAcceleratorEntry * _result;
2abc0a0f 11255 wxMenuItem * _arg0;
2abc0a0f 11256 PyObject * _argo0 = 0;
b1462dfa
RD
11257 char *_kwnames[] = { "self", NULL };
11258 char _ptemp[128];
2abc0a0f
RD
11259
11260 self = self;
b1462dfa 11261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetAccel",_kwnames,&_argo0))
2abc0a0f
RD
11262 return NULL;
11263 if (_argo0) {
11264 if (_argo0 == Py_None) { _arg0 = NULL; }
11265 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 11266 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetAccel. Expected _wxMenuItem_p.");
2abc0a0f
RD
11267 return NULL;
11268 }
11269 }
2abc0a0f 11270{
4268f798 11271 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11272 _result = (wxAcceleratorEntry *)wxMenuItem_GetAccel(_arg0);
2abc0a0f 11273
4268f798 11274 wxPyEndAllowThreads(__tstate);
493f1553 11275 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
11276} if (_result) {
11277 SWIG_MakePtr(_ptemp, (char *) _result,"_wxAcceleratorEntry_p");
11278 _resultobj = Py_BuildValue("s",_ptemp);
11279 } else {
11280 Py_INCREF(Py_None);
11281 _resultobj = Py_None;
11282 }
2abc0a0f
RD
11283 return _resultobj;
11284}
11285
b1462dfa
RD
11286#define wxMenuItem_SetAccel(_swigobj,_swigarg0) (_swigobj->SetAccel(_swigarg0))
11287static PyObject *_wrap_wxMenuItem_SetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
2abc0a0f
RD
11288 PyObject * _resultobj;
11289 wxMenuItem * _arg0;
b1462dfa 11290 wxAcceleratorEntry * _arg1;
2abc0a0f
RD
11291 PyObject * _argo0 = 0;
11292 PyObject * _argo1 = 0;
b1462dfa 11293 char *_kwnames[] = { "self","accel", NULL };
2abc0a0f
RD
11294
11295 self = self;
b1462dfa 11296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetAccel",_kwnames,&_argo0,&_argo1))
2abc0a0f
RD
11297 return NULL;
11298 if (_argo0) {
11299 if (_argo0 == Py_None) { _arg0 = NULL; }
11300 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 11301 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetAccel. Expected _wxMenuItem_p.");
2abc0a0f
RD
11302 return NULL;
11303 }
11304 }
11305 if (_argo1) {
11306 if (_argo1 == Py_None) { _arg1 = NULL; }
b1462dfa
RD
11307 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxAcceleratorEntry_p")) {
11308 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenuItem_SetAccel. Expected _wxAcceleratorEntry_p.");
2abc0a0f
RD
11309 return NULL;
11310 }
11311 }
11312{
4268f798 11313 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11314 wxMenuItem_SetAccel(_arg0,_arg1);
2abc0a0f 11315
4268f798 11316 wxPyEndAllowThreads(__tstate);
493f1553 11317 if (PyErr_Occurred()) return NULL;
2abc0a0f
RD
11318} Py_INCREF(Py_None);
11319 _resultobj = Py_None;
11320 return _resultobj;
11321}
11322
1b62f00d
RD
11323static PyObject *_wrap_wxMenuItem_GetLabelFromText(PyObject *self, PyObject *args, PyObject *kwargs) {
11324 PyObject * _resultobj;
11325 wxString * _result;
11326 wxString * _arg0;
11327 PyObject * _obj0 = 0;
11328 char *_kwnames[] = { "text", NULL };
11329
11330 self = self;
11331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetLabelFromText",_kwnames,&_obj0))
11332 return NULL;
11333{
c8bc7bb8
RD
11334 _arg0 = wxString_in_helper(_obj0);
11335 if (_arg0 == NULL)
1b62f00d 11336 return NULL;
1b62f00d
RD
11337}
11338{
4268f798 11339 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11340 _result = new wxString (wxMenuItem::GetLabelFromText(*_arg0));
1b62f00d 11341
4268f798 11342 wxPyEndAllowThreads(__tstate);
493f1553 11343 if (PyErr_Occurred()) return NULL;
1b62f00d 11344}{
c8bc7bb8
RD
11345#if wxUSE_UNICODE
11346 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
11347#else
1b62f00d 11348 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 11349#endif
1b62f00d
RD
11350}
11351{
11352 if (_obj0)
11353 delete _arg0;
11354}
11355{
11356 delete _result;
11357}
11358 return _resultobj;
11359}
11360
f3d9dc1d
RD
11361#define wxMenuItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
11362static PyObject *_wrap_wxMenuItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11363 PyObject * _resultobj;
11364 wxMenuItem * _arg0;
11365 wxFont * _arg1;
11366 PyObject * _argo0 = 0;
11367 PyObject * _argo1 = 0;
11368 char *_kwnames[] = { "self","font", NULL };
11369
11370 self = self;
11371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetFont",_kwnames,&_argo0,&_argo1))
11372 return NULL;
11373 if (_argo0) {
11374 if (_argo0 == Py_None) { _arg0 = NULL; }
11375 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11376 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetFont. Expected _wxMenuItem_p.");
11377 return NULL;
11378 }
11379 }
11380 if (_argo1) {
11381 if (_argo1 == Py_None) { _arg1 = NULL; }
11382 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
11383 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenuItem_SetFont. Expected _wxFont_p.");
11384 return NULL;
11385 }
11386 }
11387{
4268f798 11388 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11389 wxMenuItem_SetFont(_arg0,*_arg1);
f3d9dc1d 11390
4268f798 11391 wxPyEndAllowThreads(__tstate);
493f1553 11392 if (PyErr_Occurred()) return NULL;
f3d9dc1d
RD
11393} Py_INCREF(Py_None);
11394 _resultobj = Py_None;
11395 return _resultobj;
11396}
11397
11398#define wxMenuItem_GetFont(_swigobj) (_swigobj->GetFont())
11399static PyObject *_wrap_wxMenuItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11400 PyObject * _resultobj;
11401 wxFont * _result;
11402 wxMenuItem * _arg0;
11403 PyObject * _argo0 = 0;
11404 char *_kwnames[] = { "self", NULL };
11405 char _ptemp[128];
11406
11407 self = self;
11408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetFont",_kwnames,&_argo0))
11409 return NULL;
11410 if (_argo0) {
11411 if (_argo0 == Py_None) { _arg0 = NULL; }
11412 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11413 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetFont. Expected _wxMenuItem_p.");
11414 return NULL;
11415 }
11416 }
11417{
4268f798 11418 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11419 _result = new wxFont (wxMenuItem_GetFont(_arg0));
f3d9dc1d 11420
4268f798 11421 wxPyEndAllowThreads(__tstate);
493f1553 11422 if (PyErr_Occurred()) return NULL;
c5943253
RD
11423} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
11424 _resultobj = Py_BuildValue("s",_ptemp);
f3d9dc1d
RD
11425 return _resultobj;
11426}
11427
11428#define wxMenuItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
11429static PyObject *_wrap_wxMenuItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11430 PyObject * _resultobj;
11431 wxMenuItem * _arg0;
11432 wxColour * _arg1;
11433 PyObject * _argo0 = 0;
11434 wxColour temp;
11435 PyObject * _obj1 = 0;
11436 char *_kwnames[] = { "self","colText", NULL };
11437
11438 self = self;
11439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetTextColour",_kwnames,&_argo0,&_obj1))
11440 return NULL;
11441 if (_argo0) {
11442 if (_argo0 == Py_None) { _arg0 = NULL; }
11443 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11444 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetTextColour. Expected _wxMenuItem_p.");
11445 return NULL;
11446 }
11447 }
11448{
11449 _arg1 = &temp;
11450 if (! wxColour_helper(_obj1, &_arg1))
11451 return NULL;
11452}
11453{
4268f798 11454 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11455 wxMenuItem_SetTextColour(_arg0,*_arg1);
f3d9dc1d 11456
4268f798 11457 wxPyEndAllowThreads(__tstate);
493f1553 11458 if (PyErr_Occurred()) return NULL;
f3d9dc1d
RD
11459} Py_INCREF(Py_None);
11460 _resultobj = Py_None;
11461 return _resultobj;
11462}
11463
11464#define wxMenuItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
11465static PyObject *_wrap_wxMenuItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11466 PyObject * _resultobj;
11467 wxColour * _result;
11468 wxMenuItem * _arg0;
11469 PyObject * _argo0 = 0;
11470 char *_kwnames[] = { "self", NULL };
11471 char _ptemp[128];
11472
11473 self = self;
11474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetTextColour",_kwnames,&_argo0))
11475 return NULL;
11476 if (_argo0) {
11477 if (_argo0 == Py_None) { _arg0 = NULL; }
11478 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11479 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetTextColour. Expected _wxMenuItem_p.");
11480 return NULL;
11481 }
11482 }
11483{
4268f798 11484 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11485 _result = new wxColour (wxMenuItem_GetTextColour(_arg0));
f3d9dc1d 11486
4268f798 11487 wxPyEndAllowThreads(__tstate);
493f1553 11488 if (PyErr_Occurred()) return NULL;
25832b3f
RD
11489} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
11490 _resultobj = Py_BuildValue("s",_ptemp);
f3d9dc1d
RD
11491 return _resultobj;
11492}
11493
11494#define wxMenuItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
11495static PyObject *_wrap_wxMenuItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11496 PyObject * _resultobj;
11497 wxMenuItem * _arg0;
11498 wxColour * _arg1;
11499 PyObject * _argo0 = 0;
11500 wxColour temp;
11501 PyObject * _obj1 = 0;
11502 char *_kwnames[] = { "self","colBack", NULL };
11503
11504 self = self;
11505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
11506 return NULL;
11507 if (_argo0) {
11508 if (_argo0 == Py_None) { _arg0 = NULL; }
11509 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11510 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetBackgroundColour. Expected _wxMenuItem_p.");
11511 return NULL;
11512 }
11513 }
11514{
11515 _arg1 = &temp;
11516 if (! wxColour_helper(_obj1, &_arg1))
11517 return NULL;
11518}
11519{
4268f798 11520 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11521 wxMenuItem_SetBackgroundColour(_arg0,*_arg1);
f3d9dc1d 11522
4268f798 11523 wxPyEndAllowThreads(__tstate);
493f1553 11524 if (PyErr_Occurred()) return NULL;
f3d9dc1d
RD
11525} Py_INCREF(Py_None);
11526 _resultobj = Py_None;
11527 return _resultobj;
11528}
11529
11530#define wxMenuItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
11531static PyObject *_wrap_wxMenuItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11532 PyObject * _resultobj;
11533 wxColour * _result;
11534 wxMenuItem * _arg0;
11535 PyObject * _argo0 = 0;
11536 char *_kwnames[] = { "self", NULL };
11537 char _ptemp[128];
11538
11539 self = self;
11540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetBackgroundColour",_kwnames,&_argo0))
11541 return NULL;
11542 if (_argo0) {
11543 if (_argo0 == Py_None) { _arg0 = NULL; }
11544 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11545 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetBackgroundColour. Expected _wxMenuItem_p.");
11546 return NULL;
11547 }
11548 }
11549{
4268f798 11550 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11551 _result = new wxColour (wxMenuItem_GetBackgroundColour(_arg0));
f3d9dc1d 11552
4268f798 11553 wxPyEndAllowThreads(__tstate);
493f1553 11554 if (PyErr_Occurred()) return NULL;
25832b3f
RD
11555} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
11556 _resultobj = Py_BuildValue("s",_ptemp);
f3d9dc1d
RD
11557 return _resultobj;
11558}
11559
11560#define wxMenuItem_SetBitmaps(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBitmaps(_swigarg0,_swigarg1))
11561static PyObject *_wrap_wxMenuItem_SetBitmaps(PyObject *self, PyObject *args, PyObject *kwargs) {
11562 PyObject * _resultobj;
11563 wxMenuItem * _arg0;
11564 wxBitmap * _arg1;
11565 wxBitmap * _arg2 = (wxBitmap *) &wxNullBitmap;
11566 PyObject * _argo0 = 0;
11567 PyObject * _argo1 = 0;
11568 PyObject * _argo2 = 0;
11569 char *_kwnames[] = { "self","bmpChecked","bmpUnchecked", NULL };
11570
11571 self = self;
11572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxMenuItem_SetBitmaps",_kwnames,&_argo0,&_argo1,&_argo2))
11573 return NULL;
11574 if (_argo0) {
11575 if (_argo0 == Py_None) { _arg0 = NULL; }
11576 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11577 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetBitmaps. Expected _wxMenuItem_p.");
11578 return NULL;
11579 }
11580 }
11581 if (_argo1) {
11582 if (_argo1 == Py_None) { _arg1 = NULL; }
11583 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
11584 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenuItem_SetBitmaps. Expected _wxBitmap_p.");
11585 return NULL;
11586 }
11587 }
11588 if (_argo2) {
11589 if (_argo2 == Py_None) { _arg2 = NULL; }
11590 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) {
11591 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxMenuItem_SetBitmaps. Expected _wxBitmap_p.");
11592 return NULL;
11593 }
11594 }
11595{
4268f798 11596 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11597 wxMenuItem_SetBitmaps(_arg0,*_arg1,*_arg2);
f3d9dc1d 11598
4268f798 11599 wxPyEndAllowThreads(__tstate);
493f1553 11600 if (PyErr_Occurred()) return NULL;
f3d9dc1d
RD
11601} Py_INCREF(Py_None);
11602 _resultobj = Py_None;
11603 return _resultobj;
11604}
11605
f3d9dc1d
RD
11606#define wxMenuItem_SetMarginWidth(_swigobj,_swigarg0) (_swigobj->SetMarginWidth(_swigarg0))
11607static PyObject *_wrap_wxMenuItem_SetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
11608 PyObject * _resultobj;
11609 wxMenuItem * _arg0;
11610 int _arg1;
11611 PyObject * _argo0 = 0;
11612 char *_kwnames[] = { "self","nWidth", NULL };
11613
11614 self = self;
11615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuItem_SetMarginWidth",_kwnames,&_argo0,&_arg1))
11616 return NULL;
11617 if (_argo0) {
11618 if (_argo0 == Py_None) { _arg0 = NULL; }
11619 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11620 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetMarginWidth. Expected _wxMenuItem_p.");
11621 return NULL;
11622 }
11623 }
11624{
4268f798 11625 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11626 wxMenuItem_SetMarginWidth(_arg0,_arg1);
f3d9dc1d 11627
4268f798 11628 wxPyEndAllowThreads(__tstate);
493f1553 11629 if (PyErr_Occurred()) return NULL;
f3d9dc1d
RD
11630} Py_INCREF(Py_None);
11631 _resultobj = Py_None;
11632 return _resultobj;
11633}
11634
11635#define wxMenuItem_GetMarginWidth(_swigobj) (_swigobj->GetMarginWidth())
11636static PyObject *_wrap_wxMenuItem_GetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
11637 PyObject * _resultobj;
11638 int _result;
11639 wxMenuItem * _arg0;
11640 PyObject * _argo0 = 0;
11641 char *_kwnames[] = { "self", NULL };
11642
11643 self = self;
11644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetMarginWidth",_kwnames,&_argo0))
11645 return NULL;
11646 if (_argo0) {
11647 if (_argo0 == Py_None) { _arg0 = NULL; }
11648 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11649 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetMarginWidth. Expected _wxMenuItem_p.");
11650 return NULL;
11651 }
11652 }
11653{
4268f798 11654 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11655 _result = (int )wxMenuItem_GetMarginWidth(_arg0);
f3d9dc1d 11656
4268f798 11657 wxPyEndAllowThreads(__tstate);
493f1553 11658 if (PyErr_Occurred()) return NULL;
f3d9dc1d
RD
11659} _resultobj = Py_BuildValue("i",_result);
11660 return _resultobj;
11661}
11662
11663static PyObject *_wrap_wxMenuItem_GetDefaultMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
11664 PyObject * _resultobj;
11665 int _result;
11666 char *_kwnames[] = { NULL };
11667
11668 self = self;
11669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxMenuItem_GetDefaultMarginWidth",_kwnames))
11670 return NULL;
11671{
4268f798 11672 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11673 _result = (int )wxMenuItem::GetDefaultMarginWidth();
f3d9dc1d 11674
4268f798 11675 wxPyEndAllowThreads(__tstate);
493f1553 11676 if (PyErr_Occurred()) return NULL;
f3d9dc1d
RD
11677} _resultobj = Py_BuildValue("i",_result);
11678 return _resultobj;
11679}
11680
11681#define wxMenuItem_IsOwnerDrawn(_swigobj) (_swigobj->IsOwnerDrawn())
11682static PyObject *_wrap_wxMenuItem_IsOwnerDrawn(PyObject *self, PyObject *args, PyObject *kwargs) {
11683 PyObject * _resultobj;
11684 bool _result;
11685 wxMenuItem * _arg0;
11686 PyObject * _argo0 = 0;
11687 char *_kwnames[] = { "self", NULL };
11688
11689 self = self;
11690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsOwnerDrawn",_kwnames,&_argo0))
11691 return NULL;
11692 if (_argo0) {
11693 if (_argo0 == Py_None) { _arg0 = NULL; }
11694 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11695 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsOwnerDrawn. Expected _wxMenuItem_p.");
11696 return NULL;
11697 }
11698 }
11699{
4268f798 11700 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11701 _result = (bool )wxMenuItem_IsOwnerDrawn(_arg0);
f3d9dc1d 11702
4268f798 11703 wxPyEndAllowThreads(__tstate);
493f1553 11704 if (PyErr_Occurred()) return NULL;
f3d9dc1d
RD
11705} _resultobj = Py_BuildValue("i",_result);
11706 return _resultobj;
11707}
11708
11709#define wxMenuItem_ResetOwnerDrawn(_swigobj) (_swigobj->ResetOwnerDrawn())
11710static PyObject *_wrap_wxMenuItem_ResetOwnerDrawn(PyObject *self, PyObject *args, PyObject *kwargs) {
11711 PyObject * _resultobj;
11712 wxMenuItem * _arg0;
11713 PyObject * _argo0 = 0;
11714 char *_kwnames[] = { "self", NULL };
11715
11716 self = self;
11717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_ResetOwnerDrawn",_kwnames,&_argo0))
11718 return NULL;
11719 if (_argo0) {
11720 if (_argo0 == Py_None) { _arg0 = NULL; }
11721 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11722 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_ResetOwnerDrawn. Expected _wxMenuItem_p.");
11723 return NULL;
11724 }
11725 }
11726{
4268f798 11727 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11728 wxMenuItem_ResetOwnerDrawn(_arg0);
f3d9dc1d 11729
4268f798 11730 wxPyEndAllowThreads(__tstate);
493f1553 11731 if (PyErr_Occurred()) return NULL;
f3d9dc1d
RD
11732} Py_INCREF(Py_None);
11733 _resultobj = Py_None;
11734 return _resultobj;
11735}
11736
032b1ef1
RD
11737#define wxMenuItem_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
11738static PyObject *_wrap_wxMenuItem_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
11739 PyObject * _resultobj;
11740 wxMenuItem * _arg0;
11741 wxBitmap * _arg1;
11742 PyObject * _argo0 = 0;
11743 PyObject * _argo1 = 0;
11744 char *_kwnames[] = { "self","bitmap", NULL };
11745
11746 self = self;
11747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetBitmap",_kwnames,&_argo0,&_argo1))
11748 return NULL;
11749 if (_argo0) {
11750 if (_argo0 == Py_None) { _arg0 = NULL; }
11751 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11752 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetBitmap. Expected _wxMenuItem_p.");
11753 return NULL;
11754 }
11755 }
11756 if (_argo1) {
11757 if (_argo1 == Py_None) { _arg1 = NULL; }
11758 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
11759 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenuItem_SetBitmap. Expected _wxBitmap_p.");
11760 return NULL;
11761 }
11762 }
11763{
11764 PyThreadState* __tstate = wxPyBeginAllowThreads();
11765 wxMenuItem_SetBitmap(_arg0,*_arg1);
11766
11767 wxPyEndAllowThreads(__tstate);
11768 if (PyErr_Occurred()) return NULL;
11769} Py_INCREF(Py_None);
11770 _resultobj = Py_None;
11771 return _resultobj;
11772}
11773
11774#define wxMenuItem_GetBitmap(_swigobj) (_swigobj->GetBitmap())
11775static PyObject *_wrap_wxMenuItem_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
11776 PyObject * _resultobj;
11777 wxBitmap * _result;
11778 wxMenuItem * _arg0;
11779 PyObject * _argo0 = 0;
11780 char *_kwnames[] = { "self", NULL };
11781 char _ptemp[128];
11782
11783 self = self;
11784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetBitmap",_kwnames,&_argo0))
11785 return NULL;
11786 if (_argo0) {
11787 if (_argo0 == Py_None) { _arg0 = NULL; }
11788 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11789 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetBitmap. Expected _wxMenuItem_p.");
11790 return NULL;
11791 }
11792 }
11793{
11794 PyThreadState* __tstate = wxPyBeginAllowThreads();
11795 const wxBitmap & _result_ref = wxMenuItem_GetBitmap(_arg0);
11796 _result = (wxBitmap *) &_result_ref;
11797
11798 wxPyEndAllowThreads(__tstate);
11799 if (PyErr_Occurred()) return NULL;
11800} if (_result) {
11801 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
11802 _resultobj = Py_BuildValue("s",_ptemp);
11803 } else {
11804 Py_INCREF(Py_None);
11805 _resultobj = Py_None;
11806 }
11807 return _resultobj;
11808}
11809
8ab979d7 11810static PyMethodDef windowscMethods[] = {
032b1ef1
RD
11811 { "wxMenuItem_GetBitmap", (PyCFunction) _wrap_wxMenuItem_GetBitmap, METH_VARARGS | METH_KEYWORDS },
11812 { "wxMenuItem_SetBitmap", (PyCFunction) _wrap_wxMenuItem_SetBitmap, METH_VARARGS | METH_KEYWORDS },
f3d9dc1d
RD
11813 { "wxMenuItem_ResetOwnerDrawn", (PyCFunction) _wrap_wxMenuItem_ResetOwnerDrawn, METH_VARARGS | METH_KEYWORDS },
11814 { "wxMenuItem_IsOwnerDrawn", (PyCFunction) _wrap_wxMenuItem_IsOwnerDrawn, METH_VARARGS | METH_KEYWORDS },
11815 { "wxMenuItem_GetDefaultMarginWidth", (PyCFunction) _wrap_wxMenuItem_GetDefaultMarginWidth, METH_VARARGS | METH_KEYWORDS },
11816 { "wxMenuItem_GetMarginWidth", (PyCFunction) _wrap_wxMenuItem_GetMarginWidth, METH_VARARGS | METH_KEYWORDS },
11817 { "wxMenuItem_SetMarginWidth", (PyCFunction) _wrap_wxMenuItem_SetMarginWidth, METH_VARARGS | METH_KEYWORDS },
f3d9dc1d
RD
11818 { "wxMenuItem_SetBitmaps", (PyCFunction) _wrap_wxMenuItem_SetBitmaps, METH_VARARGS | METH_KEYWORDS },
11819 { "wxMenuItem_GetBackgroundColour", (PyCFunction) _wrap_wxMenuItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11820 { "wxMenuItem_SetBackgroundColour", (PyCFunction) _wrap_wxMenuItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11821 { "wxMenuItem_GetTextColour", (PyCFunction) _wrap_wxMenuItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
11822 { "wxMenuItem_SetTextColour", (PyCFunction) _wrap_wxMenuItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
11823 { "wxMenuItem_GetFont", (PyCFunction) _wrap_wxMenuItem_GetFont, METH_VARARGS | METH_KEYWORDS },
11824 { "wxMenuItem_SetFont", (PyCFunction) _wrap_wxMenuItem_SetFont, METH_VARARGS | METH_KEYWORDS },
1b62f00d 11825 { "wxMenuItem_GetLabelFromText", (PyCFunction) _wrap_wxMenuItem_GetLabelFromText, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
11826 { "wxMenuItem_SetAccel", (PyCFunction) _wrap_wxMenuItem_SetAccel, METH_VARARGS | METH_KEYWORDS },
11827 { "wxMenuItem_GetAccel", (PyCFunction) _wrap_wxMenuItem_GetAccel, METH_VARARGS | METH_KEYWORDS },
11828 { "wxMenuItem_GetHelp", (PyCFunction) _wrap_wxMenuItem_GetHelp, METH_VARARGS | METH_KEYWORDS },
11829 { "wxMenuItem_SetHelp", (PyCFunction) _wrap_wxMenuItem_SetHelp, METH_VARARGS | METH_KEYWORDS },
11830 { "wxMenuItem_Toggle", (PyCFunction) _wrap_wxMenuItem_Toggle, METH_VARARGS | METH_KEYWORDS },
11831 { "wxMenuItem_IsChecked", (PyCFunction) _wrap_wxMenuItem_IsChecked, METH_VARARGS | METH_KEYWORDS },
efc5f224 11832 { "wxMenuItem_Check", (PyCFunction) _wrap_wxMenuItem_Check, METH_VARARGS | METH_KEYWORDS },
b1462dfa 11833 { "wxMenuItem_IsEnabled", (PyCFunction) _wrap_wxMenuItem_IsEnabled, METH_VARARGS | METH_KEYWORDS },
efc5f224 11834 { "wxMenuItem_Enable", (PyCFunction) _wrap_wxMenuItem_Enable, METH_VARARGS | METH_KEYWORDS },
efc5f224 11835 { "wxMenuItem_GetSubMenu", (PyCFunction) _wrap_wxMenuItem_GetSubMenu, METH_VARARGS | METH_KEYWORDS },
b1462dfa 11836 { "wxMenuItem_SetSubMenu", (PyCFunction) _wrap_wxMenuItem_SetSubMenu, METH_VARARGS | METH_KEYWORDS },
2abc0a0f 11837 { "wxMenuItem_IsSubMenu", (PyCFunction) _wrap_wxMenuItem_IsSubMenu, METH_VARARGS | METH_KEYWORDS },
efc5f224 11838 { "wxMenuItem_IsCheckable", (PyCFunction) _wrap_wxMenuItem_IsCheckable, METH_VARARGS | METH_KEYWORDS },
b1462dfa 11839 { "wxMenuItem_SetCheckable", (PyCFunction) _wrap_wxMenuItem_SetCheckable, METH_VARARGS | METH_KEYWORDS },
e9159fe8 11840 { "wxMenuItem_GetKind", (PyCFunction) _wrap_wxMenuItem_GetKind, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
11841 { "wxMenuItem_GetText", (PyCFunction) _wrap_wxMenuItem_GetText, METH_VARARGS | METH_KEYWORDS },
11842 { "wxMenuItem_GetLabel", (PyCFunction) _wrap_wxMenuItem_GetLabel, METH_VARARGS | METH_KEYWORDS },
11843 { "wxMenuItem_SetText", (PyCFunction) _wrap_wxMenuItem_SetText, METH_VARARGS | METH_KEYWORDS },
efc5f224 11844 { "wxMenuItem_IsSeparator", (PyCFunction) _wrap_wxMenuItem_IsSeparator, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
11845 { "wxMenuItem_GetId", (PyCFunction) _wrap_wxMenuItem_GetId, METH_VARARGS | METH_KEYWORDS },
11846 { "wxMenuItem_SetId", (PyCFunction) _wrap_wxMenuItem_SetId, METH_VARARGS | METH_KEYWORDS },
11847 { "wxMenuItem_GetMenu", (PyCFunction) _wrap_wxMenuItem_GetMenu, METH_VARARGS | METH_KEYWORDS },
efc5f224 11848 { "new_wxMenuItem", (PyCFunction) _wrap_new_wxMenuItem, METH_VARARGS | METH_KEYWORDS },
b1462dfa 11849 { "wxMenuBar_GetHelpString", (PyCFunction) _wrap_wxMenuBar_GetHelpString, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11850 { "wxMenuBar_SetHelpString", (PyCFunction) _wrap_wxMenuBar_SetHelpString, METH_VARARGS | METH_KEYWORDS },
11851 { "wxMenuBar_GetLabel", (PyCFunction) _wrap_wxMenuBar_GetLabel, METH_VARARGS | METH_KEYWORDS },
2f90df85 11852 { "wxMenuBar_SetLabel", (PyCFunction) _wrap_wxMenuBar_SetLabel, METH_VARARGS | METH_KEYWORDS },
2abc0a0f
RD
11853 { "wxMenuBar_IsEnabled", (PyCFunction) _wrap_wxMenuBar_IsEnabled, METH_VARARGS | METH_KEYWORDS },
11854 { "wxMenuBar_IsChecked", (PyCFunction) _wrap_wxMenuBar_IsChecked, METH_VARARGS | METH_KEYWORDS },
efc5f224 11855 { "wxMenuBar_Check", (PyCFunction) _wrap_wxMenuBar_Check, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
11856 { "wxMenuBar_Enable", (PyCFunction) _wrap_wxMenuBar_Enable, METH_VARARGS | METH_KEYWORDS },
11857 { "wxMenuBar_FindItemById", (PyCFunction) _wrap_wxMenuBar_FindItemById, METH_VARARGS | METH_KEYWORDS },
11858 { "wxMenuBar_FindMenuItem", (PyCFunction) _wrap_wxMenuBar_FindMenuItem, METH_VARARGS | METH_KEYWORDS },
3a0958b1 11859 { "wxMenuBar_FindMenu", (PyCFunction) _wrap_wxMenuBar_FindMenu, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
11860 { "wxMenuBar_GetLabelTop", (PyCFunction) _wrap_wxMenuBar_GetLabelTop, METH_VARARGS | METH_KEYWORDS },
11861 { "wxMenuBar_SetLabelTop", (PyCFunction) _wrap_wxMenuBar_SetLabelTop, METH_VARARGS | METH_KEYWORDS },
11862 { "wxMenuBar_EnableTop", (PyCFunction) _wrap_wxMenuBar_EnableTop, METH_VARARGS | METH_KEYWORDS },
11863 { "wxMenuBar_Remove", (PyCFunction) _wrap_wxMenuBar_Remove, METH_VARARGS | METH_KEYWORDS },
11864 { "wxMenuBar_Replace", (PyCFunction) _wrap_wxMenuBar_Replace, METH_VARARGS | METH_KEYWORDS },
11865 { "wxMenuBar_GetMenu", (PyCFunction) _wrap_wxMenuBar_GetMenu, METH_VARARGS | METH_KEYWORDS },
11866 { "wxMenuBar_GetMenuCount", (PyCFunction) _wrap_wxMenuBar_GetMenuCount, METH_VARARGS | METH_KEYWORDS },
11867 { "wxMenuBar_Insert", (PyCFunction) _wrap_wxMenuBar_Insert, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11868 { "wxMenuBar_Append", (PyCFunction) _wrap_wxMenuBar_Append, METH_VARARGS | METH_KEYWORDS },
11869 { "new_wxMenuBar", (PyCFunction) _wrap_new_wxMenuBar, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
11870 { "wxMenu_GetParent", (PyCFunction) _wrap_wxMenu_GetParent, METH_VARARGS | METH_KEYWORDS },
11871 { "wxMenu_SetParent", (PyCFunction) _wrap_wxMenu_SetParent, METH_VARARGS | METH_KEYWORDS },
11872 { "wxMenu_IsAttached", (PyCFunction) _wrap_wxMenu_IsAttached, METH_VARARGS | METH_KEYWORDS },
11873 { "wxMenu_GetStyle", (PyCFunction) _wrap_wxMenu_GetStyle, METH_VARARGS | METH_KEYWORDS },
11874 { "wxMenu_GetInvokingWindow", (PyCFunction) _wrap_wxMenu_GetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
11875 { "wxMenu_SetInvokingWindow", (PyCFunction) _wrap_wxMenu_SetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
11876 { "wxMenu_GetEventHandler", (PyCFunction) _wrap_wxMenu_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
11877 { "wxMenu_SetEventHandler", (PyCFunction) _wrap_wxMenu_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
11878 { "wxMenu_GetMenuItems", (PyCFunction) _wrap_wxMenu_GetMenuItems, METH_VARARGS | METH_KEYWORDS },
11879 { "wxMenu_GetMenuItemCount", (PyCFunction) _wrap_wxMenu_GetMenuItemCount, METH_VARARGS | METH_KEYWORDS },
11880 { "wxMenu_DestroyItem", (PyCFunction) _wrap_wxMenu_DestroyItem, METH_VARARGS | METH_KEYWORDS },
11881 { "wxMenu_DestroyId", (PyCFunction) _wrap_wxMenu_DestroyId, METH_VARARGS | METH_KEYWORDS },
efc5f224 11882 { "wxMenu_Destroy", (PyCFunction) _wrap_wxMenu_Destroy, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
11883 { "wxMenu_RemoveItem", (PyCFunction) _wrap_wxMenu_RemoveItem, METH_VARARGS | METH_KEYWORDS },
11884 { "wxMenu_Remove", (PyCFunction) _wrap_wxMenu_Remove, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
11885 { "wxMenu_DeleteItem", (PyCFunction) _wrap_wxMenu_DeleteItem, METH_VARARGS | METH_KEYWORDS },
11886 { "wxMenu_Delete", (PyCFunction) _wrap_wxMenu_Delete, METH_VARARGS | METH_KEYWORDS },
efc5f224 11887 { "wxMenu_UpdateUI", (PyCFunction) _wrap_wxMenu_UpdateUI, METH_VARARGS | METH_KEYWORDS },
efc5f224 11888 { "wxMenu_SetHelpString", (PyCFunction) _wrap_wxMenu_SetHelpString, METH_VARARGS | METH_KEYWORDS },
efc5f224 11889 { "wxMenu_GetHelpString", (PyCFunction) _wrap_wxMenu_GetHelpString, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
11890 { "wxMenu_SetLabel", (PyCFunction) _wrap_wxMenu_SetLabel, METH_VARARGS | METH_KEYWORDS },
11891 { "wxMenu_GetLabel", (PyCFunction) _wrap_wxMenu_GetLabel, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11892 { "wxMenu_SetTitle", (PyCFunction) _wrap_wxMenu_SetTitle, METH_VARARGS | METH_KEYWORDS },
11893 { "wxMenu_GetTitle", (PyCFunction) _wrap_wxMenu_GetTitle, METH_VARARGS | METH_KEYWORDS },
b1462dfa 11894 { "wxMenu_FindItemById", (PyCFunction) _wrap_wxMenu_FindItemById, METH_VARARGS | METH_KEYWORDS },
efc5f224 11895 { "wxMenu_FindItem", (PyCFunction) _wrap_wxMenu_FindItem, METH_VARARGS | METH_KEYWORDS },
b1462dfa 11896 { "wxMenu_IsEnabled", (PyCFunction) _wrap_wxMenu_IsEnabled, METH_VARARGS | METH_KEYWORDS },
efc5f224 11897 { "wxMenu_Enable", (PyCFunction) _wrap_wxMenu_Enable, METH_VARARGS | METH_KEYWORDS },
b1462dfa 11898 { "wxMenu_IsChecked", (PyCFunction) _wrap_wxMenu_IsChecked, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11899 { "wxMenu_Check", (PyCFunction) _wrap_wxMenu_Check, METH_VARARGS | METH_KEYWORDS },
11900 { "wxMenu_Break", (PyCFunction) _wrap_wxMenu_Break, METH_VARARGS | METH_KEYWORDS },
e9159fe8
RD
11901 { "wxMenu_PrependItem", (PyCFunction) _wrap_wxMenu_PrependItem, METH_VARARGS | METH_KEYWORDS },
11902 { "wxMenu_PrependMenu", (PyCFunction) _wrap_wxMenu_PrependMenu, METH_VARARGS | METH_KEYWORDS },
11903 { "wxMenu_PrependRadioItem", (PyCFunction) _wrap_wxMenu_PrependRadioItem, METH_VARARGS | METH_KEYWORDS },
11904 { "wxMenu_PrependCheckItem", (PyCFunction) _wrap_wxMenu_PrependCheckItem, METH_VARARGS | METH_KEYWORDS },
11905 { "wxMenu_PrependSeparator", (PyCFunction) _wrap_wxMenu_PrependSeparator, METH_VARARGS | METH_KEYWORDS },
11906 { "wxMenu_Prepend", (PyCFunction) _wrap_wxMenu_Prepend, METH_VARARGS | METH_KEYWORDS },
11907 { "wxMenu_InsertItem", (PyCFunction) _wrap_wxMenu_InsertItem, METH_VARARGS | METH_KEYWORDS },
11908 { "wxMenu_InsertMenu", (PyCFunction) _wrap_wxMenu_InsertMenu, METH_VARARGS | METH_KEYWORDS },
11909 { "wxMenu_InsertRadioItem", (PyCFunction) _wrap_wxMenu_InsertRadioItem, METH_VARARGS | METH_KEYWORDS },
11910 { "wxMenu_InsertCheckItem", (PyCFunction) _wrap_wxMenu_InsertCheckItem, METH_VARARGS | METH_KEYWORDS },
11911 { "wxMenu_InsertSeparator", (PyCFunction) _wrap_wxMenu_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
11912 { "wxMenu_Insert", (PyCFunction) _wrap_wxMenu_Insert, METH_VARARGS | METH_KEYWORDS },
efc5f224 11913 { "wxMenu_AppendSeparator", (PyCFunction) _wrap_wxMenu_AppendSeparator, METH_VARARGS | METH_KEYWORDS },
e9159fe8
RD
11914 { "wxMenu_AppendRadioItem", (PyCFunction) _wrap_wxMenu_AppendRadioItem, METH_VARARGS | METH_KEYWORDS },
11915 { "wxMenu_AppendCheckItem", (PyCFunction) _wrap_wxMenu_AppendCheckItem, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11916 { "wxMenu_AppendItem", (PyCFunction) _wrap_wxMenu_AppendItem, METH_VARARGS | METH_KEYWORDS },
11917 { "wxMenu_AppendMenu", (PyCFunction) _wrap_wxMenu_AppendMenu, METH_VARARGS | METH_KEYWORDS },
11918 { "wxMenu_Append", (PyCFunction) _wrap_wxMenu_Append, METH_VARARGS | METH_KEYWORDS },
11919 { "new_wxMenu", (PyCFunction) _wrap_new_wxMenu, METH_VARARGS | METH_KEYWORDS },
2a74d141 11920 { "wxScrolledWindow_SetScrollRate", (PyCFunction) _wrap_wxScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
26e335b8 11921 { "wxScrolledWindow_Layout", (PyCFunction) _wrap_wxScrolledWindow_Layout, METH_VARARGS | METH_KEYWORDS },
d1679124
RD
11922 { "wxScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_wxScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
11923 { "wxScrolledWindow_GetScaleY", (PyCFunction) _wrap_wxScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
11924 { "wxScrolledWindow_GetScaleX", (PyCFunction) _wrap_wxScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
11925 { "wxScrolledWindow_SetScale", (PyCFunction) _wrap_wxScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
e9159fe8
RD
11926 { "wxScrolledWindow_CalcUnscrolledPosition2", (PyCFunction) _wrap_wxScrolledWindow_CalcUnscrolledPosition2, METH_VARARGS | METH_KEYWORDS },
11927 { "wxScrolledWindow_CalcUnscrolledPosition1", (PyCFunction) _wrap_wxScrolledWindow_CalcUnscrolledPosition1, METH_VARARGS | METH_KEYWORDS },
11928 { "wxScrolledWindow_CalcScrolledPosition2", (PyCFunction) _wrap_wxScrolledWindow_CalcScrolledPosition2, METH_VARARGS | METH_KEYWORDS },
11929 { "wxScrolledWindow_CalcScrolledPosition1", (PyCFunction) _wrap_wxScrolledWindow_CalcScrolledPosition1, METH_VARARGS | METH_KEYWORDS },
4c9993c3 11930 { "wxScrolledWindow_GetViewStart", (PyCFunction) _wrap_wxScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
eb715945 11931 { "wxScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_wxScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
b7e72427 11932 { "wxScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_wxScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11933 { "wxScrolledWindow_SetScrollbars", (PyCFunction) _wrap_wxScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
11934 { "wxScrolledWindow_Scroll", (PyCFunction) _wrap_wxScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
11935 { "wxScrolledWindow_PrepareDC", (PyCFunction) _wrap_wxScrolledWindow_PrepareDC, METH_VARARGS | METH_KEYWORDS },
11936 { "wxScrolledWindow_IsRetained", (PyCFunction) _wrap_wxScrolledWindow_IsRetained, METH_VARARGS | METH_KEYWORDS },
b7e72427 11937 { "wxScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_wxScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
efc5f224 11938 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
b7e72427 11939 { "wxScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_wxScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
efc5f224 11940 { "wxScrolledWindow_EnableScrolling", (PyCFunction) _wrap_wxScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
11941 { "wxScrolledWindow_Create", (PyCFunction) _wrap_wxScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
11942 { "new_wxPreScrolledWindow", (PyCFunction) _wrap_new_wxPreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
efc5f224 11943 { "new_wxScrolledWindow", (PyCFunction) _wrap_new_wxScrolledWindow, METH_VARARGS | METH_KEYWORDS },
efc5f224 11944 { "wxPanel_InitDialog", (PyCFunction) _wrap_wxPanel_InitDialog, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
11945 { "wxPanel_Create", (PyCFunction) _wrap_wxPanel_Create, METH_VARARGS | METH_KEYWORDS },
11946 { "new_wxPrePanel", (PyCFunction) _wrap_new_wxPrePanel, METH_VARARGS | METH_KEYWORDS },
efc5f224 11947 { "new_wxPanel", (PyCFunction) _wrap_new_wxPanel, METH_VARARGS | METH_KEYWORDS },
6d26dc89
RD
11948 { "wxWindow_HasCapture", (PyCFunction) _wrap_wxWindow_HasCapture, METH_VARARGS | METH_KEYWORDS },
11949 { "wxWindow_GetCapture", (PyCFunction) _wrap_wxWindow_GetCapture, METH_VARARGS | METH_KEYWORDS },
11950 { "wxWindow_ReleaseMouse", (PyCFunction) _wrap_wxWindow_ReleaseMouse, METH_VARARGS | METH_KEYWORDS },
11951 { "wxWindow_CaptureMouse", (PyCFunction) _wrap_wxWindow_CaptureMouse, METH_VARARGS | METH_KEYWORDS },
11952 { "wxWindow_WarpPointer", (PyCFunction) _wrap_wxWindow_WarpPointer, METH_VARARGS | METH_KEYWORDS },
0b85cc38 11953 { "wxWindow_SetTmpDefaultItem", (PyCFunction) _wrap_wxWindow_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS },
5a2930ab
RD
11954 { "wxWindow_SetDefaultItem", (PyCFunction) _wrap_wxWindow_SetDefaultItem, METH_VARARGS | METH_KEYWORDS },
11955 { "wxWindow_GetDefaultItem", (PyCFunction) _wrap_wxWindow_GetDefaultItem, METH_VARARGS | METH_KEYWORDS },
07c99b26 11956 { "wxWindow_OnPaint", (PyCFunction) _wrap_wxWindow_OnPaint, METH_VARARGS | METH_KEYWORDS },
900d9886 11957 { "wxWindow_GetAcceleratorTable", (PyCFunction) _wrap_wxWindow_GetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
76bfdc78 11958 { "wxWindow_SetAcceleratorTable", (PyCFunction) _wrap_wxWindow_SetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
11959 { "wxWindow_PrevControlId", (PyCFunction) _wrap_wxWindow_PrevControlId, METH_VARARGS | METH_KEYWORDS },
11960 { "wxWindow_NextControlId", (PyCFunction) _wrap_wxWindow_NextControlId, METH_VARARGS | METH_KEYWORDS },
11961 { "wxWindow_NewControlId", (PyCFunction) _wrap_wxWindow_NewControlId, METH_VARARGS | METH_KEYWORDS },
11962 { "wxWindow_FindFocus", (PyCFunction) _wrap_wxWindow_FindFocus, METH_VARARGS | METH_KEYWORDS },
c7e7022c
RD
11963 { "wxWindow_PageDown", (PyCFunction) _wrap_wxWindow_PageDown, METH_VARARGS | METH_KEYWORDS },
11964 { "wxWindow_PageUp", (PyCFunction) _wrap_wxWindow_PageUp, METH_VARARGS | METH_KEYWORDS },
11965 { "wxWindow_LineDown", (PyCFunction) _wrap_wxWindow_LineDown, METH_VARARGS | METH_KEYWORDS },
11966 { "wxWindow_LineUp", (PyCFunction) _wrap_wxWindow_LineUp, METH_VARARGS | METH_KEYWORDS },
11967 { "wxWindow_ScrollPages", (PyCFunction) _wrap_wxWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
11968 { "wxWindow_ScrollLines", (PyCFunction) _wrap_wxWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
23bed520 11969 { "wxWindow_SetHelpTextForId", (PyCFunction) _wrap_wxWindow_SetHelpTextForId, METH_VARARGS | METH_KEYWORDS },
4f3449b4
RD
11970 { "wxWindow_SetHelpText", (PyCFunction) _wrap_wxWindow_SetHelpText, METH_VARARGS | METH_KEYWORDS },
11971 { "wxWindow_GetHelpText", (PyCFunction) _wrap_wxWindow_GetHelpText, METH_VARARGS | METH_KEYWORDS },
09f3d4e6 11972 { "wxWindow_Update", (PyCFunction) _wrap_wxWindow_Update, METH_VARARGS | METH_KEYWORDS },
3a0958b1
RD
11973 { "wxWindow_Thaw", (PyCFunction) _wrap_wxWindow_Thaw, METH_VARARGS | METH_KEYWORDS },
11974 { "wxWindow_Freeze", (PyCFunction) _wrap_wxWindow_Freeze, METH_VARARGS | METH_KEYWORDS },
a1df7a95
RD
11975 { "wxWindow_GetCaret", (PyCFunction) _wrap_wxWindow_GetCaret, METH_VARARGS | METH_KEYWORDS },
11976 { "wxWindow_SetCaret", (PyCFunction) _wrap_wxWindow_SetCaret, METH_VARARGS | METH_KEYWORDS },
a541c325 11977 { "wxWindow_GetMaxSize", (PyCFunction) _wrap_wxWindow_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
694759cf 11978 { "wxWindow_GetBestSize", (PyCFunction) _wrap_wxWindow_GetBestSize, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
11979 { "wxWindow_GetDropTarget", (PyCFunction) _wrap_wxWindow_GetDropTarget, METH_VARARGS | METH_KEYWORDS },
11980 { "wxWindow_SetDropTarget", (PyCFunction) _wrap_wxWindow_SetDropTarget, METH_VARARGS | METH_KEYWORDS },
2f90df85
RD
11981 { "wxWindow_SetValidator", (PyCFunction) _wrap_wxWindow_SetValidator, METH_VARARGS | METH_KEYWORDS },
11982 { "wxWindow_GetValidator", (PyCFunction) _wrap_wxWindow_GetValidator, METH_VARARGS | METH_KEYWORDS },
be90c029
RD
11983 { "wxWindow_GetContainingSizer", (PyCFunction) _wrap_wxWindow_GetContainingSizer, METH_VARARGS | METH_KEYWORDS },
11984 { "wxWindow_SetContainingSizer", (PyCFunction) _wrap_wxWindow_SetContainingSizer, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 11985 { "wxWindow_GetSizer", (PyCFunction) _wrap_wxWindow_GetSizer, METH_VARARGS | METH_KEYWORDS },
2a74d141 11986 { "wxWindow_SetSizerAndFit", (PyCFunction) _wrap_wxWindow_SetSizerAndFit, METH_VARARGS | METH_KEYWORDS },
2f90df85 11987 { "wxWindow_SetSizer", (PyCFunction) _wrap_wxWindow_SetSizer, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11988 { "wxWindow_GetToolTip", (PyCFunction) _wrap_wxWindow_GetToolTip, METH_VARARGS | METH_KEYWORDS },
11989 { "wxWindow_SetToolTip", (PyCFunction) _wrap_wxWindow_SetToolTip, METH_VARARGS | METH_KEYWORDS },
11990 { "wxWindow_SetToolTipString", (PyCFunction) _wrap_wxWindow_SetToolTipString, METH_VARARGS | METH_KEYWORDS },
11991 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction) _wrap_wxWindow_ConvertPixelSizeToDialog, METH_VARARGS | METH_KEYWORDS },
11992 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction) _wrap_wxWindow_ConvertPixelPointToDialog, METH_VARARGS | METH_KEYWORDS },
11993 { "wxWindow_DLG_SZE", (PyCFunction) _wrap_wxWindow_ConvertDialogSizeToPixels, METH_VARARGS | METH_KEYWORDS },
11994 { "wxWindow_DLG_PNT", (PyCFunction) _wrap_wxWindow_ConvertDialogPointToPixels, METH_VARARGS | METH_KEYWORDS },
11995 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction) _wrap_wxWindow_ConvertDialogSizeToPixels, METH_VARARGS | METH_KEYWORDS },
11996 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction) _wrap_wxWindow_ConvertDialogPointToPixels, METH_VARARGS | METH_KEYWORDS },
efc5f224 11997 { "wxWindow_Validate", (PyCFunction) _wrap_wxWindow_Validate, METH_VARARGS | METH_KEYWORDS },
23bed520 11998 { "wxWindow_UpdateWindowUI", (PyCFunction) _wrap_wxWindow_UpdateWindowUI, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11999 { "wxWindow_TransferDataToWindow", (PyCFunction) _wrap_wxWindow_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
12000 { "wxWindow_TransferDataFromWindow", (PyCFunction) _wrap_wxWindow_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
12001 { "wxWindow_Show", (PyCFunction) _wrap_wxWindow_Show, METH_VARARGS | METH_KEYWORDS },
12002 { "wxWindow_SetTitle", (PyCFunction) _wrap_wxWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
83b18bab 12003 { "wxWindow_SetExtraStyle", (PyCFunction) _wrap_wxWindow_SetExtraStyle, METH_VARARGS | METH_KEYWORDS },
1afc06c2 12004 { "wxWindow_SetEventHandler", (PyCFunction) _wrap_wxWindow_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
e67409dc 12005 { "wxWindow_GetCursor", (PyCFunction) _wrap_wxWindow_GetCursor, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
12006 { "wxWindow_SetCursor", (PyCFunction) _wrap_wxWindow_SetCursor, METH_VARARGS | METH_KEYWORDS },
12007 { "wxWindow_SetClientSize", (PyCFunction) _wrap_wxWindow_SetClientSize, METH_VARARGS | METH_KEYWORDS },
12008 { "wxWindow_SetClientSizeWH", (PyCFunction) _wrap_wxWindow_SetClientSizeWH, METH_VARARGS | METH_KEYWORDS },
2a74d141
RD
12009 { "wxWindow_GetVirtualSizeTuple", (PyCFunction) _wrap_wxWindow_GetVirtualSizeTuple, METH_VARARGS | METH_KEYWORDS },
12010 { "wxWindow_GetVirtualSize", (PyCFunction) _wrap_wxWindow_GetVirtualSize, METH_VARARGS | METH_KEYWORDS },
12011 { "wxWindow_SetVirtualSizeWH", (PyCFunction) _wrap_wxWindow_SetVirtualSizeWH, METH_VARARGS | METH_KEYWORDS },
12012 { "wxWindow_SetVirtualSize", (PyCFunction) _wrap_wxWindow_SetVirtualSize, METH_VARARGS | METH_KEYWORDS },
12013 { "wxWindow_SetVirtualSizeHints", (PyCFunction) _wrap_wxWindow_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS },
efc5f224 12014 { "wxWindow_SetSizeHints", (PyCFunction) _wrap_wxWindow_SetSizeHints, METH_VARARGS | METH_KEYWORDS },
dbbb98cd 12015 { "wxWindow_SetRect", (PyCFunction) _wrap_wxWindow_SetRect, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
12016 { "wxWindow_SetPosition", (PyCFunction) _wrap_wxWindow_SetPosition, METH_VARARGS | METH_KEYWORDS },
12017 { "wxWindow_SetSize", (PyCFunction) _wrap_wxWindow_SetSize, METH_VARARGS | METH_KEYWORDS },
12018 { "wxWindow_SetDimensions", (PyCFunction) _wrap_wxWindow_SetDimensions, METH_VARARGS | METH_KEYWORDS },
12019 { "wxWindow_SetScrollPos", (PyCFunction) _wrap_wxWindow_SetScrollPos, METH_VARARGS | METH_KEYWORDS },
12020 { "wxWindow_SetScrollbar", (PyCFunction) _wrap_wxWindow_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
12021 { "wxWindow_SetName", (PyCFunction) _wrap_wxWindow_SetName, METH_VARARGS | METH_KEYWORDS },
12022 { "wxWindow_SetId", (PyCFunction) _wrap_wxWindow_SetId, METH_VARARGS | METH_KEYWORDS },
12023 { "wxWindow_SetForegroundColour", (PyCFunction) _wrap_wxWindow_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
12024 { "wxWindow_SetFont", (PyCFunction) _wrap_wxWindow_SetFont, METH_VARARGS | METH_KEYWORDS },
2f90df85 12025 { "wxWindow_AcceptsFocus", (PyCFunction) _wrap_wxWindow_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
2a74d141 12026 { "wxWindow_SetFocusFromKbd", (PyCFunction) _wrap_wxWindow_SetFocusFromKbd, METH_VARARGS | METH_KEYWORDS },
efc5f224 12027 { "wxWindow_SetFocus", (PyCFunction) _wrap_wxWindow_SetFocus, METH_VARARGS | METH_KEYWORDS },
2f90df85 12028 { "wxWindow_UnsetConstraints", (PyCFunction) _wrap_wxWindow_UnsetConstraints, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
12029 { "wxWindow_SetConstraints", (PyCFunction) _wrap_wxWindow_SetConstraints, METH_VARARGS | METH_KEYWORDS },
12030 { "wxWindow_SetBackgroundColour", (PyCFunction) _wrap_wxWindow_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
9d8bd15f 12031 { "wxWindow_GetAutoLayout", (PyCFunction) _wrap_wxWindow_GetAutoLayout, METH_VARARGS | METH_KEYWORDS },
efc5f224 12032 { "wxWindow_SetAutoLayout", (PyCFunction) _wrap_wxWindow_SetAutoLayout, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
12033 { "wxWindow_ScrollWindow", (PyCFunction) _wrap_wxWindow_ScrollWindow, METH_VARARGS | METH_KEYWORDS },
12034 { "wxWindow_ScreenToClient", (PyCFunction) _wrap_wxWindow_ScreenToClient, METH_VARARGS | METH_KEYWORDS },
12035 { "wxWindow_ScreenToClientXY", (PyCFunction) _wrap_wxWindow_ScreenToClientXY, METH_VARARGS | METH_KEYWORDS },
12036 { "wxWindow_Reparent", (PyCFunction) _wrap_wxWindow_Reparent, METH_VARARGS | METH_KEYWORDS },
b7e72427 12037 { "wxWindow_RemoveChild", (PyCFunction) _wrap_wxWindow_RemoveChild, METH_VARARGS | METH_KEYWORDS },
e67409dc 12038 { "wxWindow_AddChild", (PyCFunction) _wrap_wxWindow_AddChild, METH_VARARGS | METH_KEYWORDS },
09f3d4e6 12039 { "wxWindow_RefreshRect", (PyCFunction) _wrap_wxWindow_RefreshRect, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
12040 { "wxWindow_Refresh", (PyCFunction) _wrap_wxWindow_Refresh, METH_VARARGS | METH_KEYWORDS },
12041 { "wxWindow_Raise", (PyCFunction) _wrap_wxWindow_Raise, METH_VARARGS | METH_KEYWORDS },
12042 { "wxWindow_PopupMenu", (PyCFunction) _wrap_wxWindow_PopupMenu, METH_VARARGS | METH_KEYWORDS },
12043 { "wxWindow_PopupMenuXY", (PyCFunction) _wrap_wxWindow_PopupMenuXY, METH_VARARGS | METH_KEYWORDS },
c6c593e8 12044 { "wxWindow_RemoveEventHandler", (PyCFunction) _wrap_wxWindow_RemoveEventHandler, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
12045 { "wxWindow_PushEventHandler", (PyCFunction) _wrap_wxWindow_PushEventHandler, METH_VARARGS | METH_KEYWORDS },
12046 { "wxWindow_PopEventHandler", (PyCFunction) _wrap_wxWindow_PopEventHandler, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
12047 { "wxWindow_Move", (PyCFunction) _wrap_wxWindow_Move, METH_VARARGS | METH_KEYWORDS },
12048 { "wxWindow_MoveXY", (PyCFunction) _wrap_wxWindow_MoveXY, METH_VARARGS | METH_KEYWORDS },
12049 { "wxWindow_MakeModal", (PyCFunction) _wrap_wxWindow_MakeModal, METH_VARARGS | METH_KEYWORDS },
12050 { "wxWindow_Lower", (PyCFunction) _wrap_wxWindow_Lower, METH_VARARGS | METH_KEYWORDS },
12051 { "wxWindow_LoadFromResource", (PyCFunction) _wrap_wxWindow_LoadFromResource, METH_VARARGS | METH_KEYWORDS },
12052 { "wxWindow_Layout", (PyCFunction) _wrap_wxWindow_Layout, METH_VARARGS | METH_KEYWORDS },
12053 { "wxWindow_IsTopLevel", (PyCFunction) _wrap_wxWindow_IsTopLevel, METH_VARARGS | METH_KEYWORDS },
12054 { "wxWindow_IsShown", (PyCFunction) _wrap_wxWindow_IsShown, METH_VARARGS | METH_KEYWORDS },
12055 { "wxWindow_IsRetained", (PyCFunction) _wrap_wxWindow_IsRetained, METH_VARARGS | METH_KEYWORDS },
1b55cabf
RD
12056 { "wxWindow_IsExposedRect", (PyCFunction) _wrap_wxWindow_IsExposedRect, METH_VARARGS | METH_KEYWORDS },
12057 { "wxWindow_IsExposedPoint", (PyCFunction) _wrap_wxWindow_IsExposedPoint, METH_VARARGS | METH_KEYWORDS },
12058 { "wxWindow_IsExposed", (PyCFunction) _wrap_wxWindow_IsExposed, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
12059 { "wxWindow_IsEnabled", (PyCFunction) _wrap_wxWindow_IsEnabled, METH_VARARGS | METH_KEYWORDS },
12060 { "wxWindow_InitDialog", (PyCFunction) _wrap_wxWindow_InitDialog, METH_VARARGS | METH_KEYWORDS },
23bed520 12061 { "wxWindow_HitTest", (PyCFunction) _wrap_wxWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
efc5f224 12062 { "wxWindow_Hide", (PyCFunction) _wrap_wxWindow_Hide, METH_VARARGS | METH_KEYWORDS },
23bed520 12063 { "wxWindow_HasScrollbar", (PyCFunction) _wrap_wxWindow_HasScrollbar, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
12064 { "wxWindow_SetWindowStyle", (PyCFunction) _wrap_wxWindow_SetWindowStyle, METH_VARARGS | METH_KEYWORDS },
12065 { "wxWindow_SetWindowStyleFlag", (PyCFunction) _wrap_wxWindow_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
12066 { "wxWindow_GetWindowStyleFlag", (PyCFunction) _wrap_wxWindow_GetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
12067 { "wxWindow_GetUpdateRegion", (PyCFunction) _wrap_wxWindow_GetUpdateRegion, METH_VARARGS | METH_KEYWORDS },
12068 { "wxWindow_GetTitle", (PyCFunction) _wrap_wxWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
12069 { "wxWindow_GetFullTextExtent", (PyCFunction) _wrap_wxWindow_GetFullTextExtent, METH_VARARGS | METH_KEYWORDS },
12070 { "wxWindow_GetTextExtent", (PyCFunction) _wrap_wxWindow_GetTextExtent, METH_VARARGS | METH_KEYWORDS },
12071 { "wxWindow_GetSize", (PyCFunction) _wrap_wxWindow_GetSize, METH_VARARGS | METH_KEYWORDS },
12072 { "wxWindow_GetSizeTuple", (PyCFunction) _wrap_wxWindow_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
12073 { "wxWindow_GetScrollRange", (PyCFunction) _wrap_wxWindow_GetScrollRange, METH_VARARGS | METH_KEYWORDS },
12074 { "wxWindow_GetScrollPos", (PyCFunction) _wrap_wxWindow_GetScrollPos, METH_VARARGS | METH_KEYWORDS },
12075 { "wxWindow_GetScrollThumb", (PyCFunction) _wrap_wxWindow_GetScrollThumb, METH_VARARGS | METH_KEYWORDS },
12076 { "wxWindow_GetRect", (PyCFunction) _wrap_wxWindow_GetRect, METH_VARARGS | METH_KEYWORDS },
12077 { "wxWindow_GetPosition", (PyCFunction) _wrap_wxWindow_GetPosition, METH_VARARGS | METH_KEYWORDS },
12078 { "wxWindow_GetPositionTuple", (PyCFunction) _wrap_wxWindow_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
12079 { "wxWindow_GetParent", (PyCFunction) _wrap_wxWindow_GetParent, METH_VARARGS | METH_KEYWORDS },
12080 { "wxWindow_GetName", (PyCFunction) _wrap_wxWindow_GetName, METH_VARARGS | METH_KEYWORDS },
12081 { "wxWindow_SetLabel", (PyCFunction) _wrap_wxWindow_SetLabel, METH_VARARGS | METH_KEYWORDS },
12082 { "wxWindow_GetLabel", (PyCFunction) _wrap_wxWindow_GetLabel, METH_VARARGS | METH_KEYWORDS },
12083 { "wxWindow_GetId", (PyCFunction) _wrap_wxWindow_GetId, METH_VARARGS | METH_KEYWORDS },
2abc0a0f 12084 { "wxWindow_GetHandle", (PyCFunction) _wrap_wxWindow_GetHandle, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
12085 { "wxWindow_GetGrandParent", (PyCFunction) _wrap_wxWindow_GetGrandParent, METH_VARARGS | METH_KEYWORDS },
12086 { "wxWindow_GetForegroundColour", (PyCFunction) _wrap_wxWindow_GetForegroundColour, METH_VARARGS | METH_KEYWORDS },
12087 { "wxWindow_GetFont", (PyCFunction) _wrap_wxWindow_GetFont, METH_VARARGS | METH_KEYWORDS },
1afc06c2 12088 { "wxWindow_GetEventHandler", (PyCFunction) _wrap_wxWindow_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
efc5f224 12089 { "wxWindow_GetConstraints", (PyCFunction) _wrap_wxWindow_GetConstraints, METH_VARARGS | METH_KEYWORDS },
23bed520
RD
12090 { "wxWindow_GetClientRect", (PyCFunction) _wrap_wxWindow_GetClientRect, METH_VARARGS | METH_KEYWORDS },
12091 { "wxWindow_GetClientAreaOrigin", (PyCFunction) _wrap_wxWindow_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
12092 { "wxWindow_GetClientSize", (PyCFunction) _wrap_wxWindow_GetClientSize, METH_VARARGS | METH_KEYWORDS },
12093 { "wxWindow_GetClientSizeTuple", (PyCFunction) _wrap_wxWindow_GetClientSizeTuple, METH_VARARGS | METH_KEYWORDS },
12094 { "wxWindow_GetCharWidth", (PyCFunction) _wrap_wxWindow_GetCharWidth, METH_VARARGS | METH_KEYWORDS },
12095 { "wxWindow_GetCharHeight", (PyCFunction) _wrap_wxWindow_GetCharHeight, METH_VARARGS | METH_KEYWORDS },
d426c97e 12096 { "wxWindow_GetChildren", (PyCFunction) _wrap_wxWindow_GetChildren, METH_VARARGS | METH_KEYWORDS },
23bed520 12097 { "wxWindow_GetBorder", (PyCFunction) _wrap_wxWindow_GetBorder, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
12098 { "wxWindow_GetBackgroundColour", (PyCFunction) _wrap_wxWindow_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12099 { "wxWindow_Fit", (PyCFunction) _wrap_wxWindow_Fit, METH_VARARGS | METH_KEYWORDS },
12100 { "wxWindow_FindWindowByName", (PyCFunction) _wrap_wxWindow_FindWindowByName, METH_VARARGS | METH_KEYWORDS },
12101 { "wxWindow_FindWindowById", (PyCFunction) _wrap_wxWindow_FindWindowById, METH_VARARGS | METH_KEYWORDS },
12102 { "wxWindow_Enable", (PyCFunction) _wrap_wxWindow_Enable, METH_VARARGS | METH_KEYWORDS },
12103 { "wxWindow_DragAcceptFiles", (PyCFunction) _wrap_wxWindow_DragAcceptFiles, METH_VARARGS | METH_KEYWORDS },
ac346f50 12104 { "wxWindow_IsBeingDeleted", (PyCFunction) _wrap_wxWindow_IsBeingDeleted, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
12105 { "wxWindow_DestroyChildren", (PyCFunction) _wrap_wxWindow_DestroyChildren, METH_VARARGS | METH_KEYWORDS },
12106 { "wxWindow_Destroy", (PyCFunction) _wrap_wxWindow_Destroy, METH_VARARGS | METH_KEYWORDS },
12107 { "wxWindow_Close", (PyCFunction) _wrap_wxWindow_Close, METH_VARARGS | METH_KEYWORDS },
12108 { "wxWindow_ClientToScreen", (PyCFunction) _wrap_wxWindow_ClientToScreen, METH_VARARGS | METH_KEYWORDS },
12109 { "wxWindow_ClientToScreenXY", (PyCFunction) _wrap_wxWindow_ClientToScreenXY, METH_VARARGS | METH_KEYWORDS },
d56cebe7 12110 { "wxWindow_Clear", (PyCFunction) _wrap_wxWindow_Clear, METH_VARARGS | METH_KEYWORDS },
3ca6a5f0
BP
12111 { "wxWindow_CenterOnScreen", (PyCFunction) _wrap_wxWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS },
12112 { "wxWindow_CentreOnScreen", (PyCFunction) _wrap_wxWindow_CentreOnScreen, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
12113 { "wxWindow_CenterOnParent", (PyCFunction) _wrap_wxWindow_CenterOnParent, METH_VARARGS | METH_KEYWORDS },
12114 { "wxWindow_CentreOnParent", (PyCFunction) _wrap_wxWindow_CentreOnParent, METH_VARARGS | METH_KEYWORDS },
12115 { "wxWindow_Centre", (PyCFunction) _wrap_wxWindow_Centre, METH_VARARGS | METH_KEYWORDS },
12116 { "wxWindow_Center", (PyCFunction) _wrap_wxWindow_Center, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
12117 { "wxWindow_Create", (PyCFunction) _wrap_wxWindow_Create, METH_VARARGS | METH_KEYWORDS },
12118 { "new_wxPreWindow", (PyCFunction) _wrap_new_wxPreWindow, METH_VARARGS | METH_KEYWORDS },
efc5f224 12119 { "new_wxWindow", (PyCFunction) _wrap_new_wxWindow, METH_VARARGS | METH_KEYWORDS },
0122b7e3 12120 { "wxPyValidator__setCallbackInfo", (PyCFunction) _wrap_wxPyValidator__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
2f90df85 12121 { "new_wxPyValidator", (PyCFunction) _wrap_new_wxPyValidator, METH_VARARGS | METH_KEYWORDS },
9416aa89
RD
12122 { "wxValidator_SetBellOnError", (PyCFunction) _wrap_wxValidator_SetBellOnError, METH_VARARGS | METH_KEYWORDS },
12123 { "wxValidator_IsSilent", (PyCFunction) _wrap_wxValidator_IsSilent, METH_VARARGS | METH_KEYWORDS },
2f90df85
RD
12124 { "wxValidator_SetWindow", (PyCFunction) _wrap_wxValidator_SetWindow, METH_VARARGS | METH_KEYWORDS },
12125 { "wxValidator_GetWindow", (PyCFunction) _wrap_wxValidator_GetWindow, METH_VARARGS | METH_KEYWORDS },
12126 { "wxValidator_Clone", (PyCFunction) _wrap_wxValidator_Clone, METH_VARARGS | METH_KEYWORDS },
12127 { "new_wxValidator", (PyCFunction) _wrap_new_wxValidator, METH_VARARGS | METH_KEYWORDS },
0122b7e3 12128 { "wxEvtHandler__setOORInfo", (PyCFunction) _wrap_wxEvtHandler__setOORInfo, METH_VARARGS | METH_KEYWORDS },
6999b0d8 12129 { "wxEvtHandler_Disconnect", (PyCFunction) _wrap_wxEvtHandler_Disconnect, METH_VARARGS | METH_KEYWORDS },
efc5f224 12130 { "wxEvtHandler_Connect", (PyCFunction) _wrap_wxEvtHandler_Connect, METH_VARARGS | METH_KEYWORDS },
2f90df85
RD
12131 { "wxEvtHandler_SetPreviousHandler", (PyCFunction) _wrap_wxEvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
12132 { "wxEvtHandler_SetNextHandler", (PyCFunction) _wrap_wxEvtHandler_SetNextHandler, METH_VARARGS | METH_KEYWORDS },
12133 { "wxEvtHandler_GetPreviousHandler", (PyCFunction) _wrap_wxEvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
12134 { "wxEvtHandler_GetNextHandler", (PyCFunction) _wrap_wxEvtHandler_GetNextHandler, METH_VARARGS | METH_KEYWORDS },
12135 { "wxEvtHandler_SetEvtHandlerEnabled", (PyCFunction) _wrap_wxEvtHandler_SetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
12136 { "wxEvtHandler_GetEvtHandlerEnabled", (PyCFunction) _wrap_wxEvtHandler_GetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 12137 { "wxEvtHandler_AddPendingEvent", (PyCFunction) _wrap_wxEvtHandler_AddPendingEvent, METH_VARARGS | METH_KEYWORDS },
efc5f224 12138 { "wxEvtHandler_ProcessEvent", (PyCFunction) _wrap_wxEvtHandler_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
c368d904 12139 { "new_wxEvtHandler", (PyCFunction) _wrap_new_wxEvtHandler, METH_VARARGS | METH_KEYWORDS },
e67409dc
RD
12140 { "wxFindWindowByLabel", (PyCFunction) _wrap_wxFindWindowByLabel, METH_VARARGS | METH_KEYWORDS },
12141 { "wxFindWindowByName", (PyCFunction) _wrap_wxFindWindowByName, METH_VARARGS | METH_KEYWORDS },
12142 { "wxFindWindowById", (PyCFunction) _wrap_wxFindWindowById, METH_VARARGS | METH_KEYWORDS },
efc5f224 12143 { "wxWindow_FromHWND", (PyCFunction) _wrap_wxWindow_FromHWND, METH_VARARGS | METH_KEYWORDS },
8ab979d7
RD
12144 { NULL, NULL }
12145};
1d99702e
RD
12146#ifdef __cplusplus
12147}
12148#endif
12149/*
12150 * This table is used by the pointer type-checker
12151 */
12152static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
1d99702e 12153 { "_signed_long","_long",0},
b1462dfa 12154 { "_wxPrintQuality","_wxCoord",0},
1d99702e
RD
12155 { "_wxPrintQuality","_int",0},
12156 { "_wxPrintQuality","_signed_int",0},
12157 { "_wxPrintQuality","_unsigned_int",0},
12158 { "_wxPrintQuality","_wxWindowID",0},
12159 { "_wxPrintQuality","_uint",0},
12160 { "_wxPrintQuality","_EBool",0},
12161 { "_wxPrintQuality","_size_t",0},
c368d904 12162 { "_wxPrintQuality","_time_t",0},
1d99702e 12163 { "_byte","_unsigned_char",0},
1d99702e
RD
12164 { "_long","_unsigned_long",0},
12165 { "_long","_signed_long",0},
b1462dfa 12166 { "_size_t","_wxCoord",0},
1d99702e 12167 { "_size_t","_wxPrintQuality",0},
c368d904 12168 { "_size_t","_time_t",0},
1d99702e
RD
12169 { "_size_t","_unsigned_int",0},
12170 { "_size_t","_int",0},
12171 { "_size_t","_wxWindowID",0},
12172 { "_size_t","_uint",0},
1d99702e 12173 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel},
b1462dfa 12174 { "_uint","_wxCoord",0},
1d99702e 12175 { "_uint","_wxPrintQuality",0},
c368d904 12176 { "_uint","_time_t",0},
1d99702e
RD
12177 { "_uint","_size_t",0},
12178 { "_uint","_unsigned_int",0},
12179 { "_uint","_int",0},
12180 { "_uint","_wxWindowID",0},
f6bcfd97 12181 { "_wxChar","_char",0},
f6bcfd97 12182 { "_char","_wxChar",0},
cdf14688 12183 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
b1462dfa 12184 { "_EBool","_wxCoord",0},
1d99702e
RD
12185 { "_EBool","_wxPrintQuality",0},
12186 { "_EBool","_signed_int",0},
12187 { "_EBool","_int",0},
12188 { "_EBool","_wxWindowID",0},
1d99702e 12189 { "_unsigned_long","_long",0},
cdf14688 12190 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
b1462dfa 12191 { "_signed_int","_wxCoord",0},
1d99702e
RD
12192 { "_signed_int","_wxPrintQuality",0},
12193 { "_signed_int","_EBool",0},
12194 { "_signed_int","_wxWindowID",0},
12195 { "_signed_int","_int",0},
1d99702e
RD
12196 { "_WXTYPE","_short",0},
12197 { "_WXTYPE","_signed_short",0},
12198 { "_WXTYPE","_unsigned_short",0},
1d99702e
RD
12199 { "_unsigned_short","_WXTYPE",0},
12200 { "_unsigned_short","_short",0},
9416aa89 12201 { "_wxObject","_wxMenuItem",SwigwxMenuItemTowxObject},
9416aa89 12202 { "_wxObject","_wxMenuBar",SwigwxMenuBarTowxObject},
9416aa89 12203 { "_wxObject","_wxMenu",SwigwxMenuTowxObject},
9416aa89 12204 { "_wxObject","_wxScrolledWindow",SwigwxScrolledWindowTowxObject},
9416aa89 12205 { "_wxObject","_wxPanel",SwigwxPanelTowxObject},
9416aa89 12206 { "_wxObject","_wxWindow",SwigwxWindowTowxObject},
9416aa89 12207 { "_wxObject","_wxPyValidator",SwigwxPyValidatorTowxObject},
9416aa89 12208 { "_wxObject","_wxValidator",SwigwxValidatorTowxObject},
9416aa89 12209 { "_wxObject","_wxEvtHandler",SwigwxEvtHandlerTowxObject},
1d99702e
RD
12210 { "_signed_short","_WXTYPE",0},
12211 { "_signed_short","_short",0},
1d99702e 12212 { "_unsigned_char","_byte",0},
b1462dfa 12213 { "_unsigned_int","_wxCoord",0},
1d99702e 12214 { "_unsigned_int","_wxPrintQuality",0},
c368d904 12215 { "_unsigned_int","_time_t",0},
1d99702e
RD
12216 { "_unsigned_int","_size_t",0},
12217 { "_unsigned_int","_uint",0},
12218 { "_unsigned_int","_wxWindowID",0},
12219 { "_unsigned_int","_int",0},
1d99702e
RD
12220 { "_short","_WXTYPE",0},
12221 { "_short","_unsigned_short",0},
12222 { "_short","_signed_short",0},
b1462dfa 12223 { "_wxWindowID","_wxCoord",0},
1d99702e 12224 { "_wxWindowID","_wxPrintQuality",0},
c368d904 12225 { "_wxWindowID","_time_t",0},
1d99702e
RD
12226 { "_wxWindowID","_size_t",0},
12227 { "_wxWindowID","_EBool",0},
12228 { "_wxWindowID","_uint",0},
12229 { "_wxWindowID","_int",0},
12230 { "_wxWindowID","_signed_int",0},
12231 { "_wxWindowID","_unsigned_int",0},
b1462dfa 12232 { "_int","_wxCoord",0},
1d99702e 12233 { "_int","_wxPrintQuality",0},
c368d904 12234 { "_int","_time_t",0},
1d99702e
RD
12235 { "_int","_size_t",0},
12236 { "_int","_EBool",0},
12237 { "_int","_uint",0},
12238 { "_int","_wxWindowID",0},
12239 { "_int","_unsigned_int",0},
12240 { "_int","_signed_int",0},
c368d904
RD
12241 { "_time_t","_wxCoord",0},
12242 { "_time_t","_wxPrintQuality",0},
12243 { "_time_t","_unsigned_int",0},
12244 { "_time_t","_int",0},
12245 { "_time_t","_wxWindowID",0},
12246 { "_time_t","_uint",0},
12247 { "_time_t","_size_t",0},
2f90df85 12248 { "_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator},
b1462dfa
RD
12249 { "_wxCoord","_int",0},
12250 { "_wxCoord","_signed_int",0},
12251 { "_wxCoord","_unsigned_int",0},
12252 { "_wxCoord","_wxWindowID",0},
12253 { "_wxCoord","_uint",0},
12254 { "_wxCoord","_EBool",0},
12255 { "_wxCoord","_size_t",0},
c368d904 12256 { "_wxCoord","_time_t",0},
b1462dfa 12257 { "_wxCoord","_wxPrintQuality",0},
1d99702e 12258 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler},
1d99702e 12259 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler},
1d99702e 12260 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler},
1d99702e 12261 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler},
1d99702e 12262 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler},
2f90df85 12263 { "_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler},
2f90df85 12264 { "_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler},
b1462dfa 12265 { "_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow},
1d99702e 12266 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow},
1d99702e 12267 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow},
1d99702e
RD
12268{0,0,0}};
12269
8ab979d7
RD
12270static PyObject *SWIG_globals;
12271#ifdef __cplusplus
12272extern "C"
12273#endif
1d99702e 12274SWIGEXPORT(void) initwindowsc() {
8ab979d7
RD
12275 PyObject *m, *d;
12276 SWIG_globals = SWIG_newvarlink();
12277 m = Py_InitModule("windowsc", windowscMethods);
12278 d = PyModule_GetDict(m);
1d99702e
RD
12279{
12280 int i;
12281 for (i = 0; _swig_mapping[i].n1; i++)
12282 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
12283}
8ab979d7 12284}