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