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