]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/windows.cpp
made one button label multiline for testing
[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}
146#ifdef __cplusplus
147extern "C" {
148#endif
2f90df85
RD
149static PyObject *_wrap_wxWindow_FromHWND(PyObject *self, PyObject *args, PyObject *kwargs) {
150 PyObject * _resultobj;
151 wxWindow * _result;
152 unsigned long _arg0;
153 char *_kwnames[] = { "hWnd", NULL };
2f90df85
RD
154
155 self = self;
156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"l:wxWindow_FromHWND",_kwnames,&_arg0))
157 return NULL;
158{
4268f798 159 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 160 _result = (wxWindow *)wxWindow_FromHWND(_arg0);
2f90df85 161
4268f798 162 wxPyEndAllowThreads(__tstate);
493f1553 163 if (PyErr_Occurred()) return NULL;
9416aa89 164}{ _resultobj = wxPyMake_wxObject(_result); }
2f90df85
RD
165 return _resultobj;
166}
167
9416aa89
RD
168static void *SwigwxEvtHandlerTowxObject(void *ptr) {
169 wxEvtHandler *src;
170 wxObject *dest;
171 src = (wxEvtHandler *) ptr;
172 dest = (wxObject *) src;
173 return (void *) dest;
174}
175
c368d904
RD
176#define new_wxEvtHandler() (new wxEvtHandler())
177static PyObject *_wrap_new_wxEvtHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
178 PyObject * _resultobj;
179 wxEvtHandler * _result;
180 char *_kwnames[] = { NULL };
181 char _ptemp[128];
182
183 self = self;
184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxEvtHandler",_kwnames))
185 return NULL;
186{
4268f798 187 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 188 _result = (wxEvtHandler *)new_wxEvtHandler();
c368d904 189
4268f798 190 wxPyEndAllowThreads(__tstate);
493f1553 191 if (PyErr_Occurred()) return NULL;
c368d904
RD
192} if (_result) {
193 SWIG_MakePtr(_ptemp, (char *) _result,"_wxEvtHandler_p");
194 _resultobj = Py_BuildValue("s",_ptemp);
195 } else {
196 Py_INCREF(Py_None);
197 _resultobj = Py_None;
198 }
199 return _resultobj;
200}
201
2f90df85
RD
202#define wxEvtHandler_ProcessEvent(_swigobj,_swigarg0) (_swigobj->ProcessEvent(_swigarg0))
203static PyObject *_wrap_wxEvtHandler_ProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
204 PyObject * _resultobj;
205 bool _result;
206 wxEvtHandler * _arg0;
207 wxEvent * _arg1;
208 PyObject * _argo0 = 0;
209 PyObject * _argo1 = 0;
210 char *_kwnames[] = { "self","event", NULL };
211
212 self = self;
213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEvtHandler_ProcessEvent",_kwnames,&_argo0,&_argo1))
214 return NULL;
215 if (_argo0) {
216 if (_argo0 == Py_None) { _arg0 = NULL; }
217 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
218 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_ProcessEvent. Expected _wxEvtHandler_p.");
219 return NULL;
220 }
221 }
222 if (_argo1) {
223 if (_argo1 == Py_None) { _arg1 = NULL; }
224 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvent_p")) {
225 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxEvtHandler_ProcessEvent. Expected _wxEvent_p.");
226 return NULL;
227 }
228 }
229{
4268f798 230 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 231 _result = (bool )wxEvtHandler_ProcessEvent(_arg0,*_arg1);
2f90df85 232
4268f798 233 wxPyEndAllowThreads(__tstate);
493f1553 234 if (PyErr_Occurred()) return NULL;
2f90df85
RD
235} _resultobj = Py_BuildValue("i",_result);
236 return _resultobj;
237}
238
f6bcfd97
BP
239#define wxEvtHandler_AddPendingEvent(_swigobj,_swigarg0) (_swigobj->AddPendingEvent(_swigarg0))
240static PyObject *_wrap_wxEvtHandler_AddPendingEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
241 PyObject * _resultobj;
242 wxEvtHandler * _arg0;
243 wxEvent * _arg1;
244 PyObject * _argo0 = 0;
245 PyObject * _argo1 = 0;
246 char *_kwnames[] = { "self","event", NULL };
247
248 self = self;
249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEvtHandler_AddPendingEvent",_kwnames,&_argo0,&_argo1))
250 return NULL;
251 if (_argo0) {
252 if (_argo0 == Py_None) { _arg0 = NULL; }
253 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
254 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_AddPendingEvent. Expected _wxEvtHandler_p.");
255 return NULL;
256 }
257 }
258 if (_argo1) {
259 if (_argo1 == Py_None) { _arg1 = NULL; }
260 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvent_p")) {
261 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxEvtHandler_AddPendingEvent. Expected _wxEvent_p.");
262 return NULL;
263 }
264 }
265{
4268f798 266 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 267 wxEvtHandler_AddPendingEvent(_arg0,*_arg1);
f6bcfd97 268
4268f798 269 wxPyEndAllowThreads(__tstate);
493f1553 270 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
271} Py_INCREF(Py_None);
272 _resultobj = Py_None;
273 return _resultobj;
274}
275
2f90df85
RD
276#define wxEvtHandler_GetEvtHandlerEnabled(_swigobj) (_swigobj->GetEvtHandlerEnabled())
277static PyObject *_wrap_wxEvtHandler_GetEvtHandlerEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
278 PyObject * _resultobj;
279 bool _result;
280 wxEvtHandler * _arg0;
281 PyObject * _argo0 = 0;
282 char *_kwnames[] = { "self", NULL };
283
284 self = self;
285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvtHandler_GetEvtHandlerEnabled",_kwnames,&_argo0))
286 return NULL;
287 if (_argo0) {
288 if (_argo0 == Py_None) { _arg0 = NULL; }
289 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
290 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_GetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
291 return NULL;
292 }
293 }
294{
4268f798 295 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 296 _result = (bool )wxEvtHandler_GetEvtHandlerEnabled(_arg0);
2f90df85 297
4268f798 298 wxPyEndAllowThreads(__tstate);
493f1553 299 if (PyErr_Occurred()) return NULL;
2f90df85
RD
300} _resultobj = Py_BuildValue("i",_result);
301 return _resultobj;
302}
303
304#define wxEvtHandler_SetEvtHandlerEnabled(_swigobj,_swigarg0) (_swigobj->SetEvtHandlerEnabled(_swigarg0))
305static PyObject *_wrap_wxEvtHandler_SetEvtHandlerEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
306 PyObject * _resultobj;
307 wxEvtHandler * _arg0;
308 bool _arg1;
309 PyObject * _argo0 = 0;
310 int tempbool1;
311 char *_kwnames[] = { "self","enabled", NULL };
312
313 self = self;
314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxEvtHandler_SetEvtHandlerEnabled",_kwnames,&_argo0,&tempbool1))
315 return NULL;
316 if (_argo0) {
317 if (_argo0 == Py_None) { _arg0 = NULL; }
318 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
319 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_SetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
320 return NULL;
321 }
322 }
323 _arg1 = (bool ) tempbool1;
324{
4268f798 325 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 326 wxEvtHandler_SetEvtHandlerEnabled(_arg0,_arg1);
2f90df85 327
4268f798 328 wxPyEndAllowThreads(__tstate);
493f1553 329 if (PyErr_Occurred()) return NULL;
2f90df85
RD
330} Py_INCREF(Py_None);
331 _resultobj = Py_None;
332 return _resultobj;
333}
334
335#define wxEvtHandler_GetNextHandler(_swigobj) (_swigobj->GetNextHandler())
336static PyObject *_wrap_wxEvtHandler_GetNextHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
337 PyObject * _resultobj;
338 wxEvtHandler * _result;
339 wxEvtHandler * _arg0;
340 PyObject * _argo0 = 0;
341 char *_kwnames[] = { "self", NULL };
2f90df85
RD
342
343 self = self;
344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvtHandler_GetNextHandler",_kwnames,&_argo0))
345 return NULL;
346 if (_argo0) {
347 if (_argo0 == Py_None) { _arg0 = NULL; }
348 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
349 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_GetNextHandler. Expected _wxEvtHandler_p.");
350 return NULL;
351 }
352 }
353{
4268f798 354 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 355 _result = (wxEvtHandler *)wxEvtHandler_GetNextHandler(_arg0);
2f90df85 356
4268f798 357 wxPyEndAllowThreads(__tstate);
493f1553 358 if (PyErr_Occurred()) return NULL;
9416aa89 359}{ _resultobj = wxPyMake_wxObject(_result); }
2f90df85
RD
360 return _resultobj;
361}
362
363#define wxEvtHandler_GetPreviousHandler(_swigobj) (_swigobj->GetPreviousHandler())
364static PyObject *_wrap_wxEvtHandler_GetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
365 PyObject * _resultobj;
366 wxEvtHandler * _result;
367 wxEvtHandler * _arg0;
368 PyObject * _argo0 = 0;
369 char *_kwnames[] = { "self", NULL };
2f90df85
RD
370
371 self = self;
372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvtHandler_GetPreviousHandler",_kwnames,&_argo0))
373 return NULL;
374 if (_argo0) {
375 if (_argo0 == Py_None) { _arg0 = NULL; }
376 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
377 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_GetPreviousHandler. Expected _wxEvtHandler_p.");
378 return NULL;
379 }
380 }
381{
4268f798 382 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 383 _result = (wxEvtHandler *)wxEvtHandler_GetPreviousHandler(_arg0);
2f90df85 384
4268f798 385 wxPyEndAllowThreads(__tstate);
493f1553 386 if (PyErr_Occurred()) return NULL;
9416aa89 387}{ _resultobj = wxPyMake_wxObject(_result); }
2f90df85
RD
388 return _resultobj;
389}
390
391#define wxEvtHandler_SetNextHandler(_swigobj,_swigarg0) (_swigobj->SetNextHandler(_swigarg0))
392static PyObject *_wrap_wxEvtHandler_SetNextHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
393 PyObject * _resultobj;
394 wxEvtHandler * _arg0;
395 wxEvtHandler * _arg1;
396 PyObject * _argo0 = 0;
397 PyObject * _argo1 = 0;
398 char *_kwnames[] = { "self","handler", NULL };
399
400 self = self;
401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEvtHandler_SetNextHandler",_kwnames,&_argo0,&_argo1))
402 return NULL;
403 if (_argo0) {
404 if (_argo0 == Py_None) { _arg0 = NULL; }
405 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
406 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
407 return NULL;
408 }
409 }
410 if (_argo1) {
411 if (_argo1 == Py_None) { _arg1 = NULL; }
412 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
413 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
414 return NULL;
415 }
416 }
417{
4268f798 418 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 419 wxEvtHandler_SetNextHandler(_arg0,_arg1);
2f90df85 420
4268f798 421 wxPyEndAllowThreads(__tstate);
493f1553 422 if (PyErr_Occurred()) return NULL;
2f90df85
RD
423} Py_INCREF(Py_None);
424 _resultobj = Py_None;
425 return _resultobj;
426}
427
428#define wxEvtHandler_SetPreviousHandler(_swigobj,_swigarg0) (_swigobj->SetPreviousHandler(_swigarg0))
429static PyObject *_wrap_wxEvtHandler_SetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
430 PyObject * _resultobj;
431 wxEvtHandler * _arg0;
432 wxEvtHandler * _arg1;
433 PyObject * _argo0 = 0;
434 PyObject * _argo1 = 0;
435 char *_kwnames[] = { "self","handler", NULL };
436
437 self = self;
438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEvtHandler_SetPreviousHandler",_kwnames,&_argo0,&_argo1))
439 return NULL;
440 if (_argo0) {
441 if (_argo0 == Py_None) { _arg0 = NULL; }
442 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
443 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
444 return NULL;
445 }
446 }
447 if (_argo1) {
448 if (_argo1 == Py_None) { _arg1 = NULL; }
449 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
450 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
451 return NULL;
452 }
453 }
454{
4268f798 455 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 456 wxEvtHandler_SetPreviousHandler(_arg0,_arg1);
2f90df85 457
4268f798 458 wxPyEndAllowThreads(__tstate);
493f1553 459 if (PyErr_Occurred()) return NULL;
2f90df85
RD
460} Py_INCREF(Py_None);
461 _resultobj = Py_None;
462 return _resultobj;
463}
464
465static void wxEvtHandler_Connect(wxEvtHandler *self,int id,int lastId,int eventType,PyObject * func) {
466 if (PyCallable_Check(func)) {
467 self->Connect(id, lastId, eventType,
468 (wxObjectEventFunction) &wxPyCallback::EventThunker,
469 new wxPyCallback(func));
470 }
25b00b4e
RD
471 else if (func == Py_None) {
472 self->Disconnect(id, lastId, eventType,
473 (wxObjectEventFunction)
474 &wxPyCallback::EventThunker);
475 }
476 else {
477 PyErr_SetString(PyExc_TypeError, "Expected callable object or None.");
478 }
2f90df85
RD
479 }
480static PyObject *_wrap_wxEvtHandler_Connect(PyObject *self, PyObject *args, PyObject *kwargs) {
481 PyObject * _resultobj;
482 wxEvtHandler * _arg0;
483 int _arg1;
484 int _arg2;
485 int _arg3;
486 PyObject * _arg4;
487 PyObject * _argo0 = 0;
488 PyObject * _obj4 = 0;
489 char *_kwnames[] = { "self","id","lastId","eventType","func", NULL };
490
491 self = self;
492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiiO:wxEvtHandler_Connect",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_obj4))
493 return NULL;
494 if (_argo0) {
495 if (_argo0 == Py_None) { _arg0 = NULL; }
496 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
497 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
498 return NULL;
499 }
500 }
501{
502 _arg4 = _obj4;
503}
504{
4268f798 505 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 506 wxEvtHandler_Connect(_arg0,_arg1,_arg2,_arg3,_arg4);
2f90df85 507
4268f798 508 wxPyEndAllowThreads(__tstate);
493f1553 509 if (PyErr_Occurred()) return NULL;
2f90df85
RD
510} Py_INCREF(Py_None);
511 _resultobj = Py_None;
512 return _resultobj;
513}
514
6999b0d8
RD
515static bool wxEvtHandler_Disconnect(wxEvtHandler *self,int id,int lastId,wxEventType eventType) {
516 return self->Disconnect(id, lastId, eventType,
517 (wxObjectEventFunction)
518 &wxPyCallback::EventThunker);
519 }
520static PyObject *_wrap_wxEvtHandler_Disconnect(PyObject *self, PyObject *args, PyObject *kwargs) {
521 PyObject * _resultobj;
522 bool _result;
523 wxEvtHandler * _arg0;
524 int _arg1;
525 int _arg2 = (int ) -1;
526 wxEventType _arg3 = (wxEventType ) wxEVT_NULL;
527 PyObject * _argo0 = 0;
528 char *_kwnames[] = { "self","id","lastId","eventType", NULL };
529
530 self = self;
531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ii:wxEvtHandler_Disconnect",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
532 return NULL;
533 if (_argo0) {
534 if (_argo0 == Py_None) { _arg0 = NULL; }
535 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
536 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_Disconnect. Expected _wxEvtHandler_p.");
537 return NULL;
538 }
539 }
540{
4268f798 541 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 542 _result = (bool )wxEvtHandler_Disconnect(_arg0,_arg1,_arg2,_arg3);
6999b0d8 543
4268f798 544 wxPyEndAllowThreads(__tstate);
493f1553 545 if (PyErr_Occurred()) return NULL;
6999b0d8
RD
546} _resultobj = Py_BuildValue("i",_result);
547 return _resultobj;
548}
549
0122b7e3
RD
550static void wxEvtHandler__setOORInfo(wxEvtHandler *self,PyObject * _self) {
551 self->SetClientObject(new wxPyClientData(_self));
552 }
553static PyObject *_wrap_wxEvtHandler__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
554 PyObject * _resultobj;
555 wxEvtHandler * _arg0;
556 PyObject * _arg1;
557 PyObject * _argo0 = 0;
558 PyObject * _obj1 = 0;
559 char *_kwnames[] = { "self","_self", NULL };
560
561 self = self;
562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEvtHandler__setOORInfo",_kwnames,&_argo0,&_obj1))
563 return NULL;
564 if (_argo0) {
565 if (_argo0 == Py_None) { _arg0 = NULL; }
566 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
567 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler__setOORInfo. Expected _wxEvtHandler_p.");
568 return NULL;
569 }
570 }
571{
572 _arg1 = _obj1;
573}
574{
4268f798 575 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 576 wxEvtHandler__setOORInfo(_arg0,_arg1);
0122b7e3 577
4268f798 578 wxPyEndAllowThreads(__tstate);
0122b7e3
RD
579 if (PyErr_Occurred()) return NULL;
580} Py_INCREF(Py_None);
581 _resultobj = Py_None;
582 return _resultobj;
583}
584
2f90df85
RD
585static void *SwigwxValidatorTowxEvtHandler(void *ptr) {
586 wxValidator *src;
587 wxEvtHandler *dest;
588 src = (wxValidator *) ptr;
589 dest = (wxEvtHandler *) src;
590 return (void *) dest;
591}
592
9416aa89
RD
593static void *SwigwxValidatorTowxObject(void *ptr) {
594 wxValidator *src;
595 wxObject *dest;
596 src = (wxValidator *) ptr;
597 dest = (wxObject *) src;
598 return (void *) dest;
599}
600
2f90df85
RD
601#define new_wxValidator() (new wxValidator())
602static PyObject *_wrap_new_wxValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
603 PyObject * _resultobj;
604 wxValidator * _result;
605 char *_kwnames[] = { NULL };
606 char _ptemp[128];
607
608 self = self;
609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxValidator",_kwnames))
610 return NULL;
611{
4268f798 612 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 613 _result = (wxValidator *)new_wxValidator();
2f90df85 614
4268f798 615 wxPyEndAllowThreads(__tstate);
493f1553 616 if (PyErr_Occurred()) return NULL;
2f90df85
RD
617} if (_result) {
618 SWIG_MakePtr(_ptemp, (char *) _result,"_wxValidator_p");
619 _resultobj = Py_BuildValue("s",_ptemp);
620 } else {
621 Py_INCREF(Py_None);
622 _resultobj = Py_None;
623 }
624 return _resultobj;
af309447 625}
2f90df85
RD
626
627#define wxValidator_Clone(_swigobj) (_swigobj->Clone())
628static PyObject *_wrap_wxValidator_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 629 PyObject * _resultobj;
2f90df85
RD
630 wxValidator * _result;
631 wxValidator * _arg0;
632 PyObject * _argo0 = 0;
633 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
634
635 self = self;
2f90df85
RD
636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxValidator_Clone",_kwnames,&_argo0))
637 return NULL;
638 if (_argo0) {
639 if (_argo0 == Py_None) { _arg0 = NULL; }
640 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxValidator_p")) {
641 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxValidator_Clone. Expected _wxValidator_p.");
8ab979d7 642 return NULL;
2f90df85
RD
643 }
644 }
cf694132 645{
4268f798 646 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 647 _result = (wxValidator *)wxValidator_Clone(_arg0);
cf694132 648
4268f798 649 wxPyEndAllowThreads(__tstate);
493f1553 650 if (PyErr_Occurred()) return NULL;
9416aa89 651}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
652 return _resultobj;
653}
654
2f90df85
RD
655#define wxValidator_GetWindow(_swigobj) (_swigobj->GetWindow())
656static PyObject *_wrap_wxValidator_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
657 PyObject * _resultobj;
658 wxWindow * _result;
2f90df85
RD
659 wxValidator * _arg0;
660 PyObject * _argo0 = 0;
661 char *_kwnames[] = { "self", NULL };
af309447
RD
662
663 self = self;
2f90df85
RD
664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxValidator_GetWindow",_kwnames,&_argo0))
665 return NULL;
666 if (_argo0) {
667 if (_argo0 == Py_None) { _arg0 = NULL; }
668 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxValidator_p")) {
669 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxValidator_GetWindow. Expected _wxValidator_p.");
af309447 670 return NULL;
2f90df85
RD
671 }
672 }
cf694132 673{
4268f798 674 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 675 _result = (wxWindow *)wxValidator_GetWindow(_arg0);
cf694132 676
4268f798 677 wxPyEndAllowThreads(__tstate);
493f1553 678 if (PyErr_Occurred()) return NULL;
9416aa89 679}{ _resultobj = wxPyMake_wxObject(_result); }
af309447
RD
680 return _resultobj;
681}
682
2f90df85
RD
683#define wxValidator_SetWindow(_swigobj,_swigarg0) (_swigobj->SetWindow(_swigarg0))
684static PyObject *_wrap_wxValidator_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 685 PyObject * _resultobj;
2f90df85
RD
686 wxValidator * _arg0;
687 wxWindow * _arg1;
1d99702e
RD
688 PyObject * _argo0 = 0;
689 PyObject * _argo1 = 0;
2f90df85 690 char *_kwnames[] = { "self","window", NULL };
cf694132
RD
691
692 self = self;
2f90df85 693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxValidator_SetWindow",_kwnames,&_argo0,&_argo1))
cf694132 694 return NULL;
1d99702e
RD
695 if (_argo0) {
696 if (_argo0 == Py_None) { _arg0 = NULL; }
2f90df85
RD
697 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxValidator_p")) {
698 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxValidator_SetWindow. Expected _wxValidator_p.");
cf694132
RD
699 return NULL;
700 }
701 }
1d99702e
RD
702 if (_argo1) {
703 if (_argo1 == Py_None) { _arg1 = NULL; }
2f90df85
RD
704 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
705 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxValidator_SetWindow. Expected _wxWindow_p.");
cf694132
RD
706 return NULL;
707 }
708 }
709{
4268f798 710 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 711 wxValidator_SetWindow(_arg0,_arg1);
cf694132 712
4268f798 713 wxPyEndAllowThreads(__tstate);
493f1553 714 if (PyErr_Occurred()) return NULL;
2f90df85
RD
715} Py_INCREF(Py_None);
716 _resultobj = Py_None;
cf694132
RD
717 return _resultobj;
718}
719
9416aa89
RD
720static PyObject *_wrap_wxValidator_IsSilent(PyObject *self, PyObject *args, PyObject *kwargs) {
721 PyObject * _resultobj;
722 bool _result;
723 char *_kwnames[] = { NULL };
724
725 self = self;
726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxValidator_IsSilent",_kwnames))
727 return NULL;
728{
4268f798 729 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 730 _result = (bool )wxValidator::IsSilent();
9416aa89 731
4268f798 732 wxPyEndAllowThreads(__tstate);
493f1553 733 if (PyErr_Occurred()) return NULL;
9416aa89
RD
734} _resultobj = Py_BuildValue("i",_result);
735 return _resultobj;
736}
737
738static PyObject *_wrap_wxValidator_SetBellOnError(PyObject *self, PyObject *args, PyObject *kwargs) {
739 PyObject * _resultobj;
740 int _arg0 = (int ) TRUE;
741 char *_kwnames[] = { "doIt", NULL };
742
743 self = self;
744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:wxValidator_SetBellOnError",_kwnames,&_arg0))
745 return NULL;
746{
4268f798 747 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 748 wxValidator::SetBellOnError(_arg0);
9416aa89 749
4268f798 750 wxPyEndAllowThreads(__tstate);
493f1553 751 if (PyErr_Occurred()) return NULL;
9416aa89
RD
752} Py_INCREF(Py_None);
753 _resultobj = Py_None;
754 return _resultobj;
755}
756
2f90df85
RD
757static void *SwigwxPyValidatorTowxValidator(void *ptr) {
758 wxPyValidator *src;
759 wxValidator *dest;
760 src = (wxPyValidator *) ptr;
761 dest = (wxValidator *) src;
762 return (void *) dest;
763}
764
765static void *SwigwxPyValidatorTowxEvtHandler(void *ptr) {
766 wxPyValidator *src;
767 wxEvtHandler *dest;
768 src = (wxPyValidator *) ptr;
769 dest = (wxEvtHandler *) src;
770 return (void *) dest;
771}
772
9416aa89
RD
773static void *SwigwxPyValidatorTowxObject(void *ptr) {
774 wxPyValidator *src;
775 wxObject *dest;
776 src = (wxPyValidator *) ptr;
777 dest = (wxObject *) src;
778 return (void *) dest;
779}
780
2f90df85
RD
781#define new_wxPyValidator() (new wxPyValidator())
782static PyObject *_wrap_new_wxPyValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
783 PyObject * _resultobj;
784 wxPyValidator * _result;
785 char *_kwnames[] = { NULL };
786 char _ptemp[128];
787
788 self = self;
789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyValidator",_kwnames))
790 return NULL;
791{
4268f798 792 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 793 _result = (wxPyValidator *)new_wxPyValidator();
2f90df85 794
4268f798 795 wxPyEndAllowThreads(__tstate);
493f1553 796 if (PyErr_Occurred()) return NULL;
2f90df85
RD
797} if (_result) {
798 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyValidator_p");
799 _resultobj = Py_BuildValue("s",_ptemp);
800 } else {
801 Py_INCREF(Py_None);
802 _resultobj = Py_None;
803 }
804 return _resultobj;
805}
806
0122b7e3
RD
807#define wxPyValidator__setCallbackInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1,_swigarg2))
808static PyObject *_wrap_wxPyValidator__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 809 PyObject * _resultobj;
2f90df85
RD
810 wxPyValidator * _arg0;
811 PyObject * _arg1;
f6bcfd97
BP
812 PyObject * _arg2;
813 int _arg3 = (int ) TRUE;
1d99702e 814 PyObject * _argo0 = 0;
2f90df85 815 PyObject * _obj1 = 0;
f6bcfd97
BP
816 PyObject * _obj2 = 0;
817 char *_kwnames[] = { "self","self","_class","incref", NULL };
8ab979d7
RD
818
819 self = self;
0122b7e3 820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|i:wxPyValidator__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2,&_arg3))
8ab979d7 821 return NULL;
1d99702e
RD
822 if (_argo0) {
823 if (_argo0 == Py_None) { _arg0 = NULL; }
2f90df85 824 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyValidator_p")) {
0122b7e3 825 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyValidator__setCallbackInfo. Expected _wxPyValidator_p.");
8ab979d7
RD
826 return NULL;
827 }
828 }
829{
2f90df85 830 _arg1 = _obj1;
8ab979d7 831}
f6bcfd97
BP
832{
833 _arg2 = _obj2;
834}
cf694132 835{
4268f798 836 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 837 wxPyValidator__setCallbackInfo(_arg0,_arg1,_arg2,_arg3);
cf694132 838
4268f798 839 wxPyEndAllowThreads(__tstate);
493f1553 840 if (PyErr_Occurred()) return NULL;
cf694132 841} Py_INCREF(Py_None);
8ab979d7
RD
842 _resultobj = Py_None;
843 return _resultobj;
844}
845
846static void *SwigwxWindowTowxEvtHandler(void *ptr) {
847 wxWindow *src;
848 wxEvtHandler *dest;
849 src = (wxWindow *) ptr;
850 dest = (wxEvtHandler *) src;
851 return (void *) dest;
852}
853
9416aa89
RD
854static void *SwigwxWindowTowxObject(void *ptr) {
855 wxWindow *src;
856 wxObject *dest;
857 src = (wxWindow *) ptr;
858 dest = (wxObject *) src;
859 return (void *) dest;
860}
861
8ab979d7 862#define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
efc5f224 863static PyObject *_wrap_new_wxWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
864 PyObject * _resultobj;
865 wxWindow * _result;
866 wxWindow * _arg0;
867 wxWindowID _arg1;
e508a2b6
RD
868 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
869 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
1d99702e 870 long _arg4 = (long ) 0;
137b5242 871 wxString * _arg5 = (wxString *) &wxPyPanelNameStr;
1d99702e 872 PyObject * _argo0 = 0;
2f90df85
RD
873 wxPoint temp;
874 PyObject * _obj2 = 0;
875 wxSize temp0;
876 PyObject * _obj3 = 0;
137b5242 877 PyObject * _obj5 = 0;
efc5f224 878 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
8ab979d7
RD
879 char _ptemp[128];
880
881 self = self;
137b5242 882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
8ab979d7 883 return NULL;
1d99702e
RD
884 if (_argo0) {
885 if (_argo0 == Py_None) { _arg0 = NULL; }
886 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
887 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
888 return NULL;
889 }
890 }
2f90df85
RD
891 if (_obj2)
892{
893 _arg2 = &temp;
894 if (! wxPoint_helper(_obj2, &_arg2))
8ab979d7 895 return NULL;
2f90df85
RD
896}
897 if (_obj3)
898{
899 _arg3 = &temp0;
900 if (! wxSize_helper(_obj3, &_arg3))
8ab979d7 901 return NULL;
137b5242
RD
902}
903 if (_obj5)
904{
905 _arg5 = wxString_in_helper(_obj5);
906 if (_arg5 == NULL)
907 return NULL;
2f90df85 908}
cf694132 909{
4268f798 910 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 911 _result = (wxWindow *)new_wxWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
cf694132 912
4268f798 913 wxPyEndAllowThreads(__tstate);
493f1553 914 if (PyErr_Occurred()) return NULL;
1d99702e
RD
915} if (_result) {
916 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
917 _resultobj = Py_BuildValue("s",_ptemp);
918 } else {
919 Py_INCREF(Py_None);
920 _resultobj = Py_None;
921 }
137b5242
RD
922{
923 if (_obj5)
924 delete _arg5;
925}
8ab979d7
RD
926 return _resultobj;
927}
928
09f3d4e6
RD
929#define new_wxPreWindow() (new wxWindow())
930static PyObject *_wrap_new_wxPreWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
931 PyObject * _resultobj;
932 wxWindow * _result;
933 char *_kwnames[] = { NULL };
934 char _ptemp[128];
935
936 self = self;
937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreWindow",_kwnames))
938 return NULL;
939{
4268f798 940 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 941 _result = (wxWindow *)new_wxPreWindow();
09f3d4e6 942
4268f798 943 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
944 if (PyErr_Occurred()) return NULL;
945} if (_result) {
946 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
947 _resultobj = Py_BuildValue("s",_ptemp);
948 } else {
949 Py_INCREF(Py_None);
950 _resultobj = Py_None;
951 }
952 return _resultobj;
953}
954
955#define wxWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
956static PyObject *_wrap_wxWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
957 PyObject * _resultobj;
958 bool _result;
959 wxWindow * _arg0;
960 wxWindow * _arg1;
961 wxWindowID _arg2;
962 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
963 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
964 long _arg5 = (long ) 0;
137b5242 965 wxString * _arg6 = (wxString *) &wxPyPanelNameStr;
09f3d4e6
RD
966 PyObject * _argo0 = 0;
967 PyObject * _argo1 = 0;
968 wxPoint temp;
969 PyObject * _obj3 = 0;
970 wxSize temp0;
971 PyObject * _obj4 = 0;
137b5242 972 PyObject * _obj6 = 0;
09f3d4e6
RD
973 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
974
975 self = self;
137b5242 976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOlO:wxWindow_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
09f3d4e6
RD
977 return NULL;
978 if (_argo0) {
979 if (_argo0 == Py_None) { _arg0 = NULL; }
980 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
981 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Create. Expected _wxWindow_p.");
982 return NULL;
983 }
984 }
985 if (_argo1) {
986 if (_argo1 == Py_None) { _arg1 = NULL; }
987 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
988 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_Create. Expected _wxWindow_p.");
989 return NULL;
990 }
991 }
992 if (_obj3)
993{
994 _arg3 = &temp;
995 if (! wxPoint_helper(_obj3, &_arg3))
996 return NULL;
997}
998 if (_obj4)
999{
1000 _arg4 = &temp0;
1001 if (! wxSize_helper(_obj4, &_arg4))
1002 return NULL;
137b5242
RD
1003}
1004 if (_obj6)
1005{
1006 _arg6 = wxString_in_helper(_obj6);
1007 if (_arg6 == NULL)
1008 return NULL;
09f3d4e6
RD
1009}
1010{
4268f798 1011 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 1012 _result = (bool )wxWindow_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
09f3d4e6 1013
4268f798 1014 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
1015 if (PyErr_Occurred()) return NULL;
1016} _resultobj = Py_BuildValue("i",_result);
137b5242
RD
1017{
1018 if (_obj6)
1019 delete _arg6;
1020}
09f3d4e6
RD
1021 return _resultobj;
1022}
1023
8ab979d7 1024#define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
efc5f224 1025static PyObject *_wrap_wxWindow_CaptureMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1026 PyObject * _resultobj;
1027 wxWindow * _arg0;
1d99702e 1028 PyObject * _argo0 = 0;
efc5f224 1029 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1030
1031 self = self;
efc5f224 1032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_CaptureMouse",_kwnames,&_argo0))
8ab979d7 1033 return NULL;
1d99702e
RD
1034 if (_argo0) {
1035 if (_argo0 == Py_None) { _arg0 = NULL; }
1036 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1037 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
1038 return NULL;
1039 }
1040 }
cf694132 1041{
4268f798 1042 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1043 wxWindow_CaptureMouse(_arg0);
cf694132 1044
4268f798 1045 wxPyEndAllowThreads(__tstate);
493f1553 1046 if (PyErr_Occurred()) return NULL;
cf694132 1047} Py_INCREF(Py_None);
8ab979d7
RD
1048 _resultobj = Py_None;
1049 return _resultobj;
1050}
1051
1052#define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
efc5f224 1053static PyObject *_wrap_wxWindow_Center(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1054 PyObject * _resultobj;
1055 wxWindow * _arg0;
1d99702e
RD
1056 int _arg1 = (int ) wxBOTH;
1057 PyObject * _argo0 = 0;
efc5f224 1058 char *_kwnames[] = { "self","direction", NULL };
8ab979d7
RD
1059
1060 self = self;
efc5f224 1061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_Center",_kwnames,&_argo0,&_arg1))
8ab979d7 1062 return NULL;
1d99702e
RD
1063 if (_argo0) {
1064 if (_argo0 == Py_None) { _arg0 = NULL; }
1065 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1066 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
1067 return NULL;
1068 }
1069 }
cf694132 1070{
4268f798 1071 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1072 wxWindow_Center(_arg0,_arg1);
cf694132 1073
4268f798 1074 wxPyEndAllowThreads(__tstate);
493f1553 1075 if (PyErr_Occurred()) return NULL;
cf694132 1076} Py_INCREF(Py_None);
8ab979d7
RD
1077 _resultobj = Py_None;
1078 return _resultobj;
1079}
1080
1081#define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
efc5f224 1082static PyObject *_wrap_wxWindow_Centre(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1083 PyObject * _resultobj;
1084 wxWindow * _arg0;
1d99702e
RD
1085 int _arg1 = (int ) wxBOTH;
1086 PyObject * _argo0 = 0;
efc5f224 1087 char *_kwnames[] = { "self","direction", NULL };
8ab979d7
RD
1088
1089 self = self;
efc5f224 1090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_Centre",_kwnames,&_argo0,&_arg1))
8ab979d7 1091 return NULL;
1d99702e
RD
1092 if (_argo0) {
1093 if (_argo0 == Py_None) { _arg0 = NULL; }
1094 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1095 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
1096 return NULL;
1097 }
1098 }
cf694132 1099{
4268f798 1100 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1101 wxWindow_Centre(_arg0,_arg1);
cf694132 1102
4268f798 1103 wxPyEndAllowThreads(__tstate);
493f1553 1104 if (PyErr_Occurred()) return NULL;
cf694132 1105} Py_INCREF(Py_None);
8ab979d7
RD
1106 _resultobj = Py_None;
1107 return _resultobj;
1108}
1109
bb0054cd 1110#define wxWindow_CentreOnParent(_swigobj,_swigarg0) (_swigobj->CentreOnParent(_swigarg0))
efc5f224 1111static PyObject *_wrap_wxWindow_CentreOnParent(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
1112 PyObject * _resultobj;
1113 wxWindow * _arg0;
1d99702e
RD
1114 int _arg1 = (int ) wxBOTH;
1115 PyObject * _argo0 = 0;
efc5f224 1116 char *_kwnames[] = { "self","direction", NULL };
bb0054cd
RD
1117
1118 self = self;
efc5f224 1119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_CentreOnParent",_kwnames,&_argo0,&_arg1))
bb0054cd 1120 return NULL;
1d99702e
RD
1121 if (_argo0) {
1122 if (_argo0 == Py_None) { _arg0 = NULL; }
1123 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
bb0054cd
RD
1124 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_CentreOnParent. Expected _wxWindow_p.");
1125 return NULL;
1126 }
1127 }
1128{
4268f798 1129 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1130 wxWindow_CentreOnParent(_arg0,_arg1);
bb0054cd 1131
4268f798 1132 wxPyEndAllowThreads(__tstate);
493f1553 1133 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
1134} Py_INCREF(Py_None);
1135 _resultobj = Py_None;
1136 return _resultobj;
1137}
1138
1139#define wxWindow_CenterOnParent(_swigobj,_swigarg0) (_swigobj->CenterOnParent(_swigarg0))
efc5f224 1140static PyObject *_wrap_wxWindow_CenterOnParent(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
1141 PyObject * _resultobj;
1142 wxWindow * _arg0;
1d99702e
RD
1143 int _arg1 = (int ) wxBOTH;
1144 PyObject * _argo0 = 0;
efc5f224 1145 char *_kwnames[] = { "self","direction", NULL };
bb0054cd
RD
1146
1147 self = self;
efc5f224 1148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_CenterOnParent",_kwnames,&_argo0,&_arg1))
bb0054cd 1149 return NULL;
1d99702e
RD
1150 if (_argo0) {
1151 if (_argo0 == Py_None) { _arg0 = NULL; }
1152 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
bb0054cd
RD
1153 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_CenterOnParent. Expected _wxWindow_p.");
1154 return NULL;
1155 }
1156 }
1157{
4268f798 1158 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1159 wxWindow_CenterOnParent(_arg0,_arg1);
bb0054cd 1160
4268f798 1161 wxPyEndAllowThreads(__tstate);
493f1553 1162 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
1163} Py_INCREF(Py_None);
1164 _resultobj = Py_None;
1165 return _resultobj;
1166}
1167
3ca6a5f0
BP
1168#define wxWindow_CentreOnScreen(_swigobj,_swigarg0) (_swigobj->CentreOnScreen(_swigarg0))
1169static PyObject *_wrap_wxWindow_CentreOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
1170 PyObject * _resultobj;
1171 wxWindow * _arg0;
1172 int _arg1 = (int ) wxBOTH;
1173 PyObject * _argo0 = 0;
1174 char *_kwnames[] = { "self","direction", NULL };
1175
1176 self = self;
1177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_CentreOnScreen",_kwnames,&_argo0,&_arg1))
1178 return NULL;
1179 if (_argo0) {
1180 if (_argo0 == Py_None) { _arg0 = NULL; }
1181 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1182 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_CentreOnScreen. Expected _wxWindow_p.");
1183 return NULL;
1184 }
1185 }
1186{
4268f798 1187 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1188 wxWindow_CentreOnScreen(_arg0,_arg1);
3ca6a5f0 1189
4268f798 1190 wxPyEndAllowThreads(__tstate);
493f1553 1191 if (PyErr_Occurred()) return NULL;
3ca6a5f0
BP
1192} Py_INCREF(Py_None);
1193 _resultobj = Py_None;
1194 return _resultobj;
1195}
1196
1197#define wxWindow_CenterOnScreen(_swigobj,_swigarg0) (_swigobj->CenterOnScreen(_swigarg0))
1198static PyObject *_wrap_wxWindow_CenterOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
1199 PyObject * _resultobj;
1200 wxWindow * _arg0;
1201 int _arg1 = (int ) wxBOTH;
1202 PyObject * _argo0 = 0;
1203 char *_kwnames[] = { "self","direction", NULL };
1204
1205 self = self;
1206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_CenterOnScreen",_kwnames,&_argo0,&_arg1))
1207 return NULL;
1208 if (_argo0) {
1209 if (_argo0 == Py_None) { _arg0 = NULL; }
1210 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1211 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_CenterOnScreen. Expected _wxWindow_p.");
1212 return NULL;
1213 }
1214 }
1215{
4268f798 1216 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1217 wxWindow_CenterOnScreen(_arg0,_arg1);
3ca6a5f0 1218
4268f798 1219 wxPyEndAllowThreads(__tstate);
493f1553 1220 if (PyErr_Occurred()) return NULL;
3ca6a5f0
BP
1221} Py_INCREF(Py_None);
1222 _resultobj = Py_None;
1223 return _resultobj;
1224}
1225
d56cebe7
RD
1226#define wxWindow_Clear(_swigobj) (_swigobj->Clear())
1227static PyObject *_wrap_wxWindow_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
1228 PyObject * _resultobj;
1229 wxWindow * _arg0;
1230 PyObject * _argo0 = 0;
1231 char *_kwnames[] = { "self", NULL };
1232
1233 self = self;
1234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Clear",_kwnames,&_argo0))
1235 return NULL;
1236 if (_argo0) {
1237 if (_argo0 == Py_None) { _arg0 = NULL; }
1238 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1239 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Clear. Expected _wxWindow_p.");
1240 return NULL;
1241 }
1242 }
1243{
4268f798 1244 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1245 wxWindow_Clear(_arg0);
d56cebe7 1246
4268f798 1247 wxPyEndAllowThreads(__tstate);
d56cebe7
RD
1248 if (PyErr_Occurred()) return NULL;
1249} Py_INCREF(Py_None);
1250 _resultobj = Py_None;
1251 return _resultobj;
1252}
1253
af309447 1254#define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
efc5f224 1255static PyObject *_wrap_wxWindow_ClientToScreenXY(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1256 PyObject * _resultobj;
1257 wxWindow * _arg0;
1258 int * _arg1;
1259 int * _arg2;
1d99702e 1260 PyObject * _argo0 = 0;
8ab979d7
RD
1261 int temp;
1262 PyObject * _obj1 = 0;
1263 int temp0;
1264 PyObject * _obj2 = 0;
efc5f224 1265 char *_kwnames[] = { "self","x","y", NULL };
8ab979d7
RD
1266
1267 self = self;
efc5f224 1268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxWindow_ClientToScreenXY",_kwnames,&_argo0,&_obj1,&_obj2))
8ab979d7 1269 return NULL;
1d99702e
RD
1270 if (_argo0) {
1271 if (_argo0 == Py_None) { _arg0 = NULL; }
1272 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
af309447 1273 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
8ab979d7
RD
1274 return NULL;
1275 }
1276 }
1277{
1278 temp = (int) PyInt_AsLong(_obj1);
1279 _arg1 = &temp;
1280}
1281{
1282 temp0 = (int) PyInt_AsLong(_obj2);
1283 _arg2 = &temp0;
1284}
cf694132 1285{
4268f798 1286 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1287 wxWindow_ClientToScreenXY(_arg0,_arg1,_arg2);
cf694132 1288
4268f798 1289 wxPyEndAllowThreads(__tstate);
493f1553 1290 if (PyErr_Occurred()) return NULL;
cf694132 1291} Py_INCREF(Py_None);
8ab979d7
RD
1292 _resultobj = Py_None;
1293{
1294 PyObject *o;
1295 o = PyInt_FromLong((long) (*_arg1));
1296 _resultobj = t_output_helper(_resultobj, o);
1297}
1298{
1299 PyObject *o;
1300 o = PyInt_FromLong((long) (*_arg2));
1301 _resultobj = t_output_helper(_resultobj, o);
1302}
1303 return _resultobj;
1304}
1305
af309447 1306#define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
efc5f224 1307static PyObject *_wrap_wxWindow_ClientToScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
1308 PyObject * _resultobj;
1309 wxPoint * _result;
1310 wxWindow * _arg0;
1311 wxPoint * _arg1;
1d99702e 1312 PyObject * _argo0 = 0;
2f90df85
RD
1313 wxPoint temp;
1314 PyObject * _obj1 = 0;
efc5f224 1315 char *_kwnames[] = { "self","pt", NULL };
af309447
RD
1316 char _ptemp[128];
1317
1318 self = self;
2f90df85 1319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ClientToScreen",_kwnames,&_argo0,&_obj1))
af309447 1320 return NULL;
1d99702e
RD
1321 if (_argo0) {
1322 if (_argo0 == Py_None) { _arg0 = NULL; }
1323 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
af309447
RD
1324 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
1325 return NULL;
1326 }
1327 }
2f90df85
RD
1328{
1329 _arg1 = &temp;
1330 if (! wxPoint_helper(_obj1, &_arg1))
af309447 1331 return NULL;
2f90df85 1332}
cf694132 1333{
4268f798 1334 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1335 _result = new wxPoint (wxWindow_ClientToScreen(_arg0,*_arg1));
cf694132 1336
4268f798 1337 wxPyEndAllowThreads(__tstate);
493f1553 1338 if (PyErr_Occurred()) return NULL;
cf694132 1339} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
af309447
RD
1340 _resultobj = Py_BuildValue("s",_ptemp);
1341 return _resultobj;
1342}
1343
8ab979d7 1344#define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
efc5f224 1345static PyObject *_wrap_wxWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1346 PyObject * _resultobj;
1347 bool _result;
1348 wxWindow * _arg0;
1d99702e
RD
1349 int _arg1 = (int ) FALSE;
1350 PyObject * _argo0 = 0;
efc5f224 1351 char *_kwnames[] = { "self","force", NULL };
8ab979d7
RD
1352
1353 self = self;
efc5f224 1354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_Close",_kwnames,&_argo0,&_arg1))
8ab979d7 1355 return NULL;
1d99702e
RD
1356 if (_argo0) {
1357 if (_argo0 == Py_None) { _arg0 = NULL; }
1358 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1359 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
1360 return NULL;
1361 }
1362 }
cf694132 1363{
4268f798 1364 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1365 _result = (bool )wxWindow_Close(_arg0,_arg1);
cf694132 1366
4268f798 1367 wxPyEndAllowThreads(__tstate);
493f1553 1368 if (PyErr_Occurred()) return NULL;
cf694132 1369} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1370 return _resultobj;
1371}
1372
1373#define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
efc5f224 1374static PyObject *_wrap_wxWindow_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1375 PyObject * _resultobj;
1376 bool _result;
1377 wxWindow * _arg0;
1d99702e 1378 PyObject * _argo0 = 0;
efc5f224 1379 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1380
1381 self = self;
efc5f224 1382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Destroy",_kwnames,&_argo0))
8ab979d7 1383 return NULL;
1d99702e
RD
1384 if (_argo0) {
1385 if (_argo0 == Py_None) { _arg0 = NULL; }
1386 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1387 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
1388 return NULL;
1389 }
1390 }
cf694132 1391{
4268f798 1392 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1393 _result = (bool )wxWindow_Destroy(_arg0);
cf694132 1394
4268f798 1395 wxPyEndAllowThreads(__tstate);
493f1553 1396 if (PyErr_Occurred()) return NULL;
cf694132 1397} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1398 return _resultobj;
1399}
1400
1401#define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
efc5f224 1402static PyObject *_wrap_wxWindow_DestroyChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1403 PyObject * _resultobj;
1404 wxWindow * _arg0;
1d99702e 1405 PyObject * _argo0 = 0;
efc5f224 1406 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1407
1408 self = self;
efc5f224 1409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_DestroyChildren",_kwnames,&_argo0))
8ab979d7 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")) {
8ab979d7
RD
1414 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
1415 return NULL;
1416 }
1417 }
cf694132 1418{
4268f798 1419 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1420 wxWindow_DestroyChildren(_arg0);
cf694132 1421
4268f798 1422 wxPyEndAllowThreads(__tstate);
493f1553 1423 if (PyErr_Occurred()) return NULL;
cf694132 1424} Py_INCREF(Py_None);
8ab979d7
RD
1425 _resultobj = Py_None;
1426 return _resultobj;
1427}
1428
ac346f50
RD
1429#define wxWindow_IsBeingDeleted(_swigobj) (_swigobj->IsBeingDeleted())
1430static PyObject *_wrap_wxWindow_IsBeingDeleted(PyObject *self, PyObject *args, PyObject *kwargs) {
1431 PyObject * _resultobj;
1432 bool _result;
1433 wxWindow * _arg0;
1434 PyObject * _argo0 = 0;
1435 char *_kwnames[] = { "self", NULL };
1436
1437 self = self;
1438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_IsBeingDeleted",_kwnames,&_argo0))
1439 return NULL;
1440 if (_argo0) {
1441 if (_argo0 == Py_None) { _arg0 = NULL; }
1442 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1443 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsBeingDeleted. Expected _wxWindow_p.");
1444 return NULL;
1445 }
1446 }
1447{
4268f798 1448 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1449 _result = (bool )wxWindow_IsBeingDeleted(_arg0);
ac346f50 1450
4268f798 1451 wxPyEndAllowThreads(__tstate);
ac346f50
RD
1452 if (PyErr_Occurred()) return NULL;
1453} _resultobj = Py_BuildValue("i",_result);
1454 return _resultobj;
1455}
1456
8ab979d7 1457#define wxWindow_DragAcceptFiles(_swigobj,_swigarg0) (_swigobj->DragAcceptFiles(_swigarg0))
efc5f224 1458static PyObject *_wrap_wxWindow_DragAcceptFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1459 PyObject * _resultobj;
1460 wxWindow * _arg0;
1461 bool _arg1;
1d99702e 1462 PyObject * _argo0 = 0;
8ab979d7 1463 int tempbool1;
efc5f224 1464 char *_kwnames[] = { "self","accept", NULL };
8ab979d7
RD
1465
1466 self = self;
efc5f224 1467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_DragAcceptFiles",_kwnames,&_argo0,&tempbool1))
8ab979d7 1468 return NULL;
1d99702e
RD
1469 if (_argo0) {
1470 if (_argo0 == Py_None) { _arg0 = NULL; }
1471 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1472 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_DragAcceptFiles. Expected _wxWindow_p.");
1473 return NULL;
1474 }
1475 }
1476 _arg1 = (bool ) tempbool1;
cf694132 1477{
4268f798 1478 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1479 wxWindow_DragAcceptFiles(_arg0,_arg1);
cf694132 1480
4268f798 1481 wxPyEndAllowThreads(__tstate);
493f1553 1482 if (PyErr_Occurred()) return NULL;
cf694132 1483} Py_INCREF(Py_None);
8ab979d7
RD
1484 _resultobj = Py_None;
1485 return _resultobj;
1486}
1487
1488#define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
efc5f224 1489static PyObject *_wrap_wxWindow_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1490 PyObject * _resultobj;
1491 wxWindow * _arg0;
1492 bool _arg1;
1d99702e 1493 PyObject * _argo0 = 0;
8ab979d7 1494 int tempbool1;
efc5f224 1495 char *_kwnames[] = { "self","enable", NULL };
8ab979d7
RD
1496
1497 self = self;
efc5f224 1498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_Enable",_kwnames,&_argo0,&tempbool1))
8ab979d7 1499 return NULL;
1d99702e
RD
1500 if (_argo0) {
1501 if (_argo0 == Py_None) { _arg0 = NULL; }
1502 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1503 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
1504 return NULL;
1505 }
1506 }
1507 _arg1 = (bool ) tempbool1;
cf694132 1508{
4268f798 1509 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1510 wxWindow_Enable(_arg0,_arg1);
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
af309447 1519#define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
efc5f224 1520static PyObject *_wrap_wxWindow_FindWindowById(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1521 PyObject * _resultobj;
1522 wxWindow * _result;
1523 wxWindow * _arg0;
1524 long _arg1;
1d99702e 1525 PyObject * _argo0 = 0;
efc5f224 1526 char *_kwnames[] = { "self","id", NULL };
8ab979d7
RD
1527
1528 self = self;
efc5f224 1529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxWindow_FindWindowById",_kwnames,&_argo0,&_arg1))
8ab979d7 1530 return NULL;
1d99702e
RD
1531 if (_argo0) {
1532 if (_argo0 == Py_None) { _arg0 = NULL; }
1533 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
af309447 1534 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
8ab979d7
RD
1535 return NULL;
1536 }
1537 }
cf694132 1538{
4268f798 1539 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1540 _result = (wxWindow *)wxWindow_FindWindowById(_arg0,_arg1);
cf694132 1541
4268f798 1542 wxPyEndAllowThreads(__tstate);
493f1553 1543 if (PyErr_Occurred()) return NULL;
9416aa89 1544}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
1545 return _resultobj;
1546}
1547
1548#define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
efc5f224 1549static PyObject *_wrap_wxWindow_FindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1550 PyObject * _resultobj;
1551 wxWindow * _result;
1552 wxWindow * _arg0;
1553 wxString * _arg1;
1d99702e 1554 PyObject * _argo0 = 0;
8ab979d7 1555 PyObject * _obj1 = 0;
efc5f224 1556 char *_kwnames[] = { "self","name", NULL };
8ab979d7
RD
1557
1558 self = self;
efc5f224 1559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_FindWindowByName",_kwnames,&_argo0,&_obj1))
8ab979d7 1560 return NULL;
1d99702e
RD
1561 if (_argo0) {
1562 if (_argo0 == Py_None) { _arg0 = NULL; }
1563 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1564 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
1565 return NULL;
1566 }
1567 }
1568{
c8bc7bb8
RD
1569 _arg1 = wxString_in_helper(_obj1);
1570 if (_arg1 == NULL)
8ab979d7 1571 return NULL;
8ab979d7 1572}
cf694132 1573{
4268f798 1574 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1575 _result = (wxWindow *)wxWindow_FindWindowByName(_arg0,*_arg1);
cf694132 1576
4268f798 1577 wxPyEndAllowThreads(__tstate);
493f1553 1578 if (PyErr_Occurred()) return NULL;
9416aa89 1579}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
1580{
1581 if (_obj1)
1582 delete _arg1;
1583}
1584 return _resultobj;
1585}
1586
1587#define wxWindow_Fit(_swigobj) (_swigobj->Fit())
efc5f224 1588static PyObject *_wrap_wxWindow_Fit(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1589 PyObject * _resultobj;
1590 wxWindow * _arg0;
1d99702e 1591 PyObject * _argo0 = 0;
efc5f224 1592 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1593
1594 self = self;
efc5f224 1595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Fit",_kwnames,&_argo0))
8ab979d7 1596 return NULL;
1d99702e
RD
1597 if (_argo0) {
1598 if (_argo0 == Py_None) { _arg0 = NULL; }
1599 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1600 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
1601 return NULL;
1602 }
1603 }
cf694132 1604{
4268f798 1605 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1606 wxWindow_Fit(_arg0);
cf694132 1607
4268f798 1608 wxPyEndAllowThreads(__tstate);
493f1553 1609 if (PyErr_Occurred()) return NULL;
cf694132 1610} Py_INCREF(Py_None);
8ab979d7
RD
1611 _resultobj = Py_None;
1612 return _resultobj;
1613}
1614
1615#define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
efc5f224 1616static PyObject *_wrap_wxWindow_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1617 PyObject * _resultobj;
1618 wxColour * _result;
1619 wxWindow * _arg0;
1d99702e 1620 PyObject * _argo0 = 0;
efc5f224 1621 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1622 char _ptemp[128];
1623
1624 self = self;
efc5f224 1625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetBackgroundColour",_kwnames,&_argo0))
8ab979d7 1626 return NULL;
1d99702e
RD
1627 if (_argo0) {
1628 if (_argo0 == Py_None) { _arg0 = NULL; }
1629 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1630 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
1631 return NULL;
1632 }
1633 }
cf694132 1634{
4268f798 1635 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1636 _result = new wxColour (wxWindow_GetBackgroundColour(_arg0));
cf694132 1637
4268f798 1638 wxPyEndAllowThreads(__tstate);
493f1553 1639 if (PyErr_Occurred()) return NULL;
cf694132 1640} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8ab979d7
RD
1641 _resultobj = Py_BuildValue("s",_ptemp);
1642 return _resultobj;
1643}
1644
23bed520
RD
1645#define wxWindow_GetBorder(_swigobj) (_swigobj->GetBorder())
1646static PyObject *_wrap_wxWindow_GetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
1647 PyObject * _resultobj;
1648 wxBorder _result;
1649 wxWindow * _arg0;
1650 PyObject * _argo0 = 0;
1651 char *_kwnames[] = { "self", NULL };
1652
1653 self = self;
1654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetBorder",_kwnames,&_argo0))
1655 return NULL;
1656 if (_argo0) {
1657 if (_argo0 == Py_None) { _arg0 = NULL; }
1658 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1659 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetBorder. Expected _wxWindow_p.");
1660 return NULL;
1661 }
1662 }
1663{
1664 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1665 _result = (wxBorder )wxWindow_GetBorder(_arg0);
23bed520
RD
1666
1667 wxPyEndAllowThreads(__tstate);
1668 if (PyErr_Occurred()) return NULL;
1669} _resultobj = Py_BuildValue("i",_result);
1670 return _resultobj;
1671}
1672
d426c97e
RD
1673static PyObject * wxWindow_GetChildren(wxWindow *self) {
1674 wxWindowList& list = self->GetChildren();
1675 return wxPy_ConvertList(&list, "wxWindow");
1676 }
1677static PyObject *_wrap_wxWindow_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
1678 PyObject * _resultobj;
1679 PyObject * _result;
1680 wxWindow * _arg0;
1681 PyObject * _argo0 = 0;
1682 char *_kwnames[] = { "self", NULL };
1683
1684 self = self;
1685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetChildren",_kwnames,&_argo0))
1686 return NULL;
1687 if (_argo0) {
1688 if (_argo0 == Py_None) { _arg0 = NULL; }
1689 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1690 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetChildren. Expected _wxWindow_p.");
1691 return NULL;
1692 }
1693 }
1694{
4268f798 1695 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1696 _result = (PyObject *)wxWindow_GetChildren(_arg0);
d426c97e 1697
4268f798 1698 wxPyEndAllowThreads(__tstate);
493f1553 1699 if (PyErr_Occurred()) return NULL;
d426c97e
RD
1700}{
1701 _resultobj = _result;
1702}
1703 return _resultobj;
1704}
1705
8ab979d7 1706#define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
efc5f224 1707static PyObject *_wrap_wxWindow_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1708 PyObject * _resultobj;
1709 int _result;
1710 wxWindow * _arg0;
1d99702e 1711 PyObject * _argo0 = 0;
efc5f224 1712 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1713
1714 self = self;
efc5f224 1715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetCharHeight",_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_GetCharHeight. Expected _wxWindow_p.");
1721 return NULL;
1722 }
1723 }
cf694132 1724{
4268f798 1725 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1726 _result = (int )wxWindow_GetCharHeight(_arg0);
cf694132 1727
4268f798 1728 wxPyEndAllowThreads(__tstate);
493f1553 1729 if (PyErr_Occurred()) return NULL;
cf694132 1730} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1731 return _resultobj;
1732}
1733
1734#define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
efc5f224 1735static PyObject *_wrap_wxWindow_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1736 PyObject * _resultobj;
1737 int _result;
1738 wxWindow * _arg0;
1d99702e 1739 PyObject * _argo0 = 0;
efc5f224 1740 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1741
1742 self = self;
efc5f224 1743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetCharWidth",_kwnames,&_argo0))
8ab979d7 1744 return NULL;
1d99702e
RD
1745 if (_argo0) {
1746 if (_argo0 == Py_None) { _arg0 = NULL; }
1747 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1748 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
1749 return NULL;
1750 }
1751 }
cf694132 1752{
4268f798 1753 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1754 _result = (int )wxWindow_GetCharWidth(_arg0);
cf694132 1755
4268f798 1756 wxPyEndAllowThreads(__tstate);
493f1553 1757 if (PyErr_Occurred()) return NULL;
cf694132 1758} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1759 return _resultobj;
1760}
1761
b8b8dda7 1762#define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
efc5f224 1763static PyObject *_wrap_wxWindow_GetClientSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1764 PyObject * _resultobj;
1765 wxWindow * _arg0;
1766 int * _arg1;
1767 int temp;
1768 int * _arg2;
1769 int temp0;
1d99702e 1770 PyObject * _argo0 = 0;
efc5f224 1771 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1772
1773 self = self;
1774{
1775 _arg1 = &temp;
1776}
1777{
1778 _arg2 = &temp0;
1779}
efc5f224 1780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetClientSizeTuple",_kwnames,&_argo0))
8ab979d7 1781 return NULL;
1d99702e
RD
1782 if (_argo0) {
1783 if (_argo0 == Py_None) { _arg0 = NULL; }
1784 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b8b8dda7 1785 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
8ab979d7
RD
1786 return NULL;
1787 }
1788 }
cf694132 1789{
4268f798 1790 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1791 wxWindow_GetClientSizeTuple(_arg0,_arg1,_arg2);
cf694132 1792
4268f798 1793 wxPyEndAllowThreads(__tstate);
493f1553 1794 if (PyErr_Occurred()) return NULL;
cf694132 1795} Py_INCREF(Py_None);
8ab979d7
RD
1796 _resultobj = Py_None;
1797{
1798 PyObject *o;
1799 o = PyInt_FromLong((long) (*_arg1));
1800 _resultobj = t_output_helper(_resultobj, o);
1801}
1802{
1803 PyObject *o;
1804 o = PyInt_FromLong((long) (*_arg2));
1805 _resultobj = t_output_helper(_resultobj, o);
1806}
1807 return _resultobj;
1808}
1809
b8b8dda7 1810#define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
efc5f224 1811static PyObject *_wrap_wxWindow_GetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
1812 PyObject * _resultobj;
1813 wxSize * _result;
1814 wxWindow * _arg0;
1d99702e 1815 PyObject * _argo0 = 0;
efc5f224 1816 char *_kwnames[] = { "self", NULL };
b8b8dda7
RD
1817 char _ptemp[128];
1818
1819 self = self;
efc5f224 1820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetClientSize",_kwnames,&_argo0))
b8b8dda7 1821 return NULL;
1d99702e
RD
1822 if (_argo0) {
1823 if (_argo0 == Py_None) { _arg0 = NULL; }
1824 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b8b8dda7
RD
1825 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
1826 return NULL;
1827 }
1828 }
cf694132 1829{
4268f798 1830 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1831 _result = new wxSize (wxWindow_GetClientSize(_arg0));
cf694132 1832
4268f798 1833 wxPyEndAllowThreads(__tstate);
493f1553 1834 if (PyErr_Occurred()) return NULL;
cf694132 1835} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
b8b8dda7
RD
1836 _resultobj = Py_BuildValue("s",_ptemp);
1837 return _resultobj;
1838}
1839
23bed520
RD
1840#define wxWindow_GetClientAreaOrigin(_swigobj) (_swigobj->GetClientAreaOrigin())
1841static PyObject *_wrap_wxWindow_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
1842 PyObject * _resultobj;
1843 wxPoint * _result;
1844 wxWindow * _arg0;
1845 PyObject * _argo0 = 0;
1846 char *_kwnames[] = { "self", NULL };
1847 char _ptemp[128];
1848
1849 self = self;
1850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetClientAreaOrigin",_kwnames,&_argo0))
1851 return NULL;
1852 if (_argo0) {
1853 if (_argo0 == Py_None) { _arg0 = NULL; }
1854 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1855 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetClientAreaOrigin. Expected _wxWindow_p.");
1856 return NULL;
1857 }
1858 }
1859{
1860 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1861 _result = new wxPoint (wxWindow_GetClientAreaOrigin(_arg0));
23bed520
RD
1862
1863 wxPyEndAllowThreads(__tstate);
1864 if (PyErr_Occurred()) return NULL;
1865} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
1866 _resultobj = Py_BuildValue("s",_ptemp);
1867 return _resultobj;
1868}
1869
1870#define wxWindow_GetClientRect(_swigobj) (_swigobj->GetClientRect())
1871static PyObject *_wrap_wxWindow_GetClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
1872 PyObject * _resultobj;
1873 wxRect * _result;
1874 wxWindow * _arg0;
1875 PyObject * _argo0 = 0;
1876 char *_kwnames[] = { "self", NULL };
1877 char _ptemp[128];
1878
1879 self = self;
1880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetClientRect",_kwnames,&_argo0))
1881 return NULL;
1882 if (_argo0) {
1883 if (_argo0 == Py_None) { _arg0 = NULL; }
1884 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1885 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetClientRect. Expected _wxWindow_p.");
1886 return NULL;
1887 }
1888 }
1889{
1890 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1891 _result = new wxRect (wxWindow_GetClientRect(_arg0));
23bed520
RD
1892
1893 wxPyEndAllowThreads(__tstate);
1894 if (PyErr_Occurred()) return NULL;
1895} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
1896 _resultobj = Py_BuildValue("s",_ptemp);
1897 return _resultobj;
1898}
1899
8ab979d7 1900#define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
efc5f224 1901static PyObject *_wrap_wxWindow_GetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1902 PyObject * _resultobj;
1903 wxLayoutConstraints * _result;
1904 wxWindow * _arg0;
1d99702e 1905 PyObject * _argo0 = 0;
efc5f224 1906 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1907 char _ptemp[128];
1908
1909 self = self;
efc5f224 1910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetConstraints",_kwnames,&_argo0))
8ab979d7 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")) {
8ab979d7
RD
1915 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
1916 return NULL;
1917 }
1918 }
cf694132 1919{
4268f798 1920 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1921 _result = (wxLayoutConstraints *)wxWindow_GetConstraints(_arg0);
cf694132 1922
4268f798 1923 wxPyEndAllowThreads(__tstate);
493f1553 1924 if (PyErr_Occurred()) return NULL;
1d99702e
RD
1925} if (_result) {
1926 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLayoutConstraints_p");
1927 _resultobj = Py_BuildValue("s",_ptemp);
1928 } else {
1929 Py_INCREF(Py_None);
1930 _resultobj = Py_None;
1931 }
8ab979d7
RD
1932 return _resultobj;
1933}
1934
1afc06c2
RD
1935#define wxWindow_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
1936static PyObject *_wrap_wxWindow_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
1937 PyObject * _resultobj;
1938 wxEvtHandler * _result;
1939 wxWindow * _arg0;
1940 PyObject * _argo0 = 0;
1941 char *_kwnames[] = { "self", NULL };
1afc06c2
RD
1942
1943 self = self;
1944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetEventHandler",_kwnames,&_argo0))
1945 return NULL;
1946 if (_argo0) {
1947 if (_argo0 == Py_None) { _arg0 = NULL; }
1948 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1949 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetEventHandler. Expected _wxWindow_p.");
1950 return NULL;
1951 }
1952 }
1953{
4268f798 1954 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1955 _result = (wxEvtHandler *)wxWindow_GetEventHandler(_arg0);
1afc06c2 1956
4268f798 1957 wxPyEndAllowThreads(__tstate);
493f1553 1958 if (PyErr_Occurred()) return NULL;
9416aa89 1959}{ _resultobj = wxPyMake_wxObject(_result); }
1afc06c2
RD
1960 return _resultobj;
1961}
1962
8ab979d7 1963#define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
efc5f224 1964static PyObject *_wrap_wxWindow_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1965 PyObject * _resultobj;
1966 wxFont * _result;
1967 wxWindow * _arg0;
1d99702e 1968 PyObject * _argo0 = 0;
efc5f224 1969 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1970 char _ptemp[128];
1971
1972 self = self;
efc5f224 1973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetFont",_kwnames,&_argo0))
8ab979d7 1974 return NULL;
1d99702e
RD
1975 if (_argo0) {
1976 if (_argo0 == Py_None) { _arg0 = NULL; }
1977 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1978 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
1979 return NULL;
1980 }
1981 }
cf694132 1982{
4268f798 1983 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1984 _result = new wxFont (wxWindow_GetFont(_arg0));
cf694132 1985
4268f798 1986 wxPyEndAllowThreads(__tstate);
493f1553 1987 if (PyErr_Occurred()) return NULL;
c5943253
RD
1988} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
1989 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
1990 return _resultobj;
1991}
1992
1993#define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
efc5f224 1994static PyObject *_wrap_wxWindow_GetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1995 PyObject * _resultobj;
1996 wxColour * _result;
1997 wxWindow * _arg0;
1d99702e 1998 PyObject * _argo0 = 0;
efc5f224 1999 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2000 char _ptemp[128];
2001
2002 self = self;
efc5f224 2003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetForegroundColour",_kwnames,&_argo0))
8ab979d7 2004 return NULL;
1d99702e
RD
2005 if (_argo0) {
2006 if (_argo0 == Py_None) { _arg0 = NULL; }
2007 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2008 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
2009 return NULL;
2010 }
2011 }
cf694132 2012{
4268f798 2013 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2014 _result = new wxColour (wxWindow_GetForegroundColour(_arg0));
cf694132 2015
4268f798 2016 wxPyEndAllowThreads(__tstate);
493f1553 2017 if (PyErr_Occurred()) return NULL;
cf694132 2018} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8ab979d7
RD
2019 _resultobj = Py_BuildValue("s",_ptemp);
2020 return _resultobj;
2021}
2022
2023#define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
efc5f224 2024static PyObject *_wrap_wxWindow_GetGrandParent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2025 PyObject * _resultobj;
2026 wxWindow * _result;
2027 wxWindow * _arg0;
1d99702e 2028 PyObject * _argo0 = 0;
efc5f224 2029 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2030
2031 self = self;
efc5f224 2032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetGrandParent",_kwnames,&_argo0))
8ab979d7 2033 return NULL;
1d99702e
RD
2034 if (_argo0) {
2035 if (_argo0 == Py_None) { _arg0 = NULL; }
2036 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2037 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
2038 return NULL;
2039 }
2040 }
cf694132 2041{
4268f798 2042 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2043 _result = (wxWindow *)wxWindow_GetGrandParent(_arg0);
cf694132 2044
4268f798 2045 wxPyEndAllowThreads(__tstate);
493f1553 2046 if (PyErr_Occurred()) return NULL;
9416aa89 2047}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
2048 return _resultobj;
2049}
2050
2abc0a0f 2051static long wxWindow_GetHandle(wxWindow *self) {
1b55cabf 2052 return wxPyGetWinHandle(self); //(long)self->GetHandle();
2abc0a0f
RD
2053 }
2054static PyObject *_wrap_wxWindow_GetHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
2055 PyObject * _resultobj;
2056 long _result;
2057 wxWindow * _arg0;
2058 PyObject * _argo0 = 0;
2059 char *_kwnames[] = { "self", NULL };
2060
2061 self = self;
2062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetHandle",_kwnames,&_argo0))
2063 return NULL;
2064 if (_argo0) {
2065 if (_argo0 == Py_None) { _arg0 = NULL; }
2066 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2067 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetHandle. Expected _wxWindow_p.");
2068 return NULL;
2069 }
2070 }
2071{
4268f798 2072 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2073 _result = (long )wxWindow_GetHandle(_arg0);
2abc0a0f 2074
4268f798 2075 wxPyEndAllowThreads(__tstate);
493f1553 2076 if (PyErr_Occurred()) return NULL;
2abc0a0f
RD
2077} _resultobj = Py_BuildValue("l",_result);
2078 return _resultobj;
2079}
2080
8ab979d7 2081#define wxWindow_GetId(_swigobj) (_swigobj->GetId())
efc5f224 2082static PyObject *_wrap_wxWindow_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2083 PyObject * _resultobj;
2084 int _result;
2085 wxWindow * _arg0;
1d99702e 2086 PyObject * _argo0 = 0;
efc5f224 2087 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2088
2089 self = self;
efc5f224 2090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetId",_kwnames,&_argo0))
8ab979d7 2091 return NULL;
1d99702e
RD
2092 if (_argo0) {
2093 if (_argo0 == Py_None) { _arg0 = NULL; }
2094 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2095 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
2096 return NULL;
2097 }
2098 }
cf694132 2099{
4268f798 2100 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2101 _result = (int )wxWindow_GetId(_arg0);
cf694132 2102
4268f798 2103 wxPyEndAllowThreads(__tstate);
493f1553 2104 if (PyErr_Occurred()) return NULL;
cf694132 2105} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2106 return _resultobj;
2107}
2108
8ab979d7 2109#define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
efc5f224 2110static PyObject *_wrap_wxWindow_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2111 PyObject * _resultobj;
2112 wxString * _result;
2113 wxWindow * _arg0;
1d99702e 2114 PyObject * _argo0 = 0;
efc5f224 2115 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2116
2117 self = self;
efc5f224 2118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetLabel",_kwnames,&_argo0))
8ab979d7 2119 return NULL;
1d99702e
RD
2120 if (_argo0) {
2121 if (_argo0 == Py_None) { _arg0 = NULL; }
2122 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2123 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
2124 return NULL;
2125 }
2126 }
8ab979d7 2127{
4268f798 2128 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2129 _result = new wxString (wxWindow_GetLabel(_arg0));
cf694132 2130
4268f798 2131 wxPyEndAllowThreads(__tstate);
493f1553 2132 if (PyErr_Occurred()) return NULL;
cf694132 2133}{
c8bc7bb8
RD
2134#if wxUSE_UNICODE
2135 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
2136#else
eec92d76 2137 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 2138#endif
8ab979d7
RD
2139}
2140{
2141 delete _result;
2142}
2143 return _resultobj;
2144}
2145
bb0054cd 2146#define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
efc5f224 2147static PyObject *_wrap_wxWindow_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
2148 PyObject * _resultobj;
2149 wxWindow * _arg0;
2150 wxString * _arg1;
1d99702e 2151 PyObject * _argo0 = 0;
bb0054cd 2152 PyObject * _obj1 = 0;
efc5f224 2153 char *_kwnames[] = { "self","label", NULL };
bb0054cd
RD
2154
2155 self = self;
efc5f224 2156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetLabel",_kwnames,&_argo0,&_obj1))
bb0054cd 2157 return NULL;
1d99702e
RD
2158 if (_argo0) {
2159 if (_argo0 == Py_None) { _arg0 = NULL; }
2160 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
bb0054cd
RD
2161 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
2162 return NULL;
2163 }
2164 }
2165{
c8bc7bb8
RD
2166 _arg1 = wxString_in_helper(_obj1);
2167 if (_arg1 == NULL)
bb0054cd 2168 return NULL;
bb0054cd
RD
2169}
2170{
4268f798 2171 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2172 wxWindow_SetLabel(_arg0,*_arg1);
bb0054cd 2173
4268f798 2174 wxPyEndAllowThreads(__tstate);
493f1553 2175 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
2176} Py_INCREF(Py_None);
2177 _resultobj = Py_None;
2178{
2179 if (_obj1)
2180 delete _arg1;
2181}
2182 return _resultobj;
2183}
2184
8ab979d7 2185#define wxWindow_GetName(_swigobj) (_swigobj->GetName())
efc5f224 2186static PyObject *_wrap_wxWindow_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2187 PyObject * _resultobj;
2188 wxString * _result;
2189 wxWindow * _arg0;
1d99702e 2190 PyObject * _argo0 = 0;
efc5f224 2191 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2192
2193 self = self;
efc5f224 2194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetName",_kwnames,&_argo0))
8ab979d7 2195 return NULL;
1d99702e
RD
2196 if (_argo0) {
2197 if (_argo0 == Py_None) { _arg0 = NULL; }
2198 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2199 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
2200 return NULL;
2201 }
2202 }
8ab979d7 2203{
4268f798 2204 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2205 _result = new wxString (wxWindow_GetName(_arg0));
cf694132 2206
4268f798 2207 wxPyEndAllowThreads(__tstate);
493f1553 2208 if (PyErr_Occurred()) return NULL;
cf694132 2209}{
c8bc7bb8
RD
2210#if wxUSE_UNICODE
2211 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
2212#else
eec92d76 2213 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 2214#endif
8ab979d7
RD
2215}
2216{
2217 delete _result;
2218}
2219 return _resultobj;
2220}
2221
2222#define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
efc5f224 2223static PyObject *_wrap_wxWindow_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2224 PyObject * _resultobj;
2225 wxWindow * _result;
2226 wxWindow * _arg0;
1d99702e 2227 PyObject * _argo0 = 0;
efc5f224 2228 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2229
2230 self = self;
efc5f224 2231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetParent",_kwnames,&_argo0))
8ab979d7 2232 return NULL;
1d99702e
RD
2233 if (_argo0) {
2234 if (_argo0 == Py_None) { _arg0 = NULL; }
2235 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2236 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
2237 return NULL;
2238 }
2239 }
cf694132 2240{
4268f798 2241 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2242 _result = (wxWindow *)wxWindow_GetParent(_arg0);
cf694132 2243
4268f798 2244 wxPyEndAllowThreads(__tstate);
493f1553 2245 if (PyErr_Occurred()) return NULL;
9416aa89 2246}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
2247 return _resultobj;
2248}
2249
b8b8dda7 2250#define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
efc5f224 2251static PyObject *_wrap_wxWindow_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
2252 PyObject * _resultobj;
2253 wxWindow * _arg0;
2254 int * _arg1;
2255 int temp;
2256 int * _arg2;
2257 int temp0;
1d99702e 2258 PyObject * _argo0 = 0;
efc5f224 2259 char *_kwnames[] = { "self", NULL };
b8b8dda7
RD
2260
2261 self = self;
2262{
2263 _arg1 = &temp;
2264}
2265{
2266 _arg2 = &temp0;
2267}
efc5f224 2268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetPositionTuple",_kwnames,&_argo0))
b8b8dda7 2269 return NULL;
1d99702e
RD
2270 if (_argo0) {
2271 if (_argo0 == Py_None) { _arg0 = NULL; }
2272 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b8b8dda7
RD
2273 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
2274 return NULL;
2275 }
2276 }
cf694132 2277{
4268f798 2278 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2279 wxWindow_GetPositionTuple(_arg0,_arg1,_arg2);
cf694132 2280
4268f798 2281 wxPyEndAllowThreads(__tstate);
493f1553 2282 if (PyErr_Occurred()) return NULL;
cf694132 2283} Py_INCREF(Py_None);
b8b8dda7
RD
2284 _resultobj = Py_None;
2285{
2286 PyObject *o;
2287 o = PyInt_FromLong((long) (*_arg1));
2288 _resultobj = t_output_helper(_resultobj, o);
2289}
2290{
2291 PyObject *o;
2292 o = PyInt_FromLong((long) (*_arg2));
2293 _resultobj = t_output_helper(_resultobj, o);
2294}
2295 return _resultobj;
2296}
2297
2298#define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
efc5f224 2299static PyObject *_wrap_wxWindow_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
2300 PyObject * _resultobj;
2301 wxPoint * _result;
2302 wxWindow * _arg0;
1d99702e 2303 PyObject * _argo0 = 0;
efc5f224 2304 char *_kwnames[] = { "self", NULL };
b8b8dda7
RD
2305 char _ptemp[128];
2306
2307 self = self;
efc5f224 2308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetPosition",_kwnames,&_argo0))
b8b8dda7 2309 return NULL;
1d99702e
RD
2310 if (_argo0) {
2311 if (_argo0 == Py_None) { _arg0 = NULL; }
2312 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b8b8dda7
RD
2313 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
2314 return NULL;
2315 }
2316 }
cf694132 2317{
4268f798 2318 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2319 _result = new wxPoint (wxWindow_GetPosition(_arg0));
cf694132 2320
4268f798 2321 wxPyEndAllowThreads(__tstate);
493f1553 2322 if (PyErr_Occurred()) return NULL;
cf694132 2323} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
b8b8dda7
RD
2324 _resultobj = Py_BuildValue("s",_ptemp);
2325 return _resultobj;
2326}
2327
2328#define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
efc5f224 2329static PyObject *_wrap_wxWindow_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
2330 PyObject * _resultobj;
2331 wxRect * _result;
2332 wxWindow * _arg0;
1d99702e 2333 PyObject * _argo0 = 0;
efc5f224 2334 char *_kwnames[] = { "self", NULL };
b8b8dda7
RD
2335 char _ptemp[128];
2336
2337 self = self;
efc5f224 2338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetRect",_kwnames,&_argo0))
b8b8dda7 2339 return NULL;
1d99702e
RD
2340 if (_argo0) {
2341 if (_argo0 == Py_None) { _arg0 = NULL; }
2342 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b8b8dda7
RD
2343 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
2344 return NULL;
2345 }
2346 }
cf694132 2347{
4268f798 2348 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2349 _result = new wxRect (wxWindow_GetRect(_arg0));
cf694132 2350
4268f798 2351 wxPyEndAllowThreads(__tstate);
493f1553 2352 if (PyErr_Occurred()) return NULL;
cf694132 2353} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
b8b8dda7
RD
2354 _resultobj = Py_BuildValue("s",_ptemp);
2355 return _resultobj;
2356}
2357
8ab979d7 2358#define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
efc5f224 2359static PyObject *_wrap_wxWindow_GetScrollThumb(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2360 PyObject * _resultobj;
2361 int _result;
2362 wxWindow * _arg0;
2363 int _arg1;
1d99702e 2364 PyObject * _argo0 = 0;
efc5f224 2365 char *_kwnames[] = { "self","orientation", NULL };
8ab979d7
RD
2366
2367 self = self;
efc5f224 2368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_GetScrollThumb",_kwnames,&_argo0,&_arg1))
8ab979d7 2369 return NULL;
1d99702e
RD
2370 if (_argo0) {
2371 if (_argo0 == Py_None) { _arg0 = NULL; }
2372 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2373 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
2374 return NULL;
2375 }
2376 }
cf694132 2377{
4268f798 2378 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2379 _result = (int )wxWindow_GetScrollThumb(_arg0,_arg1);
cf694132 2380
4268f798 2381 wxPyEndAllowThreads(__tstate);
493f1553 2382 if (PyErr_Occurred()) return NULL;
cf694132 2383} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2384 return _resultobj;
2385}
2386
2387#define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
efc5f224 2388static PyObject *_wrap_wxWindow_GetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2389 PyObject * _resultobj;
2390 int _result;
2391 wxWindow * _arg0;
2392 int _arg1;
1d99702e 2393 PyObject * _argo0 = 0;
efc5f224 2394 char *_kwnames[] = { "self","orientation", NULL };
8ab979d7
RD
2395
2396 self = self;
efc5f224 2397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_GetScrollPos",_kwnames,&_argo0,&_arg1))
8ab979d7 2398 return NULL;
1d99702e
RD
2399 if (_argo0) {
2400 if (_argo0 == Py_None) { _arg0 = NULL; }
2401 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2402 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
2403 return NULL;
2404 }
2405 }
cf694132 2406{
4268f798 2407 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2408 _result = (int )wxWindow_GetScrollPos(_arg0,_arg1);
cf694132 2409
4268f798 2410 wxPyEndAllowThreads(__tstate);
493f1553 2411 if (PyErr_Occurred()) return NULL;
cf694132 2412} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2413 return _resultobj;
2414}
2415
2416#define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
efc5f224 2417static PyObject *_wrap_wxWindow_GetScrollRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2418 PyObject * _resultobj;
2419 int _result;
2420 wxWindow * _arg0;
2421 int _arg1;
1d99702e 2422 PyObject * _argo0 = 0;
efc5f224 2423 char *_kwnames[] = { "self","orientation", NULL };
8ab979d7
RD
2424
2425 self = self;
efc5f224 2426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_GetScrollRange",_kwnames,&_argo0,&_arg1))
8ab979d7 2427 return NULL;
1d99702e
RD
2428 if (_argo0) {
2429 if (_argo0 == Py_None) { _arg0 = NULL; }
2430 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2431 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
2432 return NULL;
2433 }
2434 }
cf694132 2435{
4268f798 2436 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2437 _result = (int )wxWindow_GetScrollRange(_arg0,_arg1);
cf694132 2438
4268f798 2439 wxPyEndAllowThreads(__tstate);
493f1553 2440 if (PyErr_Occurred()) return NULL;
cf694132 2441} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2442 return _resultobj;
2443}
2444
b8b8dda7 2445#define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
efc5f224 2446static PyObject *_wrap_wxWindow_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2447 PyObject * _resultobj;
2448 wxWindow * _arg0;
2449 int * _arg1;
2450 int temp;
2451 int * _arg2;
2452 int temp0;
1d99702e 2453 PyObject * _argo0 = 0;
efc5f224 2454 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2455
2456 self = self;
2457{
2458 _arg1 = &temp;
2459}
2460{
2461 _arg2 = &temp0;
2462}
efc5f224 2463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetSizeTuple",_kwnames,&_argo0))
8ab979d7 2464 return NULL;
1d99702e
RD
2465 if (_argo0) {
2466 if (_argo0 == Py_None) { _arg0 = NULL; }
2467 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b8b8dda7 2468 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
8ab979d7
RD
2469 return NULL;
2470 }
2471 }
cf694132 2472{
4268f798 2473 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2474 wxWindow_GetSizeTuple(_arg0,_arg1,_arg2);
cf694132 2475
4268f798 2476 wxPyEndAllowThreads(__tstate);
493f1553 2477 if (PyErr_Occurred()) return NULL;
cf694132 2478} Py_INCREF(Py_None);
8ab979d7
RD
2479 _resultobj = Py_None;
2480{
2481 PyObject *o;
2482 o = PyInt_FromLong((long) (*_arg1));
2483 _resultobj = t_output_helper(_resultobj, o);
2484}
2485{
2486 PyObject *o;
2487 o = PyInt_FromLong((long) (*_arg2));
2488 _resultobj = t_output_helper(_resultobj, o);
2489}
2490 return _resultobj;
2491}
2492
b8b8dda7 2493#define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
efc5f224 2494static PyObject *_wrap_wxWindow_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
2495 PyObject * _resultobj;
2496 wxSize * _result;
2497 wxWindow * _arg0;
1d99702e 2498 PyObject * _argo0 = 0;
efc5f224 2499 char *_kwnames[] = { "self", NULL };
b8b8dda7
RD
2500 char _ptemp[128];
2501
2502 self = self;
efc5f224 2503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetSize",_kwnames,&_argo0))
b8b8dda7 2504 return NULL;
1d99702e
RD
2505 if (_argo0) {
2506 if (_argo0 == Py_None) { _arg0 = NULL; }
2507 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b8b8dda7
RD
2508 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
2509 return NULL;
2510 }
2511 }
cf694132 2512{
4268f798 2513 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2514 _result = new wxSize (wxWindow_GetSize(_arg0));
cf694132 2515
4268f798 2516 wxPyEndAllowThreads(__tstate);
493f1553 2517 if (PyErr_Occurred()) return NULL;
cf694132 2518} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
b8b8dda7
RD
2519 _resultobj = Py_BuildValue("s",_ptemp);
2520 return _resultobj;
2521}
2522
8ab979d7 2523#define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
efc5f224 2524static PyObject *_wrap_wxWindow_GetTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2525 PyObject * _resultobj;
2526 wxWindow * _arg0;
2527 wxString * _arg1;
2528 int * _arg2;
2529 int temp;
2530 int * _arg3;
2531 int temp0;
1d99702e 2532 PyObject * _argo0 = 0;
8ab979d7 2533 PyObject * _obj1 = 0;
efc5f224 2534 char *_kwnames[] = { "self","string", NULL };
8ab979d7
RD
2535
2536 self = self;
2537{
2538 _arg2 = &temp;
2539}
2540{
2541 _arg3 = &temp0;
2542}
efc5f224 2543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_GetTextExtent",_kwnames,&_argo0,&_obj1))
8ab979d7 2544 return NULL;
1d99702e
RD
2545 if (_argo0) {
2546 if (_argo0 == Py_None) { _arg0 = NULL; }
2547 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2548 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
2549 return NULL;
2550 }
2551 }
2552{
c8bc7bb8
RD
2553 _arg1 = wxString_in_helper(_obj1);
2554 if (_arg1 == NULL)
8ab979d7 2555 return NULL;
8ab979d7 2556}
cf694132 2557{
4268f798 2558 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2559 wxWindow_GetTextExtent(_arg0,*_arg1,_arg2,_arg3);
cf694132 2560
4268f798 2561 wxPyEndAllowThreads(__tstate);
493f1553 2562 if (PyErr_Occurred()) return NULL;
cf694132 2563} Py_INCREF(Py_None);
8ab979d7
RD
2564 _resultobj = Py_None;
2565{
2566 PyObject *o;
2567 o = PyInt_FromLong((long) (*_arg2));
2568 _resultobj = t_output_helper(_resultobj, o);
2569}
2570{
2571 PyObject *o;
2572 o = PyInt_FromLong((long) (*_arg3));
2573 _resultobj = t_output_helper(_resultobj, o);
2574}
2575{
2576 if (_obj1)
2577 delete _arg1;
2578}
2579 return _resultobj;
2580}
2581
af309447 2582#define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
efc5f224 2583static PyObject *_wrap_wxWindow_GetFullTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
2584 PyObject * _resultobj;
2585 wxWindow * _arg0;
2586 wxString * _arg1;
2587 int * _arg2;
2588 int temp;
2589 int * _arg3;
2590 int temp0;
2591 int * _arg4;
2592 int temp1;
2593 int * _arg5;
2594 int temp2;
1d99702e
RD
2595 wxFont * _arg6 = (wxFont *) NULL;
2596 PyObject * _argo0 = 0;
af309447 2597 PyObject * _obj1 = 0;
1d99702e 2598 PyObject * _argo6 = 0;
efc5f224 2599 char *_kwnames[] = { "self","string","font", NULL };
af309447
RD
2600
2601 self = self;
2602{
2603 _arg2 = &temp;
2604}
2605{
2606 _arg3 = &temp0;
2607}
2608{
2609 _arg4 = &temp1;
2610}
2611{
2612 _arg5 = &temp2;
2613}
efc5f224 2614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxWindow_GetFullTextExtent",_kwnames,&_argo0,&_obj1,&_argo6))
af309447 2615 return NULL;
1d99702e
RD
2616 if (_argo0) {
2617 if (_argo0 == Py_None) { _arg0 = NULL; }
2618 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
af309447
RD
2619 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
2620 return NULL;
2621 }
2622 }
2623{
c8bc7bb8
RD
2624 _arg1 = wxString_in_helper(_obj1);
2625 if (_arg1 == NULL)
af309447 2626 return NULL;
af309447 2627}
1d99702e
RD
2628 if (_argo6) {
2629 if (_argo6 == Py_None) { _arg6 = NULL; }
2630 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxFont_p")) {
af309447
RD
2631 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
2632 return NULL;
2633 }
2634 }
cf694132 2635{
4268f798 2636 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2637 wxWindow_GetFullTextExtent(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
cf694132 2638
4268f798 2639 wxPyEndAllowThreads(__tstate);
493f1553 2640 if (PyErr_Occurred()) return NULL;
cf694132 2641} Py_INCREF(Py_None);
af309447
RD
2642 _resultobj = Py_None;
2643{
2644 PyObject *o;
2645 o = PyInt_FromLong((long) (*_arg2));
2646 _resultobj = t_output_helper(_resultobj, o);
2647}
2648{
2649 PyObject *o;
2650 o = PyInt_FromLong((long) (*_arg3));
2651 _resultobj = t_output_helper(_resultobj, o);
2652}
2653{
2654 PyObject *o;
2655 o = PyInt_FromLong((long) (*_arg4));
2656 _resultobj = t_output_helper(_resultobj, o);
2657}
2658{
2659 PyObject *o;
2660 o = PyInt_FromLong((long) (*_arg5));
2661 _resultobj = t_output_helper(_resultobj, o);
2662}
2663{
2664 if (_obj1)
2665 delete _arg1;
2666}
2667 return _resultobj;
2668}
2669
8ab979d7 2670#define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
efc5f224 2671static PyObject *_wrap_wxWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2672 PyObject * _resultobj;
2673 wxString * _result;
2674 wxWindow * _arg0;
1d99702e 2675 PyObject * _argo0 = 0;
efc5f224 2676 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2677
2678 self = self;
efc5f224 2679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetTitle",_kwnames,&_argo0))
8ab979d7 2680 return NULL;
1d99702e
RD
2681 if (_argo0) {
2682 if (_argo0 == Py_None) { _arg0 = NULL; }
2683 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2684 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
2685 return NULL;
2686 }
2687 }
8ab979d7 2688{
4268f798 2689 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2690 _result = new wxString (wxWindow_GetTitle(_arg0));
cf694132 2691
4268f798 2692 wxPyEndAllowThreads(__tstate);
493f1553 2693 if (PyErr_Occurred()) return NULL;
cf694132 2694}{
c8bc7bb8
RD
2695#if wxUSE_UNICODE
2696 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
2697#else
eec92d76 2698 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 2699#endif
8ab979d7
RD
2700}
2701{
2702 delete _result;
2703}
2704 return _resultobj;
2705}
2706
8bf5d46e 2707#define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
efc5f224 2708static PyObject *_wrap_wxWindow_GetUpdateRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
8bf5d46e
RD
2709 PyObject * _resultobj;
2710 wxRegion * _result;
2711 wxWindow * _arg0;
1d99702e 2712 PyObject * _argo0 = 0;
efc5f224 2713 char *_kwnames[] = { "self", NULL };
8bf5d46e
RD
2714 char _ptemp[128];
2715
2716 self = self;
efc5f224 2717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetUpdateRegion",_kwnames,&_argo0))
8bf5d46e 2718 return NULL;
1d99702e
RD
2719 if (_argo0) {
2720 if (_argo0 == Py_None) { _arg0 = NULL; }
2721 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8bf5d46e
RD
2722 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
2723 return NULL;
2724 }
2725 }
2726{
4268f798 2727 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2728 _result = new wxRegion (wxWindow_GetUpdateRegion(_arg0));
8bf5d46e 2729
4268f798 2730 wxPyEndAllowThreads(__tstate);
493f1553 2731 if (PyErr_Occurred()) return NULL;
8bf5d46e
RD
2732} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRegion_p");
2733 _resultobj = Py_BuildValue("s",_ptemp);
2734 return _resultobj;
2735}
2736
8ab979d7 2737#define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
efc5f224 2738static PyObject *_wrap_wxWindow_GetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2739 PyObject * _resultobj;
2740 long _result;
2741 wxWindow * _arg0;
1d99702e 2742 PyObject * _argo0 = 0;
efc5f224 2743 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2744
2745 self = self;
efc5f224 2746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetWindowStyleFlag",_kwnames,&_argo0))
8ab979d7 2747 return NULL;
1d99702e
RD
2748 if (_argo0) {
2749 if (_argo0 == Py_None) { _arg0 = NULL; }
2750 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2751 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
2752 return NULL;
2753 }
2754 }
cf694132 2755{
4268f798 2756 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2757 _result = (long )wxWindow_GetWindowStyleFlag(_arg0);
cf694132 2758
4268f798 2759 wxPyEndAllowThreads(__tstate);
493f1553 2760 if (PyErr_Occurred()) return NULL;
cf694132 2761} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
2762 return _resultobj;
2763}
2764
f6bcfd97
BP
2765#define wxWindow_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
2766static PyObject *_wrap_wxWindow_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
2767 PyObject * _resultobj;
2768 wxWindow * _arg0;
2769 long _arg1;
2770 PyObject * _argo0 = 0;
2771 char *_kwnames[] = { "self","style", NULL };
2772
2773 self = self;
2774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxWindow_SetWindowStyleFlag",_kwnames,&_argo0,&_arg1))
2775 return NULL;
2776 if (_argo0) {
2777 if (_argo0 == Py_None) { _arg0 = NULL; }
2778 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2779 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetWindowStyleFlag. Expected _wxWindow_p.");
2780 return NULL;
2781 }
2782 }
2783{
4268f798 2784 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2785 wxWindow_SetWindowStyleFlag(_arg0,_arg1);
f6bcfd97 2786
4268f798 2787 wxPyEndAllowThreads(__tstate);
493f1553 2788 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2789} Py_INCREF(Py_None);
2790 _resultobj = Py_None;
2791 return _resultobj;
2792}
2793
2794#define wxWindow_SetWindowStyle(_swigobj,_swigarg0) (_swigobj->SetWindowStyle(_swigarg0))
2795static PyObject *_wrap_wxWindow_SetWindowStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
2796 PyObject * _resultobj;
2797 wxWindow * _arg0;
2798 long _arg1;
2799 PyObject * _argo0 = 0;
2800 char *_kwnames[] = { "self","style", NULL };
2801
2802 self = self;
2803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxWindow_SetWindowStyle",_kwnames,&_argo0,&_arg1))
2804 return NULL;
2805 if (_argo0) {
2806 if (_argo0 == Py_None) { _arg0 = NULL; }
2807 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2808 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetWindowStyle. Expected _wxWindow_p.");
2809 return NULL;
2810 }
2811 }
2812{
4268f798 2813 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2814 wxWindow_SetWindowStyle(_arg0,_arg1);
f6bcfd97 2815
4268f798 2816 wxPyEndAllowThreads(__tstate);
493f1553 2817 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2818} Py_INCREF(Py_None);
2819 _resultobj = Py_None;
2820 return _resultobj;
2821}
2822
23bed520
RD
2823#define wxWindow_HasScrollbar(_swigobj,_swigarg0) (_swigobj->HasScrollbar(_swigarg0))
2824static PyObject *_wrap_wxWindow_HasScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
2825 PyObject * _resultobj;
2826 bool _result;
2827 wxWindow * _arg0;
2828 int _arg1;
2829 PyObject * _argo0 = 0;
2830 char *_kwnames[] = { "self","orient", NULL };
2831
2832 self = self;
2833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_HasScrollbar",_kwnames,&_argo0,&_arg1))
2834 return NULL;
2835 if (_argo0) {
2836 if (_argo0 == Py_None) { _arg0 = NULL; }
2837 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2838 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_HasScrollbar. Expected _wxWindow_p.");
2839 return NULL;
2840 }
2841 }
2842{
2843 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2844 _result = (bool )wxWindow_HasScrollbar(_arg0,_arg1);
23bed520
RD
2845
2846 wxPyEndAllowThreads(__tstate);
2847 if (PyErr_Occurred()) return NULL;
2848} _resultobj = Py_BuildValue("i",_result);
2849 return _resultobj;
2850}
2851
bb0054cd 2852#define wxWindow_Hide(_swigobj) (_swigobj->Hide())
efc5f224 2853static PyObject *_wrap_wxWindow_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
2854 PyObject * _resultobj;
2855 bool _result;
2856 wxWindow * _arg0;
1d99702e 2857 PyObject * _argo0 = 0;
efc5f224 2858 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
2859
2860 self = self;
efc5f224 2861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Hide",_kwnames,&_argo0))
bb0054cd 2862 return NULL;
1d99702e
RD
2863 if (_argo0) {
2864 if (_argo0 == Py_None) { _arg0 = NULL; }
2865 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
bb0054cd
RD
2866 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
2867 return NULL;
2868 }
2869 }
2870{
4268f798 2871 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2872 _result = (bool )wxWindow_Hide(_arg0);
bb0054cd 2873
4268f798 2874 wxPyEndAllowThreads(__tstate);
493f1553 2875 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
2876} _resultobj = Py_BuildValue("i",_result);
2877 return _resultobj;
2878}
2879
23bed520
RD
2880#define wxWindow_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0))
2881static PyObject *_wrap_wxWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
2882 PyObject * _resultobj;
2883 wxHitTest _result;
2884 wxWindow * _arg0;
2885 wxPoint * _arg1;
2886 PyObject * _argo0 = 0;
2887 wxPoint temp;
2888 PyObject * _obj1 = 0;
2889 char *_kwnames[] = { "self","pt", NULL };
2890
2891 self = self;
2892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_HitTest",_kwnames,&_argo0,&_obj1))
2893 return NULL;
2894 if (_argo0) {
2895 if (_argo0 == Py_None) { _arg0 = NULL; }
2896 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2897 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_HitTest. Expected _wxWindow_p.");
2898 return NULL;
2899 }
2900 }
2901{
2902 _arg1 = &temp;
2903 if (! wxPoint_helper(_obj1, &_arg1))
2904 return NULL;
2905}
2906{
2907 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2908 _result = (wxHitTest )wxWindow_HitTest(_arg0,*_arg1);
23bed520
RD
2909
2910 wxPyEndAllowThreads(__tstate);
2911 if (PyErr_Occurred()) return NULL;
2912} _resultobj = Py_BuildValue("i",_result);
2913 return _resultobj;
2914}
2915
8ab979d7 2916#define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
efc5f224 2917static PyObject *_wrap_wxWindow_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2918 PyObject * _resultobj;
2919 wxWindow * _arg0;
1d99702e 2920 PyObject * _argo0 = 0;
efc5f224 2921 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2922
2923 self = self;
efc5f224 2924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_InitDialog",_kwnames,&_argo0))
8ab979d7 2925 return NULL;
1d99702e
RD
2926 if (_argo0) {
2927 if (_argo0 == Py_None) { _arg0 = NULL; }
2928 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2929 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
2930 return NULL;
2931 }
2932 }
cf694132 2933{
4268f798 2934 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2935 wxWindow_InitDialog(_arg0);
cf694132 2936
4268f798 2937 wxPyEndAllowThreads(__tstate);
493f1553 2938 if (PyErr_Occurred()) return NULL;
cf694132 2939} Py_INCREF(Py_None);
8ab979d7
RD
2940 _resultobj = Py_None;
2941 return _resultobj;
2942}
2943
2944#define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
efc5f224 2945static PyObject *_wrap_wxWindow_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2946 PyObject * _resultobj;
2947 bool _result;
2948 wxWindow * _arg0;
1d99702e 2949 PyObject * _argo0 = 0;
efc5f224 2950 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2951
2952 self = self;
efc5f224 2953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_IsEnabled",_kwnames,&_argo0))
8ab979d7 2954 return NULL;
1d99702e
RD
2955 if (_argo0) {
2956 if (_argo0 == Py_None) { _arg0 = NULL; }
2957 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2958 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
2959 return NULL;
2960 }
2961 }
cf694132 2962{
4268f798 2963 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2964 _result = (bool )wxWindow_IsEnabled(_arg0);
cf694132 2965
4268f798 2966 wxPyEndAllowThreads(__tstate);
493f1553 2967 if (PyErr_Occurred()) return NULL;
cf694132 2968} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2969 return _resultobj;
2970}
2971
1b55cabf
RD
2972#define wxWindow_IsExposed(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->IsExposed(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2973static PyObject *_wrap_wxWindow_IsExposed(PyObject *self, PyObject *args, PyObject *kwargs) {
2974 PyObject * _resultobj;
2975 bool _result;
2976 wxWindow * _arg0;
2977 int _arg1;
2978 int _arg2;
2979 int _arg3 = (int ) 0;
2980 int _arg4 = (int ) 0;
2981 PyObject * _argo0 = 0;
2982 char *_kwnames[] = { "self","x","y","w","h", NULL };
2983
2984 self = self;
2985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|ii:wxWindow_IsExposed",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2986 return NULL;
2987 if (_argo0) {
2988 if (_argo0 == Py_None) { _arg0 = NULL; }
2989 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2990 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsExposed. Expected _wxWindow_p.");
2991 return NULL;
2992 }
2993 }
2994{
4268f798 2995 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2996 _result = (bool )wxWindow_IsExposed(_arg0,_arg1,_arg2,_arg3,_arg4);
1b55cabf 2997
4268f798 2998 wxPyEndAllowThreads(__tstate);
493f1553 2999 if (PyErr_Occurred()) return NULL;
1b55cabf
RD
3000} _resultobj = Py_BuildValue("i",_result);
3001 return _resultobj;
3002}
3003
3004#define wxWindow_IsExposedPoint(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
3005static PyObject *_wrap_wxWindow_IsExposedPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3006 PyObject * _resultobj;
3007 bool _result;
3008 wxWindow * _arg0;
3009 wxPoint * _arg1;
3010 PyObject * _argo0 = 0;
3011 wxPoint temp;
3012 PyObject * _obj1 = 0;
3013 char *_kwnames[] = { "self","pt", NULL };
3014
3015 self = self;
3016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_IsExposedPoint",_kwnames,&_argo0,&_obj1))
3017 return NULL;
3018 if (_argo0) {
3019 if (_argo0 == Py_None) { _arg0 = NULL; }
3020 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3021 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsExposedPoint. Expected _wxWindow_p.");
3022 return NULL;
3023 }
3024 }
3025{
3026 _arg1 = &temp;
3027 if (! wxPoint_helper(_obj1, &_arg1))
3028 return NULL;
3029}
3030{
4268f798 3031 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3032 _result = (bool )wxWindow_IsExposedPoint(_arg0,*_arg1);
1b55cabf 3033
4268f798 3034 wxPyEndAllowThreads(__tstate);
493f1553 3035 if (PyErr_Occurred()) return NULL;
1b55cabf
RD
3036} _resultobj = Py_BuildValue("i",_result);
3037 return _resultobj;
3038}
3039
3040#define wxWindow_IsExposedRect(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
3041static PyObject *_wrap_wxWindow_IsExposedRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3042 PyObject * _resultobj;
3043 bool _result;
3044 wxWindow * _arg0;
3045 wxRect * _arg1;
3046 PyObject * _argo0 = 0;
3047 wxRect temp;
3048 PyObject * _obj1 = 0;
3049 char *_kwnames[] = { "self","rect", NULL };
3050
3051 self = self;
3052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_IsExposedRect",_kwnames,&_argo0,&_obj1))
3053 return NULL;
3054 if (_argo0) {
3055 if (_argo0 == Py_None) { _arg0 = NULL; }
3056 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3057 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsExposedRect. Expected _wxWindow_p.");
3058 return NULL;
3059 }
3060 }
3061{
3062 _arg1 = &temp;
3063 if (! wxRect_helper(_obj1, &_arg1))
3064 return NULL;
3065}
3066{
4268f798 3067 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3068 _result = (bool )wxWindow_IsExposedRect(_arg0,*_arg1);
1b55cabf 3069
4268f798 3070 wxPyEndAllowThreads(__tstate);
493f1553 3071 if (PyErr_Occurred()) return NULL;
1b55cabf
RD
3072} _resultobj = Py_BuildValue("i",_result);
3073 return _resultobj;
3074}
3075
8ab979d7 3076#define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
efc5f224 3077static PyObject *_wrap_wxWindow_IsRetained(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3078 PyObject * _resultobj;
3079 bool _result;
3080 wxWindow * _arg0;
1d99702e 3081 PyObject * _argo0 = 0;
efc5f224 3082 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3083
3084 self = self;
efc5f224 3085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_IsRetained",_kwnames,&_argo0))
8ab979d7 3086 return NULL;
1d99702e
RD
3087 if (_argo0) {
3088 if (_argo0 == Py_None) { _arg0 = NULL; }
3089 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3090 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
3091 return NULL;
3092 }
3093 }
cf694132 3094{
4268f798 3095 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3096 _result = (bool )wxWindow_IsRetained(_arg0);
cf694132 3097
4268f798 3098 wxPyEndAllowThreads(__tstate);
493f1553 3099 if (PyErr_Occurred()) return NULL;
cf694132 3100} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3101 return _resultobj;
3102}
3103
3104#define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
efc5f224 3105static PyObject *_wrap_wxWindow_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3106 PyObject * _resultobj;
3107 bool _result;
3108 wxWindow * _arg0;
1d99702e 3109 PyObject * _argo0 = 0;
efc5f224 3110 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3111
3112 self = self;
efc5f224 3113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_IsShown",_kwnames,&_argo0))
8ab979d7 3114 return NULL;
1d99702e
RD
3115 if (_argo0) {
3116 if (_argo0 == Py_None) { _arg0 = NULL; }
3117 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3118 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
3119 return NULL;
3120 }
3121 }
cf694132 3122{
4268f798 3123 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3124 _result = (bool )wxWindow_IsShown(_arg0);
cf694132 3125
4268f798 3126 wxPyEndAllowThreads(__tstate);
493f1553 3127 if (PyErr_Occurred()) return NULL;
cf694132 3128} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3129 return _resultobj;
3130}
3131
bb0054cd 3132#define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
efc5f224 3133static PyObject *_wrap_wxWindow_IsTopLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
3134 PyObject * _resultobj;
3135 bool _result;
3136 wxWindow * _arg0;
1d99702e 3137 PyObject * _argo0 = 0;
efc5f224 3138 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
3139
3140 self = self;
efc5f224 3141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_IsTopLevel",_kwnames,&_argo0))
bb0054cd 3142 return NULL;
1d99702e
RD
3143 if (_argo0) {
3144 if (_argo0 == Py_None) { _arg0 = NULL; }
3145 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
bb0054cd
RD
3146 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
3147 return NULL;
3148 }
3149 }
3150{
4268f798 3151 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3152 _result = (bool )wxWindow_IsTopLevel(_arg0);
bb0054cd 3153
4268f798 3154 wxPyEndAllowThreads(__tstate);
493f1553 3155 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
3156} _resultobj = Py_BuildValue("i",_result);
3157 return _resultobj;
3158}
3159
8ab979d7 3160#define wxWindow_Layout(_swigobj) (_swigobj->Layout())
efc5f224 3161static PyObject *_wrap_wxWindow_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3162 PyObject * _resultobj;
3163 wxWindow * _arg0;
1d99702e 3164 PyObject * _argo0 = 0;
efc5f224 3165 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3166
3167 self = self;
efc5f224 3168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Layout",_kwnames,&_argo0))
8ab979d7 3169 return NULL;
1d99702e
RD
3170 if (_argo0) {
3171 if (_argo0 == Py_None) { _arg0 = NULL; }
3172 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3173 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
3174 return NULL;
3175 }
3176 }
cf694132 3177{
4268f798 3178 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3179 wxWindow_Layout(_arg0);
cf694132 3180
4268f798 3181 wxPyEndAllowThreads(__tstate);
493f1553 3182 if (PyErr_Occurred()) return NULL;
cf694132 3183} Py_INCREF(Py_None);
8ab979d7
RD
3184 _resultobj = Py_None;
3185 return _resultobj;
3186}
3187
3188#define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
efc5f224 3189static PyObject *_wrap_wxWindow_LoadFromResource(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3190 PyObject * _resultobj;
3191 bool _result;
3192 wxWindow * _arg0;
3193 wxWindow * _arg1;
3194 wxString * _arg2;
1d99702e
RD
3195 wxResourceTable * _arg3 = (wxResourceTable *) NULL;
3196 PyObject * _argo0 = 0;
3197 PyObject * _argo1 = 0;
8ab979d7 3198 PyObject * _obj2 = 0;
1d99702e 3199 PyObject * _argo3 = 0;
efc5f224 3200 char *_kwnames[] = { "self","parent","resourceName","resourceTable", NULL };
8ab979d7
RD
3201
3202 self = self;
efc5f224 3203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|O:wxWindow_LoadFromResource",_kwnames,&_argo0,&_argo1,&_obj2,&_argo3))
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_LoadFromResource. Expected _wxWindow_p.");
3209 return NULL;
3210 }
3211 }
1d99702e
RD
3212 if (_argo1) {
3213 if (_argo1 == Py_None) { _arg1 = NULL; }
3214 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
8ab979d7
RD
3215 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
3216 return NULL;
3217 }
3218 }
3219{
c8bc7bb8
RD
3220 _arg2 = wxString_in_helper(_obj2);
3221 if (_arg2 == NULL)
8ab979d7 3222 return NULL;
8ab979d7 3223}
1d99702e
RD
3224 if (_argo3) {
3225 if (_argo3 == Py_None) { _arg3 = NULL; }
3226 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxResourceTable_p")) {
8ab979d7
RD
3227 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
3228 return NULL;
3229 }
3230 }
cf694132 3231{
4268f798 3232 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3233 _result = (bool )wxWindow_LoadFromResource(_arg0,_arg1,*_arg2,_arg3);
cf694132 3234
4268f798 3235 wxPyEndAllowThreads(__tstate);
493f1553 3236 if (PyErr_Occurred()) return NULL;
cf694132 3237} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3238{
3239 if (_obj2)
3240 delete _arg2;
3241}
3242 return _resultobj;
3243}
3244
3245#define wxWindow_Lower(_swigobj) (_swigobj->Lower())
efc5f224 3246static PyObject *_wrap_wxWindow_Lower(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3247 PyObject * _resultobj;
3248 wxWindow * _arg0;
1d99702e 3249 PyObject * _argo0 = 0;
efc5f224 3250 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3251
3252 self = self;
efc5f224 3253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Lower",_kwnames,&_argo0))
8ab979d7 3254 return NULL;
1d99702e
RD
3255 if (_argo0) {
3256 if (_argo0 == Py_None) { _arg0 = NULL; }
3257 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3258 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
3259 return NULL;
3260 }
3261 }
cf694132 3262{
4268f798 3263 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3264 wxWindow_Lower(_arg0);
cf694132 3265
4268f798 3266 wxPyEndAllowThreads(__tstate);
493f1553 3267 if (PyErr_Occurred()) return NULL;
cf694132 3268} Py_INCREF(Py_None);
8ab979d7
RD
3269 _resultobj = Py_None;
3270 return _resultobj;
3271}
3272
3273#define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
efc5f224 3274static PyObject *_wrap_wxWindow_MakeModal(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3275 PyObject * _resultobj;
3276 wxWindow * _arg0;
900d9886 3277 bool _arg1 = (bool ) TRUE;
1d99702e 3278 PyObject * _argo0 = 0;
900d9886 3279 int tempbool1 = (int) TRUE;
efc5f224 3280 char *_kwnames[] = { "self","flag", NULL };
8ab979d7
RD
3281
3282 self = self;
900d9886 3283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_MakeModal",_kwnames,&_argo0,&tempbool1))
8ab979d7 3284 return NULL;
1d99702e
RD
3285 if (_argo0) {
3286 if (_argo0 == Py_None) { _arg0 = NULL; }
3287 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3288 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
3289 return NULL;
3290 }
3291 }
3292 _arg1 = (bool ) tempbool1;
cf694132 3293{
4268f798 3294 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3295 wxWindow_MakeModal(_arg0,_arg1);
cf694132 3296
4268f798 3297 wxPyEndAllowThreads(__tstate);
493f1553 3298 if (PyErr_Occurred()) return NULL;
cf694132 3299} Py_INCREF(Py_None);
8ab979d7
RD
3300 _resultobj = Py_None;
3301 return _resultobj;
3302}
3303
23bed520 3304#define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Move(_swigarg0,_swigarg1,_swigarg2))
efc5f224 3305static PyObject *_wrap_wxWindow_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3306 PyObject * _resultobj;
3307 wxWindow * _arg0;
3308 int _arg1;
3309 int _arg2;
23bed520 3310 int _arg3 = (int ) wxSIZE_USE_EXISTING;
1d99702e 3311 PyObject * _argo0 = 0;
23bed520 3312 char *_kwnames[] = { "self","x","y","flags", NULL };
8ab979d7
RD
3313
3314 self = self;
23bed520 3315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxWindow_MoveXY",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
af309447 3316 return NULL;
1d99702e
RD
3317 if (_argo0) {
3318 if (_argo0 == Py_None) { _arg0 = NULL; }
3319 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
af309447
RD
3320 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
3321 return NULL;
3322 }
3323 }
cf694132 3324{
4268f798 3325 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3326 wxWindow_MoveXY(_arg0,_arg1,_arg2,_arg3);
cf694132 3327
4268f798 3328 wxPyEndAllowThreads(__tstate);
493f1553 3329 if (PyErr_Occurred()) return NULL;
cf694132 3330} Py_INCREF(Py_None);
af309447
RD
3331 _resultobj = Py_None;
3332 return _resultobj;
3333}
3334
23bed520 3335#define wxWindow_Move(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
efc5f224 3336static PyObject *_wrap_wxWindow_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
3337 PyObject * _resultobj;
3338 wxWindow * _arg0;
3339 wxPoint * _arg1;
23bed520 3340 int _arg2 = (int ) wxSIZE_USE_EXISTING;
1d99702e 3341 PyObject * _argo0 = 0;
2f90df85
RD
3342 wxPoint temp;
3343 PyObject * _obj1 = 0;
23bed520 3344 char *_kwnames[] = { "self","point","flags", NULL };
af309447
RD
3345
3346 self = self;
23bed520 3347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxWindow_Move",_kwnames,&_argo0,&_obj1,&_arg2))
8ab979d7 3348 return NULL;
1d99702e
RD
3349 if (_argo0) {
3350 if (_argo0 == Py_None) { _arg0 = NULL; }
3351 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3352 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
3353 return NULL;
3354 }
3355 }
2f90df85
RD
3356{
3357 _arg1 = &temp;
3358 if (! wxPoint_helper(_obj1, &_arg1))
af309447 3359 return NULL;
2f90df85 3360}
cf694132 3361{
4268f798 3362 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3363 wxWindow_Move(_arg0,*_arg1,_arg2);
cf694132 3364
4268f798 3365 wxPyEndAllowThreads(__tstate);
493f1553 3366 if (PyErr_Occurred()) return NULL;
cf694132 3367} Py_INCREF(Py_None);
8ab979d7
RD
3368 _resultobj = Py_None;
3369 return _resultobj;
3370}
3371
1afc06c2
RD
3372#define wxWindow_PopEventHandler(_swigobj,_swigarg0) (_swigobj->PopEventHandler(_swigarg0))
3373static PyObject *_wrap_wxWindow_PopEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
3374 PyObject * _resultobj;
3375 wxEvtHandler * _result;
3376 wxWindow * _arg0;
3377 bool _arg1 = (bool ) FALSE;
3378 PyObject * _argo0 = 0;
3379 int tempbool1 = (int) FALSE;
3380 char *_kwnames[] = { "self","deleteHandler", NULL };
1afc06c2
RD
3381
3382 self = self;
3383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_PopEventHandler",_kwnames,&_argo0,&tempbool1))
3384 return NULL;
3385 if (_argo0) {
3386 if (_argo0 == Py_None) { _arg0 = NULL; }
3387 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3388 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PopEventHandler. Expected _wxWindow_p.");
3389 return NULL;
3390 }
3391 }
3392 _arg1 = (bool ) tempbool1;
3393{
4268f798 3394 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3395 _result = (wxEvtHandler *)wxWindow_PopEventHandler(_arg0,_arg1);
1afc06c2 3396
4268f798 3397 wxPyEndAllowThreads(__tstate);
493f1553 3398 if (PyErr_Occurred()) return NULL;
9416aa89 3399}{ _resultobj = wxPyMake_wxObject(_result); }
1afc06c2
RD
3400 return _resultobj;
3401}
3402
3403#define wxWindow_PushEventHandler(_swigobj,_swigarg0) (_swigobj->PushEventHandler(_swigarg0))
3404static PyObject *_wrap_wxWindow_PushEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
3405 PyObject * _resultobj;
3406 wxWindow * _arg0;
3407 wxEvtHandler * _arg1;
3408 PyObject * _argo0 = 0;
3409 PyObject * _argo1 = 0;
3410 char *_kwnames[] = { "self","handler", NULL };
3411
3412 self = self;
3413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_PushEventHandler",_kwnames,&_argo0,&_argo1))
3414 return NULL;
3415 if (_argo0) {
3416 if (_argo0 == Py_None) { _arg0 = NULL; }
3417 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3418 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PushEventHandler. Expected _wxWindow_p.");
3419 return NULL;
3420 }
3421 }
3422 if (_argo1) {
3423 if (_argo1 == Py_None) { _arg1 = NULL; }
3424 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
3425 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_PushEventHandler. Expected _wxEvtHandler_p.");
3426 return NULL;
3427 }
3428 }
3429{
4268f798 3430 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3431 wxWindow_PushEventHandler(_arg0,_arg1);
1afc06c2 3432
4268f798 3433 wxPyEndAllowThreads(__tstate);
493f1553 3434 if (PyErr_Occurred()) return NULL;
1afc06c2
RD
3435} Py_INCREF(Py_None);
3436 _resultobj = Py_None;
3437 return _resultobj;
3438}
3439
c6c593e8
RD
3440#define wxWindow_RemoveEventHandler(_swigobj,_swigarg0) (_swigobj->RemoveEventHandler(_swigarg0))
3441static PyObject *_wrap_wxWindow_RemoveEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
3442 PyObject * _resultobj;
3443 bool _result;
3444 wxWindow * _arg0;
3445 wxEvtHandler * _arg1;
3446 PyObject * _argo0 = 0;
3447 PyObject * _argo1 = 0;
3448 char *_kwnames[] = { "self","handler", NULL };
3449
3450 self = self;
3451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_RemoveEventHandler",_kwnames,&_argo0,&_argo1))
3452 return NULL;
3453 if (_argo0) {
3454 if (_argo0 == Py_None) { _arg0 = NULL; }
3455 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3456 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_RemoveEventHandler. Expected _wxWindow_p.");
3457 return NULL;
3458 }
3459 }
3460 if (_argo1) {
3461 if (_argo1 == Py_None) { _arg1 = NULL; }
3462 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
3463 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_RemoveEventHandler. Expected _wxEvtHandler_p.");
3464 return NULL;
3465 }
3466 }
3467{
3468 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3469 _result = (bool )wxWindow_RemoveEventHandler(_arg0,_arg1);
c6c593e8
RD
3470
3471 wxPyEndAllowThreads(__tstate);
3472 if (PyErr_Occurred()) return NULL;
3473} _resultobj = Py_BuildValue("i",_result);
3474 return _resultobj;
3475}
3476
8bf5d46e 3477#define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
efc5f224 3478static PyObject *_wrap_wxWindow_PopupMenuXY(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3479 PyObject * _resultobj;
3480 bool _result;
3481 wxWindow * _arg0;
3482 wxMenu * _arg1;
3483 int _arg2;
3484 int _arg3;
1d99702e
RD
3485 PyObject * _argo0 = 0;
3486 PyObject * _argo1 = 0;
efc5f224 3487 char *_kwnames[] = { "self","menu","x","y", NULL };
8ab979d7
RD
3488
3489 self = self;
efc5f224 3490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxWindow_PopupMenuXY",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
8bf5d46e 3491 return NULL;
1d99702e
RD
3492 if (_argo0) {
3493 if (_argo0 == Py_None) { _arg0 = NULL; }
3494 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8bf5d46e
RD
3495 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
3496 return NULL;
3497 }
3498 }
1d99702e
RD
3499 if (_argo1) {
3500 if (_argo1 == Py_None) { _arg1 = NULL; }
3501 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
8bf5d46e
RD
3502 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
3503 return NULL;
3504 }
3505 }
3506{
4268f798 3507 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3508 _result = (bool )wxWindow_PopupMenuXY(_arg0,_arg1,_arg2,_arg3);
8bf5d46e 3509
4268f798 3510 wxPyEndAllowThreads(__tstate);
493f1553 3511 if (PyErr_Occurred()) return NULL;
8bf5d46e
RD
3512} _resultobj = Py_BuildValue("i",_result);
3513 return _resultobj;
3514}
3515
3516#define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
efc5f224 3517static PyObject *_wrap_wxWindow_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
8bf5d46e
RD
3518 PyObject * _resultobj;
3519 bool _result;
3520 wxWindow * _arg0;
3521 wxMenu * _arg1;
3522 wxPoint * _arg2;
1d99702e
RD
3523 PyObject * _argo0 = 0;
3524 PyObject * _argo1 = 0;
2f90df85
RD
3525 wxPoint temp;
3526 PyObject * _obj2 = 0;
efc5f224 3527 char *_kwnames[] = { "self","menu","pos", NULL };
8bf5d46e
RD
3528
3529 self = self;
2f90df85 3530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxWindow_PopupMenu",_kwnames,&_argo0,&_argo1,&_obj2))
8ab979d7 3531 return NULL;
1d99702e
RD
3532 if (_argo0) {
3533 if (_argo0 == Py_None) { _arg0 = NULL; }
3534 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3535 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
3536 return NULL;
3537 }
3538 }
1d99702e
RD
3539 if (_argo1) {
3540 if (_argo1 == Py_None) { _arg1 = NULL; }
3541 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
8ab979d7
RD
3542 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
3543 return NULL;
3544 }
3545 }
2f90df85
RD
3546{
3547 _arg2 = &temp;
3548 if (! wxPoint_helper(_obj2, &_arg2))
8bf5d46e 3549 return NULL;
2f90df85 3550}
cf694132 3551{
4268f798 3552 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3553 _result = (bool )wxWindow_PopupMenu(_arg0,_arg1,*_arg2);
cf694132 3554
4268f798 3555 wxPyEndAllowThreads(__tstate);
493f1553 3556 if (PyErr_Occurred()) return NULL;
cf694132 3557} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3558 return _resultobj;
3559}
3560
3561#define wxWindow_Raise(_swigobj) (_swigobj->Raise())
efc5f224 3562static PyObject *_wrap_wxWindow_Raise(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3563 PyObject * _resultobj;
3564 wxWindow * _arg0;
1d99702e 3565 PyObject * _argo0 = 0;
efc5f224 3566 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3567
3568 self = self;
efc5f224 3569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Raise",_kwnames,&_argo0))
8ab979d7 3570 return NULL;
1d99702e
RD
3571 if (_argo0) {
3572 if (_argo0 == Py_None) { _arg0 = NULL; }
3573 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3574 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
3575 return NULL;
3576 }
3577 }
cf694132 3578{
4268f798 3579 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3580 wxWindow_Raise(_arg0);
cf694132 3581
4268f798 3582 wxPyEndAllowThreads(__tstate);
493f1553 3583 if (PyErr_Occurred()) return NULL;
cf694132 3584} Py_INCREF(Py_None);
8ab979d7
RD
3585 _resultobj = Py_None;
3586 return _resultobj;
3587}
3588
3589#define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
efc5f224 3590static PyObject *_wrap_wxWindow_Refresh(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3591 PyObject * _resultobj;
3592 wxWindow * _arg0;
1d99702e
RD
3593 bool _arg1 = (bool ) TRUE;
3594 wxRect * _arg2 = (wxRect *) NULL;
3595 PyObject * _argo0 = 0;
3596 int tempbool1 = (int) TRUE;
2f90df85
RD
3597 wxRect temp;
3598 PyObject * _obj2 = 0;
efc5f224 3599 char *_kwnames[] = { "self","eraseBackground","rect", NULL };
8ab979d7
RD
3600
3601 self = self;
2f90df85 3602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iO:wxWindow_Refresh",_kwnames,&_argo0,&tempbool1,&_obj2))
8ab979d7 3603 return NULL;
1d99702e
RD
3604 if (_argo0) {
3605 if (_argo0 == Py_None) { _arg0 = NULL; }
3606 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3607 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
3608 return NULL;
3609 }
3610 }
3611 _arg1 = (bool ) tempbool1;
2f90df85
RD
3612 if (_obj2)
3613{
3614 _arg2 = &temp;
3615 if (! wxRect_helper(_obj2, &_arg2))
8ab979d7 3616 return NULL;
2f90df85 3617}
cf694132 3618{
4268f798 3619 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3620 wxWindow_Refresh(_arg0,_arg1,_arg2);
cf694132 3621
4268f798 3622 wxPyEndAllowThreads(__tstate);
493f1553 3623 if (PyErr_Occurred()) return NULL;
cf694132 3624} Py_INCREF(Py_None);
8ab979d7
RD
3625 _resultobj = Py_None;
3626 return _resultobj;
3627}
3628
09f3d4e6
RD
3629#define wxWindow_RefreshRect(_swigobj,_swigarg0) (_swigobj->RefreshRect(_swigarg0))
3630static PyObject *_wrap_wxWindow_RefreshRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3631 PyObject * _resultobj;
3632 wxWindow * _arg0;
3633 wxRect * _arg1;
3634 PyObject * _argo0 = 0;
3635 wxRect temp;
3636 PyObject * _obj1 = 0;
3637 char *_kwnames[] = { "self","rect", NULL };
3638
3639 self = self;
3640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_RefreshRect",_kwnames,&_argo0,&_obj1))
3641 return NULL;
3642 if (_argo0) {
3643 if (_argo0 == Py_None) { _arg0 = NULL; }
3644 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3645 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_RefreshRect. Expected _wxWindow_p.");
3646 return NULL;
3647 }
3648 }
3649{
3650 _arg1 = &temp;
3651 if (! wxRect_helper(_obj1, &_arg1))
3652 return NULL;
3653}
3654{
4268f798 3655 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3656 wxWindow_RefreshRect(_arg0,*_arg1);
09f3d4e6 3657
4268f798 3658 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
3659 if (PyErr_Occurred()) return NULL;
3660} Py_INCREF(Py_None);
3661 _resultobj = Py_None;
3662 return _resultobj;
3663}
3664
8ab979d7 3665#define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
efc5f224 3666static PyObject *_wrap_wxWindow_ReleaseMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3667 PyObject * _resultobj;
3668 wxWindow * _arg0;
1d99702e 3669 PyObject * _argo0 = 0;
efc5f224 3670 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3671
3672 self = self;
efc5f224 3673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_ReleaseMouse",_kwnames,&_argo0))
8ab979d7 3674 return NULL;
1d99702e
RD
3675 if (_argo0) {
3676 if (_argo0 == Py_None) { _arg0 = NULL; }
3677 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3678 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
3679 return NULL;
3680 }
3681 }
cf694132 3682{
4268f798 3683 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3684 wxWindow_ReleaseMouse(_arg0);
cf694132 3685
4268f798 3686 wxPyEndAllowThreads(__tstate);
493f1553 3687 if (PyErr_Occurred()) return NULL;
cf694132 3688} Py_INCREF(Py_None);
8ab979d7
RD
3689 _resultobj = Py_None;
3690 return _resultobj;
3691}
3692
b7e72427
RD
3693#define wxWindow_RemoveChild(_swigobj,_swigarg0) (_swigobj->RemoveChild(_swigarg0))
3694static PyObject *_wrap_wxWindow_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
3695 PyObject * _resultobj;
3696 wxWindow * _arg0;
3697 wxWindow * _arg1;
3698 PyObject * _argo0 = 0;
3699 PyObject * _argo1 = 0;
3700 char *_kwnames[] = { "self","child", NULL };
3701
3702 self = self;
3703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_RemoveChild",_kwnames,&_argo0,&_argo1))
3704 return NULL;
3705 if (_argo0) {
3706 if (_argo0 == Py_None) { _arg0 = NULL; }
3707 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3708 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3709 return NULL;
3710 }
3711 }
3712 if (_argo1) {
3713 if (_argo1 == Py_None) { _arg1 = NULL; }
3714 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
3715 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3716 return NULL;
3717 }
3718 }
3719{
4268f798 3720 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3721 wxWindow_RemoveChild(_arg0,_arg1);
b7e72427 3722
4268f798 3723 wxPyEndAllowThreads(__tstate);
493f1553 3724 if (PyErr_Occurred()) return NULL;
b7e72427
RD
3725} Py_INCREF(Py_None);
3726 _resultobj = Py_None;
3727 return _resultobj;
3728}
3729
bb0054cd 3730#define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
efc5f224 3731static PyObject *_wrap_wxWindow_Reparent(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
3732 PyObject * _resultobj;
3733 bool _result;
3734 wxWindow * _arg0;
3735 wxWindow * _arg1;
1d99702e
RD
3736 PyObject * _argo0 = 0;
3737 PyObject * _argo1 = 0;
efc5f224 3738 char *_kwnames[] = { "self","newParent", NULL };
bb0054cd
RD
3739
3740 self = self;
efc5f224 3741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_Reparent",_kwnames,&_argo0,&_argo1))
bb0054cd 3742 return NULL;
1d99702e
RD
3743 if (_argo0) {
3744 if (_argo0 == Py_None) { _arg0 = NULL; }
3745 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
bb0054cd
RD
3746 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
3747 return NULL;
3748 }
3749 }
1d99702e
RD
3750 if (_argo1) {
3751 if (_argo1 == Py_None) { _arg1 = NULL; }
3752 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
bb0054cd
RD
3753 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
3754 return NULL;
3755 }
3756 }
3757{
4268f798 3758 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3759 _result = (bool )wxWindow_Reparent(_arg0,_arg1);
bb0054cd 3760
4268f798 3761 wxPyEndAllowThreads(__tstate);
493f1553 3762 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
3763} _resultobj = Py_BuildValue("i",_result);
3764 return _resultobj;
3765}
3766
af309447 3767#define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
efc5f224 3768static PyObject *_wrap_wxWindow_ScreenToClientXY(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3769 PyObject * _resultobj;
3770 wxWindow * _arg0;
3771 int * _arg1;
3772 int * _arg2;
1d99702e 3773 PyObject * _argo0 = 0;
8ab979d7
RD
3774 int temp;
3775 PyObject * _obj1 = 0;
3776 int temp0;
3777 PyObject * _obj2 = 0;
efc5f224 3778 char *_kwnames[] = { "self","x","y", NULL };
8ab979d7
RD
3779
3780 self = self;
efc5f224 3781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxWindow_ScreenToClientXY",_kwnames,&_argo0,&_obj1,&_obj2))
8ab979d7 3782 return NULL;
1d99702e
RD
3783 if (_argo0) {
3784 if (_argo0 == Py_None) { _arg0 = NULL; }
3785 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
af309447 3786 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
8ab979d7
RD
3787 return NULL;
3788 }
3789 }
3790{
3791 temp = (int) PyInt_AsLong(_obj1);
3792 _arg1 = &temp;
3793}
3794{
3795 temp0 = (int) PyInt_AsLong(_obj2);
3796 _arg2 = &temp0;
3797}
cf694132 3798{
4268f798 3799 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3800 wxWindow_ScreenToClientXY(_arg0,_arg1,_arg2);
cf694132 3801
4268f798 3802 wxPyEndAllowThreads(__tstate);
493f1553 3803 if (PyErr_Occurred()) return NULL;
cf694132 3804} Py_INCREF(Py_None);
8ab979d7
RD
3805 _resultobj = Py_None;
3806{
3807 PyObject *o;
3808 o = PyInt_FromLong((long) (*_arg1));
3809 _resultobj = t_output_helper(_resultobj, o);
3810}
3811{
3812 PyObject *o;
3813 o = PyInt_FromLong((long) (*_arg2));
3814 _resultobj = t_output_helper(_resultobj, o);
3815}
3816 return _resultobj;
3817}
3818
af309447 3819#define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
efc5f224 3820static PyObject *_wrap_wxWindow_ScreenToClient(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
3821 PyObject * _resultobj;
3822 wxPoint * _result;
3823 wxWindow * _arg0;
3824 wxPoint * _arg1;
1d99702e 3825 PyObject * _argo0 = 0;
2f90df85
RD
3826 wxPoint temp;
3827 PyObject * _obj1 = 0;
efc5f224 3828 char *_kwnames[] = { "self","pt", NULL };
af309447
RD
3829 char _ptemp[128];
3830
3831 self = self;
2f90df85 3832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ScreenToClient",_kwnames,&_argo0,&_obj1))
af309447 3833 return NULL;
1d99702e
RD
3834 if (_argo0) {
3835 if (_argo0 == Py_None) { _arg0 = NULL; }
3836 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
af309447
RD
3837 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
3838 return NULL;
3839 }
3840 }
2f90df85
RD
3841{
3842 _arg1 = &temp;
3843 if (! wxPoint_helper(_obj1, &_arg1))
af309447 3844 return NULL;
2f90df85 3845}
cf694132 3846{
4268f798 3847 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3848 _result = new wxPoint (wxWindow_ScreenToClient(_arg0,*_arg1));
cf694132 3849
4268f798 3850 wxPyEndAllowThreads(__tstate);
493f1553 3851 if (PyErr_Occurred()) return NULL;
cf694132 3852} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
af309447
RD
3853 _resultobj = Py_BuildValue("s",_ptemp);
3854 return _resultobj;
3855}
3856
8ab979d7 3857#define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
efc5f224 3858static PyObject *_wrap_wxWindow_ScrollWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3859 PyObject * _resultobj;
3860 wxWindow * _arg0;
3861 int _arg1;
3862 int _arg2;
1d99702e
RD
3863 wxRect * _arg3 = (wxRect *) NULL;
3864 PyObject * _argo0 = 0;
2f90df85
RD
3865 wxRect temp;
3866 PyObject * _obj3 = 0;
efc5f224 3867 char *_kwnames[] = { "self","dx","dy","rect", NULL };
8ab979d7
RD
3868
3869 self = self;
2f90df85 3870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|O:wxWindow_ScrollWindow",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
8ab979d7 3871 return NULL;
1d99702e
RD
3872 if (_argo0) {
3873 if (_argo0 == Py_None) { _arg0 = NULL; }
3874 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3875 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
3876 return NULL;
3877 }
3878 }
2f90df85
RD
3879 if (_obj3)
3880{
3881 _arg3 = &temp;
3882 if (! wxRect_helper(_obj3, &_arg3))
8ab979d7 3883 return NULL;
2f90df85 3884}
cf694132 3885{
4268f798 3886 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3887 wxWindow_ScrollWindow(_arg0,_arg1,_arg2,_arg3);
cf694132 3888
4268f798 3889 wxPyEndAllowThreads(__tstate);
493f1553 3890 if (PyErr_Occurred()) return NULL;
cf694132 3891} Py_INCREF(Py_None);
8ab979d7
RD
3892 _resultobj = Py_None;
3893 return _resultobj;
3894}
3895
3896#define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
efc5f224 3897static PyObject *_wrap_wxWindow_SetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3898 PyObject * _resultobj;
3899 wxWindow * _arg0;
3900 bool _arg1;
1d99702e 3901 PyObject * _argo0 = 0;
8ab979d7 3902 int tempbool1;
efc5f224 3903 char *_kwnames[] = { "self","autoLayout", NULL };
8ab979d7
RD
3904
3905 self = self;
efc5f224 3906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_SetAutoLayout",_kwnames,&_argo0,&tempbool1))
8ab979d7 3907 return NULL;
1d99702e
RD
3908 if (_argo0) {
3909 if (_argo0 == Py_None) { _arg0 = NULL; }
3910 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3911 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
3912 return NULL;
3913 }
3914 }
3915 _arg1 = (bool ) tempbool1;
cf694132 3916{
4268f798 3917 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3918 wxWindow_SetAutoLayout(_arg0,_arg1);
cf694132 3919
4268f798 3920 wxPyEndAllowThreads(__tstate);
493f1553 3921 if (PyErr_Occurred()) return NULL;
cf694132 3922} Py_INCREF(Py_None);
8ab979d7
RD
3923 _resultobj = Py_None;
3924 return _resultobj;
3925}
3926
9d8bd15f
RD
3927#define wxWindow_GetAutoLayout(_swigobj) (_swigobj->GetAutoLayout())
3928static PyObject *_wrap_wxWindow_GetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
3929 PyObject * _resultobj;
3930 bool _result;
3931 wxWindow * _arg0;
3932 PyObject * _argo0 = 0;
3933 char *_kwnames[] = { "self", NULL };
3934
3935 self = self;
3936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetAutoLayout",_kwnames,&_argo0))
3937 return NULL;
3938 if (_argo0) {
3939 if (_argo0 == Py_None) { _arg0 = NULL; }
3940 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3941 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetAutoLayout. Expected _wxWindow_p.");
3942 return NULL;
3943 }
3944 }
3945{
4268f798 3946 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3947 _result = (bool )wxWindow_GetAutoLayout(_arg0);
9d8bd15f 3948
4268f798 3949 wxPyEndAllowThreads(__tstate);
493f1553 3950 if (PyErr_Occurred()) return NULL;
9d8bd15f
RD
3951} _resultobj = Py_BuildValue("i",_result);
3952 return _resultobj;
3953}
3954
8ab979d7 3955#define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
efc5f224 3956static PyObject *_wrap_wxWindow_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3957 PyObject * _resultobj;
3958 wxWindow * _arg0;
3959 wxColour * _arg1;
1d99702e 3960 PyObject * _argo0 = 0;
f6bcfd97
BP
3961 wxColour temp;
3962 PyObject * _obj1 = 0;
efc5f224 3963 char *_kwnames[] = { "self","colour", NULL };
8ab979d7
RD
3964
3965 self = self;
f6bcfd97 3966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
8ab979d7 3967 return NULL;
1d99702e
RD
3968 if (_argo0) {
3969 if (_argo0 == Py_None) { _arg0 = NULL; }
3970 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3971 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
3972 return NULL;
3973 }
3974 }
f6bcfd97
BP
3975{
3976 _arg1 = &temp;
3977 if (! wxColour_helper(_obj1, &_arg1))
8ab979d7 3978 return NULL;
f6bcfd97 3979}
cf694132 3980{
4268f798 3981 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3982 wxWindow_SetBackgroundColour(_arg0,*_arg1);
cf694132 3983
4268f798 3984 wxPyEndAllowThreads(__tstate);
493f1553 3985 if (PyErr_Occurred()) return NULL;
cf694132 3986} Py_INCREF(Py_None);
8ab979d7
RD
3987 _resultobj = Py_None;
3988 return _resultobj;
3989}
3990
3991#define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
efc5f224 3992static PyObject *_wrap_wxWindow_SetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3993 PyObject * _resultobj;
3994 wxWindow * _arg0;
3995 wxLayoutConstraints * _arg1;
1d99702e
RD
3996 PyObject * _argo0 = 0;
3997 PyObject * _argo1 = 0;
efc5f224 3998 char *_kwnames[] = { "self","constraints", NULL };
8ab979d7
RD
3999
4000 self = self;
efc5f224 4001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetConstraints",_kwnames,&_argo0,&_argo1))
8ab979d7 4002 return NULL;
1d99702e
RD
4003 if (_argo0) {
4004 if (_argo0 == Py_None) { _arg0 = NULL; }
4005 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4006 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
4007 return NULL;
4008 }
4009 }
1d99702e
RD
4010 if (_argo1) {
4011 if (_argo1 == Py_None) { _arg1 = NULL; }
4012 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxLayoutConstraints_p")) {
8ab979d7
RD
4013 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
4014 return NULL;
4015 }
4016 }
cf694132 4017{
4268f798 4018 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4019 wxWindow_SetConstraints(_arg0,_arg1);
cf694132 4020
4268f798 4021 wxPyEndAllowThreads(__tstate);
493f1553 4022 if (PyErr_Occurred()) return NULL;
cf694132 4023} Py_INCREF(Py_None);
8ab979d7
RD
4024 _resultobj = Py_None;
4025 return _resultobj;
4026}
4027
2f90df85
RD
4028#define wxWindow_UnsetConstraints(_swigobj,_swigarg0) (_swigobj->UnsetConstraints(_swigarg0))
4029static PyObject *_wrap_wxWindow_UnsetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
4030 PyObject * _resultobj;
4031 wxWindow * _arg0;
4032 wxLayoutConstraints * _arg1;
4033 PyObject * _argo0 = 0;
4034 PyObject * _argo1 = 0;
4035 char *_kwnames[] = { "self","constraints", NULL };
4036
4037 self = self;
4038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_UnsetConstraints",_kwnames,&_argo0,&_argo1))
4039 return NULL;
4040 if (_argo0) {
4041 if (_argo0 == Py_None) { _arg0 = NULL; }
4042 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4043 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_UnsetConstraints. Expected _wxWindow_p.");
4044 return NULL;
4045 }
4046 }
4047 if (_argo1) {
4048 if (_argo1 == Py_None) { _arg1 = NULL; }
4049 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxLayoutConstraints_p")) {
4050 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_UnsetConstraints. Expected _wxLayoutConstraints_p.");
4051 return NULL;
4052 }
4053 }
4054{
4268f798 4055 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4056 wxWindow_UnsetConstraints(_arg0,_arg1);
2f90df85 4057
4268f798 4058 wxPyEndAllowThreads(__tstate);
493f1553 4059 if (PyErr_Occurred()) return NULL;
2f90df85
RD
4060} Py_INCREF(Py_None);
4061 _resultobj = Py_None;
4062 return _resultobj;
4063}
4064
8ab979d7 4065#define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
efc5f224 4066static PyObject *_wrap_wxWindow_SetFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4067 PyObject * _resultobj;
4068 wxWindow * _arg0;
1d99702e 4069 PyObject * _argo0 = 0;
efc5f224 4070 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4071
4072 self = self;
efc5f224 4073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_SetFocus",_kwnames,&_argo0))
8ab979d7 4074 return NULL;
1d99702e
RD
4075 if (_argo0) {
4076 if (_argo0 == Py_None) { _arg0 = NULL; }
4077 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4078 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
4079 return NULL;
4080 }
4081 }
cf694132 4082{
4268f798 4083 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4084 wxWindow_SetFocus(_arg0);
cf694132 4085
4268f798 4086 wxPyEndAllowThreads(__tstate);
493f1553 4087 if (PyErr_Occurred()) return NULL;
cf694132 4088} Py_INCREF(Py_None);
8ab979d7
RD
4089 _resultobj = Py_None;
4090 return _resultobj;
4091}
4092
2f90df85
RD
4093#define wxWindow_AcceptsFocus(_swigobj) (_swigobj->AcceptsFocus())
4094static PyObject *_wrap_wxWindow_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
4095 PyObject * _resultobj;
4096 bool _result;
4097 wxWindow * _arg0;
4098 PyObject * _argo0 = 0;
4099 char *_kwnames[] = { "self", NULL };
4100
4101 self = self;
4102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_AcceptsFocus",_kwnames,&_argo0))
4103 return NULL;
4104 if (_argo0) {
4105 if (_argo0 == Py_None) { _arg0 = NULL; }
4106 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4107 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_AcceptsFocus. Expected _wxWindow_p.");
4108 return NULL;
4109 }
4110 }
4111{
4268f798 4112 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4113 _result = (bool )wxWindow_AcceptsFocus(_arg0);
2f90df85 4114
4268f798 4115 wxPyEndAllowThreads(__tstate);
493f1553 4116 if (PyErr_Occurred()) return NULL;
2f90df85
RD
4117} _resultobj = Py_BuildValue("i",_result);
4118 return _resultobj;
4119}
4120
8ab979d7 4121#define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
efc5f224 4122static PyObject *_wrap_wxWindow_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4123 PyObject * _resultobj;
4124 wxWindow * _arg0;
4125 wxFont * _arg1;
1d99702e
RD
4126 PyObject * _argo0 = 0;
4127 PyObject * _argo1 = 0;
efc5f224 4128 char *_kwnames[] = { "self","font", NULL };
8ab979d7
RD
4129
4130 self = self;
efc5f224 4131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetFont",_kwnames,&_argo0,&_argo1))
8ab979d7 4132 return NULL;
1d99702e
RD
4133 if (_argo0) {
4134 if (_argo0 == Py_None) { _arg0 = NULL; }
4135 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4136 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
4137 return NULL;
4138 }
4139 }
1d99702e
RD
4140 if (_argo1) {
4141 if (_argo1 == Py_None) { _arg1 = NULL; }
4142 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
8ab979d7
RD
4143 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
4144 return NULL;
4145 }
4146 }
cf694132 4147{
4268f798 4148 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4149 wxWindow_SetFont(_arg0,*_arg1);
cf694132 4150
4268f798 4151 wxPyEndAllowThreads(__tstate);
493f1553 4152 if (PyErr_Occurred()) return NULL;
cf694132 4153} Py_INCREF(Py_None);
8ab979d7
RD
4154 _resultobj = Py_None;
4155 return _resultobj;
4156}
4157
4158#define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
efc5f224 4159static PyObject *_wrap_wxWindow_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4160 PyObject * _resultobj;
4161 wxWindow * _arg0;
4162 wxColour * _arg1;
1d99702e 4163 PyObject * _argo0 = 0;
f6bcfd97
BP
4164 wxColour temp;
4165 PyObject * _obj1 = 0;
efc5f224 4166 char *_kwnames[] = { "self","colour", NULL };
8ab979d7
RD
4167
4168 self = self;
f6bcfd97 4169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetForegroundColour",_kwnames,&_argo0,&_obj1))
8ab979d7 4170 return NULL;
1d99702e
RD
4171 if (_argo0) {
4172 if (_argo0 == Py_None) { _arg0 = NULL; }
4173 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4174 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
4175 return NULL;
4176 }
4177 }
f6bcfd97
BP
4178{
4179 _arg1 = &temp;
4180 if (! wxColour_helper(_obj1, &_arg1))
8ab979d7 4181 return NULL;
f6bcfd97 4182}
cf694132 4183{
4268f798 4184 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4185 wxWindow_SetForegroundColour(_arg0,*_arg1);
cf694132 4186
4268f798 4187 wxPyEndAllowThreads(__tstate);
493f1553 4188 if (PyErr_Occurred()) return NULL;
cf694132 4189} Py_INCREF(Py_None);
8ab979d7
RD
4190 _resultobj = Py_None;
4191 return _resultobj;
4192}
4193
4194#define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
efc5f224 4195static PyObject *_wrap_wxWindow_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4196 PyObject * _resultobj;
4197 wxWindow * _arg0;
4198 int _arg1;
1d99702e 4199 PyObject * _argo0 = 0;
efc5f224 4200 char *_kwnames[] = { "self","id", NULL };
8ab979d7
RD
4201
4202 self = self;
efc5f224 4203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_SetId",_kwnames,&_argo0,&_arg1))
8ab979d7 4204 return NULL;
1d99702e
RD
4205 if (_argo0) {
4206 if (_argo0 == Py_None) { _arg0 = NULL; }
4207 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4208 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
4209 return NULL;
4210 }
4211 }
cf694132 4212{
4268f798 4213 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4214 wxWindow_SetId(_arg0,_arg1);
cf694132 4215
4268f798 4216 wxPyEndAllowThreads(__tstate);
493f1553 4217 if (PyErr_Occurred()) return NULL;
cf694132 4218} Py_INCREF(Py_None);
8ab979d7
RD
4219 _resultobj = Py_None;
4220 return _resultobj;
4221}
4222
4223#define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
efc5f224 4224static PyObject *_wrap_wxWindow_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4225 PyObject * _resultobj;
4226 wxWindow * _arg0;
4227 wxString * _arg1;
1d99702e 4228 PyObject * _argo0 = 0;
8ab979d7 4229 PyObject * _obj1 = 0;
efc5f224 4230 char *_kwnames[] = { "self","name", NULL };
8ab979d7
RD
4231
4232 self = self;
efc5f224 4233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetName",_kwnames,&_argo0,&_obj1))
8ab979d7 4234 return NULL;
1d99702e
RD
4235 if (_argo0) {
4236 if (_argo0 == Py_None) { _arg0 = NULL; }
4237 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4238 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
4239 return NULL;
4240 }
4241 }
4242{
c8bc7bb8
RD
4243 _arg1 = wxString_in_helper(_obj1);
4244 if (_arg1 == NULL)
185d7c3e 4245 return NULL;
8ab979d7 4246}
cf694132 4247{
4268f798 4248 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4249 wxWindow_SetName(_arg0,*_arg1);
cf694132 4250
4268f798 4251 wxPyEndAllowThreads(__tstate);
493f1553 4252 if (PyErr_Occurred()) return NULL;
cf694132 4253} Py_INCREF(Py_None);
8ab979d7
RD
4254 _resultobj = Py_None;
4255{
4256 if (_obj1)
4257 delete _arg1;
4258}
4259 return _resultobj;
4260}
4261
8ab979d7 4262#define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
efc5f224 4263static PyObject *_wrap_wxWindow_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4264 PyObject * _resultobj;
4265 wxWindow * _arg0;
4266 int _arg1;
4267 int _arg2;
4268 int _arg3;
4269 int _arg4;
eb715945 4270 int _arg5 = (int ) TRUE;
1d99702e 4271 PyObject * _argo0 = 0;
efc5f224 4272 char *_kwnames[] = { "self","orientation","position","thumbSize","range","refresh", NULL };
8ab979d7
RD
4273
4274 self = self;
eb715945 4275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxWindow_SetScrollbar",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5))
8ab979d7 4276 return NULL;
1d99702e
RD
4277 if (_argo0) {
4278 if (_argo0 == Py_None) { _arg0 = NULL; }
4279 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4280 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
4281 return NULL;
4282 }
4283 }
cf694132 4284{
4268f798 4285 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4286 wxWindow_SetScrollbar(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
cf694132 4287
4268f798 4288 wxPyEndAllowThreads(__tstate);
493f1553 4289 if (PyErr_Occurred()) return NULL;
cf694132 4290} Py_INCREF(Py_None);
8ab979d7
RD
4291 _resultobj = Py_None;
4292 return _resultobj;
4293}
4294
4295#define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
efc5f224 4296static PyObject *_wrap_wxWindow_SetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4297 PyObject * _resultobj;
4298 wxWindow * _arg0;
4299 int _arg1;
4300 int _arg2;
1d99702e
RD
4301 bool _arg3 = (bool ) TRUE;
4302 PyObject * _argo0 = 0;
4303 int tempbool3 = (int) TRUE;
efc5f224 4304 char *_kwnames[] = { "self","orientation","pos","refresh", NULL };
8ab979d7
RD
4305
4306 self = self;
efc5f224 4307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxWindow_SetScrollPos",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
8ab979d7 4308 return NULL;
1d99702e
RD
4309 if (_argo0) {
4310 if (_argo0 == Py_None) { _arg0 = NULL; }
4311 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4312 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
4313 return NULL;
4314 }
4315 }
4316 _arg3 = (bool ) tempbool3;
cf694132 4317{
4268f798 4318 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4319 wxWindow_SetScrollPos(_arg0,_arg1,_arg2,_arg3);
cf694132 4320
4268f798 4321 wxPyEndAllowThreads(__tstate);
493f1553 4322 if (PyErr_Occurred()) return NULL;
cf694132 4323} Py_INCREF(Py_None);
8ab979d7
RD
4324 _resultobj = Py_None;
4325 return _resultobj;
4326}
4327
4328#define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
efc5f224 4329static PyObject *_wrap_wxWindow_SetDimensions(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4330 PyObject * _resultobj;
4331 wxWindow * _arg0;
4332 int _arg1;
4333 int _arg2;
4334 int _arg3;
4335 int _arg4;
1d99702e
RD
4336 int _arg5 = (int ) wxSIZE_AUTO;
4337 PyObject * _argo0 = 0;
efc5f224 4338 char *_kwnames[] = { "self","x","y","width","height","sizeFlags", NULL };
8ab979d7
RD
4339
4340 self = self;
efc5f224 4341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxWindow_SetDimensions",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5))
8ab979d7 4342 return NULL;
1d99702e
RD
4343 if (_argo0) {
4344 if (_argo0 == Py_None) { _arg0 = NULL; }
4345 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4346 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
4347 return NULL;
4348 }
4349 }
cf694132 4350{
4268f798 4351 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4352 wxWindow_SetDimensions(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
cf694132 4353
4268f798 4354 wxPyEndAllowThreads(__tstate);
493f1553 4355 if (PyErr_Occurred()) return NULL;
cf694132 4356} Py_INCREF(Py_None);
8ab979d7
RD
4357 _resultobj = Py_None;
4358 return _resultobj;
4359}
4360
4361static void wxWindow_SetSize(wxWindow *self,const wxSize & size) {
a1df7a95 4362 self->SetSize(size);
8ab979d7 4363 }
efc5f224 4364static PyObject *_wrap_wxWindow_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4365 PyObject * _resultobj;
4366 wxWindow * _arg0;
4367 wxSize * _arg1;
1d99702e 4368 PyObject * _argo0 = 0;
2f90df85
RD
4369 wxSize temp;
4370 PyObject * _obj1 = 0;
efc5f224 4371 char *_kwnames[] = { "self","size", NULL };
8ab979d7
RD
4372
4373 self = self;
2f90df85 4374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetSize",_kwnames,&_argo0,&_obj1))
8ab979d7 4375 return NULL;
1d99702e
RD
4376 if (_argo0) {
4377 if (_argo0 == Py_None) { _arg0 = NULL; }
4378 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4379 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
4380 return NULL;
4381 }
4382 }
2f90df85
RD
4383{
4384 _arg1 = &temp;
4385 if (! wxSize_helper(_obj1, &_arg1))
8ab979d7 4386 return NULL;
2f90df85 4387}
cf694132 4388{
4268f798 4389 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4390 wxWindow_SetSize(_arg0,*_arg1);
cf694132 4391
4268f798 4392 wxPyEndAllowThreads(__tstate);
493f1553 4393 if (PyErr_Occurred()) return NULL;
cf694132 4394} Py_INCREF(Py_None);
8ab979d7
RD
4395 _resultobj = Py_None;
4396 return _resultobj;
4397}
4398
23bed520
RD
4399static void wxWindow_SetPosition(wxWindow *self,const wxPoint & pos,int flags) {
4400 self->Move(pos, flags);
8ab979d7 4401 }
efc5f224 4402static PyObject *_wrap_wxWindow_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4403 PyObject * _resultobj;
4404 wxWindow * _arg0;
4405 wxPoint * _arg1;
23bed520 4406 int _arg2 = (int ) wxSIZE_USE_EXISTING;
1d99702e 4407 PyObject * _argo0 = 0;
2f90df85
RD
4408 wxPoint temp;
4409 PyObject * _obj1 = 0;
23bed520 4410 char *_kwnames[] = { "self","pos","flags", NULL };
8ab979d7
RD
4411
4412 self = self;
23bed520 4413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxWindow_SetPosition",_kwnames,&_argo0,&_obj1,&_arg2))
8ab979d7 4414 return NULL;
1d99702e
RD
4415 if (_argo0) {
4416 if (_argo0 == Py_None) { _arg0 = NULL; }
4417 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4418 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
4419 return NULL;
4420 }
4421 }
2f90df85
RD
4422{
4423 _arg1 = &temp;
4424 if (! wxPoint_helper(_obj1, &_arg1))
8ab979d7 4425 return NULL;
2f90df85 4426}
cf694132 4427{
4268f798 4428 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4429 wxWindow_SetPosition(_arg0,*_arg1,_arg2);
cf694132 4430
4268f798 4431 wxPyEndAllowThreads(__tstate);
493f1553 4432 if (PyErr_Occurred()) return NULL;
cf694132 4433} Py_INCREF(Py_None);
8ab979d7
RD
4434 _resultobj = Py_None;
4435 return _resultobj;
4436}
4437
dbbb98cd
RD
4438static void wxWindow_SetRect(wxWindow *self,const wxRect & rect,int sizeFlags) {
4439 self->SetSize(rect, sizeFlags);
4440 }
4441static PyObject *_wrap_wxWindow_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
4442 PyObject * _resultobj;
4443 wxWindow * _arg0;
4444 wxRect * _arg1;
4445 int _arg2 = (int ) wxSIZE_AUTO;
4446 PyObject * _argo0 = 0;
4447 wxRect temp;
4448 PyObject * _obj1 = 0;
4449 char *_kwnames[] = { "self","rect","sizeFlags", NULL };
4450
4451 self = self;
4452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxWindow_SetRect",_kwnames,&_argo0,&_obj1,&_arg2))
4453 return NULL;
4454 if (_argo0) {
4455 if (_argo0 == Py_None) { _arg0 = NULL; }
4456 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4457 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetRect. Expected _wxWindow_p.");
4458 return NULL;
4459 }
4460 }
4461{
4462 _arg1 = &temp;
4463 if (! wxRect_helper(_obj1, &_arg1))
4464 return NULL;
4465}
4466{
4268f798 4467 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4468 wxWindow_SetRect(_arg0,*_arg1,_arg2);
dbbb98cd 4469
4268f798 4470 wxPyEndAllowThreads(__tstate);
493f1553 4471 if (PyErr_Occurred()) return NULL;
dbbb98cd
RD
4472} Py_INCREF(Py_None);
4473 _resultobj = Py_None;
4474 return _resultobj;
4475}
4476
8ab979d7 4477#define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
efc5f224 4478static PyObject *_wrap_wxWindow_SetSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4479 PyObject * _resultobj;
4480 wxWindow * _arg0;
1d99702e
RD
4481 int _arg1 = (int ) -1;
4482 int _arg2 = (int ) -1;
4483 int _arg3 = (int ) -1;
4484 int _arg4 = (int ) -1;
4485 int _arg5 = (int ) -1;
4486 int _arg6 = (int ) -1;
4487 PyObject * _argo0 = 0;
efc5f224 4488 char *_kwnames[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL };
8ab979d7
RD
4489
4490 self = self;
efc5f224 4491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iiiiii:wxWindow_SetSizeHints",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6))
8ab979d7 4492 return NULL;
1d99702e
RD
4493 if (_argo0) {
4494 if (_argo0 == Py_None) { _arg0 = NULL; }
4495 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4496 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
4497 return NULL;
4498 }
4499 }
cf694132 4500{
4268f798 4501 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4502 wxWindow_SetSizeHints(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
cf694132 4503
4268f798 4504 wxPyEndAllowThreads(__tstate);
493f1553 4505 if (PyErr_Occurred()) return NULL;
cf694132 4506} Py_INCREF(Py_None);
8ab979d7
RD
4507 _resultobj = Py_None;
4508 return _resultobj;
4509}
4510
af309447 4511#define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
efc5f224 4512static PyObject *_wrap_wxWindow_SetClientSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4513 PyObject * _resultobj;
4514 wxWindow * _arg0;
4515 int _arg1;
4516 int _arg2;
1d99702e 4517 PyObject * _argo0 = 0;
efc5f224 4518 char *_kwnames[] = { "self","width","height", NULL };
8ab979d7
RD
4519
4520 self = self;
efc5f224 4521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxWindow_SetClientSizeWH",_kwnames,&_argo0,&_arg1,&_arg2))
af309447 4522 return NULL;
1d99702e
RD
4523 if (_argo0) {
4524 if (_argo0 == Py_None) { _arg0 = NULL; }
4525 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
af309447
RD
4526 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
4527 return NULL;
4528 }
4529 }
cf694132 4530{
4268f798 4531 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4532 wxWindow_SetClientSizeWH(_arg0,_arg1,_arg2);
cf694132 4533
4268f798 4534 wxPyEndAllowThreads(__tstate);
493f1553 4535 if (PyErr_Occurred()) return NULL;
cf694132 4536} Py_INCREF(Py_None);
af309447
RD
4537 _resultobj = Py_None;
4538 return _resultobj;
4539}
4540
4541#define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
efc5f224 4542static PyObject *_wrap_wxWindow_SetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
4543 PyObject * _resultobj;
4544 wxWindow * _arg0;
4545 wxSize * _arg1;
1d99702e 4546 PyObject * _argo0 = 0;
2f90df85
RD
4547 wxSize temp;
4548 PyObject * _obj1 = 0;
efc5f224 4549 char *_kwnames[] = { "self","size", NULL };
af309447
RD
4550
4551 self = self;
2f90df85 4552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetClientSize",_kwnames,&_argo0,&_obj1))
8ab979d7 4553 return NULL;
1d99702e
RD
4554 if (_argo0) {
4555 if (_argo0 == Py_None) { _arg0 = NULL; }
4556 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4557 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
4558 return NULL;
4559 }
4560 }
2f90df85
RD
4561{
4562 _arg1 = &temp;
4563 if (! wxSize_helper(_obj1, &_arg1))
af309447 4564 return NULL;
2f90df85 4565}
cf694132 4566{
4268f798 4567 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4568 wxWindow_SetClientSize(_arg0,*_arg1);
cf694132 4569
4268f798 4570 wxPyEndAllowThreads(__tstate);
493f1553 4571 if (PyErr_Occurred()) return NULL;
cf694132 4572} Py_INCREF(Py_None);
8ab979d7
RD
4573 _resultobj = Py_None;
4574 return _resultobj;
4575}
4576
4577#define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
efc5f224 4578static PyObject *_wrap_wxWindow_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4579 PyObject * _resultobj;
4580 wxWindow * _arg0;
4581 wxCursor * _arg1;
1d99702e
RD
4582 PyObject * _argo0 = 0;
4583 PyObject * _argo1 = 0;
efc5f224 4584 char *_kwnames[] = { "self","cursor", NULL };
8ab979d7
RD
4585
4586 self = self;
efc5f224 4587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetCursor",_kwnames,&_argo0,&_argo1))
8ab979d7 4588 return NULL;
1d99702e
RD
4589 if (_argo0) {
4590 if (_argo0 == Py_None) { _arg0 = NULL; }
4591 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4592 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
4593 return NULL;
4594 }
4595 }
1d99702e
RD
4596 if (_argo1) {
4597 if (_argo1 == Py_None) { _arg1 = NULL; }
4598 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCursor_p")) {
8ab979d7
RD
4599 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
4600 return NULL;
4601 }
4602 }
cf694132 4603{
4268f798 4604 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4605 wxWindow_SetCursor(_arg0,*_arg1);
cf694132 4606
4268f798 4607 wxPyEndAllowThreads(__tstate);
493f1553 4608 if (PyErr_Occurred()) return NULL;
cf694132 4609} Py_INCREF(Py_None);
8ab979d7
RD
4610 _resultobj = Py_None;
4611 return _resultobj;
4612}
4613
1afc06c2
RD
4614#define wxWindow_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
4615static PyObject *_wrap_wxWindow_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
4616 PyObject * _resultobj;
4617 wxWindow * _arg0;
4618 wxEvtHandler * _arg1;
4619 PyObject * _argo0 = 0;
4620 PyObject * _argo1 = 0;
4621 char *_kwnames[] = { "self","handler", NULL };
4622
4623 self = self;
4624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetEventHandler",_kwnames,&_argo0,&_argo1))
4625 return NULL;
4626 if (_argo0) {
4627 if (_argo0 == Py_None) { _arg0 = NULL; }
4628 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4629 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetEventHandler. Expected _wxWindow_p.");
4630 return NULL;
4631 }
4632 }
4633 if (_argo1) {
4634 if (_argo1 == Py_None) { _arg1 = NULL; }
4635 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
4636 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetEventHandler. Expected _wxEvtHandler_p.");
4637 return NULL;
4638 }
4639 }
4640{
4268f798 4641 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4642 wxWindow_SetEventHandler(_arg0,_arg1);
1afc06c2 4643
4268f798 4644 wxPyEndAllowThreads(__tstate);
493f1553 4645 if (PyErr_Occurred()) return NULL;
1afc06c2
RD
4646} Py_INCREF(Py_None);
4647 _resultobj = Py_None;
4648 return _resultobj;
4649}
4650
83b18bab
RD
4651#define wxWindow_SetExtraStyle(_swigobj,_swigarg0) (_swigobj->SetExtraStyle(_swigarg0))
4652static PyObject *_wrap_wxWindow_SetExtraStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4653 PyObject * _resultobj;
4654 wxWindow * _arg0;
4655 long _arg1;
4656 PyObject * _argo0 = 0;
4657 char *_kwnames[] = { "self","exStyle", NULL };
4658
4659 self = self;
4660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxWindow_SetExtraStyle",_kwnames,&_argo0,&_arg1))
4661 return NULL;
4662 if (_argo0) {
4663 if (_argo0 == Py_None) { _arg0 = NULL; }
4664 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4665 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetExtraStyle. Expected _wxWindow_p.");
4666 return NULL;
4667 }
4668 }
4669{
4268f798 4670 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4671 wxWindow_SetExtraStyle(_arg0,_arg1);
83b18bab 4672
4268f798 4673 wxPyEndAllowThreads(__tstate);
493f1553 4674 if (PyErr_Occurred()) return NULL;
83b18bab
RD
4675} Py_INCREF(Py_None);
4676 _resultobj = Py_None;
4677 return _resultobj;
4678}
4679
8ab979d7 4680#define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
efc5f224 4681static PyObject *_wrap_wxWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4682 PyObject * _resultobj;
4683 wxWindow * _arg0;
4684 wxString * _arg1;
1d99702e 4685 PyObject * _argo0 = 0;
8ab979d7 4686 PyObject * _obj1 = 0;
efc5f224 4687 char *_kwnames[] = { "self","title", NULL };
8ab979d7
RD
4688
4689 self = self;
efc5f224 4690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetTitle",_kwnames,&_argo0,&_obj1))
8ab979d7 4691 return NULL;
1d99702e
RD
4692 if (_argo0) {
4693 if (_argo0 == Py_None) { _arg0 = NULL; }
4694 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4695 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
4696 return NULL;
4697 }
4698 }
4699{
c8bc7bb8
RD
4700 _arg1 = wxString_in_helper(_obj1);
4701 if (_arg1 == NULL)
185d7c3e 4702 return NULL;
8ab979d7 4703}
cf694132 4704{
4268f798 4705 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4706 wxWindow_SetTitle(_arg0,*_arg1);
cf694132 4707
4268f798 4708 wxPyEndAllowThreads(__tstate);
493f1553 4709 if (PyErr_Occurred()) return NULL;
cf694132 4710} Py_INCREF(Py_None);
8ab979d7
RD
4711 _resultobj = Py_None;
4712{
4713 if (_obj1)
4714 delete _arg1;
4715}
4716 return _resultobj;
4717}
4718
4719#define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
efc5f224 4720static PyObject *_wrap_wxWindow_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4721 PyObject * _resultobj;
4722 bool _result;
4723 wxWindow * _arg0;
7b7ac0ab 4724 bool _arg1 = (bool ) TRUE;
1d99702e 4725 PyObject * _argo0 = 0;
7b7ac0ab 4726 int tempbool1 = (int) TRUE;
efc5f224 4727 char *_kwnames[] = { "self","show", NULL };
8ab979d7
RD
4728
4729 self = self;
7b7ac0ab 4730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_Show",_kwnames,&_argo0,&tempbool1))
8ab979d7 4731 return NULL;
1d99702e
RD
4732 if (_argo0) {
4733 if (_argo0 == Py_None) { _arg0 = NULL; }
4734 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4735 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
4736 return NULL;
4737 }
4738 }
4739 _arg1 = (bool ) tempbool1;
cf694132 4740{
4268f798 4741 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4742 _result = (bool )wxWindow_Show(_arg0,_arg1);
cf694132 4743
4268f798 4744 wxPyEndAllowThreads(__tstate);
493f1553 4745 if (PyErr_Occurred()) return NULL;
cf694132 4746} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4747 return _resultobj;
4748}
4749
4750#define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
efc5f224 4751static PyObject *_wrap_wxWindow_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4752 PyObject * _resultobj;
4753 bool _result;
4754 wxWindow * _arg0;
1d99702e 4755 PyObject * _argo0 = 0;
efc5f224 4756 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4757
4758 self = self;
efc5f224 4759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_TransferDataFromWindow",_kwnames,&_argo0))
8ab979d7 4760 return NULL;
1d99702e
RD
4761 if (_argo0) {
4762 if (_argo0 == Py_None) { _arg0 = NULL; }
4763 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4764 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
4765 return NULL;
4766 }
4767 }
cf694132 4768{
4268f798 4769 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4770 _result = (bool )wxWindow_TransferDataFromWindow(_arg0);
cf694132 4771
4268f798 4772 wxPyEndAllowThreads(__tstate);
493f1553 4773 if (PyErr_Occurred()) return NULL;
cf694132 4774} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4775 return _resultobj;
4776}
4777
4778#define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
efc5f224 4779static PyObject *_wrap_wxWindow_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4780 PyObject * _resultobj;
4781 bool _result;
4782 wxWindow * _arg0;
1d99702e 4783 PyObject * _argo0 = 0;
efc5f224 4784 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4785
4786 self = self;
efc5f224 4787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_TransferDataToWindow",_kwnames,&_argo0))
8ab979d7 4788 return NULL;
1d99702e
RD
4789 if (_argo0) {
4790 if (_argo0 == Py_None) { _arg0 = NULL; }
4791 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4792 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
4793 return NULL;
4794 }
4795 }
cf694132 4796{
4268f798 4797 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4798 _result = (bool )wxWindow_TransferDataToWindow(_arg0);
cf694132 4799
4268f798 4800 wxPyEndAllowThreads(__tstate);
493f1553 4801 if (PyErr_Occurred()) return NULL;
cf694132 4802} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4803 return _resultobj;
4804}
4805
23bed520
RD
4806#define wxWindow_UpdateWindowUI(_swigobj) (_swigobj->UpdateWindowUI())
4807static PyObject *_wrap_wxWindow_UpdateWindowUI(PyObject *self, PyObject *args, PyObject *kwargs) {
4808 PyObject * _resultobj;
4809 wxWindow * _arg0;
4810 PyObject * _argo0 = 0;
4811 char *_kwnames[] = { "self", NULL };
4812
4813 self = self;
4814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_UpdateWindowUI",_kwnames,&_argo0))
4815 return NULL;
4816 if (_argo0) {
4817 if (_argo0 == Py_None) { _arg0 = NULL; }
4818 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4819 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_UpdateWindowUI. Expected _wxWindow_p.");
4820 return NULL;
4821 }
4822 }
4823{
4824 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4825 wxWindow_UpdateWindowUI(_arg0);
23bed520
RD
4826
4827 wxPyEndAllowThreads(__tstate);
4828 if (PyErr_Occurred()) return NULL;
4829} Py_INCREF(Py_None);
4830 _resultobj = Py_None;
4831 return _resultobj;
4832}
4833
8ab979d7 4834#define wxWindow_Validate(_swigobj) (_swigobj->Validate())
efc5f224 4835static PyObject *_wrap_wxWindow_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4836 PyObject * _resultobj;
4837 bool _result;
4838 wxWindow * _arg0;
1d99702e 4839 PyObject * _argo0 = 0;
efc5f224 4840 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4841
4842 self = self;
efc5f224 4843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Validate",_kwnames,&_argo0))
8ab979d7 4844 return NULL;
1d99702e
RD
4845 if (_argo0) {
4846 if (_argo0 == Py_None) { _arg0 = NULL; }
4847 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4848 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
4849 return NULL;
4850 }
4851 }
cf694132 4852{
4268f798 4853 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4854 _result = (bool )wxWindow_Validate(_arg0);
cf694132 4855
4268f798 4856 wxPyEndAllowThreads(__tstate);
493f1553 4857 if (PyErr_Occurred()) return NULL;
cf694132 4858} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4859 return _resultobj;
4860}
4861
4862#define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
efc5f224 4863static PyObject *_wrap_wxWindow_WarpPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4864 PyObject * _resultobj;
4865 wxWindow * _arg0;
4866 int _arg1;
4867 int _arg2;
1d99702e 4868 PyObject * _argo0 = 0;
efc5f224 4869 char *_kwnames[] = { "self","x","y", NULL };
8ab979d7
RD
4870
4871 self = self;
efc5f224 4872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxWindow_WarpPointer",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 4873 return NULL;
1d99702e
RD
4874 if (_argo0) {
4875 if (_argo0 == Py_None) { _arg0 = NULL; }
4876 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4877 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
4878 return NULL;
4879 }
4880 }
cf694132 4881{
4268f798 4882 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4883 wxWindow_WarpPointer(_arg0,_arg1,_arg2);
cf694132 4884
4268f798 4885 wxPyEndAllowThreads(__tstate);
493f1553 4886 if (PyErr_Occurred()) return NULL;
cf694132 4887} Py_INCREF(Py_None);
8ab979d7
RD
4888 _resultobj = Py_None;
4889 return _resultobj;
4890}
4891
b8b8dda7 4892#define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
efc5f224 4893static PyObject *_wrap_wxWindow_ConvertDialogPointToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
4894 PyObject * _resultobj;
4895 wxPoint * _result;
4896 wxWindow * _arg0;
4897 wxPoint * _arg1;
1d99702e 4898 PyObject * _argo0 = 0;
2f90df85
RD
4899 wxPoint temp;
4900 PyObject * _obj1 = 0;
efc5f224 4901 char *_kwnames[] = { "self","pt", NULL };
b8b8dda7
RD
4902 char _ptemp[128];
4903
4904 self = self;
2f90df85 4905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames,&_argo0,&_obj1))
b8b8dda7 4906 return NULL;
1d99702e
RD
4907 if (_argo0) {
4908 if (_argo0 == Py_None) { _arg0 = NULL; }
4909 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b8b8dda7
RD
4910 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
4911 return NULL;
4912 }
4913 }
2f90df85
RD
4914{
4915 _arg1 = &temp;
4916 if (! wxPoint_helper(_obj1, &_arg1))
b8b8dda7 4917 return NULL;
2f90df85 4918}
cf694132 4919{
4268f798 4920 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4921 _result = new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0,*_arg1));
cf694132 4922
4268f798 4923 wxPyEndAllowThreads(__tstate);
493f1553 4924 if (PyErr_Occurred()) return NULL;
cf694132 4925} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
b8b8dda7
RD
4926 _resultobj = Py_BuildValue("s",_ptemp);
4927 return _resultobj;
4928}
4929
4930#define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
efc5f224 4931static PyObject *_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
4932 PyObject * _resultobj;
4933 wxSize * _result;
4934 wxWindow * _arg0;
4935 wxSize * _arg1;
1d99702e 4936 PyObject * _argo0 = 0;
2f90df85
RD
4937 wxSize temp;
4938 PyObject * _obj1 = 0;
efc5f224 4939 char *_kwnames[] = { "self","sz", NULL };
b8b8dda7
RD
4940 char _ptemp[128];
4941
4942 self = self;
2f90df85 4943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames,&_argo0,&_obj1))
b8b8dda7 4944 return NULL;
1d99702e
RD
4945 if (_argo0) {
4946 if (_argo0 == Py_None) { _arg0 = NULL; }
4947 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b8b8dda7
RD
4948 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
4949 return NULL;
4950 }
4951 }
2f90df85
RD
4952{
4953 _arg1 = &temp;
4954 if (! wxSize_helper(_obj1, &_arg1))
b8b8dda7 4955 return NULL;
2f90df85 4956}
cf694132 4957{
4268f798 4958 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4959 _result = new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0,*_arg1));
cf694132 4960
4268f798 4961 wxPyEndAllowThreads(__tstate);
493f1553 4962 if (PyErr_Occurred()) return NULL;
cf694132 4963} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
b8b8dda7
RD
4964 _resultobj = Py_BuildValue("s",_ptemp);
4965 return _resultobj;
4966}
4967
4968#define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
efc5f224 4969static PyObject *_wrap_wxWindow_ConvertPixelPointToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
4970 PyObject * _resultobj;
4971 wxPoint * _result;
4972 wxWindow * _arg0;
4973 wxPoint * _arg1;
1d99702e 4974 PyObject * _argo0 = 0;
2f90df85
RD
4975 wxPoint temp;
4976 PyObject * _obj1 = 0;
efc5f224 4977 char *_kwnames[] = { "self","pt", NULL };
b8b8dda7
RD
4978 char _ptemp[128];
4979
4980 self = self;
2f90df85 4981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames,&_argo0,&_obj1))
b8b8dda7 4982 return NULL;
1d99702e
RD
4983 if (_argo0) {
4984 if (_argo0 == Py_None) { _arg0 = NULL; }
4985 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b8b8dda7
RD
4986 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
4987 return NULL;
4988 }
4989 }
2f90df85
RD
4990{
4991 _arg1 = &temp;
4992 if (! wxPoint_helper(_obj1, &_arg1))
b8b8dda7 4993 return NULL;
2f90df85 4994}
cf694132 4995{
4268f798 4996 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4997 _result = new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0,*_arg1));
cf694132 4998
4268f798 4999 wxPyEndAllowThreads(__tstate);
493f1553 5000 if (PyErr_Occurred()) return NULL;
cf694132 5001} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
b8b8dda7
RD
5002 _resultobj = Py_BuildValue("s",_ptemp);
5003 return _resultobj;
5004}
5005
5006#define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
efc5f224 5007static PyObject *_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
5008 PyObject * _resultobj;
5009 wxSize * _result;
5010 wxWindow * _arg0;
5011 wxSize * _arg1;
1d99702e 5012 PyObject * _argo0 = 0;
2f90df85
RD
5013 wxSize temp;
5014 PyObject * _obj1 = 0;
efc5f224 5015 char *_kwnames[] = { "self","sz", NULL };
b8b8dda7
RD
5016 char _ptemp[128];
5017
5018 self = self;
2f90df85 5019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames,&_argo0,&_obj1))
b8b8dda7 5020 return NULL;
1d99702e
RD
5021 if (_argo0) {
5022 if (_argo0 == Py_None) { _arg0 = NULL; }
5023 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b8b8dda7
RD
5024 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
5025 return NULL;
5026 }
5027 }
2f90df85
RD
5028{
5029 _arg1 = &temp;
5030 if (! wxSize_helper(_obj1, &_arg1))
b8b8dda7 5031 return NULL;
2f90df85 5032}
cf694132 5033{
4268f798 5034 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5035 _result = new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0,*_arg1));
cf694132 5036
4268f798 5037 wxPyEndAllowThreads(__tstate);
493f1553 5038 if (PyErr_Occurred()) return NULL;
cf694132 5039} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
b8b8dda7
RD
5040 _resultobj = Py_BuildValue("s",_ptemp);
5041 return _resultobj;
5042}
5043
af309447 5044#define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
efc5f224 5045static PyObject *_wrap_wxWindow_SetToolTipString(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
5046 PyObject * _resultobj;
5047 wxWindow * _arg0;
5048 wxString * _arg1;
1d99702e 5049 PyObject * _argo0 = 0;
af309447 5050 PyObject * _obj1 = 0;
efc5f224 5051 char *_kwnames[] = { "self","tip", NULL };
af309447
RD
5052
5053 self = self;
efc5f224 5054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetToolTipString",_kwnames,&_argo0,&_obj1))
af309447 5055 return NULL;
1d99702e
RD
5056 if (_argo0) {
5057 if (_argo0 == Py_None) { _arg0 = NULL; }
5058 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
af309447
RD
5059 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
5060 return NULL;
5061 }
5062 }
5063{
c8bc7bb8
RD
5064 _arg1 = wxString_in_helper(_obj1);
5065 if (_arg1 == NULL)
185d7c3e 5066 return NULL;
af309447 5067}
cf694132 5068{
4268f798 5069 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5070 wxWindow_SetToolTipString(_arg0,*_arg1);
cf694132 5071
4268f798 5072 wxPyEndAllowThreads(__tstate);
493f1553 5073 if (PyErr_Occurred()) return NULL;
cf694132 5074} Py_INCREF(Py_None);
af309447
RD
5075 _resultobj = Py_None;
5076{
5077 if (_obj1)
5078 delete _arg1;
5079}
5080 return _resultobj;
5081}
5082
5083#define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
efc5f224 5084static PyObject *_wrap_wxWindow_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
5085 PyObject * _resultobj;
5086 wxWindow * _arg0;
5087 wxToolTip * _arg1;
1d99702e
RD
5088 PyObject * _argo0 = 0;
5089 PyObject * _argo1 = 0;
efc5f224 5090 char *_kwnames[] = { "self","tooltip", NULL };
af309447
RD
5091
5092 self = self;
efc5f224 5093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetToolTip",_kwnames,&_argo0,&_argo1))
af309447 5094 return NULL;
1d99702e
RD
5095 if (_argo0) {
5096 if (_argo0 == Py_None) { _arg0 = NULL; }
5097 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
af309447
RD
5098 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
5099 return NULL;
5100 }
5101 }
1d99702e
RD
5102 if (_argo1) {
5103 if (_argo1 == Py_None) { _arg1 = NULL; }
5104 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxToolTip_p")) {
af309447
RD
5105 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
5106 return NULL;
5107 }
5108 }
cf694132 5109{
4268f798 5110 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5111 wxWindow_SetToolTip(_arg0,_arg1);
cf694132 5112
4268f798 5113 wxPyEndAllowThreads(__tstate);
493f1553 5114 if (PyErr_Occurred()) return NULL;
cf694132 5115} Py_INCREF(Py_None);
af309447
RD
5116 _resultobj = Py_None;
5117 return _resultobj;
5118}
5119
5120#define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
efc5f224 5121static PyObject *_wrap_wxWindow_GetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
5122 PyObject * _resultobj;
5123 wxToolTip * _result;
5124 wxWindow * _arg0;
1d99702e 5125 PyObject * _argo0 = 0;
efc5f224 5126 char *_kwnames[] = { "self", NULL };
af309447
RD
5127
5128 self = self;
efc5f224 5129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetToolTip",_kwnames,&_argo0))
af309447 5130 return NULL;
1d99702e
RD
5131 if (_argo0) {
5132 if (_argo0 == Py_None) { _arg0 = NULL; }
5133 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
af309447
RD
5134 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
5135 return NULL;
5136 }
5137 }
cf694132 5138{
4268f798 5139 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5140 _result = (wxToolTip *)wxWindow_GetToolTip(_arg0);
cf694132 5141
4268f798 5142 wxPyEndAllowThreads(__tstate);
493f1553 5143 if (PyErr_Occurred()) return NULL;
9416aa89 5144}{ _resultobj = wxPyMake_wxObject(_result); }
af309447
RD
5145 return _resultobj;
5146}
5147
a541c325 5148#define wxWindow_SetSizer(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSizer(_swigarg0,_swigarg1))
2f90df85
RD
5149static PyObject *_wrap_wxWindow_SetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
5150 PyObject * _resultobj;
5151 wxWindow * _arg0;
5152 wxSizer * _arg1;
a541c325 5153 bool _arg2 = (bool ) TRUE;
2f90df85
RD
5154 PyObject * _argo0 = 0;
5155 PyObject * _argo1 = 0;
a541c325
RD
5156 int tempbool2 = (int) TRUE;
5157 char *_kwnames[] = { "self","sizer","deleteOld", NULL };
2f90df85
RD
5158
5159 self = self;
a541c325 5160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxWindow_SetSizer",_kwnames,&_argo0,&_argo1,&tempbool2))
2f90df85
RD
5161 return NULL;
5162 if (_argo0) {
5163 if (_argo0 == Py_None) { _arg0 = NULL; }
5164 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5165 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetSizer. Expected _wxWindow_p.");
5166 return NULL;
5167 }
5168 }
5169 if (_argo1) {
5170 if (_argo1 == Py_None) { _arg1 = NULL; }
5171 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSizer_p")) {
5172 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetSizer. Expected _wxSizer_p.");
5173 return NULL;
5174 }
5175 }
a541c325 5176 _arg2 = (bool ) tempbool2;
2f90df85 5177{
4268f798 5178 PyThreadState* __tstate = wxPyBeginAllowThreads();
a541c325 5179 wxWindow_SetSizer(_arg0,_arg1,_arg2);
2f90df85 5180
4268f798 5181 wxPyEndAllowThreads(__tstate);
493f1553 5182 if (PyErr_Occurred()) return NULL;
2f90df85
RD
5183} Py_INCREF(Py_None);
5184 _resultobj = Py_None;
5185 return _resultobj;
5186}
5187
f6bcfd97
BP
5188#define wxWindow_GetSizer(_swigobj) (_swigobj->GetSizer())
5189static PyObject *_wrap_wxWindow_GetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
5190 PyObject * _resultobj;
5191 wxSizer * _result;
5192 wxWindow * _arg0;
5193 PyObject * _argo0 = 0;
5194 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
5195
5196 self = self;
5197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetSizer",_kwnames,&_argo0))
5198 return NULL;
5199 if (_argo0) {
5200 if (_argo0 == Py_None) { _arg0 = NULL; }
5201 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5202 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetSizer. Expected _wxWindow_p.");
5203 return NULL;
5204 }
5205 }
5206{
4268f798 5207 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5208 _result = (wxSizer *)wxWindow_GetSizer(_arg0);
f6bcfd97 5209
4268f798 5210 wxPyEndAllowThreads(__tstate);
493f1553 5211 if (PyErr_Occurred()) return NULL;
2f4e9287 5212}{ _resultobj = wxPyMake_wxSizer(_result); }
f6bcfd97
BP
5213 return _resultobj;
5214}
5215
be90c029
RD
5216#define wxWindow_SetContainingSizer(_swigobj,_swigarg0) (_swigobj->SetContainingSizer(_swigarg0))
5217static PyObject *_wrap_wxWindow_SetContainingSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
5218 PyObject * _resultobj;
5219 wxWindow * _arg0;
5220 wxSizer * _arg1;
5221 PyObject * _argo0 = 0;
5222 PyObject * _argo1 = 0;
5223 char *_kwnames[] = { "self","sizer", NULL };
5224
5225 self = self;
5226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetContainingSizer",_kwnames,&_argo0,&_argo1))
5227 return NULL;
5228 if (_argo0) {
5229 if (_argo0 == Py_None) { _arg0 = NULL; }
5230 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5231 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetContainingSizer. Expected _wxWindow_p.");
5232 return NULL;
5233 }
5234 }
5235 if (_argo1) {
5236 if (_argo1 == Py_None) { _arg1 = NULL; }
5237 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSizer_p")) {
5238 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetContainingSizer. Expected _wxSizer_p.");
5239 return NULL;
5240 }
5241 }
5242{
5243 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5244 wxWindow_SetContainingSizer(_arg0,_arg1);
be90c029
RD
5245
5246 wxPyEndAllowThreads(__tstate);
5247 if (PyErr_Occurred()) return NULL;
5248} Py_INCREF(Py_None);
5249 _resultobj = Py_None;
5250 return _resultobj;
5251}
5252
5253#define wxWindow_GetContainingSizer(_swigobj) (_swigobj->GetContainingSizer())
5254static PyObject *_wrap_wxWindow_GetContainingSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
5255 PyObject * _resultobj;
5256 wxSizer * _result;
5257 wxWindow * _arg0;
5258 PyObject * _argo0 = 0;
5259 char *_kwnames[] = { "self", NULL };
5260
5261 self = self;
5262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetContainingSizer",_kwnames,&_argo0))
5263 return NULL;
5264 if (_argo0) {
5265 if (_argo0 == Py_None) { _arg0 = NULL; }
5266 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5267 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetContainingSizer. Expected _wxWindow_p.");
5268 return NULL;
5269 }
5270 }
5271{
5272 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5273 _result = (wxSizer *)wxWindow_GetContainingSizer(_arg0);
be90c029
RD
5274
5275 wxPyEndAllowThreads(__tstate);
5276 if (PyErr_Occurred()) return NULL;
5277}{ _resultobj = wxPyMake_wxSizer(_result); }
5278 return _resultobj;
5279}
5280
2f90df85
RD
5281#define wxWindow_GetValidator(_swigobj) (_swigobj->GetValidator())
5282static PyObject *_wrap_wxWindow_GetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
5283 PyObject * _resultobj;
5284 wxValidator * _result;
5285 wxWindow * _arg0;
5286 PyObject * _argo0 = 0;
5287 char *_kwnames[] = { "self", NULL };
2f90df85
RD
5288
5289 self = self;
5290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetValidator",_kwnames,&_argo0))
5291 return NULL;
5292 if (_argo0) {
5293 if (_argo0 == Py_None) { _arg0 = NULL; }
5294 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5295 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetValidator. Expected _wxWindow_p.");
5296 return NULL;
5297 }
5298 }
5299{
4268f798 5300 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5301 _result = (wxValidator *)wxWindow_GetValidator(_arg0);
2f90df85 5302
4268f798 5303 wxPyEndAllowThreads(__tstate);
493f1553 5304 if (PyErr_Occurred()) return NULL;
9416aa89 5305}{ _resultobj = wxPyMake_wxObject(_result); }
2f90df85
RD
5306 return _resultobj;
5307}
5308
5309#define wxWindow_SetValidator(_swigobj,_swigarg0) (_swigobj->SetValidator(_swigarg0))
5310static PyObject *_wrap_wxWindow_SetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
5311 PyObject * _resultobj;
5312 wxWindow * _arg0;
5313 wxValidator * _arg1;
5314 PyObject * _argo0 = 0;
5315 PyObject * _argo1 = 0;
5316 char *_kwnames[] = { "self","validator", NULL };
5317
5318 self = self;
5319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetValidator",_kwnames,&_argo0,&_argo1))
5320 return NULL;
5321 if (_argo0) {
5322 if (_argo0 == Py_None) { _arg0 = NULL; }
5323 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5324 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetValidator. Expected _wxWindow_p.");
5325 return NULL;
5326 }
5327 }
5328 if (_argo1) {
5329 if (_argo1 == Py_None) { _arg1 = NULL; }
5330 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxValidator_p")) {
5331 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetValidator. Expected _wxValidator_p.");
5332 return NULL;
5333 }
5334 }
5335{
4268f798 5336 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5337 wxWindow_SetValidator(_arg0,*_arg1);
2f90df85 5338
4268f798 5339 wxPyEndAllowThreads(__tstate);
493f1553 5340 if (PyErr_Occurred()) return NULL;
2f90df85
RD
5341} Py_INCREF(Py_None);
5342 _resultobj = Py_None;
5343 return _resultobj;
5344}
5345
b1462dfa
RD
5346#define wxWindow_SetDropTarget(_swigobj,_swigarg0) (_swigobj->SetDropTarget(_swigarg0))
5347static PyObject *_wrap_wxWindow_SetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
5348 PyObject * _resultobj;
5349 wxWindow * _arg0;
5350 wxDropTarget * _arg1;
5351 PyObject * _argo0 = 0;
5352 PyObject * _argo1 = 0;
5353 char *_kwnames[] = { "self","target", NULL };
5354
5355 self = self;
5356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetDropTarget",_kwnames,&_argo0,&_argo1))
5357 return NULL;
5358 if (_argo0) {
5359 if (_argo0 == Py_None) { _arg0 = NULL; }
5360 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5361 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetDropTarget. Expected _wxWindow_p.");
5362 return NULL;
5363 }
5364 }
5365 if (_argo1) {
5366 if (_argo1 == Py_None) { _arg1 = NULL; }
5367 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDropTarget_p")) {
5368 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetDropTarget. Expected _wxDropTarget_p.");
5369 return NULL;
5370 }
5371 }
5372{
4268f798 5373 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5374 wxWindow_SetDropTarget(_arg0,_arg1);
b1462dfa 5375
4268f798 5376 wxPyEndAllowThreads(__tstate);
493f1553 5377 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
5378} Py_INCREF(Py_None);
5379 _resultobj = Py_None;
5380 return _resultobj;
5381}
5382
5383#define wxWindow_GetDropTarget(_swigobj) (_swigobj->GetDropTarget())
5384static PyObject *_wrap_wxWindow_GetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
5385 PyObject * _resultobj;
5386 wxDropTarget * _result;
5387 wxWindow * _arg0;
5388 PyObject * _argo0 = 0;
5389 char *_kwnames[] = { "self", NULL };
5390 char _ptemp[128];
5391
5392 self = self;
5393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetDropTarget",_kwnames,&_argo0))
5394 return NULL;
5395 if (_argo0) {
5396 if (_argo0 == Py_None) { _arg0 = NULL; }
5397 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5398 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetDropTarget. Expected _wxWindow_p.");
5399 return NULL;
5400 }
5401 }
5402{
4268f798 5403 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5404 _result = (wxDropTarget *)wxWindow_GetDropTarget(_arg0);
b1462dfa 5405
4268f798 5406 wxPyEndAllowThreads(__tstate);
493f1553 5407 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
5408} if (_result) {
5409 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDropTarget_p");
5410 _resultobj = Py_BuildValue("s",_ptemp);
5411 } else {
5412 Py_INCREF(Py_None);
5413 _resultobj = Py_None;
5414 }
5415 return _resultobj;
5416}
5417
694759cf
RD
5418#define wxWindow_GetBestSize(_swigobj) (_swigobj->GetBestSize())
5419static PyObject *_wrap_wxWindow_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5420 PyObject * _resultobj;
5421 wxSize * _result;
5422 wxWindow * _arg0;
5423 PyObject * _argo0 = 0;
5424 char *_kwnames[] = { "self", NULL };
5425 char _ptemp[128];
5426
5427 self = self;
5428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetBestSize",_kwnames,&_argo0))
5429 return NULL;
5430 if (_argo0) {
5431 if (_argo0 == Py_None) { _arg0 = NULL; }
5432 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5433 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetBestSize. Expected _wxWindow_p.");
5434 return NULL;
5435 }
5436 }
5437{
4268f798 5438 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5439 _result = new wxSize (wxWindow_GetBestSize(_arg0));
694759cf 5440
4268f798 5441 wxPyEndAllowThreads(__tstate);
493f1553 5442 if (PyErr_Occurred()) return NULL;
694759cf
RD
5443} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
5444 _resultobj = Py_BuildValue("s",_ptemp);
5445 return _resultobj;
5446}
5447
a541c325
RD
5448#define wxWindow_GetMaxSize(_swigobj) (_swigobj->GetMaxSize())
5449static PyObject *_wrap_wxWindow_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5450 PyObject * _resultobj;
5451 wxSize * _result;
5452 wxWindow * _arg0;
5453 PyObject * _argo0 = 0;
5454 char *_kwnames[] = { "self", NULL };
5455 char _ptemp[128];
5456
5457 self = self;
5458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetMaxSize",_kwnames,&_argo0))
5459 return NULL;
5460 if (_argo0) {
5461 if (_argo0 == Py_None) { _arg0 = NULL; }
5462 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5463 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetMaxSize. Expected _wxWindow_p.");
5464 return NULL;
5465 }
5466 }
5467{
5468 PyThreadState* __tstate = wxPyBeginAllowThreads();
5469 _result = new wxSize (wxWindow_GetMaxSize(_arg0));
5470
5471 wxPyEndAllowThreads(__tstate);
5472 if (PyErr_Occurred()) return NULL;
5473} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
5474 _resultobj = Py_BuildValue("s",_ptemp);
5475 return _resultobj;
5476}
5477
a1df7a95
RD
5478#define wxWindow_SetCaret(_swigobj,_swigarg0) (_swigobj->SetCaret(_swigarg0))
5479static PyObject *_wrap_wxWindow_SetCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
5480 PyObject * _resultobj;
5481 wxWindow * _arg0;
5482 wxCaret * _arg1;
5483 PyObject * _argo0 = 0;
5484 PyObject * _argo1 = 0;
5485 char *_kwnames[] = { "self","caret", NULL };
5486
5487 self = self;
5488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetCaret",_kwnames,&_argo0,&_argo1))
5489 return NULL;
5490 if (_argo0) {
5491 if (_argo0 == Py_None) { _arg0 = NULL; }
5492 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5493 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetCaret. Expected _wxWindow_p.");
5494 return NULL;
5495 }
5496 }
5497 if (_argo1) {
5498 if (_argo1 == Py_None) { _arg1 = NULL; }
5499 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCaret_p")) {
5500 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetCaret. Expected _wxCaret_p.");
5501 return NULL;
5502 }
5503 }
5504{
4268f798 5505 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5506 wxWindow_SetCaret(_arg0,_arg1);
a1df7a95 5507
4268f798 5508 wxPyEndAllowThreads(__tstate);
493f1553 5509 if (PyErr_Occurred()) return NULL;
a1df7a95
RD
5510} Py_INCREF(Py_None);
5511 _resultobj = Py_None;
5512 return _resultobj;
5513}
5514
5515#define wxWindow_GetCaret(_swigobj) (_swigobj->GetCaret())
5516static PyObject *_wrap_wxWindow_GetCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
5517 PyObject * _resultobj;
5518 wxCaret * _result;
5519 wxWindow * _arg0;
5520 PyObject * _argo0 = 0;
5521 char *_kwnames[] = { "self", NULL };
5522 char _ptemp[128];
5523
5524 self = self;
5525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetCaret",_kwnames,&_argo0))
5526 return NULL;
5527 if (_argo0) {
5528 if (_argo0 == Py_None) { _arg0 = NULL; }
5529 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5530 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetCaret. Expected _wxWindow_p.");
5531 return NULL;
5532 }
5533 }
5534{
4268f798 5535 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5536 _result = (wxCaret *)wxWindow_GetCaret(_arg0);
a1df7a95 5537
4268f798 5538 wxPyEndAllowThreads(__tstate);
493f1553 5539 if (PyErr_Occurred()) return NULL;
a1df7a95
RD
5540} if (_result) {
5541 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCaret_p");
5542 _resultobj = Py_BuildValue("s",_ptemp);
5543 } else {
5544 Py_INCREF(Py_None);
5545 _resultobj = Py_None;
5546 }
5547 return _resultobj;
5548}
5549
3a0958b1
RD
5550#define wxWindow_Freeze(_swigobj) (_swigobj->Freeze())
5551static PyObject *_wrap_wxWindow_Freeze(PyObject *self, PyObject *args, PyObject *kwargs) {
5552 PyObject * _resultobj;
5553 wxWindow * _arg0;
5554 PyObject * _argo0 = 0;
5555 char *_kwnames[] = { "self", NULL };
5556
5557 self = self;
5558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Freeze",_kwnames,&_argo0))
5559 return NULL;
5560 if (_argo0) {
5561 if (_argo0 == Py_None) { _arg0 = NULL; }
5562 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5563 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Freeze. Expected _wxWindow_p.");
5564 return NULL;
5565 }
5566 }
5567{
4268f798 5568 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5569 wxWindow_Freeze(_arg0);
3a0958b1 5570
4268f798 5571 wxPyEndAllowThreads(__tstate);
3a0958b1
RD
5572 if (PyErr_Occurred()) return NULL;
5573} Py_INCREF(Py_None);
5574 _resultobj = Py_None;
5575 return _resultobj;
5576}
5577
5578#define wxWindow_Thaw(_swigobj) (_swigobj->Thaw())
5579static PyObject *_wrap_wxWindow_Thaw(PyObject *self, PyObject *args, PyObject *kwargs) {
5580 PyObject * _resultobj;
5581 wxWindow * _arg0;
5582 PyObject * _argo0 = 0;
5583 char *_kwnames[] = { "self", NULL };
5584
5585 self = self;
5586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Thaw",_kwnames,&_argo0))
5587 return NULL;
5588 if (_argo0) {
5589 if (_argo0 == Py_None) { _arg0 = NULL; }
5590 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5591 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Thaw. Expected _wxWindow_p.");
5592 return NULL;
5593 }
5594 }
5595{
4268f798 5596 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5597 wxWindow_Thaw(_arg0);
3a0958b1 5598
4268f798 5599 wxPyEndAllowThreads(__tstate);
3a0958b1
RD
5600 if (PyErr_Occurred()) return NULL;
5601} Py_INCREF(Py_None);
5602 _resultobj = Py_None;
5603 return _resultobj;
5604}
5605
09f3d4e6
RD
5606#define wxWindow_Update(_swigobj) (_swigobj->Update())
5607static PyObject *_wrap_wxWindow_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
5608 PyObject * _resultobj;
5609 wxWindow * _arg0;
5610 PyObject * _argo0 = 0;
5611 char *_kwnames[] = { "self", NULL };
5612
5613 self = self;
5614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Update",_kwnames,&_argo0))
5615 return NULL;
5616 if (_argo0) {
5617 if (_argo0 == Py_None) { _arg0 = NULL; }
5618 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5619 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Update. Expected _wxWindow_p.");
5620 return NULL;
5621 }
5622 }
5623{
4268f798 5624 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5625 wxWindow_Update(_arg0);
09f3d4e6 5626
4268f798 5627 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
5628 if (PyErr_Occurred()) return NULL;
5629} Py_INCREF(Py_None);
5630 _resultobj = Py_None;
5631 return _resultobj;
5632}
5633
4f3449b4
RD
5634#define wxWindow_GetHelpText(_swigobj) (_swigobj->GetHelpText())
5635static PyObject *_wrap_wxWindow_GetHelpText(PyObject *self, PyObject *args, PyObject *kwargs) {
5636 PyObject * _resultobj;
5637 wxString * _result;
5638 wxWindow * _arg0;
5639 PyObject * _argo0 = 0;
5640 char *_kwnames[] = { "self", NULL };
5641
5642 self = self;
5643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetHelpText",_kwnames,&_argo0))
5644 return NULL;
5645 if (_argo0) {
5646 if (_argo0 == Py_None) { _arg0 = NULL; }
5647 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5648 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetHelpText. Expected _wxWindow_p.");
5649 return NULL;
5650 }
5651 }
5652{
4268f798 5653 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5654 _result = new wxString (wxWindow_GetHelpText(_arg0));
4f3449b4 5655
4268f798 5656 wxPyEndAllowThreads(__tstate);
4f3449b4
RD
5657 if (PyErr_Occurred()) return NULL;
5658}{
c8bc7bb8
RD
5659#if wxUSE_UNICODE
5660 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
5661#else
4f3449b4 5662 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 5663#endif
4f3449b4
RD
5664}
5665{
5666 delete _result;
5667}
5668 return _resultobj;
5669}
5670
5671#define wxWindow_SetHelpText(_swigobj,_swigarg0) (_swigobj->SetHelpText(_swigarg0))
5672static PyObject *_wrap_wxWindow_SetHelpText(PyObject *self, PyObject *args, PyObject *kwargs) {
5673 PyObject * _resultobj;
5674 wxWindow * _arg0;
5675 wxString * _arg1;
5676 PyObject * _argo0 = 0;
5677 PyObject * _obj1 = 0;
5678 char *_kwnames[] = { "self","helpText", NULL };
5679
5680 self = self;
5681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetHelpText",_kwnames,&_argo0,&_obj1))
5682 return NULL;
5683 if (_argo0) {
5684 if (_argo0 == Py_None) { _arg0 = NULL; }
5685 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5686 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetHelpText. Expected _wxWindow_p.");
5687 return NULL;
5688 }
5689 }
5690{
c8bc7bb8
RD
5691 _arg1 = wxString_in_helper(_obj1);
5692 if (_arg1 == NULL)
4f3449b4 5693 return NULL;
4f3449b4
RD
5694}
5695{
4268f798 5696 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5697 wxWindow_SetHelpText(_arg0,*_arg1);
4f3449b4 5698
4268f798 5699 wxPyEndAllowThreads(__tstate);
4f3449b4
RD
5700 if (PyErr_Occurred()) return NULL;
5701} Py_INCREF(Py_None);
5702 _resultobj = Py_None;
5703{
5704 if (_obj1)
5705 delete _arg1;
5706}
5707 return _resultobj;
5708}
5709
23bed520
RD
5710#define wxWindow_SetHelpTextForId(_swigobj,_swigarg0) (_swigobj->SetHelpTextForId(_swigarg0))
5711static PyObject *_wrap_wxWindow_SetHelpTextForId(PyObject *self, PyObject *args, PyObject *kwargs) {
5712 PyObject * _resultobj;
5713 wxWindow * _arg0;
5714 wxString * _arg1;
5715 PyObject * _argo0 = 0;
5716 PyObject * _obj1 = 0;
5717 char *_kwnames[] = { "self","text", NULL };
5718
5719 self = self;
5720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetHelpTextForId",_kwnames,&_argo0,&_obj1))
5721 return NULL;
5722 if (_argo0) {
5723 if (_argo0 == Py_None) { _arg0 = NULL; }
5724 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5725 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetHelpTextForId. Expected _wxWindow_p.");
5726 return NULL;
5727 }
5728 }
5729{
c8bc7bb8
RD
5730 _arg1 = wxString_in_helper(_obj1);
5731 if (_arg1 == NULL)
23bed520 5732 return NULL;
23bed520
RD
5733}
5734{
5735 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5736 wxWindow_SetHelpTextForId(_arg0,*_arg1);
23bed520
RD
5737
5738 wxPyEndAllowThreads(__tstate);
5739 if (PyErr_Occurred()) return NULL;
5740} Py_INCREF(Py_None);
5741 _resultobj = Py_None;
5742{
5743 if (_obj1)
5744 delete _arg1;
5745}
5746 return _resultobj;
5747}
5748
c7e7022c
RD
5749#define wxWindow_ScrollLines(_swigobj,_swigarg0) (_swigobj->ScrollLines(_swigarg0))
5750static PyObject *_wrap_wxWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
5751 PyObject * _resultobj;
5752 bool _result;
5753 wxWindow * _arg0;
5754 int _arg1;
5755 PyObject * _argo0 = 0;
5756 char *_kwnames[] = { "self","lines", NULL };
5757
5758 self = self;
5759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_ScrollLines",_kwnames,&_argo0,&_arg1))
5760 return NULL;
5761 if (_argo0) {
5762 if (_argo0 == Py_None) { _arg0 = NULL; }
5763 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5764 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScrollLines. Expected _wxWindow_p.");
5765 return NULL;
5766 }
5767 }
5768{
4268f798 5769 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5770 _result = (bool )wxWindow_ScrollLines(_arg0,_arg1);
c7e7022c 5771
4268f798 5772 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
5773 if (PyErr_Occurred()) return NULL;
5774} _resultobj = Py_BuildValue("i",_result);
5775 return _resultobj;
5776}
5777
5778#define wxWindow_ScrollPages(_swigobj,_swigarg0) (_swigobj->ScrollPages(_swigarg0))
5779static PyObject *_wrap_wxWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
5780 PyObject * _resultobj;
5781 bool _result;
5782 wxWindow * _arg0;
5783 int _arg1;
5784 PyObject * _argo0 = 0;
5785 char *_kwnames[] = { "self","pages", NULL };
5786
5787 self = self;
5788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_ScrollPages",_kwnames,&_argo0,&_arg1))
5789 return NULL;
5790 if (_argo0) {
5791 if (_argo0 == Py_None) { _arg0 = NULL; }
5792 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5793 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScrollPages. Expected _wxWindow_p.");
5794 return NULL;
5795 }
5796 }
5797{
4268f798 5798 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5799 _result = (bool )wxWindow_ScrollPages(_arg0,_arg1);
c7e7022c 5800
4268f798 5801 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
5802 if (PyErr_Occurred()) return NULL;
5803} _resultobj = Py_BuildValue("i",_result);
5804 return _resultobj;
5805}
5806
5807#define wxWindow_LineUp(_swigobj) (_swigobj->LineUp())
5808static PyObject *_wrap_wxWindow_LineUp(PyObject *self, PyObject *args, PyObject *kwargs) {
5809 PyObject * _resultobj;
5810 bool _result;
5811 wxWindow * _arg0;
5812 PyObject * _argo0 = 0;
5813 char *_kwnames[] = { "self", NULL };
5814
5815 self = self;
5816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_LineUp",_kwnames,&_argo0))
5817 return NULL;
5818 if (_argo0) {
5819 if (_argo0 == Py_None) { _arg0 = NULL; }
5820 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5821 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_LineUp. Expected _wxWindow_p.");
5822 return NULL;
5823 }
5824 }
5825{
4268f798 5826 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5827 _result = (bool )wxWindow_LineUp(_arg0);
c7e7022c 5828
4268f798 5829 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
5830 if (PyErr_Occurred()) return NULL;
5831} _resultobj = Py_BuildValue("i",_result);
5832 return _resultobj;
5833}
5834
5835#define wxWindow_LineDown(_swigobj) (_swigobj->LineDown())
5836static PyObject *_wrap_wxWindow_LineDown(PyObject *self, PyObject *args, PyObject *kwargs) {
5837 PyObject * _resultobj;
5838 bool _result;
5839 wxWindow * _arg0;
5840 PyObject * _argo0 = 0;
5841 char *_kwnames[] = { "self", NULL };
5842
5843 self = self;
5844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_LineDown",_kwnames,&_argo0))
5845 return NULL;
5846 if (_argo0) {
5847 if (_argo0 == Py_None) { _arg0 = NULL; }
5848 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5849 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_LineDown. Expected _wxWindow_p.");
5850 return NULL;
5851 }
5852 }
5853{
4268f798 5854 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5855 _result = (bool )wxWindow_LineDown(_arg0);
c7e7022c 5856
4268f798 5857 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
5858 if (PyErr_Occurred()) return NULL;
5859} _resultobj = Py_BuildValue("i",_result);
5860 return _resultobj;
5861}
5862
5863#define wxWindow_PageUp(_swigobj) (_swigobj->PageUp())
5864static PyObject *_wrap_wxWindow_PageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
5865 PyObject * _resultobj;
5866 bool _result;
5867 wxWindow * _arg0;
5868 PyObject * _argo0 = 0;
5869 char *_kwnames[] = { "self", NULL };
5870
5871 self = self;
5872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_PageUp",_kwnames,&_argo0))
5873 return NULL;
5874 if (_argo0) {
5875 if (_argo0 == Py_None) { _arg0 = NULL; }
5876 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5877 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PageUp. Expected _wxWindow_p.");
5878 return NULL;
5879 }
5880 }
5881{
4268f798 5882 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5883 _result = (bool )wxWindow_PageUp(_arg0);
c7e7022c 5884
4268f798 5885 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
5886 if (PyErr_Occurred()) return NULL;
5887} _resultobj = Py_BuildValue("i",_result);
5888 return _resultobj;
5889}
5890
5891#define wxWindow_PageDown(_swigobj) (_swigobj->PageDown())
5892static PyObject *_wrap_wxWindow_PageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
5893 PyObject * _resultobj;
5894 bool _result;
5895 wxWindow * _arg0;
5896 PyObject * _argo0 = 0;
5897 char *_kwnames[] = { "self", NULL };
5898
5899 self = self;
5900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_PageDown",_kwnames,&_argo0))
5901 return NULL;
5902 if (_argo0) {
5903 if (_argo0 == Py_None) { _arg0 = NULL; }
5904 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5905 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PageDown. Expected _wxWindow_p.");
5906 return NULL;
5907 }
5908 }
5909{
4268f798 5910 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5911 _result = (bool )wxWindow_PageDown(_arg0);
c7e7022c 5912
4268f798 5913 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
5914 if (PyErr_Occurred()) return NULL;
5915} _resultobj = Py_BuildValue("i",_result);
5916 return _resultobj;
5917}
5918
09f3d4e6
RD
5919static PyObject *_wrap_wxWindow_FindFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
5920 PyObject * _resultobj;
5921 wxWindow * _result;
5922 char *_kwnames[] = { NULL };
5923
5924 self = self;
5925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxWindow_FindFocus",_kwnames))
5926 return NULL;
5927{
4268f798 5928 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5929 _result = (wxWindow *)wxWindow::FindFocus();
09f3d4e6 5930
4268f798 5931 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
5932 if (PyErr_Occurred()) return NULL;
5933}{ _resultobj = wxPyMake_wxObject(_result); }
5934 return _resultobj;
5935}
5936
5937static PyObject *_wrap_wxWindow_NewControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
5938 PyObject * _resultobj;
5939 int _result;
5940 char *_kwnames[] = { NULL };
5941
5942 self = self;
5943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxWindow_NewControlId",_kwnames))
5944 return NULL;
5945{
4268f798 5946 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5947 _result = (int )wxWindow::NewControlId();
09f3d4e6 5948
4268f798 5949 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
5950 if (PyErr_Occurred()) return NULL;
5951} _resultobj = Py_BuildValue("i",_result);
5952 return _resultobj;
5953}
5954
5955static PyObject *_wrap_wxWindow_NextControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
5956 PyObject * _resultobj;
5957 int _result;
5958 int _arg0;
5959 char *_kwnames[] = { "id", NULL };
5960
5961 self = self;
5962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxWindow_NextControlId",_kwnames,&_arg0))
5963 return NULL;
5964{
4268f798 5965 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5966 _result = (int )wxWindow::NextControlId(_arg0);
09f3d4e6 5967
4268f798 5968 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
5969 if (PyErr_Occurred()) return NULL;
5970} _resultobj = Py_BuildValue("i",_result);
5971 return _resultobj;
5972}
5973
5974static PyObject *_wrap_wxWindow_PrevControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
5975 PyObject * _resultobj;
5976 int _result;
5977 int _arg0;
5978 char *_kwnames[] = { "id", NULL };
5979
5980 self = self;
5981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxWindow_PrevControlId",_kwnames,&_arg0))
5982 return NULL;
5983{
4268f798 5984 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5985 _result = (int )wxWindow::PrevControlId(_arg0);
09f3d4e6 5986
4268f798 5987 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
5988 if (PyErr_Occurred()) return NULL;
5989} _resultobj = Py_BuildValue("i",_result);
5990 return _resultobj;
5991}
5992
76bfdc78
RD
5993#define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
5994static PyObject *_wrap_wxWindow_SetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
5995 PyObject * _resultobj;
5996 wxWindow * _arg0;
5997 wxAcceleratorTable * _arg1;
5998 PyObject * _argo0 = 0;
5999 PyObject * _argo1 = 0;
6000 char *_kwnames[] = { "self","accel", NULL };
6001
6002 self = self;
6003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetAcceleratorTable",_kwnames,&_argo0,&_argo1))
6004 return NULL;
6005 if (_argo0) {
6006 if (_argo0 == Py_None) { _arg0 = NULL; }
6007 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6008 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
6009 return NULL;
6010 }
6011 }
6012 if (_argo1) {
6013 if (_argo1 == Py_None) { _arg1 = NULL; }
6014 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxAcceleratorTable_p")) {
6015 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
6016 return NULL;
6017 }
6018 }
6019{
4268f798 6020 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6021 wxWindow_SetAcceleratorTable(_arg0,*_arg1);
76bfdc78 6022
4268f798 6023 wxPyEndAllowThreads(__tstate);
76bfdc78
RD
6024 if (PyErr_Occurred()) return NULL;
6025} Py_INCREF(Py_None);
6026 _resultobj = Py_None;
6027 return _resultobj;
6028}
6029
900d9886
RD
6030#define wxWindow_GetAcceleratorTable(_swigobj) (_swigobj->GetAcceleratorTable())
6031static PyObject *_wrap_wxWindow_GetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
6032 PyObject * _resultobj;
6033 wxAcceleratorTable * _result;
6034 wxWindow * _arg0;
6035 PyObject * _argo0 = 0;
6036 char *_kwnames[] = { "self", NULL };
6037 char _ptemp[128];
6038
6039 self = self;
6040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetAcceleratorTable",_kwnames,&_argo0))
6041 return NULL;
6042 if (_argo0) {
6043 if (_argo0 == Py_None) { _arg0 = NULL; }
6044 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6045 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetAcceleratorTable. Expected _wxWindow_p.");
6046 return NULL;
6047 }
6048 }
6049{
4268f798 6050 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6051 _result = (wxAcceleratorTable *)wxWindow_GetAcceleratorTable(_arg0);
900d9886 6052
4268f798 6053 wxPyEndAllowThreads(__tstate);
900d9886
RD
6054 if (PyErr_Occurred()) return NULL;
6055} if (_result) {
6056 SWIG_MakePtr(_ptemp, (char *) _result,"_wxAcceleratorTable_p");
6057 _resultobj = Py_BuildValue("s",_ptemp);
6058 } else {
6059 Py_INCREF(Py_None);
6060 _resultobj = Py_None;
6061 }
6062 return _resultobj;
6063}
6064
07c99b26
RD
6065#define wxWindow_OnPaint(_swigobj,_swigarg0) (_swigobj->OnPaint(_swigarg0))
6066static PyObject *_wrap_wxWindow_OnPaint(PyObject *self, PyObject *args, PyObject *kwargs) {
78e8819c
RD
6067 PyObject * _resultobj;
6068 wxWindow * _arg0;
6069 wxPaintEvent * _arg1;
6070 PyObject * _argo0 = 0;
6071 PyObject * _argo1 = 0;
6072 char *_kwnames[] = { "self","event", NULL };
6073
6074 self = self;
07c99b26 6075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_OnPaint",_kwnames,&_argo0,&_argo1))
78e8819c
RD
6076 return NULL;
6077 if (_argo0) {
6078 if (_argo0 == Py_None) { _arg0 = NULL; }
6079 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
07c99b26 6080 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_OnPaint. Expected _wxWindow_p.");
78e8819c
RD
6081 return NULL;
6082 }
6083 }
6084 if (_argo1) {
6085 if (_argo1 == Py_None) { _arg1 = NULL; }
6086 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPaintEvent_p")) {
07c99b26 6087 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_OnPaint. Expected _wxPaintEvent_p.");
78e8819c
RD
6088 return NULL;
6089 }
6090 }
6091{
4268f798 6092 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6093 wxWindow_OnPaint(_arg0,*_arg1);
78e8819c 6094
4268f798 6095 wxPyEndAllowThreads(__tstate);
78e8819c
RD
6096 if (PyErr_Occurred()) return NULL;
6097} Py_INCREF(Py_None);
6098 _resultobj = Py_None;
6099 return _resultobj;
6100}
6101
5a2930ab
RD
6102#define wxWindow_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
6103static PyObject *_wrap_wxWindow_GetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
6104 PyObject * _resultobj;
26e335b8 6105 wxWindow * _result;
5a2930ab
RD
6106 wxWindow * _arg0;
6107 PyObject * _argo0 = 0;
6108 char *_kwnames[] = { "self", NULL };
6109
6110 self = self;
6111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetDefaultItem",_kwnames,&_argo0))
6112 return NULL;
6113 if (_argo0) {
6114 if (_argo0 == Py_None) { _arg0 = NULL; }
6115 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6116 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetDefaultItem. Expected _wxWindow_p.");
6117 return NULL;
6118 }
6119 }
6120{
6121 PyThreadState* __tstate = wxPyBeginAllowThreads();
26e335b8 6122 _result = (wxWindow *)wxWindow_GetDefaultItem(_arg0);
5a2930ab
RD
6123
6124 wxPyEndAllowThreads(__tstate);
6125 if (PyErr_Occurred()) return NULL;
6126}{ _resultobj = wxPyMake_wxObject(_result); }
6127 return _resultobj;
6128}
6129
6130#define wxWindow_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
6131static PyObject *_wrap_wxWindow_SetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
6132 PyObject * _resultobj;
26e335b8 6133 wxWindow * _result;
5a2930ab 6134 wxWindow * _arg0;
26e335b8 6135 wxWindow * _arg1;
5a2930ab
RD
6136 PyObject * _argo0 = 0;
6137 PyObject * _argo1 = 0;
6138 char *_kwnames[] = { "self","btn", NULL };
6139
6140 self = self;
6141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetDefaultItem",_kwnames,&_argo0,&_argo1))
6142 return NULL;
6143 if (_argo0) {
6144 if (_argo0 == Py_None) { _arg0 = NULL; }
6145 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6146 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetDefaultItem. Expected _wxWindow_p.");
6147 return NULL;
6148 }
6149 }
6150 if (_argo1) {
6151 if (_argo1 == Py_None) { _arg1 = NULL; }
26e335b8
RD
6152 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
6153 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetDefaultItem. Expected _wxWindow_p.");
5a2930ab
RD
6154 return NULL;
6155 }
6156 }
6157{
6158 PyThreadState* __tstate = wxPyBeginAllowThreads();
26e335b8 6159 _result = (wxWindow *)wxWindow_SetDefaultItem(_arg0,_arg1);
5a2930ab
RD
6160
6161 wxPyEndAllowThreads(__tstate);
6162 if (PyErr_Occurred()) return NULL;
26e335b8 6163}{ _resultobj = wxPyMake_wxObject(_result); }
5a2930ab
RD
6164 return _resultobj;
6165}
6166
8ab979d7
RD
6167static void *SwigwxPanelTowxWindow(void *ptr) {
6168 wxPanel *src;
6169 wxWindow *dest;
6170 src = (wxPanel *) ptr;
6171 dest = (wxWindow *) src;
6172 return (void *) dest;
6173}
6174
6175static void *SwigwxPanelTowxEvtHandler(void *ptr) {
6176 wxPanel *src;
6177 wxEvtHandler *dest;
6178 src = (wxPanel *) ptr;
6179 dest = (wxEvtHandler *) src;
6180 return (void *) dest;
6181}
6182
9416aa89
RD
6183static void *SwigwxPanelTowxObject(void *ptr) {
6184 wxPanel *src;
6185 wxObject *dest;
6186 src = (wxPanel *) ptr;
6187 dest = (wxObject *) src;
6188 return (void *) dest;
6189}
6190
8ab979d7 6191#define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
efc5f224 6192static PyObject *_wrap_new_wxPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6193 PyObject * _resultobj;
6194 wxPanel * _result;
6195 wxWindow * _arg0;
6196 wxWindowID _arg1;
e508a2b6
RD
6197 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
6198 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
1d99702e 6199 long _arg4 = (long ) wxTAB_TRAVERSAL;
137b5242 6200 wxString * _arg5 = (wxString *) &wxPyPanelNameStr;
1d99702e 6201 PyObject * _argo0 = 0;
2f90df85
RD
6202 wxPoint temp;
6203 PyObject * _obj2 = 0;
6204 wxSize temp0;
6205 PyObject * _obj3 = 0;
137b5242 6206 PyObject * _obj5 = 0;
efc5f224 6207 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
8ab979d7
RD
6208 char _ptemp[128];
6209
6210 self = self;
137b5242 6211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxPanel",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
8ab979d7 6212 return NULL;
1d99702e
RD
6213 if (_argo0) {
6214 if (_argo0 == Py_None) { _arg0 = NULL; }
6215 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
6216 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
6217 return NULL;
6218 }
6219 }
2f90df85
RD
6220 if (_obj2)
6221{
6222 _arg2 = &temp;
6223 if (! wxPoint_helper(_obj2, &_arg2))
8ab979d7 6224 return NULL;
2f90df85
RD
6225}
6226 if (_obj3)
6227{
6228 _arg3 = &temp0;
6229 if (! wxSize_helper(_obj3, &_arg3))
8ab979d7 6230 return NULL;
137b5242
RD
6231}
6232 if (_obj5)
6233{
6234 _arg5 = wxString_in_helper(_obj5);
6235 if (_arg5 == NULL)
6236 return NULL;
2f90df85 6237}
cf694132 6238{
4268f798 6239 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 6240 _result = (wxPanel *)new_wxPanel(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
cf694132 6241
4268f798 6242 wxPyEndAllowThreads(__tstate);
493f1553 6243 if (PyErr_Occurred()) return NULL;
1d99702e
RD
6244} if (_result) {
6245 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPanel_p");
6246 _resultobj = Py_BuildValue("s",_ptemp);
6247 } else {
6248 Py_INCREF(Py_None);
6249 _resultobj = Py_None;
6250 }
137b5242
RD
6251{
6252 if (_obj5)
6253 delete _arg5;
6254}
8ab979d7
RD
6255 return _resultobj;
6256}
6257
09f3d4e6
RD
6258#define new_wxPrePanel() (new wxPanel())
6259static PyObject *_wrap_new_wxPrePanel(PyObject *self, PyObject *args, PyObject *kwargs) {
6260 PyObject * _resultobj;
6261 wxPanel * _result;
6262 char *_kwnames[] = { NULL };
6263 char _ptemp[128];
6264
6265 self = self;
6266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPrePanel",_kwnames))
6267 return NULL;
6268{
4268f798 6269 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6270 _result = (wxPanel *)new_wxPrePanel();
09f3d4e6 6271
4268f798 6272 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
6273 if (PyErr_Occurred()) return NULL;
6274} if (_result) {
6275 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPanel_p");
6276 _resultobj = Py_BuildValue("s",_ptemp);
6277 } else {
6278 Py_INCREF(Py_None);
6279 _resultobj = Py_None;
6280 }
6281 return _resultobj;
6282}
6283
6284#define wxPanel_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6285static PyObject *_wrap_wxPanel_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6286 PyObject * _resultobj;
6287 bool _result;
6288 wxPanel * _arg0;
6289 wxWindow * _arg1;
6290 wxWindowID _arg2;
6291 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
6292 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
6293 long _arg5 = (long ) wxTAB_TRAVERSAL;
137b5242 6294 wxString * _arg6 = (wxString *) &wxPyPanelNameStr;
09f3d4e6
RD
6295 PyObject * _argo0 = 0;
6296 PyObject * _argo1 = 0;
6297 wxPoint temp;
6298 PyObject * _obj3 = 0;
6299 wxSize temp0;
6300 PyObject * _obj4 = 0;
137b5242 6301 PyObject * _obj6 = 0;
09f3d4e6
RD
6302 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
6303
6304 self = self;
137b5242 6305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOlO:wxPanel_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
09f3d4e6
RD
6306 return NULL;
6307 if (_argo0) {
6308 if (_argo0 == Py_None) { _arg0 = NULL; }
6309 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPanel_p")) {
6310 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPanel_Create. Expected _wxPanel_p.");
6311 return NULL;
6312 }
6313 }
6314 if (_argo1) {
6315 if (_argo1 == Py_None) { _arg1 = NULL; }
6316 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
6317 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPanel_Create. Expected _wxWindow_p.");
6318 return NULL;
6319 }
6320 }
6321 if (_obj3)
6322{
6323 _arg3 = &temp;
6324 if (! wxPoint_helper(_obj3, &_arg3))
6325 return NULL;
6326}
6327 if (_obj4)
6328{
6329 _arg4 = &temp0;
6330 if (! wxSize_helper(_obj4, &_arg4))
6331 return NULL;
137b5242
RD
6332}
6333 if (_obj6)
6334{
6335 _arg6 = wxString_in_helper(_obj6);
6336 if (_arg6 == NULL)
6337 return NULL;
09f3d4e6
RD
6338}
6339{
4268f798 6340 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 6341 _result = (bool )wxPanel_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
09f3d4e6 6342
4268f798 6343 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
6344 if (PyErr_Occurred()) return NULL;
6345} _resultobj = Py_BuildValue("i",_result);
137b5242
RD
6346{
6347 if (_obj6)
6348 delete _arg6;
6349}
09f3d4e6
RD
6350 return _resultobj;
6351}
6352
8ab979d7 6353#define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
efc5f224 6354static PyObject *_wrap_wxPanel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6355 PyObject * _resultobj;
6356 wxPanel * _arg0;
1d99702e 6357 PyObject * _argo0 = 0;
efc5f224 6358 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6359
6360 self = self;
efc5f224 6361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPanel_InitDialog",_kwnames,&_argo0))
8ab979d7 6362 return NULL;
1d99702e
RD
6363 if (_argo0) {
6364 if (_argo0 == Py_None) { _arg0 = NULL; }
6365 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPanel_p")) {
8ab979d7
RD
6366 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
6367 return NULL;
6368 }
6369 }
cf694132 6370{
4268f798 6371 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6372 wxPanel_InitDialog(_arg0);
cf694132 6373
4268f798 6374 wxPyEndAllowThreads(__tstate);
493f1553 6375 if (PyErr_Occurred()) return NULL;
cf694132 6376} Py_INCREF(Py_None);
8ab979d7
RD
6377 _resultobj = Py_None;
6378 return _resultobj;
6379}
6380
bb0054cd
RD
6381static void *SwigwxScrolledWindowTowxPanel(void *ptr) {
6382 wxScrolledWindow *src;
6383 wxPanel *dest;
6384 src = (wxScrolledWindow *) ptr;
6385 dest = (wxPanel *) src;
6386 return (void *) dest;
6387}
6388
8ab979d7
RD
6389static void *SwigwxScrolledWindowTowxWindow(void *ptr) {
6390 wxScrolledWindow *src;
6391 wxWindow *dest;
6392 src = (wxScrolledWindow *) ptr;
6393 dest = (wxWindow *) src;
6394 return (void *) dest;
6395}
6396
6397static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr) {
6398 wxScrolledWindow *src;
6399 wxEvtHandler *dest;
6400 src = (wxScrolledWindow *) ptr;
6401 dest = (wxEvtHandler *) src;
6402 return (void *) dest;
6403}
6404
9416aa89
RD
6405static void *SwigwxScrolledWindowTowxObject(void *ptr) {
6406 wxScrolledWindow *src;
6407 wxObject *dest;
6408 src = (wxScrolledWindow *) ptr;
6409 dest = (wxObject *) src;
6410 return (void *) dest;
6411}
6412
8ab979d7 6413#define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
efc5f224 6414static PyObject *_wrap_new_wxScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6415 PyObject * _resultobj;
6416 wxScrolledWindow * _result;
6417 wxWindow * _arg0;
1d99702e 6418 wxWindowID _arg1 = (wxWindowID ) -1;
e508a2b6
RD
6419 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
6420 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
1d99702e 6421 long _arg4 = (long ) wxHSCROLL|wxVSCROLL;
137b5242 6422 wxString * _arg5 = (wxString *) &wxPyPanelNameStr;
1d99702e 6423 PyObject * _argo0 = 0;
2f90df85
RD
6424 wxPoint temp;
6425 PyObject * _obj2 = 0;
6426 wxSize temp0;
6427 PyObject * _obj3 = 0;
137b5242 6428 PyObject * _obj5 = 0;
efc5f224 6429 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
8ab979d7
RD
6430 char _ptemp[128];
6431
6432 self = self;
137b5242 6433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlO:new_wxScrolledWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
8ab979d7 6434 return NULL;
1d99702e
RD
6435 if (_argo0) {
6436 if (_argo0 == Py_None) { _arg0 = NULL; }
6437 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
6438 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
6439 return NULL;
6440 }
6441 }
2f90df85
RD
6442 if (_obj2)
6443{
6444 _arg2 = &temp;
6445 if (! wxPoint_helper(_obj2, &_arg2))
8ab979d7 6446 return NULL;
2f90df85
RD
6447}
6448 if (_obj3)
6449{
6450 _arg3 = &temp0;
6451 if (! wxSize_helper(_obj3, &_arg3))
8ab979d7 6452 return NULL;
137b5242
RD
6453}
6454 if (_obj5)
6455{
6456 _arg5 = wxString_in_helper(_obj5);
6457 if (_arg5 == NULL)
6458 return NULL;
2f90df85 6459}
cf694132 6460{
4268f798 6461 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 6462 _result = (wxScrolledWindow *)new_wxScrolledWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
cf694132 6463
4268f798 6464 wxPyEndAllowThreads(__tstate);
493f1553 6465 if (PyErr_Occurred()) return NULL;
1d99702e
RD
6466} if (_result) {
6467 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrolledWindow_p");
6468 _resultobj = Py_BuildValue("s",_ptemp);
6469 } else {
6470 Py_INCREF(Py_None);
6471 _resultobj = Py_None;
6472 }
137b5242
RD
6473{
6474 if (_obj5)
6475 delete _arg5;
6476}
8ab979d7
RD
6477 return _resultobj;
6478}
6479
09f3d4e6
RD
6480#define new_wxPreScrolledWindow() (new wxScrolledWindow())
6481static PyObject *_wrap_new_wxPreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6482 PyObject * _resultobj;
6483 wxScrolledWindow * _result;
6484 char *_kwnames[] = { NULL };
6485 char _ptemp[128];
6486
6487 self = self;
6488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreScrolledWindow",_kwnames))
6489 return NULL;
6490{
4268f798 6491 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6492 _result = (wxScrolledWindow *)new_wxPreScrolledWindow();
09f3d4e6 6493
4268f798 6494 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
6495 if (PyErr_Occurred()) return NULL;
6496} if (_result) {
6497 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrolledWindow_p");
6498 _resultobj = Py_BuildValue("s",_ptemp);
6499 } else {
6500 Py_INCREF(Py_None);
6501 _resultobj = Py_None;
6502 }
6503 return _resultobj;
6504}
6505
6506#define wxScrolledWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6507static PyObject *_wrap_wxScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6508 PyObject * _resultobj;
6509 bool _result;
6510 wxScrolledWindow * _arg0;
6511 wxWindow * _arg1;
6512 wxWindowID _arg2 = (wxWindowID ) -1;
6513 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
6514 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
6515 long _arg5 = (long ) wxHSCROLL|wxVSCROLL;
137b5242 6516 wxString * _arg6 = (wxString *) &wxPyPanelNameStr;
09f3d4e6
RD
6517 PyObject * _argo0 = 0;
6518 PyObject * _argo1 = 0;
6519 wxPoint temp;
6520 PyObject * _obj3 = 0;
6521 wxSize temp0;
6522 PyObject * _obj4 = 0;
137b5242 6523 PyObject * _obj6 = 0;
09f3d4e6
RD
6524 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
6525
6526 self = self;
137b5242 6527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlO:wxScrolledWindow_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
09f3d4e6
RD
6528 return NULL;
6529 if (_argo0) {
6530 if (_argo0 == Py_None) { _arg0 = NULL; }
6531 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
6532 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_Create. Expected _wxScrolledWindow_p.");
6533 return NULL;
6534 }
6535 }
6536 if (_argo1) {
6537 if (_argo1 == Py_None) { _arg1 = NULL; }
6538 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
6539 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxScrolledWindow_Create. Expected _wxWindow_p.");
6540 return NULL;
6541 }
6542 }
6543 if (_obj3)
6544{
6545 _arg3 = &temp;
6546 if (! wxPoint_helper(_obj3, &_arg3))
6547 return NULL;
6548}
6549 if (_obj4)
6550{
6551 _arg4 = &temp0;
6552 if (! wxSize_helper(_obj4, &_arg4))
6553 return NULL;
137b5242
RD
6554}
6555 if (_obj6)
6556{
6557 _arg6 = wxString_in_helper(_obj6);
6558 if (_arg6 == NULL)
6559 return NULL;
09f3d4e6
RD
6560}
6561{
4268f798 6562 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 6563 _result = (bool )wxScrolledWindow_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
09f3d4e6 6564
4268f798 6565 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
6566 if (PyErr_Occurred()) return NULL;
6567} _resultobj = Py_BuildValue("i",_result);
137b5242
RD
6568{
6569 if (_obj6)
6570 delete _arg6;
6571}
09f3d4e6
RD
6572 return _resultobj;
6573}
6574
8ab979d7 6575#define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
efc5f224 6576static PyObject *_wrap_wxScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6577 PyObject * _resultobj;
6578 wxScrolledWindow * _arg0;
6579 bool _arg1;
6580 bool _arg2;
1d99702e 6581 PyObject * _argo0 = 0;
8ab979d7
RD
6582 int tempbool1;
6583 int tempbool2;
efc5f224 6584 char *_kwnames[] = { "self","xScrolling","yScrolling", NULL };
8ab979d7
RD
6585
6586 self = self;
efc5f224 6587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxScrolledWindow_EnableScrolling",_kwnames,&_argo0,&tempbool1,&tempbool2))
8ab979d7 6588 return NULL;
1d99702e
RD
6589 if (_argo0) {
6590 if (_argo0 == Py_None) { _arg0 = NULL; }
6591 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
8ab979d7
RD
6592 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
6593 return NULL;
6594 }
6595 }
6596 _arg1 = (bool ) tempbool1;
6597 _arg2 = (bool ) tempbool2;
cf694132 6598{
4268f798 6599 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6600 wxScrolledWindow_EnableScrolling(_arg0,_arg1,_arg2);
cf694132 6601
4268f798 6602 wxPyEndAllowThreads(__tstate);
493f1553 6603 if (PyErr_Occurred()) return NULL;
cf694132 6604} Py_INCREF(Py_None);
8ab979d7
RD
6605 _resultobj = Py_None;
6606 return _resultobj;
6607}
6608
b7e72427
RD
6609#define wxScrolledWindow_GetScrollPageSize(_swigobj,_swigarg0) (_swigobj->GetScrollPageSize(_swigarg0))
6610static PyObject *_wrap_wxScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6611 PyObject * _resultobj;
6612 int _result;
6613 wxScrolledWindow * _arg0;
6614 int _arg1;
6615 PyObject * _argo0 = 0;
6616 char *_kwnames[] = { "self","orient", NULL };
6617
6618 self = self;
6619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxScrolledWindow_GetScrollPageSize",_kwnames,&_argo0,&_arg1))
6620 return NULL;
6621 if (_argo0) {
6622 if (_argo0 == Py_None) { _arg0 = NULL; }
6623 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
6624 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetScrollPageSize. Expected _wxScrolledWindow_p.");
6625 return NULL;
6626 }
6627 }
6628{
4268f798 6629 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6630 _result = (int )wxScrolledWindow_GetScrollPageSize(_arg0,_arg1);
b7e72427 6631
4268f798 6632 wxPyEndAllowThreads(__tstate);
493f1553 6633 if (PyErr_Occurred()) return NULL;
b7e72427
RD
6634} _resultobj = Py_BuildValue("i",_result);
6635 return _resultobj;
6636}
6637
8ab979d7 6638#define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
efc5f224 6639static PyObject *_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6640 PyObject * _resultobj;
6641 wxScrolledWindow * _arg0;
6642 int * _arg1;
6643 int temp;
6644 int * _arg2;
6645 int temp0;
1d99702e 6646 PyObject * _argo0 = 0;
efc5f224 6647 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6648
6649 self = self;
6650{
6651 _arg1 = &temp;
6652}
6653{
6654 _arg2 = &temp0;
6655}
efc5f224 6656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames,&_argo0))
8ab979d7 6657 return NULL;
1d99702e
RD
6658 if (_argo0) {
6659 if (_argo0 == Py_None) { _arg0 = NULL; }
6660 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
8ab979d7
RD
6661 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
6662 return NULL;
6663 }
6664 }
cf694132 6665{
4268f798 6666 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6667 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0,_arg1,_arg2);
cf694132 6668
4268f798 6669 wxPyEndAllowThreads(__tstate);
493f1553 6670 if (PyErr_Occurred()) return NULL;
cf694132 6671} Py_INCREF(Py_None);
8ab979d7
RD
6672 _resultobj = Py_None;
6673{
6674 PyObject *o;
6675 o = PyInt_FromLong((long) (*_arg1));
6676 _resultobj = t_output_helper(_resultobj, o);
6677}
6678{
6679 PyObject *o;
6680 o = PyInt_FromLong((long) (*_arg2));
6681 _resultobj = t_output_helper(_resultobj, o);
6682}
6683 return _resultobj;
6684}
6685
b7e72427
RD
6686#define wxScrolledWindow_GetTargetWindow(_swigobj) (_swigobj->GetTargetWindow())
6687static PyObject *_wrap_wxScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6688 PyObject * _resultobj;
6689 wxWindow * _result;
6690 wxScrolledWindow * _arg0;
6691 PyObject * _argo0 = 0;
6692 char *_kwnames[] = { "self", NULL };
b7e72427
RD
6693
6694 self = self;
6695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_GetTargetWindow",_kwnames,&_argo0))
6696 return NULL;
6697 if (_argo0) {
6698 if (_argo0 == Py_None) { _arg0 = NULL; }
6699 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
6700 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetTargetWindow. Expected _wxScrolledWindow_p.");
6701 return NULL;
6702 }
6703 }
6704{
4268f798 6705 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6706 _result = (wxWindow *)wxScrolledWindow_GetTargetWindow(_arg0);
b7e72427 6707
4268f798 6708 wxPyEndAllowThreads(__tstate);
493f1553 6709 if (PyErr_Occurred()) return NULL;
9416aa89 6710}{ _resultobj = wxPyMake_wxObject(_result); }
b7e72427
RD
6711 return _resultobj;
6712}
6713
8ab979d7 6714#define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
efc5f224 6715static PyObject *_wrap_wxScrolledWindow_GetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6716 PyObject * _resultobj;
6717 wxScrolledWindow * _arg0;
6718 int * _arg1;
6719 int temp;
6720 int * _arg2;
6721 int temp0;
1d99702e 6722 PyObject * _argo0 = 0;
efc5f224 6723 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6724
6725 self = self;
6726{
6727 _arg1 = &temp;
6728}
6729{
6730 _arg2 = &temp0;
6731}
efc5f224 6732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_GetVirtualSize",_kwnames,&_argo0))
8ab979d7 6733 return NULL;
1d99702e
RD
6734 if (_argo0) {
6735 if (_argo0 == Py_None) { _arg0 = NULL; }
6736 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
8ab979d7
RD
6737 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
6738 return NULL;
6739 }
6740 }
cf694132 6741{
4268f798 6742 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6743 wxScrolledWindow_GetVirtualSize(_arg0,_arg1,_arg2);
cf694132 6744
4268f798 6745 wxPyEndAllowThreads(__tstate);
493f1553 6746 if (PyErr_Occurred()) return NULL;
cf694132 6747} Py_INCREF(Py_None);
8ab979d7
RD
6748 _resultobj = Py_None;
6749{
6750 PyObject *o;
6751 o = PyInt_FromLong((long) (*_arg1));
6752 _resultobj = t_output_helper(_resultobj, o);
6753}
6754{
6755 PyObject *o;
6756 o = PyInt_FromLong((long) (*_arg2));
6757 _resultobj = t_output_helper(_resultobj, o);
6758}
6759 return _resultobj;
6760}
6761
6762#define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
efc5f224 6763static PyObject *_wrap_wxScrolledWindow_IsRetained(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6764 PyObject * _resultobj;
6765 bool _result;
6766 wxScrolledWindow * _arg0;
1d99702e 6767 PyObject * _argo0 = 0;
efc5f224 6768 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6769
6770 self = self;
efc5f224 6771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_IsRetained",_kwnames,&_argo0))
8ab979d7 6772 return NULL;
1d99702e
RD
6773 if (_argo0) {
6774 if (_argo0 == Py_None) { _arg0 = NULL; }
6775 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
8ab979d7
RD
6776 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
6777 return NULL;
6778 }
6779 }
cf694132 6780{
4268f798 6781 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6782 _result = (bool )wxScrolledWindow_IsRetained(_arg0);
cf694132 6783
4268f798 6784 wxPyEndAllowThreads(__tstate);
493f1553 6785 if (PyErr_Occurred()) return NULL;
cf694132 6786} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
6787 return _resultobj;
6788}
6789
6790#define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
efc5f224 6791static PyObject *_wrap_wxScrolledWindow_PrepareDC(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6792 PyObject * _resultobj;
6793 wxScrolledWindow * _arg0;
6794 wxDC * _arg1;
1d99702e
RD
6795 PyObject * _argo0 = 0;
6796 PyObject * _argo1 = 0;
efc5f224 6797 char *_kwnames[] = { "self","dc", NULL };
8ab979d7
RD
6798
6799 self = self;
efc5f224 6800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxScrolledWindow_PrepareDC",_kwnames,&_argo0,&_argo1))
8ab979d7 6801 return NULL;
1d99702e
RD
6802 if (_argo0) {
6803 if (_argo0 == Py_None) { _arg0 = NULL; }
6804 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
8ab979d7
RD
6805 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
6806 return NULL;
6807 }
6808 }
1d99702e
RD
6809 if (_argo1) {
6810 if (_argo1 == Py_None) { _arg1 = NULL; }
6811 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8ab979d7
RD
6812 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
6813 return NULL;
6814 }
6815 }
cf694132 6816{
4268f798 6817 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6818 wxScrolledWindow_PrepareDC(_arg0,*_arg1);
cf694132 6819
4268f798 6820 wxPyEndAllowThreads(__tstate);
493f1553 6821 if (PyErr_Occurred()) return NULL;
cf694132 6822} Py_INCREF(Py_None);
8ab979d7
RD
6823 _resultobj = Py_None;
6824 return _resultobj;
6825}
6826
6827#define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
efc5f224 6828static PyObject *_wrap_wxScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6829 PyObject * _resultobj;
6830 wxScrolledWindow * _arg0;
6831 int _arg1;
6832 int _arg2;
1d99702e 6833 PyObject * _argo0 = 0;
efc5f224 6834 char *_kwnames[] = { "self","x","y", NULL };
8ab979d7
RD
6835
6836 self = self;
efc5f224 6837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxScrolledWindow_Scroll",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 6838 return NULL;
1d99702e
RD
6839 if (_argo0) {
6840 if (_argo0 == Py_None) { _arg0 = NULL; }
6841 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
8ab979d7
RD
6842 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
6843 return NULL;
6844 }
6845 }
cf694132 6846{
4268f798 6847 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6848 wxScrolledWindow_Scroll(_arg0,_arg1,_arg2);
cf694132 6849
4268f798 6850 wxPyEndAllowThreads(__tstate);
493f1553 6851 if (PyErr_Occurred()) return NULL;
cf694132 6852} Py_INCREF(Py_None);
8ab979d7
RD
6853 _resultobj = Py_None;
6854 return _resultobj;
6855}
6856
f6bcfd97 6857#define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
efc5f224 6858static PyObject *_wrap_wxScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6859 PyObject * _resultobj;
6860 wxScrolledWindow * _arg0;
6861 int _arg1;
6862 int _arg2;
6863 int _arg3;
6864 int _arg4;
1d99702e
RD
6865 int _arg5 = (int ) 0;
6866 int _arg6 = (int ) 0;
f6bcfd97 6867 int _arg7 = (int ) FALSE;
1d99702e 6868 PyObject * _argo0 = 0;
f6bcfd97 6869 char *_kwnames[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos","noRefresh", NULL };
8ab979d7
RD
6870
6871 self = self;
f6bcfd97 6872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|iii:wxScrolledWindow_SetScrollbars",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6,&_arg7))
8ab979d7 6873 return NULL;
1d99702e
RD
6874 if (_argo0) {
6875 if (_argo0 == Py_None) { _arg0 = NULL; }
6876 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
8ab979d7
RD
6877 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
6878 return NULL;
6879 }
6880 }
cf694132 6881{
4268f798 6882 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6883 wxScrolledWindow_SetScrollbars(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7);
cf694132 6884
4268f798 6885 wxPyEndAllowThreads(__tstate);
493f1553 6886 if (PyErr_Occurred()) return NULL;
cf694132 6887} Py_INCREF(Py_None);
8ab979d7
RD
6888 _resultobj = Py_None;
6889 return _resultobj;
6890}
6891
b7e72427
RD
6892#define wxScrolledWindow_SetScrollPageSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScrollPageSize(_swigarg0,_swigarg1))
6893static PyObject *_wrap_wxScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6894 PyObject * _resultobj;
6895 wxScrolledWindow * _arg0;
6896 int _arg1;
6897 int _arg2;
6898 PyObject * _argo0 = 0;
6899 char *_kwnames[] = { "self","orient","pageSize", NULL };
6900
6901 self = self;
6902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxScrolledWindow_SetScrollPageSize",_kwnames,&_argo0,&_arg1,&_arg2))
6903 return NULL;
6904 if (_argo0) {
6905 if (_argo0 == Py_None) { _arg0 = NULL; }
6906 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
6907 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_SetScrollPageSize. Expected _wxScrolledWindow_p.");
6908 return NULL;
6909 }
6910 }
6911{
4268f798 6912 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6913 wxScrolledWindow_SetScrollPageSize(_arg0,_arg1,_arg2);
b7e72427 6914
4268f798 6915 wxPyEndAllowThreads(__tstate);
493f1553 6916 if (PyErr_Occurred()) return NULL;
b7e72427
RD
6917} Py_INCREF(Py_None);
6918 _resultobj = Py_None;
6919 return _resultobj;
6920}
6921
eb715945
RD
6922#define wxScrolledWindow_SetTargetWindow(_swigobj,_swigarg0) (_swigobj->SetTargetWindow(_swigarg0))
6923static PyObject *_wrap_wxScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6924 PyObject * _resultobj;
6925 wxScrolledWindow * _arg0;
6926 wxWindow * _arg1;
6927 PyObject * _argo0 = 0;
6928 PyObject * _argo1 = 0;
6929 char *_kwnames[] = { "self","window", NULL };
6930
6931 self = self;
6932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxScrolledWindow_SetTargetWindow",_kwnames,&_argo0,&_argo1))
6933 return NULL;
6934 if (_argo0) {
6935 if (_argo0 == Py_None) { _arg0 = NULL; }
6936 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
6937 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_SetTargetWindow. Expected _wxScrolledWindow_p.");
6938 return NULL;
6939 }
6940 }
6941 if (_argo1) {
6942 if (_argo1 == Py_None) { _arg1 = NULL; }
6943 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
6944 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxScrolledWindow_SetTargetWindow. Expected _wxWindow_p.");
6945 return NULL;
6946 }
6947 }
6948{
4268f798 6949 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6950 wxScrolledWindow_SetTargetWindow(_arg0,_arg1);
eb715945 6951
4268f798 6952 wxPyEndAllowThreads(__tstate);
493f1553 6953 if (PyErr_Occurred()) return NULL;
eb715945
RD
6954} Py_INCREF(Py_None);
6955 _resultobj = Py_None;
6956 return _resultobj;
6957}
6958
4c9993c3
RD
6959#define wxScrolledWindow_GetViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetViewStart(_swigarg0,_swigarg1))
6960static PyObject *_wrap_wxScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
6961 PyObject * _resultobj;
6962 wxScrolledWindow * _arg0;
6963 int * _arg1;
6964 int temp;
6965 int * _arg2;
6966 int temp0;
6967 PyObject * _argo0 = 0;
6968 char *_kwnames[] = { "self", NULL };
6969
6970 self = self;
6971{
6972 _arg1 = &temp;
6973}
6974{
6975 _arg2 = &temp0;
6976}
6977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_GetViewStart",_kwnames,&_argo0))
6978 return NULL;
6979 if (_argo0) {
6980 if (_argo0 == Py_None) { _arg0 = NULL; }
6981 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
6982 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetViewStart. Expected _wxScrolledWindow_p.");
6983 return NULL;
6984 }
6985 }
6986{
4268f798 6987 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6988 wxScrolledWindow_GetViewStart(_arg0,_arg1,_arg2);
4c9993c3 6989
4268f798 6990 wxPyEndAllowThreads(__tstate);
493f1553 6991 if (PyErr_Occurred()) return NULL;
4c9993c3
RD
6992} Py_INCREF(Py_None);
6993 _resultobj = Py_None;
6994{
6995 PyObject *o;
6996 o = PyInt_FromLong((long) (*_arg1));
6997 _resultobj = t_output_helper(_resultobj, o);
6998}
6999{
7000 PyObject *o;
7001 o = PyInt_FromLong((long) (*_arg2));
7002 _resultobj = t_output_helper(_resultobj, o);
7003}
7004 return _resultobj;
7005}
7006
e9159fe8
RD
7007#define wxScrolledWindow_CalcScrolledPosition1(_swigobj,_swigarg0) (_swigobj->CalcScrolledPosition(_swigarg0))
7008static PyObject *_wrap_wxScrolledWindow_CalcScrolledPosition1(PyObject *self, PyObject *args, PyObject *kwargs) {
7009 PyObject * _resultobj;
7010 wxPoint * _result;
7011 wxScrolledWindow * _arg0;
7012 wxPoint * _arg1;
7013 PyObject * _argo0 = 0;
7014 wxPoint temp;
7015 PyObject * _obj1 = 0;
7016 char *_kwnames[] = { "self","pt", NULL };
7017 char _ptemp[128];
7018
7019 self = self;
7020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxScrolledWindow_CalcScrolledPosition1",_kwnames,&_argo0,&_obj1))
7021 return NULL;
7022 if (_argo0) {
7023 if (_argo0 == Py_None) { _arg0 = NULL; }
7024 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7025 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition1. Expected _wxScrolledWindow_p.");
7026 return NULL;
7027 }
7028 }
7029{
7030 _arg1 = &temp;
7031 if (! wxPoint_helper(_obj1, &_arg1))
7032 return NULL;
7033}
7034{
7035 PyThreadState* __tstate = wxPyBeginAllowThreads();
7036 _result = new wxPoint (wxScrolledWindow_CalcScrolledPosition1(_arg0,*_arg1));
7037
7038 wxPyEndAllowThreads(__tstate);
7039 if (PyErr_Occurred()) return NULL;
7040} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
7041 _resultobj = Py_BuildValue("s",_ptemp);
7042 return _resultobj;
7043}
7044
7045#define wxScrolledWindow_CalcScrolledPosition2(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcScrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7046static PyObject *_wrap_wxScrolledWindow_CalcScrolledPosition2(PyObject *self, PyObject *args, PyObject *kwargs) {
9d8bd15f
RD
7047 PyObject * _resultobj;
7048 wxScrolledWindow * _arg0;
7049 int _arg1;
7050 int _arg2;
7051 int * _arg3;
7052 int temp;
7053 int * _arg4;
7054 int temp0;
7055 PyObject * _argo0 = 0;
7056 char *_kwnames[] = { "self","x","y", NULL };
7057
7058 self = self;
7059{
7060 _arg3 = &temp;
7061}
7062{
7063 _arg4 = &temp0;
7064}
e9159fe8 7065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxScrolledWindow_CalcScrolledPosition2",_kwnames,&_argo0,&_arg1,&_arg2))
9d8bd15f
RD
7066 return NULL;
7067 if (_argo0) {
7068 if (_argo0 == Py_None) { _arg0 = NULL; }
7069 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
e9159fe8 7070 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition2. Expected _wxScrolledWindow_p.");
9d8bd15f
RD
7071 return NULL;
7072 }
7073 }
7074{
4268f798 7075 PyThreadState* __tstate = wxPyBeginAllowThreads();
e9159fe8 7076 wxScrolledWindow_CalcScrolledPosition2(_arg0,_arg1,_arg2,_arg3,_arg4);
9d8bd15f 7077
4268f798 7078 wxPyEndAllowThreads(__tstate);
493f1553 7079 if (PyErr_Occurred()) return NULL;
9d8bd15f
RD
7080} Py_INCREF(Py_None);
7081 _resultobj = Py_None;
7082{
7083 PyObject *o;
7084 o = PyInt_FromLong((long) (*_arg3));
7085 _resultobj = t_output_helper(_resultobj, o);
7086}
7087{
7088 PyObject *o;
7089 o = PyInt_FromLong((long) (*_arg4));
7090 _resultobj = t_output_helper(_resultobj, o);
7091}
7092 return _resultobj;
7093}
7094
e9159fe8
RD
7095#define wxScrolledWindow_CalcUnscrolledPosition1(_swigobj,_swigarg0) (_swigobj->CalcUnscrolledPosition(_swigarg0))
7096static PyObject *_wrap_wxScrolledWindow_CalcUnscrolledPosition1(PyObject *self, PyObject *args, PyObject *kwargs) {
7097 PyObject * _resultobj;
7098 wxPoint * _result;
7099 wxScrolledWindow * _arg0;
7100 wxPoint * _arg1;
7101 PyObject * _argo0 = 0;
7102 wxPoint temp;
7103 PyObject * _obj1 = 0;
7104 char *_kwnames[] = { "self","pt", NULL };
7105 char _ptemp[128];
7106
7107 self = self;
7108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxScrolledWindow_CalcUnscrolledPosition1",_kwnames,&_argo0,&_obj1))
7109 return NULL;
7110 if (_argo0) {
7111 if (_argo0 == Py_None) { _arg0 = NULL; }
7112 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7113 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition1. Expected _wxScrolledWindow_p.");
7114 return NULL;
7115 }
7116 }
7117{
7118 _arg1 = &temp;
7119 if (! wxPoint_helper(_obj1, &_arg1))
7120 return NULL;
7121}
7122{
7123 PyThreadState* __tstate = wxPyBeginAllowThreads();
7124 _result = new wxPoint (wxScrolledWindow_CalcUnscrolledPosition1(_arg0,*_arg1));
7125
7126 wxPyEndAllowThreads(__tstate);
7127 if (PyErr_Occurred()) return NULL;
7128} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
7129 _resultobj = Py_BuildValue("s",_ptemp);
7130 return _resultobj;
7131}
7132
7133#define wxScrolledWindow_CalcUnscrolledPosition2(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcUnscrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7134static PyObject *_wrap_wxScrolledWindow_CalcUnscrolledPosition2(PyObject *self, PyObject *args, PyObject *kwargs) {
9d8bd15f
RD
7135 PyObject * _resultobj;
7136 wxScrolledWindow * _arg0;
7137 int _arg1;
7138 int _arg2;
7139 int * _arg3;
7140 int temp;
7141 int * _arg4;
7142 int temp0;
7143 PyObject * _argo0 = 0;
7144 char *_kwnames[] = { "self","x","y", NULL };
7145
7146 self = self;
7147{
7148 _arg3 = &temp;
7149}
7150{
7151 _arg4 = &temp0;
7152}
e9159fe8 7153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxScrolledWindow_CalcUnscrolledPosition2",_kwnames,&_argo0,&_arg1,&_arg2))
9d8bd15f
RD
7154 return NULL;
7155 if (_argo0) {
7156 if (_argo0 == Py_None) { _arg0 = NULL; }
7157 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
e9159fe8 7158 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition2. Expected _wxScrolledWindow_p.");
9d8bd15f
RD
7159 return NULL;
7160 }
7161 }
7162{
4268f798 7163 PyThreadState* __tstate = wxPyBeginAllowThreads();
e9159fe8 7164 wxScrolledWindow_CalcUnscrolledPosition2(_arg0,_arg1,_arg2,_arg3,_arg4);
9d8bd15f 7165
4268f798 7166 wxPyEndAllowThreads(__tstate);
493f1553 7167 if (PyErr_Occurred()) return NULL;
9d8bd15f
RD
7168} Py_INCREF(Py_None);
7169 _resultobj = Py_None;
7170{
7171 PyObject *o;
7172 o = PyInt_FromLong((long) (*_arg3));
7173 _resultobj = t_output_helper(_resultobj, o);
7174}
7175{
7176 PyObject *o;
7177 o = PyInt_FromLong((long) (*_arg4));
7178 _resultobj = t_output_helper(_resultobj, o);
7179}
7180 return _resultobj;
7181}
7182
d1679124
RD
7183#define wxScrolledWindow_SetScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScale(_swigarg0,_swigarg1))
7184static PyObject *_wrap_wxScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
7185 PyObject * _resultobj;
7186 wxScrolledWindow * _arg0;
7187 double _arg1;
7188 double _arg2;
7189 PyObject * _argo0 = 0;
7190 char *_kwnames[] = { "self","xs","ys", NULL };
7191
7192 self = self;
7193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxScrolledWindow_SetScale",_kwnames,&_argo0,&_arg1,&_arg2))
7194 return NULL;
7195 if (_argo0) {
7196 if (_argo0 == Py_None) { _arg0 = NULL; }
7197 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7198 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_SetScale. Expected _wxScrolledWindow_p.");
7199 return NULL;
7200 }
7201 }
7202{
4268f798 7203 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7204 wxScrolledWindow_SetScale(_arg0,_arg1,_arg2);
d1679124 7205
4268f798 7206 wxPyEndAllowThreads(__tstate);
493f1553 7207 if (PyErr_Occurred()) return NULL;
d1679124
RD
7208} Py_INCREF(Py_None);
7209 _resultobj = Py_None;
7210 return _resultobj;
7211}
7212
7213#define wxScrolledWindow_GetScaleX(_swigobj) (_swigobj->GetScaleX())
7214static PyObject *_wrap_wxScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
7215 PyObject * _resultobj;
7216 double _result;
7217 wxScrolledWindow * _arg0;
7218 PyObject * _argo0 = 0;
7219 char *_kwnames[] = { "self", NULL };
7220
7221 self = self;
7222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_GetScaleX",_kwnames,&_argo0))
7223 return NULL;
7224 if (_argo0) {
7225 if (_argo0 == Py_None) { _arg0 = NULL; }
7226 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7227 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetScaleX. Expected _wxScrolledWindow_p.");
7228 return NULL;
7229 }
7230 }
7231{
4268f798 7232 PyThreadState* __tstate = wxPyBeginAllowThreads();
e9159fe8
RD
7233 _result = (double )wxScrolledWindow_GetScaleX(_arg0);
7234
7235 wxPyEndAllowThreads(__tstate);
7236 if (PyErr_Occurred()) return NULL;
7237} _resultobj = Py_BuildValue("d",_result);
7238 return _resultobj;
7239}
7240
7241#define wxScrolledWindow_GetScaleY(_swigobj) (_swigobj->GetScaleY())
7242static PyObject *_wrap_wxScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
7243 PyObject * _resultobj;
7244 double _result;
7245 wxScrolledWindow * _arg0;
7246 PyObject * _argo0 = 0;
7247 char *_kwnames[] = { "self", NULL };
7248
7249 self = self;
7250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_GetScaleY",_kwnames,&_argo0))
7251 return NULL;
7252 if (_argo0) {
7253 if (_argo0 == Py_None) { _arg0 = NULL; }
7254 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7255 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetScaleY. Expected _wxScrolledWindow_p.");
7256 return NULL;
7257 }
7258 }
7259{
7260 PyThreadState* __tstate = wxPyBeginAllowThreads();
7261 _result = (double )wxScrolledWindow_GetScaleY(_arg0);
7262
7263 wxPyEndAllowThreads(__tstate);
7264 if (PyErr_Occurred()) return NULL;
7265} _resultobj = Py_BuildValue("d",_result);
7266 return _resultobj;
7267}
7268
7269#define wxScrolledWindow_AdjustScrollbars(_swigobj) (_swigobj->AdjustScrollbars())
7270static PyObject *_wrap_wxScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
7271 PyObject * _resultobj;
7272 wxScrolledWindow * _arg0;
7273 PyObject * _argo0 = 0;
7274 char *_kwnames[] = { "self", NULL };
7275
7276 self = self;
7277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_AdjustScrollbars",_kwnames,&_argo0))
7278 return NULL;
7279 if (_argo0) {
7280 if (_argo0 == Py_None) { _arg0 = NULL; }
7281 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7282 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_AdjustScrollbars. Expected _wxScrolledWindow_p.");
7283 return NULL;
7284 }
7285 }
7286{
7287 PyThreadState* __tstate = wxPyBeginAllowThreads();
7288 wxScrolledWindow_AdjustScrollbars(_arg0);
7289
7290 wxPyEndAllowThreads(__tstate);
7291 if (PyErr_Occurred()) return NULL;
7292} Py_INCREF(Py_None);
7293 _resultobj = Py_None;
7294 return _resultobj;
7295}
7296
7297#define wxScrolledWindow_Layout(_swigobj) (_swigobj->Layout())
7298static PyObject *_wrap_wxScrolledWindow_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
7299 PyObject * _resultobj;
7300 bool _result;
7301 wxScrolledWindow * _arg0;
7302 PyObject * _argo0 = 0;
7303 char *_kwnames[] = { "self", NULL };
7304
7305 self = self;
7306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_Layout",_kwnames,&_argo0))
7307 return NULL;
7308 if (_argo0) {
7309 if (_argo0 == Py_None) { _arg0 = NULL; }
7310 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7311 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_Layout. Expected _wxScrolledWindow_p.");
7312 return NULL;
7313 }
7314 }
7315{
7316 PyThreadState* __tstate = wxPyBeginAllowThreads();
7317 _result = (bool )wxScrolledWindow_Layout(_arg0);
7318
7319 wxPyEndAllowThreads(__tstate);
7320 if (PyErr_Occurred()) return NULL;
7321} _resultobj = Py_BuildValue("i",_result);
7322 return _resultobj;
7323}
7324
7325static void *SwigwxMenuTowxEvtHandler(void *ptr) {
7326 wxMenu *src;
7327 wxEvtHandler *dest;
7328 src = (wxMenu *) ptr;
7329 dest = (wxEvtHandler *) src;
7330 return (void *) dest;
7331}
7332
7333static void *SwigwxMenuTowxObject(void *ptr) {
7334 wxMenu *src;
7335 wxObject *dest;
7336 src = (wxMenu *) ptr;
7337 dest = (wxObject *) src;
7338 return (void *) dest;
7339}
7340
7341#define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
7342static PyObject *_wrap_new_wxMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
7343 PyObject * _resultobj;
7344 wxMenu * _result;
137b5242 7345 wxString * _arg0 = (wxString *) &wxPyEmptyString;
e9159fe8
RD
7346 long _arg1 = (long ) 0;
7347 PyObject * _obj0 = 0;
7348 char *_kwnames[] = { "title","style", NULL };
7349 char _ptemp[128];
7350
7351 self = self;
7352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|Ol:new_wxMenu",_kwnames,&_obj0,&_arg1))
7353 return NULL;
7354 if (_obj0)
7355{
7356 _arg0 = wxString_in_helper(_obj0);
7357 if (_arg0 == NULL)
7358 return NULL;
7359}
7360{
7361 PyThreadState* __tstate = wxPyBeginAllowThreads();
7362 _result = (wxMenu *)new_wxMenu(*_arg0,_arg1);
7363
7364 wxPyEndAllowThreads(__tstate);
7365 if (PyErr_Occurred()) return NULL;
7366} if (_result) {
7367 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenu_p");
7368 _resultobj = Py_BuildValue("s",_ptemp);
7369 } else {
7370 Py_INCREF(Py_None);
7371 _resultobj = Py_None;
7372 }
7373{
7374 if (_obj0)
7375 delete _arg0;
7376}
7377 return _resultobj;
7378}
7379
7380#define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7381static PyObject *_wrap_wxMenu_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
7382 PyObject * _resultobj;
7383 wxMenu * _arg0;
7384 int _arg1;
7385 wxString * _arg2;
137b5242 7386 wxString * _arg3 = (wxString *) &wxPyEmptyString;
546bfbea 7387 wxItemKind _arg4 = (wxItemKind ) wxITEM_NORMAL;
e9159fe8
RD
7388 PyObject * _argo0 = 0;
7389 PyObject * _obj2 = 0;
7390 PyObject * _obj3 = 0;
7391 char *_kwnames[] = { "self","id","item","helpString","kind", NULL };
7392
7393 self = self;
7394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|Oi:wxMenu_Append",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4))
7395 return NULL;
7396 if (_argo0) {
7397 if (_argo0 == Py_None) { _arg0 = NULL; }
7398 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7399 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
7400 return NULL;
7401 }
7402 }
7403{
7404 _arg2 = wxString_in_helper(_obj2);
7405 if (_arg2 == NULL)
7406 return NULL;
7407}
7408 if (_obj3)
7409{
7410 _arg3 = wxString_in_helper(_obj3);
7411 if (_arg3 == NULL)
7412 return NULL;
7413}
7414{
7415 PyThreadState* __tstate = wxPyBeginAllowThreads();
7416 wxMenu_Append(_arg0,_arg1,*_arg2,*_arg3,_arg4);
7417
7418 wxPyEndAllowThreads(__tstate);
7419 if (PyErr_Occurred()) return NULL;
7420} Py_INCREF(Py_None);
7421 _resultobj = Py_None;
7422{
7423 if (_obj2)
7424 delete _arg2;
7425}
7426{
7427 if (_obj3)
7428 delete _arg3;
7429}
7430 return _resultobj;
7431}
7432
7433#define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7434static PyObject *_wrap_wxMenu_AppendMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
7435 PyObject * _resultobj;
7436 wxMenu * _arg0;
7437 int _arg1;
7438 wxString * _arg2;
7439 wxMenu * _arg3;
137b5242 7440 wxString * _arg4 = (wxString *) &wxPyEmptyString;
e9159fe8
RD
7441 PyObject * _argo0 = 0;
7442 PyObject * _obj2 = 0;
7443 PyObject * _argo3 = 0;
7444 PyObject * _obj4 = 0;
7445 char *_kwnames[] = { "self","id","item","subMenu","helpString", NULL };
7446
7447 self = self;
7448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO|O:wxMenu_AppendMenu",_kwnames,&_argo0,&_arg1,&_obj2,&_argo3,&_obj4))
7449 return NULL;
7450 if (_argo0) {
7451 if (_argo0 == Py_None) { _arg0 = NULL; }
7452 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7453 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
7454 return NULL;
7455 }
7456 }
7457{
7458 _arg2 = wxString_in_helper(_obj2);
7459 if (_arg2 == NULL)
7460 return NULL;
7461}
7462 if (_argo3) {
7463 if (_argo3 == Py_None) { _arg3 = NULL; }
7464 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxMenu_p")) {
7465 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
7466 return NULL;
7467 }
7468 }
7469 if (_obj4)
7470{
7471 _arg4 = wxString_in_helper(_obj4);
7472 if (_arg4 == NULL)
7473 return NULL;
7474}
7475{
7476 PyThreadState* __tstate = wxPyBeginAllowThreads();
7477 wxMenu_AppendMenu(_arg0,_arg1,*_arg2,_arg3,*_arg4);
7478
7479 wxPyEndAllowThreads(__tstate);
7480 if (PyErr_Occurred()) return NULL;
7481} Py_INCREF(Py_None);
7482 _resultobj = Py_None;
7483{
7484 if (_obj2)
7485 delete _arg2;
7486}
7487{
7488 if (_obj4)
7489 delete _arg4;
7490}
7491 return _resultobj;
7492}
7493
7494#define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
7495static PyObject *_wrap_wxMenu_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
7496 PyObject * _resultobj;
7497 wxMenu * _arg0;
7498 wxMenuItem * _arg1;
7499 PyObject * _argo0 = 0;
7500 PyObject * _argo1 = 0;
7501 char *_kwnames[] = { "self","item", NULL };
7502
7503 self = self;
7504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_AppendItem",_kwnames,&_argo0,&_argo1))
7505 return NULL;
7506 if (_argo0) {
7507 if (_argo0 == Py_None) { _arg0 = NULL; }
7508 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7509 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
7510 return NULL;
7511 }
7512 }
7513 if (_argo1) {
7514 if (_argo1 == Py_None) { _arg1 = NULL; }
7515 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenuItem_p")) {
7516 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
7517 return NULL;
7518 }
7519 }
7520{
7521 PyThreadState* __tstate = wxPyBeginAllowThreads();
7522 wxMenu_AppendItem(_arg0,_arg1);
7523
7524 wxPyEndAllowThreads(__tstate);
7525 if (PyErr_Occurred()) return NULL;
7526} Py_INCREF(Py_None);
7527 _resultobj = Py_None;
7528 return _resultobj;
7529}
7530
7531#define wxMenu_AppendCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AppendCheckItem(_swigarg0,_swigarg1,_swigarg2))
7532static PyObject *_wrap_wxMenu_AppendCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
7533 PyObject * _resultobj;
7534 wxMenu * _arg0;
7535 int _arg1;
7536 wxString * _arg2;
137b5242 7537 wxString * _arg3 = (wxString *) &wxPyEmptyString;
e9159fe8
RD
7538 PyObject * _argo0 = 0;
7539 PyObject * _obj2 = 0;
7540 PyObject * _obj3 = 0;
7541 char *_kwnames[] = { "self","id","text","help", NULL };
7542
7543 self = self;
7544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|O:wxMenu_AppendCheckItem",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3))
7545 return NULL;
7546 if (_argo0) {
7547 if (_argo0 == Py_None) { _arg0 = NULL; }
7548 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7549 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendCheckItem. Expected _wxMenu_p.");
7550 return NULL;
7551 }
7552 }
7553{
7554 _arg2 = wxString_in_helper(_obj2);
7555 if (_arg2 == NULL)
7556 return NULL;
7557}
7558 if (_obj3)
7559{
7560 _arg3 = wxString_in_helper(_obj3);
7561 if (_arg3 == NULL)
7562 return NULL;
7563}
7564{
7565 PyThreadState* __tstate = wxPyBeginAllowThreads();
7566 wxMenu_AppendCheckItem(_arg0,_arg1,*_arg2,*_arg3);
7567
7568 wxPyEndAllowThreads(__tstate);
7569 if (PyErr_Occurred()) return NULL;
7570} Py_INCREF(Py_None);
7571 _resultobj = Py_None;
7572{
7573 if (_obj2)
7574 delete _arg2;
7575}
7576{
7577 if (_obj3)
7578 delete _arg3;
7579}
7580 return _resultobj;
7581}
7582
7583#define wxMenu_AppendRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AppendRadioItem(_swigarg0,_swigarg1,_swigarg2))
7584static PyObject *_wrap_wxMenu_AppendRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
7585 PyObject * _resultobj;
7586 wxMenu * _arg0;
7587 int _arg1;
7588 wxString * _arg2;
137b5242 7589 wxString * _arg3 = (wxString *) &wxPyEmptyString;
e9159fe8
RD
7590 PyObject * _argo0 = 0;
7591 PyObject * _obj2 = 0;
7592 PyObject * _obj3 = 0;
7593 char *_kwnames[] = { "self","id","text","help", NULL };
7594
7595 self = self;
7596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|O:wxMenu_AppendRadioItem",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3))
7597 return NULL;
7598 if (_argo0) {
7599 if (_argo0 == Py_None) { _arg0 = NULL; }
7600 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7601 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendRadioItem. Expected _wxMenu_p.");
7602 return NULL;
7603 }
7604 }
7605{
7606 _arg2 = wxString_in_helper(_obj2);
7607 if (_arg2 == NULL)
7608 return NULL;
7609}
7610 if (_obj3)
7611{
7612 _arg3 = wxString_in_helper(_obj3);
7613 if (_arg3 == NULL)
7614 return NULL;
7615}
7616{
7617 PyThreadState* __tstate = wxPyBeginAllowThreads();
7618 wxMenu_AppendRadioItem(_arg0,_arg1,*_arg2,*_arg3);
7619
7620 wxPyEndAllowThreads(__tstate);
7621 if (PyErr_Occurred()) return NULL;
7622} Py_INCREF(Py_None);
7623 _resultobj = Py_None;
7624{
7625 if (_obj2)
7626 delete _arg2;
7627}
7628{
7629 if (_obj3)
7630 delete _arg3;
7631}
7632 return _resultobj;
7633}
7634
7635#define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
7636static PyObject *_wrap_wxMenu_AppendSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
7637 PyObject * _resultobj;
7638 wxMenu * _arg0;
7639 PyObject * _argo0 = 0;
7640 char *_kwnames[] = { "self", NULL };
7641
7642 self = self;
7643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_AppendSeparator",_kwnames,&_argo0))
7644 return NULL;
7645 if (_argo0) {
7646 if (_argo0 == Py_None) { _arg0 = NULL; }
7647 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7648 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
7649 return NULL;
7650 }
7651 }
7652{
7653 PyThreadState* __tstate = wxPyBeginAllowThreads();
7654 wxMenu_AppendSeparator(_arg0);
7655
7656 wxPyEndAllowThreads(__tstate);
7657 if (PyErr_Occurred()) return NULL;
7658} Py_INCREF(Py_None);
7659 _resultobj = Py_None;
7660 return _resultobj;
7661}
7662
7663#define wxMenu_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7664static PyObject *_wrap_wxMenu_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
7665 PyObject * _resultobj;
7666 wxMenu * _arg0;
7667 size_t _arg1;
7668 int _arg2;
7669 wxString * _arg3;
137b5242 7670 wxString * _arg4 = (wxString *) &wxPyEmptyString;
546bfbea 7671 wxItemKind _arg5 = (wxItemKind ) wxITEM_NORMAL;
e9159fe8
RD
7672 PyObject * _argo0 = 0;
7673 PyObject * _obj3 = 0;
7674 PyObject * _obj4 = 0;
7675 char *_kwnames[] = { "self","pos","id","text","help","kind", NULL };
7676
7677 self = self;
7678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO|Oi:wxMenu_Insert",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4,&_arg5))
7679 return NULL;
7680 if (_argo0) {
7681 if (_argo0 == Py_None) { _arg0 = NULL; }
7682 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7683 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Insert. Expected _wxMenu_p.");
7684 return NULL;
7685 }
7686 }
7687{
7688 _arg3 = wxString_in_helper(_obj3);
7689 if (_arg3 == NULL)
7690 return NULL;
7691}
7692 if (_obj4)
7693{
7694 _arg4 = wxString_in_helper(_obj4);
7695 if (_arg4 == NULL)
7696 return NULL;
7697}
7698{
7699 PyThreadState* __tstate = wxPyBeginAllowThreads();
7700 wxMenu_Insert(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5);
7701
7702 wxPyEndAllowThreads(__tstate);
7703 if (PyErr_Occurred()) return NULL;
7704} Py_INCREF(Py_None);
7705 _resultobj = Py_None;
7706{
7707 if (_obj3)
7708 delete _arg3;
7709}
7710{
7711 if (_obj4)
7712 delete _arg4;
7713}
7714 return _resultobj;
7715}
7716
7717#define wxMenu_InsertSeparator(_swigobj,_swigarg0) (_swigobj->InsertSeparator(_swigarg0))
7718static PyObject *_wrap_wxMenu_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
7719 PyObject * _resultobj;
7720 wxMenu * _arg0;
7721 size_t _arg1;
7722 PyObject * _argo0 = 0;
7723 char *_kwnames[] = { "self","pos", NULL };
7724
7725 self = self;
7726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_InsertSeparator",_kwnames,&_argo0,&_arg1))
7727 return NULL;
7728 if (_argo0) {
7729 if (_argo0 == Py_None) { _arg0 = NULL; }
7730 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7731 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_InsertSeparator. Expected _wxMenu_p.");
7732 return NULL;
7733 }
7734 }
7735{
7736 PyThreadState* __tstate = wxPyBeginAllowThreads();
7737 wxMenu_InsertSeparator(_arg0,_arg1);
7738
7739 wxPyEndAllowThreads(__tstate);
7740 if (PyErr_Occurred()) return NULL;
7741} Py_INCREF(Py_None);
7742 _resultobj = Py_None;
7743 return _resultobj;
7744}
7745
7746#define wxMenu_InsertCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertCheckItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7747static PyObject *_wrap_wxMenu_InsertCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
7748 PyObject * _resultobj;
7749 wxMenu * _arg0;
7750 size_t _arg1;
7751 int _arg2;
7752 wxString * _arg3;
137b5242 7753 wxString * _arg4 = (wxString *) &wxPyEmptyString;
e9159fe8
RD
7754 PyObject * _argo0 = 0;
7755 PyObject * _obj3 = 0;
7756 PyObject * _obj4 = 0;
7757 char *_kwnames[] = { "self","pos","id","text","help", NULL };
7758
7759 self = self;
7760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO|O:wxMenu_InsertCheckItem",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4))
7761 return NULL;
7762 if (_argo0) {
7763 if (_argo0 == Py_None) { _arg0 = NULL; }
7764 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7765 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_InsertCheckItem. Expected _wxMenu_p.");
7766 return NULL;
7767 }
7768 }
7769{
7770 _arg3 = wxString_in_helper(_obj3);
7771 if (_arg3 == NULL)
7772 return NULL;
7773}
7774 if (_obj4)
7775{
7776 _arg4 = wxString_in_helper(_obj4);
7777 if (_arg4 == NULL)
7778 return NULL;
7779}
7780{
7781 PyThreadState* __tstate = wxPyBeginAllowThreads();
7782 wxMenu_InsertCheckItem(_arg0,_arg1,_arg2,*_arg3,*_arg4);
7783
7784 wxPyEndAllowThreads(__tstate);
7785 if (PyErr_Occurred()) return NULL;
7786} Py_INCREF(Py_None);
7787 _resultobj = Py_None;
7788{
7789 if (_obj3)
7790 delete _arg3;
7791}
7792{
7793 if (_obj4)
7794 delete _arg4;
7795}
7796 return _resultobj;
7797}
7798
7799#define wxMenu_InsertRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertRadioItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7800static PyObject *_wrap_wxMenu_InsertRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
7801 PyObject * _resultobj;
7802 wxMenu * _arg0;
7803 size_t _arg1;
7804 int _arg2;
7805 wxString * _arg3;
137b5242 7806 wxString * _arg4 = (wxString *) &wxPyEmptyString;
e9159fe8
RD
7807 PyObject * _argo0 = 0;
7808 PyObject * _obj3 = 0;
7809 PyObject * _obj4 = 0;
7810 char *_kwnames[] = { "self","pos","id","text","help", NULL };
7811
7812 self = self;
7813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO|O:wxMenu_InsertRadioItem",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4))
7814 return NULL;
7815 if (_argo0) {
7816 if (_argo0 == Py_None) { _arg0 = NULL; }
7817 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7818 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_InsertRadioItem. Expected _wxMenu_p.");
7819 return NULL;
7820 }
7821 }
7822{
7823 _arg3 = wxString_in_helper(_obj3);
7824 if (_arg3 == NULL)
7825 return NULL;
7826}
7827 if (_obj4)
7828{
7829 _arg4 = wxString_in_helper(_obj4);
7830 if (_arg4 == NULL)
7831 return NULL;
7832}
7833{
7834 PyThreadState* __tstate = wxPyBeginAllowThreads();
7835 wxMenu_InsertRadioItem(_arg0,_arg1,_arg2,*_arg3,*_arg4);
7836
7837 wxPyEndAllowThreads(__tstate);
7838 if (PyErr_Occurred()) return NULL;
7839} Py_INCREF(Py_None);
7840 _resultobj = Py_None;
7841{
7842 if (_obj3)
7843 delete _arg3;
7844}
7845{
7846 if (_obj4)
7847 delete _arg4;
7848}
7849 return _resultobj;
7850}
7851
7852#define wxMenu_InsertMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7853static PyObject *_wrap_wxMenu_InsertMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
7854 PyObject * _resultobj;
7855 wxMenu * _arg0;
7856 size_t _arg1;
7857 int _arg2;
7858 wxString * _arg3;
7859 wxMenu * _arg4;
137b5242 7860 wxString * _arg5 = (wxString *) &wxPyEmptyString;
e9159fe8
RD
7861 PyObject * _argo0 = 0;
7862 PyObject * _obj3 = 0;
7863 PyObject * _argo4 = 0;
7864 PyObject * _obj5 = 0;
7865 char *_kwnames[] = { "self","pos","id","text","submenu","help", NULL };
7866
7867 self = self;
7868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOO|O:wxMenu_InsertMenu",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_argo4,&_obj5))
7869 return NULL;
7870 if (_argo0) {
7871 if (_argo0 == Py_None) { _arg0 = NULL; }
7872 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7873 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_InsertMenu. Expected _wxMenu_p.");
7874 return NULL;
7875 }
7876 }
7877{
7878 _arg3 = wxString_in_helper(_obj3);
7879 if (_arg3 == NULL)
7880 return NULL;
7881}
7882 if (_argo4) {
7883 if (_argo4 == Py_None) { _arg4 = NULL; }
7884 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxMenu_p")) {
7885 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxMenu_InsertMenu. Expected _wxMenu_p.");
7886 return NULL;
7887 }
7888 }
7889 if (_obj5)
7890{
7891 _arg5 = wxString_in_helper(_obj5);
7892 if (_arg5 == NULL)
7893 return NULL;
7894}
7895{
7896 PyThreadState* __tstate = wxPyBeginAllowThreads();
7897 wxMenu_InsertMenu(_arg0,_arg1,_arg2,*_arg3,_arg4,*_arg5);
d1679124 7898
4268f798 7899 wxPyEndAllowThreads(__tstate);
493f1553 7900 if (PyErr_Occurred()) return NULL;
e9159fe8
RD
7901} Py_INCREF(Py_None);
7902 _resultobj = Py_None;
7903{
7904 if (_obj3)
7905 delete _arg3;
7906}
7907{
7908 if (_obj5)
7909 delete _arg5;
7910}
d1679124
RD
7911 return _resultobj;
7912}
7913
e9159fe8
RD
7914#define wxMenu_InsertItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Insert(_swigarg0,_swigarg1))
7915static PyObject *_wrap_wxMenu_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
d1679124 7916 PyObject * _resultobj;
e9159fe8
RD
7917 bool _result;
7918 wxMenu * _arg0;
7919 size_t _arg1;
7920 wxMenuItem * _arg2;
d1679124 7921 PyObject * _argo0 = 0;
e9159fe8
RD
7922 PyObject * _argo2 = 0;
7923 char *_kwnames[] = { "self","pos","item", NULL };
d1679124
RD
7924
7925 self = self;
e9159fe8 7926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenu_InsertItem",_kwnames,&_argo0,&_arg1,&_argo2))
d1679124
RD
7927 return NULL;
7928 if (_argo0) {
7929 if (_argo0 == Py_None) { _arg0 = NULL; }
e9159fe8
RD
7930 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7931 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_InsertItem. Expected _wxMenu_p.");
7932 return NULL;
7933 }
7934 }
7935 if (_argo2) {
7936 if (_argo2 == Py_None) { _arg2 = NULL; }
7937 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxMenuItem_p")) {
7938 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxMenu_InsertItem. Expected _wxMenuItem_p.");
d1679124
RD
7939 return NULL;
7940 }
7941 }
7942{
4268f798 7943 PyThreadState* __tstate = wxPyBeginAllowThreads();
e9159fe8 7944 _result = (bool )wxMenu_InsertItem(_arg0,_arg1,_arg2);
d1679124 7945
4268f798 7946 wxPyEndAllowThreads(__tstate);
493f1553 7947 if (PyErr_Occurred()) return NULL;
e9159fe8 7948} _resultobj = Py_BuildValue("i",_result);
d1679124
RD
7949 return _resultobj;
7950}
7951
e9159fe8
RD
7952#define wxMenu_Prepend(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Prepend(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7953static PyObject *_wrap_wxMenu_Prepend(PyObject *self, PyObject *args, PyObject *kwargs) {
d1679124 7954 PyObject * _resultobj;
e9159fe8
RD
7955 wxMenu * _arg0;
7956 int _arg1;
7957 wxString * _arg2;
137b5242 7958 wxString * _arg3 = (wxString *) &wxPyEmptyString;
546bfbea 7959 wxItemKind _arg4 = (wxItemKind ) wxITEM_NORMAL;
d1679124 7960 PyObject * _argo0 = 0;
e9159fe8
RD
7961 PyObject * _obj2 = 0;
7962 PyObject * _obj3 = 0;
7963 char *_kwnames[] = { "self","id","text","help","kind", NULL };
d1679124
RD
7964
7965 self = self;
e9159fe8 7966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|Oi:wxMenu_Prepend",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4))
d1679124
RD
7967 return NULL;
7968 if (_argo0) {
7969 if (_argo0 == Py_None) { _arg0 = NULL; }
e9159fe8
RD
7970 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7971 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Prepend. Expected _wxMenu_p.");
d1679124
RD
7972 return NULL;
7973 }
7974 }
e9159fe8
RD
7975{
7976 _arg2 = wxString_in_helper(_obj2);
7977 if (_arg2 == NULL)
7978 return NULL;
7979}
7980 if (_obj3)
7981{
7982 _arg3 = wxString_in_helper(_obj3);
7983 if (_arg3 == NULL)
7984 return NULL;
7985}
d1679124 7986{
4268f798 7987 PyThreadState* __tstate = wxPyBeginAllowThreads();
e9159fe8 7988 wxMenu_Prepend(_arg0,_arg1,*_arg2,*_arg3,_arg4);
d1679124 7989
4268f798 7990 wxPyEndAllowThreads(__tstate);
493f1553 7991 if (PyErr_Occurred()) return NULL;
d1679124
RD
7992} Py_INCREF(Py_None);
7993 _resultobj = Py_None;
e9159fe8
RD
7994{
7995 if (_obj2)
7996 delete _arg2;
7997}
7998{
7999 if (_obj3)
8000 delete _arg3;
8001}
d1679124
RD
8002 return _resultobj;
8003}
8004
e9159fe8
RD
8005#define wxMenu_PrependSeparator(_swigobj) (_swigobj->PrependSeparator())
8006static PyObject *_wrap_wxMenu_PrependSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
26e335b8 8007 PyObject * _resultobj;
e9159fe8 8008 wxMenu * _arg0;
26e335b8
RD
8009 PyObject * _argo0 = 0;
8010 char *_kwnames[] = { "self", NULL };
8011
8012 self = self;
e9159fe8 8013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_PrependSeparator",_kwnames,&_argo0))
26e335b8
RD
8014 return NULL;
8015 if (_argo0) {
8016 if (_argo0 == Py_None) { _arg0 = NULL; }
e9159fe8
RD
8017 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8018 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_PrependSeparator. Expected _wxMenu_p.");
26e335b8
RD
8019 return NULL;
8020 }
8021 }
8022{
8023 PyThreadState* __tstate = wxPyBeginAllowThreads();
e9159fe8 8024 wxMenu_PrependSeparator(_arg0);
26e335b8
RD
8025
8026 wxPyEndAllowThreads(__tstate);
8027 if (PyErr_Occurred()) return NULL;
e9159fe8
RD
8028} Py_INCREF(Py_None);
8029 _resultobj = Py_None;
26e335b8
RD
8030 return _resultobj;
8031}
8032
e9159fe8
RD
8033#define wxMenu_PrependCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PrependCheckItem(_swigarg0,_swigarg1,_swigarg2))
8034static PyObject *_wrap_wxMenu_PrependCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8035 PyObject * _resultobj;
e9159fe8
RD
8036 wxMenu * _arg0;
8037 int _arg1;
8038 wxString * _arg2;
137b5242 8039 wxString * _arg3 = (wxString *) &wxPyEmptyString;
e9159fe8
RD
8040 PyObject * _argo0 = 0;
8041 PyObject * _obj2 = 0;
8042 PyObject * _obj3 = 0;
8043 char *_kwnames[] = { "self","id","text","help", NULL };
8ab979d7
RD
8044
8045 self = self;
e9159fe8 8046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|O:wxMenu_PrependCheckItem",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3))
8ab979d7 8047 return NULL;
e9159fe8
RD
8048 if (_argo0) {
8049 if (_argo0 == Py_None) { _arg0 = NULL; }
8050 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8051 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_PrependCheckItem. Expected _wxMenu_p.");
8052 return NULL;
8053 }
8054 }
8ab979d7 8055{
e9159fe8
RD
8056 _arg2 = wxString_in_helper(_obj2);
8057 if (_arg2 == NULL)
8058 return NULL;
8059}
8060 if (_obj3)
8061{
8062 _arg3 = wxString_in_helper(_obj3);
8063 if (_arg3 == NULL)
185d7c3e 8064 return NULL;
8ab979d7 8065}
cf694132 8066{
4268f798 8067 PyThreadState* __tstate = wxPyBeginAllowThreads();
e9159fe8 8068 wxMenu_PrependCheckItem(_arg0,_arg1,*_arg2,*_arg3);
cf694132 8069
4268f798 8070 wxPyEndAllowThreads(__tstate);
493f1553 8071 if (PyErr_Occurred()) return NULL;
e9159fe8
RD
8072} Py_INCREF(Py_None);
8073 _resultobj = Py_None;
8ab979d7 8074{
e9159fe8
RD
8075 if (_obj2)
8076 delete _arg2;
8077}
8078{
8079 if (_obj3)
8080 delete _arg3;
8ab979d7
RD
8081}
8082 return _resultobj;
8083}
8084
e9159fe8
RD
8085#define wxMenu_PrependRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PrependRadioItem(_swigarg0,_swigarg1,_swigarg2))
8086static PyObject *_wrap_wxMenu_PrependRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8087 PyObject * _resultobj;
8088 wxMenu * _arg0;
8089 int _arg1;
8090 wxString * _arg2;
137b5242 8091 wxString * _arg3 = (wxString *) &wxPyEmptyString;
1d99702e 8092 PyObject * _argo0 = 0;
8ab979d7
RD
8093 PyObject * _obj2 = 0;
8094 PyObject * _obj3 = 0;
e9159fe8 8095 char *_kwnames[] = { "self","id","text","help", NULL };
8ab979d7
RD
8096
8097 self = self;
e9159fe8 8098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|O:wxMenu_PrependRadioItem",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3))
8ab979d7 8099 return NULL;
1d99702e
RD
8100 if (_argo0) {
8101 if (_argo0 == Py_None) { _arg0 = NULL; }
8102 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
e9159fe8 8103 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_PrependRadioItem. Expected _wxMenu_p.");
8ab979d7
RD
8104 return NULL;
8105 }
8106 }
8107{
c8bc7bb8
RD
8108 _arg2 = wxString_in_helper(_obj2);
8109 if (_arg2 == NULL)
8ab979d7 8110 return NULL;
8ab979d7
RD
8111}
8112 if (_obj3)
8113{
c8bc7bb8
RD
8114 _arg3 = wxString_in_helper(_obj3);
8115 if (_arg3 == NULL)
8ab979d7 8116 return NULL;
8ab979d7 8117}
cf694132 8118{
4268f798 8119 PyThreadState* __tstate = wxPyBeginAllowThreads();
e9159fe8 8120 wxMenu_PrependRadioItem(_arg0,_arg1,*_arg2,*_arg3);
cf694132 8121
4268f798 8122 wxPyEndAllowThreads(__tstate);
493f1553 8123 if (PyErr_Occurred()) return NULL;
cf694132 8124} Py_INCREF(Py_None);
8ab979d7
RD
8125 _resultobj = Py_None;
8126{
8127 if (_obj2)
8128 delete _arg2;
8129}
8130{
8131 if (_obj3)
8132 delete _arg3;
8133}
8134 return _resultobj;
8135}
8136
e9159fe8
RD
8137#define wxMenu_PrependMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Prepend(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8138static PyObject *_wrap_wxMenu_PrependMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8139 PyObject * _resultobj;
8140 wxMenu * _arg0;
8141 int _arg1;
8142 wxString * _arg2;
8143 wxMenu * _arg3;
137b5242 8144 wxString * _arg4 = (wxString *) &wxPyEmptyString;
1d99702e 8145 PyObject * _argo0 = 0;
8ab979d7 8146 PyObject * _obj2 = 0;
1d99702e 8147 PyObject * _argo3 = 0;
8ab979d7 8148 PyObject * _obj4 = 0;
e9159fe8 8149 char *_kwnames[] = { "self","id","text","submenu","help", NULL };
8ab979d7
RD
8150
8151 self = self;
e9159fe8 8152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO|O:wxMenu_PrependMenu",_kwnames,&_argo0,&_arg1,&_obj2,&_argo3,&_obj4))
8ab979d7 8153 return NULL;
1d99702e
RD
8154 if (_argo0) {
8155 if (_argo0 == Py_None) { _arg0 = NULL; }
8156 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
e9159fe8 8157 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_PrependMenu. Expected _wxMenu_p.");
8ab979d7
RD
8158 return NULL;
8159 }
8160 }
8161{
c8bc7bb8
RD
8162 _arg2 = wxString_in_helper(_obj2);
8163 if (_arg2 == NULL)
185d7c3e 8164 return NULL;
8ab979d7 8165}
1d99702e
RD
8166 if (_argo3) {
8167 if (_argo3 == Py_None) { _arg3 = NULL; }
8168 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxMenu_p")) {
e9159fe8 8169 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxMenu_PrependMenu. Expected _wxMenu_p.");
8ab979d7
RD
8170 return NULL;
8171 }
8172 }
8173 if (_obj4)
8174{
c8bc7bb8
RD
8175 _arg4 = wxString_in_helper(_obj4);
8176 if (_arg4 == NULL)
185d7c3e 8177 return NULL;
8ab979d7 8178}
cf694132 8179{
4268f798 8180 PyThreadState* __tstate = wxPyBeginAllowThreads();
e9159fe8 8181 wxMenu_PrependMenu(_arg0,_arg1,*_arg2,_arg3,*_arg4);
cf694132 8182
4268f798 8183 wxPyEndAllowThreads(__tstate);
493f1553 8184 if (PyErr_Occurred()) return NULL;
cf694132 8185} Py_INCREF(Py_None);
8ab979d7
RD
8186 _resultobj = Py_None;
8187{
8188 if (_obj2)
8189 delete _arg2;
8190}
8191{
8192 if (_obj4)
8193 delete _arg4;
8194}
8195 return _resultobj;
8196}
8197
e9159fe8
RD
8198#define wxMenu_PrependItem(_swigobj,_swigarg0) (_swigobj->Prepend(_swigarg0))
8199static PyObject *_wrap_wxMenu_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
8200 PyObject * _resultobj;
8201 wxMenu * _arg0;
8202 wxMenuItem * _arg1;
1d99702e
RD
8203 PyObject * _argo0 = 0;
8204 PyObject * _argo1 = 0;
efc5f224 8205 char *_kwnames[] = { "self","item", NULL };
af309447
RD
8206
8207 self = self;
e9159fe8 8208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_PrependItem",_kwnames,&_argo0,&_argo1))
af309447 8209 return NULL;
1d99702e
RD
8210 if (_argo0) {
8211 if (_argo0 == Py_None) { _arg0 = NULL; }
8212 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
e9159fe8 8213 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_PrependItem. Expected _wxMenu_p.");
af309447
RD
8214 return NULL;
8215 }
8216 }
1d99702e
RD
8217 if (_argo1) {
8218 if (_argo1 == Py_None) { _arg1 = NULL; }
8219 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenuItem_p")) {
e9159fe8 8220 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_PrependItem. Expected _wxMenuItem_p.");
8ab979d7
RD
8221 return NULL;
8222 }
8223 }
cf694132 8224{
4268f798 8225 PyThreadState* __tstate = wxPyBeginAllowThreads();
e9159fe8 8226 wxMenu_PrependItem(_arg0,_arg1);
cf694132 8227
4268f798 8228 wxPyEndAllowThreads(__tstate);
493f1553 8229 if (PyErr_Occurred()) return NULL;
cf694132 8230} Py_INCREF(Py_None);
8ab979d7
RD
8231 _resultobj = Py_None;
8232 return _resultobj;
8233}
8234
8235#define wxMenu_Break(_swigobj) (_swigobj->Break())
efc5f224 8236static PyObject *_wrap_wxMenu_Break(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8237 PyObject * _resultobj;
8238 wxMenu * _arg0;
1d99702e 8239 PyObject * _argo0 = 0;
efc5f224 8240 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
8241
8242 self = self;
efc5f224 8243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_Break",_kwnames,&_argo0))
8ab979d7 8244 return NULL;
1d99702e
RD
8245 if (_argo0) {
8246 if (_argo0 == Py_None) { _arg0 = NULL; }
8247 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8ab979d7
RD
8248 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
8249 return NULL;
8250 }
8251 }
cf694132 8252{
4268f798 8253 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8254 wxMenu_Break(_arg0);
cf694132 8255
4268f798 8256 wxPyEndAllowThreads(__tstate);
493f1553 8257 if (PyErr_Occurred()) return NULL;
cf694132 8258} Py_INCREF(Py_None);
8ab979d7
RD
8259 _resultobj = Py_None;
8260 return _resultobj;
8261}
8262
8263#define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
efc5f224 8264static PyObject *_wrap_wxMenu_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8265 PyObject * _resultobj;
8266 wxMenu * _arg0;
8267 int _arg1;
8268 bool _arg2;
1d99702e 8269 PyObject * _argo0 = 0;
8ab979d7 8270 int tempbool2;
efc5f224 8271 char *_kwnames[] = { "self","id","flag", NULL };
8ab979d7
RD
8272
8273 self = self;
efc5f224 8274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxMenu_Check",_kwnames,&_argo0,&_arg1,&tempbool2))
8ab979d7 8275 return NULL;
1d99702e
RD
8276 if (_argo0) {
8277 if (_argo0 == Py_None) { _arg0 = NULL; }
8278 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8ab979d7
RD
8279 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
8280 return NULL;
8281 }
8282 }
8283 _arg2 = (bool ) tempbool2;
cf694132 8284{
4268f798 8285 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8286 wxMenu_Check(_arg0,_arg1,_arg2);
cf694132 8287
4268f798 8288 wxPyEndAllowThreads(__tstate);
493f1553 8289 if (PyErr_Occurred()) return NULL;
cf694132 8290} Py_INCREF(Py_None);
8ab979d7
RD
8291 _resultobj = Py_None;
8292 return _resultobj;
8293}
8294
b1462dfa
RD
8295#define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
8296static PyObject *_wrap_wxMenu_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
8297 PyObject * _resultobj;
8298 bool _result;
8299 wxMenu * _arg0;
8300 int _arg1;
8301 PyObject * _argo0 = 0;
8302 char *_kwnames[] = { "self","id", NULL };
8303
8304 self = self;
8305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_IsChecked",_kwnames,&_argo0,&_arg1))
8306 return NULL;
8307 if (_argo0) {
8308 if (_argo0 == Py_None) { _arg0 = NULL; }
8309 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8310 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
8311 return NULL;
8312 }
8313 }
8314{
4268f798 8315 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8316 _result = (bool )wxMenu_IsChecked(_arg0,_arg1);
b1462dfa 8317
4268f798 8318 wxPyEndAllowThreads(__tstate);
493f1553 8319 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
8320} _resultobj = Py_BuildValue("i",_result);
8321 return _resultobj;
8322}
8323
8ab979d7 8324#define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
efc5f224 8325static PyObject *_wrap_wxMenu_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8326 PyObject * _resultobj;
8327 wxMenu * _arg0;
8328 int _arg1;
8329 bool _arg2;
1d99702e 8330 PyObject * _argo0 = 0;
8ab979d7 8331 int tempbool2;
efc5f224 8332 char *_kwnames[] = { "self","id","enable", NULL };
8ab979d7
RD
8333
8334 self = self;
efc5f224 8335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxMenu_Enable",_kwnames,&_argo0,&_arg1,&tempbool2))
8ab979d7 8336 return NULL;
1d99702e
RD
8337 if (_argo0) {
8338 if (_argo0 == Py_None) { _arg0 = NULL; }
8339 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8ab979d7
RD
8340 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
8341 return NULL;
8342 }
8343 }
8344 _arg2 = (bool ) tempbool2;
cf694132 8345{
4268f798 8346 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8347 wxMenu_Enable(_arg0,_arg1,_arg2);
cf694132 8348
4268f798 8349 wxPyEndAllowThreads(__tstate);
493f1553 8350 if (PyErr_Occurred()) return NULL;
cf694132 8351} Py_INCREF(Py_None);
8ab979d7
RD
8352 _resultobj = Py_None;
8353 return _resultobj;
8354}
8355
b1462dfa
RD
8356#define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
8357static PyObject *_wrap_wxMenu_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
8358 PyObject * _resultobj;
8359 bool _result;
8360 wxMenu * _arg0;
8361 int _arg1;
8362 PyObject * _argo0 = 0;
8363 char *_kwnames[] = { "self","id", NULL };
8364
8365 self = self;
8366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_IsEnabled",_kwnames,&_argo0,&_arg1))
8367 return NULL;
8368 if (_argo0) {
8369 if (_argo0 == Py_None) { _arg0 = NULL; }
8370 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8371 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
8372 return NULL;
8373 }
8374 }
8375{
4268f798 8376 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8377 _result = (bool )wxMenu_IsEnabled(_arg0,_arg1);
b1462dfa 8378
4268f798 8379 wxPyEndAllowThreads(__tstate);
493f1553 8380 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
8381} _resultobj = Py_BuildValue("i",_result);
8382 return _resultobj;
8383}
8384
8ab979d7 8385#define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
efc5f224 8386static PyObject *_wrap_wxMenu_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8387 PyObject * _resultobj;
8388 int _result;
8389 wxMenu * _arg0;
8390 wxString * _arg1;
1d99702e 8391 PyObject * _argo0 = 0;
8ab979d7 8392 PyObject * _obj1 = 0;
efc5f224 8393 char *_kwnames[] = { "self","itemString", NULL };
8ab979d7
RD
8394
8395 self = self;
efc5f224 8396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_FindItem",_kwnames,&_argo0,&_obj1))
8ab979d7 8397 return NULL;
1d99702e
RD
8398 if (_argo0) {
8399 if (_argo0 == Py_None) { _arg0 = NULL; }
8400 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8ab979d7
RD
8401 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
8402 return NULL;
8403 }
8404 }
8405{
c8bc7bb8
RD
8406 _arg1 = wxString_in_helper(_obj1);
8407 if (_arg1 == NULL)
185d7c3e 8408 return NULL;
8ab979d7 8409}
cf694132 8410{
4268f798 8411 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8412 _result = (int )wxMenu_FindItem(_arg0,*_arg1);
cf694132 8413
4268f798 8414 wxPyEndAllowThreads(__tstate);
493f1553 8415 if (PyErr_Occurred()) return NULL;
cf694132 8416} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
8417{
8418 if (_obj1)
8419 delete _arg1;
8420}
8421 return _resultobj;
8422}
8423
b1462dfa
RD
8424#define wxMenu_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
8425static PyObject *_wrap_wxMenu_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
8426 PyObject * _resultobj;
8427 wxMenuItem * _result;
8428 wxMenu * _arg0;
8429 int _arg1;
8430 PyObject * _argo0 = 0;
8431 char *_kwnames[] = { "self","id", NULL };
b1462dfa
RD
8432
8433 self = self;
8434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_FindItemById",_kwnames,&_argo0,&_arg1))
8435 return NULL;
8436 if (_argo0) {
8437 if (_argo0 == Py_None) { _arg0 = NULL; }
8438 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8439 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_FindItemById. Expected _wxMenu_p.");
8440 return NULL;
8441 }
8442 }
8443{
4268f798 8444 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8445 _result = (wxMenuItem *)wxMenu_FindItemById(_arg0,_arg1);
b1462dfa 8446
4268f798 8447 wxPyEndAllowThreads(__tstate);
493f1553 8448 if (PyErr_Occurred()) return NULL;
9416aa89 8449}{ _resultobj = wxPyMake_wxObject(_result); }
b1462dfa
RD
8450 return _resultobj;
8451}
8452
8ab979d7 8453#define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
efc5f224 8454static PyObject *_wrap_wxMenu_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8455 PyObject * _resultobj;
8456 wxString * _result;
8457 wxMenu * _arg0;
1d99702e 8458 PyObject * _argo0 = 0;
efc5f224 8459 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
8460
8461 self = self;
efc5f224 8462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetTitle",_kwnames,&_argo0))
8ab979d7 8463 return NULL;
1d99702e
RD
8464 if (_argo0) {
8465 if (_argo0 == Py_None) { _arg0 = NULL; }
8466 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8ab979d7
RD
8467 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
8468 return NULL;
8469 }
8470 }
8ab979d7 8471{
4268f798 8472 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8473 _result = new wxString (wxMenu_GetTitle(_arg0));
cf694132 8474
4268f798 8475 wxPyEndAllowThreads(__tstate);
493f1553 8476 if (PyErr_Occurred()) return NULL;
cf694132 8477}{
c8bc7bb8
RD
8478#if wxUSE_UNICODE
8479 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
8480#else
eec92d76 8481 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 8482#endif
8ab979d7
RD
8483}
8484{
8485 delete _result;
8486}
8487 return _resultobj;
8488}
8489
8490#define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
efc5f224 8491static PyObject *_wrap_wxMenu_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8492 PyObject * _resultobj;
8493 wxMenu * _arg0;
8494 wxString * _arg1;
1d99702e 8495 PyObject * _argo0 = 0;
8ab979d7 8496 PyObject * _obj1 = 0;
efc5f224 8497 char *_kwnames[] = { "self","title", NULL };
8ab979d7
RD
8498
8499 self = self;
efc5f224 8500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_SetTitle",_kwnames,&_argo0,&_obj1))
8ab979d7 8501 return NULL;
1d99702e
RD
8502 if (_argo0) {
8503 if (_argo0 == Py_None) { _arg0 = NULL; }
8504 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8ab979d7
RD
8505 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
8506 return NULL;
8507 }
8508 }
8509{
c8bc7bb8
RD
8510 _arg1 = wxString_in_helper(_obj1);
8511 if (_arg1 == NULL)
185d7c3e 8512 return NULL;
8ab979d7 8513}
cf694132 8514{
4268f798 8515 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8516 wxMenu_SetTitle(_arg0,*_arg1);
cf694132 8517
4268f798 8518 wxPyEndAllowThreads(__tstate);
493f1553 8519 if (PyErr_Occurred()) return NULL;
cf694132 8520} Py_INCREF(Py_None);
8ab979d7
RD
8521 _resultobj = Py_None;
8522{
8523 if (_obj1)
8524 delete _arg1;
8525}
8526 return _resultobj;
8527}
8528
b1462dfa
RD
8529#define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
8530static PyObject *_wrap_wxMenu_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8531 PyObject * _resultobj;
b1462dfa 8532 wxString * _result;
8ab979d7
RD
8533 wxMenu * _arg0;
8534 int _arg1;
1d99702e 8535 PyObject * _argo0 = 0;
efc5f224 8536 char *_kwnames[] = { "self","id", NULL };
8ab979d7
RD
8537
8538 self = self;
b1462dfa 8539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_GetLabel",_kwnames,&_argo0,&_arg1))
8ab979d7 8540 return NULL;
1d99702e
RD
8541 if (_argo0) {
8542 if (_argo0 == Py_None) { _arg0 = NULL; }
8543 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
b1462dfa 8544 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
8ab979d7
RD
8545 return NULL;
8546 }
8547 }
cf694132 8548{
4268f798 8549 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8550 _result = new wxString (wxMenu_GetLabel(_arg0,_arg1));
cf694132 8551
4268f798 8552 wxPyEndAllowThreads(__tstate);
493f1553 8553 if (PyErr_Occurred()) return NULL;
b1462dfa 8554}{
c8bc7bb8
RD
8555#if wxUSE_UNICODE
8556 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
8557#else
eec92d76 8558 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 8559#endif
b1462dfa
RD
8560}
8561{
8562 delete _result;
8563}
8ab979d7
RD
8564 return _resultobj;
8565}
8566
b1462dfa
RD
8567#define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
8568static PyObject *_wrap_wxMenu_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8569 PyObject * _resultobj;
8ab979d7
RD
8570 wxMenu * _arg0;
8571 int _arg1;
b1462dfa 8572 wxString * _arg2;
1d99702e 8573 PyObject * _argo0 = 0;
b1462dfa
RD
8574 PyObject * _obj2 = 0;
8575 char *_kwnames[] = { "self","id","label", NULL };
8ab979d7
RD
8576
8577 self = self;
b1462dfa 8578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenu_SetLabel",_kwnames,&_argo0,&_arg1,&_obj2))
8ab979d7 8579 return NULL;
1d99702e
RD
8580 if (_argo0) {
8581 if (_argo0 == Py_None) { _arg0 = NULL; }
8582 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
b1462dfa 8583 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
8ab979d7
RD
8584 return NULL;
8585 }
8586 }
b1462dfa 8587{
c8bc7bb8
RD
8588 _arg2 = wxString_in_helper(_obj2);
8589 if (_arg2 == NULL)
185d7c3e 8590 return NULL;
b1462dfa 8591}
8ab979d7 8592{
4268f798 8593 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8594 wxMenu_SetLabel(_arg0,_arg1,*_arg2);
cf694132 8595
4268f798 8596 wxPyEndAllowThreads(__tstate);
493f1553 8597 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
8598} Py_INCREF(Py_None);
8599 _resultobj = Py_None;
8ab979d7 8600{
b1462dfa
RD
8601 if (_obj2)
8602 delete _arg2;
8ab979d7
RD
8603}
8604 return _resultobj;
8605}
8606
b1462dfa
RD
8607#define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
8608static PyObject *_wrap_wxMenu_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8609 PyObject * _resultobj;
8610 wxString * _result;
8611 wxMenu * _arg0;
8612 int _arg1;
1d99702e 8613 PyObject * _argo0 = 0;
efc5f224 8614 char *_kwnames[] = { "self","id", NULL };
8ab979d7
RD
8615
8616 self = self;
b1462dfa 8617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_GetHelpString",_kwnames,&_argo0,&_arg1))
8ab979d7 8618 return NULL;
1d99702e
RD
8619 if (_argo0) {
8620 if (_argo0 == Py_None) { _arg0 = NULL; }
8621 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
b1462dfa 8622 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
8ab979d7
RD
8623 return NULL;
8624 }
8625 }
8ab979d7 8626{
4268f798 8627 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8628 _result = new wxString (wxMenu_GetHelpString(_arg0,_arg1));
cf694132 8629
4268f798 8630 wxPyEndAllowThreads(__tstate);
493f1553 8631 if (PyErr_Occurred()) return NULL;
cf694132 8632}{
c8bc7bb8
RD
8633#if wxUSE_UNICODE
8634 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
8635#else
eec92d76 8636 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 8637#endif
8ab979d7
RD
8638}
8639{
8640 delete _result;
8641}
8642 return _resultobj;
8643}
8644
8645#define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
efc5f224 8646static PyObject *_wrap_wxMenu_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8647 PyObject * _resultobj;
8648 wxMenu * _arg0;
8649 int _arg1;
8650 wxString * _arg2;
1d99702e 8651 PyObject * _argo0 = 0;
8ab979d7 8652 PyObject * _obj2 = 0;
efc5f224 8653 char *_kwnames[] = { "self","id","helpString", NULL };
8ab979d7
RD
8654
8655 self = self;
efc5f224 8656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenu_SetHelpString",_kwnames,&_argo0,&_arg1,&_obj2))
8ab979d7 8657 return NULL;
1d99702e
RD
8658 if (_argo0) {
8659 if (_argo0 == Py_None) { _arg0 = NULL; }
8660 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8ab979d7
RD
8661 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
8662 return NULL;
8663 }
8664 }
8665{
c8bc7bb8
RD
8666 _arg2 = wxString_in_helper(_obj2);
8667 if (_arg2 == NULL)
185d7c3e 8668 return NULL;
8ab979d7 8669}
cf694132 8670{
4268f798 8671 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8672 wxMenu_SetHelpString(_arg0,_arg1,*_arg2);
cf694132 8673
4268f798 8674 wxPyEndAllowThreads(__tstate);
493f1553 8675 if (PyErr_Occurred()) return NULL;
cf694132 8676} Py_INCREF(Py_None);
8ab979d7
RD
8677 _resultobj = Py_None;
8678{
8679 if (_obj2)
8680 delete _arg2;
8681}
8682 return _resultobj;
8683}
8684
b1462dfa
RD
8685#define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
8686static PyObject *_wrap_wxMenu_UpdateUI(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8687 PyObject * _resultobj;
8ab979d7 8688 wxMenu * _arg0;
b1462dfa 8689 wxEvtHandler * _arg1 = (wxEvtHandler *) NULL;
1d99702e 8690 PyObject * _argo0 = 0;
b1462dfa
RD
8691 PyObject * _argo1 = 0;
8692 char *_kwnames[] = { "self","source", NULL };
8ab979d7
RD
8693
8694 self = self;
b1462dfa 8695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxMenu_UpdateUI",_kwnames,&_argo0,&_argo1))
8ab979d7 8696 return NULL;
1d99702e
RD
8697 if (_argo0) {
8698 if (_argo0 == Py_None) { _arg0 = NULL; }
8699 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
b1462dfa
RD
8700 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
8701 return NULL;
8702 }
8703 }
8704 if (_argo1) {
8705 if (_argo1 == Py_None) { _arg1 = NULL; }
8706 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
8707 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
8ab979d7
RD
8708 return NULL;
8709 }
8710 }
cf694132 8711{
4268f798 8712 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8713 wxMenu_UpdateUI(_arg0,_arg1);
cf694132 8714
4268f798 8715 wxPyEndAllowThreads(__tstate);
493f1553 8716 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
8717} Py_INCREF(Py_None);
8718 _resultobj = Py_None;
8ab979d7
RD
8719 return _resultobj;
8720}
8721
b1462dfa
RD
8722#define wxMenu_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
8723static PyObject *_wrap_wxMenu_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8724 PyObject * _resultobj;
8725 bool _result;
8726 wxMenu * _arg0;
8727 int _arg1;
1d99702e 8728 PyObject * _argo0 = 0;
efc5f224 8729 char *_kwnames[] = { "self","id", NULL };
8ab979d7
RD
8730
8731 self = self;
b1462dfa 8732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_Delete",_kwnames,&_argo0,&_arg1))
8ab979d7 8733 return NULL;
1d99702e
RD
8734 if (_argo0) {
8735 if (_argo0 == Py_None) { _arg0 = NULL; }
8736 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
b1462dfa 8737 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Delete. Expected _wxMenu_p.");
8ab979d7
RD
8738 return NULL;
8739 }
8740 }
cf694132 8741{
4268f798 8742 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8743 _result = (bool )wxMenu_Delete(_arg0,_arg1);
cf694132 8744
4268f798 8745 wxPyEndAllowThreads(__tstate);
493f1553 8746 if (PyErr_Occurred()) return NULL;
cf694132 8747} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
8748 return _resultobj;
8749}
8750
b1462dfa
RD
8751#define wxMenu_DeleteItem(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
8752static PyObject *_wrap_wxMenu_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8753 PyObject * _resultobj;
b1462dfa 8754 bool _result;
8ab979d7 8755 wxMenu * _arg0;
b1462dfa 8756 wxMenuItem * _arg1;
1d99702e 8757 PyObject * _argo0 = 0;
b1462dfa
RD
8758 PyObject * _argo1 = 0;
8759 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
8760
8761 self = self;
b1462dfa 8762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_DeleteItem",_kwnames,&_argo0,&_argo1))
8ab979d7 8763 return NULL;
1d99702e
RD
8764 if (_argo0) {
8765 if (_argo0 == Py_None) { _arg0 = NULL; }
8766 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
b1462dfa 8767 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_DeleteItem. Expected _wxMenu_p.");
8ab979d7
RD
8768 return NULL;
8769 }
8770 }
b1462dfa
RD
8771 if (_argo1) {
8772 if (_argo1 == Py_None) { _arg1 = NULL; }
8773 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenuItem_p")) {
8774 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_DeleteItem. Expected _wxMenuItem_p.");
8ab979d7 8775 return NULL;
b1462dfa 8776 }
8ab979d7 8777 }
cf694132 8778{
4268f798 8779 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8780 _result = (bool )wxMenu_DeleteItem(_arg0,_arg1);
cf694132 8781
4268f798 8782 wxPyEndAllowThreads(__tstate);
493f1553 8783 if (PyErr_Occurred()) return NULL;
b1462dfa 8784} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
8785 return _resultobj;
8786}
8787
b1462dfa
RD
8788#define wxMenu_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
8789static PyObject *_wrap_wxMenu_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
efc5f224 8790 PyObject * _resultobj;
b1462dfa 8791 wxMenuItem * _result;
efc5f224 8792 wxMenu * _arg0;
b1462dfa 8793 int _arg1;
efc5f224 8794 PyObject * _argo0 = 0;
b1462dfa 8795 char *_kwnames[] = { "self","id", NULL };
efc5f224
RD
8796
8797 self = self;
b1462dfa 8798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_Remove",_kwnames,&_argo0,&_arg1))
efc5f224
RD
8799 return NULL;
8800 if (_argo0) {
8801 if (_argo0 == Py_None) { _arg0 = NULL; }
8802 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
b1462dfa 8803 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Remove. Expected _wxMenu_p.");
efc5f224
RD
8804 return NULL;
8805 }
8806 }
8807{
4268f798 8808 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8809 _result = (wxMenuItem *)wxMenu_Remove(_arg0,_arg1);
efc5f224 8810
4268f798 8811 wxPyEndAllowThreads(__tstate);
493f1553 8812 if (PyErr_Occurred()) return NULL;
9416aa89 8813}{ _resultobj = wxPyMake_wxObject(_result); }
efc5f224
RD
8814 return _resultobj;
8815}
8816
b1462dfa
RD
8817#define wxMenu_RemoveItem(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
8818static PyObject *_wrap_wxMenu_RemoveItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8819 PyObject * _resultobj;
b1462dfa
RD
8820 wxMenuItem * _result;
8821 wxMenu * _arg0;
8822 wxMenuItem * _arg1;
8823 PyObject * _argo0 = 0;
8824 PyObject * _argo1 = 0;
8825 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
8826
8827 self = self;
b1462dfa
RD
8828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_RemoveItem",_kwnames,&_argo0,&_argo1))
8829 return NULL;
8830 if (_argo0) {
8831 if (_argo0 == Py_None) { _arg0 = NULL; }
8832 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8833 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_RemoveItem. Expected _wxMenu_p.");
8834 return NULL;
8835 }
8836 }
8837 if (_argo1) {
8838 if (_argo1 == Py_None) { _arg1 = NULL; }
8839 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenuItem_p")) {
8840 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_RemoveItem. Expected _wxMenuItem_p.");
8ab979d7 8841 return NULL;
b1462dfa
RD
8842 }
8843 }
cf694132 8844{
4268f798 8845 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8846 _result = (wxMenuItem *)wxMenu_RemoveItem(_arg0,_arg1);
cf694132 8847
4268f798 8848 wxPyEndAllowThreads(__tstate);
493f1553 8849 if (PyErr_Occurred()) return NULL;
9416aa89 8850}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
8851 return _resultobj;
8852}
8853
eb715945 8854static void wxMenu_Destroy(wxMenu *self) { delete self; }
b1462dfa 8855static PyObject *_wrap_wxMenu_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8856 PyObject * _resultobj;
b1462dfa 8857 wxMenu * _arg0;
1d99702e 8858 PyObject * _argo0 = 0;
b1462dfa 8859 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
8860
8861 self = self;
b1462dfa 8862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_Destroy",_kwnames,&_argo0))
8ab979d7 8863 return NULL;
1d99702e
RD
8864 if (_argo0) {
8865 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
8866 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8867 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Destroy. Expected _wxMenu_p.");
8ab979d7
RD
8868 return NULL;
8869 }
8870 }
cf694132 8871{
4268f798 8872 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8873 wxMenu_Destroy(_arg0);
cf694132 8874
4268f798 8875 wxPyEndAllowThreads(__tstate);
493f1553 8876 if (PyErr_Occurred()) return NULL;
cf694132 8877} Py_INCREF(Py_None);
8ab979d7 8878 _resultobj = Py_None;
8ab979d7
RD
8879 return _resultobj;
8880}
8881
b1462dfa
RD
8882#define wxMenu_DestroyId(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
8883static PyObject *_wrap_wxMenu_DestroyId(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8884 PyObject * _resultobj;
b1462dfa
RD
8885 bool _result;
8886 wxMenu * _arg0;
8ab979d7 8887 int _arg1;
1d99702e 8888 PyObject * _argo0 = 0;
b1462dfa 8889 char *_kwnames[] = { "self","id", NULL };
8ab979d7
RD
8890
8891 self = self;
b1462dfa 8892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_DestroyId",_kwnames,&_argo0,&_arg1))
8ab979d7 8893 return NULL;
1d99702e
RD
8894 if (_argo0) {
8895 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
8896 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8897 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_DestroyId. Expected _wxMenu_p.");
8ab979d7
RD
8898 return NULL;
8899 }
8900 }
cf694132 8901{
4268f798 8902 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8903 _result = (bool )wxMenu_DestroyId(_arg0,_arg1);
cf694132 8904
4268f798 8905 wxPyEndAllowThreads(__tstate);
493f1553 8906 if (PyErr_Occurred()) return NULL;
b1462dfa 8907} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
8908 return _resultobj;
8909}
8910
b1462dfa
RD
8911#define wxMenu_DestroyItem(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
8912static PyObject *_wrap_wxMenu_DestroyItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8913 PyObject * _resultobj;
b1462dfa
RD
8914 bool _result;
8915 wxMenu * _arg0;
8916 wxMenuItem * _arg1;
1d99702e 8917 PyObject * _argo0 = 0;
b1462dfa
RD
8918 PyObject * _argo1 = 0;
8919 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
8920
8921 self = self;
b1462dfa 8922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_DestroyItem",_kwnames,&_argo0,&_argo1))
8ab979d7 8923 return NULL;
1d99702e
RD
8924 if (_argo0) {
8925 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
8926 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8927 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_DestroyItem. Expected _wxMenu_p.");
8928 return NULL;
8929 }
8930 }
8931 if (_argo1) {
8932 if (_argo1 == Py_None) { _arg1 = NULL; }
8933 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenuItem_p")) {
8934 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_DestroyItem. Expected _wxMenuItem_p.");
8ab979d7
RD
8935 return NULL;
8936 }
8937 }
cf694132 8938{
4268f798 8939 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8940 _result = (bool )wxMenu_DestroyItem(_arg0,_arg1);
cf694132 8941
4268f798 8942 wxPyEndAllowThreads(__tstate);
493f1553 8943 if (PyErr_Occurred()) return NULL;
b1462dfa 8944} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
8945 return _resultobj;
8946}
8947
b1462dfa
RD
8948#define wxMenu_GetMenuItemCount(_swigobj) (_swigobj->GetMenuItemCount())
8949static PyObject *_wrap_wxMenu_GetMenuItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8950 PyObject * _resultobj;
b1462dfa
RD
8951 size_t _result;
8952 wxMenu * _arg0;
1d99702e 8953 PyObject * _argo0 = 0;
b1462dfa 8954 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
8955
8956 self = self;
b1462dfa 8957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetMenuItemCount",_kwnames,&_argo0))
8ab979d7 8958 return NULL;
1d99702e
RD
8959 if (_argo0) {
8960 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
8961 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8962 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetMenuItemCount. Expected _wxMenu_p.");
8ab979d7
RD
8963 return NULL;
8964 }
8965 }
cf694132 8966{
4268f798 8967 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8968 _result = (size_t )wxMenu_GetMenuItemCount(_arg0);
cf694132 8969
4268f798 8970 wxPyEndAllowThreads(__tstate);
493f1553 8971 if (PyErr_Occurred()) return NULL;
2abc0a0f 8972} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
8973 return _resultobj;
8974}
8975
b1462dfa
RD
8976static PyObject * wxMenu_GetMenuItems(wxMenu *self) {
8977 wxMenuItemList& list = self->GetMenuItems();
8978 return wxPy_ConvertList(&list, "wxMenuItem");
8979 }
8980static PyObject *_wrap_wxMenu_GetMenuItems(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8981 PyObject * _resultobj;
b1462dfa
RD
8982 PyObject * _result;
8983 wxMenu * _arg0;
1d99702e 8984 PyObject * _argo0 = 0;
b1462dfa 8985 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
8986
8987 self = self;
b1462dfa 8988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetMenuItems",_kwnames,&_argo0))
8ab979d7 8989 return NULL;
1d99702e
RD
8990 if (_argo0) {
8991 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
8992 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8993 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetMenuItems. Expected _wxMenu_p.");
8ab979d7
RD
8994 return NULL;
8995 }
8996 }
cf694132 8997{
4268f798 8998 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8999 _result = (PyObject *)wxMenu_GetMenuItems(_arg0);
cf694132 9000
4268f798 9001 wxPyEndAllowThreads(__tstate);
493f1553 9002 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
9003}{
9004 _resultobj = _result;
9005}
8ab979d7
RD
9006 return _resultobj;
9007}
9008
b1462dfa
RD
9009#define wxMenu_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
9010static PyObject *_wrap_wxMenu_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9011 PyObject * _resultobj;
b1462dfa
RD
9012 wxMenu * _arg0;
9013 wxEvtHandler * _arg1;
1d99702e 9014 PyObject * _argo0 = 0;
b1462dfa
RD
9015 PyObject * _argo1 = 0;
9016 char *_kwnames[] = { "self","handler", NULL };
8ab979d7
RD
9017
9018 self = self;
b1462dfa 9019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_SetEventHandler",_kwnames,&_argo0,&_argo1))
8ab979d7 9020 return NULL;
1d99702e
RD
9021 if (_argo0) {
9022 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9023 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9024 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetEventHandler. Expected _wxMenu_p.");
8ab979d7
RD
9025 return NULL;
9026 }
9027 }
b1462dfa
RD
9028 if (_argo1) {
9029 if (_argo1 == Py_None) { _arg1 = NULL; }
9030 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
9031 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_SetEventHandler. Expected _wxEvtHandler_p.");
8ab979d7 9032 return NULL;
b1462dfa 9033 }
8ab979d7 9034 }
cf694132 9035{
4268f798 9036 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9037 wxMenu_SetEventHandler(_arg0,_arg1);
cf694132 9038
4268f798 9039 wxPyEndAllowThreads(__tstate);
493f1553 9040 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
9041} Py_INCREF(Py_None);
9042 _resultobj = Py_None;
8ab979d7
RD
9043 return _resultobj;
9044}
9045
b1462dfa
RD
9046#define wxMenu_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
9047static PyObject *_wrap_wxMenu_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9048 PyObject * _resultobj;
b1462dfa
RD
9049 wxEvtHandler * _result;
9050 wxMenu * _arg0;
1d99702e 9051 PyObject * _argo0 = 0;
b1462dfa 9052 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9053
9054 self = self;
b1462dfa 9055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetEventHandler",_kwnames,&_argo0))
8ab979d7 9056 return NULL;
1d99702e
RD
9057 if (_argo0) {
9058 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9059 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9060 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetEventHandler. Expected _wxMenu_p.");
8ab979d7
RD
9061 return NULL;
9062 }
9063 }
cf694132 9064{
4268f798 9065 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9066 _result = (wxEvtHandler *)wxMenu_GetEventHandler(_arg0);
cf694132 9067
4268f798 9068 wxPyEndAllowThreads(__tstate);
493f1553 9069 if (PyErr_Occurred()) return NULL;
9416aa89 9070}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
9071 return _resultobj;
9072}
9073
b1462dfa
RD
9074#define wxMenu_SetInvokingWindow(_swigobj,_swigarg0) (_swigobj->SetInvokingWindow(_swigarg0))
9075static PyObject *_wrap_wxMenu_SetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2f90df85 9076 PyObject * _resultobj;
b1462dfa
RD
9077 wxMenu * _arg0;
9078 wxWindow * _arg1;
2f90df85 9079 PyObject * _argo0 = 0;
b1462dfa
RD
9080 PyObject * _argo1 = 0;
9081 char *_kwnames[] = { "self","win", NULL };
2f90df85
RD
9082
9083 self = self;
b1462dfa 9084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_SetInvokingWindow",_kwnames,&_argo0,&_argo1))
2f90df85
RD
9085 return NULL;
9086 if (_argo0) {
9087 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9088 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9089 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetInvokingWindow. Expected _wxMenu_p.");
2f90df85
RD
9090 return NULL;
9091 }
9092 }
b1462dfa
RD
9093 if (_argo1) {
9094 if (_argo1 == Py_None) { _arg1 = NULL; }
9095 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
9096 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_SetInvokingWindow. Expected _wxWindow_p.");
2f90df85 9097 return NULL;
b1462dfa 9098 }
2f90df85 9099 }
2f90df85 9100{
4268f798 9101 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9102 wxMenu_SetInvokingWindow(_arg0,_arg1);
2f90df85 9103
4268f798 9104 wxPyEndAllowThreads(__tstate);
493f1553 9105 if (PyErr_Occurred()) return NULL;
2f90df85
RD
9106} Py_INCREF(Py_None);
9107 _resultobj = Py_None;
2f90df85
RD
9108 return _resultobj;
9109}
9110
b1462dfa
RD
9111#define wxMenu_GetInvokingWindow(_swigobj) (_swigobj->GetInvokingWindow())
9112static PyObject *_wrap_wxMenu_GetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9113 PyObject * _resultobj;
b1462dfa
RD
9114 wxWindow * _result;
9115 wxMenu * _arg0;
1d99702e 9116 PyObject * _argo0 = 0;
b1462dfa 9117 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9118
9119 self = self;
b1462dfa 9120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetInvokingWindow",_kwnames,&_argo0))
8ab979d7 9121 return NULL;
1d99702e
RD
9122 if (_argo0) {
9123 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9124 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9125 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetInvokingWindow. Expected _wxMenu_p.");
8ab979d7
RD
9126 return NULL;
9127 }
9128 }
cf694132 9129{
4268f798 9130 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9131 _result = (wxWindow *)wxMenu_GetInvokingWindow(_arg0);
cf694132 9132
4268f798 9133 wxPyEndAllowThreads(__tstate);
493f1553 9134 if (PyErr_Occurred()) return NULL;
9416aa89 9135}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
9136 return _resultobj;
9137}
9138
b1462dfa
RD
9139#define wxMenu_GetStyle(_swigobj) (_swigobj->GetStyle())
9140static PyObject *_wrap_wxMenu_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9141 PyObject * _resultobj;
b1462dfa
RD
9142 long _result;
9143 wxMenu * _arg0;
1d99702e 9144 PyObject * _argo0 = 0;
b1462dfa 9145 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9146
9147 self = self;
b1462dfa 9148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetStyle",_kwnames,&_argo0))
8ab979d7 9149 return NULL;
1d99702e
RD
9150 if (_argo0) {
9151 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9152 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9153 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetStyle. Expected _wxMenu_p.");
8ab979d7
RD
9154 return NULL;
9155 }
9156 }
8ab979d7 9157{
4268f798 9158 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9159 _result = (long )wxMenu_GetStyle(_arg0);
cf694132 9160
4268f798 9161 wxPyEndAllowThreads(__tstate);
493f1553 9162 if (PyErr_Occurred()) return NULL;
b1462dfa 9163} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
9164 return _resultobj;
9165}
9166
b1462dfa
RD
9167#define wxMenu_IsAttached(_swigobj) (_swigobj->IsAttached())
9168static PyObject *_wrap_wxMenu_IsAttached(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9169 PyObject * _resultobj;
b1462dfa
RD
9170 bool _result;
9171 wxMenu * _arg0;
1d99702e 9172 PyObject * _argo0 = 0;
b1462dfa 9173 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9174
9175 self = self;
b1462dfa 9176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_IsAttached",_kwnames,&_argo0))
8ab979d7 9177 return NULL;
1d99702e
RD
9178 if (_argo0) {
9179 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9180 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9181 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_IsAttached. Expected _wxMenu_p.");
8ab979d7
RD
9182 return NULL;
9183 }
9184 }
8ab979d7 9185{
4268f798 9186 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9187 _result = (bool )wxMenu_IsAttached(_arg0);
cf694132 9188
4268f798 9189 wxPyEndAllowThreads(__tstate);
493f1553 9190 if (PyErr_Occurred()) return NULL;
b1462dfa 9191} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
9192 return _resultobj;
9193}
9194
b1462dfa
RD
9195#define wxMenu_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
9196static PyObject *_wrap_wxMenu_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9197 PyObject * _resultobj;
b1462dfa
RD
9198 wxMenu * _arg0;
9199 wxMenu * _arg1;
1d99702e 9200 PyObject * _argo0 = 0;
b1462dfa
RD
9201 PyObject * _argo1 = 0;
9202 char *_kwnames[] = { "self","parent", NULL };
8ab979d7
RD
9203
9204 self = self;
b1462dfa 9205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_SetParent",_kwnames,&_argo0,&_argo1))
8ab979d7 9206 return NULL;
1d99702e
RD
9207 if (_argo0) {
9208 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9209 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9210 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetParent. Expected _wxMenu_p.");
8ab979d7
RD
9211 return NULL;
9212 }
9213 }
b1462dfa
RD
9214 if (_argo1) {
9215 if (_argo1 == Py_None) { _arg1 = NULL; }
9216 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
9217 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_SetParent. Expected _wxMenu_p.");
8ab979d7 9218 return NULL;
b1462dfa 9219 }
8ab979d7 9220 }
cf694132 9221{
4268f798 9222 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9223 wxMenu_SetParent(_arg0,_arg1);
cf694132 9224
4268f798 9225 wxPyEndAllowThreads(__tstate);
493f1553 9226 if (PyErr_Occurred()) return NULL;
cf694132 9227} Py_INCREF(Py_None);
8ab979d7 9228 _resultobj = Py_None;
8ab979d7
RD
9229 return _resultobj;
9230}
9231
b1462dfa
RD
9232#define wxMenu_GetParent(_swigobj) (_swigobj->GetParent())
9233static PyObject *_wrap_wxMenu_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9234 PyObject * _resultobj;
b1462dfa
RD
9235 wxMenu * _result;
9236 wxMenu * _arg0;
1d99702e 9237 PyObject * _argo0 = 0;
b1462dfa 9238 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9239
9240 self = self;
b1462dfa 9241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetParent",_kwnames,&_argo0))
8ab979d7 9242 return NULL;
1d99702e
RD
9243 if (_argo0) {
9244 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9245 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9246 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetParent. Expected _wxMenu_p.");
8ab979d7
RD
9247 return NULL;
9248 }
9249 }
8ab979d7 9250{
4268f798 9251 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9252 _result = (wxMenu *)wxMenu_GetParent(_arg0);
cf694132 9253
4268f798 9254 wxPyEndAllowThreads(__tstate);
493f1553 9255 if (PyErr_Occurred()) return NULL;
9416aa89 9256}{ _resultobj = wxPyMake_wxObject(_result); }
b1462dfa 9257 return _resultobj;
8ab979d7 9258}
b1462dfa
RD
9259
9260static void *SwigwxMenuBarTowxWindow(void *ptr) {
9261 wxMenuBar *src;
9262 wxWindow *dest;
9263 src = (wxMenuBar *) ptr;
9264 dest = (wxWindow *) src;
9265 return (void *) dest;
9266}
9267
9268static void *SwigwxMenuBarTowxEvtHandler(void *ptr) {
9269 wxMenuBar *src;
9270 wxEvtHandler *dest;
9271 src = (wxMenuBar *) ptr;
9272 dest = (wxEvtHandler *) src;
9273 return (void *) dest;
8ab979d7 9274}
b1462dfa 9275
9416aa89
RD
9276static void *SwigwxMenuBarTowxObject(void *ptr) {
9277 wxMenuBar *src;
9278 wxObject *dest;
9279 src = (wxMenuBar *) ptr;
9280 dest = (wxObject *) src;
9281 return (void *) dest;
9282}
9283
c368d904 9284#define new_wxMenuBar(_swigarg0) (new wxMenuBar(_swigarg0))
b1462dfa
RD
9285static PyObject *_wrap_new_wxMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9286 PyObject * _resultobj;
9287 wxMenuBar * _result;
c368d904
RD
9288 long _arg0 = (long ) 0;
9289 char *_kwnames[] = { "style", NULL };
b1462dfa
RD
9290 char _ptemp[128];
9291
9292 self = self;
c368d904 9293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|l:new_wxMenuBar",_kwnames,&_arg0))
b1462dfa
RD
9294 return NULL;
9295{
4268f798 9296 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9297 _result = (wxMenuBar *)new_wxMenuBar(_arg0);
b1462dfa 9298
4268f798 9299 wxPyEndAllowThreads(__tstate);
493f1553 9300 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
9301} if (_result) {
9302 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuBar_p");
9303 _resultobj = Py_BuildValue("s",_ptemp);
9304 } else {
9305 Py_INCREF(Py_None);
9306 _resultobj = Py_None;
9307 }
8ab979d7
RD
9308 return _resultobj;
9309}
9310
b1462dfa
RD
9311#define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
9312static PyObject *_wrap_wxMenuBar_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9313 PyObject * _resultobj;
b1462dfa 9314 bool _result;
8ab979d7 9315 wxMenuBar * _arg0;
b1462dfa 9316 wxMenu * _arg1;
8ab979d7 9317 wxString * _arg2;
1d99702e 9318 PyObject * _argo0 = 0;
b1462dfa 9319 PyObject * _argo1 = 0;
8ab979d7 9320 PyObject * _obj2 = 0;
b1462dfa 9321 char *_kwnames[] = { "self","menu","title", NULL };
8ab979d7
RD
9322
9323 self = self;
b1462dfa 9324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxMenuBar_Append",_kwnames,&_argo0,&_argo1,&_obj2))
8ab979d7 9325 return NULL;
1d99702e
RD
9326 if (_argo0) {
9327 if (_argo0 == Py_None) { _arg0 = NULL; }
9328 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
b1462dfa
RD
9329 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
9330 return NULL;
9331 }
9332 }
9333 if (_argo1) {
9334 if (_argo1 == Py_None) { _arg1 = NULL; }
9335 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
9336 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
8ab979d7
RD
9337 return NULL;
9338 }
9339 }
9340{
c8bc7bb8
RD
9341 _arg2 = wxString_in_helper(_obj2);
9342 if (_arg2 == NULL)
185d7c3e 9343 return NULL;
8ab979d7 9344}
cf694132 9345{
4268f798 9346 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9347 _result = (bool )wxMenuBar_Append(_arg0,_arg1,*_arg2);
cf694132 9348
4268f798 9349 wxPyEndAllowThreads(__tstate);
493f1553 9350 if (PyErr_Occurred()) return NULL;
b1462dfa 9351} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
9352{
9353 if (_obj2)
9354 delete _arg2;
9355}
9356 return _resultobj;
9357}
9358
b1462dfa
RD
9359#define wxMenuBar_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2))
9360static PyObject *_wrap_wxMenuBar_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9361 PyObject * _resultobj;
b1462dfa 9362 bool _result;
8ab979d7 9363 wxMenuBar * _arg0;
b1462dfa
RD
9364 size_t _arg1;
9365 wxMenu * _arg2;
9366 wxString * _arg3;
1d99702e 9367 PyObject * _argo0 = 0;
b1462dfa
RD
9368 PyObject * _argo2 = 0;
9369 PyObject * _obj3 = 0;
9370 char *_kwnames[] = { "self","pos","menu","title", NULL };
8ab979d7
RD
9371
9372 self = self;
b1462dfa 9373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO:wxMenuBar_Insert",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3))
8ab979d7 9374 return NULL;
1d99702e
RD
9375 if (_argo0) {
9376 if (_argo0 == Py_None) { _arg0 = NULL; }
9377 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
b1462dfa
RD
9378 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Insert. Expected _wxMenuBar_p.");
9379 return NULL;
9380 }
9381 }
9382 if (_argo2) {
9383 if (_argo2 == Py_None) { _arg2 = NULL; }
9384 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxMenu_p")) {
9385 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxMenuBar_Insert. Expected _wxMenu_p.");
8ab979d7
RD
9386 return NULL;
9387 }
9388 }
b1462dfa 9389{
c8bc7bb8
RD
9390 _arg3 = wxString_in_helper(_obj3);
9391 if (_arg3 == NULL)
185d7c3e 9392 return NULL;
b1462dfa 9393}
cf694132 9394{
4268f798 9395 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9396 _result = (bool )wxMenuBar_Insert(_arg0,_arg1,_arg2,*_arg3);
cf694132 9397
4268f798 9398 wxPyEndAllowThreads(__tstate);
493f1553 9399 if (PyErr_Occurred()) return NULL;
cf694132 9400} _resultobj = Py_BuildValue("i",_result);
b1462dfa
RD
9401{
9402 if (_obj3)
9403 delete _arg3;
9404}
8ab979d7
RD
9405 return _resultobj;
9406}
9407
b1462dfa
RD
9408#define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
9409static PyObject *_wrap_wxMenuBar_GetMenuCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9410 PyObject * _resultobj;
b1462dfa 9411 size_t _result;
8ab979d7 9412 wxMenuBar * _arg0;
1d99702e 9413 PyObject * _argo0 = 0;
b1462dfa 9414 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9415
9416 self = self;
b1462dfa 9417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuBar_GetMenuCount",_kwnames,&_argo0))
8ab979d7 9418 return NULL;
1d99702e
RD
9419 if (_argo0) {
9420 if (_argo0 == Py_None) { _arg0 = NULL; }
9421 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
b1462dfa 9422 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
8ab979d7
RD
9423 return NULL;
9424 }
9425 }
cf694132 9426{
4268f798 9427 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9428 _result = (size_t )wxMenuBar_GetMenuCount(_arg0);
cf694132 9429
4268f798 9430 wxPyEndAllowThreads(__tstate);
493f1553 9431 if (PyErr_Occurred()) return NULL;
b1462dfa 9432} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
9433 return _resultobj;
9434}
9435
b1462dfa
RD
9436#define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
9437static PyObject *_wrap_wxMenuBar_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
06c0fba4 9438 PyObject * _resultobj;
b1462dfa 9439 wxMenu * _result;
06c0fba4 9440 wxMenuBar * _arg0;
b1462dfa 9441 size_t _arg1;
06c0fba4 9442 PyObject * _argo0 = 0;
b1462dfa 9443 char *_kwnames[] = { "self","pos", NULL };
06c0fba4
RD
9444
9445 self = self;
b1462dfa 9446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_GetMenu",_kwnames,&_argo0,&_arg1))
06c0fba4
RD
9447 return NULL;
9448 if (_argo0) {
9449 if (_argo0 == Py_None) { _arg0 = NULL; }
9450 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
b1462dfa 9451 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
06c0fba4
RD
9452 return NULL;
9453 }
9454 }
9455{
4268f798 9456 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9457 _result = (wxMenu *)wxMenuBar_GetMenu(_arg0,_arg1);
06c0fba4 9458
4268f798 9459 wxPyEndAllowThreads(__tstate);
493f1553 9460 if (PyErr_Occurred()) return NULL;
9416aa89 9461}{ _resultobj = wxPyMake_wxObject(_result); }
06c0fba4
RD
9462 return _resultobj;
9463}
9464
2abc0a0f
RD
9465#define wxMenuBar_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
9466static PyObject *_wrap_wxMenuBar_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
9467 PyObject * _resultobj;
9468 wxMenu * _result;
9469 wxMenuBar * _arg0;
9470 size_t _arg1;
9471 wxMenu * _arg2;
9472 wxString * _arg3;
9473 PyObject * _argo0 = 0;
9474 PyObject * _argo2 = 0;
9475 PyObject * _obj3 = 0;
9476 char *_kwnames[] = { "self","pos","menu","title", NULL };
2abc0a0f
RD
9477
9478 self = self;
9479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO:wxMenuBar_Replace",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3))
9480 return NULL;
9481 if (_argo0) {
9482 if (_argo0 == Py_None) { _arg0 = NULL; }
9483 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9484 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Replace. Expected _wxMenuBar_p.");
9485 return NULL;
9486 }
9487 }
9488 if (_argo2) {
9489 if (_argo2 == Py_None) { _arg2 = NULL; }
9490 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxMenu_p")) {
9491 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxMenuBar_Replace. Expected _wxMenu_p.");
9492 return NULL;
9493 }
9494 }
9495{
c8bc7bb8
RD
9496 _arg3 = wxString_in_helper(_obj3);
9497 if (_arg3 == NULL)
185d7c3e 9498 return NULL;
2abc0a0f
RD
9499}
9500{
4268f798 9501 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9502 _result = (wxMenu *)wxMenuBar_Replace(_arg0,_arg1,_arg2,*_arg3);
2abc0a0f 9503
4268f798 9504 wxPyEndAllowThreads(__tstate);
493f1553 9505 if (PyErr_Occurred()) return NULL;
9416aa89 9506}{ _resultobj = wxPyMake_wxObject(_result); }
2abc0a0f
RD
9507{
9508 if (_obj3)
9509 delete _arg3;
9510}
9511 return _resultobj;
9512}
9513
9514#define wxMenuBar_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
9515static PyObject *_wrap_wxMenuBar_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
9516 PyObject * _resultobj;
9517 wxMenu * _result;
9518 wxMenuBar * _arg0;
9519 size_t _arg1;
9520 PyObject * _argo0 = 0;
9521 char *_kwnames[] = { "self","pos", NULL };
2abc0a0f
RD
9522
9523 self = self;
9524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_Remove",_kwnames,&_argo0,&_arg1))
9525 return NULL;
9526 if (_argo0) {
9527 if (_argo0 == Py_None) { _arg0 = NULL; }
9528 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9529 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Remove. Expected _wxMenuBar_p.");
9530 return NULL;
9531 }
9532 }
9533{
4268f798 9534 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9535 _result = (wxMenu *)wxMenuBar_Remove(_arg0,_arg1);
2abc0a0f 9536
4268f798 9537 wxPyEndAllowThreads(__tstate);
493f1553 9538 if (PyErr_Occurred()) return NULL;
9416aa89 9539}{ _resultobj = wxPyMake_wxObject(_result); }
2abc0a0f
RD
9540 return _resultobj;
9541}
9542
b1462dfa
RD
9543#define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
9544static PyObject *_wrap_wxMenuBar_EnableTop(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 9545 PyObject * _resultobj;
b1462dfa
RD
9546 wxMenuBar * _arg0;
9547 size_t _arg1;
9548 bool _arg2;
9549 PyObject * _argo0 = 0;
9550 int tempbool2;
9551 char *_kwnames[] = { "self","pos","enable", NULL };
9552
9553 self = self;
9554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxMenuBar_EnableTop",_kwnames,&_argo0,&_arg1,&tempbool2))
9555 return NULL;
9556 if (_argo0) {
9557 if (_argo0 == Py_None) { _arg0 = NULL; }
9558 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9559 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
9560 return NULL;
9561 }
9562 }
9563 _arg2 = (bool ) tempbool2;
9564{
4268f798 9565 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9566 wxMenuBar_EnableTop(_arg0,_arg1,_arg2);
b1462dfa 9567
4268f798 9568 wxPyEndAllowThreads(__tstate);
493f1553 9569 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
9570} Py_INCREF(Py_None);
9571 _resultobj = Py_None;
9572 return _resultobj;
9573}
9574
9575#define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
9576static PyObject *_wrap_wxMenuBar_SetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
9577 PyObject * _resultobj;
9578 wxMenuBar * _arg0;
9579 size_t _arg1;
9580 wxString * _arg2;
1d99702e 9581 PyObject * _argo0 = 0;
cf694132 9582 PyObject * _obj2 = 0;
b1462dfa 9583 char *_kwnames[] = { "self","pos","label", NULL };
cf694132
RD
9584
9585 self = self;
b1462dfa 9586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenuBar_SetLabelTop",_kwnames,&_argo0,&_arg1,&_obj2))
cf694132 9587 return NULL;
1d99702e
RD
9588 if (_argo0) {
9589 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9590 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9591 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
cf694132
RD
9592 return NULL;
9593 }
9594 }
cf694132 9595{
c8bc7bb8
RD
9596 _arg2 = wxString_in_helper(_obj2);
9597 if (_arg2 == NULL)
185d7c3e 9598 return NULL;
cf694132 9599}
cf694132 9600{
4268f798 9601 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9602 wxMenuBar_SetLabelTop(_arg0,_arg1,*_arg2);
b1462dfa 9603
4268f798 9604 wxPyEndAllowThreads(__tstate);
493f1553 9605 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
9606} Py_INCREF(Py_None);
9607 _resultobj = Py_None;
9608{
9609 if (_obj2)
9610 delete _arg2;
9611}
9612 return _resultobj;
9613}
9614
9615#define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
9616static PyObject *_wrap_wxMenuBar_GetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
9617 PyObject * _resultobj;
9618 wxString * _result;
9619 wxMenuBar * _arg0;
9620 size_t _arg1;
9621 PyObject * _argo0 = 0;
9622 char *_kwnames[] = { "self","pos", NULL };
9623
9624 self = self;
9625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_GetLabelTop",_kwnames,&_argo0,&_arg1))
9626 return NULL;
9627 if (_argo0) {
9628 if (_argo0 == Py_None) { _arg0 = NULL; }
9629 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9630 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
9631 return NULL;
9632 }
9633 }
9634{
4268f798 9635 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9636 _result = new wxString (wxMenuBar_GetLabelTop(_arg0,_arg1));
b1462dfa 9637
4268f798 9638 wxPyEndAllowThreads(__tstate);
493f1553 9639 if (PyErr_Occurred()) return NULL;
b1462dfa 9640}{
c8bc7bb8
RD
9641#if wxUSE_UNICODE
9642 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
9643#else
eec92d76 9644 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 9645#endif
b1462dfa
RD
9646}
9647{
9648 delete _result;
9649}
9650 return _resultobj;
9651}
9652
3a0958b1
RD
9653#define wxMenuBar_FindMenu(_swigobj,_swigarg0) (_swigobj->FindMenu(_swigarg0))
9654static PyObject *_wrap_wxMenuBar_FindMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
9655 PyObject * _resultobj;
9656 int _result;
9657 wxMenuBar * _arg0;
9658 wxString * _arg1;
9659 PyObject * _argo0 = 0;
9660 PyObject * _obj1 = 0;
9661 char *_kwnames[] = { "self","title", NULL };
9662
9663 self = self;
9664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuBar_FindMenu",_kwnames,&_argo0,&_obj1))
9665 return NULL;
9666 if (_argo0) {
9667 if (_argo0 == Py_None) { _arg0 = NULL; }
9668 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9669 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_FindMenu. Expected _wxMenuBar_p.");
9670 return NULL;
9671 }
9672 }
9673{
c8bc7bb8
RD
9674 _arg1 = wxString_in_helper(_obj1);
9675 if (_arg1 == NULL)
3a0958b1 9676 return NULL;
3a0958b1
RD
9677}
9678{
4268f798 9679 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9680 _result = (int )wxMenuBar_FindMenu(_arg0,*_arg1);
3a0958b1 9681
4268f798 9682 wxPyEndAllowThreads(__tstate);
3a0958b1
RD
9683 if (PyErr_Occurred()) return NULL;
9684} _resultobj = Py_BuildValue("i",_result);
9685{
9686 if (_obj1)
9687 delete _arg1;
9688}
9689 return _resultobj;
9690}
9691
b1462dfa
RD
9692#define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
9693static PyObject *_wrap_wxMenuBar_FindMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9694 PyObject * _resultobj;
9695 int _result;
9696 wxMenuBar * _arg0;
9697 wxString * _arg1;
9698 wxString * _arg2;
9699 PyObject * _argo0 = 0;
9700 PyObject * _obj1 = 0;
9701 PyObject * _obj2 = 0;
9702 char *_kwnames[] = { "self","menuString","itemString", NULL };
9703
9704 self = self;
9705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxMenuBar_FindMenuItem",_kwnames,&_argo0,&_obj1,&_obj2))
9706 return NULL;
9707 if (_argo0) {
9708 if (_argo0 == Py_None) { _arg0 = NULL; }
9709 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9710 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
9711 return NULL;
9712 }
9713 }
9714{
c8bc7bb8
RD
9715 _arg1 = wxString_in_helper(_obj1);
9716 if (_arg1 == NULL)
185d7c3e 9717 return NULL;
cf694132 9718}
b1462dfa 9719{
c8bc7bb8
RD
9720 _arg2 = wxString_in_helper(_obj2);
9721 if (_arg2 == NULL)
b1462dfa 9722 return NULL;
b1462dfa
RD
9723}
9724{
4268f798 9725 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9726 _result = (int )wxMenuBar_FindMenuItem(_arg0,*_arg1,*_arg2);
b1462dfa 9727
4268f798 9728 wxPyEndAllowThreads(__tstate);
493f1553 9729 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
9730} _resultobj = Py_BuildValue("i",_result);
9731{
9732 if (_obj1)
9733 delete _arg1;
9734}
9735{
9736 if (_obj2)
9737 delete _arg2;
9738}
9739 return _resultobj;
9740}
9741
9742#define wxMenuBar_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
9743static PyObject *_wrap_wxMenuBar_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
9744 PyObject * _resultobj;
9745 wxMenuItem * _result;
9746 wxMenuBar * _arg0;
9747 int _arg1;
9748 PyObject * _argo0 = 0;
9749 char *_kwnames[] = { "self","id", NULL };
b1462dfa
RD
9750
9751 self = self;
9752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_FindItemById",_kwnames,&_argo0,&_arg1))
9753 return NULL;
9754 if (_argo0) {
9755 if (_argo0 == Py_None) { _arg0 = NULL; }
9756 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9757 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_FindItemById. Expected _wxMenuBar_p.");
cf694132
RD
9758 return NULL;
9759 }
9760 }
9761{
4268f798 9762 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9763 _result = (wxMenuItem *)wxMenuBar_FindItemById(_arg0,_arg1);
cf694132 9764
4268f798 9765 wxPyEndAllowThreads(__tstate);
493f1553 9766 if (PyErr_Occurred()) return NULL;
9416aa89 9767}{ _resultobj = wxPyMake_wxObject(_result); }
b1462dfa 9768 return _resultobj;
cf694132 9769}
b1462dfa
RD
9770
9771#define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
9772static PyObject *_wrap_wxMenuBar_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
9773 PyObject * _resultobj;
9774 wxMenuBar * _arg0;
9775 int _arg1;
9776 bool _arg2;
9777 PyObject * _argo0 = 0;
9778 int tempbool2;
9779 char *_kwnames[] = { "self","id","enable", NULL };
9780
9781 self = self;
9782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxMenuBar_Enable",_kwnames,&_argo0,&_arg1,&tempbool2))
9783 return NULL;
9784 if (_argo0) {
9785 if (_argo0 == Py_None) { _arg0 = NULL; }
9786 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9787 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
9788 return NULL;
9789 }
9790 }
9791 _arg2 = (bool ) tempbool2;
cf694132 9792{
4268f798 9793 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9794 wxMenuBar_Enable(_arg0,_arg1,_arg2);
b1462dfa 9795
4268f798 9796 wxPyEndAllowThreads(__tstate);
493f1553 9797 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
9798} Py_INCREF(Py_None);
9799 _resultobj = Py_None;
9800 return _resultobj;
cf694132 9801}
b1462dfa
RD
9802
9803#define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
9804static PyObject *_wrap_wxMenuBar_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
9805 PyObject * _resultobj;
9806 wxMenuBar * _arg0;
9807 int _arg1;
9808 bool _arg2;
9809 PyObject * _argo0 = 0;
9810 int tempbool2;
9811 char *_kwnames[] = { "self","id","check", NULL };
9812
9813 self = self;
9814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxMenuBar_Check",_kwnames,&_argo0,&_arg1,&tempbool2))
9815 return NULL;
9816 if (_argo0) {
9817 if (_argo0 == Py_None) { _arg0 = NULL; }
9818 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9819 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
9820 return NULL;
9821 }
9822 }
9823 _arg2 = (bool ) tempbool2;
9824{
4268f798 9825 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9826 wxMenuBar_Check(_arg0,_arg1,_arg2);
b1462dfa 9827
4268f798 9828 wxPyEndAllowThreads(__tstate);
493f1553 9829 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
9830} Py_INCREF(Py_None);
9831 _resultobj = Py_None;
cf694132
RD
9832 return _resultobj;
9833}
9834
b1462dfa
RD
9835#define wxMenuBar_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
9836static PyObject *_wrap_wxMenuBar_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9837 PyObject * _resultobj;
9838 bool _result;
b1462dfa
RD
9839 wxMenuBar * _arg0;
9840 int _arg1;
1d99702e 9841 PyObject * _argo0 = 0;
b1462dfa 9842 char *_kwnames[] = { "self","id", NULL };
8ab979d7
RD
9843
9844 self = self;
b1462dfa 9845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_IsChecked",_kwnames,&_argo0,&_arg1))
8ab979d7 9846 return NULL;
1d99702e
RD
9847 if (_argo0) {
9848 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9849 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9850 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_IsChecked. Expected _wxMenuBar_p.");
8ab979d7
RD
9851 return NULL;
9852 }
9853 }
cf694132 9854{
4268f798 9855 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9856 _result = (bool )wxMenuBar_IsChecked(_arg0,_arg1);
cf694132 9857
4268f798 9858 wxPyEndAllowThreads(__tstate);
493f1553 9859 if (PyErr_Occurred()) return NULL;
cf694132 9860} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
9861 return _resultobj;
9862}
9863
b1462dfa
RD
9864#define wxMenuBar_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
9865static PyObject *_wrap_wxMenuBar_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9866 PyObject * _resultobj;
9867 bool _result;
b1462dfa
RD
9868 wxMenuBar * _arg0;
9869 int _arg1;
1d99702e 9870 PyObject * _argo0 = 0;
b1462dfa 9871 char *_kwnames[] = { "self","id", NULL };
8ab979d7
RD
9872
9873 self = self;
b1462dfa 9874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_IsEnabled",_kwnames,&_argo0,&_arg1))
8ab979d7 9875 return NULL;
1d99702e
RD
9876 if (_argo0) {
9877 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9878 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9879 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_IsEnabled. Expected _wxMenuBar_p.");
8ab979d7
RD
9880 return NULL;
9881 }
9882 }
cf694132 9883{
4268f798 9884 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9885 _result = (bool )wxMenuBar_IsEnabled(_arg0,_arg1);
cf694132 9886
4268f798 9887 wxPyEndAllowThreads(__tstate);
493f1553 9888 if (PyErr_Occurred()) return NULL;
cf694132 9889} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
9890 return _resultobj;
9891}
9892
b1462dfa
RD
9893#define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
9894static PyObject *_wrap_wxMenuBar_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9895 PyObject * _resultobj;
b1462dfa
RD
9896 wxMenuBar * _arg0;
9897 int _arg1;
9898 wxString * _arg2;
1d99702e 9899 PyObject * _argo0 = 0;
b1462dfa
RD
9900 PyObject * _obj2 = 0;
9901 char *_kwnames[] = { "self","id","label", NULL };
8ab979d7
RD
9902
9903 self = self;
b1462dfa 9904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenuBar_SetLabel",_kwnames,&_argo0,&_arg1,&_obj2))
8ab979d7 9905 return NULL;
1d99702e
RD
9906 if (_argo0) {
9907 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9908 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9909 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
8ab979d7
RD
9910 return NULL;
9911 }
9912 }
b1462dfa 9913{
c8bc7bb8
RD
9914 _arg2 = wxString_in_helper(_obj2);
9915 if (_arg2 == NULL)
b1462dfa 9916 return NULL;
b1462dfa 9917}
cf694132 9918{
4268f798 9919 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9920 wxMenuBar_SetLabel(_arg0,_arg1,*_arg2);
cf694132 9921
4268f798 9922 wxPyEndAllowThreads(__tstate);
493f1553 9923 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
9924} Py_INCREF(Py_None);
9925 _resultobj = Py_None;
9926{
9927 if (_obj2)
9928 delete _arg2;
9929}
8ab979d7
RD
9930 return _resultobj;
9931}
9932
b1462dfa
RD
9933#define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
9934static PyObject *_wrap_wxMenuBar_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9935 PyObject * _resultobj;
b1462dfa
RD
9936 wxString * _result;
9937 wxMenuBar * _arg0;
9938 int _arg1;
1d99702e 9939 PyObject * _argo0 = 0;
b1462dfa 9940 char *_kwnames[] = { "self","id", NULL };
8ab979d7
RD
9941
9942 self = self;
b1462dfa 9943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_GetLabel",_kwnames,&_argo0,&_arg1))
8ab979d7 9944 return NULL;
1d99702e
RD
9945 if (_argo0) {
9946 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9947 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9948 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
9949 return NULL;
9950 }
9951 }
9952{
4268f798 9953 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9954 _result = new wxString (wxMenuBar_GetLabel(_arg0,_arg1));
b1462dfa 9955
4268f798 9956 wxPyEndAllowThreads(__tstate);
493f1553 9957 if (PyErr_Occurred()) return NULL;
b1462dfa 9958}{
c8bc7bb8
RD
9959#if wxUSE_UNICODE
9960 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
9961#else
eec92d76 9962 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 9963#endif
b1462dfa
RD
9964}
9965{
9966 delete _result;
9967}
9968 return _resultobj;
9969}
9970
9971#define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
9972static PyObject *_wrap_wxMenuBar_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
9973 PyObject * _resultobj;
9974 wxMenuBar * _arg0;
9975 int _arg1;
9976 wxString * _arg2;
9977 PyObject * _argo0 = 0;
9978 PyObject * _obj2 = 0;
9979 char *_kwnames[] = { "self","id","helpString", NULL };
9980
9981 self = self;
9982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenuBar_SetHelpString",_kwnames,&_argo0,&_arg1,&_obj2))
9983 return NULL;
9984 if (_argo0) {
9985 if (_argo0 == Py_None) { _arg0 = NULL; }
9986 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9987 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
9988 return NULL;
9989 }
9990 }
9991{
c8bc7bb8
RD
9992 _arg2 = wxString_in_helper(_obj2);
9993 if (_arg2 == NULL)
b1462dfa 9994 return NULL;
b1462dfa
RD
9995}
9996{
4268f798 9997 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9998 wxMenuBar_SetHelpString(_arg0,_arg1,*_arg2);
b1462dfa 9999
4268f798 10000 wxPyEndAllowThreads(__tstate);
493f1553 10001 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
10002} Py_INCREF(Py_None);
10003 _resultobj = Py_None;
10004{
10005 if (_obj2)
10006 delete _arg2;
10007}
10008 return _resultobj;
10009}
10010
10011#define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
10012static PyObject *_wrap_wxMenuBar_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
10013 PyObject * _resultobj;
10014 wxString * _result;
10015 wxMenuBar * _arg0;
10016 int _arg1;
10017 PyObject * _argo0 = 0;
10018 char *_kwnames[] = { "self","id", NULL };
10019
10020 self = self;
10021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_GetHelpString",_kwnames,&_argo0,&_arg1))
10022 return NULL;
10023 if (_argo0) {
10024 if (_argo0 == Py_None) { _arg0 = NULL; }
10025 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10026 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
8ab979d7
RD
10027 return NULL;
10028 }
10029 }
cf694132 10030{
4268f798 10031 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10032 _result = new wxString (wxMenuBar_GetHelpString(_arg0,_arg1));
cf694132 10033
4268f798 10034 wxPyEndAllowThreads(__tstate);
493f1553 10035 if (PyErr_Occurred()) return NULL;
b1462dfa 10036}{
c8bc7bb8
RD
10037#if wxUSE_UNICODE
10038 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
10039#else
eec92d76 10040 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 10041#endif
b1462dfa
RD
10042}
10043{
10044 delete _result;
10045}
8ab979d7
RD
10046 return _resultobj;
10047}
10048
9416aa89
RD
10049static void *SwigwxMenuItemTowxObject(void *ptr) {
10050 wxMenuItem *src;
10051 wxObject *dest;
10052 src = (wxMenuItem *) ptr;
10053 dest = (wxObject *) src;
10054 return (void *) dest;
10055}
10056
b1462dfa
RD
10057#define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
10058static PyObject *_wrap_new_wxMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 10059 PyObject * _resultobj;
b1462dfa
RD
10060 wxMenuItem * _result;
10061 wxMenu * _arg0 = (wxMenu *) NULL;
4c9993c3 10062 int _arg1 = (int ) wxID_SEPARATOR;
137b5242
RD
10063 wxString * _arg2 = (wxString *) &wxPyEmptyString;
10064 wxString * _arg3 = (wxString *) &wxPyEmptyString;
546bfbea 10065 wxItemKind _arg4 = (wxItemKind ) wxITEM_NORMAL;
b1462dfa 10066 wxMenu * _arg5 = (wxMenu *) NULL;
1d99702e 10067 PyObject * _argo0 = 0;
b1462dfa
RD
10068 PyObject * _obj2 = 0;
10069 PyObject * _obj3 = 0;
b1462dfa 10070 PyObject * _argo5 = 0;
e9159fe8 10071 char *_kwnames[] = { "parentMenu","id","text","help","kind","subMenu", NULL };
b1462dfa 10072 char _ptemp[128];
8ab979d7
RD
10073
10074 self = self;
e9159fe8 10075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OiOOiO:new_wxMenuItem",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5))
8ab979d7 10076 return NULL;
1d99702e
RD
10077 if (_argo0) {
10078 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
10079 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
10080 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
10081 return NULL;
10082 }
10083 }
10084 if (_obj2)
10085{
c8bc7bb8
RD
10086 _arg2 = wxString_in_helper(_obj2);
10087 if (_arg2 == NULL)
b1462dfa 10088 return NULL;
b1462dfa
RD
10089}
10090 if (_obj3)
10091{
c8bc7bb8
RD
10092 _arg3 = wxString_in_helper(_obj3);
10093 if (_arg3 == NULL)
b1462dfa 10094 return NULL;
b1462dfa 10095}
b1462dfa
RD
10096 if (_argo5) {
10097 if (_argo5 == Py_None) { _arg5 = NULL; }
10098 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxMenu_p")) {
10099 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
8ab979d7
RD
10100 return NULL;
10101 }
10102 }
cf694132 10103{
4268f798 10104 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10105 _result = (wxMenuItem *)new_wxMenuItem(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
cf694132 10106
4268f798 10107 wxPyEndAllowThreads(__tstate);
493f1553 10108 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
10109} if (_result) {
10110 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuItem_p");
10111 _resultobj = Py_BuildValue("s",_ptemp);
10112 } else {
10113 Py_INCREF(Py_None);
10114 _resultobj = Py_None;
10115 }
10116{
10117 if (_obj2)
10118 delete _arg2;
10119}
10120{
10121 if (_obj3)
10122 delete _arg3;
10123}
8ab979d7
RD
10124 return _resultobj;
10125}
10126
b1462dfa
RD
10127#define wxMenuItem_GetMenu(_swigobj) (_swigobj->GetMenu())
10128static PyObject *_wrap_wxMenuItem_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 10129 PyObject * _resultobj;
b1462dfa 10130 wxMenu * _result;
8ab979d7 10131 wxMenuItem * _arg0;
1d99702e 10132 PyObject * _argo0 = 0;
efc5f224 10133 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
10134
10135 self = self;
b1462dfa 10136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetMenu",_kwnames,&_argo0))
8ab979d7 10137 return NULL;
1d99702e
RD
10138 if (_argo0) {
10139 if (_argo0 == Py_None) { _arg0 = NULL; }
10140 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10141 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetMenu. Expected _wxMenuItem_p.");
8ab979d7
RD
10142 return NULL;
10143 }
10144 }
cf694132 10145{
4268f798 10146 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10147 _result = (wxMenu *)wxMenuItem_GetMenu(_arg0);
cf694132 10148
4268f798 10149 wxPyEndAllowThreads(__tstate);
493f1553 10150 if (PyErr_Occurred()) return NULL;
9416aa89 10151}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
10152 return _resultobj;
10153}
10154
2abc0a0f
RD
10155#define wxMenuItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
10156static PyObject *_wrap_wxMenuItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10157 PyObject * _resultobj;
10158 wxMenuItem * _arg0;
2abc0a0f 10159 int _arg1;
1d99702e 10160 PyObject * _argo0 = 0;
2abc0a0f 10161 char *_kwnames[] = { "self","id", NULL };
8ab979d7
RD
10162
10163 self = self;
2abc0a0f 10164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuItem_SetId",_kwnames,&_argo0,&_arg1))
8ab979d7 10165 return NULL;
1d99702e
RD
10166 if (_argo0) {
10167 if (_argo0 == Py_None) { _arg0 = NULL; }
10168 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
2abc0a0f 10169 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetId. Expected _wxMenuItem_p.");
8ab979d7
RD
10170 return NULL;
10171 }
10172 }
cf694132 10173{
4268f798 10174 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10175 wxMenuItem_SetId(_arg0,_arg1);
cf694132 10176
4268f798 10177 wxPyEndAllowThreads(__tstate);
493f1553 10178 if (PyErr_Occurred()) return NULL;
cf694132 10179} Py_INCREF(Py_None);
8ab979d7 10180 _resultobj = Py_None;
8ab979d7
RD
10181 return _resultobj;
10182}
10183
b1462dfa
RD
10184#define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
10185static PyObject *_wrap_wxMenuItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 10186 PyObject * _resultobj;
b1462dfa 10187 int _result;
8ab979d7 10188 wxMenuItem * _arg0;
1d99702e 10189 PyObject * _argo0 = 0;
efc5f224 10190 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
10191
10192 self = self;
b1462dfa 10193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetId",_kwnames,&_argo0))
8ab979d7 10194 return NULL;
1d99702e
RD
10195 if (_argo0) {
10196 if (_argo0 == Py_None) { _arg0 = NULL; }
10197 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10198 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
8ab979d7
RD
10199 return NULL;
10200 }
10201 }
8ab979d7 10202{
4268f798 10203 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10204 _result = (int )wxMenuItem_GetId(_arg0);
cf694132 10205
4268f798 10206 wxPyEndAllowThreads(__tstate);
493f1553 10207 if (PyErr_Occurred()) return NULL;
b1462dfa 10208} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
10209 return _resultobj;
10210}
10211
b1462dfa
RD
10212#define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
10213static PyObject *_wrap_wxMenuItem_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 10214 PyObject * _resultobj;
b1462dfa 10215 bool _result;
8ab979d7 10216 wxMenuItem * _arg0;
1d99702e 10217 PyObject * _argo0 = 0;
efc5f224 10218 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
10219
10220 self = self;
b1462dfa 10221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsSeparator",_kwnames,&_argo0))
8ab979d7 10222 return NULL;
1d99702e
RD
10223 if (_argo0) {
10224 if (_argo0 == Py_None) { _arg0 = NULL; }
10225 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10226 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
8ab979d7
RD
10227 return NULL;
10228 }
10229 }
8ab979d7 10230{
4268f798 10231 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10232 _result = (bool )wxMenuItem_IsSeparator(_arg0);
cf694132 10233
4268f798 10234 wxPyEndAllowThreads(__tstate);
493f1553 10235 if (PyErr_Occurred()) return NULL;
b1462dfa 10236} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
10237 return _resultobj;
10238}
10239
b1462dfa
RD
10240#define wxMenuItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
10241static PyObject *_wrap_wxMenuItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10242 PyObject * _resultobj;
10243 wxMenuItem * _arg0;
10244 wxString * _arg1;
1d99702e 10245 PyObject * _argo0 = 0;
8ab979d7 10246 PyObject * _obj1 = 0;
b1462dfa 10247 char *_kwnames[] = { "self","str", NULL };
8ab979d7
RD
10248
10249 self = self;
b1462dfa 10250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetText",_kwnames,&_argo0,&_obj1))
8ab979d7 10251 return NULL;
1d99702e
RD
10252 if (_argo0) {
10253 if (_argo0 == Py_None) { _arg0 = NULL; }
10254 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10255 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetText. Expected _wxMenuItem_p.");
8ab979d7
RD
10256 return NULL;
10257 }
10258 }
10259{
c8bc7bb8
RD
10260 _arg1 = wxString_in_helper(_obj1);
10261 if (_arg1 == NULL)
185d7c3e 10262 return NULL;
8ab979d7 10263}
cf694132 10264{
4268f798 10265 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10266 wxMenuItem_SetText(_arg0,*_arg1);
cf694132 10267
4268f798 10268 wxPyEndAllowThreads(__tstate);
493f1553 10269 if (PyErr_Occurred()) return NULL;
cf694132 10270} Py_INCREF(Py_None);
8ab979d7
RD
10271 _resultobj = Py_None;
10272{
10273 if (_obj1)
10274 delete _arg1;
10275}
10276 return _resultobj;
10277}
10278
b1462dfa
RD
10279#define wxMenuItem_GetLabel(_swigobj) (_swigobj->GetLabel())
10280static PyObject *_wrap_wxMenuItem_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 10281 PyObject * _resultobj;
b1462dfa 10282 wxString * _result;
8ab979d7 10283 wxMenuItem * _arg0;
1d99702e 10284 PyObject * _argo0 = 0;
b1462dfa 10285 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
10286
10287 self = self;
b1462dfa 10288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetLabel",_kwnames,&_argo0))
8ab979d7 10289 return NULL;
1d99702e
RD
10290 if (_argo0) {
10291 if (_argo0 == Py_None) { _arg0 = NULL; }
10292 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10293 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetLabel. Expected _wxMenuItem_p.");
8ab979d7
RD
10294 return NULL;
10295 }
10296 }
cf694132 10297{
4268f798 10298 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10299 _result = new wxString (wxMenuItem_GetLabel(_arg0));
cf694132 10300
4268f798 10301 wxPyEndAllowThreads(__tstate);
493f1553 10302 if (PyErr_Occurred()) return NULL;
b1462dfa 10303}{
c8bc7bb8
RD
10304#if wxUSE_UNICODE
10305 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
10306#else
eec92d76 10307 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 10308#endif
8ab979d7 10309}
cf694132 10310{
b1462dfa
RD
10311 delete _result;
10312}
cf694132
RD
10313 return _resultobj;
10314}
10315
b1462dfa
RD
10316#define wxMenuItem_GetText(_swigobj) (_swigobj->GetText())
10317static PyObject *_wrap_wxMenuItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 10318 PyObject * _resultobj;
b1462dfa 10319 wxString * _result;
cf694132 10320 wxMenuItem * _arg0;
1d99702e 10321 PyObject * _argo0 = 0;
efc5f224 10322 char *_kwnames[] = { "self", NULL };
cf694132
RD
10323
10324 self = self;
b1462dfa 10325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetText",_kwnames,&_argo0))
cf694132 10326 return NULL;
1d99702e
RD
10327 if (_argo0) {
10328 if (_argo0 == Py_None) { _arg0 = NULL; }
10329 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10330 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetText. Expected _wxMenuItem_p.");
cf694132
RD
10331 return NULL;
10332 }
10333 }
10334{
4268f798 10335 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10336 const wxString & _result_ref = wxMenuItem_GetText(_arg0);
b1462dfa 10337 _result = (wxString *) &_result_ref;
cf694132 10338
4268f798 10339 wxPyEndAllowThreads(__tstate);
493f1553 10340 if (PyErr_Occurred()) return NULL;
b1462dfa 10341}{
c8bc7bb8
RD
10342#if wxUSE_UNICODE
10343 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
10344#else
eec92d76 10345 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 10346#endif
cf694132 10347}
cf694132
RD
10348 return _resultobj;
10349}
10350
e9159fe8
RD
10351#define wxMenuItem_GetKind(_swigobj) (_swigobj->GetKind())
10352static PyObject *_wrap_wxMenuItem_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
10353 PyObject * _resultobj;
10354 wxItemKind _result;
10355 wxMenuItem * _arg0;
10356 PyObject * _argo0 = 0;
10357 char *_kwnames[] = { "self", NULL };
10358
10359 self = self;
10360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetKind",_kwnames,&_argo0))
10361 return NULL;
10362 if (_argo0) {
10363 if (_argo0 == Py_None) { _arg0 = NULL; }
10364 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
10365 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetKind. Expected _wxMenuItem_p.");
10366 return NULL;
10367 }
10368 }
10369{
10370 PyThreadState* __tstate = wxPyBeginAllowThreads();
10371 _result = (wxItemKind )wxMenuItem_GetKind(_arg0);
10372
10373 wxPyEndAllowThreads(__tstate);
10374 if (PyErr_Occurred()) return NULL;
10375} _resultobj = Py_BuildValue("i",_result);
10376 return _resultobj;
10377}
10378
b1462dfa
RD
10379#define wxMenuItem_SetCheckable(_swigobj,_swigarg0) (_swigobj->SetCheckable(_swigarg0))
10380static PyObject *_wrap_wxMenuItem_SetCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 10381 PyObject * _resultobj;
cf694132 10382 wxMenuItem * _arg0;
b1462dfa 10383 bool _arg1;
1d99702e 10384 PyObject * _argo0 = 0;
b1462dfa
RD
10385 int tempbool1;
10386 char *_kwnames[] = { "self","checkable", NULL };
cf694132
RD
10387
10388 self = self;
b1462dfa 10389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuItem_SetCheckable",_kwnames,&_argo0,&tempbool1))
cf694132 10390 return NULL;
1d99702e
RD
10391 if (_argo0) {
10392 if (_argo0 == Py_None) { _arg0 = NULL; }
10393 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10394 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetCheckable. Expected _wxMenuItem_p.");
cf694132
RD
10395 return NULL;
10396 }
10397 }
b1462dfa 10398 _arg1 = (bool ) tempbool1;
cf694132 10399{
4268f798 10400 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10401 wxMenuItem_SetCheckable(_arg0,_arg1);
cf694132 10402
4268f798 10403 wxPyEndAllowThreads(__tstate);
493f1553 10404 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
10405} Py_INCREF(Py_None);
10406 _resultobj = Py_None;
cf694132
RD
10407 return _resultobj;
10408}
10409
b1462dfa
RD
10410#define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
10411static PyObject *_wrap_wxMenuItem_IsCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 10412 PyObject * _resultobj;
b1462dfa 10413 bool _result;
cf694132 10414 wxMenuItem * _arg0;
1d99702e 10415 PyObject * _argo0 = 0;
efc5f224 10416 char *_kwnames[] = { "self", NULL };
cf694132
RD
10417
10418 self = self;
b1462dfa 10419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsCheckable",_kwnames,&_argo0))
cf694132 10420 return NULL;
1d99702e
RD
10421 if (_argo0) {
10422 if (_argo0 == Py_None) { _arg0 = NULL; }
10423 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10424 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
cf694132
RD
10425 return NULL;
10426 }
10427 }
10428{
4268f798 10429 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10430 _result = (bool )wxMenuItem_IsCheckable(_arg0);
cf694132 10431
4268f798 10432 wxPyEndAllowThreads(__tstate);
493f1553 10433 if (PyErr_Occurred()) return NULL;
cf694132
RD
10434} _resultobj = Py_BuildValue("i",_result);
10435 return _resultobj;
10436}
10437
b1462dfa
RD
10438#define wxMenuItem_IsSubMenu(_swigobj) (_swigobj->IsSubMenu())
10439static PyObject *_wrap_wxMenuItem_IsSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 10440 PyObject * _resultobj;
b1462dfa 10441 bool _result;
cf694132 10442 wxMenuItem * _arg0;
1d99702e 10443 PyObject * _argo0 = 0;
efc5f224 10444 char *_kwnames[] = { "self", NULL };
cf694132
RD
10445
10446 self = self;
b1462dfa 10447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsSubMenu",_kwnames,&_argo0))
cf694132 10448 return NULL;
1d99702e
RD
10449 if (_argo0) {
10450 if (_argo0 == Py_None) { _arg0 = NULL; }
10451 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10452 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsSubMenu. Expected _wxMenuItem_p.");
cf694132
RD
10453 return NULL;
10454 }
10455 }
10456{
4268f798 10457 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10458 _result = (bool )wxMenuItem_IsSubMenu(_arg0);
cf694132 10459
4268f798 10460 wxPyEndAllowThreads(__tstate);
493f1553 10461 if (PyErr_Occurred()) return NULL;
b1462dfa 10462} _resultobj = Py_BuildValue("i",_result);
cf694132
RD
10463 return _resultobj;
10464}
10465
b1462dfa
RD
10466#define wxMenuItem_SetSubMenu(_swigobj,_swigarg0) (_swigobj->SetSubMenu(_swigarg0))
10467static PyObject *_wrap_wxMenuItem_SetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132
RD
10468 PyObject * _resultobj;
10469 wxMenuItem * _arg0;
b1462dfa 10470 wxMenu * _arg1;
1d99702e
RD
10471 PyObject * _argo0 = 0;
10472 PyObject * _argo1 = 0;
b1462dfa 10473 char *_kwnames[] = { "self","menu", NULL };
cf694132
RD
10474
10475 self = self;
b1462dfa 10476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetSubMenu",_kwnames,&_argo0,&_argo1))
cf694132 10477 return NULL;
1d99702e
RD
10478 if (_argo0) {
10479 if (_argo0 == Py_None) { _arg0 = NULL; }
10480 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10481 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetSubMenu. Expected _wxMenuItem_p.");
cf694132
RD
10482 return NULL;
10483 }
10484 }
1d99702e
RD
10485 if (_argo1) {
10486 if (_argo1 == Py_None) { _arg1 = NULL; }
b1462dfa
RD
10487 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
10488 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenuItem_SetSubMenu. Expected _wxMenu_p.");
cf694132
RD
10489 return NULL;
10490 }
10491 }
10492{
4268f798 10493 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10494 wxMenuItem_SetSubMenu(_arg0,_arg1);
cf694132 10495
4268f798 10496 wxPyEndAllowThreads(__tstate);
493f1553 10497 if (PyErr_Occurred()) return NULL;
cf694132
RD
10498} Py_INCREF(Py_None);
10499 _resultobj = Py_None;
10500 return _resultobj;
10501}
10502
b1462dfa
RD
10503#define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
10504static PyObject *_wrap_wxMenuItem_GetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 10505 PyObject * _resultobj;
b1462dfa 10506 wxMenu * _result;
cf694132 10507 wxMenuItem * _arg0;
1d99702e 10508 PyObject * _argo0 = 0;
b1462dfa 10509 char *_kwnames[] = { "self", NULL };
cf694132
RD
10510
10511 self = self;
b1462dfa 10512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetSubMenu",_kwnames,&_argo0))
cf694132 10513 return NULL;
1d99702e
RD
10514 if (_argo0) {
10515 if (_argo0 == Py_None) { _arg0 = NULL; }
10516 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10517 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
cf694132
RD
10518 return NULL;
10519 }
10520 }
b1462dfa 10521{
4268f798 10522 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10523 _result = (wxMenu *)wxMenuItem_GetSubMenu(_arg0);
b1462dfa 10524
4268f798 10525 wxPyEndAllowThreads(__tstate);
493f1553 10526 if (PyErr_Occurred()) return NULL;
9416aa89 10527}{ _resultobj = wxPyMake_wxObject(_result); }
b1462dfa
RD
10528 return _resultobj;
10529}
10530
10531#define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
10532static PyObject *_wrap_wxMenuItem_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
10533 PyObject * _resultobj;
10534 wxMenuItem * _arg0;
10535 bool _arg1 = (bool ) TRUE;
10536 PyObject * _argo0 = 0;
10537 int tempbool1 = (int) TRUE;
10538 char *_kwnames[] = { "self","enable", NULL };
10539
10540 self = self;
10541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxMenuItem_Enable",_kwnames,&_argo0,&tempbool1))
10542 return NULL;
10543 if (_argo0) {
10544 if (_argo0 == Py_None) { _arg0 = NULL; }
10545 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
10546 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
cf694132
RD
10547 return NULL;
10548 }
10549 }
b1462dfa 10550 _arg1 = (bool ) tempbool1;
cf694132 10551{
4268f798 10552 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10553 wxMenuItem_Enable(_arg0,_arg1);
cf694132 10554
4268f798 10555 wxPyEndAllowThreads(__tstate);
493f1553 10556 if (PyErr_Occurred()) return NULL;
cf694132
RD
10557} Py_INCREF(Py_None);
10558 _resultobj = Py_None;
10559 return _resultobj;
10560}
10561
b1462dfa
RD
10562#define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
10563static PyObject *_wrap_wxMenuItem_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 10564 PyObject * _resultobj;
b1462dfa 10565 bool _result;
cf694132 10566 wxMenuItem * _arg0;
1d99702e 10567 PyObject * _argo0 = 0;
b1462dfa 10568 char *_kwnames[] = { "self", NULL };
cf694132
RD
10569
10570 self = self;
b1462dfa 10571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsEnabled",_kwnames,&_argo0))
cf694132 10572 return NULL;
1d99702e
RD
10573 if (_argo0) {
10574 if (_argo0 == Py_None) { _arg0 = NULL; }
10575 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10576 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
cf694132
RD
10577 return NULL;
10578 }
10579 }
10580{
4268f798 10581 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10582 _result = (bool )wxMenuItem_IsEnabled(_arg0);
cf694132 10583
4268f798 10584 wxPyEndAllowThreads(__tstate);
493f1553 10585 if (PyErr_Occurred()) return NULL;
b1462dfa 10586} _resultobj = Py_BuildValue("i",_result);
cf694132
RD
10587 return _resultobj;
10588}
10589
b1462dfa
RD
10590#define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
10591static PyObject *_wrap_wxMenuItem_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132
RD
10592 PyObject * _resultobj;
10593 wxMenuItem * _arg0;
b1462dfa 10594 bool _arg1 = (bool ) TRUE;
1d99702e 10595 PyObject * _argo0 = 0;
b1462dfa
RD
10596 int tempbool1 = (int) TRUE;
10597 char *_kwnames[] = { "self","check", NULL };
cf694132
RD
10598
10599 self = self;
b1462dfa 10600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxMenuItem_Check",_kwnames,&_argo0,&tempbool1))
cf694132 10601 return NULL;
1d99702e
RD
10602 if (_argo0) {
10603 if (_argo0 == Py_None) { _arg0 = NULL; }
10604 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10605 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
cf694132
RD
10606 return NULL;
10607 }
10608 }
b1462dfa 10609 _arg1 = (bool ) tempbool1;
cf694132 10610{
4268f798 10611 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10612 wxMenuItem_Check(_arg0,_arg1);
cf694132 10613
4268f798 10614 wxPyEndAllowThreads(__tstate);
493f1553 10615 if (PyErr_Occurred()) return NULL;
cf694132
RD
10616} Py_INCREF(Py_None);
10617 _resultobj = Py_None;
10618 return _resultobj;
10619}
10620
b1462dfa
RD
10621#define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
10622static PyObject *_wrap_wxMenuItem_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
2abc0a0f 10623 PyObject * _resultobj;
b1462dfa 10624 bool _result;
2abc0a0f 10625 wxMenuItem * _arg0;
2abc0a0f 10626 PyObject * _argo0 = 0;
b1462dfa 10627 char *_kwnames[] = { "self", NULL };
2abc0a0f
RD
10628
10629 self = self;
b1462dfa 10630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsChecked",_kwnames,&_argo0))
2abc0a0f
RD
10631 return NULL;
10632 if (_argo0) {
10633 if (_argo0 == Py_None) { _arg0 = NULL; }
10634 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10635 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
2abc0a0f
RD
10636 return NULL;
10637 }
10638 }
2abc0a0f 10639{
4268f798 10640 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10641 _result = (bool )wxMenuItem_IsChecked(_arg0);
2abc0a0f 10642
4268f798 10643 wxPyEndAllowThreads(__tstate);
493f1553 10644 if (PyErr_Occurred()) return NULL;
b1462dfa 10645} _resultobj = Py_BuildValue("i",_result);
2abc0a0f
RD
10646 return _resultobj;
10647}
10648
b1462dfa
RD
10649#define wxMenuItem_Toggle(_swigobj) (_swigobj->Toggle())
10650static PyObject *_wrap_wxMenuItem_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
2abc0a0f 10651 PyObject * _resultobj;
2abc0a0f
RD
10652 wxMenuItem * _arg0;
10653 PyObject * _argo0 = 0;
10654 char *_kwnames[] = { "self", NULL };
10655
10656 self = self;
b1462dfa 10657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_Toggle",_kwnames,&_argo0))
2abc0a0f
RD
10658 return NULL;
10659 if (_argo0) {
10660 if (_argo0 == Py_None) { _arg0 = NULL; }
10661 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10662 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_Toggle. Expected _wxMenuItem_p.");
2abc0a0f
RD
10663 return NULL;
10664 }
10665 }
10666{
4268f798 10667 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10668 wxMenuItem_Toggle(_arg0);
2abc0a0f 10669
4268f798 10670 wxPyEndAllowThreads(__tstate);
493f1553 10671 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
10672} Py_INCREF(Py_None);
10673 _resultobj = Py_None;
2abc0a0f
RD
10674 return _resultobj;
10675}
10676
b1462dfa
RD
10677#define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
10678static PyObject *_wrap_wxMenuItem_SetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132
RD
10679 PyObject * _resultobj;
10680 wxMenuItem * _arg0;
b1462dfa 10681 wxString * _arg1;
1d99702e 10682 PyObject * _argo0 = 0;
b1462dfa
RD
10683 PyObject * _obj1 = 0;
10684 char *_kwnames[] = { "self","str", NULL };
cf694132
RD
10685
10686 self = self;
b1462dfa 10687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetHelp",_kwnames,&_argo0,&_obj1))
cf694132 10688 return NULL;
1d99702e
RD
10689 if (_argo0) {
10690 if (_argo0 == Py_None) { _arg0 = NULL; }
10691 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10692 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
cf694132
RD
10693 return NULL;
10694 }
10695 }
b1462dfa 10696{
c8bc7bb8
RD
10697 _arg1 = wxString_in_helper(_obj1);
10698 if (_arg1 == NULL)
185d7c3e 10699 return NULL;
b1462dfa 10700}
cf694132 10701{
4268f798 10702 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10703 wxMenuItem_SetHelp(_arg0,*_arg1);
cf694132 10704
4268f798 10705 wxPyEndAllowThreads(__tstate);
493f1553 10706 if (PyErr_Occurred()) return NULL;
cf694132 10707} Py_INCREF(Py_None);
8ab979d7 10708 _resultobj = Py_None;
b1462dfa
RD
10709{
10710 if (_obj1)
10711 delete _arg1;
10712}
8ab979d7
RD
10713 return _resultobj;
10714}
10715
b1462dfa
RD
10716#define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
10717static PyObject *_wrap_wxMenuItem_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
be4d9c1f 10718 PyObject * _resultobj;
b1462dfa 10719 wxString * _result;
be4d9c1f 10720 wxMenuItem * _arg0;
1d99702e 10721 PyObject * _argo0 = 0;
efc5f224 10722 char *_kwnames[] = { "self", NULL };
be4d9c1f
RD
10723
10724 self = self;
b1462dfa 10725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetHelp",_kwnames,&_argo0))
be4d9c1f 10726 return NULL;
1d99702e
RD
10727 if (_argo0) {
10728 if (_argo0 == Py_None) { _arg0 = NULL; }
10729 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10730 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
be4d9c1f
RD
10731 return NULL;
10732 }
10733 }
cf694132 10734{
4268f798 10735 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10736 const wxString & _result_ref = wxMenuItem_GetHelp(_arg0);
b1462dfa 10737 _result = (wxString *) &_result_ref;
cf694132 10738
4268f798 10739 wxPyEndAllowThreads(__tstate);
493f1553 10740 if (PyErr_Occurred()) return NULL;
b1462dfa 10741}{
c8bc7bb8
RD
10742#if wxUSE_UNICODE
10743 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
10744#else
eec92d76 10745 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 10746#endif
b1462dfa 10747}
be4d9c1f
RD
10748 return _resultobj;
10749}
10750
b1462dfa
RD
10751#define wxMenuItem_GetAccel(_swigobj) (_swigobj->GetAccel())
10752static PyObject *_wrap_wxMenuItem_GetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
2abc0a0f 10753 PyObject * _resultobj;
b1462dfa 10754 wxAcceleratorEntry * _result;
2abc0a0f 10755 wxMenuItem * _arg0;
2abc0a0f 10756 PyObject * _argo0 = 0;
b1462dfa
RD
10757 char *_kwnames[] = { "self", NULL };
10758 char _ptemp[128];
2abc0a0f
RD
10759
10760 self = self;
b1462dfa 10761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetAccel",_kwnames,&_argo0))
2abc0a0f
RD
10762 return NULL;
10763 if (_argo0) {
10764 if (_argo0 == Py_None) { _arg0 = NULL; }
10765 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10766 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetAccel. Expected _wxMenuItem_p.");
2abc0a0f
RD
10767 return NULL;
10768 }
10769 }
2abc0a0f 10770{
4268f798 10771 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10772 _result = (wxAcceleratorEntry *)wxMenuItem_GetAccel(_arg0);
2abc0a0f 10773
4268f798 10774 wxPyEndAllowThreads(__tstate);
493f1553 10775 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
10776} if (_result) {
10777 SWIG_MakePtr(_ptemp, (char *) _result,"_wxAcceleratorEntry_p");
10778 _resultobj = Py_BuildValue("s",_ptemp);
10779 } else {
10780 Py_INCREF(Py_None);
10781 _resultobj = Py_None;
10782 }
2abc0a0f
RD
10783 return _resultobj;
10784}
10785
b1462dfa
RD
10786#define wxMenuItem_SetAccel(_swigobj,_swigarg0) (_swigobj->SetAccel(_swigarg0))
10787static PyObject *_wrap_wxMenuItem_SetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
2abc0a0f
RD
10788 PyObject * _resultobj;
10789 wxMenuItem * _arg0;
b1462dfa 10790 wxAcceleratorEntry * _arg1;
2abc0a0f
RD
10791 PyObject * _argo0 = 0;
10792 PyObject * _argo1 = 0;
b1462dfa 10793 char *_kwnames[] = { "self","accel", NULL };
2abc0a0f
RD
10794
10795 self = self;
b1462dfa 10796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetAccel",_kwnames,&_argo0,&_argo1))
2abc0a0f
RD
10797 return NULL;
10798 if (_argo0) {
10799 if (_argo0 == Py_None) { _arg0 = NULL; }
10800 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10801 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetAccel. Expected _wxMenuItem_p.");
2abc0a0f
RD
10802 return NULL;
10803 }
10804 }
10805 if (_argo1) {
10806 if (_argo1 == Py_None) { _arg1 = NULL; }
b1462dfa
RD
10807 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxAcceleratorEntry_p")) {
10808 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenuItem_SetAccel. Expected _wxAcceleratorEntry_p.");
2abc0a0f
RD
10809 return NULL;
10810 }
10811 }
10812{
4268f798 10813 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10814 wxMenuItem_SetAccel(_arg0,_arg1);
2abc0a0f 10815
4268f798 10816 wxPyEndAllowThreads(__tstate);
493f1553 10817 if (PyErr_Occurred()) return NULL;
2abc0a0f
RD
10818} Py_INCREF(Py_None);
10819 _resultobj = Py_None;
10820 return _resultobj;
10821}
10822
1b62f00d
RD
10823static PyObject *_wrap_wxMenuItem_GetLabelFromText(PyObject *self, PyObject *args, PyObject *kwargs) {
10824 PyObject * _resultobj;
10825 wxString * _result;
10826 wxString * _arg0;
10827 PyObject * _obj0 = 0;
10828 char *_kwnames[] = { "text", NULL };
10829
10830 self = self;
10831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetLabelFromText",_kwnames,&_obj0))
10832 return NULL;
10833{
c8bc7bb8
RD
10834 _arg0 = wxString_in_helper(_obj0);
10835 if (_arg0 == NULL)
1b62f00d 10836 return NULL;
1b62f00d
RD
10837}
10838{
4268f798 10839 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10840 _result = new wxString (wxMenuItem::GetLabelFromText(*_arg0));
1b62f00d 10841
4268f798 10842 wxPyEndAllowThreads(__tstate);
493f1553 10843 if (PyErr_Occurred()) return NULL;
1b62f00d 10844}{
c8bc7bb8
RD
10845#if wxUSE_UNICODE
10846 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
10847#else
1b62f00d 10848 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 10849#endif
1b62f00d
RD
10850}
10851{
10852 if (_obj0)
10853 delete _arg0;
10854}
10855{
10856 delete _result;
10857}
10858 return _resultobj;
10859}
10860
f3d9dc1d
RD
10861#define wxMenuItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
10862static PyObject *_wrap_wxMenuItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10863 PyObject * _resultobj;
10864 wxMenuItem * _arg0;
10865 wxFont * _arg1;
10866 PyObject * _argo0 = 0;
10867 PyObject * _argo1 = 0;
10868 char *_kwnames[] = { "self","font", NULL };
10869
10870 self = self;
10871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetFont",_kwnames,&_argo0,&_argo1))
10872 return NULL;
10873 if (_argo0) {
10874 if (_argo0 == Py_None) { _arg0 = NULL; }
10875 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
10876 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetFont. Expected _wxMenuItem_p.");
10877 return NULL;
10878 }
10879 }
10880 if (_argo1) {
10881 if (_argo1 == Py_None) { _arg1 = NULL; }
10882 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
10883 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenuItem_SetFont. Expected _wxFont_p.");
10884 return NULL;
10885 }
10886 }
10887{
4268f798 10888 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10889 wxMenuItem_SetFont(_arg0,*_arg1);
f3d9dc1d 10890
4268f798 10891 wxPyEndAllowThreads(__tstate);
493f1553 10892 if (PyErr_Occurred()) return NULL;
f3d9dc1d
RD
10893} Py_INCREF(Py_None);
10894 _resultobj = Py_None;
10895 return _resultobj;
10896}
10897
10898#define wxMenuItem_GetFont(_swigobj) (_swigobj->GetFont())
10899static PyObject *_wrap_wxMenuItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10900 PyObject * _resultobj;
10901 wxFont * _result;
10902 wxMenuItem * _arg0;
10903 PyObject * _argo0 = 0;
10904 char *_kwnames[] = { "self", NULL };
10905 char _ptemp[128];
10906
10907 self = self;
10908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetFont",_kwnames,&_argo0))
10909 return NULL;
10910 if (_argo0) {
10911 if (_argo0 == Py_None) { _arg0 = NULL; }
10912 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
10913 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetFont. Expected _wxMenuItem_p.");
10914 return NULL;
10915 }
10916 }
10917{
4268f798 10918 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10919 _result = new wxFont (wxMenuItem_GetFont(_arg0));
f3d9dc1d 10920
4268f798 10921 wxPyEndAllowThreads(__tstate);
493f1553 10922 if (PyErr_Occurred()) return NULL;
c5943253
RD
10923} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
10924 _resultobj = Py_BuildValue("s",_ptemp);
f3d9dc1d
RD
10925 return _resultobj;
10926}
10927
10928#define wxMenuItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
10929static PyObject *_wrap_wxMenuItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10930 PyObject * _resultobj;
10931 wxMenuItem * _arg0;
10932 wxColour * _arg1;
10933 PyObject * _argo0 = 0;
10934 wxColour temp;
10935 PyObject * _obj1 = 0;
10936 char *_kwnames[] = { "self","colText", NULL };
10937
10938 self = self;
10939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetTextColour",_kwnames,&_argo0,&_obj1))
10940 return NULL;
10941 if (_argo0) {
10942 if (_argo0 == Py_None) { _arg0 = NULL; }
10943 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
10944 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetTextColour. Expected _wxMenuItem_p.");
10945 return NULL;
10946 }
10947 }
10948{
10949 _arg1 = &temp;
10950 if (! wxColour_helper(_obj1, &_arg1))
10951 return NULL;
10952}
10953{
4268f798 10954 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10955 wxMenuItem_SetTextColour(_arg0,*_arg1);
f3d9dc1d 10956
4268f798 10957 wxPyEndAllowThreads(__tstate);
493f1553 10958 if (PyErr_Occurred()) return NULL;
f3d9dc1d
RD
10959} Py_INCREF(Py_None);
10960 _resultobj = Py_None;
10961 return _resultobj;
10962}
10963
10964#define wxMenuItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
10965static PyObject *_wrap_wxMenuItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10966 PyObject * _resultobj;
10967 wxColour * _result;
10968 wxMenuItem * _arg0;
10969 PyObject * _argo0 = 0;
10970 char *_kwnames[] = { "self", NULL };
10971 char _ptemp[128];
10972
10973 self = self;
10974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetTextColour",_kwnames,&_argo0))
10975 return NULL;
10976 if (_argo0) {
10977 if (_argo0 == Py_None) { _arg0 = NULL; }
10978 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
10979 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetTextColour. Expected _wxMenuItem_p.");
10980 return NULL;
10981 }
10982 }
10983{
4268f798 10984 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10985 _result = new wxColour (wxMenuItem_GetTextColour(_arg0));
f3d9dc1d 10986
4268f798 10987 wxPyEndAllowThreads(__tstate);
493f1553 10988 if (PyErr_Occurred()) return NULL;
25832b3f
RD
10989} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
10990 _resultobj = Py_BuildValue("s",_ptemp);
f3d9dc1d
RD
10991 return _resultobj;
10992}
10993
10994#define wxMenuItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
10995static PyObject *_wrap_wxMenuItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10996 PyObject * _resultobj;
10997 wxMenuItem * _arg0;
10998 wxColour * _arg1;
10999 PyObject * _argo0 = 0;
11000 wxColour temp;
11001 PyObject * _obj1 = 0;
11002 char *_kwnames[] = { "self","colBack", NULL };
11003
11004 self = self;
11005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
11006 return NULL;
11007 if (_argo0) {
11008 if (_argo0 == Py_None) { _arg0 = NULL; }
11009 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11010 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetBackgroundColour. Expected _wxMenuItem_p.");
11011 return NULL;
11012 }
11013 }
11014{
11015 _arg1 = &temp;
11016 if (! wxColour_helper(_obj1, &_arg1))
11017 return NULL;
11018}
11019{
4268f798 11020 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11021 wxMenuItem_SetBackgroundColour(_arg0,*_arg1);
f3d9dc1d 11022
4268f798 11023 wxPyEndAllowThreads(__tstate);
493f1553 11024 if (PyErr_Occurred()) return NULL;
f3d9dc1d
RD
11025} Py_INCREF(Py_None);
11026 _resultobj = Py_None;
11027 return _resultobj;
11028}
11029
11030#define wxMenuItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
11031static PyObject *_wrap_wxMenuItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11032 PyObject * _resultobj;
11033 wxColour * _result;
11034 wxMenuItem * _arg0;
11035 PyObject * _argo0 = 0;
11036 char *_kwnames[] = { "self", NULL };
11037 char _ptemp[128];
11038
11039 self = self;
11040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetBackgroundColour",_kwnames,&_argo0))
11041 return NULL;
11042 if (_argo0) {
11043 if (_argo0 == Py_None) { _arg0 = NULL; }
11044 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11045 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetBackgroundColour. Expected _wxMenuItem_p.");
11046 return NULL;
11047 }
11048 }
11049{
4268f798 11050 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11051 _result = new wxColour (wxMenuItem_GetBackgroundColour(_arg0));
f3d9dc1d 11052
4268f798 11053 wxPyEndAllowThreads(__tstate);
493f1553 11054 if (PyErr_Occurred()) return NULL;
25832b3f
RD
11055} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
11056 _resultobj = Py_BuildValue("s",_ptemp);
f3d9dc1d
RD
11057 return _resultobj;
11058}
11059
11060#define wxMenuItem_SetBitmaps(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBitmaps(_swigarg0,_swigarg1))
11061static PyObject *_wrap_wxMenuItem_SetBitmaps(PyObject *self, PyObject *args, PyObject *kwargs) {
11062 PyObject * _resultobj;
11063 wxMenuItem * _arg0;
11064 wxBitmap * _arg1;
11065 wxBitmap * _arg2 = (wxBitmap *) &wxNullBitmap;
11066 PyObject * _argo0 = 0;
11067 PyObject * _argo1 = 0;
11068 PyObject * _argo2 = 0;
11069 char *_kwnames[] = { "self","bmpChecked","bmpUnchecked", NULL };
11070
11071 self = self;
11072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxMenuItem_SetBitmaps",_kwnames,&_argo0,&_argo1,&_argo2))
11073 return NULL;
11074 if (_argo0) {
11075 if (_argo0 == Py_None) { _arg0 = NULL; }
11076 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11077 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetBitmaps. Expected _wxMenuItem_p.");
11078 return NULL;
11079 }
11080 }
11081 if (_argo1) {
11082 if (_argo1 == Py_None) { _arg1 = NULL; }
11083 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
11084 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenuItem_SetBitmaps. Expected _wxBitmap_p.");
11085 return NULL;
11086 }
11087 }
11088 if (_argo2) {
11089 if (_argo2 == Py_None) { _arg2 = NULL; }
11090 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) {
11091 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxMenuItem_SetBitmaps. Expected _wxBitmap_p.");
11092 return NULL;
11093 }
11094 }
11095{
4268f798 11096 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11097 wxMenuItem_SetBitmaps(_arg0,*_arg1,*_arg2);
f3d9dc1d 11098
4268f798 11099 wxPyEndAllowThreads(__tstate);
493f1553 11100 if (PyErr_Occurred()) return NULL;
f3d9dc1d
RD
11101} Py_INCREF(Py_None);
11102 _resultobj = Py_None;
11103 return _resultobj;
11104}
11105
11106#define wxMenuItem_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
11107static PyObject *_wrap_wxMenuItem_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
11108 PyObject * _resultobj;
11109 wxMenuItem * _arg0;
11110 wxBitmap * _arg1;
11111 PyObject * _argo0 = 0;
11112 PyObject * _argo1 = 0;
11113 char *_kwnames[] = { "self","bmpChecked", NULL };
11114
11115 self = self;
11116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetBitmap",_kwnames,&_argo0,&_argo1))
11117 return NULL;
11118 if (_argo0) {
11119 if (_argo0 == Py_None) { _arg0 = NULL; }
11120 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11121 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetBitmap. Expected _wxMenuItem_p.");
11122 return NULL;
11123 }
11124 }
11125 if (_argo1) {
11126 if (_argo1 == Py_None) { _arg1 = NULL; }
11127 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
11128 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenuItem_SetBitmap. Expected _wxBitmap_p.");
11129 return NULL;
11130 }
11131 }
11132{
4268f798 11133 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11134 wxMenuItem_SetBitmap(_arg0,*_arg1);
f3d9dc1d 11135
4268f798 11136 wxPyEndAllowThreads(__tstate);
493f1553 11137 if (PyErr_Occurred()) return NULL;
f3d9dc1d
RD
11138} Py_INCREF(Py_None);
11139 _resultobj = Py_None;
11140 return _resultobj;
11141}
11142
11143#define wxMenuItem_GetBitmap(_swigobj,_swigarg0) (_swigobj->GetBitmap(_swigarg0))
11144static PyObject *_wrap_wxMenuItem_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
11145 PyObject * _resultobj;
11146 wxBitmap * _result;
11147 wxMenuItem * _arg0;
11148 bool _arg1 = (bool ) TRUE;
11149 PyObject * _argo0 = 0;
11150 int tempbool1 = (int) TRUE;
11151 char *_kwnames[] = { "self","bChecked", NULL };
11152 char _ptemp[128];
11153
11154 self = self;
11155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxMenuItem_GetBitmap",_kwnames,&_argo0,&tempbool1))
11156 return NULL;
11157 if (_argo0) {
11158 if (_argo0 == Py_None) { _arg0 = NULL; }
11159 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11160 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetBitmap. Expected _wxMenuItem_p.");
11161 return NULL;
11162 }
11163 }
11164 _arg1 = (bool ) tempbool1;
11165{
4268f798 11166 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11167 _result = new wxBitmap (wxMenuItem_GetBitmap(_arg0,_arg1));
f3d9dc1d 11168
4268f798 11169 wxPyEndAllowThreads(__tstate);
493f1553 11170 if (PyErr_Occurred()) return NULL;
c5943253
RD
11171} SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p");
11172 _resultobj = Py_BuildValue("s",_ptemp);
f3d9dc1d
RD
11173 return _resultobj;
11174}
11175
11176#define wxMenuItem_SetMarginWidth(_swigobj,_swigarg0) (_swigobj->SetMarginWidth(_swigarg0))
11177static PyObject *_wrap_wxMenuItem_SetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
11178 PyObject * _resultobj;
11179 wxMenuItem * _arg0;
11180 int _arg1;
11181 PyObject * _argo0 = 0;
11182 char *_kwnames[] = { "self","nWidth", NULL };
11183
11184 self = self;
11185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuItem_SetMarginWidth",_kwnames,&_argo0,&_arg1))
11186 return NULL;
11187 if (_argo0) {
11188 if (_argo0 == Py_None) { _arg0 = NULL; }
11189 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11190 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetMarginWidth. Expected _wxMenuItem_p.");
11191 return NULL;
11192 }
11193 }
11194{
4268f798 11195 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11196 wxMenuItem_SetMarginWidth(_arg0,_arg1);
f3d9dc1d 11197
4268f798 11198 wxPyEndAllowThreads(__tstate);
493f1553 11199 if (PyErr_Occurred()) return NULL;
f3d9dc1d
RD
11200} Py_INCREF(Py_None);
11201 _resultobj = Py_None;
11202 return _resultobj;
11203}
11204
11205#define wxMenuItem_GetMarginWidth(_swigobj) (_swigobj->GetMarginWidth())
11206static PyObject *_wrap_wxMenuItem_GetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
11207 PyObject * _resultobj;
11208 int _result;
11209 wxMenuItem * _arg0;
11210 PyObject * _argo0 = 0;
11211 char *_kwnames[] = { "self", NULL };
11212
11213 self = self;
11214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetMarginWidth",_kwnames,&_argo0))
11215 return NULL;
11216 if (_argo0) {
11217 if (_argo0 == Py_None) { _arg0 = NULL; }
11218 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11219 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetMarginWidth. Expected _wxMenuItem_p.");
11220 return NULL;
11221 }
11222 }
11223{
4268f798 11224 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11225 _result = (int )wxMenuItem_GetMarginWidth(_arg0);
f3d9dc1d 11226
4268f798 11227 wxPyEndAllowThreads(__tstate);
493f1553 11228 if (PyErr_Occurred()) return NULL;
f3d9dc1d
RD
11229} _resultobj = Py_BuildValue("i",_result);
11230 return _resultobj;
11231}
11232
11233static PyObject *_wrap_wxMenuItem_GetDefaultMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
11234 PyObject * _resultobj;
11235 int _result;
11236 char *_kwnames[] = { NULL };
11237
11238 self = self;
11239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxMenuItem_GetDefaultMarginWidth",_kwnames))
11240 return NULL;
11241{
4268f798 11242 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11243 _result = (int )wxMenuItem::GetDefaultMarginWidth();
f3d9dc1d 11244
4268f798 11245 wxPyEndAllowThreads(__tstate);
493f1553 11246 if (PyErr_Occurred()) return NULL;
f3d9dc1d
RD
11247} _resultobj = Py_BuildValue("i",_result);
11248 return _resultobj;
11249}
11250
11251#define wxMenuItem_IsOwnerDrawn(_swigobj) (_swigobj->IsOwnerDrawn())
11252static PyObject *_wrap_wxMenuItem_IsOwnerDrawn(PyObject *self, PyObject *args, PyObject *kwargs) {
11253 PyObject * _resultobj;
11254 bool _result;
11255 wxMenuItem * _arg0;
11256 PyObject * _argo0 = 0;
11257 char *_kwnames[] = { "self", NULL };
11258
11259 self = self;
11260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsOwnerDrawn",_kwnames,&_argo0))
11261 return NULL;
11262 if (_argo0) {
11263 if (_argo0 == Py_None) { _arg0 = NULL; }
11264 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11265 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsOwnerDrawn. Expected _wxMenuItem_p.");
11266 return NULL;
11267 }
11268 }
11269{
4268f798 11270 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11271 _result = (bool )wxMenuItem_IsOwnerDrawn(_arg0);
f3d9dc1d 11272
4268f798 11273 wxPyEndAllowThreads(__tstate);
493f1553 11274 if (PyErr_Occurred()) return NULL;
f3d9dc1d
RD
11275} _resultobj = Py_BuildValue("i",_result);
11276 return _resultobj;
11277}
11278
11279#define wxMenuItem_ResetOwnerDrawn(_swigobj) (_swigobj->ResetOwnerDrawn())
11280static PyObject *_wrap_wxMenuItem_ResetOwnerDrawn(PyObject *self, PyObject *args, PyObject *kwargs) {
11281 PyObject * _resultobj;
11282 wxMenuItem * _arg0;
11283 PyObject * _argo0 = 0;
11284 char *_kwnames[] = { "self", NULL };
11285
11286 self = self;
11287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_ResetOwnerDrawn",_kwnames,&_argo0))
11288 return NULL;
11289 if (_argo0) {
11290 if (_argo0 == Py_None) { _arg0 = NULL; }
11291 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11292 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_ResetOwnerDrawn. Expected _wxMenuItem_p.");
11293 return NULL;
11294 }
11295 }
11296{
4268f798 11297 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11298 wxMenuItem_ResetOwnerDrawn(_arg0);
f3d9dc1d 11299
4268f798 11300 wxPyEndAllowThreads(__tstate);
493f1553 11301 if (PyErr_Occurred()) return NULL;
f3d9dc1d
RD
11302} Py_INCREF(Py_None);
11303 _resultobj = Py_None;
11304 return _resultobj;
11305}
11306
8ab979d7 11307static PyMethodDef windowscMethods[] = {
f3d9dc1d
RD
11308 { "wxMenuItem_ResetOwnerDrawn", (PyCFunction) _wrap_wxMenuItem_ResetOwnerDrawn, METH_VARARGS | METH_KEYWORDS },
11309 { "wxMenuItem_IsOwnerDrawn", (PyCFunction) _wrap_wxMenuItem_IsOwnerDrawn, METH_VARARGS | METH_KEYWORDS },
11310 { "wxMenuItem_GetDefaultMarginWidth", (PyCFunction) _wrap_wxMenuItem_GetDefaultMarginWidth, METH_VARARGS | METH_KEYWORDS },
11311 { "wxMenuItem_GetMarginWidth", (PyCFunction) _wrap_wxMenuItem_GetMarginWidth, METH_VARARGS | METH_KEYWORDS },
11312 { "wxMenuItem_SetMarginWidth", (PyCFunction) _wrap_wxMenuItem_SetMarginWidth, METH_VARARGS | METH_KEYWORDS },
11313 { "wxMenuItem_GetBitmap", (PyCFunction) _wrap_wxMenuItem_GetBitmap, METH_VARARGS | METH_KEYWORDS },
11314 { "wxMenuItem_SetBitmap", (PyCFunction) _wrap_wxMenuItem_SetBitmap, METH_VARARGS | METH_KEYWORDS },
11315 { "wxMenuItem_SetBitmaps", (PyCFunction) _wrap_wxMenuItem_SetBitmaps, METH_VARARGS | METH_KEYWORDS },
11316 { "wxMenuItem_GetBackgroundColour", (PyCFunction) _wrap_wxMenuItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11317 { "wxMenuItem_SetBackgroundColour", (PyCFunction) _wrap_wxMenuItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11318 { "wxMenuItem_GetTextColour", (PyCFunction) _wrap_wxMenuItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
11319 { "wxMenuItem_SetTextColour", (PyCFunction) _wrap_wxMenuItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
11320 { "wxMenuItem_GetFont", (PyCFunction) _wrap_wxMenuItem_GetFont, METH_VARARGS | METH_KEYWORDS },
11321 { "wxMenuItem_SetFont", (PyCFunction) _wrap_wxMenuItem_SetFont, METH_VARARGS | METH_KEYWORDS },
1b62f00d 11322 { "wxMenuItem_GetLabelFromText", (PyCFunction) _wrap_wxMenuItem_GetLabelFromText, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
11323 { "wxMenuItem_SetAccel", (PyCFunction) _wrap_wxMenuItem_SetAccel, METH_VARARGS | METH_KEYWORDS },
11324 { "wxMenuItem_GetAccel", (PyCFunction) _wrap_wxMenuItem_GetAccel, METH_VARARGS | METH_KEYWORDS },
11325 { "wxMenuItem_GetHelp", (PyCFunction) _wrap_wxMenuItem_GetHelp, METH_VARARGS | METH_KEYWORDS },
11326 { "wxMenuItem_SetHelp", (PyCFunction) _wrap_wxMenuItem_SetHelp, METH_VARARGS | METH_KEYWORDS },
11327 { "wxMenuItem_Toggle", (PyCFunction) _wrap_wxMenuItem_Toggle, METH_VARARGS | METH_KEYWORDS },
11328 { "wxMenuItem_IsChecked", (PyCFunction) _wrap_wxMenuItem_IsChecked, METH_VARARGS | METH_KEYWORDS },
efc5f224 11329 { "wxMenuItem_Check", (PyCFunction) _wrap_wxMenuItem_Check, METH_VARARGS | METH_KEYWORDS },
b1462dfa 11330 { "wxMenuItem_IsEnabled", (PyCFunction) _wrap_wxMenuItem_IsEnabled, METH_VARARGS | METH_KEYWORDS },
efc5f224 11331 { "wxMenuItem_Enable", (PyCFunction) _wrap_wxMenuItem_Enable, METH_VARARGS | METH_KEYWORDS },
efc5f224 11332 { "wxMenuItem_GetSubMenu", (PyCFunction) _wrap_wxMenuItem_GetSubMenu, METH_VARARGS | METH_KEYWORDS },
b1462dfa 11333 { "wxMenuItem_SetSubMenu", (PyCFunction) _wrap_wxMenuItem_SetSubMenu, METH_VARARGS | METH_KEYWORDS },
2abc0a0f 11334 { "wxMenuItem_IsSubMenu", (PyCFunction) _wrap_wxMenuItem_IsSubMenu, METH_VARARGS | METH_KEYWORDS },
efc5f224 11335 { "wxMenuItem_IsCheckable", (PyCFunction) _wrap_wxMenuItem_IsCheckable, METH_VARARGS | METH_KEYWORDS },
b1462dfa 11336 { "wxMenuItem_SetCheckable", (PyCFunction) _wrap_wxMenuItem_SetCheckable, METH_VARARGS | METH_KEYWORDS },
e9159fe8 11337 { "wxMenuItem_GetKind", (PyCFunction) _wrap_wxMenuItem_GetKind, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
11338 { "wxMenuItem_GetText", (PyCFunction) _wrap_wxMenuItem_GetText, METH_VARARGS | METH_KEYWORDS },
11339 { "wxMenuItem_GetLabel", (PyCFunction) _wrap_wxMenuItem_GetLabel, METH_VARARGS | METH_KEYWORDS },
11340 { "wxMenuItem_SetText", (PyCFunction) _wrap_wxMenuItem_SetText, METH_VARARGS | METH_KEYWORDS },
efc5f224 11341 { "wxMenuItem_IsSeparator", (PyCFunction) _wrap_wxMenuItem_IsSeparator, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
11342 { "wxMenuItem_GetId", (PyCFunction) _wrap_wxMenuItem_GetId, METH_VARARGS | METH_KEYWORDS },
11343 { "wxMenuItem_SetId", (PyCFunction) _wrap_wxMenuItem_SetId, METH_VARARGS | METH_KEYWORDS },
11344 { "wxMenuItem_GetMenu", (PyCFunction) _wrap_wxMenuItem_GetMenu, METH_VARARGS | METH_KEYWORDS },
efc5f224 11345 { "new_wxMenuItem", (PyCFunction) _wrap_new_wxMenuItem, METH_VARARGS | METH_KEYWORDS },
b1462dfa 11346 { "wxMenuBar_GetHelpString", (PyCFunction) _wrap_wxMenuBar_GetHelpString, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11347 { "wxMenuBar_SetHelpString", (PyCFunction) _wrap_wxMenuBar_SetHelpString, METH_VARARGS | METH_KEYWORDS },
11348 { "wxMenuBar_GetLabel", (PyCFunction) _wrap_wxMenuBar_GetLabel, METH_VARARGS | METH_KEYWORDS },
2f90df85 11349 { "wxMenuBar_SetLabel", (PyCFunction) _wrap_wxMenuBar_SetLabel, METH_VARARGS | METH_KEYWORDS },
2abc0a0f
RD
11350 { "wxMenuBar_IsEnabled", (PyCFunction) _wrap_wxMenuBar_IsEnabled, METH_VARARGS | METH_KEYWORDS },
11351 { "wxMenuBar_IsChecked", (PyCFunction) _wrap_wxMenuBar_IsChecked, METH_VARARGS | METH_KEYWORDS },
efc5f224 11352 { "wxMenuBar_Check", (PyCFunction) _wrap_wxMenuBar_Check, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
11353 { "wxMenuBar_Enable", (PyCFunction) _wrap_wxMenuBar_Enable, METH_VARARGS | METH_KEYWORDS },
11354 { "wxMenuBar_FindItemById", (PyCFunction) _wrap_wxMenuBar_FindItemById, METH_VARARGS | METH_KEYWORDS },
11355 { "wxMenuBar_FindMenuItem", (PyCFunction) _wrap_wxMenuBar_FindMenuItem, METH_VARARGS | METH_KEYWORDS },
3a0958b1 11356 { "wxMenuBar_FindMenu", (PyCFunction) _wrap_wxMenuBar_FindMenu, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
11357 { "wxMenuBar_GetLabelTop", (PyCFunction) _wrap_wxMenuBar_GetLabelTop, METH_VARARGS | METH_KEYWORDS },
11358 { "wxMenuBar_SetLabelTop", (PyCFunction) _wrap_wxMenuBar_SetLabelTop, METH_VARARGS | METH_KEYWORDS },
11359 { "wxMenuBar_EnableTop", (PyCFunction) _wrap_wxMenuBar_EnableTop, METH_VARARGS | METH_KEYWORDS },
11360 { "wxMenuBar_Remove", (PyCFunction) _wrap_wxMenuBar_Remove, METH_VARARGS | METH_KEYWORDS },
11361 { "wxMenuBar_Replace", (PyCFunction) _wrap_wxMenuBar_Replace, METH_VARARGS | METH_KEYWORDS },
11362 { "wxMenuBar_GetMenu", (PyCFunction) _wrap_wxMenuBar_GetMenu, METH_VARARGS | METH_KEYWORDS },
11363 { "wxMenuBar_GetMenuCount", (PyCFunction) _wrap_wxMenuBar_GetMenuCount, METH_VARARGS | METH_KEYWORDS },
11364 { "wxMenuBar_Insert", (PyCFunction) _wrap_wxMenuBar_Insert, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11365 { "wxMenuBar_Append", (PyCFunction) _wrap_wxMenuBar_Append, METH_VARARGS | METH_KEYWORDS },
11366 { "new_wxMenuBar", (PyCFunction) _wrap_new_wxMenuBar, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
11367 { "wxMenu_GetParent", (PyCFunction) _wrap_wxMenu_GetParent, METH_VARARGS | METH_KEYWORDS },
11368 { "wxMenu_SetParent", (PyCFunction) _wrap_wxMenu_SetParent, METH_VARARGS | METH_KEYWORDS },
11369 { "wxMenu_IsAttached", (PyCFunction) _wrap_wxMenu_IsAttached, METH_VARARGS | METH_KEYWORDS },
11370 { "wxMenu_GetStyle", (PyCFunction) _wrap_wxMenu_GetStyle, METH_VARARGS | METH_KEYWORDS },
11371 { "wxMenu_GetInvokingWindow", (PyCFunction) _wrap_wxMenu_GetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
11372 { "wxMenu_SetInvokingWindow", (PyCFunction) _wrap_wxMenu_SetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
11373 { "wxMenu_GetEventHandler", (PyCFunction) _wrap_wxMenu_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
11374 { "wxMenu_SetEventHandler", (PyCFunction) _wrap_wxMenu_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
11375 { "wxMenu_GetMenuItems", (PyCFunction) _wrap_wxMenu_GetMenuItems, METH_VARARGS | METH_KEYWORDS },
11376 { "wxMenu_GetMenuItemCount", (PyCFunction) _wrap_wxMenu_GetMenuItemCount, METH_VARARGS | METH_KEYWORDS },
11377 { "wxMenu_DestroyItem", (PyCFunction) _wrap_wxMenu_DestroyItem, METH_VARARGS | METH_KEYWORDS },
11378 { "wxMenu_DestroyId", (PyCFunction) _wrap_wxMenu_DestroyId, METH_VARARGS | METH_KEYWORDS },
efc5f224 11379 { "wxMenu_Destroy", (PyCFunction) _wrap_wxMenu_Destroy, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
11380 { "wxMenu_RemoveItem", (PyCFunction) _wrap_wxMenu_RemoveItem, METH_VARARGS | METH_KEYWORDS },
11381 { "wxMenu_Remove", (PyCFunction) _wrap_wxMenu_Remove, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
11382 { "wxMenu_DeleteItem", (PyCFunction) _wrap_wxMenu_DeleteItem, METH_VARARGS | METH_KEYWORDS },
11383 { "wxMenu_Delete", (PyCFunction) _wrap_wxMenu_Delete, METH_VARARGS | METH_KEYWORDS },
efc5f224 11384 { "wxMenu_UpdateUI", (PyCFunction) _wrap_wxMenu_UpdateUI, METH_VARARGS | METH_KEYWORDS },
efc5f224 11385 { "wxMenu_SetHelpString", (PyCFunction) _wrap_wxMenu_SetHelpString, METH_VARARGS | METH_KEYWORDS },
efc5f224 11386 { "wxMenu_GetHelpString", (PyCFunction) _wrap_wxMenu_GetHelpString, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
11387 { "wxMenu_SetLabel", (PyCFunction) _wrap_wxMenu_SetLabel, METH_VARARGS | METH_KEYWORDS },
11388 { "wxMenu_GetLabel", (PyCFunction) _wrap_wxMenu_GetLabel, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11389 { "wxMenu_SetTitle", (PyCFunction) _wrap_wxMenu_SetTitle, METH_VARARGS | METH_KEYWORDS },
11390 { "wxMenu_GetTitle", (PyCFunction) _wrap_wxMenu_GetTitle, METH_VARARGS | METH_KEYWORDS },
b1462dfa 11391 { "wxMenu_FindItemById", (PyCFunction) _wrap_wxMenu_FindItemById, METH_VARARGS | METH_KEYWORDS },
efc5f224 11392 { "wxMenu_FindItem", (PyCFunction) _wrap_wxMenu_FindItem, METH_VARARGS | METH_KEYWORDS },
b1462dfa 11393 { "wxMenu_IsEnabled", (PyCFunction) _wrap_wxMenu_IsEnabled, METH_VARARGS | METH_KEYWORDS },
efc5f224 11394 { "wxMenu_Enable", (PyCFunction) _wrap_wxMenu_Enable, METH_VARARGS | METH_KEYWORDS },
b1462dfa 11395 { "wxMenu_IsChecked", (PyCFunction) _wrap_wxMenu_IsChecked, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11396 { "wxMenu_Check", (PyCFunction) _wrap_wxMenu_Check, METH_VARARGS | METH_KEYWORDS },
11397 { "wxMenu_Break", (PyCFunction) _wrap_wxMenu_Break, METH_VARARGS | METH_KEYWORDS },
e9159fe8
RD
11398 { "wxMenu_PrependItem", (PyCFunction) _wrap_wxMenu_PrependItem, METH_VARARGS | METH_KEYWORDS },
11399 { "wxMenu_PrependMenu", (PyCFunction) _wrap_wxMenu_PrependMenu, METH_VARARGS | METH_KEYWORDS },
11400 { "wxMenu_PrependRadioItem", (PyCFunction) _wrap_wxMenu_PrependRadioItem, METH_VARARGS | METH_KEYWORDS },
11401 { "wxMenu_PrependCheckItem", (PyCFunction) _wrap_wxMenu_PrependCheckItem, METH_VARARGS | METH_KEYWORDS },
11402 { "wxMenu_PrependSeparator", (PyCFunction) _wrap_wxMenu_PrependSeparator, METH_VARARGS | METH_KEYWORDS },
11403 { "wxMenu_Prepend", (PyCFunction) _wrap_wxMenu_Prepend, METH_VARARGS | METH_KEYWORDS },
11404 { "wxMenu_InsertItem", (PyCFunction) _wrap_wxMenu_InsertItem, METH_VARARGS | METH_KEYWORDS },
11405 { "wxMenu_InsertMenu", (PyCFunction) _wrap_wxMenu_InsertMenu, METH_VARARGS | METH_KEYWORDS },
11406 { "wxMenu_InsertRadioItem", (PyCFunction) _wrap_wxMenu_InsertRadioItem, METH_VARARGS | METH_KEYWORDS },
11407 { "wxMenu_InsertCheckItem", (PyCFunction) _wrap_wxMenu_InsertCheckItem, METH_VARARGS | METH_KEYWORDS },
11408 { "wxMenu_InsertSeparator", (PyCFunction) _wrap_wxMenu_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
11409 { "wxMenu_Insert", (PyCFunction) _wrap_wxMenu_Insert, METH_VARARGS | METH_KEYWORDS },
efc5f224 11410 { "wxMenu_AppendSeparator", (PyCFunction) _wrap_wxMenu_AppendSeparator, METH_VARARGS | METH_KEYWORDS },
e9159fe8
RD
11411 { "wxMenu_AppendRadioItem", (PyCFunction) _wrap_wxMenu_AppendRadioItem, METH_VARARGS | METH_KEYWORDS },
11412 { "wxMenu_AppendCheckItem", (PyCFunction) _wrap_wxMenu_AppendCheckItem, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11413 { "wxMenu_AppendItem", (PyCFunction) _wrap_wxMenu_AppendItem, METH_VARARGS | METH_KEYWORDS },
11414 { "wxMenu_AppendMenu", (PyCFunction) _wrap_wxMenu_AppendMenu, METH_VARARGS | METH_KEYWORDS },
11415 { "wxMenu_Append", (PyCFunction) _wrap_wxMenu_Append, METH_VARARGS | METH_KEYWORDS },
11416 { "new_wxMenu", (PyCFunction) _wrap_new_wxMenu, METH_VARARGS | METH_KEYWORDS },
26e335b8 11417 { "wxScrolledWindow_Layout", (PyCFunction) _wrap_wxScrolledWindow_Layout, METH_VARARGS | METH_KEYWORDS },
d1679124
RD
11418 { "wxScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_wxScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
11419 { "wxScrolledWindow_GetScaleY", (PyCFunction) _wrap_wxScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
11420 { "wxScrolledWindow_GetScaleX", (PyCFunction) _wrap_wxScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
11421 { "wxScrolledWindow_SetScale", (PyCFunction) _wrap_wxScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
e9159fe8
RD
11422 { "wxScrolledWindow_CalcUnscrolledPosition2", (PyCFunction) _wrap_wxScrolledWindow_CalcUnscrolledPosition2, METH_VARARGS | METH_KEYWORDS },
11423 { "wxScrolledWindow_CalcUnscrolledPosition1", (PyCFunction) _wrap_wxScrolledWindow_CalcUnscrolledPosition1, METH_VARARGS | METH_KEYWORDS },
11424 { "wxScrolledWindow_CalcScrolledPosition2", (PyCFunction) _wrap_wxScrolledWindow_CalcScrolledPosition2, METH_VARARGS | METH_KEYWORDS },
11425 { "wxScrolledWindow_CalcScrolledPosition1", (PyCFunction) _wrap_wxScrolledWindow_CalcScrolledPosition1, METH_VARARGS | METH_KEYWORDS },
4c9993c3 11426 { "wxScrolledWindow_GetViewStart", (PyCFunction) _wrap_wxScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
eb715945 11427 { "wxScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_wxScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
b7e72427 11428 { "wxScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_wxScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11429 { "wxScrolledWindow_SetScrollbars", (PyCFunction) _wrap_wxScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
11430 { "wxScrolledWindow_Scroll", (PyCFunction) _wrap_wxScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
11431 { "wxScrolledWindow_PrepareDC", (PyCFunction) _wrap_wxScrolledWindow_PrepareDC, METH_VARARGS | METH_KEYWORDS },
11432 { "wxScrolledWindow_IsRetained", (PyCFunction) _wrap_wxScrolledWindow_IsRetained, METH_VARARGS | METH_KEYWORDS },
11433 { "wxScrolledWindow_GetVirtualSize", (PyCFunction) _wrap_wxScrolledWindow_GetVirtualSize, METH_VARARGS | METH_KEYWORDS },
b7e72427 11434 { "wxScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_wxScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
efc5f224 11435 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
b7e72427 11436 { "wxScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_wxScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
efc5f224 11437 { "wxScrolledWindow_EnableScrolling", (PyCFunction) _wrap_wxScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
11438 { "wxScrolledWindow_Create", (PyCFunction) _wrap_wxScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
11439 { "new_wxPreScrolledWindow", (PyCFunction) _wrap_new_wxPreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
efc5f224 11440 { "new_wxScrolledWindow", (PyCFunction) _wrap_new_wxScrolledWindow, METH_VARARGS | METH_KEYWORDS },
efc5f224 11441 { "wxPanel_InitDialog", (PyCFunction) _wrap_wxPanel_InitDialog, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
11442 { "wxPanel_Create", (PyCFunction) _wrap_wxPanel_Create, METH_VARARGS | METH_KEYWORDS },
11443 { "new_wxPrePanel", (PyCFunction) _wrap_new_wxPrePanel, METH_VARARGS | METH_KEYWORDS },
efc5f224 11444 { "new_wxPanel", (PyCFunction) _wrap_new_wxPanel, METH_VARARGS | METH_KEYWORDS },
5a2930ab
RD
11445 { "wxWindow_SetDefaultItem", (PyCFunction) _wrap_wxWindow_SetDefaultItem, METH_VARARGS | METH_KEYWORDS },
11446 { "wxWindow_GetDefaultItem", (PyCFunction) _wrap_wxWindow_GetDefaultItem, METH_VARARGS | METH_KEYWORDS },
07c99b26 11447 { "wxWindow_OnPaint", (PyCFunction) _wrap_wxWindow_OnPaint, METH_VARARGS | METH_KEYWORDS },
900d9886 11448 { "wxWindow_GetAcceleratorTable", (PyCFunction) _wrap_wxWindow_GetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
76bfdc78 11449 { "wxWindow_SetAcceleratorTable", (PyCFunction) _wrap_wxWindow_SetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
11450 { "wxWindow_PrevControlId", (PyCFunction) _wrap_wxWindow_PrevControlId, METH_VARARGS | METH_KEYWORDS },
11451 { "wxWindow_NextControlId", (PyCFunction) _wrap_wxWindow_NextControlId, METH_VARARGS | METH_KEYWORDS },
11452 { "wxWindow_NewControlId", (PyCFunction) _wrap_wxWindow_NewControlId, METH_VARARGS | METH_KEYWORDS },
11453 { "wxWindow_FindFocus", (PyCFunction) _wrap_wxWindow_FindFocus, METH_VARARGS | METH_KEYWORDS },
c7e7022c
RD
11454 { "wxWindow_PageDown", (PyCFunction) _wrap_wxWindow_PageDown, METH_VARARGS | METH_KEYWORDS },
11455 { "wxWindow_PageUp", (PyCFunction) _wrap_wxWindow_PageUp, METH_VARARGS | METH_KEYWORDS },
11456 { "wxWindow_LineDown", (PyCFunction) _wrap_wxWindow_LineDown, METH_VARARGS | METH_KEYWORDS },
11457 { "wxWindow_LineUp", (PyCFunction) _wrap_wxWindow_LineUp, METH_VARARGS | METH_KEYWORDS },
11458 { "wxWindow_ScrollPages", (PyCFunction) _wrap_wxWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
11459 { "wxWindow_ScrollLines", (PyCFunction) _wrap_wxWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
23bed520 11460 { "wxWindow_SetHelpTextForId", (PyCFunction) _wrap_wxWindow_SetHelpTextForId, METH_VARARGS | METH_KEYWORDS },
4f3449b4
RD
11461 { "wxWindow_SetHelpText", (PyCFunction) _wrap_wxWindow_SetHelpText, METH_VARARGS | METH_KEYWORDS },
11462 { "wxWindow_GetHelpText", (PyCFunction) _wrap_wxWindow_GetHelpText, METH_VARARGS | METH_KEYWORDS },
09f3d4e6 11463 { "wxWindow_Update", (PyCFunction) _wrap_wxWindow_Update, METH_VARARGS | METH_KEYWORDS },
3a0958b1
RD
11464 { "wxWindow_Thaw", (PyCFunction) _wrap_wxWindow_Thaw, METH_VARARGS | METH_KEYWORDS },
11465 { "wxWindow_Freeze", (PyCFunction) _wrap_wxWindow_Freeze, METH_VARARGS | METH_KEYWORDS },
a1df7a95
RD
11466 { "wxWindow_GetCaret", (PyCFunction) _wrap_wxWindow_GetCaret, METH_VARARGS | METH_KEYWORDS },
11467 { "wxWindow_SetCaret", (PyCFunction) _wrap_wxWindow_SetCaret, METH_VARARGS | METH_KEYWORDS },
a541c325 11468 { "wxWindow_GetMaxSize", (PyCFunction) _wrap_wxWindow_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
694759cf 11469 { "wxWindow_GetBestSize", (PyCFunction) _wrap_wxWindow_GetBestSize, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
11470 { "wxWindow_GetDropTarget", (PyCFunction) _wrap_wxWindow_GetDropTarget, METH_VARARGS | METH_KEYWORDS },
11471 { "wxWindow_SetDropTarget", (PyCFunction) _wrap_wxWindow_SetDropTarget, METH_VARARGS | METH_KEYWORDS },
2f90df85
RD
11472 { "wxWindow_SetValidator", (PyCFunction) _wrap_wxWindow_SetValidator, METH_VARARGS | METH_KEYWORDS },
11473 { "wxWindow_GetValidator", (PyCFunction) _wrap_wxWindow_GetValidator, METH_VARARGS | METH_KEYWORDS },
be90c029
RD
11474 { "wxWindow_GetContainingSizer", (PyCFunction) _wrap_wxWindow_GetContainingSizer, METH_VARARGS | METH_KEYWORDS },
11475 { "wxWindow_SetContainingSizer", (PyCFunction) _wrap_wxWindow_SetContainingSizer, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 11476 { "wxWindow_GetSizer", (PyCFunction) _wrap_wxWindow_GetSizer, METH_VARARGS | METH_KEYWORDS },
2f90df85 11477 { "wxWindow_SetSizer", (PyCFunction) _wrap_wxWindow_SetSizer, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11478 { "wxWindow_GetToolTip", (PyCFunction) _wrap_wxWindow_GetToolTip, METH_VARARGS | METH_KEYWORDS },
11479 { "wxWindow_SetToolTip", (PyCFunction) _wrap_wxWindow_SetToolTip, METH_VARARGS | METH_KEYWORDS },
11480 { "wxWindow_SetToolTipString", (PyCFunction) _wrap_wxWindow_SetToolTipString, METH_VARARGS | METH_KEYWORDS },
11481 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction) _wrap_wxWindow_ConvertPixelSizeToDialog, METH_VARARGS | METH_KEYWORDS },
11482 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction) _wrap_wxWindow_ConvertPixelPointToDialog, METH_VARARGS | METH_KEYWORDS },
11483 { "wxWindow_DLG_SZE", (PyCFunction) _wrap_wxWindow_ConvertDialogSizeToPixels, METH_VARARGS | METH_KEYWORDS },
11484 { "wxWindow_DLG_PNT", (PyCFunction) _wrap_wxWindow_ConvertDialogPointToPixels, METH_VARARGS | METH_KEYWORDS },
11485 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction) _wrap_wxWindow_ConvertDialogSizeToPixels, METH_VARARGS | METH_KEYWORDS },
11486 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction) _wrap_wxWindow_ConvertDialogPointToPixels, METH_VARARGS | METH_KEYWORDS },
11487 { "wxWindow_WarpPointer", (PyCFunction) _wrap_wxWindow_WarpPointer, METH_VARARGS | METH_KEYWORDS },
11488 { "wxWindow_Validate", (PyCFunction) _wrap_wxWindow_Validate, METH_VARARGS | METH_KEYWORDS },
23bed520 11489 { "wxWindow_UpdateWindowUI", (PyCFunction) _wrap_wxWindow_UpdateWindowUI, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11490 { "wxWindow_TransferDataToWindow", (PyCFunction) _wrap_wxWindow_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
11491 { "wxWindow_TransferDataFromWindow", (PyCFunction) _wrap_wxWindow_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
11492 { "wxWindow_Show", (PyCFunction) _wrap_wxWindow_Show, METH_VARARGS | METH_KEYWORDS },
11493 { "wxWindow_SetTitle", (PyCFunction) _wrap_wxWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
83b18bab 11494 { "wxWindow_SetExtraStyle", (PyCFunction) _wrap_wxWindow_SetExtraStyle, METH_VARARGS | METH_KEYWORDS },
1afc06c2 11495 { "wxWindow_SetEventHandler", (PyCFunction) _wrap_wxWindow_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11496 { "wxWindow_SetCursor", (PyCFunction) _wrap_wxWindow_SetCursor, METH_VARARGS | METH_KEYWORDS },
11497 { "wxWindow_SetClientSize", (PyCFunction) _wrap_wxWindow_SetClientSize, METH_VARARGS | METH_KEYWORDS },
11498 { "wxWindow_SetClientSizeWH", (PyCFunction) _wrap_wxWindow_SetClientSizeWH, METH_VARARGS | METH_KEYWORDS },
11499 { "wxWindow_SetSizeHints", (PyCFunction) _wrap_wxWindow_SetSizeHints, METH_VARARGS | METH_KEYWORDS },
dbbb98cd 11500 { "wxWindow_SetRect", (PyCFunction) _wrap_wxWindow_SetRect, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11501 { "wxWindow_SetPosition", (PyCFunction) _wrap_wxWindow_SetPosition, METH_VARARGS | METH_KEYWORDS },
11502 { "wxWindow_SetSize", (PyCFunction) _wrap_wxWindow_SetSize, METH_VARARGS | METH_KEYWORDS },
11503 { "wxWindow_SetDimensions", (PyCFunction) _wrap_wxWindow_SetDimensions, METH_VARARGS | METH_KEYWORDS },
11504 { "wxWindow_SetScrollPos", (PyCFunction) _wrap_wxWindow_SetScrollPos, METH_VARARGS | METH_KEYWORDS },
11505 { "wxWindow_SetScrollbar", (PyCFunction) _wrap_wxWindow_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
11506 { "wxWindow_SetName", (PyCFunction) _wrap_wxWindow_SetName, METH_VARARGS | METH_KEYWORDS },
11507 { "wxWindow_SetId", (PyCFunction) _wrap_wxWindow_SetId, METH_VARARGS | METH_KEYWORDS },
11508 { "wxWindow_SetForegroundColour", (PyCFunction) _wrap_wxWindow_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
11509 { "wxWindow_SetFont", (PyCFunction) _wrap_wxWindow_SetFont, METH_VARARGS | METH_KEYWORDS },
2f90df85 11510 { "wxWindow_AcceptsFocus", (PyCFunction) _wrap_wxWindow_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
efc5f224 11511 { "wxWindow_SetFocus", (PyCFunction) _wrap_wxWindow_SetFocus, METH_VARARGS | METH_KEYWORDS },
2f90df85 11512 { "wxWindow_UnsetConstraints", (PyCFunction) _wrap_wxWindow_UnsetConstraints, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11513 { "wxWindow_SetConstraints", (PyCFunction) _wrap_wxWindow_SetConstraints, METH_VARARGS | METH_KEYWORDS },
11514 { "wxWindow_SetBackgroundColour", (PyCFunction) _wrap_wxWindow_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
9d8bd15f 11515 { "wxWindow_GetAutoLayout", (PyCFunction) _wrap_wxWindow_GetAutoLayout, METH_VARARGS | METH_KEYWORDS },
efc5f224 11516 { "wxWindow_SetAutoLayout", (PyCFunction) _wrap_wxWindow_SetAutoLayout, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11517 { "wxWindow_ScrollWindow", (PyCFunction) _wrap_wxWindow_ScrollWindow, METH_VARARGS | METH_KEYWORDS },
11518 { "wxWindow_ScreenToClient", (PyCFunction) _wrap_wxWindow_ScreenToClient, METH_VARARGS | METH_KEYWORDS },
11519 { "wxWindow_ScreenToClientXY", (PyCFunction) _wrap_wxWindow_ScreenToClientXY, METH_VARARGS | METH_KEYWORDS },
11520 { "wxWindow_Reparent", (PyCFunction) _wrap_wxWindow_Reparent, METH_VARARGS | METH_KEYWORDS },
b7e72427 11521 { "wxWindow_RemoveChild", (PyCFunction) _wrap_wxWindow_RemoveChild, METH_VARARGS | METH_KEYWORDS },
efc5f224 11522 { "wxWindow_ReleaseMouse", (PyCFunction) _wrap_wxWindow_ReleaseMouse, METH_VARARGS | METH_KEYWORDS },
09f3d4e6 11523 { "wxWindow_RefreshRect", (PyCFunction) _wrap_wxWindow_RefreshRect, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11524 { "wxWindow_Refresh", (PyCFunction) _wrap_wxWindow_Refresh, METH_VARARGS | METH_KEYWORDS },
11525 { "wxWindow_Raise", (PyCFunction) _wrap_wxWindow_Raise, METH_VARARGS | METH_KEYWORDS },
11526 { "wxWindow_PopupMenu", (PyCFunction) _wrap_wxWindow_PopupMenu, METH_VARARGS | METH_KEYWORDS },
11527 { "wxWindow_PopupMenuXY", (PyCFunction) _wrap_wxWindow_PopupMenuXY, METH_VARARGS | METH_KEYWORDS },
c6c593e8 11528 { "wxWindow_RemoveEventHandler", (PyCFunction) _wrap_wxWindow_RemoveEventHandler, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
11529 { "wxWindow_PushEventHandler", (PyCFunction) _wrap_wxWindow_PushEventHandler, METH_VARARGS | METH_KEYWORDS },
11530 { "wxWindow_PopEventHandler", (PyCFunction) _wrap_wxWindow_PopEventHandler, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11531 { "wxWindow_Move", (PyCFunction) _wrap_wxWindow_Move, METH_VARARGS | METH_KEYWORDS },
11532 { "wxWindow_MoveXY", (PyCFunction) _wrap_wxWindow_MoveXY, METH_VARARGS | METH_KEYWORDS },
11533 { "wxWindow_MakeModal", (PyCFunction) _wrap_wxWindow_MakeModal, METH_VARARGS | METH_KEYWORDS },
11534 { "wxWindow_Lower", (PyCFunction) _wrap_wxWindow_Lower, METH_VARARGS | METH_KEYWORDS },
11535 { "wxWindow_LoadFromResource", (PyCFunction) _wrap_wxWindow_LoadFromResource, METH_VARARGS | METH_KEYWORDS },
11536 { "wxWindow_Layout", (PyCFunction) _wrap_wxWindow_Layout, METH_VARARGS | METH_KEYWORDS },
11537 { "wxWindow_IsTopLevel", (PyCFunction) _wrap_wxWindow_IsTopLevel, METH_VARARGS | METH_KEYWORDS },
11538 { "wxWindow_IsShown", (PyCFunction) _wrap_wxWindow_IsShown, METH_VARARGS | METH_KEYWORDS },
11539 { "wxWindow_IsRetained", (PyCFunction) _wrap_wxWindow_IsRetained, METH_VARARGS | METH_KEYWORDS },
1b55cabf
RD
11540 { "wxWindow_IsExposedRect", (PyCFunction) _wrap_wxWindow_IsExposedRect, METH_VARARGS | METH_KEYWORDS },
11541 { "wxWindow_IsExposedPoint", (PyCFunction) _wrap_wxWindow_IsExposedPoint, METH_VARARGS | METH_KEYWORDS },
11542 { "wxWindow_IsExposed", (PyCFunction) _wrap_wxWindow_IsExposed, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11543 { "wxWindow_IsEnabled", (PyCFunction) _wrap_wxWindow_IsEnabled, METH_VARARGS | METH_KEYWORDS },
11544 { "wxWindow_InitDialog", (PyCFunction) _wrap_wxWindow_InitDialog, METH_VARARGS | METH_KEYWORDS },
23bed520 11545 { "wxWindow_HitTest", (PyCFunction) _wrap_wxWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
efc5f224 11546 { "wxWindow_Hide", (PyCFunction) _wrap_wxWindow_Hide, METH_VARARGS | METH_KEYWORDS },
23bed520 11547 { "wxWindow_HasScrollbar", (PyCFunction) _wrap_wxWindow_HasScrollbar, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
11548 { "wxWindow_SetWindowStyle", (PyCFunction) _wrap_wxWindow_SetWindowStyle, METH_VARARGS | METH_KEYWORDS },
11549 { "wxWindow_SetWindowStyleFlag", (PyCFunction) _wrap_wxWindow_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11550 { "wxWindow_GetWindowStyleFlag", (PyCFunction) _wrap_wxWindow_GetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
11551 { "wxWindow_GetUpdateRegion", (PyCFunction) _wrap_wxWindow_GetUpdateRegion, METH_VARARGS | METH_KEYWORDS },
11552 { "wxWindow_GetTitle", (PyCFunction) _wrap_wxWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
11553 { "wxWindow_GetFullTextExtent", (PyCFunction) _wrap_wxWindow_GetFullTextExtent, METH_VARARGS | METH_KEYWORDS },
11554 { "wxWindow_GetTextExtent", (PyCFunction) _wrap_wxWindow_GetTextExtent, METH_VARARGS | METH_KEYWORDS },
11555 { "wxWindow_GetSize", (PyCFunction) _wrap_wxWindow_GetSize, METH_VARARGS | METH_KEYWORDS },
11556 { "wxWindow_GetSizeTuple", (PyCFunction) _wrap_wxWindow_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
11557 { "wxWindow_GetScrollRange", (PyCFunction) _wrap_wxWindow_GetScrollRange, METH_VARARGS | METH_KEYWORDS },
11558 { "wxWindow_GetScrollPos", (PyCFunction) _wrap_wxWindow_GetScrollPos, METH_VARARGS | METH_KEYWORDS },
11559 { "wxWindow_GetScrollThumb", (PyCFunction) _wrap_wxWindow_GetScrollThumb, METH_VARARGS | METH_KEYWORDS },
11560 { "wxWindow_GetRect", (PyCFunction) _wrap_wxWindow_GetRect, METH_VARARGS | METH_KEYWORDS },
11561 { "wxWindow_GetPosition", (PyCFunction) _wrap_wxWindow_GetPosition, METH_VARARGS | METH_KEYWORDS },
11562 { "wxWindow_GetPositionTuple", (PyCFunction) _wrap_wxWindow_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
11563 { "wxWindow_GetParent", (PyCFunction) _wrap_wxWindow_GetParent, METH_VARARGS | METH_KEYWORDS },
11564 { "wxWindow_GetName", (PyCFunction) _wrap_wxWindow_GetName, METH_VARARGS | METH_KEYWORDS },
11565 { "wxWindow_SetLabel", (PyCFunction) _wrap_wxWindow_SetLabel, METH_VARARGS | METH_KEYWORDS },
11566 { "wxWindow_GetLabel", (PyCFunction) _wrap_wxWindow_GetLabel, METH_VARARGS | METH_KEYWORDS },
11567 { "wxWindow_GetId", (PyCFunction) _wrap_wxWindow_GetId, METH_VARARGS | METH_KEYWORDS },
2abc0a0f 11568 { "wxWindow_GetHandle", (PyCFunction) _wrap_wxWindow_GetHandle, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11569 { "wxWindow_GetGrandParent", (PyCFunction) _wrap_wxWindow_GetGrandParent, METH_VARARGS | METH_KEYWORDS },
11570 { "wxWindow_GetForegroundColour", (PyCFunction) _wrap_wxWindow_GetForegroundColour, METH_VARARGS | METH_KEYWORDS },
11571 { "wxWindow_GetFont", (PyCFunction) _wrap_wxWindow_GetFont, METH_VARARGS | METH_KEYWORDS },
1afc06c2 11572 { "wxWindow_GetEventHandler", (PyCFunction) _wrap_wxWindow_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
efc5f224 11573 { "wxWindow_GetConstraints", (PyCFunction) _wrap_wxWindow_GetConstraints, METH_VARARGS | METH_KEYWORDS },
23bed520
RD
11574 { "wxWindow_GetClientRect", (PyCFunction) _wrap_wxWindow_GetClientRect, METH_VARARGS | METH_KEYWORDS },
11575 { "wxWindow_GetClientAreaOrigin", (PyCFunction) _wrap_wxWindow_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11576 { "wxWindow_GetClientSize", (PyCFunction) _wrap_wxWindow_GetClientSize, METH_VARARGS | METH_KEYWORDS },
11577 { "wxWindow_GetClientSizeTuple", (PyCFunction) _wrap_wxWindow_GetClientSizeTuple, METH_VARARGS | METH_KEYWORDS },
11578 { "wxWindow_GetCharWidth", (PyCFunction) _wrap_wxWindow_GetCharWidth, METH_VARARGS | METH_KEYWORDS },
11579 { "wxWindow_GetCharHeight", (PyCFunction) _wrap_wxWindow_GetCharHeight, METH_VARARGS | METH_KEYWORDS },
d426c97e 11580 { "wxWindow_GetChildren", (PyCFunction) _wrap_wxWindow_GetChildren, METH_VARARGS | METH_KEYWORDS },
23bed520 11581 { "wxWindow_GetBorder", (PyCFunction) _wrap_wxWindow_GetBorder, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11582 { "wxWindow_GetBackgroundColour", (PyCFunction) _wrap_wxWindow_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11583 { "wxWindow_Fit", (PyCFunction) _wrap_wxWindow_Fit, METH_VARARGS | METH_KEYWORDS },
11584 { "wxWindow_FindWindowByName", (PyCFunction) _wrap_wxWindow_FindWindowByName, METH_VARARGS | METH_KEYWORDS },
11585 { "wxWindow_FindWindowById", (PyCFunction) _wrap_wxWindow_FindWindowById, METH_VARARGS | METH_KEYWORDS },
11586 { "wxWindow_Enable", (PyCFunction) _wrap_wxWindow_Enable, METH_VARARGS | METH_KEYWORDS },
11587 { "wxWindow_DragAcceptFiles", (PyCFunction) _wrap_wxWindow_DragAcceptFiles, METH_VARARGS | METH_KEYWORDS },
ac346f50 11588 { "wxWindow_IsBeingDeleted", (PyCFunction) _wrap_wxWindow_IsBeingDeleted, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11589 { "wxWindow_DestroyChildren", (PyCFunction) _wrap_wxWindow_DestroyChildren, METH_VARARGS | METH_KEYWORDS },
11590 { "wxWindow_Destroy", (PyCFunction) _wrap_wxWindow_Destroy, METH_VARARGS | METH_KEYWORDS },
11591 { "wxWindow_Close", (PyCFunction) _wrap_wxWindow_Close, METH_VARARGS | METH_KEYWORDS },
11592 { "wxWindow_ClientToScreen", (PyCFunction) _wrap_wxWindow_ClientToScreen, METH_VARARGS | METH_KEYWORDS },
11593 { "wxWindow_ClientToScreenXY", (PyCFunction) _wrap_wxWindow_ClientToScreenXY, METH_VARARGS | METH_KEYWORDS },
d56cebe7 11594 { "wxWindow_Clear", (PyCFunction) _wrap_wxWindow_Clear, METH_VARARGS | METH_KEYWORDS },
3ca6a5f0
BP
11595 { "wxWindow_CenterOnScreen", (PyCFunction) _wrap_wxWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS },
11596 { "wxWindow_CentreOnScreen", (PyCFunction) _wrap_wxWindow_CentreOnScreen, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11597 { "wxWindow_CenterOnParent", (PyCFunction) _wrap_wxWindow_CenterOnParent, METH_VARARGS | METH_KEYWORDS },
11598 { "wxWindow_CentreOnParent", (PyCFunction) _wrap_wxWindow_CentreOnParent, METH_VARARGS | METH_KEYWORDS },
11599 { "wxWindow_Centre", (PyCFunction) _wrap_wxWindow_Centre, METH_VARARGS | METH_KEYWORDS },
11600 { "wxWindow_Center", (PyCFunction) _wrap_wxWindow_Center, METH_VARARGS | METH_KEYWORDS },
11601 { "wxWindow_CaptureMouse", (PyCFunction) _wrap_wxWindow_CaptureMouse, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
11602 { "wxWindow_Create", (PyCFunction) _wrap_wxWindow_Create, METH_VARARGS | METH_KEYWORDS },
11603 { "new_wxPreWindow", (PyCFunction) _wrap_new_wxPreWindow, METH_VARARGS | METH_KEYWORDS },
efc5f224 11604 { "new_wxWindow", (PyCFunction) _wrap_new_wxWindow, METH_VARARGS | METH_KEYWORDS },
0122b7e3 11605 { "wxPyValidator__setCallbackInfo", (PyCFunction) _wrap_wxPyValidator__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
2f90df85 11606 { "new_wxPyValidator", (PyCFunction) _wrap_new_wxPyValidator, METH_VARARGS | METH_KEYWORDS },
9416aa89
RD
11607 { "wxValidator_SetBellOnError", (PyCFunction) _wrap_wxValidator_SetBellOnError, METH_VARARGS | METH_KEYWORDS },
11608 { "wxValidator_IsSilent", (PyCFunction) _wrap_wxValidator_IsSilent, METH_VARARGS | METH_KEYWORDS },
2f90df85
RD
11609 { "wxValidator_SetWindow", (PyCFunction) _wrap_wxValidator_SetWindow, METH_VARARGS | METH_KEYWORDS },
11610 { "wxValidator_GetWindow", (PyCFunction) _wrap_wxValidator_GetWindow, METH_VARARGS | METH_KEYWORDS },
11611 { "wxValidator_Clone", (PyCFunction) _wrap_wxValidator_Clone, METH_VARARGS | METH_KEYWORDS },
11612 { "new_wxValidator", (PyCFunction) _wrap_new_wxValidator, METH_VARARGS | METH_KEYWORDS },
0122b7e3 11613 { "wxEvtHandler__setOORInfo", (PyCFunction) _wrap_wxEvtHandler__setOORInfo, METH_VARARGS | METH_KEYWORDS },
6999b0d8 11614 { "wxEvtHandler_Disconnect", (PyCFunction) _wrap_wxEvtHandler_Disconnect, METH_VARARGS | METH_KEYWORDS },
efc5f224 11615 { "wxEvtHandler_Connect", (PyCFunction) _wrap_wxEvtHandler_Connect, METH_VARARGS | METH_KEYWORDS },
2f90df85
RD
11616 { "wxEvtHandler_SetPreviousHandler", (PyCFunction) _wrap_wxEvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
11617 { "wxEvtHandler_SetNextHandler", (PyCFunction) _wrap_wxEvtHandler_SetNextHandler, METH_VARARGS | METH_KEYWORDS },
11618 { "wxEvtHandler_GetPreviousHandler", (PyCFunction) _wrap_wxEvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
11619 { "wxEvtHandler_GetNextHandler", (PyCFunction) _wrap_wxEvtHandler_GetNextHandler, METH_VARARGS | METH_KEYWORDS },
11620 { "wxEvtHandler_SetEvtHandlerEnabled", (PyCFunction) _wrap_wxEvtHandler_SetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
11621 { "wxEvtHandler_GetEvtHandlerEnabled", (PyCFunction) _wrap_wxEvtHandler_GetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 11622 { "wxEvtHandler_AddPendingEvent", (PyCFunction) _wrap_wxEvtHandler_AddPendingEvent, METH_VARARGS | METH_KEYWORDS },
efc5f224 11623 { "wxEvtHandler_ProcessEvent", (PyCFunction) _wrap_wxEvtHandler_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
c368d904 11624 { "new_wxEvtHandler", (PyCFunction) _wrap_new_wxEvtHandler, METH_VARARGS | METH_KEYWORDS },
efc5f224 11625 { "wxWindow_FromHWND", (PyCFunction) _wrap_wxWindow_FromHWND, METH_VARARGS | METH_KEYWORDS },
8ab979d7
RD
11626 { NULL, NULL }
11627};
1d99702e
RD
11628#ifdef __cplusplus
11629}
11630#endif
11631/*
11632 * This table is used by the pointer type-checker
11633 */
11634static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
1d99702e 11635 { "_signed_long","_long",0},
b1462dfa 11636 { "_wxPrintQuality","_wxCoord",0},
1d99702e
RD
11637 { "_wxPrintQuality","_int",0},
11638 { "_wxPrintQuality","_signed_int",0},
11639 { "_wxPrintQuality","_unsigned_int",0},
11640 { "_wxPrintQuality","_wxWindowID",0},
11641 { "_wxPrintQuality","_uint",0},
11642 { "_wxPrintQuality","_EBool",0},
11643 { "_wxPrintQuality","_size_t",0},
c368d904 11644 { "_wxPrintQuality","_time_t",0},
1d99702e 11645 { "_byte","_unsigned_char",0},
1d99702e
RD
11646 { "_long","_unsigned_long",0},
11647 { "_long","_signed_long",0},
b1462dfa 11648 { "_size_t","_wxCoord",0},
1d99702e 11649 { "_size_t","_wxPrintQuality",0},
c368d904 11650 { "_size_t","_time_t",0},
1d99702e
RD
11651 { "_size_t","_unsigned_int",0},
11652 { "_size_t","_int",0},
11653 { "_size_t","_wxWindowID",0},
11654 { "_size_t","_uint",0},
1d99702e 11655 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel},
b1462dfa 11656 { "_uint","_wxCoord",0},
1d99702e 11657 { "_uint","_wxPrintQuality",0},
c368d904 11658 { "_uint","_time_t",0},
1d99702e
RD
11659 { "_uint","_size_t",0},
11660 { "_uint","_unsigned_int",0},
11661 { "_uint","_int",0},
11662 { "_uint","_wxWindowID",0},
f6bcfd97 11663 { "_wxChar","_char",0},
f6bcfd97 11664 { "_char","_wxChar",0},
cdf14688 11665 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
b1462dfa 11666 { "_EBool","_wxCoord",0},
1d99702e
RD
11667 { "_EBool","_wxPrintQuality",0},
11668 { "_EBool","_signed_int",0},
11669 { "_EBool","_int",0},
11670 { "_EBool","_wxWindowID",0},
1d99702e 11671 { "_unsigned_long","_long",0},
cdf14688 11672 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
b1462dfa 11673 { "_signed_int","_wxCoord",0},
1d99702e
RD
11674 { "_signed_int","_wxPrintQuality",0},
11675 { "_signed_int","_EBool",0},
11676 { "_signed_int","_wxWindowID",0},
11677 { "_signed_int","_int",0},
1d99702e
RD
11678 { "_WXTYPE","_short",0},
11679 { "_WXTYPE","_signed_short",0},
11680 { "_WXTYPE","_unsigned_short",0},
1d99702e
RD
11681 { "_unsigned_short","_WXTYPE",0},
11682 { "_unsigned_short","_short",0},
9416aa89 11683 { "_wxObject","_wxMenuItem",SwigwxMenuItemTowxObject},
9416aa89 11684 { "_wxObject","_wxMenuBar",SwigwxMenuBarTowxObject},
9416aa89 11685 { "_wxObject","_wxMenu",SwigwxMenuTowxObject},
9416aa89 11686 { "_wxObject","_wxScrolledWindow",SwigwxScrolledWindowTowxObject},
9416aa89 11687 { "_wxObject","_wxPanel",SwigwxPanelTowxObject},
9416aa89 11688 { "_wxObject","_wxWindow",SwigwxWindowTowxObject},
9416aa89 11689 { "_wxObject","_wxPyValidator",SwigwxPyValidatorTowxObject},
9416aa89 11690 { "_wxObject","_wxValidator",SwigwxValidatorTowxObject},
9416aa89 11691 { "_wxObject","_wxEvtHandler",SwigwxEvtHandlerTowxObject},
1d99702e
RD
11692 { "_signed_short","_WXTYPE",0},
11693 { "_signed_short","_short",0},
1d99702e 11694 { "_unsigned_char","_byte",0},
b1462dfa 11695 { "_unsigned_int","_wxCoord",0},
1d99702e 11696 { "_unsigned_int","_wxPrintQuality",0},
c368d904 11697 { "_unsigned_int","_time_t",0},
1d99702e
RD
11698 { "_unsigned_int","_size_t",0},
11699 { "_unsigned_int","_uint",0},
11700 { "_unsigned_int","_wxWindowID",0},
11701 { "_unsigned_int","_int",0},
1d99702e
RD
11702 { "_short","_WXTYPE",0},
11703 { "_short","_unsigned_short",0},
11704 { "_short","_signed_short",0},
b1462dfa 11705 { "_wxWindowID","_wxCoord",0},
1d99702e 11706 { "_wxWindowID","_wxPrintQuality",0},
c368d904 11707 { "_wxWindowID","_time_t",0},
1d99702e
RD
11708 { "_wxWindowID","_size_t",0},
11709 { "_wxWindowID","_EBool",0},
11710 { "_wxWindowID","_uint",0},
11711 { "_wxWindowID","_int",0},
11712 { "_wxWindowID","_signed_int",0},
11713 { "_wxWindowID","_unsigned_int",0},
b1462dfa 11714 { "_int","_wxCoord",0},
1d99702e 11715 { "_int","_wxPrintQuality",0},
c368d904 11716 { "_int","_time_t",0},
1d99702e
RD
11717 { "_int","_size_t",0},
11718 { "_int","_EBool",0},
11719 { "_int","_uint",0},
11720 { "_int","_wxWindowID",0},
11721 { "_int","_unsigned_int",0},
11722 { "_int","_signed_int",0},
c368d904
RD
11723 { "_time_t","_wxCoord",0},
11724 { "_time_t","_wxPrintQuality",0},
11725 { "_time_t","_unsigned_int",0},
11726 { "_time_t","_int",0},
11727 { "_time_t","_wxWindowID",0},
11728 { "_time_t","_uint",0},
11729 { "_time_t","_size_t",0},
2f90df85 11730 { "_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator},
b1462dfa
RD
11731 { "_wxCoord","_int",0},
11732 { "_wxCoord","_signed_int",0},
11733 { "_wxCoord","_unsigned_int",0},
11734 { "_wxCoord","_wxWindowID",0},
11735 { "_wxCoord","_uint",0},
11736 { "_wxCoord","_EBool",0},
11737 { "_wxCoord","_size_t",0},
c368d904 11738 { "_wxCoord","_time_t",0},
b1462dfa 11739 { "_wxCoord","_wxPrintQuality",0},
1d99702e 11740 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler},
1d99702e 11741 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler},
1d99702e 11742 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler},
1d99702e 11743 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler},
1d99702e 11744 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler},
2f90df85 11745 { "_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler},
2f90df85 11746 { "_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler},
b1462dfa 11747 { "_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow},
1d99702e 11748 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow},
1d99702e 11749 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow},
1d99702e
RD
11750{0,0,0}};
11751
8ab979d7
RD
11752static PyObject *SWIG_globals;
11753#ifdef __cplusplus
11754extern "C"
11755#endif
1d99702e 11756SWIGEXPORT(void) initwindowsc() {
8ab979d7
RD
11757 PyObject *m, *d;
11758 SWIG_globals = SWIG_newvarlink();
11759 m = Py_InitModule("windowsc", windowscMethods);
11760 d = PyModule_GetDict(m);
1d99702e
RD
11761{
11762 int i;
11763 for (i = 0; _swig_mapping[i].n1; i++)
11764 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
11765}
8ab979d7 11766}