]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/windows.cpp
no, DO NOT use wxMessageBox where wxLogError is more suitable
[wxWidgets.git] / wxPython / src / gtk / windows.cpp
CommitLineData
8ab979d7 1/*
c368d904 2 * FILE : src/gtk/windows.cpp
8ab979d7
RD
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
2cd2fac8 6 * Version 1.1 (Build 883)
8ab979d7
RD
7 *
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18#define SWIGCODE
19/* Implementation : PYTHON */
20
21#define SWIGPYTHON
22#include <string.h>
23#include <stdlib.h>
24/* Definitions for Windows/Unix exporting */
25#if defined(__WIN32__)
26# if defined(_MSC_VER)
1d99702e 27# define SWIGEXPORT(a) __declspec(dllexport) a
8ab979d7
RD
28# else
29# if defined(__BORLANDC__)
3bcd5e1c 30# define SWIGEXPORT(a) a _export
8ab979d7 31# else
3bcd5e1c 32# define SWIGEXPORT(a) a
8ab979d7
RD
33# endif
34# endif
35#else
3bcd5e1c 36# define SWIGEXPORT(a) a
8ab979d7
RD
37#endif
38
3bcd5e1c
RD
39#include "Python.h"
40
8ab979d7
RD
41#ifdef __cplusplus
42extern "C" {
43#endif
3bcd5e1c 44
8ab979d7
RD
45extern void SWIG_MakePtr(char *, void *, char *);
46extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47extern char *SWIG_GetPtr(char *, void **, char *);
1d99702e 48extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
8ab979d7
RD
49extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
50extern PyObject *SWIG_newvarlink(void);
51#ifdef __cplusplus
52}
53#endif
8ab979d7
RD
54#define SWIG_init initwindowsc
55
56#define SWIG_name "windowsc"
57
58#include "helpers.h"
8ab979d7 59#include <wx/menuitem.h>
9df61a29 60#include <wx/tooltip.h>
8ab979d7 61
8ab979d7
RD
62
63static PyObject* t_output_helper(PyObject* target, PyObject* o) {
64 PyObject* o2;
65 PyObject* o3;
66
3bcd5e1c 67 if (!target) {
8ab979d7 68 target = o;
3bcd5e1c 69 } else if (target == Py_None) {
8ab979d7
RD
70 Py_DECREF(Py_None);
71 target = o;
3bcd5e1c 72 } else {
8ab979d7
RD
73 if (!PyTuple_Check(target)) {
74 o2 = target;
75 target = PyTuple_New(1);
76 PyTuple_SetItem(target, 0, o2);
77 }
3bcd5e1c
RD
78 o3 = PyTuple_New(1);
79 PyTuple_SetItem(o3, 0, o);
8ab979d7
RD
80
81 o2 = target;
3bcd5e1c
RD
82 target = PySequence_Concat(o2, o3);
83 Py_DECREF(o2);
8ab979d7
RD
84 Py_DECREF(o3);
85 }
86 return target;
87}
88
9a74fcaf
RD
89 // Put some wx default wxChar* values into wxStrings.
90 DECLARE_DEF_STRING(PanelNameStr);
91 static const wxString wxPyEmptyString(wxT(""));
92
2f90df85
RD
93class wxPyValidator : public wxValidator {
94 DECLARE_DYNAMIC_CLASS(wxPyValidator);
95public:
96 wxPyValidator() {
97 }
2f90df85
RD
98
99 ~wxPyValidator() {
100 }
101
059a841c 102 wxObject* Clone() const {
694759cf
RD
103 wxPyValidator* ptr = NULL;
104 wxPyValidator* self = (wxPyValidator*)this;
2f90df85 105
474c48f9 106 wxPyBeginBlockThreads();
694759cf
RD
107 if (self->m_myInst.findCallback("Clone")) {
108 PyObject* ro;
109 ro = self->m_myInst.callCallbackObj(Py_BuildValue("()"));
f6bcfd97
BP
110 if (ro) {
111 SWIG_GetPtrObj(ro, (void **)&ptr, "_wxPyValidator_p");
112 Py_DECREF(ro);
113 }
694759cf 114 }
474c48f9 115 wxPyEndBlockThreads();
059a841c 116
694759cf
RD
117 // This is very dangerous!!! But is the only way I could find
118 // to squash a memory leak. Currently it is okay, but if the
119 // validator architecture in wxWindows ever changes, problems
120 // could arise.
121 delete self;
694759cf
RD
122 return ptr;
123 }
2f90df85 124
9df61a29 125
2f90df85
RD
126 DEC_PYCALLBACK_BOOL_WXWIN(Validate);
127 DEC_PYCALLBACK_BOOL_(TransferToWindow);
128 DEC_PYCALLBACK_BOOL_(TransferFromWindow);
129
130 PYPRIVATE;
2f90df85
RD
131};
132
133IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator, wxValidator, Validate);
134IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferToWindow);
135IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferFromWindow);
136
137IMPLEMENT_DYNAMIC_CLASS(wxPyValidator, wxValidator);
8ab979d7 138
2f90df85
RD
139#ifdef __cplusplus
140extern "C" {
141#endif
9df61a29
RD
142static void *SwigwxEvtHandlerTowxObject(void *ptr) {
143 wxEvtHandler *src;
144 wxObject *dest;
145 src = (wxEvtHandler *) ptr;
146 dest = (wxObject *) src;
147 return (void *) dest;
148}
149
c368d904
RD
150#define new_wxEvtHandler() (new wxEvtHandler())
151static PyObject *_wrap_new_wxEvtHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
152 PyObject * _resultobj;
153 wxEvtHandler * _result;
154 char *_kwnames[] = { NULL };
155 char _ptemp[128];
156
157 self = self;
158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxEvtHandler",_kwnames))
159 return NULL;
160{
474c48f9 161 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 162 _result = (wxEvtHandler *)new_wxEvtHandler();
c368d904 163
474c48f9 164 wxPyEndAllowThreads(__tstate);
4dfaa61e 165 if (PyErr_Occurred()) return NULL;
c368d904
RD
166} if (_result) {
167 SWIG_MakePtr(_ptemp, (char *) _result,"_wxEvtHandler_p");
168 _resultobj = Py_BuildValue("s",_ptemp);
169 } else {
170 Py_INCREF(Py_None);
171 _resultobj = Py_None;
172 }
173 return _resultobj;
174}
175
2f90df85
RD
176#define wxEvtHandler_ProcessEvent(_swigobj,_swigarg0) (_swigobj->ProcessEvent(_swigarg0))
177static PyObject *_wrap_wxEvtHandler_ProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
178 PyObject * _resultobj;
179 bool _result;
180 wxEvtHandler * _arg0;
181 wxEvent * _arg1;
182 PyObject * _argo0 = 0;
183 PyObject * _argo1 = 0;
184 char *_kwnames[] = { "self","event", NULL };
185
186 self = self;
187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEvtHandler_ProcessEvent",_kwnames,&_argo0,&_argo1))
188 return NULL;
189 if (_argo0) {
190 if (_argo0 == Py_None) { _arg0 = NULL; }
191 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
192 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_ProcessEvent. Expected _wxEvtHandler_p.");
193 return NULL;
194 }
195 }
196 if (_argo1) {
197 if (_argo1 == Py_None) { _arg1 = NULL; }
198 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvent_p")) {
199 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxEvtHandler_ProcessEvent. Expected _wxEvent_p.");
200 return NULL;
201 }
202 }
203{
474c48f9 204 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 205 _result = (bool )wxEvtHandler_ProcessEvent(_arg0,*_arg1);
2f90df85 206
474c48f9 207 wxPyEndAllowThreads(__tstate);
4dfaa61e 208 if (PyErr_Occurred()) return NULL;
2f90df85
RD
209} _resultobj = Py_BuildValue("i",_result);
210 return _resultobj;
211}
212
f6bcfd97
BP
213#define wxEvtHandler_AddPendingEvent(_swigobj,_swigarg0) (_swigobj->AddPendingEvent(_swigarg0))
214static PyObject *_wrap_wxEvtHandler_AddPendingEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
215 PyObject * _resultobj;
216 wxEvtHandler * _arg0;
217 wxEvent * _arg1;
218 PyObject * _argo0 = 0;
219 PyObject * _argo1 = 0;
220 char *_kwnames[] = { "self","event", NULL };
221
222 self = self;
223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEvtHandler_AddPendingEvent",_kwnames,&_argo0,&_argo1))
224 return NULL;
225 if (_argo0) {
226 if (_argo0 == Py_None) { _arg0 = NULL; }
227 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
228 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_AddPendingEvent. Expected _wxEvtHandler_p.");
229 return NULL;
230 }
231 }
232 if (_argo1) {
233 if (_argo1 == Py_None) { _arg1 = NULL; }
234 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvent_p")) {
235 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxEvtHandler_AddPendingEvent. Expected _wxEvent_p.");
236 return NULL;
237 }
238 }
239{
474c48f9 240 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 241 wxEvtHandler_AddPendingEvent(_arg0,*_arg1);
f6bcfd97 242
474c48f9 243 wxPyEndAllowThreads(__tstate);
4dfaa61e 244 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
245} Py_INCREF(Py_None);
246 _resultobj = Py_None;
247 return _resultobj;
248}
249
2f90df85
RD
250#define wxEvtHandler_GetEvtHandlerEnabled(_swigobj) (_swigobj->GetEvtHandlerEnabled())
251static PyObject *_wrap_wxEvtHandler_GetEvtHandlerEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
252 PyObject * _resultobj;
253 bool _result;
254 wxEvtHandler * _arg0;
255 PyObject * _argo0 = 0;
256 char *_kwnames[] = { "self", NULL };
257
258 self = self;
259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvtHandler_GetEvtHandlerEnabled",_kwnames,&_argo0))
260 return NULL;
261 if (_argo0) {
262 if (_argo0 == Py_None) { _arg0 = NULL; }
263 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
264 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_GetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
265 return NULL;
266 }
267 }
268{
474c48f9 269 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 270 _result = (bool )wxEvtHandler_GetEvtHandlerEnabled(_arg0);
2f90df85 271
474c48f9 272 wxPyEndAllowThreads(__tstate);
4dfaa61e 273 if (PyErr_Occurred()) return NULL;
2f90df85
RD
274} _resultobj = Py_BuildValue("i",_result);
275 return _resultobj;
276}
277
278#define wxEvtHandler_SetEvtHandlerEnabled(_swigobj,_swigarg0) (_swigobj->SetEvtHandlerEnabled(_swigarg0))
279static PyObject *_wrap_wxEvtHandler_SetEvtHandlerEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
280 PyObject * _resultobj;
281 wxEvtHandler * _arg0;
282 bool _arg1;
283 PyObject * _argo0 = 0;
284 int tempbool1;
285 char *_kwnames[] = { "self","enabled", NULL };
286
287 self = self;
288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxEvtHandler_SetEvtHandlerEnabled",_kwnames,&_argo0,&tempbool1))
289 return NULL;
290 if (_argo0) {
291 if (_argo0 == Py_None) { _arg0 = NULL; }
292 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
293 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_SetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
294 return NULL;
295 }
296 }
297 _arg1 = (bool ) tempbool1;
298{
474c48f9 299 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 300 wxEvtHandler_SetEvtHandlerEnabled(_arg0,_arg1);
2f90df85 301
474c48f9 302 wxPyEndAllowThreads(__tstate);
4dfaa61e 303 if (PyErr_Occurred()) return NULL;
2f90df85
RD
304} Py_INCREF(Py_None);
305 _resultobj = Py_None;
306 return _resultobj;
307}
308
309#define wxEvtHandler_GetNextHandler(_swigobj) (_swigobj->GetNextHandler())
310static PyObject *_wrap_wxEvtHandler_GetNextHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
311 PyObject * _resultobj;
312 wxEvtHandler * _result;
313 wxEvtHandler * _arg0;
314 PyObject * _argo0 = 0;
315 char *_kwnames[] = { "self", NULL };
2f90df85
RD
316
317 self = self;
318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvtHandler_GetNextHandler",_kwnames,&_argo0))
319 return NULL;
320 if (_argo0) {
321 if (_argo0 == Py_None) { _arg0 = NULL; }
322 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
323 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_GetNextHandler. Expected _wxEvtHandler_p.");
324 return NULL;
325 }
326 }
327{
474c48f9 328 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 329 _result = (wxEvtHandler *)wxEvtHandler_GetNextHandler(_arg0);
2f90df85 330
474c48f9 331 wxPyEndAllowThreads(__tstate);
4dfaa61e 332 if (PyErr_Occurred()) return NULL;
9df61a29 333}{ _resultobj = wxPyMake_wxObject(_result); }
2f90df85
RD
334 return _resultobj;
335}
336
337#define wxEvtHandler_GetPreviousHandler(_swigobj) (_swigobj->GetPreviousHandler())
338static PyObject *_wrap_wxEvtHandler_GetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
339 PyObject * _resultobj;
340 wxEvtHandler * _result;
341 wxEvtHandler * _arg0;
342 PyObject * _argo0 = 0;
343 char *_kwnames[] = { "self", NULL };
2f90df85
RD
344
345 self = self;
346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvtHandler_GetPreviousHandler",_kwnames,&_argo0))
347 return NULL;
348 if (_argo0) {
349 if (_argo0 == Py_None) { _arg0 = NULL; }
350 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
351 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_GetPreviousHandler. Expected _wxEvtHandler_p.");
352 return NULL;
353 }
354 }
355{
474c48f9 356 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 357 _result = (wxEvtHandler *)wxEvtHandler_GetPreviousHandler(_arg0);
2f90df85 358
474c48f9 359 wxPyEndAllowThreads(__tstate);
4dfaa61e 360 if (PyErr_Occurred()) return NULL;
9df61a29 361}{ _resultobj = wxPyMake_wxObject(_result); }
2f90df85
RD
362 return _resultobj;
363}
364
365#define wxEvtHandler_SetNextHandler(_swigobj,_swigarg0) (_swigobj->SetNextHandler(_swigarg0))
366static PyObject *_wrap_wxEvtHandler_SetNextHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
367 PyObject * _resultobj;
368 wxEvtHandler * _arg0;
369 wxEvtHandler * _arg1;
370 PyObject * _argo0 = 0;
371 PyObject * _argo1 = 0;
372 char *_kwnames[] = { "self","handler", NULL };
373
374 self = self;
375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEvtHandler_SetNextHandler",_kwnames,&_argo0,&_argo1))
376 return NULL;
377 if (_argo0) {
378 if (_argo0 == Py_None) { _arg0 = NULL; }
379 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
380 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
381 return NULL;
382 }
383 }
384 if (_argo1) {
385 if (_argo1 == Py_None) { _arg1 = NULL; }
386 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
387 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
388 return NULL;
389 }
390 }
391{
474c48f9 392 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 393 wxEvtHandler_SetNextHandler(_arg0,_arg1);
2f90df85 394
474c48f9 395 wxPyEndAllowThreads(__tstate);
4dfaa61e 396 if (PyErr_Occurred()) return NULL;
2f90df85
RD
397} Py_INCREF(Py_None);
398 _resultobj = Py_None;
399 return _resultobj;
400}
401
402#define wxEvtHandler_SetPreviousHandler(_swigobj,_swigarg0) (_swigobj->SetPreviousHandler(_swigarg0))
403static PyObject *_wrap_wxEvtHandler_SetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
404 PyObject * _resultobj;
405 wxEvtHandler * _arg0;
406 wxEvtHandler * _arg1;
407 PyObject * _argo0 = 0;
408 PyObject * _argo1 = 0;
409 char *_kwnames[] = { "self","handler", NULL };
410
411 self = self;
412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEvtHandler_SetPreviousHandler",_kwnames,&_argo0,&_argo1))
413 return NULL;
414 if (_argo0) {
415 if (_argo0 == Py_None) { _arg0 = NULL; }
416 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
417 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
418 return NULL;
419 }
420 }
421 if (_argo1) {
422 if (_argo1 == Py_None) { _arg1 = NULL; }
423 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
424 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
425 return NULL;
426 }
427 }
428{
474c48f9 429 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 430 wxEvtHandler_SetPreviousHandler(_arg0,_arg1);
2f90df85 431
474c48f9 432 wxPyEndAllowThreads(__tstate);
4dfaa61e 433 if (PyErr_Occurred()) return NULL;
2f90df85
RD
434} Py_INCREF(Py_None);
435 _resultobj = Py_None;
436 return _resultobj;
437}
438
439static void wxEvtHandler_Connect(wxEvtHandler *self,int id,int lastId,int eventType,PyObject * func) {
440 if (PyCallable_Check(func)) {
441 self->Connect(id, lastId, eventType,
442 (wxObjectEventFunction) &wxPyCallback::EventThunker,
443 new wxPyCallback(func));
444 }
a57d56d6
RD
445 else if (func == Py_None) {
446 self->Disconnect(id, lastId, eventType,
447 (wxObjectEventFunction)
448 &wxPyCallback::EventThunker);
449 }
450 else {
451 PyErr_SetString(PyExc_TypeError, "Expected callable object or None.");
452 }
2f90df85
RD
453 }
454static PyObject *_wrap_wxEvtHandler_Connect(PyObject *self, PyObject *args, PyObject *kwargs) {
455 PyObject * _resultobj;
456 wxEvtHandler * _arg0;
457 int _arg1;
458 int _arg2;
459 int _arg3;
460 PyObject * _arg4;
461 PyObject * _argo0 = 0;
462 PyObject * _obj4 = 0;
463 char *_kwnames[] = { "self","id","lastId","eventType","func", NULL };
464
465 self = self;
466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiiO:wxEvtHandler_Connect",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_obj4))
467 return NULL;
468 if (_argo0) {
469 if (_argo0 == Py_None) { _arg0 = NULL; }
470 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
471 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
472 return NULL;
473 }
474 }
475{
476 _arg4 = _obj4;
477}
478{
474c48f9 479 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 480 wxEvtHandler_Connect(_arg0,_arg1,_arg2,_arg3,_arg4);
2f90df85 481
474c48f9 482 wxPyEndAllowThreads(__tstate);
4dfaa61e 483 if (PyErr_Occurred()) return NULL;
2f90df85
RD
484} Py_INCREF(Py_None);
485 _resultobj = Py_None;
486 return _resultobj;
487}
488
6999b0d8
RD
489static bool wxEvtHandler_Disconnect(wxEvtHandler *self,int id,int lastId,wxEventType eventType) {
490 return self->Disconnect(id, lastId, eventType,
491 (wxObjectEventFunction)
492 &wxPyCallback::EventThunker);
493 }
494static PyObject *_wrap_wxEvtHandler_Disconnect(PyObject *self, PyObject *args, PyObject *kwargs) {
495 PyObject * _resultobj;
496 bool _result;
497 wxEvtHandler * _arg0;
498 int _arg1;
499 int _arg2 = (int ) -1;
500 wxEventType _arg3 = (wxEventType ) wxEVT_NULL;
501 PyObject * _argo0 = 0;
502 char *_kwnames[] = { "self","id","lastId","eventType", NULL };
503
504 self = self;
505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ii:wxEvtHandler_Disconnect",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
506 return NULL;
507 if (_argo0) {
508 if (_argo0 == Py_None) { _arg0 = NULL; }
509 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
510 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_Disconnect. Expected _wxEvtHandler_p.");
511 return NULL;
512 }
513 }
514{
474c48f9 515 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 516 _result = (bool )wxEvtHandler_Disconnect(_arg0,_arg1,_arg2,_arg3);
6999b0d8 517
474c48f9 518 wxPyEndAllowThreads(__tstate);
4dfaa61e 519 if (PyErr_Occurred()) return NULL;
6999b0d8
RD
520} _resultobj = Py_BuildValue("i",_result);
521 return _resultobj;
522}
523
0220cbc1 524static void wxEvtHandler__setOORInfo(wxEvtHandler *self,PyObject * _self) {
301dfd67 525 self->SetClientObject(new wxPyOORClientData(_self));
0220cbc1
RD
526 }
527static PyObject *_wrap_wxEvtHandler__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
528 PyObject * _resultobj;
529 wxEvtHandler * _arg0;
530 PyObject * _arg1;
531 PyObject * _argo0 = 0;
532 PyObject * _obj1 = 0;
533 char *_kwnames[] = { "self","_self", NULL };
534
535 self = self;
536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEvtHandler__setOORInfo",_kwnames,&_argo0,&_obj1))
537 return NULL;
538 if (_argo0) {
539 if (_argo0 == Py_None) { _arg0 = NULL; }
540 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
541 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler__setOORInfo. Expected _wxEvtHandler_p.");
542 return NULL;
543 }
544 }
545{
546 _arg1 = _obj1;
547}
548{
474c48f9 549 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 550 wxEvtHandler__setOORInfo(_arg0,_arg1);
0220cbc1 551
474c48f9 552 wxPyEndAllowThreads(__tstate);
0220cbc1
RD
553 if (PyErr_Occurred()) return NULL;
554} Py_INCREF(Py_None);
555 _resultobj = Py_None;
556 return _resultobj;
557}
558
2f90df85
RD
559static void *SwigwxValidatorTowxEvtHandler(void *ptr) {
560 wxValidator *src;
561 wxEvtHandler *dest;
562 src = (wxValidator *) ptr;
563 dest = (wxEvtHandler *) src;
564 return (void *) dest;
565}
566
9df61a29
RD
567static void *SwigwxValidatorTowxObject(void *ptr) {
568 wxValidator *src;
569 wxObject *dest;
570 src = (wxValidator *) ptr;
571 dest = (wxObject *) src;
572 return (void *) dest;
573}
574
2f90df85
RD
575#define new_wxValidator() (new wxValidator())
576static PyObject *_wrap_new_wxValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
577 PyObject * _resultobj;
578 wxValidator * _result;
579 char *_kwnames[] = { NULL };
580 char _ptemp[128];
581
582 self = self;
583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxValidator",_kwnames))
584 return NULL;
585{
474c48f9 586 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 587 _result = (wxValidator *)new_wxValidator();
2f90df85 588
474c48f9 589 wxPyEndAllowThreads(__tstate);
4dfaa61e 590 if (PyErr_Occurred()) return NULL;
2f90df85
RD
591} if (_result) {
592 SWIG_MakePtr(_ptemp, (char *) _result,"_wxValidator_p");
593 _resultobj = Py_BuildValue("s",_ptemp);
594 } else {
595 Py_INCREF(Py_None);
596 _resultobj = Py_None;
597 }
598 return _resultobj;
af309447 599}
2f90df85
RD
600
601#define wxValidator_Clone(_swigobj) (_swigobj->Clone())
602static PyObject *_wrap_wxValidator_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 603 PyObject * _resultobj;
2f90df85
RD
604 wxValidator * _result;
605 wxValidator * _arg0;
606 PyObject * _argo0 = 0;
607 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
608
609 self = self;
2f90df85
RD
610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxValidator_Clone",_kwnames,&_argo0))
611 return NULL;
612 if (_argo0) {
613 if (_argo0 == Py_None) { _arg0 = NULL; }
614 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxValidator_p")) {
615 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxValidator_Clone. Expected _wxValidator_p.");
8ab979d7 616 return NULL;
2f90df85
RD
617 }
618 }
cf694132 619{
474c48f9 620 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 621 _result = (wxValidator *)wxValidator_Clone(_arg0);
cf694132 622
474c48f9 623 wxPyEndAllowThreads(__tstate);
4dfaa61e 624 if (PyErr_Occurred()) return NULL;
9df61a29 625}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
626 return _resultobj;
627}
628
2f90df85
RD
629#define wxValidator_GetWindow(_swigobj) (_swigobj->GetWindow())
630static PyObject *_wrap_wxValidator_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
631 PyObject * _resultobj;
632 wxWindow * _result;
2f90df85
RD
633 wxValidator * _arg0;
634 PyObject * _argo0 = 0;
635 char *_kwnames[] = { "self", NULL };
af309447
RD
636
637 self = self;
2f90df85
RD
638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxValidator_GetWindow",_kwnames,&_argo0))
639 return NULL;
640 if (_argo0) {
641 if (_argo0 == Py_None) { _arg0 = NULL; }
642 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxValidator_p")) {
643 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxValidator_GetWindow. Expected _wxValidator_p.");
af309447 644 return NULL;
2f90df85
RD
645 }
646 }
cf694132 647{
474c48f9 648 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 649 _result = (wxWindow *)wxValidator_GetWindow(_arg0);
cf694132 650
474c48f9 651 wxPyEndAllowThreads(__tstate);
4dfaa61e 652 if (PyErr_Occurred()) return NULL;
9df61a29 653}{ _resultobj = wxPyMake_wxObject(_result); }
af309447
RD
654 return _resultobj;
655}
656
2f90df85
RD
657#define wxValidator_SetWindow(_swigobj,_swigarg0) (_swigobj->SetWindow(_swigarg0))
658static PyObject *_wrap_wxValidator_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 659 PyObject * _resultobj;
2f90df85
RD
660 wxValidator * _arg0;
661 wxWindow * _arg1;
1d99702e
RD
662 PyObject * _argo0 = 0;
663 PyObject * _argo1 = 0;
2f90df85 664 char *_kwnames[] = { "self","window", NULL };
cf694132
RD
665
666 self = self;
2f90df85 667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxValidator_SetWindow",_kwnames,&_argo0,&_argo1))
cf694132 668 return NULL;
1d99702e
RD
669 if (_argo0) {
670 if (_argo0 == Py_None) { _arg0 = NULL; }
2f90df85
RD
671 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxValidator_p")) {
672 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxValidator_SetWindow. Expected _wxValidator_p.");
cf694132
RD
673 return NULL;
674 }
675 }
1d99702e
RD
676 if (_argo1) {
677 if (_argo1 == Py_None) { _arg1 = NULL; }
2f90df85
RD
678 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
679 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxValidator_SetWindow. Expected _wxWindow_p.");
cf694132
RD
680 return NULL;
681 }
682 }
683{
474c48f9 684 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 685 wxValidator_SetWindow(_arg0,_arg1);
cf694132 686
474c48f9 687 wxPyEndAllowThreads(__tstate);
4dfaa61e 688 if (PyErr_Occurred()) return NULL;
2f90df85
RD
689} Py_INCREF(Py_None);
690 _resultobj = Py_None;
cf694132
RD
691 return _resultobj;
692}
693
9df61a29
RD
694static PyObject *_wrap_wxValidator_IsSilent(PyObject *self, PyObject *args, PyObject *kwargs) {
695 PyObject * _resultobj;
696 bool _result;
697 char *_kwnames[] = { NULL };
698
699 self = self;
700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxValidator_IsSilent",_kwnames))
701 return NULL;
702{
474c48f9 703 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 704 _result = (bool )wxValidator::IsSilent();
9df61a29 705
474c48f9 706 wxPyEndAllowThreads(__tstate);
4dfaa61e 707 if (PyErr_Occurred()) return NULL;
9df61a29
RD
708} _resultobj = Py_BuildValue("i",_result);
709 return _resultobj;
710}
711
712static PyObject *_wrap_wxValidator_SetBellOnError(PyObject *self, PyObject *args, PyObject *kwargs) {
713 PyObject * _resultobj;
714 int _arg0 = (int ) TRUE;
715 char *_kwnames[] = { "doIt", NULL };
716
717 self = self;
718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:wxValidator_SetBellOnError",_kwnames,&_arg0))
719 return NULL;
720{
474c48f9 721 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 722 wxValidator::SetBellOnError(_arg0);
9df61a29 723
474c48f9 724 wxPyEndAllowThreads(__tstate);
4dfaa61e 725 if (PyErr_Occurred()) return NULL;
9df61a29
RD
726} Py_INCREF(Py_None);
727 _resultobj = Py_None;
728 return _resultobj;
729}
730
2f90df85
RD
731static void *SwigwxPyValidatorTowxValidator(void *ptr) {
732 wxPyValidator *src;
733 wxValidator *dest;
734 src = (wxPyValidator *) ptr;
735 dest = (wxValidator *) src;
736 return (void *) dest;
737}
738
739static void *SwigwxPyValidatorTowxEvtHandler(void *ptr) {
740 wxPyValidator *src;
741 wxEvtHandler *dest;
742 src = (wxPyValidator *) ptr;
743 dest = (wxEvtHandler *) src;
744 return (void *) dest;
745}
746
9df61a29
RD
747static void *SwigwxPyValidatorTowxObject(void *ptr) {
748 wxPyValidator *src;
749 wxObject *dest;
750 src = (wxPyValidator *) ptr;
751 dest = (wxObject *) src;
752 return (void *) dest;
753}
754
2f90df85
RD
755#define new_wxPyValidator() (new wxPyValidator())
756static PyObject *_wrap_new_wxPyValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
757 PyObject * _resultobj;
758 wxPyValidator * _result;
759 char *_kwnames[] = { NULL };
760 char _ptemp[128];
761
762 self = self;
763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyValidator",_kwnames))
764 return NULL;
765{
474c48f9 766 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 767 _result = (wxPyValidator *)new_wxPyValidator();
2f90df85 768
474c48f9 769 wxPyEndAllowThreads(__tstate);
4dfaa61e 770 if (PyErr_Occurred()) return NULL;
2f90df85
RD
771} if (_result) {
772 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyValidator_p");
773 _resultobj = Py_BuildValue("s",_ptemp);
774 } else {
775 Py_INCREF(Py_None);
776 _resultobj = Py_None;
777 }
778 return _resultobj;
779}
780
0220cbc1
RD
781#define wxPyValidator__setCallbackInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1,_swigarg2))
782static PyObject *_wrap_wxPyValidator__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 783 PyObject * _resultobj;
2f90df85
RD
784 wxPyValidator * _arg0;
785 PyObject * _arg1;
f6bcfd97
BP
786 PyObject * _arg2;
787 int _arg3 = (int ) TRUE;
1d99702e 788 PyObject * _argo0 = 0;
2f90df85 789 PyObject * _obj1 = 0;
f6bcfd97
BP
790 PyObject * _obj2 = 0;
791 char *_kwnames[] = { "self","self","_class","incref", NULL };
8ab979d7
RD
792
793 self = self;
0220cbc1 794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|i:wxPyValidator__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2,&_arg3))
8ab979d7 795 return NULL;
1d99702e
RD
796 if (_argo0) {
797 if (_argo0 == Py_None) { _arg0 = NULL; }
2f90df85 798 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyValidator_p")) {
0220cbc1 799 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyValidator__setCallbackInfo. Expected _wxPyValidator_p.");
8ab979d7
RD
800 return NULL;
801 }
802 }
803{
2f90df85 804 _arg1 = _obj1;
8ab979d7 805}
f6bcfd97
BP
806{
807 _arg2 = _obj2;
808}
cf694132 809{
474c48f9 810 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 811 wxPyValidator__setCallbackInfo(_arg0,_arg1,_arg2,_arg3);
cf694132 812
474c48f9 813 wxPyEndAllowThreads(__tstate);
4dfaa61e 814 if (PyErr_Occurred()) return NULL;
cf694132 815} Py_INCREF(Py_None);
8ab979d7
RD
816 _resultobj = Py_None;
817 return _resultobj;
818}
819
820static void *SwigwxWindowTowxEvtHandler(void *ptr) {
821 wxWindow *src;
822 wxEvtHandler *dest;
823 src = (wxWindow *) ptr;
824 dest = (wxEvtHandler *) src;
825 return (void *) dest;
826}
827
9df61a29
RD
828static void *SwigwxWindowTowxObject(void *ptr) {
829 wxWindow *src;
830 wxObject *dest;
831 src = (wxWindow *) ptr;
832 dest = (wxObject *) src;
833 return (void *) dest;
834}
835
8ab979d7 836#define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
efc5f224 837static PyObject *_wrap_new_wxWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
838 PyObject * _resultobj;
839 wxWindow * _result;
840 wxWindow * _arg0;
841 wxWindowID _arg1;
b68dc582
RD
842 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
843 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
1d99702e 844 long _arg4 = (long ) 0;
9a74fcaf 845 wxString * _arg5 = (wxString *) &wxPyPanelNameStr;
1d99702e 846 PyObject * _argo0 = 0;
2f90df85
RD
847 wxPoint temp;
848 PyObject * _obj2 = 0;
849 wxSize temp0;
850 PyObject * _obj3 = 0;
9a74fcaf 851 PyObject * _obj5 = 0;
efc5f224 852 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
8ab979d7
RD
853 char _ptemp[128];
854
855 self = self;
9a74fcaf 856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
8ab979d7 857 return NULL;
1d99702e
RD
858 if (_argo0) {
859 if (_argo0 == Py_None) { _arg0 = NULL; }
860 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
861 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
862 return NULL;
863 }
864 }
2f90df85
RD
865 if (_obj2)
866{
867 _arg2 = &temp;
868 if (! wxPoint_helper(_obj2, &_arg2))
8ab979d7 869 return NULL;
2f90df85
RD
870}
871 if (_obj3)
872{
873 _arg3 = &temp0;
874 if (! wxSize_helper(_obj3, &_arg3))
8ab979d7 875 return NULL;
9a74fcaf
RD
876}
877 if (_obj5)
878{
879 _arg5 = wxString_in_helper(_obj5);
880 if (_arg5 == NULL)
881 return NULL;
2f90df85 882}
cf694132 883{
474c48f9 884 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 885 _result = (wxWindow *)new_wxWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
cf694132 886
474c48f9 887 wxPyEndAllowThreads(__tstate);
4dfaa61e 888 if (PyErr_Occurred()) return NULL;
1d99702e
RD
889} if (_result) {
890 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
891 _resultobj = Py_BuildValue("s",_ptemp);
892 } else {
893 Py_INCREF(Py_None);
894 _resultobj = Py_None;
895 }
9a74fcaf
RD
896{
897 if (_obj5)
898 delete _arg5;
899}
8ab979d7
RD
900 return _resultobj;
901}
902
aa2a5b86
RD
903#define new_wxPreWindow() (new wxWindow())
904static PyObject *_wrap_new_wxPreWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
905 PyObject * _resultobj;
906 wxWindow * _result;
907 char *_kwnames[] = { NULL };
908 char _ptemp[128];
909
910 self = self;
911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreWindow",_kwnames))
912 return NULL;
913{
474c48f9 914 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 915 _result = (wxWindow *)new_wxPreWindow();
aa2a5b86 916
474c48f9 917 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
918 if (PyErr_Occurred()) return NULL;
919} if (_result) {
920 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
921 _resultobj = Py_BuildValue("s",_ptemp);
922 } else {
923 Py_INCREF(Py_None);
924 _resultobj = Py_None;
925 }
926 return _resultobj;
927}
928
929#define wxWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
930static PyObject *_wrap_wxWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
931 PyObject * _resultobj;
932 bool _result;
933 wxWindow * _arg0;
934 wxWindow * _arg1;
935 wxWindowID _arg2;
936 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
937 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
938 long _arg5 = (long ) 0;
9a74fcaf 939 wxString * _arg6 = (wxString *) &wxPyPanelNameStr;
aa2a5b86
RD
940 PyObject * _argo0 = 0;
941 PyObject * _argo1 = 0;
942 wxPoint temp;
943 PyObject * _obj3 = 0;
944 wxSize temp0;
945 PyObject * _obj4 = 0;
9a74fcaf 946 PyObject * _obj6 = 0;
aa2a5b86
RD
947 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
948
949 self = self;
9a74fcaf 950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOlO:wxWindow_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
aa2a5b86
RD
951 return NULL;
952 if (_argo0) {
953 if (_argo0 == Py_None) { _arg0 = NULL; }
954 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
955 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Create. Expected _wxWindow_p.");
956 return NULL;
957 }
958 }
959 if (_argo1) {
960 if (_argo1 == Py_None) { _arg1 = NULL; }
961 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
962 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_Create. Expected _wxWindow_p.");
963 return NULL;
964 }
965 }
966 if (_obj3)
967{
968 _arg3 = &temp;
969 if (! wxPoint_helper(_obj3, &_arg3))
970 return NULL;
971}
972 if (_obj4)
973{
974 _arg4 = &temp0;
975 if (! wxSize_helper(_obj4, &_arg4))
976 return NULL;
9a74fcaf
RD
977}
978 if (_obj6)
979{
980 _arg6 = wxString_in_helper(_obj6);
981 if (_arg6 == NULL)
982 return NULL;
aa2a5b86
RD
983}
984{
474c48f9 985 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 986 _result = (bool )wxWindow_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
aa2a5b86 987
474c48f9 988 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
989 if (PyErr_Occurred()) return NULL;
990} _resultobj = Py_BuildValue("i",_result);
9a74fcaf
RD
991{
992 if (_obj6)
993 delete _arg6;
994}
aa2a5b86
RD
995 return _resultobj;
996}
997
8ab979d7 998#define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
efc5f224 999static PyObject *_wrap_wxWindow_Center(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1000 PyObject * _resultobj;
1001 wxWindow * _arg0;
1d99702e
RD
1002 int _arg1 = (int ) wxBOTH;
1003 PyObject * _argo0 = 0;
efc5f224 1004 char *_kwnames[] = { "self","direction", NULL };
8ab979d7
RD
1005
1006 self = self;
efc5f224 1007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_Center",_kwnames,&_argo0,&_arg1))
8ab979d7 1008 return NULL;
1d99702e
RD
1009 if (_argo0) {
1010 if (_argo0 == Py_None) { _arg0 = NULL; }
1011 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1012 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
1013 return NULL;
1014 }
1015 }
cf694132 1016{
474c48f9 1017 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1018 wxWindow_Center(_arg0,_arg1);
cf694132 1019
474c48f9 1020 wxPyEndAllowThreads(__tstate);
4dfaa61e 1021 if (PyErr_Occurred()) return NULL;
cf694132 1022} Py_INCREF(Py_None);
8ab979d7
RD
1023 _resultobj = Py_None;
1024 return _resultobj;
1025}
1026
1027#define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
efc5f224 1028static PyObject *_wrap_wxWindow_Centre(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1029 PyObject * _resultobj;
1030 wxWindow * _arg0;
1d99702e
RD
1031 int _arg1 = (int ) wxBOTH;
1032 PyObject * _argo0 = 0;
efc5f224 1033 char *_kwnames[] = { "self","direction", NULL };
8ab979d7
RD
1034
1035 self = self;
efc5f224 1036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_Centre",_kwnames,&_argo0,&_arg1))
8ab979d7 1037 return NULL;
1d99702e
RD
1038 if (_argo0) {
1039 if (_argo0 == Py_None) { _arg0 = NULL; }
1040 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1041 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
1042 return NULL;
1043 }
1044 }
cf694132 1045{
474c48f9 1046 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1047 wxWindow_Centre(_arg0,_arg1);
cf694132 1048
474c48f9 1049 wxPyEndAllowThreads(__tstate);
4dfaa61e 1050 if (PyErr_Occurred()) return NULL;
cf694132 1051} Py_INCREF(Py_None);
8ab979d7
RD
1052 _resultobj = Py_None;
1053 return _resultobj;
1054}
1055
bb0054cd 1056#define wxWindow_CentreOnParent(_swigobj,_swigarg0) (_swigobj->CentreOnParent(_swigarg0))
efc5f224 1057static PyObject *_wrap_wxWindow_CentreOnParent(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
1058 PyObject * _resultobj;
1059 wxWindow * _arg0;
1d99702e
RD
1060 int _arg1 = (int ) wxBOTH;
1061 PyObject * _argo0 = 0;
efc5f224 1062 char *_kwnames[] = { "self","direction", NULL };
bb0054cd
RD
1063
1064 self = self;
efc5f224 1065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_CentreOnParent",_kwnames,&_argo0,&_arg1))
bb0054cd 1066 return NULL;
1d99702e
RD
1067 if (_argo0) {
1068 if (_argo0 == Py_None) { _arg0 = NULL; }
1069 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
bb0054cd
RD
1070 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_CentreOnParent. Expected _wxWindow_p.");
1071 return NULL;
1072 }
1073 }
1074{
474c48f9 1075 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1076 wxWindow_CentreOnParent(_arg0,_arg1);
bb0054cd 1077
474c48f9 1078 wxPyEndAllowThreads(__tstate);
4dfaa61e 1079 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
1080} Py_INCREF(Py_None);
1081 _resultobj = Py_None;
1082 return _resultobj;
1083}
1084
1085#define wxWindow_CenterOnParent(_swigobj,_swigarg0) (_swigobj->CenterOnParent(_swigarg0))
efc5f224 1086static PyObject *_wrap_wxWindow_CenterOnParent(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
1087 PyObject * _resultobj;
1088 wxWindow * _arg0;
1d99702e
RD
1089 int _arg1 = (int ) wxBOTH;
1090 PyObject * _argo0 = 0;
efc5f224 1091 char *_kwnames[] = { "self","direction", NULL };
bb0054cd
RD
1092
1093 self = self;
efc5f224 1094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_CenterOnParent",_kwnames,&_argo0,&_arg1))
bb0054cd 1095 return NULL;
1d99702e
RD
1096 if (_argo0) {
1097 if (_argo0 == Py_None) { _arg0 = NULL; }
1098 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
bb0054cd
RD
1099 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_CenterOnParent. Expected _wxWindow_p.");
1100 return NULL;
1101 }
1102 }
1103{
474c48f9 1104 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1105 wxWindow_CenterOnParent(_arg0,_arg1);
bb0054cd 1106
474c48f9 1107 wxPyEndAllowThreads(__tstate);
4dfaa61e 1108 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
1109} Py_INCREF(Py_None);
1110 _resultobj = Py_None;
1111 return _resultobj;
1112}
1113
3ca6a5f0
BP
1114#define wxWindow_CentreOnScreen(_swigobj,_swigarg0) (_swigobj->CentreOnScreen(_swigarg0))
1115static PyObject *_wrap_wxWindow_CentreOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
1116 PyObject * _resultobj;
1117 wxWindow * _arg0;
1118 int _arg1 = (int ) wxBOTH;
1119 PyObject * _argo0 = 0;
1120 char *_kwnames[] = { "self","direction", NULL };
1121
1122 self = self;
1123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_CentreOnScreen",_kwnames,&_argo0,&_arg1))
1124 return NULL;
1125 if (_argo0) {
1126 if (_argo0 == Py_None) { _arg0 = NULL; }
1127 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1128 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_CentreOnScreen. Expected _wxWindow_p.");
1129 return NULL;
1130 }
1131 }
1132{
474c48f9 1133 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1134 wxWindow_CentreOnScreen(_arg0,_arg1);
3ca6a5f0 1135
474c48f9 1136 wxPyEndAllowThreads(__tstate);
4dfaa61e 1137 if (PyErr_Occurred()) return NULL;
3ca6a5f0
BP
1138} Py_INCREF(Py_None);
1139 _resultobj = Py_None;
1140 return _resultobj;
1141}
1142
1143#define wxWindow_CenterOnScreen(_swigobj,_swigarg0) (_swigobj->CenterOnScreen(_swigarg0))
1144static PyObject *_wrap_wxWindow_CenterOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
1145 PyObject * _resultobj;
1146 wxWindow * _arg0;
1147 int _arg1 = (int ) wxBOTH;
1148 PyObject * _argo0 = 0;
1149 char *_kwnames[] = { "self","direction", NULL };
1150
1151 self = self;
1152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_CenterOnScreen",_kwnames,&_argo0,&_arg1))
1153 return NULL;
1154 if (_argo0) {
1155 if (_argo0 == Py_None) { _arg0 = NULL; }
1156 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1157 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_CenterOnScreen. Expected _wxWindow_p.");
1158 return NULL;
1159 }
1160 }
1161{
474c48f9 1162 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1163 wxWindow_CenterOnScreen(_arg0,_arg1);
3ca6a5f0 1164
474c48f9 1165 wxPyEndAllowThreads(__tstate);
4dfaa61e 1166 if (PyErr_Occurred()) return NULL;
3ca6a5f0
BP
1167} Py_INCREF(Py_None);
1168 _resultobj = Py_None;
1169 return _resultobj;
1170}
1171
9d6da64a
RD
1172#define wxWindow_Clear(_swigobj) (_swigobj->Clear())
1173static PyObject *_wrap_wxWindow_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
1174 PyObject * _resultobj;
1175 wxWindow * _arg0;
1176 PyObject * _argo0 = 0;
1177 char *_kwnames[] = { "self", NULL };
1178
1179 self = self;
1180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Clear",_kwnames,&_argo0))
1181 return NULL;
1182 if (_argo0) {
1183 if (_argo0 == Py_None) { _arg0 = NULL; }
1184 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1185 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Clear. Expected _wxWindow_p.");
1186 return NULL;
1187 }
1188 }
1189{
474c48f9 1190 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1191 wxWindow_Clear(_arg0);
9d6da64a 1192
474c48f9 1193 wxPyEndAllowThreads(__tstate);
9d6da64a
RD
1194 if (PyErr_Occurred()) return NULL;
1195} Py_INCREF(Py_None);
1196 _resultobj = Py_None;
1197 return _resultobj;
1198}
1199
af309447 1200#define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
efc5f224 1201static PyObject *_wrap_wxWindow_ClientToScreenXY(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1202 PyObject * _resultobj;
1203 wxWindow * _arg0;
1204 int * _arg1;
1205 int * _arg2;
1d99702e 1206 PyObject * _argo0 = 0;
8ab979d7
RD
1207 int temp;
1208 PyObject * _obj1 = 0;
1209 int temp0;
1210 PyObject * _obj2 = 0;
efc5f224 1211 char *_kwnames[] = { "self","x","y", NULL };
8ab979d7
RD
1212
1213 self = self;
efc5f224 1214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxWindow_ClientToScreenXY",_kwnames,&_argo0,&_obj1,&_obj2))
8ab979d7 1215 return NULL;
1d99702e
RD
1216 if (_argo0) {
1217 if (_argo0 == Py_None) { _arg0 = NULL; }
1218 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
af309447 1219 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
8ab979d7
RD
1220 return NULL;
1221 }
1222 }
1223{
1224 temp = (int) PyInt_AsLong(_obj1);
1225 _arg1 = &temp;
1226}
1227{
1228 temp0 = (int) PyInt_AsLong(_obj2);
1229 _arg2 = &temp0;
1230}
cf694132 1231{
474c48f9 1232 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1233 wxWindow_ClientToScreenXY(_arg0,_arg1,_arg2);
cf694132 1234
474c48f9 1235 wxPyEndAllowThreads(__tstate);
4dfaa61e 1236 if (PyErr_Occurred()) return NULL;
cf694132 1237} Py_INCREF(Py_None);
8ab979d7
RD
1238 _resultobj = Py_None;
1239{
1240 PyObject *o;
1241 o = PyInt_FromLong((long) (*_arg1));
1242 _resultobj = t_output_helper(_resultobj, o);
1243}
1244{
1245 PyObject *o;
1246 o = PyInt_FromLong((long) (*_arg2));
1247 _resultobj = t_output_helper(_resultobj, o);
1248}
1249 return _resultobj;
1250}
1251
af309447 1252#define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
efc5f224 1253static PyObject *_wrap_wxWindow_ClientToScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
1254 PyObject * _resultobj;
1255 wxPoint * _result;
1256 wxWindow * _arg0;
1257 wxPoint * _arg1;
1d99702e 1258 PyObject * _argo0 = 0;
2f90df85
RD
1259 wxPoint temp;
1260 PyObject * _obj1 = 0;
efc5f224 1261 char *_kwnames[] = { "self","pt", NULL };
af309447
RD
1262 char _ptemp[128];
1263
1264 self = self;
2f90df85 1265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ClientToScreen",_kwnames,&_argo0,&_obj1))
af309447 1266 return NULL;
1d99702e
RD
1267 if (_argo0) {
1268 if (_argo0 == Py_None) { _arg0 = NULL; }
1269 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
af309447
RD
1270 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
1271 return NULL;
1272 }
1273 }
2f90df85
RD
1274{
1275 _arg1 = &temp;
1276 if (! wxPoint_helper(_obj1, &_arg1))
af309447 1277 return NULL;
2f90df85 1278}
cf694132 1279{
474c48f9 1280 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1281 _result = new wxPoint (wxWindow_ClientToScreen(_arg0,*_arg1));
cf694132 1282
474c48f9 1283 wxPyEndAllowThreads(__tstate);
4dfaa61e 1284 if (PyErr_Occurred()) return NULL;
cf694132 1285} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
af309447
RD
1286 _resultobj = Py_BuildValue("s",_ptemp);
1287 return _resultobj;
1288}
1289
8ab979d7 1290#define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
efc5f224 1291static PyObject *_wrap_wxWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1292 PyObject * _resultobj;
1293 bool _result;
1294 wxWindow * _arg0;
1d99702e
RD
1295 int _arg1 = (int ) FALSE;
1296 PyObject * _argo0 = 0;
efc5f224 1297 char *_kwnames[] = { "self","force", NULL };
8ab979d7
RD
1298
1299 self = self;
efc5f224 1300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_Close",_kwnames,&_argo0,&_arg1))
8ab979d7 1301 return NULL;
1d99702e
RD
1302 if (_argo0) {
1303 if (_argo0 == Py_None) { _arg0 = NULL; }
1304 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1305 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
1306 return NULL;
1307 }
1308 }
cf694132 1309{
474c48f9 1310 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1311 _result = (bool )wxWindow_Close(_arg0,_arg1);
cf694132 1312
474c48f9 1313 wxPyEndAllowThreads(__tstate);
4dfaa61e 1314 if (PyErr_Occurred()) return NULL;
cf694132 1315} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1316 return _resultobj;
1317}
1318
1319#define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
efc5f224 1320static PyObject *_wrap_wxWindow_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1321 PyObject * _resultobj;
1322 bool _result;
1323 wxWindow * _arg0;
1d99702e 1324 PyObject * _argo0 = 0;
efc5f224 1325 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1326
1327 self = self;
efc5f224 1328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Destroy",_kwnames,&_argo0))
8ab979d7 1329 return NULL;
1d99702e
RD
1330 if (_argo0) {
1331 if (_argo0 == Py_None) { _arg0 = NULL; }
1332 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1333 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
1334 return NULL;
1335 }
1336 }
cf694132 1337{
474c48f9 1338 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1339 _result = (bool )wxWindow_Destroy(_arg0);
cf694132 1340
474c48f9 1341 wxPyEndAllowThreads(__tstate);
4dfaa61e 1342 if (PyErr_Occurred()) return NULL;
cf694132 1343} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1344 return _resultobj;
1345}
1346
1347#define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
efc5f224 1348static PyObject *_wrap_wxWindow_DestroyChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1349 PyObject * _resultobj;
1350 wxWindow * _arg0;
1d99702e 1351 PyObject * _argo0 = 0;
efc5f224 1352 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1353
1354 self = self;
efc5f224 1355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_DestroyChildren",_kwnames,&_argo0))
8ab979d7 1356 return NULL;
1d99702e
RD
1357 if (_argo0) {
1358 if (_argo0 == Py_None) { _arg0 = NULL; }
1359 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1360 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
1361 return NULL;
1362 }
1363 }
cf694132 1364{
474c48f9 1365 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1366 wxWindow_DestroyChildren(_arg0);
cf694132 1367
474c48f9 1368 wxPyEndAllowThreads(__tstate);
4dfaa61e 1369 if (PyErr_Occurred()) return NULL;
cf694132 1370} Py_INCREF(Py_None);
8ab979d7
RD
1371 _resultobj = Py_None;
1372 return _resultobj;
1373}
1374
4dfaa61e
RD
1375#define wxWindow_IsBeingDeleted(_swigobj) (_swigobj->IsBeingDeleted())
1376static PyObject *_wrap_wxWindow_IsBeingDeleted(PyObject *self, PyObject *args, PyObject *kwargs) {
1377 PyObject * _resultobj;
1378 bool _result;
1379 wxWindow * _arg0;
1380 PyObject * _argo0 = 0;
1381 char *_kwnames[] = { "self", NULL };
1382
1383 self = self;
1384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_IsBeingDeleted",_kwnames,&_argo0))
1385 return NULL;
1386 if (_argo0) {
1387 if (_argo0 == Py_None) { _arg0 = NULL; }
1388 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1389 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsBeingDeleted. Expected _wxWindow_p.");
1390 return NULL;
1391 }
1392 }
1393{
474c48f9 1394 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1395 _result = (bool )wxWindow_IsBeingDeleted(_arg0);
4dfaa61e 1396
474c48f9 1397 wxPyEndAllowThreads(__tstate);
4dfaa61e
RD
1398 if (PyErr_Occurred()) return NULL;
1399} _resultobj = Py_BuildValue("i",_result);
1400 return _resultobj;
1401}
1402
8ab979d7 1403#define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
efc5f224 1404static PyObject *_wrap_wxWindow_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1405 PyObject * _resultobj;
1406 wxWindow * _arg0;
1407 bool _arg1;
1d99702e 1408 PyObject * _argo0 = 0;
8ab979d7 1409 int tempbool1;
efc5f224 1410 char *_kwnames[] = { "self","enable", NULL };
8ab979d7
RD
1411
1412 self = self;
efc5f224 1413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_Enable",_kwnames,&_argo0,&tempbool1))
8ab979d7 1414 return NULL;
1d99702e
RD
1415 if (_argo0) {
1416 if (_argo0 == Py_None) { _arg0 = NULL; }
1417 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1418 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
1419 return NULL;
1420 }
1421 }
1422 _arg1 = (bool ) tempbool1;
cf694132 1423{
474c48f9 1424 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1425 wxWindow_Enable(_arg0,_arg1);
cf694132 1426
474c48f9 1427 wxPyEndAllowThreads(__tstate);
4dfaa61e 1428 if (PyErr_Occurred()) return NULL;
cf694132 1429} Py_INCREF(Py_None);
8ab979d7
RD
1430 _resultobj = Py_None;
1431 return _resultobj;
1432}
1433
af309447 1434#define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
efc5f224 1435static PyObject *_wrap_wxWindow_FindWindowById(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1436 PyObject * _resultobj;
1437 wxWindow * _result;
1438 wxWindow * _arg0;
1439 long _arg1;
1d99702e 1440 PyObject * _argo0 = 0;
efc5f224 1441 char *_kwnames[] = { "self","id", NULL };
8ab979d7
RD
1442
1443 self = self;
efc5f224 1444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxWindow_FindWindowById",_kwnames,&_argo0,&_arg1))
8ab979d7 1445 return NULL;
1d99702e
RD
1446 if (_argo0) {
1447 if (_argo0 == Py_None) { _arg0 = NULL; }
1448 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
af309447 1449 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
8ab979d7
RD
1450 return NULL;
1451 }
1452 }
cf694132 1453{
474c48f9 1454 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1455 _result = (wxWindow *)wxWindow_FindWindowById(_arg0,_arg1);
cf694132 1456
474c48f9 1457 wxPyEndAllowThreads(__tstate);
4dfaa61e 1458 if (PyErr_Occurred()) return NULL;
9df61a29 1459}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
1460 return _resultobj;
1461}
1462
1463#define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
efc5f224 1464static PyObject *_wrap_wxWindow_FindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1465 PyObject * _resultobj;
1466 wxWindow * _result;
1467 wxWindow * _arg0;
1468 wxString * _arg1;
1d99702e 1469 PyObject * _argo0 = 0;
8ab979d7 1470 PyObject * _obj1 = 0;
efc5f224 1471 char *_kwnames[] = { "self","name", NULL };
8ab979d7
RD
1472
1473 self = self;
efc5f224 1474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_FindWindowByName",_kwnames,&_argo0,&_obj1))
8ab979d7 1475 return NULL;
1d99702e
RD
1476 if (_argo0) {
1477 if (_argo0 == Py_None) { _arg0 = NULL; }
1478 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1479 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
1480 return NULL;
1481 }
1482 }
1483{
c8bc7bb8
RD
1484 _arg1 = wxString_in_helper(_obj1);
1485 if (_arg1 == NULL)
8ab979d7 1486 return NULL;
8ab979d7 1487}
cf694132 1488{
474c48f9 1489 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1490 _result = (wxWindow *)wxWindow_FindWindowByName(_arg0,*_arg1);
cf694132 1491
474c48f9 1492 wxPyEndAllowThreads(__tstate);
4dfaa61e 1493 if (PyErr_Occurred()) return NULL;
9df61a29 1494}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
1495{
1496 if (_obj1)
1497 delete _arg1;
1498}
1499 return _resultobj;
1500}
1501
1502#define wxWindow_Fit(_swigobj) (_swigobj->Fit())
efc5f224 1503static PyObject *_wrap_wxWindow_Fit(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1504 PyObject * _resultobj;
1505 wxWindow * _arg0;
1d99702e 1506 PyObject * _argo0 = 0;
efc5f224 1507 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1508
1509 self = self;
efc5f224 1510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Fit",_kwnames,&_argo0))
8ab979d7 1511 return NULL;
1d99702e
RD
1512 if (_argo0) {
1513 if (_argo0 == Py_None) { _arg0 = NULL; }
1514 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1515 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
1516 return NULL;
1517 }
1518 }
cf694132 1519{
474c48f9 1520 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1521 wxWindow_Fit(_arg0);
cf694132 1522
474c48f9 1523 wxPyEndAllowThreads(__tstate);
4dfaa61e 1524 if (PyErr_Occurred()) return NULL;
cf694132 1525} Py_INCREF(Py_None);
8ab979d7
RD
1526 _resultobj = Py_None;
1527 return _resultobj;
1528}
1529
1530#define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
efc5f224 1531static PyObject *_wrap_wxWindow_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1532 PyObject * _resultobj;
1533 wxColour * _result;
1534 wxWindow * _arg0;
1d99702e 1535 PyObject * _argo0 = 0;
efc5f224 1536 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1537 char _ptemp[128];
1538
1539 self = self;
efc5f224 1540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetBackgroundColour",_kwnames,&_argo0))
8ab979d7 1541 return NULL;
1d99702e
RD
1542 if (_argo0) {
1543 if (_argo0 == Py_None) { _arg0 = NULL; }
1544 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1545 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
1546 return NULL;
1547 }
1548 }
cf694132 1549{
474c48f9 1550 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1551 _result = new wxColour (wxWindow_GetBackgroundColour(_arg0));
cf694132 1552
474c48f9 1553 wxPyEndAllowThreads(__tstate);
4dfaa61e 1554 if (PyErr_Occurred()) return NULL;
cf694132 1555} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8ab979d7
RD
1556 _resultobj = Py_BuildValue("s",_ptemp);
1557 return _resultobj;
1558}
1559
8cb49012
RD
1560#define wxWindow_GetBorder(_swigobj) (_swigobj->GetBorder())
1561static PyObject *_wrap_wxWindow_GetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
1562 PyObject * _resultobj;
1563 wxBorder _result;
1564 wxWindow * _arg0;
1565 PyObject * _argo0 = 0;
1566 char *_kwnames[] = { "self", NULL };
1567
1568 self = self;
1569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetBorder",_kwnames,&_argo0))
1570 return NULL;
1571 if (_argo0) {
1572 if (_argo0 == Py_None) { _arg0 = NULL; }
1573 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1574 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetBorder. Expected _wxWindow_p.");
1575 return NULL;
1576 }
1577 }
1578{
1579 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1580 _result = (wxBorder )wxWindow_GetBorder(_arg0);
8cb49012
RD
1581
1582 wxPyEndAllowThreads(__tstate);
1583 if (PyErr_Occurred()) return NULL;
1584} _resultobj = Py_BuildValue("i",_result);
1585 return _resultobj;
1586}
1587
d426c97e
RD
1588static PyObject * wxWindow_GetChildren(wxWindow *self) {
1589 wxWindowList& list = self->GetChildren();
1590 return wxPy_ConvertList(&list, "wxWindow");
1591 }
1592static PyObject *_wrap_wxWindow_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
1593 PyObject * _resultobj;
1594 PyObject * _result;
1595 wxWindow * _arg0;
1596 PyObject * _argo0 = 0;
1597 char *_kwnames[] = { "self", NULL };
1598
1599 self = self;
1600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetChildren",_kwnames,&_argo0))
1601 return NULL;
1602 if (_argo0) {
1603 if (_argo0 == Py_None) { _arg0 = NULL; }
1604 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1605 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetChildren. Expected _wxWindow_p.");
1606 return NULL;
1607 }
1608 }
1609{
474c48f9 1610 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1611 _result = (PyObject *)wxWindow_GetChildren(_arg0);
d426c97e 1612
474c48f9 1613 wxPyEndAllowThreads(__tstate);
4dfaa61e 1614 if (PyErr_Occurred()) return NULL;
d426c97e
RD
1615}{
1616 _resultobj = _result;
1617}
1618 return _resultobj;
1619}
1620
8ab979d7 1621#define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
efc5f224 1622static PyObject *_wrap_wxWindow_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1623 PyObject * _resultobj;
1624 int _result;
1625 wxWindow * _arg0;
1d99702e 1626 PyObject * _argo0 = 0;
efc5f224 1627 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1628
1629 self = self;
efc5f224 1630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetCharHeight",_kwnames,&_argo0))
8ab979d7 1631 return NULL;
1d99702e
RD
1632 if (_argo0) {
1633 if (_argo0 == Py_None) { _arg0 = NULL; }
1634 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1635 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
1636 return NULL;
1637 }
1638 }
cf694132 1639{
474c48f9 1640 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1641 _result = (int )wxWindow_GetCharHeight(_arg0);
cf694132 1642
474c48f9 1643 wxPyEndAllowThreads(__tstate);
4dfaa61e 1644 if (PyErr_Occurred()) return NULL;
cf694132 1645} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1646 return _resultobj;
1647}
1648
1649#define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
efc5f224 1650static PyObject *_wrap_wxWindow_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1651 PyObject * _resultobj;
1652 int _result;
1653 wxWindow * _arg0;
1d99702e 1654 PyObject * _argo0 = 0;
efc5f224 1655 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1656
1657 self = self;
efc5f224 1658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetCharWidth",_kwnames,&_argo0))
8ab979d7 1659 return NULL;
1d99702e
RD
1660 if (_argo0) {
1661 if (_argo0 == Py_None) { _arg0 = NULL; }
1662 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1663 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
1664 return NULL;
1665 }
1666 }
cf694132 1667{
474c48f9 1668 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1669 _result = (int )wxWindow_GetCharWidth(_arg0);
cf694132 1670
474c48f9 1671 wxPyEndAllowThreads(__tstate);
4dfaa61e 1672 if (PyErr_Occurred()) return NULL;
cf694132 1673} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1674 return _resultobj;
1675}
1676
b8b8dda7 1677#define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
efc5f224 1678static PyObject *_wrap_wxWindow_GetClientSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1679 PyObject * _resultobj;
1680 wxWindow * _arg0;
1681 int * _arg1;
1682 int temp;
1683 int * _arg2;
1684 int temp0;
1d99702e 1685 PyObject * _argo0 = 0;
efc5f224 1686 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1687
1688 self = self;
1689{
1690 _arg1 = &temp;
1691}
1692{
1693 _arg2 = &temp0;
1694}
efc5f224 1695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetClientSizeTuple",_kwnames,&_argo0))
8ab979d7 1696 return NULL;
1d99702e
RD
1697 if (_argo0) {
1698 if (_argo0 == Py_None) { _arg0 = NULL; }
1699 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b8b8dda7 1700 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
8ab979d7
RD
1701 return NULL;
1702 }
1703 }
cf694132 1704{
474c48f9 1705 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1706 wxWindow_GetClientSizeTuple(_arg0,_arg1,_arg2);
cf694132 1707
474c48f9 1708 wxPyEndAllowThreads(__tstate);
4dfaa61e 1709 if (PyErr_Occurred()) return NULL;
cf694132 1710} Py_INCREF(Py_None);
8ab979d7
RD
1711 _resultobj = Py_None;
1712{
1713 PyObject *o;
1714 o = PyInt_FromLong((long) (*_arg1));
1715 _resultobj = t_output_helper(_resultobj, o);
1716}
1717{
1718 PyObject *o;
1719 o = PyInt_FromLong((long) (*_arg2));
1720 _resultobj = t_output_helper(_resultobj, o);
1721}
1722 return _resultobj;
1723}
1724
b8b8dda7 1725#define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
efc5f224 1726static PyObject *_wrap_wxWindow_GetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
1727 PyObject * _resultobj;
1728 wxSize * _result;
1729 wxWindow * _arg0;
1d99702e 1730 PyObject * _argo0 = 0;
efc5f224 1731 char *_kwnames[] = { "self", NULL };
b8b8dda7
RD
1732 char _ptemp[128];
1733
1734 self = self;
efc5f224 1735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetClientSize",_kwnames,&_argo0))
b8b8dda7 1736 return NULL;
1d99702e
RD
1737 if (_argo0) {
1738 if (_argo0 == Py_None) { _arg0 = NULL; }
1739 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b8b8dda7
RD
1740 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
1741 return NULL;
1742 }
1743 }
cf694132 1744{
474c48f9 1745 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1746 _result = new wxSize (wxWindow_GetClientSize(_arg0));
cf694132 1747
474c48f9 1748 wxPyEndAllowThreads(__tstate);
4dfaa61e 1749 if (PyErr_Occurred()) return NULL;
cf694132 1750} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
b8b8dda7
RD
1751 _resultobj = Py_BuildValue("s",_ptemp);
1752 return _resultobj;
1753}
1754
8cb49012
RD
1755#define wxWindow_GetClientAreaOrigin(_swigobj) (_swigobj->GetClientAreaOrigin())
1756static PyObject *_wrap_wxWindow_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
1757 PyObject * _resultobj;
1758 wxPoint * _result;
1759 wxWindow * _arg0;
1760 PyObject * _argo0 = 0;
1761 char *_kwnames[] = { "self", NULL };
1762 char _ptemp[128];
1763
1764 self = self;
1765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetClientAreaOrigin",_kwnames,&_argo0))
1766 return NULL;
1767 if (_argo0) {
1768 if (_argo0 == Py_None) { _arg0 = NULL; }
1769 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1770 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetClientAreaOrigin. Expected _wxWindow_p.");
1771 return NULL;
1772 }
1773 }
1774{
1775 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1776 _result = new wxPoint (wxWindow_GetClientAreaOrigin(_arg0));
8cb49012
RD
1777
1778 wxPyEndAllowThreads(__tstate);
1779 if (PyErr_Occurred()) return NULL;
1780} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
1781 _resultobj = Py_BuildValue("s",_ptemp);
1782 return _resultobj;
1783}
1784
1785#define wxWindow_GetClientRect(_swigobj) (_swigobj->GetClientRect())
1786static PyObject *_wrap_wxWindow_GetClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
1787 PyObject * _resultobj;
1788 wxRect * _result;
1789 wxWindow * _arg0;
1790 PyObject * _argo0 = 0;
1791 char *_kwnames[] = { "self", NULL };
1792 char _ptemp[128];
1793
1794 self = self;
1795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetClientRect",_kwnames,&_argo0))
1796 return NULL;
1797 if (_argo0) {
1798 if (_argo0 == Py_None) { _arg0 = NULL; }
1799 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1800 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetClientRect. Expected _wxWindow_p.");
1801 return NULL;
1802 }
1803 }
1804{
1805 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1806 _result = new wxRect (wxWindow_GetClientRect(_arg0));
8cb49012
RD
1807
1808 wxPyEndAllowThreads(__tstate);
1809 if (PyErr_Occurred()) return NULL;
1810} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
1811 _resultobj = Py_BuildValue("s",_ptemp);
1812 return _resultobj;
1813}
1814
8ab979d7 1815#define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
efc5f224 1816static PyObject *_wrap_wxWindow_GetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1817 PyObject * _resultobj;
1818 wxLayoutConstraints * _result;
1819 wxWindow * _arg0;
1d99702e 1820 PyObject * _argo0 = 0;
efc5f224 1821 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1822 char _ptemp[128];
1823
1824 self = self;
efc5f224 1825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetConstraints",_kwnames,&_argo0))
8ab979d7 1826 return NULL;
1d99702e
RD
1827 if (_argo0) {
1828 if (_argo0 == Py_None) { _arg0 = NULL; }
1829 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1830 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
1831 return NULL;
1832 }
1833 }
cf694132 1834{
474c48f9 1835 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1836 _result = (wxLayoutConstraints *)wxWindow_GetConstraints(_arg0);
cf694132 1837
474c48f9 1838 wxPyEndAllowThreads(__tstate);
4dfaa61e 1839 if (PyErr_Occurred()) return NULL;
1d99702e
RD
1840} if (_result) {
1841 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLayoutConstraints_p");
1842 _resultobj = Py_BuildValue("s",_ptemp);
1843 } else {
1844 Py_INCREF(Py_None);
1845 _resultobj = Py_None;
1846 }
8ab979d7
RD
1847 return _resultobj;
1848}
1849
1afc06c2
RD
1850#define wxWindow_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
1851static PyObject *_wrap_wxWindow_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
1852 PyObject * _resultobj;
1853 wxEvtHandler * _result;
1854 wxWindow * _arg0;
1855 PyObject * _argo0 = 0;
1856 char *_kwnames[] = { "self", NULL };
1afc06c2
RD
1857
1858 self = self;
1859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetEventHandler",_kwnames,&_argo0))
1860 return NULL;
1861 if (_argo0) {
1862 if (_argo0 == Py_None) { _arg0 = NULL; }
1863 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1864 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetEventHandler. Expected _wxWindow_p.");
1865 return NULL;
1866 }
1867 }
1868{
474c48f9 1869 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1870 _result = (wxEvtHandler *)wxWindow_GetEventHandler(_arg0);
1afc06c2 1871
474c48f9 1872 wxPyEndAllowThreads(__tstate);
4dfaa61e 1873 if (PyErr_Occurred()) return NULL;
9df61a29 1874}{ _resultobj = wxPyMake_wxObject(_result); }
1afc06c2
RD
1875 return _resultobj;
1876}
1877
8ab979d7 1878#define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
efc5f224 1879static PyObject *_wrap_wxWindow_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1880 PyObject * _resultobj;
1881 wxFont * _result;
1882 wxWindow * _arg0;
1d99702e 1883 PyObject * _argo0 = 0;
efc5f224 1884 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1885 char _ptemp[128];
1886
1887 self = self;
efc5f224 1888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetFont",_kwnames,&_argo0))
8ab979d7 1889 return NULL;
1d99702e
RD
1890 if (_argo0) {
1891 if (_argo0 == Py_None) { _arg0 = NULL; }
1892 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1893 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
1894 return NULL;
1895 }
1896 }
cf694132 1897{
474c48f9 1898 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1899 _result = new wxFont (wxWindow_GetFont(_arg0));
cf694132 1900
474c48f9 1901 wxPyEndAllowThreads(__tstate);
4dfaa61e 1902 if (PyErr_Occurred()) return NULL;
3e212503
RD
1903} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
1904 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
1905 return _resultobj;
1906}
1907
1908#define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
efc5f224 1909static PyObject *_wrap_wxWindow_GetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1910 PyObject * _resultobj;
1911 wxColour * _result;
1912 wxWindow * _arg0;
1d99702e 1913 PyObject * _argo0 = 0;
efc5f224 1914 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1915 char _ptemp[128];
1916
1917 self = self;
efc5f224 1918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetForegroundColour",_kwnames,&_argo0))
8ab979d7 1919 return NULL;
1d99702e
RD
1920 if (_argo0) {
1921 if (_argo0 == Py_None) { _arg0 = NULL; }
1922 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1923 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
1924 return NULL;
1925 }
1926 }
cf694132 1927{
474c48f9 1928 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1929 _result = new wxColour (wxWindow_GetForegroundColour(_arg0));
cf694132 1930
474c48f9 1931 wxPyEndAllowThreads(__tstate);
4dfaa61e 1932 if (PyErr_Occurred()) return NULL;
cf694132 1933} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8ab979d7
RD
1934 _resultobj = Py_BuildValue("s",_ptemp);
1935 return _resultobj;
1936}
1937
1938#define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
efc5f224 1939static PyObject *_wrap_wxWindow_GetGrandParent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1940 PyObject * _resultobj;
1941 wxWindow * _result;
1942 wxWindow * _arg0;
1d99702e 1943 PyObject * _argo0 = 0;
efc5f224 1944 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1945
1946 self = self;
efc5f224 1947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetGrandParent",_kwnames,&_argo0))
8ab979d7 1948 return NULL;
1d99702e
RD
1949 if (_argo0) {
1950 if (_argo0 == Py_None) { _arg0 = NULL; }
1951 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1952 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
1953 return NULL;
1954 }
1955 }
cf694132 1956{
474c48f9 1957 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1958 _result = (wxWindow *)wxWindow_GetGrandParent(_arg0);
cf694132 1959
474c48f9 1960 wxPyEndAllowThreads(__tstate);
4dfaa61e 1961 if (PyErr_Occurred()) return NULL;
9df61a29 1962}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
1963 return _resultobj;
1964}
1965
2abc0a0f 1966static long wxWindow_GetHandle(wxWindow *self) {
1b55cabf 1967 return wxPyGetWinHandle(self); //(long)self->GetHandle();
2abc0a0f
RD
1968 }
1969static PyObject *_wrap_wxWindow_GetHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
1970 PyObject * _resultobj;
1971 long _result;
1972 wxWindow * _arg0;
1973 PyObject * _argo0 = 0;
1974 char *_kwnames[] = { "self", NULL };
1975
1976 self = self;
1977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetHandle",_kwnames,&_argo0))
1978 return NULL;
1979 if (_argo0) {
1980 if (_argo0 == Py_None) { _arg0 = NULL; }
1981 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1982 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetHandle. Expected _wxWindow_p.");
1983 return NULL;
1984 }
1985 }
1986{
474c48f9 1987 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1988 _result = (long )wxWindow_GetHandle(_arg0);
2abc0a0f 1989
474c48f9 1990 wxPyEndAllowThreads(__tstate);
4dfaa61e 1991 if (PyErr_Occurred()) return NULL;
2abc0a0f
RD
1992} _resultobj = Py_BuildValue("l",_result);
1993 return _resultobj;
1994}
1995
8ab979d7 1996#define wxWindow_GetId(_swigobj) (_swigobj->GetId())
efc5f224 1997static PyObject *_wrap_wxWindow_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1998 PyObject * _resultobj;
1999 int _result;
2000 wxWindow * _arg0;
1d99702e 2001 PyObject * _argo0 = 0;
efc5f224 2002 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2003
2004 self = self;
efc5f224 2005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetId",_kwnames,&_argo0))
8ab979d7 2006 return NULL;
1d99702e
RD
2007 if (_argo0) {
2008 if (_argo0 == Py_None) { _arg0 = NULL; }
2009 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2010 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
2011 return NULL;
2012 }
2013 }
cf694132 2014{
474c48f9 2015 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2016 _result = (int )wxWindow_GetId(_arg0);
cf694132 2017
474c48f9 2018 wxPyEndAllowThreads(__tstate);
4dfaa61e 2019 if (PyErr_Occurred()) return NULL;
cf694132 2020} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2021 return _resultobj;
2022}
2023
8ab979d7 2024#define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
efc5f224 2025static PyObject *_wrap_wxWindow_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2026 PyObject * _resultobj;
2027 wxString * _result;
2028 wxWindow * _arg0;
1d99702e 2029 PyObject * _argo0 = 0;
efc5f224 2030 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2031
2032 self = self;
efc5f224 2033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetLabel",_kwnames,&_argo0))
8ab979d7 2034 return NULL;
1d99702e
RD
2035 if (_argo0) {
2036 if (_argo0 == Py_None) { _arg0 = NULL; }
2037 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2038 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
2039 return NULL;
2040 }
2041 }
8ab979d7 2042{
474c48f9 2043 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2044 _result = new wxString (wxWindow_GetLabel(_arg0));
cf694132 2045
474c48f9 2046 wxPyEndAllowThreads(__tstate);
4dfaa61e 2047 if (PyErr_Occurred()) return NULL;
cf694132 2048}{
c8bc7bb8
RD
2049#if wxUSE_UNICODE
2050 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
2051#else
eec92d76 2052 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 2053#endif
8ab979d7
RD
2054}
2055{
2056 delete _result;
2057}
2058 return _resultobj;
2059}
2060
bb0054cd 2061#define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
efc5f224 2062static PyObject *_wrap_wxWindow_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
2063 PyObject * _resultobj;
2064 wxWindow * _arg0;
2065 wxString * _arg1;
1d99702e 2066 PyObject * _argo0 = 0;
bb0054cd 2067 PyObject * _obj1 = 0;
efc5f224 2068 char *_kwnames[] = { "self","label", NULL };
bb0054cd
RD
2069
2070 self = self;
efc5f224 2071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetLabel",_kwnames,&_argo0,&_obj1))
bb0054cd 2072 return NULL;
1d99702e
RD
2073 if (_argo0) {
2074 if (_argo0 == Py_None) { _arg0 = NULL; }
2075 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
bb0054cd
RD
2076 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
2077 return NULL;
2078 }
2079 }
2080{
c8bc7bb8
RD
2081 _arg1 = wxString_in_helper(_obj1);
2082 if (_arg1 == NULL)
bb0054cd 2083 return NULL;
bb0054cd
RD
2084}
2085{
474c48f9 2086 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2087 wxWindow_SetLabel(_arg0,*_arg1);
bb0054cd 2088
474c48f9 2089 wxPyEndAllowThreads(__tstate);
4dfaa61e 2090 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
2091} Py_INCREF(Py_None);
2092 _resultobj = Py_None;
2093{
2094 if (_obj1)
2095 delete _arg1;
2096}
2097 return _resultobj;
2098}
2099
8ab979d7 2100#define wxWindow_GetName(_swigobj) (_swigobj->GetName())
efc5f224 2101static PyObject *_wrap_wxWindow_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2102 PyObject * _resultobj;
2103 wxString * _result;
2104 wxWindow * _arg0;
1d99702e 2105 PyObject * _argo0 = 0;
efc5f224 2106 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2107
2108 self = self;
efc5f224 2109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetName",_kwnames,&_argo0))
8ab979d7 2110 return NULL;
1d99702e
RD
2111 if (_argo0) {
2112 if (_argo0 == Py_None) { _arg0 = NULL; }
2113 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2114 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
2115 return NULL;
2116 }
2117 }
8ab979d7 2118{
474c48f9 2119 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2120 _result = new wxString (wxWindow_GetName(_arg0));
cf694132 2121
474c48f9 2122 wxPyEndAllowThreads(__tstate);
4dfaa61e 2123 if (PyErr_Occurred()) return NULL;
cf694132 2124}{
c8bc7bb8
RD
2125#if wxUSE_UNICODE
2126 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
2127#else
eec92d76 2128 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 2129#endif
8ab979d7
RD
2130}
2131{
2132 delete _result;
2133}
2134 return _resultobj;
2135}
2136
2137#define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
efc5f224 2138static PyObject *_wrap_wxWindow_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2139 PyObject * _resultobj;
2140 wxWindow * _result;
2141 wxWindow * _arg0;
1d99702e 2142 PyObject * _argo0 = 0;
efc5f224 2143 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2144
2145 self = self;
efc5f224 2146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetParent",_kwnames,&_argo0))
8ab979d7 2147 return NULL;
1d99702e
RD
2148 if (_argo0) {
2149 if (_argo0 == Py_None) { _arg0 = NULL; }
2150 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2151 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
2152 return NULL;
2153 }
2154 }
cf694132 2155{
474c48f9 2156 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2157 _result = (wxWindow *)wxWindow_GetParent(_arg0);
cf694132 2158
474c48f9 2159 wxPyEndAllowThreads(__tstate);
4dfaa61e 2160 if (PyErr_Occurred()) return NULL;
9df61a29 2161}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
2162 return _resultobj;
2163}
2164
b8b8dda7 2165#define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
efc5f224 2166static PyObject *_wrap_wxWindow_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
2167 PyObject * _resultobj;
2168 wxWindow * _arg0;
2169 int * _arg1;
2170 int temp;
2171 int * _arg2;
2172 int temp0;
1d99702e 2173 PyObject * _argo0 = 0;
efc5f224 2174 char *_kwnames[] = { "self", NULL };
b8b8dda7
RD
2175
2176 self = self;
2177{
2178 _arg1 = &temp;
2179}
2180{
2181 _arg2 = &temp0;
2182}
efc5f224 2183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetPositionTuple",_kwnames,&_argo0))
b8b8dda7 2184 return NULL;
1d99702e
RD
2185 if (_argo0) {
2186 if (_argo0 == Py_None) { _arg0 = NULL; }
2187 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b8b8dda7
RD
2188 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
2189 return NULL;
2190 }
2191 }
cf694132 2192{
474c48f9 2193 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2194 wxWindow_GetPositionTuple(_arg0,_arg1,_arg2);
cf694132 2195
474c48f9 2196 wxPyEndAllowThreads(__tstate);
4dfaa61e 2197 if (PyErr_Occurred()) return NULL;
cf694132 2198} Py_INCREF(Py_None);
b8b8dda7
RD
2199 _resultobj = Py_None;
2200{
2201 PyObject *o;
2202 o = PyInt_FromLong((long) (*_arg1));
2203 _resultobj = t_output_helper(_resultobj, o);
2204}
2205{
2206 PyObject *o;
2207 o = PyInt_FromLong((long) (*_arg2));
2208 _resultobj = t_output_helper(_resultobj, o);
2209}
2210 return _resultobj;
2211}
2212
2213#define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
efc5f224 2214static PyObject *_wrap_wxWindow_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
2215 PyObject * _resultobj;
2216 wxPoint * _result;
2217 wxWindow * _arg0;
1d99702e 2218 PyObject * _argo0 = 0;
efc5f224 2219 char *_kwnames[] = { "self", NULL };
b8b8dda7
RD
2220 char _ptemp[128];
2221
2222 self = self;
efc5f224 2223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetPosition",_kwnames,&_argo0))
b8b8dda7 2224 return NULL;
1d99702e
RD
2225 if (_argo0) {
2226 if (_argo0 == Py_None) { _arg0 = NULL; }
2227 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b8b8dda7
RD
2228 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
2229 return NULL;
2230 }
2231 }
cf694132 2232{
474c48f9 2233 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2234 _result = new wxPoint (wxWindow_GetPosition(_arg0));
cf694132 2235
474c48f9 2236 wxPyEndAllowThreads(__tstate);
4dfaa61e 2237 if (PyErr_Occurred()) return NULL;
cf694132 2238} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
b8b8dda7
RD
2239 _resultobj = Py_BuildValue("s",_ptemp);
2240 return _resultobj;
2241}
2242
2243#define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
efc5f224 2244static PyObject *_wrap_wxWindow_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
2245 PyObject * _resultobj;
2246 wxRect * _result;
2247 wxWindow * _arg0;
1d99702e 2248 PyObject * _argo0 = 0;
efc5f224 2249 char *_kwnames[] = { "self", NULL };
b8b8dda7
RD
2250 char _ptemp[128];
2251
2252 self = self;
efc5f224 2253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetRect",_kwnames,&_argo0))
b8b8dda7 2254 return NULL;
1d99702e
RD
2255 if (_argo0) {
2256 if (_argo0 == Py_None) { _arg0 = NULL; }
2257 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b8b8dda7
RD
2258 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
2259 return NULL;
2260 }
2261 }
cf694132 2262{
474c48f9 2263 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2264 _result = new wxRect (wxWindow_GetRect(_arg0));
cf694132 2265
474c48f9 2266 wxPyEndAllowThreads(__tstate);
4dfaa61e 2267 if (PyErr_Occurred()) return NULL;
cf694132 2268} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
b8b8dda7
RD
2269 _resultobj = Py_BuildValue("s",_ptemp);
2270 return _resultobj;
2271}
2272
8ab979d7 2273#define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
efc5f224 2274static PyObject *_wrap_wxWindow_GetScrollThumb(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2275 PyObject * _resultobj;
2276 int _result;
2277 wxWindow * _arg0;
2278 int _arg1;
1d99702e 2279 PyObject * _argo0 = 0;
efc5f224 2280 char *_kwnames[] = { "self","orientation", NULL };
8ab979d7
RD
2281
2282 self = self;
efc5f224 2283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_GetScrollThumb",_kwnames,&_argo0,&_arg1))
8ab979d7 2284 return NULL;
1d99702e
RD
2285 if (_argo0) {
2286 if (_argo0 == Py_None) { _arg0 = NULL; }
2287 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2288 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
2289 return NULL;
2290 }
2291 }
cf694132 2292{
474c48f9 2293 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2294 _result = (int )wxWindow_GetScrollThumb(_arg0,_arg1);
cf694132 2295
474c48f9 2296 wxPyEndAllowThreads(__tstate);
4dfaa61e 2297 if (PyErr_Occurred()) return NULL;
cf694132 2298} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2299 return _resultobj;
2300}
2301
2302#define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
efc5f224 2303static PyObject *_wrap_wxWindow_GetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2304 PyObject * _resultobj;
2305 int _result;
2306 wxWindow * _arg0;
2307 int _arg1;
1d99702e 2308 PyObject * _argo0 = 0;
efc5f224 2309 char *_kwnames[] = { "self","orientation", NULL };
8ab979d7
RD
2310
2311 self = self;
efc5f224 2312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_GetScrollPos",_kwnames,&_argo0,&_arg1))
8ab979d7 2313 return NULL;
1d99702e
RD
2314 if (_argo0) {
2315 if (_argo0 == Py_None) { _arg0 = NULL; }
2316 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2317 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
2318 return NULL;
2319 }
2320 }
cf694132 2321{
474c48f9 2322 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2323 _result = (int )wxWindow_GetScrollPos(_arg0,_arg1);
cf694132 2324
474c48f9 2325 wxPyEndAllowThreads(__tstate);
4dfaa61e 2326 if (PyErr_Occurred()) return NULL;
cf694132 2327} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2328 return _resultobj;
2329}
2330
2331#define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
efc5f224 2332static PyObject *_wrap_wxWindow_GetScrollRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2333 PyObject * _resultobj;
2334 int _result;
2335 wxWindow * _arg0;
2336 int _arg1;
1d99702e 2337 PyObject * _argo0 = 0;
efc5f224 2338 char *_kwnames[] = { "self","orientation", NULL };
8ab979d7
RD
2339
2340 self = self;
efc5f224 2341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_GetScrollRange",_kwnames,&_argo0,&_arg1))
8ab979d7 2342 return NULL;
1d99702e
RD
2343 if (_argo0) {
2344 if (_argo0 == Py_None) { _arg0 = NULL; }
2345 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2346 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
2347 return NULL;
2348 }
2349 }
cf694132 2350{
474c48f9 2351 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2352 _result = (int )wxWindow_GetScrollRange(_arg0,_arg1);
cf694132 2353
474c48f9 2354 wxPyEndAllowThreads(__tstate);
4dfaa61e 2355 if (PyErr_Occurred()) return NULL;
cf694132 2356} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2357 return _resultobj;
2358}
2359
b8b8dda7 2360#define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
efc5f224 2361static PyObject *_wrap_wxWindow_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2362 PyObject * _resultobj;
2363 wxWindow * _arg0;
2364 int * _arg1;
2365 int temp;
2366 int * _arg2;
2367 int temp0;
1d99702e 2368 PyObject * _argo0 = 0;
efc5f224 2369 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2370
2371 self = self;
2372{
2373 _arg1 = &temp;
2374}
2375{
2376 _arg2 = &temp0;
2377}
efc5f224 2378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetSizeTuple",_kwnames,&_argo0))
8ab979d7 2379 return NULL;
1d99702e
RD
2380 if (_argo0) {
2381 if (_argo0 == Py_None) { _arg0 = NULL; }
2382 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b8b8dda7 2383 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
8ab979d7
RD
2384 return NULL;
2385 }
2386 }
cf694132 2387{
474c48f9 2388 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2389 wxWindow_GetSizeTuple(_arg0,_arg1,_arg2);
cf694132 2390
474c48f9 2391 wxPyEndAllowThreads(__tstate);
4dfaa61e 2392 if (PyErr_Occurred()) return NULL;
cf694132 2393} Py_INCREF(Py_None);
8ab979d7
RD
2394 _resultobj = Py_None;
2395{
2396 PyObject *o;
2397 o = PyInt_FromLong((long) (*_arg1));
2398 _resultobj = t_output_helper(_resultobj, o);
2399}
2400{
2401 PyObject *o;
2402 o = PyInt_FromLong((long) (*_arg2));
2403 _resultobj = t_output_helper(_resultobj, o);
2404}
2405 return _resultobj;
2406}
2407
b8b8dda7 2408#define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
efc5f224 2409static PyObject *_wrap_wxWindow_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
2410 PyObject * _resultobj;
2411 wxSize * _result;
2412 wxWindow * _arg0;
1d99702e 2413 PyObject * _argo0 = 0;
efc5f224 2414 char *_kwnames[] = { "self", NULL };
b8b8dda7
RD
2415 char _ptemp[128];
2416
2417 self = self;
efc5f224 2418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetSize",_kwnames,&_argo0))
b8b8dda7 2419 return NULL;
1d99702e
RD
2420 if (_argo0) {
2421 if (_argo0 == Py_None) { _arg0 = NULL; }
2422 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b8b8dda7
RD
2423 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
2424 return NULL;
2425 }
2426 }
cf694132 2427{
474c48f9 2428 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2429 _result = new wxSize (wxWindow_GetSize(_arg0));
cf694132 2430
474c48f9 2431 wxPyEndAllowThreads(__tstate);
4dfaa61e 2432 if (PyErr_Occurred()) return NULL;
cf694132 2433} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
b8b8dda7
RD
2434 _resultobj = Py_BuildValue("s",_ptemp);
2435 return _resultobj;
2436}
2437
8ab979d7 2438#define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
efc5f224 2439static PyObject *_wrap_wxWindow_GetTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2440 PyObject * _resultobj;
2441 wxWindow * _arg0;
2442 wxString * _arg1;
2443 int * _arg2;
2444 int temp;
2445 int * _arg3;
2446 int temp0;
1d99702e 2447 PyObject * _argo0 = 0;
8ab979d7 2448 PyObject * _obj1 = 0;
efc5f224 2449 char *_kwnames[] = { "self","string", NULL };
8ab979d7
RD
2450
2451 self = self;
2452{
2453 _arg2 = &temp;
2454}
2455{
2456 _arg3 = &temp0;
2457}
efc5f224 2458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_GetTextExtent",_kwnames,&_argo0,&_obj1))
8ab979d7 2459 return NULL;
1d99702e
RD
2460 if (_argo0) {
2461 if (_argo0 == Py_None) { _arg0 = NULL; }
2462 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2463 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
2464 return NULL;
2465 }
2466 }
2467{
c8bc7bb8
RD
2468 _arg1 = wxString_in_helper(_obj1);
2469 if (_arg1 == NULL)
8ab979d7 2470 return NULL;
8ab979d7 2471}
cf694132 2472{
474c48f9 2473 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2474 wxWindow_GetTextExtent(_arg0,*_arg1,_arg2,_arg3);
cf694132 2475
474c48f9 2476 wxPyEndAllowThreads(__tstate);
4dfaa61e 2477 if (PyErr_Occurred()) return NULL;
cf694132 2478} Py_INCREF(Py_None);
8ab979d7
RD
2479 _resultobj = Py_None;
2480{
2481 PyObject *o;
2482 o = PyInt_FromLong((long) (*_arg2));
2483 _resultobj = t_output_helper(_resultobj, o);
2484}
2485{
2486 PyObject *o;
2487 o = PyInt_FromLong((long) (*_arg3));
2488 _resultobj = t_output_helper(_resultobj, o);
2489}
2490{
2491 if (_obj1)
2492 delete _arg1;
2493}
2494 return _resultobj;
2495}
2496
af309447 2497#define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
efc5f224 2498static PyObject *_wrap_wxWindow_GetFullTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
2499 PyObject * _resultobj;
2500 wxWindow * _arg0;
2501 wxString * _arg1;
2502 int * _arg2;
2503 int temp;
2504 int * _arg3;
2505 int temp0;
2506 int * _arg4;
2507 int temp1;
2508 int * _arg5;
2509 int temp2;
1d99702e
RD
2510 wxFont * _arg6 = (wxFont *) NULL;
2511 PyObject * _argo0 = 0;
af309447 2512 PyObject * _obj1 = 0;
1d99702e 2513 PyObject * _argo6 = 0;
efc5f224 2514 char *_kwnames[] = { "self","string","font", NULL };
af309447
RD
2515
2516 self = self;
2517{
2518 _arg2 = &temp;
2519}
2520{
2521 _arg3 = &temp0;
2522}
2523{
2524 _arg4 = &temp1;
2525}
2526{
2527 _arg5 = &temp2;
2528}
efc5f224 2529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxWindow_GetFullTextExtent",_kwnames,&_argo0,&_obj1,&_argo6))
af309447 2530 return NULL;
1d99702e
RD
2531 if (_argo0) {
2532 if (_argo0 == Py_None) { _arg0 = NULL; }
2533 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
af309447
RD
2534 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
2535 return NULL;
2536 }
2537 }
2538{
c8bc7bb8
RD
2539 _arg1 = wxString_in_helper(_obj1);
2540 if (_arg1 == NULL)
af309447 2541 return NULL;
af309447 2542}
1d99702e
RD
2543 if (_argo6) {
2544 if (_argo6 == Py_None) { _arg6 = NULL; }
2545 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxFont_p")) {
af309447
RD
2546 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
2547 return NULL;
2548 }
2549 }
cf694132 2550{
474c48f9 2551 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2552 wxWindow_GetFullTextExtent(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
cf694132 2553
474c48f9 2554 wxPyEndAllowThreads(__tstate);
4dfaa61e 2555 if (PyErr_Occurred()) return NULL;
cf694132 2556} Py_INCREF(Py_None);
af309447
RD
2557 _resultobj = Py_None;
2558{
2559 PyObject *o;
2560 o = PyInt_FromLong((long) (*_arg2));
2561 _resultobj = t_output_helper(_resultobj, o);
2562}
2563{
2564 PyObject *o;
2565 o = PyInt_FromLong((long) (*_arg3));
2566 _resultobj = t_output_helper(_resultobj, o);
2567}
2568{
2569 PyObject *o;
2570 o = PyInt_FromLong((long) (*_arg4));
2571 _resultobj = t_output_helper(_resultobj, o);
2572}
2573{
2574 PyObject *o;
2575 o = PyInt_FromLong((long) (*_arg5));
2576 _resultobj = t_output_helper(_resultobj, o);
2577}
2578{
2579 if (_obj1)
2580 delete _arg1;
2581}
2582 return _resultobj;
2583}
2584
8ab979d7 2585#define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
efc5f224 2586static PyObject *_wrap_wxWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2587 PyObject * _resultobj;
2588 wxString * _result;
2589 wxWindow * _arg0;
1d99702e 2590 PyObject * _argo0 = 0;
efc5f224 2591 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2592
2593 self = self;
efc5f224 2594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetTitle",_kwnames,&_argo0))
8ab979d7 2595 return NULL;
1d99702e
RD
2596 if (_argo0) {
2597 if (_argo0 == Py_None) { _arg0 = NULL; }
2598 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2599 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
2600 return NULL;
2601 }
2602 }
8ab979d7 2603{
474c48f9 2604 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2605 _result = new wxString (wxWindow_GetTitle(_arg0));
cf694132 2606
474c48f9 2607 wxPyEndAllowThreads(__tstate);
4dfaa61e 2608 if (PyErr_Occurred()) return NULL;
cf694132 2609}{
c8bc7bb8
RD
2610#if wxUSE_UNICODE
2611 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
2612#else
eec92d76 2613 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 2614#endif
8ab979d7
RD
2615}
2616{
2617 delete _result;
2618}
2619 return _resultobj;
2620}
2621
8bf5d46e 2622#define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
efc5f224 2623static PyObject *_wrap_wxWindow_GetUpdateRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
8bf5d46e
RD
2624 PyObject * _resultobj;
2625 wxRegion * _result;
2626 wxWindow * _arg0;
1d99702e 2627 PyObject * _argo0 = 0;
efc5f224 2628 char *_kwnames[] = { "self", NULL };
8bf5d46e
RD
2629 char _ptemp[128];
2630
2631 self = self;
efc5f224 2632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetUpdateRegion",_kwnames,&_argo0))
8bf5d46e 2633 return NULL;
1d99702e
RD
2634 if (_argo0) {
2635 if (_argo0 == Py_None) { _arg0 = NULL; }
2636 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8bf5d46e
RD
2637 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
2638 return NULL;
2639 }
2640 }
2641{
474c48f9 2642 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2643 _result = new wxRegion (wxWindow_GetUpdateRegion(_arg0));
8bf5d46e 2644
474c48f9 2645 wxPyEndAllowThreads(__tstate);
4dfaa61e 2646 if (PyErr_Occurred()) return NULL;
8bf5d46e
RD
2647} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRegion_p");
2648 _resultobj = Py_BuildValue("s",_ptemp);
2649 return _resultobj;
2650}
2651
8ab979d7 2652#define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
efc5f224 2653static PyObject *_wrap_wxWindow_GetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2654 PyObject * _resultobj;
2655 long _result;
2656 wxWindow * _arg0;
1d99702e 2657 PyObject * _argo0 = 0;
efc5f224 2658 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2659
2660 self = self;
efc5f224 2661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetWindowStyleFlag",_kwnames,&_argo0))
8ab979d7 2662 return NULL;
1d99702e
RD
2663 if (_argo0) {
2664 if (_argo0 == Py_None) { _arg0 = NULL; }
2665 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2666 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
2667 return NULL;
2668 }
2669 }
cf694132 2670{
474c48f9 2671 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2672 _result = (long )wxWindow_GetWindowStyleFlag(_arg0);
cf694132 2673
474c48f9 2674 wxPyEndAllowThreads(__tstate);
4dfaa61e 2675 if (PyErr_Occurred()) return NULL;
cf694132 2676} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
2677 return _resultobj;
2678}
2679
f6bcfd97
BP
2680#define wxWindow_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
2681static PyObject *_wrap_wxWindow_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
2682 PyObject * _resultobj;
2683 wxWindow * _arg0;
2684 long _arg1;
2685 PyObject * _argo0 = 0;
2686 char *_kwnames[] = { "self","style", NULL };
2687
2688 self = self;
2689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxWindow_SetWindowStyleFlag",_kwnames,&_argo0,&_arg1))
2690 return NULL;
2691 if (_argo0) {
2692 if (_argo0 == Py_None) { _arg0 = NULL; }
2693 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2694 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetWindowStyleFlag. Expected _wxWindow_p.");
2695 return NULL;
2696 }
2697 }
2698{
474c48f9 2699 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2700 wxWindow_SetWindowStyleFlag(_arg0,_arg1);
f6bcfd97 2701
474c48f9 2702 wxPyEndAllowThreads(__tstate);
4dfaa61e 2703 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2704} Py_INCREF(Py_None);
2705 _resultobj = Py_None;
2706 return _resultobj;
2707}
2708
2709#define wxWindow_SetWindowStyle(_swigobj,_swigarg0) (_swigobj->SetWindowStyle(_swigarg0))
2710static PyObject *_wrap_wxWindow_SetWindowStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
2711 PyObject * _resultobj;
2712 wxWindow * _arg0;
2713 long _arg1;
2714 PyObject * _argo0 = 0;
2715 char *_kwnames[] = { "self","style", NULL };
2716
2717 self = self;
2718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxWindow_SetWindowStyle",_kwnames,&_argo0,&_arg1))
2719 return NULL;
2720 if (_argo0) {
2721 if (_argo0 == Py_None) { _arg0 = NULL; }
2722 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2723 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetWindowStyle. Expected _wxWindow_p.");
2724 return NULL;
2725 }
2726 }
2727{
474c48f9 2728 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2729 wxWindow_SetWindowStyle(_arg0,_arg1);
f6bcfd97 2730
474c48f9 2731 wxPyEndAllowThreads(__tstate);
4dfaa61e 2732 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2733} Py_INCREF(Py_None);
2734 _resultobj = Py_None;
2735 return _resultobj;
2736}
2737
8cb49012
RD
2738#define wxWindow_HasScrollbar(_swigobj,_swigarg0) (_swigobj->HasScrollbar(_swigarg0))
2739static PyObject *_wrap_wxWindow_HasScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
2740 PyObject * _resultobj;
2741 bool _result;
2742 wxWindow * _arg0;
2743 int _arg1;
2744 PyObject * _argo0 = 0;
2745 char *_kwnames[] = { "self","orient", NULL };
2746
2747 self = self;
2748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_HasScrollbar",_kwnames,&_argo0,&_arg1))
2749 return NULL;
2750 if (_argo0) {
2751 if (_argo0 == Py_None) { _arg0 = NULL; }
2752 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2753 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_HasScrollbar. Expected _wxWindow_p.");
2754 return NULL;
2755 }
2756 }
2757{
2758 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2759 _result = (bool )wxWindow_HasScrollbar(_arg0,_arg1);
8cb49012
RD
2760
2761 wxPyEndAllowThreads(__tstate);
2762 if (PyErr_Occurred()) return NULL;
2763} _resultobj = Py_BuildValue("i",_result);
2764 return _resultobj;
2765}
2766
bb0054cd 2767#define wxWindow_Hide(_swigobj) (_swigobj->Hide())
efc5f224 2768static PyObject *_wrap_wxWindow_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
2769 PyObject * _resultobj;
2770 bool _result;
2771 wxWindow * _arg0;
1d99702e 2772 PyObject * _argo0 = 0;
efc5f224 2773 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
2774
2775 self = self;
efc5f224 2776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Hide",_kwnames,&_argo0))
bb0054cd 2777 return NULL;
1d99702e
RD
2778 if (_argo0) {
2779 if (_argo0 == Py_None) { _arg0 = NULL; }
2780 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
bb0054cd
RD
2781 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
2782 return NULL;
2783 }
2784 }
2785{
474c48f9 2786 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2787 _result = (bool )wxWindow_Hide(_arg0);
bb0054cd 2788
474c48f9 2789 wxPyEndAllowThreads(__tstate);
4dfaa61e 2790 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
2791} _resultobj = Py_BuildValue("i",_result);
2792 return _resultobj;
2793}
2794
8cb49012
RD
2795#define wxWindow_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0))
2796static PyObject *_wrap_wxWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
2797 PyObject * _resultobj;
2798 wxHitTest _result;
2799 wxWindow * _arg0;
2800 wxPoint * _arg1;
2801 PyObject * _argo0 = 0;
2802 wxPoint temp;
2803 PyObject * _obj1 = 0;
2804 char *_kwnames[] = { "self","pt", NULL };
2805
2806 self = self;
2807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_HitTest",_kwnames,&_argo0,&_obj1))
2808 return NULL;
2809 if (_argo0) {
2810 if (_argo0 == Py_None) { _arg0 = NULL; }
2811 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2812 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_HitTest. Expected _wxWindow_p.");
2813 return NULL;
2814 }
2815 }
2816{
2817 _arg1 = &temp;
2818 if (! wxPoint_helper(_obj1, &_arg1))
2819 return NULL;
2820}
2821{
2822 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2823 _result = (wxHitTest )wxWindow_HitTest(_arg0,*_arg1);
8cb49012
RD
2824
2825 wxPyEndAllowThreads(__tstate);
2826 if (PyErr_Occurred()) return NULL;
2827} _resultobj = Py_BuildValue("i",_result);
2828 return _resultobj;
2829}
2830
8ab979d7 2831#define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
efc5f224 2832static PyObject *_wrap_wxWindow_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2833 PyObject * _resultobj;
2834 wxWindow * _arg0;
1d99702e 2835 PyObject * _argo0 = 0;
efc5f224 2836 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2837
2838 self = self;
efc5f224 2839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_InitDialog",_kwnames,&_argo0))
8ab979d7 2840 return NULL;
1d99702e
RD
2841 if (_argo0) {
2842 if (_argo0 == Py_None) { _arg0 = NULL; }
2843 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2844 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
2845 return NULL;
2846 }
2847 }
cf694132 2848{
474c48f9 2849 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2850 wxWindow_InitDialog(_arg0);
cf694132 2851
474c48f9 2852 wxPyEndAllowThreads(__tstate);
4dfaa61e 2853 if (PyErr_Occurred()) return NULL;
cf694132 2854} Py_INCREF(Py_None);
8ab979d7
RD
2855 _resultobj = Py_None;
2856 return _resultobj;
2857}
2858
2859#define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
efc5f224 2860static PyObject *_wrap_wxWindow_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2861 PyObject * _resultobj;
2862 bool _result;
2863 wxWindow * _arg0;
1d99702e 2864 PyObject * _argo0 = 0;
efc5f224 2865 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2866
2867 self = self;
efc5f224 2868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_IsEnabled",_kwnames,&_argo0))
8ab979d7 2869 return NULL;
1d99702e
RD
2870 if (_argo0) {
2871 if (_argo0 == Py_None) { _arg0 = NULL; }
2872 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2873 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
2874 return NULL;
2875 }
2876 }
cf694132 2877{
474c48f9 2878 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2879 _result = (bool )wxWindow_IsEnabled(_arg0);
cf694132 2880
474c48f9 2881 wxPyEndAllowThreads(__tstate);
4dfaa61e 2882 if (PyErr_Occurred()) return NULL;
cf694132 2883} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2884 return _resultobj;
2885}
2886
1b55cabf
RD
2887#define wxWindow_IsExposed(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->IsExposed(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2888static PyObject *_wrap_wxWindow_IsExposed(PyObject *self, PyObject *args, PyObject *kwargs) {
2889 PyObject * _resultobj;
2890 bool _result;
2891 wxWindow * _arg0;
2892 int _arg1;
2893 int _arg2;
2894 int _arg3 = (int ) 0;
2895 int _arg4 = (int ) 0;
2896 PyObject * _argo0 = 0;
2897 char *_kwnames[] = { "self","x","y","w","h", NULL };
2898
2899 self = self;
2900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|ii:wxWindow_IsExposed",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2901 return NULL;
2902 if (_argo0) {
2903 if (_argo0 == Py_None) { _arg0 = NULL; }
2904 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2905 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsExposed. Expected _wxWindow_p.");
2906 return NULL;
2907 }
2908 }
2909{
474c48f9 2910 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2911 _result = (bool )wxWindow_IsExposed(_arg0,_arg1,_arg2,_arg3,_arg4);
1b55cabf 2912
474c48f9 2913 wxPyEndAllowThreads(__tstate);
4dfaa61e 2914 if (PyErr_Occurred()) return NULL;
1b55cabf
RD
2915} _resultobj = Py_BuildValue("i",_result);
2916 return _resultobj;
2917}
2918
2919#define wxWindow_IsExposedPoint(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
2920static PyObject *_wrap_wxWindow_IsExposedPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2921 PyObject * _resultobj;
2922 bool _result;
2923 wxWindow * _arg0;
2924 wxPoint * _arg1;
2925 PyObject * _argo0 = 0;
2926 wxPoint temp;
2927 PyObject * _obj1 = 0;
2928 char *_kwnames[] = { "self","pt", NULL };
2929
2930 self = self;
2931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_IsExposedPoint",_kwnames,&_argo0,&_obj1))
2932 return NULL;
2933 if (_argo0) {
2934 if (_argo0 == Py_None) { _arg0 = NULL; }
2935 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2936 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsExposedPoint. Expected _wxWindow_p.");
2937 return NULL;
2938 }
2939 }
2940{
2941 _arg1 = &temp;
2942 if (! wxPoint_helper(_obj1, &_arg1))
2943 return NULL;
2944}
2945{
474c48f9 2946 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2947 _result = (bool )wxWindow_IsExposedPoint(_arg0,*_arg1);
1b55cabf 2948
474c48f9 2949 wxPyEndAllowThreads(__tstate);
4dfaa61e 2950 if (PyErr_Occurred()) return NULL;
1b55cabf
RD
2951} _resultobj = Py_BuildValue("i",_result);
2952 return _resultobj;
2953}
2954
2955#define wxWindow_IsExposedRect(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
2956static PyObject *_wrap_wxWindow_IsExposedRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2957 PyObject * _resultobj;
2958 bool _result;
2959 wxWindow * _arg0;
2960 wxRect * _arg1;
2961 PyObject * _argo0 = 0;
2962 wxRect temp;
2963 PyObject * _obj1 = 0;
2964 char *_kwnames[] = { "self","rect", NULL };
2965
2966 self = self;
2967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_IsExposedRect",_kwnames,&_argo0,&_obj1))
2968 return NULL;
2969 if (_argo0) {
2970 if (_argo0 == Py_None) { _arg0 = NULL; }
2971 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2972 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsExposedRect. Expected _wxWindow_p.");
2973 return NULL;
2974 }
2975 }
2976{
2977 _arg1 = &temp;
2978 if (! wxRect_helper(_obj1, &_arg1))
2979 return NULL;
2980}
2981{
474c48f9 2982 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2983 _result = (bool )wxWindow_IsExposedRect(_arg0,*_arg1);
1b55cabf 2984
474c48f9 2985 wxPyEndAllowThreads(__tstate);
4dfaa61e 2986 if (PyErr_Occurred()) return NULL;
1b55cabf
RD
2987} _resultobj = Py_BuildValue("i",_result);
2988 return _resultobj;
2989}
2990
8ab979d7 2991#define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
efc5f224 2992static PyObject *_wrap_wxWindow_IsRetained(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2993 PyObject * _resultobj;
2994 bool _result;
2995 wxWindow * _arg0;
1d99702e 2996 PyObject * _argo0 = 0;
efc5f224 2997 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2998
2999 self = self;
efc5f224 3000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_IsRetained",_kwnames,&_argo0))
8ab979d7 3001 return NULL;
1d99702e
RD
3002 if (_argo0) {
3003 if (_argo0 == Py_None) { _arg0 = NULL; }
3004 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3005 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
3006 return NULL;
3007 }
3008 }
cf694132 3009{
474c48f9 3010 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3011 _result = (bool )wxWindow_IsRetained(_arg0);
cf694132 3012
474c48f9 3013 wxPyEndAllowThreads(__tstate);
4dfaa61e 3014 if (PyErr_Occurred()) return NULL;
cf694132 3015} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3016 return _resultobj;
3017}
3018
3019#define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
efc5f224 3020static PyObject *_wrap_wxWindow_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3021 PyObject * _resultobj;
3022 bool _result;
3023 wxWindow * _arg0;
1d99702e 3024 PyObject * _argo0 = 0;
efc5f224 3025 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3026
3027 self = self;
efc5f224 3028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_IsShown",_kwnames,&_argo0))
8ab979d7 3029 return NULL;
1d99702e
RD
3030 if (_argo0) {
3031 if (_argo0 == Py_None) { _arg0 = NULL; }
3032 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3033 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
3034 return NULL;
3035 }
3036 }
cf694132 3037{
474c48f9 3038 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3039 _result = (bool )wxWindow_IsShown(_arg0);
cf694132 3040
474c48f9 3041 wxPyEndAllowThreads(__tstate);
4dfaa61e 3042 if (PyErr_Occurred()) return NULL;
cf694132 3043} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3044 return _resultobj;
3045}
3046
bb0054cd 3047#define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
efc5f224 3048static PyObject *_wrap_wxWindow_IsTopLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
3049 PyObject * _resultobj;
3050 bool _result;
3051 wxWindow * _arg0;
1d99702e 3052 PyObject * _argo0 = 0;
efc5f224 3053 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
3054
3055 self = self;
efc5f224 3056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_IsTopLevel",_kwnames,&_argo0))
bb0054cd 3057 return NULL;
1d99702e
RD
3058 if (_argo0) {
3059 if (_argo0 == Py_None) { _arg0 = NULL; }
3060 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
bb0054cd
RD
3061 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
3062 return NULL;
3063 }
3064 }
3065{
474c48f9 3066 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3067 _result = (bool )wxWindow_IsTopLevel(_arg0);
bb0054cd 3068
474c48f9 3069 wxPyEndAllowThreads(__tstate);
4dfaa61e 3070 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
3071} _resultobj = Py_BuildValue("i",_result);
3072 return _resultobj;
3073}
3074
8ab979d7 3075#define wxWindow_Layout(_swigobj) (_swigobj->Layout())
efc5f224 3076static PyObject *_wrap_wxWindow_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3077 PyObject * _resultobj;
3078 wxWindow * _arg0;
1d99702e 3079 PyObject * _argo0 = 0;
efc5f224 3080 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3081
3082 self = self;
efc5f224 3083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Layout",_kwnames,&_argo0))
8ab979d7 3084 return NULL;
1d99702e
RD
3085 if (_argo0) {
3086 if (_argo0 == Py_None) { _arg0 = NULL; }
3087 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3088 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
3089 return NULL;
3090 }
3091 }
cf694132 3092{
474c48f9 3093 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3094 wxWindow_Layout(_arg0);
cf694132 3095
474c48f9 3096 wxPyEndAllowThreads(__tstate);
4dfaa61e 3097 if (PyErr_Occurred()) return NULL;
cf694132 3098} Py_INCREF(Py_None);
8ab979d7
RD
3099 _resultobj = Py_None;
3100 return _resultobj;
3101}
3102
3103#define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
efc5f224 3104static PyObject *_wrap_wxWindow_LoadFromResource(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3105 PyObject * _resultobj;
3106 bool _result;
3107 wxWindow * _arg0;
3108 wxWindow * _arg1;
3109 wxString * _arg2;
1d99702e
RD
3110 wxResourceTable * _arg3 = (wxResourceTable *) NULL;
3111 PyObject * _argo0 = 0;
3112 PyObject * _argo1 = 0;
8ab979d7 3113 PyObject * _obj2 = 0;
1d99702e 3114 PyObject * _argo3 = 0;
efc5f224 3115 char *_kwnames[] = { "self","parent","resourceName","resourceTable", NULL };
8ab979d7
RD
3116
3117 self = self;
efc5f224 3118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|O:wxWindow_LoadFromResource",_kwnames,&_argo0,&_argo1,&_obj2,&_argo3))
8ab979d7 3119 return NULL;
1d99702e
RD
3120 if (_argo0) {
3121 if (_argo0 == Py_None) { _arg0 = NULL; }
3122 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3123 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
3124 return NULL;
3125 }
3126 }
1d99702e
RD
3127 if (_argo1) {
3128 if (_argo1 == Py_None) { _arg1 = NULL; }
3129 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
8ab979d7
RD
3130 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
3131 return NULL;
3132 }
3133 }
3134{
c8bc7bb8
RD
3135 _arg2 = wxString_in_helper(_obj2);
3136 if (_arg2 == NULL)
8ab979d7 3137 return NULL;
8ab979d7 3138}
1d99702e
RD
3139 if (_argo3) {
3140 if (_argo3 == Py_None) { _arg3 = NULL; }
3141 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxResourceTable_p")) {
8ab979d7
RD
3142 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
3143 return NULL;
3144 }
3145 }
cf694132 3146{
474c48f9 3147 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3148 _result = (bool )wxWindow_LoadFromResource(_arg0,_arg1,*_arg2,_arg3);
cf694132 3149
474c48f9 3150 wxPyEndAllowThreads(__tstate);
4dfaa61e 3151 if (PyErr_Occurred()) return NULL;
cf694132 3152} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3153{
3154 if (_obj2)
3155 delete _arg2;
3156}
3157 return _resultobj;
3158}
3159
3160#define wxWindow_Lower(_swigobj) (_swigobj->Lower())
efc5f224 3161static PyObject *_wrap_wxWindow_Lower(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3162 PyObject * _resultobj;
3163 wxWindow * _arg0;
1d99702e 3164 PyObject * _argo0 = 0;
efc5f224 3165 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3166
3167 self = self;
efc5f224 3168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Lower",_kwnames,&_argo0))
8ab979d7 3169 return NULL;
1d99702e
RD
3170 if (_argo0) {
3171 if (_argo0 == Py_None) { _arg0 = NULL; }
3172 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3173 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
3174 return NULL;
3175 }
3176 }
cf694132 3177{
474c48f9 3178 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3179 wxWindow_Lower(_arg0);
cf694132 3180
474c48f9 3181 wxPyEndAllowThreads(__tstate);
4dfaa61e 3182 if (PyErr_Occurred()) return NULL;
cf694132 3183} Py_INCREF(Py_None);
8ab979d7
RD
3184 _resultobj = Py_None;
3185 return _resultobj;
3186}
3187
3188#define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
efc5f224 3189static PyObject *_wrap_wxWindow_MakeModal(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3190 PyObject * _resultobj;
3191 wxWindow * _arg0;
65191ae8 3192 bool _arg1 = (bool ) TRUE;
1d99702e 3193 PyObject * _argo0 = 0;
65191ae8 3194 int tempbool1 = (int) TRUE;
efc5f224 3195 char *_kwnames[] = { "self","flag", NULL };
8ab979d7
RD
3196
3197 self = self;
65191ae8 3198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_MakeModal",_kwnames,&_argo0,&tempbool1))
8ab979d7 3199 return NULL;
1d99702e
RD
3200 if (_argo0) {
3201 if (_argo0 == Py_None) { _arg0 = NULL; }
3202 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3203 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
3204 return NULL;
3205 }
3206 }
3207 _arg1 = (bool ) tempbool1;
cf694132 3208{
474c48f9 3209 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3210 wxWindow_MakeModal(_arg0,_arg1);
cf694132 3211
474c48f9 3212 wxPyEndAllowThreads(__tstate);
4dfaa61e 3213 if (PyErr_Occurred()) return NULL;
cf694132 3214} Py_INCREF(Py_None);
8ab979d7
RD
3215 _resultobj = Py_None;
3216 return _resultobj;
3217}
3218
8cb49012 3219#define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Move(_swigarg0,_swigarg1,_swigarg2))
efc5f224 3220static PyObject *_wrap_wxWindow_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3221 PyObject * _resultobj;
3222 wxWindow * _arg0;
3223 int _arg1;
3224 int _arg2;
8cb49012 3225 int _arg3 = (int ) wxSIZE_USE_EXISTING;
1d99702e 3226 PyObject * _argo0 = 0;
8cb49012 3227 char *_kwnames[] = { "self","x","y","flags", NULL };
8ab979d7
RD
3228
3229 self = self;
8cb49012 3230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxWindow_MoveXY",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
af309447 3231 return NULL;
1d99702e
RD
3232 if (_argo0) {
3233 if (_argo0 == Py_None) { _arg0 = NULL; }
3234 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
af309447
RD
3235 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
3236 return NULL;
3237 }
3238 }
cf694132 3239{
474c48f9 3240 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3241 wxWindow_MoveXY(_arg0,_arg1,_arg2,_arg3);
cf694132 3242
474c48f9 3243 wxPyEndAllowThreads(__tstate);
4dfaa61e 3244 if (PyErr_Occurred()) return NULL;
cf694132 3245} Py_INCREF(Py_None);
af309447
RD
3246 _resultobj = Py_None;
3247 return _resultobj;
3248}
3249
8cb49012 3250#define wxWindow_Move(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
efc5f224 3251static PyObject *_wrap_wxWindow_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
3252 PyObject * _resultobj;
3253 wxWindow * _arg0;
3254 wxPoint * _arg1;
8cb49012 3255 int _arg2 = (int ) wxSIZE_USE_EXISTING;
1d99702e 3256 PyObject * _argo0 = 0;
2f90df85
RD
3257 wxPoint temp;
3258 PyObject * _obj1 = 0;
8cb49012 3259 char *_kwnames[] = { "self","point","flags", NULL };
af309447
RD
3260
3261 self = self;
8cb49012 3262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxWindow_Move",_kwnames,&_argo0,&_obj1,&_arg2))
8ab979d7 3263 return NULL;
1d99702e
RD
3264 if (_argo0) {
3265 if (_argo0 == Py_None) { _arg0 = NULL; }
3266 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3267 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
3268 return NULL;
3269 }
3270 }
2f90df85
RD
3271{
3272 _arg1 = &temp;
3273 if (! wxPoint_helper(_obj1, &_arg1))
af309447 3274 return NULL;
2f90df85 3275}
cf694132 3276{
474c48f9 3277 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3278 wxWindow_Move(_arg0,*_arg1,_arg2);
cf694132 3279
474c48f9 3280 wxPyEndAllowThreads(__tstate);
4dfaa61e 3281 if (PyErr_Occurred()) return NULL;
cf694132 3282} Py_INCREF(Py_None);
8ab979d7
RD
3283 _resultobj = Py_None;
3284 return _resultobj;
3285}
3286
1afc06c2
RD
3287#define wxWindow_PopEventHandler(_swigobj,_swigarg0) (_swigobj->PopEventHandler(_swigarg0))
3288static PyObject *_wrap_wxWindow_PopEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
3289 PyObject * _resultobj;
3290 wxEvtHandler * _result;
3291 wxWindow * _arg0;
3292 bool _arg1 = (bool ) FALSE;
3293 PyObject * _argo0 = 0;
3294 int tempbool1 = (int) FALSE;
3295 char *_kwnames[] = { "self","deleteHandler", NULL };
1afc06c2
RD
3296
3297 self = self;
3298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_PopEventHandler",_kwnames,&_argo0,&tempbool1))
3299 return NULL;
3300 if (_argo0) {
3301 if (_argo0 == Py_None) { _arg0 = NULL; }
3302 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3303 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PopEventHandler. Expected _wxWindow_p.");
3304 return NULL;
3305 }
3306 }
3307 _arg1 = (bool ) tempbool1;
3308{
474c48f9 3309 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3310 _result = (wxEvtHandler *)wxWindow_PopEventHandler(_arg0,_arg1);
1afc06c2 3311
474c48f9 3312 wxPyEndAllowThreads(__tstate);
4dfaa61e 3313 if (PyErr_Occurred()) return NULL;
9df61a29 3314}{ _resultobj = wxPyMake_wxObject(_result); }
1afc06c2
RD
3315 return _resultobj;
3316}
3317
3318#define wxWindow_PushEventHandler(_swigobj,_swigarg0) (_swigobj->PushEventHandler(_swigarg0))
3319static PyObject *_wrap_wxWindow_PushEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
3320 PyObject * _resultobj;
3321 wxWindow * _arg0;
3322 wxEvtHandler * _arg1;
3323 PyObject * _argo0 = 0;
3324 PyObject * _argo1 = 0;
3325 char *_kwnames[] = { "self","handler", NULL };
3326
3327 self = self;
3328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_PushEventHandler",_kwnames,&_argo0,&_argo1))
3329 return NULL;
3330 if (_argo0) {
3331 if (_argo0 == Py_None) { _arg0 = NULL; }
3332 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3333 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PushEventHandler. Expected _wxWindow_p.");
3334 return NULL;
3335 }
3336 }
3337 if (_argo1) {
3338 if (_argo1 == Py_None) { _arg1 = NULL; }
3339 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
3340 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_PushEventHandler. Expected _wxEvtHandler_p.");
3341 return NULL;
3342 }
3343 }
3344{
474c48f9 3345 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3346 wxWindow_PushEventHandler(_arg0,_arg1);
1afc06c2 3347
474c48f9 3348 wxPyEndAllowThreads(__tstate);
4dfaa61e 3349 if (PyErr_Occurred()) return NULL;
1afc06c2
RD
3350} Py_INCREF(Py_None);
3351 _resultobj = Py_None;
3352 return _resultobj;
3353}
3354
5d413391
RD
3355#define wxWindow_RemoveEventHandler(_swigobj,_swigarg0) (_swigobj->RemoveEventHandler(_swigarg0))
3356static PyObject *_wrap_wxWindow_RemoveEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
3357 PyObject * _resultobj;
3358 bool _result;
3359 wxWindow * _arg0;
3360 wxEvtHandler * _arg1;
3361 PyObject * _argo0 = 0;
3362 PyObject * _argo1 = 0;
3363 char *_kwnames[] = { "self","handler", NULL };
3364
3365 self = self;
3366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_RemoveEventHandler",_kwnames,&_argo0,&_argo1))
3367 return NULL;
3368 if (_argo0) {
3369 if (_argo0 == Py_None) { _arg0 = NULL; }
3370 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3371 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_RemoveEventHandler. Expected _wxWindow_p.");
3372 return NULL;
3373 }
3374 }
3375 if (_argo1) {
3376 if (_argo1 == Py_None) { _arg1 = NULL; }
3377 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
3378 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_RemoveEventHandler. Expected _wxEvtHandler_p.");
3379 return NULL;
3380 }
3381 }
3382{
3383 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3384 _result = (bool )wxWindow_RemoveEventHandler(_arg0,_arg1);
5d413391
RD
3385
3386 wxPyEndAllowThreads(__tstate);
3387 if (PyErr_Occurred()) return NULL;
3388} _resultobj = Py_BuildValue("i",_result);
3389 return _resultobj;
3390}
3391
8bf5d46e 3392#define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
efc5f224 3393static PyObject *_wrap_wxWindow_PopupMenuXY(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3394 PyObject * _resultobj;
3395 bool _result;
3396 wxWindow * _arg0;
3397 wxMenu * _arg1;
3398 int _arg2;
3399 int _arg3;
1d99702e
RD
3400 PyObject * _argo0 = 0;
3401 PyObject * _argo1 = 0;
efc5f224 3402 char *_kwnames[] = { "self","menu","x","y", NULL };
8ab979d7
RD
3403
3404 self = self;
efc5f224 3405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxWindow_PopupMenuXY",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
8bf5d46e 3406 return NULL;
1d99702e
RD
3407 if (_argo0) {
3408 if (_argo0 == Py_None) { _arg0 = NULL; }
3409 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8bf5d46e
RD
3410 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
3411 return NULL;
3412 }
3413 }
1d99702e
RD
3414 if (_argo1) {
3415 if (_argo1 == Py_None) { _arg1 = NULL; }
3416 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
8bf5d46e
RD
3417 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
3418 return NULL;
3419 }
3420 }
3421{
474c48f9 3422 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3423 _result = (bool )wxWindow_PopupMenuXY(_arg0,_arg1,_arg2,_arg3);
8bf5d46e 3424
474c48f9 3425 wxPyEndAllowThreads(__tstate);
4dfaa61e 3426 if (PyErr_Occurred()) return NULL;
8bf5d46e
RD
3427} _resultobj = Py_BuildValue("i",_result);
3428 return _resultobj;
3429}
3430
3431#define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
efc5f224 3432static PyObject *_wrap_wxWindow_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
8bf5d46e
RD
3433 PyObject * _resultobj;
3434 bool _result;
3435 wxWindow * _arg0;
3436 wxMenu * _arg1;
3437 wxPoint * _arg2;
1d99702e
RD
3438 PyObject * _argo0 = 0;
3439 PyObject * _argo1 = 0;
2f90df85
RD
3440 wxPoint temp;
3441 PyObject * _obj2 = 0;
efc5f224 3442 char *_kwnames[] = { "self","menu","pos", NULL };
8bf5d46e
RD
3443
3444 self = self;
2f90df85 3445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxWindow_PopupMenu",_kwnames,&_argo0,&_argo1,&_obj2))
8ab979d7 3446 return NULL;
1d99702e
RD
3447 if (_argo0) {
3448 if (_argo0 == Py_None) { _arg0 = NULL; }
3449 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3450 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
3451 return NULL;
3452 }
3453 }
1d99702e
RD
3454 if (_argo1) {
3455 if (_argo1 == Py_None) { _arg1 = NULL; }
3456 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
8ab979d7
RD
3457 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
3458 return NULL;
3459 }
3460 }
2f90df85
RD
3461{
3462 _arg2 = &temp;
3463 if (! wxPoint_helper(_obj2, &_arg2))
8bf5d46e 3464 return NULL;
2f90df85 3465}
cf694132 3466{
474c48f9 3467 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3468 _result = (bool )wxWindow_PopupMenu(_arg0,_arg1,*_arg2);
cf694132 3469
474c48f9 3470 wxPyEndAllowThreads(__tstate);
4dfaa61e 3471 if (PyErr_Occurred()) return NULL;
cf694132 3472} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3473 return _resultobj;
3474}
3475
3476#define wxWindow_Raise(_swigobj) (_swigobj->Raise())
efc5f224 3477static PyObject *_wrap_wxWindow_Raise(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3478 PyObject * _resultobj;
3479 wxWindow * _arg0;
1d99702e 3480 PyObject * _argo0 = 0;
efc5f224 3481 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3482
3483 self = self;
efc5f224 3484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Raise",_kwnames,&_argo0))
8ab979d7 3485 return NULL;
1d99702e
RD
3486 if (_argo0) {
3487 if (_argo0 == Py_None) { _arg0 = NULL; }
3488 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3489 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
3490 return NULL;
3491 }
3492 }
cf694132 3493{
474c48f9 3494 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3495 wxWindow_Raise(_arg0);
cf694132 3496
474c48f9 3497 wxPyEndAllowThreads(__tstate);
4dfaa61e 3498 if (PyErr_Occurred()) return NULL;
cf694132 3499} Py_INCREF(Py_None);
8ab979d7
RD
3500 _resultobj = Py_None;
3501 return _resultobj;
3502}
3503
3504#define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
efc5f224 3505static PyObject *_wrap_wxWindow_Refresh(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3506 PyObject * _resultobj;
3507 wxWindow * _arg0;
1d99702e
RD
3508 bool _arg1 = (bool ) TRUE;
3509 wxRect * _arg2 = (wxRect *) NULL;
3510 PyObject * _argo0 = 0;
3511 int tempbool1 = (int) TRUE;
2f90df85
RD
3512 wxRect temp;
3513 PyObject * _obj2 = 0;
efc5f224 3514 char *_kwnames[] = { "self","eraseBackground","rect", NULL };
8ab979d7
RD
3515
3516 self = self;
2f90df85 3517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iO:wxWindow_Refresh",_kwnames,&_argo0,&tempbool1,&_obj2))
8ab979d7 3518 return NULL;
1d99702e
RD
3519 if (_argo0) {
3520 if (_argo0 == Py_None) { _arg0 = NULL; }
3521 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3522 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
3523 return NULL;
3524 }
3525 }
3526 _arg1 = (bool ) tempbool1;
2f90df85
RD
3527 if (_obj2)
3528{
3529 _arg2 = &temp;
3530 if (! wxRect_helper(_obj2, &_arg2))
8ab979d7 3531 return NULL;
2f90df85 3532}
cf694132 3533{
474c48f9 3534 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3535 wxWindow_Refresh(_arg0,_arg1,_arg2);
cf694132 3536
474c48f9 3537 wxPyEndAllowThreads(__tstate);
4dfaa61e 3538 if (PyErr_Occurred()) return NULL;
cf694132 3539} Py_INCREF(Py_None);
8ab979d7
RD
3540 _resultobj = Py_None;
3541 return _resultobj;
3542}
3543
aa2a5b86
RD
3544#define wxWindow_RefreshRect(_swigobj,_swigarg0) (_swigobj->RefreshRect(_swigarg0))
3545static PyObject *_wrap_wxWindow_RefreshRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3546 PyObject * _resultobj;
3547 wxWindow * _arg0;
3548 wxRect * _arg1;
3549 PyObject * _argo0 = 0;
3550 wxRect temp;
3551 PyObject * _obj1 = 0;
3552 char *_kwnames[] = { "self","rect", NULL };
3553
3554 self = self;
3555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_RefreshRect",_kwnames,&_argo0,&_obj1))
3556 return NULL;
3557 if (_argo0) {
3558 if (_argo0 == Py_None) { _arg0 = NULL; }
3559 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3560 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_RefreshRect. Expected _wxWindow_p.");
3561 return NULL;
3562 }
3563 }
3564{
3565 _arg1 = &temp;
3566 if (! wxRect_helper(_obj1, &_arg1))
3567 return NULL;
3568}
3569{
474c48f9 3570 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3571 wxWindow_RefreshRect(_arg0,*_arg1);
aa2a5b86 3572
474c48f9 3573 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
3574 if (PyErr_Occurred()) return NULL;
3575} Py_INCREF(Py_None);
3576 _resultobj = Py_None;
3577 return _resultobj;
3578}
3579
b7e72427
RD
3580#define wxWindow_RemoveChild(_swigobj,_swigarg0) (_swigobj->RemoveChild(_swigarg0))
3581static PyObject *_wrap_wxWindow_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
3582 PyObject * _resultobj;
3583 wxWindow * _arg0;
3584 wxWindow * _arg1;
3585 PyObject * _argo0 = 0;
3586 PyObject * _argo1 = 0;
3587 char *_kwnames[] = { "self","child", NULL };
3588
3589 self = self;
3590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_RemoveChild",_kwnames,&_argo0,&_argo1))
3591 return NULL;
3592 if (_argo0) {
3593 if (_argo0 == Py_None) { _arg0 = NULL; }
3594 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3595 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3596 return NULL;
3597 }
3598 }
3599 if (_argo1) {
3600 if (_argo1 == Py_None) { _arg1 = NULL; }
3601 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
3602 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3603 return NULL;
3604 }
3605 }
3606{
474c48f9 3607 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3608 wxWindow_RemoveChild(_arg0,_arg1);
b7e72427 3609
474c48f9 3610 wxPyEndAllowThreads(__tstate);
4dfaa61e 3611 if (PyErr_Occurred()) return NULL;
b7e72427
RD
3612} Py_INCREF(Py_None);
3613 _resultobj = Py_None;
3614 return _resultobj;
3615}
3616
bb0054cd 3617#define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
efc5f224 3618static PyObject *_wrap_wxWindow_Reparent(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
3619 PyObject * _resultobj;
3620 bool _result;
3621 wxWindow * _arg0;
3622 wxWindow * _arg1;
1d99702e
RD
3623 PyObject * _argo0 = 0;
3624 PyObject * _argo1 = 0;
efc5f224 3625 char *_kwnames[] = { "self","newParent", NULL };
bb0054cd
RD
3626
3627 self = self;
efc5f224 3628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_Reparent",_kwnames,&_argo0,&_argo1))
bb0054cd 3629 return NULL;
1d99702e
RD
3630 if (_argo0) {
3631 if (_argo0 == Py_None) { _arg0 = NULL; }
3632 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
bb0054cd
RD
3633 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
3634 return NULL;
3635 }
3636 }
1d99702e
RD
3637 if (_argo1) {
3638 if (_argo1 == Py_None) { _arg1 = NULL; }
3639 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
bb0054cd
RD
3640 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
3641 return NULL;
3642 }
3643 }
3644{
474c48f9 3645 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3646 _result = (bool )wxWindow_Reparent(_arg0,_arg1);
bb0054cd 3647
474c48f9 3648 wxPyEndAllowThreads(__tstate);
4dfaa61e 3649 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
3650} _resultobj = Py_BuildValue("i",_result);
3651 return _resultobj;
3652}
3653
af309447 3654#define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
efc5f224 3655static PyObject *_wrap_wxWindow_ScreenToClientXY(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3656 PyObject * _resultobj;
3657 wxWindow * _arg0;
3658 int * _arg1;
3659 int * _arg2;
1d99702e 3660 PyObject * _argo0 = 0;
8ab979d7
RD
3661 int temp;
3662 PyObject * _obj1 = 0;
3663 int temp0;
3664 PyObject * _obj2 = 0;
efc5f224 3665 char *_kwnames[] = { "self","x","y", NULL };
8ab979d7
RD
3666
3667 self = self;
efc5f224 3668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxWindow_ScreenToClientXY",_kwnames,&_argo0,&_obj1,&_obj2))
8ab979d7 3669 return NULL;
1d99702e
RD
3670 if (_argo0) {
3671 if (_argo0 == Py_None) { _arg0 = NULL; }
3672 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
af309447 3673 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
8ab979d7
RD
3674 return NULL;
3675 }
3676 }
3677{
3678 temp = (int) PyInt_AsLong(_obj1);
3679 _arg1 = &temp;
3680}
3681{
3682 temp0 = (int) PyInt_AsLong(_obj2);
3683 _arg2 = &temp0;
3684}
cf694132 3685{
474c48f9 3686 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3687 wxWindow_ScreenToClientXY(_arg0,_arg1,_arg2);
cf694132 3688
474c48f9 3689 wxPyEndAllowThreads(__tstate);
4dfaa61e 3690 if (PyErr_Occurred()) return NULL;
cf694132 3691} Py_INCREF(Py_None);
8ab979d7
RD
3692 _resultobj = Py_None;
3693{
3694 PyObject *o;
3695 o = PyInt_FromLong((long) (*_arg1));
3696 _resultobj = t_output_helper(_resultobj, o);
3697}
3698{
3699 PyObject *o;
3700 o = PyInt_FromLong((long) (*_arg2));
3701 _resultobj = t_output_helper(_resultobj, o);
3702}
3703 return _resultobj;
3704}
3705
af309447 3706#define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
efc5f224 3707static PyObject *_wrap_wxWindow_ScreenToClient(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
3708 PyObject * _resultobj;
3709 wxPoint * _result;
3710 wxWindow * _arg0;
3711 wxPoint * _arg1;
1d99702e 3712 PyObject * _argo0 = 0;
2f90df85
RD
3713 wxPoint temp;
3714 PyObject * _obj1 = 0;
efc5f224 3715 char *_kwnames[] = { "self","pt", NULL };
af309447
RD
3716 char _ptemp[128];
3717
3718 self = self;
2f90df85 3719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ScreenToClient",_kwnames,&_argo0,&_obj1))
af309447 3720 return NULL;
1d99702e
RD
3721 if (_argo0) {
3722 if (_argo0 == Py_None) { _arg0 = NULL; }
3723 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
af309447
RD
3724 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
3725 return NULL;
3726 }
3727 }
2f90df85
RD
3728{
3729 _arg1 = &temp;
3730 if (! wxPoint_helper(_obj1, &_arg1))
af309447 3731 return NULL;
2f90df85 3732}
cf694132 3733{
474c48f9 3734 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3735 _result = new wxPoint (wxWindow_ScreenToClient(_arg0,*_arg1));
cf694132 3736
474c48f9 3737 wxPyEndAllowThreads(__tstate);
4dfaa61e 3738 if (PyErr_Occurred()) return NULL;
cf694132 3739} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
af309447
RD
3740 _resultobj = Py_BuildValue("s",_ptemp);
3741 return _resultobj;
3742}
3743
8ab979d7 3744#define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
efc5f224 3745static PyObject *_wrap_wxWindow_ScrollWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3746 PyObject * _resultobj;
3747 wxWindow * _arg0;
3748 int _arg1;
3749 int _arg2;
1d99702e
RD
3750 wxRect * _arg3 = (wxRect *) NULL;
3751 PyObject * _argo0 = 0;
2f90df85
RD
3752 wxRect temp;
3753 PyObject * _obj3 = 0;
efc5f224 3754 char *_kwnames[] = { "self","dx","dy","rect", NULL };
8ab979d7
RD
3755
3756 self = self;
2f90df85 3757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|O:wxWindow_ScrollWindow",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
8ab979d7 3758 return NULL;
1d99702e
RD
3759 if (_argo0) {
3760 if (_argo0 == Py_None) { _arg0 = NULL; }
3761 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3762 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
3763 return NULL;
3764 }
3765 }
2f90df85
RD
3766 if (_obj3)
3767{
3768 _arg3 = &temp;
3769 if (! wxRect_helper(_obj3, &_arg3))
8ab979d7 3770 return NULL;
2f90df85 3771}
cf694132 3772{
474c48f9 3773 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3774 wxWindow_ScrollWindow(_arg0,_arg1,_arg2,_arg3);
cf694132 3775
474c48f9 3776 wxPyEndAllowThreads(__tstate);
4dfaa61e 3777 if (PyErr_Occurred()) return NULL;
cf694132 3778} Py_INCREF(Py_None);
8ab979d7
RD
3779 _resultobj = Py_None;
3780 return _resultobj;
3781}
3782
3783#define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
efc5f224 3784static PyObject *_wrap_wxWindow_SetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3785 PyObject * _resultobj;
3786 wxWindow * _arg0;
3787 bool _arg1;
1d99702e 3788 PyObject * _argo0 = 0;
8ab979d7 3789 int tempbool1;
efc5f224 3790 char *_kwnames[] = { "self","autoLayout", NULL };
8ab979d7
RD
3791
3792 self = self;
efc5f224 3793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_SetAutoLayout",_kwnames,&_argo0,&tempbool1))
8ab979d7 3794 return NULL;
1d99702e
RD
3795 if (_argo0) {
3796 if (_argo0 == Py_None) { _arg0 = NULL; }
3797 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3798 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
3799 return NULL;
3800 }
3801 }
3802 _arg1 = (bool ) tempbool1;
cf694132 3803{
474c48f9 3804 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3805 wxWindow_SetAutoLayout(_arg0,_arg1);
cf694132 3806
474c48f9 3807 wxPyEndAllowThreads(__tstate);
4dfaa61e 3808 if (PyErr_Occurred()) return NULL;
cf694132 3809} Py_INCREF(Py_None);
8ab979d7
RD
3810 _resultobj = Py_None;
3811 return _resultobj;
3812}
3813
9d8bd15f
RD
3814#define wxWindow_GetAutoLayout(_swigobj) (_swigobj->GetAutoLayout())
3815static PyObject *_wrap_wxWindow_GetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
3816 PyObject * _resultobj;
3817 bool _result;
3818 wxWindow * _arg0;
3819 PyObject * _argo0 = 0;
3820 char *_kwnames[] = { "self", NULL };
3821
3822 self = self;
3823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetAutoLayout",_kwnames,&_argo0))
3824 return NULL;
3825 if (_argo0) {
3826 if (_argo0 == Py_None) { _arg0 = NULL; }
3827 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3828 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetAutoLayout. Expected _wxWindow_p.");
3829 return NULL;
3830 }
3831 }
3832{
474c48f9 3833 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3834 _result = (bool )wxWindow_GetAutoLayout(_arg0);
9d8bd15f 3835
474c48f9 3836 wxPyEndAllowThreads(__tstate);
4dfaa61e 3837 if (PyErr_Occurred()) return NULL;
9d8bd15f
RD
3838} _resultobj = Py_BuildValue("i",_result);
3839 return _resultobj;
3840}
3841
8ab979d7 3842#define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
efc5f224 3843static PyObject *_wrap_wxWindow_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3844 PyObject * _resultobj;
3845 wxWindow * _arg0;
3846 wxColour * _arg1;
1d99702e 3847 PyObject * _argo0 = 0;
f6bcfd97
BP
3848 wxColour temp;
3849 PyObject * _obj1 = 0;
efc5f224 3850 char *_kwnames[] = { "self","colour", NULL };
8ab979d7
RD
3851
3852 self = self;
f6bcfd97 3853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
8ab979d7 3854 return NULL;
1d99702e
RD
3855 if (_argo0) {
3856 if (_argo0 == Py_None) { _arg0 = NULL; }
3857 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3858 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
3859 return NULL;
3860 }
3861 }
f6bcfd97
BP
3862{
3863 _arg1 = &temp;
3864 if (! wxColour_helper(_obj1, &_arg1))
8ab979d7 3865 return NULL;
f6bcfd97 3866}
cf694132 3867{
474c48f9 3868 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3869 wxWindow_SetBackgroundColour(_arg0,*_arg1);
cf694132 3870
474c48f9 3871 wxPyEndAllowThreads(__tstate);
4dfaa61e 3872 if (PyErr_Occurred()) return NULL;
cf694132 3873} Py_INCREF(Py_None);
8ab979d7
RD
3874 _resultobj = Py_None;
3875 return _resultobj;
3876}
3877
3878#define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
efc5f224 3879static PyObject *_wrap_wxWindow_SetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3880 PyObject * _resultobj;
3881 wxWindow * _arg0;
3882 wxLayoutConstraints * _arg1;
1d99702e
RD
3883 PyObject * _argo0 = 0;
3884 PyObject * _argo1 = 0;
efc5f224 3885 char *_kwnames[] = { "self","constraints", NULL };
8ab979d7
RD
3886
3887 self = self;
efc5f224 3888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetConstraints",_kwnames,&_argo0,&_argo1))
8ab979d7 3889 return NULL;
1d99702e
RD
3890 if (_argo0) {
3891 if (_argo0 == Py_None) { _arg0 = NULL; }
3892 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3893 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
3894 return NULL;
3895 }
3896 }
1d99702e
RD
3897 if (_argo1) {
3898 if (_argo1 == Py_None) { _arg1 = NULL; }
3899 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxLayoutConstraints_p")) {
8ab979d7
RD
3900 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
3901 return NULL;
3902 }
3903 }
cf694132 3904{
474c48f9 3905 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3906 wxWindow_SetConstraints(_arg0,_arg1);
cf694132 3907
474c48f9 3908 wxPyEndAllowThreads(__tstate);
4dfaa61e 3909 if (PyErr_Occurred()) return NULL;
cf694132 3910} Py_INCREF(Py_None);
8ab979d7
RD
3911 _resultobj = Py_None;
3912 return _resultobj;
3913}
3914
2f90df85
RD
3915#define wxWindow_UnsetConstraints(_swigobj,_swigarg0) (_swigobj->UnsetConstraints(_swigarg0))
3916static PyObject *_wrap_wxWindow_UnsetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
3917 PyObject * _resultobj;
3918 wxWindow * _arg0;
3919 wxLayoutConstraints * _arg1;
3920 PyObject * _argo0 = 0;
3921 PyObject * _argo1 = 0;
3922 char *_kwnames[] = { "self","constraints", NULL };
3923
3924 self = self;
3925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_UnsetConstraints",_kwnames,&_argo0,&_argo1))
3926 return NULL;
3927 if (_argo0) {
3928 if (_argo0 == Py_None) { _arg0 = NULL; }
3929 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3930 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_UnsetConstraints. Expected _wxWindow_p.");
3931 return NULL;
3932 }
3933 }
3934 if (_argo1) {
3935 if (_argo1 == Py_None) { _arg1 = NULL; }
3936 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxLayoutConstraints_p")) {
3937 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_UnsetConstraints. Expected _wxLayoutConstraints_p.");
3938 return NULL;
3939 }
3940 }
3941{
474c48f9 3942 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3943 wxWindow_UnsetConstraints(_arg0,_arg1);
2f90df85 3944
474c48f9 3945 wxPyEndAllowThreads(__tstate);
4dfaa61e 3946 if (PyErr_Occurred()) return NULL;
2f90df85
RD
3947} Py_INCREF(Py_None);
3948 _resultobj = Py_None;
3949 return _resultobj;
3950}
3951
8ab979d7 3952#define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
efc5f224 3953static PyObject *_wrap_wxWindow_SetFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3954 PyObject * _resultobj;
3955 wxWindow * _arg0;
1d99702e 3956 PyObject * _argo0 = 0;
efc5f224 3957 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3958
3959 self = self;
efc5f224 3960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_SetFocus",_kwnames,&_argo0))
8ab979d7 3961 return NULL;
1d99702e
RD
3962 if (_argo0) {
3963 if (_argo0 == Py_None) { _arg0 = NULL; }
3964 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3965 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
3966 return NULL;
3967 }
3968 }
cf694132 3969{
474c48f9 3970 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3971 wxWindow_SetFocus(_arg0);
cf694132 3972
474c48f9 3973 wxPyEndAllowThreads(__tstate);
4dfaa61e 3974 if (PyErr_Occurred()) return NULL;
cf694132 3975} Py_INCREF(Py_None);
8ab979d7
RD
3976 _resultobj = Py_None;
3977 return _resultobj;
3978}
3979
8381e4cd
RD
3980#define wxWindow_SetFocusFromKbd(_swigobj) (_swigobj->SetFocusFromKbd())
3981static PyObject *_wrap_wxWindow_SetFocusFromKbd(PyObject *self, PyObject *args, PyObject *kwargs) {
3982 PyObject * _resultobj;
3983 wxWindow * _arg0;
3984 PyObject * _argo0 = 0;
3985 char *_kwnames[] = { "self", NULL };
3986
3987 self = self;
3988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_SetFocusFromKbd",_kwnames,&_argo0))
3989 return NULL;
3990 if (_argo0) {
3991 if (_argo0 == Py_None) { _arg0 = NULL; }
3992 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3993 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetFocusFromKbd. Expected _wxWindow_p.");
3994 return NULL;
3995 }
3996 }
3997{
3998 PyThreadState* __tstate = wxPyBeginAllowThreads();
3999 wxWindow_SetFocusFromKbd(_arg0);
4000
4001 wxPyEndAllowThreads(__tstate);
4002 if (PyErr_Occurred()) return NULL;
4003} Py_INCREF(Py_None);
4004 _resultobj = Py_None;
4005 return _resultobj;
4006}
4007
2f90df85
RD
4008#define wxWindow_AcceptsFocus(_swigobj) (_swigobj->AcceptsFocus())
4009static PyObject *_wrap_wxWindow_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
4010 PyObject * _resultobj;
4011 bool _result;
4012 wxWindow * _arg0;
4013 PyObject * _argo0 = 0;
4014 char *_kwnames[] = { "self", NULL };
4015
4016 self = self;
4017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_AcceptsFocus",_kwnames,&_argo0))
4018 return NULL;
4019 if (_argo0) {
4020 if (_argo0 == Py_None) { _arg0 = NULL; }
4021 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4022 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_AcceptsFocus. Expected _wxWindow_p.");
4023 return NULL;
4024 }
4025 }
4026{
474c48f9 4027 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4028 _result = (bool )wxWindow_AcceptsFocus(_arg0);
2f90df85 4029
474c48f9 4030 wxPyEndAllowThreads(__tstate);
4dfaa61e 4031 if (PyErr_Occurred()) return NULL;
2f90df85
RD
4032} _resultobj = Py_BuildValue("i",_result);
4033 return _resultobj;
4034}
4035
8ab979d7 4036#define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
efc5f224 4037static PyObject *_wrap_wxWindow_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4038 PyObject * _resultobj;
4039 wxWindow * _arg0;
4040 wxFont * _arg1;
1d99702e
RD
4041 PyObject * _argo0 = 0;
4042 PyObject * _argo1 = 0;
efc5f224 4043 char *_kwnames[] = { "self","font", NULL };
8ab979d7
RD
4044
4045 self = self;
efc5f224 4046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetFont",_kwnames,&_argo0,&_argo1))
8ab979d7 4047 return NULL;
1d99702e
RD
4048 if (_argo0) {
4049 if (_argo0 == Py_None) { _arg0 = NULL; }
4050 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4051 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
4052 return NULL;
4053 }
4054 }
1d99702e
RD
4055 if (_argo1) {
4056 if (_argo1 == Py_None) { _arg1 = NULL; }
4057 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
8ab979d7
RD
4058 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
4059 return NULL;
4060 }
4061 }
cf694132 4062{
474c48f9 4063 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4064 wxWindow_SetFont(_arg0,*_arg1);
cf694132 4065
474c48f9 4066 wxPyEndAllowThreads(__tstate);
4dfaa61e 4067 if (PyErr_Occurred()) return NULL;
cf694132 4068} Py_INCREF(Py_None);
8ab979d7
RD
4069 _resultobj = Py_None;
4070 return _resultobj;
4071}
4072
4073#define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
efc5f224 4074static PyObject *_wrap_wxWindow_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4075 PyObject * _resultobj;
4076 wxWindow * _arg0;
4077 wxColour * _arg1;
1d99702e 4078 PyObject * _argo0 = 0;
f6bcfd97
BP
4079 wxColour temp;
4080 PyObject * _obj1 = 0;
efc5f224 4081 char *_kwnames[] = { "self","colour", NULL };
8ab979d7
RD
4082
4083 self = self;
f6bcfd97 4084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetForegroundColour",_kwnames,&_argo0,&_obj1))
8ab979d7 4085 return NULL;
1d99702e
RD
4086 if (_argo0) {
4087 if (_argo0 == Py_None) { _arg0 = NULL; }
4088 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4089 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
4090 return NULL;
4091 }
4092 }
f6bcfd97
BP
4093{
4094 _arg1 = &temp;
4095 if (! wxColour_helper(_obj1, &_arg1))
8ab979d7 4096 return NULL;
f6bcfd97 4097}
cf694132 4098{
474c48f9 4099 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4100 wxWindow_SetForegroundColour(_arg0,*_arg1);
cf694132 4101
474c48f9 4102 wxPyEndAllowThreads(__tstate);
4dfaa61e 4103 if (PyErr_Occurred()) return NULL;
cf694132 4104} Py_INCREF(Py_None);
8ab979d7
RD
4105 _resultobj = Py_None;
4106 return _resultobj;
4107}
4108
4109#define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
efc5f224 4110static PyObject *_wrap_wxWindow_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4111 PyObject * _resultobj;
4112 wxWindow * _arg0;
4113 int _arg1;
1d99702e 4114 PyObject * _argo0 = 0;
efc5f224 4115 char *_kwnames[] = { "self","id", NULL };
8ab979d7
RD
4116
4117 self = self;
efc5f224 4118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_SetId",_kwnames,&_argo0,&_arg1))
8ab979d7 4119 return NULL;
1d99702e
RD
4120 if (_argo0) {
4121 if (_argo0 == Py_None) { _arg0 = NULL; }
4122 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4123 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
4124 return NULL;
4125 }
4126 }
cf694132 4127{
474c48f9 4128 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4129 wxWindow_SetId(_arg0,_arg1);
cf694132 4130
474c48f9 4131 wxPyEndAllowThreads(__tstate);
4dfaa61e 4132 if (PyErr_Occurred()) return NULL;
cf694132 4133} Py_INCREF(Py_None);
8ab979d7
RD
4134 _resultobj = Py_None;
4135 return _resultobj;
4136}
4137
4138#define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
efc5f224 4139static PyObject *_wrap_wxWindow_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4140 PyObject * _resultobj;
4141 wxWindow * _arg0;
4142 wxString * _arg1;
1d99702e 4143 PyObject * _argo0 = 0;
8ab979d7 4144 PyObject * _obj1 = 0;
efc5f224 4145 char *_kwnames[] = { "self","name", NULL };
8ab979d7
RD
4146
4147 self = self;
efc5f224 4148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetName",_kwnames,&_argo0,&_obj1))
8ab979d7 4149 return NULL;
1d99702e
RD
4150 if (_argo0) {
4151 if (_argo0 == Py_None) { _arg0 = NULL; }
4152 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4153 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
4154 return NULL;
4155 }
4156 }
4157{
c8bc7bb8
RD
4158 _arg1 = wxString_in_helper(_obj1);
4159 if (_arg1 == NULL)
2cd2fac8 4160 return NULL;
8ab979d7 4161}
cf694132 4162{
474c48f9 4163 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4164 wxWindow_SetName(_arg0,*_arg1);
cf694132 4165
474c48f9 4166 wxPyEndAllowThreads(__tstate);
4dfaa61e 4167 if (PyErr_Occurred()) return NULL;
cf694132 4168} Py_INCREF(Py_None);
8ab979d7
RD
4169 _resultobj = Py_None;
4170{
4171 if (_obj1)
4172 delete _arg1;
4173}
4174 return _resultobj;
4175}
4176
8ab979d7 4177#define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
efc5f224 4178static PyObject *_wrap_wxWindow_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4179 PyObject * _resultobj;
4180 wxWindow * _arg0;
4181 int _arg1;
4182 int _arg2;
4183 int _arg3;
4184 int _arg4;
eb715945 4185 int _arg5 = (int ) TRUE;
1d99702e 4186 PyObject * _argo0 = 0;
efc5f224 4187 char *_kwnames[] = { "self","orientation","position","thumbSize","range","refresh", NULL };
8ab979d7
RD
4188
4189 self = self;
eb715945 4190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxWindow_SetScrollbar",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5))
8ab979d7 4191 return NULL;
1d99702e
RD
4192 if (_argo0) {
4193 if (_argo0 == Py_None) { _arg0 = NULL; }
4194 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4195 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
4196 return NULL;
4197 }
4198 }
cf694132 4199{
474c48f9 4200 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4201 wxWindow_SetScrollbar(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
cf694132 4202
474c48f9 4203 wxPyEndAllowThreads(__tstate);
4dfaa61e 4204 if (PyErr_Occurred()) return NULL;
cf694132 4205} Py_INCREF(Py_None);
8ab979d7
RD
4206 _resultobj = Py_None;
4207 return _resultobj;
4208}
4209
4210#define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
efc5f224 4211static PyObject *_wrap_wxWindow_SetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4212 PyObject * _resultobj;
4213 wxWindow * _arg0;
4214 int _arg1;
4215 int _arg2;
1d99702e
RD
4216 bool _arg3 = (bool ) TRUE;
4217 PyObject * _argo0 = 0;
4218 int tempbool3 = (int) TRUE;
efc5f224 4219 char *_kwnames[] = { "self","orientation","pos","refresh", NULL };
8ab979d7
RD
4220
4221 self = self;
efc5f224 4222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxWindow_SetScrollPos",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
8ab979d7 4223 return NULL;
1d99702e
RD
4224 if (_argo0) {
4225 if (_argo0 == Py_None) { _arg0 = NULL; }
4226 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4227 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
4228 return NULL;
4229 }
4230 }
4231 _arg3 = (bool ) tempbool3;
cf694132 4232{
474c48f9 4233 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4234 wxWindow_SetScrollPos(_arg0,_arg1,_arg2,_arg3);
cf694132 4235
474c48f9 4236 wxPyEndAllowThreads(__tstate);
4dfaa61e 4237 if (PyErr_Occurred()) return NULL;
cf694132 4238} Py_INCREF(Py_None);
8ab979d7
RD
4239 _resultobj = Py_None;
4240 return _resultobj;
4241}
4242
4243#define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
efc5f224 4244static PyObject *_wrap_wxWindow_SetDimensions(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4245 PyObject * _resultobj;
4246 wxWindow * _arg0;
4247 int _arg1;
4248 int _arg2;
4249 int _arg3;
4250 int _arg4;
1d99702e
RD
4251 int _arg5 = (int ) wxSIZE_AUTO;
4252 PyObject * _argo0 = 0;
efc5f224 4253 char *_kwnames[] = { "self","x","y","width","height","sizeFlags", NULL };
8ab979d7
RD
4254
4255 self = self;
efc5f224 4256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxWindow_SetDimensions",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5))
8ab979d7 4257 return NULL;
1d99702e
RD
4258 if (_argo0) {
4259 if (_argo0 == Py_None) { _arg0 = NULL; }
4260 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4261 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
4262 return NULL;
4263 }
4264 }
cf694132 4265{
474c48f9 4266 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4267 wxWindow_SetDimensions(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
cf694132 4268
474c48f9 4269 wxPyEndAllowThreads(__tstate);
4dfaa61e 4270 if (PyErr_Occurred()) return NULL;
cf694132 4271} Py_INCREF(Py_None);
8ab979d7
RD
4272 _resultobj = Py_None;
4273 return _resultobj;
4274}
4275
4276static void wxWindow_SetSize(wxWindow *self,const wxSize & size) {
a1df7a95 4277 self->SetSize(size);
8ab979d7 4278 }
efc5f224 4279static PyObject *_wrap_wxWindow_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4280 PyObject * _resultobj;
4281 wxWindow * _arg0;
4282 wxSize * _arg1;
1d99702e 4283 PyObject * _argo0 = 0;
2f90df85
RD
4284 wxSize temp;
4285 PyObject * _obj1 = 0;
efc5f224 4286 char *_kwnames[] = { "self","size", NULL };
8ab979d7
RD
4287
4288 self = self;
2f90df85 4289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetSize",_kwnames,&_argo0,&_obj1))
8ab979d7 4290 return NULL;
1d99702e
RD
4291 if (_argo0) {
4292 if (_argo0 == Py_None) { _arg0 = NULL; }
4293 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4294 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
4295 return NULL;
4296 }
4297 }
2f90df85
RD
4298{
4299 _arg1 = &temp;
4300 if (! wxSize_helper(_obj1, &_arg1))
8ab979d7 4301 return NULL;
2f90df85 4302}
cf694132 4303{
474c48f9 4304 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4305 wxWindow_SetSize(_arg0,*_arg1);
cf694132 4306
474c48f9 4307 wxPyEndAllowThreads(__tstate);
4dfaa61e 4308 if (PyErr_Occurred()) return NULL;
cf694132 4309} Py_INCREF(Py_None);
8ab979d7
RD
4310 _resultobj = Py_None;
4311 return _resultobj;
4312}
4313
8cb49012
RD
4314static void wxWindow_SetPosition(wxWindow *self,const wxPoint & pos,int flags) {
4315 self->Move(pos, flags);
8ab979d7 4316 }
efc5f224 4317static PyObject *_wrap_wxWindow_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4318 PyObject * _resultobj;
4319 wxWindow * _arg0;
4320 wxPoint * _arg1;
8cb49012 4321 int _arg2 = (int ) wxSIZE_USE_EXISTING;
1d99702e 4322 PyObject * _argo0 = 0;
2f90df85
RD
4323 wxPoint temp;
4324 PyObject * _obj1 = 0;
8cb49012 4325 char *_kwnames[] = { "self","pos","flags", NULL };
8ab979d7
RD
4326
4327 self = self;
8cb49012 4328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxWindow_SetPosition",_kwnames,&_argo0,&_obj1,&_arg2))
8ab979d7 4329 return NULL;
1d99702e
RD
4330 if (_argo0) {
4331 if (_argo0 == Py_None) { _arg0 = NULL; }
4332 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4333 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
4334 return NULL;
4335 }
4336 }
2f90df85
RD
4337{
4338 _arg1 = &temp;
4339 if (! wxPoint_helper(_obj1, &_arg1))
8ab979d7 4340 return NULL;
2f90df85 4341}
cf694132 4342{
474c48f9 4343 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4344 wxWindow_SetPosition(_arg0,*_arg1,_arg2);
cf694132 4345
474c48f9 4346 wxPyEndAllowThreads(__tstate);
4dfaa61e 4347 if (PyErr_Occurred()) return NULL;
cf694132 4348} Py_INCREF(Py_None);
8ab979d7
RD
4349 _resultobj = Py_None;
4350 return _resultobj;
4351}
4352
2cd2fac8
RD
4353static void wxWindow_SetRect(wxWindow *self,const wxRect & rect,int sizeFlags) {
4354 self->SetSize(rect, sizeFlags);
4355 }
4356static PyObject *_wrap_wxWindow_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
4357 PyObject * _resultobj;
4358 wxWindow * _arg0;
4359 wxRect * _arg1;
4360 int _arg2 = (int ) wxSIZE_AUTO;
4361 PyObject * _argo0 = 0;
4362 wxRect temp;
4363 PyObject * _obj1 = 0;
4364 char *_kwnames[] = { "self","rect","sizeFlags", NULL };
4365
4366 self = self;
4367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxWindow_SetRect",_kwnames,&_argo0,&_obj1,&_arg2))
4368 return NULL;
4369 if (_argo0) {
4370 if (_argo0 == Py_None) { _arg0 = NULL; }
4371 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4372 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetRect. Expected _wxWindow_p.");
4373 return NULL;
4374 }
4375 }
4376{
4377 _arg1 = &temp;
4378 if (! wxRect_helper(_obj1, &_arg1))
4379 return NULL;
4380}
4381{
474c48f9 4382 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4383 wxWindow_SetRect(_arg0,*_arg1,_arg2);
2cd2fac8 4384
474c48f9 4385 wxPyEndAllowThreads(__tstate);
4dfaa61e 4386 if (PyErr_Occurred()) return NULL;
2cd2fac8
RD
4387} Py_INCREF(Py_None);
4388 _resultobj = Py_None;
4389 return _resultobj;
4390}
4391
8ab979d7 4392#define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
efc5f224 4393static PyObject *_wrap_wxWindow_SetSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4394 PyObject * _resultobj;
4395 wxWindow * _arg0;
8381e4cd
RD
4396 int _arg1;
4397 int _arg2;
1d99702e
RD
4398 int _arg3 = (int ) -1;
4399 int _arg4 = (int ) -1;
4400 int _arg5 = (int ) -1;
4401 int _arg6 = (int ) -1;
4402 PyObject * _argo0 = 0;
efc5f224 4403 char *_kwnames[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL };
8ab979d7
RD
4404
4405 self = self;
8381e4cd 4406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|iiii:wxWindow_SetSizeHints",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6))
8ab979d7 4407 return NULL;
1d99702e
RD
4408 if (_argo0) {
4409 if (_argo0 == Py_None) { _arg0 = NULL; }
4410 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4411 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
4412 return NULL;
4413 }
4414 }
cf694132 4415{
474c48f9 4416 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4417 wxWindow_SetSizeHints(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
cf694132 4418
474c48f9 4419 wxPyEndAllowThreads(__tstate);
4dfaa61e 4420 if (PyErr_Occurred()) return NULL;
cf694132 4421} Py_INCREF(Py_None);
8ab979d7
RD
4422 _resultobj = Py_None;
4423 return _resultobj;
4424}
4425
8381e4cd
RD
4426#define wxWindow_SetVirtualSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetVirtualSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4427static PyObject *_wrap_wxWindow_SetVirtualSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
4428 PyObject * _resultobj;
4429 wxWindow * _arg0;
4430 int _arg1;
4431 int _arg2;
4432 int _arg3 = (int ) -1;
4433 int _arg4 = (int ) -1;
4434 PyObject * _argo0 = 0;
4435 char *_kwnames[] = { "self","minW","minH","maxW","maxH", NULL };
4436
4437 self = self;
4438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|ii:wxWindow_SetVirtualSizeHints",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
4439 return NULL;
4440 if (_argo0) {
4441 if (_argo0 == Py_None) { _arg0 = NULL; }
4442 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4443 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetVirtualSizeHints. Expected _wxWindow_p.");
4444 return NULL;
4445 }
4446 }
4447{
4448 PyThreadState* __tstate = wxPyBeginAllowThreads();
4449 wxWindow_SetVirtualSizeHints(_arg0,_arg1,_arg2,_arg3,_arg4);
4450
4451 wxPyEndAllowThreads(__tstate);
4452 if (PyErr_Occurred()) return NULL;
4453} Py_INCREF(Py_None);
4454 _resultobj = Py_None;
4455 return _resultobj;
4456}
4457
4458#define wxWindow_SetVirtualSize(_swigobj,_swigarg0) (_swigobj->SetVirtualSize(_swigarg0))
4459static PyObject *_wrap_wxWindow_SetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4460 PyObject * _resultobj;
4461 wxWindow * _arg0;
4462 wxSize * _arg1;
4463 PyObject * _argo0 = 0;
4464 wxSize temp;
4465 PyObject * _obj1 = 0;
4466 char *_kwnames[] = { "self","size", NULL };
4467
4468 self = self;
4469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetVirtualSize",_kwnames,&_argo0,&_obj1))
4470 return NULL;
4471 if (_argo0) {
4472 if (_argo0 == Py_None) { _arg0 = NULL; }
4473 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4474 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetVirtualSize. Expected _wxWindow_p.");
4475 return NULL;
4476 }
4477 }
4478{
4479 _arg1 = &temp;
4480 if (! wxSize_helper(_obj1, &_arg1))
4481 return NULL;
4482}
4483{
4484 PyThreadState* __tstate = wxPyBeginAllowThreads();
4485 wxWindow_SetVirtualSize(_arg0,*_arg1);
4486
4487 wxPyEndAllowThreads(__tstate);
4488 if (PyErr_Occurred()) return NULL;
4489} Py_INCREF(Py_None);
4490 _resultobj = Py_None;
4491 return _resultobj;
4492}
4493
4494#define wxWindow_SetVirtualSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetVirtualSize(_swigarg0,_swigarg1))
4495static PyObject *_wrap_wxWindow_SetVirtualSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
4496 PyObject * _resultobj;
4497 wxWindow * _arg0;
4498 int _arg1;
4499 int _arg2;
4500 PyObject * _argo0 = 0;
4501 char *_kwnames[] = { "self","x","y", NULL };
4502
4503 self = self;
4504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxWindow_SetVirtualSizeWH",_kwnames,&_argo0,&_arg1,&_arg2))
4505 return NULL;
4506 if (_argo0) {
4507 if (_argo0 == Py_None) { _arg0 = NULL; }
4508 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4509 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetVirtualSizeWH. Expected _wxWindow_p.");
4510 return NULL;
4511 }
4512 }
4513{
4514 PyThreadState* __tstate = wxPyBeginAllowThreads();
4515 wxWindow_SetVirtualSizeWH(_arg0,_arg1,_arg2);
4516
4517 wxPyEndAllowThreads(__tstate);
4518 if (PyErr_Occurred()) return NULL;
4519} Py_INCREF(Py_None);
4520 _resultobj = Py_None;
4521 return _resultobj;
4522}
4523
4524#define wxWindow_GetVirtualSize(_swigobj) (_swigobj->GetVirtualSize())
4525static PyObject *_wrap_wxWindow_GetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4526 PyObject * _resultobj;
4527 wxSize * _result;
4528 wxWindow * _arg0;
4529 PyObject * _argo0 = 0;
4530 char *_kwnames[] = { "self", NULL };
4531 char _ptemp[128];
4532
4533 self = self;
4534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetVirtualSize",_kwnames,&_argo0))
4535 return NULL;
4536 if (_argo0) {
4537 if (_argo0 == Py_None) { _arg0 = NULL; }
4538 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4539 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetVirtualSize. Expected _wxWindow_p.");
4540 return NULL;
4541 }
4542 }
4543{
4544 PyThreadState* __tstate = wxPyBeginAllowThreads();
4545 _result = new wxSize (wxWindow_GetVirtualSize(_arg0));
4546
4547 wxPyEndAllowThreads(__tstate);
4548 if (PyErr_Occurred()) return NULL;
4549} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
4550 _resultobj = Py_BuildValue("s",_ptemp);
4551 return _resultobj;
4552}
4553
4554#define wxWindow_GetVirtualSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
4555static PyObject *_wrap_wxWindow_GetVirtualSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4556 PyObject * _resultobj;
4557 wxWindow * _arg0;
4558 int * _arg1;
4559 int temp;
4560 int * _arg2;
4561 int temp0;
4562 PyObject * _argo0 = 0;
4563 char *_kwnames[] = { "self", NULL };
4564
4565 self = self;
4566{
4567 _arg1 = &temp;
4568}
4569{
4570 _arg2 = &temp0;
4571}
4572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetVirtualSizeTuple",_kwnames,&_argo0))
4573 return NULL;
4574 if (_argo0) {
4575 if (_argo0 == Py_None) { _arg0 = NULL; }
4576 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4577 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetVirtualSizeTuple. Expected _wxWindow_p.");
4578 return NULL;
4579 }
4580 }
4581{
4582 PyThreadState* __tstate = wxPyBeginAllowThreads();
4583 wxWindow_GetVirtualSizeTuple(_arg0,_arg1,_arg2);
4584
4585 wxPyEndAllowThreads(__tstate);
4586 if (PyErr_Occurred()) return NULL;
4587} Py_INCREF(Py_None);
4588 _resultobj = Py_None;
4589{
4590 PyObject *o;
4591 o = PyInt_FromLong((long) (*_arg1));
4592 _resultobj = t_output_helper(_resultobj, o);
4593}
4594{
4595 PyObject *o;
4596 o = PyInt_FromLong((long) (*_arg2));
4597 _resultobj = t_output_helper(_resultobj, o);
4598}
4599 return _resultobj;
4600}
4601
af309447 4602#define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
efc5f224 4603static PyObject *_wrap_wxWindow_SetClientSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4604 PyObject * _resultobj;
4605 wxWindow * _arg0;
4606 int _arg1;
4607 int _arg2;
1d99702e 4608 PyObject * _argo0 = 0;
efc5f224 4609 char *_kwnames[] = { "self","width","height", NULL };
8ab979d7
RD
4610
4611 self = self;
efc5f224 4612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxWindow_SetClientSizeWH",_kwnames,&_argo0,&_arg1,&_arg2))
af309447 4613 return NULL;
1d99702e
RD
4614 if (_argo0) {
4615 if (_argo0 == Py_None) { _arg0 = NULL; }
4616 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
af309447
RD
4617 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
4618 return NULL;
4619 }
4620 }
cf694132 4621{
474c48f9 4622 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4623 wxWindow_SetClientSizeWH(_arg0,_arg1,_arg2);
cf694132 4624
474c48f9 4625 wxPyEndAllowThreads(__tstate);
4dfaa61e 4626 if (PyErr_Occurred()) return NULL;
cf694132 4627} Py_INCREF(Py_None);
af309447
RD
4628 _resultobj = Py_None;
4629 return _resultobj;
4630}
4631
4632#define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
efc5f224 4633static PyObject *_wrap_wxWindow_SetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
4634 PyObject * _resultobj;
4635 wxWindow * _arg0;
4636 wxSize * _arg1;
1d99702e 4637 PyObject * _argo0 = 0;
2f90df85
RD
4638 wxSize temp;
4639 PyObject * _obj1 = 0;
efc5f224 4640 char *_kwnames[] = { "self","size", NULL };
af309447
RD
4641
4642 self = self;
2f90df85 4643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetClientSize",_kwnames,&_argo0,&_obj1))
8ab979d7 4644 return NULL;
1d99702e
RD
4645 if (_argo0) {
4646 if (_argo0 == Py_None) { _arg0 = NULL; }
4647 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4648 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
4649 return NULL;
4650 }
4651 }
2f90df85
RD
4652{
4653 _arg1 = &temp;
4654 if (! wxSize_helper(_obj1, &_arg1))
af309447 4655 return NULL;
2f90df85 4656}
cf694132 4657{
474c48f9 4658 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4659 wxWindow_SetClientSize(_arg0,*_arg1);
cf694132 4660
474c48f9 4661 wxPyEndAllowThreads(__tstate);
4dfaa61e 4662 if (PyErr_Occurred()) return NULL;
cf694132 4663} Py_INCREF(Py_None);
8ab979d7
RD
4664 _resultobj = Py_None;
4665 return _resultobj;
4666}
4667
4668#define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
efc5f224 4669static PyObject *_wrap_wxWindow_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4670 PyObject * _resultobj;
4671 wxWindow * _arg0;
4672 wxCursor * _arg1;
1d99702e
RD
4673 PyObject * _argo0 = 0;
4674 PyObject * _argo1 = 0;
efc5f224 4675 char *_kwnames[] = { "self","cursor", NULL };
8ab979d7
RD
4676
4677 self = self;
efc5f224 4678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetCursor",_kwnames,&_argo0,&_argo1))
8ab979d7 4679 return NULL;
1d99702e
RD
4680 if (_argo0) {
4681 if (_argo0 == Py_None) { _arg0 = NULL; }
4682 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4683 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
4684 return NULL;
4685 }
4686 }
1d99702e
RD
4687 if (_argo1) {
4688 if (_argo1 == Py_None) { _arg1 = NULL; }
4689 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCursor_p")) {
8ab979d7
RD
4690 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
4691 return NULL;
4692 }
4693 }
cf694132 4694{
474c48f9 4695 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4696 wxWindow_SetCursor(_arg0,*_arg1);
cf694132 4697
474c48f9 4698 wxPyEndAllowThreads(__tstate);
4dfaa61e 4699 if (PyErr_Occurred()) return NULL;
cf694132 4700} Py_INCREF(Py_None);
8ab979d7
RD
4701 _resultobj = Py_None;
4702 return _resultobj;
4703}
4704
1afc06c2
RD
4705#define wxWindow_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
4706static PyObject *_wrap_wxWindow_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
4707 PyObject * _resultobj;
4708 wxWindow * _arg0;
4709 wxEvtHandler * _arg1;
4710 PyObject * _argo0 = 0;
4711 PyObject * _argo1 = 0;
4712 char *_kwnames[] = { "self","handler", NULL };
4713
4714 self = self;
4715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetEventHandler",_kwnames,&_argo0,&_argo1))
4716 return NULL;
4717 if (_argo0) {
4718 if (_argo0 == Py_None) { _arg0 = NULL; }
4719 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4720 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetEventHandler. Expected _wxWindow_p.");
4721 return NULL;
4722 }
4723 }
4724 if (_argo1) {
4725 if (_argo1 == Py_None) { _arg1 = NULL; }
4726 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
4727 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetEventHandler. Expected _wxEvtHandler_p.");
4728 return NULL;
4729 }
4730 }
4731{
474c48f9 4732 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4733 wxWindow_SetEventHandler(_arg0,_arg1);
1afc06c2 4734
474c48f9 4735 wxPyEndAllowThreads(__tstate);
4dfaa61e 4736 if (PyErr_Occurred()) return NULL;
1afc06c2
RD
4737} Py_INCREF(Py_None);
4738 _resultobj = Py_None;
4739 return _resultobj;
4740}
4741
5e40f9dd
RD
4742#define wxWindow_SetExtraStyle(_swigobj,_swigarg0) (_swigobj->SetExtraStyle(_swigarg0))
4743static PyObject *_wrap_wxWindow_SetExtraStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4744 PyObject * _resultobj;
4745 wxWindow * _arg0;
4746 long _arg1;
4747 PyObject * _argo0 = 0;
4748 char *_kwnames[] = { "self","exStyle", NULL };
4749
4750 self = self;
4751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxWindow_SetExtraStyle",_kwnames,&_argo0,&_arg1))
4752 return NULL;
4753 if (_argo0) {
4754 if (_argo0 == Py_None) { _arg0 = NULL; }
4755 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4756 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetExtraStyle. Expected _wxWindow_p.");
4757 return NULL;
4758 }
4759 }
4760{
474c48f9 4761 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4762 wxWindow_SetExtraStyle(_arg0,_arg1);
5e40f9dd 4763
474c48f9 4764 wxPyEndAllowThreads(__tstate);
4dfaa61e 4765 if (PyErr_Occurred()) return NULL;
5e40f9dd
RD
4766} Py_INCREF(Py_None);
4767 _resultobj = Py_None;
4768 return _resultobj;
4769}
4770
8ab979d7 4771#define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
efc5f224 4772static PyObject *_wrap_wxWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4773 PyObject * _resultobj;
4774 wxWindow * _arg0;
4775 wxString * _arg1;
1d99702e 4776 PyObject * _argo0 = 0;
8ab979d7 4777 PyObject * _obj1 = 0;
efc5f224 4778 char *_kwnames[] = { "self","title", NULL };
8ab979d7
RD
4779
4780 self = self;
efc5f224 4781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetTitle",_kwnames,&_argo0,&_obj1))
8ab979d7 4782 return NULL;
1d99702e
RD
4783 if (_argo0) {
4784 if (_argo0 == Py_None) { _arg0 = NULL; }
4785 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4786 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
4787 return NULL;
4788 }
4789 }
4790{
c8bc7bb8
RD
4791 _arg1 = wxString_in_helper(_obj1);
4792 if (_arg1 == NULL)
2cd2fac8 4793 return NULL;
8ab979d7 4794}
cf694132 4795{
474c48f9 4796 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4797 wxWindow_SetTitle(_arg0,*_arg1);
cf694132 4798
474c48f9 4799 wxPyEndAllowThreads(__tstate);
4dfaa61e 4800 if (PyErr_Occurred()) return NULL;
cf694132 4801} Py_INCREF(Py_None);
8ab979d7
RD
4802 _resultobj = Py_None;
4803{
4804 if (_obj1)
4805 delete _arg1;
4806}
4807 return _resultobj;
4808}
4809
4810#define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
efc5f224 4811static PyObject *_wrap_wxWindow_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4812 PyObject * _resultobj;
4813 bool _result;
4814 wxWindow * _arg0;
3e212503 4815 bool _arg1 = (bool ) TRUE;
1d99702e 4816 PyObject * _argo0 = 0;
3e212503 4817 int tempbool1 = (int) TRUE;
efc5f224 4818 char *_kwnames[] = { "self","show", NULL };
8ab979d7
RD
4819
4820 self = self;
3e212503 4821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_Show",_kwnames,&_argo0,&tempbool1))
8ab979d7 4822 return NULL;
1d99702e
RD
4823 if (_argo0) {
4824 if (_argo0 == Py_None) { _arg0 = NULL; }
4825 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4826 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
4827 return NULL;
4828 }
4829 }
4830 _arg1 = (bool ) tempbool1;
cf694132 4831{
474c48f9 4832 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4833 _result = (bool )wxWindow_Show(_arg0,_arg1);
cf694132 4834
474c48f9 4835 wxPyEndAllowThreads(__tstate);
4dfaa61e 4836 if (PyErr_Occurred()) return NULL;
cf694132 4837} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4838 return _resultobj;
4839}
4840
4841#define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
efc5f224 4842static PyObject *_wrap_wxWindow_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4843 PyObject * _resultobj;
4844 bool _result;
4845 wxWindow * _arg0;
1d99702e 4846 PyObject * _argo0 = 0;
efc5f224 4847 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4848
4849 self = self;
efc5f224 4850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_TransferDataFromWindow",_kwnames,&_argo0))
8ab979d7 4851 return NULL;
1d99702e
RD
4852 if (_argo0) {
4853 if (_argo0 == Py_None) { _arg0 = NULL; }
4854 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4855 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
4856 return NULL;
4857 }
4858 }
cf694132 4859{
474c48f9 4860 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4861 _result = (bool )wxWindow_TransferDataFromWindow(_arg0);
cf694132 4862
474c48f9 4863 wxPyEndAllowThreads(__tstate);
4dfaa61e 4864 if (PyErr_Occurred()) return NULL;
cf694132 4865} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4866 return _resultobj;
4867}
4868
4869#define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
efc5f224 4870static PyObject *_wrap_wxWindow_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4871 PyObject * _resultobj;
4872 bool _result;
4873 wxWindow * _arg0;
1d99702e 4874 PyObject * _argo0 = 0;
efc5f224 4875 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4876
4877 self = self;
efc5f224 4878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_TransferDataToWindow",_kwnames,&_argo0))
8ab979d7 4879 return NULL;
1d99702e
RD
4880 if (_argo0) {
4881 if (_argo0 == Py_None) { _arg0 = NULL; }
4882 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4883 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
4884 return NULL;
4885 }
4886 }
cf694132 4887{
474c48f9 4888 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4889 _result = (bool )wxWindow_TransferDataToWindow(_arg0);
cf694132 4890
474c48f9 4891 wxPyEndAllowThreads(__tstate);
4dfaa61e 4892 if (PyErr_Occurred()) return NULL;
cf694132 4893} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4894 return _resultobj;
4895}
4896
8cb49012
RD
4897#define wxWindow_UpdateWindowUI(_swigobj) (_swigobj->UpdateWindowUI())
4898static PyObject *_wrap_wxWindow_UpdateWindowUI(PyObject *self, PyObject *args, PyObject *kwargs) {
4899 PyObject * _resultobj;
4900 wxWindow * _arg0;
4901 PyObject * _argo0 = 0;
4902 char *_kwnames[] = { "self", NULL };
4903
4904 self = self;
4905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_UpdateWindowUI",_kwnames,&_argo0))
4906 return NULL;
4907 if (_argo0) {
4908 if (_argo0 == Py_None) { _arg0 = NULL; }
4909 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4910 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_UpdateWindowUI. Expected _wxWindow_p.");
4911 return NULL;
4912 }
4913 }
4914{
4915 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4916 wxWindow_UpdateWindowUI(_arg0);
8cb49012
RD
4917
4918 wxPyEndAllowThreads(__tstate);
4919 if (PyErr_Occurred()) return NULL;
4920} Py_INCREF(Py_None);
4921 _resultobj = Py_None;
4922 return _resultobj;
4923}
4924
8ab979d7 4925#define wxWindow_Validate(_swigobj) (_swigobj->Validate())
efc5f224 4926static PyObject *_wrap_wxWindow_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4927 PyObject * _resultobj;
4928 bool _result;
4929 wxWindow * _arg0;
1d99702e 4930 PyObject * _argo0 = 0;
efc5f224 4931 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4932
4933 self = self;
efc5f224 4934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Validate",_kwnames,&_argo0))
8ab979d7 4935 return NULL;
1d99702e
RD
4936 if (_argo0) {
4937 if (_argo0 == Py_None) { _arg0 = NULL; }
4938 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4939 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
4940 return NULL;
4941 }
4942 }
cf694132 4943{
474c48f9 4944 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4945 _result = (bool )wxWindow_Validate(_arg0);
cf694132 4946
474c48f9 4947 wxPyEndAllowThreads(__tstate);
4dfaa61e 4948 if (PyErr_Occurred()) return NULL;
cf694132 4949} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4950 return _resultobj;
4951}
4952
b8b8dda7 4953#define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
efc5f224 4954static PyObject *_wrap_wxWindow_ConvertDialogPointToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
4955 PyObject * _resultobj;
4956 wxPoint * _result;
4957 wxWindow * _arg0;
4958 wxPoint * _arg1;
1d99702e 4959 PyObject * _argo0 = 0;
2f90df85
RD
4960 wxPoint temp;
4961 PyObject * _obj1 = 0;
efc5f224 4962 char *_kwnames[] = { "self","pt", NULL };
b8b8dda7
RD
4963 char _ptemp[128];
4964
4965 self = self;
2f90df85 4966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames,&_argo0,&_obj1))
b8b8dda7 4967 return NULL;
1d99702e
RD
4968 if (_argo0) {
4969 if (_argo0 == Py_None) { _arg0 = NULL; }
4970 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b8b8dda7
RD
4971 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
4972 return NULL;
4973 }
4974 }
2f90df85
RD
4975{
4976 _arg1 = &temp;
4977 if (! wxPoint_helper(_obj1, &_arg1))
b8b8dda7 4978 return NULL;
2f90df85 4979}
cf694132 4980{
474c48f9 4981 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4982 _result = new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0,*_arg1));
cf694132 4983
474c48f9 4984 wxPyEndAllowThreads(__tstate);
4dfaa61e 4985 if (PyErr_Occurred()) return NULL;
cf694132 4986} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
b8b8dda7
RD
4987 _resultobj = Py_BuildValue("s",_ptemp);
4988 return _resultobj;
4989}
4990
4991#define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
efc5f224 4992static PyObject *_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
4993 PyObject * _resultobj;
4994 wxSize * _result;
4995 wxWindow * _arg0;
4996 wxSize * _arg1;
1d99702e 4997 PyObject * _argo0 = 0;
2f90df85
RD
4998 wxSize temp;
4999 PyObject * _obj1 = 0;
efc5f224 5000 char *_kwnames[] = { "self","sz", NULL };
b8b8dda7
RD
5001 char _ptemp[128];
5002
5003 self = self;
2f90df85 5004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames,&_argo0,&_obj1))
b8b8dda7 5005 return NULL;
1d99702e
RD
5006 if (_argo0) {
5007 if (_argo0 == Py_None) { _arg0 = NULL; }
5008 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b8b8dda7
RD
5009 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
5010 return NULL;
5011 }
5012 }
2f90df85
RD
5013{
5014 _arg1 = &temp;
5015 if (! wxSize_helper(_obj1, &_arg1))
b8b8dda7 5016 return NULL;
2f90df85 5017}
cf694132 5018{
474c48f9 5019 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5020 _result = new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0,*_arg1));
cf694132 5021
474c48f9 5022 wxPyEndAllowThreads(__tstate);
4dfaa61e 5023 if (PyErr_Occurred()) return NULL;
cf694132 5024} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
b8b8dda7
RD
5025 _resultobj = Py_BuildValue("s",_ptemp);
5026 return _resultobj;
5027}
5028
5029#define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
efc5f224 5030static PyObject *_wrap_wxWindow_ConvertPixelPointToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
5031 PyObject * _resultobj;
5032 wxPoint * _result;
5033 wxWindow * _arg0;
5034 wxPoint * _arg1;
1d99702e 5035 PyObject * _argo0 = 0;
2f90df85
RD
5036 wxPoint temp;
5037 PyObject * _obj1 = 0;
efc5f224 5038 char *_kwnames[] = { "self","pt", NULL };
b8b8dda7
RD
5039 char _ptemp[128];
5040
5041 self = self;
2f90df85 5042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames,&_argo0,&_obj1))
b8b8dda7 5043 return NULL;
1d99702e
RD
5044 if (_argo0) {
5045 if (_argo0 == Py_None) { _arg0 = NULL; }
5046 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b8b8dda7
RD
5047 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
5048 return NULL;
5049 }
5050 }
2f90df85
RD
5051{
5052 _arg1 = &temp;
5053 if (! wxPoint_helper(_obj1, &_arg1))
b8b8dda7 5054 return NULL;
2f90df85 5055}
cf694132 5056{
474c48f9 5057 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5058 _result = new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0,*_arg1));
cf694132 5059
474c48f9 5060 wxPyEndAllowThreads(__tstate);
4dfaa61e 5061 if (PyErr_Occurred()) return NULL;
cf694132 5062} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
b8b8dda7
RD
5063 _resultobj = Py_BuildValue("s",_ptemp);
5064 return _resultobj;
5065}
5066
5067#define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
efc5f224 5068static PyObject *_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
5069 PyObject * _resultobj;
5070 wxSize * _result;
5071 wxWindow * _arg0;
5072 wxSize * _arg1;
1d99702e 5073 PyObject * _argo0 = 0;
2f90df85
RD
5074 wxSize temp;
5075 PyObject * _obj1 = 0;
efc5f224 5076 char *_kwnames[] = { "self","sz", NULL };
b8b8dda7
RD
5077 char _ptemp[128];
5078
5079 self = self;
2f90df85 5080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames,&_argo0,&_obj1))
b8b8dda7 5081 return NULL;
1d99702e
RD
5082 if (_argo0) {
5083 if (_argo0 == Py_None) { _arg0 = NULL; }
5084 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b8b8dda7
RD
5085 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
5086 return NULL;
5087 }
5088 }
2f90df85
RD
5089{
5090 _arg1 = &temp;
5091 if (! wxSize_helper(_obj1, &_arg1))
b8b8dda7 5092 return NULL;
2f90df85 5093}
cf694132 5094{
474c48f9 5095 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5096 _result = new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0,*_arg1));
cf694132 5097
474c48f9 5098 wxPyEndAllowThreads(__tstate);
4dfaa61e 5099 if (PyErr_Occurred()) return NULL;
cf694132 5100} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
b8b8dda7
RD
5101 _resultobj = Py_BuildValue("s",_ptemp);
5102 return _resultobj;
5103}
5104
af309447 5105#define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
efc5f224 5106static PyObject *_wrap_wxWindow_SetToolTipString(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
5107 PyObject * _resultobj;
5108 wxWindow * _arg0;
5109 wxString * _arg1;
1d99702e 5110 PyObject * _argo0 = 0;
af309447 5111 PyObject * _obj1 = 0;
efc5f224 5112 char *_kwnames[] = { "self","tip", NULL };
af309447
RD
5113
5114 self = self;
efc5f224 5115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetToolTipString",_kwnames,&_argo0,&_obj1))
af309447 5116 return NULL;
1d99702e
RD
5117 if (_argo0) {
5118 if (_argo0 == Py_None) { _arg0 = NULL; }
5119 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
af309447
RD
5120 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
5121 return NULL;
5122 }
5123 }
5124{
c8bc7bb8
RD
5125 _arg1 = wxString_in_helper(_obj1);
5126 if (_arg1 == NULL)
2cd2fac8 5127 return NULL;
af309447 5128}
cf694132 5129{
474c48f9 5130 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5131 wxWindow_SetToolTipString(_arg0,*_arg1);
cf694132 5132
474c48f9 5133 wxPyEndAllowThreads(__tstate);
4dfaa61e 5134 if (PyErr_Occurred()) return NULL;
cf694132 5135} Py_INCREF(Py_None);
af309447
RD
5136 _resultobj = Py_None;
5137{
5138 if (_obj1)
5139 delete _arg1;
5140}
5141 return _resultobj;
5142}
5143
5144#define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
efc5f224 5145static PyObject *_wrap_wxWindow_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
5146 PyObject * _resultobj;
5147 wxWindow * _arg0;
5148 wxToolTip * _arg1;
1d99702e
RD
5149 PyObject * _argo0 = 0;
5150 PyObject * _argo1 = 0;
efc5f224 5151 char *_kwnames[] = { "self","tooltip", NULL };
af309447
RD
5152
5153 self = self;
efc5f224 5154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetToolTip",_kwnames,&_argo0,&_argo1))
af309447 5155 return NULL;
1d99702e
RD
5156 if (_argo0) {
5157 if (_argo0 == Py_None) { _arg0 = NULL; }
5158 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
af309447
RD
5159 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
5160 return NULL;
5161 }
5162 }
1d99702e
RD
5163 if (_argo1) {
5164 if (_argo1 == Py_None) { _arg1 = NULL; }
5165 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxToolTip_p")) {
af309447
RD
5166 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
5167 return NULL;
5168 }
5169 }
cf694132 5170{
474c48f9 5171 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5172 wxWindow_SetToolTip(_arg0,_arg1);
cf694132 5173
474c48f9 5174 wxPyEndAllowThreads(__tstate);
4dfaa61e 5175 if (PyErr_Occurred()) return NULL;
cf694132 5176} Py_INCREF(Py_None);
af309447
RD
5177 _resultobj = Py_None;
5178 return _resultobj;
5179}
5180
5181#define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
efc5f224 5182static PyObject *_wrap_wxWindow_GetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
5183 PyObject * _resultobj;
5184 wxToolTip * _result;
5185 wxWindow * _arg0;
1d99702e 5186 PyObject * _argo0 = 0;
efc5f224 5187 char *_kwnames[] = { "self", NULL };
af309447
RD
5188
5189 self = self;
efc5f224 5190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetToolTip",_kwnames,&_argo0))
af309447 5191 return NULL;
1d99702e
RD
5192 if (_argo0) {
5193 if (_argo0 == Py_None) { _arg0 = NULL; }
5194 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
af309447
RD
5195 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
5196 return NULL;
5197 }
5198 }
cf694132 5199{
474c48f9 5200 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5201 _result = (wxToolTip *)wxWindow_GetToolTip(_arg0);
cf694132 5202
474c48f9 5203 wxPyEndAllowThreads(__tstate);
4dfaa61e 5204 if (PyErr_Occurred()) return NULL;
9df61a29 5205}{ _resultobj = wxPyMake_wxObject(_result); }
af309447
RD
5206 return _resultobj;
5207}
5208
49df1f52 5209#define wxWindow_SetSizer(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSizer(_swigarg0,_swigarg1))
2f90df85
RD
5210static PyObject *_wrap_wxWindow_SetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
5211 PyObject * _resultobj;
5212 wxWindow * _arg0;
5213 wxSizer * _arg1;
49df1f52 5214 bool _arg2 = (bool ) TRUE;
2f90df85
RD
5215 PyObject * _argo0 = 0;
5216 PyObject * _argo1 = 0;
49df1f52
RD
5217 int tempbool2 = (int) TRUE;
5218 char *_kwnames[] = { "self","sizer","deleteOld", NULL };
2f90df85
RD
5219
5220 self = self;
49df1f52 5221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxWindow_SetSizer",_kwnames,&_argo0,&_argo1,&tempbool2))
2f90df85
RD
5222 return NULL;
5223 if (_argo0) {
5224 if (_argo0 == Py_None) { _arg0 = NULL; }
5225 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5226 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetSizer. Expected _wxWindow_p.");
5227 return NULL;
5228 }
5229 }
5230 if (_argo1) {
5231 if (_argo1 == Py_None) { _arg1 = NULL; }
5232 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSizer_p")) {
5233 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetSizer. Expected _wxSizer_p.");
5234 return NULL;
5235 }
5236 }
49df1f52 5237 _arg2 = (bool ) tempbool2;
2f90df85 5238{
474c48f9 5239 PyThreadState* __tstate = wxPyBeginAllowThreads();
49df1f52 5240 wxWindow_SetSizer(_arg0,_arg1,_arg2);
2f90df85 5241
474c48f9 5242 wxPyEndAllowThreads(__tstate);
4dfaa61e 5243 if (PyErr_Occurred()) return NULL;
2f90df85
RD
5244} Py_INCREF(Py_None);
5245 _resultobj = Py_None;
5246 return _resultobj;
5247}
5248
8381e4cd
RD
5249#define wxWindow_SetSizerAndFit(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSizerAndFit(_swigarg0,_swigarg1))
5250static PyObject *_wrap_wxWindow_SetSizerAndFit(PyObject *self, PyObject *args, PyObject *kwargs) {
5251 PyObject * _resultobj;
5252 wxWindow * _arg0;
5253 wxSizer * _arg1;
5254 bool _arg2 = (bool ) TRUE;
5255 PyObject * _argo0 = 0;
5256 PyObject * _argo1 = 0;
5257 int tempbool2 = (int) TRUE;
5258 char *_kwnames[] = { "self","sizer","deleteOld", NULL };
5259
5260 self = self;
5261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxWindow_SetSizerAndFit",_kwnames,&_argo0,&_argo1,&tempbool2))
5262 return NULL;
5263 if (_argo0) {
5264 if (_argo0 == Py_None) { _arg0 = NULL; }
5265 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5266 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetSizerAndFit. Expected _wxWindow_p.");
5267 return NULL;
5268 }
5269 }
5270 if (_argo1) {
5271 if (_argo1 == Py_None) { _arg1 = NULL; }
5272 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSizer_p")) {
5273 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetSizerAndFit. Expected _wxSizer_p.");
5274 return NULL;
5275 }
5276 }
5277 _arg2 = (bool ) tempbool2;
5278{
5279 PyThreadState* __tstate = wxPyBeginAllowThreads();
5280 wxWindow_SetSizerAndFit(_arg0,_arg1,_arg2);
5281
5282 wxPyEndAllowThreads(__tstate);
5283 if (PyErr_Occurred()) return NULL;
5284} Py_INCREF(Py_None);
5285 _resultobj = Py_None;
5286 return _resultobj;
5287}
5288
f6bcfd97
BP
5289#define wxWindow_GetSizer(_swigobj) (_swigobj->GetSizer())
5290static PyObject *_wrap_wxWindow_GetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
5291 PyObject * _resultobj;
5292 wxSizer * _result;
5293 wxWindow * _arg0;
5294 PyObject * _argo0 = 0;
5295 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
5296
5297 self = self;
5298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetSizer",_kwnames,&_argo0))
5299 return NULL;
5300 if (_argo0) {
5301 if (_argo0 == Py_None) { _arg0 = NULL; }
5302 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5303 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetSizer. Expected _wxWindow_p.");
5304 return NULL;
5305 }
5306 }
5307{
474c48f9 5308 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5309 _result = (wxSizer *)wxWindow_GetSizer(_arg0);
f6bcfd97 5310
474c48f9 5311 wxPyEndAllowThreads(__tstate);
4dfaa61e 5312 if (PyErr_Occurred()) return NULL;
7a9b33db 5313}{ _resultobj = wxPyMake_wxSizer(_result); }
f6bcfd97
BP
5314 return _resultobj;
5315}
5316
94082a71
RD
5317#define wxWindow_SetContainingSizer(_swigobj,_swigarg0) (_swigobj->SetContainingSizer(_swigarg0))
5318static PyObject *_wrap_wxWindow_SetContainingSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
5319 PyObject * _resultobj;
5320 wxWindow * _arg0;
5321 wxSizer * _arg1;
5322 PyObject * _argo0 = 0;
5323 PyObject * _argo1 = 0;
5324 char *_kwnames[] = { "self","sizer", NULL };
5325
5326 self = self;
5327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetContainingSizer",_kwnames,&_argo0,&_argo1))
5328 return NULL;
5329 if (_argo0) {
5330 if (_argo0 == Py_None) { _arg0 = NULL; }
5331 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5332 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetContainingSizer. Expected _wxWindow_p.");
5333 return NULL;
5334 }
5335 }
5336 if (_argo1) {
5337 if (_argo1 == Py_None) { _arg1 = NULL; }
5338 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSizer_p")) {
5339 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetContainingSizer. Expected _wxSizer_p.");
5340 return NULL;
5341 }
5342 }
5343{
5344 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5345 wxWindow_SetContainingSizer(_arg0,_arg1);
94082a71
RD
5346
5347 wxPyEndAllowThreads(__tstate);
5348 if (PyErr_Occurred()) return NULL;
5349} Py_INCREF(Py_None);
5350 _resultobj = Py_None;
5351 return _resultobj;
5352}
5353
5354#define wxWindow_GetContainingSizer(_swigobj) (_swigobj->GetContainingSizer())
5355static PyObject *_wrap_wxWindow_GetContainingSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
5356 PyObject * _resultobj;
5357 wxSizer * _result;
5358 wxWindow * _arg0;
5359 PyObject * _argo0 = 0;
5360 char *_kwnames[] = { "self", NULL };
5361
5362 self = self;
5363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetContainingSizer",_kwnames,&_argo0))
5364 return NULL;
5365 if (_argo0) {
5366 if (_argo0 == Py_None) { _arg0 = NULL; }
5367 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5368 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetContainingSizer. Expected _wxWindow_p.");
5369 return NULL;
5370 }
5371 }
5372{
5373 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5374 _result = (wxSizer *)wxWindow_GetContainingSizer(_arg0);
94082a71
RD
5375
5376 wxPyEndAllowThreads(__tstate);
5377 if (PyErr_Occurred()) return NULL;
5378}{ _resultobj = wxPyMake_wxSizer(_result); }
5379 return _resultobj;
5380}
5381
2f90df85
RD
5382#define wxWindow_GetValidator(_swigobj) (_swigobj->GetValidator())
5383static PyObject *_wrap_wxWindow_GetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
5384 PyObject * _resultobj;
5385 wxValidator * _result;
5386 wxWindow * _arg0;
5387 PyObject * _argo0 = 0;
5388 char *_kwnames[] = { "self", NULL };
2f90df85
RD
5389
5390 self = self;
5391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetValidator",_kwnames,&_argo0))
5392 return NULL;
5393 if (_argo0) {
5394 if (_argo0 == Py_None) { _arg0 = NULL; }
5395 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5396 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetValidator. Expected _wxWindow_p.");
5397 return NULL;
5398 }
5399 }
5400{
474c48f9 5401 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5402 _result = (wxValidator *)wxWindow_GetValidator(_arg0);
2f90df85 5403
474c48f9 5404 wxPyEndAllowThreads(__tstate);
4dfaa61e 5405 if (PyErr_Occurred()) return NULL;
9df61a29 5406}{ _resultobj = wxPyMake_wxObject(_result); }
2f90df85
RD
5407 return _resultobj;
5408}
5409
5410#define wxWindow_SetValidator(_swigobj,_swigarg0) (_swigobj->SetValidator(_swigarg0))
5411static PyObject *_wrap_wxWindow_SetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
5412 PyObject * _resultobj;
5413 wxWindow * _arg0;
5414 wxValidator * _arg1;
5415 PyObject * _argo0 = 0;
5416 PyObject * _argo1 = 0;
5417 char *_kwnames[] = { "self","validator", NULL };
5418
5419 self = self;
5420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetValidator",_kwnames,&_argo0,&_argo1))
5421 return NULL;
5422 if (_argo0) {
5423 if (_argo0 == Py_None) { _arg0 = NULL; }
5424 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5425 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetValidator. Expected _wxWindow_p.");
5426 return NULL;
5427 }
5428 }
5429 if (_argo1) {
5430 if (_argo1 == Py_None) { _arg1 = NULL; }
5431 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxValidator_p")) {
5432 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetValidator. Expected _wxValidator_p.");
5433 return NULL;
5434 }
5435 }
5436{
474c48f9 5437 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5438 wxWindow_SetValidator(_arg0,*_arg1);
2f90df85 5439
474c48f9 5440 wxPyEndAllowThreads(__tstate);
4dfaa61e 5441 if (PyErr_Occurred()) return NULL;
2f90df85
RD
5442} Py_INCREF(Py_None);
5443 _resultobj = Py_None;
5444 return _resultobj;
5445}
5446
b1462dfa
RD
5447#define wxWindow_SetDropTarget(_swigobj,_swigarg0) (_swigobj->SetDropTarget(_swigarg0))
5448static PyObject *_wrap_wxWindow_SetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
5449 PyObject * _resultobj;
5450 wxWindow * _arg0;
5451 wxDropTarget * _arg1;
5452 PyObject * _argo0 = 0;
5453 PyObject * _argo1 = 0;
5454 char *_kwnames[] = { "self","target", NULL };
5455
5456 self = self;
5457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetDropTarget",_kwnames,&_argo0,&_argo1))
5458 return NULL;
5459 if (_argo0) {
5460 if (_argo0 == Py_None) { _arg0 = NULL; }
5461 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5462 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetDropTarget. Expected _wxWindow_p.");
5463 return NULL;
5464 }
5465 }
5466 if (_argo1) {
5467 if (_argo1 == Py_None) { _arg1 = NULL; }
5468 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDropTarget_p")) {
5469 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetDropTarget. Expected _wxDropTarget_p.");
5470 return NULL;
5471 }
5472 }
5473{
474c48f9 5474 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5475 wxWindow_SetDropTarget(_arg0,_arg1);
b1462dfa 5476
474c48f9 5477 wxPyEndAllowThreads(__tstate);
4dfaa61e 5478 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
5479} Py_INCREF(Py_None);
5480 _resultobj = Py_None;
5481 return _resultobj;
5482}
5483
5484#define wxWindow_GetDropTarget(_swigobj) (_swigobj->GetDropTarget())
5485static PyObject *_wrap_wxWindow_GetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
5486 PyObject * _resultobj;
5487 wxDropTarget * _result;
5488 wxWindow * _arg0;
5489 PyObject * _argo0 = 0;
5490 char *_kwnames[] = { "self", NULL };
5491 char _ptemp[128];
5492
5493 self = self;
5494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetDropTarget",_kwnames,&_argo0))
5495 return NULL;
5496 if (_argo0) {
5497 if (_argo0 == Py_None) { _arg0 = NULL; }
5498 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5499 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetDropTarget. Expected _wxWindow_p.");
5500 return NULL;
5501 }
5502 }
5503{
474c48f9 5504 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5505 _result = (wxDropTarget *)wxWindow_GetDropTarget(_arg0);
b1462dfa 5506
474c48f9 5507 wxPyEndAllowThreads(__tstate);
4dfaa61e 5508 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
5509} if (_result) {
5510 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDropTarget_p");
5511 _resultobj = Py_BuildValue("s",_ptemp);
5512 } else {
5513 Py_INCREF(Py_None);
5514 _resultobj = Py_None;
5515 }
5516 return _resultobj;
5517}
5518
694759cf
RD
5519#define wxWindow_GetBestSize(_swigobj) (_swigobj->GetBestSize())
5520static PyObject *_wrap_wxWindow_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5521 PyObject * _resultobj;
5522 wxSize * _result;
5523 wxWindow * _arg0;
5524 PyObject * _argo0 = 0;
5525 char *_kwnames[] = { "self", NULL };
5526 char _ptemp[128];
5527
5528 self = self;
5529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetBestSize",_kwnames,&_argo0))
5530 return NULL;
5531 if (_argo0) {
5532 if (_argo0 == Py_None) { _arg0 = NULL; }
5533 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5534 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetBestSize. Expected _wxWindow_p.");
5535 return NULL;
5536 }
5537 }
5538{
474c48f9 5539 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5540 _result = new wxSize (wxWindow_GetBestSize(_arg0));
694759cf 5541
474c48f9 5542 wxPyEndAllowThreads(__tstate);
4dfaa61e 5543 if (PyErr_Occurred()) return NULL;
694759cf
RD
5544} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
5545 _resultobj = Py_BuildValue("s",_ptemp);
5546 return _resultobj;
5547}
5548
49df1f52
RD
5549#define wxWindow_GetMaxSize(_swigobj) (_swigobj->GetMaxSize())
5550static PyObject *_wrap_wxWindow_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5551 PyObject * _resultobj;
5552 wxSize * _result;
5553 wxWindow * _arg0;
5554 PyObject * _argo0 = 0;
5555 char *_kwnames[] = { "self", NULL };
5556 char _ptemp[128];
5557
5558 self = self;
5559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetMaxSize",_kwnames,&_argo0))
5560 return NULL;
5561 if (_argo0) {
5562 if (_argo0 == Py_None) { _arg0 = NULL; }
5563 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5564 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetMaxSize. Expected _wxWindow_p.");
5565 return NULL;
5566 }
5567 }
5568{
5569 PyThreadState* __tstate = wxPyBeginAllowThreads();
5570 _result = new wxSize (wxWindow_GetMaxSize(_arg0));
5571
5572 wxPyEndAllowThreads(__tstate);
5573 if (PyErr_Occurred()) return NULL;
5574} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
5575 _resultobj = Py_BuildValue("s",_ptemp);
5576 return _resultobj;
5577}
5578
a1df7a95
RD
5579#define wxWindow_SetCaret(_swigobj,_swigarg0) (_swigobj->SetCaret(_swigarg0))
5580static PyObject *_wrap_wxWindow_SetCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
5581 PyObject * _resultobj;
5582 wxWindow * _arg0;
5583 wxCaret * _arg1;
5584 PyObject * _argo0 = 0;
5585 PyObject * _argo1 = 0;
5586 char *_kwnames[] = { "self","caret", NULL };
5587
5588 self = self;
5589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetCaret",_kwnames,&_argo0,&_argo1))
5590 return NULL;
5591 if (_argo0) {
5592 if (_argo0 == Py_None) { _arg0 = NULL; }
5593 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5594 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetCaret. Expected _wxWindow_p.");
5595 return NULL;
5596 }
5597 }
5598 if (_argo1) {
5599 if (_argo1 == Py_None) { _arg1 = NULL; }
5600 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCaret_p")) {
5601 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetCaret. Expected _wxCaret_p.");
5602 return NULL;
5603 }
5604 }
5605{
474c48f9 5606 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5607 wxWindow_SetCaret(_arg0,_arg1);
a1df7a95 5608
474c48f9 5609 wxPyEndAllowThreads(__tstate);
4dfaa61e 5610 if (PyErr_Occurred()) return NULL;
a1df7a95
RD
5611} Py_INCREF(Py_None);
5612 _resultobj = Py_None;
5613 return _resultobj;
5614}
5615
5616#define wxWindow_GetCaret(_swigobj) (_swigobj->GetCaret())
5617static PyObject *_wrap_wxWindow_GetCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
5618 PyObject * _resultobj;
5619 wxCaret * _result;
5620 wxWindow * _arg0;
5621 PyObject * _argo0 = 0;
5622 char *_kwnames[] = { "self", NULL };
5623 char _ptemp[128];
5624
5625 self = self;
5626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetCaret",_kwnames,&_argo0))
5627 return NULL;
5628 if (_argo0) {
5629 if (_argo0 == Py_None) { _arg0 = NULL; }
5630 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5631 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetCaret. Expected _wxWindow_p.");
5632 return NULL;
5633 }
5634 }
5635{
474c48f9 5636 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5637 _result = (wxCaret *)wxWindow_GetCaret(_arg0);
a1df7a95 5638
474c48f9 5639 wxPyEndAllowThreads(__tstate);
4dfaa61e 5640 if (PyErr_Occurred()) return NULL;
a1df7a95
RD
5641} if (_result) {
5642 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCaret_p");
5643 _resultobj = Py_BuildValue("s",_ptemp);
5644 } else {
5645 Py_INCREF(Py_None);
5646 _resultobj = Py_None;
5647 }
5648 return _resultobj;
5649}
5650
10be44ac
RD
5651#define wxWindow_Freeze(_swigobj) (_swigobj->Freeze())
5652static PyObject *_wrap_wxWindow_Freeze(PyObject *self, PyObject *args, PyObject *kwargs) {
5653 PyObject * _resultobj;
5654 wxWindow * _arg0;
5655 PyObject * _argo0 = 0;
5656 char *_kwnames[] = { "self", NULL };
5657
5658 self = self;
5659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Freeze",_kwnames,&_argo0))
5660 return NULL;
5661 if (_argo0) {
5662 if (_argo0 == Py_None) { _arg0 = NULL; }
5663 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5664 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Freeze. Expected _wxWindow_p.");
5665 return NULL;
5666 }
5667 }
5668{
474c48f9 5669 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5670 wxWindow_Freeze(_arg0);
10be44ac 5671
474c48f9 5672 wxPyEndAllowThreads(__tstate);
10be44ac
RD
5673 if (PyErr_Occurred()) return NULL;
5674} Py_INCREF(Py_None);
5675 _resultobj = Py_None;
5676 return _resultobj;
5677}
5678
5679#define wxWindow_Thaw(_swigobj) (_swigobj->Thaw())
5680static PyObject *_wrap_wxWindow_Thaw(PyObject *self, PyObject *args, PyObject *kwargs) {
5681 PyObject * _resultobj;
5682 wxWindow * _arg0;
5683 PyObject * _argo0 = 0;
5684 char *_kwnames[] = { "self", NULL };
5685
5686 self = self;
5687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Thaw",_kwnames,&_argo0))
5688 return NULL;
5689 if (_argo0) {
5690 if (_argo0 == Py_None) { _arg0 = NULL; }
5691 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5692 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Thaw. Expected _wxWindow_p.");
5693 return NULL;
5694 }
5695 }
5696{
474c48f9 5697 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5698 wxWindow_Thaw(_arg0);
10be44ac 5699
474c48f9 5700 wxPyEndAllowThreads(__tstate);
10be44ac
RD
5701 if (PyErr_Occurred()) return NULL;
5702} Py_INCREF(Py_None);
5703 _resultobj = Py_None;
5704 return _resultobj;
5705}
5706
aa2a5b86
RD
5707#define wxWindow_Update(_swigobj) (_swigobj->Update())
5708static PyObject *_wrap_wxWindow_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
5709 PyObject * _resultobj;
5710 wxWindow * _arg0;
5711 PyObject * _argo0 = 0;
5712 char *_kwnames[] = { "self", NULL };
5713
5714 self = self;
5715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Update",_kwnames,&_argo0))
5716 return NULL;
5717 if (_argo0) {
5718 if (_argo0 == Py_None) { _arg0 = NULL; }
5719 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5720 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Update. Expected _wxWindow_p.");
5721 return NULL;
5722 }
5723 }
5724{
474c48f9 5725 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5726 wxWindow_Update(_arg0);
aa2a5b86 5727
474c48f9 5728 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
5729 if (PyErr_Occurred()) return NULL;
5730} Py_INCREF(Py_None);
5731 _resultobj = Py_None;
5732 return _resultobj;
5733}
5734
cd096152
RD
5735#define wxWindow_GetHelpText(_swigobj) (_swigobj->GetHelpText())
5736static PyObject *_wrap_wxWindow_GetHelpText(PyObject *self, PyObject *args, PyObject *kwargs) {
5737 PyObject * _resultobj;
5738 wxString * _result;
5739 wxWindow * _arg0;
5740 PyObject * _argo0 = 0;
5741 char *_kwnames[] = { "self", NULL };
5742
5743 self = self;
5744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetHelpText",_kwnames,&_argo0))
5745 return NULL;
5746 if (_argo0) {
5747 if (_argo0 == Py_None) { _arg0 = NULL; }
5748 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5749 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetHelpText. Expected _wxWindow_p.");
5750 return NULL;
5751 }
5752 }
5753{
474c48f9 5754 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5755 _result = new wxString (wxWindow_GetHelpText(_arg0));
cd096152 5756
474c48f9 5757 wxPyEndAllowThreads(__tstate);
cd096152
RD
5758 if (PyErr_Occurred()) return NULL;
5759}{
c8bc7bb8
RD
5760#if wxUSE_UNICODE
5761 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
5762#else
cd096152 5763 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 5764#endif
cd096152
RD
5765}
5766{
5767 delete _result;
5768}
5769 return _resultobj;
5770}
5771
5772#define wxWindow_SetHelpText(_swigobj,_swigarg0) (_swigobj->SetHelpText(_swigarg0))
5773static PyObject *_wrap_wxWindow_SetHelpText(PyObject *self, PyObject *args, PyObject *kwargs) {
5774 PyObject * _resultobj;
5775 wxWindow * _arg0;
5776 wxString * _arg1;
5777 PyObject * _argo0 = 0;
5778 PyObject * _obj1 = 0;
5779 char *_kwnames[] = { "self","helpText", NULL };
5780
5781 self = self;
5782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetHelpText",_kwnames,&_argo0,&_obj1))
5783 return NULL;
5784 if (_argo0) {
5785 if (_argo0 == Py_None) { _arg0 = NULL; }
5786 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5787 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetHelpText. Expected _wxWindow_p.");
5788 return NULL;
5789 }
5790 }
5791{
c8bc7bb8
RD
5792 _arg1 = wxString_in_helper(_obj1);
5793 if (_arg1 == NULL)
cd096152 5794 return NULL;
cd096152
RD
5795}
5796{
474c48f9 5797 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5798 wxWindow_SetHelpText(_arg0,*_arg1);
cd096152 5799
474c48f9 5800 wxPyEndAllowThreads(__tstate);
cd096152
RD
5801 if (PyErr_Occurred()) return NULL;
5802} Py_INCREF(Py_None);
5803 _resultobj = Py_None;
5804{
5805 if (_obj1)
5806 delete _arg1;
5807}
5808 return _resultobj;
5809}
5810
8cb49012
RD
5811#define wxWindow_SetHelpTextForId(_swigobj,_swigarg0) (_swigobj->SetHelpTextForId(_swigarg0))
5812static PyObject *_wrap_wxWindow_SetHelpTextForId(PyObject *self, PyObject *args, PyObject *kwargs) {
5813 PyObject * _resultobj;
5814 wxWindow * _arg0;
5815 wxString * _arg1;
5816 PyObject * _argo0 = 0;
5817 PyObject * _obj1 = 0;
5818 char *_kwnames[] = { "self","text", NULL };
5819
5820 self = self;
5821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetHelpTextForId",_kwnames,&_argo0,&_obj1))
5822 return NULL;
5823 if (_argo0) {
5824 if (_argo0 == Py_None) { _arg0 = NULL; }
5825 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5826 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetHelpTextForId. Expected _wxWindow_p.");
5827 return NULL;
5828 }
5829 }
5830{
c8bc7bb8
RD
5831 _arg1 = wxString_in_helper(_obj1);
5832 if (_arg1 == NULL)
8cb49012 5833 return NULL;
8cb49012
RD
5834}
5835{
5836 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5837 wxWindow_SetHelpTextForId(_arg0,*_arg1);
8cb49012
RD
5838
5839 wxPyEndAllowThreads(__tstate);
5840 if (PyErr_Occurred()) return NULL;
5841} Py_INCREF(Py_None);
5842 _resultobj = Py_None;
5843{
5844 if (_obj1)
5845 delete _arg1;
5846}
5847 return _resultobj;
5848}
5849
cd096152
RD
5850#define wxWindow_ScrollLines(_swigobj,_swigarg0) (_swigobj->ScrollLines(_swigarg0))
5851static PyObject *_wrap_wxWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
5852 PyObject * _resultobj;
5853 bool _result;
5854 wxWindow * _arg0;
5855 int _arg1;
5856 PyObject * _argo0 = 0;
5857 char *_kwnames[] = { "self","lines", NULL };
5858
5859 self = self;
5860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_ScrollLines",_kwnames,&_argo0,&_arg1))
5861 return NULL;
5862 if (_argo0) {
5863 if (_argo0 == Py_None) { _arg0 = NULL; }
5864 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5865 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScrollLines. Expected _wxWindow_p.");
5866 return NULL;
5867 }
5868 }
5869{
474c48f9 5870 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5871 _result = (bool )wxWindow_ScrollLines(_arg0,_arg1);
cd096152 5872
474c48f9 5873 wxPyEndAllowThreads(__tstate);
cd096152
RD
5874 if (PyErr_Occurred()) return NULL;
5875} _resultobj = Py_BuildValue("i",_result);
5876 return _resultobj;
5877}
5878
5879#define wxWindow_ScrollPages(_swigobj,_swigarg0) (_swigobj->ScrollPages(_swigarg0))
5880static PyObject *_wrap_wxWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
5881 PyObject * _resultobj;
5882 bool _result;
5883 wxWindow * _arg0;
5884 int _arg1;
5885 PyObject * _argo0 = 0;
5886 char *_kwnames[] = { "self","pages", NULL };
5887
5888 self = self;
5889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_ScrollPages",_kwnames,&_argo0,&_arg1))
5890 return NULL;
5891 if (_argo0) {
5892 if (_argo0 == Py_None) { _arg0 = NULL; }
5893 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5894 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScrollPages. Expected _wxWindow_p.");
5895 return NULL;
5896 }
5897 }
5898{
474c48f9 5899 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5900 _result = (bool )wxWindow_ScrollPages(_arg0,_arg1);
cd096152 5901
474c48f9 5902 wxPyEndAllowThreads(__tstate);
cd096152
RD
5903 if (PyErr_Occurred()) return NULL;
5904} _resultobj = Py_BuildValue("i",_result);
5905 return _resultobj;
5906}
5907
5908#define wxWindow_LineUp(_swigobj) (_swigobj->LineUp())
5909static PyObject *_wrap_wxWindow_LineUp(PyObject *self, PyObject *args, PyObject *kwargs) {
5910 PyObject * _resultobj;
5911 bool _result;
5912 wxWindow * _arg0;
5913 PyObject * _argo0 = 0;
5914 char *_kwnames[] = { "self", NULL };
5915
5916 self = self;
5917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_LineUp",_kwnames,&_argo0))
5918 return NULL;
5919 if (_argo0) {
5920 if (_argo0 == Py_None) { _arg0 = NULL; }
5921 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5922 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_LineUp. Expected _wxWindow_p.");
5923 return NULL;
5924 }
5925 }
5926{
474c48f9 5927 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5928 _result = (bool )wxWindow_LineUp(_arg0);
cd096152 5929
474c48f9 5930 wxPyEndAllowThreads(__tstate);
cd096152
RD
5931 if (PyErr_Occurred()) return NULL;
5932} _resultobj = Py_BuildValue("i",_result);
5933 return _resultobj;
5934}
5935
5936#define wxWindow_LineDown(_swigobj) (_swigobj->LineDown())
5937static PyObject *_wrap_wxWindow_LineDown(PyObject *self, PyObject *args, PyObject *kwargs) {
5938 PyObject * _resultobj;
5939 bool _result;
5940 wxWindow * _arg0;
5941 PyObject * _argo0 = 0;
5942 char *_kwnames[] = { "self", NULL };
5943
5944 self = self;
5945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_LineDown",_kwnames,&_argo0))
5946 return NULL;
5947 if (_argo0) {
5948 if (_argo0 == Py_None) { _arg0 = NULL; }
5949 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5950 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_LineDown. Expected _wxWindow_p.");
5951 return NULL;
5952 }
5953 }
5954{
474c48f9 5955 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5956 _result = (bool )wxWindow_LineDown(_arg0);
cd096152 5957
474c48f9 5958 wxPyEndAllowThreads(__tstate);
cd096152
RD
5959 if (PyErr_Occurred()) return NULL;
5960} _resultobj = Py_BuildValue("i",_result);
5961 return _resultobj;
5962}
5963
5964#define wxWindow_PageUp(_swigobj) (_swigobj->PageUp())
5965static PyObject *_wrap_wxWindow_PageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
5966 PyObject * _resultobj;
5967 bool _result;
5968 wxWindow * _arg0;
5969 PyObject * _argo0 = 0;
5970 char *_kwnames[] = { "self", NULL };
5971
5972 self = self;
5973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_PageUp",_kwnames,&_argo0))
5974 return NULL;
5975 if (_argo0) {
5976 if (_argo0 == Py_None) { _arg0 = NULL; }
5977 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5978 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PageUp. Expected _wxWindow_p.");
5979 return NULL;
5980 }
5981 }
5982{
474c48f9 5983 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5984 _result = (bool )wxWindow_PageUp(_arg0);
cd096152 5985
474c48f9 5986 wxPyEndAllowThreads(__tstate);
cd096152
RD
5987 if (PyErr_Occurred()) return NULL;
5988} _resultobj = Py_BuildValue("i",_result);
5989 return _resultobj;
5990}
5991
5992#define wxWindow_PageDown(_swigobj) (_swigobj->PageDown())
5993static PyObject *_wrap_wxWindow_PageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
5994 PyObject * _resultobj;
5995 bool _result;
5996 wxWindow * _arg0;
5997 PyObject * _argo0 = 0;
5998 char *_kwnames[] = { "self", NULL };
5999
6000 self = self;
6001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_PageDown",_kwnames,&_argo0))
6002 return NULL;
6003 if (_argo0) {
6004 if (_argo0 == Py_None) { _arg0 = NULL; }
6005 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6006 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PageDown. Expected _wxWindow_p.");
6007 return NULL;
6008 }
6009 }
6010{
474c48f9 6011 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6012 _result = (bool )wxWindow_PageDown(_arg0);
cd096152 6013
474c48f9 6014 wxPyEndAllowThreads(__tstate);
cd096152
RD
6015 if (PyErr_Occurred()) return NULL;
6016} _resultobj = Py_BuildValue("i",_result);
6017 return _resultobj;
6018}
6019
aa2a5b86
RD
6020static PyObject *_wrap_wxWindow_FindFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
6021 PyObject * _resultobj;
6022 wxWindow * _result;
6023 char *_kwnames[] = { NULL };
6024
6025 self = self;
6026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxWindow_FindFocus",_kwnames))
6027 return NULL;
6028{
474c48f9 6029 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6030 _result = (wxWindow *)wxWindow::FindFocus();
aa2a5b86 6031
474c48f9 6032 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
6033 if (PyErr_Occurred()) return NULL;
6034}{ _resultobj = wxPyMake_wxObject(_result); }
6035 return _resultobj;
6036}
6037
6038static PyObject *_wrap_wxWindow_NewControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
6039 PyObject * _resultobj;
6040 int _result;
6041 char *_kwnames[] = { NULL };
6042
6043 self = self;
6044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxWindow_NewControlId",_kwnames))
6045 return NULL;
6046{
474c48f9 6047 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6048 _result = (int )wxWindow::NewControlId();
aa2a5b86 6049
474c48f9 6050 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
6051 if (PyErr_Occurred()) return NULL;
6052} _resultobj = Py_BuildValue("i",_result);
6053 return _resultobj;
6054}
6055
6056static PyObject *_wrap_wxWindow_NextControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
6057 PyObject * _resultobj;
6058 int _result;
6059 int _arg0;
6060 char *_kwnames[] = { "id", NULL };
6061
6062 self = self;
6063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxWindow_NextControlId",_kwnames,&_arg0))
6064 return NULL;
6065{
474c48f9 6066 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6067 _result = (int )wxWindow::NextControlId(_arg0);
aa2a5b86 6068
474c48f9 6069 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
6070 if (PyErr_Occurred()) return NULL;
6071} _resultobj = Py_BuildValue("i",_result);
6072 return _resultobj;
6073}
6074
6075static PyObject *_wrap_wxWindow_PrevControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
6076 PyObject * _resultobj;
6077 int _result;
6078 int _arg0;
6079 char *_kwnames[] = { "id", NULL };
6080
6081 self = self;
6082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxWindow_PrevControlId",_kwnames,&_arg0))
6083 return NULL;
6084{
474c48f9 6085 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6086 _result = (int )wxWindow::PrevControlId(_arg0);
aa2a5b86 6087
474c48f9 6088 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
6089 if (PyErr_Occurred()) return NULL;
6090} _resultobj = Py_BuildValue("i",_result);
6091 return _resultobj;
6092}
6093
32c988a3
RD
6094#define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
6095static PyObject *_wrap_wxWindow_SetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
6096 PyObject * _resultobj;
6097 wxWindow * _arg0;
6098 wxAcceleratorTable * _arg1;
6099 PyObject * _argo0 = 0;
6100 PyObject * _argo1 = 0;
6101 char *_kwnames[] = { "self","accel", NULL };
6102
6103 self = self;
6104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetAcceleratorTable",_kwnames,&_argo0,&_argo1))
6105 return NULL;
6106 if (_argo0) {
6107 if (_argo0 == Py_None) { _arg0 = NULL; }
6108 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6109 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
6110 return NULL;
6111 }
6112 }
6113 if (_argo1) {
6114 if (_argo1 == Py_None) { _arg1 = NULL; }
6115 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxAcceleratorTable_p")) {
6116 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
6117 return NULL;
6118 }
6119 }
6120{
474c48f9 6121 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6122 wxWindow_SetAcceleratorTable(_arg0,*_arg1);
32c988a3 6123
474c48f9 6124 wxPyEndAllowThreads(__tstate);
32c988a3
RD
6125 if (PyErr_Occurred()) return NULL;
6126} Py_INCREF(Py_None);
6127 _resultobj = Py_None;
6128 return _resultobj;
6129}
6130
65191ae8
RD
6131#define wxWindow_GetAcceleratorTable(_swigobj) (_swigobj->GetAcceleratorTable())
6132static PyObject *_wrap_wxWindow_GetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
6133 PyObject * _resultobj;
6134 wxAcceleratorTable * _result;
6135 wxWindow * _arg0;
6136 PyObject * _argo0 = 0;
6137 char *_kwnames[] = { "self", NULL };
6138 char _ptemp[128];
6139
6140 self = self;
6141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetAcceleratorTable",_kwnames,&_argo0))
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_GetAcceleratorTable. Expected _wxWindow_p.");
6147 return NULL;
6148 }
6149 }
6150{
474c48f9 6151 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6152 _result = (wxAcceleratorTable *)wxWindow_GetAcceleratorTable(_arg0);
65191ae8 6153
474c48f9 6154 wxPyEndAllowThreads(__tstate);
65191ae8
RD
6155 if (PyErr_Occurred()) return NULL;
6156} if (_result) {
6157 SWIG_MakePtr(_ptemp, (char *) _result,"_wxAcceleratorTable_p");
6158 _resultobj = Py_BuildValue("s",_ptemp);
6159 } else {
6160 Py_INCREF(Py_None);
6161 _resultobj = Py_None;
6162 }
6163 return _resultobj;
6164}
6165
1893b029
RD
6166#define wxWindow_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
6167static PyObject *_wrap_wxWindow_GetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
6168 PyObject * _resultobj;
49df1f52 6169 wxWindow * _result;
1893b029
RD
6170 wxWindow * _arg0;
6171 PyObject * _argo0 = 0;
6172 char *_kwnames[] = { "self", NULL };
6173
6174 self = self;
6175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetDefaultItem",_kwnames,&_argo0))
6176 return NULL;
6177 if (_argo0) {
6178 if (_argo0 == Py_None) { _arg0 = NULL; }
6179 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6180 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetDefaultItem. Expected _wxWindow_p.");
6181 return NULL;
6182 }
6183 }
6184{
6185 PyThreadState* __tstate = wxPyBeginAllowThreads();
49df1f52 6186 _result = (wxWindow *)wxWindow_GetDefaultItem(_arg0);
1893b029
RD
6187
6188 wxPyEndAllowThreads(__tstate);
6189 if (PyErr_Occurred()) return NULL;
6190}{ _resultobj = wxPyMake_wxObject(_result); }
6191 return _resultobj;
6192}
6193
6194#define wxWindow_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
6195static PyObject *_wrap_wxWindow_SetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
6196 PyObject * _resultobj;
49df1f52 6197 wxWindow * _result;
1893b029 6198 wxWindow * _arg0;
49df1f52 6199 wxWindow * _arg1;
1893b029
RD
6200 PyObject * _argo0 = 0;
6201 PyObject * _argo1 = 0;
6202 char *_kwnames[] = { "self","btn", NULL };
6203
6204 self = self;
6205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetDefaultItem",_kwnames,&_argo0,&_argo1))
6206 return NULL;
6207 if (_argo0) {
6208 if (_argo0 == Py_None) { _arg0 = NULL; }
6209 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6210 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetDefaultItem. Expected _wxWindow_p.");
6211 return NULL;
6212 }
6213 }
6214 if (_argo1) {
6215 if (_argo1 == Py_None) { _arg1 = NULL; }
49df1f52
RD
6216 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
6217 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetDefaultItem. Expected _wxWindow_p.");
1893b029
RD
6218 return NULL;
6219 }
6220 }
6221{
6222 PyThreadState* __tstate = wxPyBeginAllowThreads();
49df1f52 6223 _result = (wxWindow *)wxWindow_SetDefaultItem(_arg0,_arg1);
1893b029
RD
6224
6225 wxPyEndAllowThreads(__tstate);
6226 if (PyErr_Occurred()) return NULL;
49df1f52 6227}{ _resultobj = wxPyMake_wxObject(_result); }
1893b029
RD
6228 return _resultobj;
6229}
6230
12d1116b
RD
6231#define wxWindow_SetTmpDefaultItem(_swigobj,_swigarg0) (_swigobj->SetTmpDefaultItem(_swigarg0))
6232static PyObject *_wrap_wxWindow_SetTmpDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
6233 PyObject * _resultobj;
6234 wxWindow * _arg0;
6235 wxWindow * _arg1;
6236 PyObject * _argo0 = 0;
6237 PyObject * _argo1 = 0;
6238 char *_kwnames[] = { "self","win", NULL };
6239
6240 self = self;
6241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetTmpDefaultItem",_kwnames,&_argo0,&_argo1))
6242 return NULL;
6243 if (_argo0) {
6244 if (_argo0 == Py_None) { _arg0 = NULL; }
6245 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6246 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetTmpDefaultItem. Expected _wxWindow_p.");
6247 return NULL;
6248 }
6249 }
6250 if (_argo1) {
6251 if (_argo1 == Py_None) { _arg1 = NULL; }
6252 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
6253 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetTmpDefaultItem. Expected _wxWindow_p.");
6254 return NULL;
6255 }
6256 }
6257{
6258 PyThreadState* __tstate = wxPyBeginAllowThreads();
6259 wxWindow_SetTmpDefaultItem(_arg0,_arg1);
6260
6261 wxPyEndAllowThreads(__tstate);
6262 if (PyErr_Occurred()) return NULL;
6263} Py_INCREF(Py_None);
6264 _resultobj = Py_None;
6265 return _resultobj;
6266}
6267
94c16279
RD
6268#define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
6269static PyObject *_wrap_wxWindow_WarpPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
6270 PyObject * _resultobj;
6271 wxWindow * _arg0;
6272 int _arg1;
6273 int _arg2;
6274 PyObject * _argo0 = 0;
6275 char *_kwnames[] = { "self","x","y", NULL };
6276
6277 self = self;
6278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxWindow_WarpPointer",_kwnames,&_argo0,&_arg1,&_arg2))
6279 return NULL;
6280 if (_argo0) {
6281 if (_argo0 == Py_None) { _arg0 = NULL; }
6282 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6283 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
6284 return NULL;
6285 }
6286 }
6287{
6288 PyThreadState* __tstate = wxPyBeginAllowThreads();
6289 wxWindow_WarpPointer(_arg0,_arg1,_arg2);
6290
6291 wxPyEndAllowThreads(__tstate);
6292 if (PyErr_Occurred()) return NULL;
6293} Py_INCREF(Py_None);
6294 _resultobj = Py_None;
6295 return _resultobj;
6296}
6297
6298#define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
6299static PyObject *_wrap_wxWindow_CaptureMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
6300 PyObject * _resultobj;
6301 wxWindow * _arg0;
6302 PyObject * _argo0 = 0;
6303 char *_kwnames[] = { "self", NULL };
6304
6305 self = self;
6306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_CaptureMouse",_kwnames,&_argo0))
6307 return NULL;
6308 if (_argo0) {
6309 if (_argo0 == Py_None) { _arg0 = NULL; }
6310 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6311 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
6312 return NULL;
6313 }
6314 }
6315{
6316 PyThreadState* __tstate = wxPyBeginAllowThreads();
6317 wxWindow_CaptureMouse(_arg0);
6318
6319 wxPyEndAllowThreads(__tstate);
6320 if (PyErr_Occurred()) return NULL;
6321} Py_INCREF(Py_None);
6322 _resultobj = Py_None;
6323 return _resultobj;
6324}
6325
6326#define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
6327static PyObject *_wrap_wxWindow_ReleaseMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
6328 PyObject * _resultobj;
6329 wxWindow * _arg0;
6330 PyObject * _argo0 = 0;
6331 char *_kwnames[] = { "self", NULL };
6332
6333 self = self;
6334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_ReleaseMouse",_kwnames,&_argo0))
6335 return NULL;
6336 if (_argo0) {
6337 if (_argo0 == Py_None) { _arg0 = NULL; }
6338 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6339 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
6340 return NULL;
6341 }
6342 }
6343{
6344 PyThreadState* __tstate = wxPyBeginAllowThreads();
6345 wxWindow_ReleaseMouse(_arg0);
6346
6347 wxPyEndAllowThreads(__tstate);
6348 if (PyErr_Occurred()) return NULL;
6349} Py_INCREF(Py_None);
6350 _resultobj = Py_None;
6351 return _resultobj;
6352}
6353
6354static PyObject *_wrap_wxWindow_GetCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
6355 PyObject * _resultobj;
6356 wxWindow * _result;
6357 char *_kwnames[] = { NULL };
6358
6359 self = self;
6360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxWindow_GetCapture",_kwnames))
6361 return NULL;
6362{
6363 PyThreadState* __tstate = wxPyBeginAllowThreads();
6364 _result = (wxWindow *)wxWindow::GetCapture();
6365
6366 wxPyEndAllowThreads(__tstate);
6367 if (PyErr_Occurred()) return NULL;
6368}{ _resultobj = wxPyMake_wxObject(_result); }
6369 return _resultobj;
6370}
6371
6372#define wxWindow_HasCapture(_swigobj) (_swigobj->HasCapture())
6373static PyObject *_wrap_wxWindow_HasCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
6374 PyObject * _resultobj;
6375 bool _result;
6376 wxWindow * _arg0;
6377 PyObject * _argo0 = 0;
6378 char *_kwnames[] = { "self", NULL };
6379
6380 self = self;
6381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_HasCapture",_kwnames,&_argo0))
6382 return NULL;
6383 if (_argo0) {
6384 if (_argo0 == Py_None) { _arg0 = NULL; }
6385 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6386 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_HasCapture. Expected _wxWindow_p.");
6387 return NULL;
6388 }
6389 }
6390{
6391 PyThreadState* __tstate = wxPyBeginAllowThreads();
6392 _result = (bool )wxWindow_HasCapture(_arg0);
6393
6394 wxPyEndAllowThreads(__tstate);
6395 if (PyErr_Occurred()) return NULL;
6396} _resultobj = Py_BuildValue("i",_result);
6397 return _resultobj;
6398}
6399
8ab979d7
RD
6400static void *SwigwxPanelTowxWindow(void *ptr) {
6401 wxPanel *src;
6402 wxWindow *dest;
6403 src = (wxPanel *) ptr;
6404 dest = (wxWindow *) src;
6405 return (void *) dest;
6406}
6407
6408static void *SwigwxPanelTowxEvtHandler(void *ptr) {
6409 wxPanel *src;
6410 wxEvtHandler *dest;
6411 src = (wxPanel *) ptr;
6412 dest = (wxEvtHandler *) src;
6413 return (void *) dest;
6414}
6415
9df61a29
RD
6416static void *SwigwxPanelTowxObject(void *ptr) {
6417 wxPanel *src;
6418 wxObject *dest;
6419 src = (wxPanel *) ptr;
6420 dest = (wxObject *) src;
6421 return (void *) dest;
6422}
6423
8ab979d7 6424#define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
efc5f224 6425static PyObject *_wrap_new_wxPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6426 PyObject * _resultobj;
6427 wxPanel * _result;
6428 wxWindow * _arg0;
6429 wxWindowID _arg1;
b68dc582
RD
6430 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
6431 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
1d99702e 6432 long _arg4 = (long ) wxTAB_TRAVERSAL;
9a74fcaf 6433 wxString * _arg5 = (wxString *) &wxPyPanelNameStr;
1d99702e 6434 PyObject * _argo0 = 0;
2f90df85
RD
6435 wxPoint temp;
6436 PyObject * _obj2 = 0;
6437 wxSize temp0;
6438 PyObject * _obj3 = 0;
9a74fcaf 6439 PyObject * _obj5 = 0;
efc5f224 6440 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
8ab979d7
RD
6441 char _ptemp[128];
6442
6443 self = self;
9a74fcaf 6444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxPanel",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
8ab979d7 6445 return NULL;
1d99702e
RD
6446 if (_argo0) {
6447 if (_argo0 == Py_None) { _arg0 = NULL; }
6448 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
6449 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
6450 return NULL;
6451 }
6452 }
2f90df85
RD
6453 if (_obj2)
6454{
6455 _arg2 = &temp;
6456 if (! wxPoint_helper(_obj2, &_arg2))
8ab979d7 6457 return NULL;
2f90df85
RD
6458}
6459 if (_obj3)
6460{
6461 _arg3 = &temp0;
6462 if (! wxSize_helper(_obj3, &_arg3))
8ab979d7 6463 return NULL;
9a74fcaf
RD
6464}
6465 if (_obj5)
6466{
6467 _arg5 = wxString_in_helper(_obj5);
6468 if (_arg5 == NULL)
6469 return NULL;
2f90df85 6470}
cf694132 6471{
474c48f9 6472 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 6473 _result = (wxPanel *)new_wxPanel(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
cf694132 6474
474c48f9 6475 wxPyEndAllowThreads(__tstate);
4dfaa61e 6476 if (PyErr_Occurred()) return NULL;
1d99702e
RD
6477} if (_result) {
6478 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPanel_p");
6479 _resultobj = Py_BuildValue("s",_ptemp);
6480 } else {
6481 Py_INCREF(Py_None);
6482 _resultobj = Py_None;
6483 }
9a74fcaf
RD
6484{
6485 if (_obj5)
6486 delete _arg5;
6487}
8ab979d7
RD
6488 return _resultobj;
6489}
6490
aa2a5b86
RD
6491#define new_wxPrePanel() (new wxPanel())
6492static PyObject *_wrap_new_wxPrePanel(PyObject *self, PyObject *args, PyObject *kwargs) {
6493 PyObject * _resultobj;
6494 wxPanel * _result;
6495 char *_kwnames[] = { NULL };
6496 char _ptemp[128];
6497
6498 self = self;
6499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPrePanel",_kwnames))
6500 return NULL;
6501{
474c48f9 6502 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6503 _result = (wxPanel *)new_wxPrePanel();
aa2a5b86 6504
474c48f9 6505 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
6506 if (PyErr_Occurred()) return NULL;
6507} if (_result) {
6508 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPanel_p");
6509 _resultobj = Py_BuildValue("s",_ptemp);
6510 } else {
6511 Py_INCREF(Py_None);
6512 _resultobj = Py_None;
6513 }
6514 return _resultobj;
6515}
6516
6517#define wxPanel_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6518static PyObject *_wrap_wxPanel_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6519 PyObject * _resultobj;
6520 bool _result;
6521 wxPanel * _arg0;
6522 wxWindow * _arg1;
6523 wxWindowID _arg2;
6524 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
6525 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
6526 long _arg5 = (long ) wxTAB_TRAVERSAL;
9a74fcaf 6527 wxString * _arg6 = (wxString *) &wxPyPanelNameStr;
aa2a5b86
RD
6528 PyObject * _argo0 = 0;
6529 PyObject * _argo1 = 0;
6530 wxPoint temp;
6531 PyObject * _obj3 = 0;
6532 wxSize temp0;
6533 PyObject * _obj4 = 0;
9a74fcaf 6534 PyObject * _obj6 = 0;
aa2a5b86
RD
6535 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
6536
6537 self = self;
9a74fcaf 6538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOlO:wxPanel_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
aa2a5b86
RD
6539 return NULL;
6540 if (_argo0) {
6541 if (_argo0 == Py_None) { _arg0 = NULL; }
6542 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPanel_p")) {
6543 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPanel_Create. Expected _wxPanel_p.");
6544 return NULL;
6545 }
6546 }
6547 if (_argo1) {
6548 if (_argo1 == Py_None) { _arg1 = NULL; }
6549 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
6550 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPanel_Create. Expected _wxWindow_p.");
6551 return NULL;
6552 }
6553 }
6554 if (_obj3)
6555{
6556 _arg3 = &temp;
6557 if (! wxPoint_helper(_obj3, &_arg3))
6558 return NULL;
6559}
6560 if (_obj4)
6561{
6562 _arg4 = &temp0;
6563 if (! wxSize_helper(_obj4, &_arg4))
6564 return NULL;
9a74fcaf
RD
6565}
6566 if (_obj6)
6567{
6568 _arg6 = wxString_in_helper(_obj6);
6569 if (_arg6 == NULL)
6570 return NULL;
aa2a5b86
RD
6571}
6572{
474c48f9 6573 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 6574 _result = (bool )wxPanel_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
aa2a5b86 6575
474c48f9 6576 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
6577 if (PyErr_Occurred()) return NULL;
6578} _resultobj = Py_BuildValue("i",_result);
9a74fcaf
RD
6579{
6580 if (_obj6)
6581 delete _arg6;
6582}
aa2a5b86
RD
6583 return _resultobj;
6584}
6585
8ab979d7 6586#define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
efc5f224 6587static PyObject *_wrap_wxPanel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6588 PyObject * _resultobj;
6589 wxPanel * _arg0;
1d99702e 6590 PyObject * _argo0 = 0;
efc5f224 6591 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6592
6593 self = self;
efc5f224 6594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPanel_InitDialog",_kwnames,&_argo0))
8ab979d7 6595 return NULL;
1d99702e
RD
6596 if (_argo0) {
6597 if (_argo0 == Py_None) { _arg0 = NULL; }
6598 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPanel_p")) {
8ab979d7
RD
6599 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
6600 return NULL;
6601 }
6602 }
cf694132 6603{
474c48f9 6604 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6605 wxPanel_InitDialog(_arg0);
cf694132 6606
474c48f9 6607 wxPyEndAllowThreads(__tstate);
4dfaa61e 6608 if (PyErr_Occurred()) return NULL;
cf694132 6609} Py_INCREF(Py_None);
8ab979d7
RD
6610 _resultobj = Py_None;
6611 return _resultobj;
6612}
6613
bb0054cd
RD
6614static void *SwigwxScrolledWindowTowxPanel(void *ptr) {
6615 wxScrolledWindow *src;
6616 wxPanel *dest;
6617 src = (wxScrolledWindow *) ptr;
6618 dest = (wxPanel *) src;
6619 return (void *) dest;
6620}
6621
8ab979d7
RD
6622static void *SwigwxScrolledWindowTowxWindow(void *ptr) {
6623 wxScrolledWindow *src;
6624 wxWindow *dest;
6625 src = (wxScrolledWindow *) ptr;
6626 dest = (wxWindow *) src;
6627 return (void *) dest;
6628}
6629
6630static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr) {
6631 wxScrolledWindow *src;
6632 wxEvtHandler *dest;
6633 src = (wxScrolledWindow *) ptr;
6634 dest = (wxEvtHandler *) src;
6635 return (void *) dest;
6636}
6637
9df61a29
RD
6638static void *SwigwxScrolledWindowTowxObject(void *ptr) {
6639 wxScrolledWindow *src;
6640 wxObject *dest;
6641 src = (wxScrolledWindow *) ptr;
6642 dest = (wxObject *) src;
6643 return (void *) dest;
6644}
6645
8ab979d7 6646#define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
efc5f224 6647static PyObject *_wrap_new_wxScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6648 PyObject * _resultobj;
6649 wxScrolledWindow * _result;
6650 wxWindow * _arg0;
1d99702e 6651 wxWindowID _arg1 = (wxWindowID ) -1;
b68dc582
RD
6652 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
6653 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
1d99702e 6654 long _arg4 = (long ) wxHSCROLL|wxVSCROLL;
9a74fcaf 6655 wxString * _arg5 = (wxString *) &wxPyPanelNameStr;
1d99702e 6656 PyObject * _argo0 = 0;
2f90df85
RD
6657 wxPoint temp;
6658 PyObject * _obj2 = 0;
6659 wxSize temp0;
6660 PyObject * _obj3 = 0;
9a74fcaf 6661 PyObject * _obj5 = 0;
efc5f224 6662 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
8ab979d7
RD
6663 char _ptemp[128];
6664
6665 self = self;
9a74fcaf 6666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlO:new_wxScrolledWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
8ab979d7 6667 return NULL;
1d99702e
RD
6668 if (_argo0) {
6669 if (_argo0 == Py_None) { _arg0 = NULL; }
6670 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
6671 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
6672 return NULL;
6673 }
6674 }
2f90df85
RD
6675 if (_obj2)
6676{
6677 _arg2 = &temp;
6678 if (! wxPoint_helper(_obj2, &_arg2))
8ab979d7 6679 return NULL;
2f90df85
RD
6680}
6681 if (_obj3)
6682{
6683 _arg3 = &temp0;
6684 if (! wxSize_helper(_obj3, &_arg3))
8ab979d7 6685 return NULL;
9a74fcaf
RD
6686}
6687 if (_obj5)
6688{
6689 _arg5 = wxString_in_helper(_obj5);
6690 if (_arg5 == NULL)
6691 return NULL;
2f90df85 6692}
cf694132 6693{
474c48f9 6694 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 6695 _result = (wxScrolledWindow *)new_wxScrolledWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
cf694132 6696
474c48f9 6697 wxPyEndAllowThreads(__tstate);
4dfaa61e 6698 if (PyErr_Occurred()) return NULL;
1d99702e
RD
6699} if (_result) {
6700 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrolledWindow_p");
6701 _resultobj = Py_BuildValue("s",_ptemp);
6702 } else {
6703 Py_INCREF(Py_None);
6704 _resultobj = Py_None;
6705 }
9a74fcaf
RD
6706{
6707 if (_obj5)
6708 delete _arg5;
6709}
8ab979d7
RD
6710 return _resultobj;
6711}
6712
aa2a5b86
RD
6713#define new_wxPreScrolledWindow() (new wxScrolledWindow())
6714static PyObject *_wrap_new_wxPreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6715 PyObject * _resultobj;
6716 wxScrolledWindow * _result;
6717 char *_kwnames[] = { NULL };
6718 char _ptemp[128];
6719
6720 self = self;
6721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreScrolledWindow",_kwnames))
6722 return NULL;
6723{
474c48f9 6724 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6725 _result = (wxScrolledWindow *)new_wxPreScrolledWindow();
aa2a5b86 6726
474c48f9 6727 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
6728 if (PyErr_Occurred()) return NULL;
6729} if (_result) {
6730 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrolledWindow_p");
6731 _resultobj = Py_BuildValue("s",_ptemp);
6732 } else {
6733 Py_INCREF(Py_None);
6734 _resultobj = Py_None;
6735 }
6736 return _resultobj;
6737}
6738
6739#define wxScrolledWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6740static PyObject *_wrap_wxScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6741 PyObject * _resultobj;
6742 bool _result;
6743 wxScrolledWindow * _arg0;
6744 wxWindow * _arg1;
6745 wxWindowID _arg2 = (wxWindowID ) -1;
6746 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
6747 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
6748 long _arg5 = (long ) wxHSCROLL|wxVSCROLL;
9a74fcaf 6749 wxString * _arg6 = (wxString *) &wxPyPanelNameStr;
aa2a5b86
RD
6750 PyObject * _argo0 = 0;
6751 PyObject * _argo1 = 0;
6752 wxPoint temp;
6753 PyObject * _obj3 = 0;
6754 wxSize temp0;
6755 PyObject * _obj4 = 0;
9a74fcaf 6756 PyObject * _obj6 = 0;
aa2a5b86
RD
6757 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
6758
6759 self = self;
9a74fcaf 6760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlO:wxScrolledWindow_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
aa2a5b86
RD
6761 return NULL;
6762 if (_argo0) {
6763 if (_argo0 == Py_None) { _arg0 = NULL; }
6764 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
6765 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_Create. Expected _wxScrolledWindow_p.");
6766 return NULL;
6767 }
6768 }
6769 if (_argo1) {
6770 if (_argo1 == Py_None) { _arg1 = NULL; }
6771 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
6772 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxScrolledWindow_Create. Expected _wxWindow_p.");
6773 return NULL;
6774 }
6775 }
6776 if (_obj3)
6777{
6778 _arg3 = &temp;
6779 if (! wxPoint_helper(_obj3, &_arg3))
6780 return NULL;
6781}
6782 if (_obj4)
6783{
6784 _arg4 = &temp0;
6785 if (! wxSize_helper(_obj4, &_arg4))
6786 return NULL;
9a74fcaf
RD
6787}
6788 if (_obj6)
6789{
6790 _arg6 = wxString_in_helper(_obj6);
6791 if (_arg6 == NULL)
6792 return NULL;
aa2a5b86
RD
6793}
6794{
474c48f9 6795 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 6796 _result = (bool )wxScrolledWindow_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
aa2a5b86 6797
474c48f9 6798 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
6799 if (PyErr_Occurred()) return NULL;
6800} _resultobj = Py_BuildValue("i",_result);
9a74fcaf
RD
6801{
6802 if (_obj6)
6803 delete _arg6;
6804}
aa2a5b86
RD
6805 return _resultobj;
6806}
6807
8ab979d7 6808#define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
efc5f224 6809static PyObject *_wrap_wxScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6810 PyObject * _resultobj;
6811 wxScrolledWindow * _arg0;
6812 bool _arg1;
6813 bool _arg2;
1d99702e 6814 PyObject * _argo0 = 0;
8ab979d7
RD
6815 int tempbool1;
6816 int tempbool2;
efc5f224 6817 char *_kwnames[] = { "self","xScrolling","yScrolling", NULL };
8ab979d7
RD
6818
6819 self = self;
efc5f224 6820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxScrolledWindow_EnableScrolling",_kwnames,&_argo0,&tempbool1,&tempbool2))
8ab979d7 6821 return NULL;
1d99702e
RD
6822 if (_argo0) {
6823 if (_argo0 == Py_None) { _arg0 = NULL; }
6824 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
8ab979d7
RD
6825 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
6826 return NULL;
6827 }
6828 }
6829 _arg1 = (bool ) tempbool1;
6830 _arg2 = (bool ) tempbool2;
cf694132 6831{
474c48f9 6832 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6833 wxScrolledWindow_EnableScrolling(_arg0,_arg1,_arg2);
cf694132 6834
474c48f9 6835 wxPyEndAllowThreads(__tstate);
4dfaa61e 6836 if (PyErr_Occurred()) return NULL;
cf694132 6837} Py_INCREF(Py_None);
8ab979d7
RD
6838 _resultobj = Py_None;
6839 return _resultobj;
6840}
6841
b7e72427
RD
6842#define wxScrolledWindow_GetScrollPageSize(_swigobj,_swigarg0) (_swigobj->GetScrollPageSize(_swigarg0))
6843static PyObject *_wrap_wxScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6844 PyObject * _resultobj;
6845 int _result;
6846 wxScrolledWindow * _arg0;
6847 int _arg1;
6848 PyObject * _argo0 = 0;
6849 char *_kwnames[] = { "self","orient", NULL };
6850
6851 self = self;
6852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxScrolledWindow_GetScrollPageSize",_kwnames,&_argo0,&_arg1))
6853 return NULL;
6854 if (_argo0) {
6855 if (_argo0 == Py_None) { _arg0 = NULL; }
6856 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
6857 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetScrollPageSize. Expected _wxScrolledWindow_p.");
6858 return NULL;
6859 }
6860 }
6861{
474c48f9 6862 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6863 _result = (int )wxScrolledWindow_GetScrollPageSize(_arg0,_arg1);
b7e72427 6864
474c48f9 6865 wxPyEndAllowThreads(__tstate);
4dfaa61e 6866 if (PyErr_Occurred()) return NULL;
b7e72427
RD
6867} _resultobj = Py_BuildValue("i",_result);
6868 return _resultobj;
6869}
6870
8ab979d7 6871#define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
efc5f224 6872static PyObject *_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6873 PyObject * _resultobj;
6874 wxScrolledWindow * _arg0;
6875 int * _arg1;
6876 int temp;
6877 int * _arg2;
6878 int temp0;
1d99702e 6879 PyObject * _argo0 = 0;
efc5f224 6880 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6881
6882 self = self;
6883{
6884 _arg1 = &temp;
6885}
6886{
6887 _arg2 = &temp0;
6888}
efc5f224 6889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames,&_argo0))
8ab979d7 6890 return NULL;
1d99702e
RD
6891 if (_argo0) {
6892 if (_argo0 == Py_None) { _arg0 = NULL; }
6893 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
8ab979d7
RD
6894 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
6895 return NULL;
6896 }
6897 }
cf694132 6898{
474c48f9 6899 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6900 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0,_arg1,_arg2);
cf694132 6901
474c48f9 6902 wxPyEndAllowThreads(__tstate);
4dfaa61e 6903 if (PyErr_Occurred()) return NULL;
cf694132 6904} Py_INCREF(Py_None);
8ab979d7
RD
6905 _resultobj = Py_None;
6906{
6907 PyObject *o;
6908 o = PyInt_FromLong((long) (*_arg1));
6909 _resultobj = t_output_helper(_resultobj, o);
6910}
6911{
6912 PyObject *o;
6913 o = PyInt_FromLong((long) (*_arg2));
6914 _resultobj = t_output_helper(_resultobj, o);
6915}
6916 return _resultobj;
6917}
6918
b7e72427
RD
6919#define wxScrolledWindow_GetTargetWindow(_swigobj) (_swigobj->GetTargetWindow())
6920static PyObject *_wrap_wxScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6921 PyObject * _resultobj;
6922 wxWindow * _result;
6923 wxScrolledWindow * _arg0;
6924 PyObject * _argo0 = 0;
6925 char *_kwnames[] = { "self", NULL };
b7e72427
RD
6926
6927 self = self;
6928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_GetTargetWindow",_kwnames,&_argo0))
6929 return NULL;
6930 if (_argo0) {
6931 if (_argo0 == Py_None) { _arg0 = NULL; }
6932 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
6933 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetTargetWindow. Expected _wxScrolledWindow_p.");
6934 return NULL;
6935 }
6936 }
6937{
474c48f9 6938 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6939 _result = (wxWindow *)wxScrolledWindow_GetTargetWindow(_arg0);
b7e72427 6940
474c48f9 6941 wxPyEndAllowThreads(__tstate);
4dfaa61e 6942 if (PyErr_Occurred()) return NULL;
9df61a29 6943}{ _resultobj = wxPyMake_wxObject(_result); }
b7e72427
RD
6944 return _resultobj;
6945}
6946
8ab979d7 6947#define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
efc5f224 6948static PyObject *_wrap_wxScrolledWindow_IsRetained(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6949 PyObject * _resultobj;
6950 bool _result;
6951 wxScrolledWindow * _arg0;
1d99702e 6952 PyObject * _argo0 = 0;
efc5f224 6953 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6954
6955 self = self;
efc5f224 6956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_IsRetained",_kwnames,&_argo0))
8ab979d7 6957 return NULL;
1d99702e
RD
6958 if (_argo0) {
6959 if (_argo0 == Py_None) { _arg0 = NULL; }
6960 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
8ab979d7
RD
6961 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
6962 return NULL;
6963 }
6964 }
cf694132 6965{
474c48f9 6966 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6967 _result = (bool )wxScrolledWindow_IsRetained(_arg0);
cf694132 6968
474c48f9 6969 wxPyEndAllowThreads(__tstate);
4dfaa61e 6970 if (PyErr_Occurred()) return NULL;
cf694132 6971} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
6972 return _resultobj;
6973}
6974
6975#define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
efc5f224 6976static PyObject *_wrap_wxScrolledWindow_PrepareDC(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6977 PyObject * _resultobj;
6978 wxScrolledWindow * _arg0;
6979 wxDC * _arg1;
1d99702e
RD
6980 PyObject * _argo0 = 0;
6981 PyObject * _argo1 = 0;
efc5f224 6982 char *_kwnames[] = { "self","dc", NULL };
8ab979d7
RD
6983
6984 self = self;
efc5f224 6985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxScrolledWindow_PrepareDC",_kwnames,&_argo0,&_argo1))
8ab979d7 6986 return NULL;
1d99702e
RD
6987 if (_argo0) {
6988 if (_argo0 == Py_None) { _arg0 = NULL; }
6989 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
8ab979d7
RD
6990 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
6991 return NULL;
6992 }
6993 }
1d99702e
RD
6994 if (_argo1) {
6995 if (_argo1 == Py_None) { _arg1 = NULL; }
6996 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8ab979d7
RD
6997 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
6998 return NULL;
6999 }
7000 }
cf694132 7001{
474c48f9 7002 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7003 wxScrolledWindow_PrepareDC(_arg0,*_arg1);
cf694132 7004
474c48f9 7005 wxPyEndAllowThreads(__tstate);
4dfaa61e 7006 if (PyErr_Occurred()) return NULL;
cf694132 7007} Py_INCREF(Py_None);
8ab979d7
RD
7008 _resultobj = Py_None;
7009 return _resultobj;
7010}
7011
7012#define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
efc5f224 7013static PyObject *_wrap_wxScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7014 PyObject * _resultobj;
7015 wxScrolledWindow * _arg0;
7016 int _arg1;
7017 int _arg2;
1d99702e 7018 PyObject * _argo0 = 0;
efc5f224 7019 char *_kwnames[] = { "self","x","y", NULL };
8ab979d7
RD
7020
7021 self = self;
efc5f224 7022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxScrolledWindow_Scroll",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 7023 return NULL;
1d99702e
RD
7024 if (_argo0) {
7025 if (_argo0 == Py_None) { _arg0 = NULL; }
7026 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
8ab979d7
RD
7027 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
7028 return NULL;
7029 }
7030 }
cf694132 7031{
474c48f9 7032 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7033 wxScrolledWindow_Scroll(_arg0,_arg1,_arg2);
cf694132 7034
474c48f9 7035 wxPyEndAllowThreads(__tstate);
4dfaa61e 7036 if (PyErr_Occurred()) return NULL;
cf694132 7037} Py_INCREF(Py_None);
8ab979d7
RD
7038 _resultobj = Py_None;
7039 return _resultobj;
7040}
7041
f6bcfd97 7042#define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
efc5f224 7043static PyObject *_wrap_wxScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7044 PyObject * _resultobj;
7045 wxScrolledWindow * _arg0;
7046 int _arg1;
7047 int _arg2;
7048 int _arg3;
7049 int _arg4;
1d99702e
RD
7050 int _arg5 = (int ) 0;
7051 int _arg6 = (int ) 0;
f6bcfd97 7052 int _arg7 = (int ) FALSE;
1d99702e 7053 PyObject * _argo0 = 0;
f6bcfd97 7054 char *_kwnames[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos","noRefresh", NULL };
8ab979d7
RD
7055
7056 self = self;
f6bcfd97 7057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|iii:wxScrolledWindow_SetScrollbars",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6,&_arg7))
8ab979d7 7058 return NULL;
1d99702e
RD
7059 if (_argo0) {
7060 if (_argo0 == Py_None) { _arg0 = NULL; }
7061 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
8ab979d7
RD
7062 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
7063 return NULL;
7064 }
7065 }
cf694132 7066{
474c48f9 7067 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7068 wxScrolledWindow_SetScrollbars(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7);
cf694132 7069
474c48f9 7070 wxPyEndAllowThreads(__tstate);
4dfaa61e 7071 if (PyErr_Occurred()) return NULL;
cf694132 7072} Py_INCREF(Py_None);
8ab979d7
RD
7073 _resultobj = Py_None;
7074 return _resultobj;
7075}
7076
b7e72427
RD
7077#define wxScrolledWindow_SetScrollPageSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScrollPageSize(_swigarg0,_swigarg1))
7078static PyObject *_wrap_wxScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7079 PyObject * _resultobj;
7080 wxScrolledWindow * _arg0;
7081 int _arg1;
7082 int _arg2;
7083 PyObject * _argo0 = 0;
7084 char *_kwnames[] = { "self","orient","pageSize", NULL };
7085
7086 self = self;
7087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxScrolledWindow_SetScrollPageSize",_kwnames,&_argo0,&_arg1,&_arg2))
7088 return NULL;
7089 if (_argo0) {
7090 if (_argo0 == Py_None) { _arg0 = NULL; }
7091 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7092 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_SetScrollPageSize. Expected _wxScrolledWindow_p.");
7093 return NULL;
7094 }
7095 }
7096{
474c48f9 7097 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7098 wxScrolledWindow_SetScrollPageSize(_arg0,_arg1,_arg2);
b7e72427 7099
474c48f9 7100 wxPyEndAllowThreads(__tstate);
4dfaa61e 7101 if (PyErr_Occurred()) return NULL;
b7e72427
RD
7102} Py_INCREF(Py_None);
7103 _resultobj = Py_None;
7104 return _resultobj;
7105}
7106
eb715945
RD
7107#define wxScrolledWindow_SetTargetWindow(_swigobj,_swigarg0) (_swigobj->SetTargetWindow(_swigarg0))
7108static PyObject *_wrap_wxScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7109 PyObject * _resultobj;
7110 wxScrolledWindow * _arg0;
7111 wxWindow * _arg1;
7112 PyObject * _argo0 = 0;
7113 PyObject * _argo1 = 0;
7114 char *_kwnames[] = { "self","window", NULL };
7115
7116 self = self;
7117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxScrolledWindow_SetTargetWindow",_kwnames,&_argo0,&_argo1))
7118 return NULL;
7119 if (_argo0) {
7120 if (_argo0 == Py_None) { _arg0 = NULL; }
7121 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7122 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_SetTargetWindow. Expected _wxScrolledWindow_p.");
7123 return NULL;
7124 }
7125 }
7126 if (_argo1) {
7127 if (_argo1 == Py_None) { _arg1 = NULL; }
7128 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
7129 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxScrolledWindow_SetTargetWindow. Expected _wxWindow_p.");
7130 return NULL;
7131 }
7132 }
7133{
474c48f9 7134 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7135 wxScrolledWindow_SetTargetWindow(_arg0,_arg1);
eb715945 7136
474c48f9 7137 wxPyEndAllowThreads(__tstate);
4dfaa61e 7138 if (PyErr_Occurred()) return NULL;
eb715945
RD
7139} Py_INCREF(Py_None);
7140 _resultobj = Py_None;
7141 return _resultobj;
7142}
7143
4c9993c3
RD
7144#define wxScrolledWindow_GetViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetViewStart(_swigarg0,_swigarg1))
7145static PyObject *_wrap_wxScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
7146 PyObject * _resultobj;
7147 wxScrolledWindow * _arg0;
7148 int * _arg1;
7149 int temp;
7150 int * _arg2;
7151 int temp0;
7152 PyObject * _argo0 = 0;
7153 char *_kwnames[] = { "self", NULL };
7154
7155 self = self;
7156{
7157 _arg1 = &temp;
7158}
7159{
7160 _arg2 = &temp0;
7161}
7162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_GetViewStart",_kwnames,&_argo0))
7163 return NULL;
7164 if (_argo0) {
7165 if (_argo0 == Py_None) { _arg0 = NULL; }
7166 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7167 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetViewStart. Expected _wxScrolledWindow_p.");
7168 return NULL;
7169 }
7170 }
7171{
474c48f9 7172 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7173 wxScrolledWindow_GetViewStart(_arg0,_arg1,_arg2);
4c9993c3 7174
474c48f9 7175 wxPyEndAllowThreads(__tstate);
4dfaa61e 7176 if (PyErr_Occurred()) return NULL;
4c9993c3
RD
7177} Py_INCREF(Py_None);
7178 _resultobj = Py_None;
7179{
7180 PyObject *o;
7181 o = PyInt_FromLong((long) (*_arg1));
7182 _resultobj = t_output_helper(_resultobj, o);
7183}
7184{
7185 PyObject *o;
7186 o = PyInt_FromLong((long) (*_arg2));
7187 _resultobj = t_output_helper(_resultobj, o);
7188}
7189 return _resultobj;
7190}
7191
a884bee5
RD
7192#define wxScrolledWindow_CalcScrolledPosition1(_swigobj,_swigarg0) (_swigobj->CalcScrolledPosition(_swigarg0))
7193static PyObject *_wrap_wxScrolledWindow_CalcScrolledPosition1(PyObject *self, PyObject *args, PyObject *kwargs) {
7194 PyObject * _resultobj;
7195 wxPoint * _result;
7196 wxScrolledWindow * _arg0;
7197 wxPoint * _arg1;
7198 PyObject * _argo0 = 0;
7199 wxPoint temp;
7200 PyObject * _obj1 = 0;
7201 char *_kwnames[] = { "self","pt", NULL };
7202 char _ptemp[128];
7203
7204 self = self;
7205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxScrolledWindow_CalcScrolledPosition1",_kwnames,&_argo0,&_obj1))
7206 return NULL;
7207 if (_argo0) {
7208 if (_argo0 == Py_None) { _arg0 = NULL; }
7209 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7210 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition1. Expected _wxScrolledWindow_p.");
7211 return NULL;
7212 }
7213 }
7214{
7215 _arg1 = &temp;
7216 if (! wxPoint_helper(_obj1, &_arg1))
7217 return NULL;
7218}
7219{
7220 PyThreadState* __tstate = wxPyBeginAllowThreads();
7221 _result = new wxPoint (wxScrolledWindow_CalcScrolledPosition1(_arg0,*_arg1));
7222
7223 wxPyEndAllowThreads(__tstate);
7224 if (PyErr_Occurred()) return NULL;
7225} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
7226 _resultobj = Py_BuildValue("s",_ptemp);
7227 return _resultobj;
7228}
7229
7230#define wxScrolledWindow_CalcScrolledPosition2(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcScrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7231static PyObject *_wrap_wxScrolledWindow_CalcScrolledPosition2(PyObject *self, PyObject *args, PyObject *kwargs) {
9d8bd15f
RD
7232 PyObject * _resultobj;
7233 wxScrolledWindow * _arg0;
7234 int _arg1;
7235 int _arg2;
7236 int * _arg3;
7237 int temp;
7238 int * _arg4;
7239 int temp0;
7240 PyObject * _argo0 = 0;
7241 char *_kwnames[] = { "self","x","y", NULL };
7242
7243 self = self;
7244{
7245 _arg3 = &temp;
7246}
7247{
7248 _arg4 = &temp0;
7249}
a884bee5 7250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxScrolledWindow_CalcScrolledPosition2",_kwnames,&_argo0,&_arg1,&_arg2))
9d8bd15f
RD
7251 return NULL;
7252 if (_argo0) {
7253 if (_argo0 == Py_None) { _arg0 = NULL; }
7254 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
a884bee5 7255 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition2. Expected _wxScrolledWindow_p.");
9d8bd15f
RD
7256 return NULL;
7257 }
7258 }
7259{
474c48f9 7260 PyThreadState* __tstate = wxPyBeginAllowThreads();
a884bee5 7261 wxScrolledWindow_CalcScrolledPosition2(_arg0,_arg1,_arg2,_arg3,_arg4);
9d8bd15f 7262
474c48f9 7263 wxPyEndAllowThreads(__tstate);
4dfaa61e 7264 if (PyErr_Occurred()) return NULL;
9d8bd15f
RD
7265} Py_INCREF(Py_None);
7266 _resultobj = Py_None;
7267{
7268 PyObject *o;
7269 o = PyInt_FromLong((long) (*_arg3));
7270 _resultobj = t_output_helper(_resultobj, o);
7271}
7272{
7273 PyObject *o;
7274 o = PyInt_FromLong((long) (*_arg4));
7275 _resultobj = t_output_helper(_resultobj, o);
7276}
7277 return _resultobj;
7278}
7279
a884bee5
RD
7280#define wxScrolledWindow_CalcUnscrolledPosition1(_swigobj,_swigarg0) (_swigobj->CalcUnscrolledPosition(_swigarg0))
7281static PyObject *_wrap_wxScrolledWindow_CalcUnscrolledPosition1(PyObject *self, PyObject *args, PyObject *kwargs) {
7282 PyObject * _resultobj;
7283 wxPoint * _result;
7284 wxScrolledWindow * _arg0;
7285 wxPoint * _arg1;
7286 PyObject * _argo0 = 0;
7287 wxPoint temp;
7288 PyObject * _obj1 = 0;
7289 char *_kwnames[] = { "self","pt", NULL };
7290 char _ptemp[128];
7291
7292 self = self;
7293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxScrolledWindow_CalcUnscrolledPosition1",_kwnames,&_argo0,&_obj1))
7294 return NULL;
7295 if (_argo0) {
7296 if (_argo0 == Py_None) { _arg0 = NULL; }
7297 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7298 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition1. Expected _wxScrolledWindow_p.");
7299 return NULL;
7300 }
7301 }
7302{
7303 _arg1 = &temp;
7304 if (! wxPoint_helper(_obj1, &_arg1))
7305 return NULL;
7306}
7307{
7308 PyThreadState* __tstate = wxPyBeginAllowThreads();
7309 _result = new wxPoint (wxScrolledWindow_CalcUnscrolledPosition1(_arg0,*_arg1));
7310
7311 wxPyEndAllowThreads(__tstate);
7312 if (PyErr_Occurred()) return NULL;
7313} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
7314 _resultobj = Py_BuildValue("s",_ptemp);
7315 return _resultobj;
7316}
7317
7318#define wxScrolledWindow_CalcUnscrolledPosition2(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcUnscrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7319static PyObject *_wrap_wxScrolledWindow_CalcUnscrolledPosition2(PyObject *self, PyObject *args, PyObject *kwargs) {
9d8bd15f
RD
7320 PyObject * _resultobj;
7321 wxScrolledWindow * _arg0;
7322 int _arg1;
7323 int _arg2;
7324 int * _arg3;
7325 int temp;
7326 int * _arg4;
7327 int temp0;
7328 PyObject * _argo0 = 0;
7329 char *_kwnames[] = { "self","x","y", NULL };
7330
7331 self = self;
7332{
7333 _arg3 = &temp;
7334}
7335{
7336 _arg4 = &temp0;
7337}
a884bee5 7338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxScrolledWindow_CalcUnscrolledPosition2",_kwnames,&_argo0,&_arg1,&_arg2))
9d8bd15f
RD
7339 return NULL;
7340 if (_argo0) {
7341 if (_argo0 == Py_None) { _arg0 = NULL; }
7342 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
a884bee5 7343 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition2. Expected _wxScrolledWindow_p.");
9d8bd15f
RD
7344 return NULL;
7345 }
7346 }
7347{
474c48f9 7348 PyThreadState* __tstate = wxPyBeginAllowThreads();
a884bee5 7349 wxScrolledWindow_CalcUnscrolledPosition2(_arg0,_arg1,_arg2,_arg3,_arg4);
9d8bd15f 7350
474c48f9 7351 wxPyEndAllowThreads(__tstate);
4dfaa61e 7352 if (PyErr_Occurred()) return NULL;
9d8bd15f
RD
7353} Py_INCREF(Py_None);
7354 _resultobj = Py_None;
7355{
7356 PyObject *o;
7357 o = PyInt_FromLong((long) (*_arg3));
7358 _resultobj = t_output_helper(_resultobj, o);
7359}
7360{
7361 PyObject *o;
7362 o = PyInt_FromLong((long) (*_arg4));
7363 _resultobj = t_output_helper(_resultobj, o);
7364}
7365 return _resultobj;
7366}
7367
7a446686
RD
7368#define wxScrolledWindow_SetScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScale(_swigarg0,_swigarg1))
7369static PyObject *_wrap_wxScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
7370 PyObject * _resultobj;
7371 wxScrolledWindow * _arg0;
7372 double _arg1;
7373 double _arg2;
7374 PyObject * _argo0 = 0;
7375 char *_kwnames[] = { "self","xs","ys", NULL };
7376
7377 self = self;
7378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxScrolledWindow_SetScale",_kwnames,&_argo0,&_arg1,&_arg2))
7379 return NULL;
7380 if (_argo0) {
7381 if (_argo0 == Py_None) { _arg0 = NULL; }
7382 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7383 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_SetScale. Expected _wxScrolledWindow_p.");
7384 return NULL;
7385 }
7386 }
7387{
474c48f9 7388 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7389 wxScrolledWindow_SetScale(_arg0,_arg1,_arg2);
7a446686 7390
474c48f9 7391 wxPyEndAllowThreads(__tstate);
4dfaa61e 7392 if (PyErr_Occurred()) return NULL;
7a446686
RD
7393} Py_INCREF(Py_None);
7394 _resultobj = Py_None;
7395 return _resultobj;
7396}
7397
7398#define wxScrolledWindow_GetScaleX(_swigobj) (_swigobj->GetScaleX())
7399static PyObject *_wrap_wxScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
7400 PyObject * _resultobj;
7401 double _result;
7402 wxScrolledWindow * _arg0;
7403 PyObject * _argo0 = 0;
7404 char *_kwnames[] = { "self", NULL };
7405
7406 self = self;
7407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_GetScaleX",_kwnames,&_argo0))
7408 return NULL;
7409 if (_argo0) {
7410 if (_argo0 == Py_None) { _arg0 = NULL; }
7411 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7412 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetScaleX. Expected _wxScrolledWindow_p.");
7413 return NULL;
7414 }
7415 }
7416{
474c48f9 7417 PyThreadState* __tstate = wxPyBeginAllowThreads();
a884bee5
RD
7418 _result = (double )wxScrolledWindow_GetScaleX(_arg0);
7419
7420 wxPyEndAllowThreads(__tstate);
7421 if (PyErr_Occurred()) return NULL;
7422} _resultobj = Py_BuildValue("d",_result);
7423 return _resultobj;
7424}
7425
7426#define wxScrolledWindow_GetScaleY(_swigobj) (_swigobj->GetScaleY())
7427static PyObject *_wrap_wxScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
7428 PyObject * _resultobj;
7429 double _result;
7430 wxScrolledWindow * _arg0;
7431 PyObject * _argo0 = 0;
7432 char *_kwnames[] = { "self", NULL };
7433
7434 self = self;
7435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_GetScaleY",_kwnames,&_argo0))
7436 return NULL;
7437 if (_argo0) {
7438 if (_argo0 == Py_None) { _arg0 = NULL; }
7439 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7440 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetScaleY. Expected _wxScrolledWindow_p.");
7441 return NULL;
7442 }
7443 }
7444{
7445 PyThreadState* __tstate = wxPyBeginAllowThreads();
7446 _result = (double )wxScrolledWindow_GetScaleY(_arg0);
7447
7448 wxPyEndAllowThreads(__tstate);
7449 if (PyErr_Occurred()) return NULL;
7450} _resultobj = Py_BuildValue("d",_result);
7451 return _resultobj;
7452}
7453
7454#define wxScrolledWindow_AdjustScrollbars(_swigobj) (_swigobj->AdjustScrollbars())
7455static PyObject *_wrap_wxScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
7456 PyObject * _resultobj;
7457 wxScrolledWindow * _arg0;
7458 PyObject * _argo0 = 0;
7459 char *_kwnames[] = { "self", NULL };
7460
7461 self = self;
7462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_AdjustScrollbars",_kwnames,&_argo0))
7463 return NULL;
7464 if (_argo0) {
7465 if (_argo0 == Py_None) { _arg0 = NULL; }
7466 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7467 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_AdjustScrollbars. Expected _wxScrolledWindow_p.");
7468 return NULL;
7469 }
7470 }
7471{
7472 PyThreadState* __tstate = wxPyBeginAllowThreads();
7473 wxScrolledWindow_AdjustScrollbars(_arg0);
7474
7475 wxPyEndAllowThreads(__tstate);
7476 if (PyErr_Occurred()) return NULL;
7477} Py_INCREF(Py_None);
7478 _resultobj = Py_None;
7479 return _resultobj;
7480}
7481
7482#define wxScrolledWindow_Layout(_swigobj) (_swigobj->Layout())
7483static PyObject *_wrap_wxScrolledWindow_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
7484 PyObject * _resultobj;
7485 bool _result;
7486 wxScrolledWindow * _arg0;
7487 PyObject * _argo0 = 0;
7488 char *_kwnames[] = { "self", NULL };
7489
7490 self = self;
7491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_Layout",_kwnames,&_argo0))
7492 return NULL;
7493 if (_argo0) {
7494 if (_argo0 == Py_None) { _arg0 = NULL; }
7495 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7496 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_Layout. Expected _wxScrolledWindow_p.");
7497 return NULL;
7498 }
7499 }
7500{
7501 PyThreadState* __tstate = wxPyBeginAllowThreads();
7502 _result = (bool )wxScrolledWindow_Layout(_arg0);
7503
7504 wxPyEndAllowThreads(__tstate);
7505 if (PyErr_Occurred()) return NULL;
7506} _resultobj = Py_BuildValue("i",_result);
7507 return _resultobj;
7508}
7509
8381e4cd
RD
7510#define wxScrolledWindow_SetScrollRate(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScrollRate(_swigarg0,_swigarg1))
7511static PyObject *_wrap_wxScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) {
7512 PyObject * _resultobj;
7513 wxScrolledWindow * _arg0;
7514 int _arg1;
7515 int _arg2;
7516 PyObject * _argo0 = 0;
7517 char *_kwnames[] = { "self","xstep","ystep", NULL };
7518
7519 self = self;
7520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxScrolledWindow_SetScrollRate",_kwnames,&_argo0,&_arg1,&_arg2))
7521 return NULL;
7522 if (_argo0) {
7523 if (_argo0 == Py_None) { _arg0 = NULL; }
7524 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7525 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_SetScrollRate. Expected _wxScrolledWindow_p.");
7526 return NULL;
7527 }
7528 }
7529{
7530 PyThreadState* __tstate = wxPyBeginAllowThreads();
7531 wxScrolledWindow_SetScrollRate(_arg0,_arg1,_arg2);
7532
7533 wxPyEndAllowThreads(__tstate);
7534 if (PyErr_Occurred()) return NULL;
7535} Py_INCREF(Py_None);
7536 _resultobj = Py_None;
7537 return _resultobj;
7538}
7539
a884bee5
RD
7540static void *SwigwxMenuTowxEvtHandler(void *ptr) {
7541 wxMenu *src;
7542 wxEvtHandler *dest;
7543 src = (wxMenu *) ptr;
7544 dest = (wxEvtHandler *) src;
7545 return (void *) dest;
7546}
7547
7548static void *SwigwxMenuTowxObject(void *ptr) {
7549 wxMenu *src;
7550 wxObject *dest;
7551 src = (wxMenu *) ptr;
7552 dest = (wxObject *) src;
7553 return (void *) dest;
7554}
7555
7556#define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
7557static PyObject *_wrap_new_wxMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
7558 PyObject * _resultobj;
7559 wxMenu * _result;
9a74fcaf 7560 wxString * _arg0 = (wxString *) &wxPyEmptyString;
a884bee5
RD
7561 long _arg1 = (long ) 0;
7562 PyObject * _obj0 = 0;
7563 char *_kwnames[] = { "title","style", NULL };
7564 char _ptemp[128];
7565
7566 self = self;
7567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|Ol:new_wxMenu",_kwnames,&_obj0,&_arg1))
7568 return NULL;
7569 if (_obj0)
7570{
7571 _arg0 = wxString_in_helper(_obj0);
7572 if (_arg0 == NULL)
7573 return NULL;
7574}
7575{
7576 PyThreadState* __tstate = wxPyBeginAllowThreads();
7577 _result = (wxMenu *)new_wxMenu(*_arg0,_arg1);
7578
7579 wxPyEndAllowThreads(__tstate);
7580 if (PyErr_Occurred()) return NULL;
7581} if (_result) {
7582 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenu_p");
7583 _resultobj = Py_BuildValue("s",_ptemp);
7584 } else {
7585 Py_INCREF(Py_None);
7586 _resultobj = Py_None;
7587 }
7588{
7589 if (_obj0)
7590 delete _arg0;
7591}
7592 return _resultobj;
7593}
7594
7595#define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7596static PyObject *_wrap_wxMenu_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
7597 PyObject * _resultobj;
7598 wxMenu * _arg0;
7599 int _arg1;
7600 wxString * _arg2;
9a74fcaf 7601 wxString * _arg3 = (wxString *) &wxPyEmptyString;
546bfbea 7602 wxItemKind _arg4 = (wxItemKind ) wxITEM_NORMAL;
a884bee5
RD
7603 PyObject * _argo0 = 0;
7604 PyObject * _obj2 = 0;
7605 PyObject * _obj3 = 0;
7606 char *_kwnames[] = { "self","id","item","helpString","kind", NULL };
7607
7608 self = self;
7609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|Oi:wxMenu_Append",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4))
7610 return NULL;
7611 if (_argo0) {
7612 if (_argo0 == Py_None) { _arg0 = NULL; }
7613 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7614 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
7615 return NULL;
7616 }
7617 }
7618{
7619 _arg2 = wxString_in_helper(_obj2);
7620 if (_arg2 == NULL)
7621 return NULL;
7622}
7623 if (_obj3)
7624{
7625 _arg3 = wxString_in_helper(_obj3);
7626 if (_arg3 == NULL)
7627 return NULL;
7628}
7629{
7630 PyThreadState* __tstate = wxPyBeginAllowThreads();
7631 wxMenu_Append(_arg0,_arg1,*_arg2,*_arg3,_arg4);
7632
7633 wxPyEndAllowThreads(__tstate);
7634 if (PyErr_Occurred()) return NULL;
7635} Py_INCREF(Py_None);
7636 _resultobj = Py_None;
7637{
7638 if (_obj2)
7639 delete _arg2;
7640}
7641{
7642 if (_obj3)
7643 delete _arg3;
7644}
7645 return _resultobj;
7646}
7647
7648#define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7649static PyObject *_wrap_wxMenu_AppendMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
7650 PyObject * _resultobj;
7651 wxMenu * _arg0;
7652 int _arg1;
7653 wxString * _arg2;
7654 wxMenu * _arg3;
9a74fcaf 7655 wxString * _arg4 = (wxString *) &wxPyEmptyString;
a884bee5
RD
7656 PyObject * _argo0 = 0;
7657 PyObject * _obj2 = 0;
7658 PyObject * _argo3 = 0;
7659 PyObject * _obj4 = 0;
7660 char *_kwnames[] = { "self","id","item","subMenu","helpString", NULL };
7661
7662 self = self;
7663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO|O:wxMenu_AppendMenu",_kwnames,&_argo0,&_arg1,&_obj2,&_argo3,&_obj4))
7664 return NULL;
7665 if (_argo0) {
7666 if (_argo0 == Py_None) { _arg0 = NULL; }
7667 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7668 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
7669 return NULL;
7670 }
7671 }
7672{
7673 _arg2 = wxString_in_helper(_obj2);
7674 if (_arg2 == NULL)
7675 return NULL;
7676}
7677 if (_argo3) {
7678 if (_argo3 == Py_None) { _arg3 = NULL; }
7679 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxMenu_p")) {
7680 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
7681 return NULL;
7682 }
7683 }
7684 if (_obj4)
7685{
7686 _arg4 = wxString_in_helper(_obj4);
7687 if (_arg4 == NULL)
7688 return NULL;
7689}
7690{
7691 PyThreadState* __tstate = wxPyBeginAllowThreads();
7692 wxMenu_AppendMenu(_arg0,_arg1,*_arg2,_arg3,*_arg4);
7693
7694 wxPyEndAllowThreads(__tstate);
7695 if (PyErr_Occurred()) return NULL;
7696} Py_INCREF(Py_None);
7697 _resultobj = Py_None;
7698{
7699 if (_obj2)
7700 delete _arg2;
7701}
7702{
7703 if (_obj4)
7704 delete _arg4;
7705}
7706 return _resultobj;
7707}
7708
7709#define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
7710static PyObject *_wrap_wxMenu_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
7711 PyObject * _resultobj;
7712 wxMenu * _arg0;
7713 wxMenuItem * _arg1;
7714 PyObject * _argo0 = 0;
7715 PyObject * _argo1 = 0;
7716 char *_kwnames[] = { "self","item", NULL };
7717
7718 self = self;
7719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_AppendItem",_kwnames,&_argo0,&_argo1))
7720 return NULL;
7721 if (_argo0) {
7722 if (_argo0 == Py_None) { _arg0 = NULL; }
7723 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7724 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
7725 return NULL;
7726 }
7727 }
7728 if (_argo1) {
7729 if (_argo1 == Py_None) { _arg1 = NULL; }
7730 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenuItem_p")) {
7731 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
7732 return NULL;
7733 }
7734 }
7735{
7736 PyThreadState* __tstate = wxPyBeginAllowThreads();
7737 wxMenu_AppendItem(_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_AppendCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AppendCheckItem(_swigarg0,_swigarg1,_swigarg2))
7747static PyObject *_wrap_wxMenu_AppendCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
7748 PyObject * _resultobj;
7749 wxMenu * _arg0;
7750 int _arg1;
7751 wxString * _arg2;
9a74fcaf 7752 wxString * _arg3 = (wxString *) &wxPyEmptyString;
a884bee5
RD
7753 PyObject * _argo0 = 0;
7754 PyObject * _obj2 = 0;
7755 PyObject * _obj3 = 0;
7756 char *_kwnames[] = { "self","id","text","help", NULL };
7757
7758 self = self;
7759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|O:wxMenu_AppendCheckItem",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3))
7760 return NULL;
7761 if (_argo0) {
7762 if (_argo0 == Py_None) { _arg0 = NULL; }
7763 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7764 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendCheckItem. Expected _wxMenu_p.");
7765 return NULL;
7766 }
7767 }
7768{
7769 _arg2 = wxString_in_helper(_obj2);
7770 if (_arg2 == NULL)
7771 return NULL;
7772}
7773 if (_obj3)
7774{
7775 _arg3 = wxString_in_helper(_obj3);
7776 if (_arg3 == NULL)
7777 return NULL;
7778}
7779{
7780 PyThreadState* __tstate = wxPyBeginAllowThreads();
7781 wxMenu_AppendCheckItem(_arg0,_arg1,*_arg2,*_arg3);
7782
7783 wxPyEndAllowThreads(__tstate);
7784 if (PyErr_Occurred()) return NULL;
7785} Py_INCREF(Py_None);
7786 _resultobj = Py_None;
7787{
7788 if (_obj2)
7789 delete _arg2;
7790}
7791{
7792 if (_obj3)
7793 delete _arg3;
7794}
7795 return _resultobj;
7796}
7797
7798#define wxMenu_AppendRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AppendRadioItem(_swigarg0,_swigarg1,_swigarg2))
7799static PyObject *_wrap_wxMenu_AppendRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
7800 PyObject * _resultobj;
7801 wxMenu * _arg0;
7802 int _arg1;
7803 wxString * _arg2;
9a74fcaf 7804 wxString * _arg3 = (wxString *) &wxPyEmptyString;
a884bee5
RD
7805 PyObject * _argo0 = 0;
7806 PyObject * _obj2 = 0;
7807 PyObject * _obj3 = 0;
7808 char *_kwnames[] = { "self","id","text","help", NULL };
7809
7810 self = self;
7811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|O:wxMenu_AppendRadioItem",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3))
7812 return NULL;
7813 if (_argo0) {
7814 if (_argo0 == Py_None) { _arg0 = NULL; }
7815 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7816 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendRadioItem. Expected _wxMenu_p.");
7817 return NULL;
7818 }
7819 }
7820{
7821 _arg2 = wxString_in_helper(_obj2);
7822 if (_arg2 == NULL)
7823 return NULL;
7824}
7825 if (_obj3)
7826{
7827 _arg3 = wxString_in_helper(_obj3);
7828 if (_arg3 == NULL)
7829 return NULL;
7830}
7831{
7832 PyThreadState* __tstate = wxPyBeginAllowThreads();
7833 wxMenu_AppendRadioItem(_arg0,_arg1,*_arg2,*_arg3);
7834
7835 wxPyEndAllowThreads(__tstate);
7836 if (PyErr_Occurred()) return NULL;
7837} Py_INCREF(Py_None);
7838 _resultobj = Py_None;
7839{
7840 if (_obj2)
7841 delete _arg2;
7842}
7843{
7844 if (_obj3)
7845 delete _arg3;
7846}
7847 return _resultobj;
7848}
7849
7850#define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
7851static PyObject *_wrap_wxMenu_AppendSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
7852 PyObject * _resultobj;
7853 wxMenu * _arg0;
7854 PyObject * _argo0 = 0;
7855 char *_kwnames[] = { "self", NULL };
7856
7857 self = self;
7858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_AppendSeparator",_kwnames,&_argo0))
7859 return NULL;
7860 if (_argo0) {
7861 if (_argo0 == Py_None) { _arg0 = NULL; }
7862 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7863 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
7864 return NULL;
7865 }
7866 }
7867{
7868 PyThreadState* __tstate = wxPyBeginAllowThreads();
7869 wxMenu_AppendSeparator(_arg0);
7870
7871 wxPyEndAllowThreads(__tstate);
7872 if (PyErr_Occurred()) return NULL;
7873} Py_INCREF(Py_None);
7874 _resultobj = Py_None;
7875 return _resultobj;
7876}
7877
7878#define wxMenu_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7879static PyObject *_wrap_wxMenu_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
7880 PyObject * _resultobj;
7881 wxMenu * _arg0;
7882 size_t _arg1;
7883 int _arg2;
7884 wxString * _arg3;
9a74fcaf 7885 wxString * _arg4 = (wxString *) &wxPyEmptyString;
546bfbea 7886 wxItemKind _arg5 = (wxItemKind ) wxITEM_NORMAL;
a884bee5
RD
7887 PyObject * _argo0 = 0;
7888 PyObject * _obj3 = 0;
7889 PyObject * _obj4 = 0;
7890 char *_kwnames[] = { "self","pos","id","text","help","kind", NULL };
7891
7892 self = self;
7893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO|Oi:wxMenu_Insert",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4,&_arg5))
7894 return NULL;
7895 if (_argo0) {
7896 if (_argo0 == Py_None) { _arg0 = NULL; }
7897 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7898 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Insert. Expected _wxMenu_p.");
7899 return NULL;
7900 }
7901 }
7902{
7903 _arg3 = wxString_in_helper(_obj3);
7904 if (_arg3 == NULL)
7905 return NULL;
7906}
7907 if (_obj4)
7908{
7909 _arg4 = wxString_in_helper(_obj4);
7910 if (_arg4 == NULL)
7911 return NULL;
7912}
7913{
7914 PyThreadState* __tstate = wxPyBeginAllowThreads();
7915 wxMenu_Insert(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5);
7916
7917 wxPyEndAllowThreads(__tstate);
7918 if (PyErr_Occurred()) return NULL;
7919} Py_INCREF(Py_None);
7920 _resultobj = Py_None;
7921{
7922 if (_obj3)
7923 delete _arg3;
7924}
7925{
7926 if (_obj4)
7927 delete _arg4;
7928}
7929 return _resultobj;
7930}
7931
7932#define wxMenu_InsertSeparator(_swigobj,_swigarg0) (_swigobj->InsertSeparator(_swigarg0))
7933static PyObject *_wrap_wxMenu_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
7934 PyObject * _resultobj;
7935 wxMenu * _arg0;
7936 size_t _arg1;
7937 PyObject * _argo0 = 0;
7938 char *_kwnames[] = { "self","pos", NULL };
7939
7940 self = self;
7941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_InsertSeparator",_kwnames,&_argo0,&_arg1))
7942 return NULL;
7943 if (_argo0) {
7944 if (_argo0 == Py_None) { _arg0 = NULL; }
7945 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7946 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_InsertSeparator. Expected _wxMenu_p.");
7947 return NULL;
7948 }
7949 }
7950{
7951 PyThreadState* __tstate = wxPyBeginAllowThreads();
7952 wxMenu_InsertSeparator(_arg0,_arg1);
7953
7954 wxPyEndAllowThreads(__tstate);
7955 if (PyErr_Occurred()) return NULL;
7956} Py_INCREF(Py_None);
7957 _resultobj = Py_None;
7958 return _resultobj;
7959}
7960
7961#define wxMenu_InsertCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertCheckItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7962static PyObject *_wrap_wxMenu_InsertCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
7963 PyObject * _resultobj;
7964 wxMenu * _arg0;
7965 size_t _arg1;
7966 int _arg2;
7967 wxString * _arg3;
9a74fcaf 7968 wxString * _arg4 = (wxString *) &wxPyEmptyString;
a884bee5
RD
7969 PyObject * _argo0 = 0;
7970 PyObject * _obj3 = 0;
7971 PyObject * _obj4 = 0;
7972 char *_kwnames[] = { "self","pos","id","text","help", NULL };
7973
7974 self = self;
7975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO|O:wxMenu_InsertCheckItem",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4))
7976 return NULL;
7977 if (_argo0) {
7978 if (_argo0 == Py_None) { _arg0 = NULL; }
7979 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7980 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_InsertCheckItem. Expected _wxMenu_p.");
7981 return NULL;
7982 }
7983 }
7984{
7985 _arg3 = wxString_in_helper(_obj3);
7986 if (_arg3 == NULL)
7987 return NULL;
7988}
7989 if (_obj4)
7990{
7991 _arg4 = wxString_in_helper(_obj4);
7992 if (_arg4 == NULL)
7993 return NULL;
7994}
7995{
7996 PyThreadState* __tstate = wxPyBeginAllowThreads();
7997 wxMenu_InsertCheckItem(_arg0,_arg1,_arg2,*_arg3,*_arg4);
7998
7999 wxPyEndAllowThreads(__tstate);
8000 if (PyErr_Occurred()) return NULL;
8001} Py_INCREF(Py_None);
8002 _resultobj = Py_None;
8003{
8004 if (_obj3)
8005 delete _arg3;
8006}
8007{
8008 if (_obj4)
8009 delete _arg4;
8010}
8011 return _resultobj;
8012}
8013
8014#define wxMenu_InsertRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertRadioItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8015static PyObject *_wrap_wxMenu_InsertRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8016 PyObject * _resultobj;
8017 wxMenu * _arg0;
8018 size_t _arg1;
8019 int _arg2;
8020 wxString * _arg3;
9a74fcaf 8021 wxString * _arg4 = (wxString *) &wxPyEmptyString;
a884bee5
RD
8022 PyObject * _argo0 = 0;
8023 PyObject * _obj3 = 0;
8024 PyObject * _obj4 = 0;
8025 char *_kwnames[] = { "self","pos","id","text","help", NULL };
8026
8027 self = self;
8028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO|O:wxMenu_InsertRadioItem",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4))
8029 return NULL;
8030 if (_argo0) {
8031 if (_argo0 == Py_None) { _arg0 = NULL; }
8032 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8033 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_InsertRadioItem. Expected _wxMenu_p.");
8034 return NULL;
8035 }
8036 }
8037{
8038 _arg3 = wxString_in_helper(_obj3);
8039 if (_arg3 == NULL)
8040 return NULL;
8041}
8042 if (_obj4)
8043{
8044 _arg4 = wxString_in_helper(_obj4);
8045 if (_arg4 == NULL)
8046 return NULL;
8047}
8048{
8049 PyThreadState* __tstate = wxPyBeginAllowThreads();
8050 wxMenu_InsertRadioItem(_arg0,_arg1,_arg2,*_arg3,*_arg4);
8051
8052 wxPyEndAllowThreads(__tstate);
8053 if (PyErr_Occurred()) return NULL;
8054} Py_INCREF(Py_None);
8055 _resultobj = Py_None;
8056{
8057 if (_obj3)
8058 delete _arg3;
8059}
8060{
8061 if (_obj4)
8062 delete _arg4;
8063}
8064 return _resultobj;
8065}
8066
8067#define wxMenu_InsertMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8068static PyObject *_wrap_wxMenu_InsertMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
8069 PyObject * _resultobj;
8070 wxMenu * _arg0;
8071 size_t _arg1;
8072 int _arg2;
8073 wxString * _arg3;
8074 wxMenu * _arg4;
9a74fcaf 8075 wxString * _arg5 = (wxString *) &wxPyEmptyString;
a884bee5
RD
8076 PyObject * _argo0 = 0;
8077 PyObject * _obj3 = 0;
8078 PyObject * _argo4 = 0;
8079 PyObject * _obj5 = 0;
8080 char *_kwnames[] = { "self","pos","id","text","submenu","help", NULL };
8081
8082 self = self;
8083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOO|O:wxMenu_InsertMenu",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_argo4,&_obj5))
8084 return NULL;
8085 if (_argo0) {
8086 if (_argo0 == Py_None) { _arg0 = NULL; }
8087 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8088 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_InsertMenu. Expected _wxMenu_p.");
8089 return NULL;
8090 }
8091 }
8092{
8093 _arg3 = wxString_in_helper(_obj3);
8094 if (_arg3 == NULL)
8095 return NULL;
8096}
8097 if (_argo4) {
8098 if (_argo4 == Py_None) { _arg4 = NULL; }
8099 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxMenu_p")) {
8100 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxMenu_InsertMenu. Expected _wxMenu_p.");
8101 return NULL;
8102 }
8103 }
8104 if (_obj5)
8105{
8106 _arg5 = wxString_in_helper(_obj5);
8107 if (_arg5 == NULL)
8108 return NULL;
8109}
8110{
8111 PyThreadState* __tstate = wxPyBeginAllowThreads();
8112 wxMenu_InsertMenu(_arg0,_arg1,_arg2,*_arg3,_arg4,*_arg5);
7a446686 8113
474c48f9 8114 wxPyEndAllowThreads(__tstate);
4dfaa61e 8115 if (PyErr_Occurred()) return NULL;
a884bee5
RD
8116} Py_INCREF(Py_None);
8117 _resultobj = Py_None;
8118{
8119 if (_obj3)
8120 delete _arg3;
8121}
8122{
8123 if (_obj5)
8124 delete _arg5;
8125}
7a446686
RD
8126 return _resultobj;
8127}
8128
a884bee5
RD
8129#define wxMenu_InsertItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Insert(_swigarg0,_swigarg1))
8130static PyObject *_wrap_wxMenu_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
7a446686 8131 PyObject * _resultobj;
a884bee5
RD
8132 bool _result;
8133 wxMenu * _arg0;
8134 size_t _arg1;
8135 wxMenuItem * _arg2;
7a446686 8136 PyObject * _argo0 = 0;
a884bee5
RD
8137 PyObject * _argo2 = 0;
8138 char *_kwnames[] = { "self","pos","item", NULL };
7a446686
RD
8139
8140 self = self;
a884bee5 8141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenu_InsertItem",_kwnames,&_argo0,&_arg1,&_argo2))
7a446686
RD
8142 return NULL;
8143 if (_argo0) {
8144 if (_argo0 == Py_None) { _arg0 = NULL; }
a884bee5
RD
8145 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8146 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_InsertItem. Expected _wxMenu_p.");
8147 return NULL;
8148 }
8149 }
8150 if (_argo2) {
8151 if (_argo2 == Py_None) { _arg2 = NULL; }
8152 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxMenuItem_p")) {
8153 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxMenu_InsertItem. Expected _wxMenuItem_p.");
7a446686
RD
8154 return NULL;
8155 }
8156 }
8157{
474c48f9 8158 PyThreadState* __tstate = wxPyBeginAllowThreads();
a884bee5 8159 _result = (bool )wxMenu_InsertItem(_arg0,_arg1,_arg2);
7a446686 8160
474c48f9 8161 wxPyEndAllowThreads(__tstate);
4dfaa61e 8162 if (PyErr_Occurred()) return NULL;
a884bee5 8163} _resultobj = Py_BuildValue("i",_result);
7a446686
RD
8164 return _resultobj;
8165}
8166
a884bee5
RD
8167#define wxMenu_Prepend(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Prepend(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8168static PyObject *_wrap_wxMenu_Prepend(PyObject *self, PyObject *args, PyObject *kwargs) {
7a446686 8169 PyObject * _resultobj;
a884bee5
RD
8170 wxMenu * _arg0;
8171 int _arg1;
8172 wxString * _arg2;
9a74fcaf 8173 wxString * _arg3 = (wxString *) &wxPyEmptyString;
546bfbea 8174 wxItemKind _arg4 = (wxItemKind ) wxITEM_NORMAL;
7a446686 8175 PyObject * _argo0 = 0;
a884bee5
RD
8176 PyObject * _obj2 = 0;
8177 PyObject * _obj3 = 0;
8178 char *_kwnames[] = { "self","id","text","help","kind", NULL };
7a446686
RD
8179
8180 self = self;
a884bee5 8181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|Oi:wxMenu_Prepend",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4))
7a446686
RD
8182 return NULL;
8183 if (_argo0) {
8184 if (_argo0 == Py_None) { _arg0 = NULL; }
a884bee5
RD
8185 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8186 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Prepend. Expected _wxMenu_p.");
7a446686
RD
8187 return NULL;
8188 }
8189 }
a884bee5
RD
8190{
8191 _arg2 = wxString_in_helper(_obj2);
8192 if (_arg2 == NULL)
8193 return NULL;
8194}
8195 if (_obj3)
8196{
8197 _arg3 = wxString_in_helper(_obj3);
8198 if (_arg3 == NULL)
8199 return NULL;
8200}
7a446686 8201{
474c48f9 8202 PyThreadState* __tstate = wxPyBeginAllowThreads();
a884bee5 8203 wxMenu_Prepend(_arg0,_arg1,*_arg2,*_arg3,_arg4);
7a446686 8204
474c48f9 8205 wxPyEndAllowThreads(__tstate);
4dfaa61e 8206 if (PyErr_Occurred()) return NULL;
7a446686
RD
8207} Py_INCREF(Py_None);
8208 _resultobj = Py_None;
a884bee5
RD
8209{
8210 if (_obj2)
8211 delete _arg2;
8212}
8213{
8214 if (_obj3)
8215 delete _arg3;
8216}
7a446686
RD
8217 return _resultobj;
8218}
8219
a884bee5
RD
8220#define wxMenu_PrependSeparator(_swigobj) (_swigobj->PrependSeparator())
8221static PyObject *_wrap_wxMenu_PrependSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
49df1f52 8222 PyObject * _resultobj;
a884bee5 8223 wxMenu * _arg0;
49df1f52
RD
8224 PyObject * _argo0 = 0;
8225 char *_kwnames[] = { "self", NULL };
8226
8227 self = self;
a884bee5 8228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_PrependSeparator",_kwnames,&_argo0))
49df1f52
RD
8229 return NULL;
8230 if (_argo0) {
8231 if (_argo0 == Py_None) { _arg0 = NULL; }
a884bee5
RD
8232 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8233 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_PrependSeparator. Expected _wxMenu_p.");
49df1f52
RD
8234 return NULL;
8235 }
8236 }
8237{
8238 PyThreadState* __tstate = wxPyBeginAllowThreads();
a884bee5 8239 wxMenu_PrependSeparator(_arg0);
49df1f52
RD
8240
8241 wxPyEndAllowThreads(__tstate);
8242 if (PyErr_Occurred()) return NULL;
a884bee5
RD
8243} Py_INCREF(Py_None);
8244 _resultobj = Py_None;
49df1f52
RD
8245 return _resultobj;
8246}
8247
a884bee5
RD
8248#define wxMenu_PrependCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PrependCheckItem(_swigarg0,_swigarg1,_swigarg2))
8249static PyObject *_wrap_wxMenu_PrependCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8250 PyObject * _resultobj;
a884bee5
RD
8251 wxMenu * _arg0;
8252 int _arg1;
8253 wxString * _arg2;
9a74fcaf 8254 wxString * _arg3 = (wxString *) &wxPyEmptyString;
a884bee5
RD
8255 PyObject * _argo0 = 0;
8256 PyObject * _obj2 = 0;
8257 PyObject * _obj3 = 0;
8258 char *_kwnames[] = { "self","id","text","help", NULL };
8ab979d7
RD
8259
8260 self = self;
a884bee5 8261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|O:wxMenu_PrependCheckItem",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3))
8ab979d7 8262 return NULL;
a884bee5
RD
8263 if (_argo0) {
8264 if (_argo0 == Py_None) { _arg0 = NULL; }
8265 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8266 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_PrependCheckItem. Expected _wxMenu_p.");
8267 return NULL;
8268 }
8269 }
8ab979d7 8270{
a884bee5
RD
8271 _arg2 = wxString_in_helper(_obj2);
8272 if (_arg2 == NULL)
8273 return NULL;
8274}
8275 if (_obj3)
8276{
8277 _arg3 = wxString_in_helper(_obj3);
8278 if (_arg3 == NULL)
2cd2fac8 8279 return NULL;
8ab979d7 8280}
cf694132 8281{
474c48f9 8282 PyThreadState* __tstate = wxPyBeginAllowThreads();
a884bee5 8283 wxMenu_PrependCheckItem(_arg0,_arg1,*_arg2,*_arg3);
cf694132 8284
474c48f9 8285 wxPyEndAllowThreads(__tstate);
4dfaa61e 8286 if (PyErr_Occurred()) return NULL;
a884bee5
RD
8287} Py_INCREF(Py_None);
8288 _resultobj = Py_None;
8ab979d7 8289{
a884bee5
RD
8290 if (_obj2)
8291 delete _arg2;
8292}
8293{
8294 if (_obj3)
8295 delete _arg3;
8ab979d7
RD
8296}
8297 return _resultobj;
8298}
8299
a884bee5
RD
8300#define wxMenu_PrependRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PrependRadioItem(_swigarg0,_swigarg1,_swigarg2))
8301static PyObject *_wrap_wxMenu_PrependRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8302 PyObject * _resultobj;
8303 wxMenu * _arg0;
8304 int _arg1;
8305 wxString * _arg2;
9a74fcaf 8306 wxString * _arg3 = (wxString *) &wxPyEmptyString;
1d99702e 8307 PyObject * _argo0 = 0;
8ab979d7
RD
8308 PyObject * _obj2 = 0;
8309 PyObject * _obj3 = 0;
a884bee5 8310 char *_kwnames[] = { "self","id","text","help", NULL };
8ab979d7
RD
8311
8312 self = self;
a884bee5 8313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|O:wxMenu_PrependRadioItem",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3))
8ab979d7 8314 return NULL;
1d99702e
RD
8315 if (_argo0) {
8316 if (_argo0 == Py_None) { _arg0 = NULL; }
8317 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
a884bee5 8318 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_PrependRadioItem. Expected _wxMenu_p.");
8ab979d7
RD
8319 return NULL;
8320 }
8321 }
8322{
c8bc7bb8
RD
8323 _arg2 = wxString_in_helper(_obj2);
8324 if (_arg2 == NULL)
8ab979d7 8325 return NULL;
8ab979d7
RD
8326}
8327 if (_obj3)
8328{
c8bc7bb8
RD
8329 _arg3 = wxString_in_helper(_obj3);
8330 if (_arg3 == NULL)
8ab979d7 8331 return NULL;
8ab979d7 8332}
cf694132 8333{
474c48f9 8334 PyThreadState* __tstate = wxPyBeginAllowThreads();
a884bee5 8335 wxMenu_PrependRadioItem(_arg0,_arg1,*_arg2,*_arg3);
cf694132 8336
474c48f9 8337 wxPyEndAllowThreads(__tstate);
4dfaa61e 8338 if (PyErr_Occurred()) return NULL;
cf694132 8339} Py_INCREF(Py_None);
8ab979d7
RD
8340 _resultobj = Py_None;
8341{
8342 if (_obj2)
8343 delete _arg2;
8344}
8345{
8346 if (_obj3)
8347 delete _arg3;
8348}
8349 return _resultobj;
8350}
8351
a884bee5
RD
8352#define wxMenu_PrependMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Prepend(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8353static PyObject *_wrap_wxMenu_PrependMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8354 PyObject * _resultobj;
8355 wxMenu * _arg0;
8356 int _arg1;
8357 wxString * _arg2;
8358 wxMenu * _arg3;
9a74fcaf 8359 wxString * _arg4 = (wxString *) &wxPyEmptyString;
1d99702e 8360 PyObject * _argo0 = 0;
8ab979d7 8361 PyObject * _obj2 = 0;
1d99702e 8362 PyObject * _argo3 = 0;
8ab979d7 8363 PyObject * _obj4 = 0;
a884bee5 8364 char *_kwnames[] = { "self","id","text","submenu","help", NULL };
8ab979d7
RD
8365
8366 self = self;
a884bee5 8367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO|O:wxMenu_PrependMenu",_kwnames,&_argo0,&_arg1,&_obj2,&_argo3,&_obj4))
8ab979d7 8368 return NULL;
1d99702e
RD
8369 if (_argo0) {
8370 if (_argo0 == Py_None) { _arg0 = NULL; }
8371 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
a884bee5 8372 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_PrependMenu. Expected _wxMenu_p.");
8ab979d7
RD
8373 return NULL;
8374 }
8375 }
8376{
c8bc7bb8
RD
8377 _arg2 = wxString_in_helper(_obj2);
8378 if (_arg2 == NULL)
2cd2fac8 8379 return NULL;
8ab979d7 8380}
1d99702e
RD
8381 if (_argo3) {
8382 if (_argo3 == Py_None) { _arg3 = NULL; }
8383 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxMenu_p")) {
a884bee5 8384 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxMenu_PrependMenu. Expected _wxMenu_p.");
8ab979d7
RD
8385 return NULL;
8386 }
8387 }
8388 if (_obj4)
8389{
c8bc7bb8
RD
8390 _arg4 = wxString_in_helper(_obj4);
8391 if (_arg4 == NULL)
2cd2fac8 8392 return NULL;
8ab979d7 8393}
cf694132 8394{
474c48f9 8395 PyThreadState* __tstate = wxPyBeginAllowThreads();
a884bee5 8396 wxMenu_PrependMenu(_arg0,_arg1,*_arg2,_arg3,*_arg4);
cf694132 8397
474c48f9 8398 wxPyEndAllowThreads(__tstate);
4dfaa61e 8399 if (PyErr_Occurred()) return NULL;
cf694132 8400} Py_INCREF(Py_None);
8ab979d7
RD
8401 _resultobj = Py_None;
8402{
8403 if (_obj2)
8404 delete _arg2;
8405}
8406{
8407 if (_obj4)
8408 delete _arg4;
8409}
8410 return _resultobj;
8411}
8412
a884bee5
RD
8413#define wxMenu_PrependItem(_swigobj,_swigarg0) (_swigobj->Prepend(_swigarg0))
8414static PyObject *_wrap_wxMenu_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
8415 PyObject * _resultobj;
8416 wxMenu * _arg0;
8417 wxMenuItem * _arg1;
1d99702e
RD
8418 PyObject * _argo0 = 0;
8419 PyObject * _argo1 = 0;
efc5f224 8420 char *_kwnames[] = { "self","item", NULL };
af309447
RD
8421
8422 self = self;
a884bee5 8423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_PrependItem",_kwnames,&_argo0,&_argo1))
af309447 8424 return NULL;
1d99702e
RD
8425 if (_argo0) {
8426 if (_argo0 == Py_None) { _arg0 = NULL; }
8427 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
a884bee5 8428 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_PrependItem. Expected _wxMenu_p.");
af309447
RD
8429 return NULL;
8430 }
8431 }
1d99702e
RD
8432 if (_argo1) {
8433 if (_argo1 == Py_None) { _arg1 = NULL; }
8434 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenuItem_p")) {
a884bee5 8435 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_PrependItem. Expected _wxMenuItem_p.");
8ab979d7
RD
8436 return NULL;
8437 }
8438 }
cf694132 8439{
474c48f9 8440 PyThreadState* __tstate = wxPyBeginAllowThreads();
a884bee5 8441 wxMenu_PrependItem(_arg0,_arg1);
cf694132 8442
474c48f9 8443 wxPyEndAllowThreads(__tstate);
4dfaa61e 8444 if (PyErr_Occurred()) return NULL;
cf694132 8445} Py_INCREF(Py_None);
8ab979d7
RD
8446 _resultobj = Py_None;
8447 return _resultobj;
8448}
8449
8450#define wxMenu_Break(_swigobj) (_swigobj->Break())
efc5f224 8451static PyObject *_wrap_wxMenu_Break(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8452 PyObject * _resultobj;
8453 wxMenu * _arg0;
1d99702e 8454 PyObject * _argo0 = 0;
efc5f224 8455 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
8456
8457 self = self;
efc5f224 8458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_Break",_kwnames,&_argo0))
8ab979d7 8459 return NULL;
1d99702e
RD
8460 if (_argo0) {
8461 if (_argo0 == Py_None) { _arg0 = NULL; }
8462 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8ab979d7
RD
8463 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
8464 return NULL;
8465 }
8466 }
cf694132 8467{
474c48f9 8468 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8469 wxMenu_Break(_arg0);
cf694132 8470
474c48f9 8471 wxPyEndAllowThreads(__tstate);
4dfaa61e 8472 if (PyErr_Occurred()) return NULL;
cf694132 8473} Py_INCREF(Py_None);
8ab979d7
RD
8474 _resultobj = Py_None;
8475 return _resultobj;
8476}
8477
8478#define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
efc5f224 8479static PyObject *_wrap_wxMenu_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8480 PyObject * _resultobj;
8481 wxMenu * _arg0;
8482 int _arg1;
8483 bool _arg2;
1d99702e 8484 PyObject * _argo0 = 0;
8ab979d7 8485 int tempbool2;
efc5f224 8486 char *_kwnames[] = { "self","id","flag", NULL };
8ab979d7
RD
8487
8488 self = self;
efc5f224 8489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxMenu_Check",_kwnames,&_argo0,&_arg1,&tempbool2))
8ab979d7 8490 return NULL;
1d99702e
RD
8491 if (_argo0) {
8492 if (_argo0 == Py_None) { _arg0 = NULL; }
8493 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8ab979d7
RD
8494 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
8495 return NULL;
8496 }
8497 }
8498 _arg2 = (bool ) tempbool2;
cf694132 8499{
474c48f9 8500 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8501 wxMenu_Check(_arg0,_arg1,_arg2);
cf694132 8502
474c48f9 8503 wxPyEndAllowThreads(__tstate);
4dfaa61e 8504 if (PyErr_Occurred()) return NULL;
cf694132 8505} Py_INCREF(Py_None);
8ab979d7
RD
8506 _resultobj = Py_None;
8507 return _resultobj;
8508}
8509
b1462dfa
RD
8510#define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
8511static PyObject *_wrap_wxMenu_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
8512 PyObject * _resultobj;
8513 bool _result;
8514 wxMenu * _arg0;
8515 int _arg1;
8516 PyObject * _argo0 = 0;
8517 char *_kwnames[] = { "self","id", NULL };
8518
8519 self = self;
8520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_IsChecked",_kwnames,&_argo0,&_arg1))
8521 return NULL;
8522 if (_argo0) {
8523 if (_argo0 == Py_None) { _arg0 = NULL; }
8524 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8525 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
8526 return NULL;
8527 }
8528 }
8529{
474c48f9 8530 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8531 _result = (bool )wxMenu_IsChecked(_arg0,_arg1);
b1462dfa 8532
474c48f9 8533 wxPyEndAllowThreads(__tstate);
4dfaa61e 8534 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
8535} _resultobj = Py_BuildValue("i",_result);
8536 return _resultobj;
8537}
8538
8ab979d7 8539#define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
efc5f224 8540static PyObject *_wrap_wxMenu_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8541 PyObject * _resultobj;
8542 wxMenu * _arg0;
8543 int _arg1;
8544 bool _arg2;
1d99702e 8545 PyObject * _argo0 = 0;
8ab979d7 8546 int tempbool2;
efc5f224 8547 char *_kwnames[] = { "self","id","enable", NULL };
8ab979d7
RD
8548
8549 self = self;
efc5f224 8550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxMenu_Enable",_kwnames,&_argo0,&_arg1,&tempbool2))
8ab979d7 8551 return NULL;
1d99702e
RD
8552 if (_argo0) {
8553 if (_argo0 == Py_None) { _arg0 = NULL; }
8554 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8ab979d7
RD
8555 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
8556 return NULL;
8557 }
8558 }
8559 _arg2 = (bool ) tempbool2;
cf694132 8560{
474c48f9 8561 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8562 wxMenu_Enable(_arg0,_arg1,_arg2);
cf694132 8563
474c48f9 8564 wxPyEndAllowThreads(__tstate);
4dfaa61e 8565 if (PyErr_Occurred()) return NULL;
cf694132 8566} Py_INCREF(Py_None);
8ab979d7
RD
8567 _resultobj = Py_None;
8568 return _resultobj;
8569}
8570
b1462dfa
RD
8571#define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
8572static PyObject *_wrap_wxMenu_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
8573 PyObject * _resultobj;
8574 bool _result;
8575 wxMenu * _arg0;
8576 int _arg1;
8577 PyObject * _argo0 = 0;
8578 char *_kwnames[] = { "self","id", NULL };
8579
8580 self = self;
8581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_IsEnabled",_kwnames,&_argo0,&_arg1))
8582 return NULL;
8583 if (_argo0) {
8584 if (_argo0 == Py_None) { _arg0 = NULL; }
8585 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8586 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
8587 return NULL;
8588 }
8589 }
8590{
474c48f9 8591 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8592 _result = (bool )wxMenu_IsEnabled(_arg0,_arg1);
b1462dfa 8593
474c48f9 8594 wxPyEndAllowThreads(__tstate);
4dfaa61e 8595 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
8596} _resultobj = Py_BuildValue("i",_result);
8597 return _resultobj;
8598}
8599
8ab979d7 8600#define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
efc5f224 8601static PyObject *_wrap_wxMenu_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8602 PyObject * _resultobj;
8603 int _result;
8604 wxMenu * _arg0;
8605 wxString * _arg1;
1d99702e 8606 PyObject * _argo0 = 0;
8ab979d7 8607 PyObject * _obj1 = 0;
efc5f224 8608 char *_kwnames[] = { "self","itemString", NULL };
8ab979d7
RD
8609
8610 self = self;
efc5f224 8611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_FindItem",_kwnames,&_argo0,&_obj1))
8ab979d7 8612 return NULL;
1d99702e
RD
8613 if (_argo0) {
8614 if (_argo0 == Py_None) { _arg0 = NULL; }
8615 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8ab979d7
RD
8616 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
8617 return NULL;
8618 }
8619 }
8620{
c8bc7bb8
RD
8621 _arg1 = wxString_in_helper(_obj1);
8622 if (_arg1 == NULL)
2cd2fac8 8623 return NULL;
8ab979d7 8624}
cf694132 8625{
474c48f9 8626 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8627 _result = (int )wxMenu_FindItem(_arg0,*_arg1);
cf694132 8628
474c48f9 8629 wxPyEndAllowThreads(__tstate);
4dfaa61e 8630 if (PyErr_Occurred()) return NULL;
cf694132 8631} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
8632{
8633 if (_obj1)
8634 delete _arg1;
8635}
8636 return _resultobj;
8637}
8638
b1462dfa
RD
8639#define wxMenu_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
8640static PyObject *_wrap_wxMenu_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
8641 PyObject * _resultobj;
8642 wxMenuItem * _result;
8643 wxMenu * _arg0;
8644 int _arg1;
8645 PyObject * _argo0 = 0;
8646 char *_kwnames[] = { "self","id", NULL };
b1462dfa
RD
8647
8648 self = self;
8649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_FindItemById",_kwnames,&_argo0,&_arg1))
8650 return NULL;
8651 if (_argo0) {
8652 if (_argo0 == Py_None) { _arg0 = NULL; }
8653 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8654 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_FindItemById. Expected _wxMenu_p.");
8655 return NULL;
8656 }
8657 }
8658{
474c48f9 8659 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8660 _result = (wxMenuItem *)wxMenu_FindItemById(_arg0,_arg1);
b1462dfa 8661
474c48f9 8662 wxPyEndAllowThreads(__tstate);
4dfaa61e 8663 if (PyErr_Occurred()) return NULL;
9df61a29 8664}{ _resultobj = wxPyMake_wxObject(_result); }
b1462dfa
RD
8665 return _resultobj;
8666}
8667
8ab979d7 8668#define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
efc5f224 8669static PyObject *_wrap_wxMenu_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8670 PyObject * _resultobj;
8671 wxString * _result;
8672 wxMenu * _arg0;
1d99702e 8673 PyObject * _argo0 = 0;
efc5f224 8674 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
8675
8676 self = self;
efc5f224 8677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetTitle",_kwnames,&_argo0))
8ab979d7 8678 return NULL;
1d99702e
RD
8679 if (_argo0) {
8680 if (_argo0 == Py_None) { _arg0 = NULL; }
8681 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8ab979d7
RD
8682 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
8683 return NULL;
8684 }
8685 }
8ab979d7 8686{
474c48f9 8687 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8688 _result = new wxString (wxMenu_GetTitle(_arg0));
cf694132 8689
474c48f9 8690 wxPyEndAllowThreads(__tstate);
4dfaa61e 8691 if (PyErr_Occurred()) return NULL;
cf694132 8692}{
c8bc7bb8
RD
8693#if wxUSE_UNICODE
8694 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
8695#else
eec92d76 8696 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 8697#endif
8ab979d7
RD
8698}
8699{
8700 delete _result;
8701}
8702 return _resultobj;
8703}
8704
8705#define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
efc5f224 8706static PyObject *_wrap_wxMenu_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8707 PyObject * _resultobj;
8708 wxMenu * _arg0;
8709 wxString * _arg1;
1d99702e 8710 PyObject * _argo0 = 0;
8ab979d7 8711 PyObject * _obj1 = 0;
efc5f224 8712 char *_kwnames[] = { "self","title", NULL };
8ab979d7
RD
8713
8714 self = self;
efc5f224 8715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_SetTitle",_kwnames,&_argo0,&_obj1))
8ab979d7 8716 return NULL;
1d99702e
RD
8717 if (_argo0) {
8718 if (_argo0 == Py_None) { _arg0 = NULL; }
8719 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8ab979d7
RD
8720 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
8721 return NULL;
8722 }
8723 }
8724{
c8bc7bb8
RD
8725 _arg1 = wxString_in_helper(_obj1);
8726 if (_arg1 == NULL)
2cd2fac8 8727 return NULL;
8ab979d7 8728}
cf694132 8729{
474c48f9 8730 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8731 wxMenu_SetTitle(_arg0,*_arg1);
cf694132 8732
474c48f9 8733 wxPyEndAllowThreads(__tstate);
4dfaa61e 8734 if (PyErr_Occurred()) return NULL;
cf694132 8735} Py_INCREF(Py_None);
8ab979d7
RD
8736 _resultobj = Py_None;
8737{
8738 if (_obj1)
8739 delete _arg1;
8740}
8741 return _resultobj;
8742}
8743
b1462dfa
RD
8744#define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
8745static PyObject *_wrap_wxMenu_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8746 PyObject * _resultobj;
b1462dfa 8747 wxString * _result;
8ab979d7
RD
8748 wxMenu * _arg0;
8749 int _arg1;
1d99702e 8750 PyObject * _argo0 = 0;
efc5f224 8751 char *_kwnames[] = { "self","id", NULL };
8ab979d7
RD
8752
8753 self = self;
b1462dfa 8754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_GetLabel",_kwnames,&_argo0,&_arg1))
8ab979d7 8755 return NULL;
1d99702e
RD
8756 if (_argo0) {
8757 if (_argo0 == Py_None) { _arg0 = NULL; }
8758 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
b1462dfa 8759 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
8ab979d7
RD
8760 return NULL;
8761 }
8762 }
cf694132 8763{
474c48f9 8764 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8765 _result = new wxString (wxMenu_GetLabel(_arg0,_arg1));
cf694132 8766
474c48f9 8767 wxPyEndAllowThreads(__tstate);
4dfaa61e 8768 if (PyErr_Occurred()) return NULL;
b1462dfa 8769}{
c8bc7bb8
RD
8770#if wxUSE_UNICODE
8771 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
8772#else
eec92d76 8773 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 8774#endif
b1462dfa
RD
8775}
8776{
8777 delete _result;
8778}
8ab979d7
RD
8779 return _resultobj;
8780}
8781
b1462dfa
RD
8782#define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
8783static PyObject *_wrap_wxMenu_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8784 PyObject * _resultobj;
8ab979d7
RD
8785 wxMenu * _arg0;
8786 int _arg1;
b1462dfa 8787 wxString * _arg2;
1d99702e 8788 PyObject * _argo0 = 0;
b1462dfa
RD
8789 PyObject * _obj2 = 0;
8790 char *_kwnames[] = { "self","id","label", NULL };
8ab979d7
RD
8791
8792 self = self;
b1462dfa 8793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenu_SetLabel",_kwnames,&_argo0,&_arg1,&_obj2))
8ab979d7 8794 return NULL;
1d99702e
RD
8795 if (_argo0) {
8796 if (_argo0 == Py_None) { _arg0 = NULL; }
8797 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
b1462dfa 8798 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
8ab979d7
RD
8799 return NULL;
8800 }
8801 }
b1462dfa 8802{
c8bc7bb8
RD
8803 _arg2 = wxString_in_helper(_obj2);
8804 if (_arg2 == NULL)
2cd2fac8 8805 return NULL;
b1462dfa 8806}
8ab979d7 8807{
474c48f9 8808 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8809 wxMenu_SetLabel(_arg0,_arg1,*_arg2);
cf694132 8810
474c48f9 8811 wxPyEndAllowThreads(__tstate);
4dfaa61e 8812 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
8813} Py_INCREF(Py_None);
8814 _resultobj = Py_None;
8ab979d7 8815{
b1462dfa
RD
8816 if (_obj2)
8817 delete _arg2;
8ab979d7
RD
8818}
8819 return _resultobj;
8820}
8821
b1462dfa
RD
8822#define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
8823static PyObject *_wrap_wxMenu_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8824 PyObject * _resultobj;
8825 wxString * _result;
8826 wxMenu * _arg0;
8827 int _arg1;
1d99702e 8828 PyObject * _argo0 = 0;
efc5f224 8829 char *_kwnames[] = { "self","id", NULL };
8ab979d7
RD
8830
8831 self = self;
b1462dfa 8832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_GetHelpString",_kwnames,&_argo0,&_arg1))
8ab979d7 8833 return NULL;
1d99702e
RD
8834 if (_argo0) {
8835 if (_argo0 == Py_None) { _arg0 = NULL; }
8836 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
b1462dfa 8837 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
8ab979d7
RD
8838 return NULL;
8839 }
8840 }
8ab979d7 8841{
474c48f9 8842 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8843 _result = new wxString (wxMenu_GetHelpString(_arg0,_arg1));
cf694132 8844
474c48f9 8845 wxPyEndAllowThreads(__tstate);
4dfaa61e 8846 if (PyErr_Occurred()) return NULL;
cf694132 8847}{
c8bc7bb8
RD
8848#if wxUSE_UNICODE
8849 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
8850#else
eec92d76 8851 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 8852#endif
8ab979d7
RD
8853}
8854{
8855 delete _result;
8856}
8857 return _resultobj;
8858}
8859
8860#define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
efc5f224 8861static PyObject *_wrap_wxMenu_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8862 PyObject * _resultobj;
8863 wxMenu * _arg0;
8864 int _arg1;
8865 wxString * _arg2;
1d99702e 8866 PyObject * _argo0 = 0;
8ab979d7 8867 PyObject * _obj2 = 0;
efc5f224 8868 char *_kwnames[] = { "self","id","helpString", NULL };
8ab979d7
RD
8869
8870 self = self;
efc5f224 8871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenu_SetHelpString",_kwnames,&_argo0,&_arg1,&_obj2))
8ab979d7 8872 return NULL;
1d99702e
RD
8873 if (_argo0) {
8874 if (_argo0 == Py_None) { _arg0 = NULL; }
8875 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8ab979d7
RD
8876 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
8877 return NULL;
8878 }
8879 }
8880{
c8bc7bb8
RD
8881 _arg2 = wxString_in_helper(_obj2);
8882 if (_arg2 == NULL)
2cd2fac8 8883 return NULL;
8ab979d7 8884}
cf694132 8885{
474c48f9 8886 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8887 wxMenu_SetHelpString(_arg0,_arg1,*_arg2);
cf694132 8888
474c48f9 8889 wxPyEndAllowThreads(__tstate);
4dfaa61e 8890 if (PyErr_Occurred()) return NULL;
cf694132 8891} Py_INCREF(Py_None);
8ab979d7
RD
8892 _resultobj = Py_None;
8893{
8894 if (_obj2)
8895 delete _arg2;
8896}
8897 return _resultobj;
8898}
8899
b1462dfa
RD
8900#define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
8901static PyObject *_wrap_wxMenu_UpdateUI(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8902 PyObject * _resultobj;
8ab979d7 8903 wxMenu * _arg0;
b1462dfa 8904 wxEvtHandler * _arg1 = (wxEvtHandler *) NULL;
1d99702e 8905 PyObject * _argo0 = 0;
b1462dfa
RD
8906 PyObject * _argo1 = 0;
8907 char *_kwnames[] = { "self","source", NULL };
8ab979d7
RD
8908
8909 self = self;
b1462dfa 8910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxMenu_UpdateUI",_kwnames,&_argo0,&_argo1))
8ab979d7 8911 return NULL;
1d99702e
RD
8912 if (_argo0) {
8913 if (_argo0 == Py_None) { _arg0 = NULL; }
8914 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
b1462dfa
RD
8915 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
8916 return NULL;
8917 }
8918 }
8919 if (_argo1) {
8920 if (_argo1 == Py_None) { _arg1 = NULL; }
8921 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
8922 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
8ab979d7
RD
8923 return NULL;
8924 }
8925 }
cf694132 8926{
474c48f9 8927 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8928 wxMenu_UpdateUI(_arg0,_arg1);
cf694132 8929
474c48f9 8930 wxPyEndAllowThreads(__tstate);
4dfaa61e 8931 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
8932} Py_INCREF(Py_None);
8933 _resultobj = Py_None;
8ab979d7
RD
8934 return _resultobj;
8935}
8936
b1462dfa
RD
8937#define wxMenu_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
8938static PyObject *_wrap_wxMenu_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8939 PyObject * _resultobj;
8940 bool _result;
8941 wxMenu * _arg0;
8942 int _arg1;
1d99702e 8943 PyObject * _argo0 = 0;
efc5f224 8944 char *_kwnames[] = { "self","id", NULL };
8ab979d7
RD
8945
8946 self = self;
b1462dfa 8947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_Delete",_kwnames,&_argo0,&_arg1))
8ab979d7 8948 return NULL;
1d99702e
RD
8949 if (_argo0) {
8950 if (_argo0 == Py_None) { _arg0 = NULL; }
8951 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
b1462dfa 8952 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Delete. Expected _wxMenu_p.");
8ab979d7
RD
8953 return NULL;
8954 }
8955 }
cf694132 8956{
474c48f9 8957 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8958 _result = (bool )wxMenu_Delete(_arg0,_arg1);
cf694132 8959
474c48f9 8960 wxPyEndAllowThreads(__tstate);
4dfaa61e 8961 if (PyErr_Occurred()) return NULL;
cf694132 8962} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
8963 return _resultobj;
8964}
8965
b1462dfa
RD
8966#define wxMenu_DeleteItem(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
8967static PyObject *_wrap_wxMenu_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8968 PyObject * _resultobj;
b1462dfa 8969 bool _result;
8ab979d7 8970 wxMenu * _arg0;
b1462dfa 8971 wxMenuItem * _arg1;
1d99702e 8972 PyObject * _argo0 = 0;
b1462dfa
RD
8973 PyObject * _argo1 = 0;
8974 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
8975
8976 self = self;
b1462dfa 8977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_DeleteItem",_kwnames,&_argo0,&_argo1))
8ab979d7 8978 return NULL;
1d99702e
RD
8979 if (_argo0) {
8980 if (_argo0 == Py_None) { _arg0 = NULL; }
8981 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
b1462dfa 8982 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_DeleteItem. Expected _wxMenu_p.");
8ab979d7
RD
8983 return NULL;
8984 }
8985 }
b1462dfa
RD
8986 if (_argo1) {
8987 if (_argo1 == Py_None) { _arg1 = NULL; }
8988 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenuItem_p")) {
8989 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_DeleteItem. Expected _wxMenuItem_p.");
8ab979d7 8990 return NULL;
b1462dfa 8991 }
8ab979d7 8992 }
cf694132 8993{
474c48f9 8994 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8995 _result = (bool )wxMenu_DeleteItem(_arg0,_arg1);
cf694132 8996
474c48f9 8997 wxPyEndAllowThreads(__tstate);
4dfaa61e 8998 if (PyErr_Occurred()) return NULL;
b1462dfa 8999} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
9000 return _resultobj;
9001}
9002
b1462dfa
RD
9003#define wxMenu_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
9004static PyObject *_wrap_wxMenu_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
efc5f224 9005 PyObject * _resultobj;
b1462dfa 9006 wxMenuItem * _result;
efc5f224 9007 wxMenu * _arg0;
b1462dfa 9008 int _arg1;
efc5f224 9009 PyObject * _argo0 = 0;
b1462dfa 9010 char *_kwnames[] = { "self","id", NULL };
efc5f224
RD
9011
9012 self = self;
b1462dfa 9013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_Remove",_kwnames,&_argo0,&_arg1))
efc5f224
RD
9014 return NULL;
9015 if (_argo0) {
9016 if (_argo0 == Py_None) { _arg0 = NULL; }
9017 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
b1462dfa 9018 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Remove. Expected _wxMenu_p.");
efc5f224
RD
9019 return NULL;
9020 }
9021 }
9022{
474c48f9 9023 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9024 _result = (wxMenuItem *)wxMenu_Remove(_arg0,_arg1);
efc5f224 9025
474c48f9 9026 wxPyEndAllowThreads(__tstate);
4dfaa61e 9027 if (PyErr_Occurred()) return NULL;
9df61a29 9028}{ _resultobj = wxPyMake_wxObject(_result); }
efc5f224
RD
9029 return _resultobj;
9030}
9031
b1462dfa
RD
9032#define wxMenu_RemoveItem(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
9033static PyObject *_wrap_wxMenu_RemoveItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9034 PyObject * _resultobj;
b1462dfa
RD
9035 wxMenuItem * _result;
9036 wxMenu * _arg0;
9037 wxMenuItem * _arg1;
9038 PyObject * _argo0 = 0;
9039 PyObject * _argo1 = 0;
9040 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
9041
9042 self = self;
b1462dfa
RD
9043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_RemoveItem",_kwnames,&_argo0,&_argo1))
9044 return NULL;
9045 if (_argo0) {
9046 if (_argo0 == Py_None) { _arg0 = NULL; }
9047 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9048 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_RemoveItem. Expected _wxMenu_p.");
9049 return NULL;
9050 }
9051 }
9052 if (_argo1) {
9053 if (_argo1 == Py_None) { _arg1 = NULL; }
9054 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenuItem_p")) {
9055 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_RemoveItem. Expected _wxMenuItem_p.");
8ab979d7 9056 return NULL;
b1462dfa
RD
9057 }
9058 }
cf694132 9059{
474c48f9 9060 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9061 _result = (wxMenuItem *)wxMenu_RemoveItem(_arg0,_arg1);
cf694132 9062
474c48f9 9063 wxPyEndAllowThreads(__tstate);
4dfaa61e 9064 if (PyErr_Occurred()) return NULL;
9df61a29 9065}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
9066 return _resultobj;
9067}
9068
eb715945 9069static void wxMenu_Destroy(wxMenu *self) { delete self; }
b1462dfa 9070static PyObject *_wrap_wxMenu_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9071 PyObject * _resultobj;
b1462dfa 9072 wxMenu * _arg0;
1d99702e 9073 PyObject * _argo0 = 0;
b1462dfa 9074 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9075
9076 self = self;
b1462dfa 9077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_Destroy",_kwnames,&_argo0))
8ab979d7 9078 return NULL;
1d99702e
RD
9079 if (_argo0) {
9080 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9081 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9082 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Destroy. Expected _wxMenu_p.");
8ab979d7
RD
9083 return NULL;
9084 }
9085 }
cf694132 9086{
474c48f9 9087 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9088 wxMenu_Destroy(_arg0);
cf694132 9089
474c48f9 9090 wxPyEndAllowThreads(__tstate);
4dfaa61e 9091 if (PyErr_Occurred()) return NULL;
cf694132 9092} Py_INCREF(Py_None);
8ab979d7 9093 _resultobj = Py_None;
8ab979d7
RD
9094 return _resultobj;
9095}
9096
b1462dfa
RD
9097#define wxMenu_DestroyId(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
9098static PyObject *_wrap_wxMenu_DestroyId(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9099 PyObject * _resultobj;
b1462dfa
RD
9100 bool _result;
9101 wxMenu * _arg0;
8ab979d7 9102 int _arg1;
1d99702e 9103 PyObject * _argo0 = 0;
b1462dfa 9104 char *_kwnames[] = { "self","id", NULL };
8ab979d7
RD
9105
9106 self = self;
b1462dfa 9107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_DestroyId",_kwnames,&_argo0,&_arg1))
8ab979d7 9108 return NULL;
1d99702e
RD
9109 if (_argo0) {
9110 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9111 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9112 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_DestroyId. Expected _wxMenu_p.");
8ab979d7
RD
9113 return NULL;
9114 }
9115 }
cf694132 9116{
474c48f9 9117 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9118 _result = (bool )wxMenu_DestroyId(_arg0,_arg1);
cf694132 9119
474c48f9 9120 wxPyEndAllowThreads(__tstate);
4dfaa61e 9121 if (PyErr_Occurred()) return NULL;
b1462dfa 9122} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
9123 return _resultobj;
9124}
9125
b1462dfa
RD
9126#define wxMenu_DestroyItem(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
9127static PyObject *_wrap_wxMenu_DestroyItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9128 PyObject * _resultobj;
b1462dfa
RD
9129 bool _result;
9130 wxMenu * _arg0;
9131 wxMenuItem * _arg1;
1d99702e 9132 PyObject * _argo0 = 0;
b1462dfa
RD
9133 PyObject * _argo1 = 0;
9134 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
9135
9136 self = self;
b1462dfa 9137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_DestroyItem",_kwnames,&_argo0,&_argo1))
8ab979d7 9138 return NULL;
1d99702e
RD
9139 if (_argo0) {
9140 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9141 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9142 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_DestroyItem. Expected _wxMenu_p.");
9143 return NULL;
9144 }
9145 }
9146 if (_argo1) {
9147 if (_argo1 == Py_None) { _arg1 = NULL; }
9148 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenuItem_p")) {
9149 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_DestroyItem. Expected _wxMenuItem_p.");
8ab979d7
RD
9150 return NULL;
9151 }
9152 }
cf694132 9153{
474c48f9 9154 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9155 _result = (bool )wxMenu_DestroyItem(_arg0,_arg1);
cf694132 9156
474c48f9 9157 wxPyEndAllowThreads(__tstate);
4dfaa61e 9158 if (PyErr_Occurred()) return NULL;
b1462dfa 9159} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
9160 return _resultobj;
9161}
9162
b1462dfa
RD
9163#define wxMenu_GetMenuItemCount(_swigobj) (_swigobj->GetMenuItemCount())
9164static PyObject *_wrap_wxMenu_GetMenuItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9165 PyObject * _resultobj;
b1462dfa
RD
9166 size_t _result;
9167 wxMenu * _arg0;
1d99702e 9168 PyObject * _argo0 = 0;
b1462dfa 9169 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9170
9171 self = self;
b1462dfa 9172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetMenuItemCount",_kwnames,&_argo0))
8ab979d7 9173 return NULL;
1d99702e
RD
9174 if (_argo0) {
9175 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9176 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9177 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetMenuItemCount. Expected _wxMenu_p.");
8ab979d7
RD
9178 return NULL;
9179 }
9180 }
cf694132 9181{
474c48f9 9182 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9183 _result = (size_t )wxMenu_GetMenuItemCount(_arg0);
cf694132 9184
474c48f9 9185 wxPyEndAllowThreads(__tstate);
4dfaa61e 9186 if (PyErr_Occurred()) return NULL;
2abc0a0f 9187} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
9188 return _resultobj;
9189}
9190
b1462dfa
RD
9191static PyObject * wxMenu_GetMenuItems(wxMenu *self) {
9192 wxMenuItemList& list = self->GetMenuItems();
9193 return wxPy_ConvertList(&list, "wxMenuItem");
9194 }
9195static PyObject *_wrap_wxMenu_GetMenuItems(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9196 PyObject * _resultobj;
b1462dfa
RD
9197 PyObject * _result;
9198 wxMenu * _arg0;
1d99702e 9199 PyObject * _argo0 = 0;
b1462dfa 9200 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9201
9202 self = self;
b1462dfa 9203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetMenuItems",_kwnames,&_argo0))
8ab979d7 9204 return NULL;
1d99702e
RD
9205 if (_argo0) {
9206 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9207 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9208 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetMenuItems. Expected _wxMenu_p.");
8ab979d7
RD
9209 return NULL;
9210 }
9211 }
cf694132 9212{
474c48f9 9213 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9214 _result = (PyObject *)wxMenu_GetMenuItems(_arg0);
cf694132 9215
474c48f9 9216 wxPyEndAllowThreads(__tstate);
4dfaa61e 9217 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
9218}{
9219 _resultobj = _result;
9220}
8ab979d7
RD
9221 return _resultobj;
9222}
9223
b1462dfa
RD
9224#define wxMenu_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
9225static PyObject *_wrap_wxMenu_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9226 PyObject * _resultobj;
b1462dfa
RD
9227 wxMenu * _arg0;
9228 wxEvtHandler * _arg1;
1d99702e 9229 PyObject * _argo0 = 0;
b1462dfa
RD
9230 PyObject * _argo1 = 0;
9231 char *_kwnames[] = { "self","handler", NULL };
8ab979d7
RD
9232
9233 self = self;
b1462dfa 9234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_SetEventHandler",_kwnames,&_argo0,&_argo1))
8ab979d7 9235 return NULL;
1d99702e
RD
9236 if (_argo0) {
9237 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9238 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9239 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetEventHandler. Expected _wxMenu_p.");
8ab979d7
RD
9240 return NULL;
9241 }
9242 }
b1462dfa
RD
9243 if (_argo1) {
9244 if (_argo1 == Py_None) { _arg1 = NULL; }
9245 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
9246 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_SetEventHandler. Expected _wxEvtHandler_p.");
8ab979d7 9247 return NULL;
b1462dfa 9248 }
8ab979d7 9249 }
cf694132 9250{
474c48f9 9251 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9252 wxMenu_SetEventHandler(_arg0,_arg1);
cf694132 9253
474c48f9 9254 wxPyEndAllowThreads(__tstate);
4dfaa61e 9255 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
9256} Py_INCREF(Py_None);
9257 _resultobj = Py_None;
8ab979d7
RD
9258 return _resultobj;
9259}
9260
b1462dfa
RD
9261#define wxMenu_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
9262static PyObject *_wrap_wxMenu_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9263 PyObject * _resultobj;
b1462dfa
RD
9264 wxEvtHandler * _result;
9265 wxMenu * _arg0;
1d99702e 9266 PyObject * _argo0 = 0;
b1462dfa 9267 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9268
9269 self = self;
b1462dfa 9270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetEventHandler",_kwnames,&_argo0))
8ab979d7 9271 return NULL;
1d99702e
RD
9272 if (_argo0) {
9273 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9274 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9275 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetEventHandler. Expected _wxMenu_p.");
8ab979d7
RD
9276 return NULL;
9277 }
9278 }
cf694132 9279{
474c48f9 9280 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9281 _result = (wxEvtHandler *)wxMenu_GetEventHandler(_arg0);
cf694132 9282
474c48f9 9283 wxPyEndAllowThreads(__tstate);
4dfaa61e 9284 if (PyErr_Occurred()) return NULL;
9df61a29 9285}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
9286 return _resultobj;
9287}
9288
b1462dfa
RD
9289#define wxMenu_SetInvokingWindow(_swigobj,_swigarg0) (_swigobj->SetInvokingWindow(_swigarg0))
9290static PyObject *_wrap_wxMenu_SetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2f90df85 9291 PyObject * _resultobj;
b1462dfa
RD
9292 wxMenu * _arg0;
9293 wxWindow * _arg1;
2f90df85 9294 PyObject * _argo0 = 0;
b1462dfa
RD
9295 PyObject * _argo1 = 0;
9296 char *_kwnames[] = { "self","win", NULL };
2f90df85
RD
9297
9298 self = self;
b1462dfa 9299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_SetInvokingWindow",_kwnames,&_argo0,&_argo1))
2f90df85
RD
9300 return NULL;
9301 if (_argo0) {
9302 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9303 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9304 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetInvokingWindow. Expected _wxMenu_p.");
2f90df85
RD
9305 return NULL;
9306 }
9307 }
b1462dfa
RD
9308 if (_argo1) {
9309 if (_argo1 == Py_None) { _arg1 = NULL; }
9310 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
9311 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_SetInvokingWindow. Expected _wxWindow_p.");
2f90df85 9312 return NULL;
b1462dfa 9313 }
2f90df85 9314 }
2f90df85 9315{
474c48f9 9316 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9317 wxMenu_SetInvokingWindow(_arg0,_arg1);
2f90df85 9318
474c48f9 9319 wxPyEndAllowThreads(__tstate);
4dfaa61e 9320 if (PyErr_Occurred()) return NULL;
2f90df85
RD
9321} Py_INCREF(Py_None);
9322 _resultobj = Py_None;
2f90df85
RD
9323 return _resultobj;
9324}
9325
b1462dfa
RD
9326#define wxMenu_GetInvokingWindow(_swigobj) (_swigobj->GetInvokingWindow())
9327static PyObject *_wrap_wxMenu_GetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9328 PyObject * _resultobj;
b1462dfa
RD
9329 wxWindow * _result;
9330 wxMenu * _arg0;
1d99702e 9331 PyObject * _argo0 = 0;
b1462dfa 9332 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9333
9334 self = self;
b1462dfa 9335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetInvokingWindow",_kwnames,&_argo0))
8ab979d7 9336 return NULL;
1d99702e
RD
9337 if (_argo0) {
9338 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9339 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9340 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetInvokingWindow. Expected _wxMenu_p.");
8ab979d7
RD
9341 return NULL;
9342 }
9343 }
cf694132 9344{
474c48f9 9345 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9346 _result = (wxWindow *)wxMenu_GetInvokingWindow(_arg0);
cf694132 9347
474c48f9 9348 wxPyEndAllowThreads(__tstate);
4dfaa61e 9349 if (PyErr_Occurred()) return NULL;
9df61a29 9350}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
9351 return _resultobj;
9352}
9353
b1462dfa
RD
9354#define wxMenu_GetStyle(_swigobj) (_swigobj->GetStyle())
9355static PyObject *_wrap_wxMenu_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9356 PyObject * _resultobj;
b1462dfa
RD
9357 long _result;
9358 wxMenu * _arg0;
1d99702e 9359 PyObject * _argo0 = 0;
b1462dfa 9360 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9361
9362 self = self;
b1462dfa 9363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetStyle",_kwnames,&_argo0))
8ab979d7 9364 return NULL;
1d99702e
RD
9365 if (_argo0) {
9366 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9367 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9368 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetStyle. Expected _wxMenu_p.");
8ab979d7
RD
9369 return NULL;
9370 }
9371 }
8ab979d7 9372{
474c48f9 9373 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9374 _result = (long )wxMenu_GetStyle(_arg0);
cf694132 9375
474c48f9 9376 wxPyEndAllowThreads(__tstate);
4dfaa61e 9377 if (PyErr_Occurred()) return NULL;
b1462dfa 9378} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
9379 return _resultobj;
9380}
9381
b1462dfa
RD
9382#define wxMenu_IsAttached(_swigobj) (_swigobj->IsAttached())
9383static PyObject *_wrap_wxMenu_IsAttached(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9384 PyObject * _resultobj;
b1462dfa
RD
9385 bool _result;
9386 wxMenu * _arg0;
1d99702e 9387 PyObject * _argo0 = 0;
b1462dfa 9388 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9389
9390 self = self;
b1462dfa 9391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_IsAttached",_kwnames,&_argo0))
8ab979d7 9392 return NULL;
1d99702e
RD
9393 if (_argo0) {
9394 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9395 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9396 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_IsAttached. Expected _wxMenu_p.");
8ab979d7
RD
9397 return NULL;
9398 }
9399 }
8ab979d7 9400{
474c48f9 9401 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9402 _result = (bool )wxMenu_IsAttached(_arg0);
cf694132 9403
474c48f9 9404 wxPyEndAllowThreads(__tstate);
4dfaa61e 9405 if (PyErr_Occurred()) return NULL;
b1462dfa 9406} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
9407 return _resultobj;
9408}
9409
b1462dfa
RD
9410#define wxMenu_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
9411static PyObject *_wrap_wxMenu_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9412 PyObject * _resultobj;
b1462dfa
RD
9413 wxMenu * _arg0;
9414 wxMenu * _arg1;
1d99702e 9415 PyObject * _argo0 = 0;
b1462dfa
RD
9416 PyObject * _argo1 = 0;
9417 char *_kwnames[] = { "self","parent", NULL };
8ab979d7
RD
9418
9419 self = self;
b1462dfa 9420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_SetParent",_kwnames,&_argo0,&_argo1))
8ab979d7 9421 return NULL;
1d99702e
RD
9422 if (_argo0) {
9423 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9424 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9425 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetParent. Expected _wxMenu_p.");
8ab979d7
RD
9426 return NULL;
9427 }
9428 }
b1462dfa
RD
9429 if (_argo1) {
9430 if (_argo1 == Py_None) { _arg1 = NULL; }
9431 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
9432 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_SetParent. Expected _wxMenu_p.");
8ab979d7 9433 return NULL;
b1462dfa 9434 }
8ab979d7 9435 }
cf694132 9436{
474c48f9 9437 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9438 wxMenu_SetParent(_arg0,_arg1);
cf694132 9439
474c48f9 9440 wxPyEndAllowThreads(__tstate);
4dfaa61e 9441 if (PyErr_Occurred()) return NULL;
cf694132 9442} Py_INCREF(Py_None);
8ab979d7 9443 _resultobj = Py_None;
8ab979d7
RD
9444 return _resultobj;
9445}
9446
b1462dfa
RD
9447#define wxMenu_GetParent(_swigobj) (_swigobj->GetParent())
9448static PyObject *_wrap_wxMenu_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9449 PyObject * _resultobj;
b1462dfa
RD
9450 wxMenu * _result;
9451 wxMenu * _arg0;
1d99702e 9452 PyObject * _argo0 = 0;
b1462dfa 9453 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9454
9455 self = self;
b1462dfa 9456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetParent",_kwnames,&_argo0))
8ab979d7 9457 return NULL;
1d99702e
RD
9458 if (_argo0) {
9459 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9460 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9461 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetParent. Expected _wxMenu_p.");
8ab979d7
RD
9462 return NULL;
9463 }
9464 }
8ab979d7 9465{
474c48f9 9466 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9467 _result = (wxMenu *)wxMenu_GetParent(_arg0);
cf694132 9468
474c48f9 9469 wxPyEndAllowThreads(__tstate);
4dfaa61e 9470 if (PyErr_Occurred()) return NULL;
9df61a29 9471}{ _resultobj = wxPyMake_wxObject(_result); }
b1462dfa 9472 return _resultobj;
8ab979d7 9473}
b1462dfa
RD
9474
9475static void *SwigwxMenuBarTowxWindow(void *ptr) {
9476 wxMenuBar *src;
9477 wxWindow *dest;
9478 src = (wxMenuBar *) ptr;
9479 dest = (wxWindow *) src;
9480 return (void *) dest;
9481}
9482
9483static void *SwigwxMenuBarTowxEvtHandler(void *ptr) {
9484 wxMenuBar *src;
9485 wxEvtHandler *dest;
9486 src = (wxMenuBar *) ptr;
9487 dest = (wxEvtHandler *) src;
9488 return (void *) dest;
8ab979d7 9489}
b1462dfa 9490
9df61a29
RD
9491static void *SwigwxMenuBarTowxObject(void *ptr) {
9492 wxMenuBar *src;
9493 wxObject *dest;
9494 src = (wxMenuBar *) ptr;
9495 dest = (wxObject *) src;
9496 return (void *) dest;
9497}
9498
c368d904 9499#define new_wxMenuBar(_swigarg0) (new wxMenuBar(_swigarg0))
b1462dfa
RD
9500static PyObject *_wrap_new_wxMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9501 PyObject * _resultobj;
9502 wxMenuBar * _result;
c368d904
RD
9503 long _arg0 = (long ) 0;
9504 char *_kwnames[] = { "style", NULL };
b1462dfa
RD
9505 char _ptemp[128];
9506
9507 self = self;
c368d904 9508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|l:new_wxMenuBar",_kwnames,&_arg0))
b1462dfa
RD
9509 return NULL;
9510{
474c48f9 9511 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9512 _result = (wxMenuBar *)new_wxMenuBar(_arg0);
b1462dfa 9513
474c48f9 9514 wxPyEndAllowThreads(__tstate);
4dfaa61e 9515 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
9516} if (_result) {
9517 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuBar_p");
9518 _resultobj = Py_BuildValue("s",_ptemp);
9519 } else {
9520 Py_INCREF(Py_None);
9521 _resultobj = Py_None;
9522 }
8ab979d7
RD
9523 return _resultobj;
9524}
9525
b1462dfa
RD
9526#define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
9527static PyObject *_wrap_wxMenuBar_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9528 PyObject * _resultobj;
b1462dfa 9529 bool _result;
8ab979d7 9530 wxMenuBar * _arg0;
b1462dfa 9531 wxMenu * _arg1;
8ab979d7 9532 wxString * _arg2;
1d99702e 9533 PyObject * _argo0 = 0;
b1462dfa 9534 PyObject * _argo1 = 0;
8ab979d7 9535 PyObject * _obj2 = 0;
b1462dfa 9536 char *_kwnames[] = { "self","menu","title", NULL };
8ab979d7
RD
9537
9538 self = self;
b1462dfa 9539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxMenuBar_Append",_kwnames,&_argo0,&_argo1,&_obj2))
8ab979d7 9540 return NULL;
1d99702e
RD
9541 if (_argo0) {
9542 if (_argo0 == Py_None) { _arg0 = NULL; }
9543 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
b1462dfa
RD
9544 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
9545 return NULL;
9546 }
9547 }
9548 if (_argo1) {
9549 if (_argo1 == Py_None) { _arg1 = NULL; }
9550 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
9551 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
8ab979d7
RD
9552 return NULL;
9553 }
9554 }
9555{
c8bc7bb8
RD
9556 _arg2 = wxString_in_helper(_obj2);
9557 if (_arg2 == NULL)
2cd2fac8 9558 return NULL;
8ab979d7 9559}
cf694132 9560{
474c48f9 9561 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9562 _result = (bool )wxMenuBar_Append(_arg0,_arg1,*_arg2);
cf694132 9563
474c48f9 9564 wxPyEndAllowThreads(__tstate);
4dfaa61e 9565 if (PyErr_Occurred()) return NULL;
b1462dfa 9566} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
9567{
9568 if (_obj2)
9569 delete _arg2;
9570}
9571 return _resultobj;
9572}
9573
b1462dfa
RD
9574#define wxMenuBar_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2))
9575static PyObject *_wrap_wxMenuBar_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9576 PyObject * _resultobj;
b1462dfa 9577 bool _result;
8ab979d7 9578 wxMenuBar * _arg0;
b1462dfa
RD
9579 size_t _arg1;
9580 wxMenu * _arg2;
9581 wxString * _arg3;
1d99702e 9582 PyObject * _argo0 = 0;
b1462dfa
RD
9583 PyObject * _argo2 = 0;
9584 PyObject * _obj3 = 0;
9585 char *_kwnames[] = { "self","pos","menu","title", NULL };
8ab979d7
RD
9586
9587 self = self;
b1462dfa 9588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO:wxMenuBar_Insert",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3))
8ab979d7 9589 return NULL;
1d99702e
RD
9590 if (_argo0) {
9591 if (_argo0 == Py_None) { _arg0 = NULL; }
9592 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
b1462dfa
RD
9593 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Insert. Expected _wxMenuBar_p.");
9594 return NULL;
9595 }
9596 }
9597 if (_argo2) {
9598 if (_argo2 == Py_None) { _arg2 = NULL; }
9599 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxMenu_p")) {
9600 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxMenuBar_Insert. Expected _wxMenu_p.");
8ab979d7
RD
9601 return NULL;
9602 }
9603 }
b1462dfa 9604{
c8bc7bb8
RD
9605 _arg3 = wxString_in_helper(_obj3);
9606 if (_arg3 == NULL)
2cd2fac8 9607 return NULL;
b1462dfa 9608}
cf694132 9609{
474c48f9 9610 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9611 _result = (bool )wxMenuBar_Insert(_arg0,_arg1,_arg2,*_arg3);
cf694132 9612
474c48f9 9613 wxPyEndAllowThreads(__tstate);
4dfaa61e 9614 if (PyErr_Occurred()) return NULL;
cf694132 9615} _resultobj = Py_BuildValue("i",_result);
b1462dfa
RD
9616{
9617 if (_obj3)
9618 delete _arg3;
9619}
8ab979d7
RD
9620 return _resultobj;
9621}
9622
b1462dfa
RD
9623#define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
9624static PyObject *_wrap_wxMenuBar_GetMenuCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9625 PyObject * _resultobj;
b1462dfa 9626 size_t _result;
8ab979d7 9627 wxMenuBar * _arg0;
1d99702e 9628 PyObject * _argo0 = 0;
b1462dfa 9629 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9630
9631 self = self;
b1462dfa 9632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuBar_GetMenuCount",_kwnames,&_argo0))
8ab979d7 9633 return NULL;
1d99702e
RD
9634 if (_argo0) {
9635 if (_argo0 == Py_None) { _arg0 = NULL; }
9636 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
b1462dfa 9637 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
8ab979d7
RD
9638 return NULL;
9639 }
9640 }
cf694132 9641{
474c48f9 9642 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9643 _result = (size_t )wxMenuBar_GetMenuCount(_arg0);
cf694132 9644
474c48f9 9645 wxPyEndAllowThreads(__tstate);
4dfaa61e 9646 if (PyErr_Occurred()) return NULL;
b1462dfa 9647} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
9648 return _resultobj;
9649}
9650
b1462dfa
RD
9651#define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
9652static PyObject *_wrap_wxMenuBar_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
06c0fba4 9653 PyObject * _resultobj;
b1462dfa 9654 wxMenu * _result;
06c0fba4 9655 wxMenuBar * _arg0;
b1462dfa 9656 size_t _arg1;
06c0fba4 9657 PyObject * _argo0 = 0;
b1462dfa 9658 char *_kwnames[] = { "self","pos", NULL };
06c0fba4
RD
9659
9660 self = self;
b1462dfa 9661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_GetMenu",_kwnames,&_argo0,&_arg1))
06c0fba4
RD
9662 return NULL;
9663 if (_argo0) {
9664 if (_argo0 == Py_None) { _arg0 = NULL; }
9665 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
b1462dfa 9666 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
06c0fba4
RD
9667 return NULL;
9668 }
9669 }
9670{
474c48f9 9671 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9672 _result = (wxMenu *)wxMenuBar_GetMenu(_arg0,_arg1);
06c0fba4 9673
474c48f9 9674 wxPyEndAllowThreads(__tstate);
4dfaa61e 9675 if (PyErr_Occurred()) return NULL;
9df61a29 9676}{ _resultobj = wxPyMake_wxObject(_result); }
06c0fba4
RD
9677 return _resultobj;
9678}
9679
2abc0a0f
RD
9680#define wxMenuBar_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
9681static PyObject *_wrap_wxMenuBar_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
9682 PyObject * _resultobj;
9683 wxMenu * _result;
9684 wxMenuBar * _arg0;
9685 size_t _arg1;
9686 wxMenu * _arg2;
9687 wxString * _arg3;
9688 PyObject * _argo0 = 0;
9689 PyObject * _argo2 = 0;
9690 PyObject * _obj3 = 0;
9691 char *_kwnames[] = { "self","pos","menu","title", NULL };
2abc0a0f
RD
9692
9693 self = self;
9694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO:wxMenuBar_Replace",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3))
9695 return NULL;
9696 if (_argo0) {
9697 if (_argo0 == Py_None) { _arg0 = NULL; }
9698 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9699 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Replace. Expected _wxMenuBar_p.");
9700 return NULL;
9701 }
9702 }
9703 if (_argo2) {
9704 if (_argo2 == Py_None) { _arg2 = NULL; }
9705 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxMenu_p")) {
9706 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxMenuBar_Replace. Expected _wxMenu_p.");
9707 return NULL;
9708 }
9709 }
9710{
c8bc7bb8
RD
9711 _arg3 = wxString_in_helper(_obj3);
9712 if (_arg3 == NULL)
2cd2fac8 9713 return NULL;
2abc0a0f
RD
9714}
9715{
474c48f9 9716 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9717 _result = (wxMenu *)wxMenuBar_Replace(_arg0,_arg1,_arg2,*_arg3);
2abc0a0f 9718
474c48f9 9719 wxPyEndAllowThreads(__tstate);
4dfaa61e 9720 if (PyErr_Occurred()) return NULL;
9df61a29 9721}{ _resultobj = wxPyMake_wxObject(_result); }
2abc0a0f
RD
9722{
9723 if (_obj3)
9724 delete _arg3;
9725}
9726 return _resultobj;
9727}
9728
9729#define wxMenuBar_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
9730static PyObject *_wrap_wxMenuBar_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
9731 PyObject * _resultobj;
9732 wxMenu * _result;
9733 wxMenuBar * _arg0;
9734 size_t _arg1;
9735 PyObject * _argo0 = 0;
9736 char *_kwnames[] = { "self","pos", NULL };
2abc0a0f
RD
9737
9738 self = self;
9739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_Remove",_kwnames,&_argo0,&_arg1))
9740 return NULL;
9741 if (_argo0) {
9742 if (_argo0 == Py_None) { _arg0 = NULL; }
9743 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9744 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Remove. Expected _wxMenuBar_p.");
9745 return NULL;
9746 }
9747 }
9748{
474c48f9 9749 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9750 _result = (wxMenu *)wxMenuBar_Remove(_arg0,_arg1);
2abc0a0f 9751
474c48f9 9752 wxPyEndAllowThreads(__tstate);
4dfaa61e 9753 if (PyErr_Occurred()) return NULL;
9df61a29 9754}{ _resultobj = wxPyMake_wxObject(_result); }
2abc0a0f
RD
9755 return _resultobj;
9756}
9757
b1462dfa
RD
9758#define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
9759static PyObject *_wrap_wxMenuBar_EnableTop(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 9760 PyObject * _resultobj;
b1462dfa
RD
9761 wxMenuBar * _arg0;
9762 size_t _arg1;
9763 bool _arg2;
9764 PyObject * _argo0 = 0;
9765 int tempbool2;
9766 char *_kwnames[] = { "self","pos","enable", NULL };
9767
9768 self = self;
9769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxMenuBar_EnableTop",_kwnames,&_argo0,&_arg1,&tempbool2))
9770 return NULL;
9771 if (_argo0) {
9772 if (_argo0 == Py_None) { _arg0 = NULL; }
9773 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9774 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
9775 return NULL;
9776 }
9777 }
9778 _arg2 = (bool ) tempbool2;
9779{
474c48f9 9780 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9781 wxMenuBar_EnableTop(_arg0,_arg1,_arg2);
b1462dfa 9782
474c48f9 9783 wxPyEndAllowThreads(__tstate);
4dfaa61e 9784 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
9785} Py_INCREF(Py_None);
9786 _resultobj = Py_None;
9787 return _resultobj;
9788}
9789
9790#define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
9791static PyObject *_wrap_wxMenuBar_SetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
9792 PyObject * _resultobj;
9793 wxMenuBar * _arg0;
9794 size_t _arg1;
9795 wxString * _arg2;
1d99702e 9796 PyObject * _argo0 = 0;
cf694132 9797 PyObject * _obj2 = 0;
b1462dfa 9798 char *_kwnames[] = { "self","pos","label", NULL };
cf694132
RD
9799
9800 self = self;
b1462dfa 9801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenuBar_SetLabelTop",_kwnames,&_argo0,&_arg1,&_obj2))
cf694132 9802 return NULL;
1d99702e
RD
9803 if (_argo0) {
9804 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
9805 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9806 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
cf694132
RD
9807 return NULL;
9808 }
9809 }
cf694132 9810{
c8bc7bb8
RD
9811 _arg2 = wxString_in_helper(_obj2);
9812 if (_arg2 == NULL)
2cd2fac8 9813 return NULL;
cf694132 9814}
cf694132 9815{
474c48f9 9816 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9817 wxMenuBar_SetLabelTop(_arg0,_arg1,*_arg2);
b1462dfa 9818
474c48f9 9819 wxPyEndAllowThreads(__tstate);
4dfaa61e 9820 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
9821} Py_INCREF(Py_None);
9822 _resultobj = Py_None;
9823{
9824 if (_obj2)
9825 delete _arg2;
9826}
9827 return _resultobj;
9828}
9829
9830#define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
9831static PyObject *_wrap_wxMenuBar_GetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
9832 PyObject * _resultobj;
9833 wxString * _result;
9834 wxMenuBar * _arg0;
9835 size_t _arg1;
9836 PyObject * _argo0 = 0;
9837 char *_kwnames[] = { "self","pos", NULL };
9838
9839 self = self;
9840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_GetLabelTop",_kwnames,&_argo0,&_arg1))
9841 return NULL;
9842 if (_argo0) {
9843 if (_argo0 == Py_None) { _arg0 = NULL; }
9844 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9845 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
9846 return NULL;
9847 }
9848 }
9849{
474c48f9 9850 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9851 _result = new wxString (wxMenuBar_GetLabelTop(_arg0,_arg1));
b1462dfa 9852
474c48f9 9853 wxPyEndAllowThreads(__tstate);
4dfaa61e 9854 if (PyErr_Occurred()) return NULL;
b1462dfa 9855}{
c8bc7bb8
RD
9856#if wxUSE_UNICODE
9857 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
9858#else
eec92d76 9859 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 9860#endif
b1462dfa
RD
9861}
9862{
9863 delete _result;
9864}
9865 return _resultobj;
9866}
9867
10be44ac
RD
9868#define wxMenuBar_FindMenu(_swigobj,_swigarg0) (_swigobj->FindMenu(_swigarg0))
9869static PyObject *_wrap_wxMenuBar_FindMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
9870 PyObject * _resultobj;
9871 int _result;
9872 wxMenuBar * _arg0;
9873 wxString * _arg1;
9874 PyObject * _argo0 = 0;
9875 PyObject * _obj1 = 0;
9876 char *_kwnames[] = { "self","title", NULL };
9877
9878 self = self;
9879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuBar_FindMenu",_kwnames,&_argo0,&_obj1))
9880 return NULL;
9881 if (_argo0) {
9882 if (_argo0 == Py_None) { _arg0 = NULL; }
9883 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9884 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_FindMenu. Expected _wxMenuBar_p.");
9885 return NULL;
9886 }
9887 }
9888{
c8bc7bb8
RD
9889 _arg1 = wxString_in_helper(_obj1);
9890 if (_arg1 == NULL)
10be44ac 9891 return NULL;
10be44ac
RD
9892}
9893{
474c48f9 9894 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9895 _result = (int )wxMenuBar_FindMenu(_arg0,*_arg1);
10be44ac 9896
474c48f9 9897 wxPyEndAllowThreads(__tstate);
10be44ac
RD
9898 if (PyErr_Occurred()) return NULL;
9899} _resultobj = Py_BuildValue("i",_result);
9900{
9901 if (_obj1)
9902 delete _arg1;
9903}
9904 return _resultobj;
9905}
9906
b1462dfa
RD
9907#define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
9908static PyObject *_wrap_wxMenuBar_FindMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9909 PyObject * _resultobj;
9910 int _result;
9911 wxMenuBar * _arg0;
9912 wxString * _arg1;
9913 wxString * _arg2;
9914 PyObject * _argo0 = 0;
9915 PyObject * _obj1 = 0;
9916 PyObject * _obj2 = 0;
9917 char *_kwnames[] = { "self","menuString","itemString", NULL };
9918
9919 self = self;
9920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxMenuBar_FindMenuItem",_kwnames,&_argo0,&_obj1,&_obj2))
9921 return NULL;
9922 if (_argo0) {
9923 if (_argo0 == Py_None) { _arg0 = NULL; }
9924 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9925 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
9926 return NULL;
9927 }
9928 }
9929{
c8bc7bb8
RD
9930 _arg1 = wxString_in_helper(_obj1);
9931 if (_arg1 == NULL)
2cd2fac8 9932 return NULL;
cf694132 9933}
b1462dfa 9934{
c8bc7bb8
RD
9935 _arg2 = wxString_in_helper(_obj2);
9936 if (_arg2 == NULL)
b1462dfa 9937 return NULL;
b1462dfa
RD
9938}
9939{
474c48f9 9940 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9941 _result = (int )wxMenuBar_FindMenuItem(_arg0,*_arg1,*_arg2);
b1462dfa 9942
474c48f9 9943 wxPyEndAllowThreads(__tstate);
4dfaa61e 9944 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
9945} _resultobj = Py_BuildValue("i",_result);
9946{
9947 if (_obj1)
9948 delete _arg1;
9949}
9950{
9951 if (_obj2)
9952 delete _arg2;
9953}
9954 return _resultobj;
9955}
9956
9957#define wxMenuBar_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
9958static PyObject *_wrap_wxMenuBar_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
9959 PyObject * _resultobj;
9960 wxMenuItem * _result;
9961 wxMenuBar * _arg0;
9962 int _arg1;
9963 PyObject * _argo0 = 0;
9964 char *_kwnames[] = { "self","id", NULL };
b1462dfa
RD
9965
9966 self = self;
9967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_FindItemById",_kwnames,&_argo0,&_arg1))
9968 return NULL;
9969 if (_argo0) {
9970 if (_argo0 == Py_None) { _arg0 = NULL; }
9971 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9972 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_FindItemById. Expected _wxMenuBar_p.");
cf694132
RD
9973 return NULL;
9974 }
9975 }
9976{
474c48f9 9977 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9978 _result = (wxMenuItem *)wxMenuBar_FindItemById(_arg0,_arg1);
cf694132 9979
474c48f9 9980 wxPyEndAllowThreads(__tstate);
4dfaa61e 9981 if (PyErr_Occurred()) return NULL;
9df61a29 9982}{ _resultobj = wxPyMake_wxObject(_result); }
b1462dfa 9983 return _resultobj;
cf694132 9984}
b1462dfa
RD
9985
9986#define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
9987static PyObject *_wrap_wxMenuBar_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
9988 PyObject * _resultobj;
9989 wxMenuBar * _arg0;
9990 int _arg1;
9991 bool _arg2;
9992 PyObject * _argo0 = 0;
9993 int tempbool2;
9994 char *_kwnames[] = { "self","id","enable", NULL };
9995
9996 self = self;
9997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxMenuBar_Enable",_kwnames,&_argo0,&_arg1,&tempbool2))
9998 return NULL;
9999 if (_argo0) {
10000 if (_argo0 == Py_None) { _arg0 = NULL; }
10001 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10002 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
10003 return NULL;
10004 }
10005 }
10006 _arg2 = (bool ) tempbool2;
cf694132 10007{
474c48f9 10008 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10009 wxMenuBar_Enable(_arg0,_arg1,_arg2);
b1462dfa 10010
474c48f9 10011 wxPyEndAllowThreads(__tstate);
4dfaa61e 10012 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
10013} Py_INCREF(Py_None);
10014 _resultobj = Py_None;
10015 return _resultobj;
cf694132 10016}
b1462dfa
RD
10017
10018#define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
10019static PyObject *_wrap_wxMenuBar_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
10020 PyObject * _resultobj;
10021 wxMenuBar * _arg0;
10022 int _arg1;
10023 bool _arg2;
10024 PyObject * _argo0 = 0;
10025 int tempbool2;
10026 char *_kwnames[] = { "self","id","check", NULL };
10027
10028 self = self;
10029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxMenuBar_Check",_kwnames,&_argo0,&_arg1,&tempbool2))
10030 return NULL;
10031 if (_argo0) {
10032 if (_argo0 == Py_None) { _arg0 = NULL; }
10033 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10034 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
10035 return NULL;
10036 }
10037 }
10038 _arg2 = (bool ) tempbool2;
10039{
474c48f9 10040 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10041 wxMenuBar_Check(_arg0,_arg1,_arg2);
b1462dfa 10042
474c48f9 10043 wxPyEndAllowThreads(__tstate);
4dfaa61e 10044 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
10045} Py_INCREF(Py_None);
10046 _resultobj = Py_None;
cf694132
RD
10047 return _resultobj;
10048}
10049
b1462dfa
RD
10050#define wxMenuBar_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
10051static PyObject *_wrap_wxMenuBar_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10052 PyObject * _resultobj;
10053 bool _result;
b1462dfa
RD
10054 wxMenuBar * _arg0;
10055 int _arg1;
1d99702e 10056 PyObject * _argo0 = 0;
b1462dfa 10057 char *_kwnames[] = { "self","id", NULL };
8ab979d7
RD
10058
10059 self = self;
b1462dfa 10060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_IsChecked",_kwnames,&_argo0,&_arg1))
8ab979d7 10061 return NULL;
1d99702e
RD
10062 if (_argo0) {
10063 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
10064 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10065 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_IsChecked. Expected _wxMenuBar_p.");
8ab979d7
RD
10066 return NULL;
10067 }
10068 }
cf694132 10069{
474c48f9 10070 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10071 _result = (bool )wxMenuBar_IsChecked(_arg0,_arg1);
cf694132 10072
474c48f9 10073 wxPyEndAllowThreads(__tstate);
4dfaa61e 10074 if (PyErr_Occurred()) return NULL;
cf694132 10075} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
10076 return _resultobj;
10077}
10078
b1462dfa
RD
10079#define wxMenuBar_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
10080static PyObject *_wrap_wxMenuBar_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10081 PyObject * _resultobj;
10082 bool _result;
b1462dfa
RD
10083 wxMenuBar * _arg0;
10084 int _arg1;
1d99702e 10085 PyObject * _argo0 = 0;
b1462dfa 10086 char *_kwnames[] = { "self","id", NULL };
8ab979d7
RD
10087
10088 self = self;
b1462dfa 10089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_IsEnabled",_kwnames,&_argo0,&_arg1))
8ab979d7 10090 return NULL;
1d99702e
RD
10091 if (_argo0) {
10092 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
10093 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10094 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_IsEnabled. Expected _wxMenuBar_p.");
8ab979d7
RD
10095 return NULL;
10096 }
10097 }
cf694132 10098{
474c48f9 10099 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10100 _result = (bool )wxMenuBar_IsEnabled(_arg0,_arg1);
cf694132 10101
474c48f9 10102 wxPyEndAllowThreads(__tstate);
4dfaa61e 10103 if (PyErr_Occurred()) return NULL;
cf694132 10104} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
10105 return _resultobj;
10106}
10107
b1462dfa
RD
10108#define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
10109static PyObject *_wrap_wxMenuBar_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 10110 PyObject * _resultobj;
b1462dfa
RD
10111 wxMenuBar * _arg0;
10112 int _arg1;
10113 wxString * _arg2;
1d99702e 10114 PyObject * _argo0 = 0;
b1462dfa
RD
10115 PyObject * _obj2 = 0;
10116 char *_kwnames[] = { "self","id","label", NULL };
8ab979d7
RD
10117
10118 self = self;
b1462dfa 10119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenuBar_SetLabel",_kwnames,&_argo0,&_arg1,&_obj2))
8ab979d7 10120 return NULL;
1d99702e
RD
10121 if (_argo0) {
10122 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
10123 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10124 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
8ab979d7
RD
10125 return NULL;
10126 }
10127 }
b1462dfa 10128{
c8bc7bb8
RD
10129 _arg2 = wxString_in_helper(_obj2);
10130 if (_arg2 == NULL)
b1462dfa 10131 return NULL;
b1462dfa 10132}
cf694132 10133{
474c48f9 10134 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10135 wxMenuBar_SetLabel(_arg0,_arg1,*_arg2);
cf694132 10136
474c48f9 10137 wxPyEndAllowThreads(__tstate);
4dfaa61e 10138 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
10139} Py_INCREF(Py_None);
10140 _resultobj = Py_None;
10141{
10142 if (_obj2)
10143 delete _arg2;
10144}
8ab979d7
RD
10145 return _resultobj;
10146}
10147
b1462dfa
RD
10148#define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
10149static PyObject *_wrap_wxMenuBar_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 10150 PyObject * _resultobj;
b1462dfa
RD
10151 wxString * _result;
10152 wxMenuBar * _arg0;
10153 int _arg1;
1d99702e 10154 PyObject * _argo0 = 0;
b1462dfa 10155 char *_kwnames[] = { "self","id", NULL };
8ab979d7
RD
10156
10157 self = self;
b1462dfa 10158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_GetLabel",_kwnames,&_argo0,&_arg1))
8ab979d7 10159 return NULL;
1d99702e
RD
10160 if (_argo0) {
10161 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
10162 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10163 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
10164 return NULL;
10165 }
10166 }
10167{
474c48f9 10168 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10169 _result = new wxString (wxMenuBar_GetLabel(_arg0,_arg1));
b1462dfa 10170
474c48f9 10171 wxPyEndAllowThreads(__tstate);
4dfaa61e 10172 if (PyErr_Occurred()) return NULL;
b1462dfa 10173}{
c8bc7bb8
RD
10174#if wxUSE_UNICODE
10175 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
10176#else
eec92d76 10177 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 10178#endif
b1462dfa
RD
10179}
10180{
10181 delete _result;
10182}
10183 return _resultobj;
10184}
10185
10186#define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
10187static PyObject *_wrap_wxMenuBar_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
10188 PyObject * _resultobj;
10189 wxMenuBar * _arg0;
10190 int _arg1;
10191 wxString * _arg2;
10192 PyObject * _argo0 = 0;
10193 PyObject * _obj2 = 0;
10194 char *_kwnames[] = { "self","id","helpString", NULL };
10195
10196 self = self;
10197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenuBar_SetHelpString",_kwnames,&_argo0,&_arg1,&_obj2))
10198 return NULL;
10199 if (_argo0) {
10200 if (_argo0 == Py_None) { _arg0 = NULL; }
10201 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10202 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
10203 return NULL;
10204 }
10205 }
10206{
c8bc7bb8
RD
10207 _arg2 = wxString_in_helper(_obj2);
10208 if (_arg2 == NULL)
b1462dfa 10209 return NULL;
b1462dfa
RD
10210}
10211{
474c48f9 10212 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10213 wxMenuBar_SetHelpString(_arg0,_arg1,*_arg2);
b1462dfa 10214
474c48f9 10215 wxPyEndAllowThreads(__tstate);
4dfaa61e 10216 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
10217} Py_INCREF(Py_None);
10218 _resultobj = Py_None;
10219{
10220 if (_obj2)
10221 delete _arg2;
10222}
10223 return _resultobj;
10224}
10225
10226#define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
10227static PyObject *_wrap_wxMenuBar_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
10228 PyObject * _resultobj;
10229 wxString * _result;
10230 wxMenuBar * _arg0;
10231 int _arg1;
10232 PyObject * _argo0 = 0;
10233 char *_kwnames[] = { "self","id", NULL };
10234
10235 self = self;
10236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_GetHelpString",_kwnames,&_argo0,&_arg1))
10237 return NULL;
10238 if (_argo0) {
10239 if (_argo0 == Py_None) { _arg0 = NULL; }
10240 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10241 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
8ab979d7
RD
10242 return NULL;
10243 }
10244 }
cf694132 10245{
474c48f9 10246 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10247 _result = new wxString (wxMenuBar_GetHelpString(_arg0,_arg1));
cf694132 10248
474c48f9 10249 wxPyEndAllowThreads(__tstate);
4dfaa61e 10250 if (PyErr_Occurred()) return NULL;
b1462dfa 10251}{
c8bc7bb8
RD
10252#if wxUSE_UNICODE
10253 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
10254#else
eec92d76 10255 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 10256#endif
b1462dfa
RD
10257}
10258{
10259 delete _result;
10260}
8ab979d7
RD
10261 return _resultobj;
10262}
10263
9df61a29
RD
10264static void *SwigwxMenuItemTowxObject(void *ptr) {
10265 wxMenuItem *src;
10266 wxObject *dest;
10267 src = (wxMenuItem *) ptr;
10268 dest = (wxObject *) src;
10269 return (void *) dest;
10270}
10271
b1462dfa
RD
10272#define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
10273static PyObject *_wrap_new_wxMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 10274 PyObject * _resultobj;
b1462dfa
RD
10275 wxMenuItem * _result;
10276 wxMenu * _arg0 = (wxMenu *) NULL;
4c9993c3 10277 int _arg1 = (int ) wxID_SEPARATOR;
9a74fcaf
RD
10278 wxString * _arg2 = (wxString *) &wxPyEmptyString;
10279 wxString * _arg3 = (wxString *) &wxPyEmptyString;
546bfbea 10280 wxItemKind _arg4 = (wxItemKind ) wxITEM_NORMAL;
b1462dfa 10281 wxMenu * _arg5 = (wxMenu *) NULL;
1d99702e 10282 PyObject * _argo0 = 0;
b1462dfa
RD
10283 PyObject * _obj2 = 0;
10284 PyObject * _obj3 = 0;
b1462dfa 10285 PyObject * _argo5 = 0;
a884bee5 10286 char *_kwnames[] = { "parentMenu","id","text","help","kind","subMenu", NULL };
b1462dfa 10287 char _ptemp[128];
8ab979d7
RD
10288
10289 self = self;
a884bee5 10290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OiOOiO:new_wxMenuItem",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5))
8ab979d7 10291 return NULL;
1d99702e
RD
10292 if (_argo0) {
10293 if (_argo0 == Py_None) { _arg0 = NULL; }
b1462dfa
RD
10294 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
10295 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
10296 return NULL;
10297 }
10298 }
10299 if (_obj2)
10300{
c8bc7bb8
RD
10301 _arg2 = wxString_in_helper(_obj2);
10302 if (_arg2 == NULL)
b1462dfa 10303 return NULL;
b1462dfa
RD
10304}
10305 if (_obj3)
10306{
c8bc7bb8
RD
10307 _arg3 = wxString_in_helper(_obj3);
10308 if (_arg3 == NULL)
b1462dfa 10309 return NULL;
b1462dfa 10310}
b1462dfa
RD
10311 if (_argo5) {
10312 if (_argo5 == Py_None) { _arg5 = NULL; }
10313 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxMenu_p")) {
10314 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
8ab979d7
RD
10315 return NULL;
10316 }
10317 }
cf694132 10318{
474c48f9 10319 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10320 _result = (wxMenuItem *)new_wxMenuItem(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
cf694132 10321
474c48f9 10322 wxPyEndAllowThreads(__tstate);
4dfaa61e 10323 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
10324} if (_result) {
10325 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuItem_p");
10326 _resultobj = Py_BuildValue("s",_ptemp);
10327 } else {
10328 Py_INCREF(Py_None);
10329 _resultobj = Py_None;
10330 }
10331{
10332 if (_obj2)
10333 delete _arg2;
10334}
10335{
10336 if (_obj3)
10337 delete _arg3;
10338}
8ab979d7
RD
10339 return _resultobj;
10340}
10341
b1462dfa
RD
10342#define wxMenuItem_GetMenu(_swigobj) (_swigobj->GetMenu())
10343static PyObject *_wrap_wxMenuItem_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 10344 PyObject * _resultobj;
b1462dfa 10345 wxMenu * _result;
8ab979d7 10346 wxMenuItem * _arg0;
1d99702e 10347 PyObject * _argo0 = 0;
efc5f224 10348 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
10349
10350 self = self;
b1462dfa 10351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetMenu",_kwnames,&_argo0))
8ab979d7 10352 return NULL;
1d99702e
RD
10353 if (_argo0) {
10354 if (_argo0 == Py_None) { _arg0 = NULL; }
10355 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10356 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetMenu. Expected _wxMenuItem_p.");
8ab979d7
RD
10357 return NULL;
10358 }
10359 }
cf694132 10360{
474c48f9 10361 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10362 _result = (wxMenu *)wxMenuItem_GetMenu(_arg0);
cf694132 10363
474c48f9 10364 wxPyEndAllowThreads(__tstate);
4dfaa61e 10365 if (PyErr_Occurred()) return NULL;
9df61a29 10366}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
10367 return _resultobj;
10368}
10369
2abc0a0f
RD
10370#define wxMenuItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
10371static PyObject *_wrap_wxMenuItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10372 PyObject * _resultobj;
10373 wxMenuItem * _arg0;
2abc0a0f 10374 int _arg1;
1d99702e 10375 PyObject * _argo0 = 0;
2abc0a0f 10376 char *_kwnames[] = { "self","id", NULL };
8ab979d7
RD
10377
10378 self = self;
2abc0a0f 10379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuItem_SetId",_kwnames,&_argo0,&_arg1))
8ab979d7 10380 return NULL;
1d99702e
RD
10381 if (_argo0) {
10382 if (_argo0 == Py_None) { _arg0 = NULL; }
10383 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
2abc0a0f 10384 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetId. Expected _wxMenuItem_p.");
8ab979d7
RD
10385 return NULL;
10386 }
10387 }
cf694132 10388{
474c48f9 10389 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10390 wxMenuItem_SetId(_arg0,_arg1);
cf694132 10391
474c48f9 10392 wxPyEndAllowThreads(__tstate);
4dfaa61e 10393 if (PyErr_Occurred()) return NULL;
cf694132 10394} Py_INCREF(Py_None);
8ab979d7 10395 _resultobj = Py_None;
8ab979d7
RD
10396 return _resultobj;
10397}
10398
b1462dfa
RD
10399#define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
10400static PyObject *_wrap_wxMenuItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 10401 PyObject * _resultobj;
b1462dfa 10402 int _result;
8ab979d7 10403 wxMenuItem * _arg0;
1d99702e 10404 PyObject * _argo0 = 0;
efc5f224 10405 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
10406
10407 self = self;
b1462dfa 10408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetId",_kwnames,&_argo0))
8ab979d7 10409 return NULL;
1d99702e
RD
10410 if (_argo0) {
10411 if (_argo0 == Py_None) { _arg0 = NULL; }
10412 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10413 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
8ab979d7
RD
10414 return NULL;
10415 }
10416 }
8ab979d7 10417{
474c48f9 10418 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10419 _result = (int )wxMenuItem_GetId(_arg0);
cf694132 10420
474c48f9 10421 wxPyEndAllowThreads(__tstate);
4dfaa61e 10422 if (PyErr_Occurred()) return NULL;
b1462dfa 10423} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
10424 return _resultobj;
10425}
10426
b1462dfa
RD
10427#define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
10428static PyObject *_wrap_wxMenuItem_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 10429 PyObject * _resultobj;
b1462dfa 10430 bool _result;
8ab979d7 10431 wxMenuItem * _arg0;
1d99702e 10432 PyObject * _argo0 = 0;
efc5f224 10433 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
10434
10435 self = self;
b1462dfa 10436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsSeparator",_kwnames,&_argo0))
8ab979d7 10437 return NULL;
1d99702e
RD
10438 if (_argo0) {
10439 if (_argo0 == Py_None) { _arg0 = NULL; }
10440 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10441 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
8ab979d7
RD
10442 return NULL;
10443 }
10444 }
8ab979d7 10445{
474c48f9 10446 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10447 _result = (bool )wxMenuItem_IsSeparator(_arg0);
cf694132 10448
474c48f9 10449 wxPyEndAllowThreads(__tstate);
4dfaa61e 10450 if (PyErr_Occurred()) return NULL;
b1462dfa 10451} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
10452 return _resultobj;
10453}
10454
b1462dfa
RD
10455#define wxMenuItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
10456static PyObject *_wrap_wxMenuItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10457 PyObject * _resultobj;
10458 wxMenuItem * _arg0;
10459 wxString * _arg1;
1d99702e 10460 PyObject * _argo0 = 0;
8ab979d7 10461 PyObject * _obj1 = 0;
b1462dfa 10462 char *_kwnames[] = { "self","str", NULL };
8ab979d7
RD
10463
10464 self = self;
b1462dfa 10465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetText",_kwnames,&_argo0,&_obj1))
8ab979d7 10466 return NULL;
1d99702e
RD
10467 if (_argo0) {
10468 if (_argo0 == Py_None) { _arg0 = NULL; }
10469 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10470 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetText. Expected _wxMenuItem_p.");
8ab979d7
RD
10471 return NULL;
10472 }
10473 }
10474{
c8bc7bb8
RD
10475 _arg1 = wxString_in_helper(_obj1);
10476 if (_arg1 == NULL)
2cd2fac8 10477 return NULL;
8ab979d7 10478}
cf694132 10479{
474c48f9 10480 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10481 wxMenuItem_SetText(_arg0,*_arg1);
cf694132 10482
474c48f9 10483 wxPyEndAllowThreads(__tstate);
4dfaa61e 10484 if (PyErr_Occurred()) return NULL;
cf694132 10485} Py_INCREF(Py_None);
8ab979d7
RD
10486 _resultobj = Py_None;
10487{
10488 if (_obj1)
10489 delete _arg1;
10490}
10491 return _resultobj;
10492}
10493
b1462dfa
RD
10494#define wxMenuItem_GetLabel(_swigobj) (_swigobj->GetLabel())
10495static PyObject *_wrap_wxMenuItem_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 10496 PyObject * _resultobj;
b1462dfa 10497 wxString * _result;
8ab979d7 10498 wxMenuItem * _arg0;
1d99702e 10499 PyObject * _argo0 = 0;
b1462dfa 10500 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
10501
10502 self = self;
b1462dfa 10503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetLabel",_kwnames,&_argo0))
8ab979d7 10504 return NULL;
1d99702e
RD
10505 if (_argo0) {
10506 if (_argo0 == Py_None) { _arg0 = NULL; }
10507 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10508 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetLabel. Expected _wxMenuItem_p.");
8ab979d7
RD
10509 return NULL;
10510 }
10511 }
cf694132 10512{
474c48f9 10513 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10514 _result = new wxString (wxMenuItem_GetLabel(_arg0));
cf694132 10515
474c48f9 10516 wxPyEndAllowThreads(__tstate);
4dfaa61e 10517 if (PyErr_Occurred()) return NULL;
b1462dfa 10518}{
c8bc7bb8
RD
10519#if wxUSE_UNICODE
10520 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
10521#else
eec92d76 10522 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 10523#endif
8ab979d7 10524}
cf694132 10525{
b1462dfa
RD
10526 delete _result;
10527}
cf694132
RD
10528 return _resultobj;
10529}
10530
b1462dfa
RD
10531#define wxMenuItem_GetText(_swigobj) (_swigobj->GetText())
10532static PyObject *_wrap_wxMenuItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 10533 PyObject * _resultobj;
b1462dfa 10534 wxString * _result;
cf694132 10535 wxMenuItem * _arg0;
1d99702e 10536 PyObject * _argo0 = 0;
efc5f224 10537 char *_kwnames[] = { "self", NULL };
cf694132
RD
10538
10539 self = self;
b1462dfa 10540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetText",_kwnames,&_argo0))
cf694132 10541 return NULL;
1d99702e
RD
10542 if (_argo0) {
10543 if (_argo0 == Py_None) { _arg0 = NULL; }
10544 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10545 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetText. Expected _wxMenuItem_p.");
cf694132
RD
10546 return NULL;
10547 }
10548 }
10549{
474c48f9 10550 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10551 const wxString & _result_ref = wxMenuItem_GetText(_arg0);
b1462dfa 10552 _result = (wxString *) &_result_ref;
cf694132 10553
474c48f9 10554 wxPyEndAllowThreads(__tstate);
4dfaa61e 10555 if (PyErr_Occurred()) return NULL;
b1462dfa 10556}{
c8bc7bb8
RD
10557#if wxUSE_UNICODE
10558 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
10559#else
eec92d76 10560 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 10561#endif
cf694132 10562}
cf694132
RD
10563 return _resultobj;
10564}
10565
a884bee5
RD
10566#define wxMenuItem_GetKind(_swigobj) (_swigobj->GetKind())
10567static PyObject *_wrap_wxMenuItem_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
10568 PyObject * _resultobj;
10569 wxItemKind _result;
10570 wxMenuItem * _arg0;
10571 PyObject * _argo0 = 0;
10572 char *_kwnames[] = { "self", NULL };
10573
10574 self = self;
10575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetKind",_kwnames,&_argo0))
10576 return NULL;
10577 if (_argo0) {
10578 if (_argo0 == Py_None) { _arg0 = NULL; }
10579 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
10580 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetKind. Expected _wxMenuItem_p.");
10581 return NULL;
10582 }
10583 }
10584{
10585 PyThreadState* __tstate = wxPyBeginAllowThreads();
10586 _result = (wxItemKind )wxMenuItem_GetKind(_arg0);
10587
10588 wxPyEndAllowThreads(__tstate);
10589 if (PyErr_Occurred()) return NULL;
10590} _resultobj = Py_BuildValue("i",_result);
10591 return _resultobj;
10592}
10593
b1462dfa
RD
10594#define wxMenuItem_SetCheckable(_swigobj,_swigarg0) (_swigobj->SetCheckable(_swigarg0))
10595static PyObject *_wrap_wxMenuItem_SetCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 10596 PyObject * _resultobj;
cf694132 10597 wxMenuItem * _arg0;
b1462dfa 10598 bool _arg1;
1d99702e 10599 PyObject * _argo0 = 0;
b1462dfa
RD
10600 int tempbool1;
10601 char *_kwnames[] = { "self","checkable", NULL };
cf694132
RD
10602
10603 self = self;
b1462dfa 10604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuItem_SetCheckable",_kwnames,&_argo0,&tempbool1))
cf694132 10605 return NULL;
1d99702e
RD
10606 if (_argo0) {
10607 if (_argo0 == Py_None) { _arg0 = NULL; }
10608 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10609 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetCheckable. Expected _wxMenuItem_p.");
cf694132
RD
10610 return NULL;
10611 }
10612 }
b1462dfa 10613 _arg1 = (bool ) tempbool1;
cf694132 10614{
474c48f9 10615 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10616 wxMenuItem_SetCheckable(_arg0,_arg1);
cf694132 10617
474c48f9 10618 wxPyEndAllowThreads(__tstate);
4dfaa61e 10619 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
10620} Py_INCREF(Py_None);
10621 _resultobj = Py_None;
cf694132
RD
10622 return _resultobj;
10623}
10624
b1462dfa
RD
10625#define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
10626static PyObject *_wrap_wxMenuItem_IsCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 10627 PyObject * _resultobj;
b1462dfa 10628 bool _result;
cf694132 10629 wxMenuItem * _arg0;
1d99702e 10630 PyObject * _argo0 = 0;
efc5f224 10631 char *_kwnames[] = { "self", NULL };
cf694132
RD
10632
10633 self = self;
b1462dfa 10634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsCheckable",_kwnames,&_argo0))
cf694132 10635 return NULL;
1d99702e
RD
10636 if (_argo0) {
10637 if (_argo0 == Py_None) { _arg0 = NULL; }
10638 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10639 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
cf694132
RD
10640 return NULL;
10641 }
10642 }
10643{
474c48f9 10644 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10645 _result = (bool )wxMenuItem_IsCheckable(_arg0);
cf694132 10646
474c48f9 10647 wxPyEndAllowThreads(__tstate);
4dfaa61e 10648 if (PyErr_Occurred()) return NULL;
cf694132
RD
10649} _resultobj = Py_BuildValue("i",_result);
10650 return _resultobj;
10651}
10652
b1462dfa
RD
10653#define wxMenuItem_IsSubMenu(_swigobj) (_swigobj->IsSubMenu())
10654static PyObject *_wrap_wxMenuItem_IsSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 10655 PyObject * _resultobj;
b1462dfa 10656 bool _result;
cf694132 10657 wxMenuItem * _arg0;
1d99702e 10658 PyObject * _argo0 = 0;
efc5f224 10659 char *_kwnames[] = { "self", NULL };
cf694132
RD
10660
10661 self = self;
b1462dfa 10662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsSubMenu",_kwnames,&_argo0))
cf694132 10663 return NULL;
1d99702e
RD
10664 if (_argo0) {
10665 if (_argo0 == Py_None) { _arg0 = NULL; }
10666 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10667 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsSubMenu. Expected _wxMenuItem_p.");
cf694132
RD
10668 return NULL;
10669 }
10670 }
10671{
474c48f9 10672 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10673 _result = (bool )wxMenuItem_IsSubMenu(_arg0);
cf694132 10674
474c48f9 10675 wxPyEndAllowThreads(__tstate);
4dfaa61e 10676 if (PyErr_Occurred()) return NULL;
b1462dfa 10677} _resultobj = Py_BuildValue("i",_result);
cf694132
RD
10678 return _resultobj;
10679}
10680
b1462dfa
RD
10681#define wxMenuItem_SetSubMenu(_swigobj,_swigarg0) (_swigobj->SetSubMenu(_swigarg0))
10682static PyObject *_wrap_wxMenuItem_SetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132
RD
10683 PyObject * _resultobj;
10684 wxMenuItem * _arg0;
b1462dfa 10685 wxMenu * _arg1;
1d99702e
RD
10686 PyObject * _argo0 = 0;
10687 PyObject * _argo1 = 0;
b1462dfa 10688 char *_kwnames[] = { "self","menu", NULL };
cf694132
RD
10689
10690 self = self;
b1462dfa 10691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetSubMenu",_kwnames,&_argo0,&_argo1))
cf694132 10692 return NULL;
1d99702e
RD
10693 if (_argo0) {
10694 if (_argo0 == Py_None) { _arg0 = NULL; }
10695 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10696 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetSubMenu. Expected _wxMenuItem_p.");
cf694132
RD
10697 return NULL;
10698 }
10699 }
1d99702e
RD
10700 if (_argo1) {
10701 if (_argo1 == Py_None) { _arg1 = NULL; }
b1462dfa
RD
10702 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
10703 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenuItem_SetSubMenu. Expected _wxMenu_p.");
cf694132
RD
10704 return NULL;
10705 }
10706 }
10707{
474c48f9 10708 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10709 wxMenuItem_SetSubMenu(_arg0,_arg1);
cf694132 10710
474c48f9 10711 wxPyEndAllowThreads(__tstate);
4dfaa61e 10712 if (PyErr_Occurred()) return NULL;
cf694132
RD
10713} Py_INCREF(Py_None);
10714 _resultobj = Py_None;
10715 return _resultobj;
10716}
10717
b1462dfa
RD
10718#define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
10719static PyObject *_wrap_wxMenuItem_GetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 10720 PyObject * _resultobj;
b1462dfa 10721 wxMenu * _result;
cf694132 10722 wxMenuItem * _arg0;
1d99702e 10723 PyObject * _argo0 = 0;
b1462dfa 10724 char *_kwnames[] = { "self", NULL };
cf694132
RD
10725
10726 self = self;
b1462dfa 10727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetSubMenu",_kwnames,&_argo0))
cf694132 10728 return NULL;
1d99702e
RD
10729 if (_argo0) {
10730 if (_argo0 == Py_None) { _arg0 = NULL; }
10731 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10732 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
cf694132
RD
10733 return NULL;
10734 }
10735 }
b1462dfa 10736{
474c48f9 10737 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10738 _result = (wxMenu *)wxMenuItem_GetSubMenu(_arg0);
b1462dfa 10739
474c48f9 10740 wxPyEndAllowThreads(__tstate);
4dfaa61e 10741 if (PyErr_Occurred()) return NULL;
9df61a29 10742}{ _resultobj = wxPyMake_wxObject(_result); }
b1462dfa
RD
10743 return _resultobj;
10744}
10745
10746#define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
10747static PyObject *_wrap_wxMenuItem_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
10748 PyObject * _resultobj;
10749 wxMenuItem * _arg0;
10750 bool _arg1 = (bool ) TRUE;
10751 PyObject * _argo0 = 0;
10752 int tempbool1 = (int) TRUE;
10753 char *_kwnames[] = { "self","enable", NULL };
10754
10755 self = self;
10756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxMenuItem_Enable",_kwnames,&_argo0,&tempbool1))
10757 return NULL;
10758 if (_argo0) {
10759 if (_argo0 == Py_None) { _arg0 = NULL; }
10760 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
10761 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
cf694132
RD
10762 return NULL;
10763 }
10764 }
b1462dfa 10765 _arg1 = (bool ) tempbool1;
cf694132 10766{
474c48f9 10767 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10768 wxMenuItem_Enable(_arg0,_arg1);
cf694132 10769
474c48f9 10770 wxPyEndAllowThreads(__tstate);
4dfaa61e 10771 if (PyErr_Occurred()) return NULL;
cf694132
RD
10772} Py_INCREF(Py_None);
10773 _resultobj = Py_None;
10774 return _resultobj;
10775}
10776
b1462dfa
RD
10777#define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
10778static PyObject *_wrap_wxMenuItem_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 10779 PyObject * _resultobj;
b1462dfa 10780 bool _result;
cf694132 10781 wxMenuItem * _arg0;
1d99702e 10782 PyObject * _argo0 = 0;
b1462dfa 10783 char *_kwnames[] = { "self", NULL };
cf694132
RD
10784
10785 self = self;
b1462dfa 10786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsEnabled",_kwnames,&_argo0))
cf694132 10787 return NULL;
1d99702e
RD
10788 if (_argo0) {
10789 if (_argo0 == Py_None) { _arg0 = NULL; }
10790 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10791 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
cf694132
RD
10792 return NULL;
10793 }
10794 }
10795{
474c48f9 10796 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10797 _result = (bool )wxMenuItem_IsEnabled(_arg0);
cf694132 10798
474c48f9 10799 wxPyEndAllowThreads(__tstate);
4dfaa61e 10800 if (PyErr_Occurred()) return NULL;
b1462dfa 10801} _resultobj = Py_BuildValue("i",_result);
cf694132
RD
10802 return _resultobj;
10803}
10804
b1462dfa
RD
10805#define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
10806static PyObject *_wrap_wxMenuItem_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132
RD
10807 PyObject * _resultobj;
10808 wxMenuItem * _arg0;
b1462dfa 10809 bool _arg1 = (bool ) TRUE;
1d99702e 10810 PyObject * _argo0 = 0;
b1462dfa
RD
10811 int tempbool1 = (int) TRUE;
10812 char *_kwnames[] = { "self","check", NULL };
cf694132
RD
10813
10814 self = self;
b1462dfa 10815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxMenuItem_Check",_kwnames,&_argo0,&tempbool1))
cf694132 10816 return NULL;
1d99702e
RD
10817 if (_argo0) {
10818 if (_argo0 == Py_None) { _arg0 = NULL; }
10819 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10820 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
cf694132
RD
10821 return NULL;
10822 }
10823 }
b1462dfa 10824 _arg1 = (bool ) tempbool1;
cf694132 10825{
474c48f9 10826 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10827 wxMenuItem_Check(_arg0,_arg1);
cf694132 10828
474c48f9 10829 wxPyEndAllowThreads(__tstate);
4dfaa61e 10830 if (PyErr_Occurred()) return NULL;
cf694132
RD
10831} Py_INCREF(Py_None);
10832 _resultobj = Py_None;
10833 return _resultobj;
10834}
10835
b1462dfa
RD
10836#define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
10837static PyObject *_wrap_wxMenuItem_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
2abc0a0f 10838 PyObject * _resultobj;
b1462dfa 10839 bool _result;
2abc0a0f 10840 wxMenuItem * _arg0;
2abc0a0f 10841 PyObject * _argo0 = 0;
b1462dfa 10842 char *_kwnames[] = { "self", NULL };
2abc0a0f
RD
10843
10844 self = self;
b1462dfa 10845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsChecked",_kwnames,&_argo0))
2abc0a0f
RD
10846 return NULL;
10847 if (_argo0) {
10848 if (_argo0 == Py_None) { _arg0 = NULL; }
10849 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10850 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
2abc0a0f
RD
10851 return NULL;
10852 }
10853 }
2abc0a0f 10854{
474c48f9 10855 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10856 _result = (bool )wxMenuItem_IsChecked(_arg0);
2abc0a0f 10857
474c48f9 10858 wxPyEndAllowThreads(__tstate);
4dfaa61e 10859 if (PyErr_Occurred()) return NULL;
b1462dfa 10860} _resultobj = Py_BuildValue("i",_result);
2abc0a0f
RD
10861 return _resultobj;
10862}
10863
b1462dfa
RD
10864#define wxMenuItem_Toggle(_swigobj) (_swigobj->Toggle())
10865static PyObject *_wrap_wxMenuItem_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
2abc0a0f 10866 PyObject * _resultobj;
2abc0a0f
RD
10867 wxMenuItem * _arg0;
10868 PyObject * _argo0 = 0;
10869 char *_kwnames[] = { "self", NULL };
10870
10871 self = self;
b1462dfa 10872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_Toggle",_kwnames,&_argo0))
2abc0a0f
RD
10873 return NULL;
10874 if (_argo0) {
10875 if (_argo0 == Py_None) { _arg0 = NULL; }
10876 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10877 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_Toggle. Expected _wxMenuItem_p.");
2abc0a0f
RD
10878 return NULL;
10879 }
10880 }
10881{
474c48f9 10882 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10883 wxMenuItem_Toggle(_arg0);
2abc0a0f 10884
474c48f9 10885 wxPyEndAllowThreads(__tstate);
4dfaa61e 10886 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
10887} Py_INCREF(Py_None);
10888 _resultobj = Py_None;
2abc0a0f
RD
10889 return _resultobj;
10890}
10891
b1462dfa
RD
10892#define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
10893static PyObject *_wrap_wxMenuItem_SetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132
RD
10894 PyObject * _resultobj;
10895 wxMenuItem * _arg0;
b1462dfa 10896 wxString * _arg1;
1d99702e 10897 PyObject * _argo0 = 0;
b1462dfa
RD
10898 PyObject * _obj1 = 0;
10899 char *_kwnames[] = { "self","str", NULL };
cf694132
RD
10900
10901 self = self;
b1462dfa 10902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetHelp",_kwnames,&_argo0,&_obj1))
cf694132 10903 return NULL;
1d99702e
RD
10904 if (_argo0) {
10905 if (_argo0 == Py_None) { _arg0 = NULL; }
10906 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10907 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
cf694132
RD
10908 return NULL;
10909 }
10910 }
b1462dfa 10911{
c8bc7bb8
RD
10912 _arg1 = wxString_in_helper(_obj1);
10913 if (_arg1 == NULL)
2cd2fac8 10914 return NULL;
b1462dfa 10915}
cf694132 10916{
474c48f9 10917 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10918 wxMenuItem_SetHelp(_arg0,*_arg1);
cf694132 10919
474c48f9 10920 wxPyEndAllowThreads(__tstate);
4dfaa61e 10921 if (PyErr_Occurred()) return NULL;
cf694132 10922} Py_INCREF(Py_None);
8ab979d7 10923 _resultobj = Py_None;
b1462dfa
RD
10924{
10925 if (_obj1)
10926 delete _arg1;
10927}
8ab979d7
RD
10928 return _resultobj;
10929}
10930
b1462dfa
RD
10931#define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
10932static PyObject *_wrap_wxMenuItem_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
be4d9c1f 10933 PyObject * _resultobj;
b1462dfa 10934 wxString * _result;
be4d9c1f 10935 wxMenuItem * _arg0;
1d99702e 10936 PyObject * _argo0 = 0;
efc5f224 10937 char *_kwnames[] = { "self", NULL };
be4d9c1f
RD
10938
10939 self = self;
b1462dfa 10940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetHelp",_kwnames,&_argo0))
be4d9c1f 10941 return NULL;
1d99702e
RD
10942 if (_argo0) {
10943 if (_argo0 == Py_None) { _arg0 = NULL; }
10944 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10945 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
be4d9c1f
RD
10946 return NULL;
10947 }
10948 }
cf694132 10949{
474c48f9 10950 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10951 const wxString & _result_ref = wxMenuItem_GetHelp(_arg0);
b1462dfa 10952 _result = (wxString *) &_result_ref;
cf694132 10953
474c48f9 10954 wxPyEndAllowThreads(__tstate);
4dfaa61e 10955 if (PyErr_Occurred()) return NULL;
b1462dfa 10956}{
c8bc7bb8
RD
10957#if wxUSE_UNICODE
10958 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
10959#else
eec92d76 10960 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 10961#endif
b1462dfa 10962}
be4d9c1f
RD
10963 return _resultobj;
10964}
10965
b1462dfa
RD
10966#define wxMenuItem_GetAccel(_swigobj) (_swigobj->GetAccel())
10967static PyObject *_wrap_wxMenuItem_GetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
2abc0a0f 10968 PyObject * _resultobj;
b1462dfa 10969 wxAcceleratorEntry * _result;
2abc0a0f 10970 wxMenuItem * _arg0;
2abc0a0f 10971 PyObject * _argo0 = 0;
b1462dfa
RD
10972 char *_kwnames[] = { "self", NULL };
10973 char _ptemp[128];
2abc0a0f
RD
10974
10975 self = self;
b1462dfa 10976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetAccel",_kwnames,&_argo0))
2abc0a0f
RD
10977 return NULL;
10978 if (_argo0) {
10979 if (_argo0 == Py_None) { _arg0 = NULL; }
10980 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 10981 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetAccel. Expected _wxMenuItem_p.");
2abc0a0f
RD
10982 return NULL;
10983 }
10984 }
2abc0a0f 10985{
474c48f9 10986 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10987 _result = (wxAcceleratorEntry *)wxMenuItem_GetAccel(_arg0);
2abc0a0f 10988
474c48f9 10989 wxPyEndAllowThreads(__tstate);
4dfaa61e 10990 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
10991} if (_result) {
10992 SWIG_MakePtr(_ptemp, (char *) _result,"_wxAcceleratorEntry_p");
10993 _resultobj = Py_BuildValue("s",_ptemp);
10994 } else {
10995 Py_INCREF(Py_None);
10996 _resultobj = Py_None;
10997 }
2abc0a0f
RD
10998 return _resultobj;
10999}
11000
b1462dfa
RD
11001#define wxMenuItem_SetAccel(_swigobj,_swigarg0) (_swigobj->SetAccel(_swigarg0))
11002static PyObject *_wrap_wxMenuItem_SetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
2abc0a0f
RD
11003 PyObject * _resultobj;
11004 wxMenuItem * _arg0;
b1462dfa 11005 wxAcceleratorEntry * _arg1;
2abc0a0f
RD
11006 PyObject * _argo0 = 0;
11007 PyObject * _argo1 = 0;
b1462dfa 11008 char *_kwnames[] = { "self","accel", NULL };
2abc0a0f
RD
11009
11010 self = self;
b1462dfa 11011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetAccel",_kwnames,&_argo0,&_argo1))
2abc0a0f
RD
11012 return NULL;
11013 if (_argo0) {
11014 if (_argo0 == Py_None) { _arg0 = NULL; }
11015 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
b1462dfa 11016 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetAccel. Expected _wxMenuItem_p.");
2abc0a0f
RD
11017 return NULL;
11018 }
11019 }
11020 if (_argo1) {
11021 if (_argo1 == Py_None) { _arg1 = NULL; }
b1462dfa
RD
11022 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxAcceleratorEntry_p")) {
11023 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenuItem_SetAccel. Expected _wxAcceleratorEntry_p.");
2abc0a0f
RD
11024 return NULL;
11025 }
11026 }
11027{
474c48f9 11028 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11029 wxMenuItem_SetAccel(_arg0,_arg1);
2abc0a0f 11030
474c48f9 11031 wxPyEndAllowThreads(__tstate);
4dfaa61e 11032 if (PyErr_Occurred()) return NULL;
2abc0a0f
RD
11033} Py_INCREF(Py_None);
11034 _resultobj = Py_None;
11035 return _resultobj;
11036}
11037
9c4165ad
RD
11038static PyObject *_wrap_wxMenuItem_GetLabelFromText(PyObject *self, PyObject *args, PyObject *kwargs) {
11039 PyObject * _resultobj;
11040 wxString * _result;
11041 wxString * _arg0;
11042 PyObject * _obj0 = 0;
11043 char *_kwnames[] = { "text", NULL };
11044
11045 self = self;
11046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetLabelFromText",_kwnames,&_obj0))
11047 return NULL;
11048{
c8bc7bb8
RD
11049 _arg0 = wxString_in_helper(_obj0);
11050 if (_arg0 == NULL)
9c4165ad 11051 return NULL;
9c4165ad
RD
11052}
11053{
474c48f9 11054 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11055 _result = new wxString (wxMenuItem::GetLabelFromText(*_arg0));
9c4165ad 11056
474c48f9 11057 wxPyEndAllowThreads(__tstate);
4dfaa61e 11058 if (PyErr_Occurred()) return NULL;
9c4165ad 11059}{
c8bc7bb8
RD
11060#if wxUSE_UNICODE
11061 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
11062#else
9c4165ad 11063 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 11064#endif
9c4165ad
RD
11065}
11066{
11067 if (_obj0)
11068 delete _arg0;
11069}
11070{
11071 delete _result;
11072}
11073 return _resultobj;
11074}
11075
8ab979d7 11076static PyMethodDef windowscMethods[] = {
9c4165ad 11077 { "wxMenuItem_GetLabelFromText", (PyCFunction) _wrap_wxMenuItem_GetLabelFromText, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
11078 { "wxMenuItem_SetAccel", (PyCFunction) _wrap_wxMenuItem_SetAccel, METH_VARARGS | METH_KEYWORDS },
11079 { "wxMenuItem_GetAccel", (PyCFunction) _wrap_wxMenuItem_GetAccel, METH_VARARGS | METH_KEYWORDS },
11080 { "wxMenuItem_GetHelp", (PyCFunction) _wrap_wxMenuItem_GetHelp, METH_VARARGS | METH_KEYWORDS },
11081 { "wxMenuItem_SetHelp", (PyCFunction) _wrap_wxMenuItem_SetHelp, METH_VARARGS | METH_KEYWORDS },
11082 { "wxMenuItem_Toggle", (PyCFunction) _wrap_wxMenuItem_Toggle, METH_VARARGS | METH_KEYWORDS },
11083 { "wxMenuItem_IsChecked", (PyCFunction) _wrap_wxMenuItem_IsChecked, METH_VARARGS | METH_KEYWORDS },
efc5f224 11084 { "wxMenuItem_Check", (PyCFunction) _wrap_wxMenuItem_Check, METH_VARARGS | METH_KEYWORDS },
b1462dfa 11085 { "wxMenuItem_IsEnabled", (PyCFunction) _wrap_wxMenuItem_IsEnabled, METH_VARARGS | METH_KEYWORDS },
efc5f224 11086 { "wxMenuItem_Enable", (PyCFunction) _wrap_wxMenuItem_Enable, METH_VARARGS | METH_KEYWORDS },
efc5f224 11087 { "wxMenuItem_GetSubMenu", (PyCFunction) _wrap_wxMenuItem_GetSubMenu, METH_VARARGS | METH_KEYWORDS },
b1462dfa 11088 { "wxMenuItem_SetSubMenu", (PyCFunction) _wrap_wxMenuItem_SetSubMenu, METH_VARARGS | METH_KEYWORDS },
2abc0a0f 11089 { "wxMenuItem_IsSubMenu", (PyCFunction) _wrap_wxMenuItem_IsSubMenu, METH_VARARGS | METH_KEYWORDS },
efc5f224 11090 { "wxMenuItem_IsCheckable", (PyCFunction) _wrap_wxMenuItem_IsCheckable, METH_VARARGS | METH_KEYWORDS },
b1462dfa 11091 { "wxMenuItem_SetCheckable", (PyCFunction) _wrap_wxMenuItem_SetCheckable, METH_VARARGS | METH_KEYWORDS },
a884bee5 11092 { "wxMenuItem_GetKind", (PyCFunction) _wrap_wxMenuItem_GetKind, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
11093 { "wxMenuItem_GetText", (PyCFunction) _wrap_wxMenuItem_GetText, METH_VARARGS | METH_KEYWORDS },
11094 { "wxMenuItem_GetLabel", (PyCFunction) _wrap_wxMenuItem_GetLabel, METH_VARARGS | METH_KEYWORDS },
11095 { "wxMenuItem_SetText", (PyCFunction) _wrap_wxMenuItem_SetText, METH_VARARGS | METH_KEYWORDS },
efc5f224 11096 { "wxMenuItem_IsSeparator", (PyCFunction) _wrap_wxMenuItem_IsSeparator, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
11097 { "wxMenuItem_GetId", (PyCFunction) _wrap_wxMenuItem_GetId, METH_VARARGS | METH_KEYWORDS },
11098 { "wxMenuItem_SetId", (PyCFunction) _wrap_wxMenuItem_SetId, METH_VARARGS | METH_KEYWORDS },
11099 { "wxMenuItem_GetMenu", (PyCFunction) _wrap_wxMenuItem_GetMenu, METH_VARARGS | METH_KEYWORDS },
efc5f224 11100 { "new_wxMenuItem", (PyCFunction) _wrap_new_wxMenuItem, METH_VARARGS | METH_KEYWORDS },
b1462dfa 11101 { "wxMenuBar_GetHelpString", (PyCFunction) _wrap_wxMenuBar_GetHelpString, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11102 { "wxMenuBar_SetHelpString", (PyCFunction) _wrap_wxMenuBar_SetHelpString, METH_VARARGS | METH_KEYWORDS },
11103 { "wxMenuBar_GetLabel", (PyCFunction) _wrap_wxMenuBar_GetLabel, METH_VARARGS | METH_KEYWORDS },
2f90df85 11104 { "wxMenuBar_SetLabel", (PyCFunction) _wrap_wxMenuBar_SetLabel, METH_VARARGS | METH_KEYWORDS },
2abc0a0f
RD
11105 { "wxMenuBar_IsEnabled", (PyCFunction) _wrap_wxMenuBar_IsEnabled, METH_VARARGS | METH_KEYWORDS },
11106 { "wxMenuBar_IsChecked", (PyCFunction) _wrap_wxMenuBar_IsChecked, METH_VARARGS | METH_KEYWORDS },
efc5f224 11107 { "wxMenuBar_Check", (PyCFunction) _wrap_wxMenuBar_Check, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
11108 { "wxMenuBar_Enable", (PyCFunction) _wrap_wxMenuBar_Enable, METH_VARARGS | METH_KEYWORDS },
11109 { "wxMenuBar_FindItemById", (PyCFunction) _wrap_wxMenuBar_FindItemById, METH_VARARGS | METH_KEYWORDS },
11110 { "wxMenuBar_FindMenuItem", (PyCFunction) _wrap_wxMenuBar_FindMenuItem, METH_VARARGS | METH_KEYWORDS },
10be44ac 11111 { "wxMenuBar_FindMenu", (PyCFunction) _wrap_wxMenuBar_FindMenu, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
11112 { "wxMenuBar_GetLabelTop", (PyCFunction) _wrap_wxMenuBar_GetLabelTop, METH_VARARGS | METH_KEYWORDS },
11113 { "wxMenuBar_SetLabelTop", (PyCFunction) _wrap_wxMenuBar_SetLabelTop, METH_VARARGS | METH_KEYWORDS },
11114 { "wxMenuBar_EnableTop", (PyCFunction) _wrap_wxMenuBar_EnableTop, METH_VARARGS | METH_KEYWORDS },
11115 { "wxMenuBar_Remove", (PyCFunction) _wrap_wxMenuBar_Remove, METH_VARARGS | METH_KEYWORDS },
11116 { "wxMenuBar_Replace", (PyCFunction) _wrap_wxMenuBar_Replace, METH_VARARGS | METH_KEYWORDS },
11117 { "wxMenuBar_GetMenu", (PyCFunction) _wrap_wxMenuBar_GetMenu, METH_VARARGS | METH_KEYWORDS },
11118 { "wxMenuBar_GetMenuCount", (PyCFunction) _wrap_wxMenuBar_GetMenuCount, METH_VARARGS | METH_KEYWORDS },
11119 { "wxMenuBar_Insert", (PyCFunction) _wrap_wxMenuBar_Insert, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11120 { "wxMenuBar_Append", (PyCFunction) _wrap_wxMenuBar_Append, METH_VARARGS | METH_KEYWORDS },
11121 { "new_wxMenuBar", (PyCFunction) _wrap_new_wxMenuBar, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
11122 { "wxMenu_GetParent", (PyCFunction) _wrap_wxMenu_GetParent, METH_VARARGS | METH_KEYWORDS },
11123 { "wxMenu_SetParent", (PyCFunction) _wrap_wxMenu_SetParent, METH_VARARGS | METH_KEYWORDS },
11124 { "wxMenu_IsAttached", (PyCFunction) _wrap_wxMenu_IsAttached, METH_VARARGS | METH_KEYWORDS },
11125 { "wxMenu_GetStyle", (PyCFunction) _wrap_wxMenu_GetStyle, METH_VARARGS | METH_KEYWORDS },
11126 { "wxMenu_GetInvokingWindow", (PyCFunction) _wrap_wxMenu_GetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
11127 { "wxMenu_SetInvokingWindow", (PyCFunction) _wrap_wxMenu_SetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
11128 { "wxMenu_GetEventHandler", (PyCFunction) _wrap_wxMenu_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
11129 { "wxMenu_SetEventHandler", (PyCFunction) _wrap_wxMenu_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
11130 { "wxMenu_GetMenuItems", (PyCFunction) _wrap_wxMenu_GetMenuItems, METH_VARARGS | METH_KEYWORDS },
11131 { "wxMenu_GetMenuItemCount", (PyCFunction) _wrap_wxMenu_GetMenuItemCount, METH_VARARGS | METH_KEYWORDS },
11132 { "wxMenu_DestroyItem", (PyCFunction) _wrap_wxMenu_DestroyItem, METH_VARARGS | METH_KEYWORDS },
11133 { "wxMenu_DestroyId", (PyCFunction) _wrap_wxMenu_DestroyId, METH_VARARGS | METH_KEYWORDS },
efc5f224 11134 { "wxMenu_Destroy", (PyCFunction) _wrap_wxMenu_Destroy, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
11135 { "wxMenu_RemoveItem", (PyCFunction) _wrap_wxMenu_RemoveItem, METH_VARARGS | METH_KEYWORDS },
11136 { "wxMenu_Remove", (PyCFunction) _wrap_wxMenu_Remove, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
11137 { "wxMenu_DeleteItem", (PyCFunction) _wrap_wxMenu_DeleteItem, METH_VARARGS | METH_KEYWORDS },
11138 { "wxMenu_Delete", (PyCFunction) _wrap_wxMenu_Delete, METH_VARARGS | METH_KEYWORDS },
efc5f224 11139 { "wxMenu_UpdateUI", (PyCFunction) _wrap_wxMenu_UpdateUI, METH_VARARGS | METH_KEYWORDS },
efc5f224 11140 { "wxMenu_SetHelpString", (PyCFunction) _wrap_wxMenu_SetHelpString, METH_VARARGS | METH_KEYWORDS },
efc5f224 11141 { "wxMenu_GetHelpString", (PyCFunction) _wrap_wxMenu_GetHelpString, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
11142 { "wxMenu_SetLabel", (PyCFunction) _wrap_wxMenu_SetLabel, METH_VARARGS | METH_KEYWORDS },
11143 { "wxMenu_GetLabel", (PyCFunction) _wrap_wxMenu_GetLabel, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11144 { "wxMenu_SetTitle", (PyCFunction) _wrap_wxMenu_SetTitle, METH_VARARGS | METH_KEYWORDS },
11145 { "wxMenu_GetTitle", (PyCFunction) _wrap_wxMenu_GetTitle, METH_VARARGS | METH_KEYWORDS },
b1462dfa 11146 { "wxMenu_FindItemById", (PyCFunction) _wrap_wxMenu_FindItemById, METH_VARARGS | METH_KEYWORDS },
efc5f224 11147 { "wxMenu_FindItem", (PyCFunction) _wrap_wxMenu_FindItem, METH_VARARGS | METH_KEYWORDS },
b1462dfa 11148 { "wxMenu_IsEnabled", (PyCFunction) _wrap_wxMenu_IsEnabled, METH_VARARGS | METH_KEYWORDS },
efc5f224 11149 { "wxMenu_Enable", (PyCFunction) _wrap_wxMenu_Enable, METH_VARARGS | METH_KEYWORDS },
b1462dfa 11150 { "wxMenu_IsChecked", (PyCFunction) _wrap_wxMenu_IsChecked, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11151 { "wxMenu_Check", (PyCFunction) _wrap_wxMenu_Check, METH_VARARGS | METH_KEYWORDS },
11152 { "wxMenu_Break", (PyCFunction) _wrap_wxMenu_Break, METH_VARARGS | METH_KEYWORDS },
a884bee5
RD
11153 { "wxMenu_PrependItem", (PyCFunction) _wrap_wxMenu_PrependItem, METH_VARARGS | METH_KEYWORDS },
11154 { "wxMenu_PrependMenu", (PyCFunction) _wrap_wxMenu_PrependMenu, METH_VARARGS | METH_KEYWORDS },
11155 { "wxMenu_PrependRadioItem", (PyCFunction) _wrap_wxMenu_PrependRadioItem, METH_VARARGS | METH_KEYWORDS },
11156 { "wxMenu_PrependCheckItem", (PyCFunction) _wrap_wxMenu_PrependCheckItem, METH_VARARGS | METH_KEYWORDS },
11157 { "wxMenu_PrependSeparator", (PyCFunction) _wrap_wxMenu_PrependSeparator, METH_VARARGS | METH_KEYWORDS },
11158 { "wxMenu_Prepend", (PyCFunction) _wrap_wxMenu_Prepend, METH_VARARGS | METH_KEYWORDS },
11159 { "wxMenu_InsertItem", (PyCFunction) _wrap_wxMenu_InsertItem, METH_VARARGS | METH_KEYWORDS },
11160 { "wxMenu_InsertMenu", (PyCFunction) _wrap_wxMenu_InsertMenu, METH_VARARGS | METH_KEYWORDS },
11161 { "wxMenu_InsertRadioItem", (PyCFunction) _wrap_wxMenu_InsertRadioItem, METH_VARARGS | METH_KEYWORDS },
11162 { "wxMenu_InsertCheckItem", (PyCFunction) _wrap_wxMenu_InsertCheckItem, METH_VARARGS | METH_KEYWORDS },
11163 { "wxMenu_InsertSeparator", (PyCFunction) _wrap_wxMenu_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
11164 { "wxMenu_Insert", (PyCFunction) _wrap_wxMenu_Insert, METH_VARARGS | METH_KEYWORDS },
efc5f224 11165 { "wxMenu_AppendSeparator", (PyCFunction) _wrap_wxMenu_AppendSeparator, METH_VARARGS | METH_KEYWORDS },
a884bee5
RD
11166 { "wxMenu_AppendRadioItem", (PyCFunction) _wrap_wxMenu_AppendRadioItem, METH_VARARGS | METH_KEYWORDS },
11167 { "wxMenu_AppendCheckItem", (PyCFunction) _wrap_wxMenu_AppendCheckItem, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11168 { "wxMenu_AppendItem", (PyCFunction) _wrap_wxMenu_AppendItem, METH_VARARGS | METH_KEYWORDS },
11169 { "wxMenu_AppendMenu", (PyCFunction) _wrap_wxMenu_AppendMenu, METH_VARARGS | METH_KEYWORDS },
11170 { "wxMenu_Append", (PyCFunction) _wrap_wxMenu_Append, METH_VARARGS | METH_KEYWORDS },
11171 { "new_wxMenu", (PyCFunction) _wrap_new_wxMenu, METH_VARARGS | METH_KEYWORDS },
8381e4cd 11172 { "wxScrolledWindow_SetScrollRate", (PyCFunction) _wrap_wxScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
49df1f52 11173 { "wxScrolledWindow_Layout", (PyCFunction) _wrap_wxScrolledWindow_Layout, METH_VARARGS | METH_KEYWORDS },
7a446686
RD
11174 { "wxScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_wxScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
11175 { "wxScrolledWindow_GetScaleY", (PyCFunction) _wrap_wxScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
11176 { "wxScrolledWindow_GetScaleX", (PyCFunction) _wrap_wxScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
11177 { "wxScrolledWindow_SetScale", (PyCFunction) _wrap_wxScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
a884bee5
RD
11178 { "wxScrolledWindow_CalcUnscrolledPosition2", (PyCFunction) _wrap_wxScrolledWindow_CalcUnscrolledPosition2, METH_VARARGS | METH_KEYWORDS },
11179 { "wxScrolledWindow_CalcUnscrolledPosition1", (PyCFunction) _wrap_wxScrolledWindow_CalcUnscrolledPosition1, METH_VARARGS | METH_KEYWORDS },
11180 { "wxScrolledWindow_CalcScrolledPosition2", (PyCFunction) _wrap_wxScrolledWindow_CalcScrolledPosition2, METH_VARARGS | METH_KEYWORDS },
11181 { "wxScrolledWindow_CalcScrolledPosition1", (PyCFunction) _wrap_wxScrolledWindow_CalcScrolledPosition1, METH_VARARGS | METH_KEYWORDS },
4c9993c3 11182 { "wxScrolledWindow_GetViewStart", (PyCFunction) _wrap_wxScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
eb715945 11183 { "wxScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_wxScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
b7e72427 11184 { "wxScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_wxScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11185 { "wxScrolledWindow_SetScrollbars", (PyCFunction) _wrap_wxScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
11186 { "wxScrolledWindow_Scroll", (PyCFunction) _wrap_wxScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
11187 { "wxScrolledWindow_PrepareDC", (PyCFunction) _wrap_wxScrolledWindow_PrepareDC, METH_VARARGS | METH_KEYWORDS },
11188 { "wxScrolledWindow_IsRetained", (PyCFunction) _wrap_wxScrolledWindow_IsRetained, METH_VARARGS | METH_KEYWORDS },
b7e72427 11189 { "wxScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_wxScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
efc5f224 11190 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
b7e72427 11191 { "wxScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_wxScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
efc5f224 11192 { "wxScrolledWindow_EnableScrolling", (PyCFunction) _wrap_wxScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
11193 { "wxScrolledWindow_Create", (PyCFunction) _wrap_wxScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
11194 { "new_wxPreScrolledWindow", (PyCFunction) _wrap_new_wxPreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
efc5f224 11195 { "new_wxScrolledWindow", (PyCFunction) _wrap_new_wxScrolledWindow, METH_VARARGS | METH_KEYWORDS },
efc5f224 11196 { "wxPanel_InitDialog", (PyCFunction) _wrap_wxPanel_InitDialog, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
11197 { "wxPanel_Create", (PyCFunction) _wrap_wxPanel_Create, METH_VARARGS | METH_KEYWORDS },
11198 { "new_wxPrePanel", (PyCFunction) _wrap_new_wxPrePanel, METH_VARARGS | METH_KEYWORDS },
efc5f224 11199 { "new_wxPanel", (PyCFunction) _wrap_new_wxPanel, METH_VARARGS | METH_KEYWORDS },
94c16279
RD
11200 { "wxWindow_HasCapture", (PyCFunction) _wrap_wxWindow_HasCapture, METH_VARARGS | METH_KEYWORDS },
11201 { "wxWindow_GetCapture", (PyCFunction) _wrap_wxWindow_GetCapture, METH_VARARGS | METH_KEYWORDS },
11202 { "wxWindow_ReleaseMouse", (PyCFunction) _wrap_wxWindow_ReleaseMouse, METH_VARARGS | METH_KEYWORDS },
11203 { "wxWindow_CaptureMouse", (PyCFunction) _wrap_wxWindow_CaptureMouse, METH_VARARGS | METH_KEYWORDS },
11204 { "wxWindow_WarpPointer", (PyCFunction) _wrap_wxWindow_WarpPointer, METH_VARARGS | METH_KEYWORDS },
12d1116b 11205 { "wxWindow_SetTmpDefaultItem", (PyCFunction) _wrap_wxWindow_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS },
1893b029
RD
11206 { "wxWindow_SetDefaultItem", (PyCFunction) _wrap_wxWindow_SetDefaultItem, METH_VARARGS | METH_KEYWORDS },
11207 { "wxWindow_GetDefaultItem", (PyCFunction) _wrap_wxWindow_GetDefaultItem, METH_VARARGS | METH_KEYWORDS },
65191ae8 11208 { "wxWindow_GetAcceleratorTable", (PyCFunction) _wrap_wxWindow_GetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
32c988a3 11209 { "wxWindow_SetAcceleratorTable", (PyCFunction) _wrap_wxWindow_SetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
11210 { "wxWindow_PrevControlId", (PyCFunction) _wrap_wxWindow_PrevControlId, METH_VARARGS | METH_KEYWORDS },
11211 { "wxWindow_NextControlId", (PyCFunction) _wrap_wxWindow_NextControlId, METH_VARARGS | METH_KEYWORDS },
11212 { "wxWindow_NewControlId", (PyCFunction) _wrap_wxWindow_NewControlId, METH_VARARGS | METH_KEYWORDS },
11213 { "wxWindow_FindFocus", (PyCFunction) _wrap_wxWindow_FindFocus, METH_VARARGS | METH_KEYWORDS },
cd096152
RD
11214 { "wxWindow_PageDown", (PyCFunction) _wrap_wxWindow_PageDown, METH_VARARGS | METH_KEYWORDS },
11215 { "wxWindow_PageUp", (PyCFunction) _wrap_wxWindow_PageUp, METH_VARARGS | METH_KEYWORDS },
11216 { "wxWindow_LineDown", (PyCFunction) _wrap_wxWindow_LineDown, METH_VARARGS | METH_KEYWORDS },
11217 { "wxWindow_LineUp", (PyCFunction) _wrap_wxWindow_LineUp, METH_VARARGS | METH_KEYWORDS },
11218 { "wxWindow_ScrollPages", (PyCFunction) _wrap_wxWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
11219 { "wxWindow_ScrollLines", (PyCFunction) _wrap_wxWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
8cb49012 11220 { "wxWindow_SetHelpTextForId", (PyCFunction) _wrap_wxWindow_SetHelpTextForId, METH_VARARGS | METH_KEYWORDS },
cd096152
RD
11221 { "wxWindow_SetHelpText", (PyCFunction) _wrap_wxWindow_SetHelpText, METH_VARARGS | METH_KEYWORDS },
11222 { "wxWindow_GetHelpText", (PyCFunction) _wrap_wxWindow_GetHelpText, METH_VARARGS | METH_KEYWORDS },
aa2a5b86 11223 { "wxWindow_Update", (PyCFunction) _wrap_wxWindow_Update, METH_VARARGS | METH_KEYWORDS },
10be44ac
RD
11224 { "wxWindow_Thaw", (PyCFunction) _wrap_wxWindow_Thaw, METH_VARARGS | METH_KEYWORDS },
11225 { "wxWindow_Freeze", (PyCFunction) _wrap_wxWindow_Freeze, METH_VARARGS | METH_KEYWORDS },
a1df7a95
RD
11226 { "wxWindow_GetCaret", (PyCFunction) _wrap_wxWindow_GetCaret, METH_VARARGS | METH_KEYWORDS },
11227 { "wxWindow_SetCaret", (PyCFunction) _wrap_wxWindow_SetCaret, METH_VARARGS | METH_KEYWORDS },
49df1f52 11228 { "wxWindow_GetMaxSize", (PyCFunction) _wrap_wxWindow_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
694759cf 11229 { "wxWindow_GetBestSize", (PyCFunction) _wrap_wxWindow_GetBestSize, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
11230 { "wxWindow_GetDropTarget", (PyCFunction) _wrap_wxWindow_GetDropTarget, METH_VARARGS | METH_KEYWORDS },
11231 { "wxWindow_SetDropTarget", (PyCFunction) _wrap_wxWindow_SetDropTarget, METH_VARARGS | METH_KEYWORDS },
2f90df85
RD
11232 { "wxWindow_SetValidator", (PyCFunction) _wrap_wxWindow_SetValidator, METH_VARARGS | METH_KEYWORDS },
11233 { "wxWindow_GetValidator", (PyCFunction) _wrap_wxWindow_GetValidator, METH_VARARGS | METH_KEYWORDS },
94082a71
RD
11234 { "wxWindow_GetContainingSizer", (PyCFunction) _wrap_wxWindow_GetContainingSizer, METH_VARARGS | METH_KEYWORDS },
11235 { "wxWindow_SetContainingSizer", (PyCFunction) _wrap_wxWindow_SetContainingSizer, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 11236 { "wxWindow_GetSizer", (PyCFunction) _wrap_wxWindow_GetSizer, METH_VARARGS | METH_KEYWORDS },
8381e4cd 11237 { "wxWindow_SetSizerAndFit", (PyCFunction) _wrap_wxWindow_SetSizerAndFit, METH_VARARGS | METH_KEYWORDS },
2f90df85 11238 { "wxWindow_SetSizer", (PyCFunction) _wrap_wxWindow_SetSizer, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11239 { "wxWindow_GetToolTip", (PyCFunction) _wrap_wxWindow_GetToolTip, METH_VARARGS | METH_KEYWORDS },
11240 { "wxWindow_SetToolTip", (PyCFunction) _wrap_wxWindow_SetToolTip, METH_VARARGS | METH_KEYWORDS },
11241 { "wxWindow_SetToolTipString", (PyCFunction) _wrap_wxWindow_SetToolTipString, METH_VARARGS | METH_KEYWORDS },
11242 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction) _wrap_wxWindow_ConvertPixelSizeToDialog, METH_VARARGS | METH_KEYWORDS },
11243 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction) _wrap_wxWindow_ConvertPixelPointToDialog, METH_VARARGS | METH_KEYWORDS },
11244 { "wxWindow_DLG_SZE", (PyCFunction) _wrap_wxWindow_ConvertDialogSizeToPixels, METH_VARARGS | METH_KEYWORDS },
11245 { "wxWindow_DLG_PNT", (PyCFunction) _wrap_wxWindow_ConvertDialogPointToPixels, METH_VARARGS | METH_KEYWORDS },
11246 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction) _wrap_wxWindow_ConvertDialogSizeToPixels, METH_VARARGS | METH_KEYWORDS },
11247 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction) _wrap_wxWindow_ConvertDialogPointToPixels, METH_VARARGS | METH_KEYWORDS },
efc5f224 11248 { "wxWindow_Validate", (PyCFunction) _wrap_wxWindow_Validate, METH_VARARGS | METH_KEYWORDS },
8cb49012 11249 { "wxWindow_UpdateWindowUI", (PyCFunction) _wrap_wxWindow_UpdateWindowUI, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11250 { "wxWindow_TransferDataToWindow", (PyCFunction) _wrap_wxWindow_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
11251 { "wxWindow_TransferDataFromWindow", (PyCFunction) _wrap_wxWindow_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
11252 { "wxWindow_Show", (PyCFunction) _wrap_wxWindow_Show, METH_VARARGS | METH_KEYWORDS },
11253 { "wxWindow_SetTitle", (PyCFunction) _wrap_wxWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
5e40f9dd 11254 { "wxWindow_SetExtraStyle", (PyCFunction) _wrap_wxWindow_SetExtraStyle, METH_VARARGS | METH_KEYWORDS },
1afc06c2 11255 { "wxWindow_SetEventHandler", (PyCFunction) _wrap_wxWindow_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11256 { "wxWindow_SetCursor", (PyCFunction) _wrap_wxWindow_SetCursor, METH_VARARGS | METH_KEYWORDS },
11257 { "wxWindow_SetClientSize", (PyCFunction) _wrap_wxWindow_SetClientSize, METH_VARARGS | METH_KEYWORDS },
11258 { "wxWindow_SetClientSizeWH", (PyCFunction) _wrap_wxWindow_SetClientSizeWH, METH_VARARGS | METH_KEYWORDS },
8381e4cd
RD
11259 { "wxWindow_GetVirtualSizeTuple", (PyCFunction) _wrap_wxWindow_GetVirtualSizeTuple, METH_VARARGS | METH_KEYWORDS },
11260 { "wxWindow_GetVirtualSize", (PyCFunction) _wrap_wxWindow_GetVirtualSize, METH_VARARGS | METH_KEYWORDS },
11261 { "wxWindow_SetVirtualSizeWH", (PyCFunction) _wrap_wxWindow_SetVirtualSizeWH, METH_VARARGS | METH_KEYWORDS },
11262 { "wxWindow_SetVirtualSize", (PyCFunction) _wrap_wxWindow_SetVirtualSize, METH_VARARGS | METH_KEYWORDS },
11263 { "wxWindow_SetVirtualSizeHints", (PyCFunction) _wrap_wxWindow_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS },
efc5f224 11264 { "wxWindow_SetSizeHints", (PyCFunction) _wrap_wxWindow_SetSizeHints, METH_VARARGS | METH_KEYWORDS },
2cd2fac8 11265 { "wxWindow_SetRect", (PyCFunction) _wrap_wxWindow_SetRect, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11266 { "wxWindow_SetPosition", (PyCFunction) _wrap_wxWindow_SetPosition, METH_VARARGS | METH_KEYWORDS },
11267 { "wxWindow_SetSize", (PyCFunction) _wrap_wxWindow_SetSize, METH_VARARGS | METH_KEYWORDS },
11268 { "wxWindow_SetDimensions", (PyCFunction) _wrap_wxWindow_SetDimensions, METH_VARARGS | METH_KEYWORDS },
11269 { "wxWindow_SetScrollPos", (PyCFunction) _wrap_wxWindow_SetScrollPos, METH_VARARGS | METH_KEYWORDS },
11270 { "wxWindow_SetScrollbar", (PyCFunction) _wrap_wxWindow_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
11271 { "wxWindow_SetName", (PyCFunction) _wrap_wxWindow_SetName, METH_VARARGS | METH_KEYWORDS },
11272 { "wxWindow_SetId", (PyCFunction) _wrap_wxWindow_SetId, METH_VARARGS | METH_KEYWORDS },
11273 { "wxWindow_SetForegroundColour", (PyCFunction) _wrap_wxWindow_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
11274 { "wxWindow_SetFont", (PyCFunction) _wrap_wxWindow_SetFont, METH_VARARGS | METH_KEYWORDS },
2f90df85 11275 { "wxWindow_AcceptsFocus", (PyCFunction) _wrap_wxWindow_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
8381e4cd 11276 { "wxWindow_SetFocusFromKbd", (PyCFunction) _wrap_wxWindow_SetFocusFromKbd, METH_VARARGS | METH_KEYWORDS },
efc5f224 11277 { "wxWindow_SetFocus", (PyCFunction) _wrap_wxWindow_SetFocus, METH_VARARGS | METH_KEYWORDS },
2f90df85 11278 { "wxWindow_UnsetConstraints", (PyCFunction) _wrap_wxWindow_UnsetConstraints, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11279 { "wxWindow_SetConstraints", (PyCFunction) _wrap_wxWindow_SetConstraints, METH_VARARGS | METH_KEYWORDS },
11280 { "wxWindow_SetBackgroundColour", (PyCFunction) _wrap_wxWindow_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
9d8bd15f 11281 { "wxWindow_GetAutoLayout", (PyCFunction) _wrap_wxWindow_GetAutoLayout, METH_VARARGS | METH_KEYWORDS },
efc5f224 11282 { "wxWindow_SetAutoLayout", (PyCFunction) _wrap_wxWindow_SetAutoLayout, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11283 { "wxWindow_ScrollWindow", (PyCFunction) _wrap_wxWindow_ScrollWindow, METH_VARARGS | METH_KEYWORDS },
11284 { "wxWindow_ScreenToClient", (PyCFunction) _wrap_wxWindow_ScreenToClient, METH_VARARGS | METH_KEYWORDS },
11285 { "wxWindow_ScreenToClientXY", (PyCFunction) _wrap_wxWindow_ScreenToClientXY, METH_VARARGS | METH_KEYWORDS },
11286 { "wxWindow_Reparent", (PyCFunction) _wrap_wxWindow_Reparent, METH_VARARGS | METH_KEYWORDS },
b7e72427 11287 { "wxWindow_RemoveChild", (PyCFunction) _wrap_wxWindow_RemoveChild, METH_VARARGS | METH_KEYWORDS },
aa2a5b86 11288 { "wxWindow_RefreshRect", (PyCFunction) _wrap_wxWindow_RefreshRect, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11289 { "wxWindow_Refresh", (PyCFunction) _wrap_wxWindow_Refresh, METH_VARARGS | METH_KEYWORDS },
11290 { "wxWindow_Raise", (PyCFunction) _wrap_wxWindow_Raise, METH_VARARGS | METH_KEYWORDS },
11291 { "wxWindow_PopupMenu", (PyCFunction) _wrap_wxWindow_PopupMenu, METH_VARARGS | METH_KEYWORDS },
11292 { "wxWindow_PopupMenuXY", (PyCFunction) _wrap_wxWindow_PopupMenuXY, METH_VARARGS | METH_KEYWORDS },
5d413391 11293 { "wxWindow_RemoveEventHandler", (PyCFunction) _wrap_wxWindow_RemoveEventHandler, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
11294 { "wxWindow_PushEventHandler", (PyCFunction) _wrap_wxWindow_PushEventHandler, METH_VARARGS | METH_KEYWORDS },
11295 { "wxWindow_PopEventHandler", (PyCFunction) _wrap_wxWindow_PopEventHandler, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11296 { "wxWindow_Move", (PyCFunction) _wrap_wxWindow_Move, METH_VARARGS | METH_KEYWORDS },
11297 { "wxWindow_MoveXY", (PyCFunction) _wrap_wxWindow_MoveXY, METH_VARARGS | METH_KEYWORDS },
11298 { "wxWindow_MakeModal", (PyCFunction) _wrap_wxWindow_MakeModal, METH_VARARGS | METH_KEYWORDS },
11299 { "wxWindow_Lower", (PyCFunction) _wrap_wxWindow_Lower, METH_VARARGS | METH_KEYWORDS },
11300 { "wxWindow_LoadFromResource", (PyCFunction) _wrap_wxWindow_LoadFromResource, METH_VARARGS | METH_KEYWORDS },
11301 { "wxWindow_Layout", (PyCFunction) _wrap_wxWindow_Layout, METH_VARARGS | METH_KEYWORDS },
11302 { "wxWindow_IsTopLevel", (PyCFunction) _wrap_wxWindow_IsTopLevel, METH_VARARGS | METH_KEYWORDS },
11303 { "wxWindow_IsShown", (PyCFunction) _wrap_wxWindow_IsShown, METH_VARARGS | METH_KEYWORDS },
11304 { "wxWindow_IsRetained", (PyCFunction) _wrap_wxWindow_IsRetained, METH_VARARGS | METH_KEYWORDS },
1b55cabf
RD
11305 { "wxWindow_IsExposedRect", (PyCFunction) _wrap_wxWindow_IsExposedRect, METH_VARARGS | METH_KEYWORDS },
11306 { "wxWindow_IsExposedPoint", (PyCFunction) _wrap_wxWindow_IsExposedPoint, METH_VARARGS | METH_KEYWORDS },
11307 { "wxWindow_IsExposed", (PyCFunction) _wrap_wxWindow_IsExposed, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11308 { "wxWindow_IsEnabled", (PyCFunction) _wrap_wxWindow_IsEnabled, METH_VARARGS | METH_KEYWORDS },
11309 { "wxWindow_InitDialog", (PyCFunction) _wrap_wxWindow_InitDialog, METH_VARARGS | METH_KEYWORDS },
8cb49012 11310 { "wxWindow_HitTest", (PyCFunction) _wrap_wxWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
efc5f224 11311 { "wxWindow_Hide", (PyCFunction) _wrap_wxWindow_Hide, METH_VARARGS | METH_KEYWORDS },
8cb49012 11312 { "wxWindow_HasScrollbar", (PyCFunction) _wrap_wxWindow_HasScrollbar, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
11313 { "wxWindow_SetWindowStyle", (PyCFunction) _wrap_wxWindow_SetWindowStyle, METH_VARARGS | METH_KEYWORDS },
11314 { "wxWindow_SetWindowStyleFlag", (PyCFunction) _wrap_wxWindow_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11315 { "wxWindow_GetWindowStyleFlag", (PyCFunction) _wrap_wxWindow_GetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
11316 { "wxWindow_GetUpdateRegion", (PyCFunction) _wrap_wxWindow_GetUpdateRegion, METH_VARARGS | METH_KEYWORDS },
11317 { "wxWindow_GetTitle", (PyCFunction) _wrap_wxWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
11318 { "wxWindow_GetFullTextExtent", (PyCFunction) _wrap_wxWindow_GetFullTextExtent, METH_VARARGS | METH_KEYWORDS },
11319 { "wxWindow_GetTextExtent", (PyCFunction) _wrap_wxWindow_GetTextExtent, METH_VARARGS | METH_KEYWORDS },
11320 { "wxWindow_GetSize", (PyCFunction) _wrap_wxWindow_GetSize, METH_VARARGS | METH_KEYWORDS },
11321 { "wxWindow_GetSizeTuple", (PyCFunction) _wrap_wxWindow_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
11322 { "wxWindow_GetScrollRange", (PyCFunction) _wrap_wxWindow_GetScrollRange, METH_VARARGS | METH_KEYWORDS },
11323 { "wxWindow_GetScrollPos", (PyCFunction) _wrap_wxWindow_GetScrollPos, METH_VARARGS | METH_KEYWORDS },
11324 { "wxWindow_GetScrollThumb", (PyCFunction) _wrap_wxWindow_GetScrollThumb, METH_VARARGS | METH_KEYWORDS },
11325 { "wxWindow_GetRect", (PyCFunction) _wrap_wxWindow_GetRect, METH_VARARGS | METH_KEYWORDS },
11326 { "wxWindow_GetPosition", (PyCFunction) _wrap_wxWindow_GetPosition, METH_VARARGS | METH_KEYWORDS },
11327 { "wxWindow_GetPositionTuple", (PyCFunction) _wrap_wxWindow_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
11328 { "wxWindow_GetParent", (PyCFunction) _wrap_wxWindow_GetParent, METH_VARARGS | METH_KEYWORDS },
11329 { "wxWindow_GetName", (PyCFunction) _wrap_wxWindow_GetName, METH_VARARGS | METH_KEYWORDS },
11330 { "wxWindow_SetLabel", (PyCFunction) _wrap_wxWindow_SetLabel, METH_VARARGS | METH_KEYWORDS },
11331 { "wxWindow_GetLabel", (PyCFunction) _wrap_wxWindow_GetLabel, METH_VARARGS | METH_KEYWORDS },
11332 { "wxWindow_GetId", (PyCFunction) _wrap_wxWindow_GetId, METH_VARARGS | METH_KEYWORDS },
2abc0a0f 11333 { "wxWindow_GetHandle", (PyCFunction) _wrap_wxWindow_GetHandle, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11334 { "wxWindow_GetGrandParent", (PyCFunction) _wrap_wxWindow_GetGrandParent, METH_VARARGS | METH_KEYWORDS },
11335 { "wxWindow_GetForegroundColour", (PyCFunction) _wrap_wxWindow_GetForegroundColour, METH_VARARGS | METH_KEYWORDS },
11336 { "wxWindow_GetFont", (PyCFunction) _wrap_wxWindow_GetFont, METH_VARARGS | METH_KEYWORDS },
1afc06c2 11337 { "wxWindow_GetEventHandler", (PyCFunction) _wrap_wxWindow_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
efc5f224 11338 { "wxWindow_GetConstraints", (PyCFunction) _wrap_wxWindow_GetConstraints, METH_VARARGS | METH_KEYWORDS },
8cb49012
RD
11339 { "wxWindow_GetClientRect", (PyCFunction) _wrap_wxWindow_GetClientRect, METH_VARARGS | METH_KEYWORDS },
11340 { "wxWindow_GetClientAreaOrigin", (PyCFunction) _wrap_wxWindow_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11341 { "wxWindow_GetClientSize", (PyCFunction) _wrap_wxWindow_GetClientSize, METH_VARARGS | METH_KEYWORDS },
11342 { "wxWindow_GetClientSizeTuple", (PyCFunction) _wrap_wxWindow_GetClientSizeTuple, METH_VARARGS | METH_KEYWORDS },
11343 { "wxWindow_GetCharWidth", (PyCFunction) _wrap_wxWindow_GetCharWidth, METH_VARARGS | METH_KEYWORDS },
11344 { "wxWindow_GetCharHeight", (PyCFunction) _wrap_wxWindow_GetCharHeight, METH_VARARGS | METH_KEYWORDS },
d426c97e 11345 { "wxWindow_GetChildren", (PyCFunction) _wrap_wxWindow_GetChildren, METH_VARARGS | METH_KEYWORDS },
8cb49012 11346 { "wxWindow_GetBorder", (PyCFunction) _wrap_wxWindow_GetBorder, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11347 { "wxWindow_GetBackgroundColour", (PyCFunction) _wrap_wxWindow_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11348 { "wxWindow_Fit", (PyCFunction) _wrap_wxWindow_Fit, METH_VARARGS | METH_KEYWORDS },
11349 { "wxWindow_FindWindowByName", (PyCFunction) _wrap_wxWindow_FindWindowByName, METH_VARARGS | METH_KEYWORDS },
11350 { "wxWindow_FindWindowById", (PyCFunction) _wrap_wxWindow_FindWindowById, METH_VARARGS | METH_KEYWORDS },
11351 { "wxWindow_Enable", (PyCFunction) _wrap_wxWindow_Enable, METH_VARARGS | METH_KEYWORDS },
4dfaa61e 11352 { "wxWindow_IsBeingDeleted", (PyCFunction) _wrap_wxWindow_IsBeingDeleted, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11353 { "wxWindow_DestroyChildren", (PyCFunction) _wrap_wxWindow_DestroyChildren, METH_VARARGS | METH_KEYWORDS },
11354 { "wxWindow_Destroy", (PyCFunction) _wrap_wxWindow_Destroy, METH_VARARGS | METH_KEYWORDS },
11355 { "wxWindow_Close", (PyCFunction) _wrap_wxWindow_Close, METH_VARARGS | METH_KEYWORDS },
11356 { "wxWindow_ClientToScreen", (PyCFunction) _wrap_wxWindow_ClientToScreen, METH_VARARGS | METH_KEYWORDS },
11357 { "wxWindow_ClientToScreenXY", (PyCFunction) _wrap_wxWindow_ClientToScreenXY, METH_VARARGS | METH_KEYWORDS },
9d6da64a 11358 { "wxWindow_Clear", (PyCFunction) _wrap_wxWindow_Clear, METH_VARARGS | METH_KEYWORDS },
3ca6a5f0
BP
11359 { "wxWindow_CenterOnScreen", (PyCFunction) _wrap_wxWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS },
11360 { "wxWindow_CentreOnScreen", (PyCFunction) _wrap_wxWindow_CentreOnScreen, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11361 { "wxWindow_CenterOnParent", (PyCFunction) _wrap_wxWindow_CenterOnParent, METH_VARARGS | METH_KEYWORDS },
11362 { "wxWindow_CentreOnParent", (PyCFunction) _wrap_wxWindow_CentreOnParent, METH_VARARGS | METH_KEYWORDS },
11363 { "wxWindow_Centre", (PyCFunction) _wrap_wxWindow_Centre, METH_VARARGS | METH_KEYWORDS },
11364 { "wxWindow_Center", (PyCFunction) _wrap_wxWindow_Center, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
11365 { "wxWindow_Create", (PyCFunction) _wrap_wxWindow_Create, METH_VARARGS | METH_KEYWORDS },
11366 { "new_wxPreWindow", (PyCFunction) _wrap_new_wxPreWindow, METH_VARARGS | METH_KEYWORDS },
efc5f224 11367 { "new_wxWindow", (PyCFunction) _wrap_new_wxWindow, METH_VARARGS | METH_KEYWORDS },
0220cbc1 11368 { "wxPyValidator__setCallbackInfo", (PyCFunction) _wrap_wxPyValidator__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
2f90df85 11369 { "new_wxPyValidator", (PyCFunction) _wrap_new_wxPyValidator, METH_VARARGS | METH_KEYWORDS },
9df61a29
RD
11370 { "wxValidator_SetBellOnError", (PyCFunction) _wrap_wxValidator_SetBellOnError, METH_VARARGS | METH_KEYWORDS },
11371 { "wxValidator_IsSilent", (PyCFunction) _wrap_wxValidator_IsSilent, METH_VARARGS | METH_KEYWORDS },
2f90df85
RD
11372 { "wxValidator_SetWindow", (PyCFunction) _wrap_wxValidator_SetWindow, METH_VARARGS | METH_KEYWORDS },
11373 { "wxValidator_GetWindow", (PyCFunction) _wrap_wxValidator_GetWindow, METH_VARARGS | METH_KEYWORDS },
11374 { "wxValidator_Clone", (PyCFunction) _wrap_wxValidator_Clone, METH_VARARGS | METH_KEYWORDS },
11375 { "new_wxValidator", (PyCFunction) _wrap_new_wxValidator, METH_VARARGS | METH_KEYWORDS },
0220cbc1 11376 { "wxEvtHandler__setOORInfo", (PyCFunction) _wrap_wxEvtHandler__setOORInfo, METH_VARARGS | METH_KEYWORDS },
6999b0d8 11377 { "wxEvtHandler_Disconnect", (PyCFunction) _wrap_wxEvtHandler_Disconnect, METH_VARARGS | METH_KEYWORDS },
efc5f224 11378 { "wxEvtHandler_Connect", (PyCFunction) _wrap_wxEvtHandler_Connect, METH_VARARGS | METH_KEYWORDS },
2f90df85
RD
11379 { "wxEvtHandler_SetPreviousHandler", (PyCFunction) _wrap_wxEvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
11380 { "wxEvtHandler_SetNextHandler", (PyCFunction) _wrap_wxEvtHandler_SetNextHandler, METH_VARARGS | METH_KEYWORDS },
11381 { "wxEvtHandler_GetPreviousHandler", (PyCFunction) _wrap_wxEvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
11382 { "wxEvtHandler_GetNextHandler", (PyCFunction) _wrap_wxEvtHandler_GetNextHandler, METH_VARARGS | METH_KEYWORDS },
11383 { "wxEvtHandler_SetEvtHandlerEnabled", (PyCFunction) _wrap_wxEvtHandler_SetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
11384 { "wxEvtHandler_GetEvtHandlerEnabled", (PyCFunction) _wrap_wxEvtHandler_GetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 11385 { "wxEvtHandler_AddPendingEvent", (PyCFunction) _wrap_wxEvtHandler_AddPendingEvent, METH_VARARGS | METH_KEYWORDS },
efc5f224 11386 { "wxEvtHandler_ProcessEvent", (PyCFunction) _wrap_wxEvtHandler_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
c368d904 11387 { "new_wxEvtHandler", (PyCFunction) _wrap_new_wxEvtHandler, METH_VARARGS | METH_KEYWORDS },
8ab979d7
RD
11388 { NULL, NULL }
11389};
1d99702e
RD
11390#ifdef __cplusplus
11391}
11392#endif
11393/*
11394 * This table is used by the pointer type-checker
11395 */
11396static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
1d99702e 11397 { "_signed_long","_long",0},
b1462dfa 11398 { "_wxPrintQuality","_wxCoord",0},
1d99702e
RD
11399 { "_wxPrintQuality","_int",0},
11400 { "_wxPrintQuality","_signed_int",0},
11401 { "_wxPrintQuality","_unsigned_int",0},
11402 { "_wxPrintQuality","_wxWindowID",0},
11403 { "_wxPrintQuality","_uint",0},
11404 { "_wxPrintQuality","_EBool",0},
11405 { "_wxPrintQuality","_size_t",0},
c368d904 11406 { "_wxPrintQuality","_time_t",0},
1d99702e 11407 { "_byte","_unsigned_char",0},
1d99702e
RD
11408 { "_long","_unsigned_long",0},
11409 { "_long","_signed_long",0},
b1462dfa 11410 { "_size_t","_wxCoord",0},
1d99702e 11411 { "_size_t","_wxPrintQuality",0},
c368d904 11412 { "_size_t","_time_t",0},
1d99702e
RD
11413 { "_size_t","_unsigned_int",0},
11414 { "_size_t","_int",0},
11415 { "_size_t","_wxWindowID",0},
11416 { "_size_t","_uint",0},
1d99702e 11417 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel},
b1462dfa 11418 { "_uint","_wxCoord",0},
1d99702e 11419 { "_uint","_wxPrintQuality",0},
c368d904 11420 { "_uint","_time_t",0},
1d99702e
RD
11421 { "_uint","_size_t",0},
11422 { "_uint","_unsigned_int",0},
11423 { "_uint","_int",0},
11424 { "_uint","_wxWindowID",0},
f6bcfd97 11425 { "_wxChar","_char",0},
f6bcfd97 11426 { "_char","_wxChar",0},
059a841c 11427 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
b1462dfa 11428 { "_EBool","_wxCoord",0},
1d99702e
RD
11429 { "_EBool","_wxPrintQuality",0},
11430 { "_EBool","_signed_int",0},
11431 { "_EBool","_int",0},
11432 { "_EBool","_wxWindowID",0},
1d99702e 11433 { "_unsigned_long","_long",0},
059a841c 11434 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
b1462dfa 11435 { "_signed_int","_wxCoord",0},
1d99702e
RD
11436 { "_signed_int","_wxPrintQuality",0},
11437 { "_signed_int","_EBool",0},
11438 { "_signed_int","_wxWindowID",0},
11439 { "_signed_int","_int",0},
1d99702e
RD
11440 { "_WXTYPE","_short",0},
11441 { "_WXTYPE","_signed_short",0},
11442 { "_WXTYPE","_unsigned_short",0},
1d99702e
RD
11443 { "_unsigned_short","_WXTYPE",0},
11444 { "_unsigned_short","_short",0},
9df61a29 11445 { "_wxObject","_wxMenuItem",SwigwxMenuItemTowxObject},
9df61a29 11446 { "_wxObject","_wxMenuBar",SwigwxMenuBarTowxObject},
9df61a29 11447 { "_wxObject","_wxMenu",SwigwxMenuTowxObject},
9df61a29 11448 { "_wxObject","_wxScrolledWindow",SwigwxScrolledWindowTowxObject},
9df61a29 11449 { "_wxObject","_wxPanel",SwigwxPanelTowxObject},
9df61a29 11450 { "_wxObject","_wxWindow",SwigwxWindowTowxObject},
9df61a29 11451 { "_wxObject","_wxPyValidator",SwigwxPyValidatorTowxObject},
9df61a29 11452 { "_wxObject","_wxValidator",SwigwxValidatorTowxObject},
9df61a29 11453 { "_wxObject","_wxEvtHandler",SwigwxEvtHandlerTowxObject},
1d99702e
RD
11454 { "_signed_short","_WXTYPE",0},
11455 { "_signed_short","_short",0},
1d99702e 11456 { "_unsigned_char","_byte",0},
b1462dfa 11457 { "_unsigned_int","_wxCoord",0},
1d99702e 11458 { "_unsigned_int","_wxPrintQuality",0},
c368d904 11459 { "_unsigned_int","_time_t",0},
1d99702e
RD
11460 { "_unsigned_int","_size_t",0},
11461 { "_unsigned_int","_uint",0},
11462 { "_unsigned_int","_wxWindowID",0},
11463 { "_unsigned_int","_int",0},
1d99702e
RD
11464 { "_short","_WXTYPE",0},
11465 { "_short","_unsigned_short",0},
11466 { "_short","_signed_short",0},
b1462dfa 11467 { "_wxWindowID","_wxCoord",0},
1d99702e 11468 { "_wxWindowID","_wxPrintQuality",0},
c368d904 11469 { "_wxWindowID","_time_t",0},
1d99702e
RD
11470 { "_wxWindowID","_size_t",0},
11471 { "_wxWindowID","_EBool",0},
11472 { "_wxWindowID","_uint",0},
11473 { "_wxWindowID","_int",0},
11474 { "_wxWindowID","_signed_int",0},
11475 { "_wxWindowID","_unsigned_int",0},
b1462dfa 11476 { "_int","_wxCoord",0},
1d99702e 11477 { "_int","_wxPrintQuality",0},
c368d904 11478 { "_int","_time_t",0},
1d99702e
RD
11479 { "_int","_size_t",0},
11480 { "_int","_EBool",0},
11481 { "_int","_uint",0},
11482 { "_int","_wxWindowID",0},
11483 { "_int","_unsigned_int",0},
11484 { "_int","_signed_int",0},
c368d904
RD
11485 { "_time_t","_wxCoord",0},
11486 { "_time_t","_wxPrintQuality",0},
11487 { "_time_t","_unsigned_int",0},
11488 { "_time_t","_int",0},
11489 { "_time_t","_wxWindowID",0},
11490 { "_time_t","_uint",0},
11491 { "_time_t","_size_t",0},
2f90df85 11492 { "_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator},
b1462dfa
RD
11493 { "_wxCoord","_int",0},
11494 { "_wxCoord","_signed_int",0},
11495 { "_wxCoord","_unsigned_int",0},
11496 { "_wxCoord","_wxWindowID",0},
11497 { "_wxCoord","_uint",0},
11498 { "_wxCoord","_EBool",0},
11499 { "_wxCoord","_size_t",0},
c368d904 11500 { "_wxCoord","_time_t",0},
b1462dfa 11501 { "_wxCoord","_wxPrintQuality",0},
1d99702e 11502 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler},
1d99702e 11503 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler},
1d99702e 11504 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler},
1d99702e 11505 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler},
1d99702e 11506 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler},
2f90df85 11507 { "_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler},
2f90df85 11508 { "_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler},
b1462dfa 11509 { "_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow},
1d99702e 11510 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow},
1d99702e 11511 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow},
1d99702e
RD
11512{0,0,0}};
11513
8ab979d7
RD
11514static PyObject *SWIG_globals;
11515#ifdef __cplusplus
11516extern "C"
11517#endif
1d99702e 11518SWIGEXPORT(void) initwindowsc() {
8ab979d7
RD
11519 PyObject *m, *d;
11520 SWIG_globals = SWIG_newvarlink();
11521 m = Py_InitModule("windowsc", windowscMethods);
11522 d = PyModule_GetDict(m);
1d99702e
RD
11523{
11524 int i;
11525 for (i = 0; _swig_mapping[i].n1; i++)
11526 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
11527}
8ab979d7 11528}