]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/gtk/windows.cpp
wxPython updates for wxGTK
[wxWidgets.git] / utils / wxPython / src / gtk / windows.cpp
1 /*
2 * FILE : gtk/windows.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 810)
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)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
28 # else
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
31 # else
32 # define SWIGEXPORT(a) a
33 # endif
34 # endif
35 #else
36 # define SWIGEXPORT(a) a
37 #endif
38
39 #ifdef __cplusplus
40 extern "C" {
41 #endif
42 #include "Python.h"
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
47 extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
48 extern PyObject *SWIG_newvarlink(void);
49 #ifdef __cplusplus
50 }
51 #endif
52 #define SWIG_init initwindowsc
53
54 #define SWIG_name "windowsc"
55
56 #include "helpers.h"
57 #include <wx/menuitem.h>
58
59 static PyObject* l_output_helper(PyObject* target, PyObject* o) {
60 PyObject* o2;
61 PyObject* o3;
62 if (!target) {
63 target = o;
64 } else if (target == Py_None) {
65 Py_DECREF(Py_None);
66 target = o;
67 } else {
68 if (!PyList_Check(target)) {
69 o2 = target;
70 target = PyList_New(0);
71 PyList_Append(target, o2);
72 Py_XDECREF(o2);
73 }
74 PyList_Append(target,o);
75 Py_XDECREF(o);
76 }
77 return target;
78 }
79
80 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
81 PyObject* o2;
82 PyObject* o3;
83
84 if (!target) {
85 target = o;
86 } else if (target == Py_None) {
87 Py_DECREF(Py_None);
88 target = o;
89 } else {
90 if (!PyTuple_Check(target)) {
91 o2 = target;
92 target = PyTuple_New(1);
93 PyTuple_SetItem(target, 0, o2);
94 }
95 o3 = PyTuple_New(1);
96 PyTuple_SetItem(o3, 0, o);
97
98 o2 = target;
99 target = PySequence_Concat(o2, o3);
100 Py_DECREF(o2);
101 Py_DECREF(o3);
102 }
103 return target;
104 }
105
106 static char* wxStringErrorMsg = "string type is required for parameter";
107
108 bool wxValidator_IsSilent() {
109 return wxValidator::IsSilent();
110 }
111
112 void wxValidator_SetBellOnError(int doIt = TRUE) {
113 wxValidator::SetBellOnError(doIt);
114 }
115
116 class wxPyValidator : public wxValidator {
117 DECLARE_DYNAMIC_CLASS(wxPyValidator);
118 public:
119 wxPyValidator() {
120 }
121 // wxPyValidator(const wxPyValidator& other);
122
123 ~wxPyValidator() {
124 }
125
126 wxObject* wxPyValidator::Clone() const {
127 wxPyValidator* ptr = NULL;
128 wxPyValidator* self = (wxPyValidator*)this;
129
130 bool doSave = wxPyRestoreThread();
131 if (self->m_myInst.findCallback("Clone")) {
132 PyObject* ro;
133 ro = self->m_myInst.callCallbackObj(Py_BuildValue("()"));
134 SWIG_GetPtrObj(ro, (void **)&ptr, "_wxPyValidator_p");
135 }
136 // This is very dangerous!!! But is the only way I could find
137 // to squash a memory leak. Currently it is okay, but if the
138 // validator architecture in wxWindows ever changes, problems
139 // could arise.
140 delete self;
141
142 wxPySaveThread(doSave);
143 return ptr;
144 }
145
146
147 DEC_PYCALLBACK_BOOL_WXWIN(Validate);
148 DEC_PYCALLBACK_BOOL_(TransferToWindow);
149 DEC_PYCALLBACK_BOOL_(TransferFromWindow);
150
151 PYPRIVATE;
152 // PyObject* m_data;
153 };
154
155 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator, wxValidator, Validate);
156 IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferToWindow);
157 IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferFromWindow);
158
159 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator, wxValidator);
160
161 #ifdef __cplusplus
162 extern "C" {
163 #endif
164 static PyObject *_wrap_wxValidator_IsSilent(PyObject *self, PyObject *args, PyObject *kwargs) {
165 PyObject * _resultobj;
166 bool _result;
167 char *_kwnames[] = { NULL };
168
169 self = self;
170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxValidator_IsSilent",_kwnames))
171 return NULL;
172 {
173 wxPy_BEGIN_ALLOW_THREADS;
174 _result = (bool )wxValidator_IsSilent();
175
176 wxPy_END_ALLOW_THREADS;
177 } _resultobj = Py_BuildValue("i",_result);
178 return _resultobj;
179 }
180
181 static PyObject *_wrap_wxValidator_SetBellOnError(PyObject *self, PyObject *args, PyObject *kwargs) {
182 PyObject * _resultobj;
183 int _arg0 = (int ) TRUE;
184 char *_kwnames[] = { "doIt", NULL };
185
186 self = self;
187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:wxValidator_SetBellOnError",_kwnames,&_arg0))
188 return NULL;
189 {
190 wxPy_BEGIN_ALLOW_THREADS;
191 wxValidator_SetBellOnError(_arg0);
192
193 wxPy_END_ALLOW_THREADS;
194 } Py_INCREF(Py_None);
195 _resultobj = Py_None;
196 return _resultobj;
197 }
198
199 #define wxEvtHandler_ProcessEvent(_swigobj,_swigarg0) (_swigobj->ProcessEvent(_swigarg0))
200 static PyObject *_wrap_wxEvtHandler_ProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
201 PyObject * _resultobj;
202 bool _result;
203 wxEvtHandler * _arg0;
204 wxEvent * _arg1;
205 PyObject * _argo0 = 0;
206 PyObject * _argo1 = 0;
207 char *_kwnames[] = { "self","event", NULL };
208
209 self = self;
210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEvtHandler_ProcessEvent",_kwnames,&_argo0,&_argo1))
211 return NULL;
212 if (_argo0) {
213 if (_argo0 == Py_None) { _arg0 = NULL; }
214 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
215 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_ProcessEvent. Expected _wxEvtHandler_p.");
216 return NULL;
217 }
218 }
219 if (_argo1) {
220 if (_argo1 == Py_None) { _arg1 = NULL; }
221 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvent_p")) {
222 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxEvtHandler_ProcessEvent. Expected _wxEvent_p.");
223 return NULL;
224 }
225 }
226 {
227 wxPy_BEGIN_ALLOW_THREADS;
228 _result = (bool )wxEvtHandler_ProcessEvent(_arg0,*_arg1);
229
230 wxPy_END_ALLOW_THREADS;
231 } _resultobj = Py_BuildValue("i",_result);
232 return _resultobj;
233 }
234
235 #define wxEvtHandler_GetEvtHandlerEnabled(_swigobj) (_swigobj->GetEvtHandlerEnabled())
236 static PyObject *_wrap_wxEvtHandler_GetEvtHandlerEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
237 PyObject * _resultobj;
238 bool _result;
239 wxEvtHandler * _arg0;
240 PyObject * _argo0 = 0;
241 char *_kwnames[] = { "self", NULL };
242
243 self = self;
244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvtHandler_GetEvtHandlerEnabled",_kwnames,&_argo0))
245 return NULL;
246 if (_argo0) {
247 if (_argo0 == Py_None) { _arg0 = NULL; }
248 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
249 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_GetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
250 return NULL;
251 }
252 }
253 {
254 wxPy_BEGIN_ALLOW_THREADS;
255 _result = (bool )wxEvtHandler_GetEvtHandlerEnabled(_arg0);
256
257 wxPy_END_ALLOW_THREADS;
258 } _resultobj = Py_BuildValue("i",_result);
259 return _resultobj;
260 }
261
262 #define wxEvtHandler_SetEvtHandlerEnabled(_swigobj,_swigarg0) (_swigobj->SetEvtHandlerEnabled(_swigarg0))
263 static PyObject *_wrap_wxEvtHandler_SetEvtHandlerEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
264 PyObject * _resultobj;
265 wxEvtHandler * _arg0;
266 bool _arg1;
267 PyObject * _argo0 = 0;
268 int tempbool1;
269 char *_kwnames[] = { "self","enabled", NULL };
270
271 self = self;
272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxEvtHandler_SetEvtHandlerEnabled",_kwnames,&_argo0,&tempbool1))
273 return NULL;
274 if (_argo0) {
275 if (_argo0 == Py_None) { _arg0 = NULL; }
276 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
277 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_SetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
278 return NULL;
279 }
280 }
281 _arg1 = (bool ) tempbool1;
282 {
283 wxPy_BEGIN_ALLOW_THREADS;
284 wxEvtHandler_SetEvtHandlerEnabled(_arg0,_arg1);
285
286 wxPy_END_ALLOW_THREADS;
287 } Py_INCREF(Py_None);
288 _resultobj = Py_None;
289 return _resultobj;
290 }
291
292 #define wxEvtHandler_GetNextHandler(_swigobj) (_swigobj->GetNextHandler())
293 static PyObject *_wrap_wxEvtHandler_GetNextHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
294 PyObject * _resultobj;
295 wxEvtHandler * _result;
296 wxEvtHandler * _arg0;
297 PyObject * _argo0 = 0;
298 char *_kwnames[] = { "self", NULL };
299 char _ptemp[128];
300
301 self = self;
302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvtHandler_GetNextHandler",_kwnames,&_argo0))
303 return NULL;
304 if (_argo0) {
305 if (_argo0 == Py_None) { _arg0 = NULL; }
306 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
307 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_GetNextHandler. Expected _wxEvtHandler_p.");
308 return NULL;
309 }
310 }
311 {
312 wxPy_BEGIN_ALLOW_THREADS;
313 _result = (wxEvtHandler *)wxEvtHandler_GetNextHandler(_arg0);
314
315 wxPy_END_ALLOW_THREADS;
316 } if (_result) {
317 SWIG_MakePtr(_ptemp, (char *) _result,"_wxEvtHandler_p");
318 _resultobj = Py_BuildValue("s",_ptemp);
319 } else {
320 Py_INCREF(Py_None);
321 _resultobj = Py_None;
322 }
323 return _resultobj;
324 }
325
326 #define wxEvtHandler_GetPreviousHandler(_swigobj) (_swigobj->GetPreviousHandler())
327 static PyObject *_wrap_wxEvtHandler_GetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
328 PyObject * _resultobj;
329 wxEvtHandler * _result;
330 wxEvtHandler * _arg0;
331 PyObject * _argo0 = 0;
332 char *_kwnames[] = { "self", NULL };
333 char _ptemp[128];
334
335 self = self;
336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvtHandler_GetPreviousHandler",_kwnames,&_argo0))
337 return NULL;
338 if (_argo0) {
339 if (_argo0 == Py_None) { _arg0 = NULL; }
340 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
341 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_GetPreviousHandler. Expected _wxEvtHandler_p.");
342 return NULL;
343 }
344 }
345 {
346 wxPy_BEGIN_ALLOW_THREADS;
347 _result = (wxEvtHandler *)wxEvtHandler_GetPreviousHandler(_arg0);
348
349 wxPy_END_ALLOW_THREADS;
350 } if (_result) {
351 SWIG_MakePtr(_ptemp, (char *) _result,"_wxEvtHandler_p");
352 _resultobj = Py_BuildValue("s",_ptemp);
353 } else {
354 Py_INCREF(Py_None);
355 _resultobj = Py_None;
356 }
357 return _resultobj;
358 }
359
360 #define wxEvtHandler_SetNextHandler(_swigobj,_swigarg0) (_swigobj->SetNextHandler(_swigarg0))
361 static PyObject *_wrap_wxEvtHandler_SetNextHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
362 PyObject * _resultobj;
363 wxEvtHandler * _arg0;
364 wxEvtHandler * _arg1;
365 PyObject * _argo0 = 0;
366 PyObject * _argo1 = 0;
367 char *_kwnames[] = { "self","handler", NULL };
368
369 self = self;
370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEvtHandler_SetNextHandler",_kwnames,&_argo0,&_argo1))
371 return NULL;
372 if (_argo0) {
373 if (_argo0 == Py_None) { _arg0 = NULL; }
374 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
375 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
376 return NULL;
377 }
378 }
379 if (_argo1) {
380 if (_argo1 == Py_None) { _arg1 = NULL; }
381 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
382 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
383 return NULL;
384 }
385 }
386 {
387 wxPy_BEGIN_ALLOW_THREADS;
388 wxEvtHandler_SetNextHandler(_arg0,_arg1);
389
390 wxPy_END_ALLOW_THREADS;
391 } Py_INCREF(Py_None);
392 _resultobj = Py_None;
393 return _resultobj;
394 }
395
396 #define wxEvtHandler_SetPreviousHandler(_swigobj,_swigarg0) (_swigobj->SetPreviousHandler(_swigarg0))
397 static PyObject *_wrap_wxEvtHandler_SetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
398 PyObject * _resultobj;
399 wxEvtHandler * _arg0;
400 wxEvtHandler * _arg1;
401 PyObject * _argo0 = 0;
402 PyObject * _argo1 = 0;
403 char *_kwnames[] = { "self","handler", NULL };
404
405 self = self;
406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEvtHandler_SetPreviousHandler",_kwnames,&_argo0,&_argo1))
407 return NULL;
408 if (_argo0) {
409 if (_argo0 == Py_None) { _arg0 = NULL; }
410 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
411 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
412 return NULL;
413 }
414 }
415 if (_argo1) {
416 if (_argo1 == Py_None) { _arg1 = NULL; }
417 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
418 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
419 return NULL;
420 }
421 }
422 {
423 wxPy_BEGIN_ALLOW_THREADS;
424 wxEvtHandler_SetPreviousHandler(_arg0,_arg1);
425
426 wxPy_END_ALLOW_THREADS;
427 } Py_INCREF(Py_None);
428 _resultobj = Py_None;
429 return _resultobj;
430 }
431
432 static void wxEvtHandler_Connect(wxEvtHandler *self,int id,int lastId,int eventType,PyObject * func) {
433 if (PyCallable_Check(func)) {
434 self->Connect(id, lastId, eventType,
435 (wxObjectEventFunction) &wxPyCallback::EventThunker,
436 new wxPyCallback(func));
437 }
438 }
439 static PyObject *_wrap_wxEvtHandler_Connect(PyObject *self, PyObject *args, PyObject *kwargs) {
440 PyObject * _resultobj;
441 wxEvtHandler * _arg0;
442 int _arg1;
443 int _arg2;
444 int _arg3;
445 PyObject * _arg4;
446 PyObject * _argo0 = 0;
447 PyObject * _obj4 = 0;
448 char *_kwnames[] = { "self","id","lastId","eventType","func", NULL };
449
450 self = self;
451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiiO:wxEvtHandler_Connect",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_obj4))
452 return NULL;
453 if (_argo0) {
454 if (_argo0 == Py_None) { _arg0 = NULL; }
455 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
456 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
457 return NULL;
458 }
459 }
460 {
461 _arg4 = _obj4;
462 }
463 {
464 wxPy_BEGIN_ALLOW_THREADS;
465 wxEvtHandler_Connect(_arg0,_arg1,_arg2,_arg3,_arg4);
466
467 wxPy_END_ALLOW_THREADS;
468 } Py_INCREF(Py_None);
469 _resultobj = Py_None;
470 return _resultobj;
471 }
472
473 static void *SwigwxValidatorTowxEvtHandler(void *ptr) {
474 wxValidator *src;
475 wxEvtHandler *dest;
476 src = (wxValidator *) ptr;
477 dest = (wxEvtHandler *) src;
478 return (void *) dest;
479 }
480
481 #define new_wxValidator() (new wxValidator())
482 static PyObject *_wrap_new_wxValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
483 PyObject * _resultobj;
484 wxValidator * _result;
485 char *_kwnames[] = { NULL };
486 char _ptemp[128];
487
488 self = self;
489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxValidator",_kwnames))
490 return NULL;
491 {
492 wxPy_BEGIN_ALLOW_THREADS;
493 _result = (wxValidator *)new_wxValidator();
494
495 wxPy_END_ALLOW_THREADS;
496 } if (_result) {
497 SWIG_MakePtr(_ptemp, (char *) _result,"_wxValidator_p");
498 _resultobj = Py_BuildValue("s",_ptemp);
499 } else {
500 Py_INCREF(Py_None);
501 _resultobj = Py_None;
502 }
503 return _resultobj;
504 }
505
506 #define wxValidator_Clone(_swigobj) (_swigobj->Clone())
507 static PyObject *_wrap_wxValidator_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
508 PyObject * _resultobj;
509 wxValidator * _result;
510 wxValidator * _arg0;
511 PyObject * _argo0 = 0;
512 char *_kwnames[] = { "self", NULL };
513 char _ptemp[128];
514
515 self = self;
516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxValidator_Clone",_kwnames,&_argo0))
517 return NULL;
518 if (_argo0) {
519 if (_argo0 == Py_None) { _arg0 = NULL; }
520 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxValidator_p")) {
521 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxValidator_Clone. Expected _wxValidator_p.");
522 return NULL;
523 }
524 }
525 {
526 wxPy_BEGIN_ALLOW_THREADS;
527 _result = (wxValidator *)wxValidator_Clone(_arg0);
528
529 wxPy_END_ALLOW_THREADS;
530 } if (_result) {
531 SWIG_MakePtr(_ptemp, (char *) _result,"_wxValidator_p");
532 _resultobj = Py_BuildValue("s",_ptemp);
533 } else {
534 Py_INCREF(Py_None);
535 _resultobj = Py_None;
536 }
537 return _resultobj;
538 }
539
540 #define wxValidator_GetWindow(_swigobj) (_swigobj->GetWindow())
541 static PyObject *_wrap_wxValidator_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
542 PyObject * _resultobj;
543 wxWindow * _result;
544 wxValidator * _arg0;
545 PyObject * _argo0 = 0;
546 char *_kwnames[] = { "self", NULL };
547 char _ptemp[128];
548
549 self = self;
550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxValidator_GetWindow",_kwnames,&_argo0))
551 return NULL;
552 if (_argo0) {
553 if (_argo0 == Py_None) { _arg0 = NULL; }
554 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxValidator_p")) {
555 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxValidator_GetWindow. Expected _wxValidator_p.");
556 return NULL;
557 }
558 }
559 {
560 wxPy_BEGIN_ALLOW_THREADS;
561 _result = (wxWindow *)wxValidator_GetWindow(_arg0);
562
563 wxPy_END_ALLOW_THREADS;
564 } if (_result) {
565 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
566 _resultobj = Py_BuildValue("s",_ptemp);
567 } else {
568 Py_INCREF(Py_None);
569 _resultobj = Py_None;
570 }
571 return _resultobj;
572 }
573
574 #define wxValidator_SetWindow(_swigobj,_swigarg0) (_swigobj->SetWindow(_swigarg0))
575 static PyObject *_wrap_wxValidator_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
576 PyObject * _resultobj;
577 wxValidator * _arg0;
578 wxWindow * _arg1;
579 PyObject * _argo0 = 0;
580 PyObject * _argo1 = 0;
581 char *_kwnames[] = { "self","window", NULL };
582
583 self = self;
584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxValidator_SetWindow",_kwnames,&_argo0,&_argo1))
585 return NULL;
586 if (_argo0) {
587 if (_argo0 == Py_None) { _arg0 = NULL; }
588 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxValidator_p")) {
589 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxValidator_SetWindow. Expected _wxValidator_p.");
590 return NULL;
591 }
592 }
593 if (_argo1) {
594 if (_argo1 == Py_None) { _arg1 = NULL; }
595 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
596 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxValidator_SetWindow. Expected _wxWindow_p.");
597 return NULL;
598 }
599 }
600 {
601 wxPy_BEGIN_ALLOW_THREADS;
602 wxValidator_SetWindow(_arg0,_arg1);
603
604 wxPy_END_ALLOW_THREADS;
605 } Py_INCREF(Py_None);
606 _resultobj = Py_None;
607 return _resultobj;
608 }
609
610 static void *SwigwxPyValidatorTowxValidator(void *ptr) {
611 wxPyValidator *src;
612 wxValidator *dest;
613 src = (wxPyValidator *) ptr;
614 dest = (wxValidator *) src;
615 return (void *) dest;
616 }
617
618 static void *SwigwxPyValidatorTowxEvtHandler(void *ptr) {
619 wxPyValidator *src;
620 wxEvtHandler *dest;
621 src = (wxPyValidator *) ptr;
622 dest = (wxEvtHandler *) src;
623 return (void *) dest;
624 }
625
626 #define new_wxPyValidator() (new wxPyValidator())
627 static PyObject *_wrap_new_wxPyValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
628 PyObject * _resultobj;
629 wxPyValidator * _result;
630 char *_kwnames[] = { NULL };
631 char _ptemp[128];
632
633 self = self;
634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyValidator",_kwnames))
635 return NULL;
636 {
637 wxPy_BEGIN_ALLOW_THREADS;
638 _result = (wxPyValidator *)new_wxPyValidator();
639
640 wxPy_END_ALLOW_THREADS;
641 } if (_result) {
642 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyValidator_p");
643 _resultobj = Py_BuildValue("s",_ptemp);
644 } else {
645 Py_INCREF(Py_None);
646 _resultobj = Py_None;
647 }
648 return _resultobj;
649 }
650
651 static void wxPyValidator_Destroy(wxPyValidator *self) { delete self; }
652 static PyObject *_wrap_wxPyValidator_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
653 PyObject * _resultobj;
654 wxPyValidator * _arg0;
655 PyObject * _argo0 = 0;
656 char *_kwnames[] = { "self", NULL };
657
658 self = self;
659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyValidator_Destroy",_kwnames,&_argo0))
660 return NULL;
661 if (_argo0) {
662 if (_argo0 == Py_None) { _arg0 = NULL; }
663 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyValidator_p")) {
664 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyValidator_Destroy. Expected _wxPyValidator_p.");
665 return NULL;
666 }
667 }
668 {
669 wxPy_BEGIN_ALLOW_THREADS;
670 wxPyValidator_Destroy(_arg0);
671
672 wxPy_END_ALLOW_THREADS;
673 } Py_INCREF(Py_None);
674 _resultobj = Py_None;
675 return _resultobj;
676 }
677
678 #define wxPyValidator__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
679 static PyObject *_wrap_wxPyValidator__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
680 PyObject * _resultobj;
681 wxPyValidator * _arg0;
682 PyObject * _arg1;
683 int _arg2 = (int ) TRUE;
684 PyObject * _argo0 = 0;
685 PyObject * _obj1 = 0;
686 char *_kwnames[] = { "self","self","incref", NULL };
687
688 self = self;
689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyValidator__setSelf",_kwnames,&_argo0,&_obj1,&_arg2))
690 return NULL;
691 if (_argo0) {
692 if (_argo0 == Py_None) { _arg0 = NULL; }
693 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyValidator_p")) {
694 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyValidator__setSelf. Expected _wxPyValidator_p.");
695 return NULL;
696 }
697 }
698 {
699 _arg1 = _obj1;
700 }
701 {
702 wxPy_BEGIN_ALLOW_THREADS;
703 wxPyValidator__setSelf(_arg0,_arg1,_arg2);
704
705 wxPy_END_ALLOW_THREADS;
706 } Py_INCREF(Py_None);
707 _resultobj = Py_None;
708 return _resultobj;
709 }
710
711 static void *SwigwxWindowTowxEvtHandler(void *ptr) {
712 wxWindow *src;
713 wxEvtHandler *dest;
714 src = (wxWindow *) ptr;
715 dest = (wxEvtHandler *) src;
716 return (void *) dest;
717 }
718
719 #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
720 static PyObject *_wrap_new_wxWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
721 PyObject * _resultobj;
722 wxWindow * _result;
723 wxWindow * _arg0;
724 wxWindowID _arg1;
725 wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition;
726 wxSize * _arg3 = (wxSize *) &wxPyDefaultSize;
727 long _arg4 = (long ) 0;
728 char * _arg5 = (char *) "panel";
729 PyObject * _argo0 = 0;
730 wxPoint temp;
731 PyObject * _obj2 = 0;
732 wxSize temp0;
733 PyObject * _obj3 = 0;
734 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
735 char _ptemp[128];
736
737 self = self;
738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
739 return NULL;
740 if (_argo0) {
741 if (_argo0 == Py_None) { _arg0 = NULL; }
742 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
743 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
744 return NULL;
745 }
746 }
747 if (_obj2)
748 {
749 _arg2 = &temp;
750 if (! wxPoint_helper(_obj2, &_arg2))
751 return NULL;
752 }
753 if (_obj3)
754 {
755 _arg3 = &temp0;
756 if (! wxSize_helper(_obj3, &_arg3))
757 return NULL;
758 }
759 {
760 wxPy_BEGIN_ALLOW_THREADS;
761 _result = (wxWindow *)new_wxWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
762
763 wxPy_END_ALLOW_THREADS;
764 } if (_result) {
765 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
766 _resultobj = Py_BuildValue("s",_ptemp);
767 } else {
768 Py_INCREF(Py_None);
769 _resultobj = Py_None;
770 }
771 return _resultobj;
772 }
773
774 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
775 static PyObject *_wrap_wxWindow_CaptureMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
776 PyObject * _resultobj;
777 wxWindow * _arg0;
778 PyObject * _argo0 = 0;
779 char *_kwnames[] = { "self", NULL };
780
781 self = self;
782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_CaptureMouse",_kwnames,&_argo0))
783 return NULL;
784 if (_argo0) {
785 if (_argo0 == Py_None) { _arg0 = NULL; }
786 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
787 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
788 return NULL;
789 }
790 }
791 {
792 wxPy_BEGIN_ALLOW_THREADS;
793 wxWindow_CaptureMouse(_arg0);
794
795 wxPy_END_ALLOW_THREADS;
796 } Py_INCREF(Py_None);
797 _resultobj = Py_None;
798 return _resultobj;
799 }
800
801 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
802 static PyObject *_wrap_wxWindow_Center(PyObject *self, PyObject *args, PyObject *kwargs) {
803 PyObject * _resultobj;
804 wxWindow * _arg0;
805 int _arg1 = (int ) wxBOTH;
806 PyObject * _argo0 = 0;
807 char *_kwnames[] = { "self","direction", NULL };
808
809 self = self;
810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_Center",_kwnames,&_argo0,&_arg1))
811 return NULL;
812 if (_argo0) {
813 if (_argo0 == Py_None) { _arg0 = NULL; }
814 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
815 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
816 return NULL;
817 }
818 }
819 {
820 wxPy_BEGIN_ALLOW_THREADS;
821 wxWindow_Center(_arg0,_arg1);
822
823 wxPy_END_ALLOW_THREADS;
824 } Py_INCREF(Py_None);
825 _resultobj = Py_None;
826 return _resultobj;
827 }
828
829 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
830 static PyObject *_wrap_wxWindow_Centre(PyObject *self, PyObject *args, PyObject *kwargs) {
831 PyObject * _resultobj;
832 wxWindow * _arg0;
833 int _arg1 = (int ) wxBOTH;
834 PyObject * _argo0 = 0;
835 char *_kwnames[] = { "self","direction", NULL };
836
837 self = self;
838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_Centre",_kwnames,&_argo0,&_arg1))
839 return NULL;
840 if (_argo0) {
841 if (_argo0 == Py_None) { _arg0 = NULL; }
842 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
843 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
844 return NULL;
845 }
846 }
847 {
848 wxPy_BEGIN_ALLOW_THREADS;
849 wxWindow_Centre(_arg0,_arg1);
850
851 wxPy_END_ALLOW_THREADS;
852 } Py_INCREF(Py_None);
853 _resultobj = Py_None;
854 return _resultobj;
855 }
856
857 #define wxWindow_CentreOnParent(_swigobj,_swigarg0) (_swigobj->CentreOnParent(_swigarg0))
858 static PyObject *_wrap_wxWindow_CentreOnParent(PyObject *self, PyObject *args, PyObject *kwargs) {
859 PyObject * _resultobj;
860 wxWindow * _arg0;
861 int _arg1 = (int ) wxBOTH;
862 PyObject * _argo0 = 0;
863 char *_kwnames[] = { "self","direction", NULL };
864
865 self = self;
866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_CentreOnParent",_kwnames,&_argo0,&_arg1))
867 return NULL;
868 if (_argo0) {
869 if (_argo0 == Py_None) { _arg0 = NULL; }
870 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
871 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_CentreOnParent. Expected _wxWindow_p.");
872 return NULL;
873 }
874 }
875 {
876 wxPy_BEGIN_ALLOW_THREADS;
877 wxWindow_CentreOnParent(_arg0,_arg1);
878
879 wxPy_END_ALLOW_THREADS;
880 } Py_INCREF(Py_None);
881 _resultobj = Py_None;
882 return _resultobj;
883 }
884
885 #define wxWindow_CenterOnParent(_swigobj,_swigarg0) (_swigobj->CenterOnParent(_swigarg0))
886 static PyObject *_wrap_wxWindow_CenterOnParent(PyObject *self, PyObject *args, PyObject *kwargs) {
887 PyObject * _resultobj;
888 wxWindow * _arg0;
889 int _arg1 = (int ) wxBOTH;
890 PyObject * _argo0 = 0;
891 char *_kwnames[] = { "self","direction", NULL };
892
893 self = self;
894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_CenterOnParent",_kwnames,&_argo0,&_arg1))
895 return NULL;
896 if (_argo0) {
897 if (_argo0 == Py_None) { _arg0 = NULL; }
898 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
899 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_CenterOnParent. Expected _wxWindow_p.");
900 return NULL;
901 }
902 }
903 {
904 wxPy_BEGIN_ALLOW_THREADS;
905 wxWindow_CenterOnParent(_arg0,_arg1);
906
907 wxPy_END_ALLOW_THREADS;
908 } Py_INCREF(Py_None);
909 _resultobj = Py_None;
910 return _resultobj;
911 }
912
913 #define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
914 static PyObject *_wrap_wxWindow_ClientToScreenXY(PyObject *self, PyObject *args, PyObject *kwargs) {
915 PyObject * _resultobj;
916 wxWindow * _arg0;
917 int * _arg1;
918 int * _arg2;
919 PyObject * _argo0 = 0;
920 int temp;
921 PyObject * _obj1 = 0;
922 int temp0;
923 PyObject * _obj2 = 0;
924 char *_kwnames[] = { "self","x","y", NULL };
925
926 self = self;
927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxWindow_ClientToScreenXY",_kwnames,&_argo0,&_obj1,&_obj2))
928 return NULL;
929 if (_argo0) {
930 if (_argo0 == Py_None) { _arg0 = NULL; }
931 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
932 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
933 return NULL;
934 }
935 }
936 {
937 temp = (int) PyInt_AsLong(_obj1);
938 _arg1 = &temp;
939 }
940 {
941 temp0 = (int) PyInt_AsLong(_obj2);
942 _arg2 = &temp0;
943 }
944 {
945 wxPy_BEGIN_ALLOW_THREADS;
946 wxWindow_ClientToScreenXY(_arg0,_arg1,_arg2);
947
948 wxPy_END_ALLOW_THREADS;
949 } Py_INCREF(Py_None);
950 _resultobj = Py_None;
951 {
952 PyObject *o;
953 o = PyInt_FromLong((long) (*_arg1));
954 _resultobj = t_output_helper(_resultobj, o);
955 }
956 {
957 PyObject *o;
958 o = PyInt_FromLong((long) (*_arg2));
959 _resultobj = t_output_helper(_resultobj, o);
960 }
961 return _resultobj;
962 }
963
964 #define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
965 static PyObject *_wrap_wxWindow_ClientToScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
966 PyObject * _resultobj;
967 wxPoint * _result;
968 wxWindow * _arg0;
969 wxPoint * _arg1;
970 PyObject * _argo0 = 0;
971 wxPoint temp;
972 PyObject * _obj1 = 0;
973 char *_kwnames[] = { "self","pt", NULL };
974 char _ptemp[128];
975
976 self = self;
977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ClientToScreen",_kwnames,&_argo0,&_obj1))
978 return NULL;
979 if (_argo0) {
980 if (_argo0 == Py_None) { _arg0 = NULL; }
981 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
982 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
983 return NULL;
984 }
985 }
986 {
987 _arg1 = &temp;
988 if (! wxPoint_helper(_obj1, &_arg1))
989 return NULL;
990 }
991 {
992 wxPy_BEGIN_ALLOW_THREADS;
993 _result = new wxPoint (wxWindow_ClientToScreen(_arg0,*_arg1));
994
995 wxPy_END_ALLOW_THREADS;
996 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
997 _resultobj = Py_BuildValue("s",_ptemp);
998 return _resultobj;
999 }
1000
1001 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
1002 static PyObject *_wrap_wxWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
1003 PyObject * _resultobj;
1004 bool _result;
1005 wxWindow * _arg0;
1006 int _arg1 = (int ) FALSE;
1007 PyObject * _argo0 = 0;
1008 char *_kwnames[] = { "self","force", NULL };
1009
1010 self = self;
1011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_Close",_kwnames,&_argo0,&_arg1))
1012 return NULL;
1013 if (_argo0) {
1014 if (_argo0 == Py_None) { _arg0 = NULL; }
1015 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1016 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
1017 return NULL;
1018 }
1019 }
1020 {
1021 wxPy_BEGIN_ALLOW_THREADS;
1022 _result = (bool )wxWindow_Close(_arg0,_arg1);
1023
1024 wxPy_END_ALLOW_THREADS;
1025 } _resultobj = Py_BuildValue("i",_result);
1026 return _resultobj;
1027 }
1028
1029 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
1030 static PyObject *_wrap_wxWindow_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
1031 PyObject * _resultobj;
1032 bool _result;
1033 wxWindow * _arg0;
1034 PyObject * _argo0 = 0;
1035 char *_kwnames[] = { "self", NULL };
1036
1037 self = self;
1038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Destroy",_kwnames,&_argo0))
1039 return NULL;
1040 if (_argo0) {
1041 if (_argo0 == Py_None) { _arg0 = NULL; }
1042 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1043 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
1044 return NULL;
1045 }
1046 }
1047 {
1048 wxPy_BEGIN_ALLOW_THREADS;
1049 _result = (bool )wxWindow_Destroy(_arg0);
1050
1051 wxPy_END_ALLOW_THREADS;
1052 } _resultobj = Py_BuildValue("i",_result);
1053 return _resultobj;
1054 }
1055
1056 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
1057 static PyObject *_wrap_wxWindow_DestroyChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
1058 PyObject * _resultobj;
1059 wxWindow * _arg0;
1060 PyObject * _argo0 = 0;
1061 char *_kwnames[] = { "self", NULL };
1062
1063 self = self;
1064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_DestroyChildren",_kwnames,&_argo0))
1065 return NULL;
1066 if (_argo0) {
1067 if (_argo0 == Py_None) { _arg0 = NULL; }
1068 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1069 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
1070 return NULL;
1071 }
1072 }
1073 {
1074 wxPy_BEGIN_ALLOW_THREADS;
1075 wxWindow_DestroyChildren(_arg0);
1076
1077 wxPy_END_ALLOW_THREADS;
1078 } Py_INCREF(Py_None);
1079 _resultobj = Py_None;
1080 return _resultobj;
1081 }
1082
1083 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
1084 static PyObject *_wrap_wxWindow_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
1085 PyObject * _resultobj;
1086 wxWindow * _arg0;
1087 bool _arg1;
1088 PyObject * _argo0 = 0;
1089 int tempbool1;
1090 char *_kwnames[] = { "self","enable", NULL };
1091
1092 self = self;
1093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_Enable",_kwnames,&_argo0,&tempbool1))
1094 return NULL;
1095 if (_argo0) {
1096 if (_argo0 == Py_None) { _arg0 = NULL; }
1097 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1098 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
1099 return NULL;
1100 }
1101 }
1102 _arg1 = (bool ) tempbool1;
1103 {
1104 wxPy_BEGIN_ALLOW_THREADS;
1105 wxWindow_Enable(_arg0,_arg1);
1106
1107 wxPy_END_ALLOW_THREADS;
1108 } Py_INCREF(Py_None);
1109 _resultobj = Py_None;
1110 return _resultobj;
1111 }
1112
1113 #define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1114 static PyObject *_wrap_wxWindow_FindWindowById(PyObject *self, PyObject *args, PyObject *kwargs) {
1115 PyObject * _resultobj;
1116 wxWindow * _result;
1117 wxWindow * _arg0;
1118 long _arg1;
1119 PyObject * _argo0 = 0;
1120 char *_kwnames[] = { "self","id", NULL };
1121 char _ptemp[128];
1122
1123 self = self;
1124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxWindow_FindWindowById",_kwnames,&_argo0,&_arg1))
1125 return NULL;
1126 if (_argo0) {
1127 if (_argo0 == Py_None) { _arg0 = NULL; }
1128 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1129 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
1130 return NULL;
1131 }
1132 }
1133 {
1134 wxPy_BEGIN_ALLOW_THREADS;
1135 _result = (wxWindow *)wxWindow_FindWindowById(_arg0,_arg1);
1136
1137 wxPy_END_ALLOW_THREADS;
1138 } if (_result) {
1139 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
1140 _resultobj = Py_BuildValue("s",_ptemp);
1141 } else {
1142 Py_INCREF(Py_None);
1143 _resultobj = Py_None;
1144 }
1145 return _resultobj;
1146 }
1147
1148 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1149 static PyObject *_wrap_wxWindow_FindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
1150 PyObject * _resultobj;
1151 wxWindow * _result;
1152 wxWindow * _arg0;
1153 wxString * _arg1;
1154 PyObject * _argo0 = 0;
1155 PyObject * _obj1 = 0;
1156 char *_kwnames[] = { "self","name", NULL };
1157 char _ptemp[128];
1158
1159 self = self;
1160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_FindWindowByName",_kwnames,&_argo0,&_obj1))
1161 return NULL;
1162 if (_argo0) {
1163 if (_argo0 == Py_None) { _arg0 = NULL; }
1164 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1165 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
1166 return NULL;
1167 }
1168 }
1169 {
1170 if (!PyString_Check(_obj1)) {
1171 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1172 return NULL;
1173 }
1174 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
1175 }
1176 {
1177 wxPy_BEGIN_ALLOW_THREADS;
1178 _result = (wxWindow *)wxWindow_FindWindowByName(_arg0,*_arg1);
1179
1180 wxPy_END_ALLOW_THREADS;
1181 } if (_result) {
1182 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
1183 _resultobj = Py_BuildValue("s",_ptemp);
1184 } else {
1185 Py_INCREF(Py_None);
1186 _resultobj = Py_None;
1187 }
1188 {
1189 if (_obj1)
1190 delete _arg1;
1191 }
1192 return _resultobj;
1193 }
1194
1195 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
1196 static PyObject *_wrap_wxWindow_Fit(PyObject *self, PyObject *args, PyObject *kwargs) {
1197 PyObject * _resultobj;
1198 wxWindow * _arg0;
1199 PyObject * _argo0 = 0;
1200 char *_kwnames[] = { "self", NULL };
1201
1202 self = self;
1203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Fit",_kwnames,&_argo0))
1204 return NULL;
1205 if (_argo0) {
1206 if (_argo0 == Py_None) { _arg0 = NULL; }
1207 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1208 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
1209 return NULL;
1210 }
1211 }
1212 {
1213 wxPy_BEGIN_ALLOW_THREADS;
1214 wxWindow_Fit(_arg0);
1215
1216 wxPy_END_ALLOW_THREADS;
1217 } Py_INCREF(Py_None);
1218 _resultobj = Py_None;
1219 return _resultobj;
1220 }
1221
1222 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1223 static PyObject *_wrap_wxWindow_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1224 PyObject * _resultobj;
1225 wxColour * _result;
1226 wxWindow * _arg0;
1227 PyObject * _argo0 = 0;
1228 char *_kwnames[] = { "self", NULL };
1229 char _ptemp[128];
1230
1231 self = self;
1232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetBackgroundColour",_kwnames,&_argo0))
1233 return NULL;
1234 if (_argo0) {
1235 if (_argo0 == Py_None) { _arg0 = NULL; }
1236 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1237 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
1238 return NULL;
1239 }
1240 }
1241 {
1242 wxPy_BEGIN_ALLOW_THREADS;
1243 _result = new wxColour (wxWindow_GetBackgroundColour(_arg0));
1244
1245 wxPy_END_ALLOW_THREADS;
1246 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
1247 _resultobj = Py_BuildValue("s",_ptemp);
1248 return _resultobj;
1249 }
1250
1251 static PyObject * wxWindow_GetChildren(wxWindow *self) {
1252 wxWindowList& list = self->GetChildren();
1253 return wxPy_ConvertList(&list, "wxWindow");
1254 }
1255 static PyObject *_wrap_wxWindow_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
1256 PyObject * _resultobj;
1257 PyObject * _result;
1258 wxWindow * _arg0;
1259 PyObject * _argo0 = 0;
1260 char *_kwnames[] = { "self", NULL };
1261
1262 self = self;
1263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetChildren",_kwnames,&_argo0))
1264 return NULL;
1265 if (_argo0) {
1266 if (_argo0 == Py_None) { _arg0 = NULL; }
1267 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1268 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetChildren. Expected _wxWindow_p.");
1269 return NULL;
1270 }
1271 }
1272 {
1273 wxPy_BEGIN_ALLOW_THREADS;
1274 _result = (PyObject *)wxWindow_GetChildren(_arg0);
1275
1276 wxPy_END_ALLOW_THREADS;
1277 }{
1278 _resultobj = _result;
1279 }
1280 return _resultobj;
1281 }
1282
1283 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1284 static PyObject *_wrap_wxWindow_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
1285 PyObject * _resultobj;
1286 int _result;
1287 wxWindow * _arg0;
1288 PyObject * _argo0 = 0;
1289 char *_kwnames[] = { "self", NULL };
1290
1291 self = self;
1292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetCharHeight",_kwnames,&_argo0))
1293 return NULL;
1294 if (_argo0) {
1295 if (_argo0 == Py_None) { _arg0 = NULL; }
1296 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1297 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
1298 return NULL;
1299 }
1300 }
1301 {
1302 wxPy_BEGIN_ALLOW_THREADS;
1303 _result = (int )wxWindow_GetCharHeight(_arg0);
1304
1305 wxPy_END_ALLOW_THREADS;
1306 } _resultobj = Py_BuildValue("i",_result);
1307 return _resultobj;
1308 }
1309
1310 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1311 static PyObject *_wrap_wxWindow_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1312 PyObject * _resultobj;
1313 int _result;
1314 wxWindow * _arg0;
1315 PyObject * _argo0 = 0;
1316 char *_kwnames[] = { "self", NULL };
1317
1318 self = self;
1319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetCharWidth",_kwnames,&_argo0))
1320 return NULL;
1321 if (_argo0) {
1322 if (_argo0 == Py_None) { _arg0 = NULL; }
1323 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1324 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
1325 return NULL;
1326 }
1327 }
1328 {
1329 wxPy_BEGIN_ALLOW_THREADS;
1330 _result = (int )wxWindow_GetCharWidth(_arg0);
1331
1332 wxPy_END_ALLOW_THREADS;
1333 } _resultobj = Py_BuildValue("i",_result);
1334 return _resultobj;
1335 }
1336
1337 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
1338 static PyObject *_wrap_wxWindow_GetClientSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
1339 PyObject * _resultobj;
1340 wxWindow * _arg0;
1341 int * _arg1;
1342 int temp;
1343 int * _arg2;
1344 int temp0;
1345 PyObject * _argo0 = 0;
1346 char *_kwnames[] = { "self", NULL };
1347
1348 self = self;
1349 {
1350 _arg1 = &temp;
1351 }
1352 {
1353 _arg2 = &temp0;
1354 }
1355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetClientSizeTuple",_kwnames,&_argo0))
1356 return NULL;
1357 if (_argo0) {
1358 if (_argo0 == Py_None) { _arg0 = NULL; }
1359 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1360 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
1361 return NULL;
1362 }
1363 }
1364 {
1365 wxPy_BEGIN_ALLOW_THREADS;
1366 wxWindow_GetClientSizeTuple(_arg0,_arg1,_arg2);
1367
1368 wxPy_END_ALLOW_THREADS;
1369 } Py_INCREF(Py_None);
1370 _resultobj = Py_None;
1371 {
1372 PyObject *o;
1373 o = PyInt_FromLong((long) (*_arg1));
1374 _resultobj = t_output_helper(_resultobj, o);
1375 }
1376 {
1377 PyObject *o;
1378 o = PyInt_FromLong((long) (*_arg2));
1379 _resultobj = t_output_helper(_resultobj, o);
1380 }
1381 return _resultobj;
1382 }
1383
1384 #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
1385 static PyObject *_wrap_wxWindow_GetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1386 PyObject * _resultobj;
1387 wxSize * _result;
1388 wxWindow * _arg0;
1389 PyObject * _argo0 = 0;
1390 char *_kwnames[] = { "self", NULL };
1391 char _ptemp[128];
1392
1393 self = self;
1394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetClientSize",_kwnames,&_argo0))
1395 return NULL;
1396 if (_argo0) {
1397 if (_argo0 == Py_None) { _arg0 = NULL; }
1398 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1399 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
1400 return NULL;
1401 }
1402 }
1403 {
1404 wxPy_BEGIN_ALLOW_THREADS;
1405 _result = new wxSize (wxWindow_GetClientSize(_arg0));
1406
1407 wxPy_END_ALLOW_THREADS;
1408 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1409 _resultobj = Py_BuildValue("s",_ptemp);
1410 return _resultobj;
1411 }
1412
1413 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
1414 static PyObject *_wrap_wxWindow_GetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
1415 PyObject * _resultobj;
1416 wxLayoutConstraints * _result;
1417 wxWindow * _arg0;
1418 PyObject * _argo0 = 0;
1419 char *_kwnames[] = { "self", NULL };
1420 char _ptemp[128];
1421
1422 self = self;
1423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetConstraints",_kwnames,&_argo0))
1424 return NULL;
1425 if (_argo0) {
1426 if (_argo0 == Py_None) { _arg0 = NULL; }
1427 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1428 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
1429 return NULL;
1430 }
1431 }
1432 {
1433 wxPy_BEGIN_ALLOW_THREADS;
1434 _result = (wxLayoutConstraints *)wxWindow_GetConstraints(_arg0);
1435
1436 wxPy_END_ALLOW_THREADS;
1437 } if (_result) {
1438 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLayoutConstraints_p");
1439 _resultobj = Py_BuildValue("s",_ptemp);
1440 } else {
1441 Py_INCREF(Py_None);
1442 _resultobj = Py_None;
1443 }
1444 return _resultobj;
1445 }
1446
1447 #define wxWindow_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
1448 static PyObject *_wrap_wxWindow_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
1449 PyObject * _resultobj;
1450 wxEvtHandler * _result;
1451 wxWindow * _arg0;
1452 PyObject * _argo0 = 0;
1453 char *_kwnames[] = { "self", NULL };
1454 char _ptemp[128];
1455
1456 self = self;
1457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetEventHandler",_kwnames,&_argo0))
1458 return NULL;
1459 if (_argo0) {
1460 if (_argo0 == Py_None) { _arg0 = NULL; }
1461 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1462 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetEventHandler. Expected _wxWindow_p.");
1463 return NULL;
1464 }
1465 }
1466 {
1467 wxPy_BEGIN_ALLOW_THREADS;
1468 _result = (wxEvtHandler *)wxWindow_GetEventHandler(_arg0);
1469
1470 wxPy_END_ALLOW_THREADS;
1471 } if (_result) {
1472 SWIG_MakePtr(_ptemp, (char *) _result,"_wxEvtHandler_p");
1473 _resultobj = Py_BuildValue("s",_ptemp);
1474 } else {
1475 Py_INCREF(Py_None);
1476 _resultobj = Py_None;
1477 }
1478 return _resultobj;
1479 }
1480
1481 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
1482 static PyObject *_wrap_wxWindow_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1483 PyObject * _resultobj;
1484 wxFont * _result;
1485 wxWindow * _arg0;
1486 PyObject * _argo0 = 0;
1487 char *_kwnames[] = { "self", NULL };
1488 char _ptemp[128];
1489
1490 self = self;
1491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetFont",_kwnames,&_argo0))
1492 return NULL;
1493 if (_argo0) {
1494 if (_argo0 == Py_None) { _arg0 = NULL; }
1495 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1496 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
1497 return NULL;
1498 }
1499 }
1500 {
1501 wxPy_BEGIN_ALLOW_THREADS;
1502 wxFont & _result_ref = wxWindow_GetFont(_arg0);
1503 _result = (wxFont *) &_result_ref;
1504
1505 wxPy_END_ALLOW_THREADS;
1506 } if (_result) {
1507 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
1508 _resultobj = Py_BuildValue("s",_ptemp);
1509 } else {
1510 Py_INCREF(Py_None);
1511 _resultobj = Py_None;
1512 }
1513 return _resultobj;
1514 }
1515
1516 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
1517 static PyObject *_wrap_wxWindow_GetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1518 PyObject * _resultobj;
1519 wxColour * _result;
1520 wxWindow * _arg0;
1521 PyObject * _argo0 = 0;
1522 char *_kwnames[] = { "self", NULL };
1523 char _ptemp[128];
1524
1525 self = self;
1526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetForegroundColour",_kwnames,&_argo0))
1527 return NULL;
1528 if (_argo0) {
1529 if (_argo0 == Py_None) { _arg0 = NULL; }
1530 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1531 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
1532 return NULL;
1533 }
1534 }
1535 {
1536 wxPy_BEGIN_ALLOW_THREADS;
1537 _result = new wxColour (wxWindow_GetForegroundColour(_arg0));
1538
1539 wxPy_END_ALLOW_THREADS;
1540 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
1541 _resultobj = Py_BuildValue("s",_ptemp);
1542 return _resultobj;
1543 }
1544
1545 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
1546 static PyObject *_wrap_wxWindow_GetGrandParent(PyObject *self, PyObject *args, PyObject *kwargs) {
1547 PyObject * _resultobj;
1548 wxWindow * _result;
1549 wxWindow * _arg0;
1550 PyObject * _argo0 = 0;
1551 char *_kwnames[] = { "self", NULL };
1552 char _ptemp[128];
1553
1554 self = self;
1555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetGrandParent",_kwnames,&_argo0))
1556 return NULL;
1557 if (_argo0) {
1558 if (_argo0 == Py_None) { _arg0 = NULL; }
1559 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1560 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
1561 return NULL;
1562 }
1563 }
1564 {
1565 wxPy_BEGIN_ALLOW_THREADS;
1566 _result = (wxWindow *)wxWindow_GetGrandParent(_arg0);
1567
1568 wxPy_END_ALLOW_THREADS;
1569 } if (_result) {
1570 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
1571 _resultobj = Py_BuildValue("s",_ptemp);
1572 } else {
1573 Py_INCREF(Py_None);
1574 _resultobj = Py_None;
1575 }
1576 return _resultobj;
1577 }
1578
1579 static long wxWindow_GetHandle(wxWindow *self) {
1580 return (long)self->GetHandle();
1581 }
1582 static PyObject *_wrap_wxWindow_GetHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
1583 PyObject * _resultobj;
1584 long _result;
1585 wxWindow * _arg0;
1586 PyObject * _argo0 = 0;
1587 char *_kwnames[] = { "self", NULL };
1588
1589 self = self;
1590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetHandle",_kwnames,&_argo0))
1591 return NULL;
1592 if (_argo0) {
1593 if (_argo0 == Py_None) { _arg0 = NULL; }
1594 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1595 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetHandle. Expected _wxWindow_p.");
1596 return NULL;
1597 }
1598 }
1599 {
1600 wxPy_BEGIN_ALLOW_THREADS;
1601 _result = (long )wxWindow_GetHandle(_arg0);
1602
1603 wxPy_END_ALLOW_THREADS;
1604 } _resultobj = Py_BuildValue("l",_result);
1605 return _resultobj;
1606 }
1607
1608 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
1609 static PyObject *_wrap_wxWindow_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
1610 PyObject * _resultobj;
1611 int _result;
1612 wxWindow * _arg0;
1613 PyObject * _argo0 = 0;
1614 char *_kwnames[] = { "self", NULL };
1615
1616 self = self;
1617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetId",_kwnames,&_argo0))
1618 return NULL;
1619 if (_argo0) {
1620 if (_argo0 == Py_None) { _arg0 = NULL; }
1621 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1622 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
1623 return NULL;
1624 }
1625 }
1626 {
1627 wxPy_BEGIN_ALLOW_THREADS;
1628 _result = (int )wxWindow_GetId(_arg0);
1629
1630 wxPy_END_ALLOW_THREADS;
1631 } _resultobj = Py_BuildValue("i",_result);
1632 return _resultobj;
1633 }
1634
1635 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
1636 static PyObject *_wrap_wxWindow_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1637 PyObject * _resultobj;
1638 wxString * _result;
1639 wxWindow * _arg0;
1640 PyObject * _argo0 = 0;
1641 char *_kwnames[] = { "self", NULL };
1642
1643 self = self;
1644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetLabel",_kwnames,&_argo0))
1645 return NULL;
1646 if (_argo0) {
1647 if (_argo0 == Py_None) { _arg0 = NULL; }
1648 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1649 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
1650 return NULL;
1651 }
1652 }
1653 {
1654 wxPy_BEGIN_ALLOW_THREADS;
1655 _result = new wxString (wxWindow_GetLabel(_arg0));
1656
1657 wxPy_END_ALLOW_THREADS;
1658 }{
1659 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
1660 }
1661 {
1662 delete _result;
1663 }
1664 return _resultobj;
1665 }
1666
1667 #define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
1668 static PyObject *_wrap_wxWindow_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1669 PyObject * _resultobj;
1670 wxWindow * _arg0;
1671 wxString * _arg1;
1672 PyObject * _argo0 = 0;
1673 PyObject * _obj1 = 0;
1674 char *_kwnames[] = { "self","label", NULL };
1675
1676 self = self;
1677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetLabel",_kwnames,&_argo0,&_obj1))
1678 return NULL;
1679 if (_argo0) {
1680 if (_argo0 == Py_None) { _arg0 = NULL; }
1681 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1682 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
1683 return NULL;
1684 }
1685 }
1686 {
1687 if (!PyString_Check(_obj1)) {
1688 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1689 return NULL;
1690 }
1691 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
1692 }
1693 {
1694 wxPy_BEGIN_ALLOW_THREADS;
1695 wxWindow_SetLabel(_arg0,*_arg1);
1696
1697 wxPy_END_ALLOW_THREADS;
1698 } Py_INCREF(Py_None);
1699 _resultobj = Py_None;
1700 {
1701 if (_obj1)
1702 delete _arg1;
1703 }
1704 return _resultobj;
1705 }
1706
1707 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
1708 static PyObject *_wrap_wxWindow_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
1709 PyObject * _resultobj;
1710 wxString * _result;
1711 wxWindow * _arg0;
1712 PyObject * _argo0 = 0;
1713 char *_kwnames[] = { "self", NULL };
1714
1715 self = self;
1716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetName",_kwnames,&_argo0))
1717 return NULL;
1718 if (_argo0) {
1719 if (_argo0 == Py_None) { _arg0 = NULL; }
1720 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1721 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
1722 return NULL;
1723 }
1724 }
1725 {
1726 wxPy_BEGIN_ALLOW_THREADS;
1727 _result = new wxString (wxWindow_GetName(_arg0));
1728
1729 wxPy_END_ALLOW_THREADS;
1730 }{
1731 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
1732 }
1733 {
1734 delete _result;
1735 }
1736 return _resultobj;
1737 }
1738
1739 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
1740 static PyObject *_wrap_wxWindow_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
1741 PyObject * _resultobj;
1742 wxWindow * _result;
1743 wxWindow * _arg0;
1744 PyObject * _argo0 = 0;
1745 char *_kwnames[] = { "self", NULL };
1746 char _ptemp[128];
1747
1748 self = self;
1749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetParent",_kwnames,&_argo0))
1750 return NULL;
1751 if (_argo0) {
1752 if (_argo0 == Py_None) { _arg0 = NULL; }
1753 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1754 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
1755 return NULL;
1756 }
1757 }
1758 {
1759 wxPy_BEGIN_ALLOW_THREADS;
1760 _result = (wxWindow *)wxWindow_GetParent(_arg0);
1761
1762 wxPy_END_ALLOW_THREADS;
1763 } if (_result) {
1764 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
1765 _resultobj = Py_BuildValue("s",_ptemp);
1766 } else {
1767 Py_INCREF(Py_None);
1768 _resultobj = Py_None;
1769 }
1770 return _resultobj;
1771 }
1772
1773 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
1774 static PyObject *_wrap_wxWindow_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
1775 PyObject * _resultobj;
1776 wxWindow * _arg0;
1777 int * _arg1;
1778 int temp;
1779 int * _arg2;
1780 int temp0;
1781 PyObject * _argo0 = 0;
1782 char *_kwnames[] = { "self", NULL };
1783
1784 self = self;
1785 {
1786 _arg1 = &temp;
1787 }
1788 {
1789 _arg2 = &temp0;
1790 }
1791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetPositionTuple",_kwnames,&_argo0))
1792 return NULL;
1793 if (_argo0) {
1794 if (_argo0 == Py_None) { _arg0 = NULL; }
1795 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1796 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
1797 return NULL;
1798 }
1799 }
1800 {
1801 wxPy_BEGIN_ALLOW_THREADS;
1802 wxWindow_GetPositionTuple(_arg0,_arg1,_arg2);
1803
1804 wxPy_END_ALLOW_THREADS;
1805 } Py_INCREF(Py_None);
1806 _resultobj = Py_None;
1807 {
1808 PyObject *o;
1809 o = PyInt_FromLong((long) (*_arg1));
1810 _resultobj = t_output_helper(_resultobj, o);
1811 }
1812 {
1813 PyObject *o;
1814 o = PyInt_FromLong((long) (*_arg2));
1815 _resultobj = t_output_helper(_resultobj, o);
1816 }
1817 return _resultobj;
1818 }
1819
1820 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
1821 static PyObject *_wrap_wxWindow_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
1822 PyObject * _resultobj;
1823 wxPoint * _result;
1824 wxWindow * _arg0;
1825 PyObject * _argo0 = 0;
1826 char *_kwnames[] = { "self", NULL };
1827 char _ptemp[128];
1828
1829 self = self;
1830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetPosition",_kwnames,&_argo0))
1831 return NULL;
1832 if (_argo0) {
1833 if (_argo0 == Py_None) { _arg0 = NULL; }
1834 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1835 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
1836 return NULL;
1837 }
1838 }
1839 {
1840 wxPy_BEGIN_ALLOW_THREADS;
1841 _result = new wxPoint (wxWindow_GetPosition(_arg0));
1842
1843 wxPy_END_ALLOW_THREADS;
1844 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
1845 _resultobj = Py_BuildValue("s",_ptemp);
1846 return _resultobj;
1847 }
1848
1849 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
1850 static PyObject *_wrap_wxWindow_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
1851 PyObject * _resultobj;
1852 wxRect * _result;
1853 wxWindow * _arg0;
1854 PyObject * _argo0 = 0;
1855 char *_kwnames[] = { "self", NULL };
1856 char _ptemp[128];
1857
1858 self = self;
1859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetRect",_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_GetRect. Expected _wxWindow_p.");
1865 return NULL;
1866 }
1867 }
1868 {
1869 wxPy_BEGIN_ALLOW_THREADS;
1870 _result = new wxRect (wxWindow_GetRect(_arg0));
1871
1872 wxPy_END_ALLOW_THREADS;
1873 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
1874 _resultobj = Py_BuildValue("s",_ptemp);
1875 return _resultobj;
1876 }
1877
1878 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
1879 static PyObject *_wrap_wxWindow_GetScrollThumb(PyObject *self, PyObject *args, PyObject *kwargs) {
1880 PyObject * _resultobj;
1881 int _result;
1882 wxWindow * _arg0;
1883 int _arg1;
1884 PyObject * _argo0 = 0;
1885 char *_kwnames[] = { "self","orientation", NULL };
1886
1887 self = self;
1888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_GetScrollThumb",_kwnames,&_argo0,&_arg1))
1889 return NULL;
1890 if (_argo0) {
1891 if (_argo0 == Py_None) { _arg0 = NULL; }
1892 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1893 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
1894 return NULL;
1895 }
1896 }
1897 {
1898 wxPy_BEGIN_ALLOW_THREADS;
1899 _result = (int )wxWindow_GetScrollThumb(_arg0,_arg1);
1900
1901 wxPy_END_ALLOW_THREADS;
1902 } _resultobj = Py_BuildValue("i",_result);
1903 return _resultobj;
1904 }
1905
1906 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
1907 static PyObject *_wrap_wxWindow_GetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
1908 PyObject * _resultobj;
1909 int _result;
1910 wxWindow * _arg0;
1911 int _arg1;
1912 PyObject * _argo0 = 0;
1913 char *_kwnames[] = { "self","orientation", NULL };
1914
1915 self = self;
1916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_GetScrollPos",_kwnames,&_argo0,&_arg1))
1917 return NULL;
1918 if (_argo0) {
1919 if (_argo0 == Py_None) { _arg0 = NULL; }
1920 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1921 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
1922 return NULL;
1923 }
1924 }
1925 {
1926 wxPy_BEGIN_ALLOW_THREADS;
1927 _result = (int )wxWindow_GetScrollPos(_arg0,_arg1);
1928
1929 wxPy_END_ALLOW_THREADS;
1930 } _resultobj = Py_BuildValue("i",_result);
1931 return _resultobj;
1932 }
1933
1934 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
1935 static PyObject *_wrap_wxWindow_GetScrollRange(PyObject *self, PyObject *args, PyObject *kwargs) {
1936 PyObject * _resultobj;
1937 int _result;
1938 wxWindow * _arg0;
1939 int _arg1;
1940 PyObject * _argo0 = 0;
1941 char *_kwnames[] = { "self","orientation", NULL };
1942
1943 self = self;
1944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_GetScrollRange",_kwnames,&_argo0,&_arg1))
1945 return NULL;
1946 if (_argo0) {
1947 if (_argo0 == Py_None) { _arg0 = NULL; }
1948 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1949 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
1950 return NULL;
1951 }
1952 }
1953 {
1954 wxPy_BEGIN_ALLOW_THREADS;
1955 _result = (int )wxWindow_GetScrollRange(_arg0,_arg1);
1956
1957 wxPy_END_ALLOW_THREADS;
1958 } _resultobj = Py_BuildValue("i",_result);
1959 return _resultobj;
1960 }
1961
1962 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
1963 static PyObject *_wrap_wxWindow_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
1964 PyObject * _resultobj;
1965 wxWindow * _arg0;
1966 int * _arg1;
1967 int temp;
1968 int * _arg2;
1969 int temp0;
1970 PyObject * _argo0 = 0;
1971 char *_kwnames[] = { "self", NULL };
1972
1973 self = self;
1974 {
1975 _arg1 = &temp;
1976 }
1977 {
1978 _arg2 = &temp0;
1979 }
1980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetSizeTuple",_kwnames,&_argo0))
1981 return NULL;
1982 if (_argo0) {
1983 if (_argo0 == Py_None) { _arg0 = NULL; }
1984 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1985 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
1986 return NULL;
1987 }
1988 }
1989 {
1990 wxPy_BEGIN_ALLOW_THREADS;
1991 wxWindow_GetSizeTuple(_arg0,_arg1,_arg2);
1992
1993 wxPy_END_ALLOW_THREADS;
1994 } Py_INCREF(Py_None);
1995 _resultobj = Py_None;
1996 {
1997 PyObject *o;
1998 o = PyInt_FromLong((long) (*_arg1));
1999 _resultobj = t_output_helper(_resultobj, o);
2000 }
2001 {
2002 PyObject *o;
2003 o = PyInt_FromLong((long) (*_arg2));
2004 _resultobj = t_output_helper(_resultobj, o);
2005 }
2006 return _resultobj;
2007 }
2008
2009 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
2010 static PyObject *_wrap_wxWindow_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2011 PyObject * _resultobj;
2012 wxSize * _result;
2013 wxWindow * _arg0;
2014 PyObject * _argo0 = 0;
2015 char *_kwnames[] = { "self", NULL };
2016 char _ptemp[128];
2017
2018 self = self;
2019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetSize",_kwnames,&_argo0))
2020 return NULL;
2021 if (_argo0) {
2022 if (_argo0 == Py_None) { _arg0 = NULL; }
2023 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2024 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
2025 return NULL;
2026 }
2027 }
2028 {
2029 wxPy_BEGIN_ALLOW_THREADS;
2030 _result = new wxSize (wxWindow_GetSize(_arg0));
2031
2032 wxPy_END_ALLOW_THREADS;
2033 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
2034 _resultobj = Py_BuildValue("s",_ptemp);
2035 return _resultobj;
2036 }
2037
2038 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
2039 static PyObject *_wrap_wxWindow_GetTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
2040 PyObject * _resultobj;
2041 wxWindow * _arg0;
2042 wxString * _arg1;
2043 int * _arg2;
2044 int temp;
2045 int * _arg3;
2046 int temp0;
2047 PyObject * _argo0 = 0;
2048 PyObject * _obj1 = 0;
2049 char *_kwnames[] = { "self","string", NULL };
2050
2051 self = self;
2052 {
2053 _arg2 = &temp;
2054 }
2055 {
2056 _arg3 = &temp0;
2057 }
2058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_GetTextExtent",_kwnames,&_argo0,&_obj1))
2059 return NULL;
2060 if (_argo0) {
2061 if (_argo0 == Py_None) { _arg0 = NULL; }
2062 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2063 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
2064 return NULL;
2065 }
2066 }
2067 {
2068 if (!PyString_Check(_obj1)) {
2069 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2070 return NULL;
2071 }
2072 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
2073 }
2074 {
2075 wxPy_BEGIN_ALLOW_THREADS;
2076 wxWindow_GetTextExtent(_arg0,*_arg1,_arg2,_arg3);
2077
2078 wxPy_END_ALLOW_THREADS;
2079 } Py_INCREF(Py_None);
2080 _resultobj = Py_None;
2081 {
2082 PyObject *o;
2083 o = PyInt_FromLong((long) (*_arg2));
2084 _resultobj = t_output_helper(_resultobj, o);
2085 }
2086 {
2087 PyObject *o;
2088 o = PyInt_FromLong((long) (*_arg3));
2089 _resultobj = t_output_helper(_resultobj, o);
2090 }
2091 {
2092 if (_obj1)
2093 delete _arg1;
2094 }
2095 return _resultobj;
2096 }
2097
2098 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2099 static PyObject *_wrap_wxWindow_GetFullTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
2100 PyObject * _resultobj;
2101 wxWindow * _arg0;
2102 wxString * _arg1;
2103 int * _arg2;
2104 int temp;
2105 int * _arg3;
2106 int temp0;
2107 int * _arg4;
2108 int temp1;
2109 int * _arg5;
2110 int temp2;
2111 wxFont * _arg6 = (wxFont *) NULL;
2112 PyObject * _argo0 = 0;
2113 PyObject * _obj1 = 0;
2114 PyObject * _argo6 = 0;
2115 char *_kwnames[] = { "self","string","font", NULL };
2116
2117 self = self;
2118 {
2119 _arg2 = &temp;
2120 }
2121 {
2122 _arg3 = &temp0;
2123 }
2124 {
2125 _arg4 = &temp1;
2126 }
2127 {
2128 _arg5 = &temp2;
2129 }
2130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxWindow_GetFullTextExtent",_kwnames,&_argo0,&_obj1,&_argo6))
2131 return NULL;
2132 if (_argo0) {
2133 if (_argo0 == Py_None) { _arg0 = NULL; }
2134 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2135 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
2136 return NULL;
2137 }
2138 }
2139 {
2140 if (!PyString_Check(_obj1)) {
2141 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2142 return NULL;
2143 }
2144 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
2145 }
2146 if (_argo6) {
2147 if (_argo6 == Py_None) { _arg6 = NULL; }
2148 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxFont_p")) {
2149 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
2150 return NULL;
2151 }
2152 }
2153 {
2154 wxPy_BEGIN_ALLOW_THREADS;
2155 wxWindow_GetFullTextExtent(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
2156
2157 wxPy_END_ALLOW_THREADS;
2158 } Py_INCREF(Py_None);
2159 _resultobj = Py_None;
2160 {
2161 PyObject *o;
2162 o = PyInt_FromLong((long) (*_arg2));
2163 _resultobj = t_output_helper(_resultobj, o);
2164 }
2165 {
2166 PyObject *o;
2167 o = PyInt_FromLong((long) (*_arg3));
2168 _resultobj = t_output_helper(_resultobj, o);
2169 }
2170 {
2171 PyObject *o;
2172 o = PyInt_FromLong((long) (*_arg4));
2173 _resultobj = t_output_helper(_resultobj, o);
2174 }
2175 {
2176 PyObject *o;
2177 o = PyInt_FromLong((long) (*_arg5));
2178 _resultobj = t_output_helper(_resultobj, o);
2179 }
2180 {
2181 if (_obj1)
2182 delete _arg1;
2183 }
2184 return _resultobj;
2185 }
2186
2187 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
2188 static PyObject *_wrap_wxWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2189 PyObject * _resultobj;
2190 wxString * _result;
2191 wxWindow * _arg0;
2192 PyObject * _argo0 = 0;
2193 char *_kwnames[] = { "self", NULL };
2194
2195 self = self;
2196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetTitle",_kwnames,&_argo0))
2197 return NULL;
2198 if (_argo0) {
2199 if (_argo0 == Py_None) { _arg0 = NULL; }
2200 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2201 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
2202 return NULL;
2203 }
2204 }
2205 {
2206 wxPy_BEGIN_ALLOW_THREADS;
2207 _result = new wxString (wxWindow_GetTitle(_arg0));
2208
2209 wxPy_END_ALLOW_THREADS;
2210 }{
2211 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
2212 }
2213 {
2214 delete _result;
2215 }
2216 return _resultobj;
2217 }
2218
2219 #define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
2220 static PyObject *_wrap_wxWindow_GetUpdateRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
2221 PyObject * _resultobj;
2222 wxRegion * _result;
2223 wxWindow * _arg0;
2224 PyObject * _argo0 = 0;
2225 char *_kwnames[] = { "self", NULL };
2226 char _ptemp[128];
2227
2228 self = self;
2229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetUpdateRegion",_kwnames,&_argo0))
2230 return NULL;
2231 if (_argo0) {
2232 if (_argo0 == Py_None) { _arg0 = NULL; }
2233 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2234 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
2235 return NULL;
2236 }
2237 }
2238 {
2239 wxPy_BEGIN_ALLOW_THREADS;
2240 _result = new wxRegion (wxWindow_GetUpdateRegion(_arg0));
2241
2242 wxPy_END_ALLOW_THREADS;
2243 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRegion_p");
2244 _resultobj = Py_BuildValue("s",_ptemp);
2245 return _resultobj;
2246 }
2247
2248 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
2249 static PyObject *_wrap_wxWindow_GetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
2250 PyObject * _resultobj;
2251 long _result;
2252 wxWindow * _arg0;
2253 PyObject * _argo0 = 0;
2254 char *_kwnames[] = { "self", NULL };
2255
2256 self = self;
2257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetWindowStyleFlag",_kwnames,&_argo0))
2258 return NULL;
2259 if (_argo0) {
2260 if (_argo0 == Py_None) { _arg0 = NULL; }
2261 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2262 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
2263 return NULL;
2264 }
2265 }
2266 {
2267 wxPy_BEGIN_ALLOW_THREADS;
2268 _result = (long )wxWindow_GetWindowStyleFlag(_arg0);
2269
2270 wxPy_END_ALLOW_THREADS;
2271 } _resultobj = Py_BuildValue("l",_result);
2272 return _resultobj;
2273 }
2274
2275 #define wxWindow_Hide(_swigobj) (_swigobj->Hide())
2276 static PyObject *_wrap_wxWindow_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
2277 PyObject * _resultobj;
2278 bool _result;
2279 wxWindow * _arg0;
2280 PyObject * _argo0 = 0;
2281 char *_kwnames[] = { "self", NULL };
2282
2283 self = self;
2284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Hide",_kwnames,&_argo0))
2285 return NULL;
2286 if (_argo0) {
2287 if (_argo0 == Py_None) { _arg0 = NULL; }
2288 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2289 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
2290 return NULL;
2291 }
2292 }
2293 {
2294 wxPy_BEGIN_ALLOW_THREADS;
2295 _result = (bool )wxWindow_Hide(_arg0);
2296
2297 wxPy_END_ALLOW_THREADS;
2298 } _resultobj = Py_BuildValue("i",_result);
2299 return _resultobj;
2300 }
2301
2302 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
2303 static PyObject *_wrap_wxWindow_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
2304 PyObject * _resultobj;
2305 wxWindow * _arg0;
2306 PyObject * _argo0 = 0;
2307 char *_kwnames[] = { "self", NULL };
2308
2309 self = self;
2310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_InitDialog",_kwnames,&_argo0))
2311 return NULL;
2312 if (_argo0) {
2313 if (_argo0 == Py_None) { _arg0 = NULL; }
2314 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2315 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
2316 return NULL;
2317 }
2318 }
2319 {
2320 wxPy_BEGIN_ALLOW_THREADS;
2321 wxWindow_InitDialog(_arg0);
2322
2323 wxPy_END_ALLOW_THREADS;
2324 } Py_INCREF(Py_None);
2325 _resultobj = Py_None;
2326 return _resultobj;
2327 }
2328
2329 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
2330 static PyObject *_wrap_wxWindow_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
2331 PyObject * _resultobj;
2332 bool _result;
2333 wxWindow * _arg0;
2334 PyObject * _argo0 = 0;
2335 char *_kwnames[] = { "self", NULL };
2336
2337 self = self;
2338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_IsEnabled",_kwnames,&_argo0))
2339 return NULL;
2340 if (_argo0) {
2341 if (_argo0 == Py_None) { _arg0 = NULL; }
2342 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2343 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
2344 return NULL;
2345 }
2346 }
2347 {
2348 wxPy_BEGIN_ALLOW_THREADS;
2349 _result = (bool )wxWindow_IsEnabled(_arg0);
2350
2351 wxPy_END_ALLOW_THREADS;
2352 } _resultobj = Py_BuildValue("i",_result);
2353 return _resultobj;
2354 }
2355
2356 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
2357 static PyObject *_wrap_wxWindow_IsRetained(PyObject *self, PyObject *args, PyObject *kwargs) {
2358 PyObject * _resultobj;
2359 bool _result;
2360 wxWindow * _arg0;
2361 PyObject * _argo0 = 0;
2362 char *_kwnames[] = { "self", NULL };
2363
2364 self = self;
2365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_IsRetained",_kwnames,&_argo0))
2366 return NULL;
2367 if (_argo0) {
2368 if (_argo0 == Py_None) { _arg0 = NULL; }
2369 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2370 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
2371 return NULL;
2372 }
2373 }
2374 {
2375 wxPy_BEGIN_ALLOW_THREADS;
2376 _result = (bool )wxWindow_IsRetained(_arg0);
2377
2378 wxPy_END_ALLOW_THREADS;
2379 } _resultobj = Py_BuildValue("i",_result);
2380 return _resultobj;
2381 }
2382
2383 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
2384 static PyObject *_wrap_wxWindow_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
2385 PyObject * _resultobj;
2386 bool _result;
2387 wxWindow * _arg0;
2388 PyObject * _argo0 = 0;
2389 char *_kwnames[] = { "self", NULL };
2390
2391 self = self;
2392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_IsShown",_kwnames,&_argo0))
2393 return NULL;
2394 if (_argo0) {
2395 if (_argo0 == Py_None) { _arg0 = NULL; }
2396 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2397 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
2398 return NULL;
2399 }
2400 }
2401 {
2402 wxPy_BEGIN_ALLOW_THREADS;
2403 _result = (bool )wxWindow_IsShown(_arg0);
2404
2405 wxPy_END_ALLOW_THREADS;
2406 } _resultobj = Py_BuildValue("i",_result);
2407 return _resultobj;
2408 }
2409
2410 #define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
2411 static PyObject *_wrap_wxWindow_IsTopLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
2412 PyObject * _resultobj;
2413 bool _result;
2414 wxWindow * _arg0;
2415 PyObject * _argo0 = 0;
2416 char *_kwnames[] = { "self", NULL };
2417
2418 self = self;
2419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_IsTopLevel",_kwnames,&_argo0))
2420 return NULL;
2421 if (_argo0) {
2422 if (_argo0 == Py_None) { _arg0 = NULL; }
2423 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2424 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
2425 return NULL;
2426 }
2427 }
2428 {
2429 wxPy_BEGIN_ALLOW_THREADS;
2430 _result = (bool )wxWindow_IsTopLevel(_arg0);
2431
2432 wxPy_END_ALLOW_THREADS;
2433 } _resultobj = Py_BuildValue("i",_result);
2434 return _resultobj;
2435 }
2436
2437 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
2438 static PyObject *_wrap_wxWindow_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
2439 PyObject * _resultobj;
2440 wxWindow * _arg0;
2441 PyObject * _argo0 = 0;
2442 char *_kwnames[] = { "self", NULL };
2443
2444 self = self;
2445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Layout",_kwnames,&_argo0))
2446 return NULL;
2447 if (_argo0) {
2448 if (_argo0 == Py_None) { _arg0 = NULL; }
2449 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2450 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
2451 return NULL;
2452 }
2453 }
2454 {
2455 wxPy_BEGIN_ALLOW_THREADS;
2456 wxWindow_Layout(_arg0);
2457
2458 wxPy_END_ALLOW_THREADS;
2459 } Py_INCREF(Py_None);
2460 _resultobj = Py_None;
2461 return _resultobj;
2462 }
2463
2464 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
2465 static PyObject *_wrap_wxWindow_LoadFromResource(PyObject *self, PyObject *args, PyObject *kwargs) {
2466 PyObject * _resultobj;
2467 bool _result;
2468 wxWindow * _arg0;
2469 wxWindow * _arg1;
2470 wxString * _arg2;
2471 wxResourceTable * _arg3 = (wxResourceTable *) NULL;
2472 PyObject * _argo0 = 0;
2473 PyObject * _argo1 = 0;
2474 PyObject * _obj2 = 0;
2475 PyObject * _argo3 = 0;
2476 char *_kwnames[] = { "self","parent","resourceName","resourceTable", NULL };
2477
2478 self = self;
2479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|O:wxWindow_LoadFromResource",_kwnames,&_argo0,&_argo1,&_obj2,&_argo3))
2480 return NULL;
2481 if (_argo0) {
2482 if (_argo0 == Py_None) { _arg0 = NULL; }
2483 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2484 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
2485 return NULL;
2486 }
2487 }
2488 if (_argo1) {
2489 if (_argo1 == Py_None) { _arg1 = NULL; }
2490 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2491 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
2492 return NULL;
2493 }
2494 }
2495 {
2496 if (!PyString_Check(_obj2)) {
2497 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2498 return NULL;
2499 }
2500 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
2501 }
2502 if (_argo3) {
2503 if (_argo3 == Py_None) { _arg3 = NULL; }
2504 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxResourceTable_p")) {
2505 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
2506 return NULL;
2507 }
2508 }
2509 {
2510 wxPy_BEGIN_ALLOW_THREADS;
2511 _result = (bool )wxWindow_LoadFromResource(_arg0,_arg1,*_arg2,_arg3);
2512
2513 wxPy_END_ALLOW_THREADS;
2514 } _resultobj = Py_BuildValue("i",_result);
2515 {
2516 if (_obj2)
2517 delete _arg2;
2518 }
2519 return _resultobj;
2520 }
2521
2522 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
2523 static PyObject *_wrap_wxWindow_Lower(PyObject *self, PyObject *args, PyObject *kwargs) {
2524 PyObject * _resultobj;
2525 wxWindow * _arg0;
2526 PyObject * _argo0 = 0;
2527 char *_kwnames[] = { "self", NULL };
2528
2529 self = self;
2530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Lower",_kwnames,&_argo0))
2531 return NULL;
2532 if (_argo0) {
2533 if (_argo0 == Py_None) { _arg0 = NULL; }
2534 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2535 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
2536 return NULL;
2537 }
2538 }
2539 {
2540 wxPy_BEGIN_ALLOW_THREADS;
2541 wxWindow_Lower(_arg0);
2542
2543 wxPy_END_ALLOW_THREADS;
2544 } Py_INCREF(Py_None);
2545 _resultobj = Py_None;
2546 return _resultobj;
2547 }
2548
2549 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
2550 static PyObject *_wrap_wxWindow_MakeModal(PyObject *self, PyObject *args, PyObject *kwargs) {
2551 PyObject * _resultobj;
2552 wxWindow * _arg0;
2553 bool _arg1;
2554 PyObject * _argo0 = 0;
2555 int tempbool1;
2556 char *_kwnames[] = { "self","flag", NULL };
2557
2558 self = self;
2559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_MakeModal",_kwnames,&_argo0,&tempbool1))
2560 return NULL;
2561 if (_argo0) {
2562 if (_argo0 == Py_None) { _arg0 = NULL; }
2563 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2564 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
2565 return NULL;
2566 }
2567 }
2568 _arg1 = (bool ) tempbool1;
2569 {
2570 wxPy_BEGIN_ALLOW_THREADS;
2571 wxWindow_MakeModal(_arg0,_arg1);
2572
2573 wxPy_END_ALLOW_THREADS;
2574 } Py_INCREF(Py_None);
2575 _resultobj = Py_None;
2576 return _resultobj;
2577 }
2578
2579 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2580 static PyObject *_wrap_wxWindow_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
2581 PyObject * _resultobj;
2582 wxWindow * _arg0;
2583 int _arg1;
2584 int _arg2;
2585 PyObject * _argo0 = 0;
2586 char *_kwnames[] = { "self","x","y", NULL };
2587
2588 self = self;
2589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxWindow_MoveXY",_kwnames,&_argo0,&_arg1,&_arg2))
2590 return NULL;
2591 if (_argo0) {
2592 if (_argo0 == Py_None) { _arg0 = NULL; }
2593 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2594 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
2595 return NULL;
2596 }
2597 }
2598 {
2599 wxPy_BEGIN_ALLOW_THREADS;
2600 wxWindow_MoveXY(_arg0,_arg1,_arg2);
2601
2602 wxPy_END_ALLOW_THREADS;
2603 } Py_INCREF(Py_None);
2604 _resultobj = Py_None;
2605 return _resultobj;
2606 }
2607
2608 #define wxWindow_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2609 static PyObject *_wrap_wxWindow_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
2610 PyObject * _resultobj;
2611 wxWindow * _arg0;
2612 wxPoint * _arg1;
2613 PyObject * _argo0 = 0;
2614 wxPoint temp;
2615 PyObject * _obj1 = 0;
2616 char *_kwnames[] = { "self","point", NULL };
2617
2618 self = self;
2619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_Move",_kwnames,&_argo0,&_obj1))
2620 return NULL;
2621 if (_argo0) {
2622 if (_argo0 == Py_None) { _arg0 = NULL; }
2623 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2624 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
2625 return NULL;
2626 }
2627 }
2628 {
2629 _arg1 = &temp;
2630 if (! wxPoint_helper(_obj1, &_arg1))
2631 return NULL;
2632 }
2633 {
2634 wxPy_BEGIN_ALLOW_THREADS;
2635 wxWindow_Move(_arg0,*_arg1);
2636
2637 wxPy_END_ALLOW_THREADS;
2638 } Py_INCREF(Py_None);
2639 _resultobj = Py_None;
2640 return _resultobj;
2641 }
2642
2643 #define wxWindow_PopEventHandler(_swigobj,_swigarg0) (_swigobj->PopEventHandler(_swigarg0))
2644 static PyObject *_wrap_wxWindow_PopEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
2645 PyObject * _resultobj;
2646 wxEvtHandler * _result;
2647 wxWindow * _arg0;
2648 bool _arg1 = (bool ) FALSE;
2649 PyObject * _argo0 = 0;
2650 int tempbool1 = (int) FALSE;
2651 char *_kwnames[] = { "self","deleteHandler", NULL };
2652 char _ptemp[128];
2653
2654 self = self;
2655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_PopEventHandler",_kwnames,&_argo0,&tempbool1))
2656 return NULL;
2657 if (_argo0) {
2658 if (_argo0 == Py_None) { _arg0 = NULL; }
2659 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2660 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PopEventHandler. Expected _wxWindow_p.");
2661 return NULL;
2662 }
2663 }
2664 _arg1 = (bool ) tempbool1;
2665 {
2666 wxPy_BEGIN_ALLOW_THREADS;
2667 _result = (wxEvtHandler *)wxWindow_PopEventHandler(_arg0,_arg1);
2668
2669 wxPy_END_ALLOW_THREADS;
2670 } if (_result) {
2671 SWIG_MakePtr(_ptemp, (char *) _result,"_wxEvtHandler_p");
2672 _resultobj = Py_BuildValue("s",_ptemp);
2673 } else {
2674 Py_INCREF(Py_None);
2675 _resultobj = Py_None;
2676 }
2677 return _resultobj;
2678 }
2679
2680 #define wxWindow_PushEventHandler(_swigobj,_swigarg0) (_swigobj->PushEventHandler(_swigarg0))
2681 static PyObject *_wrap_wxWindow_PushEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
2682 PyObject * _resultobj;
2683 wxWindow * _arg0;
2684 wxEvtHandler * _arg1;
2685 PyObject * _argo0 = 0;
2686 PyObject * _argo1 = 0;
2687 char *_kwnames[] = { "self","handler", NULL };
2688
2689 self = self;
2690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_PushEventHandler",_kwnames,&_argo0,&_argo1))
2691 return NULL;
2692 if (_argo0) {
2693 if (_argo0 == Py_None) { _arg0 = NULL; }
2694 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2695 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PushEventHandler. Expected _wxWindow_p.");
2696 return NULL;
2697 }
2698 }
2699 if (_argo1) {
2700 if (_argo1 == Py_None) { _arg1 = NULL; }
2701 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
2702 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_PushEventHandler. Expected _wxEvtHandler_p.");
2703 return NULL;
2704 }
2705 }
2706 {
2707 wxPy_BEGIN_ALLOW_THREADS;
2708 wxWindow_PushEventHandler(_arg0,_arg1);
2709
2710 wxPy_END_ALLOW_THREADS;
2711 } Py_INCREF(Py_None);
2712 _resultobj = Py_None;
2713 return _resultobj;
2714 }
2715
2716 #define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
2717 static PyObject *_wrap_wxWindow_PopupMenuXY(PyObject *self, PyObject *args, PyObject *kwargs) {
2718 PyObject * _resultobj;
2719 bool _result;
2720 wxWindow * _arg0;
2721 wxMenu * _arg1;
2722 int _arg2;
2723 int _arg3;
2724 PyObject * _argo0 = 0;
2725 PyObject * _argo1 = 0;
2726 char *_kwnames[] = { "self","menu","x","y", NULL };
2727
2728 self = self;
2729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxWindow_PopupMenuXY",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
2730 return NULL;
2731 if (_argo0) {
2732 if (_argo0 == Py_None) { _arg0 = NULL; }
2733 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2734 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
2735 return NULL;
2736 }
2737 }
2738 if (_argo1) {
2739 if (_argo1 == Py_None) { _arg1 = NULL; }
2740 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
2741 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
2742 return NULL;
2743 }
2744 }
2745 {
2746 wxPy_BEGIN_ALLOW_THREADS;
2747 _result = (bool )wxWindow_PopupMenuXY(_arg0,_arg1,_arg2,_arg3);
2748
2749 wxPy_END_ALLOW_THREADS;
2750 } _resultobj = Py_BuildValue("i",_result);
2751 return _resultobj;
2752 }
2753
2754 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
2755 static PyObject *_wrap_wxWindow_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
2756 PyObject * _resultobj;
2757 bool _result;
2758 wxWindow * _arg0;
2759 wxMenu * _arg1;
2760 wxPoint * _arg2;
2761 PyObject * _argo0 = 0;
2762 PyObject * _argo1 = 0;
2763 wxPoint temp;
2764 PyObject * _obj2 = 0;
2765 char *_kwnames[] = { "self","menu","pos", NULL };
2766
2767 self = self;
2768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxWindow_PopupMenu",_kwnames,&_argo0,&_argo1,&_obj2))
2769 return NULL;
2770 if (_argo0) {
2771 if (_argo0 == Py_None) { _arg0 = NULL; }
2772 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2773 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
2774 return NULL;
2775 }
2776 }
2777 if (_argo1) {
2778 if (_argo1 == Py_None) { _arg1 = NULL; }
2779 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
2780 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
2781 return NULL;
2782 }
2783 }
2784 {
2785 _arg2 = &temp;
2786 if (! wxPoint_helper(_obj2, &_arg2))
2787 return NULL;
2788 }
2789 {
2790 wxPy_BEGIN_ALLOW_THREADS;
2791 _result = (bool )wxWindow_PopupMenu(_arg0,_arg1,*_arg2);
2792
2793 wxPy_END_ALLOW_THREADS;
2794 } _resultobj = Py_BuildValue("i",_result);
2795 return _resultobj;
2796 }
2797
2798 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
2799 static PyObject *_wrap_wxWindow_Raise(PyObject *self, PyObject *args, PyObject *kwargs) {
2800 PyObject * _resultobj;
2801 wxWindow * _arg0;
2802 PyObject * _argo0 = 0;
2803 char *_kwnames[] = { "self", NULL };
2804
2805 self = self;
2806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Raise",_kwnames,&_argo0))
2807 return NULL;
2808 if (_argo0) {
2809 if (_argo0 == Py_None) { _arg0 = NULL; }
2810 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2811 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
2812 return NULL;
2813 }
2814 }
2815 {
2816 wxPy_BEGIN_ALLOW_THREADS;
2817 wxWindow_Raise(_arg0);
2818
2819 wxPy_END_ALLOW_THREADS;
2820 } Py_INCREF(Py_None);
2821 _resultobj = Py_None;
2822 return _resultobj;
2823 }
2824
2825 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
2826 static PyObject *_wrap_wxWindow_Refresh(PyObject *self, PyObject *args, PyObject *kwargs) {
2827 PyObject * _resultobj;
2828 wxWindow * _arg0;
2829 bool _arg1 = (bool ) TRUE;
2830 wxRect * _arg2 = (wxRect *) NULL;
2831 PyObject * _argo0 = 0;
2832 int tempbool1 = (int) TRUE;
2833 wxRect temp;
2834 PyObject * _obj2 = 0;
2835 char *_kwnames[] = { "self","eraseBackground","rect", NULL };
2836
2837 self = self;
2838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iO:wxWindow_Refresh",_kwnames,&_argo0,&tempbool1,&_obj2))
2839 return NULL;
2840 if (_argo0) {
2841 if (_argo0 == Py_None) { _arg0 = NULL; }
2842 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2843 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
2844 return NULL;
2845 }
2846 }
2847 _arg1 = (bool ) tempbool1;
2848 if (_obj2)
2849 {
2850 _arg2 = &temp;
2851 if (! wxRect_helper(_obj2, &_arg2))
2852 return NULL;
2853 }
2854 {
2855 wxPy_BEGIN_ALLOW_THREADS;
2856 wxWindow_Refresh(_arg0,_arg1,_arg2);
2857
2858 wxPy_END_ALLOW_THREADS;
2859 } Py_INCREF(Py_None);
2860 _resultobj = Py_None;
2861 return _resultobj;
2862 }
2863
2864 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
2865 static PyObject *_wrap_wxWindow_ReleaseMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
2866 PyObject * _resultobj;
2867 wxWindow * _arg0;
2868 PyObject * _argo0 = 0;
2869 char *_kwnames[] = { "self", NULL };
2870
2871 self = self;
2872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_ReleaseMouse",_kwnames,&_argo0))
2873 return NULL;
2874 if (_argo0) {
2875 if (_argo0 == Py_None) { _arg0 = NULL; }
2876 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2877 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
2878 return NULL;
2879 }
2880 }
2881 {
2882 wxPy_BEGIN_ALLOW_THREADS;
2883 wxWindow_ReleaseMouse(_arg0);
2884
2885 wxPy_END_ALLOW_THREADS;
2886 } Py_INCREF(Py_None);
2887 _resultobj = Py_None;
2888 return _resultobj;
2889 }
2890
2891 #define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
2892 static PyObject *_wrap_wxWindow_Reparent(PyObject *self, PyObject *args, PyObject *kwargs) {
2893 PyObject * _resultobj;
2894 bool _result;
2895 wxWindow * _arg0;
2896 wxWindow * _arg1;
2897 PyObject * _argo0 = 0;
2898 PyObject * _argo1 = 0;
2899 char *_kwnames[] = { "self","newParent", NULL };
2900
2901 self = self;
2902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_Reparent",_kwnames,&_argo0,&_argo1))
2903 return NULL;
2904 if (_argo0) {
2905 if (_argo0 == Py_None) { _arg0 = NULL; }
2906 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2907 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
2908 return NULL;
2909 }
2910 }
2911 if (_argo1) {
2912 if (_argo1 == Py_None) { _arg1 = NULL; }
2913 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2914 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
2915 return NULL;
2916 }
2917 }
2918 {
2919 wxPy_BEGIN_ALLOW_THREADS;
2920 _result = (bool )wxWindow_Reparent(_arg0,_arg1);
2921
2922 wxPy_END_ALLOW_THREADS;
2923 } _resultobj = Py_BuildValue("i",_result);
2924 return _resultobj;
2925 }
2926
2927 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
2928 static PyObject *_wrap_wxWindow_ScreenToClientXY(PyObject *self, PyObject *args, PyObject *kwargs) {
2929 PyObject * _resultobj;
2930 wxWindow * _arg0;
2931 int * _arg1;
2932 int * _arg2;
2933 PyObject * _argo0 = 0;
2934 int temp;
2935 PyObject * _obj1 = 0;
2936 int temp0;
2937 PyObject * _obj2 = 0;
2938 char *_kwnames[] = { "self","x","y", NULL };
2939
2940 self = self;
2941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxWindow_ScreenToClientXY",_kwnames,&_argo0,&_obj1,&_obj2))
2942 return NULL;
2943 if (_argo0) {
2944 if (_argo0 == Py_None) { _arg0 = NULL; }
2945 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2946 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
2947 return NULL;
2948 }
2949 }
2950 {
2951 temp = (int) PyInt_AsLong(_obj1);
2952 _arg1 = &temp;
2953 }
2954 {
2955 temp0 = (int) PyInt_AsLong(_obj2);
2956 _arg2 = &temp0;
2957 }
2958 {
2959 wxPy_BEGIN_ALLOW_THREADS;
2960 wxWindow_ScreenToClientXY(_arg0,_arg1,_arg2);
2961
2962 wxPy_END_ALLOW_THREADS;
2963 } Py_INCREF(Py_None);
2964 _resultobj = Py_None;
2965 {
2966 PyObject *o;
2967 o = PyInt_FromLong((long) (*_arg1));
2968 _resultobj = t_output_helper(_resultobj, o);
2969 }
2970 {
2971 PyObject *o;
2972 o = PyInt_FromLong((long) (*_arg2));
2973 _resultobj = t_output_helper(_resultobj, o);
2974 }
2975 return _resultobj;
2976 }
2977
2978 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
2979 static PyObject *_wrap_wxWindow_ScreenToClient(PyObject *self, PyObject *args, PyObject *kwargs) {
2980 PyObject * _resultobj;
2981 wxPoint * _result;
2982 wxWindow * _arg0;
2983 wxPoint * _arg1;
2984 PyObject * _argo0 = 0;
2985 wxPoint temp;
2986 PyObject * _obj1 = 0;
2987 char *_kwnames[] = { "self","pt", NULL };
2988 char _ptemp[128];
2989
2990 self = self;
2991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ScreenToClient",_kwnames,&_argo0,&_obj1))
2992 return NULL;
2993 if (_argo0) {
2994 if (_argo0 == Py_None) { _arg0 = NULL; }
2995 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2996 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
2997 return NULL;
2998 }
2999 }
3000 {
3001 _arg1 = &temp;
3002 if (! wxPoint_helper(_obj1, &_arg1))
3003 return NULL;
3004 }
3005 {
3006 wxPy_BEGIN_ALLOW_THREADS;
3007 _result = new wxPoint (wxWindow_ScreenToClient(_arg0,*_arg1));
3008
3009 wxPy_END_ALLOW_THREADS;
3010 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
3011 _resultobj = Py_BuildValue("s",_ptemp);
3012 return _resultobj;
3013 }
3014
3015 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
3016 static PyObject *_wrap_wxWindow_ScrollWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3017 PyObject * _resultobj;
3018 wxWindow * _arg0;
3019 int _arg1;
3020 int _arg2;
3021 wxRect * _arg3 = (wxRect *) NULL;
3022 PyObject * _argo0 = 0;
3023 wxRect temp;
3024 PyObject * _obj3 = 0;
3025 char *_kwnames[] = { "self","dx","dy","rect", NULL };
3026
3027 self = self;
3028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|O:wxWindow_ScrollWindow",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
3029 return NULL;
3030 if (_argo0) {
3031 if (_argo0 == Py_None) { _arg0 = NULL; }
3032 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3033 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
3034 return NULL;
3035 }
3036 }
3037 if (_obj3)
3038 {
3039 _arg3 = &temp;
3040 if (! wxRect_helper(_obj3, &_arg3))
3041 return NULL;
3042 }
3043 {
3044 wxPy_BEGIN_ALLOW_THREADS;
3045 wxWindow_ScrollWindow(_arg0,_arg1,_arg2,_arg3);
3046
3047 wxPy_END_ALLOW_THREADS;
3048 } Py_INCREF(Py_None);
3049 _resultobj = Py_None;
3050 return _resultobj;
3051 }
3052
3053 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
3054 static PyObject *_wrap_wxWindow_SetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
3055 PyObject * _resultobj;
3056 wxWindow * _arg0;
3057 wxAcceleratorTable * _arg1;
3058 PyObject * _argo0 = 0;
3059 PyObject * _argo1 = 0;
3060 char *_kwnames[] = { "self","accel", NULL };
3061
3062 self = self;
3063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetAcceleratorTable",_kwnames,&_argo0,&_argo1))
3064 return NULL;
3065 if (_argo0) {
3066 if (_argo0 == Py_None) { _arg0 = NULL; }
3067 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3068 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
3069 return NULL;
3070 }
3071 }
3072 if (_argo1) {
3073 if (_argo1 == Py_None) { _arg1 = NULL; }
3074 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxAcceleratorTable_p")) {
3075 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
3076 return NULL;
3077 }
3078 }
3079 {
3080 wxPy_BEGIN_ALLOW_THREADS;
3081 wxWindow_SetAcceleratorTable(_arg0,*_arg1);
3082
3083 wxPy_END_ALLOW_THREADS;
3084 } Py_INCREF(Py_None);
3085 _resultobj = Py_None;
3086 return _resultobj;
3087 }
3088
3089 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
3090 static PyObject *_wrap_wxWindow_SetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
3091 PyObject * _resultobj;
3092 wxWindow * _arg0;
3093 bool _arg1;
3094 PyObject * _argo0 = 0;
3095 int tempbool1;
3096 char *_kwnames[] = { "self","autoLayout", NULL };
3097
3098 self = self;
3099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_SetAutoLayout",_kwnames,&_argo0,&tempbool1))
3100 return NULL;
3101 if (_argo0) {
3102 if (_argo0 == Py_None) { _arg0 = NULL; }
3103 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3104 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
3105 return NULL;
3106 }
3107 }
3108 _arg1 = (bool ) tempbool1;
3109 {
3110 wxPy_BEGIN_ALLOW_THREADS;
3111 wxWindow_SetAutoLayout(_arg0,_arg1);
3112
3113 wxPy_END_ALLOW_THREADS;
3114 } Py_INCREF(Py_None);
3115 _resultobj = Py_None;
3116 return _resultobj;
3117 }
3118
3119 #define wxWindow_GetAutoLayout(_swigobj) (_swigobj->GetAutoLayout())
3120 static PyObject *_wrap_wxWindow_GetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
3121 PyObject * _resultobj;
3122 bool _result;
3123 wxWindow * _arg0;
3124 PyObject * _argo0 = 0;
3125 char *_kwnames[] = { "self", NULL };
3126
3127 self = self;
3128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetAutoLayout",_kwnames,&_argo0))
3129 return NULL;
3130 if (_argo0) {
3131 if (_argo0 == Py_None) { _arg0 = NULL; }
3132 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3133 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetAutoLayout. Expected _wxWindow_p.");
3134 return NULL;
3135 }
3136 }
3137 {
3138 wxPy_BEGIN_ALLOW_THREADS;
3139 _result = (bool )wxWindow_GetAutoLayout(_arg0);
3140
3141 wxPy_END_ALLOW_THREADS;
3142 } _resultobj = Py_BuildValue("i",_result);
3143 return _resultobj;
3144 }
3145
3146 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3147 static PyObject *_wrap_wxWindow_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3148 PyObject * _resultobj;
3149 wxWindow * _arg0;
3150 wxColour * _arg1;
3151 PyObject * _argo0 = 0;
3152 PyObject * _argo1 = 0;
3153 char *_kwnames[] = { "self","colour", NULL };
3154
3155 self = self;
3156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetBackgroundColour",_kwnames,&_argo0,&_argo1))
3157 return NULL;
3158 if (_argo0) {
3159 if (_argo0 == Py_None) { _arg0 = NULL; }
3160 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3161 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
3162 return NULL;
3163 }
3164 }
3165 if (_argo1) {
3166 if (_argo1 == Py_None) { _arg1 = NULL; }
3167 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) {
3168 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetBackgroundColour. Expected _wxColour_p.");
3169 return NULL;
3170 }
3171 }
3172 {
3173 wxPy_BEGIN_ALLOW_THREADS;
3174 wxWindow_SetBackgroundColour(_arg0,*_arg1);
3175
3176 wxPy_END_ALLOW_THREADS;
3177 } Py_INCREF(Py_None);
3178 _resultobj = Py_None;
3179 return _resultobj;
3180 }
3181
3182 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
3183 static PyObject *_wrap_wxWindow_SetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
3184 PyObject * _resultobj;
3185 wxWindow * _arg0;
3186 wxLayoutConstraints * _arg1;
3187 PyObject * _argo0 = 0;
3188 PyObject * _argo1 = 0;
3189 char *_kwnames[] = { "self","constraints", NULL };
3190
3191 self = self;
3192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetConstraints",_kwnames,&_argo0,&_argo1))
3193 return NULL;
3194 if (_argo0) {
3195 if (_argo0 == Py_None) { _arg0 = NULL; }
3196 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3197 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
3198 return NULL;
3199 }
3200 }
3201 if (_argo1) {
3202 if (_argo1 == Py_None) { _arg1 = NULL; }
3203 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxLayoutConstraints_p")) {
3204 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
3205 return NULL;
3206 }
3207 }
3208 {
3209 wxPy_BEGIN_ALLOW_THREADS;
3210 wxWindow_SetConstraints(_arg0,_arg1);
3211
3212 wxPy_END_ALLOW_THREADS;
3213 } Py_INCREF(Py_None);
3214 _resultobj = Py_None;
3215 return _resultobj;
3216 }
3217
3218 #define wxWindow_UnsetConstraints(_swigobj,_swigarg0) (_swigobj->UnsetConstraints(_swigarg0))
3219 static PyObject *_wrap_wxWindow_UnsetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
3220 PyObject * _resultobj;
3221 wxWindow * _arg0;
3222 wxLayoutConstraints * _arg1;
3223 PyObject * _argo0 = 0;
3224 PyObject * _argo1 = 0;
3225 char *_kwnames[] = { "self","constraints", NULL };
3226
3227 self = self;
3228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_UnsetConstraints",_kwnames,&_argo0,&_argo1))
3229 return NULL;
3230 if (_argo0) {
3231 if (_argo0 == Py_None) { _arg0 = NULL; }
3232 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3233 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_UnsetConstraints. Expected _wxWindow_p.");
3234 return NULL;
3235 }
3236 }
3237 if (_argo1) {
3238 if (_argo1 == Py_None) { _arg1 = NULL; }
3239 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxLayoutConstraints_p")) {
3240 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_UnsetConstraints. Expected _wxLayoutConstraints_p.");
3241 return NULL;
3242 }
3243 }
3244 {
3245 wxPy_BEGIN_ALLOW_THREADS;
3246 wxWindow_UnsetConstraints(_arg0,_arg1);
3247
3248 wxPy_END_ALLOW_THREADS;
3249 } Py_INCREF(Py_None);
3250 _resultobj = Py_None;
3251 return _resultobj;
3252 }
3253
3254 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
3255 static PyObject *_wrap_wxWindow_SetFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
3256 PyObject * _resultobj;
3257 wxWindow * _arg0;
3258 PyObject * _argo0 = 0;
3259 char *_kwnames[] = { "self", NULL };
3260
3261 self = self;
3262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_SetFocus",_kwnames,&_argo0))
3263 return NULL;
3264 if (_argo0) {
3265 if (_argo0 == Py_None) { _arg0 = NULL; }
3266 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3267 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
3268 return NULL;
3269 }
3270 }
3271 {
3272 wxPy_BEGIN_ALLOW_THREADS;
3273 wxWindow_SetFocus(_arg0);
3274
3275 wxPy_END_ALLOW_THREADS;
3276 } Py_INCREF(Py_None);
3277 _resultobj = Py_None;
3278 return _resultobj;
3279 }
3280
3281 #define wxWindow_AcceptsFocus(_swigobj) (_swigobj->AcceptsFocus())
3282 static PyObject *_wrap_wxWindow_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
3283 PyObject * _resultobj;
3284 bool _result;
3285 wxWindow * _arg0;
3286 PyObject * _argo0 = 0;
3287 char *_kwnames[] = { "self", NULL };
3288
3289 self = self;
3290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_AcceptsFocus",_kwnames,&_argo0))
3291 return NULL;
3292 if (_argo0) {
3293 if (_argo0 == Py_None) { _arg0 = NULL; }
3294 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3295 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_AcceptsFocus. Expected _wxWindow_p.");
3296 return NULL;
3297 }
3298 }
3299 {
3300 wxPy_BEGIN_ALLOW_THREADS;
3301 _result = (bool )wxWindow_AcceptsFocus(_arg0);
3302
3303 wxPy_END_ALLOW_THREADS;
3304 } _resultobj = Py_BuildValue("i",_result);
3305 return _resultobj;
3306 }
3307
3308 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
3309 static PyObject *_wrap_wxWindow_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3310 PyObject * _resultobj;
3311 wxWindow * _arg0;
3312 wxFont * _arg1;
3313 PyObject * _argo0 = 0;
3314 PyObject * _argo1 = 0;
3315 char *_kwnames[] = { "self","font", NULL };
3316
3317 self = self;
3318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetFont",_kwnames,&_argo0,&_argo1))
3319 return NULL;
3320 if (_argo0) {
3321 if (_argo0 == Py_None) { _arg0 = NULL; }
3322 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3323 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
3324 return NULL;
3325 }
3326 }
3327 if (_argo1) {
3328 if (_argo1 == Py_None) { _arg1 = NULL; }
3329 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
3330 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
3331 return NULL;
3332 }
3333 }
3334 {
3335 wxPy_BEGIN_ALLOW_THREADS;
3336 wxWindow_SetFont(_arg0,*_arg1);
3337
3338 wxPy_END_ALLOW_THREADS;
3339 } Py_INCREF(Py_None);
3340 _resultobj = Py_None;
3341 return _resultobj;
3342 }
3343
3344 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
3345 static PyObject *_wrap_wxWindow_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3346 PyObject * _resultobj;
3347 wxWindow * _arg0;
3348 wxColour * _arg1;
3349 PyObject * _argo0 = 0;
3350 PyObject * _argo1 = 0;
3351 char *_kwnames[] = { "self","colour", NULL };
3352
3353 self = self;
3354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetForegroundColour",_kwnames,&_argo0,&_argo1))
3355 return NULL;
3356 if (_argo0) {
3357 if (_argo0 == Py_None) { _arg0 = NULL; }
3358 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3359 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
3360 return NULL;
3361 }
3362 }
3363 if (_argo1) {
3364 if (_argo1 == Py_None) { _arg1 = NULL; }
3365 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) {
3366 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetForegroundColour. Expected _wxColour_p.");
3367 return NULL;
3368 }
3369 }
3370 {
3371 wxPy_BEGIN_ALLOW_THREADS;
3372 wxWindow_SetForegroundColour(_arg0,*_arg1);
3373
3374 wxPy_END_ALLOW_THREADS;
3375 } Py_INCREF(Py_None);
3376 _resultobj = Py_None;
3377 return _resultobj;
3378 }
3379
3380 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
3381 static PyObject *_wrap_wxWindow_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
3382 PyObject * _resultobj;
3383 wxWindow * _arg0;
3384 int _arg1;
3385 PyObject * _argo0 = 0;
3386 char *_kwnames[] = { "self","id", NULL };
3387
3388 self = self;
3389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_SetId",_kwnames,&_argo0,&_arg1))
3390 return NULL;
3391 if (_argo0) {
3392 if (_argo0 == Py_None) { _arg0 = NULL; }
3393 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3394 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
3395 return NULL;
3396 }
3397 }
3398 {
3399 wxPy_BEGIN_ALLOW_THREADS;
3400 wxWindow_SetId(_arg0,_arg1);
3401
3402 wxPy_END_ALLOW_THREADS;
3403 } Py_INCREF(Py_None);
3404 _resultobj = Py_None;
3405 return _resultobj;
3406 }
3407
3408 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
3409 static PyObject *_wrap_wxWindow_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
3410 PyObject * _resultobj;
3411 wxWindow * _arg0;
3412 wxString * _arg1;
3413 PyObject * _argo0 = 0;
3414 PyObject * _obj1 = 0;
3415 char *_kwnames[] = { "self","name", NULL };
3416
3417 self = self;
3418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetName",_kwnames,&_argo0,&_obj1))
3419 return NULL;
3420 if (_argo0) {
3421 if (_argo0 == Py_None) { _arg0 = NULL; }
3422 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3423 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
3424 return NULL;
3425 }
3426 }
3427 {
3428 if (!PyString_Check(_obj1)) {
3429 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3430 return NULL;
3431 }
3432 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
3433 }
3434 {
3435 wxPy_BEGIN_ALLOW_THREADS;
3436 wxWindow_SetName(_arg0,*_arg1);
3437
3438 wxPy_END_ALLOW_THREADS;
3439 } Py_INCREF(Py_None);
3440 _resultobj = Py_None;
3441 {
3442 if (_obj1)
3443 delete _arg1;
3444 }
3445 return _resultobj;
3446 }
3447
3448 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3449 static PyObject *_wrap_wxWindow_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
3450 PyObject * _resultobj;
3451 wxWindow * _arg0;
3452 int _arg1;
3453 int _arg2;
3454 int _arg3;
3455 int _arg4;
3456 bool _arg5 = (bool ) TRUE;
3457 PyObject * _argo0 = 0;
3458 int tempbool5 = (int) TRUE;
3459 char *_kwnames[] = { "self","orientation","position","thumbSize","range","refresh", NULL };
3460
3461 self = self;
3462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxWindow_SetScrollbar",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&tempbool5))
3463 return NULL;
3464 if (_argo0) {
3465 if (_argo0 == Py_None) { _arg0 = NULL; }
3466 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3467 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
3468 return NULL;
3469 }
3470 }
3471 _arg5 = (bool ) tempbool5;
3472 {
3473 wxPy_BEGIN_ALLOW_THREADS;
3474 wxWindow_SetScrollbar(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
3475
3476 wxPy_END_ALLOW_THREADS;
3477 } Py_INCREF(Py_None);
3478 _resultobj = Py_None;
3479 return _resultobj;
3480 }
3481
3482 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
3483 static PyObject *_wrap_wxWindow_SetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
3484 PyObject * _resultobj;
3485 wxWindow * _arg0;
3486 int _arg1;
3487 int _arg2;
3488 bool _arg3 = (bool ) TRUE;
3489 PyObject * _argo0 = 0;
3490 int tempbool3 = (int) TRUE;
3491 char *_kwnames[] = { "self","orientation","pos","refresh", NULL };
3492
3493 self = self;
3494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxWindow_SetScrollPos",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
3495 return NULL;
3496 if (_argo0) {
3497 if (_argo0 == Py_None) { _arg0 = NULL; }
3498 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3499 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
3500 return NULL;
3501 }
3502 }
3503 _arg3 = (bool ) tempbool3;
3504 {
3505 wxPy_BEGIN_ALLOW_THREADS;
3506 wxWindow_SetScrollPos(_arg0,_arg1,_arg2,_arg3);
3507
3508 wxPy_END_ALLOW_THREADS;
3509 } Py_INCREF(Py_None);
3510 _resultobj = Py_None;
3511 return _resultobj;
3512 }
3513
3514 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3515 static PyObject *_wrap_wxWindow_SetDimensions(PyObject *self, PyObject *args, PyObject *kwargs) {
3516 PyObject * _resultobj;
3517 wxWindow * _arg0;
3518 int _arg1;
3519 int _arg2;
3520 int _arg3;
3521 int _arg4;
3522 int _arg5 = (int ) wxSIZE_AUTO;
3523 PyObject * _argo0 = 0;
3524 char *_kwnames[] = { "self","x","y","width","height","sizeFlags", NULL };
3525
3526 self = self;
3527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxWindow_SetDimensions",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5))
3528 return NULL;
3529 if (_argo0) {
3530 if (_argo0 == Py_None) { _arg0 = NULL; }
3531 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3532 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
3533 return NULL;
3534 }
3535 }
3536 {
3537 wxPy_BEGIN_ALLOW_THREADS;
3538 wxWindow_SetDimensions(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
3539
3540 wxPy_END_ALLOW_THREADS;
3541 } Py_INCREF(Py_None);
3542 _resultobj = Py_None;
3543 return _resultobj;
3544 }
3545
3546 static void wxWindow_SetSize(wxWindow *self,const wxSize & size) {
3547 self->SetSize(size.x, size.y);
3548 }
3549 static PyObject *_wrap_wxWindow_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3550 PyObject * _resultobj;
3551 wxWindow * _arg0;
3552 wxSize * _arg1;
3553 PyObject * _argo0 = 0;
3554 wxSize temp;
3555 PyObject * _obj1 = 0;
3556 char *_kwnames[] = { "self","size", NULL };
3557
3558 self = self;
3559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetSize",_kwnames,&_argo0,&_obj1))
3560 return NULL;
3561 if (_argo0) {
3562 if (_argo0 == Py_None) { _arg0 = NULL; }
3563 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3564 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
3565 return NULL;
3566 }
3567 }
3568 {
3569 _arg1 = &temp;
3570 if (! wxSize_helper(_obj1, &_arg1))
3571 return NULL;
3572 }
3573 {
3574 wxPy_BEGIN_ALLOW_THREADS;
3575 wxWindow_SetSize(_arg0,*_arg1);
3576
3577 wxPy_END_ALLOW_THREADS;
3578 } Py_INCREF(Py_None);
3579 _resultobj = Py_None;
3580 return _resultobj;
3581 }
3582
3583 static void wxWindow_SetPosition(wxWindow *self,const wxPoint & pos) {
3584 self->SetSize(pos.x, pos.y, -1, -1);
3585 }
3586 static PyObject *_wrap_wxWindow_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3587 PyObject * _resultobj;
3588 wxWindow * _arg0;
3589 wxPoint * _arg1;
3590 PyObject * _argo0 = 0;
3591 wxPoint temp;
3592 PyObject * _obj1 = 0;
3593 char *_kwnames[] = { "self","pos", NULL };
3594
3595 self = self;
3596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetPosition",_kwnames,&_argo0,&_obj1))
3597 return NULL;
3598 if (_argo0) {
3599 if (_argo0 == Py_None) { _arg0 = NULL; }
3600 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3601 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
3602 return NULL;
3603 }
3604 }
3605 {
3606 _arg1 = &temp;
3607 if (! wxPoint_helper(_obj1, &_arg1))
3608 return NULL;
3609 }
3610 {
3611 wxPy_BEGIN_ALLOW_THREADS;
3612 wxWindow_SetPosition(_arg0,*_arg1);
3613
3614 wxPy_END_ALLOW_THREADS;
3615 } Py_INCREF(Py_None);
3616 _resultobj = Py_None;
3617 return _resultobj;
3618 }
3619
3620 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3621 static PyObject *_wrap_wxWindow_SetSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
3622 PyObject * _resultobj;
3623 wxWindow * _arg0;
3624 int _arg1 = (int ) -1;
3625 int _arg2 = (int ) -1;
3626 int _arg3 = (int ) -1;
3627 int _arg4 = (int ) -1;
3628 int _arg5 = (int ) -1;
3629 int _arg6 = (int ) -1;
3630 PyObject * _argo0 = 0;
3631 char *_kwnames[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL };
3632
3633 self = self;
3634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iiiiii:wxWindow_SetSizeHints",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6))
3635 return NULL;
3636 if (_argo0) {
3637 if (_argo0 == Py_None) { _arg0 = NULL; }
3638 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3639 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
3640 return NULL;
3641 }
3642 }
3643 {
3644 wxPy_BEGIN_ALLOW_THREADS;
3645 wxWindow_SetSizeHints(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
3646
3647 wxPy_END_ALLOW_THREADS;
3648 } Py_INCREF(Py_None);
3649 _resultobj = Py_None;
3650 return _resultobj;
3651 }
3652
3653 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
3654 static PyObject *_wrap_wxWindow_SetClientSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
3655 PyObject * _resultobj;
3656 wxWindow * _arg0;
3657 int _arg1;
3658 int _arg2;
3659 PyObject * _argo0 = 0;
3660 char *_kwnames[] = { "self","width","height", NULL };
3661
3662 self = self;
3663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxWindow_SetClientSizeWH",_kwnames,&_argo0,&_arg1,&_arg2))
3664 return NULL;
3665 if (_argo0) {
3666 if (_argo0 == Py_None) { _arg0 = NULL; }
3667 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3668 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
3669 return NULL;
3670 }
3671 }
3672 {
3673 wxPy_BEGIN_ALLOW_THREADS;
3674 wxWindow_SetClientSizeWH(_arg0,_arg1,_arg2);
3675
3676 wxPy_END_ALLOW_THREADS;
3677 } Py_INCREF(Py_None);
3678 _resultobj = Py_None;
3679 return _resultobj;
3680 }
3681
3682 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
3683 static PyObject *_wrap_wxWindow_SetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3684 PyObject * _resultobj;
3685 wxWindow * _arg0;
3686 wxSize * _arg1;
3687 PyObject * _argo0 = 0;
3688 wxSize temp;
3689 PyObject * _obj1 = 0;
3690 char *_kwnames[] = { "self","size", NULL };
3691
3692 self = self;
3693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetClientSize",_kwnames,&_argo0,&_obj1))
3694 return NULL;
3695 if (_argo0) {
3696 if (_argo0 == Py_None) { _arg0 = NULL; }
3697 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3698 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
3699 return NULL;
3700 }
3701 }
3702 {
3703 _arg1 = &temp;
3704 if (! wxSize_helper(_obj1, &_arg1))
3705 return NULL;
3706 }
3707 {
3708 wxPy_BEGIN_ALLOW_THREADS;
3709 wxWindow_SetClientSize(_arg0,*_arg1);
3710
3711 wxPy_END_ALLOW_THREADS;
3712 } Py_INCREF(Py_None);
3713 _resultobj = Py_None;
3714 return _resultobj;
3715 }
3716
3717 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
3718 static PyObject *_wrap_wxWindow_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
3719 PyObject * _resultobj;
3720 wxWindow * _arg0;
3721 wxCursor * _arg1;
3722 PyObject * _argo0 = 0;
3723 PyObject * _argo1 = 0;
3724 char *_kwnames[] = { "self","cursor", NULL };
3725
3726 self = self;
3727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetCursor",_kwnames,&_argo0,&_argo1))
3728 return NULL;
3729 if (_argo0) {
3730 if (_argo0 == Py_None) { _arg0 = NULL; }
3731 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3732 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
3733 return NULL;
3734 }
3735 }
3736 if (_argo1) {
3737 if (_argo1 == Py_None) { _arg1 = NULL; }
3738 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCursor_p")) {
3739 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
3740 return NULL;
3741 }
3742 }
3743 {
3744 wxPy_BEGIN_ALLOW_THREADS;
3745 wxWindow_SetCursor(_arg0,*_arg1);
3746
3747 wxPy_END_ALLOW_THREADS;
3748 } Py_INCREF(Py_None);
3749 _resultobj = Py_None;
3750 return _resultobj;
3751 }
3752
3753 #define wxWindow_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
3754 static PyObject *_wrap_wxWindow_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
3755 PyObject * _resultobj;
3756 wxWindow * _arg0;
3757 wxEvtHandler * _arg1;
3758 PyObject * _argo0 = 0;
3759 PyObject * _argo1 = 0;
3760 char *_kwnames[] = { "self","handler", NULL };
3761
3762 self = self;
3763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetEventHandler",_kwnames,&_argo0,&_argo1))
3764 return NULL;
3765 if (_argo0) {
3766 if (_argo0 == Py_None) { _arg0 = NULL; }
3767 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3768 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetEventHandler. Expected _wxWindow_p.");
3769 return NULL;
3770 }
3771 }
3772 if (_argo1) {
3773 if (_argo1 == Py_None) { _arg1 = NULL; }
3774 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
3775 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetEventHandler. Expected _wxEvtHandler_p.");
3776 return NULL;
3777 }
3778 }
3779 {
3780 wxPy_BEGIN_ALLOW_THREADS;
3781 wxWindow_SetEventHandler(_arg0,_arg1);
3782
3783 wxPy_END_ALLOW_THREADS;
3784 } Py_INCREF(Py_None);
3785 _resultobj = Py_None;
3786 return _resultobj;
3787 }
3788
3789 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
3790 static PyObject *_wrap_wxWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
3791 PyObject * _resultobj;
3792 wxWindow * _arg0;
3793 wxString * _arg1;
3794 PyObject * _argo0 = 0;
3795 PyObject * _obj1 = 0;
3796 char *_kwnames[] = { "self","title", NULL };
3797
3798 self = self;
3799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetTitle",_kwnames,&_argo0,&_obj1))
3800 return NULL;
3801 if (_argo0) {
3802 if (_argo0 == Py_None) { _arg0 = NULL; }
3803 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3804 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
3805 return NULL;
3806 }
3807 }
3808 {
3809 if (!PyString_Check(_obj1)) {
3810 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3811 return NULL;
3812 }
3813 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
3814 }
3815 {
3816 wxPy_BEGIN_ALLOW_THREADS;
3817 wxWindow_SetTitle(_arg0,*_arg1);
3818
3819 wxPy_END_ALLOW_THREADS;
3820 } Py_INCREF(Py_None);
3821 _resultobj = Py_None;
3822 {
3823 if (_obj1)
3824 delete _arg1;
3825 }
3826 return _resultobj;
3827 }
3828
3829 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3830 static PyObject *_wrap_wxWindow_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
3831 PyObject * _resultobj;
3832 bool _result;
3833 wxWindow * _arg0;
3834 bool _arg1;
3835 PyObject * _argo0 = 0;
3836 int tempbool1;
3837 char *_kwnames[] = { "self","show", NULL };
3838
3839 self = self;
3840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_Show",_kwnames,&_argo0,&tempbool1))
3841 return NULL;
3842 if (_argo0) {
3843 if (_argo0 == Py_None) { _arg0 = NULL; }
3844 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3845 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
3846 return NULL;
3847 }
3848 }
3849 _arg1 = (bool ) tempbool1;
3850 {
3851 wxPy_BEGIN_ALLOW_THREADS;
3852 _result = (bool )wxWindow_Show(_arg0,_arg1);
3853
3854 wxPy_END_ALLOW_THREADS;
3855 } _resultobj = Py_BuildValue("i",_result);
3856 return _resultobj;
3857 }
3858
3859 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
3860 static PyObject *_wrap_wxWindow_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3861 PyObject * _resultobj;
3862 bool _result;
3863 wxWindow * _arg0;
3864 PyObject * _argo0 = 0;
3865 char *_kwnames[] = { "self", NULL };
3866
3867 self = self;
3868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_TransferDataFromWindow",_kwnames,&_argo0))
3869 return NULL;
3870 if (_argo0) {
3871 if (_argo0 == Py_None) { _arg0 = NULL; }
3872 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3873 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
3874 return NULL;
3875 }
3876 }
3877 {
3878 wxPy_BEGIN_ALLOW_THREADS;
3879 _result = (bool )wxWindow_TransferDataFromWindow(_arg0);
3880
3881 wxPy_END_ALLOW_THREADS;
3882 } _resultobj = Py_BuildValue("i",_result);
3883 return _resultobj;
3884 }
3885
3886 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
3887 static PyObject *_wrap_wxWindow_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3888 PyObject * _resultobj;
3889 bool _result;
3890 wxWindow * _arg0;
3891 PyObject * _argo0 = 0;
3892 char *_kwnames[] = { "self", NULL };
3893
3894 self = self;
3895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_TransferDataToWindow",_kwnames,&_argo0))
3896 return NULL;
3897 if (_argo0) {
3898 if (_argo0 == Py_None) { _arg0 = NULL; }
3899 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3900 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
3901 return NULL;
3902 }
3903 }
3904 {
3905 wxPy_BEGIN_ALLOW_THREADS;
3906 _result = (bool )wxWindow_TransferDataToWindow(_arg0);
3907
3908 wxPy_END_ALLOW_THREADS;
3909 } _resultobj = Py_BuildValue("i",_result);
3910 return _resultobj;
3911 }
3912
3913 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
3914 static PyObject *_wrap_wxWindow_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
3915 PyObject * _resultobj;
3916 bool _result;
3917 wxWindow * _arg0;
3918 PyObject * _argo0 = 0;
3919 char *_kwnames[] = { "self", NULL };
3920
3921 self = self;
3922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Validate",_kwnames,&_argo0))
3923 return NULL;
3924 if (_argo0) {
3925 if (_argo0 == Py_None) { _arg0 = NULL; }
3926 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3927 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
3928 return NULL;
3929 }
3930 }
3931 {
3932 wxPy_BEGIN_ALLOW_THREADS;
3933 _result = (bool )wxWindow_Validate(_arg0);
3934
3935 wxPy_END_ALLOW_THREADS;
3936 } _resultobj = Py_BuildValue("i",_result);
3937 return _resultobj;
3938 }
3939
3940 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
3941 static PyObject *_wrap_wxWindow_WarpPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
3942 PyObject * _resultobj;
3943 wxWindow * _arg0;
3944 int _arg1;
3945 int _arg2;
3946 PyObject * _argo0 = 0;
3947 char *_kwnames[] = { "self","x","y", NULL };
3948
3949 self = self;
3950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxWindow_WarpPointer",_kwnames,&_argo0,&_arg1,&_arg2))
3951 return NULL;
3952 if (_argo0) {
3953 if (_argo0 == Py_None) { _arg0 = NULL; }
3954 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3955 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
3956 return NULL;
3957 }
3958 }
3959 {
3960 wxPy_BEGIN_ALLOW_THREADS;
3961 wxWindow_WarpPointer(_arg0,_arg1,_arg2);
3962
3963 wxPy_END_ALLOW_THREADS;
3964 } Py_INCREF(Py_None);
3965 _resultobj = Py_None;
3966 return _resultobj;
3967 }
3968
3969 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
3970 static PyObject *_wrap_wxWindow_ConvertDialogPointToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
3971 PyObject * _resultobj;
3972 wxPoint * _result;
3973 wxWindow * _arg0;
3974 wxPoint * _arg1;
3975 PyObject * _argo0 = 0;
3976 wxPoint temp;
3977 PyObject * _obj1 = 0;
3978 char *_kwnames[] = { "self","pt", NULL };
3979 char _ptemp[128];
3980
3981 self = self;
3982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames,&_argo0,&_obj1))
3983 return NULL;
3984 if (_argo0) {
3985 if (_argo0 == Py_None) { _arg0 = NULL; }
3986 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3987 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
3988 return NULL;
3989 }
3990 }
3991 {
3992 _arg1 = &temp;
3993 if (! wxPoint_helper(_obj1, &_arg1))
3994 return NULL;
3995 }
3996 {
3997 wxPy_BEGIN_ALLOW_THREADS;
3998 _result = new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0,*_arg1));
3999
4000 wxPy_END_ALLOW_THREADS;
4001 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
4002 _resultobj = Py_BuildValue("s",_ptemp);
4003 return _resultobj;
4004 }
4005
4006 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4007 static PyObject *_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
4008 PyObject * _resultobj;
4009 wxSize * _result;
4010 wxWindow * _arg0;
4011 wxSize * _arg1;
4012 PyObject * _argo0 = 0;
4013 wxSize temp;
4014 PyObject * _obj1 = 0;
4015 char *_kwnames[] = { "self","sz", NULL };
4016 char _ptemp[128];
4017
4018 self = self;
4019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames,&_argo0,&_obj1))
4020 return NULL;
4021 if (_argo0) {
4022 if (_argo0 == Py_None) { _arg0 = NULL; }
4023 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4024 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
4025 return NULL;
4026 }
4027 }
4028 {
4029 _arg1 = &temp;
4030 if (! wxSize_helper(_obj1, &_arg1))
4031 return NULL;
4032 }
4033 {
4034 wxPy_BEGIN_ALLOW_THREADS;
4035 _result = new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0,*_arg1));
4036
4037 wxPy_END_ALLOW_THREADS;
4038 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
4039 _resultobj = Py_BuildValue("s",_ptemp);
4040 return _resultobj;
4041 }
4042
4043 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4044 static PyObject *_wrap_wxWindow_ConvertPixelPointToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
4045 PyObject * _resultobj;
4046 wxPoint * _result;
4047 wxWindow * _arg0;
4048 wxPoint * _arg1;
4049 PyObject * _argo0 = 0;
4050 wxPoint temp;
4051 PyObject * _obj1 = 0;
4052 char *_kwnames[] = { "self","pt", NULL };
4053 char _ptemp[128];
4054
4055 self = self;
4056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames,&_argo0,&_obj1))
4057 return NULL;
4058 if (_argo0) {
4059 if (_argo0 == Py_None) { _arg0 = NULL; }
4060 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4061 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
4062 return NULL;
4063 }
4064 }
4065 {
4066 _arg1 = &temp;
4067 if (! wxPoint_helper(_obj1, &_arg1))
4068 return NULL;
4069 }
4070 {
4071 wxPy_BEGIN_ALLOW_THREADS;
4072 _result = new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0,*_arg1));
4073
4074 wxPy_END_ALLOW_THREADS;
4075 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
4076 _resultobj = Py_BuildValue("s",_ptemp);
4077 return _resultobj;
4078 }
4079
4080 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4081 static PyObject *_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
4082 PyObject * _resultobj;
4083 wxSize * _result;
4084 wxWindow * _arg0;
4085 wxSize * _arg1;
4086 PyObject * _argo0 = 0;
4087 wxSize temp;
4088 PyObject * _obj1 = 0;
4089 char *_kwnames[] = { "self","sz", NULL };
4090 char _ptemp[128];
4091
4092 self = self;
4093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames,&_argo0,&_obj1))
4094 return NULL;
4095 if (_argo0) {
4096 if (_argo0 == Py_None) { _arg0 = NULL; }
4097 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4098 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
4099 return NULL;
4100 }
4101 }
4102 {
4103 _arg1 = &temp;
4104 if (! wxSize_helper(_obj1, &_arg1))
4105 return NULL;
4106 }
4107 {
4108 wxPy_BEGIN_ALLOW_THREADS;
4109 _result = new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0,*_arg1));
4110
4111 wxPy_END_ALLOW_THREADS;
4112 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
4113 _resultobj = Py_BuildValue("s",_ptemp);
4114 return _resultobj;
4115 }
4116
4117 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4118 static PyObject *_wrap_wxWindow_SetToolTipString(PyObject *self, PyObject *args, PyObject *kwargs) {
4119 PyObject * _resultobj;
4120 wxWindow * _arg0;
4121 wxString * _arg1;
4122 PyObject * _argo0 = 0;
4123 PyObject * _obj1 = 0;
4124 char *_kwnames[] = { "self","tip", NULL };
4125
4126 self = self;
4127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetToolTipString",_kwnames,&_argo0,&_obj1))
4128 return NULL;
4129 if (_argo0) {
4130 if (_argo0 == Py_None) { _arg0 = NULL; }
4131 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4132 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
4133 return NULL;
4134 }
4135 }
4136 {
4137 if (!PyString_Check(_obj1)) {
4138 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4139 return NULL;
4140 }
4141 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
4142 }
4143 {
4144 wxPy_BEGIN_ALLOW_THREADS;
4145 wxWindow_SetToolTipString(_arg0,*_arg1);
4146
4147 wxPy_END_ALLOW_THREADS;
4148 } Py_INCREF(Py_None);
4149 _resultobj = Py_None;
4150 {
4151 if (_obj1)
4152 delete _arg1;
4153 }
4154 return _resultobj;
4155 }
4156
4157 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4158 static PyObject *_wrap_wxWindow_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
4159 PyObject * _resultobj;
4160 wxWindow * _arg0;
4161 wxToolTip * _arg1;
4162 PyObject * _argo0 = 0;
4163 PyObject * _argo1 = 0;
4164 char *_kwnames[] = { "self","tooltip", NULL };
4165
4166 self = self;
4167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetToolTip",_kwnames,&_argo0,&_argo1))
4168 return NULL;
4169 if (_argo0) {
4170 if (_argo0 == Py_None) { _arg0 = NULL; }
4171 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4172 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
4173 return NULL;
4174 }
4175 }
4176 if (_argo1) {
4177 if (_argo1 == Py_None) { _arg1 = NULL; }
4178 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxToolTip_p")) {
4179 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
4180 return NULL;
4181 }
4182 }
4183 {
4184 wxPy_BEGIN_ALLOW_THREADS;
4185 wxWindow_SetToolTip(_arg0,_arg1);
4186
4187 wxPy_END_ALLOW_THREADS;
4188 } Py_INCREF(Py_None);
4189 _resultobj = Py_None;
4190 return _resultobj;
4191 }
4192
4193 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
4194 static PyObject *_wrap_wxWindow_GetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
4195 PyObject * _resultobj;
4196 wxToolTip * _result;
4197 wxWindow * _arg0;
4198 PyObject * _argo0 = 0;
4199 char *_kwnames[] = { "self", NULL };
4200 char _ptemp[128];
4201
4202 self = self;
4203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetToolTip",_kwnames,&_argo0))
4204 return NULL;
4205 if (_argo0) {
4206 if (_argo0 == Py_None) { _arg0 = NULL; }
4207 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4208 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
4209 return NULL;
4210 }
4211 }
4212 {
4213 wxPy_BEGIN_ALLOW_THREADS;
4214 _result = (wxToolTip *)wxWindow_GetToolTip(_arg0);
4215
4216 wxPy_END_ALLOW_THREADS;
4217 } if (_result) {
4218 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolTip_p");
4219 _resultobj = Py_BuildValue("s",_ptemp);
4220 } else {
4221 Py_INCREF(Py_None);
4222 _resultobj = Py_None;
4223 }
4224 return _resultobj;
4225 }
4226
4227 #define wxWindow_SetSizer(_swigobj,_swigarg0) (_swigobj->SetSizer(_swigarg0))
4228 static PyObject *_wrap_wxWindow_SetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4229 PyObject * _resultobj;
4230 wxWindow * _arg0;
4231 wxSizer * _arg1;
4232 PyObject * _argo0 = 0;
4233 PyObject * _argo1 = 0;
4234 char *_kwnames[] = { "self","sizer", NULL };
4235
4236 self = self;
4237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetSizer",_kwnames,&_argo0,&_argo1))
4238 return NULL;
4239 if (_argo0) {
4240 if (_argo0 == Py_None) { _arg0 = NULL; }
4241 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4242 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetSizer. Expected _wxWindow_p.");
4243 return NULL;
4244 }
4245 }
4246 if (_argo1) {
4247 if (_argo1 == Py_None) { _arg1 = NULL; }
4248 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSizer_p")) {
4249 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetSizer. Expected _wxSizer_p.");
4250 return NULL;
4251 }
4252 }
4253 {
4254 wxPy_BEGIN_ALLOW_THREADS;
4255 wxWindow_SetSizer(_arg0,_arg1);
4256
4257 wxPy_END_ALLOW_THREADS;
4258 } Py_INCREF(Py_None);
4259 _resultobj = Py_None;
4260 return _resultobj;
4261 }
4262
4263 #define wxWindow_GetValidator(_swigobj) (_swigobj->GetValidator())
4264 static PyObject *_wrap_wxWindow_GetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
4265 PyObject * _resultobj;
4266 wxValidator * _result;
4267 wxWindow * _arg0;
4268 PyObject * _argo0 = 0;
4269 char *_kwnames[] = { "self", NULL };
4270 char _ptemp[128];
4271
4272 self = self;
4273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetValidator",_kwnames,&_argo0))
4274 return NULL;
4275 if (_argo0) {
4276 if (_argo0 == Py_None) { _arg0 = NULL; }
4277 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4278 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetValidator. Expected _wxWindow_p.");
4279 return NULL;
4280 }
4281 }
4282 {
4283 wxPy_BEGIN_ALLOW_THREADS;
4284 _result = (wxValidator *)wxWindow_GetValidator(_arg0);
4285
4286 wxPy_END_ALLOW_THREADS;
4287 } if (_result) {
4288 SWIG_MakePtr(_ptemp, (char *) _result,"_wxValidator_p");
4289 _resultobj = Py_BuildValue("s",_ptemp);
4290 } else {
4291 Py_INCREF(Py_None);
4292 _resultobj = Py_None;
4293 }
4294 return _resultobj;
4295 }
4296
4297 #define wxWindow_SetValidator(_swigobj,_swigarg0) (_swigobj->SetValidator(_swigarg0))
4298 static PyObject *_wrap_wxWindow_SetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
4299 PyObject * _resultobj;
4300 wxWindow * _arg0;
4301 wxValidator * _arg1;
4302 PyObject * _argo0 = 0;
4303 PyObject * _argo1 = 0;
4304 char *_kwnames[] = { "self","validator", NULL };
4305
4306 self = self;
4307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetValidator",_kwnames,&_argo0,&_argo1))
4308 return NULL;
4309 if (_argo0) {
4310 if (_argo0 == Py_None) { _arg0 = NULL; }
4311 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4312 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetValidator. Expected _wxWindow_p.");
4313 return NULL;
4314 }
4315 }
4316 if (_argo1) {
4317 if (_argo1 == Py_None) { _arg1 = NULL; }
4318 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxValidator_p")) {
4319 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetValidator. Expected _wxValidator_p.");
4320 return NULL;
4321 }
4322 }
4323 {
4324 wxPy_BEGIN_ALLOW_THREADS;
4325 wxWindow_SetValidator(_arg0,*_arg1);
4326
4327 wxPy_END_ALLOW_THREADS;
4328 } Py_INCREF(Py_None);
4329 _resultobj = Py_None;
4330 return _resultobj;
4331 }
4332
4333 #define wxWindow_SetDropTarget(_swigobj,_swigarg0) (_swigobj->SetDropTarget(_swigarg0))
4334 static PyObject *_wrap_wxWindow_SetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
4335 PyObject * _resultobj;
4336 wxWindow * _arg0;
4337 wxDropTarget * _arg1;
4338 PyObject * _argo0 = 0;
4339 PyObject * _argo1 = 0;
4340 char *_kwnames[] = { "self","target", NULL };
4341
4342 self = self;
4343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetDropTarget",_kwnames,&_argo0,&_argo1))
4344 return NULL;
4345 if (_argo0) {
4346 if (_argo0 == Py_None) { _arg0 = NULL; }
4347 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4348 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetDropTarget. Expected _wxWindow_p.");
4349 return NULL;
4350 }
4351 }
4352 if (_argo1) {
4353 if (_argo1 == Py_None) { _arg1 = NULL; }
4354 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDropTarget_p")) {
4355 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetDropTarget. Expected _wxDropTarget_p.");
4356 return NULL;
4357 }
4358 }
4359 {
4360 wxPy_BEGIN_ALLOW_THREADS;
4361 wxWindow_SetDropTarget(_arg0,_arg1);
4362
4363 wxPy_END_ALLOW_THREADS;
4364 } Py_INCREF(Py_None);
4365 _resultobj = Py_None;
4366 return _resultobj;
4367 }
4368
4369 #define wxWindow_GetDropTarget(_swigobj) (_swigobj->GetDropTarget())
4370 static PyObject *_wrap_wxWindow_GetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
4371 PyObject * _resultobj;
4372 wxDropTarget * _result;
4373 wxWindow * _arg0;
4374 PyObject * _argo0 = 0;
4375 char *_kwnames[] = { "self", NULL };
4376 char _ptemp[128];
4377
4378 self = self;
4379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetDropTarget",_kwnames,&_argo0))
4380 return NULL;
4381 if (_argo0) {
4382 if (_argo0 == Py_None) { _arg0 = NULL; }
4383 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4384 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetDropTarget. Expected _wxWindow_p.");
4385 return NULL;
4386 }
4387 }
4388 {
4389 wxPy_BEGIN_ALLOW_THREADS;
4390 _result = (wxDropTarget *)wxWindow_GetDropTarget(_arg0);
4391
4392 wxPy_END_ALLOW_THREADS;
4393 } if (_result) {
4394 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDropTarget_p");
4395 _resultobj = Py_BuildValue("s",_ptemp);
4396 } else {
4397 Py_INCREF(Py_None);
4398 _resultobj = Py_None;
4399 }
4400 return _resultobj;
4401 }
4402
4403 static void *SwigwxPanelTowxWindow(void *ptr) {
4404 wxPanel *src;
4405 wxWindow *dest;
4406 src = (wxPanel *) ptr;
4407 dest = (wxWindow *) src;
4408 return (void *) dest;
4409 }
4410
4411 static void *SwigwxPanelTowxEvtHandler(void *ptr) {
4412 wxPanel *src;
4413 wxEvtHandler *dest;
4414 src = (wxPanel *) ptr;
4415 dest = (wxEvtHandler *) src;
4416 return (void *) dest;
4417 }
4418
4419 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4420 static PyObject *_wrap_new_wxPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
4421 PyObject * _resultobj;
4422 wxPanel * _result;
4423 wxWindow * _arg0;
4424 wxWindowID _arg1;
4425 wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition;
4426 wxSize * _arg3 = (wxSize *) &wxPyDefaultSize;
4427 long _arg4 = (long ) wxTAB_TRAVERSAL;
4428 char * _arg5 = (char *) "panel";
4429 PyObject * _argo0 = 0;
4430 wxPoint temp;
4431 PyObject * _obj2 = 0;
4432 wxSize temp0;
4433 PyObject * _obj3 = 0;
4434 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
4435 char _ptemp[128];
4436
4437 self = self;
4438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxPanel",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
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 new_wxPanel. Expected _wxWindow_p.");
4444 return NULL;
4445 }
4446 }
4447 if (_obj2)
4448 {
4449 _arg2 = &temp;
4450 if (! wxPoint_helper(_obj2, &_arg2))
4451 return NULL;
4452 }
4453 if (_obj3)
4454 {
4455 _arg3 = &temp0;
4456 if (! wxSize_helper(_obj3, &_arg3))
4457 return NULL;
4458 }
4459 {
4460 wxPy_BEGIN_ALLOW_THREADS;
4461 _result = (wxPanel *)new_wxPanel(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
4462
4463 wxPy_END_ALLOW_THREADS;
4464 } if (_result) {
4465 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPanel_p");
4466 _resultobj = Py_BuildValue("s",_ptemp);
4467 } else {
4468 Py_INCREF(Py_None);
4469 _resultobj = Py_None;
4470 }
4471 return _resultobj;
4472 }
4473
4474 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
4475 static PyObject *_wrap_wxPanel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
4476 PyObject * _resultobj;
4477 wxPanel * _arg0;
4478 PyObject * _argo0 = 0;
4479 char *_kwnames[] = { "self", NULL };
4480
4481 self = self;
4482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPanel_InitDialog",_kwnames,&_argo0))
4483 return NULL;
4484 if (_argo0) {
4485 if (_argo0 == Py_None) { _arg0 = NULL; }
4486 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPanel_p")) {
4487 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
4488 return NULL;
4489 }
4490 }
4491 {
4492 wxPy_BEGIN_ALLOW_THREADS;
4493 wxPanel_InitDialog(_arg0);
4494
4495 wxPy_END_ALLOW_THREADS;
4496 } Py_INCREF(Py_None);
4497 _resultobj = Py_None;
4498 return _resultobj;
4499 }
4500
4501 #define wxPanel_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
4502 static PyObject *_wrap_wxPanel_GetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4503 PyObject * _resultobj;
4504 wxButton * _result;
4505 wxPanel * _arg0;
4506 PyObject * _argo0 = 0;
4507 char *_kwnames[] = { "self", NULL };
4508 char _ptemp[128];
4509
4510 self = self;
4511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPanel_GetDefaultItem",_kwnames,&_argo0))
4512 return NULL;
4513 if (_argo0) {
4514 if (_argo0 == Py_None) { _arg0 = NULL; }
4515 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPanel_p")) {
4516 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPanel_GetDefaultItem. Expected _wxPanel_p.");
4517 return NULL;
4518 }
4519 }
4520 {
4521 wxPy_BEGIN_ALLOW_THREADS;
4522 _result = (wxButton *)wxPanel_GetDefaultItem(_arg0);
4523
4524 wxPy_END_ALLOW_THREADS;
4525 } if (_result) {
4526 SWIG_MakePtr(_ptemp, (char *) _result,"_wxButton_p");
4527 _resultobj = Py_BuildValue("s",_ptemp);
4528 } else {
4529 Py_INCREF(Py_None);
4530 _resultobj = Py_None;
4531 }
4532 return _resultobj;
4533 }
4534
4535 #define wxPanel_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
4536 static PyObject *_wrap_wxPanel_SetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4537 PyObject * _resultobj;
4538 wxPanel * _arg0;
4539 wxButton * _arg1;
4540 PyObject * _argo0 = 0;
4541 PyObject * _argo1 = 0;
4542 char *_kwnames[] = { "self","btn", NULL };
4543
4544 self = self;
4545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPanel_SetDefaultItem",_kwnames,&_argo0,&_argo1))
4546 return NULL;
4547 if (_argo0) {
4548 if (_argo0 == Py_None) { _arg0 = NULL; }
4549 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPanel_p")) {
4550 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPanel_SetDefaultItem. Expected _wxPanel_p.");
4551 return NULL;
4552 }
4553 }
4554 if (_argo1) {
4555 if (_argo1 == Py_None) { _arg1 = NULL; }
4556 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxButton_p")) {
4557 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPanel_SetDefaultItem. Expected _wxButton_p.");
4558 return NULL;
4559 }
4560 }
4561 {
4562 wxPy_BEGIN_ALLOW_THREADS;
4563 wxPanel_SetDefaultItem(_arg0,_arg1);
4564
4565 wxPy_END_ALLOW_THREADS;
4566 } Py_INCREF(Py_None);
4567 _resultobj = Py_None;
4568 return _resultobj;
4569 }
4570
4571 static void *SwigwxDialogTowxPanel(void *ptr) {
4572 wxDialog *src;
4573 wxPanel *dest;
4574 src = (wxDialog *) ptr;
4575 dest = (wxPanel *) src;
4576 return (void *) dest;
4577 }
4578
4579 static void *SwigwxDialogTowxWindow(void *ptr) {
4580 wxDialog *src;
4581 wxWindow *dest;
4582 src = (wxDialog *) ptr;
4583 dest = (wxWindow *) src;
4584 return (void *) dest;
4585 }
4586
4587 static void *SwigwxDialogTowxEvtHandler(void *ptr) {
4588 wxDialog *src;
4589 wxEvtHandler *dest;
4590 src = (wxDialog *) ptr;
4591 dest = (wxEvtHandler *) src;
4592 return (void *) dest;
4593 }
4594
4595 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4596 static PyObject *_wrap_new_wxDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
4597 PyObject * _resultobj;
4598 wxDialog * _result;
4599 wxWindow * _arg0;
4600 wxWindowID _arg1;
4601 wxString * _arg2;
4602 wxPoint * _arg3 = (wxPoint *) &wxPyDefaultPosition;
4603 wxSize * _arg4 = (wxSize *) &wxPyDefaultSize;
4604 long _arg5 = (long ) wxDEFAULT_DIALOG_STYLE;
4605 char * _arg6 = (char *) "dialogBox";
4606 PyObject * _argo0 = 0;
4607 PyObject * _obj2 = 0;
4608 wxPoint temp;
4609 PyObject * _obj3 = 0;
4610 wxSize temp0;
4611 PyObject * _obj4 = 0;
4612 char *_kwnames[] = { "parent","id","title","pos","size","style","name", NULL };
4613 char _ptemp[128];
4614
4615 self = self;
4616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOls:new_wxDialog",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_arg6))
4617 return NULL;
4618 if (_argo0) {
4619 if (_argo0 == Py_None) { _arg0 = NULL; }
4620 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4621 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
4622 return NULL;
4623 }
4624 }
4625 {
4626 if (!PyString_Check(_obj2)) {
4627 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4628 return NULL;
4629 }
4630 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
4631 }
4632 if (_obj3)
4633 {
4634 _arg3 = &temp;
4635 if (! wxPoint_helper(_obj3, &_arg3))
4636 return NULL;
4637 }
4638 if (_obj4)
4639 {
4640 _arg4 = &temp0;
4641 if (! wxSize_helper(_obj4, &_arg4))
4642 return NULL;
4643 }
4644 {
4645 wxPy_BEGIN_ALLOW_THREADS;
4646 _result = (wxDialog *)new_wxDialog(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
4647
4648 wxPy_END_ALLOW_THREADS;
4649 } if (_result) {
4650 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDialog_p");
4651 _resultobj = Py_BuildValue("s",_ptemp);
4652 } else {
4653 Py_INCREF(Py_None);
4654 _resultobj = Py_None;
4655 }
4656 {
4657 if (_obj2)
4658 delete _arg2;
4659 }
4660 return _resultobj;
4661 }
4662
4663 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
4664 static PyObject *_wrap_wxDialog_Centre(PyObject *self, PyObject *args, PyObject *kwargs) {
4665 PyObject * _resultobj;
4666 wxDialog * _arg0;
4667 int _arg1 = (int ) wxBOTH;
4668 PyObject * _argo0 = 0;
4669 char *_kwnames[] = { "self","direction", NULL };
4670
4671 self = self;
4672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxDialog_Centre",_kwnames,&_argo0,&_arg1))
4673 return NULL;
4674 if (_argo0) {
4675 if (_argo0 == Py_None) { _arg0 = NULL; }
4676 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
4677 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
4678 return NULL;
4679 }
4680 }
4681 {
4682 wxPy_BEGIN_ALLOW_THREADS;
4683 wxDialog_Centre(_arg0,_arg1);
4684
4685 wxPy_END_ALLOW_THREADS;
4686 } Py_INCREF(Py_None);
4687 _resultobj = Py_None;
4688 return _resultobj;
4689 }
4690
4691 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
4692 static PyObject *_wrap_wxDialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4693 PyObject * _resultobj;
4694 wxDialog * _arg0;
4695 int _arg1;
4696 PyObject * _argo0 = 0;
4697 char *_kwnames[] = { "self","retCode", NULL };
4698
4699 self = self;
4700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDialog_EndModal",_kwnames,&_argo0,&_arg1))
4701 return NULL;
4702 if (_argo0) {
4703 if (_argo0 == Py_None) { _arg0 = NULL; }
4704 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
4705 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
4706 return NULL;
4707 }
4708 }
4709 {
4710 wxPy_BEGIN_ALLOW_THREADS;
4711 wxDialog_EndModal(_arg0,_arg1);
4712
4713 wxPy_END_ALLOW_THREADS;
4714 } Py_INCREF(Py_None);
4715 _resultobj = Py_None;
4716 return _resultobj;
4717 }
4718
4719 #define wxDialog_GetTitle(_swigobj) (_swigobj->GetTitle())
4720 static PyObject *_wrap_wxDialog_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
4721 PyObject * _resultobj;
4722 wxString * _result;
4723 wxDialog * _arg0;
4724 PyObject * _argo0 = 0;
4725 char *_kwnames[] = { "self", NULL };
4726
4727 self = self;
4728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDialog_GetTitle",_kwnames,&_argo0))
4729 return NULL;
4730 if (_argo0) {
4731 if (_argo0 == Py_None) { _arg0 = NULL; }
4732 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
4733 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_GetTitle. Expected _wxDialog_p.");
4734 return NULL;
4735 }
4736 }
4737 {
4738 wxPy_BEGIN_ALLOW_THREADS;
4739 _result = new wxString (wxDialog_GetTitle(_arg0));
4740
4741 wxPy_END_ALLOW_THREADS;
4742 }{
4743 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
4744 }
4745 {
4746 delete _result;
4747 }
4748 return _resultobj;
4749 }
4750
4751 #define wxDialog_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
4752 static PyObject *_wrap_wxDialog_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
4753 PyObject * _resultobj;
4754 wxDialog * _arg0;
4755 bool _arg1;
4756 PyObject * _argo0 = 0;
4757 int tempbool1;
4758 char *_kwnames[] = { "self","iconize", NULL };
4759
4760 self = self;
4761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDialog_Iconize",_kwnames,&_argo0,&tempbool1))
4762 return NULL;
4763 if (_argo0) {
4764 if (_argo0 == Py_None) { _arg0 = NULL; }
4765 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
4766 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_Iconize. Expected _wxDialog_p.");
4767 return NULL;
4768 }
4769 }
4770 _arg1 = (bool ) tempbool1;
4771 {
4772 wxPy_BEGIN_ALLOW_THREADS;
4773 wxDialog_Iconize(_arg0,_arg1);
4774
4775 wxPy_END_ALLOW_THREADS;
4776 } Py_INCREF(Py_None);
4777 _resultobj = Py_None;
4778 return _resultobj;
4779 }
4780
4781 #define wxDialog_IsIconized(_swigobj) (_swigobj->IsIconized())
4782 static PyObject *_wrap_wxDialog_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
4783 PyObject * _resultobj;
4784 bool _result;
4785 wxDialog * _arg0;
4786 PyObject * _argo0 = 0;
4787 char *_kwnames[] = { "self", NULL };
4788
4789 self = self;
4790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDialog_IsIconized",_kwnames,&_argo0))
4791 return NULL;
4792 if (_argo0) {
4793 if (_argo0 == Py_None) { _arg0 = NULL; }
4794 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
4795 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_IsIconized. Expected _wxDialog_p.");
4796 return NULL;
4797 }
4798 }
4799 {
4800 wxPy_BEGIN_ALLOW_THREADS;
4801 _result = (bool )wxDialog_IsIconized(_arg0);
4802
4803 wxPy_END_ALLOW_THREADS;
4804 } _resultobj = Py_BuildValue("i",_result);
4805 return _resultobj;
4806 }
4807
4808 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
4809 static PyObject *_wrap_wxDialog_SetModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4810 PyObject * _resultobj;
4811 wxDialog * _arg0;
4812 bool _arg1;
4813 PyObject * _argo0 = 0;
4814 int tempbool1;
4815 char *_kwnames[] = { "self","flag", NULL };
4816
4817 self = self;
4818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDialog_SetModal",_kwnames,&_argo0,&tempbool1))
4819 return NULL;
4820 if (_argo0) {
4821 if (_argo0 == Py_None) { _arg0 = NULL; }
4822 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
4823 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
4824 return NULL;
4825 }
4826 }
4827 _arg1 = (bool ) tempbool1;
4828 {
4829 wxPy_BEGIN_ALLOW_THREADS;
4830 wxDialog_SetModal(_arg0,_arg1);
4831
4832 wxPy_END_ALLOW_THREADS;
4833 } Py_INCREF(Py_None);
4834 _resultobj = Py_None;
4835 return _resultobj;
4836 }
4837
4838 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
4839 static PyObject *_wrap_wxDialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4840 PyObject * _resultobj;
4841 bool _result;
4842 wxDialog * _arg0;
4843 PyObject * _argo0 = 0;
4844 char *_kwnames[] = { "self", NULL };
4845
4846 self = self;
4847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDialog_IsModal",_kwnames,&_argo0))
4848 return NULL;
4849 if (_argo0) {
4850 if (_argo0 == Py_None) { _arg0 = NULL; }
4851 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
4852 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
4853 return NULL;
4854 }
4855 }
4856 {
4857 wxPy_BEGIN_ALLOW_THREADS;
4858 _result = (bool )wxDialog_IsModal(_arg0);
4859
4860 wxPy_END_ALLOW_THREADS;
4861 } _resultobj = Py_BuildValue("i",_result);
4862 return _resultobj;
4863 }
4864
4865 #define wxDialog_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4866 static PyObject *_wrap_wxDialog_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
4867 PyObject * _resultobj;
4868 wxDialog * _arg0;
4869 wxString * _arg1;
4870 PyObject * _argo0 = 0;
4871 PyObject * _obj1 = 0;
4872 char *_kwnames[] = { "self","title", NULL };
4873
4874 self = self;
4875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDialog_SetTitle",_kwnames,&_argo0,&_obj1))
4876 return NULL;
4877 if (_argo0) {
4878 if (_argo0 == Py_None) { _arg0 = NULL; }
4879 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
4880 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_SetTitle. Expected _wxDialog_p.");
4881 return NULL;
4882 }
4883 }
4884 {
4885 if (!PyString_Check(_obj1)) {
4886 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4887 return NULL;
4888 }
4889 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
4890 }
4891 {
4892 wxPy_BEGIN_ALLOW_THREADS;
4893 wxDialog_SetTitle(_arg0,*_arg1);
4894
4895 wxPy_END_ALLOW_THREADS;
4896 } Py_INCREF(Py_None);
4897 _resultobj = Py_None;
4898 {
4899 if (_obj1)
4900 delete _arg1;
4901 }
4902 return _resultobj;
4903 }
4904
4905 #define wxDialog_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4906 static PyObject *_wrap_wxDialog_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
4907 PyObject * _resultobj;
4908 bool _result;
4909 wxDialog * _arg0;
4910 bool _arg1;
4911 PyObject * _argo0 = 0;
4912 int tempbool1;
4913 char *_kwnames[] = { "self","show", NULL };
4914
4915 self = self;
4916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDialog_Show",_kwnames,&_argo0,&tempbool1))
4917 return NULL;
4918 if (_argo0) {
4919 if (_argo0 == Py_None) { _arg0 = NULL; }
4920 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
4921 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_Show. Expected _wxDialog_p.");
4922 return NULL;
4923 }
4924 }
4925 _arg1 = (bool ) tempbool1;
4926 {
4927 wxPy_BEGIN_ALLOW_THREADS;
4928 _result = (bool )wxDialog_Show(_arg0,_arg1);
4929
4930 wxPy_END_ALLOW_THREADS;
4931 } _resultobj = Py_BuildValue("i",_result);
4932 return _resultobj;
4933 }
4934
4935 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
4936 static PyObject *_wrap_wxDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4937 PyObject * _resultobj;
4938 int _result;
4939 wxDialog * _arg0;
4940 PyObject * _argo0 = 0;
4941 char *_kwnames[] = { "self", NULL };
4942
4943 self = self;
4944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDialog_ShowModal",_kwnames,&_argo0))
4945 return NULL;
4946 if (_argo0) {
4947 if (_argo0 == Py_None) { _arg0 = NULL; }
4948 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
4949 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
4950 return NULL;
4951 }
4952 }
4953 {
4954 wxPy_BEGIN_ALLOW_THREADS;
4955 _result = (int )wxDialog_ShowModal(_arg0);
4956
4957 wxPy_END_ALLOW_THREADS;
4958 } _resultobj = Py_BuildValue("i",_result);
4959 return _resultobj;
4960 }
4961
4962 #define wxDialog_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
4963 static PyObject *_wrap_wxDialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4964 PyObject * _resultobj;
4965 int _result;
4966 wxDialog * _arg0;
4967 PyObject * _argo0 = 0;
4968 char *_kwnames[] = { "self", NULL };
4969
4970 self = self;
4971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDialog_GetReturnCode",_kwnames,&_argo0))
4972 return NULL;
4973 if (_argo0) {
4974 if (_argo0 == Py_None) { _arg0 = NULL; }
4975 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
4976 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_GetReturnCode. Expected _wxDialog_p.");
4977 return NULL;
4978 }
4979 }
4980 {
4981 wxPy_BEGIN_ALLOW_THREADS;
4982 _result = (int )wxDialog_GetReturnCode(_arg0);
4983
4984 wxPy_END_ALLOW_THREADS;
4985 } _resultobj = Py_BuildValue("i",_result);
4986 return _resultobj;
4987 }
4988
4989 #define wxDialog_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
4990 static PyObject *_wrap_wxDialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4991 PyObject * _resultobj;
4992 wxDialog * _arg0;
4993 int _arg1;
4994 PyObject * _argo0 = 0;
4995 char *_kwnames[] = { "self","retCode", NULL };
4996
4997 self = self;
4998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDialog_SetReturnCode",_kwnames,&_argo0,&_arg1))
4999 return NULL;
5000 if (_argo0) {
5001 if (_argo0 == Py_None) { _arg0 = NULL; }
5002 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
5003 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_SetReturnCode. Expected _wxDialog_p.");
5004 return NULL;
5005 }
5006 }
5007 {
5008 wxPy_BEGIN_ALLOW_THREADS;
5009 wxDialog_SetReturnCode(_arg0,_arg1);
5010
5011 wxPy_END_ALLOW_THREADS;
5012 } Py_INCREF(Py_None);
5013 _resultobj = Py_None;
5014 return _resultobj;
5015 }
5016
5017 static void *SwigwxScrolledWindowTowxPanel(void *ptr) {
5018 wxScrolledWindow *src;
5019 wxPanel *dest;
5020 src = (wxScrolledWindow *) ptr;
5021 dest = (wxPanel *) src;
5022 return (void *) dest;
5023 }
5024
5025 static void *SwigwxScrolledWindowTowxWindow(void *ptr) {
5026 wxScrolledWindow *src;
5027 wxWindow *dest;
5028 src = (wxScrolledWindow *) ptr;
5029 dest = (wxWindow *) src;
5030 return (void *) dest;
5031 }
5032
5033 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr) {
5034 wxScrolledWindow *src;
5035 wxEvtHandler *dest;
5036 src = (wxScrolledWindow *) ptr;
5037 dest = (wxEvtHandler *) src;
5038 return (void *) dest;
5039 }
5040
5041 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5042 static PyObject *_wrap_new_wxScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5043 PyObject * _resultobj;
5044 wxScrolledWindow * _result;
5045 wxWindow * _arg0;
5046 wxWindowID _arg1 = (wxWindowID ) -1;
5047 wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition;
5048 wxSize * _arg3 = (wxSize *) &wxPyDefaultSize;
5049 long _arg4 = (long ) wxHSCROLL|wxVSCROLL;
5050 char * _arg5 = (char *) "scrolledWindow";
5051 PyObject * _argo0 = 0;
5052 wxPoint temp;
5053 PyObject * _obj2 = 0;
5054 wxSize temp0;
5055 PyObject * _obj3 = 0;
5056 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
5057 char _ptemp[128];
5058
5059 self = self;
5060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOls:new_wxScrolledWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
5061 return NULL;
5062 if (_argo0) {
5063 if (_argo0 == Py_None) { _arg0 = NULL; }
5064 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5065 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
5066 return NULL;
5067 }
5068 }
5069 if (_obj2)
5070 {
5071 _arg2 = &temp;
5072 if (! wxPoint_helper(_obj2, &_arg2))
5073 return NULL;
5074 }
5075 if (_obj3)
5076 {
5077 _arg3 = &temp0;
5078 if (! wxSize_helper(_obj3, &_arg3))
5079 return NULL;
5080 }
5081 {
5082 wxPy_BEGIN_ALLOW_THREADS;
5083 _result = (wxScrolledWindow *)new_wxScrolledWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
5084
5085 wxPy_END_ALLOW_THREADS;
5086 } if (_result) {
5087 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrolledWindow_p");
5088 _resultobj = Py_BuildValue("s",_ptemp);
5089 } else {
5090 Py_INCREF(Py_None);
5091 _resultobj = Py_None;
5092 }
5093 return _resultobj;
5094 }
5095
5096 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
5097 static PyObject *_wrap_wxScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
5098 PyObject * _resultobj;
5099 wxScrolledWindow * _arg0;
5100 bool _arg1;
5101 bool _arg2;
5102 PyObject * _argo0 = 0;
5103 int tempbool1;
5104 int tempbool2;
5105 char *_kwnames[] = { "self","xScrolling","yScrolling", NULL };
5106
5107 self = self;
5108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxScrolledWindow_EnableScrolling",_kwnames,&_argo0,&tempbool1,&tempbool2))
5109 return NULL;
5110 if (_argo0) {
5111 if (_argo0 == Py_None) { _arg0 = NULL; }
5112 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
5113 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
5114 return NULL;
5115 }
5116 }
5117 _arg1 = (bool ) tempbool1;
5118 _arg2 = (bool ) tempbool2;
5119 {
5120 wxPy_BEGIN_ALLOW_THREADS;
5121 wxScrolledWindow_EnableScrolling(_arg0,_arg1,_arg2);
5122
5123 wxPy_END_ALLOW_THREADS;
5124 } Py_INCREF(Py_None);
5125 _resultobj = Py_None;
5126 return _resultobj;
5127 }
5128
5129 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
5130 static PyObject *_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
5131 PyObject * _resultobj;
5132 wxScrolledWindow * _arg0;
5133 int * _arg1;
5134 int temp;
5135 int * _arg2;
5136 int temp0;
5137 PyObject * _argo0 = 0;
5138 char *_kwnames[] = { "self", NULL };
5139
5140 self = self;
5141 {
5142 _arg1 = &temp;
5143 }
5144 {
5145 _arg2 = &temp0;
5146 }
5147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames,&_argo0))
5148 return NULL;
5149 if (_argo0) {
5150 if (_argo0 == Py_None) { _arg0 = NULL; }
5151 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
5152 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
5153 return NULL;
5154 }
5155 }
5156 {
5157 wxPy_BEGIN_ALLOW_THREADS;
5158 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0,_arg1,_arg2);
5159
5160 wxPy_END_ALLOW_THREADS;
5161 } Py_INCREF(Py_None);
5162 _resultobj = Py_None;
5163 {
5164 PyObject *o;
5165 o = PyInt_FromLong((long) (*_arg1));
5166 _resultobj = t_output_helper(_resultobj, o);
5167 }
5168 {
5169 PyObject *o;
5170 o = PyInt_FromLong((long) (*_arg2));
5171 _resultobj = t_output_helper(_resultobj, o);
5172 }
5173 return _resultobj;
5174 }
5175
5176 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
5177 static PyObject *_wrap_wxScrolledWindow_GetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5178 PyObject * _resultobj;
5179 wxScrolledWindow * _arg0;
5180 int * _arg1;
5181 int temp;
5182 int * _arg2;
5183 int temp0;
5184 PyObject * _argo0 = 0;
5185 char *_kwnames[] = { "self", NULL };
5186
5187 self = self;
5188 {
5189 _arg1 = &temp;
5190 }
5191 {
5192 _arg2 = &temp0;
5193 }
5194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_GetVirtualSize",_kwnames,&_argo0))
5195 return NULL;
5196 if (_argo0) {
5197 if (_argo0 == Py_None) { _arg0 = NULL; }
5198 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
5199 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
5200 return NULL;
5201 }
5202 }
5203 {
5204 wxPy_BEGIN_ALLOW_THREADS;
5205 wxScrolledWindow_GetVirtualSize(_arg0,_arg1,_arg2);
5206
5207 wxPy_END_ALLOW_THREADS;
5208 } Py_INCREF(Py_None);
5209 _resultobj = Py_None;
5210 {
5211 PyObject *o;
5212 o = PyInt_FromLong((long) (*_arg1));
5213 _resultobj = t_output_helper(_resultobj, o);
5214 }
5215 {
5216 PyObject *o;
5217 o = PyInt_FromLong((long) (*_arg2));
5218 _resultobj = t_output_helper(_resultobj, o);
5219 }
5220 return _resultobj;
5221 }
5222
5223 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
5224 static PyObject *_wrap_wxScrolledWindow_IsRetained(PyObject *self, PyObject *args, PyObject *kwargs) {
5225 PyObject * _resultobj;
5226 bool _result;
5227 wxScrolledWindow * _arg0;
5228 PyObject * _argo0 = 0;
5229 char *_kwnames[] = { "self", NULL };
5230
5231 self = self;
5232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_IsRetained",_kwnames,&_argo0))
5233 return NULL;
5234 if (_argo0) {
5235 if (_argo0 == Py_None) { _arg0 = NULL; }
5236 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
5237 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
5238 return NULL;
5239 }
5240 }
5241 {
5242 wxPy_BEGIN_ALLOW_THREADS;
5243 _result = (bool )wxScrolledWindow_IsRetained(_arg0);
5244
5245 wxPy_END_ALLOW_THREADS;
5246 } _resultobj = Py_BuildValue("i",_result);
5247 return _resultobj;
5248 }
5249
5250 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
5251 static PyObject *_wrap_wxScrolledWindow_PrepareDC(PyObject *self, PyObject *args, PyObject *kwargs) {
5252 PyObject * _resultobj;
5253 wxScrolledWindow * _arg0;
5254 wxDC * _arg1;
5255 PyObject * _argo0 = 0;
5256 PyObject * _argo1 = 0;
5257 char *_kwnames[] = { "self","dc", NULL };
5258
5259 self = self;
5260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxScrolledWindow_PrepareDC",_kwnames,&_argo0,&_argo1))
5261 return NULL;
5262 if (_argo0) {
5263 if (_argo0 == Py_None) { _arg0 = NULL; }
5264 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
5265 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
5266 return NULL;
5267 }
5268 }
5269 if (_argo1) {
5270 if (_argo1 == Py_None) { _arg1 = NULL; }
5271 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
5272 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
5273 return NULL;
5274 }
5275 }
5276 {
5277 wxPy_BEGIN_ALLOW_THREADS;
5278 wxScrolledWindow_PrepareDC(_arg0,*_arg1);
5279
5280 wxPy_END_ALLOW_THREADS;
5281 } Py_INCREF(Py_None);
5282 _resultobj = Py_None;
5283 return _resultobj;
5284 }
5285
5286 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
5287 static PyObject *_wrap_wxScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
5288 PyObject * _resultobj;
5289 wxScrolledWindow * _arg0;
5290 int _arg1;
5291 int _arg2;
5292 PyObject * _argo0 = 0;
5293 char *_kwnames[] = { "self","x","y", NULL };
5294
5295 self = self;
5296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxScrolledWindow_Scroll",_kwnames,&_argo0,&_arg1,&_arg2))
5297 return NULL;
5298 if (_argo0) {
5299 if (_argo0 == Py_None) { _arg0 = NULL; }
5300 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
5301 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
5302 return NULL;
5303 }
5304 }
5305 {
5306 wxPy_BEGIN_ALLOW_THREADS;
5307 wxScrolledWindow_Scroll(_arg0,_arg1,_arg2);
5308
5309 wxPy_END_ALLOW_THREADS;
5310 } Py_INCREF(Py_None);
5311 _resultobj = Py_None;
5312 return _resultobj;
5313 }
5314
5315 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5316 static PyObject *_wrap_wxScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
5317 PyObject * _resultobj;
5318 wxScrolledWindow * _arg0;
5319 int _arg1;
5320 int _arg2;
5321 int _arg3;
5322 int _arg4;
5323 int _arg5 = (int ) 0;
5324 int _arg6 = (int ) 0;
5325 PyObject * _argo0 = 0;
5326 char *_kwnames[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos", NULL };
5327
5328 self = self;
5329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|ii:wxScrolledWindow_SetScrollbars",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6))
5330 return NULL;
5331 if (_argo0) {
5332 if (_argo0 == Py_None) { _arg0 = NULL; }
5333 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
5334 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
5335 return NULL;
5336 }
5337 }
5338 {
5339 wxPy_BEGIN_ALLOW_THREADS;
5340 wxScrolledWindow_SetScrollbars(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
5341
5342 wxPy_END_ALLOW_THREADS;
5343 } Py_INCREF(Py_None);
5344 _resultobj = Py_None;
5345 return _resultobj;
5346 }
5347
5348 #define wxScrolledWindow_ViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->ViewStart(_swigarg0,_swigarg1))
5349 static PyObject *_wrap_wxScrolledWindow_ViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
5350 PyObject * _resultobj;
5351 wxScrolledWindow * _arg0;
5352 int * _arg1;
5353 int temp;
5354 int * _arg2;
5355 int temp0;
5356 PyObject * _argo0 = 0;
5357 char *_kwnames[] = { "self", NULL };
5358
5359 self = self;
5360 {
5361 _arg1 = &temp;
5362 }
5363 {
5364 _arg2 = &temp0;
5365 }
5366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_ViewStart",_kwnames,&_argo0))
5367 return NULL;
5368 if (_argo0) {
5369 if (_argo0 == Py_None) { _arg0 = NULL; }
5370 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
5371 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_ViewStart. Expected _wxScrolledWindow_p.");
5372 return NULL;
5373 }
5374 }
5375 {
5376 wxPy_BEGIN_ALLOW_THREADS;
5377 wxScrolledWindow_ViewStart(_arg0,_arg1,_arg2);
5378
5379 wxPy_END_ALLOW_THREADS;
5380 } Py_INCREF(Py_None);
5381 _resultobj = Py_None;
5382 {
5383 PyObject *o;
5384 o = PyInt_FromLong((long) (*_arg1));
5385 _resultobj = t_output_helper(_resultobj, o);
5386 }
5387 {
5388 PyObject *o;
5389 o = PyInt_FromLong((long) (*_arg2));
5390 _resultobj = t_output_helper(_resultobj, o);
5391 }
5392 return _resultobj;
5393 }
5394
5395 #define wxScrolledWindow_CalcScrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcScrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5396 static PyObject *_wrap_wxScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5397 PyObject * _resultobj;
5398 wxScrolledWindow * _arg0;
5399 int _arg1;
5400 int _arg2;
5401 int * _arg3;
5402 int temp;
5403 int * _arg4;
5404 int temp0;
5405 PyObject * _argo0 = 0;
5406 char *_kwnames[] = { "self","x","y", NULL };
5407
5408 self = self;
5409 {
5410 _arg3 = &temp;
5411 }
5412 {
5413 _arg4 = &temp0;
5414 }
5415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxScrolledWindow_CalcScrolledPosition",_kwnames,&_argo0,&_arg1,&_arg2))
5416 return NULL;
5417 if (_argo0) {
5418 if (_argo0 == Py_None) { _arg0 = NULL; }
5419 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
5420 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition. Expected _wxScrolledWindow_p.");
5421 return NULL;
5422 }
5423 }
5424 {
5425 wxPy_BEGIN_ALLOW_THREADS;
5426 wxScrolledWindow_CalcScrolledPosition(_arg0,_arg1,_arg2,_arg3,_arg4);
5427
5428 wxPy_END_ALLOW_THREADS;
5429 } Py_INCREF(Py_None);
5430 _resultobj = Py_None;
5431 {
5432 PyObject *o;
5433 o = PyInt_FromLong((long) (*_arg3));
5434 _resultobj = t_output_helper(_resultobj, o);
5435 }
5436 {
5437 PyObject *o;
5438 o = PyInt_FromLong((long) (*_arg4));
5439 _resultobj = t_output_helper(_resultobj, o);
5440 }
5441 return _resultobj;
5442 }
5443
5444 #define wxScrolledWindow_CalcUnscrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcUnscrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5445 static PyObject *_wrap_wxScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5446 PyObject * _resultobj;
5447 wxScrolledWindow * _arg0;
5448 int _arg1;
5449 int _arg2;
5450 int * _arg3;
5451 int temp;
5452 int * _arg4;
5453 int temp0;
5454 PyObject * _argo0 = 0;
5455 char *_kwnames[] = { "self","x","y", NULL };
5456
5457 self = self;
5458 {
5459 _arg3 = &temp;
5460 }
5461 {
5462 _arg4 = &temp0;
5463 }
5464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxScrolledWindow_CalcUnscrolledPosition",_kwnames,&_argo0,&_arg1,&_arg2))
5465 return NULL;
5466 if (_argo0) {
5467 if (_argo0 == Py_None) { _arg0 = NULL; }
5468 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
5469 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition. Expected _wxScrolledWindow_p.");
5470 return NULL;
5471 }
5472 }
5473 {
5474 wxPy_BEGIN_ALLOW_THREADS;
5475 wxScrolledWindow_CalcUnscrolledPosition(_arg0,_arg1,_arg2,_arg3,_arg4);
5476
5477 wxPy_END_ALLOW_THREADS;
5478 } Py_INCREF(Py_None);
5479 _resultobj = Py_None;
5480 {
5481 PyObject *o;
5482 o = PyInt_FromLong((long) (*_arg3));
5483 _resultobj = t_output_helper(_resultobj, o);
5484 }
5485 {
5486 PyObject *o;
5487 o = PyInt_FromLong((long) (*_arg4));
5488 _resultobj = t_output_helper(_resultobj, o);
5489 }
5490 return _resultobj;
5491 }
5492
5493 static void *SwigwxMenuTowxEvtHandler(void *ptr) {
5494 wxMenu *src;
5495 wxEvtHandler *dest;
5496 src = (wxMenu *) ptr;
5497 dest = (wxEvtHandler *) src;
5498 return (void *) dest;
5499 }
5500
5501 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
5502 static PyObject *_wrap_new_wxMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5503 PyObject * _resultobj;
5504 wxMenu * _result;
5505 wxString * _arg0 = (wxString *) &wxPyEmptyStr;
5506 long _arg1 = (long ) 0;
5507 PyObject * _obj0 = 0;
5508 char *_kwnames[] = { "title","style", NULL };
5509 char _ptemp[128];
5510
5511 self = self;
5512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|Ol:new_wxMenu",_kwnames,&_obj0,&_arg1))
5513 return NULL;
5514 if (_obj0)
5515 {
5516 if (!PyString_Check(_obj0)) {
5517 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5518 return NULL;
5519 }
5520 _arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
5521 }
5522 {
5523 wxPy_BEGIN_ALLOW_THREADS;
5524 _result = (wxMenu *)new_wxMenu(*_arg0,_arg1);
5525
5526 wxPy_END_ALLOW_THREADS;
5527 } if (_result) {
5528 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenu_p");
5529 _resultobj = Py_BuildValue("s",_ptemp);
5530 } else {
5531 Py_INCREF(Py_None);
5532 _resultobj = Py_None;
5533 }
5534 {
5535 if (_obj0)
5536 delete _arg0;
5537 }
5538 return _resultobj;
5539 }
5540
5541 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5542 static PyObject *_wrap_wxMenu_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
5543 PyObject * _resultobj;
5544 wxMenu * _arg0;
5545 int _arg1;
5546 wxString * _arg2;
5547 wxString * _arg3 = (wxString *) &wxPyEmptyStr;
5548 int _arg4 = (int ) FALSE;
5549 PyObject * _argo0 = 0;
5550 PyObject * _obj2 = 0;
5551 PyObject * _obj3 = 0;
5552 char *_kwnames[] = { "self","id","item","helpString","checkable", NULL };
5553
5554 self = self;
5555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|Oi:wxMenu_Append",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4))
5556 return NULL;
5557 if (_argo0) {
5558 if (_argo0 == Py_None) { _arg0 = NULL; }
5559 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
5560 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
5561 return NULL;
5562 }
5563 }
5564 {
5565 if (!PyString_Check(_obj2)) {
5566 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5567 return NULL;
5568 }
5569 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
5570 }
5571 if (_obj3)
5572 {
5573 if (!PyString_Check(_obj3)) {
5574 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5575 return NULL;
5576 }
5577 _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3));
5578 }
5579 {
5580 wxPy_BEGIN_ALLOW_THREADS;
5581 wxMenu_Append(_arg0,_arg1,*_arg2,*_arg3,_arg4);
5582
5583 wxPy_END_ALLOW_THREADS;
5584 } Py_INCREF(Py_None);
5585 _resultobj = Py_None;
5586 {
5587 if (_obj2)
5588 delete _arg2;
5589 }
5590 {
5591 if (_obj3)
5592 delete _arg3;
5593 }
5594 return _resultobj;
5595 }
5596
5597 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5598 static PyObject *_wrap_wxMenu_AppendMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5599 PyObject * _resultobj;
5600 wxMenu * _arg0;
5601 int _arg1;
5602 wxString * _arg2;
5603 wxMenu * _arg3;
5604 wxString * _arg4 = (wxString *) &wxPyEmptyStr;
5605 PyObject * _argo0 = 0;
5606 PyObject * _obj2 = 0;
5607 PyObject * _argo3 = 0;
5608 PyObject * _obj4 = 0;
5609 char *_kwnames[] = { "self","id","item","subMenu","helpString", NULL };
5610
5611 self = self;
5612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO|O:wxMenu_AppendMenu",_kwnames,&_argo0,&_arg1,&_obj2,&_argo3,&_obj4))
5613 return NULL;
5614 if (_argo0) {
5615 if (_argo0 == Py_None) { _arg0 = NULL; }
5616 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
5617 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
5618 return NULL;
5619 }
5620 }
5621 {
5622 if (!PyString_Check(_obj2)) {
5623 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5624 return NULL;
5625 }
5626 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
5627 }
5628 if (_argo3) {
5629 if (_argo3 == Py_None) { _arg3 = NULL; }
5630 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxMenu_p")) {
5631 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
5632 return NULL;
5633 }
5634 }
5635 if (_obj4)
5636 {
5637 if (!PyString_Check(_obj4)) {
5638 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5639 return NULL;
5640 }
5641 _arg4 = new wxString(PyString_AsString(_obj4), PyString_Size(_obj4));
5642 }
5643 {
5644 wxPy_BEGIN_ALLOW_THREADS;
5645 wxMenu_AppendMenu(_arg0,_arg1,*_arg2,_arg3,*_arg4);
5646
5647 wxPy_END_ALLOW_THREADS;
5648 } Py_INCREF(Py_None);
5649 _resultobj = Py_None;
5650 {
5651 if (_obj2)
5652 delete _arg2;
5653 }
5654 {
5655 if (_obj4)
5656 delete _arg4;
5657 }
5658 return _resultobj;
5659 }
5660
5661 #define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
5662 static PyObject *_wrap_wxMenu_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
5663 PyObject * _resultobj;
5664 wxMenu * _arg0;
5665 wxMenuItem * _arg1;
5666 PyObject * _argo0 = 0;
5667 PyObject * _argo1 = 0;
5668 char *_kwnames[] = { "self","item", NULL };
5669
5670 self = self;
5671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_AppendItem",_kwnames,&_argo0,&_argo1))
5672 return NULL;
5673 if (_argo0) {
5674 if (_argo0 == Py_None) { _arg0 = NULL; }
5675 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
5676 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
5677 return NULL;
5678 }
5679 }
5680 if (_argo1) {
5681 if (_argo1 == Py_None) { _arg1 = NULL; }
5682 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenuItem_p")) {
5683 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
5684 return NULL;
5685 }
5686 }
5687 {
5688 wxPy_BEGIN_ALLOW_THREADS;
5689 wxMenu_AppendItem(_arg0,_arg1);
5690
5691 wxPy_END_ALLOW_THREADS;
5692 } Py_INCREF(Py_None);
5693 _resultobj = Py_None;
5694 return _resultobj;
5695 }
5696
5697 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
5698 static PyObject *_wrap_wxMenu_AppendSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
5699 PyObject * _resultobj;
5700 wxMenu * _arg0;
5701 PyObject * _argo0 = 0;
5702 char *_kwnames[] = { "self", NULL };
5703
5704 self = self;
5705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_AppendSeparator",_kwnames,&_argo0))
5706 return NULL;
5707 if (_argo0) {
5708 if (_argo0 == Py_None) { _arg0 = NULL; }
5709 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
5710 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
5711 return NULL;
5712 }
5713 }
5714 {
5715 wxPy_BEGIN_ALLOW_THREADS;
5716 wxMenu_AppendSeparator(_arg0);
5717
5718 wxPy_END_ALLOW_THREADS;
5719 } Py_INCREF(Py_None);
5720 _resultobj = Py_None;
5721 return _resultobj;
5722 }
5723
5724 #define wxMenu_Break(_swigobj) (_swigobj->Break())
5725 static PyObject *_wrap_wxMenu_Break(PyObject *self, PyObject *args, PyObject *kwargs) {
5726 PyObject * _resultobj;
5727 wxMenu * _arg0;
5728 PyObject * _argo0 = 0;
5729 char *_kwnames[] = { "self", NULL };
5730
5731 self = self;
5732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_Break",_kwnames,&_argo0))
5733 return NULL;
5734 if (_argo0) {
5735 if (_argo0 == Py_None) { _arg0 = NULL; }
5736 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
5737 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
5738 return NULL;
5739 }
5740 }
5741 {
5742 wxPy_BEGIN_ALLOW_THREADS;
5743 wxMenu_Break(_arg0);
5744
5745 wxPy_END_ALLOW_THREADS;
5746 } Py_INCREF(Py_None);
5747 _resultobj = Py_None;
5748 return _resultobj;
5749 }
5750
5751 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
5752 static PyObject *_wrap_wxMenu_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
5753 PyObject * _resultobj;
5754 wxMenu * _arg0;
5755 int _arg1;
5756 bool _arg2;
5757 PyObject * _argo0 = 0;
5758 int tempbool2;
5759 char *_kwnames[] = { "self","id","flag", NULL };
5760
5761 self = self;
5762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxMenu_Check",_kwnames,&_argo0,&_arg1,&tempbool2))
5763 return NULL;
5764 if (_argo0) {
5765 if (_argo0 == Py_None) { _arg0 = NULL; }
5766 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
5767 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
5768 return NULL;
5769 }
5770 }
5771 _arg2 = (bool ) tempbool2;
5772 {
5773 wxPy_BEGIN_ALLOW_THREADS;
5774 wxMenu_Check(_arg0,_arg1,_arg2);
5775
5776 wxPy_END_ALLOW_THREADS;
5777 } Py_INCREF(Py_None);
5778 _resultobj = Py_None;
5779 return _resultobj;
5780 }
5781
5782 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
5783 static PyObject *_wrap_wxMenu_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
5784 PyObject * _resultobj;
5785 bool _result;
5786 wxMenu * _arg0;
5787 int _arg1;
5788 PyObject * _argo0 = 0;
5789 char *_kwnames[] = { "self","id", NULL };
5790
5791 self = self;
5792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_IsChecked",_kwnames,&_argo0,&_arg1))
5793 return NULL;
5794 if (_argo0) {
5795 if (_argo0 == Py_None) { _arg0 = NULL; }
5796 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
5797 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
5798 return NULL;
5799 }
5800 }
5801 {
5802 wxPy_BEGIN_ALLOW_THREADS;
5803 _result = (bool )wxMenu_IsChecked(_arg0,_arg1);
5804
5805 wxPy_END_ALLOW_THREADS;
5806 } _resultobj = Py_BuildValue("i",_result);
5807 return _resultobj;
5808 }
5809
5810 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
5811 static PyObject *_wrap_wxMenu_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
5812 PyObject * _resultobj;
5813 wxMenu * _arg0;
5814 int _arg1;
5815 bool _arg2;
5816 PyObject * _argo0 = 0;
5817 int tempbool2;
5818 char *_kwnames[] = { "self","id","enable", NULL };
5819
5820 self = self;
5821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxMenu_Enable",_kwnames,&_argo0,&_arg1,&tempbool2))
5822 return NULL;
5823 if (_argo0) {
5824 if (_argo0 == Py_None) { _arg0 = NULL; }
5825 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
5826 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
5827 return NULL;
5828 }
5829 }
5830 _arg2 = (bool ) tempbool2;
5831 {
5832 wxPy_BEGIN_ALLOW_THREADS;
5833 wxMenu_Enable(_arg0,_arg1,_arg2);
5834
5835 wxPy_END_ALLOW_THREADS;
5836 } Py_INCREF(Py_None);
5837 _resultobj = Py_None;
5838 return _resultobj;
5839 }
5840
5841 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
5842 static PyObject *_wrap_wxMenu_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
5843 PyObject * _resultobj;
5844 bool _result;
5845 wxMenu * _arg0;
5846 int _arg1;
5847 PyObject * _argo0 = 0;
5848 char *_kwnames[] = { "self","id", NULL };
5849
5850 self = self;
5851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_IsEnabled",_kwnames,&_argo0,&_arg1))
5852 return NULL;
5853 if (_argo0) {
5854 if (_argo0 == Py_None) { _arg0 = NULL; }
5855 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
5856 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
5857 return NULL;
5858 }
5859 }
5860 {
5861 wxPy_BEGIN_ALLOW_THREADS;
5862 _result = (bool )wxMenu_IsEnabled(_arg0,_arg1);
5863
5864 wxPy_END_ALLOW_THREADS;
5865 } _resultobj = Py_BuildValue("i",_result);
5866 return _resultobj;
5867 }
5868
5869 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
5870 static PyObject *_wrap_wxMenu_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
5871 PyObject * _resultobj;
5872 int _result;
5873 wxMenu * _arg0;
5874 wxString * _arg1;
5875 PyObject * _argo0 = 0;
5876 PyObject * _obj1 = 0;
5877 char *_kwnames[] = { "self","itemString", NULL };
5878
5879 self = self;
5880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_FindItem",_kwnames,&_argo0,&_obj1))
5881 return NULL;
5882 if (_argo0) {
5883 if (_argo0 == Py_None) { _arg0 = NULL; }
5884 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
5885 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
5886 return NULL;
5887 }
5888 }
5889 {
5890 if (!PyString_Check(_obj1)) {
5891 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5892 return NULL;
5893 }
5894 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
5895 }
5896 {
5897 wxPy_BEGIN_ALLOW_THREADS;
5898 _result = (int )wxMenu_FindItem(_arg0,*_arg1);
5899
5900 wxPy_END_ALLOW_THREADS;
5901 } _resultobj = Py_BuildValue("i",_result);
5902 {
5903 if (_obj1)
5904 delete _arg1;
5905 }
5906 return _resultobj;
5907 }
5908
5909 #define wxMenu_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
5910 static PyObject *_wrap_wxMenu_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
5911 PyObject * _resultobj;
5912 wxMenuItem * _result;
5913 wxMenu * _arg0;
5914 int _arg1;
5915 PyObject * _argo0 = 0;
5916 char *_kwnames[] = { "self","id", NULL };
5917 char _ptemp[128];
5918
5919 self = self;
5920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_FindItemById",_kwnames,&_argo0,&_arg1))
5921 return NULL;
5922 if (_argo0) {
5923 if (_argo0 == Py_None) { _arg0 = NULL; }
5924 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
5925 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_FindItemById. Expected _wxMenu_p.");
5926 return NULL;
5927 }
5928 }
5929 {
5930 wxPy_BEGIN_ALLOW_THREADS;
5931 _result = (wxMenuItem *)wxMenu_FindItemById(_arg0,_arg1);
5932
5933 wxPy_END_ALLOW_THREADS;
5934 } if (_result) {
5935 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuItem_p");
5936 _resultobj = Py_BuildValue("s",_ptemp);
5937 } else {
5938 Py_INCREF(Py_None);
5939 _resultobj = Py_None;
5940 }
5941 return _resultobj;
5942 }
5943
5944 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
5945 static PyObject *_wrap_wxMenu_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
5946 PyObject * _resultobj;
5947 wxString * _result;
5948 wxMenu * _arg0;
5949 PyObject * _argo0 = 0;
5950 char *_kwnames[] = { "self", NULL };
5951
5952 self = self;
5953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetTitle",_kwnames,&_argo0))
5954 return NULL;
5955 if (_argo0) {
5956 if (_argo0 == Py_None) { _arg0 = NULL; }
5957 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
5958 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
5959 return NULL;
5960 }
5961 }
5962 {
5963 wxPy_BEGIN_ALLOW_THREADS;
5964 _result = new wxString (wxMenu_GetTitle(_arg0));
5965
5966 wxPy_END_ALLOW_THREADS;
5967 }{
5968 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
5969 }
5970 {
5971 delete _result;
5972 }
5973 return _resultobj;
5974 }
5975
5976 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
5977 static PyObject *_wrap_wxMenu_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
5978 PyObject * _resultobj;
5979 wxMenu * _arg0;
5980 wxString * _arg1;
5981 PyObject * _argo0 = 0;
5982 PyObject * _obj1 = 0;
5983 char *_kwnames[] = { "self","title", NULL };
5984
5985 self = self;
5986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_SetTitle",_kwnames,&_argo0,&_obj1))
5987 return NULL;
5988 if (_argo0) {
5989 if (_argo0 == Py_None) { _arg0 = NULL; }
5990 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
5991 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
5992 return NULL;
5993 }
5994 }
5995 {
5996 if (!PyString_Check(_obj1)) {
5997 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5998 return NULL;
5999 }
6000 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
6001 }
6002 {
6003 wxPy_BEGIN_ALLOW_THREADS;
6004 wxMenu_SetTitle(_arg0,*_arg1);
6005
6006 wxPy_END_ALLOW_THREADS;
6007 } Py_INCREF(Py_None);
6008 _resultobj = Py_None;
6009 {
6010 if (_obj1)
6011 delete _arg1;
6012 }
6013 return _resultobj;
6014 }
6015
6016 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
6017 static PyObject *_wrap_wxMenu_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
6018 PyObject * _resultobj;
6019 wxString * _result;
6020 wxMenu * _arg0;
6021 int _arg1;
6022 PyObject * _argo0 = 0;
6023 char *_kwnames[] = { "self","id", NULL };
6024
6025 self = self;
6026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_GetLabel",_kwnames,&_argo0,&_arg1))
6027 return NULL;
6028 if (_argo0) {
6029 if (_argo0 == Py_None) { _arg0 = NULL; }
6030 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
6031 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
6032 return NULL;
6033 }
6034 }
6035 {
6036 wxPy_BEGIN_ALLOW_THREADS;
6037 _result = new wxString (wxMenu_GetLabel(_arg0,_arg1));
6038
6039 wxPy_END_ALLOW_THREADS;
6040 }{
6041 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
6042 }
6043 {
6044 delete _result;
6045 }
6046 return _resultobj;
6047 }
6048
6049 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
6050 static PyObject *_wrap_wxMenu_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
6051 PyObject * _resultobj;
6052 wxMenu * _arg0;
6053 int _arg1;
6054 wxString * _arg2;
6055 PyObject * _argo0 = 0;
6056 PyObject * _obj2 = 0;
6057 char *_kwnames[] = { "self","id","label", NULL };
6058
6059 self = self;
6060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenu_SetLabel",_kwnames,&_argo0,&_arg1,&_obj2))
6061 return NULL;
6062 if (_argo0) {
6063 if (_argo0 == Py_None) { _arg0 = NULL; }
6064 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
6065 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
6066 return NULL;
6067 }
6068 }
6069 {
6070 if (!PyString_Check(_obj2)) {
6071 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6072 return NULL;
6073 }
6074 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
6075 }
6076 {
6077 wxPy_BEGIN_ALLOW_THREADS;
6078 wxMenu_SetLabel(_arg0,_arg1,*_arg2);
6079
6080 wxPy_END_ALLOW_THREADS;
6081 } Py_INCREF(Py_None);
6082 _resultobj = Py_None;
6083 {
6084 if (_obj2)
6085 delete _arg2;
6086 }
6087 return _resultobj;
6088 }
6089
6090 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
6091 static PyObject *_wrap_wxMenu_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
6092 PyObject * _resultobj;
6093 wxString * _result;
6094 wxMenu * _arg0;
6095 int _arg1;
6096 PyObject * _argo0 = 0;
6097 char *_kwnames[] = { "self","id", NULL };
6098
6099 self = self;
6100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_GetHelpString",_kwnames,&_argo0,&_arg1))
6101 return NULL;
6102 if (_argo0) {
6103 if (_argo0 == Py_None) { _arg0 = NULL; }
6104 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
6105 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
6106 return NULL;
6107 }
6108 }
6109 {
6110 wxPy_BEGIN_ALLOW_THREADS;
6111 _result = new wxString (wxMenu_GetHelpString(_arg0,_arg1));
6112
6113 wxPy_END_ALLOW_THREADS;
6114 }{
6115 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
6116 }
6117 {
6118 delete _result;
6119 }
6120 return _resultobj;
6121 }
6122
6123 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
6124 static PyObject *_wrap_wxMenu_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
6125 PyObject * _resultobj;
6126 wxMenu * _arg0;
6127 int _arg1;
6128 wxString * _arg2;
6129 PyObject * _argo0 = 0;
6130 PyObject * _obj2 = 0;
6131 char *_kwnames[] = { "self","id","helpString", NULL };
6132
6133 self = self;
6134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenu_SetHelpString",_kwnames,&_argo0,&_arg1,&_obj2))
6135 return NULL;
6136 if (_argo0) {
6137 if (_argo0 == Py_None) { _arg0 = NULL; }
6138 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
6139 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
6140 return NULL;
6141 }
6142 }
6143 {
6144 if (!PyString_Check(_obj2)) {
6145 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6146 return NULL;
6147 }
6148 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
6149 }
6150 {
6151 wxPy_BEGIN_ALLOW_THREADS;
6152 wxMenu_SetHelpString(_arg0,_arg1,*_arg2);
6153
6154 wxPy_END_ALLOW_THREADS;
6155 } Py_INCREF(Py_None);
6156 _resultobj = Py_None;
6157 {
6158 if (_obj2)
6159 delete _arg2;
6160 }
6161 return _resultobj;
6162 }
6163
6164 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
6165 static PyObject *_wrap_wxMenu_UpdateUI(PyObject *self, PyObject *args, PyObject *kwargs) {
6166 PyObject * _resultobj;
6167 wxMenu * _arg0;
6168 wxEvtHandler * _arg1 = (wxEvtHandler *) NULL;
6169 PyObject * _argo0 = 0;
6170 PyObject * _argo1 = 0;
6171 char *_kwnames[] = { "self","source", NULL };
6172
6173 self = self;
6174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxMenu_UpdateUI",_kwnames,&_argo0,&_argo1))
6175 return NULL;
6176 if (_argo0) {
6177 if (_argo0 == Py_None) { _arg0 = NULL; }
6178 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
6179 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
6180 return NULL;
6181 }
6182 }
6183 if (_argo1) {
6184 if (_argo1 == Py_None) { _arg1 = NULL; }
6185 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
6186 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
6187 return NULL;
6188 }
6189 }
6190 {
6191 wxPy_BEGIN_ALLOW_THREADS;
6192 wxMenu_UpdateUI(_arg0,_arg1);
6193
6194 wxPy_END_ALLOW_THREADS;
6195 } Py_INCREF(Py_None);
6196 _resultobj = Py_None;
6197 return _resultobj;
6198 }
6199
6200 #define wxMenu_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
6201 static PyObject *_wrap_wxMenu_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
6202 PyObject * _resultobj;
6203 bool _result;
6204 wxMenu * _arg0;
6205 int _arg1;
6206 PyObject * _argo0 = 0;
6207 char *_kwnames[] = { "self","id", NULL };
6208
6209 self = self;
6210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_Delete",_kwnames,&_argo0,&_arg1))
6211 return NULL;
6212 if (_argo0) {
6213 if (_argo0 == Py_None) { _arg0 = NULL; }
6214 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
6215 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Delete. Expected _wxMenu_p.");
6216 return NULL;
6217 }
6218 }
6219 {
6220 wxPy_BEGIN_ALLOW_THREADS;
6221 _result = (bool )wxMenu_Delete(_arg0,_arg1);
6222
6223 wxPy_END_ALLOW_THREADS;
6224 } _resultobj = Py_BuildValue("i",_result);
6225 return _resultobj;
6226 }
6227
6228 #define wxMenu_DeleteItem(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
6229 static PyObject *_wrap_wxMenu_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
6230 PyObject * _resultobj;
6231 bool _result;
6232 wxMenu * _arg0;
6233 wxMenuItem * _arg1;
6234 PyObject * _argo0 = 0;
6235 PyObject * _argo1 = 0;
6236 char *_kwnames[] = { "self","item", NULL };
6237
6238 self = self;
6239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_DeleteItem",_kwnames,&_argo0,&_argo1))
6240 return NULL;
6241 if (_argo0) {
6242 if (_argo0 == Py_None) { _arg0 = NULL; }
6243 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
6244 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_DeleteItem. Expected _wxMenu_p.");
6245 return NULL;
6246 }
6247 }
6248 if (_argo1) {
6249 if (_argo1 == Py_None) { _arg1 = NULL; }
6250 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenuItem_p")) {
6251 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_DeleteItem. Expected _wxMenuItem_p.");
6252 return NULL;
6253 }
6254 }
6255 {
6256 wxPy_BEGIN_ALLOW_THREADS;
6257 _result = (bool )wxMenu_DeleteItem(_arg0,_arg1);
6258
6259 wxPy_END_ALLOW_THREADS;
6260 } _resultobj = Py_BuildValue("i",_result);
6261 return _resultobj;
6262 }
6263
6264 #define wxMenu_Insert(_swigobj,_swigarg0,_swigarg1) (_swigobj->Insert(_swigarg0,_swigarg1))
6265 static PyObject *_wrap_wxMenu_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
6266 PyObject * _resultobj;
6267 bool _result;
6268 wxMenu * _arg0;
6269 size_t _arg1;
6270 wxMenuItem * _arg2;
6271 PyObject * _argo0 = 0;
6272 PyObject * _argo2 = 0;
6273 char *_kwnames[] = { "self","pos","item", NULL };
6274
6275 self = self;
6276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenu_Insert",_kwnames,&_argo0,&_arg1,&_argo2))
6277 return NULL;
6278 if (_argo0) {
6279 if (_argo0 == Py_None) { _arg0 = NULL; }
6280 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
6281 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Insert. Expected _wxMenu_p.");
6282 return NULL;
6283 }
6284 }
6285 if (_argo2) {
6286 if (_argo2 == Py_None) { _arg2 = NULL; }
6287 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxMenuItem_p")) {
6288 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxMenu_Insert. Expected _wxMenuItem_p.");
6289 return NULL;
6290 }
6291 }
6292 {
6293 wxPy_BEGIN_ALLOW_THREADS;
6294 _result = (bool )wxMenu_Insert(_arg0,_arg1,_arg2);
6295
6296 wxPy_END_ALLOW_THREADS;
6297 } _resultobj = Py_BuildValue("i",_result);
6298 return _resultobj;
6299 }
6300
6301 #define wxMenu_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
6302 static PyObject *_wrap_wxMenu_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
6303 PyObject * _resultobj;
6304 wxMenuItem * _result;
6305 wxMenu * _arg0;
6306 int _arg1;
6307 PyObject * _argo0 = 0;
6308 char *_kwnames[] = { "self","id", NULL };
6309 char _ptemp[128];
6310
6311 self = self;
6312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_Remove",_kwnames,&_argo0,&_arg1))
6313 return NULL;
6314 if (_argo0) {
6315 if (_argo0 == Py_None) { _arg0 = NULL; }
6316 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
6317 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Remove. Expected _wxMenu_p.");
6318 return NULL;
6319 }
6320 }
6321 {
6322 wxPy_BEGIN_ALLOW_THREADS;
6323 _result = (wxMenuItem *)wxMenu_Remove(_arg0,_arg1);
6324
6325 wxPy_END_ALLOW_THREADS;
6326 } if (_result) {
6327 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuItem_p");
6328 _resultobj = Py_BuildValue("s",_ptemp);
6329 } else {
6330 Py_INCREF(Py_None);
6331 _resultobj = Py_None;
6332 }
6333 return _resultobj;
6334 }
6335
6336 #define wxMenu_RemoveItem(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
6337 static PyObject *_wrap_wxMenu_RemoveItem(PyObject *self, PyObject *args, PyObject *kwargs) {
6338 PyObject * _resultobj;
6339 wxMenuItem * _result;
6340 wxMenu * _arg0;
6341 wxMenuItem * _arg1;
6342 PyObject * _argo0 = 0;
6343 PyObject * _argo1 = 0;
6344 char *_kwnames[] = { "self","item", NULL };
6345 char _ptemp[128];
6346
6347 self = self;
6348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_RemoveItem",_kwnames,&_argo0,&_argo1))
6349 return NULL;
6350 if (_argo0) {
6351 if (_argo0 == Py_None) { _arg0 = NULL; }
6352 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
6353 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_RemoveItem. Expected _wxMenu_p.");
6354 return NULL;
6355 }
6356 }
6357 if (_argo1) {
6358 if (_argo1 == Py_None) { _arg1 = NULL; }
6359 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenuItem_p")) {
6360 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_RemoveItem. Expected _wxMenuItem_p.");
6361 return NULL;
6362 }
6363 }
6364 {
6365 wxPy_BEGIN_ALLOW_THREADS;
6366 _result = (wxMenuItem *)wxMenu_RemoveItem(_arg0,_arg1);
6367
6368 wxPy_END_ALLOW_THREADS;
6369 } if (_result) {
6370 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuItem_p");
6371 _resultobj = Py_BuildValue("s",_ptemp);
6372 } else {
6373 Py_INCREF(Py_None);
6374 _resultobj = Py_None;
6375 }
6376 return _resultobj;
6377 }
6378
6379 static void wxMenu_Destroy(wxMenu *self) {
6380 delete self;
6381 }
6382 static PyObject *_wrap_wxMenu_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
6383 PyObject * _resultobj;
6384 wxMenu * _arg0;
6385 PyObject * _argo0 = 0;
6386 char *_kwnames[] = { "self", NULL };
6387
6388 self = self;
6389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_Destroy",_kwnames,&_argo0))
6390 return NULL;
6391 if (_argo0) {
6392 if (_argo0 == Py_None) { _arg0 = NULL; }
6393 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
6394 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Destroy. Expected _wxMenu_p.");
6395 return NULL;
6396 }
6397 }
6398 {
6399 wxPy_BEGIN_ALLOW_THREADS;
6400 wxMenu_Destroy(_arg0);
6401
6402 wxPy_END_ALLOW_THREADS;
6403 } Py_INCREF(Py_None);
6404 _resultobj = Py_None;
6405 return _resultobj;
6406 }
6407
6408 #define wxMenu_DestroyId(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
6409 static PyObject *_wrap_wxMenu_DestroyId(PyObject *self, PyObject *args, PyObject *kwargs) {
6410 PyObject * _resultobj;
6411 bool _result;
6412 wxMenu * _arg0;
6413 int _arg1;
6414 PyObject * _argo0 = 0;
6415 char *_kwnames[] = { "self","id", NULL };
6416
6417 self = self;
6418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_DestroyId",_kwnames,&_argo0,&_arg1))
6419 return NULL;
6420 if (_argo0) {
6421 if (_argo0 == Py_None) { _arg0 = NULL; }
6422 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
6423 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_DestroyId. Expected _wxMenu_p.");
6424 return NULL;
6425 }
6426 }
6427 {
6428 wxPy_BEGIN_ALLOW_THREADS;
6429 _result = (bool )wxMenu_DestroyId(_arg0,_arg1);
6430
6431 wxPy_END_ALLOW_THREADS;
6432 } _resultobj = Py_BuildValue("i",_result);
6433 return _resultobj;
6434 }
6435
6436 #define wxMenu_DestroyItem(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
6437 static PyObject *_wrap_wxMenu_DestroyItem(PyObject *self, PyObject *args, PyObject *kwargs) {
6438 PyObject * _resultobj;
6439 bool _result;
6440 wxMenu * _arg0;
6441 wxMenuItem * _arg1;
6442 PyObject * _argo0 = 0;
6443 PyObject * _argo1 = 0;
6444 char *_kwnames[] = { "self","item", NULL };
6445
6446 self = self;
6447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_DestroyItem",_kwnames,&_argo0,&_argo1))
6448 return NULL;
6449 if (_argo0) {
6450 if (_argo0 == Py_None) { _arg0 = NULL; }
6451 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
6452 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_DestroyItem. Expected _wxMenu_p.");
6453 return NULL;
6454 }
6455 }
6456 if (_argo1) {
6457 if (_argo1 == Py_None) { _arg1 = NULL; }
6458 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenuItem_p")) {
6459 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_DestroyItem. Expected _wxMenuItem_p.");
6460 return NULL;
6461 }
6462 }
6463 {
6464 wxPy_BEGIN_ALLOW_THREADS;
6465 _result = (bool )wxMenu_DestroyItem(_arg0,_arg1);
6466
6467 wxPy_END_ALLOW_THREADS;
6468 } _resultobj = Py_BuildValue("i",_result);
6469 return _resultobj;
6470 }
6471
6472 #define wxMenu_GetMenuItemCount(_swigobj) (_swigobj->GetMenuItemCount())
6473 static PyObject *_wrap_wxMenu_GetMenuItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
6474 PyObject * _resultobj;
6475 size_t _result;
6476 wxMenu * _arg0;
6477 PyObject * _argo0 = 0;
6478 char *_kwnames[] = { "self", NULL };
6479
6480 self = self;
6481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetMenuItemCount",_kwnames,&_argo0))
6482 return NULL;
6483 if (_argo0) {
6484 if (_argo0 == Py_None) { _arg0 = NULL; }
6485 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
6486 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetMenuItemCount. Expected _wxMenu_p.");
6487 return NULL;
6488 }
6489 }
6490 {
6491 wxPy_BEGIN_ALLOW_THREADS;
6492 _result = (size_t )wxMenu_GetMenuItemCount(_arg0);
6493
6494 wxPy_END_ALLOW_THREADS;
6495 } _resultobj = Py_BuildValue("i",_result);
6496 return _resultobj;
6497 }
6498
6499 static PyObject * wxMenu_GetMenuItems(wxMenu *self) {
6500 wxMenuItemList& list = self->GetMenuItems();
6501 return wxPy_ConvertList(&list, "wxMenuItem");
6502 }
6503 static PyObject *_wrap_wxMenu_GetMenuItems(PyObject *self, PyObject *args, PyObject *kwargs) {
6504 PyObject * _resultobj;
6505 PyObject * _result;
6506 wxMenu * _arg0;
6507 PyObject * _argo0 = 0;
6508 char *_kwnames[] = { "self", NULL };
6509
6510 self = self;
6511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetMenuItems",_kwnames,&_argo0))
6512 return NULL;
6513 if (_argo0) {
6514 if (_argo0 == Py_None) { _arg0 = NULL; }
6515 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
6516 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetMenuItems. Expected _wxMenu_p.");
6517 return NULL;
6518 }
6519 }
6520 {
6521 wxPy_BEGIN_ALLOW_THREADS;
6522 _result = (PyObject *)wxMenu_GetMenuItems(_arg0);
6523
6524 wxPy_END_ALLOW_THREADS;
6525 }{
6526 _resultobj = _result;
6527 }
6528 return _resultobj;
6529 }
6530
6531 #define wxMenu_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
6532 static PyObject *_wrap_wxMenu_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
6533 PyObject * _resultobj;
6534 wxMenu * _arg0;
6535 wxEvtHandler * _arg1;
6536 PyObject * _argo0 = 0;
6537 PyObject * _argo1 = 0;
6538 char *_kwnames[] = { "self","handler", NULL };
6539
6540 self = self;
6541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_SetEventHandler",_kwnames,&_argo0,&_argo1))
6542 return NULL;
6543 if (_argo0) {
6544 if (_argo0 == Py_None) { _arg0 = NULL; }
6545 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
6546 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetEventHandler. Expected _wxMenu_p.");
6547 return NULL;
6548 }
6549 }
6550 if (_argo1) {
6551 if (_argo1 == Py_None) { _arg1 = NULL; }
6552 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
6553 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_SetEventHandler. Expected _wxEvtHandler_p.");
6554 return NULL;
6555 }
6556 }
6557 {
6558 wxPy_BEGIN_ALLOW_THREADS;
6559 wxMenu_SetEventHandler(_arg0,_arg1);
6560
6561 wxPy_END_ALLOW_THREADS;
6562 } Py_INCREF(Py_None);
6563 _resultobj = Py_None;
6564 return _resultobj;
6565 }
6566
6567 #define wxMenu_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
6568 static PyObject *_wrap_wxMenu_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
6569 PyObject * _resultobj;
6570 wxEvtHandler * _result;
6571 wxMenu * _arg0;
6572 PyObject * _argo0 = 0;
6573 char *_kwnames[] = { "self", NULL };
6574 char _ptemp[128];
6575
6576 self = self;
6577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetEventHandler",_kwnames,&_argo0))
6578 return NULL;
6579 if (_argo0) {
6580 if (_argo0 == Py_None) { _arg0 = NULL; }
6581 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
6582 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetEventHandler. Expected _wxMenu_p.");
6583 return NULL;
6584 }
6585 }
6586 {
6587 wxPy_BEGIN_ALLOW_THREADS;
6588 _result = (wxEvtHandler *)wxMenu_GetEventHandler(_arg0);
6589
6590 wxPy_END_ALLOW_THREADS;
6591 } if (_result) {
6592 SWIG_MakePtr(_ptemp, (char *) _result,"_wxEvtHandler_p");
6593 _resultobj = Py_BuildValue("s",_ptemp);
6594 } else {
6595 Py_INCREF(Py_None);
6596 _resultobj = Py_None;
6597 }
6598 return _resultobj;
6599 }
6600
6601 #define wxMenu_SetInvokingWindow(_swigobj,_swigarg0) (_swigobj->SetInvokingWindow(_swigarg0))
6602 static PyObject *_wrap_wxMenu_SetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6603 PyObject * _resultobj;
6604 wxMenu * _arg0;
6605 wxWindow * _arg1;
6606 PyObject * _argo0 = 0;
6607 PyObject * _argo1 = 0;
6608 char *_kwnames[] = { "self","win", NULL };
6609
6610 self = self;
6611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_SetInvokingWindow",_kwnames,&_argo0,&_argo1))
6612 return NULL;
6613 if (_argo0) {
6614 if (_argo0 == Py_None) { _arg0 = NULL; }
6615 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
6616 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetInvokingWindow. Expected _wxMenu_p.");
6617 return NULL;
6618 }
6619 }
6620 if (_argo1) {
6621 if (_argo1 == Py_None) { _arg1 = NULL; }
6622 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
6623 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_SetInvokingWindow. Expected _wxWindow_p.");
6624 return NULL;
6625 }
6626 }
6627 {
6628 wxPy_BEGIN_ALLOW_THREADS;
6629 wxMenu_SetInvokingWindow(_arg0,_arg1);
6630
6631 wxPy_END_ALLOW_THREADS;
6632 } Py_INCREF(Py_None);
6633 _resultobj = Py_None;
6634 return _resultobj;
6635 }
6636
6637 #define wxMenu_GetInvokingWindow(_swigobj) (_swigobj->GetInvokingWindow())
6638 static PyObject *_wrap_wxMenu_GetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6639 PyObject * _resultobj;
6640 wxWindow * _result;
6641 wxMenu * _arg0;
6642 PyObject * _argo0 = 0;
6643 char *_kwnames[] = { "self", NULL };
6644 char _ptemp[128];
6645
6646 self = self;
6647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetInvokingWindow",_kwnames,&_argo0))
6648 return NULL;
6649 if (_argo0) {
6650 if (_argo0 == Py_None) { _arg0 = NULL; }
6651 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
6652 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetInvokingWindow. Expected _wxMenu_p.");
6653 return NULL;
6654 }
6655 }
6656 {
6657 wxPy_BEGIN_ALLOW_THREADS;
6658 _result = (wxWindow *)wxMenu_GetInvokingWindow(_arg0);
6659
6660 wxPy_END_ALLOW_THREADS;
6661 } if (_result) {
6662 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
6663 _resultobj = Py_BuildValue("s",_ptemp);
6664 } else {
6665 Py_INCREF(Py_None);
6666 _resultobj = Py_None;
6667 }
6668 return _resultobj;
6669 }
6670
6671 #define wxMenu_GetStyle(_swigobj) (_swigobj->GetStyle())
6672 static PyObject *_wrap_wxMenu_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
6673 PyObject * _resultobj;
6674 long _result;
6675 wxMenu * _arg0;
6676 PyObject * _argo0 = 0;
6677 char *_kwnames[] = { "self", NULL };
6678
6679 self = self;
6680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetStyle",_kwnames,&_argo0))
6681 return NULL;
6682 if (_argo0) {
6683 if (_argo0 == Py_None) { _arg0 = NULL; }
6684 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
6685 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetStyle. Expected _wxMenu_p.");
6686 return NULL;
6687 }
6688 }
6689 {
6690 wxPy_BEGIN_ALLOW_THREADS;
6691 _result = (long )wxMenu_GetStyle(_arg0);
6692
6693 wxPy_END_ALLOW_THREADS;
6694 } _resultobj = Py_BuildValue("l",_result);
6695 return _resultobj;
6696 }
6697
6698 #define wxMenu_IsAttached(_swigobj) (_swigobj->IsAttached())
6699 static PyObject *_wrap_wxMenu_IsAttached(PyObject *self, PyObject *args, PyObject *kwargs) {
6700 PyObject * _resultobj;
6701 bool _result;
6702 wxMenu * _arg0;
6703 PyObject * _argo0 = 0;
6704 char *_kwnames[] = { "self", NULL };
6705
6706 self = self;
6707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_IsAttached",_kwnames,&_argo0))
6708 return NULL;
6709 if (_argo0) {
6710 if (_argo0 == Py_None) { _arg0 = NULL; }
6711 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
6712 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_IsAttached. Expected _wxMenu_p.");
6713 return NULL;
6714 }
6715 }
6716 {
6717 wxPy_BEGIN_ALLOW_THREADS;
6718 _result = (bool )wxMenu_IsAttached(_arg0);
6719
6720 wxPy_END_ALLOW_THREADS;
6721 } _resultobj = Py_BuildValue("i",_result);
6722 return _resultobj;
6723 }
6724
6725 #define wxMenu_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
6726 static PyObject *_wrap_wxMenu_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
6727 PyObject * _resultobj;
6728 wxMenu * _arg0;
6729 wxMenu * _arg1;
6730 PyObject * _argo0 = 0;
6731 PyObject * _argo1 = 0;
6732 char *_kwnames[] = { "self","parent", NULL };
6733
6734 self = self;
6735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_SetParent",_kwnames,&_argo0,&_argo1))
6736 return NULL;
6737 if (_argo0) {
6738 if (_argo0 == Py_None) { _arg0 = NULL; }
6739 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
6740 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetParent. Expected _wxMenu_p.");
6741 return NULL;
6742 }
6743 }
6744 if (_argo1) {
6745 if (_argo1 == Py_None) { _arg1 = NULL; }
6746 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
6747 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_SetParent. Expected _wxMenu_p.");
6748 return NULL;
6749 }
6750 }
6751 {
6752 wxPy_BEGIN_ALLOW_THREADS;
6753 wxMenu_SetParent(_arg0,_arg1);
6754
6755 wxPy_END_ALLOW_THREADS;
6756 } Py_INCREF(Py_None);
6757 _resultobj = Py_None;
6758 return _resultobj;
6759 }
6760
6761 #define wxMenu_GetParent(_swigobj) (_swigobj->GetParent())
6762 static PyObject *_wrap_wxMenu_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
6763 PyObject * _resultobj;
6764 wxMenu * _result;
6765 wxMenu * _arg0;
6766 PyObject * _argo0 = 0;
6767 char *_kwnames[] = { "self", NULL };
6768 char _ptemp[128];
6769
6770 self = self;
6771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetParent",_kwnames,&_argo0))
6772 return NULL;
6773 if (_argo0) {
6774 if (_argo0 == Py_None) { _arg0 = NULL; }
6775 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
6776 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetParent. Expected _wxMenu_p.");
6777 return NULL;
6778 }
6779 }
6780 {
6781 wxPy_BEGIN_ALLOW_THREADS;
6782 _result = (wxMenu *)wxMenu_GetParent(_arg0);
6783
6784 wxPy_END_ALLOW_THREADS;
6785 } if (_result) {
6786 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenu_p");
6787 _resultobj = Py_BuildValue("s",_ptemp);
6788 } else {
6789 Py_INCREF(Py_None);
6790 _resultobj = Py_None;
6791 }
6792 return _resultobj;
6793 }
6794
6795 static void *SwigwxMenuBarTowxWindow(void *ptr) {
6796 wxMenuBar *src;
6797 wxWindow *dest;
6798 src = (wxMenuBar *) ptr;
6799 dest = (wxWindow *) src;
6800 return (void *) dest;
6801 }
6802
6803 static void *SwigwxMenuBarTowxEvtHandler(void *ptr) {
6804 wxMenuBar *src;
6805 wxEvtHandler *dest;
6806 src = (wxMenuBar *) ptr;
6807 dest = (wxEvtHandler *) src;
6808 return (void *) dest;
6809 }
6810
6811 #define new_wxMenuBar() (new wxMenuBar())
6812 static PyObject *_wrap_new_wxMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
6813 PyObject * _resultobj;
6814 wxMenuBar * _result;
6815 char *_kwnames[] = { NULL };
6816 char _ptemp[128];
6817
6818 self = self;
6819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxMenuBar",_kwnames))
6820 return NULL;
6821 {
6822 wxPy_BEGIN_ALLOW_THREADS;
6823 _result = (wxMenuBar *)new_wxMenuBar();
6824
6825 wxPy_END_ALLOW_THREADS;
6826 } if (_result) {
6827 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuBar_p");
6828 _resultobj = Py_BuildValue("s",_ptemp);
6829 } else {
6830 Py_INCREF(Py_None);
6831 _resultobj = Py_None;
6832 }
6833 return _resultobj;
6834 }
6835
6836 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
6837 static PyObject *_wrap_wxMenuBar_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
6838 PyObject * _resultobj;
6839 bool _result;
6840 wxMenuBar * _arg0;
6841 wxMenu * _arg1;
6842 wxString * _arg2;
6843 PyObject * _argo0 = 0;
6844 PyObject * _argo1 = 0;
6845 PyObject * _obj2 = 0;
6846 char *_kwnames[] = { "self","menu","title", NULL };
6847
6848 self = self;
6849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxMenuBar_Append",_kwnames,&_argo0,&_argo1,&_obj2))
6850 return NULL;
6851 if (_argo0) {
6852 if (_argo0 == Py_None) { _arg0 = NULL; }
6853 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
6854 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
6855 return NULL;
6856 }
6857 }
6858 if (_argo1) {
6859 if (_argo1 == Py_None) { _arg1 = NULL; }
6860 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
6861 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
6862 return NULL;
6863 }
6864 }
6865 {
6866 if (!PyString_Check(_obj2)) {
6867 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6868 return NULL;
6869 }
6870 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
6871 }
6872 {
6873 wxPy_BEGIN_ALLOW_THREADS;
6874 _result = (bool )wxMenuBar_Append(_arg0,_arg1,*_arg2);
6875
6876 wxPy_END_ALLOW_THREADS;
6877 } _resultobj = Py_BuildValue("i",_result);
6878 {
6879 if (_obj2)
6880 delete _arg2;
6881 }
6882 return _resultobj;
6883 }
6884
6885 #define wxMenuBar_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2))
6886 static PyObject *_wrap_wxMenuBar_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
6887 PyObject * _resultobj;
6888 bool _result;
6889 wxMenuBar * _arg0;
6890 size_t _arg1;
6891 wxMenu * _arg2;
6892 wxString * _arg3;
6893 PyObject * _argo0 = 0;
6894 PyObject * _argo2 = 0;
6895 PyObject * _obj3 = 0;
6896 char *_kwnames[] = { "self","pos","menu","title", NULL };
6897
6898 self = self;
6899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO:wxMenuBar_Insert",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3))
6900 return NULL;
6901 if (_argo0) {
6902 if (_argo0 == Py_None) { _arg0 = NULL; }
6903 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
6904 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Insert. Expected _wxMenuBar_p.");
6905 return NULL;
6906 }
6907 }
6908 if (_argo2) {
6909 if (_argo2 == Py_None) { _arg2 = NULL; }
6910 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxMenu_p")) {
6911 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxMenuBar_Insert. Expected _wxMenu_p.");
6912 return NULL;
6913 }
6914 }
6915 {
6916 if (!PyString_Check(_obj3)) {
6917 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6918 return NULL;
6919 }
6920 _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3));
6921 }
6922 {
6923 wxPy_BEGIN_ALLOW_THREADS;
6924 _result = (bool )wxMenuBar_Insert(_arg0,_arg1,_arg2,*_arg3);
6925
6926 wxPy_END_ALLOW_THREADS;
6927 } _resultobj = Py_BuildValue("i",_result);
6928 {
6929 if (_obj3)
6930 delete _arg3;
6931 }
6932 return _resultobj;
6933 }
6934
6935 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
6936 static PyObject *_wrap_wxMenuBar_GetMenuCount(PyObject *self, PyObject *args, PyObject *kwargs) {
6937 PyObject * _resultobj;
6938 size_t _result;
6939 wxMenuBar * _arg0;
6940 PyObject * _argo0 = 0;
6941 char *_kwnames[] = { "self", NULL };
6942
6943 self = self;
6944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuBar_GetMenuCount",_kwnames,&_argo0))
6945 return NULL;
6946 if (_argo0) {
6947 if (_argo0 == Py_None) { _arg0 = NULL; }
6948 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
6949 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
6950 return NULL;
6951 }
6952 }
6953 {
6954 wxPy_BEGIN_ALLOW_THREADS;
6955 _result = (size_t )wxMenuBar_GetMenuCount(_arg0);
6956
6957 wxPy_END_ALLOW_THREADS;
6958 } _resultobj = Py_BuildValue("i",_result);
6959 return _resultobj;
6960 }
6961
6962 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
6963 static PyObject *_wrap_wxMenuBar_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
6964 PyObject * _resultobj;
6965 wxMenu * _result;
6966 wxMenuBar * _arg0;
6967 size_t _arg1;
6968 PyObject * _argo0 = 0;
6969 char *_kwnames[] = { "self","pos", NULL };
6970 char _ptemp[128];
6971
6972 self = self;
6973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_GetMenu",_kwnames,&_argo0,&_arg1))
6974 return NULL;
6975 if (_argo0) {
6976 if (_argo0 == Py_None) { _arg0 = NULL; }
6977 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
6978 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
6979 return NULL;
6980 }
6981 }
6982 {
6983 wxPy_BEGIN_ALLOW_THREADS;
6984 _result = (wxMenu *)wxMenuBar_GetMenu(_arg0,_arg1);
6985
6986 wxPy_END_ALLOW_THREADS;
6987 } if (_result) {
6988 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenu_p");
6989 _resultobj = Py_BuildValue("s",_ptemp);
6990 } else {
6991 Py_INCREF(Py_None);
6992 _resultobj = Py_None;
6993 }
6994 return _resultobj;
6995 }
6996
6997 #define wxMenuBar_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
6998 static PyObject *_wrap_wxMenuBar_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
6999 PyObject * _resultobj;
7000 wxMenu * _result;
7001 wxMenuBar * _arg0;
7002 size_t _arg1;
7003 wxMenu * _arg2;
7004 wxString * _arg3;
7005 PyObject * _argo0 = 0;
7006 PyObject * _argo2 = 0;
7007 PyObject * _obj3 = 0;
7008 char *_kwnames[] = { "self","pos","menu","title", NULL };
7009 char _ptemp[128];
7010
7011 self = self;
7012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO:wxMenuBar_Replace",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3))
7013 return NULL;
7014 if (_argo0) {
7015 if (_argo0 == Py_None) { _arg0 = NULL; }
7016 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
7017 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Replace. Expected _wxMenuBar_p.");
7018 return NULL;
7019 }
7020 }
7021 if (_argo2) {
7022 if (_argo2 == Py_None) { _arg2 = NULL; }
7023 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxMenu_p")) {
7024 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxMenuBar_Replace. Expected _wxMenu_p.");
7025 return NULL;
7026 }
7027 }
7028 {
7029 if (!PyString_Check(_obj3)) {
7030 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7031 return NULL;
7032 }
7033 _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3));
7034 }
7035 {
7036 wxPy_BEGIN_ALLOW_THREADS;
7037 _result = (wxMenu *)wxMenuBar_Replace(_arg0,_arg1,_arg2,*_arg3);
7038
7039 wxPy_END_ALLOW_THREADS;
7040 } if (_result) {
7041 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenu_p");
7042 _resultobj = Py_BuildValue("s",_ptemp);
7043 } else {
7044 Py_INCREF(Py_None);
7045 _resultobj = Py_None;
7046 }
7047 {
7048 if (_obj3)
7049 delete _arg3;
7050 }
7051 return _resultobj;
7052 }
7053
7054 #define wxMenuBar_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
7055 static PyObject *_wrap_wxMenuBar_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
7056 PyObject * _resultobj;
7057 wxMenu * _result;
7058 wxMenuBar * _arg0;
7059 size_t _arg1;
7060 PyObject * _argo0 = 0;
7061 char *_kwnames[] = { "self","pos", NULL };
7062 char _ptemp[128];
7063
7064 self = self;
7065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_Remove",_kwnames,&_argo0,&_arg1))
7066 return NULL;
7067 if (_argo0) {
7068 if (_argo0 == Py_None) { _arg0 = NULL; }
7069 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
7070 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Remove. Expected _wxMenuBar_p.");
7071 return NULL;
7072 }
7073 }
7074 {
7075 wxPy_BEGIN_ALLOW_THREADS;
7076 _result = (wxMenu *)wxMenuBar_Remove(_arg0,_arg1);
7077
7078 wxPy_END_ALLOW_THREADS;
7079 } if (_result) {
7080 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenu_p");
7081 _resultobj = Py_BuildValue("s",_ptemp);
7082 } else {
7083 Py_INCREF(Py_None);
7084 _resultobj = Py_None;
7085 }
7086 return _resultobj;
7087 }
7088
7089 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
7090 static PyObject *_wrap_wxMenuBar_EnableTop(PyObject *self, PyObject *args, PyObject *kwargs) {
7091 PyObject * _resultobj;
7092 wxMenuBar * _arg0;
7093 size_t _arg1;
7094 bool _arg2;
7095 PyObject * _argo0 = 0;
7096 int tempbool2;
7097 char *_kwnames[] = { "self","pos","enable", NULL };
7098
7099 self = self;
7100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxMenuBar_EnableTop",_kwnames,&_argo0,&_arg1,&tempbool2))
7101 return NULL;
7102 if (_argo0) {
7103 if (_argo0 == Py_None) { _arg0 = NULL; }
7104 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
7105 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
7106 return NULL;
7107 }
7108 }
7109 _arg2 = (bool ) tempbool2;
7110 {
7111 wxPy_BEGIN_ALLOW_THREADS;
7112 wxMenuBar_EnableTop(_arg0,_arg1,_arg2);
7113
7114 wxPy_END_ALLOW_THREADS;
7115 } Py_INCREF(Py_None);
7116 _resultobj = Py_None;
7117 return _resultobj;
7118 }
7119
7120 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
7121 static PyObject *_wrap_wxMenuBar_SetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
7122 PyObject * _resultobj;
7123 wxMenuBar * _arg0;
7124 size_t _arg1;
7125 wxString * _arg2;
7126 PyObject * _argo0 = 0;
7127 PyObject * _obj2 = 0;
7128 char *_kwnames[] = { "self","pos","label", NULL };
7129
7130 self = self;
7131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenuBar_SetLabelTop",_kwnames,&_argo0,&_arg1,&_obj2))
7132 return NULL;
7133 if (_argo0) {
7134 if (_argo0 == Py_None) { _arg0 = NULL; }
7135 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
7136 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
7137 return NULL;
7138 }
7139 }
7140 {
7141 if (!PyString_Check(_obj2)) {
7142 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7143 return NULL;
7144 }
7145 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
7146 }
7147 {
7148 wxPy_BEGIN_ALLOW_THREADS;
7149 wxMenuBar_SetLabelTop(_arg0,_arg1,*_arg2);
7150
7151 wxPy_END_ALLOW_THREADS;
7152 } Py_INCREF(Py_None);
7153 _resultobj = Py_None;
7154 {
7155 if (_obj2)
7156 delete _arg2;
7157 }
7158 return _resultobj;
7159 }
7160
7161 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
7162 static PyObject *_wrap_wxMenuBar_GetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
7163 PyObject * _resultobj;
7164 wxString * _result;
7165 wxMenuBar * _arg0;
7166 size_t _arg1;
7167 PyObject * _argo0 = 0;
7168 char *_kwnames[] = { "self","pos", NULL };
7169
7170 self = self;
7171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_GetLabelTop",_kwnames,&_argo0,&_arg1))
7172 return NULL;
7173 if (_argo0) {
7174 if (_argo0 == Py_None) { _arg0 = NULL; }
7175 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
7176 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
7177 return NULL;
7178 }
7179 }
7180 {
7181 wxPy_BEGIN_ALLOW_THREADS;
7182 _result = new wxString (wxMenuBar_GetLabelTop(_arg0,_arg1));
7183
7184 wxPy_END_ALLOW_THREADS;
7185 }{
7186 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
7187 }
7188 {
7189 delete _result;
7190 }
7191 return _resultobj;
7192 }
7193
7194 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
7195 static PyObject *_wrap_wxMenuBar_FindMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
7196 PyObject * _resultobj;
7197 int _result;
7198 wxMenuBar * _arg0;
7199 wxString * _arg1;
7200 wxString * _arg2;
7201 PyObject * _argo0 = 0;
7202 PyObject * _obj1 = 0;
7203 PyObject * _obj2 = 0;
7204 char *_kwnames[] = { "self","menuString","itemString", NULL };
7205
7206 self = self;
7207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxMenuBar_FindMenuItem",_kwnames,&_argo0,&_obj1,&_obj2))
7208 return NULL;
7209 if (_argo0) {
7210 if (_argo0 == Py_None) { _arg0 = NULL; }
7211 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
7212 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
7213 return NULL;
7214 }
7215 }
7216 {
7217 if (!PyString_Check(_obj1)) {
7218 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7219 return NULL;
7220 }
7221 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
7222 }
7223 {
7224 if (!PyString_Check(_obj2)) {
7225 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7226 return NULL;
7227 }
7228 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
7229 }
7230 {
7231 wxPy_BEGIN_ALLOW_THREADS;
7232 _result = (int )wxMenuBar_FindMenuItem(_arg0,*_arg1,*_arg2);
7233
7234 wxPy_END_ALLOW_THREADS;
7235 } _resultobj = Py_BuildValue("i",_result);
7236 {
7237 if (_obj1)
7238 delete _arg1;
7239 }
7240 {
7241 if (_obj2)
7242 delete _arg2;
7243 }
7244 return _resultobj;
7245 }
7246
7247 #define wxMenuBar_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
7248 static PyObject *_wrap_wxMenuBar_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
7249 PyObject * _resultobj;
7250 wxMenuItem * _result;
7251 wxMenuBar * _arg0;
7252 int _arg1;
7253 PyObject * _argo0 = 0;
7254 char *_kwnames[] = { "self","id", NULL };
7255 char _ptemp[128];
7256
7257 self = self;
7258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_FindItemById",_kwnames,&_argo0,&_arg1))
7259 return NULL;
7260 if (_argo0) {
7261 if (_argo0 == Py_None) { _arg0 = NULL; }
7262 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
7263 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_FindItemById. Expected _wxMenuBar_p.");
7264 return NULL;
7265 }
7266 }
7267 {
7268 wxPy_BEGIN_ALLOW_THREADS;
7269 _result = (wxMenuItem *)wxMenuBar_FindItemById(_arg0,_arg1);
7270
7271 wxPy_END_ALLOW_THREADS;
7272 } if (_result) {
7273 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuItem_p");
7274 _resultobj = Py_BuildValue("s",_ptemp);
7275 } else {
7276 Py_INCREF(Py_None);
7277 _resultobj = Py_None;
7278 }
7279 return _resultobj;
7280 }
7281
7282 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
7283 static PyObject *_wrap_wxMenuBar_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
7284 PyObject * _resultobj;
7285 wxMenuBar * _arg0;
7286 int _arg1;
7287 bool _arg2;
7288 PyObject * _argo0 = 0;
7289 int tempbool2;
7290 char *_kwnames[] = { "self","id","enable", NULL };
7291
7292 self = self;
7293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxMenuBar_Enable",_kwnames,&_argo0,&_arg1,&tempbool2))
7294 return NULL;
7295 if (_argo0) {
7296 if (_argo0 == Py_None) { _arg0 = NULL; }
7297 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
7298 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
7299 return NULL;
7300 }
7301 }
7302 _arg2 = (bool ) tempbool2;
7303 {
7304 wxPy_BEGIN_ALLOW_THREADS;
7305 wxMenuBar_Enable(_arg0,_arg1,_arg2);
7306
7307 wxPy_END_ALLOW_THREADS;
7308 } Py_INCREF(Py_None);
7309 _resultobj = Py_None;
7310 return _resultobj;
7311 }
7312
7313 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
7314 static PyObject *_wrap_wxMenuBar_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
7315 PyObject * _resultobj;
7316 wxMenuBar * _arg0;
7317 int _arg1;
7318 bool _arg2;
7319 PyObject * _argo0 = 0;
7320 int tempbool2;
7321 char *_kwnames[] = { "self","id","check", NULL };
7322
7323 self = self;
7324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxMenuBar_Check",_kwnames,&_argo0,&_arg1,&tempbool2))
7325 return NULL;
7326 if (_argo0) {
7327 if (_argo0 == Py_None) { _arg0 = NULL; }
7328 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
7329 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
7330 return NULL;
7331 }
7332 }
7333 _arg2 = (bool ) tempbool2;
7334 {
7335 wxPy_BEGIN_ALLOW_THREADS;
7336 wxMenuBar_Check(_arg0,_arg1,_arg2);
7337
7338 wxPy_END_ALLOW_THREADS;
7339 } Py_INCREF(Py_None);
7340 _resultobj = Py_None;
7341 return _resultobj;
7342 }
7343
7344 #define wxMenuBar_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
7345 static PyObject *_wrap_wxMenuBar_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
7346 PyObject * _resultobj;
7347 bool _result;
7348 wxMenuBar * _arg0;
7349 int _arg1;
7350 PyObject * _argo0 = 0;
7351 char *_kwnames[] = { "self","id", NULL };
7352
7353 self = self;
7354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_IsChecked",_kwnames,&_argo0,&_arg1))
7355 return NULL;
7356 if (_argo0) {
7357 if (_argo0 == Py_None) { _arg0 = NULL; }
7358 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
7359 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_IsChecked. Expected _wxMenuBar_p.");
7360 return NULL;
7361 }
7362 }
7363 {
7364 wxPy_BEGIN_ALLOW_THREADS;
7365 _result = (bool )wxMenuBar_IsChecked(_arg0,_arg1);
7366
7367 wxPy_END_ALLOW_THREADS;
7368 } _resultobj = Py_BuildValue("i",_result);
7369 return _resultobj;
7370 }
7371
7372 #define wxMenuBar_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
7373 static PyObject *_wrap_wxMenuBar_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
7374 PyObject * _resultobj;
7375 bool _result;
7376 wxMenuBar * _arg0;
7377 int _arg1;
7378 PyObject * _argo0 = 0;
7379 char *_kwnames[] = { "self","id", NULL };
7380
7381 self = self;
7382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_IsEnabled",_kwnames,&_argo0,&_arg1))
7383 return NULL;
7384 if (_argo0) {
7385 if (_argo0 == Py_None) { _arg0 = NULL; }
7386 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
7387 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_IsEnabled. Expected _wxMenuBar_p.");
7388 return NULL;
7389 }
7390 }
7391 {
7392 wxPy_BEGIN_ALLOW_THREADS;
7393 _result = (bool )wxMenuBar_IsEnabled(_arg0,_arg1);
7394
7395 wxPy_END_ALLOW_THREADS;
7396 } _resultobj = Py_BuildValue("i",_result);
7397 return _resultobj;
7398 }
7399
7400 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
7401 static PyObject *_wrap_wxMenuBar_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
7402 PyObject * _resultobj;
7403 wxMenuBar * _arg0;
7404 int _arg1;
7405 wxString * _arg2;
7406 PyObject * _argo0 = 0;
7407 PyObject * _obj2 = 0;
7408 char *_kwnames[] = { "self","id","label", NULL };
7409
7410 self = self;
7411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenuBar_SetLabel",_kwnames,&_argo0,&_arg1,&_obj2))
7412 return NULL;
7413 if (_argo0) {
7414 if (_argo0 == Py_None) { _arg0 = NULL; }
7415 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
7416 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
7417 return NULL;
7418 }
7419 }
7420 {
7421 if (!PyString_Check(_obj2)) {
7422 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7423 return NULL;
7424 }
7425 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
7426 }
7427 {
7428 wxPy_BEGIN_ALLOW_THREADS;
7429 wxMenuBar_SetLabel(_arg0,_arg1,*_arg2);
7430
7431 wxPy_END_ALLOW_THREADS;
7432 } Py_INCREF(Py_None);
7433 _resultobj = Py_None;
7434 {
7435 if (_obj2)
7436 delete _arg2;
7437 }
7438 return _resultobj;
7439 }
7440
7441 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
7442 static PyObject *_wrap_wxMenuBar_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
7443 PyObject * _resultobj;
7444 wxString * _result;
7445 wxMenuBar * _arg0;
7446 int _arg1;
7447 PyObject * _argo0 = 0;
7448 char *_kwnames[] = { "self","id", NULL };
7449
7450 self = self;
7451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_GetLabel",_kwnames,&_argo0,&_arg1))
7452 return NULL;
7453 if (_argo0) {
7454 if (_argo0 == Py_None) { _arg0 = NULL; }
7455 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
7456 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
7457 return NULL;
7458 }
7459 }
7460 {
7461 wxPy_BEGIN_ALLOW_THREADS;
7462 _result = new wxString (wxMenuBar_GetLabel(_arg0,_arg1));
7463
7464 wxPy_END_ALLOW_THREADS;
7465 }{
7466 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
7467 }
7468 {
7469 delete _result;
7470 }
7471 return _resultobj;
7472 }
7473
7474 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
7475 static PyObject *_wrap_wxMenuBar_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
7476 PyObject * _resultobj;
7477 wxMenuBar * _arg0;
7478 int _arg1;
7479 wxString * _arg2;
7480 PyObject * _argo0 = 0;
7481 PyObject * _obj2 = 0;
7482 char *_kwnames[] = { "self","id","helpString", NULL };
7483
7484 self = self;
7485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenuBar_SetHelpString",_kwnames,&_argo0,&_arg1,&_obj2))
7486 return NULL;
7487 if (_argo0) {
7488 if (_argo0 == Py_None) { _arg0 = NULL; }
7489 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
7490 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
7491 return NULL;
7492 }
7493 }
7494 {
7495 if (!PyString_Check(_obj2)) {
7496 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7497 return NULL;
7498 }
7499 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
7500 }
7501 {
7502 wxPy_BEGIN_ALLOW_THREADS;
7503 wxMenuBar_SetHelpString(_arg0,_arg1,*_arg2);
7504
7505 wxPy_END_ALLOW_THREADS;
7506 } Py_INCREF(Py_None);
7507 _resultobj = Py_None;
7508 {
7509 if (_obj2)
7510 delete _arg2;
7511 }
7512 return _resultobj;
7513 }
7514
7515 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
7516 static PyObject *_wrap_wxMenuBar_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
7517 PyObject * _resultobj;
7518 wxString * _result;
7519 wxMenuBar * _arg0;
7520 int _arg1;
7521 PyObject * _argo0 = 0;
7522 char *_kwnames[] = { "self","id", NULL };
7523
7524 self = self;
7525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_GetHelpString",_kwnames,&_argo0,&_arg1))
7526 return NULL;
7527 if (_argo0) {
7528 if (_argo0 == Py_None) { _arg0 = NULL; }
7529 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
7530 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
7531 return NULL;
7532 }
7533 }
7534 {
7535 wxPy_BEGIN_ALLOW_THREADS;
7536 _result = new wxString (wxMenuBar_GetHelpString(_arg0,_arg1));
7537
7538 wxPy_END_ALLOW_THREADS;
7539 }{
7540 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
7541 }
7542 {
7543 delete _result;
7544 }
7545 return _resultobj;
7546 }
7547
7548 #define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7549 static PyObject *_wrap_new_wxMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
7550 PyObject * _resultobj;
7551 wxMenuItem * _result;
7552 wxMenu * _arg0 = (wxMenu *) NULL;
7553 int _arg1 = (int ) ID_SEPARATOR;
7554 wxString * _arg2 = (wxString *) &wxPyEmptyStr;
7555 wxString * _arg3 = (wxString *) &wxPyEmptyStr;
7556 bool _arg4 = (bool ) FALSE;
7557 wxMenu * _arg5 = (wxMenu *) NULL;
7558 PyObject * _argo0 = 0;
7559 PyObject * _obj2 = 0;
7560 PyObject * _obj3 = 0;
7561 int tempbool4 = (int) FALSE;
7562 PyObject * _argo5 = 0;
7563 char *_kwnames[] = { "parentMenu","id","text","help","isCheckable","subMenu", NULL };
7564 char _ptemp[128];
7565
7566 self = self;
7567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OiOOiO:new_wxMenuItem",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&tempbool4,&_argo5))
7568 return NULL;
7569 if (_argo0) {
7570 if (_argo0 == Py_None) { _arg0 = NULL; }
7571 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7572 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
7573 return NULL;
7574 }
7575 }
7576 if (_obj2)
7577 {
7578 if (!PyString_Check(_obj2)) {
7579 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7580 return NULL;
7581 }
7582 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
7583 }
7584 if (_obj3)
7585 {
7586 if (!PyString_Check(_obj3)) {
7587 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7588 return NULL;
7589 }
7590 _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3));
7591 }
7592 _arg4 = (bool ) tempbool4;
7593 if (_argo5) {
7594 if (_argo5 == Py_None) { _arg5 = NULL; }
7595 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxMenu_p")) {
7596 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
7597 return NULL;
7598 }
7599 }
7600 {
7601 wxPy_BEGIN_ALLOW_THREADS;
7602 _result = (wxMenuItem *)new_wxMenuItem(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
7603
7604 wxPy_END_ALLOW_THREADS;
7605 } if (_result) {
7606 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuItem_p");
7607 _resultobj = Py_BuildValue("s",_ptemp);
7608 } else {
7609 Py_INCREF(Py_None);
7610 _resultobj = Py_None;
7611 }
7612 {
7613 if (_obj2)
7614 delete _arg2;
7615 }
7616 {
7617 if (_obj3)
7618 delete _arg3;
7619 }
7620 return _resultobj;
7621 }
7622
7623 #define wxMenuItem_GetMenu(_swigobj) (_swigobj->GetMenu())
7624 static PyObject *_wrap_wxMenuItem_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
7625 PyObject * _resultobj;
7626 wxMenu * _result;
7627 wxMenuItem * _arg0;
7628 PyObject * _argo0 = 0;
7629 char *_kwnames[] = { "self", NULL };
7630 char _ptemp[128];
7631
7632 self = self;
7633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetMenu",_kwnames,&_argo0))
7634 return NULL;
7635 if (_argo0) {
7636 if (_argo0 == Py_None) { _arg0 = NULL; }
7637 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
7638 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetMenu. Expected _wxMenuItem_p.");
7639 return NULL;
7640 }
7641 }
7642 {
7643 wxPy_BEGIN_ALLOW_THREADS;
7644 _result = (wxMenu *)wxMenuItem_GetMenu(_arg0);
7645
7646 wxPy_END_ALLOW_THREADS;
7647 } if (_result) {
7648 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenu_p");
7649 _resultobj = Py_BuildValue("s",_ptemp);
7650 } else {
7651 Py_INCREF(Py_None);
7652 _resultobj = Py_None;
7653 }
7654 return _resultobj;
7655 }
7656
7657 #define wxMenuItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
7658 static PyObject *_wrap_wxMenuItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
7659 PyObject * _resultobj;
7660 wxMenuItem * _arg0;
7661 int _arg1;
7662 PyObject * _argo0 = 0;
7663 char *_kwnames[] = { "self","id", NULL };
7664
7665 self = self;
7666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuItem_SetId",_kwnames,&_argo0,&_arg1))
7667 return NULL;
7668 if (_argo0) {
7669 if (_argo0 == Py_None) { _arg0 = NULL; }
7670 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
7671 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetId. Expected _wxMenuItem_p.");
7672 return NULL;
7673 }
7674 }
7675 {
7676 wxPy_BEGIN_ALLOW_THREADS;
7677 wxMenuItem_SetId(_arg0,_arg1);
7678
7679 wxPy_END_ALLOW_THREADS;
7680 } Py_INCREF(Py_None);
7681 _resultobj = Py_None;
7682 return _resultobj;
7683 }
7684
7685 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
7686 static PyObject *_wrap_wxMenuItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
7687 PyObject * _resultobj;
7688 int _result;
7689 wxMenuItem * _arg0;
7690 PyObject * _argo0 = 0;
7691 char *_kwnames[] = { "self", NULL };
7692
7693 self = self;
7694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetId",_kwnames,&_argo0))
7695 return NULL;
7696 if (_argo0) {
7697 if (_argo0 == Py_None) { _arg0 = NULL; }
7698 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
7699 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
7700 return NULL;
7701 }
7702 }
7703 {
7704 wxPy_BEGIN_ALLOW_THREADS;
7705 _result = (int )wxMenuItem_GetId(_arg0);
7706
7707 wxPy_END_ALLOW_THREADS;
7708 } _resultobj = Py_BuildValue("i",_result);
7709 return _resultobj;
7710 }
7711
7712 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
7713 static PyObject *_wrap_wxMenuItem_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
7714 PyObject * _resultobj;
7715 bool _result;
7716 wxMenuItem * _arg0;
7717 PyObject * _argo0 = 0;
7718 char *_kwnames[] = { "self", NULL };
7719
7720 self = self;
7721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsSeparator",_kwnames,&_argo0))
7722 return NULL;
7723 if (_argo0) {
7724 if (_argo0 == Py_None) { _arg0 = NULL; }
7725 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
7726 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
7727 return NULL;
7728 }
7729 }
7730 {
7731 wxPy_BEGIN_ALLOW_THREADS;
7732 _result = (bool )wxMenuItem_IsSeparator(_arg0);
7733
7734 wxPy_END_ALLOW_THREADS;
7735 } _resultobj = Py_BuildValue("i",_result);
7736 return _resultobj;
7737 }
7738
7739 #define wxMenuItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
7740 static PyObject *_wrap_wxMenuItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
7741 PyObject * _resultobj;
7742 wxMenuItem * _arg0;
7743 wxString * _arg1;
7744 PyObject * _argo0 = 0;
7745 PyObject * _obj1 = 0;
7746 char *_kwnames[] = { "self","str", NULL };
7747
7748 self = self;
7749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetText",_kwnames,&_argo0,&_obj1))
7750 return NULL;
7751 if (_argo0) {
7752 if (_argo0 == Py_None) { _arg0 = NULL; }
7753 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
7754 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetText. Expected _wxMenuItem_p.");
7755 return NULL;
7756 }
7757 }
7758 {
7759 if (!PyString_Check(_obj1)) {
7760 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7761 return NULL;
7762 }
7763 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
7764 }
7765 {
7766 wxPy_BEGIN_ALLOW_THREADS;
7767 wxMenuItem_SetText(_arg0,*_arg1);
7768
7769 wxPy_END_ALLOW_THREADS;
7770 } Py_INCREF(Py_None);
7771 _resultobj = Py_None;
7772 {
7773 if (_obj1)
7774 delete _arg1;
7775 }
7776 return _resultobj;
7777 }
7778
7779 #define wxMenuItem_GetLabel(_swigobj) (_swigobj->GetLabel())
7780 static PyObject *_wrap_wxMenuItem_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
7781 PyObject * _resultobj;
7782 wxString * _result;
7783 wxMenuItem * _arg0;
7784 PyObject * _argo0 = 0;
7785 char *_kwnames[] = { "self", NULL };
7786
7787 self = self;
7788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetLabel",_kwnames,&_argo0))
7789 return NULL;
7790 if (_argo0) {
7791 if (_argo0 == Py_None) { _arg0 = NULL; }
7792 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
7793 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetLabel. Expected _wxMenuItem_p.");
7794 return NULL;
7795 }
7796 }
7797 {
7798 wxPy_BEGIN_ALLOW_THREADS;
7799 _result = new wxString (wxMenuItem_GetLabel(_arg0));
7800
7801 wxPy_END_ALLOW_THREADS;
7802 }{
7803 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
7804 }
7805 {
7806 delete _result;
7807 }
7808 return _resultobj;
7809 }
7810
7811 #define wxMenuItem_GetText(_swigobj) (_swigobj->GetText())
7812 static PyObject *_wrap_wxMenuItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
7813 PyObject * _resultobj;
7814 wxString * _result;
7815 wxMenuItem * _arg0;
7816 PyObject * _argo0 = 0;
7817 char *_kwnames[] = { "self", NULL };
7818
7819 self = self;
7820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetText",_kwnames,&_argo0))
7821 return NULL;
7822 if (_argo0) {
7823 if (_argo0 == Py_None) { _arg0 = NULL; }
7824 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
7825 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetText. Expected _wxMenuItem_p.");
7826 return NULL;
7827 }
7828 }
7829 {
7830 wxPy_BEGIN_ALLOW_THREADS;
7831 const wxString & _result_ref = wxMenuItem_GetText(_arg0);
7832 _result = (wxString *) &_result_ref;
7833
7834 wxPy_END_ALLOW_THREADS;
7835 }{
7836 _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
7837 }
7838 return _resultobj;
7839 }
7840
7841 #define wxMenuItem_SetCheckable(_swigobj,_swigarg0) (_swigobj->SetCheckable(_swigarg0))
7842 static PyObject *_wrap_wxMenuItem_SetCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
7843 PyObject * _resultobj;
7844 wxMenuItem * _arg0;
7845 bool _arg1;
7846 PyObject * _argo0 = 0;
7847 int tempbool1;
7848 char *_kwnames[] = { "self","checkable", NULL };
7849
7850 self = self;
7851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuItem_SetCheckable",_kwnames,&_argo0,&tempbool1))
7852 return NULL;
7853 if (_argo0) {
7854 if (_argo0 == Py_None) { _arg0 = NULL; }
7855 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
7856 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetCheckable. Expected _wxMenuItem_p.");
7857 return NULL;
7858 }
7859 }
7860 _arg1 = (bool ) tempbool1;
7861 {
7862 wxPy_BEGIN_ALLOW_THREADS;
7863 wxMenuItem_SetCheckable(_arg0,_arg1);
7864
7865 wxPy_END_ALLOW_THREADS;
7866 } Py_INCREF(Py_None);
7867 _resultobj = Py_None;
7868 return _resultobj;
7869 }
7870
7871 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
7872 static PyObject *_wrap_wxMenuItem_IsCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
7873 PyObject * _resultobj;
7874 bool _result;
7875 wxMenuItem * _arg0;
7876 PyObject * _argo0 = 0;
7877 char *_kwnames[] = { "self", NULL };
7878
7879 self = self;
7880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsCheckable",_kwnames,&_argo0))
7881 return NULL;
7882 if (_argo0) {
7883 if (_argo0 == Py_None) { _arg0 = NULL; }
7884 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
7885 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
7886 return NULL;
7887 }
7888 }
7889 {
7890 wxPy_BEGIN_ALLOW_THREADS;
7891 _result = (bool )wxMenuItem_IsCheckable(_arg0);
7892
7893 wxPy_END_ALLOW_THREADS;
7894 } _resultobj = Py_BuildValue("i",_result);
7895 return _resultobj;
7896 }
7897
7898 #define wxMenuItem_IsSubMenu(_swigobj) (_swigobj->IsSubMenu())
7899 static PyObject *_wrap_wxMenuItem_IsSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
7900 PyObject * _resultobj;
7901 bool _result;
7902 wxMenuItem * _arg0;
7903 PyObject * _argo0 = 0;
7904 char *_kwnames[] = { "self", NULL };
7905
7906 self = self;
7907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsSubMenu",_kwnames,&_argo0))
7908 return NULL;
7909 if (_argo0) {
7910 if (_argo0 == Py_None) { _arg0 = NULL; }
7911 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
7912 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsSubMenu. Expected _wxMenuItem_p.");
7913 return NULL;
7914 }
7915 }
7916 {
7917 wxPy_BEGIN_ALLOW_THREADS;
7918 _result = (bool )wxMenuItem_IsSubMenu(_arg0);
7919
7920 wxPy_END_ALLOW_THREADS;
7921 } _resultobj = Py_BuildValue("i",_result);
7922 return _resultobj;
7923 }
7924
7925 #define wxMenuItem_SetSubMenu(_swigobj,_swigarg0) (_swigobj->SetSubMenu(_swigarg0))
7926 static PyObject *_wrap_wxMenuItem_SetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
7927 PyObject * _resultobj;
7928 wxMenuItem * _arg0;
7929 wxMenu * _arg1;
7930 PyObject * _argo0 = 0;
7931 PyObject * _argo1 = 0;
7932 char *_kwnames[] = { "self","menu", NULL };
7933
7934 self = self;
7935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetSubMenu",_kwnames,&_argo0,&_argo1))
7936 return NULL;
7937 if (_argo0) {
7938 if (_argo0 == Py_None) { _arg0 = NULL; }
7939 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
7940 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetSubMenu. Expected _wxMenuItem_p.");
7941 return NULL;
7942 }
7943 }
7944 if (_argo1) {
7945 if (_argo1 == Py_None) { _arg1 = NULL; }
7946 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
7947 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenuItem_SetSubMenu. Expected _wxMenu_p.");
7948 return NULL;
7949 }
7950 }
7951 {
7952 wxPy_BEGIN_ALLOW_THREADS;
7953 wxMenuItem_SetSubMenu(_arg0,_arg1);
7954
7955 wxPy_END_ALLOW_THREADS;
7956 } Py_INCREF(Py_None);
7957 _resultobj = Py_None;
7958 return _resultobj;
7959 }
7960
7961 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
7962 static PyObject *_wrap_wxMenuItem_GetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
7963 PyObject * _resultobj;
7964 wxMenu * _result;
7965 wxMenuItem * _arg0;
7966 PyObject * _argo0 = 0;
7967 char *_kwnames[] = { "self", NULL };
7968 char _ptemp[128];
7969
7970 self = self;
7971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetSubMenu",_kwnames,&_argo0))
7972 return NULL;
7973 if (_argo0) {
7974 if (_argo0 == Py_None) { _arg0 = NULL; }
7975 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
7976 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
7977 return NULL;
7978 }
7979 }
7980 {
7981 wxPy_BEGIN_ALLOW_THREADS;
7982 _result = (wxMenu *)wxMenuItem_GetSubMenu(_arg0);
7983
7984 wxPy_END_ALLOW_THREADS;
7985 } if (_result) {
7986 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenu_p");
7987 _resultobj = Py_BuildValue("s",_ptemp);
7988 } else {
7989 Py_INCREF(Py_None);
7990 _resultobj = Py_None;
7991 }
7992 return _resultobj;
7993 }
7994
7995 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
7996 static PyObject *_wrap_wxMenuItem_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
7997 PyObject * _resultobj;
7998 wxMenuItem * _arg0;
7999 bool _arg1 = (bool ) TRUE;
8000 PyObject * _argo0 = 0;
8001 int tempbool1 = (int) TRUE;
8002 char *_kwnames[] = { "self","enable", NULL };
8003
8004 self = self;
8005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxMenuItem_Enable",_kwnames,&_argo0,&tempbool1))
8006 return NULL;
8007 if (_argo0) {
8008 if (_argo0 == Py_None) { _arg0 = NULL; }
8009 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
8010 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
8011 return NULL;
8012 }
8013 }
8014 _arg1 = (bool ) tempbool1;
8015 {
8016 wxPy_BEGIN_ALLOW_THREADS;
8017 wxMenuItem_Enable(_arg0,_arg1);
8018
8019 wxPy_END_ALLOW_THREADS;
8020 } Py_INCREF(Py_None);
8021 _resultobj = Py_None;
8022 return _resultobj;
8023 }
8024
8025 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
8026 static PyObject *_wrap_wxMenuItem_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
8027 PyObject * _resultobj;
8028 bool _result;
8029 wxMenuItem * _arg0;
8030 PyObject * _argo0 = 0;
8031 char *_kwnames[] = { "self", NULL };
8032
8033 self = self;
8034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsEnabled",_kwnames,&_argo0))
8035 return NULL;
8036 if (_argo0) {
8037 if (_argo0 == Py_None) { _arg0 = NULL; }
8038 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
8039 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
8040 return NULL;
8041 }
8042 }
8043 {
8044 wxPy_BEGIN_ALLOW_THREADS;
8045 _result = (bool )wxMenuItem_IsEnabled(_arg0);
8046
8047 wxPy_END_ALLOW_THREADS;
8048 } _resultobj = Py_BuildValue("i",_result);
8049 return _resultobj;
8050 }
8051
8052 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
8053 static PyObject *_wrap_wxMenuItem_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
8054 PyObject * _resultobj;
8055 wxMenuItem * _arg0;
8056 bool _arg1 = (bool ) TRUE;
8057 PyObject * _argo0 = 0;
8058 int tempbool1 = (int) TRUE;
8059 char *_kwnames[] = { "self","check", NULL };
8060
8061 self = self;
8062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxMenuItem_Check",_kwnames,&_argo0,&tempbool1))
8063 return NULL;
8064 if (_argo0) {
8065 if (_argo0 == Py_None) { _arg0 = NULL; }
8066 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
8067 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
8068 return NULL;
8069 }
8070 }
8071 _arg1 = (bool ) tempbool1;
8072 {
8073 wxPy_BEGIN_ALLOW_THREADS;
8074 wxMenuItem_Check(_arg0,_arg1);
8075
8076 wxPy_END_ALLOW_THREADS;
8077 } Py_INCREF(Py_None);
8078 _resultobj = Py_None;
8079 return _resultobj;
8080 }
8081
8082 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
8083 static PyObject *_wrap_wxMenuItem_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
8084 PyObject * _resultobj;
8085 bool _result;
8086 wxMenuItem * _arg0;
8087 PyObject * _argo0 = 0;
8088 char *_kwnames[] = { "self", NULL };
8089
8090 self = self;
8091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsChecked",_kwnames,&_argo0))
8092 return NULL;
8093 if (_argo0) {
8094 if (_argo0 == Py_None) { _arg0 = NULL; }
8095 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
8096 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
8097 return NULL;
8098 }
8099 }
8100 {
8101 wxPy_BEGIN_ALLOW_THREADS;
8102 _result = (bool )wxMenuItem_IsChecked(_arg0);
8103
8104 wxPy_END_ALLOW_THREADS;
8105 } _resultobj = Py_BuildValue("i",_result);
8106 return _resultobj;
8107 }
8108
8109 #define wxMenuItem_Toggle(_swigobj) (_swigobj->Toggle())
8110 static PyObject *_wrap_wxMenuItem_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
8111 PyObject * _resultobj;
8112 wxMenuItem * _arg0;
8113 PyObject * _argo0 = 0;
8114 char *_kwnames[] = { "self", NULL };
8115
8116 self = self;
8117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_Toggle",_kwnames,&_argo0))
8118 return NULL;
8119 if (_argo0) {
8120 if (_argo0 == Py_None) { _arg0 = NULL; }
8121 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
8122 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_Toggle. Expected _wxMenuItem_p.");
8123 return NULL;
8124 }
8125 }
8126 {
8127 wxPy_BEGIN_ALLOW_THREADS;
8128 wxMenuItem_Toggle(_arg0);
8129
8130 wxPy_END_ALLOW_THREADS;
8131 } Py_INCREF(Py_None);
8132 _resultobj = Py_None;
8133 return _resultobj;
8134 }
8135
8136 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
8137 static PyObject *_wrap_wxMenuItem_SetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
8138 PyObject * _resultobj;
8139 wxMenuItem * _arg0;
8140 wxString * _arg1;
8141 PyObject * _argo0 = 0;
8142 PyObject * _obj1 = 0;
8143 char *_kwnames[] = { "self","str", NULL };
8144
8145 self = self;
8146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetHelp",_kwnames,&_argo0,&_obj1))
8147 return NULL;
8148 if (_argo0) {
8149 if (_argo0 == Py_None) { _arg0 = NULL; }
8150 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
8151 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
8152 return NULL;
8153 }
8154 }
8155 {
8156 if (!PyString_Check(_obj1)) {
8157 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8158 return NULL;
8159 }
8160 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
8161 }
8162 {
8163 wxPy_BEGIN_ALLOW_THREADS;
8164 wxMenuItem_SetHelp(_arg0,*_arg1);
8165
8166 wxPy_END_ALLOW_THREADS;
8167 } Py_INCREF(Py_None);
8168 _resultobj = Py_None;
8169 {
8170 if (_obj1)
8171 delete _arg1;
8172 }
8173 return _resultobj;
8174 }
8175
8176 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
8177 static PyObject *_wrap_wxMenuItem_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
8178 PyObject * _resultobj;
8179 wxString * _result;
8180 wxMenuItem * _arg0;
8181 PyObject * _argo0 = 0;
8182 char *_kwnames[] = { "self", NULL };
8183
8184 self = self;
8185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetHelp",_kwnames,&_argo0))
8186 return NULL;
8187 if (_argo0) {
8188 if (_argo0 == Py_None) { _arg0 = NULL; }
8189 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
8190 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
8191 return NULL;
8192 }
8193 }
8194 {
8195 wxPy_BEGIN_ALLOW_THREADS;
8196 const wxString & _result_ref = wxMenuItem_GetHelp(_arg0);
8197 _result = (wxString *) &_result_ref;
8198
8199 wxPy_END_ALLOW_THREADS;
8200 }{
8201 _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
8202 }
8203 return _resultobj;
8204 }
8205
8206 #define wxMenuItem_GetAccel(_swigobj) (_swigobj->GetAccel())
8207 static PyObject *_wrap_wxMenuItem_GetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
8208 PyObject * _resultobj;
8209 wxAcceleratorEntry * _result;
8210 wxMenuItem * _arg0;
8211 PyObject * _argo0 = 0;
8212 char *_kwnames[] = { "self", NULL };
8213 char _ptemp[128];
8214
8215 self = self;
8216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetAccel",_kwnames,&_argo0))
8217 return NULL;
8218 if (_argo0) {
8219 if (_argo0 == Py_None) { _arg0 = NULL; }
8220 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
8221 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetAccel. Expected _wxMenuItem_p.");
8222 return NULL;
8223 }
8224 }
8225 {
8226 wxPy_BEGIN_ALLOW_THREADS;
8227 _result = (wxAcceleratorEntry *)wxMenuItem_GetAccel(_arg0);
8228
8229 wxPy_END_ALLOW_THREADS;
8230 } if (_result) {
8231 SWIG_MakePtr(_ptemp, (char *) _result,"_wxAcceleratorEntry_p");
8232 _resultobj = Py_BuildValue("s",_ptemp);
8233 } else {
8234 Py_INCREF(Py_None);
8235 _resultobj = Py_None;
8236 }
8237 return _resultobj;
8238 }
8239
8240 #define wxMenuItem_SetAccel(_swigobj,_swigarg0) (_swigobj->SetAccel(_swigarg0))
8241 static PyObject *_wrap_wxMenuItem_SetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
8242 PyObject * _resultobj;
8243 wxMenuItem * _arg0;
8244 wxAcceleratorEntry * _arg1;
8245 PyObject * _argo0 = 0;
8246 PyObject * _argo1 = 0;
8247 char *_kwnames[] = { "self","accel", NULL };
8248
8249 self = self;
8250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetAccel",_kwnames,&_argo0,&_argo1))
8251 return NULL;
8252 if (_argo0) {
8253 if (_argo0 == Py_None) { _arg0 = NULL; }
8254 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
8255 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetAccel. Expected _wxMenuItem_p.");
8256 return NULL;
8257 }
8258 }
8259 if (_argo1) {
8260 if (_argo1 == Py_None) { _arg1 = NULL; }
8261 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxAcceleratorEntry_p")) {
8262 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenuItem_SetAccel. Expected _wxAcceleratorEntry_p.");
8263 return NULL;
8264 }
8265 }
8266 {
8267 wxPy_BEGIN_ALLOW_THREADS;
8268 wxMenuItem_SetAccel(_arg0,_arg1);
8269
8270 wxPy_END_ALLOW_THREADS;
8271 } Py_INCREF(Py_None);
8272 _resultobj = Py_None;
8273 return _resultobj;
8274 }
8275
8276 static PyMethodDef windowscMethods[] = {
8277 { "wxMenuItem_SetAccel", (PyCFunction) _wrap_wxMenuItem_SetAccel, METH_VARARGS | METH_KEYWORDS },
8278 { "wxMenuItem_GetAccel", (PyCFunction) _wrap_wxMenuItem_GetAccel, METH_VARARGS | METH_KEYWORDS },
8279 { "wxMenuItem_GetHelp", (PyCFunction) _wrap_wxMenuItem_GetHelp, METH_VARARGS | METH_KEYWORDS },
8280 { "wxMenuItem_SetHelp", (PyCFunction) _wrap_wxMenuItem_SetHelp, METH_VARARGS | METH_KEYWORDS },
8281 { "wxMenuItem_Toggle", (PyCFunction) _wrap_wxMenuItem_Toggle, METH_VARARGS | METH_KEYWORDS },
8282 { "wxMenuItem_IsChecked", (PyCFunction) _wrap_wxMenuItem_IsChecked, METH_VARARGS | METH_KEYWORDS },
8283 { "wxMenuItem_Check", (PyCFunction) _wrap_wxMenuItem_Check, METH_VARARGS | METH_KEYWORDS },
8284 { "wxMenuItem_IsEnabled", (PyCFunction) _wrap_wxMenuItem_IsEnabled, METH_VARARGS | METH_KEYWORDS },
8285 { "wxMenuItem_Enable", (PyCFunction) _wrap_wxMenuItem_Enable, METH_VARARGS | METH_KEYWORDS },
8286 { "wxMenuItem_GetSubMenu", (PyCFunction) _wrap_wxMenuItem_GetSubMenu, METH_VARARGS | METH_KEYWORDS },
8287 { "wxMenuItem_SetSubMenu", (PyCFunction) _wrap_wxMenuItem_SetSubMenu, METH_VARARGS | METH_KEYWORDS },
8288 { "wxMenuItem_IsSubMenu", (PyCFunction) _wrap_wxMenuItem_IsSubMenu, METH_VARARGS | METH_KEYWORDS },
8289 { "wxMenuItem_IsCheckable", (PyCFunction) _wrap_wxMenuItem_IsCheckable, METH_VARARGS | METH_KEYWORDS },
8290 { "wxMenuItem_SetCheckable", (PyCFunction) _wrap_wxMenuItem_SetCheckable, METH_VARARGS | METH_KEYWORDS },
8291 { "wxMenuItem_GetText", (PyCFunction) _wrap_wxMenuItem_GetText, METH_VARARGS | METH_KEYWORDS },
8292 { "wxMenuItem_GetLabel", (PyCFunction) _wrap_wxMenuItem_GetLabel, METH_VARARGS | METH_KEYWORDS },
8293 { "wxMenuItem_SetText", (PyCFunction) _wrap_wxMenuItem_SetText, METH_VARARGS | METH_KEYWORDS },
8294 { "wxMenuItem_IsSeparator", (PyCFunction) _wrap_wxMenuItem_IsSeparator, METH_VARARGS | METH_KEYWORDS },
8295 { "wxMenuItem_GetId", (PyCFunction) _wrap_wxMenuItem_GetId, METH_VARARGS | METH_KEYWORDS },
8296 { "wxMenuItem_SetId", (PyCFunction) _wrap_wxMenuItem_SetId, METH_VARARGS | METH_KEYWORDS },
8297 { "wxMenuItem_GetMenu", (PyCFunction) _wrap_wxMenuItem_GetMenu, METH_VARARGS | METH_KEYWORDS },
8298 { "new_wxMenuItem", (PyCFunction) _wrap_new_wxMenuItem, METH_VARARGS | METH_KEYWORDS },
8299 { "wxMenuBar_GetHelpString", (PyCFunction) _wrap_wxMenuBar_GetHelpString, METH_VARARGS | METH_KEYWORDS },
8300 { "wxMenuBar_SetHelpString", (PyCFunction) _wrap_wxMenuBar_SetHelpString, METH_VARARGS | METH_KEYWORDS },
8301 { "wxMenuBar_GetLabel", (PyCFunction) _wrap_wxMenuBar_GetLabel, METH_VARARGS | METH_KEYWORDS },
8302 { "wxMenuBar_SetLabel", (PyCFunction) _wrap_wxMenuBar_SetLabel, METH_VARARGS | METH_KEYWORDS },
8303 { "wxMenuBar_IsEnabled", (PyCFunction) _wrap_wxMenuBar_IsEnabled, METH_VARARGS | METH_KEYWORDS },
8304 { "wxMenuBar_IsChecked", (PyCFunction) _wrap_wxMenuBar_IsChecked, METH_VARARGS | METH_KEYWORDS },
8305 { "wxMenuBar_Check", (PyCFunction) _wrap_wxMenuBar_Check, METH_VARARGS | METH_KEYWORDS },
8306 { "wxMenuBar_Enable", (PyCFunction) _wrap_wxMenuBar_Enable, METH_VARARGS | METH_KEYWORDS },
8307 { "wxMenuBar_FindItemById", (PyCFunction) _wrap_wxMenuBar_FindItemById, METH_VARARGS | METH_KEYWORDS },
8308 { "wxMenuBar_FindMenuItem", (PyCFunction) _wrap_wxMenuBar_FindMenuItem, METH_VARARGS | METH_KEYWORDS },
8309 { "wxMenuBar_GetLabelTop", (PyCFunction) _wrap_wxMenuBar_GetLabelTop, METH_VARARGS | METH_KEYWORDS },
8310 { "wxMenuBar_SetLabelTop", (PyCFunction) _wrap_wxMenuBar_SetLabelTop, METH_VARARGS | METH_KEYWORDS },
8311 { "wxMenuBar_EnableTop", (PyCFunction) _wrap_wxMenuBar_EnableTop, METH_VARARGS | METH_KEYWORDS },
8312 { "wxMenuBar_Remove", (PyCFunction) _wrap_wxMenuBar_Remove, METH_VARARGS | METH_KEYWORDS },
8313 { "wxMenuBar_Replace", (PyCFunction) _wrap_wxMenuBar_Replace, METH_VARARGS | METH_KEYWORDS },
8314 { "wxMenuBar_GetMenu", (PyCFunction) _wrap_wxMenuBar_GetMenu, METH_VARARGS | METH_KEYWORDS },
8315 { "wxMenuBar_GetMenuCount", (PyCFunction) _wrap_wxMenuBar_GetMenuCount, METH_VARARGS | METH_KEYWORDS },
8316 { "wxMenuBar_Insert", (PyCFunction) _wrap_wxMenuBar_Insert, METH_VARARGS | METH_KEYWORDS },
8317 { "wxMenuBar_Append", (PyCFunction) _wrap_wxMenuBar_Append, METH_VARARGS | METH_KEYWORDS },
8318 { "new_wxMenuBar", (PyCFunction) _wrap_new_wxMenuBar, METH_VARARGS | METH_KEYWORDS },
8319 { "wxMenu_GetParent", (PyCFunction) _wrap_wxMenu_GetParent, METH_VARARGS | METH_KEYWORDS },
8320 { "wxMenu_SetParent", (PyCFunction) _wrap_wxMenu_SetParent, METH_VARARGS | METH_KEYWORDS },
8321 { "wxMenu_IsAttached", (PyCFunction) _wrap_wxMenu_IsAttached, METH_VARARGS | METH_KEYWORDS },
8322 { "wxMenu_GetStyle", (PyCFunction) _wrap_wxMenu_GetStyle, METH_VARARGS | METH_KEYWORDS },
8323 { "wxMenu_GetInvokingWindow", (PyCFunction) _wrap_wxMenu_GetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
8324 { "wxMenu_SetInvokingWindow", (PyCFunction) _wrap_wxMenu_SetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
8325 { "wxMenu_GetEventHandler", (PyCFunction) _wrap_wxMenu_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
8326 { "wxMenu_SetEventHandler", (PyCFunction) _wrap_wxMenu_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
8327 { "wxMenu_GetMenuItems", (PyCFunction) _wrap_wxMenu_GetMenuItems, METH_VARARGS | METH_KEYWORDS },
8328 { "wxMenu_GetMenuItemCount", (PyCFunction) _wrap_wxMenu_GetMenuItemCount, METH_VARARGS | METH_KEYWORDS },
8329 { "wxMenu_DestroyItem", (PyCFunction) _wrap_wxMenu_DestroyItem, METH_VARARGS | METH_KEYWORDS },
8330 { "wxMenu_DestroyId", (PyCFunction) _wrap_wxMenu_DestroyId, METH_VARARGS | METH_KEYWORDS },
8331 { "wxMenu_Destroy", (PyCFunction) _wrap_wxMenu_Destroy, METH_VARARGS | METH_KEYWORDS },
8332 { "wxMenu_RemoveItem", (PyCFunction) _wrap_wxMenu_RemoveItem, METH_VARARGS | METH_KEYWORDS },
8333 { "wxMenu_Remove", (PyCFunction) _wrap_wxMenu_Remove, METH_VARARGS | METH_KEYWORDS },
8334 { "wxMenu_Insert", (PyCFunction) _wrap_wxMenu_Insert, METH_VARARGS | METH_KEYWORDS },
8335 { "wxMenu_DeleteItem", (PyCFunction) _wrap_wxMenu_DeleteItem, METH_VARARGS | METH_KEYWORDS },
8336 { "wxMenu_Delete", (PyCFunction) _wrap_wxMenu_Delete, METH_VARARGS | METH_KEYWORDS },
8337 { "wxMenu_UpdateUI", (PyCFunction) _wrap_wxMenu_UpdateUI, METH_VARARGS | METH_KEYWORDS },
8338 { "wxMenu_SetHelpString", (PyCFunction) _wrap_wxMenu_SetHelpString, METH_VARARGS | METH_KEYWORDS },
8339 { "wxMenu_GetHelpString", (PyCFunction) _wrap_wxMenu_GetHelpString, METH_VARARGS | METH_KEYWORDS },
8340 { "wxMenu_SetLabel", (PyCFunction) _wrap_wxMenu_SetLabel, METH_VARARGS | METH_KEYWORDS },
8341 { "wxMenu_GetLabel", (PyCFunction) _wrap_wxMenu_GetLabel, METH_VARARGS | METH_KEYWORDS },
8342 { "wxMenu_SetTitle", (PyCFunction) _wrap_wxMenu_SetTitle, METH_VARARGS | METH_KEYWORDS },
8343 { "wxMenu_GetTitle", (PyCFunction) _wrap_wxMenu_GetTitle, METH_VARARGS | METH_KEYWORDS },
8344 { "wxMenu_FindItemById", (PyCFunction) _wrap_wxMenu_FindItemById, METH_VARARGS | METH_KEYWORDS },
8345 { "wxMenu_FindItem", (PyCFunction) _wrap_wxMenu_FindItem, METH_VARARGS | METH_KEYWORDS },
8346 { "wxMenu_IsEnabled", (PyCFunction) _wrap_wxMenu_IsEnabled, METH_VARARGS | METH_KEYWORDS },
8347 { "wxMenu_Enable", (PyCFunction) _wrap_wxMenu_Enable, METH_VARARGS | METH_KEYWORDS },
8348 { "wxMenu_IsChecked", (PyCFunction) _wrap_wxMenu_IsChecked, METH_VARARGS | METH_KEYWORDS },
8349 { "wxMenu_Check", (PyCFunction) _wrap_wxMenu_Check, METH_VARARGS | METH_KEYWORDS },
8350 { "wxMenu_Break", (PyCFunction) _wrap_wxMenu_Break, METH_VARARGS | METH_KEYWORDS },
8351 { "wxMenu_AppendSeparator", (PyCFunction) _wrap_wxMenu_AppendSeparator, METH_VARARGS | METH_KEYWORDS },
8352 { "wxMenu_AppendItem", (PyCFunction) _wrap_wxMenu_AppendItem, METH_VARARGS | METH_KEYWORDS },
8353 { "wxMenu_AppendMenu", (PyCFunction) _wrap_wxMenu_AppendMenu, METH_VARARGS | METH_KEYWORDS },
8354 { "wxMenu_Append", (PyCFunction) _wrap_wxMenu_Append, METH_VARARGS | METH_KEYWORDS },
8355 { "new_wxMenu", (PyCFunction) _wrap_new_wxMenu, METH_VARARGS | METH_KEYWORDS },
8356 { "wxScrolledWindow_CalcUnscrolledPosition", (PyCFunction) _wrap_wxScrolledWindow_CalcUnscrolledPosition, METH_VARARGS | METH_KEYWORDS },
8357 { "wxScrolledWindow_CalcScrolledPosition", (PyCFunction) _wrap_wxScrolledWindow_CalcScrolledPosition, METH_VARARGS | METH_KEYWORDS },
8358 { "wxScrolledWindow_ViewStart", (PyCFunction) _wrap_wxScrolledWindow_ViewStart, METH_VARARGS | METH_KEYWORDS },
8359 { "wxScrolledWindow_SetScrollbars", (PyCFunction) _wrap_wxScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
8360 { "wxScrolledWindow_Scroll", (PyCFunction) _wrap_wxScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
8361 { "wxScrolledWindow_PrepareDC", (PyCFunction) _wrap_wxScrolledWindow_PrepareDC, METH_VARARGS | METH_KEYWORDS },
8362 { "wxScrolledWindow_IsRetained", (PyCFunction) _wrap_wxScrolledWindow_IsRetained, METH_VARARGS | METH_KEYWORDS },
8363 { "wxScrolledWindow_GetVirtualSize", (PyCFunction) _wrap_wxScrolledWindow_GetVirtualSize, METH_VARARGS | METH_KEYWORDS },
8364 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
8365 { "wxScrolledWindow_EnableScrolling", (PyCFunction) _wrap_wxScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
8366 { "new_wxScrolledWindow", (PyCFunction) _wrap_new_wxScrolledWindow, METH_VARARGS | METH_KEYWORDS },
8367 { "wxDialog_SetReturnCode", (PyCFunction) _wrap_wxDialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
8368 { "wxDialog_GetReturnCode", (PyCFunction) _wrap_wxDialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
8369 { "wxDialog_ShowModal", (PyCFunction) _wrap_wxDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
8370 { "wxDialog_Show", (PyCFunction) _wrap_wxDialog_Show, METH_VARARGS | METH_KEYWORDS },
8371 { "wxDialog_SetTitle", (PyCFunction) _wrap_wxDialog_SetTitle, METH_VARARGS | METH_KEYWORDS },
8372 { "wxDialog_IsModal", (PyCFunction) _wrap_wxDialog_IsModal, METH_VARARGS | METH_KEYWORDS },
8373 { "wxDialog_SetModal", (PyCFunction) _wrap_wxDialog_SetModal, METH_VARARGS | METH_KEYWORDS },
8374 { "wxDialog_IsIconized", (PyCFunction) _wrap_wxDialog_IsIconized, METH_VARARGS | METH_KEYWORDS },
8375 { "wxDialog_Iconize", (PyCFunction) _wrap_wxDialog_Iconize, METH_VARARGS | METH_KEYWORDS },
8376 { "wxDialog_GetTitle", (PyCFunction) _wrap_wxDialog_GetTitle, METH_VARARGS | METH_KEYWORDS },
8377 { "wxDialog_EndModal", (PyCFunction) _wrap_wxDialog_EndModal, METH_VARARGS | METH_KEYWORDS },
8378 { "wxDialog_Centre", (PyCFunction) _wrap_wxDialog_Centre, METH_VARARGS | METH_KEYWORDS },
8379 { "new_wxDialog", (PyCFunction) _wrap_new_wxDialog, METH_VARARGS | METH_KEYWORDS },
8380 { "wxPanel_SetDefaultItem", (PyCFunction) _wrap_wxPanel_SetDefaultItem, METH_VARARGS | METH_KEYWORDS },
8381 { "wxPanel_GetDefaultItem", (PyCFunction) _wrap_wxPanel_GetDefaultItem, METH_VARARGS | METH_KEYWORDS },
8382 { "wxPanel_InitDialog", (PyCFunction) _wrap_wxPanel_InitDialog, METH_VARARGS | METH_KEYWORDS },
8383 { "new_wxPanel", (PyCFunction) _wrap_new_wxPanel, METH_VARARGS | METH_KEYWORDS },
8384 { "wxWindow_GetDropTarget", (PyCFunction) _wrap_wxWindow_GetDropTarget, METH_VARARGS | METH_KEYWORDS },
8385 { "wxWindow_SetDropTarget", (PyCFunction) _wrap_wxWindow_SetDropTarget, METH_VARARGS | METH_KEYWORDS },
8386 { "wxWindow_SetValidator", (PyCFunction) _wrap_wxWindow_SetValidator, METH_VARARGS | METH_KEYWORDS },
8387 { "wxWindow_GetValidator", (PyCFunction) _wrap_wxWindow_GetValidator, METH_VARARGS | METH_KEYWORDS },
8388 { "wxWindow_SetSizer", (PyCFunction) _wrap_wxWindow_SetSizer, METH_VARARGS | METH_KEYWORDS },
8389 { "wxWindow_GetToolTip", (PyCFunction) _wrap_wxWindow_GetToolTip, METH_VARARGS | METH_KEYWORDS },
8390 { "wxWindow_SetToolTip", (PyCFunction) _wrap_wxWindow_SetToolTip, METH_VARARGS | METH_KEYWORDS },
8391 { "wxWindow_SetToolTipString", (PyCFunction) _wrap_wxWindow_SetToolTipString, METH_VARARGS | METH_KEYWORDS },
8392 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction) _wrap_wxWindow_ConvertPixelSizeToDialog, METH_VARARGS | METH_KEYWORDS },
8393 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction) _wrap_wxWindow_ConvertPixelPointToDialog, METH_VARARGS | METH_KEYWORDS },
8394 { "wxWindow_DLG_SZE", (PyCFunction) _wrap_wxWindow_ConvertDialogSizeToPixels, METH_VARARGS | METH_KEYWORDS },
8395 { "wxWindow_DLG_PNT", (PyCFunction) _wrap_wxWindow_ConvertDialogPointToPixels, METH_VARARGS | METH_KEYWORDS },
8396 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction) _wrap_wxWindow_ConvertDialogSizeToPixels, METH_VARARGS | METH_KEYWORDS },
8397 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction) _wrap_wxWindow_ConvertDialogPointToPixels, METH_VARARGS | METH_KEYWORDS },
8398 { "wxWindow_WarpPointer", (PyCFunction) _wrap_wxWindow_WarpPointer, METH_VARARGS | METH_KEYWORDS },
8399 { "wxWindow_Validate", (PyCFunction) _wrap_wxWindow_Validate, METH_VARARGS | METH_KEYWORDS },
8400 { "wxWindow_TransferDataToWindow", (PyCFunction) _wrap_wxWindow_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
8401 { "wxWindow_TransferDataFromWindow", (PyCFunction) _wrap_wxWindow_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
8402 { "wxWindow_Show", (PyCFunction) _wrap_wxWindow_Show, METH_VARARGS | METH_KEYWORDS },
8403 { "wxWindow_SetTitle", (PyCFunction) _wrap_wxWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
8404 { "wxWindow_SetEventHandler", (PyCFunction) _wrap_wxWindow_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
8405 { "wxWindow_SetCursor", (PyCFunction) _wrap_wxWindow_SetCursor, METH_VARARGS | METH_KEYWORDS },
8406 { "wxWindow_SetClientSize", (PyCFunction) _wrap_wxWindow_SetClientSize, METH_VARARGS | METH_KEYWORDS },
8407 { "wxWindow_SetClientSizeWH", (PyCFunction) _wrap_wxWindow_SetClientSizeWH, METH_VARARGS | METH_KEYWORDS },
8408 { "wxWindow_SetSizeHints", (PyCFunction) _wrap_wxWindow_SetSizeHints, METH_VARARGS | METH_KEYWORDS },
8409 { "wxWindow_SetPosition", (PyCFunction) _wrap_wxWindow_SetPosition, METH_VARARGS | METH_KEYWORDS },
8410 { "wxWindow_SetSize", (PyCFunction) _wrap_wxWindow_SetSize, METH_VARARGS | METH_KEYWORDS },
8411 { "wxWindow_SetDimensions", (PyCFunction) _wrap_wxWindow_SetDimensions, METH_VARARGS | METH_KEYWORDS },
8412 { "wxWindow_SetScrollPos", (PyCFunction) _wrap_wxWindow_SetScrollPos, METH_VARARGS | METH_KEYWORDS },
8413 { "wxWindow_SetScrollbar", (PyCFunction) _wrap_wxWindow_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
8414 { "wxWindow_SetName", (PyCFunction) _wrap_wxWindow_SetName, METH_VARARGS | METH_KEYWORDS },
8415 { "wxWindow_SetId", (PyCFunction) _wrap_wxWindow_SetId, METH_VARARGS | METH_KEYWORDS },
8416 { "wxWindow_SetForegroundColour", (PyCFunction) _wrap_wxWindow_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
8417 { "wxWindow_SetFont", (PyCFunction) _wrap_wxWindow_SetFont, METH_VARARGS | METH_KEYWORDS },
8418 { "wxWindow_AcceptsFocus", (PyCFunction) _wrap_wxWindow_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
8419 { "wxWindow_SetFocus", (PyCFunction) _wrap_wxWindow_SetFocus, METH_VARARGS | METH_KEYWORDS },
8420 { "wxWindow_UnsetConstraints", (PyCFunction) _wrap_wxWindow_UnsetConstraints, METH_VARARGS | METH_KEYWORDS },
8421 { "wxWindow_SetConstraints", (PyCFunction) _wrap_wxWindow_SetConstraints, METH_VARARGS | METH_KEYWORDS },
8422 { "wxWindow_SetBackgroundColour", (PyCFunction) _wrap_wxWindow_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
8423 { "wxWindow_GetAutoLayout", (PyCFunction) _wrap_wxWindow_GetAutoLayout, METH_VARARGS | METH_KEYWORDS },
8424 { "wxWindow_SetAutoLayout", (PyCFunction) _wrap_wxWindow_SetAutoLayout, METH_VARARGS | METH_KEYWORDS },
8425 { "wxWindow_SetAcceleratorTable", (PyCFunction) _wrap_wxWindow_SetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
8426 { "wxWindow_ScrollWindow", (PyCFunction) _wrap_wxWindow_ScrollWindow, METH_VARARGS | METH_KEYWORDS },
8427 { "wxWindow_ScreenToClient", (PyCFunction) _wrap_wxWindow_ScreenToClient, METH_VARARGS | METH_KEYWORDS },
8428 { "wxWindow_ScreenToClientXY", (PyCFunction) _wrap_wxWindow_ScreenToClientXY, METH_VARARGS | METH_KEYWORDS },
8429 { "wxWindow_Reparent", (PyCFunction) _wrap_wxWindow_Reparent, METH_VARARGS | METH_KEYWORDS },
8430 { "wxWindow_ReleaseMouse", (PyCFunction) _wrap_wxWindow_ReleaseMouse, METH_VARARGS | METH_KEYWORDS },
8431 { "wxWindow_Refresh", (PyCFunction) _wrap_wxWindow_Refresh, METH_VARARGS | METH_KEYWORDS },
8432 { "wxWindow_Raise", (PyCFunction) _wrap_wxWindow_Raise, METH_VARARGS | METH_KEYWORDS },
8433 { "wxWindow_PopupMenu", (PyCFunction) _wrap_wxWindow_PopupMenu, METH_VARARGS | METH_KEYWORDS },
8434 { "wxWindow_PopupMenuXY", (PyCFunction) _wrap_wxWindow_PopupMenuXY, METH_VARARGS | METH_KEYWORDS },
8435 { "wxWindow_PushEventHandler", (PyCFunction) _wrap_wxWindow_PushEventHandler, METH_VARARGS | METH_KEYWORDS },
8436 { "wxWindow_PopEventHandler", (PyCFunction) _wrap_wxWindow_PopEventHandler, METH_VARARGS | METH_KEYWORDS },
8437 { "wxWindow_Move", (PyCFunction) _wrap_wxWindow_Move, METH_VARARGS | METH_KEYWORDS },
8438 { "wxWindow_MoveXY", (PyCFunction) _wrap_wxWindow_MoveXY, METH_VARARGS | METH_KEYWORDS },
8439 { "wxWindow_MakeModal", (PyCFunction) _wrap_wxWindow_MakeModal, METH_VARARGS | METH_KEYWORDS },
8440 { "wxWindow_Lower", (PyCFunction) _wrap_wxWindow_Lower, METH_VARARGS | METH_KEYWORDS },
8441 { "wxWindow_LoadFromResource", (PyCFunction) _wrap_wxWindow_LoadFromResource, METH_VARARGS | METH_KEYWORDS },
8442 { "wxWindow_Layout", (PyCFunction) _wrap_wxWindow_Layout, METH_VARARGS | METH_KEYWORDS },
8443 { "wxWindow_IsTopLevel", (PyCFunction) _wrap_wxWindow_IsTopLevel, METH_VARARGS | METH_KEYWORDS },
8444 { "wxWindow_IsShown", (PyCFunction) _wrap_wxWindow_IsShown, METH_VARARGS | METH_KEYWORDS },
8445 { "wxWindow_IsRetained", (PyCFunction) _wrap_wxWindow_IsRetained, METH_VARARGS | METH_KEYWORDS },
8446 { "wxWindow_IsEnabled", (PyCFunction) _wrap_wxWindow_IsEnabled, METH_VARARGS | METH_KEYWORDS },
8447 { "wxWindow_InitDialog", (PyCFunction) _wrap_wxWindow_InitDialog, METH_VARARGS | METH_KEYWORDS },
8448 { "wxWindow_Hide", (PyCFunction) _wrap_wxWindow_Hide, METH_VARARGS | METH_KEYWORDS },
8449 { "wxWindow_GetWindowStyleFlag", (PyCFunction) _wrap_wxWindow_GetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
8450 { "wxWindow_GetUpdateRegion", (PyCFunction) _wrap_wxWindow_GetUpdateRegion, METH_VARARGS | METH_KEYWORDS },
8451 { "wxWindow_GetTitle", (PyCFunction) _wrap_wxWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
8452 { "wxWindow_GetFullTextExtent", (PyCFunction) _wrap_wxWindow_GetFullTextExtent, METH_VARARGS | METH_KEYWORDS },
8453 { "wxWindow_GetTextExtent", (PyCFunction) _wrap_wxWindow_GetTextExtent, METH_VARARGS | METH_KEYWORDS },
8454 { "wxWindow_GetSize", (PyCFunction) _wrap_wxWindow_GetSize, METH_VARARGS | METH_KEYWORDS },
8455 { "wxWindow_GetSizeTuple", (PyCFunction) _wrap_wxWindow_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
8456 { "wxWindow_GetScrollRange", (PyCFunction) _wrap_wxWindow_GetScrollRange, METH_VARARGS | METH_KEYWORDS },
8457 { "wxWindow_GetScrollPos", (PyCFunction) _wrap_wxWindow_GetScrollPos, METH_VARARGS | METH_KEYWORDS },
8458 { "wxWindow_GetScrollThumb", (PyCFunction) _wrap_wxWindow_GetScrollThumb, METH_VARARGS | METH_KEYWORDS },
8459 { "wxWindow_GetRect", (PyCFunction) _wrap_wxWindow_GetRect, METH_VARARGS | METH_KEYWORDS },
8460 { "wxWindow_GetPosition", (PyCFunction) _wrap_wxWindow_GetPosition, METH_VARARGS | METH_KEYWORDS },
8461 { "wxWindow_GetPositionTuple", (PyCFunction) _wrap_wxWindow_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
8462 { "wxWindow_GetParent", (PyCFunction) _wrap_wxWindow_GetParent, METH_VARARGS | METH_KEYWORDS },
8463 { "wxWindow_GetName", (PyCFunction) _wrap_wxWindow_GetName, METH_VARARGS | METH_KEYWORDS },
8464 { "wxWindow_SetLabel", (PyCFunction) _wrap_wxWindow_SetLabel, METH_VARARGS | METH_KEYWORDS },
8465 { "wxWindow_GetLabel", (PyCFunction) _wrap_wxWindow_GetLabel, METH_VARARGS | METH_KEYWORDS },
8466 { "wxWindow_GetId", (PyCFunction) _wrap_wxWindow_GetId, METH_VARARGS | METH_KEYWORDS },
8467 { "wxWindow_GetHandle", (PyCFunction) _wrap_wxWindow_GetHandle, METH_VARARGS | METH_KEYWORDS },
8468 { "wxWindow_GetGrandParent", (PyCFunction) _wrap_wxWindow_GetGrandParent, METH_VARARGS | METH_KEYWORDS },
8469 { "wxWindow_GetForegroundColour", (PyCFunction) _wrap_wxWindow_GetForegroundColour, METH_VARARGS | METH_KEYWORDS },
8470 { "wxWindow_GetFont", (PyCFunction) _wrap_wxWindow_GetFont, METH_VARARGS | METH_KEYWORDS },
8471 { "wxWindow_GetEventHandler", (PyCFunction) _wrap_wxWindow_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
8472 { "wxWindow_GetConstraints", (PyCFunction) _wrap_wxWindow_GetConstraints, METH_VARARGS | METH_KEYWORDS },
8473 { "wxWindow_GetClientSize", (PyCFunction) _wrap_wxWindow_GetClientSize, METH_VARARGS | METH_KEYWORDS },
8474 { "wxWindow_GetClientSizeTuple", (PyCFunction) _wrap_wxWindow_GetClientSizeTuple, METH_VARARGS | METH_KEYWORDS },
8475 { "wxWindow_GetCharWidth", (PyCFunction) _wrap_wxWindow_GetCharWidth, METH_VARARGS | METH_KEYWORDS },
8476 { "wxWindow_GetCharHeight", (PyCFunction) _wrap_wxWindow_GetCharHeight, METH_VARARGS | METH_KEYWORDS },
8477 { "wxWindow_GetChildren", (PyCFunction) _wrap_wxWindow_GetChildren, METH_VARARGS | METH_KEYWORDS },
8478 { "wxWindow_GetBackgroundColour", (PyCFunction) _wrap_wxWindow_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
8479 { "wxWindow_Fit", (PyCFunction) _wrap_wxWindow_Fit, METH_VARARGS | METH_KEYWORDS },
8480 { "wxWindow_FindWindowByName", (PyCFunction) _wrap_wxWindow_FindWindowByName, METH_VARARGS | METH_KEYWORDS },
8481 { "wxWindow_FindWindowById", (PyCFunction) _wrap_wxWindow_FindWindowById, METH_VARARGS | METH_KEYWORDS },
8482 { "wxWindow_Enable", (PyCFunction) _wrap_wxWindow_Enable, METH_VARARGS | METH_KEYWORDS },
8483 { "wxWindow_DestroyChildren", (PyCFunction) _wrap_wxWindow_DestroyChildren, METH_VARARGS | METH_KEYWORDS },
8484 { "wxWindow_Destroy", (PyCFunction) _wrap_wxWindow_Destroy, METH_VARARGS | METH_KEYWORDS },
8485 { "wxWindow_Close", (PyCFunction) _wrap_wxWindow_Close, METH_VARARGS | METH_KEYWORDS },
8486 { "wxWindow_ClientToScreen", (PyCFunction) _wrap_wxWindow_ClientToScreen, METH_VARARGS | METH_KEYWORDS },
8487 { "wxWindow_ClientToScreenXY", (PyCFunction) _wrap_wxWindow_ClientToScreenXY, METH_VARARGS | METH_KEYWORDS },
8488 { "wxWindow_CenterOnParent", (PyCFunction) _wrap_wxWindow_CenterOnParent, METH_VARARGS | METH_KEYWORDS },
8489 { "wxWindow_CentreOnParent", (PyCFunction) _wrap_wxWindow_CentreOnParent, METH_VARARGS | METH_KEYWORDS },
8490 { "wxWindow_Centre", (PyCFunction) _wrap_wxWindow_Centre, METH_VARARGS | METH_KEYWORDS },
8491 { "wxWindow_Center", (PyCFunction) _wrap_wxWindow_Center, METH_VARARGS | METH_KEYWORDS },
8492 { "wxWindow_CaptureMouse", (PyCFunction) _wrap_wxWindow_CaptureMouse, METH_VARARGS | METH_KEYWORDS },
8493 { "new_wxWindow", (PyCFunction) _wrap_new_wxWindow, METH_VARARGS | METH_KEYWORDS },
8494 { "wxPyValidator__setSelf", (PyCFunction) _wrap_wxPyValidator__setSelf, METH_VARARGS | METH_KEYWORDS },
8495 { "wxPyValidator_Destroy", (PyCFunction) _wrap_wxPyValidator_Destroy, METH_VARARGS | METH_KEYWORDS },
8496 { "new_wxPyValidator", (PyCFunction) _wrap_new_wxPyValidator, METH_VARARGS | METH_KEYWORDS },
8497 { "wxValidator_SetWindow", (PyCFunction) _wrap_wxValidator_SetWindow, METH_VARARGS | METH_KEYWORDS },
8498 { "wxValidator_GetWindow", (PyCFunction) _wrap_wxValidator_GetWindow, METH_VARARGS | METH_KEYWORDS },
8499 { "wxValidator_Clone", (PyCFunction) _wrap_wxValidator_Clone, METH_VARARGS | METH_KEYWORDS },
8500 { "new_wxValidator", (PyCFunction) _wrap_new_wxValidator, METH_VARARGS | METH_KEYWORDS },
8501 { "wxEvtHandler_Connect", (PyCFunction) _wrap_wxEvtHandler_Connect, METH_VARARGS | METH_KEYWORDS },
8502 { "wxEvtHandler_SetPreviousHandler", (PyCFunction) _wrap_wxEvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
8503 { "wxEvtHandler_SetNextHandler", (PyCFunction) _wrap_wxEvtHandler_SetNextHandler, METH_VARARGS | METH_KEYWORDS },
8504 { "wxEvtHandler_GetPreviousHandler", (PyCFunction) _wrap_wxEvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
8505 { "wxEvtHandler_GetNextHandler", (PyCFunction) _wrap_wxEvtHandler_GetNextHandler, METH_VARARGS | METH_KEYWORDS },
8506 { "wxEvtHandler_SetEvtHandlerEnabled", (PyCFunction) _wrap_wxEvtHandler_SetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
8507 { "wxEvtHandler_GetEvtHandlerEnabled", (PyCFunction) _wrap_wxEvtHandler_GetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
8508 { "wxEvtHandler_ProcessEvent", (PyCFunction) _wrap_wxEvtHandler_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
8509 { "wxValidator_SetBellOnError", (PyCFunction) _wrap_wxValidator_SetBellOnError, METH_VARARGS | METH_KEYWORDS },
8510 { "wxValidator_IsSilent", (PyCFunction) _wrap_wxValidator_IsSilent, METH_VARARGS | METH_KEYWORDS },
8511 { NULL, NULL }
8512 };
8513 #ifdef __cplusplus
8514 }
8515 #endif
8516 /*
8517 * This table is used by the pointer type-checker
8518 */
8519 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
8520 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
8521 { "_signed_long","_long",0},
8522 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
8523 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
8524 { "_wxPrintQuality","_wxCoord",0},
8525 { "_wxPrintQuality","_int",0},
8526 { "_wxPrintQuality","_signed_int",0},
8527 { "_wxPrintQuality","_unsigned_int",0},
8528 { "_wxPrintQuality","_wxWindowID",0},
8529 { "_wxPrintQuality","_uint",0},
8530 { "_wxPrintQuality","_EBool",0},
8531 { "_wxPrintQuality","_size_t",0},
8532 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
8533 { "_class_wxRegionIterator","_wxRegionIterator",0},
8534 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
8535 { "_class_wxMenuBar","_wxMenuBar",0},
8536 { "_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler},
8537 { "_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler},
8538 { "_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler},
8539 { "_class_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler},
8540 { "_class_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler},
8541 { "_class_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler},
8542 { "_class_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler},
8543 { "_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler},
8544 { "_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler},
8545 { "_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler},
8546 { "_class_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler},
8547 { "_class_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler},
8548 { "_class_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler},
8549 { "_class_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler},
8550 { "_class_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler},
8551 { "_class_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler},
8552 { "_class_wxEvtHandler","_wxEvtHandler",0},
8553 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
8554 { "_wxCursor","_class_wxCursor",0},
8555 { "_wxMask","_class_wxMask",0},
8556 { "_wxPen","_class_wxPen",0},
8557 { "_byte","_unsigned_char",0},
8558 { "_wxDataObject","_class_wxDataObject",0},
8559 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
8560 { "_wxPyDropSource","_class_wxPyDropSource",0},
8561 { "_long","_wxDash",0},
8562 { "_long","_unsigned_long",0},
8563 { "_long","_signed_long",0},
8564 { "_wxImageList","_class_wxImageList",0},
8565 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
8566 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
8567 { "_class_wxClipboard","_wxClipboard",0},
8568 { "_wxDC","_class_wxDC",0},
8569 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
8570 { "_size_t","_wxCoord",0},
8571 { "_size_t","_wxPrintQuality",0},
8572 { "_size_t","_unsigned_int",0},
8573 { "_size_t","_int",0},
8574 { "_size_t","_wxWindowID",0},
8575 { "_size_t","_uint",0},
8576 { "_class_wxRealPoint","_wxRealPoint",0},
8577 { "_class_wxMenuItem","_wxMenuItem",0},
8578 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
8579 { "_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel},
8580 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel},
8581 { "_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel},
8582 { "_wxPanel","_wxDialog",SwigwxDialogTowxPanel},
8583 { "_wxPanel","_class_wxPanel",0},
8584 { "_class_wxMask","_wxMask",0},
8585 { "_wxTextDataObject","_class_wxTextDataObject",0},
8586 { "_wxColour","_class_wxColour",0},
8587 { "_class_wxDialog","_wxDialog",0},
8588 { "_class_wxFileDataObject","_wxFileDataObject",0},
8589 { "_class_wxDataObject","_wxDataObject",0},
8590 { "_wxBrush","_class_wxBrush",0},
8591 { "_wxDataFormat","_class_wxDataFormat",0},
8592 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
8593 { "_uint","_wxCoord",0},
8594 { "_uint","_wxPrintQuality",0},
8595 { "_uint","_size_t",0},
8596 { "_uint","_unsigned_int",0},
8597 { "_uint","_int",0},
8598 { "_uint","_wxWindowID",0},
8599 { "_wxPyValidator","_class_wxPyValidator",0},
8600 { "_wxRect","_class_wxRect",0},
8601 { "_wxPoint","_class_wxPoint",0},
8602 { "_wxBitmap","_class_wxBitmap",0},
8603 { "_wxPyTimer","_class_wxPyTimer",0},
8604 { "_wxWindowDC","_class_wxWindowDC",0},
8605 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
8606 { "_class_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator},
8607 { "_class_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator},
8608 { "_class_wxValidator","_wxValidator",0},
8609 { "_wxDropTarget","_class_wxDropTarget",0},
8610 { "_EBool","_wxCoord",0},
8611 { "_EBool","_wxPrintQuality",0},
8612 { "_EBool","_signed_int",0},
8613 { "_EBool","_int",0},
8614 { "_EBool","_wxWindowID",0},
8615 { "_class_wxRegion","_wxRegion",0},
8616 { "_class_wxDataFormat","_wxDataFormat",0},
8617 { "_wxFont","_class_wxFont",0},
8618 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
8619 { "_unsigned_long","_wxDash",0},
8620 { "_unsigned_long","_long",0},
8621 { "_class_wxRect","_wxRect",0},
8622 { "_class_wxDC","_wxDC",0},
8623 { "_class_wxPyTimer","_wxPyTimer",0},
8624 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
8625 { "_class_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel},
8626 { "_class_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel},
8627 { "_class_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel},
8628 { "_class_wxPanel","_wxDialog",SwigwxDialogTowxPanel},
8629 { "_class_wxPanel","_wxPanel",0},
8630 { "_signed_int","_wxCoord",0},
8631 { "_signed_int","_wxPrintQuality",0},
8632 { "_signed_int","_EBool",0},
8633 { "_signed_int","_wxWindowID",0},
8634 { "_signed_int","_int",0},
8635 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
8636 { "_class_wxTextDataObject","_wxTextDataObject",0},
8637 { "_wxMenu","_class_wxMenu",0},
8638 { "_wxScreenDC","_class_wxScreenDC",0},
8639 { "_WXTYPE","_short",0},
8640 { "_WXTYPE","_signed_short",0},
8641 { "_WXTYPE","_unsigned_short",0},
8642 { "_class_wxDropTarget","_wxDropTarget",0},
8643 { "_class_wxBrush","_wxBrush",0},
8644 { "_unsigned_short","_WXTYPE",0},
8645 { "_unsigned_short","_short",0},
8646 { "_class_wxWindow","_class_wxMenuBar",SwigwxMenuBarTowxWindow},
8647 { "_class_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow},
8648 { "_class_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow},
8649 { "_class_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow},
8650 { "_class_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow},
8651 { "_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow},
8652 { "_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow},
8653 { "_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow},
8654 { "_class_wxWindow","_wxWindow",0},
8655 { "_class_wxFont","_wxFont",0},
8656 { "_wxClipboard","_class_wxClipboard",0},
8657 { "_class_wxPyValidator","_wxPyValidator",0},
8658 { "_wxBusyInfo","_class_wxBusyInfo",0},
8659 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
8660 { "_wxClientDC","_class_wxClientDC",0},
8661 { "_class_wxPoint","_wxPoint",0},
8662 { "_wxRealPoint","_class_wxRealPoint",0},
8663 { "_signed_short","_WXTYPE",0},
8664 { "_signed_short","_short",0},
8665 { "_wxMemoryDC","_class_wxMemoryDC",0},
8666 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
8667 { "_wxPaintDC","_class_wxPaintDC",0},
8668 { "_class_wxWindowDC","_wxWindowDC",0},
8669 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
8670 { "_class_wxCursor","_wxCursor",0},
8671 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
8672 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
8673 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
8674 { "_unsigned_char","_byte",0},
8675 { "_class_wxMenu","_wxMenu",0},
8676 { "_unsigned_int","_wxCoord",0},
8677 { "_unsigned_int","_wxPrintQuality",0},
8678 { "_unsigned_int","_size_t",0},
8679 { "_unsigned_int","_uint",0},
8680 { "_unsigned_int","_wxWindowID",0},
8681 { "_unsigned_int","_int",0},
8682 { "_wxIcon","_class_wxIcon",0},
8683 { "_wxDialog","_class_wxDialog",0},
8684 { "_class_wxPen","_wxPen",0},
8685 { "_short","_WXTYPE",0},
8686 { "_short","_unsigned_short",0},
8687 { "_short","_signed_short",0},
8688 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
8689 { "_class_wxPyDropSource","_wxPyDropSource",0},
8690 { "_class_wxImageList","_wxImageList",0},
8691 { "_wxWindowID","_wxCoord",0},
8692 { "_wxWindowID","_wxPrintQuality",0},
8693 { "_wxWindowID","_size_t",0},
8694 { "_wxWindowID","_EBool",0},
8695 { "_wxWindowID","_uint",0},
8696 { "_wxWindowID","_int",0},
8697 { "_wxWindowID","_signed_int",0},
8698 { "_wxWindowID","_unsigned_int",0},
8699 { "_int","_wxCoord",0},
8700 { "_int","_wxPrintQuality",0},
8701 { "_int","_size_t",0},
8702 { "_int","_EBool",0},
8703 { "_int","_uint",0},
8704 { "_int","_wxWindowID",0},
8705 { "_int","_unsigned_int",0},
8706 { "_int","_signed_int",0},
8707 { "_wxSize","_class_wxSize",0},
8708 { "_wxRegionIterator","_class_wxRegionIterator",0},
8709 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
8710 { "_class_wxPaintDC","_wxPaintDC",0},
8711 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
8712 { "_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator},
8713 { "_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator},
8714 { "_wxValidator","_class_wxValidator",0},
8715 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
8716 { "_class_wxIcon","_wxIcon",0},
8717 { "_class_wxColour","_wxColour",0},
8718 { "_class_wxScreenDC","_wxScreenDC",0},
8719 { "_wxPalette","_class_wxPalette",0},
8720 { "_wxCoord","_int",0},
8721 { "_wxCoord","_signed_int",0},
8722 { "_wxCoord","_unsigned_int",0},
8723 { "_wxCoord","_wxWindowID",0},
8724 { "_wxCoord","_uint",0},
8725 { "_wxCoord","_EBool",0},
8726 { "_wxCoord","_size_t",0},
8727 { "_wxCoord","_wxPrintQuality",0},
8728 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
8729 { "_wxRegion","_class_wxRegion",0},
8730 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
8731 { "_class_wxBusyInfo","_wxBusyInfo",0},
8732 { "_class_wxClientDC","_wxClientDC",0},
8733 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
8734 { "_class_wxSize","_wxSize",0},
8735 { "_class_wxBitmap","_wxBitmap",0},
8736 { "_class_wxMemoryDC","_wxMemoryDC",0},
8737 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
8738 { "_wxMenuBar","_class_wxMenuBar",0},
8739 { "_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler},
8740 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler},
8741 { "_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler},
8742 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler},
8743 { "_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler},
8744 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler},
8745 { "_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler},
8746 { "_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler},
8747 { "_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler},
8748 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler},
8749 { "_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler},
8750 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler},
8751 { "_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler},
8752 { "_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler},
8753 { "_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler},
8754 { "_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler},
8755 { "_wxEvtHandler","_class_wxEvtHandler",0},
8756 { "_wxMenuItem","_class_wxMenuItem",0},
8757 { "_wxDash","_unsigned_long",0},
8758 { "_wxDash","_long",0},
8759 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
8760 { "_class_wxPalette","_wxPalette",0},
8761 { "_wxFileDataObject","_class_wxFileDataObject",0},
8762 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
8763 { "_wxWindow","_class_wxMenuBar",SwigwxMenuBarTowxWindow},
8764 { "_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow},
8765 { "_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow},
8766 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow},
8767 { "_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow},
8768 { "_wxWindow","_wxDialog",SwigwxDialogTowxWindow},
8769 { "_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow},
8770 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow},
8771 { "_wxWindow","_class_wxWindow",0},
8772 {0,0,0}};
8773
8774 static PyObject *SWIG_globals;
8775 #ifdef __cplusplus
8776 extern "C"
8777 #endif
8778 SWIGEXPORT(void) initwindowsc() {
8779 PyObject *m, *d;
8780 SWIG_globals = SWIG_newvarlink();
8781 m = Py_InitModule("windowsc", windowscMethods);
8782 d = PyModule_GetDict(m);
8783 {
8784 int i;
8785 for (i = 0; _swig_mapping[i].n1; i++)
8786 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
8787 }
8788 }