]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/gtk/windows.cpp
generated source updates
[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 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
1580 static PyObject *_wrap_wxWindow_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
1581 PyObject * _resultobj;
1582 int _result;
1583 wxWindow * _arg0;
1584 PyObject * _argo0 = 0;
1585 char *_kwnames[] = { "self", NULL };
1586
1587 self = self;
1588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetId",_kwnames,&_argo0))
1589 return NULL;
1590 if (_argo0) {
1591 if (_argo0 == Py_None) { _arg0 = NULL; }
1592 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1593 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
1594 return NULL;
1595 }
1596 }
1597 {
1598 wxPy_BEGIN_ALLOW_THREADS;
1599 _result = (int )wxWindow_GetId(_arg0);
1600
1601 wxPy_END_ALLOW_THREADS;
1602 } _resultobj = Py_BuildValue("i",_result);
1603 return _resultobj;
1604 }
1605
1606 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
1607 static PyObject *_wrap_wxWindow_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1608 PyObject * _resultobj;
1609 wxString * _result;
1610 wxWindow * _arg0;
1611 PyObject * _argo0 = 0;
1612 char *_kwnames[] = { "self", NULL };
1613
1614 self = self;
1615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetLabel",_kwnames,&_argo0))
1616 return NULL;
1617 if (_argo0) {
1618 if (_argo0 == Py_None) { _arg0 = NULL; }
1619 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1620 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
1621 return NULL;
1622 }
1623 }
1624 {
1625 wxPy_BEGIN_ALLOW_THREADS;
1626 _result = new wxString (wxWindow_GetLabel(_arg0));
1627
1628 wxPy_END_ALLOW_THREADS;
1629 }{
1630 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
1631 }
1632 {
1633 delete _result;
1634 }
1635 return _resultobj;
1636 }
1637
1638 #define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
1639 static PyObject *_wrap_wxWindow_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1640 PyObject * _resultobj;
1641 wxWindow * _arg0;
1642 wxString * _arg1;
1643 PyObject * _argo0 = 0;
1644 PyObject * _obj1 = 0;
1645 char *_kwnames[] = { "self","label", NULL };
1646
1647 self = self;
1648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetLabel",_kwnames,&_argo0,&_obj1))
1649 return NULL;
1650 if (_argo0) {
1651 if (_argo0 == Py_None) { _arg0 = NULL; }
1652 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1653 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
1654 return NULL;
1655 }
1656 }
1657 {
1658 if (!PyString_Check(_obj1)) {
1659 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1660 return NULL;
1661 }
1662 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
1663 }
1664 {
1665 wxPy_BEGIN_ALLOW_THREADS;
1666 wxWindow_SetLabel(_arg0,*_arg1);
1667
1668 wxPy_END_ALLOW_THREADS;
1669 } Py_INCREF(Py_None);
1670 _resultobj = Py_None;
1671 {
1672 if (_obj1)
1673 delete _arg1;
1674 }
1675 return _resultobj;
1676 }
1677
1678 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
1679 static PyObject *_wrap_wxWindow_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
1680 PyObject * _resultobj;
1681 wxString * _result;
1682 wxWindow * _arg0;
1683 PyObject * _argo0 = 0;
1684 char *_kwnames[] = { "self", NULL };
1685
1686 self = self;
1687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetName",_kwnames,&_argo0))
1688 return NULL;
1689 if (_argo0) {
1690 if (_argo0 == Py_None) { _arg0 = NULL; }
1691 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1692 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
1693 return NULL;
1694 }
1695 }
1696 {
1697 wxPy_BEGIN_ALLOW_THREADS;
1698 _result = new wxString (wxWindow_GetName(_arg0));
1699
1700 wxPy_END_ALLOW_THREADS;
1701 }{
1702 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
1703 }
1704 {
1705 delete _result;
1706 }
1707 return _resultobj;
1708 }
1709
1710 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
1711 static PyObject *_wrap_wxWindow_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
1712 PyObject * _resultobj;
1713 wxWindow * _result;
1714 wxWindow * _arg0;
1715 PyObject * _argo0 = 0;
1716 char *_kwnames[] = { "self", NULL };
1717 char _ptemp[128];
1718
1719 self = self;
1720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetParent",_kwnames,&_argo0))
1721 return NULL;
1722 if (_argo0) {
1723 if (_argo0 == Py_None) { _arg0 = NULL; }
1724 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1725 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
1726 return NULL;
1727 }
1728 }
1729 {
1730 wxPy_BEGIN_ALLOW_THREADS;
1731 _result = (wxWindow *)wxWindow_GetParent(_arg0);
1732
1733 wxPy_END_ALLOW_THREADS;
1734 } if (_result) {
1735 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
1736 _resultobj = Py_BuildValue("s",_ptemp);
1737 } else {
1738 Py_INCREF(Py_None);
1739 _resultobj = Py_None;
1740 }
1741 return _resultobj;
1742 }
1743
1744 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
1745 static PyObject *_wrap_wxWindow_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
1746 PyObject * _resultobj;
1747 wxWindow * _arg0;
1748 int * _arg1;
1749 int temp;
1750 int * _arg2;
1751 int temp0;
1752 PyObject * _argo0 = 0;
1753 char *_kwnames[] = { "self", NULL };
1754
1755 self = self;
1756 {
1757 _arg1 = &temp;
1758 }
1759 {
1760 _arg2 = &temp0;
1761 }
1762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetPositionTuple",_kwnames,&_argo0))
1763 return NULL;
1764 if (_argo0) {
1765 if (_argo0 == Py_None) { _arg0 = NULL; }
1766 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1767 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
1768 return NULL;
1769 }
1770 }
1771 {
1772 wxPy_BEGIN_ALLOW_THREADS;
1773 wxWindow_GetPositionTuple(_arg0,_arg1,_arg2);
1774
1775 wxPy_END_ALLOW_THREADS;
1776 } Py_INCREF(Py_None);
1777 _resultobj = Py_None;
1778 {
1779 PyObject *o;
1780 o = PyInt_FromLong((long) (*_arg1));
1781 _resultobj = t_output_helper(_resultobj, o);
1782 }
1783 {
1784 PyObject *o;
1785 o = PyInt_FromLong((long) (*_arg2));
1786 _resultobj = t_output_helper(_resultobj, o);
1787 }
1788 return _resultobj;
1789 }
1790
1791 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
1792 static PyObject *_wrap_wxWindow_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
1793 PyObject * _resultobj;
1794 wxPoint * _result;
1795 wxWindow * _arg0;
1796 PyObject * _argo0 = 0;
1797 char *_kwnames[] = { "self", NULL };
1798 char _ptemp[128];
1799
1800 self = self;
1801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetPosition",_kwnames,&_argo0))
1802 return NULL;
1803 if (_argo0) {
1804 if (_argo0 == Py_None) { _arg0 = NULL; }
1805 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1806 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
1807 return NULL;
1808 }
1809 }
1810 {
1811 wxPy_BEGIN_ALLOW_THREADS;
1812 _result = new wxPoint (wxWindow_GetPosition(_arg0));
1813
1814 wxPy_END_ALLOW_THREADS;
1815 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
1816 _resultobj = Py_BuildValue("s",_ptemp);
1817 return _resultobj;
1818 }
1819
1820 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
1821 static PyObject *_wrap_wxWindow_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
1822 PyObject * _resultobj;
1823 wxRect * _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_GetRect",_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_GetRect. Expected _wxWindow_p.");
1836 return NULL;
1837 }
1838 }
1839 {
1840 wxPy_BEGIN_ALLOW_THREADS;
1841 _result = new wxRect (wxWindow_GetRect(_arg0));
1842
1843 wxPy_END_ALLOW_THREADS;
1844 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
1845 _resultobj = Py_BuildValue("s",_ptemp);
1846 return _resultobj;
1847 }
1848
1849 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
1850 static PyObject *_wrap_wxWindow_GetScrollThumb(PyObject *self, PyObject *args, PyObject *kwargs) {
1851 PyObject * _resultobj;
1852 int _result;
1853 wxWindow * _arg0;
1854 int _arg1;
1855 PyObject * _argo0 = 0;
1856 char *_kwnames[] = { "self","orientation", NULL };
1857
1858 self = self;
1859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_GetScrollThumb",_kwnames,&_argo0,&_arg1))
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_GetScrollThumb. Expected _wxWindow_p.");
1865 return NULL;
1866 }
1867 }
1868 {
1869 wxPy_BEGIN_ALLOW_THREADS;
1870 _result = (int )wxWindow_GetScrollThumb(_arg0,_arg1);
1871
1872 wxPy_END_ALLOW_THREADS;
1873 } _resultobj = Py_BuildValue("i",_result);
1874 return _resultobj;
1875 }
1876
1877 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
1878 static PyObject *_wrap_wxWindow_GetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
1879 PyObject * _resultobj;
1880 int _result;
1881 wxWindow * _arg0;
1882 int _arg1;
1883 PyObject * _argo0 = 0;
1884 char *_kwnames[] = { "self","orientation", NULL };
1885
1886 self = self;
1887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_GetScrollPos",_kwnames,&_argo0,&_arg1))
1888 return NULL;
1889 if (_argo0) {
1890 if (_argo0 == Py_None) { _arg0 = NULL; }
1891 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1892 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
1893 return NULL;
1894 }
1895 }
1896 {
1897 wxPy_BEGIN_ALLOW_THREADS;
1898 _result = (int )wxWindow_GetScrollPos(_arg0,_arg1);
1899
1900 wxPy_END_ALLOW_THREADS;
1901 } _resultobj = Py_BuildValue("i",_result);
1902 return _resultobj;
1903 }
1904
1905 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
1906 static PyObject *_wrap_wxWindow_GetScrollRange(PyObject *self, PyObject *args, PyObject *kwargs) {
1907 PyObject * _resultobj;
1908 int _result;
1909 wxWindow * _arg0;
1910 int _arg1;
1911 PyObject * _argo0 = 0;
1912 char *_kwnames[] = { "self","orientation", NULL };
1913
1914 self = self;
1915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_GetScrollRange",_kwnames,&_argo0,&_arg1))
1916 return NULL;
1917 if (_argo0) {
1918 if (_argo0 == Py_None) { _arg0 = NULL; }
1919 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1920 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
1921 return NULL;
1922 }
1923 }
1924 {
1925 wxPy_BEGIN_ALLOW_THREADS;
1926 _result = (int )wxWindow_GetScrollRange(_arg0,_arg1);
1927
1928 wxPy_END_ALLOW_THREADS;
1929 } _resultobj = Py_BuildValue("i",_result);
1930 return _resultobj;
1931 }
1932
1933 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
1934 static PyObject *_wrap_wxWindow_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
1935 PyObject * _resultobj;
1936 wxWindow * _arg0;
1937 int * _arg1;
1938 int temp;
1939 int * _arg2;
1940 int temp0;
1941 PyObject * _argo0 = 0;
1942 char *_kwnames[] = { "self", NULL };
1943
1944 self = self;
1945 {
1946 _arg1 = &temp;
1947 }
1948 {
1949 _arg2 = &temp0;
1950 }
1951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetSizeTuple",_kwnames,&_argo0))
1952 return NULL;
1953 if (_argo0) {
1954 if (_argo0 == Py_None) { _arg0 = NULL; }
1955 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1956 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
1957 return NULL;
1958 }
1959 }
1960 {
1961 wxPy_BEGIN_ALLOW_THREADS;
1962 wxWindow_GetSizeTuple(_arg0,_arg1,_arg2);
1963
1964 wxPy_END_ALLOW_THREADS;
1965 } Py_INCREF(Py_None);
1966 _resultobj = Py_None;
1967 {
1968 PyObject *o;
1969 o = PyInt_FromLong((long) (*_arg1));
1970 _resultobj = t_output_helper(_resultobj, o);
1971 }
1972 {
1973 PyObject *o;
1974 o = PyInt_FromLong((long) (*_arg2));
1975 _resultobj = t_output_helper(_resultobj, o);
1976 }
1977 return _resultobj;
1978 }
1979
1980 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
1981 static PyObject *_wrap_wxWindow_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1982 PyObject * _resultobj;
1983 wxSize * _result;
1984 wxWindow * _arg0;
1985 PyObject * _argo0 = 0;
1986 char *_kwnames[] = { "self", NULL };
1987 char _ptemp[128];
1988
1989 self = self;
1990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetSize",_kwnames,&_argo0))
1991 return NULL;
1992 if (_argo0) {
1993 if (_argo0 == Py_None) { _arg0 = NULL; }
1994 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1995 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
1996 return NULL;
1997 }
1998 }
1999 {
2000 wxPy_BEGIN_ALLOW_THREADS;
2001 _result = new wxSize (wxWindow_GetSize(_arg0));
2002
2003 wxPy_END_ALLOW_THREADS;
2004 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
2005 _resultobj = Py_BuildValue("s",_ptemp);
2006 return _resultobj;
2007 }
2008
2009 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
2010 static PyObject *_wrap_wxWindow_GetTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
2011 PyObject * _resultobj;
2012 wxWindow * _arg0;
2013 wxString * _arg1;
2014 int * _arg2;
2015 int temp;
2016 int * _arg3;
2017 int temp0;
2018 PyObject * _argo0 = 0;
2019 PyObject * _obj1 = 0;
2020 char *_kwnames[] = { "self","string", NULL };
2021
2022 self = self;
2023 {
2024 _arg2 = &temp;
2025 }
2026 {
2027 _arg3 = &temp0;
2028 }
2029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_GetTextExtent",_kwnames,&_argo0,&_obj1))
2030 return NULL;
2031 if (_argo0) {
2032 if (_argo0 == Py_None) { _arg0 = NULL; }
2033 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2034 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
2035 return NULL;
2036 }
2037 }
2038 {
2039 if (!PyString_Check(_obj1)) {
2040 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2041 return NULL;
2042 }
2043 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
2044 }
2045 {
2046 wxPy_BEGIN_ALLOW_THREADS;
2047 wxWindow_GetTextExtent(_arg0,*_arg1,_arg2,_arg3);
2048
2049 wxPy_END_ALLOW_THREADS;
2050 } Py_INCREF(Py_None);
2051 _resultobj = Py_None;
2052 {
2053 PyObject *o;
2054 o = PyInt_FromLong((long) (*_arg2));
2055 _resultobj = t_output_helper(_resultobj, o);
2056 }
2057 {
2058 PyObject *o;
2059 o = PyInt_FromLong((long) (*_arg3));
2060 _resultobj = t_output_helper(_resultobj, o);
2061 }
2062 {
2063 if (_obj1)
2064 delete _arg1;
2065 }
2066 return _resultobj;
2067 }
2068
2069 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2070 static PyObject *_wrap_wxWindow_GetFullTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
2071 PyObject * _resultobj;
2072 wxWindow * _arg0;
2073 wxString * _arg1;
2074 int * _arg2;
2075 int temp;
2076 int * _arg3;
2077 int temp0;
2078 int * _arg4;
2079 int temp1;
2080 int * _arg5;
2081 int temp2;
2082 wxFont * _arg6 = (wxFont *) NULL;
2083 PyObject * _argo0 = 0;
2084 PyObject * _obj1 = 0;
2085 PyObject * _argo6 = 0;
2086 char *_kwnames[] = { "self","string","font", NULL };
2087
2088 self = self;
2089 {
2090 _arg2 = &temp;
2091 }
2092 {
2093 _arg3 = &temp0;
2094 }
2095 {
2096 _arg4 = &temp1;
2097 }
2098 {
2099 _arg5 = &temp2;
2100 }
2101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxWindow_GetFullTextExtent",_kwnames,&_argo0,&_obj1,&_argo6))
2102 return NULL;
2103 if (_argo0) {
2104 if (_argo0 == Py_None) { _arg0 = NULL; }
2105 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2106 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
2107 return NULL;
2108 }
2109 }
2110 {
2111 if (!PyString_Check(_obj1)) {
2112 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2113 return NULL;
2114 }
2115 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
2116 }
2117 if (_argo6) {
2118 if (_argo6 == Py_None) { _arg6 = NULL; }
2119 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxFont_p")) {
2120 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
2121 return NULL;
2122 }
2123 }
2124 {
2125 wxPy_BEGIN_ALLOW_THREADS;
2126 wxWindow_GetFullTextExtent(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
2127
2128 wxPy_END_ALLOW_THREADS;
2129 } Py_INCREF(Py_None);
2130 _resultobj = Py_None;
2131 {
2132 PyObject *o;
2133 o = PyInt_FromLong((long) (*_arg2));
2134 _resultobj = t_output_helper(_resultobj, o);
2135 }
2136 {
2137 PyObject *o;
2138 o = PyInt_FromLong((long) (*_arg3));
2139 _resultobj = t_output_helper(_resultobj, o);
2140 }
2141 {
2142 PyObject *o;
2143 o = PyInt_FromLong((long) (*_arg4));
2144 _resultobj = t_output_helper(_resultobj, o);
2145 }
2146 {
2147 PyObject *o;
2148 o = PyInt_FromLong((long) (*_arg5));
2149 _resultobj = t_output_helper(_resultobj, o);
2150 }
2151 {
2152 if (_obj1)
2153 delete _arg1;
2154 }
2155 return _resultobj;
2156 }
2157
2158 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
2159 static PyObject *_wrap_wxWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2160 PyObject * _resultobj;
2161 wxString * _result;
2162 wxWindow * _arg0;
2163 PyObject * _argo0 = 0;
2164 char *_kwnames[] = { "self", NULL };
2165
2166 self = self;
2167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetTitle",_kwnames,&_argo0))
2168 return NULL;
2169 if (_argo0) {
2170 if (_argo0 == Py_None) { _arg0 = NULL; }
2171 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2172 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
2173 return NULL;
2174 }
2175 }
2176 {
2177 wxPy_BEGIN_ALLOW_THREADS;
2178 _result = new wxString (wxWindow_GetTitle(_arg0));
2179
2180 wxPy_END_ALLOW_THREADS;
2181 }{
2182 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
2183 }
2184 {
2185 delete _result;
2186 }
2187 return _resultobj;
2188 }
2189
2190 #define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
2191 static PyObject *_wrap_wxWindow_GetUpdateRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
2192 PyObject * _resultobj;
2193 wxRegion * _result;
2194 wxWindow * _arg0;
2195 PyObject * _argo0 = 0;
2196 char *_kwnames[] = { "self", NULL };
2197 char _ptemp[128];
2198
2199 self = self;
2200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetUpdateRegion",_kwnames,&_argo0))
2201 return NULL;
2202 if (_argo0) {
2203 if (_argo0 == Py_None) { _arg0 = NULL; }
2204 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2205 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
2206 return NULL;
2207 }
2208 }
2209 {
2210 wxPy_BEGIN_ALLOW_THREADS;
2211 _result = new wxRegion (wxWindow_GetUpdateRegion(_arg0));
2212
2213 wxPy_END_ALLOW_THREADS;
2214 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRegion_p");
2215 _resultobj = Py_BuildValue("s",_ptemp);
2216 return _resultobj;
2217 }
2218
2219 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
2220 static PyObject *_wrap_wxWindow_GetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
2221 PyObject * _resultobj;
2222 long _result;
2223 wxWindow * _arg0;
2224 PyObject * _argo0 = 0;
2225 char *_kwnames[] = { "self", NULL };
2226
2227 self = self;
2228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetWindowStyleFlag",_kwnames,&_argo0))
2229 return NULL;
2230 if (_argo0) {
2231 if (_argo0 == Py_None) { _arg0 = NULL; }
2232 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2233 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
2234 return NULL;
2235 }
2236 }
2237 {
2238 wxPy_BEGIN_ALLOW_THREADS;
2239 _result = (long )wxWindow_GetWindowStyleFlag(_arg0);
2240
2241 wxPy_END_ALLOW_THREADS;
2242 } _resultobj = Py_BuildValue("l",_result);
2243 return _resultobj;
2244 }
2245
2246 #define wxWindow_Hide(_swigobj) (_swigobj->Hide())
2247 static PyObject *_wrap_wxWindow_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
2248 PyObject * _resultobj;
2249 bool _result;
2250 wxWindow * _arg0;
2251 PyObject * _argo0 = 0;
2252 char *_kwnames[] = { "self", NULL };
2253
2254 self = self;
2255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Hide",_kwnames,&_argo0))
2256 return NULL;
2257 if (_argo0) {
2258 if (_argo0 == Py_None) { _arg0 = NULL; }
2259 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2260 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
2261 return NULL;
2262 }
2263 }
2264 {
2265 wxPy_BEGIN_ALLOW_THREADS;
2266 _result = (bool )wxWindow_Hide(_arg0);
2267
2268 wxPy_END_ALLOW_THREADS;
2269 } _resultobj = Py_BuildValue("i",_result);
2270 return _resultobj;
2271 }
2272
2273 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
2274 static PyObject *_wrap_wxWindow_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
2275 PyObject * _resultobj;
2276 wxWindow * _arg0;
2277 PyObject * _argo0 = 0;
2278 char *_kwnames[] = { "self", NULL };
2279
2280 self = self;
2281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_InitDialog",_kwnames,&_argo0))
2282 return NULL;
2283 if (_argo0) {
2284 if (_argo0 == Py_None) { _arg0 = NULL; }
2285 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2286 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
2287 return NULL;
2288 }
2289 }
2290 {
2291 wxPy_BEGIN_ALLOW_THREADS;
2292 wxWindow_InitDialog(_arg0);
2293
2294 wxPy_END_ALLOW_THREADS;
2295 } Py_INCREF(Py_None);
2296 _resultobj = Py_None;
2297 return _resultobj;
2298 }
2299
2300 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
2301 static PyObject *_wrap_wxWindow_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
2302 PyObject * _resultobj;
2303 bool _result;
2304 wxWindow * _arg0;
2305 PyObject * _argo0 = 0;
2306 char *_kwnames[] = { "self", NULL };
2307
2308 self = self;
2309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_IsEnabled",_kwnames,&_argo0))
2310 return NULL;
2311 if (_argo0) {
2312 if (_argo0 == Py_None) { _arg0 = NULL; }
2313 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2314 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
2315 return NULL;
2316 }
2317 }
2318 {
2319 wxPy_BEGIN_ALLOW_THREADS;
2320 _result = (bool )wxWindow_IsEnabled(_arg0);
2321
2322 wxPy_END_ALLOW_THREADS;
2323 } _resultobj = Py_BuildValue("i",_result);
2324 return _resultobj;
2325 }
2326
2327 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
2328 static PyObject *_wrap_wxWindow_IsRetained(PyObject *self, PyObject *args, PyObject *kwargs) {
2329 PyObject * _resultobj;
2330 bool _result;
2331 wxWindow * _arg0;
2332 PyObject * _argo0 = 0;
2333 char *_kwnames[] = { "self", NULL };
2334
2335 self = self;
2336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_IsRetained",_kwnames,&_argo0))
2337 return NULL;
2338 if (_argo0) {
2339 if (_argo0 == Py_None) { _arg0 = NULL; }
2340 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2341 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
2342 return NULL;
2343 }
2344 }
2345 {
2346 wxPy_BEGIN_ALLOW_THREADS;
2347 _result = (bool )wxWindow_IsRetained(_arg0);
2348
2349 wxPy_END_ALLOW_THREADS;
2350 } _resultobj = Py_BuildValue("i",_result);
2351 return _resultobj;
2352 }
2353
2354 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
2355 static PyObject *_wrap_wxWindow_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
2356 PyObject * _resultobj;
2357 bool _result;
2358 wxWindow * _arg0;
2359 PyObject * _argo0 = 0;
2360 char *_kwnames[] = { "self", NULL };
2361
2362 self = self;
2363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_IsShown",_kwnames,&_argo0))
2364 return NULL;
2365 if (_argo0) {
2366 if (_argo0 == Py_None) { _arg0 = NULL; }
2367 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2368 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
2369 return NULL;
2370 }
2371 }
2372 {
2373 wxPy_BEGIN_ALLOW_THREADS;
2374 _result = (bool )wxWindow_IsShown(_arg0);
2375
2376 wxPy_END_ALLOW_THREADS;
2377 } _resultobj = Py_BuildValue("i",_result);
2378 return _resultobj;
2379 }
2380
2381 #define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
2382 static PyObject *_wrap_wxWindow_IsTopLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
2383 PyObject * _resultobj;
2384 bool _result;
2385 wxWindow * _arg0;
2386 PyObject * _argo0 = 0;
2387 char *_kwnames[] = { "self", NULL };
2388
2389 self = self;
2390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_IsTopLevel",_kwnames,&_argo0))
2391 return NULL;
2392 if (_argo0) {
2393 if (_argo0 == Py_None) { _arg0 = NULL; }
2394 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2395 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
2396 return NULL;
2397 }
2398 }
2399 {
2400 wxPy_BEGIN_ALLOW_THREADS;
2401 _result = (bool )wxWindow_IsTopLevel(_arg0);
2402
2403 wxPy_END_ALLOW_THREADS;
2404 } _resultobj = Py_BuildValue("i",_result);
2405 return _resultobj;
2406 }
2407
2408 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
2409 static PyObject *_wrap_wxWindow_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
2410 PyObject * _resultobj;
2411 wxWindow * _arg0;
2412 PyObject * _argo0 = 0;
2413 char *_kwnames[] = { "self", NULL };
2414
2415 self = self;
2416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Layout",_kwnames,&_argo0))
2417 return NULL;
2418 if (_argo0) {
2419 if (_argo0 == Py_None) { _arg0 = NULL; }
2420 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2421 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
2422 return NULL;
2423 }
2424 }
2425 {
2426 wxPy_BEGIN_ALLOW_THREADS;
2427 wxWindow_Layout(_arg0);
2428
2429 wxPy_END_ALLOW_THREADS;
2430 } Py_INCREF(Py_None);
2431 _resultobj = Py_None;
2432 return _resultobj;
2433 }
2434
2435 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
2436 static PyObject *_wrap_wxWindow_LoadFromResource(PyObject *self, PyObject *args, PyObject *kwargs) {
2437 PyObject * _resultobj;
2438 bool _result;
2439 wxWindow * _arg0;
2440 wxWindow * _arg1;
2441 wxString * _arg2;
2442 wxResourceTable * _arg3 = (wxResourceTable *) NULL;
2443 PyObject * _argo0 = 0;
2444 PyObject * _argo1 = 0;
2445 PyObject * _obj2 = 0;
2446 PyObject * _argo3 = 0;
2447 char *_kwnames[] = { "self","parent","resourceName","resourceTable", NULL };
2448
2449 self = self;
2450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|O:wxWindow_LoadFromResource",_kwnames,&_argo0,&_argo1,&_obj2,&_argo3))
2451 return NULL;
2452 if (_argo0) {
2453 if (_argo0 == Py_None) { _arg0 = NULL; }
2454 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2455 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
2456 return NULL;
2457 }
2458 }
2459 if (_argo1) {
2460 if (_argo1 == Py_None) { _arg1 = NULL; }
2461 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2462 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
2463 return NULL;
2464 }
2465 }
2466 {
2467 if (!PyString_Check(_obj2)) {
2468 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2469 return NULL;
2470 }
2471 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
2472 }
2473 if (_argo3) {
2474 if (_argo3 == Py_None) { _arg3 = NULL; }
2475 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxResourceTable_p")) {
2476 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
2477 return NULL;
2478 }
2479 }
2480 {
2481 wxPy_BEGIN_ALLOW_THREADS;
2482 _result = (bool )wxWindow_LoadFromResource(_arg0,_arg1,*_arg2,_arg3);
2483
2484 wxPy_END_ALLOW_THREADS;
2485 } _resultobj = Py_BuildValue("i",_result);
2486 {
2487 if (_obj2)
2488 delete _arg2;
2489 }
2490 return _resultobj;
2491 }
2492
2493 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
2494 static PyObject *_wrap_wxWindow_Lower(PyObject *self, PyObject *args, PyObject *kwargs) {
2495 PyObject * _resultobj;
2496 wxWindow * _arg0;
2497 PyObject * _argo0 = 0;
2498 char *_kwnames[] = { "self", NULL };
2499
2500 self = self;
2501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Lower",_kwnames,&_argo0))
2502 return NULL;
2503 if (_argo0) {
2504 if (_argo0 == Py_None) { _arg0 = NULL; }
2505 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2506 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
2507 return NULL;
2508 }
2509 }
2510 {
2511 wxPy_BEGIN_ALLOW_THREADS;
2512 wxWindow_Lower(_arg0);
2513
2514 wxPy_END_ALLOW_THREADS;
2515 } Py_INCREF(Py_None);
2516 _resultobj = Py_None;
2517 return _resultobj;
2518 }
2519
2520 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
2521 static PyObject *_wrap_wxWindow_MakeModal(PyObject *self, PyObject *args, PyObject *kwargs) {
2522 PyObject * _resultobj;
2523 wxWindow * _arg0;
2524 bool _arg1;
2525 PyObject * _argo0 = 0;
2526 int tempbool1;
2527 char *_kwnames[] = { "self","flag", NULL };
2528
2529 self = self;
2530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_MakeModal",_kwnames,&_argo0,&tempbool1))
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_MakeModal. Expected _wxWindow_p.");
2536 return NULL;
2537 }
2538 }
2539 _arg1 = (bool ) tempbool1;
2540 {
2541 wxPy_BEGIN_ALLOW_THREADS;
2542 wxWindow_MakeModal(_arg0,_arg1);
2543
2544 wxPy_END_ALLOW_THREADS;
2545 } Py_INCREF(Py_None);
2546 _resultobj = Py_None;
2547 return _resultobj;
2548 }
2549
2550 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2551 static PyObject *_wrap_wxWindow_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
2552 PyObject * _resultobj;
2553 wxWindow * _arg0;
2554 int _arg1;
2555 int _arg2;
2556 PyObject * _argo0 = 0;
2557 char *_kwnames[] = { "self","x","y", NULL };
2558
2559 self = self;
2560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxWindow_MoveXY",_kwnames,&_argo0,&_arg1,&_arg2))
2561 return NULL;
2562 if (_argo0) {
2563 if (_argo0 == Py_None) { _arg0 = NULL; }
2564 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2565 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
2566 return NULL;
2567 }
2568 }
2569 {
2570 wxPy_BEGIN_ALLOW_THREADS;
2571 wxWindow_MoveXY(_arg0,_arg1,_arg2);
2572
2573 wxPy_END_ALLOW_THREADS;
2574 } Py_INCREF(Py_None);
2575 _resultobj = Py_None;
2576 return _resultobj;
2577 }
2578
2579 #define wxWindow_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2580 static PyObject *_wrap_wxWindow_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
2581 PyObject * _resultobj;
2582 wxWindow * _arg0;
2583 wxPoint * _arg1;
2584 PyObject * _argo0 = 0;
2585 wxPoint temp;
2586 PyObject * _obj1 = 0;
2587 char *_kwnames[] = { "self","point", NULL };
2588
2589 self = self;
2590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_Move",_kwnames,&_argo0,&_obj1))
2591 return NULL;
2592 if (_argo0) {
2593 if (_argo0 == Py_None) { _arg0 = NULL; }
2594 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2595 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
2596 return NULL;
2597 }
2598 }
2599 {
2600 _arg1 = &temp;
2601 if (! wxPoint_helper(_obj1, &_arg1))
2602 return NULL;
2603 }
2604 {
2605 wxPy_BEGIN_ALLOW_THREADS;
2606 wxWindow_Move(_arg0,*_arg1);
2607
2608 wxPy_END_ALLOW_THREADS;
2609 } Py_INCREF(Py_None);
2610 _resultobj = Py_None;
2611 return _resultobj;
2612 }
2613
2614 #define wxWindow_PopEventHandler(_swigobj,_swigarg0) (_swigobj->PopEventHandler(_swigarg0))
2615 static PyObject *_wrap_wxWindow_PopEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
2616 PyObject * _resultobj;
2617 wxEvtHandler * _result;
2618 wxWindow * _arg0;
2619 bool _arg1 = (bool ) FALSE;
2620 PyObject * _argo0 = 0;
2621 int tempbool1 = (int) FALSE;
2622 char *_kwnames[] = { "self","deleteHandler", NULL };
2623 char _ptemp[128];
2624
2625 self = self;
2626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_PopEventHandler",_kwnames,&_argo0,&tempbool1))
2627 return NULL;
2628 if (_argo0) {
2629 if (_argo0 == Py_None) { _arg0 = NULL; }
2630 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2631 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PopEventHandler. Expected _wxWindow_p.");
2632 return NULL;
2633 }
2634 }
2635 _arg1 = (bool ) tempbool1;
2636 {
2637 wxPy_BEGIN_ALLOW_THREADS;
2638 _result = (wxEvtHandler *)wxWindow_PopEventHandler(_arg0,_arg1);
2639
2640 wxPy_END_ALLOW_THREADS;
2641 } if (_result) {
2642 SWIG_MakePtr(_ptemp, (char *) _result,"_wxEvtHandler_p");
2643 _resultobj = Py_BuildValue("s",_ptemp);
2644 } else {
2645 Py_INCREF(Py_None);
2646 _resultobj = Py_None;
2647 }
2648 return _resultobj;
2649 }
2650
2651 #define wxWindow_PushEventHandler(_swigobj,_swigarg0) (_swigobj->PushEventHandler(_swigarg0))
2652 static PyObject *_wrap_wxWindow_PushEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
2653 PyObject * _resultobj;
2654 wxWindow * _arg0;
2655 wxEvtHandler * _arg1;
2656 PyObject * _argo0 = 0;
2657 PyObject * _argo1 = 0;
2658 char *_kwnames[] = { "self","handler", NULL };
2659
2660 self = self;
2661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_PushEventHandler",_kwnames,&_argo0,&_argo1))
2662 return NULL;
2663 if (_argo0) {
2664 if (_argo0 == Py_None) { _arg0 = NULL; }
2665 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2666 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PushEventHandler. Expected _wxWindow_p.");
2667 return NULL;
2668 }
2669 }
2670 if (_argo1) {
2671 if (_argo1 == Py_None) { _arg1 = NULL; }
2672 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
2673 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_PushEventHandler. Expected _wxEvtHandler_p.");
2674 return NULL;
2675 }
2676 }
2677 {
2678 wxPy_BEGIN_ALLOW_THREADS;
2679 wxWindow_PushEventHandler(_arg0,_arg1);
2680
2681 wxPy_END_ALLOW_THREADS;
2682 } Py_INCREF(Py_None);
2683 _resultobj = Py_None;
2684 return _resultobj;
2685 }
2686
2687 #define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
2688 static PyObject *_wrap_wxWindow_PopupMenuXY(PyObject *self, PyObject *args, PyObject *kwargs) {
2689 PyObject * _resultobj;
2690 bool _result;
2691 wxWindow * _arg0;
2692 wxMenu * _arg1;
2693 int _arg2;
2694 int _arg3;
2695 PyObject * _argo0 = 0;
2696 PyObject * _argo1 = 0;
2697 char *_kwnames[] = { "self","menu","x","y", NULL };
2698
2699 self = self;
2700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxWindow_PopupMenuXY",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
2701 return NULL;
2702 if (_argo0) {
2703 if (_argo0 == Py_None) { _arg0 = NULL; }
2704 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2705 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
2706 return NULL;
2707 }
2708 }
2709 if (_argo1) {
2710 if (_argo1 == Py_None) { _arg1 = NULL; }
2711 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
2712 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
2713 return NULL;
2714 }
2715 }
2716 {
2717 wxPy_BEGIN_ALLOW_THREADS;
2718 _result = (bool )wxWindow_PopupMenuXY(_arg0,_arg1,_arg2,_arg3);
2719
2720 wxPy_END_ALLOW_THREADS;
2721 } _resultobj = Py_BuildValue("i",_result);
2722 return _resultobj;
2723 }
2724
2725 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
2726 static PyObject *_wrap_wxWindow_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
2727 PyObject * _resultobj;
2728 bool _result;
2729 wxWindow * _arg0;
2730 wxMenu * _arg1;
2731 wxPoint * _arg2;
2732 PyObject * _argo0 = 0;
2733 PyObject * _argo1 = 0;
2734 wxPoint temp;
2735 PyObject * _obj2 = 0;
2736 char *_kwnames[] = { "self","menu","pos", NULL };
2737
2738 self = self;
2739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxWindow_PopupMenu",_kwnames,&_argo0,&_argo1,&_obj2))
2740 return NULL;
2741 if (_argo0) {
2742 if (_argo0 == Py_None) { _arg0 = NULL; }
2743 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2744 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
2745 return NULL;
2746 }
2747 }
2748 if (_argo1) {
2749 if (_argo1 == Py_None) { _arg1 = NULL; }
2750 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
2751 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
2752 return NULL;
2753 }
2754 }
2755 {
2756 _arg2 = &temp;
2757 if (! wxPoint_helper(_obj2, &_arg2))
2758 return NULL;
2759 }
2760 {
2761 wxPy_BEGIN_ALLOW_THREADS;
2762 _result = (bool )wxWindow_PopupMenu(_arg0,_arg1,*_arg2);
2763
2764 wxPy_END_ALLOW_THREADS;
2765 } _resultobj = Py_BuildValue("i",_result);
2766 return _resultobj;
2767 }
2768
2769 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
2770 static PyObject *_wrap_wxWindow_Raise(PyObject *self, PyObject *args, PyObject *kwargs) {
2771 PyObject * _resultobj;
2772 wxWindow * _arg0;
2773 PyObject * _argo0 = 0;
2774 char *_kwnames[] = { "self", NULL };
2775
2776 self = self;
2777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Raise",_kwnames,&_argo0))
2778 return NULL;
2779 if (_argo0) {
2780 if (_argo0 == Py_None) { _arg0 = NULL; }
2781 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2782 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
2783 return NULL;
2784 }
2785 }
2786 {
2787 wxPy_BEGIN_ALLOW_THREADS;
2788 wxWindow_Raise(_arg0);
2789
2790 wxPy_END_ALLOW_THREADS;
2791 } Py_INCREF(Py_None);
2792 _resultobj = Py_None;
2793 return _resultobj;
2794 }
2795
2796 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
2797 static PyObject *_wrap_wxWindow_Refresh(PyObject *self, PyObject *args, PyObject *kwargs) {
2798 PyObject * _resultobj;
2799 wxWindow * _arg0;
2800 bool _arg1 = (bool ) TRUE;
2801 wxRect * _arg2 = (wxRect *) NULL;
2802 PyObject * _argo0 = 0;
2803 int tempbool1 = (int) TRUE;
2804 wxRect temp;
2805 PyObject * _obj2 = 0;
2806 char *_kwnames[] = { "self","eraseBackground","rect", NULL };
2807
2808 self = self;
2809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iO:wxWindow_Refresh",_kwnames,&_argo0,&tempbool1,&_obj2))
2810 return NULL;
2811 if (_argo0) {
2812 if (_argo0 == Py_None) { _arg0 = NULL; }
2813 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2814 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
2815 return NULL;
2816 }
2817 }
2818 _arg1 = (bool ) tempbool1;
2819 if (_obj2)
2820 {
2821 _arg2 = &temp;
2822 if (! wxRect_helper(_obj2, &_arg2))
2823 return NULL;
2824 }
2825 {
2826 wxPy_BEGIN_ALLOW_THREADS;
2827 wxWindow_Refresh(_arg0,_arg1,_arg2);
2828
2829 wxPy_END_ALLOW_THREADS;
2830 } Py_INCREF(Py_None);
2831 _resultobj = Py_None;
2832 return _resultobj;
2833 }
2834
2835 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
2836 static PyObject *_wrap_wxWindow_ReleaseMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
2837 PyObject * _resultobj;
2838 wxWindow * _arg0;
2839 PyObject * _argo0 = 0;
2840 char *_kwnames[] = { "self", NULL };
2841
2842 self = self;
2843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_ReleaseMouse",_kwnames,&_argo0))
2844 return NULL;
2845 if (_argo0) {
2846 if (_argo0 == Py_None) { _arg0 = NULL; }
2847 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2848 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
2849 return NULL;
2850 }
2851 }
2852 {
2853 wxPy_BEGIN_ALLOW_THREADS;
2854 wxWindow_ReleaseMouse(_arg0);
2855
2856 wxPy_END_ALLOW_THREADS;
2857 } Py_INCREF(Py_None);
2858 _resultobj = Py_None;
2859 return _resultobj;
2860 }
2861
2862 #define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
2863 static PyObject *_wrap_wxWindow_Reparent(PyObject *self, PyObject *args, PyObject *kwargs) {
2864 PyObject * _resultobj;
2865 bool _result;
2866 wxWindow * _arg0;
2867 wxWindow * _arg1;
2868 PyObject * _argo0 = 0;
2869 PyObject * _argo1 = 0;
2870 char *_kwnames[] = { "self","newParent", NULL };
2871
2872 self = self;
2873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_Reparent",_kwnames,&_argo0,&_argo1))
2874 return NULL;
2875 if (_argo0) {
2876 if (_argo0 == Py_None) { _arg0 = NULL; }
2877 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2878 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
2879 return NULL;
2880 }
2881 }
2882 if (_argo1) {
2883 if (_argo1 == Py_None) { _arg1 = NULL; }
2884 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2885 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
2886 return NULL;
2887 }
2888 }
2889 {
2890 wxPy_BEGIN_ALLOW_THREADS;
2891 _result = (bool )wxWindow_Reparent(_arg0,_arg1);
2892
2893 wxPy_END_ALLOW_THREADS;
2894 } _resultobj = Py_BuildValue("i",_result);
2895 return _resultobj;
2896 }
2897
2898 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
2899 static PyObject *_wrap_wxWindow_ScreenToClientXY(PyObject *self, PyObject *args, PyObject *kwargs) {
2900 PyObject * _resultobj;
2901 wxWindow * _arg0;
2902 int * _arg1;
2903 int * _arg2;
2904 PyObject * _argo0 = 0;
2905 int temp;
2906 PyObject * _obj1 = 0;
2907 int temp0;
2908 PyObject * _obj2 = 0;
2909 char *_kwnames[] = { "self","x","y", NULL };
2910
2911 self = self;
2912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxWindow_ScreenToClientXY",_kwnames,&_argo0,&_obj1,&_obj2))
2913 return NULL;
2914 if (_argo0) {
2915 if (_argo0 == Py_None) { _arg0 = NULL; }
2916 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2917 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
2918 return NULL;
2919 }
2920 }
2921 {
2922 temp = (int) PyInt_AsLong(_obj1);
2923 _arg1 = &temp;
2924 }
2925 {
2926 temp0 = (int) PyInt_AsLong(_obj2);
2927 _arg2 = &temp0;
2928 }
2929 {
2930 wxPy_BEGIN_ALLOW_THREADS;
2931 wxWindow_ScreenToClientXY(_arg0,_arg1,_arg2);
2932
2933 wxPy_END_ALLOW_THREADS;
2934 } Py_INCREF(Py_None);
2935 _resultobj = Py_None;
2936 {
2937 PyObject *o;
2938 o = PyInt_FromLong((long) (*_arg1));
2939 _resultobj = t_output_helper(_resultobj, o);
2940 }
2941 {
2942 PyObject *o;
2943 o = PyInt_FromLong((long) (*_arg2));
2944 _resultobj = t_output_helper(_resultobj, o);
2945 }
2946 return _resultobj;
2947 }
2948
2949 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
2950 static PyObject *_wrap_wxWindow_ScreenToClient(PyObject *self, PyObject *args, PyObject *kwargs) {
2951 PyObject * _resultobj;
2952 wxPoint * _result;
2953 wxWindow * _arg0;
2954 wxPoint * _arg1;
2955 PyObject * _argo0 = 0;
2956 wxPoint temp;
2957 PyObject * _obj1 = 0;
2958 char *_kwnames[] = { "self","pt", NULL };
2959 char _ptemp[128];
2960
2961 self = self;
2962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ScreenToClient",_kwnames,&_argo0,&_obj1))
2963 return NULL;
2964 if (_argo0) {
2965 if (_argo0 == Py_None) { _arg0 = NULL; }
2966 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2967 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
2968 return NULL;
2969 }
2970 }
2971 {
2972 _arg1 = &temp;
2973 if (! wxPoint_helper(_obj1, &_arg1))
2974 return NULL;
2975 }
2976 {
2977 wxPy_BEGIN_ALLOW_THREADS;
2978 _result = new wxPoint (wxWindow_ScreenToClient(_arg0,*_arg1));
2979
2980 wxPy_END_ALLOW_THREADS;
2981 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2982 _resultobj = Py_BuildValue("s",_ptemp);
2983 return _resultobj;
2984 }
2985
2986 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
2987 static PyObject *_wrap_wxWindow_ScrollWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2988 PyObject * _resultobj;
2989 wxWindow * _arg0;
2990 int _arg1;
2991 int _arg2;
2992 wxRect * _arg3 = (wxRect *) NULL;
2993 PyObject * _argo0 = 0;
2994 wxRect temp;
2995 PyObject * _obj3 = 0;
2996 char *_kwnames[] = { "self","dx","dy","rect", NULL };
2997
2998 self = self;
2999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|O:wxWindow_ScrollWindow",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
3000 return NULL;
3001 if (_argo0) {
3002 if (_argo0 == Py_None) { _arg0 = NULL; }
3003 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3004 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
3005 return NULL;
3006 }
3007 }
3008 if (_obj3)
3009 {
3010 _arg3 = &temp;
3011 if (! wxRect_helper(_obj3, &_arg3))
3012 return NULL;
3013 }
3014 {
3015 wxPy_BEGIN_ALLOW_THREADS;
3016 wxWindow_ScrollWindow(_arg0,_arg1,_arg2,_arg3);
3017
3018 wxPy_END_ALLOW_THREADS;
3019 } Py_INCREF(Py_None);
3020 _resultobj = Py_None;
3021 return _resultobj;
3022 }
3023
3024 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
3025 static PyObject *_wrap_wxWindow_SetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
3026 PyObject * _resultobj;
3027 wxWindow * _arg0;
3028 wxAcceleratorTable * _arg1;
3029 PyObject * _argo0 = 0;
3030 PyObject * _argo1 = 0;
3031 char *_kwnames[] = { "self","accel", NULL };
3032
3033 self = self;
3034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetAcceleratorTable",_kwnames,&_argo0,&_argo1))
3035 return NULL;
3036 if (_argo0) {
3037 if (_argo0 == Py_None) { _arg0 = NULL; }
3038 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3039 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
3040 return NULL;
3041 }
3042 }
3043 if (_argo1) {
3044 if (_argo1 == Py_None) { _arg1 = NULL; }
3045 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxAcceleratorTable_p")) {
3046 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
3047 return NULL;
3048 }
3049 }
3050 {
3051 wxPy_BEGIN_ALLOW_THREADS;
3052 wxWindow_SetAcceleratorTable(_arg0,*_arg1);
3053
3054 wxPy_END_ALLOW_THREADS;
3055 } Py_INCREF(Py_None);
3056 _resultobj = Py_None;
3057 return _resultobj;
3058 }
3059
3060 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
3061 static PyObject *_wrap_wxWindow_SetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
3062 PyObject * _resultobj;
3063 wxWindow * _arg0;
3064 bool _arg1;
3065 PyObject * _argo0 = 0;
3066 int tempbool1;
3067 char *_kwnames[] = { "self","autoLayout", NULL };
3068
3069 self = self;
3070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_SetAutoLayout",_kwnames,&_argo0,&tempbool1))
3071 return NULL;
3072 if (_argo0) {
3073 if (_argo0 == Py_None) { _arg0 = NULL; }
3074 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3075 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
3076 return NULL;
3077 }
3078 }
3079 _arg1 = (bool ) tempbool1;
3080 {
3081 wxPy_BEGIN_ALLOW_THREADS;
3082 wxWindow_SetAutoLayout(_arg0,_arg1);
3083
3084 wxPy_END_ALLOW_THREADS;
3085 } Py_INCREF(Py_None);
3086 _resultobj = Py_None;
3087 return _resultobj;
3088 }
3089
3090 #define wxWindow_GetAutoLayout(_swigobj) (_swigobj->GetAutoLayout())
3091 static PyObject *_wrap_wxWindow_GetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
3092 PyObject * _resultobj;
3093 bool _result;
3094 wxWindow * _arg0;
3095 PyObject * _argo0 = 0;
3096 char *_kwnames[] = { "self", NULL };
3097
3098 self = self;
3099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetAutoLayout",_kwnames,&_argo0))
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_GetAutoLayout. Expected _wxWindow_p.");
3105 return NULL;
3106 }
3107 }
3108 {
3109 wxPy_BEGIN_ALLOW_THREADS;
3110 _result = (bool )wxWindow_GetAutoLayout(_arg0);
3111
3112 wxPy_END_ALLOW_THREADS;
3113 } _resultobj = Py_BuildValue("i",_result);
3114 return _resultobj;
3115 }
3116
3117 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3118 static PyObject *_wrap_wxWindow_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3119 PyObject * _resultobj;
3120 wxWindow * _arg0;
3121 wxColour * _arg1;
3122 PyObject * _argo0 = 0;
3123 PyObject * _argo1 = 0;
3124 char *_kwnames[] = { "self","colour", NULL };
3125
3126 self = self;
3127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetBackgroundColour",_kwnames,&_argo0,&_argo1))
3128 return NULL;
3129 if (_argo0) {
3130 if (_argo0 == Py_None) { _arg0 = NULL; }
3131 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3132 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
3133 return NULL;
3134 }
3135 }
3136 if (_argo1) {
3137 if (_argo1 == Py_None) { _arg1 = NULL; }
3138 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) {
3139 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetBackgroundColour. Expected _wxColour_p.");
3140 return NULL;
3141 }
3142 }
3143 {
3144 wxPy_BEGIN_ALLOW_THREADS;
3145 wxWindow_SetBackgroundColour(_arg0,*_arg1);
3146
3147 wxPy_END_ALLOW_THREADS;
3148 } Py_INCREF(Py_None);
3149 _resultobj = Py_None;
3150 return _resultobj;
3151 }
3152
3153 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
3154 static PyObject *_wrap_wxWindow_SetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
3155 PyObject * _resultobj;
3156 wxWindow * _arg0;
3157 wxLayoutConstraints * _arg1;
3158 PyObject * _argo0 = 0;
3159 PyObject * _argo1 = 0;
3160 char *_kwnames[] = { "self","constraints", NULL };
3161
3162 self = self;
3163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetConstraints",_kwnames,&_argo0,&_argo1))
3164 return NULL;
3165 if (_argo0) {
3166 if (_argo0 == Py_None) { _arg0 = NULL; }
3167 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3168 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
3169 return NULL;
3170 }
3171 }
3172 if (_argo1) {
3173 if (_argo1 == Py_None) { _arg1 = NULL; }
3174 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxLayoutConstraints_p")) {
3175 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
3176 return NULL;
3177 }
3178 }
3179 {
3180 wxPy_BEGIN_ALLOW_THREADS;
3181 wxWindow_SetConstraints(_arg0,_arg1);
3182
3183 wxPy_END_ALLOW_THREADS;
3184 } Py_INCREF(Py_None);
3185 _resultobj = Py_None;
3186 return _resultobj;
3187 }
3188
3189 #define wxWindow_UnsetConstraints(_swigobj,_swigarg0) (_swigobj->UnsetConstraints(_swigarg0))
3190 static PyObject *_wrap_wxWindow_UnsetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
3191 PyObject * _resultobj;
3192 wxWindow * _arg0;
3193 wxLayoutConstraints * _arg1;
3194 PyObject * _argo0 = 0;
3195 PyObject * _argo1 = 0;
3196 char *_kwnames[] = { "self","constraints", NULL };
3197
3198 self = self;
3199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_UnsetConstraints",_kwnames,&_argo0,&_argo1))
3200 return NULL;
3201 if (_argo0) {
3202 if (_argo0 == Py_None) { _arg0 = NULL; }
3203 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3204 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_UnsetConstraints. Expected _wxWindow_p.");
3205 return NULL;
3206 }
3207 }
3208 if (_argo1) {
3209 if (_argo1 == Py_None) { _arg1 = NULL; }
3210 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxLayoutConstraints_p")) {
3211 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_UnsetConstraints. Expected _wxLayoutConstraints_p.");
3212 return NULL;
3213 }
3214 }
3215 {
3216 wxPy_BEGIN_ALLOW_THREADS;
3217 wxWindow_UnsetConstraints(_arg0,_arg1);
3218
3219 wxPy_END_ALLOW_THREADS;
3220 } Py_INCREF(Py_None);
3221 _resultobj = Py_None;
3222 return _resultobj;
3223 }
3224
3225 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
3226 static PyObject *_wrap_wxWindow_SetFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
3227 PyObject * _resultobj;
3228 wxWindow * _arg0;
3229 PyObject * _argo0 = 0;
3230 char *_kwnames[] = { "self", NULL };
3231
3232 self = self;
3233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_SetFocus",_kwnames,&_argo0))
3234 return NULL;
3235 if (_argo0) {
3236 if (_argo0 == Py_None) { _arg0 = NULL; }
3237 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3238 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
3239 return NULL;
3240 }
3241 }
3242 {
3243 wxPy_BEGIN_ALLOW_THREADS;
3244 wxWindow_SetFocus(_arg0);
3245
3246 wxPy_END_ALLOW_THREADS;
3247 } Py_INCREF(Py_None);
3248 _resultobj = Py_None;
3249 return _resultobj;
3250 }
3251
3252 #define wxWindow_AcceptsFocus(_swigobj) (_swigobj->AcceptsFocus())
3253 static PyObject *_wrap_wxWindow_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
3254 PyObject * _resultobj;
3255 bool _result;
3256 wxWindow * _arg0;
3257 PyObject * _argo0 = 0;
3258 char *_kwnames[] = { "self", NULL };
3259
3260 self = self;
3261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_AcceptsFocus",_kwnames,&_argo0))
3262 return NULL;
3263 if (_argo0) {
3264 if (_argo0 == Py_None) { _arg0 = NULL; }
3265 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3266 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_AcceptsFocus. Expected _wxWindow_p.");
3267 return NULL;
3268 }
3269 }
3270 {
3271 wxPy_BEGIN_ALLOW_THREADS;
3272 _result = (bool )wxWindow_AcceptsFocus(_arg0);
3273
3274 wxPy_END_ALLOW_THREADS;
3275 } _resultobj = Py_BuildValue("i",_result);
3276 return _resultobj;
3277 }
3278
3279 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
3280 static PyObject *_wrap_wxWindow_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3281 PyObject * _resultobj;
3282 wxWindow * _arg0;
3283 wxFont * _arg1;
3284 PyObject * _argo0 = 0;
3285 PyObject * _argo1 = 0;
3286 char *_kwnames[] = { "self","font", NULL };
3287
3288 self = self;
3289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetFont",_kwnames,&_argo0,&_argo1))
3290 return NULL;
3291 if (_argo0) {
3292 if (_argo0 == Py_None) { _arg0 = NULL; }
3293 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3294 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
3295 return NULL;
3296 }
3297 }
3298 if (_argo1) {
3299 if (_argo1 == Py_None) { _arg1 = NULL; }
3300 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
3301 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
3302 return NULL;
3303 }
3304 }
3305 {
3306 wxPy_BEGIN_ALLOW_THREADS;
3307 wxWindow_SetFont(_arg0,*_arg1);
3308
3309 wxPy_END_ALLOW_THREADS;
3310 } Py_INCREF(Py_None);
3311 _resultobj = Py_None;
3312 return _resultobj;
3313 }
3314
3315 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
3316 static PyObject *_wrap_wxWindow_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3317 PyObject * _resultobj;
3318 wxWindow * _arg0;
3319 wxColour * _arg1;
3320 PyObject * _argo0 = 0;
3321 PyObject * _argo1 = 0;
3322 char *_kwnames[] = { "self","colour", NULL };
3323
3324 self = self;
3325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetForegroundColour",_kwnames,&_argo0,&_argo1))
3326 return NULL;
3327 if (_argo0) {
3328 if (_argo0 == Py_None) { _arg0 = NULL; }
3329 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3330 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
3331 return NULL;
3332 }
3333 }
3334 if (_argo1) {
3335 if (_argo1 == Py_None) { _arg1 = NULL; }
3336 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) {
3337 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetForegroundColour. Expected _wxColour_p.");
3338 return NULL;
3339 }
3340 }
3341 {
3342 wxPy_BEGIN_ALLOW_THREADS;
3343 wxWindow_SetForegroundColour(_arg0,*_arg1);
3344
3345 wxPy_END_ALLOW_THREADS;
3346 } Py_INCREF(Py_None);
3347 _resultobj = Py_None;
3348 return _resultobj;
3349 }
3350
3351 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
3352 static PyObject *_wrap_wxWindow_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
3353 PyObject * _resultobj;
3354 wxWindow * _arg0;
3355 int _arg1;
3356 PyObject * _argo0 = 0;
3357 char *_kwnames[] = { "self","id", NULL };
3358
3359 self = self;
3360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_SetId",_kwnames,&_argo0,&_arg1))
3361 return NULL;
3362 if (_argo0) {
3363 if (_argo0 == Py_None) { _arg0 = NULL; }
3364 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3365 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
3366 return NULL;
3367 }
3368 }
3369 {
3370 wxPy_BEGIN_ALLOW_THREADS;
3371 wxWindow_SetId(_arg0,_arg1);
3372
3373 wxPy_END_ALLOW_THREADS;
3374 } Py_INCREF(Py_None);
3375 _resultobj = Py_None;
3376 return _resultobj;
3377 }
3378
3379 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
3380 static PyObject *_wrap_wxWindow_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
3381 PyObject * _resultobj;
3382 wxWindow * _arg0;
3383 wxString * _arg1;
3384 PyObject * _argo0 = 0;
3385 PyObject * _obj1 = 0;
3386 char *_kwnames[] = { "self","name", NULL };
3387
3388 self = self;
3389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetName",_kwnames,&_argo0,&_obj1))
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_SetName. Expected _wxWindow_p.");
3395 return NULL;
3396 }
3397 }
3398 {
3399 if (!PyString_Check(_obj1)) {
3400 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3401 return NULL;
3402 }
3403 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
3404 }
3405 {
3406 wxPy_BEGIN_ALLOW_THREADS;
3407 wxWindow_SetName(_arg0,*_arg1);
3408
3409 wxPy_END_ALLOW_THREADS;
3410 } Py_INCREF(Py_None);
3411 _resultobj = Py_None;
3412 {
3413 if (_obj1)
3414 delete _arg1;
3415 }
3416 return _resultobj;
3417 }
3418
3419 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3420 static PyObject *_wrap_wxWindow_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
3421 PyObject * _resultobj;
3422 wxWindow * _arg0;
3423 int _arg1;
3424 int _arg2;
3425 int _arg3;
3426 int _arg4;
3427 bool _arg5 = (bool ) TRUE;
3428 PyObject * _argo0 = 0;
3429 int tempbool5 = (int) TRUE;
3430 char *_kwnames[] = { "self","orientation","position","thumbSize","range","refresh", NULL };
3431
3432 self = self;
3433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxWindow_SetScrollbar",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&tempbool5))
3434 return NULL;
3435 if (_argo0) {
3436 if (_argo0 == Py_None) { _arg0 = NULL; }
3437 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3438 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
3439 return NULL;
3440 }
3441 }
3442 _arg5 = (bool ) tempbool5;
3443 {
3444 wxPy_BEGIN_ALLOW_THREADS;
3445 wxWindow_SetScrollbar(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
3446
3447 wxPy_END_ALLOW_THREADS;
3448 } Py_INCREF(Py_None);
3449 _resultobj = Py_None;
3450 return _resultobj;
3451 }
3452
3453 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
3454 static PyObject *_wrap_wxWindow_SetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
3455 PyObject * _resultobj;
3456 wxWindow * _arg0;
3457 int _arg1;
3458 int _arg2;
3459 bool _arg3 = (bool ) TRUE;
3460 PyObject * _argo0 = 0;
3461 int tempbool3 = (int) TRUE;
3462 char *_kwnames[] = { "self","orientation","pos","refresh", NULL };
3463
3464 self = self;
3465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxWindow_SetScrollPos",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
3466 return NULL;
3467 if (_argo0) {
3468 if (_argo0 == Py_None) { _arg0 = NULL; }
3469 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3470 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
3471 return NULL;
3472 }
3473 }
3474 _arg3 = (bool ) tempbool3;
3475 {
3476 wxPy_BEGIN_ALLOW_THREADS;
3477 wxWindow_SetScrollPos(_arg0,_arg1,_arg2,_arg3);
3478
3479 wxPy_END_ALLOW_THREADS;
3480 } Py_INCREF(Py_None);
3481 _resultobj = Py_None;
3482 return _resultobj;
3483 }
3484
3485 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3486 static PyObject *_wrap_wxWindow_SetDimensions(PyObject *self, PyObject *args, PyObject *kwargs) {
3487 PyObject * _resultobj;
3488 wxWindow * _arg0;
3489 int _arg1;
3490 int _arg2;
3491 int _arg3;
3492 int _arg4;
3493 int _arg5 = (int ) wxSIZE_AUTO;
3494 PyObject * _argo0 = 0;
3495 char *_kwnames[] = { "self","x","y","width","height","sizeFlags", NULL };
3496
3497 self = self;
3498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxWindow_SetDimensions",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5))
3499 return NULL;
3500 if (_argo0) {
3501 if (_argo0 == Py_None) { _arg0 = NULL; }
3502 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3503 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
3504 return NULL;
3505 }
3506 }
3507 {
3508 wxPy_BEGIN_ALLOW_THREADS;
3509 wxWindow_SetDimensions(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
3510
3511 wxPy_END_ALLOW_THREADS;
3512 } Py_INCREF(Py_None);
3513 _resultobj = Py_None;
3514 return _resultobj;
3515 }
3516
3517 static void wxWindow_SetSize(wxWindow *self,const wxSize & size) {
3518 self->SetSize(size.x, size.y);
3519 }
3520 static PyObject *_wrap_wxWindow_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3521 PyObject * _resultobj;
3522 wxWindow * _arg0;
3523 wxSize * _arg1;
3524 PyObject * _argo0 = 0;
3525 wxSize temp;
3526 PyObject * _obj1 = 0;
3527 char *_kwnames[] = { "self","size", NULL };
3528
3529 self = self;
3530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetSize",_kwnames,&_argo0,&_obj1))
3531 return NULL;
3532 if (_argo0) {
3533 if (_argo0 == Py_None) { _arg0 = NULL; }
3534 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3535 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
3536 return NULL;
3537 }
3538 }
3539 {
3540 _arg1 = &temp;
3541 if (! wxSize_helper(_obj1, &_arg1))
3542 return NULL;
3543 }
3544 {
3545 wxPy_BEGIN_ALLOW_THREADS;
3546 wxWindow_SetSize(_arg0,*_arg1);
3547
3548 wxPy_END_ALLOW_THREADS;
3549 } Py_INCREF(Py_None);
3550 _resultobj = Py_None;
3551 return _resultobj;
3552 }
3553
3554 static void wxWindow_SetPosition(wxWindow *self,const wxPoint & pos) {
3555 self->SetSize(pos.x, pos.y, -1, -1);
3556 }
3557 static PyObject *_wrap_wxWindow_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3558 PyObject * _resultobj;
3559 wxWindow * _arg0;
3560 wxPoint * _arg1;
3561 PyObject * _argo0 = 0;
3562 wxPoint temp;
3563 PyObject * _obj1 = 0;
3564 char *_kwnames[] = { "self","pos", NULL };
3565
3566 self = self;
3567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetPosition",_kwnames,&_argo0,&_obj1))
3568 return NULL;
3569 if (_argo0) {
3570 if (_argo0 == Py_None) { _arg0 = NULL; }
3571 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3572 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
3573 return NULL;
3574 }
3575 }
3576 {
3577 _arg1 = &temp;
3578 if (! wxPoint_helper(_obj1, &_arg1))
3579 return NULL;
3580 }
3581 {
3582 wxPy_BEGIN_ALLOW_THREADS;
3583 wxWindow_SetPosition(_arg0,*_arg1);
3584
3585 wxPy_END_ALLOW_THREADS;
3586 } Py_INCREF(Py_None);
3587 _resultobj = Py_None;
3588 return _resultobj;
3589 }
3590
3591 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3592 static PyObject *_wrap_wxWindow_SetSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
3593 PyObject * _resultobj;
3594 wxWindow * _arg0;
3595 int _arg1 = (int ) -1;
3596 int _arg2 = (int ) -1;
3597 int _arg3 = (int ) -1;
3598 int _arg4 = (int ) -1;
3599 int _arg5 = (int ) -1;
3600 int _arg6 = (int ) -1;
3601 PyObject * _argo0 = 0;
3602 char *_kwnames[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL };
3603
3604 self = self;
3605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iiiiii:wxWindow_SetSizeHints",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6))
3606 return NULL;
3607 if (_argo0) {
3608 if (_argo0 == Py_None) { _arg0 = NULL; }
3609 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3610 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
3611 return NULL;
3612 }
3613 }
3614 {
3615 wxPy_BEGIN_ALLOW_THREADS;
3616 wxWindow_SetSizeHints(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
3617
3618 wxPy_END_ALLOW_THREADS;
3619 } Py_INCREF(Py_None);
3620 _resultobj = Py_None;
3621 return _resultobj;
3622 }
3623
3624 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
3625 static PyObject *_wrap_wxWindow_SetClientSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
3626 PyObject * _resultobj;
3627 wxWindow * _arg0;
3628 int _arg1;
3629 int _arg2;
3630 PyObject * _argo0 = 0;
3631 char *_kwnames[] = { "self","width","height", NULL };
3632
3633 self = self;
3634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxWindow_SetClientSizeWH",_kwnames,&_argo0,&_arg1,&_arg2))
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_SetClientSizeWH. Expected _wxWindow_p.");
3640 return NULL;
3641 }
3642 }
3643 {
3644 wxPy_BEGIN_ALLOW_THREADS;
3645 wxWindow_SetClientSizeWH(_arg0,_arg1,_arg2);
3646
3647 wxPy_END_ALLOW_THREADS;
3648 } Py_INCREF(Py_None);
3649 _resultobj = Py_None;
3650 return _resultobj;
3651 }
3652
3653 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
3654 static PyObject *_wrap_wxWindow_SetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3655 PyObject * _resultobj;
3656 wxWindow * _arg0;
3657 wxSize * _arg1;
3658 PyObject * _argo0 = 0;
3659 wxSize temp;
3660 PyObject * _obj1 = 0;
3661 char *_kwnames[] = { "self","size", NULL };
3662
3663 self = self;
3664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetClientSize",_kwnames,&_argo0,&_obj1))
3665 return NULL;
3666 if (_argo0) {
3667 if (_argo0 == Py_None) { _arg0 = NULL; }
3668 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3669 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
3670 return NULL;
3671 }
3672 }
3673 {
3674 _arg1 = &temp;
3675 if (! wxSize_helper(_obj1, &_arg1))
3676 return NULL;
3677 }
3678 {
3679 wxPy_BEGIN_ALLOW_THREADS;
3680 wxWindow_SetClientSize(_arg0,*_arg1);
3681
3682 wxPy_END_ALLOW_THREADS;
3683 } Py_INCREF(Py_None);
3684 _resultobj = Py_None;
3685 return _resultobj;
3686 }
3687
3688 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
3689 static PyObject *_wrap_wxWindow_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
3690 PyObject * _resultobj;
3691 wxWindow * _arg0;
3692 wxCursor * _arg1;
3693 PyObject * _argo0 = 0;
3694 PyObject * _argo1 = 0;
3695 char *_kwnames[] = { "self","cursor", NULL };
3696
3697 self = self;
3698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetCursor",_kwnames,&_argo0,&_argo1))
3699 return NULL;
3700 if (_argo0) {
3701 if (_argo0 == Py_None) { _arg0 = NULL; }
3702 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3703 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
3704 return NULL;
3705 }
3706 }
3707 if (_argo1) {
3708 if (_argo1 == Py_None) { _arg1 = NULL; }
3709 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCursor_p")) {
3710 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
3711 return NULL;
3712 }
3713 }
3714 {
3715 wxPy_BEGIN_ALLOW_THREADS;
3716 wxWindow_SetCursor(_arg0,*_arg1);
3717
3718 wxPy_END_ALLOW_THREADS;
3719 } Py_INCREF(Py_None);
3720 _resultobj = Py_None;
3721 return _resultobj;
3722 }
3723
3724 #define wxWindow_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
3725 static PyObject *_wrap_wxWindow_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
3726 PyObject * _resultobj;
3727 wxWindow * _arg0;
3728 wxEvtHandler * _arg1;
3729 PyObject * _argo0 = 0;
3730 PyObject * _argo1 = 0;
3731 char *_kwnames[] = { "self","handler", NULL };
3732
3733 self = self;
3734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetEventHandler",_kwnames,&_argo0,&_argo1))
3735 return NULL;
3736 if (_argo0) {
3737 if (_argo0 == Py_None) { _arg0 = NULL; }
3738 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3739 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetEventHandler. Expected _wxWindow_p.");
3740 return NULL;
3741 }
3742 }
3743 if (_argo1) {
3744 if (_argo1 == Py_None) { _arg1 = NULL; }
3745 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
3746 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetEventHandler. Expected _wxEvtHandler_p.");
3747 return NULL;
3748 }
3749 }
3750 {
3751 wxPy_BEGIN_ALLOW_THREADS;
3752 wxWindow_SetEventHandler(_arg0,_arg1);
3753
3754 wxPy_END_ALLOW_THREADS;
3755 } Py_INCREF(Py_None);
3756 _resultobj = Py_None;
3757 return _resultobj;
3758 }
3759
3760 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
3761 static PyObject *_wrap_wxWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
3762 PyObject * _resultobj;
3763 wxWindow * _arg0;
3764 wxString * _arg1;
3765 PyObject * _argo0 = 0;
3766 PyObject * _obj1 = 0;
3767 char *_kwnames[] = { "self","title", NULL };
3768
3769 self = self;
3770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetTitle",_kwnames,&_argo0,&_obj1))
3771 return NULL;
3772 if (_argo0) {
3773 if (_argo0 == Py_None) { _arg0 = NULL; }
3774 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3775 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
3776 return NULL;
3777 }
3778 }
3779 {
3780 if (!PyString_Check(_obj1)) {
3781 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3782 return NULL;
3783 }
3784 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
3785 }
3786 {
3787 wxPy_BEGIN_ALLOW_THREADS;
3788 wxWindow_SetTitle(_arg0,*_arg1);
3789
3790 wxPy_END_ALLOW_THREADS;
3791 } Py_INCREF(Py_None);
3792 _resultobj = Py_None;
3793 {
3794 if (_obj1)
3795 delete _arg1;
3796 }
3797 return _resultobj;
3798 }
3799
3800 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3801 static PyObject *_wrap_wxWindow_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
3802 PyObject * _resultobj;
3803 bool _result;
3804 wxWindow * _arg0;
3805 bool _arg1;
3806 PyObject * _argo0 = 0;
3807 int tempbool1;
3808 char *_kwnames[] = { "self","show", NULL };
3809
3810 self = self;
3811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_Show",_kwnames,&_argo0,&tempbool1))
3812 return NULL;
3813 if (_argo0) {
3814 if (_argo0 == Py_None) { _arg0 = NULL; }
3815 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3816 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
3817 return NULL;
3818 }
3819 }
3820 _arg1 = (bool ) tempbool1;
3821 {
3822 wxPy_BEGIN_ALLOW_THREADS;
3823 _result = (bool )wxWindow_Show(_arg0,_arg1);
3824
3825 wxPy_END_ALLOW_THREADS;
3826 } _resultobj = Py_BuildValue("i",_result);
3827 return _resultobj;
3828 }
3829
3830 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
3831 static PyObject *_wrap_wxWindow_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3832 PyObject * _resultobj;
3833 bool _result;
3834 wxWindow * _arg0;
3835 PyObject * _argo0 = 0;
3836 char *_kwnames[] = { "self", NULL };
3837
3838 self = self;
3839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_TransferDataFromWindow",_kwnames,&_argo0))
3840 return NULL;
3841 if (_argo0) {
3842 if (_argo0 == Py_None) { _arg0 = NULL; }
3843 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3844 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
3845 return NULL;
3846 }
3847 }
3848 {
3849 wxPy_BEGIN_ALLOW_THREADS;
3850 _result = (bool )wxWindow_TransferDataFromWindow(_arg0);
3851
3852 wxPy_END_ALLOW_THREADS;
3853 } _resultobj = Py_BuildValue("i",_result);
3854 return _resultobj;
3855 }
3856
3857 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
3858 static PyObject *_wrap_wxWindow_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3859 PyObject * _resultobj;
3860 bool _result;
3861 wxWindow * _arg0;
3862 PyObject * _argo0 = 0;
3863 char *_kwnames[] = { "self", NULL };
3864
3865 self = self;
3866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_TransferDataToWindow",_kwnames,&_argo0))
3867 return NULL;
3868 if (_argo0) {
3869 if (_argo0 == Py_None) { _arg0 = NULL; }
3870 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3871 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
3872 return NULL;
3873 }
3874 }
3875 {
3876 wxPy_BEGIN_ALLOW_THREADS;
3877 _result = (bool )wxWindow_TransferDataToWindow(_arg0);
3878
3879 wxPy_END_ALLOW_THREADS;
3880 } _resultobj = Py_BuildValue("i",_result);
3881 return _resultobj;
3882 }
3883
3884 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
3885 static PyObject *_wrap_wxWindow_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
3886 PyObject * _resultobj;
3887 bool _result;
3888 wxWindow * _arg0;
3889 PyObject * _argo0 = 0;
3890 char *_kwnames[] = { "self", NULL };
3891
3892 self = self;
3893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Validate",_kwnames,&_argo0))
3894 return NULL;
3895 if (_argo0) {
3896 if (_argo0 == Py_None) { _arg0 = NULL; }
3897 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3898 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
3899 return NULL;
3900 }
3901 }
3902 {
3903 wxPy_BEGIN_ALLOW_THREADS;
3904 _result = (bool )wxWindow_Validate(_arg0);
3905
3906 wxPy_END_ALLOW_THREADS;
3907 } _resultobj = Py_BuildValue("i",_result);
3908 return _resultobj;
3909 }
3910
3911 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
3912 static PyObject *_wrap_wxWindow_WarpPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
3913 PyObject * _resultobj;
3914 wxWindow * _arg0;
3915 int _arg1;
3916 int _arg2;
3917 PyObject * _argo0 = 0;
3918 char *_kwnames[] = { "self","x","y", NULL };
3919
3920 self = self;
3921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxWindow_WarpPointer",_kwnames,&_argo0,&_arg1,&_arg2))
3922 return NULL;
3923 if (_argo0) {
3924 if (_argo0 == Py_None) { _arg0 = NULL; }
3925 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3926 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
3927 return NULL;
3928 }
3929 }
3930 {
3931 wxPy_BEGIN_ALLOW_THREADS;
3932 wxWindow_WarpPointer(_arg0,_arg1,_arg2);
3933
3934 wxPy_END_ALLOW_THREADS;
3935 } Py_INCREF(Py_None);
3936 _resultobj = Py_None;
3937 return _resultobj;
3938 }
3939
3940 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
3941 static PyObject *_wrap_wxWindow_ConvertDialogPointToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
3942 PyObject * _resultobj;
3943 wxPoint * _result;
3944 wxWindow * _arg0;
3945 wxPoint * _arg1;
3946 PyObject * _argo0 = 0;
3947 wxPoint temp;
3948 PyObject * _obj1 = 0;
3949 char *_kwnames[] = { "self","pt", NULL };
3950 char _ptemp[128];
3951
3952 self = self;
3953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames,&_argo0,&_obj1))
3954 return NULL;
3955 if (_argo0) {
3956 if (_argo0 == Py_None) { _arg0 = NULL; }
3957 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3958 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
3959 return NULL;
3960 }
3961 }
3962 {
3963 _arg1 = &temp;
3964 if (! wxPoint_helper(_obj1, &_arg1))
3965 return NULL;
3966 }
3967 {
3968 wxPy_BEGIN_ALLOW_THREADS;
3969 _result = new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0,*_arg1));
3970
3971 wxPy_END_ALLOW_THREADS;
3972 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
3973 _resultobj = Py_BuildValue("s",_ptemp);
3974 return _resultobj;
3975 }
3976
3977 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
3978 static PyObject *_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
3979 PyObject * _resultobj;
3980 wxSize * _result;
3981 wxWindow * _arg0;
3982 wxSize * _arg1;
3983 PyObject * _argo0 = 0;
3984 wxSize temp;
3985 PyObject * _obj1 = 0;
3986 char *_kwnames[] = { "self","sz", NULL };
3987 char _ptemp[128];
3988
3989 self = self;
3990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames,&_argo0,&_obj1))
3991 return NULL;
3992 if (_argo0) {
3993 if (_argo0 == Py_None) { _arg0 = NULL; }
3994 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3995 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
3996 return NULL;
3997 }
3998 }
3999 {
4000 _arg1 = &temp;
4001 if (! wxSize_helper(_obj1, &_arg1))
4002 return NULL;
4003 }
4004 {
4005 wxPy_BEGIN_ALLOW_THREADS;
4006 _result = new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0,*_arg1));
4007
4008 wxPy_END_ALLOW_THREADS;
4009 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
4010 _resultobj = Py_BuildValue("s",_ptemp);
4011 return _resultobj;
4012 }
4013
4014 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4015 static PyObject *_wrap_wxWindow_ConvertPixelPointToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
4016 PyObject * _resultobj;
4017 wxPoint * _result;
4018 wxWindow * _arg0;
4019 wxPoint * _arg1;
4020 PyObject * _argo0 = 0;
4021 wxPoint temp;
4022 PyObject * _obj1 = 0;
4023 char *_kwnames[] = { "self","pt", NULL };
4024 char _ptemp[128];
4025
4026 self = self;
4027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames,&_argo0,&_obj1))
4028 return NULL;
4029 if (_argo0) {
4030 if (_argo0 == Py_None) { _arg0 = NULL; }
4031 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4032 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
4033 return NULL;
4034 }
4035 }
4036 {
4037 _arg1 = &temp;
4038 if (! wxPoint_helper(_obj1, &_arg1))
4039 return NULL;
4040 }
4041 {
4042 wxPy_BEGIN_ALLOW_THREADS;
4043 _result = new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0,*_arg1));
4044
4045 wxPy_END_ALLOW_THREADS;
4046 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
4047 _resultobj = Py_BuildValue("s",_ptemp);
4048 return _resultobj;
4049 }
4050
4051 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4052 static PyObject *_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
4053 PyObject * _resultobj;
4054 wxSize * _result;
4055 wxWindow * _arg0;
4056 wxSize * _arg1;
4057 PyObject * _argo0 = 0;
4058 wxSize temp;
4059 PyObject * _obj1 = 0;
4060 char *_kwnames[] = { "self","sz", NULL };
4061 char _ptemp[128];
4062
4063 self = self;
4064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames,&_argo0,&_obj1))
4065 return NULL;
4066 if (_argo0) {
4067 if (_argo0 == Py_None) { _arg0 = NULL; }
4068 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4069 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
4070 return NULL;
4071 }
4072 }
4073 {
4074 _arg1 = &temp;
4075 if (! wxSize_helper(_obj1, &_arg1))
4076 return NULL;
4077 }
4078 {
4079 wxPy_BEGIN_ALLOW_THREADS;
4080 _result = new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0,*_arg1));
4081
4082 wxPy_END_ALLOW_THREADS;
4083 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
4084 _resultobj = Py_BuildValue("s",_ptemp);
4085 return _resultobj;
4086 }
4087
4088 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4089 static PyObject *_wrap_wxWindow_SetToolTipString(PyObject *self, PyObject *args, PyObject *kwargs) {
4090 PyObject * _resultobj;
4091 wxWindow * _arg0;
4092 wxString * _arg1;
4093 PyObject * _argo0 = 0;
4094 PyObject * _obj1 = 0;
4095 char *_kwnames[] = { "self","tip", NULL };
4096
4097 self = self;
4098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetToolTipString",_kwnames,&_argo0,&_obj1))
4099 return NULL;
4100 if (_argo0) {
4101 if (_argo0 == Py_None) { _arg0 = NULL; }
4102 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4103 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
4104 return NULL;
4105 }
4106 }
4107 {
4108 if (!PyString_Check(_obj1)) {
4109 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4110 return NULL;
4111 }
4112 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
4113 }
4114 {
4115 wxPy_BEGIN_ALLOW_THREADS;
4116 wxWindow_SetToolTipString(_arg0,*_arg1);
4117
4118 wxPy_END_ALLOW_THREADS;
4119 } Py_INCREF(Py_None);
4120 _resultobj = Py_None;
4121 {
4122 if (_obj1)
4123 delete _arg1;
4124 }
4125 return _resultobj;
4126 }
4127
4128 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4129 static PyObject *_wrap_wxWindow_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
4130 PyObject * _resultobj;
4131 wxWindow * _arg0;
4132 wxToolTip * _arg1;
4133 PyObject * _argo0 = 0;
4134 PyObject * _argo1 = 0;
4135 char *_kwnames[] = { "self","tooltip", NULL };
4136
4137 self = self;
4138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetToolTip",_kwnames,&_argo0,&_argo1))
4139 return NULL;
4140 if (_argo0) {
4141 if (_argo0 == Py_None) { _arg0 = NULL; }
4142 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4143 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
4144 return NULL;
4145 }
4146 }
4147 if (_argo1) {
4148 if (_argo1 == Py_None) { _arg1 = NULL; }
4149 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxToolTip_p")) {
4150 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
4151 return NULL;
4152 }
4153 }
4154 {
4155 wxPy_BEGIN_ALLOW_THREADS;
4156 wxWindow_SetToolTip(_arg0,_arg1);
4157
4158 wxPy_END_ALLOW_THREADS;
4159 } Py_INCREF(Py_None);
4160 _resultobj = Py_None;
4161 return _resultobj;
4162 }
4163
4164 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
4165 static PyObject *_wrap_wxWindow_GetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
4166 PyObject * _resultobj;
4167 wxToolTip * _result;
4168 wxWindow * _arg0;
4169 PyObject * _argo0 = 0;
4170 char *_kwnames[] = { "self", NULL };
4171 char _ptemp[128];
4172
4173 self = self;
4174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetToolTip",_kwnames,&_argo0))
4175 return NULL;
4176 if (_argo0) {
4177 if (_argo0 == Py_None) { _arg0 = NULL; }
4178 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4179 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
4180 return NULL;
4181 }
4182 }
4183 {
4184 wxPy_BEGIN_ALLOW_THREADS;
4185 _result = (wxToolTip *)wxWindow_GetToolTip(_arg0);
4186
4187 wxPy_END_ALLOW_THREADS;
4188 } if (_result) {
4189 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolTip_p");
4190 _resultobj = Py_BuildValue("s",_ptemp);
4191 } else {
4192 Py_INCREF(Py_None);
4193 _resultobj = Py_None;
4194 }
4195 return _resultobj;
4196 }
4197
4198 #define wxWindow_SetSizer(_swigobj,_swigarg0) (_swigobj->SetSizer(_swigarg0))
4199 static PyObject *_wrap_wxWindow_SetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4200 PyObject * _resultobj;
4201 wxWindow * _arg0;
4202 wxSizer * _arg1;
4203 PyObject * _argo0 = 0;
4204 PyObject * _argo1 = 0;
4205 char *_kwnames[] = { "self","sizer", NULL };
4206
4207 self = self;
4208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetSizer",_kwnames,&_argo0,&_argo1))
4209 return NULL;
4210 if (_argo0) {
4211 if (_argo0 == Py_None) { _arg0 = NULL; }
4212 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4213 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetSizer. Expected _wxWindow_p.");
4214 return NULL;
4215 }
4216 }
4217 if (_argo1) {
4218 if (_argo1 == Py_None) { _arg1 = NULL; }
4219 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSizer_p")) {
4220 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetSizer. Expected _wxSizer_p.");
4221 return NULL;
4222 }
4223 }
4224 {
4225 wxPy_BEGIN_ALLOW_THREADS;
4226 wxWindow_SetSizer(_arg0,_arg1);
4227
4228 wxPy_END_ALLOW_THREADS;
4229 } Py_INCREF(Py_None);
4230 _resultobj = Py_None;
4231 return _resultobj;
4232 }
4233
4234 #define wxWindow_GetValidator(_swigobj) (_swigobj->GetValidator())
4235 static PyObject *_wrap_wxWindow_GetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
4236 PyObject * _resultobj;
4237 wxValidator * _result;
4238 wxWindow * _arg0;
4239 PyObject * _argo0 = 0;
4240 char *_kwnames[] = { "self", NULL };
4241 char _ptemp[128];
4242
4243 self = self;
4244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetValidator",_kwnames,&_argo0))
4245 return NULL;
4246 if (_argo0) {
4247 if (_argo0 == Py_None) { _arg0 = NULL; }
4248 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4249 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetValidator. Expected _wxWindow_p.");
4250 return NULL;
4251 }
4252 }
4253 {
4254 wxPy_BEGIN_ALLOW_THREADS;
4255 _result = (wxValidator *)wxWindow_GetValidator(_arg0);
4256
4257 wxPy_END_ALLOW_THREADS;
4258 } if (_result) {
4259 SWIG_MakePtr(_ptemp, (char *) _result,"_wxValidator_p");
4260 _resultobj = Py_BuildValue("s",_ptemp);
4261 } else {
4262 Py_INCREF(Py_None);
4263 _resultobj = Py_None;
4264 }
4265 return _resultobj;
4266 }
4267
4268 #define wxWindow_SetValidator(_swigobj,_swigarg0) (_swigobj->SetValidator(_swigarg0))
4269 static PyObject *_wrap_wxWindow_SetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
4270 PyObject * _resultobj;
4271 wxWindow * _arg0;
4272 wxValidator * _arg1;
4273 PyObject * _argo0 = 0;
4274 PyObject * _argo1 = 0;
4275 char *_kwnames[] = { "self","validator", NULL };
4276
4277 self = self;
4278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetValidator",_kwnames,&_argo0,&_argo1))
4279 return NULL;
4280 if (_argo0) {
4281 if (_argo0 == Py_None) { _arg0 = NULL; }
4282 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4283 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetValidator. Expected _wxWindow_p.");
4284 return NULL;
4285 }
4286 }
4287 if (_argo1) {
4288 if (_argo1 == Py_None) { _arg1 = NULL; }
4289 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxValidator_p")) {
4290 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetValidator. Expected _wxValidator_p.");
4291 return NULL;
4292 }
4293 }
4294 {
4295 wxPy_BEGIN_ALLOW_THREADS;
4296 wxWindow_SetValidator(_arg0,*_arg1);
4297
4298 wxPy_END_ALLOW_THREADS;
4299 } Py_INCREF(Py_None);
4300 _resultobj = Py_None;
4301 return _resultobj;
4302 }
4303
4304 static void *SwigwxPanelTowxWindow(void *ptr) {
4305 wxPanel *src;
4306 wxWindow *dest;
4307 src = (wxPanel *) ptr;
4308 dest = (wxWindow *) src;
4309 return (void *) dest;
4310 }
4311
4312 static void *SwigwxPanelTowxEvtHandler(void *ptr) {
4313 wxPanel *src;
4314 wxEvtHandler *dest;
4315 src = (wxPanel *) ptr;
4316 dest = (wxEvtHandler *) src;
4317 return (void *) dest;
4318 }
4319
4320 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4321 static PyObject *_wrap_new_wxPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
4322 PyObject * _resultobj;
4323 wxPanel * _result;
4324 wxWindow * _arg0;
4325 wxWindowID _arg1;
4326 wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition;
4327 wxSize * _arg3 = (wxSize *) &wxPyDefaultSize;
4328 long _arg4 = (long ) wxTAB_TRAVERSAL;
4329 char * _arg5 = (char *) "panel";
4330 PyObject * _argo0 = 0;
4331 wxPoint temp;
4332 PyObject * _obj2 = 0;
4333 wxSize temp0;
4334 PyObject * _obj3 = 0;
4335 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
4336 char _ptemp[128];
4337
4338 self = self;
4339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxPanel",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
4340 return NULL;
4341 if (_argo0) {
4342 if (_argo0 == Py_None) { _arg0 = NULL; }
4343 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4344 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
4345 return NULL;
4346 }
4347 }
4348 if (_obj2)
4349 {
4350 _arg2 = &temp;
4351 if (! wxPoint_helper(_obj2, &_arg2))
4352 return NULL;
4353 }
4354 if (_obj3)
4355 {
4356 _arg3 = &temp0;
4357 if (! wxSize_helper(_obj3, &_arg3))
4358 return NULL;
4359 }
4360 {
4361 wxPy_BEGIN_ALLOW_THREADS;
4362 _result = (wxPanel *)new_wxPanel(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
4363
4364 wxPy_END_ALLOW_THREADS;
4365 } if (_result) {
4366 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPanel_p");
4367 _resultobj = Py_BuildValue("s",_ptemp);
4368 } else {
4369 Py_INCREF(Py_None);
4370 _resultobj = Py_None;
4371 }
4372 return _resultobj;
4373 }
4374
4375 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
4376 static PyObject *_wrap_wxPanel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
4377 PyObject * _resultobj;
4378 wxPanel * _arg0;
4379 PyObject * _argo0 = 0;
4380 char *_kwnames[] = { "self", NULL };
4381
4382 self = self;
4383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPanel_InitDialog",_kwnames,&_argo0))
4384 return NULL;
4385 if (_argo0) {
4386 if (_argo0 == Py_None) { _arg0 = NULL; }
4387 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPanel_p")) {
4388 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
4389 return NULL;
4390 }
4391 }
4392 {
4393 wxPy_BEGIN_ALLOW_THREADS;
4394 wxPanel_InitDialog(_arg0);
4395
4396 wxPy_END_ALLOW_THREADS;
4397 } Py_INCREF(Py_None);
4398 _resultobj = Py_None;
4399 return _resultobj;
4400 }
4401
4402 #define wxPanel_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
4403 static PyObject *_wrap_wxPanel_GetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4404 PyObject * _resultobj;
4405 wxButton * _result;
4406 wxPanel * _arg0;
4407 PyObject * _argo0 = 0;
4408 char *_kwnames[] = { "self", NULL };
4409 char _ptemp[128];
4410
4411 self = self;
4412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPanel_GetDefaultItem",_kwnames,&_argo0))
4413 return NULL;
4414 if (_argo0) {
4415 if (_argo0 == Py_None) { _arg0 = NULL; }
4416 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPanel_p")) {
4417 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPanel_GetDefaultItem. Expected _wxPanel_p.");
4418 return NULL;
4419 }
4420 }
4421 {
4422 wxPy_BEGIN_ALLOW_THREADS;
4423 _result = (wxButton *)wxPanel_GetDefaultItem(_arg0);
4424
4425 wxPy_END_ALLOW_THREADS;
4426 } if (_result) {
4427 SWIG_MakePtr(_ptemp, (char *) _result,"_wxButton_p");
4428 _resultobj = Py_BuildValue("s",_ptemp);
4429 } else {
4430 Py_INCREF(Py_None);
4431 _resultobj = Py_None;
4432 }
4433 return _resultobj;
4434 }
4435
4436 #define wxPanel_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
4437 static PyObject *_wrap_wxPanel_SetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4438 PyObject * _resultobj;
4439 wxPanel * _arg0;
4440 wxButton * _arg1;
4441 PyObject * _argo0 = 0;
4442 PyObject * _argo1 = 0;
4443 char *_kwnames[] = { "self","btn", NULL };
4444
4445 self = self;
4446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPanel_SetDefaultItem",_kwnames,&_argo0,&_argo1))
4447 return NULL;
4448 if (_argo0) {
4449 if (_argo0 == Py_None) { _arg0 = NULL; }
4450 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPanel_p")) {
4451 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPanel_SetDefaultItem. Expected _wxPanel_p.");
4452 return NULL;
4453 }
4454 }
4455 if (_argo1) {
4456 if (_argo1 == Py_None) { _arg1 = NULL; }
4457 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxButton_p")) {
4458 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPanel_SetDefaultItem. Expected _wxButton_p.");
4459 return NULL;
4460 }
4461 }
4462 {
4463 wxPy_BEGIN_ALLOW_THREADS;
4464 wxPanel_SetDefaultItem(_arg0,_arg1);
4465
4466 wxPy_END_ALLOW_THREADS;
4467 } Py_INCREF(Py_None);
4468 _resultobj = Py_None;
4469 return _resultobj;
4470 }
4471
4472 static void *SwigwxDialogTowxPanel(void *ptr) {
4473 wxDialog *src;
4474 wxPanel *dest;
4475 src = (wxDialog *) ptr;
4476 dest = (wxPanel *) src;
4477 return (void *) dest;
4478 }
4479
4480 static void *SwigwxDialogTowxWindow(void *ptr) {
4481 wxDialog *src;
4482 wxWindow *dest;
4483 src = (wxDialog *) ptr;
4484 dest = (wxWindow *) src;
4485 return (void *) dest;
4486 }
4487
4488 static void *SwigwxDialogTowxEvtHandler(void *ptr) {
4489 wxDialog *src;
4490 wxEvtHandler *dest;
4491 src = (wxDialog *) ptr;
4492 dest = (wxEvtHandler *) src;
4493 return (void *) dest;
4494 }
4495
4496 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4497 static PyObject *_wrap_new_wxDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
4498 PyObject * _resultobj;
4499 wxDialog * _result;
4500 wxWindow * _arg0;
4501 wxWindowID _arg1;
4502 wxString * _arg2;
4503 wxPoint * _arg3 = (wxPoint *) &wxPyDefaultPosition;
4504 wxSize * _arg4 = (wxSize *) &wxPyDefaultSize;
4505 long _arg5 = (long ) wxDEFAULT_DIALOG_STYLE;
4506 char * _arg6 = (char *) "dialogBox";
4507 PyObject * _argo0 = 0;
4508 PyObject * _obj2 = 0;
4509 wxPoint temp;
4510 PyObject * _obj3 = 0;
4511 wxSize temp0;
4512 PyObject * _obj4 = 0;
4513 char *_kwnames[] = { "parent","id","title","pos","size","style","name", NULL };
4514 char _ptemp[128];
4515
4516 self = self;
4517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOls:new_wxDialog",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_arg6))
4518 return NULL;
4519 if (_argo0) {
4520 if (_argo0 == Py_None) { _arg0 = NULL; }
4521 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4522 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
4523 return NULL;
4524 }
4525 }
4526 {
4527 if (!PyString_Check(_obj2)) {
4528 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4529 return NULL;
4530 }
4531 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
4532 }
4533 if (_obj3)
4534 {
4535 _arg3 = &temp;
4536 if (! wxPoint_helper(_obj3, &_arg3))
4537 return NULL;
4538 }
4539 if (_obj4)
4540 {
4541 _arg4 = &temp0;
4542 if (! wxSize_helper(_obj4, &_arg4))
4543 return NULL;
4544 }
4545 {
4546 wxPy_BEGIN_ALLOW_THREADS;
4547 _result = (wxDialog *)new_wxDialog(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
4548
4549 wxPy_END_ALLOW_THREADS;
4550 } if (_result) {
4551 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDialog_p");
4552 _resultobj = Py_BuildValue("s",_ptemp);
4553 } else {
4554 Py_INCREF(Py_None);
4555 _resultobj = Py_None;
4556 }
4557 {
4558 if (_obj2)
4559 delete _arg2;
4560 }
4561 return _resultobj;
4562 }
4563
4564 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
4565 static PyObject *_wrap_wxDialog_Centre(PyObject *self, PyObject *args, PyObject *kwargs) {
4566 PyObject * _resultobj;
4567 wxDialog * _arg0;
4568 int _arg1 = (int ) wxBOTH;
4569 PyObject * _argo0 = 0;
4570 char *_kwnames[] = { "self","direction", NULL };
4571
4572 self = self;
4573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxDialog_Centre",_kwnames,&_argo0,&_arg1))
4574 return NULL;
4575 if (_argo0) {
4576 if (_argo0 == Py_None) { _arg0 = NULL; }
4577 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
4578 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
4579 return NULL;
4580 }
4581 }
4582 {
4583 wxPy_BEGIN_ALLOW_THREADS;
4584 wxDialog_Centre(_arg0,_arg1);
4585
4586 wxPy_END_ALLOW_THREADS;
4587 } Py_INCREF(Py_None);
4588 _resultobj = Py_None;
4589 return _resultobj;
4590 }
4591
4592 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
4593 static PyObject *_wrap_wxDialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4594 PyObject * _resultobj;
4595 wxDialog * _arg0;
4596 int _arg1;
4597 PyObject * _argo0 = 0;
4598 char *_kwnames[] = { "self","retCode", NULL };
4599
4600 self = self;
4601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDialog_EndModal",_kwnames,&_argo0,&_arg1))
4602 return NULL;
4603 if (_argo0) {
4604 if (_argo0 == Py_None) { _arg0 = NULL; }
4605 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
4606 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
4607 return NULL;
4608 }
4609 }
4610 {
4611 wxPy_BEGIN_ALLOW_THREADS;
4612 wxDialog_EndModal(_arg0,_arg1);
4613
4614 wxPy_END_ALLOW_THREADS;
4615 } Py_INCREF(Py_None);
4616 _resultobj = Py_None;
4617 return _resultobj;
4618 }
4619
4620 #define wxDialog_GetTitle(_swigobj) (_swigobj->GetTitle())
4621 static PyObject *_wrap_wxDialog_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
4622 PyObject * _resultobj;
4623 wxString * _result;
4624 wxDialog * _arg0;
4625 PyObject * _argo0 = 0;
4626 char *_kwnames[] = { "self", NULL };
4627
4628 self = self;
4629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDialog_GetTitle",_kwnames,&_argo0))
4630 return NULL;
4631 if (_argo0) {
4632 if (_argo0 == Py_None) { _arg0 = NULL; }
4633 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
4634 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_GetTitle. Expected _wxDialog_p.");
4635 return NULL;
4636 }
4637 }
4638 {
4639 wxPy_BEGIN_ALLOW_THREADS;
4640 _result = new wxString (wxDialog_GetTitle(_arg0));
4641
4642 wxPy_END_ALLOW_THREADS;
4643 }{
4644 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
4645 }
4646 {
4647 delete _result;
4648 }
4649 return _resultobj;
4650 }
4651
4652 #define wxDialog_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
4653 static PyObject *_wrap_wxDialog_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
4654 PyObject * _resultobj;
4655 wxDialog * _arg0;
4656 bool _arg1;
4657 PyObject * _argo0 = 0;
4658 int tempbool1;
4659 char *_kwnames[] = { "self","iconize", NULL };
4660
4661 self = self;
4662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDialog_Iconize",_kwnames,&_argo0,&tempbool1))
4663 return NULL;
4664 if (_argo0) {
4665 if (_argo0 == Py_None) { _arg0 = NULL; }
4666 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
4667 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_Iconize. Expected _wxDialog_p.");
4668 return NULL;
4669 }
4670 }
4671 _arg1 = (bool ) tempbool1;
4672 {
4673 wxPy_BEGIN_ALLOW_THREADS;
4674 wxDialog_Iconize(_arg0,_arg1);
4675
4676 wxPy_END_ALLOW_THREADS;
4677 } Py_INCREF(Py_None);
4678 _resultobj = Py_None;
4679 return _resultobj;
4680 }
4681
4682 #define wxDialog_IsIconized(_swigobj) (_swigobj->IsIconized())
4683 static PyObject *_wrap_wxDialog_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
4684 PyObject * _resultobj;
4685 bool _result;
4686 wxDialog * _arg0;
4687 PyObject * _argo0 = 0;
4688 char *_kwnames[] = { "self", NULL };
4689
4690 self = self;
4691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDialog_IsIconized",_kwnames,&_argo0))
4692 return NULL;
4693 if (_argo0) {
4694 if (_argo0 == Py_None) { _arg0 = NULL; }
4695 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
4696 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_IsIconized. Expected _wxDialog_p.");
4697 return NULL;
4698 }
4699 }
4700 {
4701 wxPy_BEGIN_ALLOW_THREADS;
4702 _result = (bool )wxDialog_IsIconized(_arg0);
4703
4704 wxPy_END_ALLOW_THREADS;
4705 } _resultobj = Py_BuildValue("i",_result);
4706 return _resultobj;
4707 }
4708
4709 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
4710 static PyObject *_wrap_wxDialog_SetModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4711 PyObject * _resultobj;
4712 wxDialog * _arg0;
4713 bool _arg1;
4714 PyObject * _argo0 = 0;
4715 int tempbool1;
4716 char *_kwnames[] = { "self","flag", NULL };
4717
4718 self = self;
4719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDialog_SetModal",_kwnames,&_argo0,&tempbool1))
4720 return NULL;
4721 if (_argo0) {
4722 if (_argo0 == Py_None) { _arg0 = NULL; }
4723 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
4724 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
4725 return NULL;
4726 }
4727 }
4728 _arg1 = (bool ) tempbool1;
4729 {
4730 wxPy_BEGIN_ALLOW_THREADS;
4731 wxDialog_SetModal(_arg0,_arg1);
4732
4733 wxPy_END_ALLOW_THREADS;
4734 } Py_INCREF(Py_None);
4735 _resultobj = Py_None;
4736 return _resultobj;
4737 }
4738
4739 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
4740 static PyObject *_wrap_wxDialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4741 PyObject * _resultobj;
4742 bool _result;
4743 wxDialog * _arg0;
4744 PyObject * _argo0 = 0;
4745 char *_kwnames[] = { "self", NULL };
4746
4747 self = self;
4748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDialog_IsModal",_kwnames,&_argo0))
4749 return NULL;
4750 if (_argo0) {
4751 if (_argo0 == Py_None) { _arg0 = NULL; }
4752 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
4753 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
4754 return NULL;
4755 }
4756 }
4757 {
4758 wxPy_BEGIN_ALLOW_THREADS;
4759 _result = (bool )wxDialog_IsModal(_arg0);
4760
4761 wxPy_END_ALLOW_THREADS;
4762 } _resultobj = Py_BuildValue("i",_result);
4763 return _resultobj;
4764 }
4765
4766 #define wxDialog_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4767 static PyObject *_wrap_wxDialog_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
4768 PyObject * _resultobj;
4769 wxDialog * _arg0;
4770 wxString * _arg1;
4771 PyObject * _argo0 = 0;
4772 PyObject * _obj1 = 0;
4773 char *_kwnames[] = { "self","title", NULL };
4774
4775 self = self;
4776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDialog_SetTitle",_kwnames,&_argo0,&_obj1))
4777 return NULL;
4778 if (_argo0) {
4779 if (_argo0 == Py_None) { _arg0 = NULL; }
4780 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
4781 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_SetTitle. Expected _wxDialog_p.");
4782 return NULL;
4783 }
4784 }
4785 {
4786 if (!PyString_Check(_obj1)) {
4787 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4788 return NULL;
4789 }
4790 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
4791 }
4792 {
4793 wxPy_BEGIN_ALLOW_THREADS;
4794 wxDialog_SetTitle(_arg0,*_arg1);
4795
4796 wxPy_END_ALLOW_THREADS;
4797 } Py_INCREF(Py_None);
4798 _resultobj = Py_None;
4799 {
4800 if (_obj1)
4801 delete _arg1;
4802 }
4803 return _resultobj;
4804 }
4805
4806 #define wxDialog_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4807 static PyObject *_wrap_wxDialog_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
4808 PyObject * _resultobj;
4809 bool _result;
4810 wxDialog * _arg0;
4811 bool _arg1;
4812 PyObject * _argo0 = 0;
4813 int tempbool1;
4814 char *_kwnames[] = { "self","show", NULL };
4815
4816 self = self;
4817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDialog_Show",_kwnames,&_argo0,&tempbool1))
4818 return NULL;
4819 if (_argo0) {
4820 if (_argo0 == Py_None) { _arg0 = NULL; }
4821 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
4822 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_Show. Expected _wxDialog_p.");
4823 return NULL;
4824 }
4825 }
4826 _arg1 = (bool ) tempbool1;
4827 {
4828 wxPy_BEGIN_ALLOW_THREADS;
4829 _result = (bool )wxDialog_Show(_arg0,_arg1);
4830
4831 wxPy_END_ALLOW_THREADS;
4832 } _resultobj = Py_BuildValue("i",_result);
4833 return _resultobj;
4834 }
4835
4836 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
4837 static PyObject *_wrap_wxDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4838 PyObject * _resultobj;
4839 int _result;
4840 wxDialog * _arg0;
4841 PyObject * _argo0 = 0;
4842 char *_kwnames[] = { "self", NULL };
4843
4844 self = self;
4845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDialog_ShowModal",_kwnames,&_argo0))
4846 return NULL;
4847 if (_argo0) {
4848 if (_argo0 == Py_None) { _arg0 = NULL; }
4849 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
4850 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
4851 return NULL;
4852 }
4853 }
4854 {
4855 wxPy_BEGIN_ALLOW_THREADS;
4856 _result = (int )wxDialog_ShowModal(_arg0);
4857
4858 wxPy_END_ALLOW_THREADS;
4859 } _resultobj = Py_BuildValue("i",_result);
4860 return _resultobj;
4861 }
4862
4863 #define wxDialog_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
4864 static PyObject *_wrap_wxDialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4865 PyObject * _resultobj;
4866 int _result;
4867 wxDialog * _arg0;
4868 PyObject * _argo0 = 0;
4869 char *_kwnames[] = { "self", NULL };
4870
4871 self = self;
4872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDialog_GetReturnCode",_kwnames,&_argo0))
4873 return NULL;
4874 if (_argo0) {
4875 if (_argo0 == Py_None) { _arg0 = NULL; }
4876 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
4877 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_GetReturnCode. Expected _wxDialog_p.");
4878 return NULL;
4879 }
4880 }
4881 {
4882 wxPy_BEGIN_ALLOW_THREADS;
4883 _result = (int )wxDialog_GetReturnCode(_arg0);
4884
4885 wxPy_END_ALLOW_THREADS;
4886 } _resultobj = Py_BuildValue("i",_result);
4887 return _resultobj;
4888 }
4889
4890 #define wxDialog_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
4891 static PyObject *_wrap_wxDialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4892 PyObject * _resultobj;
4893 wxDialog * _arg0;
4894 int _arg1;
4895 PyObject * _argo0 = 0;
4896 char *_kwnames[] = { "self","retCode", NULL };
4897
4898 self = self;
4899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDialog_SetReturnCode",_kwnames,&_argo0,&_arg1))
4900 return NULL;
4901 if (_argo0) {
4902 if (_argo0 == Py_None) { _arg0 = NULL; }
4903 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
4904 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_SetReturnCode. Expected _wxDialog_p.");
4905 return NULL;
4906 }
4907 }
4908 {
4909 wxPy_BEGIN_ALLOW_THREADS;
4910 wxDialog_SetReturnCode(_arg0,_arg1);
4911
4912 wxPy_END_ALLOW_THREADS;
4913 } Py_INCREF(Py_None);
4914 _resultobj = Py_None;
4915 return _resultobj;
4916 }
4917
4918 static void *SwigwxScrolledWindowTowxPanel(void *ptr) {
4919 wxScrolledWindow *src;
4920 wxPanel *dest;
4921 src = (wxScrolledWindow *) ptr;
4922 dest = (wxPanel *) src;
4923 return (void *) dest;
4924 }
4925
4926 static void *SwigwxScrolledWindowTowxWindow(void *ptr) {
4927 wxScrolledWindow *src;
4928 wxWindow *dest;
4929 src = (wxScrolledWindow *) ptr;
4930 dest = (wxWindow *) src;
4931 return (void *) dest;
4932 }
4933
4934 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr) {
4935 wxScrolledWindow *src;
4936 wxEvtHandler *dest;
4937 src = (wxScrolledWindow *) ptr;
4938 dest = (wxEvtHandler *) src;
4939 return (void *) dest;
4940 }
4941
4942 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4943 static PyObject *_wrap_new_wxScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4944 PyObject * _resultobj;
4945 wxScrolledWindow * _result;
4946 wxWindow * _arg0;
4947 wxWindowID _arg1 = (wxWindowID ) -1;
4948 wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition;
4949 wxSize * _arg3 = (wxSize *) &wxPyDefaultSize;
4950 long _arg4 = (long ) wxHSCROLL|wxVSCROLL;
4951 char * _arg5 = (char *) "scrolledWindow";
4952 PyObject * _argo0 = 0;
4953 wxPoint temp;
4954 PyObject * _obj2 = 0;
4955 wxSize temp0;
4956 PyObject * _obj3 = 0;
4957 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
4958 char _ptemp[128];
4959
4960 self = self;
4961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOls:new_wxScrolledWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
4962 return NULL;
4963 if (_argo0) {
4964 if (_argo0 == Py_None) { _arg0 = NULL; }
4965 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4966 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
4967 return NULL;
4968 }
4969 }
4970 if (_obj2)
4971 {
4972 _arg2 = &temp;
4973 if (! wxPoint_helper(_obj2, &_arg2))
4974 return NULL;
4975 }
4976 if (_obj3)
4977 {
4978 _arg3 = &temp0;
4979 if (! wxSize_helper(_obj3, &_arg3))
4980 return NULL;
4981 }
4982 {
4983 wxPy_BEGIN_ALLOW_THREADS;
4984 _result = (wxScrolledWindow *)new_wxScrolledWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
4985
4986 wxPy_END_ALLOW_THREADS;
4987 } if (_result) {
4988 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrolledWindow_p");
4989 _resultobj = Py_BuildValue("s",_ptemp);
4990 } else {
4991 Py_INCREF(Py_None);
4992 _resultobj = Py_None;
4993 }
4994 return _resultobj;
4995 }
4996
4997 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
4998 static PyObject *_wrap_wxScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
4999 PyObject * _resultobj;
5000 wxScrolledWindow * _arg0;
5001 bool _arg1;
5002 bool _arg2;
5003 PyObject * _argo0 = 0;
5004 int tempbool1;
5005 int tempbool2;
5006 char *_kwnames[] = { "self","xScrolling","yScrolling", NULL };
5007
5008 self = self;
5009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxScrolledWindow_EnableScrolling",_kwnames,&_argo0,&tempbool1,&tempbool2))
5010 return NULL;
5011 if (_argo0) {
5012 if (_argo0 == Py_None) { _arg0 = NULL; }
5013 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
5014 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
5015 return NULL;
5016 }
5017 }
5018 _arg1 = (bool ) tempbool1;
5019 _arg2 = (bool ) tempbool2;
5020 {
5021 wxPy_BEGIN_ALLOW_THREADS;
5022 wxScrolledWindow_EnableScrolling(_arg0,_arg1,_arg2);
5023
5024 wxPy_END_ALLOW_THREADS;
5025 } Py_INCREF(Py_None);
5026 _resultobj = Py_None;
5027 return _resultobj;
5028 }
5029
5030 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
5031 static PyObject *_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
5032 PyObject * _resultobj;
5033 wxScrolledWindow * _arg0;
5034 int * _arg1;
5035 int temp;
5036 int * _arg2;
5037 int temp0;
5038 PyObject * _argo0 = 0;
5039 char *_kwnames[] = { "self", NULL };
5040
5041 self = self;
5042 {
5043 _arg1 = &temp;
5044 }
5045 {
5046 _arg2 = &temp0;
5047 }
5048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames,&_argo0))
5049 return NULL;
5050 if (_argo0) {
5051 if (_argo0 == Py_None) { _arg0 = NULL; }
5052 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
5053 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
5054 return NULL;
5055 }
5056 }
5057 {
5058 wxPy_BEGIN_ALLOW_THREADS;
5059 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0,_arg1,_arg2);
5060
5061 wxPy_END_ALLOW_THREADS;
5062 } Py_INCREF(Py_None);
5063 _resultobj = Py_None;
5064 {
5065 PyObject *o;
5066 o = PyInt_FromLong((long) (*_arg1));
5067 _resultobj = t_output_helper(_resultobj, o);
5068 }
5069 {
5070 PyObject *o;
5071 o = PyInt_FromLong((long) (*_arg2));
5072 _resultobj = t_output_helper(_resultobj, o);
5073 }
5074 return _resultobj;
5075 }
5076
5077 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
5078 static PyObject *_wrap_wxScrolledWindow_GetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5079 PyObject * _resultobj;
5080 wxScrolledWindow * _arg0;
5081 int * _arg1;
5082 int temp;
5083 int * _arg2;
5084 int temp0;
5085 PyObject * _argo0 = 0;
5086 char *_kwnames[] = { "self", NULL };
5087
5088 self = self;
5089 {
5090 _arg1 = &temp;
5091 }
5092 {
5093 _arg2 = &temp0;
5094 }
5095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_GetVirtualSize",_kwnames,&_argo0))
5096 return NULL;
5097 if (_argo0) {
5098 if (_argo0 == Py_None) { _arg0 = NULL; }
5099 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
5100 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
5101 return NULL;
5102 }
5103 }
5104 {
5105 wxPy_BEGIN_ALLOW_THREADS;
5106 wxScrolledWindow_GetVirtualSize(_arg0,_arg1,_arg2);
5107
5108 wxPy_END_ALLOW_THREADS;
5109 } Py_INCREF(Py_None);
5110 _resultobj = Py_None;
5111 {
5112 PyObject *o;
5113 o = PyInt_FromLong((long) (*_arg1));
5114 _resultobj = t_output_helper(_resultobj, o);
5115 }
5116 {
5117 PyObject *o;
5118 o = PyInt_FromLong((long) (*_arg2));
5119 _resultobj = t_output_helper(_resultobj, o);
5120 }
5121 return _resultobj;
5122 }
5123
5124 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
5125 static PyObject *_wrap_wxScrolledWindow_IsRetained(PyObject *self, PyObject *args, PyObject *kwargs) {
5126 PyObject * _resultobj;
5127 bool _result;
5128 wxScrolledWindow * _arg0;
5129 PyObject * _argo0 = 0;
5130 char *_kwnames[] = { "self", NULL };
5131
5132 self = self;
5133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_IsRetained",_kwnames,&_argo0))
5134 return NULL;
5135 if (_argo0) {
5136 if (_argo0 == Py_None) { _arg0 = NULL; }
5137 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
5138 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
5139 return NULL;
5140 }
5141 }
5142 {
5143 wxPy_BEGIN_ALLOW_THREADS;
5144 _result = (bool )wxScrolledWindow_IsRetained(_arg0);
5145
5146 wxPy_END_ALLOW_THREADS;
5147 } _resultobj = Py_BuildValue("i",_result);
5148 return _resultobj;
5149 }
5150
5151 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
5152 static PyObject *_wrap_wxScrolledWindow_PrepareDC(PyObject *self, PyObject *args, PyObject *kwargs) {
5153 PyObject * _resultobj;
5154 wxScrolledWindow * _arg0;
5155 wxDC * _arg1;
5156 PyObject * _argo0 = 0;
5157 PyObject * _argo1 = 0;
5158 char *_kwnames[] = { "self","dc", NULL };
5159
5160 self = self;
5161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxScrolledWindow_PrepareDC",_kwnames,&_argo0,&_argo1))
5162 return NULL;
5163 if (_argo0) {
5164 if (_argo0 == Py_None) { _arg0 = NULL; }
5165 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
5166 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
5167 return NULL;
5168 }
5169 }
5170 if (_argo1) {
5171 if (_argo1 == Py_None) { _arg1 = NULL; }
5172 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
5173 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
5174 return NULL;
5175 }
5176 }
5177 {
5178 wxPy_BEGIN_ALLOW_THREADS;
5179 wxScrolledWindow_PrepareDC(_arg0,*_arg1);
5180
5181 wxPy_END_ALLOW_THREADS;
5182 } Py_INCREF(Py_None);
5183 _resultobj = Py_None;
5184 return _resultobj;
5185 }
5186
5187 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
5188 static PyObject *_wrap_wxScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
5189 PyObject * _resultobj;
5190 wxScrolledWindow * _arg0;
5191 int _arg1;
5192 int _arg2;
5193 PyObject * _argo0 = 0;
5194 char *_kwnames[] = { "self","x","y", NULL };
5195
5196 self = self;
5197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxScrolledWindow_Scroll",_kwnames,&_argo0,&_arg1,&_arg2))
5198 return NULL;
5199 if (_argo0) {
5200 if (_argo0 == Py_None) { _arg0 = NULL; }
5201 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
5202 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
5203 return NULL;
5204 }
5205 }
5206 {
5207 wxPy_BEGIN_ALLOW_THREADS;
5208 wxScrolledWindow_Scroll(_arg0,_arg1,_arg2);
5209
5210 wxPy_END_ALLOW_THREADS;
5211 } Py_INCREF(Py_None);
5212 _resultobj = Py_None;
5213 return _resultobj;
5214 }
5215
5216 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5217 static PyObject *_wrap_wxScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
5218 PyObject * _resultobj;
5219 wxScrolledWindow * _arg0;
5220 int _arg1;
5221 int _arg2;
5222 int _arg3;
5223 int _arg4;
5224 int _arg5 = (int ) 0;
5225 int _arg6 = (int ) 0;
5226 PyObject * _argo0 = 0;
5227 char *_kwnames[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos", NULL };
5228
5229 self = self;
5230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|ii:wxScrolledWindow_SetScrollbars",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6))
5231 return NULL;
5232 if (_argo0) {
5233 if (_argo0 == Py_None) { _arg0 = NULL; }
5234 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
5235 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
5236 return NULL;
5237 }
5238 }
5239 {
5240 wxPy_BEGIN_ALLOW_THREADS;
5241 wxScrolledWindow_SetScrollbars(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
5242
5243 wxPy_END_ALLOW_THREADS;
5244 } Py_INCREF(Py_None);
5245 _resultobj = Py_None;
5246 return _resultobj;
5247 }
5248
5249 #define wxScrolledWindow_ViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->ViewStart(_swigarg0,_swigarg1))
5250 static PyObject *_wrap_wxScrolledWindow_ViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
5251 PyObject * _resultobj;
5252 wxScrolledWindow * _arg0;
5253 int * _arg1;
5254 int temp;
5255 int * _arg2;
5256 int temp0;
5257 PyObject * _argo0 = 0;
5258 char *_kwnames[] = { "self", NULL };
5259
5260 self = self;
5261 {
5262 _arg1 = &temp;
5263 }
5264 {
5265 _arg2 = &temp0;
5266 }
5267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_ViewStart",_kwnames,&_argo0))
5268 return NULL;
5269 if (_argo0) {
5270 if (_argo0 == Py_None) { _arg0 = NULL; }
5271 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
5272 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_ViewStart. Expected _wxScrolledWindow_p.");
5273 return NULL;
5274 }
5275 }
5276 {
5277 wxPy_BEGIN_ALLOW_THREADS;
5278 wxScrolledWindow_ViewStart(_arg0,_arg1,_arg2);
5279
5280 wxPy_END_ALLOW_THREADS;
5281 } Py_INCREF(Py_None);
5282 _resultobj = Py_None;
5283 {
5284 PyObject *o;
5285 o = PyInt_FromLong((long) (*_arg1));
5286 _resultobj = t_output_helper(_resultobj, o);
5287 }
5288 {
5289 PyObject *o;
5290 o = PyInt_FromLong((long) (*_arg2));
5291 _resultobj = t_output_helper(_resultobj, o);
5292 }
5293 return _resultobj;
5294 }
5295
5296 #define wxScrolledWindow_CalcScrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcScrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5297 static PyObject *_wrap_wxScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5298 PyObject * _resultobj;
5299 wxScrolledWindow * _arg0;
5300 int _arg1;
5301 int _arg2;
5302 int * _arg3;
5303 int temp;
5304 int * _arg4;
5305 int temp0;
5306 PyObject * _argo0 = 0;
5307 char *_kwnames[] = { "self","x","y", NULL };
5308
5309 self = self;
5310 {
5311 _arg3 = &temp;
5312 }
5313 {
5314 _arg4 = &temp0;
5315 }
5316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxScrolledWindow_CalcScrolledPosition",_kwnames,&_argo0,&_arg1,&_arg2))
5317 return NULL;
5318 if (_argo0) {
5319 if (_argo0 == Py_None) { _arg0 = NULL; }
5320 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
5321 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition. Expected _wxScrolledWindow_p.");
5322 return NULL;
5323 }
5324 }
5325 {
5326 wxPy_BEGIN_ALLOW_THREADS;
5327 wxScrolledWindow_CalcScrolledPosition(_arg0,_arg1,_arg2,_arg3,_arg4);
5328
5329 wxPy_END_ALLOW_THREADS;
5330 } Py_INCREF(Py_None);
5331 _resultobj = Py_None;
5332 {
5333 PyObject *o;
5334 o = PyInt_FromLong((long) (*_arg3));
5335 _resultobj = t_output_helper(_resultobj, o);
5336 }
5337 {
5338 PyObject *o;
5339 o = PyInt_FromLong((long) (*_arg4));
5340 _resultobj = t_output_helper(_resultobj, o);
5341 }
5342 return _resultobj;
5343 }
5344
5345 #define wxScrolledWindow_CalcUnscrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcUnscrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5346 static PyObject *_wrap_wxScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5347 PyObject * _resultobj;
5348 wxScrolledWindow * _arg0;
5349 int _arg1;
5350 int _arg2;
5351 int * _arg3;
5352 int temp;
5353 int * _arg4;
5354 int temp0;
5355 PyObject * _argo0 = 0;
5356 char *_kwnames[] = { "self","x","y", NULL };
5357
5358 self = self;
5359 {
5360 _arg3 = &temp;
5361 }
5362 {
5363 _arg4 = &temp0;
5364 }
5365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxScrolledWindow_CalcUnscrolledPosition",_kwnames,&_argo0,&_arg1,&_arg2))
5366 return NULL;
5367 if (_argo0) {
5368 if (_argo0 == Py_None) { _arg0 = NULL; }
5369 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
5370 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition. Expected _wxScrolledWindow_p.");
5371 return NULL;
5372 }
5373 }
5374 {
5375 wxPy_BEGIN_ALLOW_THREADS;
5376 wxScrolledWindow_CalcUnscrolledPosition(_arg0,_arg1,_arg2,_arg3,_arg4);
5377
5378 wxPy_END_ALLOW_THREADS;
5379 } Py_INCREF(Py_None);
5380 _resultobj = Py_None;
5381 {
5382 PyObject *o;
5383 o = PyInt_FromLong((long) (*_arg3));
5384 _resultobj = t_output_helper(_resultobj, o);
5385 }
5386 {
5387 PyObject *o;
5388 o = PyInt_FromLong((long) (*_arg4));
5389 _resultobj = t_output_helper(_resultobj, o);
5390 }
5391 return _resultobj;
5392 }
5393
5394 static void *SwigwxMenuTowxEvtHandler(void *ptr) {
5395 wxMenu *src;
5396 wxEvtHandler *dest;
5397 src = (wxMenu *) ptr;
5398 dest = (wxEvtHandler *) src;
5399 return (void *) dest;
5400 }
5401
5402 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
5403 static PyObject *_wrap_new_wxMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5404 PyObject * _resultobj;
5405 wxMenu * _result;
5406 wxString * _arg0 = (wxString *) &wxPyEmptyStr;
5407 long _arg1 = (long ) 0;
5408 PyObject * _obj0 = 0;
5409 char *_kwnames[] = { "title","style", NULL };
5410 char _ptemp[128];
5411
5412 self = self;
5413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|Ol:new_wxMenu",_kwnames,&_obj0,&_arg1))
5414 return NULL;
5415 if (_obj0)
5416 {
5417 if (!PyString_Check(_obj0)) {
5418 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5419 return NULL;
5420 }
5421 _arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
5422 }
5423 {
5424 wxPy_BEGIN_ALLOW_THREADS;
5425 _result = (wxMenu *)new_wxMenu(*_arg0,_arg1);
5426
5427 wxPy_END_ALLOW_THREADS;
5428 } if (_result) {
5429 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenu_p");
5430 _resultobj = Py_BuildValue("s",_ptemp);
5431 } else {
5432 Py_INCREF(Py_None);
5433 _resultobj = Py_None;
5434 }
5435 {
5436 if (_obj0)
5437 delete _arg0;
5438 }
5439 return _resultobj;
5440 }
5441
5442 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5443 static PyObject *_wrap_wxMenu_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
5444 PyObject * _resultobj;
5445 wxMenu * _arg0;
5446 int _arg1;
5447 wxString * _arg2;
5448 wxString * _arg3 = (wxString *) &wxPyEmptyStr;
5449 int _arg4 = (int ) FALSE;
5450 PyObject * _argo0 = 0;
5451 PyObject * _obj2 = 0;
5452 PyObject * _obj3 = 0;
5453 char *_kwnames[] = { "self","id","item","helpString","checkable", NULL };
5454
5455 self = self;
5456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|Oi:wxMenu_Append",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4))
5457 return NULL;
5458 if (_argo0) {
5459 if (_argo0 == Py_None) { _arg0 = NULL; }
5460 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
5461 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
5462 return NULL;
5463 }
5464 }
5465 {
5466 if (!PyString_Check(_obj2)) {
5467 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5468 return NULL;
5469 }
5470 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
5471 }
5472 if (_obj3)
5473 {
5474 if (!PyString_Check(_obj3)) {
5475 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5476 return NULL;
5477 }
5478 _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3));
5479 }
5480 {
5481 wxPy_BEGIN_ALLOW_THREADS;
5482 wxMenu_Append(_arg0,_arg1,*_arg2,*_arg3,_arg4);
5483
5484 wxPy_END_ALLOW_THREADS;
5485 } Py_INCREF(Py_None);
5486 _resultobj = Py_None;
5487 {
5488 if (_obj2)
5489 delete _arg2;
5490 }
5491 {
5492 if (_obj3)
5493 delete _arg3;
5494 }
5495 return _resultobj;
5496 }
5497
5498 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5499 static PyObject *_wrap_wxMenu_AppendMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5500 PyObject * _resultobj;
5501 wxMenu * _arg0;
5502 int _arg1;
5503 wxString * _arg2;
5504 wxMenu * _arg3;
5505 wxString * _arg4 = (wxString *) &wxPyEmptyStr;
5506 PyObject * _argo0 = 0;
5507 PyObject * _obj2 = 0;
5508 PyObject * _argo3 = 0;
5509 PyObject * _obj4 = 0;
5510 char *_kwnames[] = { "self","id","item","subMenu","helpString", NULL };
5511
5512 self = self;
5513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO|O:wxMenu_AppendMenu",_kwnames,&_argo0,&_arg1,&_obj2,&_argo3,&_obj4))
5514 return NULL;
5515 if (_argo0) {
5516 if (_argo0 == Py_None) { _arg0 = NULL; }
5517 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
5518 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
5519 return NULL;
5520 }
5521 }
5522 {
5523 if (!PyString_Check(_obj2)) {
5524 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5525 return NULL;
5526 }
5527 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
5528 }
5529 if (_argo3) {
5530 if (_argo3 == Py_None) { _arg3 = NULL; }
5531 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxMenu_p")) {
5532 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
5533 return NULL;
5534 }
5535 }
5536 if (_obj4)
5537 {
5538 if (!PyString_Check(_obj4)) {
5539 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5540 return NULL;
5541 }
5542 _arg4 = new wxString(PyString_AsString(_obj4), PyString_Size(_obj4));
5543 }
5544 {
5545 wxPy_BEGIN_ALLOW_THREADS;
5546 wxMenu_AppendMenu(_arg0,_arg1,*_arg2,_arg3,*_arg4);
5547
5548 wxPy_END_ALLOW_THREADS;
5549 } Py_INCREF(Py_None);
5550 _resultobj = Py_None;
5551 {
5552 if (_obj2)
5553 delete _arg2;
5554 }
5555 {
5556 if (_obj4)
5557 delete _arg4;
5558 }
5559 return _resultobj;
5560 }
5561
5562 #define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
5563 static PyObject *_wrap_wxMenu_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
5564 PyObject * _resultobj;
5565 wxMenu * _arg0;
5566 wxMenuItem * _arg1;
5567 PyObject * _argo0 = 0;
5568 PyObject * _argo1 = 0;
5569 char *_kwnames[] = { "self","item", NULL };
5570
5571 self = self;
5572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_AppendItem",_kwnames,&_argo0,&_argo1))
5573 return NULL;
5574 if (_argo0) {
5575 if (_argo0 == Py_None) { _arg0 = NULL; }
5576 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
5577 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
5578 return NULL;
5579 }
5580 }
5581 if (_argo1) {
5582 if (_argo1 == Py_None) { _arg1 = NULL; }
5583 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenuItem_p")) {
5584 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
5585 return NULL;
5586 }
5587 }
5588 {
5589 wxPy_BEGIN_ALLOW_THREADS;
5590 wxMenu_AppendItem(_arg0,_arg1);
5591
5592 wxPy_END_ALLOW_THREADS;
5593 } Py_INCREF(Py_None);
5594 _resultobj = Py_None;
5595 return _resultobj;
5596 }
5597
5598 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
5599 static PyObject *_wrap_wxMenu_AppendSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
5600 PyObject * _resultobj;
5601 wxMenu * _arg0;
5602 PyObject * _argo0 = 0;
5603 char *_kwnames[] = { "self", NULL };
5604
5605 self = self;
5606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_AppendSeparator",_kwnames,&_argo0))
5607 return NULL;
5608 if (_argo0) {
5609 if (_argo0 == Py_None) { _arg0 = NULL; }
5610 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
5611 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
5612 return NULL;
5613 }
5614 }
5615 {
5616 wxPy_BEGIN_ALLOW_THREADS;
5617 wxMenu_AppendSeparator(_arg0);
5618
5619 wxPy_END_ALLOW_THREADS;
5620 } Py_INCREF(Py_None);
5621 _resultobj = Py_None;
5622 return _resultobj;
5623 }
5624
5625 #define wxMenu_Break(_swigobj) (_swigobj->Break())
5626 static PyObject *_wrap_wxMenu_Break(PyObject *self, PyObject *args, PyObject *kwargs) {
5627 PyObject * _resultobj;
5628 wxMenu * _arg0;
5629 PyObject * _argo0 = 0;
5630 char *_kwnames[] = { "self", NULL };
5631
5632 self = self;
5633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_Break",_kwnames,&_argo0))
5634 return NULL;
5635 if (_argo0) {
5636 if (_argo0 == Py_None) { _arg0 = NULL; }
5637 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
5638 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
5639 return NULL;
5640 }
5641 }
5642 {
5643 wxPy_BEGIN_ALLOW_THREADS;
5644 wxMenu_Break(_arg0);
5645
5646 wxPy_END_ALLOW_THREADS;
5647 } Py_INCREF(Py_None);
5648 _resultobj = Py_None;
5649 return _resultobj;
5650 }
5651
5652 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
5653 static PyObject *_wrap_wxMenu_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
5654 PyObject * _resultobj;
5655 wxMenu * _arg0;
5656 int _arg1;
5657 bool _arg2;
5658 PyObject * _argo0 = 0;
5659 int tempbool2;
5660 char *_kwnames[] = { "self","id","flag", NULL };
5661
5662 self = self;
5663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxMenu_Check",_kwnames,&_argo0,&_arg1,&tempbool2))
5664 return NULL;
5665 if (_argo0) {
5666 if (_argo0 == Py_None) { _arg0 = NULL; }
5667 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
5668 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
5669 return NULL;
5670 }
5671 }
5672 _arg2 = (bool ) tempbool2;
5673 {
5674 wxPy_BEGIN_ALLOW_THREADS;
5675 wxMenu_Check(_arg0,_arg1,_arg2);
5676
5677 wxPy_END_ALLOW_THREADS;
5678 } Py_INCREF(Py_None);
5679 _resultobj = Py_None;
5680 return _resultobj;
5681 }
5682
5683 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
5684 static PyObject *_wrap_wxMenu_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
5685 PyObject * _resultobj;
5686 wxMenu * _arg0;
5687 int _arg1;
5688 bool _arg2;
5689 PyObject * _argo0 = 0;
5690 int tempbool2;
5691 char *_kwnames[] = { "self","id","enable", NULL };
5692
5693 self = self;
5694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxMenu_Enable",_kwnames,&_argo0,&_arg1,&tempbool2))
5695 return NULL;
5696 if (_argo0) {
5697 if (_argo0 == Py_None) { _arg0 = NULL; }
5698 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
5699 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
5700 return NULL;
5701 }
5702 }
5703 _arg2 = (bool ) tempbool2;
5704 {
5705 wxPy_BEGIN_ALLOW_THREADS;
5706 wxMenu_Enable(_arg0,_arg1,_arg2);
5707
5708 wxPy_END_ALLOW_THREADS;
5709 } Py_INCREF(Py_None);
5710 _resultobj = Py_None;
5711 return _resultobj;
5712 }
5713
5714 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
5715 static PyObject *_wrap_wxMenu_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
5716 PyObject * _resultobj;
5717 int _result;
5718 wxMenu * _arg0;
5719 wxString * _arg1;
5720 PyObject * _argo0 = 0;
5721 PyObject * _obj1 = 0;
5722 char *_kwnames[] = { "self","itemString", NULL };
5723
5724 self = self;
5725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_FindItem",_kwnames,&_argo0,&_obj1))
5726 return NULL;
5727 if (_argo0) {
5728 if (_argo0 == Py_None) { _arg0 = NULL; }
5729 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
5730 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
5731 return NULL;
5732 }
5733 }
5734 {
5735 if (!PyString_Check(_obj1)) {
5736 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5737 return NULL;
5738 }
5739 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
5740 }
5741 {
5742 wxPy_BEGIN_ALLOW_THREADS;
5743 _result = (int )wxMenu_FindItem(_arg0,*_arg1);
5744
5745 wxPy_END_ALLOW_THREADS;
5746 } _resultobj = Py_BuildValue("i",_result);
5747 {
5748 if (_obj1)
5749 delete _arg1;
5750 }
5751 return _resultobj;
5752 }
5753
5754 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
5755 static PyObject *_wrap_wxMenu_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
5756 PyObject * _resultobj;
5757 wxString * _result;
5758 wxMenu * _arg0;
5759 PyObject * _argo0 = 0;
5760 char *_kwnames[] = { "self", NULL };
5761
5762 self = self;
5763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetTitle",_kwnames,&_argo0))
5764 return NULL;
5765 if (_argo0) {
5766 if (_argo0 == Py_None) { _arg0 = NULL; }
5767 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
5768 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
5769 return NULL;
5770 }
5771 }
5772 {
5773 wxPy_BEGIN_ALLOW_THREADS;
5774 _result = new wxString (wxMenu_GetTitle(_arg0));
5775
5776 wxPy_END_ALLOW_THREADS;
5777 }{
5778 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
5779 }
5780 {
5781 delete _result;
5782 }
5783 return _resultobj;
5784 }
5785
5786 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
5787 static PyObject *_wrap_wxMenu_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
5788 PyObject * _resultobj;
5789 wxMenu * _arg0;
5790 wxString * _arg1;
5791 PyObject * _argo0 = 0;
5792 PyObject * _obj1 = 0;
5793 char *_kwnames[] = { "self","title", NULL };
5794
5795 self = self;
5796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_SetTitle",_kwnames,&_argo0,&_obj1))
5797 return NULL;
5798 if (_argo0) {
5799 if (_argo0 == Py_None) { _arg0 = NULL; }
5800 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
5801 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
5802 return NULL;
5803 }
5804 }
5805 {
5806 if (!PyString_Check(_obj1)) {
5807 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5808 return NULL;
5809 }
5810 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
5811 }
5812 {
5813 wxPy_BEGIN_ALLOW_THREADS;
5814 wxMenu_SetTitle(_arg0,*_arg1);
5815
5816 wxPy_END_ALLOW_THREADS;
5817 } Py_INCREF(Py_None);
5818 _resultobj = Py_None;
5819 {
5820 if (_obj1)
5821 delete _arg1;
5822 }
5823 return _resultobj;
5824 }
5825
5826 #define wxMenu_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
5827 static PyObject *_wrap_wxMenu_FindItemForId(PyObject *self, PyObject *args, PyObject *kwargs) {
5828 PyObject * _resultobj;
5829 wxMenuItem * _result;
5830 wxMenu * _arg0;
5831 int _arg1;
5832 PyObject * _argo0 = 0;
5833 char *_kwnames[] = { "self","id", NULL };
5834 char _ptemp[128];
5835
5836 self = self;
5837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_FindItemForId",_kwnames,&_argo0,&_arg1))
5838 return NULL;
5839 if (_argo0) {
5840 if (_argo0 == Py_None) { _arg0 = NULL; }
5841 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
5842 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_FindItemForId. Expected _wxMenu_p.");
5843 return NULL;
5844 }
5845 }
5846 {
5847 wxPy_BEGIN_ALLOW_THREADS;
5848 _result = (wxMenuItem *)wxMenu_FindItemForId(_arg0,_arg1);
5849
5850 wxPy_END_ALLOW_THREADS;
5851 } if (_result) {
5852 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuItem_p");
5853 _resultobj = Py_BuildValue("s",_ptemp);
5854 } else {
5855 Py_INCREF(Py_None);
5856 _resultobj = Py_None;
5857 }
5858 return _resultobj;
5859 }
5860
5861 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
5862 static PyObject *_wrap_wxMenu_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
5863 PyObject * _resultobj;
5864 wxString * _result;
5865 wxMenu * _arg0;
5866 int _arg1;
5867 PyObject * _argo0 = 0;
5868 char *_kwnames[] = { "self","id", NULL };
5869
5870 self = self;
5871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_GetHelpString",_kwnames,&_argo0,&_arg1))
5872 return NULL;
5873 if (_argo0) {
5874 if (_argo0 == Py_None) { _arg0 = NULL; }
5875 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
5876 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
5877 return NULL;
5878 }
5879 }
5880 {
5881 wxPy_BEGIN_ALLOW_THREADS;
5882 _result = new wxString (wxMenu_GetHelpString(_arg0,_arg1));
5883
5884 wxPy_END_ALLOW_THREADS;
5885 }{
5886 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
5887 }
5888 {
5889 delete _result;
5890 }
5891 return _resultobj;
5892 }
5893
5894 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
5895 static PyObject *_wrap_wxMenu_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
5896 PyObject * _resultobj;
5897 wxString * _result;
5898 wxMenu * _arg0;
5899 int _arg1;
5900 PyObject * _argo0 = 0;
5901 char *_kwnames[] = { "self","id", NULL };
5902
5903 self = self;
5904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_GetLabel",_kwnames,&_argo0,&_arg1))
5905 return NULL;
5906 if (_argo0) {
5907 if (_argo0 == Py_None) { _arg0 = NULL; }
5908 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
5909 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
5910 return NULL;
5911 }
5912 }
5913 {
5914 wxPy_BEGIN_ALLOW_THREADS;
5915 _result = new wxString (wxMenu_GetLabel(_arg0,_arg1));
5916
5917 wxPy_END_ALLOW_THREADS;
5918 }{
5919 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
5920 }
5921 {
5922 delete _result;
5923 }
5924 return _resultobj;
5925 }
5926
5927 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
5928 static PyObject *_wrap_wxMenu_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
5929 PyObject * _resultobj;
5930 wxMenu * _arg0;
5931 int _arg1;
5932 wxString * _arg2;
5933 PyObject * _argo0 = 0;
5934 PyObject * _obj2 = 0;
5935 char *_kwnames[] = { "self","id","helpString", NULL };
5936
5937 self = self;
5938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenu_SetHelpString",_kwnames,&_argo0,&_arg1,&_obj2))
5939 return NULL;
5940 if (_argo0) {
5941 if (_argo0 == Py_None) { _arg0 = NULL; }
5942 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
5943 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
5944 return NULL;
5945 }
5946 }
5947 {
5948 if (!PyString_Check(_obj2)) {
5949 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5950 return NULL;
5951 }
5952 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
5953 }
5954 {
5955 wxPy_BEGIN_ALLOW_THREADS;
5956 wxMenu_SetHelpString(_arg0,_arg1,*_arg2);
5957
5958 wxPy_END_ALLOW_THREADS;
5959 } Py_INCREF(Py_None);
5960 _resultobj = Py_None;
5961 {
5962 if (_obj2)
5963 delete _arg2;
5964 }
5965 return _resultobj;
5966 }
5967
5968 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
5969 static PyObject *_wrap_wxMenu_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
5970 PyObject * _resultobj;
5971 bool _result;
5972 wxMenu * _arg0;
5973 int _arg1;
5974 PyObject * _argo0 = 0;
5975 char *_kwnames[] = { "self","id", NULL };
5976
5977 self = self;
5978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_IsChecked",_kwnames,&_argo0,&_arg1))
5979 return NULL;
5980 if (_argo0) {
5981 if (_argo0 == Py_None) { _arg0 = NULL; }
5982 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
5983 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
5984 return NULL;
5985 }
5986 }
5987 {
5988 wxPy_BEGIN_ALLOW_THREADS;
5989 _result = (bool )wxMenu_IsChecked(_arg0,_arg1);
5990
5991 wxPy_END_ALLOW_THREADS;
5992 } _resultobj = Py_BuildValue("i",_result);
5993 return _resultobj;
5994 }
5995
5996 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
5997 static PyObject *_wrap_wxMenu_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
5998 PyObject * _resultobj;
5999 bool _result;
6000 wxMenu * _arg0;
6001 int _arg1;
6002 PyObject * _argo0 = 0;
6003 char *_kwnames[] = { "self","id", NULL };
6004
6005 self = self;
6006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_IsEnabled",_kwnames,&_argo0,&_arg1))
6007 return NULL;
6008 if (_argo0) {
6009 if (_argo0 == Py_None) { _arg0 = NULL; }
6010 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
6011 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
6012 return NULL;
6013 }
6014 }
6015 {
6016 wxPy_BEGIN_ALLOW_THREADS;
6017 _result = (bool )wxMenu_IsEnabled(_arg0,_arg1);
6018
6019 wxPy_END_ALLOW_THREADS;
6020 } _resultobj = Py_BuildValue("i",_result);
6021 return _resultobj;
6022 }
6023
6024 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
6025 static PyObject *_wrap_wxMenu_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
6026 PyObject * _resultobj;
6027 wxMenu * _arg0;
6028 int _arg1;
6029 wxString * _arg2;
6030 PyObject * _argo0 = 0;
6031 PyObject * _obj2 = 0;
6032 char *_kwnames[] = { "self","id","label", NULL };
6033
6034 self = self;
6035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenu_SetLabel",_kwnames,&_argo0,&_arg1,&_obj2))
6036 return NULL;
6037 if (_argo0) {
6038 if (_argo0 == Py_None) { _arg0 = NULL; }
6039 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
6040 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
6041 return NULL;
6042 }
6043 }
6044 {
6045 if (!PyString_Check(_obj2)) {
6046 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6047 return NULL;
6048 }
6049 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
6050 }
6051 {
6052 wxPy_BEGIN_ALLOW_THREADS;
6053 wxMenu_SetLabel(_arg0,_arg1,*_arg2);
6054
6055 wxPy_END_ALLOW_THREADS;
6056 } Py_INCREF(Py_None);
6057 _resultobj = Py_None;
6058 {
6059 if (_obj2)
6060 delete _arg2;
6061 }
6062 return _resultobj;
6063 }
6064
6065 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
6066 static PyObject *_wrap_wxMenu_UpdateUI(PyObject *self, PyObject *args, PyObject *kwargs) {
6067 PyObject * _resultobj;
6068 wxMenu * _arg0;
6069 wxEvtHandler * _arg1 = (wxEvtHandler *) NULL;
6070 PyObject * _argo0 = 0;
6071 PyObject * _argo1 = 0;
6072 char *_kwnames[] = { "self","source", NULL };
6073
6074 self = self;
6075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxMenu_UpdateUI",_kwnames,&_argo0,&_argo1))
6076 return NULL;
6077 if (_argo0) {
6078 if (_argo0 == Py_None) { _arg0 = NULL; }
6079 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
6080 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
6081 return NULL;
6082 }
6083 }
6084 if (_argo1) {
6085 if (_argo1 == Py_None) { _arg1 = NULL; }
6086 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
6087 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
6088 return NULL;
6089 }
6090 }
6091 {
6092 wxPy_BEGIN_ALLOW_THREADS;
6093 wxMenu_UpdateUI(_arg0,_arg1);
6094
6095 wxPy_END_ALLOW_THREADS;
6096 } Py_INCREF(Py_None);
6097 _resultobj = Py_None;
6098 return _resultobj;
6099 }
6100
6101 static void wxMenu_Destroy(wxMenu *self) {
6102 delete self;
6103 }
6104 static PyObject *_wrap_wxMenu_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
6105 PyObject * _resultobj;
6106 wxMenu * _arg0;
6107 PyObject * _argo0 = 0;
6108 char *_kwnames[] = { "self", NULL };
6109
6110 self = self;
6111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_Destroy",_kwnames,&_argo0))
6112 return NULL;
6113 if (_argo0) {
6114 if (_argo0 == Py_None) { _arg0 = NULL; }
6115 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
6116 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Destroy. Expected _wxMenu_p.");
6117 return NULL;
6118 }
6119 }
6120 {
6121 wxPy_BEGIN_ALLOW_THREADS;
6122 wxMenu_Destroy(_arg0);
6123
6124 wxPy_END_ALLOW_THREADS;
6125 } Py_INCREF(Py_None);
6126 _resultobj = Py_None;
6127 return _resultobj;
6128 }
6129
6130 static void *SwigwxMenuBarTowxEvtHandler(void *ptr) {
6131 wxMenuBar *src;
6132 wxEvtHandler *dest;
6133 src = (wxMenuBar *) ptr;
6134 dest = (wxEvtHandler *) src;
6135 return (void *) dest;
6136 }
6137
6138 #define new_wxMenuBar() (new wxMenuBar())
6139 static PyObject *_wrap_new_wxMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
6140 PyObject * _resultobj;
6141 wxMenuBar * _result;
6142 char *_kwnames[] = { NULL };
6143 char _ptemp[128];
6144
6145 self = self;
6146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxMenuBar",_kwnames))
6147 return NULL;
6148 {
6149 wxPy_BEGIN_ALLOW_THREADS;
6150 _result = (wxMenuBar *)new_wxMenuBar();
6151
6152 wxPy_END_ALLOW_THREADS;
6153 } if (_result) {
6154 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuBar_p");
6155 _resultobj = Py_BuildValue("s",_ptemp);
6156 } else {
6157 Py_INCREF(Py_None);
6158 _resultobj = Py_None;
6159 }
6160 return _resultobj;
6161 }
6162
6163 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
6164 static PyObject *_wrap_wxMenuBar_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
6165 PyObject * _resultobj;
6166 wxMenuBar * _arg0;
6167 wxMenu * _arg1;
6168 wxString * _arg2;
6169 PyObject * _argo0 = 0;
6170 PyObject * _argo1 = 0;
6171 PyObject * _obj2 = 0;
6172 char *_kwnames[] = { "self","menu","title", NULL };
6173
6174 self = self;
6175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxMenuBar_Append",_kwnames,&_argo0,&_argo1,&_obj2))
6176 return NULL;
6177 if (_argo0) {
6178 if (_argo0 == Py_None) { _arg0 = NULL; }
6179 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
6180 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
6181 return NULL;
6182 }
6183 }
6184 if (_argo1) {
6185 if (_argo1 == Py_None) { _arg1 = NULL; }
6186 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
6187 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
6188 return NULL;
6189 }
6190 }
6191 {
6192 if (!PyString_Check(_obj2)) {
6193 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6194 return NULL;
6195 }
6196 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
6197 }
6198 {
6199 wxPy_BEGIN_ALLOW_THREADS;
6200 wxMenuBar_Append(_arg0,_arg1,*_arg2);
6201
6202 wxPy_END_ALLOW_THREADS;
6203 } Py_INCREF(Py_None);
6204 _resultobj = Py_None;
6205 {
6206 if (_obj2)
6207 delete _arg2;
6208 }
6209 return _resultobj;
6210 }
6211
6212 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
6213 static PyObject *_wrap_wxMenuBar_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
6214 PyObject * _resultobj;
6215 wxMenuBar * _arg0;
6216 int _arg1;
6217 bool _arg2;
6218 PyObject * _argo0 = 0;
6219 int tempbool2;
6220 char *_kwnames[] = { "self","id","flag", NULL };
6221
6222 self = self;
6223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxMenuBar_Check",_kwnames,&_argo0,&_arg1,&tempbool2))
6224 return NULL;
6225 if (_argo0) {
6226 if (_argo0 == Py_None) { _arg0 = NULL; }
6227 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
6228 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
6229 return NULL;
6230 }
6231 }
6232 _arg2 = (bool ) tempbool2;
6233 {
6234 wxPy_BEGIN_ALLOW_THREADS;
6235 wxMenuBar_Check(_arg0,_arg1,_arg2);
6236
6237 wxPy_END_ALLOW_THREADS;
6238 } Py_INCREF(Py_None);
6239 _resultobj = Py_None;
6240 return _resultobj;
6241 }
6242
6243 #define wxMenuBar_Checked(_swigobj,_swigarg0) (_swigobj->Checked(_swigarg0))
6244 static PyObject *_wrap_wxMenuBar_Checked(PyObject *self, PyObject *args, PyObject *kwargs) {
6245 PyObject * _resultobj;
6246 bool _result;
6247 wxMenuBar * _arg0;
6248 int _arg1;
6249 PyObject * _argo0 = 0;
6250 char *_kwnames[] = { "self","id", NULL };
6251
6252 self = self;
6253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_Checked",_kwnames,&_argo0,&_arg1))
6254 return NULL;
6255 if (_argo0) {
6256 if (_argo0 == Py_None) { _arg0 = NULL; }
6257 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
6258 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Checked. Expected _wxMenuBar_p.");
6259 return NULL;
6260 }
6261 }
6262 {
6263 wxPy_BEGIN_ALLOW_THREADS;
6264 _result = (bool )wxMenuBar_Checked(_arg0,_arg1);
6265
6266 wxPy_END_ALLOW_THREADS;
6267 } _resultobj = Py_BuildValue("i",_result);
6268 return _resultobj;
6269 }
6270
6271 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
6272 static PyObject *_wrap_wxMenuBar_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
6273 PyObject * _resultobj;
6274 wxMenuBar * _arg0;
6275 int _arg1;
6276 bool _arg2;
6277 PyObject * _argo0 = 0;
6278 int tempbool2;
6279 char *_kwnames[] = { "self","id","enable", NULL };
6280
6281 self = self;
6282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxMenuBar_Enable",_kwnames,&_argo0,&_arg1,&tempbool2))
6283 return NULL;
6284 if (_argo0) {
6285 if (_argo0 == Py_None) { _arg0 = NULL; }
6286 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
6287 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
6288 return NULL;
6289 }
6290 }
6291 _arg2 = (bool ) tempbool2;
6292 {
6293 wxPy_BEGIN_ALLOW_THREADS;
6294 wxMenuBar_Enable(_arg0,_arg1,_arg2);
6295
6296 wxPy_END_ALLOW_THREADS;
6297 } Py_INCREF(Py_None);
6298 _resultobj = Py_None;
6299 return _resultobj;
6300 }
6301
6302 #define wxMenuBar_Enabled(_swigobj,_swigarg0) (_swigobj->Enabled(_swigarg0))
6303 static PyObject *_wrap_wxMenuBar_Enabled(PyObject *self, PyObject *args, PyObject *kwargs) {
6304 PyObject * _resultobj;
6305 bool _result;
6306 wxMenuBar * _arg0;
6307 int _arg1;
6308 PyObject * _argo0 = 0;
6309 char *_kwnames[] = { "self","id", NULL };
6310
6311 self = self;
6312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_Enabled",_kwnames,&_argo0,&_arg1))
6313 return NULL;
6314 if (_argo0) {
6315 if (_argo0 == Py_None) { _arg0 = NULL; }
6316 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
6317 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Enabled. Expected _wxMenuBar_p.");
6318 return NULL;
6319 }
6320 }
6321 {
6322 wxPy_BEGIN_ALLOW_THREADS;
6323 _result = (bool )wxMenuBar_Enabled(_arg0,_arg1);
6324
6325 wxPy_END_ALLOW_THREADS;
6326 } _resultobj = Py_BuildValue("i",_result);
6327 return _resultobj;
6328 }
6329
6330 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
6331 static PyObject *_wrap_wxMenuBar_FindMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
6332 PyObject * _resultobj;
6333 int _result;
6334 wxMenuBar * _arg0;
6335 wxString * _arg1;
6336 wxString * _arg2;
6337 PyObject * _argo0 = 0;
6338 PyObject * _obj1 = 0;
6339 PyObject * _obj2 = 0;
6340 char *_kwnames[] = { "self","menuString","itemString", NULL };
6341
6342 self = self;
6343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxMenuBar_FindMenuItem",_kwnames,&_argo0,&_obj1,&_obj2))
6344 return NULL;
6345 if (_argo0) {
6346 if (_argo0 == Py_None) { _arg0 = NULL; }
6347 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
6348 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
6349 return NULL;
6350 }
6351 }
6352 {
6353 if (!PyString_Check(_obj1)) {
6354 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6355 return NULL;
6356 }
6357 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
6358 }
6359 {
6360 if (!PyString_Check(_obj2)) {
6361 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6362 return NULL;
6363 }
6364 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
6365 }
6366 {
6367 wxPy_BEGIN_ALLOW_THREADS;
6368 _result = (int )wxMenuBar_FindMenuItem(_arg0,*_arg1,*_arg2);
6369
6370 wxPy_END_ALLOW_THREADS;
6371 } _resultobj = Py_BuildValue("i",_result);
6372 {
6373 if (_obj1)
6374 delete _arg1;
6375 }
6376 {
6377 if (_obj2)
6378 delete _arg2;
6379 }
6380 return _resultobj;
6381 }
6382
6383 #define wxMenuBar_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
6384 static PyObject *_wrap_wxMenuBar_FindItemForId(PyObject *self, PyObject *args, PyObject *kwargs) {
6385 PyObject * _resultobj;
6386 wxMenuItem * _result;
6387 wxMenuBar * _arg0;
6388 int _arg1;
6389 PyObject * _argo0 = 0;
6390 char *_kwnames[] = { "self","id", NULL };
6391 char _ptemp[128];
6392
6393 self = self;
6394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_FindItemForId",_kwnames,&_argo0,&_arg1))
6395 return NULL;
6396 if (_argo0) {
6397 if (_argo0 == Py_None) { _arg0 = NULL; }
6398 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
6399 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_FindItemForId. Expected _wxMenuBar_p.");
6400 return NULL;
6401 }
6402 }
6403 {
6404 wxPy_BEGIN_ALLOW_THREADS;
6405 _result = (wxMenuItem *)wxMenuBar_FindItemForId(_arg0,_arg1);
6406
6407 wxPy_END_ALLOW_THREADS;
6408 } if (_result) {
6409 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuItem_p");
6410 _resultobj = Py_BuildValue("s",_ptemp);
6411 } else {
6412 Py_INCREF(Py_None);
6413 _resultobj = Py_None;
6414 }
6415 return _resultobj;
6416 }
6417
6418 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
6419 static PyObject *_wrap_wxMenuBar_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
6420 PyObject * _resultobj;
6421 wxMenuBar * _arg0;
6422 int _arg1;
6423 wxString * _arg2;
6424 PyObject * _argo0 = 0;
6425 PyObject * _obj2 = 0;
6426 char *_kwnames[] = { "self","id","label", NULL };
6427
6428 self = self;
6429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenuBar_SetLabel",_kwnames,&_argo0,&_arg1,&_obj2))
6430 return NULL;
6431 if (_argo0) {
6432 if (_argo0 == Py_None) { _arg0 = NULL; }
6433 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
6434 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
6435 return NULL;
6436 }
6437 }
6438 {
6439 if (!PyString_Check(_obj2)) {
6440 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6441 return NULL;
6442 }
6443 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
6444 }
6445 {
6446 wxPy_BEGIN_ALLOW_THREADS;
6447 wxMenuBar_SetLabel(_arg0,_arg1,*_arg2);
6448
6449 wxPy_END_ALLOW_THREADS;
6450 } Py_INCREF(Py_None);
6451 _resultobj = Py_None;
6452 {
6453 if (_obj2)
6454 delete _arg2;
6455 }
6456 return _resultobj;
6457 }
6458
6459 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
6460 static PyObject *_wrap_wxMenuBar_EnableTop(PyObject *self, PyObject *args, PyObject *kwargs) {
6461 PyObject * _resultobj;
6462 wxMenuBar * _arg0;
6463 int _arg1;
6464 bool _arg2;
6465 PyObject * _argo0 = 0;
6466 int tempbool2;
6467 char *_kwnames[] = { "self","pos","enable", NULL };
6468
6469 self = self;
6470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxMenuBar_EnableTop",_kwnames,&_argo0,&_arg1,&tempbool2))
6471 return NULL;
6472 if (_argo0) {
6473 if (_argo0 == Py_None) { _arg0 = NULL; }
6474 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
6475 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
6476 return NULL;
6477 }
6478 }
6479 _arg2 = (bool ) tempbool2;
6480 {
6481 wxPy_BEGIN_ALLOW_THREADS;
6482 wxMenuBar_EnableTop(_arg0,_arg1,_arg2);
6483
6484 wxPy_END_ALLOW_THREADS;
6485 } Py_INCREF(Py_None);
6486 _resultobj = Py_None;
6487 return _resultobj;
6488 }
6489
6490 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
6491 static PyObject *_wrap_wxMenuBar_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
6492 PyObject * _resultobj;
6493 wxString * _result;
6494 wxMenuBar * _arg0;
6495 int _arg1;
6496 PyObject * _argo0 = 0;
6497 char *_kwnames[] = { "self","id", NULL };
6498
6499 self = self;
6500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_GetHelpString",_kwnames,&_argo0,&_arg1))
6501 return NULL;
6502 if (_argo0) {
6503 if (_argo0 == Py_None) { _arg0 = NULL; }
6504 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
6505 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
6506 return NULL;
6507 }
6508 }
6509 {
6510 wxPy_BEGIN_ALLOW_THREADS;
6511 _result = new wxString (wxMenuBar_GetHelpString(_arg0,_arg1));
6512
6513 wxPy_END_ALLOW_THREADS;
6514 }{
6515 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
6516 }
6517 {
6518 delete _result;
6519 }
6520 return _resultobj;
6521 }
6522
6523 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
6524 static PyObject *_wrap_wxMenuBar_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
6525 PyObject * _resultobj;
6526 wxString * _result;
6527 wxMenuBar * _arg0;
6528 int _arg1;
6529 PyObject * _argo0 = 0;
6530 char *_kwnames[] = { "self","id", NULL };
6531
6532 self = self;
6533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_GetLabel",_kwnames,&_argo0,&_arg1))
6534 return NULL;
6535 if (_argo0) {
6536 if (_argo0 == Py_None) { _arg0 = NULL; }
6537 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
6538 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
6539 return NULL;
6540 }
6541 }
6542 {
6543 wxPy_BEGIN_ALLOW_THREADS;
6544 _result = new wxString (wxMenuBar_GetLabel(_arg0,_arg1));
6545
6546 wxPy_END_ALLOW_THREADS;
6547 }{
6548 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
6549 }
6550 {
6551 delete _result;
6552 }
6553 return _resultobj;
6554 }
6555
6556 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
6557 static PyObject *_wrap_wxMenuBar_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
6558 PyObject * _resultobj;
6559 wxMenuBar * _arg0;
6560 int _arg1;
6561 wxString * _arg2;
6562 PyObject * _argo0 = 0;
6563 PyObject * _obj2 = 0;
6564 char *_kwnames[] = { "self","id","helpString", NULL };
6565
6566 self = self;
6567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenuBar_SetHelpString",_kwnames,&_argo0,&_arg1,&_obj2))
6568 return NULL;
6569 if (_argo0) {
6570 if (_argo0 == Py_None) { _arg0 = NULL; }
6571 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
6572 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
6573 return NULL;
6574 }
6575 }
6576 {
6577 if (!PyString_Check(_obj2)) {
6578 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6579 return NULL;
6580 }
6581 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
6582 }
6583 {
6584 wxPy_BEGIN_ALLOW_THREADS;
6585 wxMenuBar_SetHelpString(_arg0,_arg1,*_arg2);
6586
6587 wxPy_END_ALLOW_THREADS;
6588 } Py_INCREF(Py_None);
6589 _resultobj = Py_None;
6590 {
6591 if (_obj2)
6592 delete _arg2;
6593 }
6594 return _resultobj;
6595 }
6596
6597 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
6598 static PyObject *_wrap_wxMenuBar_GetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
6599 PyObject * _resultobj;
6600 wxString * _result;
6601 wxMenuBar * _arg0;
6602 int _arg1;
6603 PyObject * _argo0 = 0;
6604 char *_kwnames[] = { "self","pos", NULL };
6605
6606 self = self;
6607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_GetLabelTop",_kwnames,&_argo0,&_arg1))
6608 return NULL;
6609 if (_argo0) {
6610 if (_argo0 == Py_None) { _arg0 = NULL; }
6611 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
6612 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
6613 return NULL;
6614 }
6615 }
6616 {
6617 wxPy_BEGIN_ALLOW_THREADS;
6618 _result = new wxString (wxMenuBar_GetLabelTop(_arg0,_arg1));
6619
6620 wxPy_END_ALLOW_THREADS;
6621 }{
6622 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
6623 }
6624 {
6625 delete _result;
6626 }
6627 return _resultobj;
6628 }
6629
6630 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
6631 static PyObject *_wrap_wxMenuBar_SetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
6632 PyObject * _resultobj;
6633 wxMenuBar * _arg0;
6634 int _arg1;
6635 wxString * _arg2;
6636 PyObject * _argo0 = 0;
6637 PyObject * _obj2 = 0;
6638 char *_kwnames[] = { "self","pos","label", NULL };
6639
6640 self = self;
6641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenuBar_SetLabelTop",_kwnames,&_argo0,&_arg1,&_obj2))
6642 return NULL;
6643 if (_argo0) {
6644 if (_argo0 == Py_None) { _arg0 = NULL; }
6645 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
6646 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
6647 return NULL;
6648 }
6649 }
6650 {
6651 if (!PyString_Check(_obj2)) {
6652 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6653 return NULL;
6654 }
6655 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
6656 }
6657 {
6658 wxPy_BEGIN_ALLOW_THREADS;
6659 wxMenuBar_SetLabelTop(_arg0,_arg1,*_arg2);
6660
6661 wxPy_END_ALLOW_THREADS;
6662 } Py_INCREF(Py_None);
6663 _resultobj = Py_None;
6664 {
6665 if (_obj2)
6666 delete _arg2;
6667 }
6668 return _resultobj;
6669 }
6670
6671 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
6672 static PyObject *_wrap_wxMenuBar_GetMenuCount(PyObject *self, PyObject *args, PyObject *kwargs) {
6673 PyObject * _resultobj;
6674 int _result;
6675 wxMenuBar * _arg0;
6676 PyObject * _argo0 = 0;
6677 char *_kwnames[] = { "self", NULL };
6678
6679 self = self;
6680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuBar_GetMenuCount",_kwnames,&_argo0))
6681 return NULL;
6682 if (_argo0) {
6683 if (_argo0 == Py_None) { _arg0 = NULL; }
6684 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
6685 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
6686 return NULL;
6687 }
6688 }
6689 {
6690 wxPy_BEGIN_ALLOW_THREADS;
6691 _result = (int )wxMenuBar_GetMenuCount(_arg0);
6692
6693 wxPy_END_ALLOW_THREADS;
6694 } _resultobj = Py_BuildValue("i",_result);
6695 return _resultobj;
6696 }
6697
6698 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
6699 static PyObject *_wrap_wxMenuBar_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
6700 PyObject * _resultobj;
6701 wxMenu * _result;
6702 wxMenuBar * _arg0;
6703 int _arg1;
6704 PyObject * _argo0 = 0;
6705 char *_kwnames[] = { "self","i", NULL };
6706 char _ptemp[128];
6707
6708 self = self;
6709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_GetMenu",_kwnames,&_argo0,&_arg1))
6710 return NULL;
6711 if (_argo0) {
6712 if (_argo0 == Py_None) { _arg0 = NULL; }
6713 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
6714 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
6715 return NULL;
6716 }
6717 }
6718 {
6719 wxPy_BEGIN_ALLOW_THREADS;
6720 _result = (wxMenu *)wxMenuBar_GetMenu(_arg0,_arg1);
6721
6722 wxPy_END_ALLOW_THREADS;
6723 } if (_result) {
6724 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenu_p");
6725 _resultobj = Py_BuildValue("s",_ptemp);
6726 } else {
6727 Py_INCREF(Py_None);
6728 _resultobj = Py_None;
6729 }
6730 return _resultobj;
6731 }
6732
6733 #define wxMenuBar_Refresh(_swigobj) (_swigobj->Refresh())
6734 static PyObject *_wrap_wxMenuBar_Refresh(PyObject *self, PyObject *args, PyObject *kwargs) {
6735 PyObject * _resultobj;
6736 wxMenuBar * _arg0;
6737 PyObject * _argo0 = 0;
6738 char *_kwnames[] = { "self", NULL };
6739
6740 self = self;
6741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuBar_Refresh",_kwnames,&_argo0))
6742 return NULL;
6743 if (_argo0) {
6744 if (_argo0 == Py_None) { _arg0 = NULL; }
6745 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
6746 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Refresh. Expected _wxMenuBar_p.");
6747 return NULL;
6748 }
6749 }
6750 {
6751 wxPy_BEGIN_ALLOW_THREADS;
6752 wxMenuBar_Refresh(_arg0);
6753
6754 wxPy_END_ALLOW_THREADS;
6755 } Py_INCREF(Py_None);
6756 _resultobj = Py_None;
6757 return _resultobj;
6758 }
6759
6760 #define new_wxMenuItem() (new wxMenuItem())
6761 static PyObject *_wrap_new_wxMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
6762 PyObject * _resultobj;
6763 wxMenuItem * _result;
6764 char *_kwnames[] = { NULL };
6765 char _ptemp[128];
6766
6767 self = self;
6768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxMenuItem",_kwnames))
6769 return NULL;
6770 {
6771 wxPy_BEGIN_ALLOW_THREADS;
6772 _result = (wxMenuItem *)new_wxMenuItem();
6773
6774 wxPy_END_ALLOW_THREADS;
6775 } if (_result) {
6776 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuItem_p");
6777 _resultobj = Py_BuildValue("s",_ptemp);
6778 } else {
6779 Py_INCREF(Py_None);
6780 _resultobj = Py_None;
6781 }
6782 return _resultobj;
6783 }
6784
6785 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
6786 static PyObject *_wrap_wxMenuItem_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
6787 PyObject * _resultobj;
6788 bool _result;
6789 wxMenuItem * _arg0;
6790 PyObject * _argo0 = 0;
6791 char *_kwnames[] = { "self", NULL };
6792
6793 self = self;
6794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsSeparator",_kwnames,&_argo0))
6795 return NULL;
6796 if (_argo0) {
6797 if (_argo0 == Py_None) { _arg0 = NULL; }
6798 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
6799 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
6800 return NULL;
6801 }
6802 }
6803 {
6804 wxPy_BEGIN_ALLOW_THREADS;
6805 _result = (bool )wxMenuItem_IsSeparator(_arg0);
6806
6807 wxPy_END_ALLOW_THREADS;
6808 } _resultobj = Py_BuildValue("i",_result);
6809 return _resultobj;
6810 }
6811
6812 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
6813 static PyObject *_wrap_wxMenuItem_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
6814 PyObject * _resultobj;
6815 bool _result;
6816 wxMenuItem * _arg0;
6817 PyObject * _argo0 = 0;
6818 char *_kwnames[] = { "self", NULL };
6819
6820 self = self;
6821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsEnabled",_kwnames,&_argo0))
6822 return NULL;
6823 if (_argo0) {
6824 if (_argo0 == Py_None) { _arg0 = NULL; }
6825 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
6826 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
6827 return NULL;
6828 }
6829 }
6830 {
6831 wxPy_BEGIN_ALLOW_THREADS;
6832 _result = (bool )wxMenuItem_IsEnabled(_arg0);
6833
6834 wxPy_END_ALLOW_THREADS;
6835 } _resultobj = Py_BuildValue("i",_result);
6836 return _resultobj;
6837 }
6838
6839 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
6840 static PyObject *_wrap_wxMenuItem_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
6841 PyObject * _resultobj;
6842 bool _result;
6843 wxMenuItem * _arg0;
6844 PyObject * _argo0 = 0;
6845 char *_kwnames[] = { "self", NULL };
6846
6847 self = self;
6848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsChecked",_kwnames,&_argo0))
6849 return NULL;
6850 if (_argo0) {
6851 if (_argo0 == Py_None) { _arg0 = NULL; }
6852 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
6853 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
6854 return NULL;
6855 }
6856 }
6857 {
6858 wxPy_BEGIN_ALLOW_THREADS;
6859 _result = (bool )wxMenuItem_IsChecked(_arg0);
6860
6861 wxPy_END_ALLOW_THREADS;
6862 } _resultobj = Py_BuildValue("i",_result);
6863 return _resultobj;
6864 }
6865
6866 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
6867 static PyObject *_wrap_wxMenuItem_IsCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
6868 PyObject * _resultobj;
6869 bool _result;
6870 wxMenuItem * _arg0;
6871 PyObject * _argo0 = 0;
6872 char *_kwnames[] = { "self", NULL };
6873
6874 self = self;
6875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsCheckable",_kwnames,&_argo0))
6876 return NULL;
6877 if (_argo0) {
6878 if (_argo0 == Py_None) { _arg0 = NULL; }
6879 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
6880 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
6881 return NULL;
6882 }
6883 }
6884 {
6885 wxPy_BEGIN_ALLOW_THREADS;
6886 _result = (bool )wxMenuItem_IsCheckable(_arg0);
6887
6888 wxPy_END_ALLOW_THREADS;
6889 } _resultobj = Py_BuildValue("i",_result);
6890 return _resultobj;
6891 }
6892
6893 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
6894 static PyObject *_wrap_wxMenuItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6895 PyObject * _resultobj;
6896 int _result;
6897 wxMenuItem * _arg0;
6898 PyObject * _argo0 = 0;
6899 char *_kwnames[] = { "self", NULL };
6900
6901 self = self;
6902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetId",_kwnames,&_argo0))
6903 return NULL;
6904 if (_argo0) {
6905 if (_argo0 == Py_None) { _arg0 = NULL; }
6906 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
6907 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
6908 return NULL;
6909 }
6910 }
6911 {
6912 wxPy_BEGIN_ALLOW_THREADS;
6913 _result = (int )wxMenuItem_GetId(_arg0);
6914
6915 wxPy_END_ALLOW_THREADS;
6916 } _resultobj = Py_BuildValue("i",_result);
6917 return _resultobj;
6918 }
6919
6920 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
6921 static PyObject *_wrap_wxMenuItem_GetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
6922 PyObject * _resultobj;
6923 wxMenu * _result;
6924 wxMenuItem * _arg0;
6925 PyObject * _argo0 = 0;
6926 char *_kwnames[] = { "self", NULL };
6927 char _ptemp[128];
6928
6929 self = self;
6930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetSubMenu",_kwnames,&_argo0))
6931 return NULL;
6932 if (_argo0) {
6933 if (_argo0 == Py_None) { _arg0 = NULL; }
6934 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
6935 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
6936 return NULL;
6937 }
6938 }
6939 {
6940 wxPy_BEGIN_ALLOW_THREADS;
6941 _result = (wxMenu *)wxMenuItem_GetSubMenu(_arg0);
6942
6943 wxPy_END_ALLOW_THREADS;
6944 } if (_result) {
6945 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenu_p");
6946 _resultobj = Py_BuildValue("s",_ptemp);
6947 } else {
6948 Py_INCREF(Py_None);
6949 _resultobj = Py_None;
6950 }
6951 return _resultobj;
6952 }
6953
6954 #define wxMenuItem_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
6955 static PyObject *_wrap_wxMenuItem_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
6956 PyObject * _resultobj;
6957 wxMenuItem * _arg0;
6958 wxString * _arg1;
6959 PyObject * _argo0 = 0;
6960 PyObject * _obj1 = 0;
6961 char *_kwnames[] = { "self","strName", NULL };
6962
6963 self = self;
6964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetName",_kwnames,&_argo0,&_obj1))
6965 return NULL;
6966 if (_argo0) {
6967 if (_argo0 == Py_None) { _arg0 = NULL; }
6968 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
6969 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetName. Expected _wxMenuItem_p.");
6970 return NULL;
6971 }
6972 }
6973 {
6974 if (!PyString_Check(_obj1)) {
6975 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6976 return NULL;
6977 }
6978 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
6979 }
6980 {
6981 wxPy_BEGIN_ALLOW_THREADS;
6982 wxMenuItem_SetName(_arg0,*_arg1);
6983
6984 wxPy_END_ALLOW_THREADS;
6985 } Py_INCREF(Py_None);
6986 _resultobj = Py_None;
6987 {
6988 if (_obj1)
6989 delete _arg1;
6990 }
6991 return _resultobj;
6992 }
6993
6994 #define wxMenuItem_GetName(_swigobj) (_swigobj->GetName())
6995 static PyObject *_wrap_wxMenuItem_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
6996 PyObject * _resultobj;
6997 wxString * _result;
6998 wxMenuItem * _arg0;
6999 PyObject * _argo0 = 0;
7000 char *_kwnames[] = { "self", NULL };
7001
7002 self = self;
7003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetName",_kwnames,&_argo0))
7004 return NULL;
7005 if (_argo0) {
7006 if (_argo0 == Py_None) { _arg0 = NULL; }
7007 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
7008 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetName. Expected _wxMenuItem_p.");
7009 return NULL;
7010 }
7011 }
7012 {
7013 wxPy_BEGIN_ALLOW_THREADS;
7014 _result = new wxString (wxMenuItem_GetName(_arg0));
7015
7016 wxPy_END_ALLOW_THREADS;
7017 }{
7018 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
7019 }
7020 {
7021 delete _result;
7022 }
7023 return _resultobj;
7024 }
7025
7026 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
7027 static PyObject *_wrap_wxMenuItem_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
7028 PyObject * _resultobj;
7029 wxString * _result;
7030 wxMenuItem * _arg0;
7031 PyObject * _argo0 = 0;
7032 char *_kwnames[] = { "self", NULL };
7033
7034 self = self;
7035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetHelp",_kwnames,&_argo0))
7036 return NULL;
7037 if (_argo0) {
7038 if (_argo0 == Py_None) { _arg0 = NULL; }
7039 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
7040 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
7041 return NULL;
7042 }
7043 }
7044 {
7045 wxPy_BEGIN_ALLOW_THREADS;
7046 _result = new wxString (wxMenuItem_GetHelp(_arg0));
7047
7048 wxPy_END_ALLOW_THREADS;
7049 }{
7050 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
7051 }
7052 {
7053 delete _result;
7054 }
7055 return _resultobj;
7056 }
7057
7058 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
7059 static PyObject *_wrap_wxMenuItem_SetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
7060 PyObject * _resultobj;
7061 wxMenuItem * _arg0;
7062 wxString * _arg1;
7063 PyObject * _argo0 = 0;
7064 PyObject * _obj1 = 0;
7065 char *_kwnames[] = { "self","strHelp", NULL };
7066
7067 self = self;
7068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetHelp",_kwnames,&_argo0,&_obj1))
7069 return NULL;
7070 if (_argo0) {
7071 if (_argo0 == Py_None) { _arg0 = NULL; }
7072 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
7073 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
7074 return NULL;
7075 }
7076 }
7077 {
7078 if (!PyString_Check(_obj1)) {
7079 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7080 return NULL;
7081 }
7082 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
7083 }
7084 {
7085 wxPy_BEGIN_ALLOW_THREADS;
7086 wxMenuItem_SetHelp(_arg0,*_arg1);
7087
7088 wxPy_END_ALLOW_THREADS;
7089 } Py_INCREF(Py_None);
7090 _resultobj = Py_None;
7091 {
7092 if (_obj1)
7093 delete _arg1;
7094 }
7095 return _resultobj;
7096 }
7097
7098 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
7099 static PyObject *_wrap_wxMenuItem_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
7100 PyObject * _resultobj;
7101 wxMenuItem * _arg0;
7102 bool _arg1 = (bool ) TRUE;
7103 PyObject * _argo0 = 0;
7104 int tempbool1 = (int) TRUE;
7105 char *_kwnames[] = { "self","bDoEnable", NULL };
7106
7107 self = self;
7108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxMenuItem_Enable",_kwnames,&_argo0,&tempbool1))
7109 return NULL;
7110 if (_argo0) {
7111 if (_argo0 == Py_None) { _arg0 = NULL; }
7112 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
7113 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
7114 return NULL;
7115 }
7116 }
7117 _arg1 = (bool ) tempbool1;
7118 {
7119 wxPy_BEGIN_ALLOW_THREADS;
7120 wxMenuItem_Enable(_arg0,_arg1);
7121
7122 wxPy_END_ALLOW_THREADS;
7123 } Py_INCREF(Py_None);
7124 _resultobj = Py_None;
7125 return _resultobj;
7126 }
7127
7128 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
7129 static PyObject *_wrap_wxMenuItem_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
7130 PyObject * _resultobj;
7131 wxMenuItem * _arg0;
7132 bool _arg1 = (bool ) TRUE;
7133 PyObject * _argo0 = 0;
7134 int tempbool1 = (int) TRUE;
7135 char *_kwnames[] = { "self","bDoCheck", NULL };
7136
7137 self = self;
7138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxMenuItem_Check",_kwnames,&_argo0,&tempbool1))
7139 return NULL;
7140 if (_argo0) {
7141 if (_argo0 == Py_None) { _arg0 = NULL; }
7142 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
7143 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
7144 return NULL;
7145 }
7146 }
7147 _arg1 = (bool ) tempbool1;
7148 {
7149 wxPy_BEGIN_ALLOW_THREADS;
7150 wxMenuItem_Check(_arg0,_arg1);
7151
7152 wxPy_END_ALLOW_THREADS;
7153 } Py_INCREF(Py_None);
7154 _resultobj = Py_None;
7155 return _resultobj;
7156 }
7157
7158 static PyMethodDef windowscMethods[] = {
7159 { "wxMenuItem_Check", (PyCFunction) _wrap_wxMenuItem_Check, METH_VARARGS | METH_KEYWORDS },
7160 { "wxMenuItem_Enable", (PyCFunction) _wrap_wxMenuItem_Enable, METH_VARARGS | METH_KEYWORDS },
7161 { "wxMenuItem_SetHelp", (PyCFunction) _wrap_wxMenuItem_SetHelp, METH_VARARGS | METH_KEYWORDS },
7162 { "wxMenuItem_GetHelp", (PyCFunction) _wrap_wxMenuItem_GetHelp, METH_VARARGS | METH_KEYWORDS },
7163 { "wxMenuItem_GetName", (PyCFunction) _wrap_wxMenuItem_GetName, METH_VARARGS | METH_KEYWORDS },
7164 { "wxMenuItem_SetName", (PyCFunction) _wrap_wxMenuItem_SetName, METH_VARARGS | METH_KEYWORDS },
7165 { "wxMenuItem_GetSubMenu", (PyCFunction) _wrap_wxMenuItem_GetSubMenu, METH_VARARGS | METH_KEYWORDS },
7166 { "wxMenuItem_GetId", (PyCFunction) _wrap_wxMenuItem_GetId, METH_VARARGS | METH_KEYWORDS },
7167 { "wxMenuItem_IsCheckable", (PyCFunction) _wrap_wxMenuItem_IsCheckable, METH_VARARGS | METH_KEYWORDS },
7168 { "wxMenuItem_IsChecked", (PyCFunction) _wrap_wxMenuItem_IsChecked, METH_VARARGS | METH_KEYWORDS },
7169 { "wxMenuItem_IsEnabled", (PyCFunction) _wrap_wxMenuItem_IsEnabled, METH_VARARGS | METH_KEYWORDS },
7170 { "wxMenuItem_IsSeparator", (PyCFunction) _wrap_wxMenuItem_IsSeparator, METH_VARARGS | METH_KEYWORDS },
7171 { "new_wxMenuItem", (PyCFunction) _wrap_new_wxMenuItem, METH_VARARGS | METH_KEYWORDS },
7172 { "wxMenuBar_Refresh", (PyCFunction) _wrap_wxMenuBar_Refresh, METH_VARARGS | METH_KEYWORDS },
7173 { "wxMenuBar_GetMenu", (PyCFunction) _wrap_wxMenuBar_GetMenu, METH_VARARGS | METH_KEYWORDS },
7174 { "wxMenuBar_GetMenuCount", (PyCFunction) _wrap_wxMenuBar_GetMenuCount, METH_VARARGS | METH_KEYWORDS },
7175 { "wxMenuBar_SetLabelTop", (PyCFunction) _wrap_wxMenuBar_SetLabelTop, METH_VARARGS | METH_KEYWORDS },
7176 { "wxMenuBar_GetLabelTop", (PyCFunction) _wrap_wxMenuBar_GetLabelTop, METH_VARARGS | METH_KEYWORDS },
7177 { "wxMenuBar_SetHelpString", (PyCFunction) _wrap_wxMenuBar_SetHelpString, METH_VARARGS | METH_KEYWORDS },
7178 { "wxMenuBar_GetLabel", (PyCFunction) _wrap_wxMenuBar_GetLabel, METH_VARARGS | METH_KEYWORDS },
7179 { "wxMenuBar_GetHelpString", (PyCFunction) _wrap_wxMenuBar_GetHelpString, METH_VARARGS | METH_KEYWORDS },
7180 { "wxMenuBar_EnableTop", (PyCFunction) _wrap_wxMenuBar_EnableTop, METH_VARARGS | METH_KEYWORDS },
7181 { "wxMenuBar_SetLabel", (PyCFunction) _wrap_wxMenuBar_SetLabel, METH_VARARGS | METH_KEYWORDS },
7182 { "wxMenuBar_FindItemForId", (PyCFunction) _wrap_wxMenuBar_FindItemForId, METH_VARARGS | METH_KEYWORDS },
7183 { "wxMenuBar_FindMenuItem", (PyCFunction) _wrap_wxMenuBar_FindMenuItem, METH_VARARGS | METH_KEYWORDS },
7184 { "wxMenuBar_Enabled", (PyCFunction) _wrap_wxMenuBar_Enabled, METH_VARARGS | METH_KEYWORDS },
7185 { "wxMenuBar_Enable", (PyCFunction) _wrap_wxMenuBar_Enable, METH_VARARGS | METH_KEYWORDS },
7186 { "wxMenuBar_Checked", (PyCFunction) _wrap_wxMenuBar_Checked, METH_VARARGS | METH_KEYWORDS },
7187 { "wxMenuBar_Check", (PyCFunction) _wrap_wxMenuBar_Check, METH_VARARGS | METH_KEYWORDS },
7188 { "wxMenuBar_Append", (PyCFunction) _wrap_wxMenuBar_Append, METH_VARARGS | METH_KEYWORDS },
7189 { "new_wxMenuBar", (PyCFunction) _wrap_new_wxMenuBar, METH_VARARGS | METH_KEYWORDS },
7190 { "wxMenu_Destroy", (PyCFunction) _wrap_wxMenu_Destroy, METH_VARARGS | METH_KEYWORDS },
7191 { "wxMenu_UpdateUI", (PyCFunction) _wrap_wxMenu_UpdateUI, METH_VARARGS | METH_KEYWORDS },
7192 { "wxMenu_SetLabel", (PyCFunction) _wrap_wxMenu_SetLabel, METH_VARARGS | METH_KEYWORDS },
7193 { "wxMenu_IsEnabled", (PyCFunction) _wrap_wxMenu_IsEnabled, METH_VARARGS | METH_KEYWORDS },
7194 { "wxMenu_IsChecked", (PyCFunction) _wrap_wxMenu_IsChecked, METH_VARARGS | METH_KEYWORDS },
7195 { "wxMenu_SetHelpString", (PyCFunction) _wrap_wxMenu_SetHelpString, METH_VARARGS | METH_KEYWORDS },
7196 { "wxMenu_GetLabel", (PyCFunction) _wrap_wxMenu_GetLabel, METH_VARARGS | METH_KEYWORDS },
7197 { "wxMenu_GetHelpString", (PyCFunction) _wrap_wxMenu_GetHelpString, METH_VARARGS | METH_KEYWORDS },
7198 { "wxMenu_FindItemForId", (PyCFunction) _wrap_wxMenu_FindItemForId, METH_VARARGS | METH_KEYWORDS },
7199 { "wxMenu_SetTitle", (PyCFunction) _wrap_wxMenu_SetTitle, METH_VARARGS | METH_KEYWORDS },
7200 { "wxMenu_GetTitle", (PyCFunction) _wrap_wxMenu_GetTitle, METH_VARARGS | METH_KEYWORDS },
7201 { "wxMenu_FindItem", (PyCFunction) _wrap_wxMenu_FindItem, METH_VARARGS | METH_KEYWORDS },
7202 { "wxMenu_Enable", (PyCFunction) _wrap_wxMenu_Enable, METH_VARARGS | METH_KEYWORDS },
7203 { "wxMenu_Check", (PyCFunction) _wrap_wxMenu_Check, METH_VARARGS | METH_KEYWORDS },
7204 { "wxMenu_Break", (PyCFunction) _wrap_wxMenu_Break, METH_VARARGS | METH_KEYWORDS },
7205 { "wxMenu_AppendSeparator", (PyCFunction) _wrap_wxMenu_AppendSeparator, METH_VARARGS | METH_KEYWORDS },
7206 { "wxMenu_AppendItem", (PyCFunction) _wrap_wxMenu_AppendItem, METH_VARARGS | METH_KEYWORDS },
7207 { "wxMenu_AppendMenu", (PyCFunction) _wrap_wxMenu_AppendMenu, METH_VARARGS | METH_KEYWORDS },
7208 { "wxMenu_Append", (PyCFunction) _wrap_wxMenu_Append, METH_VARARGS | METH_KEYWORDS },
7209 { "new_wxMenu", (PyCFunction) _wrap_new_wxMenu, METH_VARARGS | METH_KEYWORDS },
7210 { "wxScrolledWindow_CalcUnscrolledPosition", (PyCFunction) _wrap_wxScrolledWindow_CalcUnscrolledPosition, METH_VARARGS | METH_KEYWORDS },
7211 { "wxScrolledWindow_CalcScrolledPosition", (PyCFunction) _wrap_wxScrolledWindow_CalcScrolledPosition, METH_VARARGS | METH_KEYWORDS },
7212 { "wxScrolledWindow_ViewStart", (PyCFunction) _wrap_wxScrolledWindow_ViewStart, METH_VARARGS | METH_KEYWORDS },
7213 { "wxScrolledWindow_SetScrollbars", (PyCFunction) _wrap_wxScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
7214 { "wxScrolledWindow_Scroll", (PyCFunction) _wrap_wxScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
7215 { "wxScrolledWindow_PrepareDC", (PyCFunction) _wrap_wxScrolledWindow_PrepareDC, METH_VARARGS | METH_KEYWORDS },
7216 { "wxScrolledWindow_IsRetained", (PyCFunction) _wrap_wxScrolledWindow_IsRetained, METH_VARARGS | METH_KEYWORDS },
7217 { "wxScrolledWindow_GetVirtualSize", (PyCFunction) _wrap_wxScrolledWindow_GetVirtualSize, METH_VARARGS | METH_KEYWORDS },
7218 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
7219 { "wxScrolledWindow_EnableScrolling", (PyCFunction) _wrap_wxScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
7220 { "new_wxScrolledWindow", (PyCFunction) _wrap_new_wxScrolledWindow, METH_VARARGS | METH_KEYWORDS },
7221 { "wxDialog_SetReturnCode", (PyCFunction) _wrap_wxDialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
7222 { "wxDialog_GetReturnCode", (PyCFunction) _wrap_wxDialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
7223 { "wxDialog_ShowModal", (PyCFunction) _wrap_wxDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
7224 { "wxDialog_Show", (PyCFunction) _wrap_wxDialog_Show, METH_VARARGS | METH_KEYWORDS },
7225 { "wxDialog_SetTitle", (PyCFunction) _wrap_wxDialog_SetTitle, METH_VARARGS | METH_KEYWORDS },
7226 { "wxDialog_IsModal", (PyCFunction) _wrap_wxDialog_IsModal, METH_VARARGS | METH_KEYWORDS },
7227 { "wxDialog_SetModal", (PyCFunction) _wrap_wxDialog_SetModal, METH_VARARGS | METH_KEYWORDS },
7228 { "wxDialog_IsIconized", (PyCFunction) _wrap_wxDialog_IsIconized, METH_VARARGS | METH_KEYWORDS },
7229 { "wxDialog_Iconize", (PyCFunction) _wrap_wxDialog_Iconize, METH_VARARGS | METH_KEYWORDS },
7230 { "wxDialog_GetTitle", (PyCFunction) _wrap_wxDialog_GetTitle, METH_VARARGS | METH_KEYWORDS },
7231 { "wxDialog_EndModal", (PyCFunction) _wrap_wxDialog_EndModal, METH_VARARGS | METH_KEYWORDS },
7232 { "wxDialog_Centre", (PyCFunction) _wrap_wxDialog_Centre, METH_VARARGS | METH_KEYWORDS },
7233 { "new_wxDialog", (PyCFunction) _wrap_new_wxDialog, METH_VARARGS | METH_KEYWORDS },
7234 { "wxPanel_SetDefaultItem", (PyCFunction) _wrap_wxPanel_SetDefaultItem, METH_VARARGS | METH_KEYWORDS },
7235 { "wxPanel_GetDefaultItem", (PyCFunction) _wrap_wxPanel_GetDefaultItem, METH_VARARGS | METH_KEYWORDS },
7236 { "wxPanel_InitDialog", (PyCFunction) _wrap_wxPanel_InitDialog, METH_VARARGS | METH_KEYWORDS },
7237 { "new_wxPanel", (PyCFunction) _wrap_new_wxPanel, METH_VARARGS | METH_KEYWORDS },
7238 { "wxWindow_SetValidator", (PyCFunction) _wrap_wxWindow_SetValidator, METH_VARARGS | METH_KEYWORDS },
7239 { "wxWindow_GetValidator", (PyCFunction) _wrap_wxWindow_GetValidator, METH_VARARGS | METH_KEYWORDS },
7240 { "wxWindow_SetSizer", (PyCFunction) _wrap_wxWindow_SetSizer, METH_VARARGS | METH_KEYWORDS },
7241 { "wxWindow_GetToolTip", (PyCFunction) _wrap_wxWindow_GetToolTip, METH_VARARGS | METH_KEYWORDS },
7242 { "wxWindow_SetToolTip", (PyCFunction) _wrap_wxWindow_SetToolTip, METH_VARARGS | METH_KEYWORDS },
7243 { "wxWindow_SetToolTipString", (PyCFunction) _wrap_wxWindow_SetToolTipString, METH_VARARGS | METH_KEYWORDS },
7244 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction) _wrap_wxWindow_ConvertPixelSizeToDialog, METH_VARARGS | METH_KEYWORDS },
7245 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction) _wrap_wxWindow_ConvertPixelPointToDialog, METH_VARARGS | METH_KEYWORDS },
7246 { "wxWindow_DLG_SZE", (PyCFunction) _wrap_wxWindow_ConvertDialogSizeToPixels, METH_VARARGS | METH_KEYWORDS },
7247 { "wxWindow_DLG_PNT", (PyCFunction) _wrap_wxWindow_ConvertDialogPointToPixels, METH_VARARGS | METH_KEYWORDS },
7248 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction) _wrap_wxWindow_ConvertDialogSizeToPixels, METH_VARARGS | METH_KEYWORDS },
7249 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction) _wrap_wxWindow_ConvertDialogPointToPixels, METH_VARARGS | METH_KEYWORDS },
7250 { "wxWindow_WarpPointer", (PyCFunction) _wrap_wxWindow_WarpPointer, METH_VARARGS | METH_KEYWORDS },
7251 { "wxWindow_Validate", (PyCFunction) _wrap_wxWindow_Validate, METH_VARARGS | METH_KEYWORDS },
7252 { "wxWindow_TransferDataToWindow", (PyCFunction) _wrap_wxWindow_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
7253 { "wxWindow_TransferDataFromWindow", (PyCFunction) _wrap_wxWindow_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
7254 { "wxWindow_Show", (PyCFunction) _wrap_wxWindow_Show, METH_VARARGS | METH_KEYWORDS },
7255 { "wxWindow_SetTitle", (PyCFunction) _wrap_wxWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
7256 { "wxWindow_SetEventHandler", (PyCFunction) _wrap_wxWindow_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
7257 { "wxWindow_SetCursor", (PyCFunction) _wrap_wxWindow_SetCursor, METH_VARARGS | METH_KEYWORDS },
7258 { "wxWindow_SetClientSize", (PyCFunction) _wrap_wxWindow_SetClientSize, METH_VARARGS | METH_KEYWORDS },
7259 { "wxWindow_SetClientSizeWH", (PyCFunction) _wrap_wxWindow_SetClientSizeWH, METH_VARARGS | METH_KEYWORDS },
7260 { "wxWindow_SetSizeHints", (PyCFunction) _wrap_wxWindow_SetSizeHints, METH_VARARGS | METH_KEYWORDS },
7261 { "wxWindow_SetPosition", (PyCFunction) _wrap_wxWindow_SetPosition, METH_VARARGS | METH_KEYWORDS },
7262 { "wxWindow_SetSize", (PyCFunction) _wrap_wxWindow_SetSize, METH_VARARGS | METH_KEYWORDS },
7263 { "wxWindow_SetDimensions", (PyCFunction) _wrap_wxWindow_SetDimensions, METH_VARARGS | METH_KEYWORDS },
7264 { "wxWindow_SetScrollPos", (PyCFunction) _wrap_wxWindow_SetScrollPos, METH_VARARGS | METH_KEYWORDS },
7265 { "wxWindow_SetScrollbar", (PyCFunction) _wrap_wxWindow_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
7266 { "wxWindow_SetName", (PyCFunction) _wrap_wxWindow_SetName, METH_VARARGS | METH_KEYWORDS },
7267 { "wxWindow_SetId", (PyCFunction) _wrap_wxWindow_SetId, METH_VARARGS | METH_KEYWORDS },
7268 { "wxWindow_SetForegroundColour", (PyCFunction) _wrap_wxWindow_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
7269 { "wxWindow_SetFont", (PyCFunction) _wrap_wxWindow_SetFont, METH_VARARGS | METH_KEYWORDS },
7270 { "wxWindow_AcceptsFocus", (PyCFunction) _wrap_wxWindow_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
7271 { "wxWindow_SetFocus", (PyCFunction) _wrap_wxWindow_SetFocus, METH_VARARGS | METH_KEYWORDS },
7272 { "wxWindow_UnsetConstraints", (PyCFunction) _wrap_wxWindow_UnsetConstraints, METH_VARARGS | METH_KEYWORDS },
7273 { "wxWindow_SetConstraints", (PyCFunction) _wrap_wxWindow_SetConstraints, METH_VARARGS | METH_KEYWORDS },
7274 { "wxWindow_SetBackgroundColour", (PyCFunction) _wrap_wxWindow_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
7275 { "wxWindow_GetAutoLayout", (PyCFunction) _wrap_wxWindow_GetAutoLayout, METH_VARARGS | METH_KEYWORDS },
7276 { "wxWindow_SetAutoLayout", (PyCFunction) _wrap_wxWindow_SetAutoLayout, METH_VARARGS | METH_KEYWORDS },
7277 { "wxWindow_SetAcceleratorTable", (PyCFunction) _wrap_wxWindow_SetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
7278 { "wxWindow_ScrollWindow", (PyCFunction) _wrap_wxWindow_ScrollWindow, METH_VARARGS | METH_KEYWORDS },
7279 { "wxWindow_ScreenToClient", (PyCFunction) _wrap_wxWindow_ScreenToClient, METH_VARARGS | METH_KEYWORDS },
7280 { "wxWindow_ScreenToClientXY", (PyCFunction) _wrap_wxWindow_ScreenToClientXY, METH_VARARGS | METH_KEYWORDS },
7281 { "wxWindow_Reparent", (PyCFunction) _wrap_wxWindow_Reparent, METH_VARARGS | METH_KEYWORDS },
7282 { "wxWindow_ReleaseMouse", (PyCFunction) _wrap_wxWindow_ReleaseMouse, METH_VARARGS | METH_KEYWORDS },
7283 { "wxWindow_Refresh", (PyCFunction) _wrap_wxWindow_Refresh, METH_VARARGS | METH_KEYWORDS },
7284 { "wxWindow_Raise", (PyCFunction) _wrap_wxWindow_Raise, METH_VARARGS | METH_KEYWORDS },
7285 { "wxWindow_PopupMenu", (PyCFunction) _wrap_wxWindow_PopupMenu, METH_VARARGS | METH_KEYWORDS },
7286 { "wxWindow_PopupMenuXY", (PyCFunction) _wrap_wxWindow_PopupMenuXY, METH_VARARGS | METH_KEYWORDS },
7287 { "wxWindow_PushEventHandler", (PyCFunction) _wrap_wxWindow_PushEventHandler, METH_VARARGS | METH_KEYWORDS },
7288 { "wxWindow_PopEventHandler", (PyCFunction) _wrap_wxWindow_PopEventHandler, METH_VARARGS | METH_KEYWORDS },
7289 { "wxWindow_Move", (PyCFunction) _wrap_wxWindow_Move, METH_VARARGS | METH_KEYWORDS },
7290 { "wxWindow_MoveXY", (PyCFunction) _wrap_wxWindow_MoveXY, METH_VARARGS | METH_KEYWORDS },
7291 { "wxWindow_MakeModal", (PyCFunction) _wrap_wxWindow_MakeModal, METH_VARARGS | METH_KEYWORDS },
7292 { "wxWindow_Lower", (PyCFunction) _wrap_wxWindow_Lower, METH_VARARGS | METH_KEYWORDS },
7293 { "wxWindow_LoadFromResource", (PyCFunction) _wrap_wxWindow_LoadFromResource, METH_VARARGS | METH_KEYWORDS },
7294 { "wxWindow_Layout", (PyCFunction) _wrap_wxWindow_Layout, METH_VARARGS | METH_KEYWORDS },
7295 { "wxWindow_IsTopLevel", (PyCFunction) _wrap_wxWindow_IsTopLevel, METH_VARARGS | METH_KEYWORDS },
7296 { "wxWindow_IsShown", (PyCFunction) _wrap_wxWindow_IsShown, METH_VARARGS | METH_KEYWORDS },
7297 { "wxWindow_IsRetained", (PyCFunction) _wrap_wxWindow_IsRetained, METH_VARARGS | METH_KEYWORDS },
7298 { "wxWindow_IsEnabled", (PyCFunction) _wrap_wxWindow_IsEnabled, METH_VARARGS | METH_KEYWORDS },
7299 { "wxWindow_InitDialog", (PyCFunction) _wrap_wxWindow_InitDialog, METH_VARARGS | METH_KEYWORDS },
7300 { "wxWindow_Hide", (PyCFunction) _wrap_wxWindow_Hide, METH_VARARGS | METH_KEYWORDS },
7301 { "wxWindow_GetWindowStyleFlag", (PyCFunction) _wrap_wxWindow_GetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
7302 { "wxWindow_GetUpdateRegion", (PyCFunction) _wrap_wxWindow_GetUpdateRegion, METH_VARARGS | METH_KEYWORDS },
7303 { "wxWindow_GetTitle", (PyCFunction) _wrap_wxWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
7304 { "wxWindow_GetFullTextExtent", (PyCFunction) _wrap_wxWindow_GetFullTextExtent, METH_VARARGS | METH_KEYWORDS },
7305 { "wxWindow_GetTextExtent", (PyCFunction) _wrap_wxWindow_GetTextExtent, METH_VARARGS | METH_KEYWORDS },
7306 { "wxWindow_GetSize", (PyCFunction) _wrap_wxWindow_GetSize, METH_VARARGS | METH_KEYWORDS },
7307 { "wxWindow_GetSizeTuple", (PyCFunction) _wrap_wxWindow_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
7308 { "wxWindow_GetScrollRange", (PyCFunction) _wrap_wxWindow_GetScrollRange, METH_VARARGS | METH_KEYWORDS },
7309 { "wxWindow_GetScrollPos", (PyCFunction) _wrap_wxWindow_GetScrollPos, METH_VARARGS | METH_KEYWORDS },
7310 { "wxWindow_GetScrollThumb", (PyCFunction) _wrap_wxWindow_GetScrollThumb, METH_VARARGS | METH_KEYWORDS },
7311 { "wxWindow_GetRect", (PyCFunction) _wrap_wxWindow_GetRect, METH_VARARGS | METH_KEYWORDS },
7312 { "wxWindow_GetPosition", (PyCFunction) _wrap_wxWindow_GetPosition, METH_VARARGS | METH_KEYWORDS },
7313 { "wxWindow_GetPositionTuple", (PyCFunction) _wrap_wxWindow_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
7314 { "wxWindow_GetParent", (PyCFunction) _wrap_wxWindow_GetParent, METH_VARARGS | METH_KEYWORDS },
7315 { "wxWindow_GetName", (PyCFunction) _wrap_wxWindow_GetName, METH_VARARGS | METH_KEYWORDS },
7316 { "wxWindow_SetLabel", (PyCFunction) _wrap_wxWindow_SetLabel, METH_VARARGS | METH_KEYWORDS },
7317 { "wxWindow_GetLabel", (PyCFunction) _wrap_wxWindow_GetLabel, METH_VARARGS | METH_KEYWORDS },
7318 { "wxWindow_GetId", (PyCFunction) _wrap_wxWindow_GetId, METH_VARARGS | METH_KEYWORDS },
7319 { "wxWindow_GetGrandParent", (PyCFunction) _wrap_wxWindow_GetGrandParent, METH_VARARGS | METH_KEYWORDS },
7320 { "wxWindow_GetForegroundColour", (PyCFunction) _wrap_wxWindow_GetForegroundColour, METH_VARARGS | METH_KEYWORDS },
7321 { "wxWindow_GetFont", (PyCFunction) _wrap_wxWindow_GetFont, METH_VARARGS | METH_KEYWORDS },
7322 { "wxWindow_GetEventHandler", (PyCFunction) _wrap_wxWindow_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
7323 { "wxWindow_GetConstraints", (PyCFunction) _wrap_wxWindow_GetConstraints, METH_VARARGS | METH_KEYWORDS },
7324 { "wxWindow_GetClientSize", (PyCFunction) _wrap_wxWindow_GetClientSize, METH_VARARGS | METH_KEYWORDS },
7325 { "wxWindow_GetClientSizeTuple", (PyCFunction) _wrap_wxWindow_GetClientSizeTuple, METH_VARARGS | METH_KEYWORDS },
7326 { "wxWindow_GetCharWidth", (PyCFunction) _wrap_wxWindow_GetCharWidth, METH_VARARGS | METH_KEYWORDS },
7327 { "wxWindow_GetCharHeight", (PyCFunction) _wrap_wxWindow_GetCharHeight, METH_VARARGS | METH_KEYWORDS },
7328 { "wxWindow_GetChildren", (PyCFunction) _wrap_wxWindow_GetChildren, METH_VARARGS | METH_KEYWORDS },
7329 { "wxWindow_GetBackgroundColour", (PyCFunction) _wrap_wxWindow_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
7330 { "wxWindow_Fit", (PyCFunction) _wrap_wxWindow_Fit, METH_VARARGS | METH_KEYWORDS },
7331 { "wxWindow_FindWindowByName", (PyCFunction) _wrap_wxWindow_FindWindowByName, METH_VARARGS | METH_KEYWORDS },
7332 { "wxWindow_FindWindowById", (PyCFunction) _wrap_wxWindow_FindWindowById, METH_VARARGS | METH_KEYWORDS },
7333 { "wxWindow_Enable", (PyCFunction) _wrap_wxWindow_Enable, METH_VARARGS | METH_KEYWORDS },
7334 { "wxWindow_DestroyChildren", (PyCFunction) _wrap_wxWindow_DestroyChildren, METH_VARARGS | METH_KEYWORDS },
7335 { "wxWindow_Destroy", (PyCFunction) _wrap_wxWindow_Destroy, METH_VARARGS | METH_KEYWORDS },
7336 { "wxWindow_Close", (PyCFunction) _wrap_wxWindow_Close, METH_VARARGS | METH_KEYWORDS },
7337 { "wxWindow_ClientToScreen", (PyCFunction) _wrap_wxWindow_ClientToScreen, METH_VARARGS | METH_KEYWORDS },
7338 { "wxWindow_ClientToScreenXY", (PyCFunction) _wrap_wxWindow_ClientToScreenXY, METH_VARARGS | METH_KEYWORDS },
7339 { "wxWindow_CenterOnParent", (PyCFunction) _wrap_wxWindow_CenterOnParent, METH_VARARGS | METH_KEYWORDS },
7340 { "wxWindow_CentreOnParent", (PyCFunction) _wrap_wxWindow_CentreOnParent, METH_VARARGS | METH_KEYWORDS },
7341 { "wxWindow_Centre", (PyCFunction) _wrap_wxWindow_Centre, METH_VARARGS | METH_KEYWORDS },
7342 { "wxWindow_Center", (PyCFunction) _wrap_wxWindow_Center, METH_VARARGS | METH_KEYWORDS },
7343 { "wxWindow_CaptureMouse", (PyCFunction) _wrap_wxWindow_CaptureMouse, METH_VARARGS | METH_KEYWORDS },
7344 { "new_wxWindow", (PyCFunction) _wrap_new_wxWindow, METH_VARARGS | METH_KEYWORDS },
7345 { "wxPyValidator__setSelf", (PyCFunction) _wrap_wxPyValidator__setSelf, METH_VARARGS | METH_KEYWORDS },
7346 { "wxPyValidator_Destroy", (PyCFunction) _wrap_wxPyValidator_Destroy, METH_VARARGS | METH_KEYWORDS },
7347 { "new_wxPyValidator", (PyCFunction) _wrap_new_wxPyValidator, METH_VARARGS | METH_KEYWORDS },
7348 { "wxValidator_SetWindow", (PyCFunction) _wrap_wxValidator_SetWindow, METH_VARARGS | METH_KEYWORDS },
7349 { "wxValidator_GetWindow", (PyCFunction) _wrap_wxValidator_GetWindow, METH_VARARGS | METH_KEYWORDS },
7350 { "wxValidator_Clone", (PyCFunction) _wrap_wxValidator_Clone, METH_VARARGS | METH_KEYWORDS },
7351 { "new_wxValidator", (PyCFunction) _wrap_new_wxValidator, METH_VARARGS | METH_KEYWORDS },
7352 { "wxEvtHandler_Connect", (PyCFunction) _wrap_wxEvtHandler_Connect, METH_VARARGS | METH_KEYWORDS },
7353 { "wxEvtHandler_SetPreviousHandler", (PyCFunction) _wrap_wxEvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
7354 { "wxEvtHandler_SetNextHandler", (PyCFunction) _wrap_wxEvtHandler_SetNextHandler, METH_VARARGS | METH_KEYWORDS },
7355 { "wxEvtHandler_GetPreviousHandler", (PyCFunction) _wrap_wxEvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
7356 { "wxEvtHandler_GetNextHandler", (PyCFunction) _wrap_wxEvtHandler_GetNextHandler, METH_VARARGS | METH_KEYWORDS },
7357 { "wxEvtHandler_SetEvtHandlerEnabled", (PyCFunction) _wrap_wxEvtHandler_SetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
7358 { "wxEvtHandler_GetEvtHandlerEnabled", (PyCFunction) _wrap_wxEvtHandler_GetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
7359 { "wxEvtHandler_ProcessEvent", (PyCFunction) _wrap_wxEvtHandler_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
7360 { "wxValidator_SetBellOnError", (PyCFunction) _wrap_wxValidator_SetBellOnError, METH_VARARGS | METH_KEYWORDS },
7361 { "wxValidator_IsSilent", (PyCFunction) _wrap_wxValidator_IsSilent, METH_VARARGS | METH_KEYWORDS },
7362 { NULL, NULL }
7363 };
7364 #ifdef __cplusplus
7365 }
7366 #endif
7367 /*
7368 * This table is used by the pointer type-checker
7369 */
7370 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
7371 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
7372 { "_signed_long","_long",0},
7373 { "_wxPrintQuality","_int",0},
7374 { "_wxPrintQuality","_signed_int",0},
7375 { "_wxPrintQuality","_unsigned_int",0},
7376 { "_wxPrintQuality","_wxWindowID",0},
7377 { "_wxPrintQuality","_uint",0},
7378 { "_wxPrintQuality","_EBool",0},
7379 { "_wxPrintQuality","_size_t",0},
7380 { "_class_wxRegionIterator","_wxRegionIterator",0},
7381 { "_class_wxMenuBar","_wxMenuBar",0},
7382 { "_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler},
7383 { "_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler},
7384 { "_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler},
7385 { "_class_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler},
7386 { "_class_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler},
7387 { "_class_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler},
7388 { "_class_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler},
7389 { "_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler},
7390 { "_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler},
7391 { "_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler},
7392 { "_class_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler},
7393 { "_class_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler},
7394 { "_class_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler},
7395 { "_class_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler},
7396 { "_class_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler},
7397 { "_class_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler},
7398 { "_class_wxEvtHandler","_wxEvtHandler",0},
7399 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
7400 { "_wxCursor","_class_wxCursor",0},
7401 { "_wxMask","_class_wxMask",0},
7402 { "_wxPen","_class_wxPen",0},
7403 { "_byte","_unsigned_char",0},
7404 { "_long","_wxDash",0},
7405 { "_long","_unsigned_long",0},
7406 { "_long","_signed_long",0},
7407 { "_wxImageList","_class_wxImageList",0},
7408 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
7409 { "_wxDC","_class_wxDC",0},
7410 { "_size_t","_wxPrintQuality",0},
7411 { "_size_t","_unsigned_int",0},
7412 { "_size_t","_int",0},
7413 { "_size_t","_wxWindowID",0},
7414 { "_size_t","_uint",0},
7415 { "_class_wxRealPoint","_wxRealPoint",0},
7416 { "_class_wxMenuItem","_wxMenuItem",0},
7417 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
7418 { "_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel},
7419 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel},
7420 { "_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel},
7421 { "_wxPanel","_wxDialog",SwigwxDialogTowxPanel},
7422 { "_wxPanel","_class_wxPanel",0},
7423 { "_class_wxMask","_wxMask",0},
7424 { "_wxColour","_class_wxColour",0},
7425 { "_class_wxDialog","_wxDialog",0},
7426 { "_wxBrush","_class_wxBrush",0},
7427 { "_uint","_wxPrintQuality",0},
7428 { "_uint","_size_t",0},
7429 { "_uint","_unsigned_int",0},
7430 { "_uint","_int",0},
7431 { "_uint","_wxWindowID",0},
7432 { "_wxPyValidator","_class_wxPyValidator",0},
7433 { "_wxRect","_class_wxRect",0},
7434 { "_wxPoint","_class_wxPoint",0},
7435 { "_wxBitmap","_class_wxBitmap",0},
7436 { "_wxPyTimer","_class_wxPyTimer",0},
7437 { "_wxWindowDC","_class_wxWindowDC",0},
7438 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
7439 { "_class_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator},
7440 { "_class_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator},
7441 { "_class_wxValidator","_wxValidator",0},
7442 { "_EBool","_wxPrintQuality",0},
7443 { "_EBool","_signed_int",0},
7444 { "_EBool","_int",0},
7445 { "_EBool","_wxWindowID",0},
7446 { "_class_wxRegion","_wxRegion",0},
7447 { "_wxFont","_class_wxFont",0},
7448 { "_unsigned_long","_wxDash",0},
7449 { "_unsigned_long","_long",0},
7450 { "_class_wxRect","_wxRect",0},
7451 { "_class_wxDC","_wxDC",0},
7452 { "_class_wxPyTimer","_wxPyTimer",0},
7453 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
7454 { "_class_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel},
7455 { "_class_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel},
7456 { "_class_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel},
7457 { "_class_wxPanel","_wxDialog",SwigwxDialogTowxPanel},
7458 { "_class_wxPanel","_wxPanel",0},
7459 { "_signed_int","_wxPrintQuality",0},
7460 { "_signed_int","_EBool",0},
7461 { "_signed_int","_wxWindowID",0},
7462 { "_signed_int","_int",0},
7463 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
7464 { "_wxMenu","_class_wxMenu",0},
7465 { "_wxScreenDC","_class_wxScreenDC",0},
7466 { "_WXTYPE","_short",0},
7467 { "_WXTYPE","_signed_short",0},
7468 { "_WXTYPE","_unsigned_short",0},
7469 { "_class_wxBrush","_wxBrush",0},
7470 { "_unsigned_short","_WXTYPE",0},
7471 { "_unsigned_short","_short",0},
7472 { "_class_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow},
7473 { "_class_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow},
7474 { "_class_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow},
7475 { "_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow},
7476 { "_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow},
7477 { "_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow},
7478 { "_class_wxWindow","_wxWindow",0},
7479 { "_class_wxFont","_wxFont",0},
7480 { "_class_wxPyValidator","_wxPyValidator",0},
7481 { "_wxClientDC","_class_wxClientDC",0},
7482 { "_class_wxPoint","_wxPoint",0},
7483 { "_wxRealPoint","_class_wxRealPoint",0},
7484 { "_signed_short","_WXTYPE",0},
7485 { "_signed_short","_short",0},
7486 { "_wxMemoryDC","_class_wxMemoryDC",0},
7487 { "_wxPaintDC","_class_wxPaintDC",0},
7488 { "_class_wxWindowDC","_wxWindowDC",0},
7489 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
7490 { "_class_wxCursor","_wxCursor",0},
7491 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
7492 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
7493 { "_unsigned_char","_byte",0},
7494 { "_class_wxMenu","_wxMenu",0},
7495 { "_unsigned_int","_wxPrintQuality",0},
7496 { "_unsigned_int","_size_t",0},
7497 { "_unsigned_int","_uint",0},
7498 { "_unsigned_int","_wxWindowID",0},
7499 { "_unsigned_int","_int",0},
7500 { "_wxIcon","_class_wxIcon",0},
7501 { "_wxDialog","_class_wxDialog",0},
7502 { "_class_wxPen","_wxPen",0},
7503 { "_short","_WXTYPE",0},
7504 { "_short","_unsigned_short",0},
7505 { "_short","_signed_short",0},
7506 { "_class_wxImageList","_wxImageList",0},
7507 { "_wxWindowID","_wxPrintQuality",0},
7508 { "_wxWindowID","_size_t",0},
7509 { "_wxWindowID","_EBool",0},
7510 { "_wxWindowID","_uint",0},
7511 { "_wxWindowID","_int",0},
7512 { "_wxWindowID","_signed_int",0},
7513 { "_wxWindowID","_unsigned_int",0},
7514 { "_int","_wxPrintQuality",0},
7515 { "_int","_size_t",0},
7516 { "_int","_EBool",0},
7517 { "_int","_uint",0},
7518 { "_int","_wxWindowID",0},
7519 { "_int","_unsigned_int",0},
7520 { "_int","_signed_int",0},
7521 { "_wxSize","_class_wxSize",0},
7522 { "_wxRegionIterator","_class_wxRegionIterator",0},
7523 { "_class_wxPaintDC","_wxPaintDC",0},
7524 { "_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator},
7525 { "_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator},
7526 { "_wxValidator","_class_wxValidator",0},
7527 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
7528 { "_class_wxIcon","_wxIcon",0},
7529 { "_class_wxColour","_wxColour",0},
7530 { "_class_wxScreenDC","_wxScreenDC",0},
7531 { "_wxPalette","_class_wxPalette",0},
7532 { "_wxRegion","_class_wxRegion",0},
7533 { "_class_wxClientDC","_wxClientDC",0},
7534 { "_class_wxSize","_wxSize",0},
7535 { "_class_wxBitmap","_wxBitmap",0},
7536 { "_class_wxMemoryDC","_wxMemoryDC",0},
7537 { "_wxMenuBar","_class_wxMenuBar",0},
7538 { "_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler},
7539 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler},
7540 { "_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler},
7541 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler},
7542 { "_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler},
7543 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler},
7544 { "_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler},
7545 { "_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler},
7546 { "_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler},
7547 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler},
7548 { "_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler},
7549 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler},
7550 { "_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler},
7551 { "_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler},
7552 { "_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler},
7553 { "_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler},
7554 { "_wxEvtHandler","_class_wxEvtHandler",0},
7555 { "_wxMenuItem","_class_wxMenuItem",0},
7556 { "_wxDash","_unsigned_long",0},
7557 { "_wxDash","_long",0},
7558 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
7559 { "_class_wxPalette","_wxPalette",0},
7560 { "_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow},
7561 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow},
7562 { "_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow},
7563 { "_wxWindow","_wxDialog",SwigwxDialogTowxWindow},
7564 { "_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow},
7565 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow},
7566 { "_wxWindow","_class_wxWindow",0},
7567 {0,0,0}};
7568
7569 static PyObject *SWIG_globals;
7570 #ifdef __cplusplus
7571 extern "C"
7572 #endif
7573 SWIGEXPORT(void) initwindowsc() {
7574 PyObject *m, *d;
7575 SWIG_globals = SWIG_newvarlink();
7576 m = Py_InitModule("windowsc", windowscMethods);
7577 d = PyModule_GetDict(m);
7578 {
7579 int i;
7580 for (i = 0; _swig_mapping[i].n1; i++)
7581 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
7582 }
7583 }