]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/windows.cpp
SWIGged updates for wxGTK
[wxWidgets.git] / wxPython / src / gtk / windows.cpp
1 /*
2 * FILE : src/gtk/windows.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
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 #include "Python.h"
40
41 #ifdef __cplusplus
42 extern "C" {
43 #endif
44
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
49 extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
50 extern PyObject *SWIG_newvarlink(void);
51 #ifdef __cplusplus
52 }
53 #endif
54 #define SWIG_init initwindowsc
55
56 #define SWIG_name "windowsc"
57
58 #include "helpers.h"
59 #include <wx/menuitem.h>
60 #include <wx/tooltip.h>
61
62
63 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
64 PyObject* o2;
65 PyObject* o3;
66
67 if (!target) {
68 target = o;
69 } else if (target == Py_None) {
70 Py_DECREF(Py_None);
71 target = o;
72 } else {
73 if (!PyTuple_Check(target)) {
74 o2 = target;
75 target = PyTuple_New(1);
76 PyTuple_SetItem(target, 0, o2);
77 }
78 o3 = PyTuple_New(1);
79 PyTuple_SetItem(o3, 0, o);
80
81 o2 = target;
82 target = PySequence_Concat(o2, o3);
83 Py_DECREF(o2);
84 Py_DECREF(o3);
85 }
86 return target;
87 }
88
89 // Put some wx default wxChar* values into wxStrings.
90 DECLARE_DEF_STRING(PanelNameStr);
91 static const wxString wxPyEmptyString(wxT(""));
92
93 class wxPyValidator : public wxValidator {
94 DECLARE_DYNAMIC_CLASS(wxPyValidator);
95 public:
96 wxPyValidator() {
97 }
98
99 ~wxPyValidator() {
100 }
101
102 wxObject* Clone() const {
103 wxPyValidator* ptr = NULL;
104 wxPyValidator* self = (wxPyValidator*)this;
105
106 wxPyBeginBlockThreads();
107 if (self->m_myInst.findCallback("Clone")) {
108 PyObject* ro;
109 ro = self->m_myInst.callCallbackObj(Py_BuildValue("()"));
110 if (ro) {
111 SWIG_GetPtrObj(ro, (void **)&ptr, "_wxPyValidator_p");
112 Py_DECREF(ro);
113 }
114 }
115 wxPyEndBlockThreads();
116
117 // This is very dangerous!!! But is the only way I could find
118 // to squash a memory leak. Currently it is okay, but if the
119 // validator architecture in wxWindows ever changes, problems
120 // could arise.
121 delete self;
122 return ptr;
123 }
124
125
126 DEC_PYCALLBACK_BOOL_WXWIN(Validate);
127 DEC_PYCALLBACK_BOOL_(TransferToWindow);
128 DEC_PYCALLBACK_BOOL_(TransferFromWindow);
129
130 PYPRIVATE;
131 };
132
133 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator, wxValidator, Validate);
134 IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferToWindow);
135 IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferFromWindow);
136
137 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator, wxValidator);
138
139 #ifdef __cplusplus
140 extern "C" {
141 #endif
142 static void *SwigwxEvtHandlerTowxObject(void *ptr) {
143 wxEvtHandler *src;
144 wxObject *dest;
145 src = (wxEvtHandler *) ptr;
146 dest = (wxObject *) src;
147 return (void *) dest;
148 }
149
150 #define new_wxEvtHandler() (new wxEvtHandler())
151 static PyObject *_wrap_new_wxEvtHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
152 PyObject * _resultobj;
153 wxEvtHandler * _result;
154 char *_kwnames[] = { NULL };
155 char _ptemp[128];
156
157 self = self;
158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxEvtHandler",_kwnames))
159 return NULL;
160 {
161 PyThreadState* __tstate = wxPyBeginAllowThreads();
162 _result = (wxEvtHandler *)new_wxEvtHandler();
163
164 wxPyEndAllowThreads(__tstate);
165 if (PyErr_Occurred()) return NULL;
166 } if (_result) {
167 SWIG_MakePtr(_ptemp, (char *) _result,"_wxEvtHandler_p");
168 _resultobj = Py_BuildValue("s",_ptemp);
169 } else {
170 Py_INCREF(Py_None);
171 _resultobj = Py_None;
172 }
173 return _resultobj;
174 }
175
176 #define wxEvtHandler_ProcessEvent(_swigobj,_swigarg0) (_swigobj->ProcessEvent(_swigarg0))
177 static PyObject *_wrap_wxEvtHandler_ProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
178 PyObject * _resultobj;
179 bool _result;
180 wxEvtHandler * _arg0;
181 wxEvent * _arg1;
182 PyObject * _argo0 = 0;
183 PyObject * _argo1 = 0;
184 char *_kwnames[] = { "self","event", NULL };
185
186 self = self;
187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEvtHandler_ProcessEvent",_kwnames,&_argo0,&_argo1))
188 return NULL;
189 if (_argo0) {
190 if (_argo0 == Py_None) { _arg0 = NULL; }
191 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
192 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_ProcessEvent. Expected _wxEvtHandler_p.");
193 return NULL;
194 }
195 }
196 if (_argo1) {
197 if (_argo1 == Py_None) { _arg1 = NULL; }
198 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvent_p")) {
199 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxEvtHandler_ProcessEvent. Expected _wxEvent_p.");
200 return NULL;
201 }
202 }
203 {
204 PyThreadState* __tstate = wxPyBeginAllowThreads();
205 _result = (bool )wxEvtHandler_ProcessEvent(_arg0,*_arg1);
206
207 wxPyEndAllowThreads(__tstate);
208 if (PyErr_Occurred()) return NULL;
209 } _resultobj = Py_BuildValue("i",_result);
210 return _resultobj;
211 }
212
213 #define wxEvtHandler_AddPendingEvent(_swigobj,_swigarg0) (_swigobj->AddPendingEvent(_swigarg0))
214 static PyObject *_wrap_wxEvtHandler_AddPendingEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
215 PyObject * _resultobj;
216 wxEvtHandler * _arg0;
217 wxEvent * _arg1;
218 PyObject * _argo0 = 0;
219 PyObject * _argo1 = 0;
220 char *_kwnames[] = { "self","event", NULL };
221
222 self = self;
223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEvtHandler_AddPendingEvent",_kwnames,&_argo0,&_argo1))
224 return NULL;
225 if (_argo0) {
226 if (_argo0 == Py_None) { _arg0 = NULL; }
227 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
228 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_AddPendingEvent. Expected _wxEvtHandler_p.");
229 return NULL;
230 }
231 }
232 if (_argo1) {
233 if (_argo1 == Py_None) { _arg1 = NULL; }
234 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvent_p")) {
235 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxEvtHandler_AddPendingEvent. Expected _wxEvent_p.");
236 return NULL;
237 }
238 }
239 {
240 PyThreadState* __tstate = wxPyBeginAllowThreads();
241 wxEvtHandler_AddPendingEvent(_arg0,*_arg1);
242
243 wxPyEndAllowThreads(__tstate);
244 if (PyErr_Occurred()) return NULL;
245 } Py_INCREF(Py_None);
246 _resultobj = Py_None;
247 return _resultobj;
248 }
249
250 #define wxEvtHandler_GetEvtHandlerEnabled(_swigobj) (_swigobj->GetEvtHandlerEnabled())
251 static PyObject *_wrap_wxEvtHandler_GetEvtHandlerEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
252 PyObject * _resultobj;
253 bool _result;
254 wxEvtHandler * _arg0;
255 PyObject * _argo0 = 0;
256 char *_kwnames[] = { "self", NULL };
257
258 self = self;
259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvtHandler_GetEvtHandlerEnabled",_kwnames,&_argo0))
260 return NULL;
261 if (_argo0) {
262 if (_argo0 == Py_None) { _arg0 = NULL; }
263 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
264 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_GetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
265 return NULL;
266 }
267 }
268 {
269 PyThreadState* __tstate = wxPyBeginAllowThreads();
270 _result = (bool )wxEvtHandler_GetEvtHandlerEnabled(_arg0);
271
272 wxPyEndAllowThreads(__tstate);
273 if (PyErr_Occurred()) return NULL;
274 } _resultobj = Py_BuildValue("i",_result);
275 return _resultobj;
276 }
277
278 #define wxEvtHandler_SetEvtHandlerEnabled(_swigobj,_swigarg0) (_swigobj->SetEvtHandlerEnabled(_swigarg0))
279 static PyObject *_wrap_wxEvtHandler_SetEvtHandlerEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
280 PyObject * _resultobj;
281 wxEvtHandler * _arg0;
282 bool _arg1;
283 PyObject * _argo0 = 0;
284 int tempbool1;
285 char *_kwnames[] = { "self","enabled", NULL };
286
287 self = self;
288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxEvtHandler_SetEvtHandlerEnabled",_kwnames,&_argo0,&tempbool1))
289 return NULL;
290 if (_argo0) {
291 if (_argo0 == Py_None) { _arg0 = NULL; }
292 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
293 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_SetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
294 return NULL;
295 }
296 }
297 _arg1 = (bool ) tempbool1;
298 {
299 PyThreadState* __tstate = wxPyBeginAllowThreads();
300 wxEvtHandler_SetEvtHandlerEnabled(_arg0,_arg1);
301
302 wxPyEndAllowThreads(__tstate);
303 if (PyErr_Occurred()) return NULL;
304 } Py_INCREF(Py_None);
305 _resultobj = Py_None;
306 return _resultobj;
307 }
308
309 #define wxEvtHandler_GetNextHandler(_swigobj) (_swigobj->GetNextHandler())
310 static PyObject *_wrap_wxEvtHandler_GetNextHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
311 PyObject * _resultobj;
312 wxEvtHandler * _result;
313 wxEvtHandler * _arg0;
314 PyObject * _argo0 = 0;
315 char *_kwnames[] = { "self", NULL };
316
317 self = self;
318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvtHandler_GetNextHandler",_kwnames,&_argo0))
319 return NULL;
320 if (_argo0) {
321 if (_argo0 == Py_None) { _arg0 = NULL; }
322 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
323 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_GetNextHandler. Expected _wxEvtHandler_p.");
324 return NULL;
325 }
326 }
327 {
328 PyThreadState* __tstate = wxPyBeginAllowThreads();
329 _result = (wxEvtHandler *)wxEvtHandler_GetNextHandler(_arg0);
330
331 wxPyEndAllowThreads(__tstate);
332 if (PyErr_Occurred()) return NULL;
333 }{ _resultobj = wxPyMake_wxObject(_result); }
334 return _resultobj;
335 }
336
337 #define wxEvtHandler_GetPreviousHandler(_swigobj) (_swigobj->GetPreviousHandler())
338 static PyObject *_wrap_wxEvtHandler_GetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
339 PyObject * _resultobj;
340 wxEvtHandler * _result;
341 wxEvtHandler * _arg0;
342 PyObject * _argo0 = 0;
343 char *_kwnames[] = { "self", NULL };
344
345 self = self;
346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvtHandler_GetPreviousHandler",_kwnames,&_argo0))
347 return NULL;
348 if (_argo0) {
349 if (_argo0 == Py_None) { _arg0 = NULL; }
350 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
351 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_GetPreviousHandler. Expected _wxEvtHandler_p.");
352 return NULL;
353 }
354 }
355 {
356 PyThreadState* __tstate = wxPyBeginAllowThreads();
357 _result = (wxEvtHandler *)wxEvtHandler_GetPreviousHandler(_arg0);
358
359 wxPyEndAllowThreads(__tstate);
360 if (PyErr_Occurred()) return NULL;
361 }{ _resultobj = wxPyMake_wxObject(_result); }
362 return _resultobj;
363 }
364
365 #define wxEvtHandler_SetNextHandler(_swigobj,_swigarg0) (_swigobj->SetNextHandler(_swigarg0))
366 static PyObject *_wrap_wxEvtHandler_SetNextHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
367 PyObject * _resultobj;
368 wxEvtHandler * _arg0;
369 wxEvtHandler * _arg1;
370 PyObject * _argo0 = 0;
371 PyObject * _argo1 = 0;
372 char *_kwnames[] = { "self","handler", NULL };
373
374 self = self;
375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEvtHandler_SetNextHandler",_kwnames,&_argo0,&_argo1))
376 return NULL;
377 if (_argo0) {
378 if (_argo0 == Py_None) { _arg0 = NULL; }
379 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
380 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
381 return NULL;
382 }
383 }
384 if (_argo1) {
385 if (_argo1 == Py_None) { _arg1 = NULL; }
386 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
387 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
388 return NULL;
389 }
390 }
391 {
392 PyThreadState* __tstate = wxPyBeginAllowThreads();
393 wxEvtHandler_SetNextHandler(_arg0,_arg1);
394
395 wxPyEndAllowThreads(__tstate);
396 if (PyErr_Occurred()) return NULL;
397 } Py_INCREF(Py_None);
398 _resultobj = Py_None;
399 return _resultobj;
400 }
401
402 #define wxEvtHandler_SetPreviousHandler(_swigobj,_swigarg0) (_swigobj->SetPreviousHandler(_swigarg0))
403 static PyObject *_wrap_wxEvtHandler_SetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
404 PyObject * _resultobj;
405 wxEvtHandler * _arg0;
406 wxEvtHandler * _arg1;
407 PyObject * _argo0 = 0;
408 PyObject * _argo1 = 0;
409 char *_kwnames[] = { "self","handler", NULL };
410
411 self = self;
412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEvtHandler_SetPreviousHandler",_kwnames,&_argo0,&_argo1))
413 return NULL;
414 if (_argo0) {
415 if (_argo0 == Py_None) { _arg0 = NULL; }
416 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
417 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
418 return NULL;
419 }
420 }
421 if (_argo1) {
422 if (_argo1 == Py_None) { _arg1 = NULL; }
423 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
424 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
425 return NULL;
426 }
427 }
428 {
429 PyThreadState* __tstate = wxPyBeginAllowThreads();
430 wxEvtHandler_SetPreviousHandler(_arg0,_arg1);
431
432 wxPyEndAllowThreads(__tstate);
433 if (PyErr_Occurred()) return NULL;
434 } Py_INCREF(Py_None);
435 _resultobj = Py_None;
436 return _resultobj;
437 }
438
439 static void wxEvtHandler_Connect(wxEvtHandler *self,int id,int lastId,int eventType,PyObject * func) {
440 if (PyCallable_Check(func)) {
441 self->Connect(id, lastId, eventType,
442 (wxObjectEventFunction) &wxPyCallback::EventThunker,
443 new wxPyCallback(func));
444 }
445 else if (func == Py_None) {
446 self->Disconnect(id, lastId, eventType,
447 (wxObjectEventFunction)
448 &wxPyCallback::EventThunker);
449 }
450 else {
451 PyErr_SetString(PyExc_TypeError, "Expected callable object or None.");
452 }
453 }
454 static PyObject *_wrap_wxEvtHandler_Connect(PyObject *self, PyObject *args, PyObject *kwargs) {
455 PyObject * _resultobj;
456 wxEvtHandler * _arg0;
457 int _arg1;
458 int _arg2;
459 int _arg3;
460 PyObject * _arg4;
461 PyObject * _argo0 = 0;
462 PyObject * _obj4 = 0;
463 char *_kwnames[] = { "self","id","lastId","eventType","func", NULL };
464
465 self = self;
466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiiO:wxEvtHandler_Connect",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_obj4))
467 return NULL;
468 if (_argo0) {
469 if (_argo0 == Py_None) { _arg0 = NULL; }
470 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
471 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
472 return NULL;
473 }
474 }
475 {
476 _arg4 = _obj4;
477 }
478 {
479 PyThreadState* __tstate = wxPyBeginAllowThreads();
480 wxEvtHandler_Connect(_arg0,_arg1,_arg2,_arg3,_arg4);
481
482 wxPyEndAllowThreads(__tstate);
483 if (PyErr_Occurred()) return NULL;
484 } Py_INCREF(Py_None);
485 _resultobj = Py_None;
486 return _resultobj;
487 }
488
489 static bool wxEvtHandler_Disconnect(wxEvtHandler *self,int id,int lastId,wxEventType eventType) {
490 return self->Disconnect(id, lastId, eventType,
491 (wxObjectEventFunction)
492 &wxPyCallback::EventThunker);
493 }
494 static PyObject *_wrap_wxEvtHandler_Disconnect(PyObject *self, PyObject *args, PyObject *kwargs) {
495 PyObject * _resultobj;
496 bool _result;
497 wxEvtHandler * _arg0;
498 int _arg1;
499 int _arg2 = (int ) -1;
500 wxEventType _arg3 = (wxEventType ) wxEVT_NULL;
501 PyObject * _argo0 = 0;
502 char *_kwnames[] = { "self","id","lastId","eventType", NULL };
503
504 self = self;
505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ii:wxEvtHandler_Disconnect",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
506 return NULL;
507 if (_argo0) {
508 if (_argo0 == Py_None) { _arg0 = NULL; }
509 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
510 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_Disconnect. Expected _wxEvtHandler_p.");
511 return NULL;
512 }
513 }
514 {
515 PyThreadState* __tstate = wxPyBeginAllowThreads();
516 _result = (bool )wxEvtHandler_Disconnect(_arg0,_arg1,_arg2,_arg3);
517
518 wxPyEndAllowThreads(__tstate);
519 if (PyErr_Occurred()) return NULL;
520 } _resultobj = Py_BuildValue("i",_result);
521 return _resultobj;
522 }
523
524 static void wxEvtHandler__setOORInfo(wxEvtHandler *self,PyObject * _self) {
525 self->SetClientObject(new wxPyOORClientData(_self));
526 }
527 static PyObject *_wrap_wxEvtHandler__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
528 PyObject * _resultobj;
529 wxEvtHandler * _arg0;
530 PyObject * _arg1;
531 PyObject * _argo0 = 0;
532 PyObject * _obj1 = 0;
533 char *_kwnames[] = { "self","_self", NULL };
534
535 self = self;
536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEvtHandler__setOORInfo",_kwnames,&_argo0,&_obj1))
537 return NULL;
538 if (_argo0) {
539 if (_argo0 == Py_None) { _arg0 = NULL; }
540 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
541 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler__setOORInfo. Expected _wxEvtHandler_p.");
542 return NULL;
543 }
544 }
545 {
546 _arg1 = _obj1;
547 }
548 {
549 PyThreadState* __tstate = wxPyBeginAllowThreads();
550 wxEvtHandler__setOORInfo(_arg0,_arg1);
551
552 wxPyEndAllowThreads(__tstate);
553 if (PyErr_Occurred()) return NULL;
554 } Py_INCREF(Py_None);
555 _resultobj = Py_None;
556 return _resultobj;
557 }
558
559 static void *SwigwxValidatorTowxEvtHandler(void *ptr) {
560 wxValidator *src;
561 wxEvtHandler *dest;
562 src = (wxValidator *) ptr;
563 dest = (wxEvtHandler *) src;
564 return (void *) dest;
565 }
566
567 static void *SwigwxValidatorTowxObject(void *ptr) {
568 wxValidator *src;
569 wxObject *dest;
570 src = (wxValidator *) ptr;
571 dest = (wxObject *) src;
572 return (void *) dest;
573 }
574
575 #define new_wxValidator() (new wxValidator())
576 static PyObject *_wrap_new_wxValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
577 PyObject * _resultobj;
578 wxValidator * _result;
579 char *_kwnames[] = { NULL };
580 char _ptemp[128];
581
582 self = self;
583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxValidator",_kwnames))
584 return NULL;
585 {
586 PyThreadState* __tstate = wxPyBeginAllowThreads();
587 _result = (wxValidator *)new_wxValidator();
588
589 wxPyEndAllowThreads(__tstate);
590 if (PyErr_Occurred()) return NULL;
591 } if (_result) {
592 SWIG_MakePtr(_ptemp, (char *) _result,"_wxValidator_p");
593 _resultobj = Py_BuildValue("s",_ptemp);
594 } else {
595 Py_INCREF(Py_None);
596 _resultobj = Py_None;
597 }
598 return _resultobj;
599 }
600
601 #define wxValidator_Clone(_swigobj) (_swigobj->Clone())
602 static PyObject *_wrap_wxValidator_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
603 PyObject * _resultobj;
604 wxValidator * _result;
605 wxValidator * _arg0;
606 PyObject * _argo0 = 0;
607 char *_kwnames[] = { "self", NULL };
608
609 self = self;
610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxValidator_Clone",_kwnames,&_argo0))
611 return NULL;
612 if (_argo0) {
613 if (_argo0 == Py_None) { _arg0 = NULL; }
614 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxValidator_p")) {
615 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxValidator_Clone. Expected _wxValidator_p.");
616 return NULL;
617 }
618 }
619 {
620 PyThreadState* __tstate = wxPyBeginAllowThreads();
621 _result = (wxValidator *)wxValidator_Clone(_arg0);
622
623 wxPyEndAllowThreads(__tstate);
624 if (PyErr_Occurred()) return NULL;
625 }{ _resultobj = wxPyMake_wxObject(_result); }
626 return _resultobj;
627 }
628
629 #define wxValidator_GetWindow(_swigobj) (_swigobj->GetWindow())
630 static PyObject *_wrap_wxValidator_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
631 PyObject * _resultobj;
632 wxWindow * _result;
633 wxValidator * _arg0;
634 PyObject * _argo0 = 0;
635 char *_kwnames[] = { "self", NULL };
636
637 self = self;
638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxValidator_GetWindow",_kwnames,&_argo0))
639 return NULL;
640 if (_argo0) {
641 if (_argo0 == Py_None) { _arg0 = NULL; }
642 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxValidator_p")) {
643 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxValidator_GetWindow. Expected _wxValidator_p.");
644 return NULL;
645 }
646 }
647 {
648 PyThreadState* __tstate = wxPyBeginAllowThreads();
649 _result = (wxWindow *)wxValidator_GetWindow(_arg0);
650
651 wxPyEndAllowThreads(__tstate);
652 if (PyErr_Occurred()) return NULL;
653 }{ _resultobj = wxPyMake_wxObject(_result); }
654 return _resultobj;
655 }
656
657 #define wxValidator_SetWindow(_swigobj,_swigarg0) (_swigobj->SetWindow(_swigarg0))
658 static PyObject *_wrap_wxValidator_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
659 PyObject * _resultobj;
660 wxValidator * _arg0;
661 wxWindow * _arg1;
662 PyObject * _argo0 = 0;
663 PyObject * _argo1 = 0;
664 char *_kwnames[] = { "self","window", NULL };
665
666 self = self;
667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxValidator_SetWindow",_kwnames,&_argo0,&_argo1))
668 return NULL;
669 if (_argo0) {
670 if (_argo0 == Py_None) { _arg0 = NULL; }
671 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxValidator_p")) {
672 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxValidator_SetWindow. Expected _wxValidator_p.");
673 return NULL;
674 }
675 }
676 if (_argo1) {
677 if (_argo1 == Py_None) { _arg1 = NULL; }
678 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
679 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxValidator_SetWindow. Expected _wxWindow_p.");
680 return NULL;
681 }
682 }
683 {
684 PyThreadState* __tstate = wxPyBeginAllowThreads();
685 wxValidator_SetWindow(_arg0,_arg1);
686
687 wxPyEndAllowThreads(__tstate);
688 if (PyErr_Occurred()) return NULL;
689 } Py_INCREF(Py_None);
690 _resultobj = Py_None;
691 return _resultobj;
692 }
693
694 static PyObject *_wrap_wxValidator_IsSilent(PyObject *self, PyObject *args, PyObject *kwargs) {
695 PyObject * _resultobj;
696 bool _result;
697 char *_kwnames[] = { NULL };
698
699 self = self;
700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxValidator_IsSilent",_kwnames))
701 return NULL;
702 {
703 PyThreadState* __tstate = wxPyBeginAllowThreads();
704 _result = (bool )wxValidator::IsSilent();
705
706 wxPyEndAllowThreads(__tstate);
707 if (PyErr_Occurred()) return NULL;
708 } _resultobj = Py_BuildValue("i",_result);
709 return _resultobj;
710 }
711
712 static PyObject *_wrap_wxValidator_SetBellOnError(PyObject *self, PyObject *args, PyObject *kwargs) {
713 PyObject * _resultobj;
714 int _arg0 = (int ) TRUE;
715 char *_kwnames[] = { "doIt", NULL };
716
717 self = self;
718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:wxValidator_SetBellOnError",_kwnames,&_arg0))
719 return NULL;
720 {
721 PyThreadState* __tstate = wxPyBeginAllowThreads();
722 wxValidator::SetBellOnError(_arg0);
723
724 wxPyEndAllowThreads(__tstate);
725 if (PyErr_Occurred()) return NULL;
726 } Py_INCREF(Py_None);
727 _resultobj = Py_None;
728 return _resultobj;
729 }
730
731 static void *SwigwxPyValidatorTowxValidator(void *ptr) {
732 wxPyValidator *src;
733 wxValidator *dest;
734 src = (wxPyValidator *) ptr;
735 dest = (wxValidator *) src;
736 return (void *) dest;
737 }
738
739 static void *SwigwxPyValidatorTowxEvtHandler(void *ptr) {
740 wxPyValidator *src;
741 wxEvtHandler *dest;
742 src = (wxPyValidator *) ptr;
743 dest = (wxEvtHandler *) src;
744 return (void *) dest;
745 }
746
747 static void *SwigwxPyValidatorTowxObject(void *ptr) {
748 wxPyValidator *src;
749 wxObject *dest;
750 src = (wxPyValidator *) ptr;
751 dest = (wxObject *) src;
752 return (void *) dest;
753 }
754
755 #define new_wxPyValidator() (new wxPyValidator())
756 static PyObject *_wrap_new_wxPyValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
757 PyObject * _resultobj;
758 wxPyValidator * _result;
759 char *_kwnames[] = { NULL };
760 char _ptemp[128];
761
762 self = self;
763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyValidator",_kwnames))
764 return NULL;
765 {
766 PyThreadState* __tstate = wxPyBeginAllowThreads();
767 _result = (wxPyValidator *)new_wxPyValidator();
768
769 wxPyEndAllowThreads(__tstate);
770 if (PyErr_Occurred()) return NULL;
771 } if (_result) {
772 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyValidator_p");
773 _resultobj = Py_BuildValue("s",_ptemp);
774 } else {
775 Py_INCREF(Py_None);
776 _resultobj = Py_None;
777 }
778 return _resultobj;
779 }
780
781 #define wxPyValidator__setCallbackInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1,_swigarg2))
782 static PyObject *_wrap_wxPyValidator__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
783 PyObject * _resultobj;
784 wxPyValidator * _arg0;
785 PyObject * _arg1;
786 PyObject * _arg2;
787 int _arg3 = (int ) TRUE;
788 PyObject * _argo0 = 0;
789 PyObject * _obj1 = 0;
790 PyObject * _obj2 = 0;
791 char *_kwnames[] = { "self","self","_class","incref", NULL };
792
793 self = self;
794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|i:wxPyValidator__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2,&_arg3))
795 return NULL;
796 if (_argo0) {
797 if (_argo0 == Py_None) { _arg0 = NULL; }
798 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyValidator_p")) {
799 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyValidator__setCallbackInfo. Expected _wxPyValidator_p.");
800 return NULL;
801 }
802 }
803 {
804 _arg1 = _obj1;
805 }
806 {
807 _arg2 = _obj2;
808 }
809 {
810 PyThreadState* __tstate = wxPyBeginAllowThreads();
811 wxPyValidator__setCallbackInfo(_arg0,_arg1,_arg2,_arg3);
812
813 wxPyEndAllowThreads(__tstate);
814 if (PyErr_Occurred()) return NULL;
815 } Py_INCREF(Py_None);
816 _resultobj = Py_None;
817 return _resultobj;
818 }
819
820 static void *SwigwxWindowTowxEvtHandler(void *ptr) {
821 wxWindow *src;
822 wxEvtHandler *dest;
823 src = (wxWindow *) ptr;
824 dest = (wxEvtHandler *) src;
825 return (void *) dest;
826 }
827
828 static void *SwigwxWindowTowxObject(void *ptr) {
829 wxWindow *src;
830 wxObject *dest;
831 src = (wxWindow *) ptr;
832 dest = (wxObject *) src;
833 return (void *) dest;
834 }
835
836 #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
837 static PyObject *_wrap_new_wxWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
838 PyObject * _resultobj;
839 wxWindow * _result;
840 wxWindow * _arg0;
841 wxWindowID _arg1;
842 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
843 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
844 long _arg4 = (long ) 0;
845 wxString * _arg5 = (wxString *) &wxPyPanelNameStr;
846 PyObject * _argo0 = 0;
847 wxPoint temp;
848 PyObject * _obj2 = 0;
849 wxSize temp0;
850 PyObject * _obj3 = 0;
851 PyObject * _obj5 = 0;
852 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
853 char _ptemp[128];
854
855 self = self;
856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
857 return NULL;
858 if (_argo0) {
859 if (_argo0 == Py_None) { _arg0 = NULL; }
860 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
861 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
862 return NULL;
863 }
864 }
865 if (_obj2)
866 {
867 _arg2 = &temp;
868 if (! wxPoint_helper(_obj2, &_arg2))
869 return NULL;
870 }
871 if (_obj3)
872 {
873 _arg3 = &temp0;
874 if (! wxSize_helper(_obj3, &_arg3))
875 return NULL;
876 }
877 if (_obj5)
878 {
879 _arg5 = wxString_in_helper(_obj5);
880 if (_arg5 == NULL)
881 return NULL;
882 }
883 {
884 PyThreadState* __tstate = wxPyBeginAllowThreads();
885 _result = (wxWindow *)new_wxWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
886
887 wxPyEndAllowThreads(__tstate);
888 if (PyErr_Occurred()) return NULL;
889 } if (_result) {
890 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
891 _resultobj = Py_BuildValue("s",_ptemp);
892 } else {
893 Py_INCREF(Py_None);
894 _resultobj = Py_None;
895 }
896 {
897 if (_obj5)
898 delete _arg5;
899 }
900 return _resultobj;
901 }
902
903 #define new_wxPreWindow() (new wxWindow())
904 static PyObject *_wrap_new_wxPreWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
905 PyObject * _resultobj;
906 wxWindow * _result;
907 char *_kwnames[] = { NULL };
908 char _ptemp[128];
909
910 self = self;
911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreWindow",_kwnames))
912 return NULL;
913 {
914 PyThreadState* __tstate = wxPyBeginAllowThreads();
915 _result = (wxWindow *)new_wxPreWindow();
916
917 wxPyEndAllowThreads(__tstate);
918 if (PyErr_Occurred()) return NULL;
919 } if (_result) {
920 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
921 _resultobj = Py_BuildValue("s",_ptemp);
922 } else {
923 Py_INCREF(Py_None);
924 _resultobj = Py_None;
925 }
926 return _resultobj;
927 }
928
929 #define wxWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
930 static PyObject *_wrap_wxWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
931 PyObject * _resultobj;
932 bool _result;
933 wxWindow * _arg0;
934 wxWindow * _arg1;
935 wxWindowID _arg2;
936 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
937 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
938 long _arg5 = (long ) 0;
939 wxString * _arg6 = (wxString *) &wxPyPanelNameStr;
940 PyObject * _argo0 = 0;
941 PyObject * _argo1 = 0;
942 wxPoint temp;
943 PyObject * _obj3 = 0;
944 wxSize temp0;
945 PyObject * _obj4 = 0;
946 PyObject * _obj6 = 0;
947 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
948
949 self = self;
950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOlO:wxWindow_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
951 return NULL;
952 if (_argo0) {
953 if (_argo0 == Py_None) { _arg0 = NULL; }
954 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
955 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Create. Expected _wxWindow_p.");
956 return NULL;
957 }
958 }
959 if (_argo1) {
960 if (_argo1 == Py_None) { _arg1 = NULL; }
961 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
962 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_Create. Expected _wxWindow_p.");
963 return NULL;
964 }
965 }
966 if (_obj3)
967 {
968 _arg3 = &temp;
969 if (! wxPoint_helper(_obj3, &_arg3))
970 return NULL;
971 }
972 if (_obj4)
973 {
974 _arg4 = &temp0;
975 if (! wxSize_helper(_obj4, &_arg4))
976 return NULL;
977 }
978 if (_obj6)
979 {
980 _arg6 = wxString_in_helper(_obj6);
981 if (_arg6 == NULL)
982 return NULL;
983 }
984 {
985 PyThreadState* __tstate = wxPyBeginAllowThreads();
986 _result = (bool )wxWindow_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
987
988 wxPyEndAllowThreads(__tstate);
989 if (PyErr_Occurred()) return NULL;
990 } _resultobj = Py_BuildValue("i",_result);
991 {
992 if (_obj6)
993 delete _arg6;
994 }
995 return _resultobj;
996 }
997
998 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
999 static PyObject *_wrap_wxWindow_CaptureMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
1000 PyObject * _resultobj;
1001 wxWindow * _arg0;
1002 PyObject * _argo0 = 0;
1003 char *_kwnames[] = { "self", NULL };
1004
1005 self = self;
1006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_CaptureMouse",_kwnames,&_argo0))
1007 return NULL;
1008 if (_argo0) {
1009 if (_argo0 == Py_None) { _arg0 = NULL; }
1010 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1011 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
1012 return NULL;
1013 }
1014 }
1015 {
1016 PyThreadState* __tstate = wxPyBeginAllowThreads();
1017 wxWindow_CaptureMouse(_arg0);
1018
1019 wxPyEndAllowThreads(__tstate);
1020 if (PyErr_Occurred()) return NULL;
1021 } Py_INCREF(Py_None);
1022 _resultobj = Py_None;
1023 return _resultobj;
1024 }
1025
1026 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
1027 static PyObject *_wrap_wxWindow_Center(PyObject *self, PyObject *args, PyObject *kwargs) {
1028 PyObject * _resultobj;
1029 wxWindow * _arg0;
1030 int _arg1 = (int ) wxBOTH;
1031 PyObject * _argo0 = 0;
1032 char *_kwnames[] = { "self","direction", NULL };
1033
1034 self = self;
1035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_Center",_kwnames,&_argo0,&_arg1))
1036 return NULL;
1037 if (_argo0) {
1038 if (_argo0 == Py_None) { _arg0 = NULL; }
1039 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1040 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
1041 return NULL;
1042 }
1043 }
1044 {
1045 PyThreadState* __tstate = wxPyBeginAllowThreads();
1046 wxWindow_Center(_arg0,_arg1);
1047
1048 wxPyEndAllowThreads(__tstate);
1049 if (PyErr_Occurred()) return NULL;
1050 } Py_INCREF(Py_None);
1051 _resultobj = Py_None;
1052 return _resultobj;
1053 }
1054
1055 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
1056 static PyObject *_wrap_wxWindow_Centre(PyObject *self, PyObject *args, PyObject *kwargs) {
1057 PyObject * _resultobj;
1058 wxWindow * _arg0;
1059 int _arg1 = (int ) wxBOTH;
1060 PyObject * _argo0 = 0;
1061 char *_kwnames[] = { "self","direction", NULL };
1062
1063 self = self;
1064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_Centre",_kwnames,&_argo0,&_arg1))
1065 return NULL;
1066 if (_argo0) {
1067 if (_argo0 == Py_None) { _arg0 = NULL; }
1068 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1069 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
1070 return NULL;
1071 }
1072 }
1073 {
1074 PyThreadState* __tstate = wxPyBeginAllowThreads();
1075 wxWindow_Centre(_arg0,_arg1);
1076
1077 wxPyEndAllowThreads(__tstate);
1078 if (PyErr_Occurred()) return NULL;
1079 } Py_INCREF(Py_None);
1080 _resultobj = Py_None;
1081 return _resultobj;
1082 }
1083
1084 #define wxWindow_CentreOnParent(_swigobj,_swigarg0) (_swigobj->CentreOnParent(_swigarg0))
1085 static PyObject *_wrap_wxWindow_CentreOnParent(PyObject *self, PyObject *args, PyObject *kwargs) {
1086 PyObject * _resultobj;
1087 wxWindow * _arg0;
1088 int _arg1 = (int ) wxBOTH;
1089 PyObject * _argo0 = 0;
1090 char *_kwnames[] = { "self","direction", NULL };
1091
1092 self = self;
1093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_CentreOnParent",_kwnames,&_argo0,&_arg1))
1094 return NULL;
1095 if (_argo0) {
1096 if (_argo0 == Py_None) { _arg0 = NULL; }
1097 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1098 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_CentreOnParent. Expected _wxWindow_p.");
1099 return NULL;
1100 }
1101 }
1102 {
1103 PyThreadState* __tstate = wxPyBeginAllowThreads();
1104 wxWindow_CentreOnParent(_arg0,_arg1);
1105
1106 wxPyEndAllowThreads(__tstate);
1107 if (PyErr_Occurred()) return NULL;
1108 } Py_INCREF(Py_None);
1109 _resultobj = Py_None;
1110 return _resultobj;
1111 }
1112
1113 #define wxWindow_CenterOnParent(_swigobj,_swigarg0) (_swigobj->CenterOnParent(_swigarg0))
1114 static PyObject *_wrap_wxWindow_CenterOnParent(PyObject *self, PyObject *args, PyObject *kwargs) {
1115 PyObject * _resultobj;
1116 wxWindow * _arg0;
1117 int _arg1 = (int ) wxBOTH;
1118 PyObject * _argo0 = 0;
1119 char *_kwnames[] = { "self","direction", NULL };
1120
1121 self = self;
1122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_CenterOnParent",_kwnames,&_argo0,&_arg1))
1123 return NULL;
1124 if (_argo0) {
1125 if (_argo0 == Py_None) { _arg0 = NULL; }
1126 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1127 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_CenterOnParent. Expected _wxWindow_p.");
1128 return NULL;
1129 }
1130 }
1131 {
1132 PyThreadState* __tstate = wxPyBeginAllowThreads();
1133 wxWindow_CenterOnParent(_arg0,_arg1);
1134
1135 wxPyEndAllowThreads(__tstate);
1136 if (PyErr_Occurred()) return NULL;
1137 } Py_INCREF(Py_None);
1138 _resultobj = Py_None;
1139 return _resultobj;
1140 }
1141
1142 #define wxWindow_CentreOnScreen(_swigobj,_swigarg0) (_swigobj->CentreOnScreen(_swigarg0))
1143 static PyObject *_wrap_wxWindow_CentreOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
1144 PyObject * _resultobj;
1145 wxWindow * _arg0;
1146 int _arg1 = (int ) wxBOTH;
1147 PyObject * _argo0 = 0;
1148 char *_kwnames[] = { "self","direction", NULL };
1149
1150 self = self;
1151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_CentreOnScreen",_kwnames,&_argo0,&_arg1))
1152 return NULL;
1153 if (_argo0) {
1154 if (_argo0 == Py_None) { _arg0 = NULL; }
1155 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1156 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_CentreOnScreen. Expected _wxWindow_p.");
1157 return NULL;
1158 }
1159 }
1160 {
1161 PyThreadState* __tstate = wxPyBeginAllowThreads();
1162 wxWindow_CentreOnScreen(_arg0,_arg1);
1163
1164 wxPyEndAllowThreads(__tstate);
1165 if (PyErr_Occurred()) return NULL;
1166 } Py_INCREF(Py_None);
1167 _resultobj = Py_None;
1168 return _resultobj;
1169 }
1170
1171 #define wxWindow_CenterOnScreen(_swigobj,_swigarg0) (_swigobj->CenterOnScreen(_swigarg0))
1172 static PyObject *_wrap_wxWindow_CenterOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
1173 PyObject * _resultobj;
1174 wxWindow * _arg0;
1175 int _arg1 = (int ) wxBOTH;
1176 PyObject * _argo0 = 0;
1177 char *_kwnames[] = { "self","direction", NULL };
1178
1179 self = self;
1180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_CenterOnScreen",_kwnames,&_argo0,&_arg1))
1181 return NULL;
1182 if (_argo0) {
1183 if (_argo0 == Py_None) { _arg0 = NULL; }
1184 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1185 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_CenterOnScreen. Expected _wxWindow_p.");
1186 return NULL;
1187 }
1188 }
1189 {
1190 PyThreadState* __tstate = wxPyBeginAllowThreads();
1191 wxWindow_CenterOnScreen(_arg0,_arg1);
1192
1193 wxPyEndAllowThreads(__tstate);
1194 if (PyErr_Occurred()) return NULL;
1195 } Py_INCREF(Py_None);
1196 _resultobj = Py_None;
1197 return _resultobj;
1198 }
1199
1200 #define wxWindow_Clear(_swigobj) (_swigobj->Clear())
1201 static PyObject *_wrap_wxWindow_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
1202 PyObject * _resultobj;
1203 wxWindow * _arg0;
1204 PyObject * _argo0 = 0;
1205 char *_kwnames[] = { "self", NULL };
1206
1207 self = self;
1208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Clear",_kwnames,&_argo0))
1209 return NULL;
1210 if (_argo0) {
1211 if (_argo0 == Py_None) { _arg0 = NULL; }
1212 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1213 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Clear. Expected _wxWindow_p.");
1214 return NULL;
1215 }
1216 }
1217 {
1218 PyThreadState* __tstate = wxPyBeginAllowThreads();
1219 wxWindow_Clear(_arg0);
1220
1221 wxPyEndAllowThreads(__tstate);
1222 if (PyErr_Occurred()) return NULL;
1223 } Py_INCREF(Py_None);
1224 _resultobj = Py_None;
1225 return _resultobj;
1226 }
1227
1228 #define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
1229 static PyObject *_wrap_wxWindow_ClientToScreenXY(PyObject *self, PyObject *args, PyObject *kwargs) {
1230 PyObject * _resultobj;
1231 wxWindow * _arg0;
1232 int * _arg1;
1233 int * _arg2;
1234 PyObject * _argo0 = 0;
1235 int temp;
1236 PyObject * _obj1 = 0;
1237 int temp0;
1238 PyObject * _obj2 = 0;
1239 char *_kwnames[] = { "self","x","y", NULL };
1240
1241 self = self;
1242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxWindow_ClientToScreenXY",_kwnames,&_argo0,&_obj1,&_obj2))
1243 return NULL;
1244 if (_argo0) {
1245 if (_argo0 == Py_None) { _arg0 = NULL; }
1246 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1247 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
1248 return NULL;
1249 }
1250 }
1251 {
1252 temp = (int) PyInt_AsLong(_obj1);
1253 _arg1 = &temp;
1254 }
1255 {
1256 temp0 = (int) PyInt_AsLong(_obj2);
1257 _arg2 = &temp0;
1258 }
1259 {
1260 PyThreadState* __tstate = wxPyBeginAllowThreads();
1261 wxWindow_ClientToScreenXY(_arg0,_arg1,_arg2);
1262
1263 wxPyEndAllowThreads(__tstate);
1264 if (PyErr_Occurred()) return NULL;
1265 } Py_INCREF(Py_None);
1266 _resultobj = Py_None;
1267 {
1268 PyObject *o;
1269 o = PyInt_FromLong((long) (*_arg1));
1270 _resultobj = t_output_helper(_resultobj, o);
1271 }
1272 {
1273 PyObject *o;
1274 o = PyInt_FromLong((long) (*_arg2));
1275 _resultobj = t_output_helper(_resultobj, o);
1276 }
1277 return _resultobj;
1278 }
1279
1280 #define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
1281 static PyObject *_wrap_wxWindow_ClientToScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
1282 PyObject * _resultobj;
1283 wxPoint * _result;
1284 wxWindow * _arg0;
1285 wxPoint * _arg1;
1286 PyObject * _argo0 = 0;
1287 wxPoint temp;
1288 PyObject * _obj1 = 0;
1289 char *_kwnames[] = { "self","pt", NULL };
1290 char _ptemp[128];
1291
1292 self = self;
1293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ClientToScreen",_kwnames,&_argo0,&_obj1))
1294 return NULL;
1295 if (_argo0) {
1296 if (_argo0 == Py_None) { _arg0 = NULL; }
1297 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1298 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
1299 return NULL;
1300 }
1301 }
1302 {
1303 _arg1 = &temp;
1304 if (! wxPoint_helper(_obj1, &_arg1))
1305 return NULL;
1306 }
1307 {
1308 PyThreadState* __tstate = wxPyBeginAllowThreads();
1309 _result = new wxPoint (wxWindow_ClientToScreen(_arg0,*_arg1));
1310
1311 wxPyEndAllowThreads(__tstate);
1312 if (PyErr_Occurred()) return NULL;
1313 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
1314 _resultobj = Py_BuildValue("s",_ptemp);
1315 return _resultobj;
1316 }
1317
1318 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
1319 static PyObject *_wrap_wxWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
1320 PyObject * _resultobj;
1321 bool _result;
1322 wxWindow * _arg0;
1323 int _arg1 = (int ) FALSE;
1324 PyObject * _argo0 = 0;
1325 char *_kwnames[] = { "self","force", NULL };
1326
1327 self = self;
1328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_Close",_kwnames,&_argo0,&_arg1))
1329 return NULL;
1330 if (_argo0) {
1331 if (_argo0 == Py_None) { _arg0 = NULL; }
1332 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1333 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
1334 return NULL;
1335 }
1336 }
1337 {
1338 PyThreadState* __tstate = wxPyBeginAllowThreads();
1339 _result = (bool )wxWindow_Close(_arg0,_arg1);
1340
1341 wxPyEndAllowThreads(__tstate);
1342 if (PyErr_Occurred()) return NULL;
1343 } _resultobj = Py_BuildValue("i",_result);
1344 return _resultobj;
1345 }
1346
1347 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
1348 static PyObject *_wrap_wxWindow_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
1349 PyObject * _resultobj;
1350 bool _result;
1351 wxWindow * _arg0;
1352 PyObject * _argo0 = 0;
1353 char *_kwnames[] = { "self", NULL };
1354
1355 self = self;
1356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Destroy",_kwnames,&_argo0))
1357 return NULL;
1358 if (_argo0) {
1359 if (_argo0 == Py_None) { _arg0 = NULL; }
1360 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1361 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
1362 return NULL;
1363 }
1364 }
1365 {
1366 PyThreadState* __tstate = wxPyBeginAllowThreads();
1367 _result = (bool )wxWindow_Destroy(_arg0);
1368
1369 wxPyEndAllowThreads(__tstate);
1370 if (PyErr_Occurred()) return NULL;
1371 } _resultobj = Py_BuildValue("i",_result);
1372 return _resultobj;
1373 }
1374
1375 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
1376 static PyObject *_wrap_wxWindow_DestroyChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
1377 PyObject * _resultobj;
1378 wxWindow * _arg0;
1379 PyObject * _argo0 = 0;
1380 char *_kwnames[] = { "self", NULL };
1381
1382 self = self;
1383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_DestroyChildren",_kwnames,&_argo0))
1384 return NULL;
1385 if (_argo0) {
1386 if (_argo0 == Py_None) { _arg0 = NULL; }
1387 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1388 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
1389 return NULL;
1390 }
1391 }
1392 {
1393 PyThreadState* __tstate = wxPyBeginAllowThreads();
1394 wxWindow_DestroyChildren(_arg0);
1395
1396 wxPyEndAllowThreads(__tstate);
1397 if (PyErr_Occurred()) return NULL;
1398 } Py_INCREF(Py_None);
1399 _resultobj = Py_None;
1400 return _resultobj;
1401 }
1402
1403 #define wxWindow_IsBeingDeleted(_swigobj) (_swigobj->IsBeingDeleted())
1404 static PyObject *_wrap_wxWindow_IsBeingDeleted(PyObject *self, PyObject *args, PyObject *kwargs) {
1405 PyObject * _resultobj;
1406 bool _result;
1407 wxWindow * _arg0;
1408 PyObject * _argo0 = 0;
1409 char *_kwnames[] = { "self", NULL };
1410
1411 self = self;
1412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_IsBeingDeleted",_kwnames,&_argo0))
1413 return NULL;
1414 if (_argo0) {
1415 if (_argo0 == Py_None) { _arg0 = NULL; }
1416 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1417 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsBeingDeleted. Expected _wxWindow_p.");
1418 return NULL;
1419 }
1420 }
1421 {
1422 PyThreadState* __tstate = wxPyBeginAllowThreads();
1423 _result = (bool )wxWindow_IsBeingDeleted(_arg0);
1424
1425 wxPyEndAllowThreads(__tstate);
1426 if (PyErr_Occurred()) return NULL;
1427 } _resultobj = Py_BuildValue("i",_result);
1428 return _resultobj;
1429 }
1430
1431 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
1432 static PyObject *_wrap_wxWindow_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
1433 PyObject * _resultobj;
1434 wxWindow * _arg0;
1435 bool _arg1;
1436 PyObject * _argo0 = 0;
1437 int tempbool1;
1438 char *_kwnames[] = { "self","enable", NULL };
1439
1440 self = self;
1441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_Enable",_kwnames,&_argo0,&tempbool1))
1442 return NULL;
1443 if (_argo0) {
1444 if (_argo0 == Py_None) { _arg0 = NULL; }
1445 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1446 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
1447 return NULL;
1448 }
1449 }
1450 _arg1 = (bool ) tempbool1;
1451 {
1452 PyThreadState* __tstate = wxPyBeginAllowThreads();
1453 wxWindow_Enable(_arg0,_arg1);
1454
1455 wxPyEndAllowThreads(__tstate);
1456 if (PyErr_Occurred()) return NULL;
1457 } Py_INCREF(Py_None);
1458 _resultobj = Py_None;
1459 return _resultobj;
1460 }
1461
1462 #define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1463 static PyObject *_wrap_wxWindow_FindWindowById(PyObject *self, PyObject *args, PyObject *kwargs) {
1464 PyObject * _resultobj;
1465 wxWindow * _result;
1466 wxWindow * _arg0;
1467 long _arg1;
1468 PyObject * _argo0 = 0;
1469 char *_kwnames[] = { "self","id", NULL };
1470
1471 self = self;
1472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxWindow_FindWindowById",_kwnames,&_argo0,&_arg1))
1473 return NULL;
1474 if (_argo0) {
1475 if (_argo0 == Py_None) { _arg0 = NULL; }
1476 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1477 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
1478 return NULL;
1479 }
1480 }
1481 {
1482 PyThreadState* __tstate = wxPyBeginAllowThreads();
1483 _result = (wxWindow *)wxWindow_FindWindowById(_arg0,_arg1);
1484
1485 wxPyEndAllowThreads(__tstate);
1486 if (PyErr_Occurred()) return NULL;
1487 }{ _resultobj = wxPyMake_wxObject(_result); }
1488 return _resultobj;
1489 }
1490
1491 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1492 static PyObject *_wrap_wxWindow_FindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
1493 PyObject * _resultobj;
1494 wxWindow * _result;
1495 wxWindow * _arg0;
1496 wxString * _arg1;
1497 PyObject * _argo0 = 0;
1498 PyObject * _obj1 = 0;
1499 char *_kwnames[] = { "self","name", NULL };
1500
1501 self = self;
1502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_FindWindowByName",_kwnames,&_argo0,&_obj1))
1503 return NULL;
1504 if (_argo0) {
1505 if (_argo0 == Py_None) { _arg0 = NULL; }
1506 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1507 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
1508 return NULL;
1509 }
1510 }
1511 {
1512 _arg1 = wxString_in_helper(_obj1);
1513 if (_arg1 == NULL)
1514 return NULL;
1515 }
1516 {
1517 PyThreadState* __tstate = wxPyBeginAllowThreads();
1518 _result = (wxWindow *)wxWindow_FindWindowByName(_arg0,*_arg1);
1519
1520 wxPyEndAllowThreads(__tstate);
1521 if (PyErr_Occurred()) return NULL;
1522 }{ _resultobj = wxPyMake_wxObject(_result); }
1523 {
1524 if (_obj1)
1525 delete _arg1;
1526 }
1527 return _resultobj;
1528 }
1529
1530 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
1531 static PyObject *_wrap_wxWindow_Fit(PyObject *self, PyObject *args, PyObject *kwargs) {
1532 PyObject * _resultobj;
1533 wxWindow * _arg0;
1534 PyObject * _argo0 = 0;
1535 char *_kwnames[] = { "self", NULL };
1536
1537 self = self;
1538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Fit",_kwnames,&_argo0))
1539 return NULL;
1540 if (_argo0) {
1541 if (_argo0 == Py_None) { _arg0 = NULL; }
1542 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1543 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
1544 return NULL;
1545 }
1546 }
1547 {
1548 PyThreadState* __tstate = wxPyBeginAllowThreads();
1549 wxWindow_Fit(_arg0);
1550
1551 wxPyEndAllowThreads(__tstate);
1552 if (PyErr_Occurred()) return NULL;
1553 } Py_INCREF(Py_None);
1554 _resultobj = Py_None;
1555 return _resultobj;
1556 }
1557
1558 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1559 static PyObject *_wrap_wxWindow_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1560 PyObject * _resultobj;
1561 wxColour * _result;
1562 wxWindow * _arg0;
1563 PyObject * _argo0 = 0;
1564 char *_kwnames[] = { "self", NULL };
1565 char _ptemp[128];
1566
1567 self = self;
1568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetBackgroundColour",_kwnames,&_argo0))
1569 return NULL;
1570 if (_argo0) {
1571 if (_argo0 == Py_None) { _arg0 = NULL; }
1572 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1573 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
1574 return NULL;
1575 }
1576 }
1577 {
1578 PyThreadState* __tstate = wxPyBeginAllowThreads();
1579 _result = new wxColour (wxWindow_GetBackgroundColour(_arg0));
1580
1581 wxPyEndAllowThreads(__tstate);
1582 if (PyErr_Occurred()) return NULL;
1583 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
1584 _resultobj = Py_BuildValue("s",_ptemp);
1585 return _resultobj;
1586 }
1587
1588 #define wxWindow_GetBorder(_swigobj) (_swigobj->GetBorder())
1589 static PyObject *_wrap_wxWindow_GetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
1590 PyObject * _resultobj;
1591 wxBorder _result;
1592 wxWindow * _arg0;
1593 PyObject * _argo0 = 0;
1594 char *_kwnames[] = { "self", NULL };
1595
1596 self = self;
1597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetBorder",_kwnames,&_argo0))
1598 return NULL;
1599 if (_argo0) {
1600 if (_argo0 == Py_None) { _arg0 = NULL; }
1601 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1602 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetBorder. Expected _wxWindow_p.");
1603 return NULL;
1604 }
1605 }
1606 {
1607 PyThreadState* __tstate = wxPyBeginAllowThreads();
1608 _result = (wxBorder )wxWindow_GetBorder(_arg0);
1609
1610 wxPyEndAllowThreads(__tstate);
1611 if (PyErr_Occurred()) return NULL;
1612 } _resultobj = Py_BuildValue("i",_result);
1613 return _resultobj;
1614 }
1615
1616 static PyObject * wxWindow_GetChildren(wxWindow *self) {
1617 wxWindowList& list = self->GetChildren();
1618 return wxPy_ConvertList(&list, "wxWindow");
1619 }
1620 static PyObject *_wrap_wxWindow_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
1621 PyObject * _resultobj;
1622 PyObject * _result;
1623 wxWindow * _arg0;
1624 PyObject * _argo0 = 0;
1625 char *_kwnames[] = { "self", NULL };
1626
1627 self = self;
1628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetChildren",_kwnames,&_argo0))
1629 return NULL;
1630 if (_argo0) {
1631 if (_argo0 == Py_None) { _arg0 = NULL; }
1632 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1633 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetChildren. Expected _wxWindow_p.");
1634 return NULL;
1635 }
1636 }
1637 {
1638 PyThreadState* __tstate = wxPyBeginAllowThreads();
1639 _result = (PyObject *)wxWindow_GetChildren(_arg0);
1640
1641 wxPyEndAllowThreads(__tstate);
1642 if (PyErr_Occurred()) return NULL;
1643 }{
1644 _resultobj = _result;
1645 }
1646 return _resultobj;
1647 }
1648
1649 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1650 static PyObject *_wrap_wxWindow_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
1651 PyObject * _resultobj;
1652 int _result;
1653 wxWindow * _arg0;
1654 PyObject * _argo0 = 0;
1655 char *_kwnames[] = { "self", NULL };
1656
1657 self = self;
1658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetCharHeight",_kwnames,&_argo0))
1659 return NULL;
1660 if (_argo0) {
1661 if (_argo0 == Py_None) { _arg0 = NULL; }
1662 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1663 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
1664 return NULL;
1665 }
1666 }
1667 {
1668 PyThreadState* __tstate = wxPyBeginAllowThreads();
1669 _result = (int )wxWindow_GetCharHeight(_arg0);
1670
1671 wxPyEndAllowThreads(__tstate);
1672 if (PyErr_Occurred()) return NULL;
1673 } _resultobj = Py_BuildValue("i",_result);
1674 return _resultobj;
1675 }
1676
1677 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1678 static PyObject *_wrap_wxWindow_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1679 PyObject * _resultobj;
1680 int _result;
1681 wxWindow * _arg0;
1682 PyObject * _argo0 = 0;
1683 char *_kwnames[] = { "self", NULL };
1684
1685 self = self;
1686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetCharWidth",_kwnames,&_argo0))
1687 return NULL;
1688 if (_argo0) {
1689 if (_argo0 == Py_None) { _arg0 = NULL; }
1690 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1691 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
1692 return NULL;
1693 }
1694 }
1695 {
1696 PyThreadState* __tstate = wxPyBeginAllowThreads();
1697 _result = (int )wxWindow_GetCharWidth(_arg0);
1698
1699 wxPyEndAllowThreads(__tstate);
1700 if (PyErr_Occurred()) return NULL;
1701 } _resultobj = Py_BuildValue("i",_result);
1702 return _resultobj;
1703 }
1704
1705 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
1706 static PyObject *_wrap_wxWindow_GetClientSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
1707 PyObject * _resultobj;
1708 wxWindow * _arg0;
1709 int * _arg1;
1710 int temp;
1711 int * _arg2;
1712 int temp0;
1713 PyObject * _argo0 = 0;
1714 char *_kwnames[] = { "self", NULL };
1715
1716 self = self;
1717 {
1718 _arg1 = &temp;
1719 }
1720 {
1721 _arg2 = &temp0;
1722 }
1723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetClientSizeTuple",_kwnames,&_argo0))
1724 return NULL;
1725 if (_argo0) {
1726 if (_argo0 == Py_None) { _arg0 = NULL; }
1727 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1728 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
1729 return NULL;
1730 }
1731 }
1732 {
1733 PyThreadState* __tstate = wxPyBeginAllowThreads();
1734 wxWindow_GetClientSizeTuple(_arg0,_arg1,_arg2);
1735
1736 wxPyEndAllowThreads(__tstate);
1737 if (PyErr_Occurred()) return NULL;
1738 } Py_INCREF(Py_None);
1739 _resultobj = Py_None;
1740 {
1741 PyObject *o;
1742 o = PyInt_FromLong((long) (*_arg1));
1743 _resultobj = t_output_helper(_resultobj, o);
1744 }
1745 {
1746 PyObject *o;
1747 o = PyInt_FromLong((long) (*_arg2));
1748 _resultobj = t_output_helper(_resultobj, o);
1749 }
1750 return _resultobj;
1751 }
1752
1753 #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
1754 static PyObject *_wrap_wxWindow_GetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1755 PyObject * _resultobj;
1756 wxSize * _result;
1757 wxWindow * _arg0;
1758 PyObject * _argo0 = 0;
1759 char *_kwnames[] = { "self", NULL };
1760 char _ptemp[128];
1761
1762 self = self;
1763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetClientSize",_kwnames,&_argo0))
1764 return NULL;
1765 if (_argo0) {
1766 if (_argo0 == Py_None) { _arg0 = NULL; }
1767 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1768 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
1769 return NULL;
1770 }
1771 }
1772 {
1773 PyThreadState* __tstate = wxPyBeginAllowThreads();
1774 _result = new wxSize (wxWindow_GetClientSize(_arg0));
1775
1776 wxPyEndAllowThreads(__tstate);
1777 if (PyErr_Occurred()) return NULL;
1778 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1779 _resultobj = Py_BuildValue("s",_ptemp);
1780 return _resultobj;
1781 }
1782
1783 #define wxWindow_GetClientAreaOrigin(_swigobj) (_swigobj->GetClientAreaOrigin())
1784 static PyObject *_wrap_wxWindow_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
1785 PyObject * _resultobj;
1786 wxPoint * _result;
1787 wxWindow * _arg0;
1788 PyObject * _argo0 = 0;
1789 char *_kwnames[] = { "self", NULL };
1790 char _ptemp[128];
1791
1792 self = self;
1793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetClientAreaOrigin",_kwnames,&_argo0))
1794 return NULL;
1795 if (_argo0) {
1796 if (_argo0 == Py_None) { _arg0 = NULL; }
1797 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1798 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetClientAreaOrigin. Expected _wxWindow_p.");
1799 return NULL;
1800 }
1801 }
1802 {
1803 PyThreadState* __tstate = wxPyBeginAllowThreads();
1804 _result = new wxPoint (wxWindow_GetClientAreaOrigin(_arg0));
1805
1806 wxPyEndAllowThreads(__tstate);
1807 if (PyErr_Occurred()) return NULL;
1808 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
1809 _resultobj = Py_BuildValue("s",_ptemp);
1810 return _resultobj;
1811 }
1812
1813 #define wxWindow_GetClientRect(_swigobj) (_swigobj->GetClientRect())
1814 static PyObject *_wrap_wxWindow_GetClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
1815 PyObject * _resultobj;
1816 wxRect * _result;
1817 wxWindow * _arg0;
1818 PyObject * _argo0 = 0;
1819 char *_kwnames[] = { "self", NULL };
1820 char _ptemp[128];
1821
1822 self = self;
1823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetClientRect",_kwnames,&_argo0))
1824 return NULL;
1825 if (_argo0) {
1826 if (_argo0 == Py_None) { _arg0 = NULL; }
1827 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1828 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetClientRect. Expected _wxWindow_p.");
1829 return NULL;
1830 }
1831 }
1832 {
1833 PyThreadState* __tstate = wxPyBeginAllowThreads();
1834 _result = new wxRect (wxWindow_GetClientRect(_arg0));
1835
1836 wxPyEndAllowThreads(__tstate);
1837 if (PyErr_Occurred()) return NULL;
1838 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
1839 _resultobj = Py_BuildValue("s",_ptemp);
1840 return _resultobj;
1841 }
1842
1843 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
1844 static PyObject *_wrap_wxWindow_GetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
1845 PyObject * _resultobj;
1846 wxLayoutConstraints * _result;
1847 wxWindow * _arg0;
1848 PyObject * _argo0 = 0;
1849 char *_kwnames[] = { "self", NULL };
1850 char _ptemp[128];
1851
1852 self = self;
1853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetConstraints",_kwnames,&_argo0))
1854 return NULL;
1855 if (_argo0) {
1856 if (_argo0 == Py_None) { _arg0 = NULL; }
1857 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1858 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
1859 return NULL;
1860 }
1861 }
1862 {
1863 PyThreadState* __tstate = wxPyBeginAllowThreads();
1864 _result = (wxLayoutConstraints *)wxWindow_GetConstraints(_arg0);
1865
1866 wxPyEndAllowThreads(__tstate);
1867 if (PyErr_Occurred()) return NULL;
1868 } if (_result) {
1869 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLayoutConstraints_p");
1870 _resultobj = Py_BuildValue("s",_ptemp);
1871 } else {
1872 Py_INCREF(Py_None);
1873 _resultobj = Py_None;
1874 }
1875 return _resultobj;
1876 }
1877
1878 #define wxWindow_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
1879 static PyObject *_wrap_wxWindow_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
1880 PyObject * _resultobj;
1881 wxEvtHandler * _result;
1882 wxWindow * _arg0;
1883 PyObject * _argo0 = 0;
1884 char *_kwnames[] = { "self", NULL };
1885
1886 self = self;
1887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetEventHandler",_kwnames,&_argo0))
1888 return NULL;
1889 if (_argo0) {
1890 if (_argo0 == Py_None) { _arg0 = NULL; }
1891 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1892 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetEventHandler. Expected _wxWindow_p.");
1893 return NULL;
1894 }
1895 }
1896 {
1897 PyThreadState* __tstate = wxPyBeginAllowThreads();
1898 _result = (wxEvtHandler *)wxWindow_GetEventHandler(_arg0);
1899
1900 wxPyEndAllowThreads(__tstate);
1901 if (PyErr_Occurred()) return NULL;
1902 }{ _resultobj = wxPyMake_wxObject(_result); }
1903 return _resultobj;
1904 }
1905
1906 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
1907 static PyObject *_wrap_wxWindow_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1908 PyObject * _resultobj;
1909 wxFont * _result;
1910 wxWindow * _arg0;
1911 PyObject * _argo0 = 0;
1912 char *_kwnames[] = { "self", NULL };
1913 char _ptemp[128];
1914
1915 self = self;
1916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetFont",_kwnames,&_argo0))
1917 return NULL;
1918 if (_argo0) {
1919 if (_argo0 == Py_None) { _arg0 = NULL; }
1920 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1921 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
1922 return NULL;
1923 }
1924 }
1925 {
1926 PyThreadState* __tstate = wxPyBeginAllowThreads();
1927 _result = new wxFont (wxWindow_GetFont(_arg0));
1928
1929 wxPyEndAllowThreads(__tstate);
1930 if (PyErr_Occurred()) return NULL;
1931 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
1932 _resultobj = Py_BuildValue("s",_ptemp);
1933 return _resultobj;
1934 }
1935
1936 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
1937 static PyObject *_wrap_wxWindow_GetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1938 PyObject * _resultobj;
1939 wxColour * _result;
1940 wxWindow * _arg0;
1941 PyObject * _argo0 = 0;
1942 char *_kwnames[] = { "self", NULL };
1943 char _ptemp[128];
1944
1945 self = self;
1946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetForegroundColour",_kwnames,&_argo0))
1947 return NULL;
1948 if (_argo0) {
1949 if (_argo0 == Py_None) { _arg0 = NULL; }
1950 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1951 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
1952 return NULL;
1953 }
1954 }
1955 {
1956 PyThreadState* __tstate = wxPyBeginAllowThreads();
1957 _result = new wxColour (wxWindow_GetForegroundColour(_arg0));
1958
1959 wxPyEndAllowThreads(__tstate);
1960 if (PyErr_Occurred()) return NULL;
1961 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
1962 _resultobj = Py_BuildValue("s",_ptemp);
1963 return _resultobj;
1964 }
1965
1966 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
1967 static PyObject *_wrap_wxWindow_GetGrandParent(PyObject *self, PyObject *args, PyObject *kwargs) {
1968 PyObject * _resultobj;
1969 wxWindow * _result;
1970 wxWindow * _arg0;
1971 PyObject * _argo0 = 0;
1972 char *_kwnames[] = { "self", NULL };
1973
1974 self = self;
1975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetGrandParent",_kwnames,&_argo0))
1976 return NULL;
1977 if (_argo0) {
1978 if (_argo0 == Py_None) { _arg0 = NULL; }
1979 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1980 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
1981 return NULL;
1982 }
1983 }
1984 {
1985 PyThreadState* __tstate = wxPyBeginAllowThreads();
1986 _result = (wxWindow *)wxWindow_GetGrandParent(_arg0);
1987
1988 wxPyEndAllowThreads(__tstate);
1989 if (PyErr_Occurred()) return NULL;
1990 }{ _resultobj = wxPyMake_wxObject(_result); }
1991 return _resultobj;
1992 }
1993
1994 static long wxWindow_GetHandle(wxWindow *self) {
1995 return wxPyGetWinHandle(self); //(long)self->GetHandle();
1996 }
1997 static PyObject *_wrap_wxWindow_GetHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
1998 PyObject * _resultobj;
1999 long _result;
2000 wxWindow * _arg0;
2001 PyObject * _argo0 = 0;
2002 char *_kwnames[] = { "self", NULL };
2003
2004 self = self;
2005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetHandle",_kwnames,&_argo0))
2006 return NULL;
2007 if (_argo0) {
2008 if (_argo0 == Py_None) { _arg0 = NULL; }
2009 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2010 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetHandle. Expected _wxWindow_p.");
2011 return NULL;
2012 }
2013 }
2014 {
2015 PyThreadState* __tstate = wxPyBeginAllowThreads();
2016 _result = (long )wxWindow_GetHandle(_arg0);
2017
2018 wxPyEndAllowThreads(__tstate);
2019 if (PyErr_Occurred()) return NULL;
2020 } _resultobj = Py_BuildValue("l",_result);
2021 return _resultobj;
2022 }
2023
2024 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
2025 static PyObject *_wrap_wxWindow_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
2026 PyObject * _resultobj;
2027 int _result;
2028 wxWindow * _arg0;
2029 PyObject * _argo0 = 0;
2030 char *_kwnames[] = { "self", NULL };
2031
2032 self = self;
2033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetId",_kwnames,&_argo0))
2034 return NULL;
2035 if (_argo0) {
2036 if (_argo0 == Py_None) { _arg0 = NULL; }
2037 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2038 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
2039 return NULL;
2040 }
2041 }
2042 {
2043 PyThreadState* __tstate = wxPyBeginAllowThreads();
2044 _result = (int )wxWindow_GetId(_arg0);
2045
2046 wxPyEndAllowThreads(__tstate);
2047 if (PyErr_Occurred()) return NULL;
2048 } _resultobj = Py_BuildValue("i",_result);
2049 return _resultobj;
2050 }
2051
2052 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
2053 static PyObject *_wrap_wxWindow_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
2054 PyObject * _resultobj;
2055 wxString * _result;
2056 wxWindow * _arg0;
2057 PyObject * _argo0 = 0;
2058 char *_kwnames[] = { "self", NULL };
2059
2060 self = self;
2061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetLabel",_kwnames,&_argo0))
2062 return NULL;
2063 if (_argo0) {
2064 if (_argo0 == Py_None) { _arg0 = NULL; }
2065 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2066 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
2067 return NULL;
2068 }
2069 }
2070 {
2071 PyThreadState* __tstate = wxPyBeginAllowThreads();
2072 _result = new wxString (wxWindow_GetLabel(_arg0));
2073
2074 wxPyEndAllowThreads(__tstate);
2075 if (PyErr_Occurred()) return NULL;
2076 }{
2077 #if wxUSE_UNICODE
2078 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
2079 #else
2080 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
2081 #endif
2082 }
2083 {
2084 delete _result;
2085 }
2086 return _resultobj;
2087 }
2088
2089 #define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
2090 static PyObject *_wrap_wxWindow_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
2091 PyObject * _resultobj;
2092 wxWindow * _arg0;
2093 wxString * _arg1;
2094 PyObject * _argo0 = 0;
2095 PyObject * _obj1 = 0;
2096 char *_kwnames[] = { "self","label", NULL };
2097
2098 self = self;
2099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetLabel",_kwnames,&_argo0,&_obj1))
2100 return NULL;
2101 if (_argo0) {
2102 if (_argo0 == Py_None) { _arg0 = NULL; }
2103 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2104 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
2105 return NULL;
2106 }
2107 }
2108 {
2109 _arg1 = wxString_in_helper(_obj1);
2110 if (_arg1 == NULL)
2111 return NULL;
2112 }
2113 {
2114 PyThreadState* __tstate = wxPyBeginAllowThreads();
2115 wxWindow_SetLabel(_arg0,*_arg1);
2116
2117 wxPyEndAllowThreads(__tstate);
2118 if (PyErr_Occurred()) return NULL;
2119 } Py_INCREF(Py_None);
2120 _resultobj = Py_None;
2121 {
2122 if (_obj1)
2123 delete _arg1;
2124 }
2125 return _resultobj;
2126 }
2127
2128 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
2129 static PyObject *_wrap_wxWindow_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
2130 PyObject * _resultobj;
2131 wxString * _result;
2132 wxWindow * _arg0;
2133 PyObject * _argo0 = 0;
2134 char *_kwnames[] = { "self", NULL };
2135
2136 self = self;
2137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetName",_kwnames,&_argo0))
2138 return NULL;
2139 if (_argo0) {
2140 if (_argo0 == Py_None) { _arg0 = NULL; }
2141 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2142 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
2143 return NULL;
2144 }
2145 }
2146 {
2147 PyThreadState* __tstate = wxPyBeginAllowThreads();
2148 _result = new wxString (wxWindow_GetName(_arg0));
2149
2150 wxPyEndAllowThreads(__tstate);
2151 if (PyErr_Occurred()) return NULL;
2152 }{
2153 #if wxUSE_UNICODE
2154 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
2155 #else
2156 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
2157 #endif
2158 }
2159 {
2160 delete _result;
2161 }
2162 return _resultobj;
2163 }
2164
2165 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
2166 static PyObject *_wrap_wxWindow_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
2167 PyObject * _resultobj;
2168 wxWindow * _result;
2169 wxWindow * _arg0;
2170 PyObject * _argo0 = 0;
2171 char *_kwnames[] = { "self", NULL };
2172
2173 self = self;
2174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetParent",_kwnames,&_argo0))
2175 return NULL;
2176 if (_argo0) {
2177 if (_argo0 == Py_None) { _arg0 = NULL; }
2178 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2179 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
2180 return NULL;
2181 }
2182 }
2183 {
2184 PyThreadState* __tstate = wxPyBeginAllowThreads();
2185 _result = (wxWindow *)wxWindow_GetParent(_arg0);
2186
2187 wxPyEndAllowThreads(__tstate);
2188 if (PyErr_Occurred()) return NULL;
2189 }{ _resultobj = wxPyMake_wxObject(_result); }
2190 return _resultobj;
2191 }
2192
2193 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2194 static PyObject *_wrap_wxWindow_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
2195 PyObject * _resultobj;
2196 wxWindow * _arg0;
2197 int * _arg1;
2198 int temp;
2199 int * _arg2;
2200 int temp0;
2201 PyObject * _argo0 = 0;
2202 char *_kwnames[] = { "self", NULL };
2203
2204 self = self;
2205 {
2206 _arg1 = &temp;
2207 }
2208 {
2209 _arg2 = &temp0;
2210 }
2211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetPositionTuple",_kwnames,&_argo0))
2212 return NULL;
2213 if (_argo0) {
2214 if (_argo0 == Py_None) { _arg0 = NULL; }
2215 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2216 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
2217 return NULL;
2218 }
2219 }
2220 {
2221 PyThreadState* __tstate = wxPyBeginAllowThreads();
2222 wxWindow_GetPositionTuple(_arg0,_arg1,_arg2);
2223
2224 wxPyEndAllowThreads(__tstate);
2225 if (PyErr_Occurred()) return NULL;
2226 } Py_INCREF(Py_None);
2227 _resultobj = Py_None;
2228 {
2229 PyObject *o;
2230 o = PyInt_FromLong((long) (*_arg1));
2231 _resultobj = t_output_helper(_resultobj, o);
2232 }
2233 {
2234 PyObject *o;
2235 o = PyInt_FromLong((long) (*_arg2));
2236 _resultobj = t_output_helper(_resultobj, o);
2237 }
2238 return _resultobj;
2239 }
2240
2241 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
2242 static PyObject *_wrap_wxWindow_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2243 PyObject * _resultobj;
2244 wxPoint * _result;
2245 wxWindow * _arg0;
2246 PyObject * _argo0 = 0;
2247 char *_kwnames[] = { "self", NULL };
2248 char _ptemp[128];
2249
2250 self = self;
2251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetPosition",_kwnames,&_argo0))
2252 return NULL;
2253 if (_argo0) {
2254 if (_argo0 == Py_None) { _arg0 = NULL; }
2255 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2256 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
2257 return NULL;
2258 }
2259 }
2260 {
2261 PyThreadState* __tstate = wxPyBeginAllowThreads();
2262 _result = new wxPoint (wxWindow_GetPosition(_arg0));
2263
2264 wxPyEndAllowThreads(__tstate);
2265 if (PyErr_Occurred()) return NULL;
2266 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2267 _resultobj = Py_BuildValue("s",_ptemp);
2268 return _resultobj;
2269 }
2270
2271 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
2272 static PyObject *_wrap_wxWindow_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2273 PyObject * _resultobj;
2274 wxRect * _result;
2275 wxWindow * _arg0;
2276 PyObject * _argo0 = 0;
2277 char *_kwnames[] = { "self", NULL };
2278 char _ptemp[128];
2279
2280 self = self;
2281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetRect",_kwnames,&_argo0))
2282 return NULL;
2283 if (_argo0) {
2284 if (_argo0 == Py_None) { _arg0 = NULL; }
2285 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2286 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
2287 return NULL;
2288 }
2289 }
2290 {
2291 PyThreadState* __tstate = wxPyBeginAllowThreads();
2292 _result = new wxRect (wxWindow_GetRect(_arg0));
2293
2294 wxPyEndAllowThreads(__tstate);
2295 if (PyErr_Occurred()) return NULL;
2296 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
2297 _resultobj = Py_BuildValue("s",_ptemp);
2298 return _resultobj;
2299 }
2300
2301 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
2302 static PyObject *_wrap_wxWindow_GetScrollThumb(PyObject *self, PyObject *args, PyObject *kwargs) {
2303 PyObject * _resultobj;
2304 int _result;
2305 wxWindow * _arg0;
2306 int _arg1;
2307 PyObject * _argo0 = 0;
2308 char *_kwnames[] = { "self","orientation", NULL };
2309
2310 self = self;
2311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_GetScrollThumb",_kwnames,&_argo0,&_arg1))
2312 return NULL;
2313 if (_argo0) {
2314 if (_argo0 == Py_None) { _arg0 = NULL; }
2315 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2316 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
2317 return NULL;
2318 }
2319 }
2320 {
2321 PyThreadState* __tstate = wxPyBeginAllowThreads();
2322 _result = (int )wxWindow_GetScrollThumb(_arg0,_arg1);
2323
2324 wxPyEndAllowThreads(__tstate);
2325 if (PyErr_Occurred()) return NULL;
2326 } _resultobj = Py_BuildValue("i",_result);
2327 return _resultobj;
2328 }
2329
2330 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
2331 static PyObject *_wrap_wxWindow_GetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
2332 PyObject * _resultobj;
2333 int _result;
2334 wxWindow * _arg0;
2335 int _arg1;
2336 PyObject * _argo0 = 0;
2337 char *_kwnames[] = { "self","orientation", NULL };
2338
2339 self = self;
2340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_GetScrollPos",_kwnames,&_argo0,&_arg1))
2341 return NULL;
2342 if (_argo0) {
2343 if (_argo0 == Py_None) { _arg0 = NULL; }
2344 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2345 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
2346 return NULL;
2347 }
2348 }
2349 {
2350 PyThreadState* __tstate = wxPyBeginAllowThreads();
2351 _result = (int )wxWindow_GetScrollPos(_arg0,_arg1);
2352
2353 wxPyEndAllowThreads(__tstate);
2354 if (PyErr_Occurred()) return NULL;
2355 } _resultobj = Py_BuildValue("i",_result);
2356 return _resultobj;
2357 }
2358
2359 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
2360 static PyObject *_wrap_wxWindow_GetScrollRange(PyObject *self, PyObject *args, PyObject *kwargs) {
2361 PyObject * _resultobj;
2362 int _result;
2363 wxWindow * _arg0;
2364 int _arg1;
2365 PyObject * _argo0 = 0;
2366 char *_kwnames[] = { "self","orientation", NULL };
2367
2368 self = self;
2369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_GetScrollRange",_kwnames,&_argo0,&_arg1))
2370 return NULL;
2371 if (_argo0) {
2372 if (_argo0 == Py_None) { _arg0 = NULL; }
2373 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2374 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
2375 return NULL;
2376 }
2377 }
2378 {
2379 PyThreadState* __tstate = wxPyBeginAllowThreads();
2380 _result = (int )wxWindow_GetScrollRange(_arg0,_arg1);
2381
2382 wxPyEndAllowThreads(__tstate);
2383 if (PyErr_Occurred()) return NULL;
2384 } _resultobj = Py_BuildValue("i",_result);
2385 return _resultobj;
2386 }
2387
2388 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2389 static PyObject *_wrap_wxWindow_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
2390 PyObject * _resultobj;
2391 wxWindow * _arg0;
2392 int * _arg1;
2393 int temp;
2394 int * _arg2;
2395 int temp0;
2396 PyObject * _argo0 = 0;
2397 char *_kwnames[] = { "self", NULL };
2398
2399 self = self;
2400 {
2401 _arg1 = &temp;
2402 }
2403 {
2404 _arg2 = &temp0;
2405 }
2406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetSizeTuple",_kwnames,&_argo0))
2407 return NULL;
2408 if (_argo0) {
2409 if (_argo0 == Py_None) { _arg0 = NULL; }
2410 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2411 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
2412 return NULL;
2413 }
2414 }
2415 {
2416 PyThreadState* __tstate = wxPyBeginAllowThreads();
2417 wxWindow_GetSizeTuple(_arg0,_arg1,_arg2);
2418
2419 wxPyEndAllowThreads(__tstate);
2420 if (PyErr_Occurred()) return NULL;
2421 } Py_INCREF(Py_None);
2422 _resultobj = Py_None;
2423 {
2424 PyObject *o;
2425 o = PyInt_FromLong((long) (*_arg1));
2426 _resultobj = t_output_helper(_resultobj, o);
2427 }
2428 {
2429 PyObject *o;
2430 o = PyInt_FromLong((long) (*_arg2));
2431 _resultobj = t_output_helper(_resultobj, o);
2432 }
2433 return _resultobj;
2434 }
2435
2436 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
2437 static PyObject *_wrap_wxWindow_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2438 PyObject * _resultobj;
2439 wxSize * _result;
2440 wxWindow * _arg0;
2441 PyObject * _argo0 = 0;
2442 char *_kwnames[] = { "self", NULL };
2443 char _ptemp[128];
2444
2445 self = self;
2446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetSize",_kwnames,&_argo0))
2447 return NULL;
2448 if (_argo0) {
2449 if (_argo0 == Py_None) { _arg0 = NULL; }
2450 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2451 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
2452 return NULL;
2453 }
2454 }
2455 {
2456 PyThreadState* __tstate = wxPyBeginAllowThreads();
2457 _result = new wxSize (wxWindow_GetSize(_arg0));
2458
2459 wxPyEndAllowThreads(__tstate);
2460 if (PyErr_Occurred()) return NULL;
2461 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
2462 _resultobj = Py_BuildValue("s",_ptemp);
2463 return _resultobj;
2464 }
2465
2466 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
2467 static PyObject *_wrap_wxWindow_GetTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
2468 PyObject * _resultobj;
2469 wxWindow * _arg0;
2470 wxString * _arg1;
2471 int * _arg2;
2472 int temp;
2473 int * _arg3;
2474 int temp0;
2475 PyObject * _argo0 = 0;
2476 PyObject * _obj1 = 0;
2477 char *_kwnames[] = { "self","string", NULL };
2478
2479 self = self;
2480 {
2481 _arg2 = &temp;
2482 }
2483 {
2484 _arg3 = &temp0;
2485 }
2486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_GetTextExtent",_kwnames,&_argo0,&_obj1))
2487 return NULL;
2488 if (_argo0) {
2489 if (_argo0 == Py_None) { _arg0 = NULL; }
2490 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2491 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
2492 return NULL;
2493 }
2494 }
2495 {
2496 _arg1 = wxString_in_helper(_obj1);
2497 if (_arg1 == NULL)
2498 return NULL;
2499 }
2500 {
2501 PyThreadState* __tstate = wxPyBeginAllowThreads();
2502 wxWindow_GetTextExtent(_arg0,*_arg1,_arg2,_arg3);
2503
2504 wxPyEndAllowThreads(__tstate);
2505 if (PyErr_Occurred()) return NULL;
2506 } Py_INCREF(Py_None);
2507 _resultobj = Py_None;
2508 {
2509 PyObject *o;
2510 o = PyInt_FromLong((long) (*_arg2));
2511 _resultobj = t_output_helper(_resultobj, o);
2512 }
2513 {
2514 PyObject *o;
2515 o = PyInt_FromLong((long) (*_arg3));
2516 _resultobj = t_output_helper(_resultobj, o);
2517 }
2518 {
2519 if (_obj1)
2520 delete _arg1;
2521 }
2522 return _resultobj;
2523 }
2524
2525 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2526 static PyObject *_wrap_wxWindow_GetFullTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
2527 PyObject * _resultobj;
2528 wxWindow * _arg0;
2529 wxString * _arg1;
2530 int * _arg2;
2531 int temp;
2532 int * _arg3;
2533 int temp0;
2534 int * _arg4;
2535 int temp1;
2536 int * _arg5;
2537 int temp2;
2538 wxFont * _arg6 = (wxFont *) NULL;
2539 PyObject * _argo0 = 0;
2540 PyObject * _obj1 = 0;
2541 PyObject * _argo6 = 0;
2542 char *_kwnames[] = { "self","string","font", NULL };
2543
2544 self = self;
2545 {
2546 _arg2 = &temp;
2547 }
2548 {
2549 _arg3 = &temp0;
2550 }
2551 {
2552 _arg4 = &temp1;
2553 }
2554 {
2555 _arg5 = &temp2;
2556 }
2557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxWindow_GetFullTextExtent",_kwnames,&_argo0,&_obj1,&_argo6))
2558 return NULL;
2559 if (_argo0) {
2560 if (_argo0 == Py_None) { _arg0 = NULL; }
2561 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2562 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
2563 return NULL;
2564 }
2565 }
2566 {
2567 _arg1 = wxString_in_helper(_obj1);
2568 if (_arg1 == NULL)
2569 return NULL;
2570 }
2571 if (_argo6) {
2572 if (_argo6 == Py_None) { _arg6 = NULL; }
2573 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxFont_p")) {
2574 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
2575 return NULL;
2576 }
2577 }
2578 {
2579 PyThreadState* __tstate = wxPyBeginAllowThreads();
2580 wxWindow_GetFullTextExtent(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
2581
2582 wxPyEndAllowThreads(__tstate);
2583 if (PyErr_Occurred()) return NULL;
2584 } Py_INCREF(Py_None);
2585 _resultobj = Py_None;
2586 {
2587 PyObject *o;
2588 o = PyInt_FromLong((long) (*_arg2));
2589 _resultobj = t_output_helper(_resultobj, o);
2590 }
2591 {
2592 PyObject *o;
2593 o = PyInt_FromLong((long) (*_arg3));
2594 _resultobj = t_output_helper(_resultobj, o);
2595 }
2596 {
2597 PyObject *o;
2598 o = PyInt_FromLong((long) (*_arg4));
2599 _resultobj = t_output_helper(_resultobj, o);
2600 }
2601 {
2602 PyObject *o;
2603 o = PyInt_FromLong((long) (*_arg5));
2604 _resultobj = t_output_helper(_resultobj, o);
2605 }
2606 {
2607 if (_obj1)
2608 delete _arg1;
2609 }
2610 return _resultobj;
2611 }
2612
2613 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
2614 static PyObject *_wrap_wxWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2615 PyObject * _resultobj;
2616 wxString * _result;
2617 wxWindow * _arg0;
2618 PyObject * _argo0 = 0;
2619 char *_kwnames[] = { "self", NULL };
2620
2621 self = self;
2622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetTitle",_kwnames,&_argo0))
2623 return NULL;
2624 if (_argo0) {
2625 if (_argo0 == Py_None) { _arg0 = NULL; }
2626 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2627 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
2628 return NULL;
2629 }
2630 }
2631 {
2632 PyThreadState* __tstate = wxPyBeginAllowThreads();
2633 _result = new wxString (wxWindow_GetTitle(_arg0));
2634
2635 wxPyEndAllowThreads(__tstate);
2636 if (PyErr_Occurred()) return NULL;
2637 }{
2638 #if wxUSE_UNICODE
2639 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
2640 #else
2641 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
2642 #endif
2643 }
2644 {
2645 delete _result;
2646 }
2647 return _resultobj;
2648 }
2649
2650 #define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
2651 static PyObject *_wrap_wxWindow_GetUpdateRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
2652 PyObject * _resultobj;
2653 wxRegion * _result;
2654 wxWindow * _arg0;
2655 PyObject * _argo0 = 0;
2656 char *_kwnames[] = { "self", NULL };
2657 char _ptemp[128];
2658
2659 self = self;
2660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetUpdateRegion",_kwnames,&_argo0))
2661 return NULL;
2662 if (_argo0) {
2663 if (_argo0 == Py_None) { _arg0 = NULL; }
2664 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2665 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
2666 return NULL;
2667 }
2668 }
2669 {
2670 PyThreadState* __tstate = wxPyBeginAllowThreads();
2671 _result = new wxRegion (wxWindow_GetUpdateRegion(_arg0));
2672
2673 wxPyEndAllowThreads(__tstate);
2674 if (PyErr_Occurred()) return NULL;
2675 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRegion_p");
2676 _resultobj = Py_BuildValue("s",_ptemp);
2677 return _resultobj;
2678 }
2679
2680 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
2681 static PyObject *_wrap_wxWindow_GetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
2682 PyObject * _resultobj;
2683 long _result;
2684 wxWindow * _arg0;
2685 PyObject * _argo0 = 0;
2686 char *_kwnames[] = { "self", NULL };
2687
2688 self = self;
2689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetWindowStyleFlag",_kwnames,&_argo0))
2690 return NULL;
2691 if (_argo0) {
2692 if (_argo0 == Py_None) { _arg0 = NULL; }
2693 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2694 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
2695 return NULL;
2696 }
2697 }
2698 {
2699 PyThreadState* __tstate = wxPyBeginAllowThreads();
2700 _result = (long )wxWindow_GetWindowStyleFlag(_arg0);
2701
2702 wxPyEndAllowThreads(__tstate);
2703 if (PyErr_Occurred()) return NULL;
2704 } _resultobj = Py_BuildValue("l",_result);
2705 return _resultobj;
2706 }
2707
2708 #define wxWindow_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
2709 static PyObject *_wrap_wxWindow_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
2710 PyObject * _resultobj;
2711 wxWindow * _arg0;
2712 long _arg1;
2713 PyObject * _argo0 = 0;
2714 char *_kwnames[] = { "self","style", NULL };
2715
2716 self = self;
2717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxWindow_SetWindowStyleFlag",_kwnames,&_argo0,&_arg1))
2718 return NULL;
2719 if (_argo0) {
2720 if (_argo0 == Py_None) { _arg0 = NULL; }
2721 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2722 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetWindowStyleFlag. Expected _wxWindow_p.");
2723 return NULL;
2724 }
2725 }
2726 {
2727 PyThreadState* __tstate = wxPyBeginAllowThreads();
2728 wxWindow_SetWindowStyleFlag(_arg0,_arg1);
2729
2730 wxPyEndAllowThreads(__tstate);
2731 if (PyErr_Occurred()) return NULL;
2732 } Py_INCREF(Py_None);
2733 _resultobj = Py_None;
2734 return _resultobj;
2735 }
2736
2737 #define wxWindow_SetWindowStyle(_swigobj,_swigarg0) (_swigobj->SetWindowStyle(_swigarg0))
2738 static PyObject *_wrap_wxWindow_SetWindowStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
2739 PyObject * _resultobj;
2740 wxWindow * _arg0;
2741 long _arg1;
2742 PyObject * _argo0 = 0;
2743 char *_kwnames[] = { "self","style", NULL };
2744
2745 self = self;
2746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxWindow_SetWindowStyle",_kwnames,&_argo0,&_arg1))
2747 return NULL;
2748 if (_argo0) {
2749 if (_argo0 == Py_None) { _arg0 = NULL; }
2750 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2751 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetWindowStyle. Expected _wxWindow_p.");
2752 return NULL;
2753 }
2754 }
2755 {
2756 PyThreadState* __tstate = wxPyBeginAllowThreads();
2757 wxWindow_SetWindowStyle(_arg0,_arg1);
2758
2759 wxPyEndAllowThreads(__tstate);
2760 if (PyErr_Occurred()) return NULL;
2761 } Py_INCREF(Py_None);
2762 _resultobj = Py_None;
2763 return _resultobj;
2764 }
2765
2766 #define wxWindow_HasScrollbar(_swigobj,_swigarg0) (_swigobj->HasScrollbar(_swigarg0))
2767 static PyObject *_wrap_wxWindow_HasScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
2768 PyObject * _resultobj;
2769 bool _result;
2770 wxWindow * _arg0;
2771 int _arg1;
2772 PyObject * _argo0 = 0;
2773 char *_kwnames[] = { "self","orient", NULL };
2774
2775 self = self;
2776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_HasScrollbar",_kwnames,&_argo0,&_arg1))
2777 return NULL;
2778 if (_argo0) {
2779 if (_argo0 == Py_None) { _arg0 = NULL; }
2780 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2781 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_HasScrollbar. Expected _wxWindow_p.");
2782 return NULL;
2783 }
2784 }
2785 {
2786 PyThreadState* __tstate = wxPyBeginAllowThreads();
2787 _result = (bool )wxWindow_HasScrollbar(_arg0,_arg1);
2788
2789 wxPyEndAllowThreads(__tstate);
2790 if (PyErr_Occurred()) return NULL;
2791 } _resultobj = Py_BuildValue("i",_result);
2792 return _resultobj;
2793 }
2794
2795 #define wxWindow_Hide(_swigobj) (_swigobj->Hide())
2796 static PyObject *_wrap_wxWindow_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
2797 PyObject * _resultobj;
2798 bool _result;
2799 wxWindow * _arg0;
2800 PyObject * _argo0 = 0;
2801 char *_kwnames[] = { "self", NULL };
2802
2803 self = self;
2804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Hide",_kwnames,&_argo0))
2805 return NULL;
2806 if (_argo0) {
2807 if (_argo0 == Py_None) { _arg0 = NULL; }
2808 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2809 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
2810 return NULL;
2811 }
2812 }
2813 {
2814 PyThreadState* __tstate = wxPyBeginAllowThreads();
2815 _result = (bool )wxWindow_Hide(_arg0);
2816
2817 wxPyEndAllowThreads(__tstate);
2818 if (PyErr_Occurred()) return NULL;
2819 } _resultobj = Py_BuildValue("i",_result);
2820 return _resultobj;
2821 }
2822
2823 #define wxWindow_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0))
2824 static PyObject *_wrap_wxWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
2825 PyObject * _resultobj;
2826 wxHitTest _result;
2827 wxWindow * _arg0;
2828 wxPoint * _arg1;
2829 PyObject * _argo0 = 0;
2830 wxPoint temp;
2831 PyObject * _obj1 = 0;
2832 char *_kwnames[] = { "self","pt", NULL };
2833
2834 self = self;
2835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_HitTest",_kwnames,&_argo0,&_obj1))
2836 return NULL;
2837 if (_argo0) {
2838 if (_argo0 == Py_None) { _arg0 = NULL; }
2839 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2840 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_HitTest. Expected _wxWindow_p.");
2841 return NULL;
2842 }
2843 }
2844 {
2845 _arg1 = &temp;
2846 if (! wxPoint_helper(_obj1, &_arg1))
2847 return NULL;
2848 }
2849 {
2850 PyThreadState* __tstate = wxPyBeginAllowThreads();
2851 _result = (wxHitTest )wxWindow_HitTest(_arg0,*_arg1);
2852
2853 wxPyEndAllowThreads(__tstate);
2854 if (PyErr_Occurred()) return NULL;
2855 } _resultobj = Py_BuildValue("i",_result);
2856 return _resultobj;
2857 }
2858
2859 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
2860 static PyObject *_wrap_wxWindow_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
2861 PyObject * _resultobj;
2862 wxWindow * _arg0;
2863 PyObject * _argo0 = 0;
2864 char *_kwnames[] = { "self", NULL };
2865
2866 self = self;
2867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_InitDialog",_kwnames,&_argo0))
2868 return NULL;
2869 if (_argo0) {
2870 if (_argo0 == Py_None) { _arg0 = NULL; }
2871 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2872 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
2873 return NULL;
2874 }
2875 }
2876 {
2877 PyThreadState* __tstate = wxPyBeginAllowThreads();
2878 wxWindow_InitDialog(_arg0);
2879
2880 wxPyEndAllowThreads(__tstate);
2881 if (PyErr_Occurred()) return NULL;
2882 } Py_INCREF(Py_None);
2883 _resultobj = Py_None;
2884 return _resultobj;
2885 }
2886
2887 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
2888 static PyObject *_wrap_wxWindow_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
2889 PyObject * _resultobj;
2890 bool _result;
2891 wxWindow * _arg0;
2892 PyObject * _argo0 = 0;
2893 char *_kwnames[] = { "self", NULL };
2894
2895 self = self;
2896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_IsEnabled",_kwnames,&_argo0))
2897 return NULL;
2898 if (_argo0) {
2899 if (_argo0 == Py_None) { _arg0 = NULL; }
2900 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2901 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
2902 return NULL;
2903 }
2904 }
2905 {
2906 PyThreadState* __tstate = wxPyBeginAllowThreads();
2907 _result = (bool )wxWindow_IsEnabled(_arg0);
2908
2909 wxPyEndAllowThreads(__tstate);
2910 if (PyErr_Occurred()) return NULL;
2911 } _resultobj = Py_BuildValue("i",_result);
2912 return _resultobj;
2913 }
2914
2915 #define wxWindow_IsExposed(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->IsExposed(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2916 static PyObject *_wrap_wxWindow_IsExposed(PyObject *self, PyObject *args, PyObject *kwargs) {
2917 PyObject * _resultobj;
2918 bool _result;
2919 wxWindow * _arg0;
2920 int _arg1;
2921 int _arg2;
2922 int _arg3 = (int ) 0;
2923 int _arg4 = (int ) 0;
2924 PyObject * _argo0 = 0;
2925 char *_kwnames[] = { "self","x","y","w","h", NULL };
2926
2927 self = self;
2928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|ii:wxWindow_IsExposed",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2929 return NULL;
2930 if (_argo0) {
2931 if (_argo0 == Py_None) { _arg0 = NULL; }
2932 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2933 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsExposed. Expected _wxWindow_p.");
2934 return NULL;
2935 }
2936 }
2937 {
2938 PyThreadState* __tstate = wxPyBeginAllowThreads();
2939 _result = (bool )wxWindow_IsExposed(_arg0,_arg1,_arg2,_arg3,_arg4);
2940
2941 wxPyEndAllowThreads(__tstate);
2942 if (PyErr_Occurred()) return NULL;
2943 } _resultobj = Py_BuildValue("i",_result);
2944 return _resultobj;
2945 }
2946
2947 #define wxWindow_IsExposedPoint(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
2948 static PyObject *_wrap_wxWindow_IsExposedPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2949 PyObject * _resultobj;
2950 bool _result;
2951 wxWindow * _arg0;
2952 wxPoint * _arg1;
2953 PyObject * _argo0 = 0;
2954 wxPoint temp;
2955 PyObject * _obj1 = 0;
2956 char *_kwnames[] = { "self","pt", NULL };
2957
2958 self = self;
2959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_IsExposedPoint",_kwnames,&_argo0,&_obj1))
2960 return NULL;
2961 if (_argo0) {
2962 if (_argo0 == Py_None) { _arg0 = NULL; }
2963 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2964 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsExposedPoint. Expected _wxWindow_p.");
2965 return NULL;
2966 }
2967 }
2968 {
2969 _arg1 = &temp;
2970 if (! wxPoint_helper(_obj1, &_arg1))
2971 return NULL;
2972 }
2973 {
2974 PyThreadState* __tstate = wxPyBeginAllowThreads();
2975 _result = (bool )wxWindow_IsExposedPoint(_arg0,*_arg1);
2976
2977 wxPyEndAllowThreads(__tstate);
2978 if (PyErr_Occurred()) return NULL;
2979 } _resultobj = Py_BuildValue("i",_result);
2980 return _resultobj;
2981 }
2982
2983 #define wxWindow_IsExposedRect(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
2984 static PyObject *_wrap_wxWindow_IsExposedRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2985 PyObject * _resultobj;
2986 bool _result;
2987 wxWindow * _arg0;
2988 wxRect * _arg1;
2989 PyObject * _argo0 = 0;
2990 wxRect temp;
2991 PyObject * _obj1 = 0;
2992 char *_kwnames[] = { "self","rect", NULL };
2993
2994 self = self;
2995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_IsExposedRect",_kwnames,&_argo0,&_obj1))
2996 return NULL;
2997 if (_argo0) {
2998 if (_argo0 == Py_None) { _arg0 = NULL; }
2999 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3000 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsExposedRect. Expected _wxWindow_p.");
3001 return NULL;
3002 }
3003 }
3004 {
3005 _arg1 = &temp;
3006 if (! wxRect_helper(_obj1, &_arg1))
3007 return NULL;
3008 }
3009 {
3010 PyThreadState* __tstate = wxPyBeginAllowThreads();
3011 _result = (bool )wxWindow_IsExposedRect(_arg0,*_arg1);
3012
3013 wxPyEndAllowThreads(__tstate);
3014 if (PyErr_Occurred()) return NULL;
3015 } _resultobj = Py_BuildValue("i",_result);
3016 return _resultobj;
3017 }
3018
3019 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
3020 static PyObject *_wrap_wxWindow_IsRetained(PyObject *self, PyObject *args, PyObject *kwargs) {
3021 PyObject * _resultobj;
3022 bool _result;
3023 wxWindow * _arg0;
3024 PyObject * _argo0 = 0;
3025 char *_kwnames[] = { "self", NULL };
3026
3027 self = self;
3028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_IsRetained",_kwnames,&_argo0))
3029 return NULL;
3030 if (_argo0) {
3031 if (_argo0 == Py_None) { _arg0 = NULL; }
3032 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3033 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
3034 return NULL;
3035 }
3036 }
3037 {
3038 PyThreadState* __tstate = wxPyBeginAllowThreads();
3039 _result = (bool )wxWindow_IsRetained(_arg0);
3040
3041 wxPyEndAllowThreads(__tstate);
3042 if (PyErr_Occurred()) return NULL;
3043 } _resultobj = Py_BuildValue("i",_result);
3044 return _resultobj;
3045 }
3046
3047 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
3048 static PyObject *_wrap_wxWindow_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
3049 PyObject * _resultobj;
3050 bool _result;
3051 wxWindow * _arg0;
3052 PyObject * _argo0 = 0;
3053 char *_kwnames[] = { "self", NULL };
3054
3055 self = self;
3056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_IsShown",_kwnames,&_argo0))
3057 return NULL;
3058 if (_argo0) {
3059 if (_argo0 == Py_None) { _arg0 = NULL; }
3060 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3061 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
3062 return NULL;
3063 }
3064 }
3065 {
3066 PyThreadState* __tstate = wxPyBeginAllowThreads();
3067 _result = (bool )wxWindow_IsShown(_arg0);
3068
3069 wxPyEndAllowThreads(__tstate);
3070 if (PyErr_Occurred()) return NULL;
3071 } _resultobj = Py_BuildValue("i",_result);
3072 return _resultobj;
3073 }
3074
3075 #define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
3076 static PyObject *_wrap_wxWindow_IsTopLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
3077 PyObject * _resultobj;
3078 bool _result;
3079 wxWindow * _arg0;
3080 PyObject * _argo0 = 0;
3081 char *_kwnames[] = { "self", NULL };
3082
3083 self = self;
3084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_IsTopLevel",_kwnames,&_argo0))
3085 return NULL;
3086 if (_argo0) {
3087 if (_argo0 == Py_None) { _arg0 = NULL; }
3088 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3089 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
3090 return NULL;
3091 }
3092 }
3093 {
3094 PyThreadState* __tstate = wxPyBeginAllowThreads();
3095 _result = (bool )wxWindow_IsTopLevel(_arg0);
3096
3097 wxPyEndAllowThreads(__tstate);
3098 if (PyErr_Occurred()) return NULL;
3099 } _resultobj = Py_BuildValue("i",_result);
3100 return _resultobj;
3101 }
3102
3103 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
3104 static PyObject *_wrap_wxWindow_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
3105 PyObject * _resultobj;
3106 wxWindow * _arg0;
3107 PyObject * _argo0 = 0;
3108 char *_kwnames[] = { "self", NULL };
3109
3110 self = self;
3111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Layout",_kwnames,&_argo0))
3112 return NULL;
3113 if (_argo0) {
3114 if (_argo0 == Py_None) { _arg0 = NULL; }
3115 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3116 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
3117 return NULL;
3118 }
3119 }
3120 {
3121 PyThreadState* __tstate = wxPyBeginAllowThreads();
3122 wxWindow_Layout(_arg0);
3123
3124 wxPyEndAllowThreads(__tstate);
3125 if (PyErr_Occurred()) return NULL;
3126 } Py_INCREF(Py_None);
3127 _resultobj = Py_None;
3128 return _resultobj;
3129 }
3130
3131 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
3132 static PyObject *_wrap_wxWindow_LoadFromResource(PyObject *self, PyObject *args, PyObject *kwargs) {
3133 PyObject * _resultobj;
3134 bool _result;
3135 wxWindow * _arg0;
3136 wxWindow * _arg1;
3137 wxString * _arg2;
3138 wxResourceTable * _arg3 = (wxResourceTable *) NULL;
3139 PyObject * _argo0 = 0;
3140 PyObject * _argo1 = 0;
3141 PyObject * _obj2 = 0;
3142 PyObject * _argo3 = 0;
3143 char *_kwnames[] = { "self","parent","resourceName","resourceTable", NULL };
3144
3145 self = self;
3146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|O:wxWindow_LoadFromResource",_kwnames,&_argo0,&_argo1,&_obj2,&_argo3))
3147 return NULL;
3148 if (_argo0) {
3149 if (_argo0 == Py_None) { _arg0 = NULL; }
3150 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3151 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
3152 return NULL;
3153 }
3154 }
3155 if (_argo1) {
3156 if (_argo1 == Py_None) { _arg1 = NULL; }
3157 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
3158 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
3159 return NULL;
3160 }
3161 }
3162 {
3163 _arg2 = wxString_in_helper(_obj2);
3164 if (_arg2 == NULL)
3165 return NULL;
3166 }
3167 if (_argo3) {
3168 if (_argo3 == Py_None) { _arg3 = NULL; }
3169 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxResourceTable_p")) {
3170 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
3171 return NULL;
3172 }
3173 }
3174 {
3175 PyThreadState* __tstate = wxPyBeginAllowThreads();
3176 _result = (bool )wxWindow_LoadFromResource(_arg0,_arg1,*_arg2,_arg3);
3177
3178 wxPyEndAllowThreads(__tstate);
3179 if (PyErr_Occurred()) return NULL;
3180 } _resultobj = Py_BuildValue("i",_result);
3181 {
3182 if (_obj2)
3183 delete _arg2;
3184 }
3185 return _resultobj;
3186 }
3187
3188 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
3189 static PyObject *_wrap_wxWindow_Lower(PyObject *self, PyObject *args, PyObject *kwargs) {
3190 PyObject * _resultobj;
3191 wxWindow * _arg0;
3192 PyObject * _argo0 = 0;
3193 char *_kwnames[] = { "self", NULL };
3194
3195 self = self;
3196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Lower",_kwnames,&_argo0))
3197 return NULL;
3198 if (_argo0) {
3199 if (_argo0 == Py_None) { _arg0 = NULL; }
3200 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3201 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
3202 return NULL;
3203 }
3204 }
3205 {
3206 PyThreadState* __tstate = wxPyBeginAllowThreads();
3207 wxWindow_Lower(_arg0);
3208
3209 wxPyEndAllowThreads(__tstate);
3210 if (PyErr_Occurred()) return NULL;
3211 } Py_INCREF(Py_None);
3212 _resultobj = Py_None;
3213 return _resultobj;
3214 }
3215
3216 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
3217 static PyObject *_wrap_wxWindow_MakeModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3218 PyObject * _resultobj;
3219 wxWindow * _arg0;
3220 bool _arg1 = (bool ) TRUE;
3221 PyObject * _argo0 = 0;
3222 int tempbool1 = (int) TRUE;
3223 char *_kwnames[] = { "self","flag", NULL };
3224
3225 self = self;
3226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_MakeModal",_kwnames,&_argo0,&tempbool1))
3227 return NULL;
3228 if (_argo0) {
3229 if (_argo0 == Py_None) { _arg0 = NULL; }
3230 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3231 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
3232 return NULL;
3233 }
3234 }
3235 _arg1 = (bool ) tempbool1;
3236 {
3237 PyThreadState* __tstate = wxPyBeginAllowThreads();
3238 wxWindow_MakeModal(_arg0,_arg1);
3239
3240 wxPyEndAllowThreads(__tstate);
3241 if (PyErr_Occurred()) return NULL;
3242 } Py_INCREF(Py_None);
3243 _resultobj = Py_None;
3244 return _resultobj;
3245 }
3246
3247 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Move(_swigarg0,_swigarg1,_swigarg2))
3248 static PyObject *_wrap_wxWindow_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
3249 PyObject * _resultobj;
3250 wxWindow * _arg0;
3251 int _arg1;
3252 int _arg2;
3253 int _arg3 = (int ) wxSIZE_USE_EXISTING;
3254 PyObject * _argo0 = 0;
3255 char *_kwnames[] = { "self","x","y","flags", NULL };
3256
3257 self = self;
3258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxWindow_MoveXY",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
3259 return NULL;
3260 if (_argo0) {
3261 if (_argo0 == Py_None) { _arg0 = NULL; }
3262 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3263 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
3264 return NULL;
3265 }
3266 }
3267 {
3268 PyThreadState* __tstate = wxPyBeginAllowThreads();
3269 wxWindow_MoveXY(_arg0,_arg1,_arg2,_arg3);
3270
3271 wxPyEndAllowThreads(__tstate);
3272 if (PyErr_Occurred()) return NULL;
3273 } Py_INCREF(Py_None);
3274 _resultobj = Py_None;
3275 return _resultobj;
3276 }
3277
3278 #define wxWindow_Move(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
3279 static PyObject *_wrap_wxWindow_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
3280 PyObject * _resultobj;
3281 wxWindow * _arg0;
3282 wxPoint * _arg1;
3283 int _arg2 = (int ) wxSIZE_USE_EXISTING;
3284 PyObject * _argo0 = 0;
3285 wxPoint temp;
3286 PyObject * _obj1 = 0;
3287 char *_kwnames[] = { "self","point","flags", NULL };
3288
3289 self = self;
3290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxWindow_Move",_kwnames,&_argo0,&_obj1,&_arg2))
3291 return NULL;
3292 if (_argo0) {
3293 if (_argo0 == Py_None) { _arg0 = NULL; }
3294 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3295 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
3296 return NULL;
3297 }
3298 }
3299 {
3300 _arg1 = &temp;
3301 if (! wxPoint_helper(_obj1, &_arg1))
3302 return NULL;
3303 }
3304 {
3305 PyThreadState* __tstate = wxPyBeginAllowThreads();
3306 wxWindow_Move(_arg0,*_arg1,_arg2);
3307
3308 wxPyEndAllowThreads(__tstate);
3309 if (PyErr_Occurred()) return NULL;
3310 } Py_INCREF(Py_None);
3311 _resultobj = Py_None;
3312 return _resultobj;
3313 }
3314
3315 #define wxWindow_PopEventHandler(_swigobj,_swigarg0) (_swigobj->PopEventHandler(_swigarg0))
3316 static PyObject *_wrap_wxWindow_PopEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
3317 PyObject * _resultobj;
3318 wxEvtHandler * _result;
3319 wxWindow * _arg0;
3320 bool _arg1 = (bool ) FALSE;
3321 PyObject * _argo0 = 0;
3322 int tempbool1 = (int) FALSE;
3323 char *_kwnames[] = { "self","deleteHandler", NULL };
3324
3325 self = self;
3326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_PopEventHandler",_kwnames,&_argo0,&tempbool1))
3327 return NULL;
3328 if (_argo0) {
3329 if (_argo0 == Py_None) { _arg0 = NULL; }
3330 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3331 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PopEventHandler. Expected _wxWindow_p.");
3332 return NULL;
3333 }
3334 }
3335 _arg1 = (bool ) tempbool1;
3336 {
3337 PyThreadState* __tstate = wxPyBeginAllowThreads();
3338 _result = (wxEvtHandler *)wxWindow_PopEventHandler(_arg0,_arg1);
3339
3340 wxPyEndAllowThreads(__tstate);
3341 if (PyErr_Occurred()) return NULL;
3342 }{ _resultobj = wxPyMake_wxObject(_result); }
3343 return _resultobj;
3344 }
3345
3346 #define wxWindow_PushEventHandler(_swigobj,_swigarg0) (_swigobj->PushEventHandler(_swigarg0))
3347 static PyObject *_wrap_wxWindow_PushEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
3348 PyObject * _resultobj;
3349 wxWindow * _arg0;
3350 wxEvtHandler * _arg1;
3351 PyObject * _argo0 = 0;
3352 PyObject * _argo1 = 0;
3353 char *_kwnames[] = { "self","handler", NULL };
3354
3355 self = self;
3356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_PushEventHandler",_kwnames,&_argo0,&_argo1))
3357 return NULL;
3358 if (_argo0) {
3359 if (_argo0 == Py_None) { _arg0 = NULL; }
3360 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3361 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PushEventHandler. Expected _wxWindow_p.");
3362 return NULL;
3363 }
3364 }
3365 if (_argo1) {
3366 if (_argo1 == Py_None) { _arg1 = NULL; }
3367 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
3368 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_PushEventHandler. Expected _wxEvtHandler_p.");
3369 return NULL;
3370 }
3371 }
3372 {
3373 PyThreadState* __tstate = wxPyBeginAllowThreads();
3374 wxWindow_PushEventHandler(_arg0,_arg1);
3375
3376 wxPyEndAllowThreads(__tstate);
3377 if (PyErr_Occurred()) return NULL;
3378 } Py_INCREF(Py_None);
3379 _resultobj = Py_None;
3380 return _resultobj;
3381 }
3382
3383 #define wxWindow_RemoveEventHandler(_swigobj,_swigarg0) (_swigobj->RemoveEventHandler(_swigarg0))
3384 static PyObject *_wrap_wxWindow_RemoveEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
3385 PyObject * _resultobj;
3386 bool _result;
3387 wxWindow * _arg0;
3388 wxEvtHandler * _arg1;
3389 PyObject * _argo0 = 0;
3390 PyObject * _argo1 = 0;
3391 char *_kwnames[] = { "self","handler", NULL };
3392
3393 self = self;
3394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_RemoveEventHandler",_kwnames,&_argo0,&_argo1))
3395 return NULL;
3396 if (_argo0) {
3397 if (_argo0 == Py_None) { _arg0 = NULL; }
3398 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3399 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_RemoveEventHandler. Expected _wxWindow_p.");
3400 return NULL;
3401 }
3402 }
3403 if (_argo1) {
3404 if (_argo1 == Py_None) { _arg1 = NULL; }
3405 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
3406 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_RemoveEventHandler. Expected _wxEvtHandler_p.");
3407 return NULL;
3408 }
3409 }
3410 {
3411 PyThreadState* __tstate = wxPyBeginAllowThreads();
3412 _result = (bool )wxWindow_RemoveEventHandler(_arg0,_arg1);
3413
3414 wxPyEndAllowThreads(__tstate);
3415 if (PyErr_Occurred()) return NULL;
3416 } _resultobj = Py_BuildValue("i",_result);
3417 return _resultobj;
3418 }
3419
3420 #define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
3421 static PyObject *_wrap_wxWindow_PopupMenuXY(PyObject *self, PyObject *args, PyObject *kwargs) {
3422 PyObject * _resultobj;
3423 bool _result;
3424 wxWindow * _arg0;
3425 wxMenu * _arg1;
3426 int _arg2;
3427 int _arg3;
3428 PyObject * _argo0 = 0;
3429 PyObject * _argo1 = 0;
3430 char *_kwnames[] = { "self","menu","x","y", NULL };
3431
3432 self = self;
3433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxWindow_PopupMenuXY",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
3434 return NULL;
3435 if (_argo0) {
3436 if (_argo0 == Py_None) { _arg0 = NULL; }
3437 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3438 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
3439 return NULL;
3440 }
3441 }
3442 if (_argo1) {
3443 if (_argo1 == Py_None) { _arg1 = NULL; }
3444 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
3445 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
3446 return NULL;
3447 }
3448 }
3449 {
3450 PyThreadState* __tstate = wxPyBeginAllowThreads();
3451 _result = (bool )wxWindow_PopupMenuXY(_arg0,_arg1,_arg2,_arg3);
3452
3453 wxPyEndAllowThreads(__tstate);
3454 if (PyErr_Occurred()) return NULL;
3455 } _resultobj = Py_BuildValue("i",_result);
3456 return _resultobj;
3457 }
3458
3459 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
3460 static PyObject *_wrap_wxWindow_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
3461 PyObject * _resultobj;
3462 bool _result;
3463 wxWindow * _arg0;
3464 wxMenu * _arg1;
3465 wxPoint * _arg2;
3466 PyObject * _argo0 = 0;
3467 PyObject * _argo1 = 0;
3468 wxPoint temp;
3469 PyObject * _obj2 = 0;
3470 char *_kwnames[] = { "self","menu","pos", NULL };
3471
3472 self = self;
3473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxWindow_PopupMenu",_kwnames,&_argo0,&_argo1,&_obj2))
3474 return NULL;
3475 if (_argo0) {
3476 if (_argo0 == Py_None) { _arg0 = NULL; }
3477 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3478 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
3479 return NULL;
3480 }
3481 }
3482 if (_argo1) {
3483 if (_argo1 == Py_None) { _arg1 = NULL; }
3484 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
3485 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
3486 return NULL;
3487 }
3488 }
3489 {
3490 _arg2 = &temp;
3491 if (! wxPoint_helper(_obj2, &_arg2))
3492 return NULL;
3493 }
3494 {
3495 PyThreadState* __tstate = wxPyBeginAllowThreads();
3496 _result = (bool )wxWindow_PopupMenu(_arg0,_arg1,*_arg2);
3497
3498 wxPyEndAllowThreads(__tstate);
3499 if (PyErr_Occurred()) return NULL;
3500 } _resultobj = Py_BuildValue("i",_result);
3501 return _resultobj;
3502 }
3503
3504 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
3505 static PyObject *_wrap_wxWindow_Raise(PyObject *self, PyObject *args, PyObject *kwargs) {
3506 PyObject * _resultobj;
3507 wxWindow * _arg0;
3508 PyObject * _argo0 = 0;
3509 char *_kwnames[] = { "self", NULL };
3510
3511 self = self;
3512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Raise",_kwnames,&_argo0))
3513 return NULL;
3514 if (_argo0) {
3515 if (_argo0 == Py_None) { _arg0 = NULL; }
3516 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3517 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
3518 return NULL;
3519 }
3520 }
3521 {
3522 PyThreadState* __tstate = wxPyBeginAllowThreads();
3523 wxWindow_Raise(_arg0);
3524
3525 wxPyEndAllowThreads(__tstate);
3526 if (PyErr_Occurred()) return NULL;
3527 } Py_INCREF(Py_None);
3528 _resultobj = Py_None;
3529 return _resultobj;
3530 }
3531
3532 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
3533 static PyObject *_wrap_wxWindow_Refresh(PyObject *self, PyObject *args, PyObject *kwargs) {
3534 PyObject * _resultobj;
3535 wxWindow * _arg0;
3536 bool _arg1 = (bool ) TRUE;
3537 wxRect * _arg2 = (wxRect *) NULL;
3538 PyObject * _argo0 = 0;
3539 int tempbool1 = (int) TRUE;
3540 wxRect temp;
3541 PyObject * _obj2 = 0;
3542 char *_kwnames[] = { "self","eraseBackground","rect", NULL };
3543
3544 self = self;
3545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iO:wxWindow_Refresh",_kwnames,&_argo0,&tempbool1,&_obj2))
3546 return NULL;
3547 if (_argo0) {
3548 if (_argo0 == Py_None) { _arg0 = NULL; }
3549 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3550 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
3551 return NULL;
3552 }
3553 }
3554 _arg1 = (bool ) tempbool1;
3555 if (_obj2)
3556 {
3557 _arg2 = &temp;
3558 if (! wxRect_helper(_obj2, &_arg2))
3559 return NULL;
3560 }
3561 {
3562 PyThreadState* __tstate = wxPyBeginAllowThreads();
3563 wxWindow_Refresh(_arg0,_arg1,_arg2);
3564
3565 wxPyEndAllowThreads(__tstate);
3566 if (PyErr_Occurred()) return NULL;
3567 } Py_INCREF(Py_None);
3568 _resultobj = Py_None;
3569 return _resultobj;
3570 }
3571
3572 #define wxWindow_RefreshRect(_swigobj,_swigarg0) (_swigobj->RefreshRect(_swigarg0))
3573 static PyObject *_wrap_wxWindow_RefreshRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3574 PyObject * _resultobj;
3575 wxWindow * _arg0;
3576 wxRect * _arg1;
3577 PyObject * _argo0 = 0;
3578 wxRect temp;
3579 PyObject * _obj1 = 0;
3580 char *_kwnames[] = { "self","rect", NULL };
3581
3582 self = self;
3583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_RefreshRect",_kwnames,&_argo0,&_obj1))
3584 return NULL;
3585 if (_argo0) {
3586 if (_argo0 == Py_None) { _arg0 = NULL; }
3587 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3588 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_RefreshRect. Expected _wxWindow_p.");
3589 return NULL;
3590 }
3591 }
3592 {
3593 _arg1 = &temp;
3594 if (! wxRect_helper(_obj1, &_arg1))
3595 return NULL;
3596 }
3597 {
3598 PyThreadState* __tstate = wxPyBeginAllowThreads();
3599 wxWindow_RefreshRect(_arg0,*_arg1);
3600
3601 wxPyEndAllowThreads(__tstate);
3602 if (PyErr_Occurred()) return NULL;
3603 } Py_INCREF(Py_None);
3604 _resultobj = Py_None;
3605 return _resultobj;
3606 }
3607
3608 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
3609 static PyObject *_wrap_wxWindow_ReleaseMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
3610 PyObject * _resultobj;
3611 wxWindow * _arg0;
3612 PyObject * _argo0 = 0;
3613 char *_kwnames[] = { "self", NULL };
3614
3615 self = self;
3616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_ReleaseMouse",_kwnames,&_argo0))
3617 return NULL;
3618 if (_argo0) {
3619 if (_argo0 == Py_None) { _arg0 = NULL; }
3620 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3621 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
3622 return NULL;
3623 }
3624 }
3625 {
3626 PyThreadState* __tstate = wxPyBeginAllowThreads();
3627 wxWindow_ReleaseMouse(_arg0);
3628
3629 wxPyEndAllowThreads(__tstate);
3630 if (PyErr_Occurred()) return NULL;
3631 } Py_INCREF(Py_None);
3632 _resultobj = Py_None;
3633 return _resultobj;
3634 }
3635
3636 #define wxWindow_RemoveChild(_swigobj,_swigarg0) (_swigobj->RemoveChild(_swigarg0))
3637 static PyObject *_wrap_wxWindow_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
3638 PyObject * _resultobj;
3639 wxWindow * _arg0;
3640 wxWindow * _arg1;
3641 PyObject * _argo0 = 0;
3642 PyObject * _argo1 = 0;
3643 char *_kwnames[] = { "self","child", NULL };
3644
3645 self = self;
3646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_RemoveChild",_kwnames,&_argo0,&_argo1))
3647 return NULL;
3648 if (_argo0) {
3649 if (_argo0 == Py_None) { _arg0 = NULL; }
3650 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3651 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3652 return NULL;
3653 }
3654 }
3655 if (_argo1) {
3656 if (_argo1 == Py_None) { _arg1 = NULL; }
3657 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
3658 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3659 return NULL;
3660 }
3661 }
3662 {
3663 PyThreadState* __tstate = wxPyBeginAllowThreads();
3664 wxWindow_RemoveChild(_arg0,_arg1);
3665
3666 wxPyEndAllowThreads(__tstate);
3667 if (PyErr_Occurred()) return NULL;
3668 } Py_INCREF(Py_None);
3669 _resultobj = Py_None;
3670 return _resultobj;
3671 }
3672
3673 #define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
3674 static PyObject *_wrap_wxWindow_Reparent(PyObject *self, PyObject *args, PyObject *kwargs) {
3675 PyObject * _resultobj;
3676 bool _result;
3677 wxWindow * _arg0;
3678 wxWindow * _arg1;
3679 PyObject * _argo0 = 0;
3680 PyObject * _argo1 = 0;
3681 char *_kwnames[] = { "self","newParent", NULL };
3682
3683 self = self;
3684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_Reparent",_kwnames,&_argo0,&_argo1))
3685 return NULL;
3686 if (_argo0) {
3687 if (_argo0 == Py_None) { _arg0 = NULL; }
3688 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3689 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
3690 return NULL;
3691 }
3692 }
3693 if (_argo1) {
3694 if (_argo1 == Py_None) { _arg1 = NULL; }
3695 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
3696 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
3697 return NULL;
3698 }
3699 }
3700 {
3701 PyThreadState* __tstate = wxPyBeginAllowThreads();
3702 _result = (bool )wxWindow_Reparent(_arg0,_arg1);
3703
3704 wxPyEndAllowThreads(__tstate);
3705 if (PyErr_Occurred()) return NULL;
3706 } _resultobj = Py_BuildValue("i",_result);
3707 return _resultobj;
3708 }
3709
3710 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
3711 static PyObject *_wrap_wxWindow_ScreenToClientXY(PyObject *self, PyObject *args, PyObject *kwargs) {
3712 PyObject * _resultobj;
3713 wxWindow * _arg0;
3714 int * _arg1;
3715 int * _arg2;
3716 PyObject * _argo0 = 0;
3717 int temp;
3718 PyObject * _obj1 = 0;
3719 int temp0;
3720 PyObject * _obj2 = 0;
3721 char *_kwnames[] = { "self","x","y", NULL };
3722
3723 self = self;
3724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxWindow_ScreenToClientXY",_kwnames,&_argo0,&_obj1,&_obj2))
3725 return NULL;
3726 if (_argo0) {
3727 if (_argo0 == Py_None) { _arg0 = NULL; }
3728 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3729 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
3730 return NULL;
3731 }
3732 }
3733 {
3734 temp = (int) PyInt_AsLong(_obj1);
3735 _arg1 = &temp;
3736 }
3737 {
3738 temp0 = (int) PyInt_AsLong(_obj2);
3739 _arg2 = &temp0;
3740 }
3741 {
3742 PyThreadState* __tstate = wxPyBeginAllowThreads();
3743 wxWindow_ScreenToClientXY(_arg0,_arg1,_arg2);
3744
3745 wxPyEndAllowThreads(__tstate);
3746 if (PyErr_Occurred()) return NULL;
3747 } Py_INCREF(Py_None);
3748 _resultobj = Py_None;
3749 {
3750 PyObject *o;
3751 o = PyInt_FromLong((long) (*_arg1));
3752 _resultobj = t_output_helper(_resultobj, o);
3753 }
3754 {
3755 PyObject *o;
3756 o = PyInt_FromLong((long) (*_arg2));
3757 _resultobj = t_output_helper(_resultobj, o);
3758 }
3759 return _resultobj;
3760 }
3761
3762 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
3763 static PyObject *_wrap_wxWindow_ScreenToClient(PyObject *self, PyObject *args, PyObject *kwargs) {
3764 PyObject * _resultobj;
3765 wxPoint * _result;
3766 wxWindow * _arg0;
3767 wxPoint * _arg1;
3768 PyObject * _argo0 = 0;
3769 wxPoint temp;
3770 PyObject * _obj1 = 0;
3771 char *_kwnames[] = { "self","pt", NULL };
3772 char _ptemp[128];
3773
3774 self = self;
3775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ScreenToClient",_kwnames,&_argo0,&_obj1))
3776 return NULL;
3777 if (_argo0) {
3778 if (_argo0 == Py_None) { _arg0 = NULL; }
3779 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3780 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
3781 return NULL;
3782 }
3783 }
3784 {
3785 _arg1 = &temp;
3786 if (! wxPoint_helper(_obj1, &_arg1))
3787 return NULL;
3788 }
3789 {
3790 PyThreadState* __tstate = wxPyBeginAllowThreads();
3791 _result = new wxPoint (wxWindow_ScreenToClient(_arg0,*_arg1));
3792
3793 wxPyEndAllowThreads(__tstate);
3794 if (PyErr_Occurred()) return NULL;
3795 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
3796 _resultobj = Py_BuildValue("s",_ptemp);
3797 return _resultobj;
3798 }
3799
3800 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
3801 static PyObject *_wrap_wxWindow_ScrollWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3802 PyObject * _resultobj;
3803 wxWindow * _arg0;
3804 int _arg1;
3805 int _arg2;
3806 wxRect * _arg3 = (wxRect *) NULL;
3807 PyObject * _argo0 = 0;
3808 wxRect temp;
3809 PyObject * _obj3 = 0;
3810 char *_kwnames[] = { "self","dx","dy","rect", NULL };
3811
3812 self = self;
3813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|O:wxWindow_ScrollWindow",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
3814 return NULL;
3815 if (_argo0) {
3816 if (_argo0 == Py_None) { _arg0 = NULL; }
3817 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3818 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
3819 return NULL;
3820 }
3821 }
3822 if (_obj3)
3823 {
3824 _arg3 = &temp;
3825 if (! wxRect_helper(_obj3, &_arg3))
3826 return NULL;
3827 }
3828 {
3829 PyThreadState* __tstate = wxPyBeginAllowThreads();
3830 wxWindow_ScrollWindow(_arg0,_arg1,_arg2,_arg3);
3831
3832 wxPyEndAllowThreads(__tstate);
3833 if (PyErr_Occurred()) return NULL;
3834 } Py_INCREF(Py_None);
3835 _resultobj = Py_None;
3836 return _resultobj;
3837 }
3838
3839 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
3840 static PyObject *_wrap_wxWindow_SetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
3841 PyObject * _resultobj;
3842 wxWindow * _arg0;
3843 bool _arg1;
3844 PyObject * _argo0 = 0;
3845 int tempbool1;
3846 char *_kwnames[] = { "self","autoLayout", NULL };
3847
3848 self = self;
3849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_SetAutoLayout",_kwnames,&_argo0,&tempbool1))
3850 return NULL;
3851 if (_argo0) {
3852 if (_argo0 == Py_None) { _arg0 = NULL; }
3853 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3854 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
3855 return NULL;
3856 }
3857 }
3858 _arg1 = (bool ) tempbool1;
3859 {
3860 PyThreadState* __tstate = wxPyBeginAllowThreads();
3861 wxWindow_SetAutoLayout(_arg0,_arg1);
3862
3863 wxPyEndAllowThreads(__tstate);
3864 if (PyErr_Occurred()) return NULL;
3865 } Py_INCREF(Py_None);
3866 _resultobj = Py_None;
3867 return _resultobj;
3868 }
3869
3870 #define wxWindow_GetAutoLayout(_swigobj) (_swigobj->GetAutoLayout())
3871 static PyObject *_wrap_wxWindow_GetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
3872 PyObject * _resultobj;
3873 bool _result;
3874 wxWindow * _arg0;
3875 PyObject * _argo0 = 0;
3876 char *_kwnames[] = { "self", NULL };
3877
3878 self = self;
3879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetAutoLayout",_kwnames,&_argo0))
3880 return NULL;
3881 if (_argo0) {
3882 if (_argo0 == Py_None) { _arg0 = NULL; }
3883 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3884 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetAutoLayout. Expected _wxWindow_p.");
3885 return NULL;
3886 }
3887 }
3888 {
3889 PyThreadState* __tstate = wxPyBeginAllowThreads();
3890 _result = (bool )wxWindow_GetAutoLayout(_arg0);
3891
3892 wxPyEndAllowThreads(__tstate);
3893 if (PyErr_Occurred()) return NULL;
3894 } _resultobj = Py_BuildValue("i",_result);
3895 return _resultobj;
3896 }
3897
3898 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3899 static PyObject *_wrap_wxWindow_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3900 PyObject * _resultobj;
3901 wxWindow * _arg0;
3902 wxColour * _arg1;
3903 PyObject * _argo0 = 0;
3904 wxColour temp;
3905 PyObject * _obj1 = 0;
3906 char *_kwnames[] = { "self","colour", NULL };
3907
3908 self = self;
3909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
3910 return NULL;
3911 if (_argo0) {
3912 if (_argo0 == Py_None) { _arg0 = NULL; }
3913 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3914 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
3915 return NULL;
3916 }
3917 }
3918 {
3919 _arg1 = &temp;
3920 if (! wxColour_helper(_obj1, &_arg1))
3921 return NULL;
3922 }
3923 {
3924 PyThreadState* __tstate = wxPyBeginAllowThreads();
3925 wxWindow_SetBackgroundColour(_arg0,*_arg1);
3926
3927 wxPyEndAllowThreads(__tstate);
3928 if (PyErr_Occurred()) return NULL;
3929 } Py_INCREF(Py_None);
3930 _resultobj = Py_None;
3931 return _resultobj;
3932 }
3933
3934 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
3935 static PyObject *_wrap_wxWindow_SetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
3936 PyObject * _resultobj;
3937 wxWindow * _arg0;
3938 wxLayoutConstraints * _arg1;
3939 PyObject * _argo0 = 0;
3940 PyObject * _argo1 = 0;
3941 char *_kwnames[] = { "self","constraints", NULL };
3942
3943 self = self;
3944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetConstraints",_kwnames,&_argo0,&_argo1))
3945 return NULL;
3946 if (_argo0) {
3947 if (_argo0 == Py_None) { _arg0 = NULL; }
3948 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3949 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
3950 return NULL;
3951 }
3952 }
3953 if (_argo1) {
3954 if (_argo1 == Py_None) { _arg1 = NULL; }
3955 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxLayoutConstraints_p")) {
3956 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
3957 return NULL;
3958 }
3959 }
3960 {
3961 PyThreadState* __tstate = wxPyBeginAllowThreads();
3962 wxWindow_SetConstraints(_arg0,_arg1);
3963
3964 wxPyEndAllowThreads(__tstate);
3965 if (PyErr_Occurred()) return NULL;
3966 } Py_INCREF(Py_None);
3967 _resultobj = Py_None;
3968 return _resultobj;
3969 }
3970
3971 #define wxWindow_UnsetConstraints(_swigobj,_swigarg0) (_swigobj->UnsetConstraints(_swigarg0))
3972 static PyObject *_wrap_wxWindow_UnsetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
3973 PyObject * _resultobj;
3974 wxWindow * _arg0;
3975 wxLayoutConstraints * _arg1;
3976 PyObject * _argo0 = 0;
3977 PyObject * _argo1 = 0;
3978 char *_kwnames[] = { "self","constraints", NULL };
3979
3980 self = self;
3981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_UnsetConstraints",_kwnames,&_argo0,&_argo1))
3982 return NULL;
3983 if (_argo0) {
3984 if (_argo0 == Py_None) { _arg0 = NULL; }
3985 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3986 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_UnsetConstraints. Expected _wxWindow_p.");
3987 return NULL;
3988 }
3989 }
3990 if (_argo1) {
3991 if (_argo1 == Py_None) { _arg1 = NULL; }
3992 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxLayoutConstraints_p")) {
3993 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_UnsetConstraints. Expected _wxLayoutConstraints_p.");
3994 return NULL;
3995 }
3996 }
3997 {
3998 PyThreadState* __tstate = wxPyBeginAllowThreads();
3999 wxWindow_UnsetConstraints(_arg0,_arg1);
4000
4001 wxPyEndAllowThreads(__tstate);
4002 if (PyErr_Occurred()) return NULL;
4003 } Py_INCREF(Py_None);
4004 _resultobj = Py_None;
4005 return _resultobj;
4006 }
4007
4008 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
4009 static PyObject *_wrap_wxWindow_SetFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
4010 PyObject * _resultobj;
4011 wxWindow * _arg0;
4012 PyObject * _argo0 = 0;
4013 char *_kwnames[] = { "self", NULL };
4014
4015 self = self;
4016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_SetFocus",_kwnames,&_argo0))
4017 return NULL;
4018 if (_argo0) {
4019 if (_argo0 == Py_None) { _arg0 = NULL; }
4020 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4021 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
4022 return NULL;
4023 }
4024 }
4025 {
4026 PyThreadState* __tstate = wxPyBeginAllowThreads();
4027 wxWindow_SetFocus(_arg0);
4028
4029 wxPyEndAllowThreads(__tstate);
4030 if (PyErr_Occurred()) return NULL;
4031 } Py_INCREF(Py_None);
4032 _resultobj = Py_None;
4033 return _resultobj;
4034 }
4035
4036 #define wxWindow_AcceptsFocus(_swigobj) (_swigobj->AcceptsFocus())
4037 static PyObject *_wrap_wxWindow_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
4038 PyObject * _resultobj;
4039 bool _result;
4040 wxWindow * _arg0;
4041 PyObject * _argo0 = 0;
4042 char *_kwnames[] = { "self", NULL };
4043
4044 self = self;
4045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_AcceptsFocus",_kwnames,&_argo0))
4046 return NULL;
4047 if (_argo0) {
4048 if (_argo0 == Py_None) { _arg0 = NULL; }
4049 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4050 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_AcceptsFocus. Expected _wxWindow_p.");
4051 return NULL;
4052 }
4053 }
4054 {
4055 PyThreadState* __tstate = wxPyBeginAllowThreads();
4056 _result = (bool )wxWindow_AcceptsFocus(_arg0);
4057
4058 wxPyEndAllowThreads(__tstate);
4059 if (PyErr_Occurred()) return NULL;
4060 } _resultobj = Py_BuildValue("i",_result);
4061 return _resultobj;
4062 }
4063
4064 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
4065 static PyObject *_wrap_wxWindow_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
4066 PyObject * _resultobj;
4067 wxWindow * _arg0;
4068 wxFont * _arg1;
4069 PyObject * _argo0 = 0;
4070 PyObject * _argo1 = 0;
4071 char *_kwnames[] = { "self","font", NULL };
4072
4073 self = self;
4074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetFont",_kwnames,&_argo0,&_argo1))
4075 return NULL;
4076 if (_argo0) {
4077 if (_argo0 == Py_None) { _arg0 = NULL; }
4078 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4079 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
4080 return NULL;
4081 }
4082 }
4083 if (_argo1) {
4084 if (_argo1 == Py_None) { _arg1 = NULL; }
4085 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
4086 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
4087 return NULL;
4088 }
4089 }
4090 {
4091 PyThreadState* __tstate = wxPyBeginAllowThreads();
4092 wxWindow_SetFont(_arg0,*_arg1);
4093
4094 wxPyEndAllowThreads(__tstate);
4095 if (PyErr_Occurred()) return NULL;
4096 } Py_INCREF(Py_None);
4097 _resultobj = Py_None;
4098 return _resultobj;
4099 }
4100
4101 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
4102 static PyObject *_wrap_wxWindow_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4103 PyObject * _resultobj;
4104 wxWindow * _arg0;
4105 wxColour * _arg1;
4106 PyObject * _argo0 = 0;
4107 wxColour temp;
4108 PyObject * _obj1 = 0;
4109 char *_kwnames[] = { "self","colour", NULL };
4110
4111 self = self;
4112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetForegroundColour",_kwnames,&_argo0,&_obj1))
4113 return NULL;
4114 if (_argo0) {
4115 if (_argo0 == Py_None) { _arg0 = NULL; }
4116 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4117 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
4118 return NULL;
4119 }
4120 }
4121 {
4122 _arg1 = &temp;
4123 if (! wxColour_helper(_obj1, &_arg1))
4124 return NULL;
4125 }
4126 {
4127 PyThreadState* __tstate = wxPyBeginAllowThreads();
4128 wxWindow_SetForegroundColour(_arg0,*_arg1);
4129
4130 wxPyEndAllowThreads(__tstate);
4131 if (PyErr_Occurred()) return NULL;
4132 } Py_INCREF(Py_None);
4133 _resultobj = Py_None;
4134 return _resultobj;
4135 }
4136
4137 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
4138 static PyObject *_wrap_wxWindow_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
4139 PyObject * _resultobj;
4140 wxWindow * _arg0;
4141 int _arg1;
4142 PyObject * _argo0 = 0;
4143 char *_kwnames[] = { "self","id", NULL };
4144
4145 self = self;
4146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_SetId",_kwnames,&_argo0,&_arg1))
4147 return NULL;
4148 if (_argo0) {
4149 if (_argo0 == Py_None) { _arg0 = NULL; }
4150 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4151 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
4152 return NULL;
4153 }
4154 }
4155 {
4156 PyThreadState* __tstate = wxPyBeginAllowThreads();
4157 wxWindow_SetId(_arg0,_arg1);
4158
4159 wxPyEndAllowThreads(__tstate);
4160 if (PyErr_Occurred()) return NULL;
4161 } Py_INCREF(Py_None);
4162 _resultobj = Py_None;
4163 return _resultobj;
4164 }
4165
4166 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
4167 static PyObject *_wrap_wxWindow_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
4168 PyObject * _resultobj;
4169 wxWindow * _arg0;
4170 wxString * _arg1;
4171 PyObject * _argo0 = 0;
4172 PyObject * _obj1 = 0;
4173 char *_kwnames[] = { "self","name", NULL };
4174
4175 self = self;
4176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetName",_kwnames,&_argo0,&_obj1))
4177 return NULL;
4178 if (_argo0) {
4179 if (_argo0 == Py_None) { _arg0 = NULL; }
4180 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4181 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
4182 return NULL;
4183 }
4184 }
4185 {
4186 _arg1 = wxString_in_helper(_obj1);
4187 if (_arg1 == NULL)
4188 return NULL;
4189 }
4190 {
4191 PyThreadState* __tstate = wxPyBeginAllowThreads();
4192 wxWindow_SetName(_arg0,*_arg1);
4193
4194 wxPyEndAllowThreads(__tstate);
4195 if (PyErr_Occurred()) return NULL;
4196 } Py_INCREF(Py_None);
4197 _resultobj = Py_None;
4198 {
4199 if (_obj1)
4200 delete _arg1;
4201 }
4202 return _resultobj;
4203 }
4204
4205 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4206 static PyObject *_wrap_wxWindow_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
4207 PyObject * _resultobj;
4208 wxWindow * _arg0;
4209 int _arg1;
4210 int _arg2;
4211 int _arg3;
4212 int _arg4;
4213 int _arg5 = (int ) TRUE;
4214 PyObject * _argo0 = 0;
4215 char *_kwnames[] = { "self","orientation","position","thumbSize","range","refresh", NULL };
4216
4217 self = self;
4218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxWindow_SetScrollbar",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5))
4219 return NULL;
4220 if (_argo0) {
4221 if (_argo0 == Py_None) { _arg0 = NULL; }
4222 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4223 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
4224 return NULL;
4225 }
4226 }
4227 {
4228 PyThreadState* __tstate = wxPyBeginAllowThreads();
4229 wxWindow_SetScrollbar(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
4230
4231 wxPyEndAllowThreads(__tstate);
4232 if (PyErr_Occurred()) return NULL;
4233 } Py_INCREF(Py_None);
4234 _resultobj = Py_None;
4235 return _resultobj;
4236 }
4237
4238 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
4239 static PyObject *_wrap_wxWindow_SetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
4240 PyObject * _resultobj;
4241 wxWindow * _arg0;
4242 int _arg1;
4243 int _arg2;
4244 bool _arg3 = (bool ) TRUE;
4245 PyObject * _argo0 = 0;
4246 int tempbool3 = (int) TRUE;
4247 char *_kwnames[] = { "self","orientation","pos","refresh", NULL };
4248
4249 self = self;
4250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxWindow_SetScrollPos",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
4251 return NULL;
4252 if (_argo0) {
4253 if (_argo0 == Py_None) { _arg0 = NULL; }
4254 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4255 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
4256 return NULL;
4257 }
4258 }
4259 _arg3 = (bool ) tempbool3;
4260 {
4261 PyThreadState* __tstate = wxPyBeginAllowThreads();
4262 wxWindow_SetScrollPos(_arg0,_arg1,_arg2,_arg3);
4263
4264 wxPyEndAllowThreads(__tstate);
4265 if (PyErr_Occurred()) return NULL;
4266 } Py_INCREF(Py_None);
4267 _resultobj = Py_None;
4268 return _resultobj;
4269 }
4270
4271 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4272 static PyObject *_wrap_wxWindow_SetDimensions(PyObject *self, PyObject *args, PyObject *kwargs) {
4273 PyObject * _resultobj;
4274 wxWindow * _arg0;
4275 int _arg1;
4276 int _arg2;
4277 int _arg3;
4278 int _arg4;
4279 int _arg5 = (int ) wxSIZE_AUTO;
4280 PyObject * _argo0 = 0;
4281 char *_kwnames[] = { "self","x","y","width","height","sizeFlags", NULL };
4282
4283 self = self;
4284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxWindow_SetDimensions",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5))
4285 return NULL;
4286 if (_argo0) {
4287 if (_argo0 == Py_None) { _arg0 = NULL; }
4288 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4289 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
4290 return NULL;
4291 }
4292 }
4293 {
4294 PyThreadState* __tstate = wxPyBeginAllowThreads();
4295 wxWindow_SetDimensions(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
4296
4297 wxPyEndAllowThreads(__tstate);
4298 if (PyErr_Occurred()) return NULL;
4299 } Py_INCREF(Py_None);
4300 _resultobj = Py_None;
4301 return _resultobj;
4302 }
4303
4304 static void wxWindow_SetSize(wxWindow *self,const wxSize & size) {
4305 self->SetSize(size);
4306 }
4307 static PyObject *_wrap_wxWindow_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4308 PyObject * _resultobj;
4309 wxWindow * _arg0;
4310 wxSize * _arg1;
4311 PyObject * _argo0 = 0;
4312 wxSize temp;
4313 PyObject * _obj1 = 0;
4314 char *_kwnames[] = { "self","size", NULL };
4315
4316 self = self;
4317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetSize",_kwnames,&_argo0,&_obj1))
4318 return NULL;
4319 if (_argo0) {
4320 if (_argo0 == Py_None) { _arg0 = NULL; }
4321 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4322 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
4323 return NULL;
4324 }
4325 }
4326 {
4327 _arg1 = &temp;
4328 if (! wxSize_helper(_obj1, &_arg1))
4329 return NULL;
4330 }
4331 {
4332 PyThreadState* __tstate = wxPyBeginAllowThreads();
4333 wxWindow_SetSize(_arg0,*_arg1);
4334
4335 wxPyEndAllowThreads(__tstate);
4336 if (PyErr_Occurred()) return NULL;
4337 } Py_INCREF(Py_None);
4338 _resultobj = Py_None;
4339 return _resultobj;
4340 }
4341
4342 static void wxWindow_SetPosition(wxWindow *self,const wxPoint & pos,int flags) {
4343 self->Move(pos, flags);
4344 }
4345 static PyObject *_wrap_wxWindow_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4346 PyObject * _resultobj;
4347 wxWindow * _arg0;
4348 wxPoint * _arg1;
4349 int _arg2 = (int ) wxSIZE_USE_EXISTING;
4350 PyObject * _argo0 = 0;
4351 wxPoint temp;
4352 PyObject * _obj1 = 0;
4353 char *_kwnames[] = { "self","pos","flags", NULL };
4354
4355 self = self;
4356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxWindow_SetPosition",_kwnames,&_argo0,&_obj1,&_arg2))
4357 return NULL;
4358 if (_argo0) {
4359 if (_argo0 == Py_None) { _arg0 = NULL; }
4360 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4361 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
4362 return NULL;
4363 }
4364 }
4365 {
4366 _arg1 = &temp;
4367 if (! wxPoint_helper(_obj1, &_arg1))
4368 return NULL;
4369 }
4370 {
4371 PyThreadState* __tstate = wxPyBeginAllowThreads();
4372 wxWindow_SetPosition(_arg0,*_arg1,_arg2);
4373
4374 wxPyEndAllowThreads(__tstate);
4375 if (PyErr_Occurred()) return NULL;
4376 } Py_INCREF(Py_None);
4377 _resultobj = Py_None;
4378 return _resultobj;
4379 }
4380
4381 static void wxWindow_SetRect(wxWindow *self,const wxRect & rect,int sizeFlags) {
4382 self->SetSize(rect, sizeFlags);
4383 }
4384 static PyObject *_wrap_wxWindow_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
4385 PyObject * _resultobj;
4386 wxWindow * _arg0;
4387 wxRect * _arg1;
4388 int _arg2 = (int ) wxSIZE_AUTO;
4389 PyObject * _argo0 = 0;
4390 wxRect temp;
4391 PyObject * _obj1 = 0;
4392 char *_kwnames[] = { "self","rect","sizeFlags", NULL };
4393
4394 self = self;
4395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxWindow_SetRect",_kwnames,&_argo0,&_obj1,&_arg2))
4396 return NULL;
4397 if (_argo0) {
4398 if (_argo0 == Py_None) { _arg0 = NULL; }
4399 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4400 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetRect. Expected _wxWindow_p.");
4401 return NULL;
4402 }
4403 }
4404 {
4405 _arg1 = &temp;
4406 if (! wxRect_helper(_obj1, &_arg1))
4407 return NULL;
4408 }
4409 {
4410 PyThreadState* __tstate = wxPyBeginAllowThreads();
4411 wxWindow_SetRect(_arg0,*_arg1,_arg2);
4412
4413 wxPyEndAllowThreads(__tstate);
4414 if (PyErr_Occurred()) return NULL;
4415 } Py_INCREF(Py_None);
4416 _resultobj = Py_None;
4417 return _resultobj;
4418 }
4419
4420 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4421 static PyObject *_wrap_wxWindow_SetSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
4422 PyObject * _resultobj;
4423 wxWindow * _arg0;
4424 int _arg1 = (int ) -1;
4425 int _arg2 = (int ) -1;
4426 int _arg3 = (int ) -1;
4427 int _arg4 = (int ) -1;
4428 int _arg5 = (int ) -1;
4429 int _arg6 = (int ) -1;
4430 PyObject * _argo0 = 0;
4431 char *_kwnames[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL };
4432
4433 self = self;
4434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iiiiii:wxWindow_SetSizeHints",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6))
4435 return NULL;
4436 if (_argo0) {
4437 if (_argo0 == Py_None) { _arg0 = NULL; }
4438 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4439 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
4440 return NULL;
4441 }
4442 }
4443 {
4444 PyThreadState* __tstate = wxPyBeginAllowThreads();
4445 wxWindow_SetSizeHints(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
4446
4447 wxPyEndAllowThreads(__tstate);
4448 if (PyErr_Occurred()) return NULL;
4449 } Py_INCREF(Py_None);
4450 _resultobj = Py_None;
4451 return _resultobj;
4452 }
4453
4454 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
4455 static PyObject *_wrap_wxWindow_SetClientSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
4456 PyObject * _resultobj;
4457 wxWindow * _arg0;
4458 int _arg1;
4459 int _arg2;
4460 PyObject * _argo0 = 0;
4461 char *_kwnames[] = { "self","width","height", NULL };
4462
4463 self = self;
4464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxWindow_SetClientSizeWH",_kwnames,&_argo0,&_arg1,&_arg2))
4465 return NULL;
4466 if (_argo0) {
4467 if (_argo0 == Py_None) { _arg0 = NULL; }
4468 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4469 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
4470 return NULL;
4471 }
4472 }
4473 {
4474 PyThreadState* __tstate = wxPyBeginAllowThreads();
4475 wxWindow_SetClientSizeWH(_arg0,_arg1,_arg2);
4476
4477 wxPyEndAllowThreads(__tstate);
4478 if (PyErr_Occurred()) return NULL;
4479 } Py_INCREF(Py_None);
4480 _resultobj = Py_None;
4481 return _resultobj;
4482 }
4483
4484 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
4485 static PyObject *_wrap_wxWindow_SetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4486 PyObject * _resultobj;
4487 wxWindow * _arg0;
4488 wxSize * _arg1;
4489 PyObject * _argo0 = 0;
4490 wxSize temp;
4491 PyObject * _obj1 = 0;
4492 char *_kwnames[] = { "self","size", NULL };
4493
4494 self = self;
4495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetClientSize",_kwnames,&_argo0,&_obj1))
4496 return NULL;
4497 if (_argo0) {
4498 if (_argo0 == Py_None) { _arg0 = NULL; }
4499 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4500 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
4501 return NULL;
4502 }
4503 }
4504 {
4505 _arg1 = &temp;
4506 if (! wxSize_helper(_obj1, &_arg1))
4507 return NULL;
4508 }
4509 {
4510 PyThreadState* __tstate = wxPyBeginAllowThreads();
4511 wxWindow_SetClientSize(_arg0,*_arg1);
4512
4513 wxPyEndAllowThreads(__tstate);
4514 if (PyErr_Occurred()) return NULL;
4515 } Py_INCREF(Py_None);
4516 _resultobj = Py_None;
4517 return _resultobj;
4518 }
4519
4520 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
4521 static PyObject *_wrap_wxWindow_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4522 PyObject * _resultobj;
4523 wxWindow * _arg0;
4524 wxCursor * _arg1;
4525 PyObject * _argo0 = 0;
4526 PyObject * _argo1 = 0;
4527 char *_kwnames[] = { "self","cursor", NULL };
4528
4529 self = self;
4530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetCursor",_kwnames,&_argo0,&_argo1))
4531 return NULL;
4532 if (_argo0) {
4533 if (_argo0 == Py_None) { _arg0 = NULL; }
4534 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4535 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
4536 return NULL;
4537 }
4538 }
4539 if (_argo1) {
4540 if (_argo1 == Py_None) { _arg1 = NULL; }
4541 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCursor_p")) {
4542 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
4543 return NULL;
4544 }
4545 }
4546 {
4547 PyThreadState* __tstate = wxPyBeginAllowThreads();
4548 wxWindow_SetCursor(_arg0,*_arg1);
4549
4550 wxPyEndAllowThreads(__tstate);
4551 if (PyErr_Occurred()) return NULL;
4552 } Py_INCREF(Py_None);
4553 _resultobj = Py_None;
4554 return _resultobj;
4555 }
4556
4557 #define wxWindow_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
4558 static PyObject *_wrap_wxWindow_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
4559 PyObject * _resultobj;
4560 wxWindow * _arg0;
4561 wxEvtHandler * _arg1;
4562 PyObject * _argo0 = 0;
4563 PyObject * _argo1 = 0;
4564 char *_kwnames[] = { "self","handler", NULL };
4565
4566 self = self;
4567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetEventHandler",_kwnames,&_argo0,&_argo1))
4568 return NULL;
4569 if (_argo0) {
4570 if (_argo0 == Py_None) { _arg0 = NULL; }
4571 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4572 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetEventHandler. Expected _wxWindow_p.");
4573 return NULL;
4574 }
4575 }
4576 if (_argo1) {
4577 if (_argo1 == Py_None) { _arg1 = NULL; }
4578 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
4579 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetEventHandler. Expected _wxEvtHandler_p.");
4580 return NULL;
4581 }
4582 }
4583 {
4584 PyThreadState* __tstate = wxPyBeginAllowThreads();
4585 wxWindow_SetEventHandler(_arg0,_arg1);
4586
4587 wxPyEndAllowThreads(__tstate);
4588 if (PyErr_Occurred()) return NULL;
4589 } Py_INCREF(Py_None);
4590 _resultobj = Py_None;
4591 return _resultobj;
4592 }
4593
4594 #define wxWindow_SetExtraStyle(_swigobj,_swigarg0) (_swigobj->SetExtraStyle(_swigarg0))
4595 static PyObject *_wrap_wxWindow_SetExtraStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4596 PyObject * _resultobj;
4597 wxWindow * _arg0;
4598 long _arg1;
4599 PyObject * _argo0 = 0;
4600 char *_kwnames[] = { "self","exStyle", NULL };
4601
4602 self = self;
4603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxWindow_SetExtraStyle",_kwnames,&_argo0,&_arg1))
4604 return NULL;
4605 if (_argo0) {
4606 if (_argo0 == Py_None) { _arg0 = NULL; }
4607 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4608 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetExtraStyle. Expected _wxWindow_p.");
4609 return NULL;
4610 }
4611 }
4612 {
4613 PyThreadState* __tstate = wxPyBeginAllowThreads();
4614 wxWindow_SetExtraStyle(_arg0,_arg1);
4615
4616 wxPyEndAllowThreads(__tstate);
4617 if (PyErr_Occurred()) return NULL;
4618 } Py_INCREF(Py_None);
4619 _resultobj = Py_None;
4620 return _resultobj;
4621 }
4622
4623 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4624 static PyObject *_wrap_wxWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
4625 PyObject * _resultobj;
4626 wxWindow * _arg0;
4627 wxString * _arg1;
4628 PyObject * _argo0 = 0;
4629 PyObject * _obj1 = 0;
4630 char *_kwnames[] = { "self","title", NULL };
4631
4632 self = self;
4633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetTitle",_kwnames,&_argo0,&_obj1))
4634 return NULL;
4635 if (_argo0) {
4636 if (_argo0 == Py_None) { _arg0 = NULL; }
4637 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4638 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
4639 return NULL;
4640 }
4641 }
4642 {
4643 _arg1 = wxString_in_helper(_obj1);
4644 if (_arg1 == NULL)
4645 return NULL;
4646 }
4647 {
4648 PyThreadState* __tstate = wxPyBeginAllowThreads();
4649 wxWindow_SetTitle(_arg0,*_arg1);
4650
4651 wxPyEndAllowThreads(__tstate);
4652 if (PyErr_Occurred()) return NULL;
4653 } Py_INCREF(Py_None);
4654 _resultobj = Py_None;
4655 {
4656 if (_obj1)
4657 delete _arg1;
4658 }
4659 return _resultobj;
4660 }
4661
4662 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4663 static PyObject *_wrap_wxWindow_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
4664 PyObject * _resultobj;
4665 bool _result;
4666 wxWindow * _arg0;
4667 bool _arg1 = (bool ) TRUE;
4668 PyObject * _argo0 = 0;
4669 int tempbool1 = (int) TRUE;
4670 char *_kwnames[] = { "self","show", NULL };
4671
4672 self = self;
4673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_Show",_kwnames,&_argo0,&tempbool1))
4674 return NULL;
4675 if (_argo0) {
4676 if (_argo0 == Py_None) { _arg0 = NULL; }
4677 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4678 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
4679 return NULL;
4680 }
4681 }
4682 _arg1 = (bool ) tempbool1;
4683 {
4684 PyThreadState* __tstate = wxPyBeginAllowThreads();
4685 _result = (bool )wxWindow_Show(_arg0,_arg1);
4686
4687 wxPyEndAllowThreads(__tstate);
4688 if (PyErr_Occurred()) return NULL;
4689 } _resultobj = Py_BuildValue("i",_result);
4690 return _resultobj;
4691 }
4692
4693 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
4694 static PyObject *_wrap_wxWindow_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4695 PyObject * _resultobj;
4696 bool _result;
4697 wxWindow * _arg0;
4698 PyObject * _argo0 = 0;
4699 char *_kwnames[] = { "self", NULL };
4700
4701 self = self;
4702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_TransferDataFromWindow",_kwnames,&_argo0))
4703 return NULL;
4704 if (_argo0) {
4705 if (_argo0 == Py_None) { _arg0 = NULL; }
4706 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4707 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
4708 return NULL;
4709 }
4710 }
4711 {
4712 PyThreadState* __tstate = wxPyBeginAllowThreads();
4713 _result = (bool )wxWindow_TransferDataFromWindow(_arg0);
4714
4715 wxPyEndAllowThreads(__tstate);
4716 if (PyErr_Occurred()) return NULL;
4717 } _resultobj = Py_BuildValue("i",_result);
4718 return _resultobj;
4719 }
4720
4721 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
4722 static PyObject *_wrap_wxWindow_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4723 PyObject * _resultobj;
4724 bool _result;
4725 wxWindow * _arg0;
4726 PyObject * _argo0 = 0;
4727 char *_kwnames[] = { "self", NULL };
4728
4729 self = self;
4730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_TransferDataToWindow",_kwnames,&_argo0))
4731 return NULL;
4732 if (_argo0) {
4733 if (_argo0 == Py_None) { _arg0 = NULL; }
4734 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4735 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
4736 return NULL;
4737 }
4738 }
4739 {
4740 PyThreadState* __tstate = wxPyBeginAllowThreads();
4741 _result = (bool )wxWindow_TransferDataToWindow(_arg0);
4742
4743 wxPyEndAllowThreads(__tstate);
4744 if (PyErr_Occurred()) return NULL;
4745 } _resultobj = Py_BuildValue("i",_result);
4746 return _resultobj;
4747 }
4748
4749 #define wxWindow_UpdateWindowUI(_swigobj) (_swigobj->UpdateWindowUI())
4750 static PyObject *_wrap_wxWindow_UpdateWindowUI(PyObject *self, PyObject *args, PyObject *kwargs) {
4751 PyObject * _resultobj;
4752 wxWindow * _arg0;
4753 PyObject * _argo0 = 0;
4754 char *_kwnames[] = { "self", NULL };
4755
4756 self = self;
4757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_UpdateWindowUI",_kwnames,&_argo0))
4758 return NULL;
4759 if (_argo0) {
4760 if (_argo0 == Py_None) { _arg0 = NULL; }
4761 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4762 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_UpdateWindowUI. Expected _wxWindow_p.");
4763 return NULL;
4764 }
4765 }
4766 {
4767 PyThreadState* __tstate = wxPyBeginAllowThreads();
4768 wxWindow_UpdateWindowUI(_arg0);
4769
4770 wxPyEndAllowThreads(__tstate);
4771 if (PyErr_Occurred()) return NULL;
4772 } Py_INCREF(Py_None);
4773 _resultobj = Py_None;
4774 return _resultobj;
4775 }
4776
4777 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
4778 static PyObject *_wrap_wxWindow_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
4779 PyObject * _resultobj;
4780 bool _result;
4781 wxWindow * _arg0;
4782 PyObject * _argo0 = 0;
4783 char *_kwnames[] = { "self", NULL };
4784
4785 self = self;
4786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Validate",_kwnames,&_argo0))
4787 return NULL;
4788 if (_argo0) {
4789 if (_argo0 == Py_None) { _arg0 = NULL; }
4790 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4791 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
4792 return NULL;
4793 }
4794 }
4795 {
4796 PyThreadState* __tstate = wxPyBeginAllowThreads();
4797 _result = (bool )wxWindow_Validate(_arg0);
4798
4799 wxPyEndAllowThreads(__tstate);
4800 if (PyErr_Occurred()) return NULL;
4801 } _resultobj = Py_BuildValue("i",_result);
4802 return _resultobj;
4803 }
4804
4805 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
4806 static PyObject *_wrap_wxWindow_WarpPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
4807 PyObject * _resultobj;
4808 wxWindow * _arg0;
4809 int _arg1;
4810 int _arg2;
4811 PyObject * _argo0 = 0;
4812 char *_kwnames[] = { "self","x","y", NULL };
4813
4814 self = self;
4815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxWindow_WarpPointer",_kwnames,&_argo0,&_arg1,&_arg2))
4816 return NULL;
4817 if (_argo0) {
4818 if (_argo0 == Py_None) { _arg0 = NULL; }
4819 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4820 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
4821 return NULL;
4822 }
4823 }
4824 {
4825 PyThreadState* __tstate = wxPyBeginAllowThreads();
4826 wxWindow_WarpPointer(_arg0,_arg1,_arg2);
4827
4828 wxPyEndAllowThreads(__tstate);
4829 if (PyErr_Occurred()) return NULL;
4830 } Py_INCREF(Py_None);
4831 _resultobj = Py_None;
4832 return _resultobj;
4833 }
4834
4835 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4836 static PyObject *_wrap_wxWindow_ConvertDialogPointToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
4837 PyObject * _resultobj;
4838 wxPoint * _result;
4839 wxWindow * _arg0;
4840 wxPoint * _arg1;
4841 PyObject * _argo0 = 0;
4842 wxPoint temp;
4843 PyObject * _obj1 = 0;
4844 char *_kwnames[] = { "self","pt", NULL };
4845 char _ptemp[128];
4846
4847 self = self;
4848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames,&_argo0,&_obj1))
4849 return NULL;
4850 if (_argo0) {
4851 if (_argo0 == Py_None) { _arg0 = NULL; }
4852 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4853 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
4854 return NULL;
4855 }
4856 }
4857 {
4858 _arg1 = &temp;
4859 if (! wxPoint_helper(_obj1, &_arg1))
4860 return NULL;
4861 }
4862 {
4863 PyThreadState* __tstate = wxPyBeginAllowThreads();
4864 _result = new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0,*_arg1));
4865
4866 wxPyEndAllowThreads(__tstate);
4867 if (PyErr_Occurred()) return NULL;
4868 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
4869 _resultobj = Py_BuildValue("s",_ptemp);
4870 return _resultobj;
4871 }
4872
4873 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4874 static PyObject *_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
4875 PyObject * _resultobj;
4876 wxSize * _result;
4877 wxWindow * _arg0;
4878 wxSize * _arg1;
4879 PyObject * _argo0 = 0;
4880 wxSize temp;
4881 PyObject * _obj1 = 0;
4882 char *_kwnames[] = { "self","sz", NULL };
4883 char _ptemp[128];
4884
4885 self = self;
4886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames,&_argo0,&_obj1))
4887 return NULL;
4888 if (_argo0) {
4889 if (_argo0 == Py_None) { _arg0 = NULL; }
4890 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4891 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
4892 return NULL;
4893 }
4894 }
4895 {
4896 _arg1 = &temp;
4897 if (! wxSize_helper(_obj1, &_arg1))
4898 return NULL;
4899 }
4900 {
4901 PyThreadState* __tstate = wxPyBeginAllowThreads();
4902 _result = new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0,*_arg1));
4903
4904 wxPyEndAllowThreads(__tstate);
4905 if (PyErr_Occurred()) return NULL;
4906 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
4907 _resultobj = Py_BuildValue("s",_ptemp);
4908 return _resultobj;
4909 }
4910
4911 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4912 static PyObject *_wrap_wxWindow_ConvertPixelPointToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
4913 PyObject * _resultobj;
4914 wxPoint * _result;
4915 wxWindow * _arg0;
4916 wxPoint * _arg1;
4917 PyObject * _argo0 = 0;
4918 wxPoint temp;
4919 PyObject * _obj1 = 0;
4920 char *_kwnames[] = { "self","pt", NULL };
4921 char _ptemp[128];
4922
4923 self = self;
4924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames,&_argo0,&_obj1))
4925 return NULL;
4926 if (_argo0) {
4927 if (_argo0 == Py_None) { _arg0 = NULL; }
4928 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4929 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
4930 return NULL;
4931 }
4932 }
4933 {
4934 _arg1 = &temp;
4935 if (! wxPoint_helper(_obj1, &_arg1))
4936 return NULL;
4937 }
4938 {
4939 PyThreadState* __tstate = wxPyBeginAllowThreads();
4940 _result = new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0,*_arg1));
4941
4942 wxPyEndAllowThreads(__tstate);
4943 if (PyErr_Occurred()) return NULL;
4944 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
4945 _resultobj = Py_BuildValue("s",_ptemp);
4946 return _resultobj;
4947 }
4948
4949 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4950 static PyObject *_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
4951 PyObject * _resultobj;
4952 wxSize * _result;
4953 wxWindow * _arg0;
4954 wxSize * _arg1;
4955 PyObject * _argo0 = 0;
4956 wxSize temp;
4957 PyObject * _obj1 = 0;
4958 char *_kwnames[] = { "self","sz", NULL };
4959 char _ptemp[128];
4960
4961 self = self;
4962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames,&_argo0,&_obj1))
4963 return NULL;
4964 if (_argo0) {
4965 if (_argo0 == Py_None) { _arg0 = NULL; }
4966 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4967 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
4968 return NULL;
4969 }
4970 }
4971 {
4972 _arg1 = &temp;
4973 if (! wxSize_helper(_obj1, &_arg1))
4974 return NULL;
4975 }
4976 {
4977 PyThreadState* __tstate = wxPyBeginAllowThreads();
4978 _result = new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0,*_arg1));
4979
4980 wxPyEndAllowThreads(__tstate);
4981 if (PyErr_Occurred()) return NULL;
4982 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
4983 _resultobj = Py_BuildValue("s",_ptemp);
4984 return _resultobj;
4985 }
4986
4987 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4988 static PyObject *_wrap_wxWindow_SetToolTipString(PyObject *self, PyObject *args, PyObject *kwargs) {
4989 PyObject * _resultobj;
4990 wxWindow * _arg0;
4991 wxString * _arg1;
4992 PyObject * _argo0 = 0;
4993 PyObject * _obj1 = 0;
4994 char *_kwnames[] = { "self","tip", NULL };
4995
4996 self = self;
4997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetToolTipString",_kwnames,&_argo0,&_obj1))
4998 return NULL;
4999 if (_argo0) {
5000 if (_argo0 == Py_None) { _arg0 = NULL; }
5001 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5002 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
5003 return NULL;
5004 }
5005 }
5006 {
5007 _arg1 = wxString_in_helper(_obj1);
5008 if (_arg1 == NULL)
5009 return NULL;
5010 }
5011 {
5012 PyThreadState* __tstate = wxPyBeginAllowThreads();
5013 wxWindow_SetToolTipString(_arg0,*_arg1);
5014
5015 wxPyEndAllowThreads(__tstate);
5016 if (PyErr_Occurred()) return NULL;
5017 } Py_INCREF(Py_None);
5018 _resultobj = Py_None;
5019 {
5020 if (_obj1)
5021 delete _arg1;
5022 }
5023 return _resultobj;
5024 }
5025
5026 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
5027 static PyObject *_wrap_wxWindow_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5028 PyObject * _resultobj;
5029 wxWindow * _arg0;
5030 wxToolTip * _arg1;
5031 PyObject * _argo0 = 0;
5032 PyObject * _argo1 = 0;
5033 char *_kwnames[] = { "self","tooltip", NULL };
5034
5035 self = self;
5036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetToolTip",_kwnames,&_argo0,&_argo1))
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 wxWindow_SetToolTip. Expected _wxWindow_p.");
5042 return NULL;
5043 }
5044 }
5045 if (_argo1) {
5046 if (_argo1 == Py_None) { _arg1 = NULL; }
5047 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxToolTip_p")) {
5048 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
5049 return NULL;
5050 }
5051 }
5052 {
5053 PyThreadState* __tstate = wxPyBeginAllowThreads();
5054 wxWindow_SetToolTip(_arg0,_arg1);
5055
5056 wxPyEndAllowThreads(__tstate);
5057 if (PyErr_Occurred()) return NULL;
5058 } Py_INCREF(Py_None);
5059 _resultobj = Py_None;
5060 return _resultobj;
5061 }
5062
5063 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
5064 static PyObject *_wrap_wxWindow_GetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5065 PyObject * _resultobj;
5066 wxToolTip * _result;
5067 wxWindow * _arg0;
5068 PyObject * _argo0 = 0;
5069 char *_kwnames[] = { "self", NULL };
5070
5071 self = self;
5072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetToolTip",_kwnames,&_argo0))
5073 return NULL;
5074 if (_argo0) {
5075 if (_argo0 == Py_None) { _arg0 = NULL; }
5076 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5077 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
5078 return NULL;
5079 }
5080 }
5081 {
5082 PyThreadState* __tstate = wxPyBeginAllowThreads();
5083 _result = (wxToolTip *)wxWindow_GetToolTip(_arg0);
5084
5085 wxPyEndAllowThreads(__tstate);
5086 if (PyErr_Occurred()) return NULL;
5087 }{ _resultobj = wxPyMake_wxObject(_result); }
5088 return _resultobj;
5089 }
5090
5091 #define wxWindow_SetSizer(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSizer(_swigarg0,_swigarg1))
5092 static PyObject *_wrap_wxWindow_SetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
5093 PyObject * _resultobj;
5094 wxWindow * _arg0;
5095 wxSizer * _arg1;
5096 bool _arg2 = (bool ) TRUE;
5097 PyObject * _argo0 = 0;
5098 PyObject * _argo1 = 0;
5099 int tempbool2 = (int) TRUE;
5100 char *_kwnames[] = { "self","sizer","deleteOld", NULL };
5101
5102 self = self;
5103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxWindow_SetSizer",_kwnames,&_argo0,&_argo1,&tempbool2))
5104 return NULL;
5105 if (_argo0) {
5106 if (_argo0 == Py_None) { _arg0 = NULL; }
5107 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5108 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetSizer. Expected _wxWindow_p.");
5109 return NULL;
5110 }
5111 }
5112 if (_argo1) {
5113 if (_argo1 == Py_None) { _arg1 = NULL; }
5114 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSizer_p")) {
5115 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetSizer. Expected _wxSizer_p.");
5116 return NULL;
5117 }
5118 }
5119 _arg2 = (bool ) tempbool2;
5120 {
5121 PyThreadState* __tstate = wxPyBeginAllowThreads();
5122 wxWindow_SetSizer(_arg0,_arg1,_arg2);
5123
5124 wxPyEndAllowThreads(__tstate);
5125 if (PyErr_Occurred()) return NULL;
5126 } Py_INCREF(Py_None);
5127 _resultobj = Py_None;
5128 return _resultobj;
5129 }
5130
5131 #define wxWindow_GetSizer(_swigobj) (_swigobj->GetSizer())
5132 static PyObject *_wrap_wxWindow_GetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
5133 PyObject * _resultobj;
5134 wxSizer * _result;
5135 wxWindow * _arg0;
5136 PyObject * _argo0 = 0;
5137 char *_kwnames[] = { "self", NULL };
5138
5139 self = self;
5140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetSizer",_kwnames,&_argo0))
5141 return NULL;
5142 if (_argo0) {
5143 if (_argo0 == Py_None) { _arg0 = NULL; }
5144 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5145 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetSizer. Expected _wxWindow_p.");
5146 return NULL;
5147 }
5148 }
5149 {
5150 PyThreadState* __tstate = wxPyBeginAllowThreads();
5151 _result = (wxSizer *)wxWindow_GetSizer(_arg0);
5152
5153 wxPyEndAllowThreads(__tstate);
5154 if (PyErr_Occurred()) return NULL;
5155 }{ _resultobj = wxPyMake_wxSizer(_result); }
5156 return _resultobj;
5157 }
5158
5159 #define wxWindow_SetContainingSizer(_swigobj,_swigarg0) (_swigobj->SetContainingSizer(_swigarg0))
5160 static PyObject *_wrap_wxWindow_SetContainingSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
5161 PyObject * _resultobj;
5162 wxWindow * _arg0;
5163 wxSizer * _arg1;
5164 PyObject * _argo0 = 0;
5165 PyObject * _argo1 = 0;
5166 char *_kwnames[] = { "self","sizer", NULL };
5167
5168 self = self;
5169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetContainingSizer",_kwnames,&_argo0,&_argo1))
5170 return NULL;
5171 if (_argo0) {
5172 if (_argo0 == Py_None) { _arg0 = NULL; }
5173 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5174 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetContainingSizer. Expected _wxWindow_p.");
5175 return NULL;
5176 }
5177 }
5178 if (_argo1) {
5179 if (_argo1 == Py_None) { _arg1 = NULL; }
5180 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSizer_p")) {
5181 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetContainingSizer. Expected _wxSizer_p.");
5182 return NULL;
5183 }
5184 }
5185 {
5186 PyThreadState* __tstate = wxPyBeginAllowThreads();
5187 wxWindow_SetContainingSizer(_arg0,_arg1);
5188
5189 wxPyEndAllowThreads(__tstate);
5190 if (PyErr_Occurred()) return NULL;
5191 } Py_INCREF(Py_None);
5192 _resultobj = Py_None;
5193 return _resultobj;
5194 }
5195
5196 #define wxWindow_GetContainingSizer(_swigobj) (_swigobj->GetContainingSizer())
5197 static PyObject *_wrap_wxWindow_GetContainingSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
5198 PyObject * _resultobj;
5199 wxSizer * _result;
5200 wxWindow * _arg0;
5201 PyObject * _argo0 = 0;
5202 char *_kwnames[] = { "self", NULL };
5203
5204 self = self;
5205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetContainingSizer",_kwnames,&_argo0))
5206 return NULL;
5207 if (_argo0) {
5208 if (_argo0 == Py_None) { _arg0 = NULL; }
5209 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5210 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetContainingSizer. Expected _wxWindow_p.");
5211 return NULL;
5212 }
5213 }
5214 {
5215 PyThreadState* __tstate = wxPyBeginAllowThreads();
5216 _result = (wxSizer *)wxWindow_GetContainingSizer(_arg0);
5217
5218 wxPyEndAllowThreads(__tstate);
5219 if (PyErr_Occurred()) return NULL;
5220 }{ _resultobj = wxPyMake_wxSizer(_result); }
5221 return _resultobj;
5222 }
5223
5224 #define wxWindow_GetValidator(_swigobj) (_swigobj->GetValidator())
5225 static PyObject *_wrap_wxWindow_GetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
5226 PyObject * _resultobj;
5227 wxValidator * _result;
5228 wxWindow * _arg0;
5229 PyObject * _argo0 = 0;
5230 char *_kwnames[] = { "self", NULL };
5231
5232 self = self;
5233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetValidator",_kwnames,&_argo0))
5234 return NULL;
5235 if (_argo0) {
5236 if (_argo0 == Py_None) { _arg0 = NULL; }
5237 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5238 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetValidator. Expected _wxWindow_p.");
5239 return NULL;
5240 }
5241 }
5242 {
5243 PyThreadState* __tstate = wxPyBeginAllowThreads();
5244 _result = (wxValidator *)wxWindow_GetValidator(_arg0);
5245
5246 wxPyEndAllowThreads(__tstate);
5247 if (PyErr_Occurred()) return NULL;
5248 }{ _resultobj = wxPyMake_wxObject(_result); }
5249 return _resultobj;
5250 }
5251
5252 #define wxWindow_SetValidator(_swigobj,_swigarg0) (_swigobj->SetValidator(_swigarg0))
5253 static PyObject *_wrap_wxWindow_SetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
5254 PyObject * _resultobj;
5255 wxWindow * _arg0;
5256 wxValidator * _arg1;
5257 PyObject * _argo0 = 0;
5258 PyObject * _argo1 = 0;
5259 char *_kwnames[] = { "self","validator", NULL };
5260
5261 self = self;
5262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetValidator",_kwnames,&_argo0,&_argo1))
5263 return NULL;
5264 if (_argo0) {
5265 if (_argo0 == Py_None) { _arg0 = NULL; }
5266 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5267 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetValidator. Expected _wxWindow_p.");
5268 return NULL;
5269 }
5270 }
5271 if (_argo1) {
5272 if (_argo1 == Py_None) { _arg1 = NULL; }
5273 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxValidator_p")) {
5274 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetValidator. Expected _wxValidator_p.");
5275 return NULL;
5276 }
5277 }
5278 {
5279 PyThreadState* __tstate = wxPyBeginAllowThreads();
5280 wxWindow_SetValidator(_arg0,*_arg1);
5281
5282 wxPyEndAllowThreads(__tstate);
5283 if (PyErr_Occurred()) return NULL;
5284 } Py_INCREF(Py_None);
5285 _resultobj = Py_None;
5286 return _resultobj;
5287 }
5288
5289 #define wxWindow_SetDropTarget(_swigobj,_swigarg0) (_swigobj->SetDropTarget(_swigarg0))
5290 static PyObject *_wrap_wxWindow_SetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
5291 PyObject * _resultobj;
5292 wxWindow * _arg0;
5293 wxDropTarget * _arg1;
5294 PyObject * _argo0 = 0;
5295 PyObject * _argo1 = 0;
5296 char *_kwnames[] = { "self","target", NULL };
5297
5298 self = self;
5299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetDropTarget",_kwnames,&_argo0,&_argo1))
5300 return NULL;
5301 if (_argo0) {
5302 if (_argo0 == Py_None) { _arg0 = NULL; }
5303 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5304 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetDropTarget. Expected _wxWindow_p.");
5305 return NULL;
5306 }
5307 }
5308 if (_argo1) {
5309 if (_argo1 == Py_None) { _arg1 = NULL; }
5310 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDropTarget_p")) {
5311 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetDropTarget. Expected _wxDropTarget_p.");
5312 return NULL;
5313 }
5314 }
5315 {
5316 PyThreadState* __tstate = wxPyBeginAllowThreads();
5317 wxWindow_SetDropTarget(_arg0,_arg1);
5318
5319 wxPyEndAllowThreads(__tstate);
5320 if (PyErr_Occurred()) return NULL;
5321 } Py_INCREF(Py_None);
5322 _resultobj = Py_None;
5323 return _resultobj;
5324 }
5325
5326 #define wxWindow_GetDropTarget(_swigobj) (_swigobj->GetDropTarget())
5327 static PyObject *_wrap_wxWindow_GetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
5328 PyObject * _resultobj;
5329 wxDropTarget * _result;
5330 wxWindow * _arg0;
5331 PyObject * _argo0 = 0;
5332 char *_kwnames[] = { "self", NULL };
5333 char _ptemp[128];
5334
5335 self = self;
5336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetDropTarget",_kwnames,&_argo0))
5337 return NULL;
5338 if (_argo0) {
5339 if (_argo0 == Py_None) { _arg0 = NULL; }
5340 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5341 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetDropTarget. Expected _wxWindow_p.");
5342 return NULL;
5343 }
5344 }
5345 {
5346 PyThreadState* __tstate = wxPyBeginAllowThreads();
5347 _result = (wxDropTarget *)wxWindow_GetDropTarget(_arg0);
5348
5349 wxPyEndAllowThreads(__tstate);
5350 if (PyErr_Occurred()) return NULL;
5351 } if (_result) {
5352 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDropTarget_p");
5353 _resultobj = Py_BuildValue("s",_ptemp);
5354 } else {
5355 Py_INCREF(Py_None);
5356 _resultobj = Py_None;
5357 }
5358 return _resultobj;
5359 }
5360
5361 #define wxWindow_GetBestSize(_swigobj) (_swigobj->GetBestSize())
5362 static PyObject *_wrap_wxWindow_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5363 PyObject * _resultobj;
5364 wxSize * _result;
5365 wxWindow * _arg0;
5366 PyObject * _argo0 = 0;
5367 char *_kwnames[] = { "self", NULL };
5368 char _ptemp[128];
5369
5370 self = self;
5371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetBestSize",_kwnames,&_argo0))
5372 return NULL;
5373 if (_argo0) {
5374 if (_argo0 == Py_None) { _arg0 = NULL; }
5375 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5376 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetBestSize. Expected _wxWindow_p.");
5377 return NULL;
5378 }
5379 }
5380 {
5381 PyThreadState* __tstate = wxPyBeginAllowThreads();
5382 _result = new wxSize (wxWindow_GetBestSize(_arg0));
5383
5384 wxPyEndAllowThreads(__tstate);
5385 if (PyErr_Occurred()) return NULL;
5386 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
5387 _resultobj = Py_BuildValue("s",_ptemp);
5388 return _resultobj;
5389 }
5390
5391 #define wxWindow_GetMaxSize(_swigobj) (_swigobj->GetMaxSize())
5392 static PyObject *_wrap_wxWindow_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5393 PyObject * _resultobj;
5394 wxSize * _result;
5395 wxWindow * _arg0;
5396 PyObject * _argo0 = 0;
5397 char *_kwnames[] = { "self", NULL };
5398 char _ptemp[128];
5399
5400 self = self;
5401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetMaxSize",_kwnames,&_argo0))
5402 return NULL;
5403 if (_argo0) {
5404 if (_argo0 == Py_None) { _arg0 = NULL; }
5405 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5406 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetMaxSize. Expected _wxWindow_p.");
5407 return NULL;
5408 }
5409 }
5410 {
5411 PyThreadState* __tstate = wxPyBeginAllowThreads();
5412 _result = new wxSize (wxWindow_GetMaxSize(_arg0));
5413
5414 wxPyEndAllowThreads(__tstate);
5415 if (PyErr_Occurred()) return NULL;
5416 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
5417 _resultobj = Py_BuildValue("s",_ptemp);
5418 return _resultobj;
5419 }
5420
5421 #define wxWindow_SetCaret(_swigobj,_swigarg0) (_swigobj->SetCaret(_swigarg0))
5422 static PyObject *_wrap_wxWindow_SetCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
5423 PyObject * _resultobj;
5424 wxWindow * _arg0;
5425 wxCaret * _arg1;
5426 PyObject * _argo0 = 0;
5427 PyObject * _argo1 = 0;
5428 char *_kwnames[] = { "self","caret", NULL };
5429
5430 self = self;
5431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetCaret",_kwnames,&_argo0,&_argo1))
5432 return NULL;
5433 if (_argo0) {
5434 if (_argo0 == Py_None) { _arg0 = NULL; }
5435 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5436 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetCaret. Expected _wxWindow_p.");
5437 return NULL;
5438 }
5439 }
5440 if (_argo1) {
5441 if (_argo1 == Py_None) { _arg1 = NULL; }
5442 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCaret_p")) {
5443 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetCaret. Expected _wxCaret_p.");
5444 return NULL;
5445 }
5446 }
5447 {
5448 PyThreadState* __tstate = wxPyBeginAllowThreads();
5449 wxWindow_SetCaret(_arg0,_arg1);
5450
5451 wxPyEndAllowThreads(__tstate);
5452 if (PyErr_Occurred()) return NULL;
5453 } Py_INCREF(Py_None);
5454 _resultobj = Py_None;
5455 return _resultobj;
5456 }
5457
5458 #define wxWindow_GetCaret(_swigobj) (_swigobj->GetCaret())
5459 static PyObject *_wrap_wxWindow_GetCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
5460 PyObject * _resultobj;
5461 wxCaret * _result;
5462 wxWindow * _arg0;
5463 PyObject * _argo0 = 0;
5464 char *_kwnames[] = { "self", NULL };
5465 char _ptemp[128];
5466
5467 self = self;
5468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetCaret",_kwnames,&_argo0))
5469 return NULL;
5470 if (_argo0) {
5471 if (_argo0 == Py_None) { _arg0 = NULL; }
5472 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5473 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetCaret. Expected _wxWindow_p.");
5474 return NULL;
5475 }
5476 }
5477 {
5478 PyThreadState* __tstate = wxPyBeginAllowThreads();
5479 _result = (wxCaret *)wxWindow_GetCaret(_arg0);
5480
5481 wxPyEndAllowThreads(__tstate);
5482 if (PyErr_Occurred()) return NULL;
5483 } if (_result) {
5484 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCaret_p");
5485 _resultobj = Py_BuildValue("s",_ptemp);
5486 } else {
5487 Py_INCREF(Py_None);
5488 _resultobj = Py_None;
5489 }
5490 return _resultobj;
5491 }
5492
5493 #define wxWindow_Freeze(_swigobj) (_swigobj->Freeze())
5494 static PyObject *_wrap_wxWindow_Freeze(PyObject *self, PyObject *args, PyObject *kwargs) {
5495 PyObject * _resultobj;
5496 wxWindow * _arg0;
5497 PyObject * _argo0 = 0;
5498 char *_kwnames[] = { "self", NULL };
5499
5500 self = self;
5501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Freeze",_kwnames,&_argo0))
5502 return NULL;
5503 if (_argo0) {
5504 if (_argo0 == Py_None) { _arg0 = NULL; }
5505 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5506 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Freeze. Expected _wxWindow_p.");
5507 return NULL;
5508 }
5509 }
5510 {
5511 PyThreadState* __tstate = wxPyBeginAllowThreads();
5512 wxWindow_Freeze(_arg0);
5513
5514 wxPyEndAllowThreads(__tstate);
5515 if (PyErr_Occurred()) return NULL;
5516 } Py_INCREF(Py_None);
5517 _resultobj = Py_None;
5518 return _resultobj;
5519 }
5520
5521 #define wxWindow_Thaw(_swigobj) (_swigobj->Thaw())
5522 static PyObject *_wrap_wxWindow_Thaw(PyObject *self, PyObject *args, PyObject *kwargs) {
5523 PyObject * _resultobj;
5524 wxWindow * _arg0;
5525 PyObject * _argo0 = 0;
5526 char *_kwnames[] = { "self", NULL };
5527
5528 self = self;
5529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Thaw",_kwnames,&_argo0))
5530 return NULL;
5531 if (_argo0) {
5532 if (_argo0 == Py_None) { _arg0 = NULL; }
5533 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5534 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Thaw. Expected _wxWindow_p.");
5535 return NULL;
5536 }
5537 }
5538 {
5539 PyThreadState* __tstate = wxPyBeginAllowThreads();
5540 wxWindow_Thaw(_arg0);
5541
5542 wxPyEndAllowThreads(__tstate);
5543 if (PyErr_Occurred()) return NULL;
5544 } Py_INCREF(Py_None);
5545 _resultobj = Py_None;
5546 return _resultobj;
5547 }
5548
5549 #define wxWindow_Update(_swigobj) (_swigobj->Update())
5550 static PyObject *_wrap_wxWindow_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
5551 PyObject * _resultobj;
5552 wxWindow * _arg0;
5553 PyObject * _argo0 = 0;
5554 char *_kwnames[] = { "self", NULL };
5555
5556 self = self;
5557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Update",_kwnames,&_argo0))
5558 return NULL;
5559 if (_argo0) {
5560 if (_argo0 == Py_None) { _arg0 = NULL; }
5561 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5562 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Update. Expected _wxWindow_p.");
5563 return NULL;
5564 }
5565 }
5566 {
5567 PyThreadState* __tstate = wxPyBeginAllowThreads();
5568 wxWindow_Update(_arg0);
5569
5570 wxPyEndAllowThreads(__tstate);
5571 if (PyErr_Occurred()) return NULL;
5572 } Py_INCREF(Py_None);
5573 _resultobj = Py_None;
5574 return _resultobj;
5575 }
5576
5577 #define wxWindow_GetHelpText(_swigobj) (_swigobj->GetHelpText())
5578 static PyObject *_wrap_wxWindow_GetHelpText(PyObject *self, PyObject *args, PyObject *kwargs) {
5579 PyObject * _resultobj;
5580 wxString * _result;
5581 wxWindow * _arg0;
5582 PyObject * _argo0 = 0;
5583 char *_kwnames[] = { "self", NULL };
5584
5585 self = self;
5586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetHelpText",_kwnames,&_argo0))
5587 return NULL;
5588 if (_argo0) {
5589 if (_argo0 == Py_None) { _arg0 = NULL; }
5590 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5591 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetHelpText. Expected _wxWindow_p.");
5592 return NULL;
5593 }
5594 }
5595 {
5596 PyThreadState* __tstate = wxPyBeginAllowThreads();
5597 _result = new wxString (wxWindow_GetHelpText(_arg0));
5598
5599 wxPyEndAllowThreads(__tstate);
5600 if (PyErr_Occurred()) return NULL;
5601 }{
5602 #if wxUSE_UNICODE
5603 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
5604 #else
5605 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5606 #endif
5607 }
5608 {
5609 delete _result;
5610 }
5611 return _resultobj;
5612 }
5613
5614 #define wxWindow_SetHelpText(_swigobj,_swigarg0) (_swigobj->SetHelpText(_swigarg0))
5615 static PyObject *_wrap_wxWindow_SetHelpText(PyObject *self, PyObject *args, PyObject *kwargs) {
5616 PyObject * _resultobj;
5617 wxWindow * _arg0;
5618 wxString * _arg1;
5619 PyObject * _argo0 = 0;
5620 PyObject * _obj1 = 0;
5621 char *_kwnames[] = { "self","helpText", NULL };
5622
5623 self = self;
5624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetHelpText",_kwnames,&_argo0,&_obj1))
5625 return NULL;
5626 if (_argo0) {
5627 if (_argo0 == Py_None) { _arg0 = NULL; }
5628 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5629 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetHelpText. Expected _wxWindow_p.");
5630 return NULL;
5631 }
5632 }
5633 {
5634 _arg1 = wxString_in_helper(_obj1);
5635 if (_arg1 == NULL)
5636 return NULL;
5637 }
5638 {
5639 PyThreadState* __tstate = wxPyBeginAllowThreads();
5640 wxWindow_SetHelpText(_arg0,*_arg1);
5641
5642 wxPyEndAllowThreads(__tstate);
5643 if (PyErr_Occurred()) return NULL;
5644 } Py_INCREF(Py_None);
5645 _resultobj = Py_None;
5646 {
5647 if (_obj1)
5648 delete _arg1;
5649 }
5650 return _resultobj;
5651 }
5652
5653 #define wxWindow_SetHelpTextForId(_swigobj,_swigarg0) (_swigobj->SetHelpTextForId(_swigarg0))
5654 static PyObject *_wrap_wxWindow_SetHelpTextForId(PyObject *self, PyObject *args, PyObject *kwargs) {
5655 PyObject * _resultobj;
5656 wxWindow * _arg0;
5657 wxString * _arg1;
5658 PyObject * _argo0 = 0;
5659 PyObject * _obj1 = 0;
5660 char *_kwnames[] = { "self","text", NULL };
5661
5662 self = self;
5663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetHelpTextForId",_kwnames,&_argo0,&_obj1))
5664 return NULL;
5665 if (_argo0) {
5666 if (_argo0 == Py_None) { _arg0 = NULL; }
5667 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5668 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetHelpTextForId. Expected _wxWindow_p.");
5669 return NULL;
5670 }
5671 }
5672 {
5673 _arg1 = wxString_in_helper(_obj1);
5674 if (_arg1 == NULL)
5675 return NULL;
5676 }
5677 {
5678 PyThreadState* __tstate = wxPyBeginAllowThreads();
5679 wxWindow_SetHelpTextForId(_arg0,*_arg1);
5680
5681 wxPyEndAllowThreads(__tstate);
5682 if (PyErr_Occurred()) return NULL;
5683 } Py_INCREF(Py_None);
5684 _resultobj = Py_None;
5685 {
5686 if (_obj1)
5687 delete _arg1;
5688 }
5689 return _resultobj;
5690 }
5691
5692 #define wxWindow_ScrollLines(_swigobj,_swigarg0) (_swigobj->ScrollLines(_swigarg0))
5693 static PyObject *_wrap_wxWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
5694 PyObject * _resultobj;
5695 bool _result;
5696 wxWindow * _arg0;
5697 int _arg1;
5698 PyObject * _argo0 = 0;
5699 char *_kwnames[] = { "self","lines", NULL };
5700
5701 self = self;
5702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_ScrollLines",_kwnames,&_argo0,&_arg1))
5703 return NULL;
5704 if (_argo0) {
5705 if (_argo0 == Py_None) { _arg0 = NULL; }
5706 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5707 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScrollLines. Expected _wxWindow_p.");
5708 return NULL;
5709 }
5710 }
5711 {
5712 PyThreadState* __tstate = wxPyBeginAllowThreads();
5713 _result = (bool )wxWindow_ScrollLines(_arg0,_arg1);
5714
5715 wxPyEndAllowThreads(__tstate);
5716 if (PyErr_Occurred()) return NULL;
5717 } _resultobj = Py_BuildValue("i",_result);
5718 return _resultobj;
5719 }
5720
5721 #define wxWindow_ScrollPages(_swigobj,_swigarg0) (_swigobj->ScrollPages(_swigarg0))
5722 static PyObject *_wrap_wxWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
5723 PyObject * _resultobj;
5724 bool _result;
5725 wxWindow * _arg0;
5726 int _arg1;
5727 PyObject * _argo0 = 0;
5728 char *_kwnames[] = { "self","pages", NULL };
5729
5730 self = self;
5731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_ScrollPages",_kwnames,&_argo0,&_arg1))
5732 return NULL;
5733 if (_argo0) {
5734 if (_argo0 == Py_None) { _arg0 = NULL; }
5735 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5736 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScrollPages. Expected _wxWindow_p.");
5737 return NULL;
5738 }
5739 }
5740 {
5741 PyThreadState* __tstate = wxPyBeginAllowThreads();
5742 _result = (bool )wxWindow_ScrollPages(_arg0,_arg1);
5743
5744 wxPyEndAllowThreads(__tstate);
5745 if (PyErr_Occurred()) return NULL;
5746 } _resultobj = Py_BuildValue("i",_result);
5747 return _resultobj;
5748 }
5749
5750 #define wxWindow_LineUp(_swigobj) (_swigobj->LineUp())
5751 static PyObject *_wrap_wxWindow_LineUp(PyObject *self, PyObject *args, PyObject *kwargs) {
5752 PyObject * _resultobj;
5753 bool _result;
5754 wxWindow * _arg0;
5755 PyObject * _argo0 = 0;
5756 char *_kwnames[] = { "self", NULL };
5757
5758 self = self;
5759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_LineUp",_kwnames,&_argo0))
5760 return NULL;
5761 if (_argo0) {
5762 if (_argo0 == Py_None) { _arg0 = NULL; }
5763 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5764 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_LineUp. Expected _wxWindow_p.");
5765 return NULL;
5766 }
5767 }
5768 {
5769 PyThreadState* __tstate = wxPyBeginAllowThreads();
5770 _result = (bool )wxWindow_LineUp(_arg0);
5771
5772 wxPyEndAllowThreads(__tstate);
5773 if (PyErr_Occurred()) return NULL;
5774 } _resultobj = Py_BuildValue("i",_result);
5775 return _resultobj;
5776 }
5777
5778 #define wxWindow_LineDown(_swigobj) (_swigobj->LineDown())
5779 static PyObject *_wrap_wxWindow_LineDown(PyObject *self, PyObject *args, PyObject *kwargs) {
5780 PyObject * _resultobj;
5781 bool _result;
5782 wxWindow * _arg0;
5783 PyObject * _argo0 = 0;
5784 char *_kwnames[] = { "self", NULL };
5785
5786 self = self;
5787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_LineDown",_kwnames,&_argo0))
5788 return NULL;
5789 if (_argo0) {
5790 if (_argo0 == Py_None) { _arg0 = NULL; }
5791 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5792 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_LineDown. Expected _wxWindow_p.");
5793 return NULL;
5794 }
5795 }
5796 {
5797 PyThreadState* __tstate = wxPyBeginAllowThreads();
5798 _result = (bool )wxWindow_LineDown(_arg0);
5799
5800 wxPyEndAllowThreads(__tstate);
5801 if (PyErr_Occurred()) return NULL;
5802 } _resultobj = Py_BuildValue("i",_result);
5803 return _resultobj;
5804 }
5805
5806 #define wxWindow_PageUp(_swigobj) (_swigobj->PageUp())
5807 static PyObject *_wrap_wxWindow_PageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
5808 PyObject * _resultobj;
5809 bool _result;
5810 wxWindow * _arg0;
5811 PyObject * _argo0 = 0;
5812 char *_kwnames[] = { "self", NULL };
5813
5814 self = self;
5815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_PageUp",_kwnames,&_argo0))
5816 return NULL;
5817 if (_argo0) {
5818 if (_argo0 == Py_None) { _arg0 = NULL; }
5819 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5820 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PageUp. Expected _wxWindow_p.");
5821 return NULL;
5822 }
5823 }
5824 {
5825 PyThreadState* __tstate = wxPyBeginAllowThreads();
5826 _result = (bool )wxWindow_PageUp(_arg0);
5827
5828 wxPyEndAllowThreads(__tstate);
5829 if (PyErr_Occurred()) return NULL;
5830 } _resultobj = Py_BuildValue("i",_result);
5831 return _resultobj;
5832 }
5833
5834 #define wxWindow_PageDown(_swigobj) (_swigobj->PageDown())
5835 static PyObject *_wrap_wxWindow_PageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
5836 PyObject * _resultobj;
5837 bool _result;
5838 wxWindow * _arg0;
5839 PyObject * _argo0 = 0;
5840 char *_kwnames[] = { "self", NULL };
5841
5842 self = self;
5843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_PageDown",_kwnames,&_argo0))
5844 return NULL;
5845 if (_argo0) {
5846 if (_argo0 == Py_None) { _arg0 = NULL; }
5847 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5848 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PageDown. Expected _wxWindow_p.");
5849 return NULL;
5850 }
5851 }
5852 {
5853 PyThreadState* __tstate = wxPyBeginAllowThreads();
5854 _result = (bool )wxWindow_PageDown(_arg0);
5855
5856 wxPyEndAllowThreads(__tstate);
5857 if (PyErr_Occurred()) return NULL;
5858 } _resultobj = Py_BuildValue("i",_result);
5859 return _resultobj;
5860 }
5861
5862 static PyObject *_wrap_wxWindow_FindFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
5863 PyObject * _resultobj;
5864 wxWindow * _result;
5865 char *_kwnames[] = { NULL };
5866
5867 self = self;
5868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxWindow_FindFocus",_kwnames))
5869 return NULL;
5870 {
5871 PyThreadState* __tstate = wxPyBeginAllowThreads();
5872 _result = (wxWindow *)wxWindow::FindFocus();
5873
5874 wxPyEndAllowThreads(__tstate);
5875 if (PyErr_Occurred()) return NULL;
5876 }{ _resultobj = wxPyMake_wxObject(_result); }
5877 return _resultobj;
5878 }
5879
5880 static PyObject *_wrap_wxWindow_NewControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
5881 PyObject * _resultobj;
5882 int _result;
5883 char *_kwnames[] = { NULL };
5884
5885 self = self;
5886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxWindow_NewControlId",_kwnames))
5887 return NULL;
5888 {
5889 PyThreadState* __tstate = wxPyBeginAllowThreads();
5890 _result = (int )wxWindow::NewControlId();
5891
5892 wxPyEndAllowThreads(__tstate);
5893 if (PyErr_Occurred()) return NULL;
5894 } _resultobj = Py_BuildValue("i",_result);
5895 return _resultobj;
5896 }
5897
5898 static PyObject *_wrap_wxWindow_NextControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
5899 PyObject * _resultobj;
5900 int _result;
5901 int _arg0;
5902 char *_kwnames[] = { "id", NULL };
5903
5904 self = self;
5905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxWindow_NextControlId",_kwnames,&_arg0))
5906 return NULL;
5907 {
5908 PyThreadState* __tstate = wxPyBeginAllowThreads();
5909 _result = (int )wxWindow::NextControlId(_arg0);
5910
5911 wxPyEndAllowThreads(__tstate);
5912 if (PyErr_Occurred()) return NULL;
5913 } _resultobj = Py_BuildValue("i",_result);
5914 return _resultobj;
5915 }
5916
5917 static PyObject *_wrap_wxWindow_PrevControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
5918 PyObject * _resultobj;
5919 int _result;
5920 int _arg0;
5921 char *_kwnames[] = { "id", NULL };
5922
5923 self = self;
5924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxWindow_PrevControlId",_kwnames,&_arg0))
5925 return NULL;
5926 {
5927 PyThreadState* __tstate = wxPyBeginAllowThreads();
5928 _result = (int )wxWindow::PrevControlId(_arg0);
5929
5930 wxPyEndAllowThreads(__tstate);
5931 if (PyErr_Occurred()) return NULL;
5932 } _resultobj = Py_BuildValue("i",_result);
5933 return _resultobj;
5934 }
5935
5936 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
5937 static PyObject *_wrap_wxWindow_SetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
5938 PyObject * _resultobj;
5939 wxWindow * _arg0;
5940 wxAcceleratorTable * _arg1;
5941 PyObject * _argo0 = 0;
5942 PyObject * _argo1 = 0;
5943 char *_kwnames[] = { "self","accel", NULL };
5944
5945 self = self;
5946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetAcceleratorTable",_kwnames,&_argo0,&_argo1))
5947 return NULL;
5948 if (_argo0) {
5949 if (_argo0 == Py_None) { _arg0 = NULL; }
5950 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5951 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
5952 return NULL;
5953 }
5954 }
5955 if (_argo1) {
5956 if (_argo1 == Py_None) { _arg1 = NULL; }
5957 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxAcceleratorTable_p")) {
5958 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
5959 return NULL;
5960 }
5961 }
5962 {
5963 PyThreadState* __tstate = wxPyBeginAllowThreads();
5964 wxWindow_SetAcceleratorTable(_arg0,*_arg1);
5965
5966 wxPyEndAllowThreads(__tstate);
5967 if (PyErr_Occurred()) return NULL;
5968 } Py_INCREF(Py_None);
5969 _resultobj = Py_None;
5970 return _resultobj;
5971 }
5972
5973 #define wxWindow_GetAcceleratorTable(_swigobj) (_swigobj->GetAcceleratorTable())
5974 static PyObject *_wrap_wxWindow_GetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
5975 PyObject * _resultobj;
5976 wxAcceleratorTable * _result;
5977 wxWindow * _arg0;
5978 PyObject * _argo0 = 0;
5979 char *_kwnames[] = { "self", NULL };
5980 char _ptemp[128];
5981
5982 self = self;
5983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetAcceleratorTable",_kwnames,&_argo0))
5984 return NULL;
5985 if (_argo0) {
5986 if (_argo0 == Py_None) { _arg0 = NULL; }
5987 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5988 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetAcceleratorTable. Expected _wxWindow_p.");
5989 return NULL;
5990 }
5991 }
5992 {
5993 PyThreadState* __tstate = wxPyBeginAllowThreads();
5994 _result = (wxAcceleratorTable *)wxWindow_GetAcceleratorTable(_arg0);
5995
5996 wxPyEndAllowThreads(__tstate);
5997 if (PyErr_Occurred()) return NULL;
5998 } if (_result) {
5999 SWIG_MakePtr(_ptemp, (char *) _result,"_wxAcceleratorTable_p");
6000 _resultobj = Py_BuildValue("s",_ptemp);
6001 } else {
6002 Py_INCREF(Py_None);
6003 _resultobj = Py_None;
6004 }
6005 return _resultobj;
6006 }
6007
6008 #define wxWindow_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
6009 static PyObject *_wrap_wxWindow_GetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
6010 PyObject * _resultobj;
6011 wxWindow * _result;
6012 wxWindow * _arg0;
6013 PyObject * _argo0 = 0;
6014 char *_kwnames[] = { "self", NULL };
6015
6016 self = self;
6017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetDefaultItem",_kwnames,&_argo0))
6018 return NULL;
6019 if (_argo0) {
6020 if (_argo0 == Py_None) { _arg0 = NULL; }
6021 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6022 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetDefaultItem. Expected _wxWindow_p.");
6023 return NULL;
6024 }
6025 }
6026 {
6027 PyThreadState* __tstate = wxPyBeginAllowThreads();
6028 _result = (wxWindow *)wxWindow_GetDefaultItem(_arg0);
6029
6030 wxPyEndAllowThreads(__tstate);
6031 if (PyErr_Occurred()) return NULL;
6032 }{ _resultobj = wxPyMake_wxObject(_result); }
6033 return _resultobj;
6034 }
6035
6036 #define wxWindow_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
6037 static PyObject *_wrap_wxWindow_SetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
6038 PyObject * _resultobj;
6039 wxWindow * _result;
6040 wxWindow * _arg0;
6041 wxWindow * _arg1;
6042 PyObject * _argo0 = 0;
6043 PyObject * _argo1 = 0;
6044 char *_kwnames[] = { "self","btn", NULL };
6045
6046 self = self;
6047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetDefaultItem",_kwnames,&_argo0,&_argo1))
6048 return NULL;
6049 if (_argo0) {
6050 if (_argo0 == Py_None) { _arg0 = NULL; }
6051 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6052 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetDefaultItem. Expected _wxWindow_p.");
6053 return NULL;
6054 }
6055 }
6056 if (_argo1) {
6057 if (_argo1 == Py_None) { _arg1 = NULL; }
6058 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
6059 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetDefaultItem. Expected _wxWindow_p.");
6060 return NULL;
6061 }
6062 }
6063 {
6064 PyThreadState* __tstate = wxPyBeginAllowThreads();
6065 _result = (wxWindow *)wxWindow_SetDefaultItem(_arg0,_arg1);
6066
6067 wxPyEndAllowThreads(__tstate);
6068 if (PyErr_Occurred()) return NULL;
6069 }{ _resultobj = wxPyMake_wxObject(_result); }
6070 return _resultobj;
6071 }
6072
6073 static void *SwigwxPanelTowxWindow(void *ptr) {
6074 wxPanel *src;
6075 wxWindow *dest;
6076 src = (wxPanel *) ptr;
6077 dest = (wxWindow *) src;
6078 return (void *) dest;
6079 }
6080
6081 static void *SwigwxPanelTowxEvtHandler(void *ptr) {
6082 wxPanel *src;
6083 wxEvtHandler *dest;
6084 src = (wxPanel *) ptr;
6085 dest = (wxEvtHandler *) src;
6086 return (void *) dest;
6087 }
6088
6089 static void *SwigwxPanelTowxObject(void *ptr) {
6090 wxPanel *src;
6091 wxObject *dest;
6092 src = (wxPanel *) ptr;
6093 dest = (wxObject *) src;
6094 return (void *) dest;
6095 }
6096
6097 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6098 static PyObject *_wrap_new_wxPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
6099 PyObject * _resultobj;
6100 wxPanel * _result;
6101 wxWindow * _arg0;
6102 wxWindowID _arg1;
6103 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
6104 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
6105 long _arg4 = (long ) wxTAB_TRAVERSAL;
6106 wxString * _arg5 = (wxString *) &wxPyPanelNameStr;
6107 PyObject * _argo0 = 0;
6108 wxPoint temp;
6109 PyObject * _obj2 = 0;
6110 wxSize temp0;
6111 PyObject * _obj3 = 0;
6112 PyObject * _obj5 = 0;
6113 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
6114 char _ptemp[128];
6115
6116 self = self;
6117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxPanel",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
6118 return NULL;
6119 if (_argo0) {
6120 if (_argo0 == Py_None) { _arg0 = NULL; }
6121 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6122 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
6123 return NULL;
6124 }
6125 }
6126 if (_obj2)
6127 {
6128 _arg2 = &temp;
6129 if (! wxPoint_helper(_obj2, &_arg2))
6130 return NULL;
6131 }
6132 if (_obj3)
6133 {
6134 _arg3 = &temp0;
6135 if (! wxSize_helper(_obj3, &_arg3))
6136 return NULL;
6137 }
6138 if (_obj5)
6139 {
6140 _arg5 = wxString_in_helper(_obj5);
6141 if (_arg5 == NULL)
6142 return NULL;
6143 }
6144 {
6145 PyThreadState* __tstate = wxPyBeginAllowThreads();
6146 _result = (wxPanel *)new_wxPanel(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
6147
6148 wxPyEndAllowThreads(__tstate);
6149 if (PyErr_Occurred()) return NULL;
6150 } if (_result) {
6151 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPanel_p");
6152 _resultobj = Py_BuildValue("s",_ptemp);
6153 } else {
6154 Py_INCREF(Py_None);
6155 _resultobj = Py_None;
6156 }
6157 {
6158 if (_obj5)
6159 delete _arg5;
6160 }
6161 return _resultobj;
6162 }
6163
6164 #define new_wxPrePanel() (new wxPanel())
6165 static PyObject *_wrap_new_wxPrePanel(PyObject *self, PyObject *args, PyObject *kwargs) {
6166 PyObject * _resultobj;
6167 wxPanel * _result;
6168 char *_kwnames[] = { NULL };
6169 char _ptemp[128];
6170
6171 self = self;
6172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPrePanel",_kwnames))
6173 return NULL;
6174 {
6175 PyThreadState* __tstate = wxPyBeginAllowThreads();
6176 _result = (wxPanel *)new_wxPrePanel();
6177
6178 wxPyEndAllowThreads(__tstate);
6179 if (PyErr_Occurred()) return NULL;
6180 } if (_result) {
6181 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPanel_p");
6182 _resultobj = Py_BuildValue("s",_ptemp);
6183 } else {
6184 Py_INCREF(Py_None);
6185 _resultobj = Py_None;
6186 }
6187 return _resultobj;
6188 }
6189
6190 #define wxPanel_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6191 static PyObject *_wrap_wxPanel_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6192 PyObject * _resultobj;
6193 bool _result;
6194 wxPanel * _arg0;
6195 wxWindow * _arg1;
6196 wxWindowID _arg2;
6197 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
6198 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
6199 long _arg5 = (long ) wxTAB_TRAVERSAL;
6200 wxString * _arg6 = (wxString *) &wxPyPanelNameStr;
6201 PyObject * _argo0 = 0;
6202 PyObject * _argo1 = 0;
6203 wxPoint temp;
6204 PyObject * _obj3 = 0;
6205 wxSize temp0;
6206 PyObject * _obj4 = 0;
6207 PyObject * _obj6 = 0;
6208 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
6209
6210 self = self;
6211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOlO:wxPanel_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
6212 return NULL;
6213 if (_argo0) {
6214 if (_argo0 == Py_None) { _arg0 = NULL; }
6215 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPanel_p")) {
6216 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPanel_Create. Expected _wxPanel_p.");
6217 return NULL;
6218 }
6219 }
6220 if (_argo1) {
6221 if (_argo1 == Py_None) { _arg1 = NULL; }
6222 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
6223 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPanel_Create. Expected _wxWindow_p.");
6224 return NULL;
6225 }
6226 }
6227 if (_obj3)
6228 {
6229 _arg3 = &temp;
6230 if (! wxPoint_helper(_obj3, &_arg3))
6231 return NULL;
6232 }
6233 if (_obj4)
6234 {
6235 _arg4 = &temp0;
6236 if (! wxSize_helper(_obj4, &_arg4))
6237 return NULL;
6238 }
6239 if (_obj6)
6240 {
6241 _arg6 = wxString_in_helper(_obj6);
6242 if (_arg6 == NULL)
6243 return NULL;
6244 }
6245 {
6246 PyThreadState* __tstate = wxPyBeginAllowThreads();
6247 _result = (bool )wxPanel_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
6248
6249 wxPyEndAllowThreads(__tstate);
6250 if (PyErr_Occurred()) return NULL;
6251 } _resultobj = Py_BuildValue("i",_result);
6252 {
6253 if (_obj6)
6254 delete _arg6;
6255 }
6256 return _resultobj;
6257 }
6258
6259 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
6260 static PyObject *_wrap_wxPanel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
6261 PyObject * _resultobj;
6262 wxPanel * _arg0;
6263 PyObject * _argo0 = 0;
6264 char *_kwnames[] = { "self", NULL };
6265
6266 self = self;
6267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPanel_InitDialog",_kwnames,&_argo0))
6268 return NULL;
6269 if (_argo0) {
6270 if (_argo0 == Py_None) { _arg0 = NULL; }
6271 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPanel_p")) {
6272 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
6273 return NULL;
6274 }
6275 }
6276 {
6277 PyThreadState* __tstate = wxPyBeginAllowThreads();
6278 wxPanel_InitDialog(_arg0);
6279
6280 wxPyEndAllowThreads(__tstate);
6281 if (PyErr_Occurred()) return NULL;
6282 } Py_INCREF(Py_None);
6283 _resultobj = Py_None;
6284 return _resultobj;
6285 }
6286
6287 static void *SwigwxScrolledWindowTowxPanel(void *ptr) {
6288 wxScrolledWindow *src;
6289 wxPanel *dest;
6290 src = (wxScrolledWindow *) ptr;
6291 dest = (wxPanel *) src;
6292 return (void *) dest;
6293 }
6294
6295 static void *SwigwxScrolledWindowTowxWindow(void *ptr) {
6296 wxScrolledWindow *src;
6297 wxWindow *dest;
6298 src = (wxScrolledWindow *) ptr;
6299 dest = (wxWindow *) src;
6300 return (void *) dest;
6301 }
6302
6303 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr) {
6304 wxScrolledWindow *src;
6305 wxEvtHandler *dest;
6306 src = (wxScrolledWindow *) ptr;
6307 dest = (wxEvtHandler *) src;
6308 return (void *) dest;
6309 }
6310
6311 static void *SwigwxScrolledWindowTowxObject(void *ptr) {
6312 wxScrolledWindow *src;
6313 wxObject *dest;
6314 src = (wxScrolledWindow *) ptr;
6315 dest = (wxObject *) src;
6316 return (void *) dest;
6317 }
6318
6319 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6320 static PyObject *_wrap_new_wxScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6321 PyObject * _resultobj;
6322 wxScrolledWindow * _result;
6323 wxWindow * _arg0;
6324 wxWindowID _arg1 = (wxWindowID ) -1;
6325 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
6326 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
6327 long _arg4 = (long ) wxHSCROLL|wxVSCROLL;
6328 wxString * _arg5 = (wxString *) &wxPyPanelNameStr;
6329 PyObject * _argo0 = 0;
6330 wxPoint temp;
6331 PyObject * _obj2 = 0;
6332 wxSize temp0;
6333 PyObject * _obj3 = 0;
6334 PyObject * _obj5 = 0;
6335 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
6336 char _ptemp[128];
6337
6338 self = self;
6339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlO:new_wxScrolledWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
6340 return NULL;
6341 if (_argo0) {
6342 if (_argo0 == Py_None) { _arg0 = NULL; }
6343 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6344 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
6345 return NULL;
6346 }
6347 }
6348 if (_obj2)
6349 {
6350 _arg2 = &temp;
6351 if (! wxPoint_helper(_obj2, &_arg2))
6352 return NULL;
6353 }
6354 if (_obj3)
6355 {
6356 _arg3 = &temp0;
6357 if (! wxSize_helper(_obj3, &_arg3))
6358 return NULL;
6359 }
6360 if (_obj5)
6361 {
6362 _arg5 = wxString_in_helper(_obj5);
6363 if (_arg5 == NULL)
6364 return NULL;
6365 }
6366 {
6367 PyThreadState* __tstate = wxPyBeginAllowThreads();
6368 _result = (wxScrolledWindow *)new_wxScrolledWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
6369
6370 wxPyEndAllowThreads(__tstate);
6371 if (PyErr_Occurred()) return NULL;
6372 } if (_result) {
6373 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrolledWindow_p");
6374 _resultobj = Py_BuildValue("s",_ptemp);
6375 } else {
6376 Py_INCREF(Py_None);
6377 _resultobj = Py_None;
6378 }
6379 {
6380 if (_obj5)
6381 delete _arg5;
6382 }
6383 return _resultobj;
6384 }
6385
6386 #define new_wxPreScrolledWindow() (new wxScrolledWindow())
6387 static PyObject *_wrap_new_wxPreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6388 PyObject * _resultobj;
6389 wxScrolledWindow * _result;
6390 char *_kwnames[] = { NULL };
6391 char _ptemp[128];
6392
6393 self = self;
6394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreScrolledWindow",_kwnames))
6395 return NULL;
6396 {
6397 PyThreadState* __tstate = wxPyBeginAllowThreads();
6398 _result = (wxScrolledWindow *)new_wxPreScrolledWindow();
6399
6400 wxPyEndAllowThreads(__tstate);
6401 if (PyErr_Occurred()) return NULL;
6402 } if (_result) {
6403 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrolledWindow_p");
6404 _resultobj = Py_BuildValue("s",_ptemp);
6405 } else {
6406 Py_INCREF(Py_None);
6407 _resultobj = Py_None;
6408 }
6409 return _resultobj;
6410 }
6411
6412 #define wxScrolledWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6413 static PyObject *_wrap_wxScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6414 PyObject * _resultobj;
6415 bool _result;
6416 wxScrolledWindow * _arg0;
6417 wxWindow * _arg1;
6418 wxWindowID _arg2 = (wxWindowID ) -1;
6419 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
6420 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
6421 long _arg5 = (long ) wxHSCROLL|wxVSCROLL;
6422 wxString * _arg6 = (wxString *) &wxPyPanelNameStr;
6423 PyObject * _argo0 = 0;
6424 PyObject * _argo1 = 0;
6425 wxPoint temp;
6426 PyObject * _obj3 = 0;
6427 wxSize temp0;
6428 PyObject * _obj4 = 0;
6429 PyObject * _obj6 = 0;
6430 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
6431
6432 self = self;
6433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlO:wxScrolledWindow_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
6434 return NULL;
6435 if (_argo0) {
6436 if (_argo0 == Py_None) { _arg0 = NULL; }
6437 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
6438 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_Create. Expected _wxScrolledWindow_p.");
6439 return NULL;
6440 }
6441 }
6442 if (_argo1) {
6443 if (_argo1 == Py_None) { _arg1 = NULL; }
6444 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
6445 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxScrolledWindow_Create. Expected _wxWindow_p.");
6446 return NULL;
6447 }
6448 }
6449 if (_obj3)
6450 {
6451 _arg3 = &temp;
6452 if (! wxPoint_helper(_obj3, &_arg3))
6453 return NULL;
6454 }
6455 if (_obj4)
6456 {
6457 _arg4 = &temp0;
6458 if (! wxSize_helper(_obj4, &_arg4))
6459 return NULL;
6460 }
6461 if (_obj6)
6462 {
6463 _arg6 = wxString_in_helper(_obj6);
6464 if (_arg6 == NULL)
6465 return NULL;
6466 }
6467 {
6468 PyThreadState* __tstate = wxPyBeginAllowThreads();
6469 _result = (bool )wxScrolledWindow_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
6470
6471 wxPyEndAllowThreads(__tstate);
6472 if (PyErr_Occurred()) return NULL;
6473 } _resultobj = Py_BuildValue("i",_result);
6474 {
6475 if (_obj6)
6476 delete _arg6;
6477 }
6478 return _resultobj;
6479 }
6480
6481 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
6482 static PyObject *_wrap_wxScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
6483 PyObject * _resultobj;
6484 wxScrolledWindow * _arg0;
6485 bool _arg1;
6486 bool _arg2;
6487 PyObject * _argo0 = 0;
6488 int tempbool1;
6489 int tempbool2;
6490 char *_kwnames[] = { "self","xScrolling","yScrolling", NULL };
6491
6492 self = self;
6493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxScrolledWindow_EnableScrolling",_kwnames,&_argo0,&tempbool1,&tempbool2))
6494 return NULL;
6495 if (_argo0) {
6496 if (_argo0 == Py_None) { _arg0 = NULL; }
6497 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
6498 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
6499 return NULL;
6500 }
6501 }
6502 _arg1 = (bool ) tempbool1;
6503 _arg2 = (bool ) tempbool2;
6504 {
6505 PyThreadState* __tstate = wxPyBeginAllowThreads();
6506 wxScrolledWindow_EnableScrolling(_arg0,_arg1,_arg2);
6507
6508 wxPyEndAllowThreads(__tstate);
6509 if (PyErr_Occurred()) return NULL;
6510 } Py_INCREF(Py_None);
6511 _resultobj = Py_None;
6512 return _resultobj;
6513 }
6514
6515 #define wxScrolledWindow_GetScrollPageSize(_swigobj,_swigarg0) (_swigobj->GetScrollPageSize(_swigarg0))
6516 static PyObject *_wrap_wxScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6517 PyObject * _resultobj;
6518 int _result;
6519 wxScrolledWindow * _arg0;
6520 int _arg1;
6521 PyObject * _argo0 = 0;
6522 char *_kwnames[] = { "self","orient", NULL };
6523
6524 self = self;
6525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxScrolledWindow_GetScrollPageSize",_kwnames,&_argo0,&_arg1))
6526 return NULL;
6527 if (_argo0) {
6528 if (_argo0 == Py_None) { _arg0 = NULL; }
6529 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
6530 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetScrollPageSize. Expected _wxScrolledWindow_p.");
6531 return NULL;
6532 }
6533 }
6534 {
6535 PyThreadState* __tstate = wxPyBeginAllowThreads();
6536 _result = (int )wxScrolledWindow_GetScrollPageSize(_arg0,_arg1);
6537
6538 wxPyEndAllowThreads(__tstate);
6539 if (PyErr_Occurred()) return NULL;
6540 } _resultobj = Py_BuildValue("i",_result);
6541 return _resultobj;
6542 }
6543
6544 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
6545 static PyObject *_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
6546 PyObject * _resultobj;
6547 wxScrolledWindow * _arg0;
6548 int * _arg1;
6549 int temp;
6550 int * _arg2;
6551 int temp0;
6552 PyObject * _argo0 = 0;
6553 char *_kwnames[] = { "self", NULL };
6554
6555 self = self;
6556 {
6557 _arg1 = &temp;
6558 }
6559 {
6560 _arg2 = &temp0;
6561 }
6562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames,&_argo0))
6563 return NULL;
6564 if (_argo0) {
6565 if (_argo0 == Py_None) { _arg0 = NULL; }
6566 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
6567 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
6568 return NULL;
6569 }
6570 }
6571 {
6572 PyThreadState* __tstate = wxPyBeginAllowThreads();
6573 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0,_arg1,_arg2);
6574
6575 wxPyEndAllowThreads(__tstate);
6576 if (PyErr_Occurred()) return NULL;
6577 } Py_INCREF(Py_None);
6578 _resultobj = Py_None;
6579 {
6580 PyObject *o;
6581 o = PyInt_FromLong((long) (*_arg1));
6582 _resultobj = t_output_helper(_resultobj, o);
6583 }
6584 {
6585 PyObject *o;
6586 o = PyInt_FromLong((long) (*_arg2));
6587 _resultobj = t_output_helper(_resultobj, o);
6588 }
6589 return _resultobj;
6590 }
6591
6592 #define wxScrolledWindow_GetTargetWindow(_swigobj) (_swigobj->GetTargetWindow())
6593 static PyObject *_wrap_wxScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6594 PyObject * _resultobj;
6595 wxWindow * _result;
6596 wxScrolledWindow * _arg0;
6597 PyObject * _argo0 = 0;
6598 char *_kwnames[] = { "self", NULL };
6599
6600 self = self;
6601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_GetTargetWindow",_kwnames,&_argo0))
6602 return NULL;
6603 if (_argo0) {
6604 if (_argo0 == Py_None) { _arg0 = NULL; }
6605 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
6606 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetTargetWindow. Expected _wxScrolledWindow_p.");
6607 return NULL;
6608 }
6609 }
6610 {
6611 PyThreadState* __tstate = wxPyBeginAllowThreads();
6612 _result = (wxWindow *)wxScrolledWindow_GetTargetWindow(_arg0);
6613
6614 wxPyEndAllowThreads(__tstate);
6615 if (PyErr_Occurred()) return NULL;
6616 }{ _resultobj = wxPyMake_wxObject(_result); }
6617 return _resultobj;
6618 }
6619
6620 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
6621 static PyObject *_wrap_wxScrolledWindow_GetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6622 PyObject * _resultobj;
6623 wxScrolledWindow * _arg0;
6624 int * _arg1;
6625 int temp;
6626 int * _arg2;
6627 int temp0;
6628 PyObject * _argo0 = 0;
6629 char *_kwnames[] = { "self", NULL };
6630
6631 self = self;
6632 {
6633 _arg1 = &temp;
6634 }
6635 {
6636 _arg2 = &temp0;
6637 }
6638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_GetVirtualSize",_kwnames,&_argo0))
6639 return NULL;
6640 if (_argo0) {
6641 if (_argo0 == Py_None) { _arg0 = NULL; }
6642 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
6643 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
6644 return NULL;
6645 }
6646 }
6647 {
6648 PyThreadState* __tstate = wxPyBeginAllowThreads();
6649 wxScrolledWindow_GetVirtualSize(_arg0,_arg1,_arg2);
6650
6651 wxPyEndAllowThreads(__tstate);
6652 if (PyErr_Occurred()) return NULL;
6653 } Py_INCREF(Py_None);
6654 _resultobj = Py_None;
6655 {
6656 PyObject *o;
6657 o = PyInt_FromLong((long) (*_arg1));
6658 _resultobj = t_output_helper(_resultobj, o);
6659 }
6660 {
6661 PyObject *o;
6662 o = PyInt_FromLong((long) (*_arg2));
6663 _resultobj = t_output_helper(_resultobj, o);
6664 }
6665 return _resultobj;
6666 }
6667
6668 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
6669 static PyObject *_wrap_wxScrolledWindow_IsRetained(PyObject *self, PyObject *args, PyObject *kwargs) {
6670 PyObject * _resultobj;
6671 bool _result;
6672 wxScrolledWindow * _arg0;
6673 PyObject * _argo0 = 0;
6674 char *_kwnames[] = { "self", NULL };
6675
6676 self = self;
6677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_IsRetained",_kwnames,&_argo0))
6678 return NULL;
6679 if (_argo0) {
6680 if (_argo0 == Py_None) { _arg0 = NULL; }
6681 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
6682 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
6683 return NULL;
6684 }
6685 }
6686 {
6687 PyThreadState* __tstate = wxPyBeginAllowThreads();
6688 _result = (bool )wxScrolledWindow_IsRetained(_arg0);
6689
6690 wxPyEndAllowThreads(__tstate);
6691 if (PyErr_Occurred()) return NULL;
6692 } _resultobj = Py_BuildValue("i",_result);
6693 return _resultobj;
6694 }
6695
6696 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
6697 static PyObject *_wrap_wxScrolledWindow_PrepareDC(PyObject *self, PyObject *args, PyObject *kwargs) {
6698 PyObject * _resultobj;
6699 wxScrolledWindow * _arg0;
6700 wxDC * _arg1;
6701 PyObject * _argo0 = 0;
6702 PyObject * _argo1 = 0;
6703 char *_kwnames[] = { "self","dc", NULL };
6704
6705 self = self;
6706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxScrolledWindow_PrepareDC",_kwnames,&_argo0,&_argo1))
6707 return NULL;
6708 if (_argo0) {
6709 if (_argo0 == Py_None) { _arg0 = NULL; }
6710 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
6711 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
6712 return NULL;
6713 }
6714 }
6715 if (_argo1) {
6716 if (_argo1 == Py_None) { _arg1 = NULL; }
6717 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6718 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
6719 return NULL;
6720 }
6721 }
6722 {
6723 PyThreadState* __tstate = wxPyBeginAllowThreads();
6724 wxScrolledWindow_PrepareDC(_arg0,*_arg1);
6725
6726 wxPyEndAllowThreads(__tstate);
6727 if (PyErr_Occurred()) return NULL;
6728 } Py_INCREF(Py_None);
6729 _resultobj = Py_None;
6730 return _resultobj;
6731 }
6732
6733 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
6734 static PyObject *_wrap_wxScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
6735 PyObject * _resultobj;
6736 wxScrolledWindow * _arg0;
6737 int _arg1;
6738 int _arg2;
6739 PyObject * _argo0 = 0;
6740 char *_kwnames[] = { "self","x","y", NULL };
6741
6742 self = self;
6743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxScrolledWindow_Scroll",_kwnames,&_argo0,&_arg1,&_arg2))
6744 return NULL;
6745 if (_argo0) {
6746 if (_argo0 == Py_None) { _arg0 = NULL; }
6747 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
6748 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
6749 return NULL;
6750 }
6751 }
6752 {
6753 PyThreadState* __tstate = wxPyBeginAllowThreads();
6754 wxScrolledWindow_Scroll(_arg0,_arg1,_arg2);
6755
6756 wxPyEndAllowThreads(__tstate);
6757 if (PyErr_Occurred()) return NULL;
6758 } Py_INCREF(Py_None);
6759 _resultobj = Py_None;
6760 return _resultobj;
6761 }
6762
6763 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6764 static PyObject *_wrap_wxScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
6765 PyObject * _resultobj;
6766 wxScrolledWindow * _arg0;
6767 int _arg1;
6768 int _arg2;
6769 int _arg3;
6770 int _arg4;
6771 int _arg5 = (int ) 0;
6772 int _arg6 = (int ) 0;
6773 int _arg7 = (int ) FALSE;
6774 PyObject * _argo0 = 0;
6775 char *_kwnames[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos","noRefresh", NULL };
6776
6777 self = self;
6778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|iii:wxScrolledWindow_SetScrollbars",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6,&_arg7))
6779 return NULL;
6780 if (_argo0) {
6781 if (_argo0 == Py_None) { _arg0 = NULL; }
6782 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
6783 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
6784 return NULL;
6785 }
6786 }
6787 {
6788 PyThreadState* __tstate = wxPyBeginAllowThreads();
6789 wxScrolledWindow_SetScrollbars(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7);
6790
6791 wxPyEndAllowThreads(__tstate);
6792 if (PyErr_Occurred()) return NULL;
6793 } Py_INCREF(Py_None);
6794 _resultobj = Py_None;
6795 return _resultobj;
6796 }
6797
6798 #define wxScrolledWindow_SetScrollPageSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScrollPageSize(_swigarg0,_swigarg1))
6799 static PyObject *_wrap_wxScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6800 PyObject * _resultobj;
6801 wxScrolledWindow * _arg0;
6802 int _arg1;
6803 int _arg2;
6804 PyObject * _argo0 = 0;
6805 char *_kwnames[] = { "self","orient","pageSize", NULL };
6806
6807 self = self;
6808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxScrolledWindow_SetScrollPageSize",_kwnames,&_argo0,&_arg1,&_arg2))
6809 return NULL;
6810 if (_argo0) {
6811 if (_argo0 == Py_None) { _arg0 = NULL; }
6812 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
6813 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_SetScrollPageSize. Expected _wxScrolledWindow_p.");
6814 return NULL;
6815 }
6816 }
6817 {
6818 PyThreadState* __tstate = wxPyBeginAllowThreads();
6819 wxScrolledWindow_SetScrollPageSize(_arg0,_arg1,_arg2);
6820
6821 wxPyEndAllowThreads(__tstate);
6822 if (PyErr_Occurred()) return NULL;
6823 } Py_INCREF(Py_None);
6824 _resultobj = Py_None;
6825 return _resultobj;
6826 }
6827
6828 #define wxScrolledWindow_SetTargetWindow(_swigobj,_swigarg0) (_swigobj->SetTargetWindow(_swigarg0))
6829 static PyObject *_wrap_wxScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6830 PyObject * _resultobj;
6831 wxScrolledWindow * _arg0;
6832 wxWindow * _arg1;
6833 PyObject * _argo0 = 0;
6834 PyObject * _argo1 = 0;
6835 char *_kwnames[] = { "self","window", NULL };
6836
6837 self = self;
6838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxScrolledWindow_SetTargetWindow",_kwnames,&_argo0,&_argo1))
6839 return NULL;
6840 if (_argo0) {
6841 if (_argo0 == Py_None) { _arg0 = NULL; }
6842 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
6843 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_SetTargetWindow. Expected _wxScrolledWindow_p.");
6844 return NULL;
6845 }
6846 }
6847 if (_argo1) {
6848 if (_argo1 == Py_None) { _arg1 = NULL; }
6849 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
6850 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxScrolledWindow_SetTargetWindow. Expected _wxWindow_p.");
6851 return NULL;
6852 }
6853 }
6854 {
6855 PyThreadState* __tstate = wxPyBeginAllowThreads();
6856 wxScrolledWindow_SetTargetWindow(_arg0,_arg1);
6857
6858 wxPyEndAllowThreads(__tstate);
6859 if (PyErr_Occurred()) return NULL;
6860 } Py_INCREF(Py_None);
6861 _resultobj = Py_None;
6862 return _resultobj;
6863 }
6864
6865 #define wxScrolledWindow_GetViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetViewStart(_swigarg0,_swigarg1))
6866 static PyObject *_wrap_wxScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
6867 PyObject * _resultobj;
6868 wxScrolledWindow * _arg0;
6869 int * _arg1;
6870 int temp;
6871 int * _arg2;
6872 int temp0;
6873 PyObject * _argo0 = 0;
6874 char *_kwnames[] = { "self", NULL };
6875
6876 self = self;
6877 {
6878 _arg1 = &temp;
6879 }
6880 {
6881 _arg2 = &temp0;
6882 }
6883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_GetViewStart",_kwnames,&_argo0))
6884 return NULL;
6885 if (_argo0) {
6886 if (_argo0 == Py_None) { _arg0 = NULL; }
6887 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
6888 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetViewStart. Expected _wxScrolledWindow_p.");
6889 return NULL;
6890 }
6891 }
6892 {
6893 PyThreadState* __tstate = wxPyBeginAllowThreads();
6894 wxScrolledWindow_GetViewStart(_arg0,_arg1,_arg2);
6895
6896 wxPyEndAllowThreads(__tstate);
6897 if (PyErr_Occurred()) return NULL;
6898 } Py_INCREF(Py_None);
6899 _resultobj = Py_None;
6900 {
6901 PyObject *o;
6902 o = PyInt_FromLong((long) (*_arg1));
6903 _resultobj = t_output_helper(_resultobj, o);
6904 }
6905 {
6906 PyObject *o;
6907 o = PyInt_FromLong((long) (*_arg2));
6908 _resultobj = t_output_helper(_resultobj, o);
6909 }
6910 return _resultobj;
6911 }
6912
6913 #define wxScrolledWindow_CalcScrolledPosition1(_swigobj,_swigarg0) (_swigobj->CalcScrolledPosition(_swigarg0))
6914 static PyObject *_wrap_wxScrolledWindow_CalcScrolledPosition1(PyObject *self, PyObject *args, PyObject *kwargs) {
6915 PyObject * _resultobj;
6916 wxPoint * _result;
6917 wxScrolledWindow * _arg0;
6918 wxPoint * _arg1;
6919 PyObject * _argo0 = 0;
6920 wxPoint temp;
6921 PyObject * _obj1 = 0;
6922 char *_kwnames[] = { "self","pt", NULL };
6923 char _ptemp[128];
6924
6925 self = self;
6926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxScrolledWindow_CalcScrolledPosition1",_kwnames,&_argo0,&_obj1))
6927 return NULL;
6928 if (_argo0) {
6929 if (_argo0 == Py_None) { _arg0 = NULL; }
6930 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
6931 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition1. Expected _wxScrolledWindow_p.");
6932 return NULL;
6933 }
6934 }
6935 {
6936 _arg1 = &temp;
6937 if (! wxPoint_helper(_obj1, &_arg1))
6938 return NULL;
6939 }
6940 {
6941 PyThreadState* __tstate = wxPyBeginAllowThreads();
6942 _result = new wxPoint (wxScrolledWindow_CalcScrolledPosition1(_arg0,*_arg1));
6943
6944 wxPyEndAllowThreads(__tstate);
6945 if (PyErr_Occurred()) return NULL;
6946 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
6947 _resultobj = Py_BuildValue("s",_ptemp);
6948 return _resultobj;
6949 }
6950
6951 #define wxScrolledWindow_CalcScrolledPosition2(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcScrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6952 static PyObject *_wrap_wxScrolledWindow_CalcScrolledPosition2(PyObject *self, PyObject *args, PyObject *kwargs) {
6953 PyObject * _resultobj;
6954 wxScrolledWindow * _arg0;
6955 int _arg1;
6956 int _arg2;
6957 int * _arg3;
6958 int temp;
6959 int * _arg4;
6960 int temp0;
6961 PyObject * _argo0 = 0;
6962 char *_kwnames[] = { "self","x","y", NULL };
6963
6964 self = self;
6965 {
6966 _arg3 = &temp;
6967 }
6968 {
6969 _arg4 = &temp0;
6970 }
6971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxScrolledWindow_CalcScrolledPosition2",_kwnames,&_argo0,&_arg1,&_arg2))
6972 return NULL;
6973 if (_argo0) {
6974 if (_argo0 == Py_None) { _arg0 = NULL; }
6975 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
6976 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition2. Expected _wxScrolledWindow_p.");
6977 return NULL;
6978 }
6979 }
6980 {
6981 PyThreadState* __tstate = wxPyBeginAllowThreads();
6982 wxScrolledWindow_CalcScrolledPosition2(_arg0,_arg1,_arg2,_arg3,_arg4);
6983
6984 wxPyEndAllowThreads(__tstate);
6985 if (PyErr_Occurred()) return NULL;
6986 } Py_INCREF(Py_None);
6987 _resultobj = Py_None;
6988 {
6989 PyObject *o;
6990 o = PyInt_FromLong((long) (*_arg3));
6991 _resultobj = t_output_helper(_resultobj, o);
6992 }
6993 {
6994 PyObject *o;
6995 o = PyInt_FromLong((long) (*_arg4));
6996 _resultobj = t_output_helper(_resultobj, o);
6997 }
6998 return _resultobj;
6999 }
7000
7001 #define wxScrolledWindow_CalcUnscrolledPosition1(_swigobj,_swigarg0) (_swigobj->CalcUnscrolledPosition(_swigarg0))
7002 static PyObject *_wrap_wxScrolledWindow_CalcUnscrolledPosition1(PyObject *self, PyObject *args, PyObject *kwargs) {
7003 PyObject * _resultobj;
7004 wxPoint * _result;
7005 wxScrolledWindow * _arg0;
7006 wxPoint * _arg1;
7007 PyObject * _argo0 = 0;
7008 wxPoint temp;
7009 PyObject * _obj1 = 0;
7010 char *_kwnames[] = { "self","pt", NULL };
7011 char _ptemp[128];
7012
7013 self = self;
7014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxScrolledWindow_CalcUnscrolledPosition1",_kwnames,&_argo0,&_obj1))
7015 return NULL;
7016 if (_argo0) {
7017 if (_argo0 == Py_None) { _arg0 = NULL; }
7018 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7019 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition1. Expected _wxScrolledWindow_p.");
7020 return NULL;
7021 }
7022 }
7023 {
7024 _arg1 = &temp;
7025 if (! wxPoint_helper(_obj1, &_arg1))
7026 return NULL;
7027 }
7028 {
7029 PyThreadState* __tstate = wxPyBeginAllowThreads();
7030 _result = new wxPoint (wxScrolledWindow_CalcUnscrolledPosition1(_arg0,*_arg1));
7031
7032 wxPyEndAllowThreads(__tstate);
7033 if (PyErr_Occurred()) return NULL;
7034 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
7035 _resultobj = Py_BuildValue("s",_ptemp);
7036 return _resultobj;
7037 }
7038
7039 #define wxScrolledWindow_CalcUnscrolledPosition2(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcUnscrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7040 static PyObject *_wrap_wxScrolledWindow_CalcUnscrolledPosition2(PyObject *self, PyObject *args, PyObject *kwargs) {
7041 PyObject * _resultobj;
7042 wxScrolledWindow * _arg0;
7043 int _arg1;
7044 int _arg2;
7045 int * _arg3;
7046 int temp;
7047 int * _arg4;
7048 int temp0;
7049 PyObject * _argo0 = 0;
7050 char *_kwnames[] = { "self","x","y", NULL };
7051
7052 self = self;
7053 {
7054 _arg3 = &temp;
7055 }
7056 {
7057 _arg4 = &temp0;
7058 }
7059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxScrolledWindow_CalcUnscrolledPosition2",_kwnames,&_argo0,&_arg1,&_arg2))
7060 return NULL;
7061 if (_argo0) {
7062 if (_argo0 == Py_None) { _arg0 = NULL; }
7063 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7064 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition2. Expected _wxScrolledWindow_p.");
7065 return NULL;
7066 }
7067 }
7068 {
7069 PyThreadState* __tstate = wxPyBeginAllowThreads();
7070 wxScrolledWindow_CalcUnscrolledPosition2(_arg0,_arg1,_arg2,_arg3,_arg4);
7071
7072 wxPyEndAllowThreads(__tstate);
7073 if (PyErr_Occurred()) return NULL;
7074 } Py_INCREF(Py_None);
7075 _resultobj = Py_None;
7076 {
7077 PyObject *o;
7078 o = PyInt_FromLong((long) (*_arg3));
7079 _resultobj = t_output_helper(_resultobj, o);
7080 }
7081 {
7082 PyObject *o;
7083 o = PyInt_FromLong((long) (*_arg4));
7084 _resultobj = t_output_helper(_resultobj, o);
7085 }
7086 return _resultobj;
7087 }
7088
7089 #define wxScrolledWindow_SetScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScale(_swigarg0,_swigarg1))
7090 static PyObject *_wrap_wxScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
7091 PyObject * _resultobj;
7092 wxScrolledWindow * _arg0;
7093 double _arg1;
7094 double _arg2;
7095 PyObject * _argo0 = 0;
7096 char *_kwnames[] = { "self","xs","ys", NULL };
7097
7098 self = self;
7099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxScrolledWindow_SetScale",_kwnames,&_argo0,&_arg1,&_arg2))
7100 return NULL;
7101 if (_argo0) {
7102 if (_argo0 == Py_None) { _arg0 = NULL; }
7103 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7104 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_SetScale. Expected _wxScrolledWindow_p.");
7105 return NULL;
7106 }
7107 }
7108 {
7109 PyThreadState* __tstate = wxPyBeginAllowThreads();
7110 wxScrolledWindow_SetScale(_arg0,_arg1,_arg2);
7111
7112 wxPyEndAllowThreads(__tstate);
7113 if (PyErr_Occurred()) return NULL;
7114 } Py_INCREF(Py_None);
7115 _resultobj = Py_None;
7116 return _resultobj;
7117 }
7118
7119 #define wxScrolledWindow_GetScaleX(_swigobj) (_swigobj->GetScaleX())
7120 static PyObject *_wrap_wxScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
7121 PyObject * _resultobj;
7122 double _result;
7123 wxScrolledWindow * _arg0;
7124 PyObject * _argo0 = 0;
7125 char *_kwnames[] = { "self", NULL };
7126
7127 self = self;
7128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_GetScaleX",_kwnames,&_argo0))
7129 return NULL;
7130 if (_argo0) {
7131 if (_argo0 == Py_None) { _arg0 = NULL; }
7132 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7133 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetScaleX. Expected _wxScrolledWindow_p.");
7134 return NULL;
7135 }
7136 }
7137 {
7138 PyThreadState* __tstate = wxPyBeginAllowThreads();
7139 _result = (double )wxScrolledWindow_GetScaleX(_arg0);
7140
7141 wxPyEndAllowThreads(__tstate);
7142 if (PyErr_Occurred()) return NULL;
7143 } _resultobj = Py_BuildValue("d",_result);
7144 return _resultobj;
7145 }
7146
7147 #define wxScrolledWindow_GetScaleY(_swigobj) (_swigobj->GetScaleY())
7148 static PyObject *_wrap_wxScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
7149 PyObject * _resultobj;
7150 double _result;
7151 wxScrolledWindow * _arg0;
7152 PyObject * _argo0 = 0;
7153 char *_kwnames[] = { "self", NULL };
7154
7155 self = self;
7156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_GetScaleY",_kwnames,&_argo0))
7157 return NULL;
7158 if (_argo0) {
7159 if (_argo0 == Py_None) { _arg0 = NULL; }
7160 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7161 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetScaleY. Expected _wxScrolledWindow_p.");
7162 return NULL;
7163 }
7164 }
7165 {
7166 PyThreadState* __tstate = wxPyBeginAllowThreads();
7167 _result = (double )wxScrolledWindow_GetScaleY(_arg0);
7168
7169 wxPyEndAllowThreads(__tstate);
7170 if (PyErr_Occurred()) return NULL;
7171 } _resultobj = Py_BuildValue("d",_result);
7172 return _resultobj;
7173 }
7174
7175 #define wxScrolledWindow_AdjustScrollbars(_swigobj) (_swigobj->AdjustScrollbars())
7176 static PyObject *_wrap_wxScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
7177 PyObject * _resultobj;
7178 wxScrolledWindow * _arg0;
7179 PyObject * _argo0 = 0;
7180 char *_kwnames[] = { "self", NULL };
7181
7182 self = self;
7183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_AdjustScrollbars",_kwnames,&_argo0))
7184 return NULL;
7185 if (_argo0) {
7186 if (_argo0 == Py_None) { _arg0 = NULL; }
7187 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7188 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_AdjustScrollbars. Expected _wxScrolledWindow_p.");
7189 return NULL;
7190 }
7191 }
7192 {
7193 PyThreadState* __tstate = wxPyBeginAllowThreads();
7194 wxScrolledWindow_AdjustScrollbars(_arg0);
7195
7196 wxPyEndAllowThreads(__tstate);
7197 if (PyErr_Occurred()) return NULL;
7198 } Py_INCREF(Py_None);
7199 _resultobj = Py_None;
7200 return _resultobj;
7201 }
7202
7203 #define wxScrolledWindow_Layout(_swigobj) (_swigobj->Layout())
7204 static PyObject *_wrap_wxScrolledWindow_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
7205 PyObject * _resultobj;
7206 bool _result;
7207 wxScrolledWindow * _arg0;
7208 PyObject * _argo0 = 0;
7209 char *_kwnames[] = { "self", NULL };
7210
7211 self = self;
7212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_Layout",_kwnames,&_argo0))
7213 return NULL;
7214 if (_argo0) {
7215 if (_argo0 == Py_None) { _arg0 = NULL; }
7216 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7217 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_Layout. Expected _wxScrolledWindow_p.");
7218 return NULL;
7219 }
7220 }
7221 {
7222 PyThreadState* __tstate = wxPyBeginAllowThreads();
7223 _result = (bool )wxScrolledWindow_Layout(_arg0);
7224
7225 wxPyEndAllowThreads(__tstate);
7226 if (PyErr_Occurred()) return NULL;
7227 } _resultobj = Py_BuildValue("i",_result);
7228 return _resultobj;
7229 }
7230
7231 static void *SwigwxMenuTowxEvtHandler(void *ptr) {
7232 wxMenu *src;
7233 wxEvtHandler *dest;
7234 src = (wxMenu *) ptr;
7235 dest = (wxEvtHandler *) src;
7236 return (void *) dest;
7237 }
7238
7239 static void *SwigwxMenuTowxObject(void *ptr) {
7240 wxMenu *src;
7241 wxObject *dest;
7242 src = (wxMenu *) ptr;
7243 dest = (wxObject *) src;
7244 return (void *) dest;
7245 }
7246
7247 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
7248 static PyObject *_wrap_new_wxMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
7249 PyObject * _resultobj;
7250 wxMenu * _result;
7251 wxString * _arg0 = (wxString *) &wxPyEmptyString;
7252 long _arg1 = (long ) 0;
7253 PyObject * _obj0 = 0;
7254 char *_kwnames[] = { "title","style", NULL };
7255 char _ptemp[128];
7256
7257 self = self;
7258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|Ol:new_wxMenu",_kwnames,&_obj0,&_arg1))
7259 return NULL;
7260 if (_obj0)
7261 {
7262 _arg0 = wxString_in_helper(_obj0);
7263 if (_arg0 == NULL)
7264 return NULL;
7265 }
7266 {
7267 PyThreadState* __tstate = wxPyBeginAllowThreads();
7268 _result = (wxMenu *)new_wxMenu(*_arg0,_arg1);
7269
7270 wxPyEndAllowThreads(__tstate);
7271 if (PyErr_Occurred()) return NULL;
7272 } if (_result) {
7273 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenu_p");
7274 _resultobj = Py_BuildValue("s",_ptemp);
7275 } else {
7276 Py_INCREF(Py_None);
7277 _resultobj = Py_None;
7278 }
7279 {
7280 if (_obj0)
7281 delete _arg0;
7282 }
7283 return _resultobj;
7284 }
7285
7286 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7287 static PyObject *_wrap_wxMenu_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
7288 PyObject * _resultobj;
7289 wxMenu * _arg0;
7290 int _arg1;
7291 wxString * _arg2;
7292 wxString * _arg3 = (wxString *) &wxPyEmptyString;
7293 wxItemKind _arg4 = (wxItemKind ) wxITEM_NORMAL;
7294 PyObject * _argo0 = 0;
7295 PyObject * _obj2 = 0;
7296 PyObject * _obj3 = 0;
7297 char *_kwnames[] = { "self","id","item","helpString","kind", NULL };
7298
7299 self = self;
7300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|Oi:wxMenu_Append",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4))
7301 return NULL;
7302 if (_argo0) {
7303 if (_argo0 == Py_None) { _arg0 = NULL; }
7304 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7305 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
7306 return NULL;
7307 }
7308 }
7309 {
7310 _arg2 = wxString_in_helper(_obj2);
7311 if (_arg2 == NULL)
7312 return NULL;
7313 }
7314 if (_obj3)
7315 {
7316 _arg3 = wxString_in_helper(_obj3);
7317 if (_arg3 == NULL)
7318 return NULL;
7319 }
7320 {
7321 PyThreadState* __tstate = wxPyBeginAllowThreads();
7322 wxMenu_Append(_arg0,_arg1,*_arg2,*_arg3,_arg4);
7323
7324 wxPyEndAllowThreads(__tstate);
7325 if (PyErr_Occurred()) return NULL;
7326 } Py_INCREF(Py_None);
7327 _resultobj = Py_None;
7328 {
7329 if (_obj2)
7330 delete _arg2;
7331 }
7332 {
7333 if (_obj3)
7334 delete _arg3;
7335 }
7336 return _resultobj;
7337 }
7338
7339 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7340 static PyObject *_wrap_wxMenu_AppendMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
7341 PyObject * _resultobj;
7342 wxMenu * _arg0;
7343 int _arg1;
7344 wxString * _arg2;
7345 wxMenu * _arg3;
7346 wxString * _arg4 = (wxString *) &wxPyEmptyString;
7347 PyObject * _argo0 = 0;
7348 PyObject * _obj2 = 0;
7349 PyObject * _argo3 = 0;
7350 PyObject * _obj4 = 0;
7351 char *_kwnames[] = { "self","id","item","subMenu","helpString", NULL };
7352
7353 self = self;
7354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO|O:wxMenu_AppendMenu",_kwnames,&_argo0,&_arg1,&_obj2,&_argo3,&_obj4))
7355 return NULL;
7356 if (_argo0) {
7357 if (_argo0 == Py_None) { _arg0 = NULL; }
7358 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7359 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
7360 return NULL;
7361 }
7362 }
7363 {
7364 _arg2 = wxString_in_helper(_obj2);
7365 if (_arg2 == NULL)
7366 return NULL;
7367 }
7368 if (_argo3) {
7369 if (_argo3 == Py_None) { _arg3 = NULL; }
7370 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxMenu_p")) {
7371 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
7372 return NULL;
7373 }
7374 }
7375 if (_obj4)
7376 {
7377 _arg4 = wxString_in_helper(_obj4);
7378 if (_arg4 == NULL)
7379 return NULL;
7380 }
7381 {
7382 PyThreadState* __tstate = wxPyBeginAllowThreads();
7383 wxMenu_AppendMenu(_arg0,_arg1,*_arg2,_arg3,*_arg4);
7384
7385 wxPyEndAllowThreads(__tstate);
7386 if (PyErr_Occurred()) return NULL;
7387 } Py_INCREF(Py_None);
7388 _resultobj = Py_None;
7389 {
7390 if (_obj2)
7391 delete _arg2;
7392 }
7393 {
7394 if (_obj4)
7395 delete _arg4;
7396 }
7397 return _resultobj;
7398 }
7399
7400 #define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
7401 static PyObject *_wrap_wxMenu_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
7402 PyObject * _resultobj;
7403 wxMenu * _arg0;
7404 wxMenuItem * _arg1;
7405 PyObject * _argo0 = 0;
7406 PyObject * _argo1 = 0;
7407 char *_kwnames[] = { "self","item", NULL };
7408
7409 self = self;
7410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_AppendItem",_kwnames,&_argo0,&_argo1))
7411 return NULL;
7412 if (_argo0) {
7413 if (_argo0 == Py_None) { _arg0 = NULL; }
7414 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7415 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
7416 return NULL;
7417 }
7418 }
7419 if (_argo1) {
7420 if (_argo1 == Py_None) { _arg1 = NULL; }
7421 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenuItem_p")) {
7422 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
7423 return NULL;
7424 }
7425 }
7426 {
7427 PyThreadState* __tstate = wxPyBeginAllowThreads();
7428 wxMenu_AppendItem(_arg0,_arg1);
7429
7430 wxPyEndAllowThreads(__tstate);
7431 if (PyErr_Occurred()) return NULL;
7432 } Py_INCREF(Py_None);
7433 _resultobj = Py_None;
7434 return _resultobj;
7435 }
7436
7437 #define wxMenu_AppendCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AppendCheckItem(_swigarg0,_swigarg1,_swigarg2))
7438 static PyObject *_wrap_wxMenu_AppendCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
7439 PyObject * _resultobj;
7440 wxMenu * _arg0;
7441 int _arg1;
7442 wxString * _arg2;
7443 wxString * _arg3 = (wxString *) &wxPyEmptyString;
7444 PyObject * _argo0 = 0;
7445 PyObject * _obj2 = 0;
7446 PyObject * _obj3 = 0;
7447 char *_kwnames[] = { "self","id","text","help", NULL };
7448
7449 self = self;
7450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|O:wxMenu_AppendCheckItem",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3))
7451 return NULL;
7452 if (_argo0) {
7453 if (_argo0 == Py_None) { _arg0 = NULL; }
7454 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7455 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendCheckItem. Expected _wxMenu_p.");
7456 return NULL;
7457 }
7458 }
7459 {
7460 _arg2 = wxString_in_helper(_obj2);
7461 if (_arg2 == NULL)
7462 return NULL;
7463 }
7464 if (_obj3)
7465 {
7466 _arg3 = wxString_in_helper(_obj3);
7467 if (_arg3 == NULL)
7468 return NULL;
7469 }
7470 {
7471 PyThreadState* __tstate = wxPyBeginAllowThreads();
7472 wxMenu_AppendCheckItem(_arg0,_arg1,*_arg2,*_arg3);
7473
7474 wxPyEndAllowThreads(__tstate);
7475 if (PyErr_Occurred()) return NULL;
7476 } Py_INCREF(Py_None);
7477 _resultobj = Py_None;
7478 {
7479 if (_obj2)
7480 delete _arg2;
7481 }
7482 {
7483 if (_obj3)
7484 delete _arg3;
7485 }
7486 return _resultobj;
7487 }
7488
7489 #define wxMenu_AppendRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AppendRadioItem(_swigarg0,_swigarg1,_swigarg2))
7490 static PyObject *_wrap_wxMenu_AppendRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
7491 PyObject * _resultobj;
7492 wxMenu * _arg0;
7493 int _arg1;
7494 wxString * _arg2;
7495 wxString * _arg3 = (wxString *) &wxPyEmptyString;
7496 PyObject * _argo0 = 0;
7497 PyObject * _obj2 = 0;
7498 PyObject * _obj3 = 0;
7499 char *_kwnames[] = { "self","id","text","help", NULL };
7500
7501 self = self;
7502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|O:wxMenu_AppendRadioItem",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3))
7503 return NULL;
7504 if (_argo0) {
7505 if (_argo0 == Py_None) { _arg0 = NULL; }
7506 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7507 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendRadioItem. Expected _wxMenu_p.");
7508 return NULL;
7509 }
7510 }
7511 {
7512 _arg2 = wxString_in_helper(_obj2);
7513 if (_arg2 == NULL)
7514 return NULL;
7515 }
7516 if (_obj3)
7517 {
7518 _arg3 = wxString_in_helper(_obj3);
7519 if (_arg3 == NULL)
7520 return NULL;
7521 }
7522 {
7523 PyThreadState* __tstate = wxPyBeginAllowThreads();
7524 wxMenu_AppendRadioItem(_arg0,_arg1,*_arg2,*_arg3);
7525
7526 wxPyEndAllowThreads(__tstate);
7527 if (PyErr_Occurred()) return NULL;
7528 } Py_INCREF(Py_None);
7529 _resultobj = Py_None;
7530 {
7531 if (_obj2)
7532 delete _arg2;
7533 }
7534 {
7535 if (_obj3)
7536 delete _arg3;
7537 }
7538 return _resultobj;
7539 }
7540
7541 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
7542 static PyObject *_wrap_wxMenu_AppendSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
7543 PyObject * _resultobj;
7544 wxMenu * _arg0;
7545 PyObject * _argo0 = 0;
7546 char *_kwnames[] = { "self", NULL };
7547
7548 self = self;
7549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_AppendSeparator",_kwnames,&_argo0))
7550 return NULL;
7551 if (_argo0) {
7552 if (_argo0 == Py_None) { _arg0 = NULL; }
7553 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7554 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
7555 return NULL;
7556 }
7557 }
7558 {
7559 PyThreadState* __tstate = wxPyBeginAllowThreads();
7560 wxMenu_AppendSeparator(_arg0);
7561
7562 wxPyEndAllowThreads(__tstate);
7563 if (PyErr_Occurred()) return NULL;
7564 } Py_INCREF(Py_None);
7565 _resultobj = Py_None;
7566 return _resultobj;
7567 }
7568
7569 #define wxMenu_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7570 static PyObject *_wrap_wxMenu_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
7571 PyObject * _resultobj;
7572 wxMenu * _arg0;
7573 size_t _arg1;
7574 int _arg2;
7575 wxString * _arg3;
7576 wxString * _arg4 = (wxString *) &wxPyEmptyString;
7577 wxItemKind _arg5 = (wxItemKind ) wxITEM_NORMAL;
7578 PyObject * _argo0 = 0;
7579 PyObject * _obj3 = 0;
7580 PyObject * _obj4 = 0;
7581 char *_kwnames[] = { "self","pos","id","text","help","kind", NULL };
7582
7583 self = self;
7584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO|Oi:wxMenu_Insert",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4,&_arg5))
7585 return NULL;
7586 if (_argo0) {
7587 if (_argo0 == Py_None) { _arg0 = NULL; }
7588 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7589 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Insert. Expected _wxMenu_p.");
7590 return NULL;
7591 }
7592 }
7593 {
7594 _arg3 = wxString_in_helper(_obj3);
7595 if (_arg3 == NULL)
7596 return NULL;
7597 }
7598 if (_obj4)
7599 {
7600 _arg4 = wxString_in_helper(_obj4);
7601 if (_arg4 == NULL)
7602 return NULL;
7603 }
7604 {
7605 PyThreadState* __tstate = wxPyBeginAllowThreads();
7606 wxMenu_Insert(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5);
7607
7608 wxPyEndAllowThreads(__tstate);
7609 if (PyErr_Occurred()) return NULL;
7610 } Py_INCREF(Py_None);
7611 _resultobj = Py_None;
7612 {
7613 if (_obj3)
7614 delete _arg3;
7615 }
7616 {
7617 if (_obj4)
7618 delete _arg4;
7619 }
7620 return _resultobj;
7621 }
7622
7623 #define wxMenu_InsertSeparator(_swigobj,_swigarg0) (_swigobj->InsertSeparator(_swigarg0))
7624 static PyObject *_wrap_wxMenu_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
7625 PyObject * _resultobj;
7626 wxMenu * _arg0;
7627 size_t _arg1;
7628 PyObject * _argo0 = 0;
7629 char *_kwnames[] = { "self","pos", NULL };
7630
7631 self = self;
7632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_InsertSeparator",_kwnames,&_argo0,&_arg1))
7633 return NULL;
7634 if (_argo0) {
7635 if (_argo0 == Py_None) { _arg0 = NULL; }
7636 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7637 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_InsertSeparator. Expected _wxMenu_p.");
7638 return NULL;
7639 }
7640 }
7641 {
7642 PyThreadState* __tstate = wxPyBeginAllowThreads();
7643 wxMenu_InsertSeparator(_arg0,_arg1);
7644
7645 wxPyEndAllowThreads(__tstate);
7646 if (PyErr_Occurred()) return NULL;
7647 } Py_INCREF(Py_None);
7648 _resultobj = Py_None;
7649 return _resultobj;
7650 }
7651
7652 #define wxMenu_InsertCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertCheckItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7653 static PyObject *_wrap_wxMenu_InsertCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
7654 PyObject * _resultobj;
7655 wxMenu * _arg0;
7656 size_t _arg1;
7657 int _arg2;
7658 wxString * _arg3;
7659 wxString * _arg4 = (wxString *) &wxPyEmptyString;
7660 PyObject * _argo0 = 0;
7661 PyObject * _obj3 = 0;
7662 PyObject * _obj4 = 0;
7663 char *_kwnames[] = { "self","pos","id","text","help", NULL };
7664
7665 self = self;
7666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO|O:wxMenu_InsertCheckItem",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4))
7667 return NULL;
7668 if (_argo0) {
7669 if (_argo0 == Py_None) { _arg0 = NULL; }
7670 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7671 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_InsertCheckItem. Expected _wxMenu_p.");
7672 return NULL;
7673 }
7674 }
7675 {
7676 _arg3 = wxString_in_helper(_obj3);
7677 if (_arg3 == NULL)
7678 return NULL;
7679 }
7680 if (_obj4)
7681 {
7682 _arg4 = wxString_in_helper(_obj4);
7683 if (_arg4 == NULL)
7684 return NULL;
7685 }
7686 {
7687 PyThreadState* __tstate = wxPyBeginAllowThreads();
7688 wxMenu_InsertCheckItem(_arg0,_arg1,_arg2,*_arg3,*_arg4);
7689
7690 wxPyEndAllowThreads(__tstate);
7691 if (PyErr_Occurred()) return NULL;
7692 } Py_INCREF(Py_None);
7693 _resultobj = Py_None;
7694 {
7695 if (_obj3)
7696 delete _arg3;
7697 }
7698 {
7699 if (_obj4)
7700 delete _arg4;
7701 }
7702 return _resultobj;
7703 }
7704
7705 #define wxMenu_InsertRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertRadioItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7706 static PyObject *_wrap_wxMenu_InsertRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
7707 PyObject * _resultobj;
7708 wxMenu * _arg0;
7709 size_t _arg1;
7710 int _arg2;
7711 wxString * _arg3;
7712 wxString * _arg4 = (wxString *) &wxPyEmptyString;
7713 PyObject * _argo0 = 0;
7714 PyObject * _obj3 = 0;
7715 PyObject * _obj4 = 0;
7716 char *_kwnames[] = { "self","pos","id","text","help", NULL };
7717
7718 self = self;
7719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO|O:wxMenu_InsertRadioItem",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4))
7720 return NULL;
7721 if (_argo0) {
7722 if (_argo0 == Py_None) { _arg0 = NULL; }
7723 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7724 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_InsertRadioItem. Expected _wxMenu_p.");
7725 return NULL;
7726 }
7727 }
7728 {
7729 _arg3 = wxString_in_helper(_obj3);
7730 if (_arg3 == NULL)
7731 return NULL;
7732 }
7733 if (_obj4)
7734 {
7735 _arg4 = wxString_in_helper(_obj4);
7736 if (_arg4 == NULL)
7737 return NULL;
7738 }
7739 {
7740 PyThreadState* __tstate = wxPyBeginAllowThreads();
7741 wxMenu_InsertRadioItem(_arg0,_arg1,_arg2,*_arg3,*_arg4);
7742
7743 wxPyEndAllowThreads(__tstate);
7744 if (PyErr_Occurred()) return NULL;
7745 } Py_INCREF(Py_None);
7746 _resultobj = Py_None;
7747 {
7748 if (_obj3)
7749 delete _arg3;
7750 }
7751 {
7752 if (_obj4)
7753 delete _arg4;
7754 }
7755 return _resultobj;
7756 }
7757
7758 #define wxMenu_InsertMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7759 static PyObject *_wrap_wxMenu_InsertMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
7760 PyObject * _resultobj;
7761 wxMenu * _arg0;
7762 size_t _arg1;
7763 int _arg2;
7764 wxString * _arg3;
7765 wxMenu * _arg4;
7766 wxString * _arg5 = (wxString *) &wxPyEmptyString;
7767 PyObject * _argo0 = 0;
7768 PyObject * _obj3 = 0;
7769 PyObject * _argo4 = 0;
7770 PyObject * _obj5 = 0;
7771 char *_kwnames[] = { "self","pos","id","text","submenu","help", NULL };
7772
7773 self = self;
7774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOO|O:wxMenu_InsertMenu",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_argo4,&_obj5))
7775 return NULL;
7776 if (_argo0) {
7777 if (_argo0 == Py_None) { _arg0 = NULL; }
7778 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7779 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_InsertMenu. Expected _wxMenu_p.");
7780 return NULL;
7781 }
7782 }
7783 {
7784 _arg3 = wxString_in_helper(_obj3);
7785 if (_arg3 == NULL)
7786 return NULL;
7787 }
7788 if (_argo4) {
7789 if (_argo4 == Py_None) { _arg4 = NULL; }
7790 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxMenu_p")) {
7791 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxMenu_InsertMenu. Expected _wxMenu_p.");
7792 return NULL;
7793 }
7794 }
7795 if (_obj5)
7796 {
7797 _arg5 = wxString_in_helper(_obj5);
7798 if (_arg5 == NULL)
7799 return NULL;
7800 }
7801 {
7802 PyThreadState* __tstate = wxPyBeginAllowThreads();
7803 wxMenu_InsertMenu(_arg0,_arg1,_arg2,*_arg3,_arg4,*_arg5);
7804
7805 wxPyEndAllowThreads(__tstate);
7806 if (PyErr_Occurred()) return NULL;
7807 } Py_INCREF(Py_None);
7808 _resultobj = Py_None;
7809 {
7810 if (_obj3)
7811 delete _arg3;
7812 }
7813 {
7814 if (_obj5)
7815 delete _arg5;
7816 }
7817 return _resultobj;
7818 }
7819
7820 #define wxMenu_InsertItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Insert(_swigarg0,_swigarg1))
7821 static PyObject *_wrap_wxMenu_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
7822 PyObject * _resultobj;
7823 bool _result;
7824 wxMenu * _arg0;
7825 size_t _arg1;
7826 wxMenuItem * _arg2;
7827 PyObject * _argo0 = 0;
7828 PyObject * _argo2 = 0;
7829 char *_kwnames[] = { "self","pos","item", NULL };
7830
7831 self = self;
7832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenu_InsertItem",_kwnames,&_argo0,&_arg1,&_argo2))
7833 return NULL;
7834 if (_argo0) {
7835 if (_argo0 == Py_None) { _arg0 = NULL; }
7836 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7837 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_InsertItem. Expected _wxMenu_p.");
7838 return NULL;
7839 }
7840 }
7841 if (_argo2) {
7842 if (_argo2 == Py_None) { _arg2 = NULL; }
7843 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxMenuItem_p")) {
7844 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxMenu_InsertItem. Expected _wxMenuItem_p.");
7845 return NULL;
7846 }
7847 }
7848 {
7849 PyThreadState* __tstate = wxPyBeginAllowThreads();
7850 _result = (bool )wxMenu_InsertItem(_arg0,_arg1,_arg2);
7851
7852 wxPyEndAllowThreads(__tstate);
7853 if (PyErr_Occurred()) return NULL;
7854 } _resultobj = Py_BuildValue("i",_result);
7855 return _resultobj;
7856 }
7857
7858 #define wxMenu_Prepend(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Prepend(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7859 static PyObject *_wrap_wxMenu_Prepend(PyObject *self, PyObject *args, PyObject *kwargs) {
7860 PyObject * _resultobj;
7861 wxMenu * _arg0;
7862 int _arg1;
7863 wxString * _arg2;
7864 wxString * _arg3 = (wxString *) &wxPyEmptyString;
7865 wxItemKind _arg4 = (wxItemKind ) wxITEM_NORMAL;
7866 PyObject * _argo0 = 0;
7867 PyObject * _obj2 = 0;
7868 PyObject * _obj3 = 0;
7869 char *_kwnames[] = { "self","id","text","help","kind", NULL };
7870
7871 self = self;
7872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|Oi:wxMenu_Prepend",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4))
7873 return NULL;
7874 if (_argo0) {
7875 if (_argo0 == Py_None) { _arg0 = NULL; }
7876 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7877 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Prepend. Expected _wxMenu_p.");
7878 return NULL;
7879 }
7880 }
7881 {
7882 _arg2 = wxString_in_helper(_obj2);
7883 if (_arg2 == NULL)
7884 return NULL;
7885 }
7886 if (_obj3)
7887 {
7888 _arg3 = wxString_in_helper(_obj3);
7889 if (_arg3 == NULL)
7890 return NULL;
7891 }
7892 {
7893 PyThreadState* __tstate = wxPyBeginAllowThreads();
7894 wxMenu_Prepend(_arg0,_arg1,*_arg2,*_arg3,_arg4);
7895
7896 wxPyEndAllowThreads(__tstate);
7897 if (PyErr_Occurred()) return NULL;
7898 } Py_INCREF(Py_None);
7899 _resultobj = Py_None;
7900 {
7901 if (_obj2)
7902 delete _arg2;
7903 }
7904 {
7905 if (_obj3)
7906 delete _arg3;
7907 }
7908 return _resultobj;
7909 }
7910
7911 #define wxMenu_PrependSeparator(_swigobj) (_swigobj->PrependSeparator())
7912 static PyObject *_wrap_wxMenu_PrependSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
7913 PyObject * _resultobj;
7914 wxMenu * _arg0;
7915 PyObject * _argo0 = 0;
7916 char *_kwnames[] = { "self", NULL };
7917
7918 self = self;
7919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_PrependSeparator",_kwnames,&_argo0))
7920 return NULL;
7921 if (_argo0) {
7922 if (_argo0 == Py_None) { _arg0 = NULL; }
7923 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7924 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_PrependSeparator. Expected _wxMenu_p.");
7925 return NULL;
7926 }
7927 }
7928 {
7929 PyThreadState* __tstate = wxPyBeginAllowThreads();
7930 wxMenu_PrependSeparator(_arg0);
7931
7932 wxPyEndAllowThreads(__tstate);
7933 if (PyErr_Occurred()) return NULL;
7934 } Py_INCREF(Py_None);
7935 _resultobj = Py_None;
7936 return _resultobj;
7937 }
7938
7939 #define wxMenu_PrependCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PrependCheckItem(_swigarg0,_swigarg1,_swigarg2))
7940 static PyObject *_wrap_wxMenu_PrependCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
7941 PyObject * _resultobj;
7942 wxMenu * _arg0;
7943 int _arg1;
7944 wxString * _arg2;
7945 wxString * _arg3 = (wxString *) &wxPyEmptyString;
7946 PyObject * _argo0 = 0;
7947 PyObject * _obj2 = 0;
7948 PyObject * _obj3 = 0;
7949 char *_kwnames[] = { "self","id","text","help", NULL };
7950
7951 self = self;
7952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|O:wxMenu_PrependCheckItem",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3))
7953 return NULL;
7954 if (_argo0) {
7955 if (_argo0 == Py_None) { _arg0 = NULL; }
7956 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7957 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_PrependCheckItem. Expected _wxMenu_p.");
7958 return NULL;
7959 }
7960 }
7961 {
7962 _arg2 = wxString_in_helper(_obj2);
7963 if (_arg2 == NULL)
7964 return NULL;
7965 }
7966 if (_obj3)
7967 {
7968 _arg3 = wxString_in_helper(_obj3);
7969 if (_arg3 == NULL)
7970 return NULL;
7971 }
7972 {
7973 PyThreadState* __tstate = wxPyBeginAllowThreads();
7974 wxMenu_PrependCheckItem(_arg0,_arg1,*_arg2,*_arg3);
7975
7976 wxPyEndAllowThreads(__tstate);
7977 if (PyErr_Occurred()) return NULL;
7978 } Py_INCREF(Py_None);
7979 _resultobj = Py_None;
7980 {
7981 if (_obj2)
7982 delete _arg2;
7983 }
7984 {
7985 if (_obj3)
7986 delete _arg3;
7987 }
7988 return _resultobj;
7989 }
7990
7991 #define wxMenu_PrependRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PrependRadioItem(_swigarg0,_swigarg1,_swigarg2))
7992 static PyObject *_wrap_wxMenu_PrependRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
7993 PyObject * _resultobj;
7994 wxMenu * _arg0;
7995 int _arg1;
7996 wxString * _arg2;
7997 wxString * _arg3 = (wxString *) &wxPyEmptyString;
7998 PyObject * _argo0 = 0;
7999 PyObject * _obj2 = 0;
8000 PyObject * _obj3 = 0;
8001 char *_kwnames[] = { "self","id","text","help", NULL };
8002
8003 self = self;
8004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|O:wxMenu_PrependRadioItem",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3))
8005 return NULL;
8006 if (_argo0) {
8007 if (_argo0 == Py_None) { _arg0 = NULL; }
8008 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8009 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_PrependRadioItem. Expected _wxMenu_p.");
8010 return NULL;
8011 }
8012 }
8013 {
8014 _arg2 = wxString_in_helper(_obj2);
8015 if (_arg2 == NULL)
8016 return NULL;
8017 }
8018 if (_obj3)
8019 {
8020 _arg3 = wxString_in_helper(_obj3);
8021 if (_arg3 == NULL)
8022 return NULL;
8023 }
8024 {
8025 PyThreadState* __tstate = wxPyBeginAllowThreads();
8026 wxMenu_PrependRadioItem(_arg0,_arg1,*_arg2,*_arg3);
8027
8028 wxPyEndAllowThreads(__tstate);
8029 if (PyErr_Occurred()) return NULL;
8030 } Py_INCREF(Py_None);
8031 _resultobj = Py_None;
8032 {
8033 if (_obj2)
8034 delete _arg2;
8035 }
8036 {
8037 if (_obj3)
8038 delete _arg3;
8039 }
8040 return _resultobj;
8041 }
8042
8043 #define wxMenu_PrependMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Prepend(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8044 static PyObject *_wrap_wxMenu_PrependMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
8045 PyObject * _resultobj;
8046 wxMenu * _arg0;
8047 int _arg1;
8048 wxString * _arg2;
8049 wxMenu * _arg3;
8050 wxString * _arg4 = (wxString *) &wxPyEmptyString;
8051 PyObject * _argo0 = 0;
8052 PyObject * _obj2 = 0;
8053 PyObject * _argo3 = 0;
8054 PyObject * _obj4 = 0;
8055 char *_kwnames[] = { "self","id","text","submenu","help", NULL };
8056
8057 self = self;
8058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO|O:wxMenu_PrependMenu",_kwnames,&_argo0,&_arg1,&_obj2,&_argo3,&_obj4))
8059 return NULL;
8060 if (_argo0) {
8061 if (_argo0 == Py_None) { _arg0 = NULL; }
8062 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8063 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_PrependMenu. Expected _wxMenu_p.");
8064 return NULL;
8065 }
8066 }
8067 {
8068 _arg2 = wxString_in_helper(_obj2);
8069 if (_arg2 == NULL)
8070 return NULL;
8071 }
8072 if (_argo3) {
8073 if (_argo3 == Py_None) { _arg3 = NULL; }
8074 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxMenu_p")) {
8075 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxMenu_PrependMenu. Expected _wxMenu_p.");
8076 return NULL;
8077 }
8078 }
8079 if (_obj4)
8080 {
8081 _arg4 = wxString_in_helper(_obj4);
8082 if (_arg4 == NULL)
8083 return NULL;
8084 }
8085 {
8086 PyThreadState* __tstate = wxPyBeginAllowThreads();
8087 wxMenu_PrependMenu(_arg0,_arg1,*_arg2,_arg3,*_arg4);
8088
8089 wxPyEndAllowThreads(__tstate);
8090 if (PyErr_Occurred()) return NULL;
8091 } Py_INCREF(Py_None);
8092 _resultobj = Py_None;
8093 {
8094 if (_obj2)
8095 delete _arg2;
8096 }
8097 {
8098 if (_obj4)
8099 delete _arg4;
8100 }
8101 return _resultobj;
8102 }
8103
8104 #define wxMenu_PrependItem(_swigobj,_swigarg0) (_swigobj->Prepend(_swigarg0))
8105 static PyObject *_wrap_wxMenu_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8106 PyObject * _resultobj;
8107 wxMenu * _arg0;
8108 wxMenuItem * _arg1;
8109 PyObject * _argo0 = 0;
8110 PyObject * _argo1 = 0;
8111 char *_kwnames[] = { "self","item", NULL };
8112
8113 self = self;
8114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_PrependItem",_kwnames,&_argo0,&_argo1))
8115 return NULL;
8116 if (_argo0) {
8117 if (_argo0 == Py_None) { _arg0 = NULL; }
8118 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8119 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_PrependItem. Expected _wxMenu_p.");
8120 return NULL;
8121 }
8122 }
8123 if (_argo1) {
8124 if (_argo1 == Py_None) { _arg1 = NULL; }
8125 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenuItem_p")) {
8126 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_PrependItem. Expected _wxMenuItem_p.");
8127 return NULL;
8128 }
8129 }
8130 {
8131 PyThreadState* __tstate = wxPyBeginAllowThreads();
8132 wxMenu_PrependItem(_arg0,_arg1);
8133
8134 wxPyEndAllowThreads(__tstate);
8135 if (PyErr_Occurred()) return NULL;
8136 } Py_INCREF(Py_None);
8137 _resultobj = Py_None;
8138 return _resultobj;
8139 }
8140
8141 #define wxMenu_Break(_swigobj) (_swigobj->Break())
8142 static PyObject *_wrap_wxMenu_Break(PyObject *self, PyObject *args, PyObject *kwargs) {
8143 PyObject * _resultobj;
8144 wxMenu * _arg0;
8145 PyObject * _argo0 = 0;
8146 char *_kwnames[] = { "self", NULL };
8147
8148 self = self;
8149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_Break",_kwnames,&_argo0))
8150 return NULL;
8151 if (_argo0) {
8152 if (_argo0 == Py_None) { _arg0 = NULL; }
8153 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8154 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
8155 return NULL;
8156 }
8157 }
8158 {
8159 PyThreadState* __tstate = wxPyBeginAllowThreads();
8160 wxMenu_Break(_arg0);
8161
8162 wxPyEndAllowThreads(__tstate);
8163 if (PyErr_Occurred()) return NULL;
8164 } Py_INCREF(Py_None);
8165 _resultobj = Py_None;
8166 return _resultobj;
8167 }
8168
8169 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
8170 static PyObject *_wrap_wxMenu_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
8171 PyObject * _resultobj;
8172 wxMenu * _arg0;
8173 int _arg1;
8174 bool _arg2;
8175 PyObject * _argo0 = 0;
8176 int tempbool2;
8177 char *_kwnames[] = { "self","id","flag", NULL };
8178
8179 self = self;
8180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxMenu_Check",_kwnames,&_argo0,&_arg1,&tempbool2))
8181 return NULL;
8182 if (_argo0) {
8183 if (_argo0 == Py_None) { _arg0 = NULL; }
8184 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8185 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
8186 return NULL;
8187 }
8188 }
8189 _arg2 = (bool ) tempbool2;
8190 {
8191 PyThreadState* __tstate = wxPyBeginAllowThreads();
8192 wxMenu_Check(_arg0,_arg1,_arg2);
8193
8194 wxPyEndAllowThreads(__tstate);
8195 if (PyErr_Occurred()) return NULL;
8196 } Py_INCREF(Py_None);
8197 _resultobj = Py_None;
8198 return _resultobj;
8199 }
8200
8201 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
8202 static PyObject *_wrap_wxMenu_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
8203 PyObject * _resultobj;
8204 bool _result;
8205 wxMenu * _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:wxMenu_IsChecked",_kwnames,&_argo0,&_arg1))
8212 return NULL;
8213 if (_argo0) {
8214 if (_argo0 == Py_None) { _arg0 = NULL; }
8215 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8216 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
8217 return NULL;
8218 }
8219 }
8220 {
8221 PyThreadState* __tstate = wxPyBeginAllowThreads();
8222 _result = (bool )wxMenu_IsChecked(_arg0,_arg1);
8223
8224 wxPyEndAllowThreads(__tstate);
8225 if (PyErr_Occurred()) return NULL;
8226 } _resultobj = Py_BuildValue("i",_result);
8227 return _resultobj;
8228 }
8229
8230 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
8231 static PyObject *_wrap_wxMenu_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
8232 PyObject * _resultobj;
8233 wxMenu * _arg0;
8234 int _arg1;
8235 bool _arg2;
8236 PyObject * _argo0 = 0;
8237 int tempbool2;
8238 char *_kwnames[] = { "self","id","enable", NULL };
8239
8240 self = self;
8241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxMenu_Enable",_kwnames,&_argo0,&_arg1,&tempbool2))
8242 return NULL;
8243 if (_argo0) {
8244 if (_argo0 == Py_None) { _arg0 = NULL; }
8245 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8246 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
8247 return NULL;
8248 }
8249 }
8250 _arg2 = (bool ) tempbool2;
8251 {
8252 PyThreadState* __tstate = wxPyBeginAllowThreads();
8253 wxMenu_Enable(_arg0,_arg1,_arg2);
8254
8255 wxPyEndAllowThreads(__tstate);
8256 if (PyErr_Occurred()) return NULL;
8257 } Py_INCREF(Py_None);
8258 _resultobj = Py_None;
8259 return _resultobj;
8260 }
8261
8262 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
8263 static PyObject *_wrap_wxMenu_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
8264 PyObject * _resultobj;
8265 bool _result;
8266 wxMenu * _arg0;
8267 int _arg1;
8268 PyObject * _argo0 = 0;
8269 char *_kwnames[] = { "self","id", NULL };
8270
8271 self = self;
8272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_IsEnabled",_kwnames,&_argo0,&_arg1))
8273 return NULL;
8274 if (_argo0) {
8275 if (_argo0 == Py_None) { _arg0 = NULL; }
8276 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8277 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
8278 return NULL;
8279 }
8280 }
8281 {
8282 PyThreadState* __tstate = wxPyBeginAllowThreads();
8283 _result = (bool )wxMenu_IsEnabled(_arg0,_arg1);
8284
8285 wxPyEndAllowThreads(__tstate);
8286 if (PyErr_Occurred()) return NULL;
8287 } _resultobj = Py_BuildValue("i",_result);
8288 return _resultobj;
8289 }
8290
8291 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
8292 static PyObject *_wrap_wxMenu_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8293 PyObject * _resultobj;
8294 int _result;
8295 wxMenu * _arg0;
8296 wxString * _arg1;
8297 PyObject * _argo0 = 0;
8298 PyObject * _obj1 = 0;
8299 char *_kwnames[] = { "self","itemString", NULL };
8300
8301 self = self;
8302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_FindItem",_kwnames,&_argo0,&_obj1))
8303 return NULL;
8304 if (_argo0) {
8305 if (_argo0 == Py_None) { _arg0 = NULL; }
8306 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8307 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
8308 return NULL;
8309 }
8310 }
8311 {
8312 _arg1 = wxString_in_helper(_obj1);
8313 if (_arg1 == NULL)
8314 return NULL;
8315 }
8316 {
8317 PyThreadState* __tstate = wxPyBeginAllowThreads();
8318 _result = (int )wxMenu_FindItem(_arg0,*_arg1);
8319
8320 wxPyEndAllowThreads(__tstate);
8321 if (PyErr_Occurred()) return NULL;
8322 } _resultobj = Py_BuildValue("i",_result);
8323 {
8324 if (_obj1)
8325 delete _arg1;
8326 }
8327 return _resultobj;
8328 }
8329
8330 #define wxMenu_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
8331 static PyObject *_wrap_wxMenu_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
8332 PyObject * _resultobj;
8333 wxMenuItem * _result;
8334 wxMenu * _arg0;
8335 int _arg1;
8336 PyObject * _argo0 = 0;
8337 char *_kwnames[] = { "self","id", NULL };
8338
8339 self = self;
8340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_FindItemById",_kwnames,&_argo0,&_arg1))
8341 return NULL;
8342 if (_argo0) {
8343 if (_argo0 == Py_None) { _arg0 = NULL; }
8344 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8345 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_FindItemById. Expected _wxMenu_p.");
8346 return NULL;
8347 }
8348 }
8349 {
8350 PyThreadState* __tstate = wxPyBeginAllowThreads();
8351 _result = (wxMenuItem *)wxMenu_FindItemById(_arg0,_arg1);
8352
8353 wxPyEndAllowThreads(__tstate);
8354 if (PyErr_Occurred()) return NULL;
8355 }{ _resultobj = wxPyMake_wxObject(_result); }
8356 return _resultobj;
8357 }
8358
8359 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
8360 static PyObject *_wrap_wxMenu_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
8361 PyObject * _resultobj;
8362 wxString * _result;
8363 wxMenu * _arg0;
8364 PyObject * _argo0 = 0;
8365 char *_kwnames[] = { "self", NULL };
8366
8367 self = self;
8368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetTitle",_kwnames,&_argo0))
8369 return NULL;
8370 if (_argo0) {
8371 if (_argo0 == Py_None) { _arg0 = NULL; }
8372 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8373 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
8374 return NULL;
8375 }
8376 }
8377 {
8378 PyThreadState* __tstate = wxPyBeginAllowThreads();
8379 _result = new wxString (wxMenu_GetTitle(_arg0));
8380
8381 wxPyEndAllowThreads(__tstate);
8382 if (PyErr_Occurred()) return NULL;
8383 }{
8384 #if wxUSE_UNICODE
8385 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
8386 #else
8387 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8388 #endif
8389 }
8390 {
8391 delete _result;
8392 }
8393 return _resultobj;
8394 }
8395
8396 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
8397 static PyObject *_wrap_wxMenu_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
8398 PyObject * _resultobj;
8399 wxMenu * _arg0;
8400 wxString * _arg1;
8401 PyObject * _argo0 = 0;
8402 PyObject * _obj1 = 0;
8403 char *_kwnames[] = { "self","title", NULL };
8404
8405 self = self;
8406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_SetTitle",_kwnames,&_argo0,&_obj1))
8407 return NULL;
8408 if (_argo0) {
8409 if (_argo0 == Py_None) { _arg0 = NULL; }
8410 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8411 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
8412 return NULL;
8413 }
8414 }
8415 {
8416 _arg1 = wxString_in_helper(_obj1);
8417 if (_arg1 == NULL)
8418 return NULL;
8419 }
8420 {
8421 PyThreadState* __tstate = wxPyBeginAllowThreads();
8422 wxMenu_SetTitle(_arg0,*_arg1);
8423
8424 wxPyEndAllowThreads(__tstate);
8425 if (PyErr_Occurred()) return NULL;
8426 } Py_INCREF(Py_None);
8427 _resultobj = Py_None;
8428 {
8429 if (_obj1)
8430 delete _arg1;
8431 }
8432 return _resultobj;
8433 }
8434
8435 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
8436 static PyObject *_wrap_wxMenu_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
8437 PyObject * _resultobj;
8438 wxString * _result;
8439 wxMenu * _arg0;
8440 int _arg1;
8441 PyObject * _argo0 = 0;
8442 char *_kwnames[] = { "self","id", NULL };
8443
8444 self = self;
8445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_GetLabel",_kwnames,&_argo0,&_arg1))
8446 return NULL;
8447 if (_argo0) {
8448 if (_argo0 == Py_None) { _arg0 = NULL; }
8449 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8450 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
8451 return NULL;
8452 }
8453 }
8454 {
8455 PyThreadState* __tstate = wxPyBeginAllowThreads();
8456 _result = new wxString (wxMenu_GetLabel(_arg0,_arg1));
8457
8458 wxPyEndAllowThreads(__tstate);
8459 if (PyErr_Occurred()) return NULL;
8460 }{
8461 #if wxUSE_UNICODE
8462 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
8463 #else
8464 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8465 #endif
8466 }
8467 {
8468 delete _result;
8469 }
8470 return _resultobj;
8471 }
8472
8473 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
8474 static PyObject *_wrap_wxMenu_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
8475 PyObject * _resultobj;
8476 wxMenu * _arg0;
8477 int _arg1;
8478 wxString * _arg2;
8479 PyObject * _argo0 = 0;
8480 PyObject * _obj2 = 0;
8481 char *_kwnames[] = { "self","id","label", NULL };
8482
8483 self = self;
8484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenu_SetLabel",_kwnames,&_argo0,&_arg1,&_obj2))
8485 return NULL;
8486 if (_argo0) {
8487 if (_argo0 == Py_None) { _arg0 = NULL; }
8488 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8489 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
8490 return NULL;
8491 }
8492 }
8493 {
8494 _arg2 = wxString_in_helper(_obj2);
8495 if (_arg2 == NULL)
8496 return NULL;
8497 }
8498 {
8499 PyThreadState* __tstate = wxPyBeginAllowThreads();
8500 wxMenu_SetLabel(_arg0,_arg1,*_arg2);
8501
8502 wxPyEndAllowThreads(__tstate);
8503 if (PyErr_Occurred()) return NULL;
8504 } Py_INCREF(Py_None);
8505 _resultobj = Py_None;
8506 {
8507 if (_obj2)
8508 delete _arg2;
8509 }
8510 return _resultobj;
8511 }
8512
8513 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
8514 static PyObject *_wrap_wxMenu_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
8515 PyObject * _resultobj;
8516 wxString * _result;
8517 wxMenu * _arg0;
8518 int _arg1;
8519 PyObject * _argo0 = 0;
8520 char *_kwnames[] = { "self","id", NULL };
8521
8522 self = self;
8523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_GetHelpString",_kwnames,&_argo0,&_arg1))
8524 return NULL;
8525 if (_argo0) {
8526 if (_argo0 == Py_None) { _arg0 = NULL; }
8527 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8528 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
8529 return NULL;
8530 }
8531 }
8532 {
8533 PyThreadState* __tstate = wxPyBeginAllowThreads();
8534 _result = new wxString (wxMenu_GetHelpString(_arg0,_arg1));
8535
8536 wxPyEndAllowThreads(__tstate);
8537 if (PyErr_Occurred()) return NULL;
8538 }{
8539 #if wxUSE_UNICODE
8540 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
8541 #else
8542 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8543 #endif
8544 }
8545 {
8546 delete _result;
8547 }
8548 return _resultobj;
8549 }
8550
8551 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
8552 static PyObject *_wrap_wxMenu_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
8553 PyObject * _resultobj;
8554 wxMenu * _arg0;
8555 int _arg1;
8556 wxString * _arg2;
8557 PyObject * _argo0 = 0;
8558 PyObject * _obj2 = 0;
8559 char *_kwnames[] = { "self","id","helpString", NULL };
8560
8561 self = self;
8562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenu_SetHelpString",_kwnames,&_argo0,&_arg1,&_obj2))
8563 return NULL;
8564 if (_argo0) {
8565 if (_argo0 == Py_None) { _arg0 = NULL; }
8566 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8567 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
8568 return NULL;
8569 }
8570 }
8571 {
8572 _arg2 = wxString_in_helper(_obj2);
8573 if (_arg2 == NULL)
8574 return NULL;
8575 }
8576 {
8577 PyThreadState* __tstate = wxPyBeginAllowThreads();
8578 wxMenu_SetHelpString(_arg0,_arg1,*_arg2);
8579
8580 wxPyEndAllowThreads(__tstate);
8581 if (PyErr_Occurred()) return NULL;
8582 } Py_INCREF(Py_None);
8583 _resultobj = Py_None;
8584 {
8585 if (_obj2)
8586 delete _arg2;
8587 }
8588 return _resultobj;
8589 }
8590
8591 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
8592 static PyObject *_wrap_wxMenu_UpdateUI(PyObject *self, PyObject *args, PyObject *kwargs) {
8593 PyObject * _resultobj;
8594 wxMenu * _arg0;
8595 wxEvtHandler * _arg1 = (wxEvtHandler *) NULL;
8596 PyObject * _argo0 = 0;
8597 PyObject * _argo1 = 0;
8598 char *_kwnames[] = { "self","source", NULL };
8599
8600 self = self;
8601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxMenu_UpdateUI",_kwnames,&_argo0,&_argo1))
8602 return NULL;
8603 if (_argo0) {
8604 if (_argo0 == Py_None) { _arg0 = NULL; }
8605 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8606 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
8607 return NULL;
8608 }
8609 }
8610 if (_argo1) {
8611 if (_argo1 == Py_None) { _arg1 = NULL; }
8612 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
8613 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
8614 return NULL;
8615 }
8616 }
8617 {
8618 PyThreadState* __tstate = wxPyBeginAllowThreads();
8619 wxMenu_UpdateUI(_arg0,_arg1);
8620
8621 wxPyEndAllowThreads(__tstate);
8622 if (PyErr_Occurred()) return NULL;
8623 } Py_INCREF(Py_None);
8624 _resultobj = Py_None;
8625 return _resultobj;
8626 }
8627
8628 #define wxMenu_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
8629 static PyObject *_wrap_wxMenu_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
8630 PyObject * _resultobj;
8631 bool _result;
8632 wxMenu * _arg0;
8633 int _arg1;
8634 PyObject * _argo0 = 0;
8635 char *_kwnames[] = { "self","id", NULL };
8636
8637 self = self;
8638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_Delete",_kwnames,&_argo0,&_arg1))
8639 return NULL;
8640 if (_argo0) {
8641 if (_argo0 == Py_None) { _arg0 = NULL; }
8642 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8643 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Delete. Expected _wxMenu_p.");
8644 return NULL;
8645 }
8646 }
8647 {
8648 PyThreadState* __tstate = wxPyBeginAllowThreads();
8649 _result = (bool )wxMenu_Delete(_arg0,_arg1);
8650
8651 wxPyEndAllowThreads(__tstate);
8652 if (PyErr_Occurred()) return NULL;
8653 } _resultobj = Py_BuildValue("i",_result);
8654 return _resultobj;
8655 }
8656
8657 #define wxMenu_DeleteItem(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
8658 static PyObject *_wrap_wxMenu_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8659 PyObject * _resultobj;
8660 bool _result;
8661 wxMenu * _arg0;
8662 wxMenuItem * _arg1;
8663 PyObject * _argo0 = 0;
8664 PyObject * _argo1 = 0;
8665 char *_kwnames[] = { "self","item", NULL };
8666
8667 self = self;
8668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_DeleteItem",_kwnames,&_argo0,&_argo1))
8669 return NULL;
8670 if (_argo0) {
8671 if (_argo0 == Py_None) { _arg0 = NULL; }
8672 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8673 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_DeleteItem. Expected _wxMenu_p.");
8674 return NULL;
8675 }
8676 }
8677 if (_argo1) {
8678 if (_argo1 == Py_None) { _arg1 = NULL; }
8679 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenuItem_p")) {
8680 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_DeleteItem. Expected _wxMenuItem_p.");
8681 return NULL;
8682 }
8683 }
8684 {
8685 PyThreadState* __tstate = wxPyBeginAllowThreads();
8686 _result = (bool )wxMenu_DeleteItem(_arg0,_arg1);
8687
8688 wxPyEndAllowThreads(__tstate);
8689 if (PyErr_Occurred()) return NULL;
8690 } _resultobj = Py_BuildValue("i",_result);
8691 return _resultobj;
8692 }
8693
8694 #define wxMenu_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
8695 static PyObject *_wrap_wxMenu_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
8696 PyObject * _resultobj;
8697 wxMenuItem * _result;
8698 wxMenu * _arg0;
8699 int _arg1;
8700 PyObject * _argo0 = 0;
8701 char *_kwnames[] = { "self","id", NULL };
8702
8703 self = self;
8704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_Remove",_kwnames,&_argo0,&_arg1))
8705 return NULL;
8706 if (_argo0) {
8707 if (_argo0 == Py_None) { _arg0 = NULL; }
8708 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8709 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Remove. Expected _wxMenu_p.");
8710 return NULL;
8711 }
8712 }
8713 {
8714 PyThreadState* __tstate = wxPyBeginAllowThreads();
8715 _result = (wxMenuItem *)wxMenu_Remove(_arg0,_arg1);
8716
8717 wxPyEndAllowThreads(__tstate);
8718 if (PyErr_Occurred()) return NULL;
8719 }{ _resultobj = wxPyMake_wxObject(_result); }
8720 return _resultobj;
8721 }
8722
8723 #define wxMenu_RemoveItem(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
8724 static PyObject *_wrap_wxMenu_RemoveItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8725 PyObject * _resultobj;
8726 wxMenuItem * _result;
8727 wxMenu * _arg0;
8728 wxMenuItem * _arg1;
8729 PyObject * _argo0 = 0;
8730 PyObject * _argo1 = 0;
8731 char *_kwnames[] = { "self","item", NULL };
8732
8733 self = self;
8734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_RemoveItem",_kwnames,&_argo0,&_argo1))
8735 return NULL;
8736 if (_argo0) {
8737 if (_argo0 == Py_None) { _arg0 = NULL; }
8738 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8739 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_RemoveItem. Expected _wxMenu_p.");
8740 return NULL;
8741 }
8742 }
8743 if (_argo1) {
8744 if (_argo1 == Py_None) { _arg1 = NULL; }
8745 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenuItem_p")) {
8746 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_RemoveItem. Expected _wxMenuItem_p.");
8747 return NULL;
8748 }
8749 }
8750 {
8751 PyThreadState* __tstate = wxPyBeginAllowThreads();
8752 _result = (wxMenuItem *)wxMenu_RemoveItem(_arg0,_arg1);
8753
8754 wxPyEndAllowThreads(__tstate);
8755 if (PyErr_Occurred()) return NULL;
8756 }{ _resultobj = wxPyMake_wxObject(_result); }
8757 return _resultobj;
8758 }
8759
8760 static void wxMenu_Destroy(wxMenu *self) { delete self; }
8761 static PyObject *_wrap_wxMenu_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
8762 PyObject * _resultobj;
8763 wxMenu * _arg0;
8764 PyObject * _argo0 = 0;
8765 char *_kwnames[] = { "self", NULL };
8766
8767 self = self;
8768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_Destroy",_kwnames,&_argo0))
8769 return NULL;
8770 if (_argo0) {
8771 if (_argo0 == Py_None) { _arg0 = NULL; }
8772 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8773 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Destroy. Expected _wxMenu_p.");
8774 return NULL;
8775 }
8776 }
8777 {
8778 PyThreadState* __tstate = wxPyBeginAllowThreads();
8779 wxMenu_Destroy(_arg0);
8780
8781 wxPyEndAllowThreads(__tstate);
8782 if (PyErr_Occurred()) return NULL;
8783 } Py_INCREF(Py_None);
8784 _resultobj = Py_None;
8785 return _resultobj;
8786 }
8787
8788 #define wxMenu_DestroyId(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
8789 static PyObject *_wrap_wxMenu_DestroyId(PyObject *self, PyObject *args, PyObject *kwargs) {
8790 PyObject * _resultobj;
8791 bool _result;
8792 wxMenu * _arg0;
8793 int _arg1;
8794 PyObject * _argo0 = 0;
8795 char *_kwnames[] = { "self","id", NULL };
8796
8797 self = self;
8798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_DestroyId",_kwnames,&_argo0,&_arg1))
8799 return NULL;
8800 if (_argo0) {
8801 if (_argo0 == Py_None) { _arg0 = NULL; }
8802 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8803 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_DestroyId. Expected _wxMenu_p.");
8804 return NULL;
8805 }
8806 }
8807 {
8808 PyThreadState* __tstate = wxPyBeginAllowThreads();
8809 _result = (bool )wxMenu_DestroyId(_arg0,_arg1);
8810
8811 wxPyEndAllowThreads(__tstate);
8812 if (PyErr_Occurred()) return NULL;
8813 } _resultobj = Py_BuildValue("i",_result);
8814 return _resultobj;
8815 }
8816
8817 #define wxMenu_DestroyItem(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
8818 static PyObject *_wrap_wxMenu_DestroyItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8819 PyObject * _resultobj;
8820 bool _result;
8821 wxMenu * _arg0;
8822 wxMenuItem * _arg1;
8823 PyObject * _argo0 = 0;
8824 PyObject * _argo1 = 0;
8825 char *_kwnames[] = { "self","item", NULL };
8826
8827 self = self;
8828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_DestroyItem",_kwnames,&_argo0,&_argo1))
8829 return NULL;
8830 if (_argo0) {
8831 if (_argo0 == Py_None) { _arg0 = NULL; }
8832 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8833 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_DestroyItem. Expected _wxMenu_p.");
8834 return NULL;
8835 }
8836 }
8837 if (_argo1) {
8838 if (_argo1 == Py_None) { _arg1 = NULL; }
8839 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenuItem_p")) {
8840 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_DestroyItem. Expected _wxMenuItem_p.");
8841 return NULL;
8842 }
8843 }
8844 {
8845 PyThreadState* __tstate = wxPyBeginAllowThreads();
8846 _result = (bool )wxMenu_DestroyItem(_arg0,_arg1);
8847
8848 wxPyEndAllowThreads(__tstate);
8849 if (PyErr_Occurred()) return NULL;
8850 } _resultobj = Py_BuildValue("i",_result);
8851 return _resultobj;
8852 }
8853
8854 #define wxMenu_GetMenuItemCount(_swigobj) (_swigobj->GetMenuItemCount())
8855 static PyObject *_wrap_wxMenu_GetMenuItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8856 PyObject * _resultobj;
8857 size_t _result;
8858 wxMenu * _arg0;
8859 PyObject * _argo0 = 0;
8860 char *_kwnames[] = { "self", NULL };
8861
8862 self = self;
8863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetMenuItemCount",_kwnames,&_argo0))
8864 return NULL;
8865 if (_argo0) {
8866 if (_argo0 == Py_None) { _arg0 = NULL; }
8867 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8868 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetMenuItemCount. Expected _wxMenu_p.");
8869 return NULL;
8870 }
8871 }
8872 {
8873 PyThreadState* __tstate = wxPyBeginAllowThreads();
8874 _result = (size_t )wxMenu_GetMenuItemCount(_arg0);
8875
8876 wxPyEndAllowThreads(__tstate);
8877 if (PyErr_Occurred()) return NULL;
8878 } _resultobj = Py_BuildValue("i",_result);
8879 return _resultobj;
8880 }
8881
8882 static PyObject * wxMenu_GetMenuItems(wxMenu *self) {
8883 wxMenuItemList& list = self->GetMenuItems();
8884 return wxPy_ConvertList(&list, "wxMenuItem");
8885 }
8886 static PyObject *_wrap_wxMenu_GetMenuItems(PyObject *self, PyObject *args, PyObject *kwargs) {
8887 PyObject * _resultobj;
8888 PyObject * _result;
8889 wxMenu * _arg0;
8890 PyObject * _argo0 = 0;
8891 char *_kwnames[] = { "self", NULL };
8892
8893 self = self;
8894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetMenuItems",_kwnames,&_argo0))
8895 return NULL;
8896 if (_argo0) {
8897 if (_argo0 == Py_None) { _arg0 = NULL; }
8898 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8899 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetMenuItems. Expected _wxMenu_p.");
8900 return NULL;
8901 }
8902 }
8903 {
8904 PyThreadState* __tstate = wxPyBeginAllowThreads();
8905 _result = (PyObject *)wxMenu_GetMenuItems(_arg0);
8906
8907 wxPyEndAllowThreads(__tstate);
8908 if (PyErr_Occurred()) return NULL;
8909 }{
8910 _resultobj = _result;
8911 }
8912 return _resultobj;
8913 }
8914
8915 #define wxMenu_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
8916 static PyObject *_wrap_wxMenu_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
8917 PyObject * _resultobj;
8918 wxMenu * _arg0;
8919 wxEvtHandler * _arg1;
8920 PyObject * _argo0 = 0;
8921 PyObject * _argo1 = 0;
8922 char *_kwnames[] = { "self","handler", NULL };
8923
8924 self = self;
8925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_SetEventHandler",_kwnames,&_argo0,&_argo1))
8926 return NULL;
8927 if (_argo0) {
8928 if (_argo0 == Py_None) { _arg0 = NULL; }
8929 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8930 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetEventHandler. Expected _wxMenu_p.");
8931 return NULL;
8932 }
8933 }
8934 if (_argo1) {
8935 if (_argo1 == Py_None) { _arg1 = NULL; }
8936 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
8937 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_SetEventHandler. Expected _wxEvtHandler_p.");
8938 return NULL;
8939 }
8940 }
8941 {
8942 PyThreadState* __tstate = wxPyBeginAllowThreads();
8943 wxMenu_SetEventHandler(_arg0,_arg1);
8944
8945 wxPyEndAllowThreads(__tstate);
8946 if (PyErr_Occurred()) return NULL;
8947 } Py_INCREF(Py_None);
8948 _resultobj = Py_None;
8949 return _resultobj;
8950 }
8951
8952 #define wxMenu_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
8953 static PyObject *_wrap_wxMenu_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
8954 PyObject * _resultobj;
8955 wxEvtHandler * _result;
8956 wxMenu * _arg0;
8957 PyObject * _argo0 = 0;
8958 char *_kwnames[] = { "self", NULL };
8959
8960 self = self;
8961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetEventHandler",_kwnames,&_argo0))
8962 return NULL;
8963 if (_argo0) {
8964 if (_argo0 == Py_None) { _arg0 = NULL; }
8965 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8966 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetEventHandler. Expected _wxMenu_p.");
8967 return NULL;
8968 }
8969 }
8970 {
8971 PyThreadState* __tstate = wxPyBeginAllowThreads();
8972 _result = (wxEvtHandler *)wxMenu_GetEventHandler(_arg0);
8973
8974 wxPyEndAllowThreads(__tstate);
8975 if (PyErr_Occurred()) return NULL;
8976 }{ _resultobj = wxPyMake_wxObject(_result); }
8977 return _resultobj;
8978 }
8979
8980 #define wxMenu_SetInvokingWindow(_swigobj,_swigarg0) (_swigobj->SetInvokingWindow(_swigarg0))
8981 static PyObject *_wrap_wxMenu_SetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8982 PyObject * _resultobj;
8983 wxMenu * _arg0;
8984 wxWindow * _arg1;
8985 PyObject * _argo0 = 0;
8986 PyObject * _argo1 = 0;
8987 char *_kwnames[] = { "self","win", NULL };
8988
8989 self = self;
8990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_SetInvokingWindow",_kwnames,&_argo0,&_argo1))
8991 return NULL;
8992 if (_argo0) {
8993 if (_argo0 == Py_None) { _arg0 = NULL; }
8994 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8995 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetInvokingWindow. Expected _wxMenu_p.");
8996 return NULL;
8997 }
8998 }
8999 if (_argo1) {
9000 if (_argo1 == Py_None) { _arg1 = NULL; }
9001 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
9002 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_SetInvokingWindow. Expected _wxWindow_p.");
9003 return NULL;
9004 }
9005 }
9006 {
9007 PyThreadState* __tstate = wxPyBeginAllowThreads();
9008 wxMenu_SetInvokingWindow(_arg0,_arg1);
9009
9010 wxPyEndAllowThreads(__tstate);
9011 if (PyErr_Occurred()) return NULL;
9012 } Py_INCREF(Py_None);
9013 _resultobj = Py_None;
9014 return _resultobj;
9015 }
9016
9017 #define wxMenu_GetInvokingWindow(_swigobj) (_swigobj->GetInvokingWindow())
9018 static PyObject *_wrap_wxMenu_GetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
9019 PyObject * _resultobj;
9020 wxWindow * _result;
9021 wxMenu * _arg0;
9022 PyObject * _argo0 = 0;
9023 char *_kwnames[] = { "self", NULL };
9024
9025 self = self;
9026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetInvokingWindow",_kwnames,&_argo0))
9027 return NULL;
9028 if (_argo0) {
9029 if (_argo0 == Py_None) { _arg0 = NULL; }
9030 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9031 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetInvokingWindow. Expected _wxMenu_p.");
9032 return NULL;
9033 }
9034 }
9035 {
9036 PyThreadState* __tstate = wxPyBeginAllowThreads();
9037 _result = (wxWindow *)wxMenu_GetInvokingWindow(_arg0);
9038
9039 wxPyEndAllowThreads(__tstate);
9040 if (PyErr_Occurred()) return NULL;
9041 }{ _resultobj = wxPyMake_wxObject(_result); }
9042 return _resultobj;
9043 }
9044
9045 #define wxMenu_GetStyle(_swigobj) (_swigobj->GetStyle())
9046 static PyObject *_wrap_wxMenu_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
9047 PyObject * _resultobj;
9048 long _result;
9049 wxMenu * _arg0;
9050 PyObject * _argo0 = 0;
9051 char *_kwnames[] = { "self", NULL };
9052
9053 self = self;
9054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetStyle",_kwnames,&_argo0))
9055 return NULL;
9056 if (_argo0) {
9057 if (_argo0 == Py_None) { _arg0 = NULL; }
9058 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9059 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetStyle. Expected _wxMenu_p.");
9060 return NULL;
9061 }
9062 }
9063 {
9064 PyThreadState* __tstate = wxPyBeginAllowThreads();
9065 _result = (long )wxMenu_GetStyle(_arg0);
9066
9067 wxPyEndAllowThreads(__tstate);
9068 if (PyErr_Occurred()) return NULL;
9069 } _resultobj = Py_BuildValue("l",_result);
9070 return _resultobj;
9071 }
9072
9073 #define wxMenu_IsAttached(_swigobj) (_swigobj->IsAttached())
9074 static PyObject *_wrap_wxMenu_IsAttached(PyObject *self, PyObject *args, PyObject *kwargs) {
9075 PyObject * _resultobj;
9076 bool _result;
9077 wxMenu * _arg0;
9078 PyObject * _argo0 = 0;
9079 char *_kwnames[] = { "self", NULL };
9080
9081 self = self;
9082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_IsAttached",_kwnames,&_argo0))
9083 return NULL;
9084 if (_argo0) {
9085 if (_argo0 == Py_None) { _arg0 = NULL; }
9086 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9087 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_IsAttached. Expected _wxMenu_p.");
9088 return NULL;
9089 }
9090 }
9091 {
9092 PyThreadState* __tstate = wxPyBeginAllowThreads();
9093 _result = (bool )wxMenu_IsAttached(_arg0);
9094
9095 wxPyEndAllowThreads(__tstate);
9096 if (PyErr_Occurred()) return NULL;
9097 } _resultobj = Py_BuildValue("i",_result);
9098 return _resultobj;
9099 }
9100
9101 #define wxMenu_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
9102 static PyObject *_wrap_wxMenu_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
9103 PyObject * _resultobj;
9104 wxMenu * _arg0;
9105 wxMenu * _arg1;
9106 PyObject * _argo0 = 0;
9107 PyObject * _argo1 = 0;
9108 char *_kwnames[] = { "self","parent", NULL };
9109
9110 self = self;
9111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_SetParent",_kwnames,&_argo0,&_argo1))
9112 return NULL;
9113 if (_argo0) {
9114 if (_argo0 == Py_None) { _arg0 = NULL; }
9115 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9116 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetParent. Expected _wxMenu_p.");
9117 return NULL;
9118 }
9119 }
9120 if (_argo1) {
9121 if (_argo1 == Py_None) { _arg1 = NULL; }
9122 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
9123 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_SetParent. Expected _wxMenu_p.");
9124 return NULL;
9125 }
9126 }
9127 {
9128 PyThreadState* __tstate = wxPyBeginAllowThreads();
9129 wxMenu_SetParent(_arg0,_arg1);
9130
9131 wxPyEndAllowThreads(__tstate);
9132 if (PyErr_Occurred()) return NULL;
9133 } Py_INCREF(Py_None);
9134 _resultobj = Py_None;
9135 return _resultobj;
9136 }
9137
9138 #define wxMenu_GetParent(_swigobj) (_swigobj->GetParent())
9139 static PyObject *_wrap_wxMenu_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
9140 PyObject * _resultobj;
9141 wxMenu * _result;
9142 wxMenu * _arg0;
9143 PyObject * _argo0 = 0;
9144 char *_kwnames[] = { "self", NULL };
9145
9146 self = self;
9147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetParent",_kwnames,&_argo0))
9148 return NULL;
9149 if (_argo0) {
9150 if (_argo0 == Py_None) { _arg0 = NULL; }
9151 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9152 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetParent. Expected _wxMenu_p.");
9153 return NULL;
9154 }
9155 }
9156 {
9157 PyThreadState* __tstate = wxPyBeginAllowThreads();
9158 _result = (wxMenu *)wxMenu_GetParent(_arg0);
9159
9160 wxPyEndAllowThreads(__tstate);
9161 if (PyErr_Occurred()) return NULL;
9162 }{ _resultobj = wxPyMake_wxObject(_result); }
9163 return _resultobj;
9164 }
9165
9166 static void *SwigwxMenuBarTowxWindow(void *ptr) {
9167 wxMenuBar *src;
9168 wxWindow *dest;
9169 src = (wxMenuBar *) ptr;
9170 dest = (wxWindow *) src;
9171 return (void *) dest;
9172 }
9173
9174 static void *SwigwxMenuBarTowxEvtHandler(void *ptr) {
9175 wxMenuBar *src;
9176 wxEvtHandler *dest;
9177 src = (wxMenuBar *) ptr;
9178 dest = (wxEvtHandler *) src;
9179 return (void *) dest;
9180 }
9181
9182 static void *SwigwxMenuBarTowxObject(void *ptr) {
9183 wxMenuBar *src;
9184 wxObject *dest;
9185 src = (wxMenuBar *) ptr;
9186 dest = (wxObject *) src;
9187 return (void *) dest;
9188 }
9189
9190 #define new_wxMenuBar(_swigarg0) (new wxMenuBar(_swigarg0))
9191 static PyObject *_wrap_new_wxMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9192 PyObject * _resultobj;
9193 wxMenuBar * _result;
9194 long _arg0 = (long ) 0;
9195 char *_kwnames[] = { "style", NULL };
9196 char _ptemp[128];
9197
9198 self = self;
9199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|l:new_wxMenuBar",_kwnames,&_arg0))
9200 return NULL;
9201 {
9202 PyThreadState* __tstate = wxPyBeginAllowThreads();
9203 _result = (wxMenuBar *)new_wxMenuBar(_arg0);
9204
9205 wxPyEndAllowThreads(__tstate);
9206 if (PyErr_Occurred()) return NULL;
9207 } if (_result) {
9208 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuBar_p");
9209 _resultobj = Py_BuildValue("s",_ptemp);
9210 } else {
9211 Py_INCREF(Py_None);
9212 _resultobj = Py_None;
9213 }
9214 return _resultobj;
9215 }
9216
9217 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
9218 static PyObject *_wrap_wxMenuBar_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
9219 PyObject * _resultobj;
9220 bool _result;
9221 wxMenuBar * _arg0;
9222 wxMenu * _arg1;
9223 wxString * _arg2;
9224 PyObject * _argo0 = 0;
9225 PyObject * _argo1 = 0;
9226 PyObject * _obj2 = 0;
9227 char *_kwnames[] = { "self","menu","title", NULL };
9228
9229 self = self;
9230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxMenuBar_Append",_kwnames,&_argo0,&_argo1,&_obj2))
9231 return NULL;
9232 if (_argo0) {
9233 if (_argo0 == Py_None) { _arg0 = NULL; }
9234 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9235 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
9236 return NULL;
9237 }
9238 }
9239 if (_argo1) {
9240 if (_argo1 == Py_None) { _arg1 = NULL; }
9241 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
9242 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
9243 return NULL;
9244 }
9245 }
9246 {
9247 _arg2 = wxString_in_helper(_obj2);
9248 if (_arg2 == NULL)
9249 return NULL;
9250 }
9251 {
9252 PyThreadState* __tstate = wxPyBeginAllowThreads();
9253 _result = (bool )wxMenuBar_Append(_arg0,_arg1,*_arg2);
9254
9255 wxPyEndAllowThreads(__tstate);
9256 if (PyErr_Occurred()) return NULL;
9257 } _resultobj = Py_BuildValue("i",_result);
9258 {
9259 if (_obj2)
9260 delete _arg2;
9261 }
9262 return _resultobj;
9263 }
9264
9265 #define wxMenuBar_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2))
9266 static PyObject *_wrap_wxMenuBar_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
9267 PyObject * _resultobj;
9268 bool _result;
9269 wxMenuBar * _arg0;
9270 size_t _arg1;
9271 wxMenu * _arg2;
9272 wxString * _arg3;
9273 PyObject * _argo0 = 0;
9274 PyObject * _argo2 = 0;
9275 PyObject * _obj3 = 0;
9276 char *_kwnames[] = { "self","pos","menu","title", NULL };
9277
9278 self = self;
9279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO:wxMenuBar_Insert",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3))
9280 return NULL;
9281 if (_argo0) {
9282 if (_argo0 == Py_None) { _arg0 = NULL; }
9283 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9284 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Insert. Expected _wxMenuBar_p.");
9285 return NULL;
9286 }
9287 }
9288 if (_argo2) {
9289 if (_argo2 == Py_None) { _arg2 = NULL; }
9290 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxMenu_p")) {
9291 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxMenuBar_Insert. Expected _wxMenu_p.");
9292 return NULL;
9293 }
9294 }
9295 {
9296 _arg3 = wxString_in_helper(_obj3);
9297 if (_arg3 == NULL)
9298 return NULL;
9299 }
9300 {
9301 PyThreadState* __tstate = wxPyBeginAllowThreads();
9302 _result = (bool )wxMenuBar_Insert(_arg0,_arg1,_arg2,*_arg3);
9303
9304 wxPyEndAllowThreads(__tstate);
9305 if (PyErr_Occurred()) return NULL;
9306 } _resultobj = Py_BuildValue("i",_result);
9307 {
9308 if (_obj3)
9309 delete _arg3;
9310 }
9311 return _resultobj;
9312 }
9313
9314 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
9315 static PyObject *_wrap_wxMenuBar_GetMenuCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9316 PyObject * _resultobj;
9317 size_t _result;
9318 wxMenuBar * _arg0;
9319 PyObject * _argo0 = 0;
9320 char *_kwnames[] = { "self", NULL };
9321
9322 self = self;
9323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuBar_GetMenuCount",_kwnames,&_argo0))
9324 return NULL;
9325 if (_argo0) {
9326 if (_argo0 == Py_None) { _arg0 = NULL; }
9327 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9328 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
9329 return NULL;
9330 }
9331 }
9332 {
9333 PyThreadState* __tstate = wxPyBeginAllowThreads();
9334 _result = (size_t )wxMenuBar_GetMenuCount(_arg0);
9335
9336 wxPyEndAllowThreads(__tstate);
9337 if (PyErr_Occurred()) return NULL;
9338 } _resultobj = Py_BuildValue("i",_result);
9339 return _resultobj;
9340 }
9341
9342 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
9343 static PyObject *_wrap_wxMenuBar_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
9344 PyObject * _resultobj;
9345 wxMenu * _result;
9346 wxMenuBar * _arg0;
9347 size_t _arg1;
9348 PyObject * _argo0 = 0;
9349 char *_kwnames[] = { "self","pos", NULL };
9350
9351 self = self;
9352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_GetMenu",_kwnames,&_argo0,&_arg1))
9353 return NULL;
9354 if (_argo0) {
9355 if (_argo0 == Py_None) { _arg0 = NULL; }
9356 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9357 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
9358 return NULL;
9359 }
9360 }
9361 {
9362 PyThreadState* __tstate = wxPyBeginAllowThreads();
9363 _result = (wxMenu *)wxMenuBar_GetMenu(_arg0,_arg1);
9364
9365 wxPyEndAllowThreads(__tstate);
9366 if (PyErr_Occurred()) return NULL;
9367 }{ _resultobj = wxPyMake_wxObject(_result); }
9368 return _resultobj;
9369 }
9370
9371 #define wxMenuBar_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
9372 static PyObject *_wrap_wxMenuBar_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
9373 PyObject * _resultobj;
9374 wxMenu * _result;
9375 wxMenuBar * _arg0;
9376 size_t _arg1;
9377 wxMenu * _arg2;
9378 wxString * _arg3;
9379 PyObject * _argo0 = 0;
9380 PyObject * _argo2 = 0;
9381 PyObject * _obj3 = 0;
9382 char *_kwnames[] = { "self","pos","menu","title", NULL };
9383
9384 self = self;
9385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO:wxMenuBar_Replace",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3))
9386 return NULL;
9387 if (_argo0) {
9388 if (_argo0 == Py_None) { _arg0 = NULL; }
9389 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9390 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Replace. Expected _wxMenuBar_p.");
9391 return NULL;
9392 }
9393 }
9394 if (_argo2) {
9395 if (_argo2 == Py_None) { _arg2 = NULL; }
9396 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxMenu_p")) {
9397 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxMenuBar_Replace. Expected _wxMenu_p.");
9398 return NULL;
9399 }
9400 }
9401 {
9402 _arg3 = wxString_in_helper(_obj3);
9403 if (_arg3 == NULL)
9404 return NULL;
9405 }
9406 {
9407 PyThreadState* __tstate = wxPyBeginAllowThreads();
9408 _result = (wxMenu *)wxMenuBar_Replace(_arg0,_arg1,_arg2,*_arg3);
9409
9410 wxPyEndAllowThreads(__tstate);
9411 if (PyErr_Occurred()) return NULL;
9412 }{ _resultobj = wxPyMake_wxObject(_result); }
9413 {
9414 if (_obj3)
9415 delete _arg3;
9416 }
9417 return _resultobj;
9418 }
9419
9420 #define wxMenuBar_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
9421 static PyObject *_wrap_wxMenuBar_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
9422 PyObject * _resultobj;
9423 wxMenu * _result;
9424 wxMenuBar * _arg0;
9425 size_t _arg1;
9426 PyObject * _argo0 = 0;
9427 char *_kwnames[] = { "self","pos", NULL };
9428
9429 self = self;
9430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_Remove",_kwnames,&_argo0,&_arg1))
9431 return NULL;
9432 if (_argo0) {
9433 if (_argo0 == Py_None) { _arg0 = NULL; }
9434 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9435 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Remove. Expected _wxMenuBar_p.");
9436 return NULL;
9437 }
9438 }
9439 {
9440 PyThreadState* __tstate = wxPyBeginAllowThreads();
9441 _result = (wxMenu *)wxMenuBar_Remove(_arg0,_arg1);
9442
9443 wxPyEndAllowThreads(__tstate);
9444 if (PyErr_Occurred()) return NULL;
9445 }{ _resultobj = wxPyMake_wxObject(_result); }
9446 return _resultobj;
9447 }
9448
9449 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
9450 static PyObject *_wrap_wxMenuBar_EnableTop(PyObject *self, PyObject *args, PyObject *kwargs) {
9451 PyObject * _resultobj;
9452 wxMenuBar * _arg0;
9453 size_t _arg1;
9454 bool _arg2;
9455 PyObject * _argo0 = 0;
9456 int tempbool2;
9457 char *_kwnames[] = { "self","pos","enable", NULL };
9458
9459 self = self;
9460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxMenuBar_EnableTop",_kwnames,&_argo0,&_arg1,&tempbool2))
9461 return NULL;
9462 if (_argo0) {
9463 if (_argo0 == Py_None) { _arg0 = NULL; }
9464 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9465 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
9466 return NULL;
9467 }
9468 }
9469 _arg2 = (bool ) tempbool2;
9470 {
9471 PyThreadState* __tstate = wxPyBeginAllowThreads();
9472 wxMenuBar_EnableTop(_arg0,_arg1,_arg2);
9473
9474 wxPyEndAllowThreads(__tstate);
9475 if (PyErr_Occurred()) return NULL;
9476 } Py_INCREF(Py_None);
9477 _resultobj = Py_None;
9478 return _resultobj;
9479 }
9480
9481 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
9482 static PyObject *_wrap_wxMenuBar_SetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
9483 PyObject * _resultobj;
9484 wxMenuBar * _arg0;
9485 size_t _arg1;
9486 wxString * _arg2;
9487 PyObject * _argo0 = 0;
9488 PyObject * _obj2 = 0;
9489 char *_kwnames[] = { "self","pos","label", NULL };
9490
9491 self = self;
9492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenuBar_SetLabelTop",_kwnames,&_argo0,&_arg1,&_obj2))
9493 return NULL;
9494 if (_argo0) {
9495 if (_argo0 == Py_None) { _arg0 = NULL; }
9496 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9497 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
9498 return NULL;
9499 }
9500 }
9501 {
9502 _arg2 = wxString_in_helper(_obj2);
9503 if (_arg2 == NULL)
9504 return NULL;
9505 }
9506 {
9507 PyThreadState* __tstate = wxPyBeginAllowThreads();
9508 wxMenuBar_SetLabelTop(_arg0,_arg1,*_arg2);
9509
9510 wxPyEndAllowThreads(__tstate);
9511 if (PyErr_Occurred()) return NULL;
9512 } Py_INCREF(Py_None);
9513 _resultobj = Py_None;
9514 {
9515 if (_obj2)
9516 delete _arg2;
9517 }
9518 return _resultobj;
9519 }
9520
9521 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
9522 static PyObject *_wrap_wxMenuBar_GetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
9523 PyObject * _resultobj;
9524 wxString * _result;
9525 wxMenuBar * _arg0;
9526 size_t _arg1;
9527 PyObject * _argo0 = 0;
9528 char *_kwnames[] = { "self","pos", NULL };
9529
9530 self = self;
9531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_GetLabelTop",_kwnames,&_argo0,&_arg1))
9532 return NULL;
9533 if (_argo0) {
9534 if (_argo0 == Py_None) { _arg0 = NULL; }
9535 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9536 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
9537 return NULL;
9538 }
9539 }
9540 {
9541 PyThreadState* __tstate = wxPyBeginAllowThreads();
9542 _result = new wxString (wxMenuBar_GetLabelTop(_arg0,_arg1));
9543
9544 wxPyEndAllowThreads(__tstate);
9545 if (PyErr_Occurred()) return NULL;
9546 }{
9547 #if wxUSE_UNICODE
9548 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
9549 #else
9550 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
9551 #endif
9552 }
9553 {
9554 delete _result;
9555 }
9556 return _resultobj;
9557 }
9558
9559 #define wxMenuBar_FindMenu(_swigobj,_swigarg0) (_swigobj->FindMenu(_swigarg0))
9560 static PyObject *_wrap_wxMenuBar_FindMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
9561 PyObject * _resultobj;
9562 int _result;
9563 wxMenuBar * _arg0;
9564 wxString * _arg1;
9565 PyObject * _argo0 = 0;
9566 PyObject * _obj1 = 0;
9567 char *_kwnames[] = { "self","title", NULL };
9568
9569 self = self;
9570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuBar_FindMenu",_kwnames,&_argo0,&_obj1))
9571 return NULL;
9572 if (_argo0) {
9573 if (_argo0 == Py_None) { _arg0 = NULL; }
9574 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9575 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_FindMenu. Expected _wxMenuBar_p.");
9576 return NULL;
9577 }
9578 }
9579 {
9580 _arg1 = wxString_in_helper(_obj1);
9581 if (_arg1 == NULL)
9582 return NULL;
9583 }
9584 {
9585 PyThreadState* __tstate = wxPyBeginAllowThreads();
9586 _result = (int )wxMenuBar_FindMenu(_arg0,*_arg1);
9587
9588 wxPyEndAllowThreads(__tstate);
9589 if (PyErr_Occurred()) return NULL;
9590 } _resultobj = Py_BuildValue("i",_result);
9591 {
9592 if (_obj1)
9593 delete _arg1;
9594 }
9595 return _resultobj;
9596 }
9597
9598 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
9599 static PyObject *_wrap_wxMenuBar_FindMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9600 PyObject * _resultobj;
9601 int _result;
9602 wxMenuBar * _arg0;
9603 wxString * _arg1;
9604 wxString * _arg2;
9605 PyObject * _argo0 = 0;
9606 PyObject * _obj1 = 0;
9607 PyObject * _obj2 = 0;
9608 char *_kwnames[] = { "self","menuString","itemString", NULL };
9609
9610 self = self;
9611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxMenuBar_FindMenuItem",_kwnames,&_argo0,&_obj1,&_obj2))
9612 return NULL;
9613 if (_argo0) {
9614 if (_argo0 == Py_None) { _arg0 = NULL; }
9615 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9616 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
9617 return NULL;
9618 }
9619 }
9620 {
9621 _arg1 = wxString_in_helper(_obj1);
9622 if (_arg1 == NULL)
9623 return NULL;
9624 }
9625 {
9626 _arg2 = wxString_in_helper(_obj2);
9627 if (_arg2 == NULL)
9628 return NULL;
9629 }
9630 {
9631 PyThreadState* __tstate = wxPyBeginAllowThreads();
9632 _result = (int )wxMenuBar_FindMenuItem(_arg0,*_arg1,*_arg2);
9633
9634 wxPyEndAllowThreads(__tstate);
9635 if (PyErr_Occurred()) return NULL;
9636 } _resultobj = Py_BuildValue("i",_result);
9637 {
9638 if (_obj1)
9639 delete _arg1;
9640 }
9641 {
9642 if (_obj2)
9643 delete _arg2;
9644 }
9645 return _resultobj;
9646 }
9647
9648 #define wxMenuBar_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
9649 static PyObject *_wrap_wxMenuBar_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
9650 PyObject * _resultobj;
9651 wxMenuItem * _result;
9652 wxMenuBar * _arg0;
9653 int _arg1;
9654 PyObject * _argo0 = 0;
9655 char *_kwnames[] = { "self","id", NULL };
9656
9657 self = self;
9658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_FindItemById",_kwnames,&_argo0,&_arg1))
9659 return NULL;
9660 if (_argo0) {
9661 if (_argo0 == Py_None) { _arg0 = NULL; }
9662 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9663 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_FindItemById. Expected _wxMenuBar_p.");
9664 return NULL;
9665 }
9666 }
9667 {
9668 PyThreadState* __tstate = wxPyBeginAllowThreads();
9669 _result = (wxMenuItem *)wxMenuBar_FindItemById(_arg0,_arg1);
9670
9671 wxPyEndAllowThreads(__tstate);
9672 if (PyErr_Occurred()) return NULL;
9673 }{ _resultobj = wxPyMake_wxObject(_result); }
9674 return _resultobj;
9675 }
9676
9677 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
9678 static PyObject *_wrap_wxMenuBar_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
9679 PyObject * _resultobj;
9680 wxMenuBar * _arg0;
9681 int _arg1;
9682 bool _arg2;
9683 PyObject * _argo0 = 0;
9684 int tempbool2;
9685 char *_kwnames[] = { "self","id","enable", NULL };
9686
9687 self = self;
9688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxMenuBar_Enable",_kwnames,&_argo0,&_arg1,&tempbool2))
9689 return NULL;
9690 if (_argo0) {
9691 if (_argo0 == Py_None) { _arg0 = NULL; }
9692 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9693 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
9694 return NULL;
9695 }
9696 }
9697 _arg2 = (bool ) tempbool2;
9698 {
9699 PyThreadState* __tstate = wxPyBeginAllowThreads();
9700 wxMenuBar_Enable(_arg0,_arg1,_arg2);
9701
9702 wxPyEndAllowThreads(__tstate);
9703 if (PyErr_Occurred()) return NULL;
9704 } Py_INCREF(Py_None);
9705 _resultobj = Py_None;
9706 return _resultobj;
9707 }
9708
9709 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
9710 static PyObject *_wrap_wxMenuBar_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
9711 PyObject * _resultobj;
9712 wxMenuBar * _arg0;
9713 int _arg1;
9714 bool _arg2;
9715 PyObject * _argo0 = 0;
9716 int tempbool2;
9717 char *_kwnames[] = { "self","id","check", NULL };
9718
9719 self = self;
9720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxMenuBar_Check",_kwnames,&_argo0,&_arg1,&tempbool2))
9721 return NULL;
9722 if (_argo0) {
9723 if (_argo0 == Py_None) { _arg0 = NULL; }
9724 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9725 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
9726 return NULL;
9727 }
9728 }
9729 _arg2 = (bool ) tempbool2;
9730 {
9731 PyThreadState* __tstate = wxPyBeginAllowThreads();
9732 wxMenuBar_Check(_arg0,_arg1,_arg2);
9733
9734 wxPyEndAllowThreads(__tstate);
9735 if (PyErr_Occurred()) return NULL;
9736 } Py_INCREF(Py_None);
9737 _resultobj = Py_None;
9738 return _resultobj;
9739 }
9740
9741 #define wxMenuBar_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
9742 static PyObject *_wrap_wxMenuBar_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
9743 PyObject * _resultobj;
9744 bool _result;
9745 wxMenuBar * _arg0;
9746 int _arg1;
9747 PyObject * _argo0 = 0;
9748 char *_kwnames[] = { "self","id", NULL };
9749
9750 self = self;
9751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_IsChecked",_kwnames,&_argo0,&_arg1))
9752 return NULL;
9753 if (_argo0) {
9754 if (_argo0 == Py_None) { _arg0 = NULL; }
9755 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9756 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_IsChecked. Expected _wxMenuBar_p.");
9757 return NULL;
9758 }
9759 }
9760 {
9761 PyThreadState* __tstate = wxPyBeginAllowThreads();
9762 _result = (bool )wxMenuBar_IsChecked(_arg0,_arg1);
9763
9764 wxPyEndAllowThreads(__tstate);
9765 if (PyErr_Occurred()) return NULL;
9766 } _resultobj = Py_BuildValue("i",_result);
9767 return _resultobj;
9768 }
9769
9770 #define wxMenuBar_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
9771 static PyObject *_wrap_wxMenuBar_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
9772 PyObject * _resultobj;
9773 bool _result;
9774 wxMenuBar * _arg0;
9775 int _arg1;
9776 PyObject * _argo0 = 0;
9777 char *_kwnames[] = { "self","id", NULL };
9778
9779 self = self;
9780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_IsEnabled",_kwnames,&_argo0,&_arg1))
9781 return NULL;
9782 if (_argo0) {
9783 if (_argo0 == Py_None) { _arg0 = NULL; }
9784 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9785 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_IsEnabled. Expected _wxMenuBar_p.");
9786 return NULL;
9787 }
9788 }
9789 {
9790 PyThreadState* __tstate = wxPyBeginAllowThreads();
9791 _result = (bool )wxMenuBar_IsEnabled(_arg0,_arg1);
9792
9793 wxPyEndAllowThreads(__tstate);
9794 if (PyErr_Occurred()) return NULL;
9795 } _resultobj = Py_BuildValue("i",_result);
9796 return _resultobj;
9797 }
9798
9799 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
9800 static PyObject *_wrap_wxMenuBar_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
9801 PyObject * _resultobj;
9802 wxMenuBar * _arg0;
9803 int _arg1;
9804 wxString * _arg2;
9805 PyObject * _argo0 = 0;
9806 PyObject * _obj2 = 0;
9807 char *_kwnames[] = { "self","id","label", NULL };
9808
9809 self = self;
9810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenuBar_SetLabel",_kwnames,&_argo0,&_arg1,&_obj2))
9811 return NULL;
9812 if (_argo0) {
9813 if (_argo0 == Py_None) { _arg0 = NULL; }
9814 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9815 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
9816 return NULL;
9817 }
9818 }
9819 {
9820 _arg2 = wxString_in_helper(_obj2);
9821 if (_arg2 == NULL)
9822 return NULL;
9823 }
9824 {
9825 PyThreadState* __tstate = wxPyBeginAllowThreads();
9826 wxMenuBar_SetLabel(_arg0,_arg1,*_arg2);
9827
9828 wxPyEndAllowThreads(__tstate);
9829 if (PyErr_Occurred()) return NULL;
9830 } Py_INCREF(Py_None);
9831 _resultobj = Py_None;
9832 {
9833 if (_obj2)
9834 delete _arg2;
9835 }
9836 return _resultobj;
9837 }
9838
9839 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
9840 static PyObject *_wrap_wxMenuBar_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
9841 PyObject * _resultobj;
9842 wxString * _result;
9843 wxMenuBar * _arg0;
9844 int _arg1;
9845 PyObject * _argo0 = 0;
9846 char *_kwnames[] = { "self","id", NULL };
9847
9848 self = self;
9849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_GetLabel",_kwnames,&_argo0,&_arg1))
9850 return NULL;
9851 if (_argo0) {
9852 if (_argo0 == Py_None) { _arg0 = NULL; }
9853 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9854 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
9855 return NULL;
9856 }
9857 }
9858 {
9859 PyThreadState* __tstate = wxPyBeginAllowThreads();
9860 _result = new wxString (wxMenuBar_GetLabel(_arg0,_arg1));
9861
9862 wxPyEndAllowThreads(__tstate);
9863 if (PyErr_Occurred()) return NULL;
9864 }{
9865 #if wxUSE_UNICODE
9866 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
9867 #else
9868 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
9869 #endif
9870 }
9871 {
9872 delete _result;
9873 }
9874 return _resultobj;
9875 }
9876
9877 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
9878 static PyObject *_wrap_wxMenuBar_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
9879 PyObject * _resultobj;
9880 wxMenuBar * _arg0;
9881 int _arg1;
9882 wxString * _arg2;
9883 PyObject * _argo0 = 0;
9884 PyObject * _obj2 = 0;
9885 char *_kwnames[] = { "self","id","helpString", NULL };
9886
9887 self = self;
9888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenuBar_SetHelpString",_kwnames,&_argo0,&_arg1,&_obj2))
9889 return NULL;
9890 if (_argo0) {
9891 if (_argo0 == Py_None) { _arg0 = NULL; }
9892 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9893 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
9894 return NULL;
9895 }
9896 }
9897 {
9898 _arg2 = wxString_in_helper(_obj2);
9899 if (_arg2 == NULL)
9900 return NULL;
9901 }
9902 {
9903 PyThreadState* __tstate = wxPyBeginAllowThreads();
9904 wxMenuBar_SetHelpString(_arg0,_arg1,*_arg2);
9905
9906 wxPyEndAllowThreads(__tstate);
9907 if (PyErr_Occurred()) return NULL;
9908 } Py_INCREF(Py_None);
9909 _resultobj = Py_None;
9910 {
9911 if (_obj2)
9912 delete _arg2;
9913 }
9914 return _resultobj;
9915 }
9916
9917 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
9918 static PyObject *_wrap_wxMenuBar_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
9919 PyObject * _resultobj;
9920 wxString * _result;
9921 wxMenuBar * _arg0;
9922 int _arg1;
9923 PyObject * _argo0 = 0;
9924 char *_kwnames[] = { "self","id", NULL };
9925
9926 self = self;
9927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_GetHelpString",_kwnames,&_argo0,&_arg1))
9928 return NULL;
9929 if (_argo0) {
9930 if (_argo0 == Py_None) { _arg0 = NULL; }
9931 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9932 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
9933 return NULL;
9934 }
9935 }
9936 {
9937 PyThreadState* __tstate = wxPyBeginAllowThreads();
9938 _result = new wxString (wxMenuBar_GetHelpString(_arg0,_arg1));
9939
9940 wxPyEndAllowThreads(__tstate);
9941 if (PyErr_Occurred()) return NULL;
9942 }{
9943 #if wxUSE_UNICODE
9944 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
9945 #else
9946 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
9947 #endif
9948 }
9949 {
9950 delete _result;
9951 }
9952 return _resultobj;
9953 }
9954
9955 static void *SwigwxMenuItemTowxObject(void *ptr) {
9956 wxMenuItem *src;
9957 wxObject *dest;
9958 src = (wxMenuItem *) ptr;
9959 dest = (wxObject *) src;
9960 return (void *) dest;
9961 }
9962
9963 #define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
9964 static PyObject *_wrap_new_wxMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9965 PyObject * _resultobj;
9966 wxMenuItem * _result;
9967 wxMenu * _arg0 = (wxMenu *) NULL;
9968 int _arg1 = (int ) wxID_SEPARATOR;
9969 wxString * _arg2 = (wxString *) &wxPyEmptyString;
9970 wxString * _arg3 = (wxString *) &wxPyEmptyString;
9971 wxItemKind _arg4 = (wxItemKind ) wxITEM_NORMAL;
9972 wxMenu * _arg5 = (wxMenu *) NULL;
9973 PyObject * _argo0 = 0;
9974 PyObject * _obj2 = 0;
9975 PyObject * _obj3 = 0;
9976 PyObject * _argo5 = 0;
9977 char *_kwnames[] = { "parentMenu","id","text","help","kind","subMenu", NULL };
9978 char _ptemp[128];
9979
9980 self = self;
9981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OiOOiO:new_wxMenuItem",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5))
9982 return NULL;
9983 if (_argo0) {
9984 if (_argo0 == Py_None) { _arg0 = NULL; }
9985 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9986 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
9987 return NULL;
9988 }
9989 }
9990 if (_obj2)
9991 {
9992 _arg2 = wxString_in_helper(_obj2);
9993 if (_arg2 == NULL)
9994 return NULL;
9995 }
9996 if (_obj3)
9997 {
9998 _arg3 = wxString_in_helper(_obj3);
9999 if (_arg3 == NULL)
10000 return NULL;
10001 }
10002 if (_argo5) {
10003 if (_argo5 == Py_None) { _arg5 = NULL; }
10004 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxMenu_p")) {
10005 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
10006 return NULL;
10007 }
10008 }
10009 {
10010 PyThreadState* __tstate = wxPyBeginAllowThreads();
10011 _result = (wxMenuItem *)new_wxMenuItem(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
10012
10013 wxPyEndAllowThreads(__tstate);
10014 if (PyErr_Occurred()) return NULL;
10015 } if (_result) {
10016 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuItem_p");
10017 _resultobj = Py_BuildValue("s",_ptemp);
10018 } else {
10019 Py_INCREF(Py_None);
10020 _resultobj = Py_None;
10021 }
10022 {
10023 if (_obj2)
10024 delete _arg2;
10025 }
10026 {
10027 if (_obj3)
10028 delete _arg3;
10029 }
10030 return _resultobj;
10031 }
10032
10033 #define wxMenuItem_GetMenu(_swigobj) (_swigobj->GetMenu())
10034 static PyObject *_wrap_wxMenuItem_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
10035 PyObject * _resultobj;
10036 wxMenu * _result;
10037 wxMenuItem * _arg0;
10038 PyObject * _argo0 = 0;
10039 char *_kwnames[] = { "self", NULL };
10040
10041 self = self;
10042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetMenu",_kwnames,&_argo0))
10043 return NULL;
10044 if (_argo0) {
10045 if (_argo0 == Py_None) { _arg0 = NULL; }
10046 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
10047 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetMenu. Expected _wxMenuItem_p.");
10048 return NULL;
10049 }
10050 }
10051 {
10052 PyThreadState* __tstate = wxPyBeginAllowThreads();
10053 _result = (wxMenu *)wxMenuItem_GetMenu(_arg0);
10054
10055 wxPyEndAllowThreads(__tstate);
10056 if (PyErr_Occurred()) return NULL;
10057 }{ _resultobj = wxPyMake_wxObject(_result); }
10058 return _resultobj;
10059 }
10060
10061 #define wxMenuItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
10062 static PyObject *_wrap_wxMenuItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
10063 PyObject * _resultobj;
10064 wxMenuItem * _arg0;
10065 int _arg1;
10066 PyObject * _argo0 = 0;
10067 char *_kwnames[] = { "self","id", NULL };
10068
10069 self = self;
10070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuItem_SetId",_kwnames,&_argo0,&_arg1))
10071 return NULL;
10072 if (_argo0) {
10073 if (_argo0 == Py_None) { _arg0 = NULL; }
10074 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
10075 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetId. Expected _wxMenuItem_p.");
10076 return NULL;
10077 }
10078 }
10079 {
10080 PyThreadState* __tstate = wxPyBeginAllowThreads();
10081 wxMenuItem_SetId(_arg0,_arg1);
10082
10083 wxPyEndAllowThreads(__tstate);
10084 if (PyErr_Occurred()) return NULL;
10085 } Py_INCREF(Py_None);
10086 _resultobj = Py_None;
10087 return _resultobj;
10088 }
10089
10090 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
10091 static PyObject *_wrap_wxMenuItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
10092 PyObject * _resultobj;
10093 int _result;
10094 wxMenuItem * _arg0;
10095 PyObject * _argo0 = 0;
10096 char *_kwnames[] = { "self", NULL };
10097
10098 self = self;
10099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetId",_kwnames,&_argo0))
10100 return NULL;
10101 if (_argo0) {
10102 if (_argo0 == Py_None) { _arg0 = NULL; }
10103 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
10104 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
10105 return NULL;
10106 }
10107 }
10108 {
10109 PyThreadState* __tstate = wxPyBeginAllowThreads();
10110 _result = (int )wxMenuItem_GetId(_arg0);
10111
10112 wxPyEndAllowThreads(__tstate);
10113 if (PyErr_Occurred()) return NULL;
10114 } _resultobj = Py_BuildValue("i",_result);
10115 return _resultobj;
10116 }
10117
10118 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
10119 static PyObject *_wrap_wxMenuItem_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
10120 PyObject * _resultobj;
10121 bool _result;
10122 wxMenuItem * _arg0;
10123 PyObject * _argo0 = 0;
10124 char *_kwnames[] = { "self", NULL };
10125
10126 self = self;
10127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsSeparator",_kwnames,&_argo0))
10128 return NULL;
10129 if (_argo0) {
10130 if (_argo0 == Py_None) { _arg0 = NULL; }
10131 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
10132 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
10133 return NULL;
10134 }
10135 }
10136 {
10137 PyThreadState* __tstate = wxPyBeginAllowThreads();
10138 _result = (bool )wxMenuItem_IsSeparator(_arg0);
10139
10140 wxPyEndAllowThreads(__tstate);
10141 if (PyErr_Occurred()) return NULL;
10142 } _resultobj = Py_BuildValue("i",_result);
10143 return _resultobj;
10144 }
10145
10146 #define wxMenuItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
10147 static PyObject *_wrap_wxMenuItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
10148 PyObject * _resultobj;
10149 wxMenuItem * _arg0;
10150 wxString * _arg1;
10151 PyObject * _argo0 = 0;
10152 PyObject * _obj1 = 0;
10153 char *_kwnames[] = { "self","str", NULL };
10154
10155 self = self;
10156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetText",_kwnames,&_argo0,&_obj1))
10157 return NULL;
10158 if (_argo0) {
10159 if (_argo0 == Py_None) { _arg0 = NULL; }
10160 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
10161 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetText. Expected _wxMenuItem_p.");
10162 return NULL;
10163 }
10164 }
10165 {
10166 _arg1 = wxString_in_helper(_obj1);
10167 if (_arg1 == NULL)
10168 return NULL;
10169 }
10170 {
10171 PyThreadState* __tstate = wxPyBeginAllowThreads();
10172 wxMenuItem_SetText(_arg0,*_arg1);
10173
10174 wxPyEndAllowThreads(__tstate);
10175 if (PyErr_Occurred()) return NULL;
10176 } Py_INCREF(Py_None);
10177 _resultobj = Py_None;
10178 {
10179 if (_obj1)
10180 delete _arg1;
10181 }
10182 return _resultobj;
10183 }
10184
10185 #define wxMenuItem_GetLabel(_swigobj) (_swigobj->GetLabel())
10186 static PyObject *_wrap_wxMenuItem_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
10187 PyObject * _resultobj;
10188 wxString * _result;
10189 wxMenuItem * _arg0;
10190 PyObject * _argo0 = 0;
10191 char *_kwnames[] = { "self", NULL };
10192
10193 self = self;
10194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetLabel",_kwnames,&_argo0))
10195 return NULL;
10196 if (_argo0) {
10197 if (_argo0 == Py_None) { _arg0 = NULL; }
10198 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
10199 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetLabel. Expected _wxMenuItem_p.");
10200 return NULL;
10201 }
10202 }
10203 {
10204 PyThreadState* __tstate = wxPyBeginAllowThreads();
10205 _result = new wxString (wxMenuItem_GetLabel(_arg0));
10206
10207 wxPyEndAllowThreads(__tstate);
10208 if (PyErr_Occurred()) return NULL;
10209 }{
10210 #if wxUSE_UNICODE
10211 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
10212 #else
10213 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
10214 #endif
10215 }
10216 {
10217 delete _result;
10218 }
10219 return _resultobj;
10220 }
10221
10222 #define wxMenuItem_GetText(_swigobj) (_swigobj->GetText())
10223 static PyObject *_wrap_wxMenuItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
10224 PyObject * _resultobj;
10225 wxString * _result;
10226 wxMenuItem * _arg0;
10227 PyObject * _argo0 = 0;
10228 char *_kwnames[] = { "self", NULL };
10229
10230 self = self;
10231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetText",_kwnames,&_argo0))
10232 return NULL;
10233 if (_argo0) {
10234 if (_argo0 == Py_None) { _arg0 = NULL; }
10235 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
10236 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetText. Expected _wxMenuItem_p.");
10237 return NULL;
10238 }
10239 }
10240 {
10241 PyThreadState* __tstate = wxPyBeginAllowThreads();
10242 const wxString & _result_ref = wxMenuItem_GetText(_arg0);
10243 _result = (wxString *) &_result_ref;
10244
10245 wxPyEndAllowThreads(__tstate);
10246 if (PyErr_Occurred()) return NULL;
10247 }{
10248 #if wxUSE_UNICODE
10249 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
10250 #else
10251 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
10252 #endif
10253 }
10254 return _resultobj;
10255 }
10256
10257 #define wxMenuItem_GetKind(_swigobj) (_swigobj->GetKind())
10258 static PyObject *_wrap_wxMenuItem_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
10259 PyObject * _resultobj;
10260 wxItemKind _result;
10261 wxMenuItem * _arg0;
10262 PyObject * _argo0 = 0;
10263 char *_kwnames[] = { "self", NULL };
10264
10265 self = self;
10266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetKind",_kwnames,&_argo0))
10267 return NULL;
10268 if (_argo0) {
10269 if (_argo0 == Py_None) { _arg0 = NULL; }
10270 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
10271 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetKind. Expected _wxMenuItem_p.");
10272 return NULL;
10273 }
10274 }
10275 {
10276 PyThreadState* __tstate = wxPyBeginAllowThreads();
10277 _result = (wxItemKind )wxMenuItem_GetKind(_arg0);
10278
10279 wxPyEndAllowThreads(__tstate);
10280 if (PyErr_Occurred()) return NULL;
10281 } _resultobj = Py_BuildValue("i",_result);
10282 return _resultobj;
10283 }
10284
10285 #define wxMenuItem_SetCheckable(_swigobj,_swigarg0) (_swigobj->SetCheckable(_swigarg0))
10286 static PyObject *_wrap_wxMenuItem_SetCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
10287 PyObject * _resultobj;
10288 wxMenuItem * _arg0;
10289 bool _arg1;
10290 PyObject * _argo0 = 0;
10291 int tempbool1;
10292 char *_kwnames[] = { "self","checkable", NULL };
10293
10294 self = self;
10295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuItem_SetCheckable",_kwnames,&_argo0,&tempbool1))
10296 return NULL;
10297 if (_argo0) {
10298 if (_argo0 == Py_None) { _arg0 = NULL; }
10299 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
10300 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetCheckable. Expected _wxMenuItem_p.");
10301 return NULL;
10302 }
10303 }
10304 _arg1 = (bool ) tempbool1;
10305 {
10306 PyThreadState* __tstate = wxPyBeginAllowThreads();
10307 wxMenuItem_SetCheckable(_arg0,_arg1);
10308
10309 wxPyEndAllowThreads(__tstate);
10310 if (PyErr_Occurred()) return NULL;
10311 } Py_INCREF(Py_None);
10312 _resultobj = Py_None;
10313 return _resultobj;
10314 }
10315
10316 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
10317 static PyObject *_wrap_wxMenuItem_IsCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
10318 PyObject * _resultobj;
10319 bool _result;
10320 wxMenuItem * _arg0;
10321 PyObject * _argo0 = 0;
10322 char *_kwnames[] = { "self", NULL };
10323
10324 self = self;
10325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsCheckable",_kwnames,&_argo0))
10326 return NULL;
10327 if (_argo0) {
10328 if (_argo0 == Py_None) { _arg0 = NULL; }
10329 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
10330 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
10331 return NULL;
10332 }
10333 }
10334 {
10335 PyThreadState* __tstate = wxPyBeginAllowThreads();
10336 _result = (bool )wxMenuItem_IsCheckable(_arg0);
10337
10338 wxPyEndAllowThreads(__tstate);
10339 if (PyErr_Occurred()) return NULL;
10340 } _resultobj = Py_BuildValue("i",_result);
10341 return _resultobj;
10342 }
10343
10344 #define wxMenuItem_IsSubMenu(_swigobj) (_swigobj->IsSubMenu())
10345 static PyObject *_wrap_wxMenuItem_IsSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
10346 PyObject * _resultobj;
10347 bool _result;
10348 wxMenuItem * _arg0;
10349 PyObject * _argo0 = 0;
10350 char *_kwnames[] = { "self", NULL };
10351
10352 self = self;
10353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsSubMenu",_kwnames,&_argo0))
10354 return NULL;
10355 if (_argo0) {
10356 if (_argo0 == Py_None) { _arg0 = NULL; }
10357 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
10358 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsSubMenu. Expected _wxMenuItem_p.");
10359 return NULL;
10360 }
10361 }
10362 {
10363 PyThreadState* __tstate = wxPyBeginAllowThreads();
10364 _result = (bool )wxMenuItem_IsSubMenu(_arg0);
10365
10366 wxPyEndAllowThreads(__tstate);
10367 if (PyErr_Occurred()) return NULL;
10368 } _resultobj = Py_BuildValue("i",_result);
10369 return _resultobj;
10370 }
10371
10372 #define wxMenuItem_SetSubMenu(_swigobj,_swigarg0) (_swigobj->SetSubMenu(_swigarg0))
10373 static PyObject *_wrap_wxMenuItem_SetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
10374 PyObject * _resultobj;
10375 wxMenuItem * _arg0;
10376 wxMenu * _arg1;
10377 PyObject * _argo0 = 0;
10378 PyObject * _argo1 = 0;
10379 char *_kwnames[] = { "self","menu", NULL };
10380
10381 self = self;
10382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetSubMenu",_kwnames,&_argo0,&_argo1))
10383 return NULL;
10384 if (_argo0) {
10385 if (_argo0 == Py_None) { _arg0 = NULL; }
10386 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
10387 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetSubMenu. Expected _wxMenuItem_p.");
10388 return NULL;
10389 }
10390 }
10391 if (_argo1) {
10392 if (_argo1 == Py_None) { _arg1 = NULL; }
10393 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
10394 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenuItem_SetSubMenu. Expected _wxMenu_p.");
10395 return NULL;
10396 }
10397 }
10398 {
10399 PyThreadState* __tstate = wxPyBeginAllowThreads();
10400 wxMenuItem_SetSubMenu(_arg0,_arg1);
10401
10402 wxPyEndAllowThreads(__tstate);
10403 if (PyErr_Occurred()) return NULL;
10404 } Py_INCREF(Py_None);
10405 _resultobj = Py_None;
10406 return _resultobj;
10407 }
10408
10409 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
10410 static PyObject *_wrap_wxMenuItem_GetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
10411 PyObject * _resultobj;
10412 wxMenu * _result;
10413 wxMenuItem * _arg0;
10414 PyObject * _argo0 = 0;
10415 char *_kwnames[] = { "self", NULL };
10416
10417 self = self;
10418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetSubMenu",_kwnames,&_argo0))
10419 return NULL;
10420 if (_argo0) {
10421 if (_argo0 == Py_None) { _arg0 = NULL; }
10422 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
10423 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
10424 return NULL;
10425 }
10426 }
10427 {
10428 PyThreadState* __tstate = wxPyBeginAllowThreads();
10429 _result = (wxMenu *)wxMenuItem_GetSubMenu(_arg0);
10430
10431 wxPyEndAllowThreads(__tstate);
10432 if (PyErr_Occurred()) return NULL;
10433 }{ _resultobj = wxPyMake_wxObject(_result); }
10434 return _resultobj;
10435 }
10436
10437 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
10438 static PyObject *_wrap_wxMenuItem_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
10439 PyObject * _resultobj;
10440 wxMenuItem * _arg0;
10441 bool _arg1 = (bool ) TRUE;
10442 PyObject * _argo0 = 0;
10443 int tempbool1 = (int) TRUE;
10444 char *_kwnames[] = { "self","enable", NULL };
10445
10446 self = self;
10447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxMenuItem_Enable",_kwnames,&_argo0,&tempbool1))
10448 return NULL;
10449 if (_argo0) {
10450 if (_argo0 == Py_None) { _arg0 = NULL; }
10451 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
10452 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
10453 return NULL;
10454 }
10455 }
10456 _arg1 = (bool ) tempbool1;
10457 {
10458 PyThreadState* __tstate = wxPyBeginAllowThreads();
10459 wxMenuItem_Enable(_arg0,_arg1);
10460
10461 wxPyEndAllowThreads(__tstate);
10462 if (PyErr_Occurred()) return NULL;
10463 } Py_INCREF(Py_None);
10464 _resultobj = Py_None;
10465 return _resultobj;
10466 }
10467
10468 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
10469 static PyObject *_wrap_wxMenuItem_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
10470 PyObject * _resultobj;
10471 bool _result;
10472 wxMenuItem * _arg0;
10473 PyObject * _argo0 = 0;
10474 char *_kwnames[] = { "self", NULL };
10475
10476 self = self;
10477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsEnabled",_kwnames,&_argo0))
10478 return NULL;
10479 if (_argo0) {
10480 if (_argo0 == Py_None) { _arg0 = NULL; }
10481 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
10482 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
10483 return NULL;
10484 }
10485 }
10486 {
10487 PyThreadState* __tstate = wxPyBeginAllowThreads();
10488 _result = (bool )wxMenuItem_IsEnabled(_arg0);
10489
10490 wxPyEndAllowThreads(__tstate);
10491 if (PyErr_Occurred()) return NULL;
10492 } _resultobj = Py_BuildValue("i",_result);
10493 return _resultobj;
10494 }
10495
10496 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
10497 static PyObject *_wrap_wxMenuItem_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
10498 PyObject * _resultobj;
10499 wxMenuItem * _arg0;
10500 bool _arg1 = (bool ) TRUE;
10501 PyObject * _argo0 = 0;
10502 int tempbool1 = (int) TRUE;
10503 char *_kwnames[] = { "self","check", NULL };
10504
10505 self = self;
10506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxMenuItem_Check",_kwnames,&_argo0,&tempbool1))
10507 return NULL;
10508 if (_argo0) {
10509 if (_argo0 == Py_None) { _arg0 = NULL; }
10510 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
10511 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
10512 return NULL;
10513 }
10514 }
10515 _arg1 = (bool ) tempbool1;
10516 {
10517 PyThreadState* __tstate = wxPyBeginAllowThreads();
10518 wxMenuItem_Check(_arg0,_arg1);
10519
10520 wxPyEndAllowThreads(__tstate);
10521 if (PyErr_Occurred()) return NULL;
10522 } Py_INCREF(Py_None);
10523 _resultobj = Py_None;
10524 return _resultobj;
10525 }
10526
10527 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
10528 static PyObject *_wrap_wxMenuItem_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
10529 PyObject * _resultobj;
10530 bool _result;
10531 wxMenuItem * _arg0;
10532 PyObject * _argo0 = 0;
10533 char *_kwnames[] = { "self", NULL };
10534
10535 self = self;
10536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsChecked",_kwnames,&_argo0))
10537 return NULL;
10538 if (_argo0) {
10539 if (_argo0 == Py_None) { _arg0 = NULL; }
10540 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
10541 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
10542 return NULL;
10543 }
10544 }
10545 {
10546 PyThreadState* __tstate = wxPyBeginAllowThreads();
10547 _result = (bool )wxMenuItem_IsChecked(_arg0);
10548
10549 wxPyEndAllowThreads(__tstate);
10550 if (PyErr_Occurred()) return NULL;
10551 } _resultobj = Py_BuildValue("i",_result);
10552 return _resultobj;
10553 }
10554
10555 #define wxMenuItem_Toggle(_swigobj) (_swigobj->Toggle())
10556 static PyObject *_wrap_wxMenuItem_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
10557 PyObject * _resultobj;
10558 wxMenuItem * _arg0;
10559 PyObject * _argo0 = 0;
10560 char *_kwnames[] = { "self", NULL };
10561
10562 self = self;
10563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_Toggle",_kwnames,&_argo0))
10564 return NULL;
10565 if (_argo0) {
10566 if (_argo0 == Py_None) { _arg0 = NULL; }
10567 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
10568 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_Toggle. Expected _wxMenuItem_p.");
10569 return NULL;
10570 }
10571 }
10572 {
10573 PyThreadState* __tstate = wxPyBeginAllowThreads();
10574 wxMenuItem_Toggle(_arg0);
10575
10576 wxPyEndAllowThreads(__tstate);
10577 if (PyErr_Occurred()) return NULL;
10578 } Py_INCREF(Py_None);
10579 _resultobj = Py_None;
10580 return _resultobj;
10581 }
10582
10583 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
10584 static PyObject *_wrap_wxMenuItem_SetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
10585 PyObject * _resultobj;
10586 wxMenuItem * _arg0;
10587 wxString * _arg1;
10588 PyObject * _argo0 = 0;
10589 PyObject * _obj1 = 0;
10590 char *_kwnames[] = { "self","str", NULL };
10591
10592 self = self;
10593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetHelp",_kwnames,&_argo0,&_obj1))
10594 return NULL;
10595 if (_argo0) {
10596 if (_argo0 == Py_None) { _arg0 = NULL; }
10597 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
10598 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
10599 return NULL;
10600 }
10601 }
10602 {
10603 _arg1 = wxString_in_helper(_obj1);
10604 if (_arg1 == NULL)
10605 return NULL;
10606 }
10607 {
10608 PyThreadState* __tstate = wxPyBeginAllowThreads();
10609 wxMenuItem_SetHelp(_arg0,*_arg1);
10610
10611 wxPyEndAllowThreads(__tstate);
10612 if (PyErr_Occurred()) return NULL;
10613 } Py_INCREF(Py_None);
10614 _resultobj = Py_None;
10615 {
10616 if (_obj1)
10617 delete _arg1;
10618 }
10619 return _resultobj;
10620 }
10621
10622 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
10623 static PyObject *_wrap_wxMenuItem_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
10624 PyObject * _resultobj;
10625 wxString * _result;
10626 wxMenuItem * _arg0;
10627 PyObject * _argo0 = 0;
10628 char *_kwnames[] = { "self", NULL };
10629
10630 self = self;
10631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetHelp",_kwnames,&_argo0))
10632 return NULL;
10633 if (_argo0) {
10634 if (_argo0 == Py_None) { _arg0 = NULL; }
10635 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
10636 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
10637 return NULL;
10638 }
10639 }
10640 {
10641 PyThreadState* __tstate = wxPyBeginAllowThreads();
10642 const wxString & _result_ref = wxMenuItem_GetHelp(_arg0);
10643 _result = (wxString *) &_result_ref;
10644
10645 wxPyEndAllowThreads(__tstate);
10646 if (PyErr_Occurred()) return NULL;
10647 }{
10648 #if wxUSE_UNICODE
10649 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
10650 #else
10651 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
10652 #endif
10653 }
10654 return _resultobj;
10655 }
10656
10657 #define wxMenuItem_GetAccel(_swigobj) (_swigobj->GetAccel())
10658 static PyObject *_wrap_wxMenuItem_GetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
10659 PyObject * _resultobj;
10660 wxAcceleratorEntry * _result;
10661 wxMenuItem * _arg0;
10662 PyObject * _argo0 = 0;
10663 char *_kwnames[] = { "self", NULL };
10664 char _ptemp[128];
10665
10666 self = self;
10667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetAccel",_kwnames,&_argo0))
10668 return NULL;
10669 if (_argo0) {
10670 if (_argo0 == Py_None) { _arg0 = NULL; }
10671 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
10672 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetAccel. Expected _wxMenuItem_p.");
10673 return NULL;
10674 }
10675 }
10676 {
10677 PyThreadState* __tstate = wxPyBeginAllowThreads();
10678 _result = (wxAcceleratorEntry *)wxMenuItem_GetAccel(_arg0);
10679
10680 wxPyEndAllowThreads(__tstate);
10681 if (PyErr_Occurred()) return NULL;
10682 } if (_result) {
10683 SWIG_MakePtr(_ptemp, (char *) _result,"_wxAcceleratorEntry_p");
10684 _resultobj = Py_BuildValue("s",_ptemp);
10685 } else {
10686 Py_INCREF(Py_None);
10687 _resultobj = Py_None;
10688 }
10689 return _resultobj;
10690 }
10691
10692 #define wxMenuItem_SetAccel(_swigobj,_swigarg0) (_swigobj->SetAccel(_swigarg0))
10693 static PyObject *_wrap_wxMenuItem_SetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
10694 PyObject * _resultobj;
10695 wxMenuItem * _arg0;
10696 wxAcceleratorEntry * _arg1;
10697 PyObject * _argo0 = 0;
10698 PyObject * _argo1 = 0;
10699 char *_kwnames[] = { "self","accel", NULL };
10700
10701 self = self;
10702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetAccel",_kwnames,&_argo0,&_argo1))
10703 return NULL;
10704 if (_argo0) {
10705 if (_argo0 == Py_None) { _arg0 = NULL; }
10706 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
10707 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetAccel. Expected _wxMenuItem_p.");
10708 return NULL;
10709 }
10710 }
10711 if (_argo1) {
10712 if (_argo1 == Py_None) { _arg1 = NULL; }
10713 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxAcceleratorEntry_p")) {
10714 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenuItem_SetAccel. Expected _wxAcceleratorEntry_p.");
10715 return NULL;
10716 }
10717 }
10718 {
10719 PyThreadState* __tstate = wxPyBeginAllowThreads();
10720 wxMenuItem_SetAccel(_arg0,_arg1);
10721
10722 wxPyEndAllowThreads(__tstate);
10723 if (PyErr_Occurred()) return NULL;
10724 } Py_INCREF(Py_None);
10725 _resultobj = Py_None;
10726 return _resultobj;
10727 }
10728
10729 static PyObject *_wrap_wxMenuItem_GetLabelFromText(PyObject *self, PyObject *args, PyObject *kwargs) {
10730 PyObject * _resultobj;
10731 wxString * _result;
10732 wxString * _arg0;
10733 PyObject * _obj0 = 0;
10734 char *_kwnames[] = { "text", NULL };
10735
10736 self = self;
10737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetLabelFromText",_kwnames,&_obj0))
10738 return NULL;
10739 {
10740 _arg0 = wxString_in_helper(_obj0);
10741 if (_arg0 == NULL)
10742 return NULL;
10743 }
10744 {
10745 PyThreadState* __tstate = wxPyBeginAllowThreads();
10746 _result = new wxString (wxMenuItem::GetLabelFromText(*_arg0));
10747
10748 wxPyEndAllowThreads(__tstate);
10749 if (PyErr_Occurred()) return NULL;
10750 }{
10751 #if wxUSE_UNICODE
10752 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
10753 #else
10754 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
10755 #endif
10756 }
10757 {
10758 if (_obj0)
10759 delete _arg0;
10760 }
10761 {
10762 delete _result;
10763 }
10764 return _resultobj;
10765 }
10766
10767 static PyMethodDef windowscMethods[] = {
10768 { "wxMenuItem_GetLabelFromText", (PyCFunction) _wrap_wxMenuItem_GetLabelFromText, METH_VARARGS | METH_KEYWORDS },
10769 { "wxMenuItem_SetAccel", (PyCFunction) _wrap_wxMenuItem_SetAccel, METH_VARARGS | METH_KEYWORDS },
10770 { "wxMenuItem_GetAccel", (PyCFunction) _wrap_wxMenuItem_GetAccel, METH_VARARGS | METH_KEYWORDS },
10771 { "wxMenuItem_GetHelp", (PyCFunction) _wrap_wxMenuItem_GetHelp, METH_VARARGS | METH_KEYWORDS },
10772 { "wxMenuItem_SetHelp", (PyCFunction) _wrap_wxMenuItem_SetHelp, METH_VARARGS | METH_KEYWORDS },
10773 { "wxMenuItem_Toggle", (PyCFunction) _wrap_wxMenuItem_Toggle, METH_VARARGS | METH_KEYWORDS },
10774 { "wxMenuItem_IsChecked", (PyCFunction) _wrap_wxMenuItem_IsChecked, METH_VARARGS | METH_KEYWORDS },
10775 { "wxMenuItem_Check", (PyCFunction) _wrap_wxMenuItem_Check, METH_VARARGS | METH_KEYWORDS },
10776 { "wxMenuItem_IsEnabled", (PyCFunction) _wrap_wxMenuItem_IsEnabled, METH_VARARGS | METH_KEYWORDS },
10777 { "wxMenuItem_Enable", (PyCFunction) _wrap_wxMenuItem_Enable, METH_VARARGS | METH_KEYWORDS },
10778 { "wxMenuItem_GetSubMenu", (PyCFunction) _wrap_wxMenuItem_GetSubMenu, METH_VARARGS | METH_KEYWORDS },
10779 { "wxMenuItem_SetSubMenu", (PyCFunction) _wrap_wxMenuItem_SetSubMenu, METH_VARARGS | METH_KEYWORDS },
10780 { "wxMenuItem_IsSubMenu", (PyCFunction) _wrap_wxMenuItem_IsSubMenu, METH_VARARGS | METH_KEYWORDS },
10781 { "wxMenuItem_IsCheckable", (PyCFunction) _wrap_wxMenuItem_IsCheckable, METH_VARARGS | METH_KEYWORDS },
10782 { "wxMenuItem_SetCheckable", (PyCFunction) _wrap_wxMenuItem_SetCheckable, METH_VARARGS | METH_KEYWORDS },
10783 { "wxMenuItem_GetKind", (PyCFunction) _wrap_wxMenuItem_GetKind, METH_VARARGS | METH_KEYWORDS },
10784 { "wxMenuItem_GetText", (PyCFunction) _wrap_wxMenuItem_GetText, METH_VARARGS | METH_KEYWORDS },
10785 { "wxMenuItem_GetLabel", (PyCFunction) _wrap_wxMenuItem_GetLabel, METH_VARARGS | METH_KEYWORDS },
10786 { "wxMenuItem_SetText", (PyCFunction) _wrap_wxMenuItem_SetText, METH_VARARGS | METH_KEYWORDS },
10787 { "wxMenuItem_IsSeparator", (PyCFunction) _wrap_wxMenuItem_IsSeparator, METH_VARARGS | METH_KEYWORDS },
10788 { "wxMenuItem_GetId", (PyCFunction) _wrap_wxMenuItem_GetId, METH_VARARGS | METH_KEYWORDS },
10789 { "wxMenuItem_SetId", (PyCFunction) _wrap_wxMenuItem_SetId, METH_VARARGS | METH_KEYWORDS },
10790 { "wxMenuItem_GetMenu", (PyCFunction) _wrap_wxMenuItem_GetMenu, METH_VARARGS | METH_KEYWORDS },
10791 { "new_wxMenuItem", (PyCFunction) _wrap_new_wxMenuItem, METH_VARARGS | METH_KEYWORDS },
10792 { "wxMenuBar_GetHelpString", (PyCFunction) _wrap_wxMenuBar_GetHelpString, METH_VARARGS | METH_KEYWORDS },
10793 { "wxMenuBar_SetHelpString", (PyCFunction) _wrap_wxMenuBar_SetHelpString, METH_VARARGS | METH_KEYWORDS },
10794 { "wxMenuBar_GetLabel", (PyCFunction) _wrap_wxMenuBar_GetLabel, METH_VARARGS | METH_KEYWORDS },
10795 { "wxMenuBar_SetLabel", (PyCFunction) _wrap_wxMenuBar_SetLabel, METH_VARARGS | METH_KEYWORDS },
10796 { "wxMenuBar_IsEnabled", (PyCFunction) _wrap_wxMenuBar_IsEnabled, METH_VARARGS | METH_KEYWORDS },
10797 { "wxMenuBar_IsChecked", (PyCFunction) _wrap_wxMenuBar_IsChecked, METH_VARARGS | METH_KEYWORDS },
10798 { "wxMenuBar_Check", (PyCFunction) _wrap_wxMenuBar_Check, METH_VARARGS | METH_KEYWORDS },
10799 { "wxMenuBar_Enable", (PyCFunction) _wrap_wxMenuBar_Enable, METH_VARARGS | METH_KEYWORDS },
10800 { "wxMenuBar_FindItemById", (PyCFunction) _wrap_wxMenuBar_FindItemById, METH_VARARGS | METH_KEYWORDS },
10801 { "wxMenuBar_FindMenuItem", (PyCFunction) _wrap_wxMenuBar_FindMenuItem, METH_VARARGS | METH_KEYWORDS },
10802 { "wxMenuBar_FindMenu", (PyCFunction) _wrap_wxMenuBar_FindMenu, METH_VARARGS | METH_KEYWORDS },
10803 { "wxMenuBar_GetLabelTop", (PyCFunction) _wrap_wxMenuBar_GetLabelTop, METH_VARARGS | METH_KEYWORDS },
10804 { "wxMenuBar_SetLabelTop", (PyCFunction) _wrap_wxMenuBar_SetLabelTop, METH_VARARGS | METH_KEYWORDS },
10805 { "wxMenuBar_EnableTop", (PyCFunction) _wrap_wxMenuBar_EnableTop, METH_VARARGS | METH_KEYWORDS },
10806 { "wxMenuBar_Remove", (PyCFunction) _wrap_wxMenuBar_Remove, METH_VARARGS | METH_KEYWORDS },
10807 { "wxMenuBar_Replace", (PyCFunction) _wrap_wxMenuBar_Replace, METH_VARARGS | METH_KEYWORDS },
10808 { "wxMenuBar_GetMenu", (PyCFunction) _wrap_wxMenuBar_GetMenu, METH_VARARGS | METH_KEYWORDS },
10809 { "wxMenuBar_GetMenuCount", (PyCFunction) _wrap_wxMenuBar_GetMenuCount, METH_VARARGS | METH_KEYWORDS },
10810 { "wxMenuBar_Insert", (PyCFunction) _wrap_wxMenuBar_Insert, METH_VARARGS | METH_KEYWORDS },
10811 { "wxMenuBar_Append", (PyCFunction) _wrap_wxMenuBar_Append, METH_VARARGS | METH_KEYWORDS },
10812 { "new_wxMenuBar", (PyCFunction) _wrap_new_wxMenuBar, METH_VARARGS | METH_KEYWORDS },
10813 { "wxMenu_GetParent", (PyCFunction) _wrap_wxMenu_GetParent, METH_VARARGS | METH_KEYWORDS },
10814 { "wxMenu_SetParent", (PyCFunction) _wrap_wxMenu_SetParent, METH_VARARGS | METH_KEYWORDS },
10815 { "wxMenu_IsAttached", (PyCFunction) _wrap_wxMenu_IsAttached, METH_VARARGS | METH_KEYWORDS },
10816 { "wxMenu_GetStyle", (PyCFunction) _wrap_wxMenu_GetStyle, METH_VARARGS | METH_KEYWORDS },
10817 { "wxMenu_GetInvokingWindow", (PyCFunction) _wrap_wxMenu_GetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
10818 { "wxMenu_SetInvokingWindow", (PyCFunction) _wrap_wxMenu_SetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
10819 { "wxMenu_GetEventHandler", (PyCFunction) _wrap_wxMenu_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
10820 { "wxMenu_SetEventHandler", (PyCFunction) _wrap_wxMenu_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
10821 { "wxMenu_GetMenuItems", (PyCFunction) _wrap_wxMenu_GetMenuItems, METH_VARARGS | METH_KEYWORDS },
10822 { "wxMenu_GetMenuItemCount", (PyCFunction) _wrap_wxMenu_GetMenuItemCount, METH_VARARGS | METH_KEYWORDS },
10823 { "wxMenu_DestroyItem", (PyCFunction) _wrap_wxMenu_DestroyItem, METH_VARARGS | METH_KEYWORDS },
10824 { "wxMenu_DestroyId", (PyCFunction) _wrap_wxMenu_DestroyId, METH_VARARGS | METH_KEYWORDS },
10825 { "wxMenu_Destroy", (PyCFunction) _wrap_wxMenu_Destroy, METH_VARARGS | METH_KEYWORDS },
10826 { "wxMenu_RemoveItem", (PyCFunction) _wrap_wxMenu_RemoveItem, METH_VARARGS | METH_KEYWORDS },
10827 { "wxMenu_Remove", (PyCFunction) _wrap_wxMenu_Remove, METH_VARARGS | METH_KEYWORDS },
10828 { "wxMenu_DeleteItem", (PyCFunction) _wrap_wxMenu_DeleteItem, METH_VARARGS | METH_KEYWORDS },
10829 { "wxMenu_Delete", (PyCFunction) _wrap_wxMenu_Delete, METH_VARARGS | METH_KEYWORDS },
10830 { "wxMenu_UpdateUI", (PyCFunction) _wrap_wxMenu_UpdateUI, METH_VARARGS | METH_KEYWORDS },
10831 { "wxMenu_SetHelpString", (PyCFunction) _wrap_wxMenu_SetHelpString, METH_VARARGS | METH_KEYWORDS },
10832 { "wxMenu_GetHelpString", (PyCFunction) _wrap_wxMenu_GetHelpString, METH_VARARGS | METH_KEYWORDS },
10833 { "wxMenu_SetLabel", (PyCFunction) _wrap_wxMenu_SetLabel, METH_VARARGS | METH_KEYWORDS },
10834 { "wxMenu_GetLabel", (PyCFunction) _wrap_wxMenu_GetLabel, METH_VARARGS | METH_KEYWORDS },
10835 { "wxMenu_SetTitle", (PyCFunction) _wrap_wxMenu_SetTitle, METH_VARARGS | METH_KEYWORDS },
10836 { "wxMenu_GetTitle", (PyCFunction) _wrap_wxMenu_GetTitle, METH_VARARGS | METH_KEYWORDS },
10837 { "wxMenu_FindItemById", (PyCFunction) _wrap_wxMenu_FindItemById, METH_VARARGS | METH_KEYWORDS },
10838 { "wxMenu_FindItem", (PyCFunction) _wrap_wxMenu_FindItem, METH_VARARGS | METH_KEYWORDS },
10839 { "wxMenu_IsEnabled", (PyCFunction) _wrap_wxMenu_IsEnabled, METH_VARARGS | METH_KEYWORDS },
10840 { "wxMenu_Enable", (PyCFunction) _wrap_wxMenu_Enable, METH_VARARGS | METH_KEYWORDS },
10841 { "wxMenu_IsChecked", (PyCFunction) _wrap_wxMenu_IsChecked, METH_VARARGS | METH_KEYWORDS },
10842 { "wxMenu_Check", (PyCFunction) _wrap_wxMenu_Check, METH_VARARGS | METH_KEYWORDS },
10843 { "wxMenu_Break", (PyCFunction) _wrap_wxMenu_Break, METH_VARARGS | METH_KEYWORDS },
10844 { "wxMenu_PrependItem", (PyCFunction) _wrap_wxMenu_PrependItem, METH_VARARGS | METH_KEYWORDS },
10845 { "wxMenu_PrependMenu", (PyCFunction) _wrap_wxMenu_PrependMenu, METH_VARARGS | METH_KEYWORDS },
10846 { "wxMenu_PrependRadioItem", (PyCFunction) _wrap_wxMenu_PrependRadioItem, METH_VARARGS | METH_KEYWORDS },
10847 { "wxMenu_PrependCheckItem", (PyCFunction) _wrap_wxMenu_PrependCheckItem, METH_VARARGS | METH_KEYWORDS },
10848 { "wxMenu_PrependSeparator", (PyCFunction) _wrap_wxMenu_PrependSeparator, METH_VARARGS | METH_KEYWORDS },
10849 { "wxMenu_Prepend", (PyCFunction) _wrap_wxMenu_Prepend, METH_VARARGS | METH_KEYWORDS },
10850 { "wxMenu_InsertItem", (PyCFunction) _wrap_wxMenu_InsertItem, METH_VARARGS | METH_KEYWORDS },
10851 { "wxMenu_InsertMenu", (PyCFunction) _wrap_wxMenu_InsertMenu, METH_VARARGS | METH_KEYWORDS },
10852 { "wxMenu_InsertRadioItem", (PyCFunction) _wrap_wxMenu_InsertRadioItem, METH_VARARGS | METH_KEYWORDS },
10853 { "wxMenu_InsertCheckItem", (PyCFunction) _wrap_wxMenu_InsertCheckItem, METH_VARARGS | METH_KEYWORDS },
10854 { "wxMenu_InsertSeparator", (PyCFunction) _wrap_wxMenu_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
10855 { "wxMenu_Insert", (PyCFunction) _wrap_wxMenu_Insert, METH_VARARGS | METH_KEYWORDS },
10856 { "wxMenu_AppendSeparator", (PyCFunction) _wrap_wxMenu_AppendSeparator, METH_VARARGS | METH_KEYWORDS },
10857 { "wxMenu_AppendRadioItem", (PyCFunction) _wrap_wxMenu_AppendRadioItem, METH_VARARGS | METH_KEYWORDS },
10858 { "wxMenu_AppendCheckItem", (PyCFunction) _wrap_wxMenu_AppendCheckItem, METH_VARARGS | METH_KEYWORDS },
10859 { "wxMenu_AppendItem", (PyCFunction) _wrap_wxMenu_AppendItem, METH_VARARGS | METH_KEYWORDS },
10860 { "wxMenu_AppendMenu", (PyCFunction) _wrap_wxMenu_AppendMenu, METH_VARARGS | METH_KEYWORDS },
10861 { "wxMenu_Append", (PyCFunction) _wrap_wxMenu_Append, METH_VARARGS | METH_KEYWORDS },
10862 { "new_wxMenu", (PyCFunction) _wrap_new_wxMenu, METH_VARARGS | METH_KEYWORDS },
10863 { "wxScrolledWindow_Layout", (PyCFunction) _wrap_wxScrolledWindow_Layout, METH_VARARGS | METH_KEYWORDS },
10864 { "wxScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_wxScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
10865 { "wxScrolledWindow_GetScaleY", (PyCFunction) _wrap_wxScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
10866 { "wxScrolledWindow_GetScaleX", (PyCFunction) _wrap_wxScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
10867 { "wxScrolledWindow_SetScale", (PyCFunction) _wrap_wxScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
10868 { "wxScrolledWindow_CalcUnscrolledPosition2", (PyCFunction) _wrap_wxScrolledWindow_CalcUnscrolledPosition2, METH_VARARGS | METH_KEYWORDS },
10869 { "wxScrolledWindow_CalcUnscrolledPosition1", (PyCFunction) _wrap_wxScrolledWindow_CalcUnscrolledPosition1, METH_VARARGS | METH_KEYWORDS },
10870 { "wxScrolledWindow_CalcScrolledPosition2", (PyCFunction) _wrap_wxScrolledWindow_CalcScrolledPosition2, METH_VARARGS | METH_KEYWORDS },
10871 { "wxScrolledWindow_CalcScrolledPosition1", (PyCFunction) _wrap_wxScrolledWindow_CalcScrolledPosition1, METH_VARARGS | METH_KEYWORDS },
10872 { "wxScrolledWindow_GetViewStart", (PyCFunction) _wrap_wxScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
10873 { "wxScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_wxScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
10874 { "wxScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_wxScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
10875 { "wxScrolledWindow_SetScrollbars", (PyCFunction) _wrap_wxScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
10876 { "wxScrolledWindow_Scroll", (PyCFunction) _wrap_wxScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
10877 { "wxScrolledWindow_PrepareDC", (PyCFunction) _wrap_wxScrolledWindow_PrepareDC, METH_VARARGS | METH_KEYWORDS },
10878 { "wxScrolledWindow_IsRetained", (PyCFunction) _wrap_wxScrolledWindow_IsRetained, METH_VARARGS | METH_KEYWORDS },
10879 { "wxScrolledWindow_GetVirtualSize", (PyCFunction) _wrap_wxScrolledWindow_GetVirtualSize, METH_VARARGS | METH_KEYWORDS },
10880 { "wxScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_wxScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
10881 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
10882 { "wxScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_wxScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
10883 { "wxScrolledWindow_EnableScrolling", (PyCFunction) _wrap_wxScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
10884 { "wxScrolledWindow_Create", (PyCFunction) _wrap_wxScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
10885 { "new_wxPreScrolledWindow", (PyCFunction) _wrap_new_wxPreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
10886 { "new_wxScrolledWindow", (PyCFunction) _wrap_new_wxScrolledWindow, METH_VARARGS | METH_KEYWORDS },
10887 { "wxPanel_InitDialog", (PyCFunction) _wrap_wxPanel_InitDialog, METH_VARARGS | METH_KEYWORDS },
10888 { "wxPanel_Create", (PyCFunction) _wrap_wxPanel_Create, METH_VARARGS | METH_KEYWORDS },
10889 { "new_wxPrePanel", (PyCFunction) _wrap_new_wxPrePanel, METH_VARARGS | METH_KEYWORDS },
10890 { "new_wxPanel", (PyCFunction) _wrap_new_wxPanel, METH_VARARGS | METH_KEYWORDS },
10891 { "wxWindow_SetDefaultItem", (PyCFunction) _wrap_wxWindow_SetDefaultItem, METH_VARARGS | METH_KEYWORDS },
10892 { "wxWindow_GetDefaultItem", (PyCFunction) _wrap_wxWindow_GetDefaultItem, METH_VARARGS | METH_KEYWORDS },
10893 { "wxWindow_GetAcceleratorTable", (PyCFunction) _wrap_wxWindow_GetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
10894 { "wxWindow_SetAcceleratorTable", (PyCFunction) _wrap_wxWindow_SetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
10895 { "wxWindow_PrevControlId", (PyCFunction) _wrap_wxWindow_PrevControlId, METH_VARARGS | METH_KEYWORDS },
10896 { "wxWindow_NextControlId", (PyCFunction) _wrap_wxWindow_NextControlId, METH_VARARGS | METH_KEYWORDS },
10897 { "wxWindow_NewControlId", (PyCFunction) _wrap_wxWindow_NewControlId, METH_VARARGS | METH_KEYWORDS },
10898 { "wxWindow_FindFocus", (PyCFunction) _wrap_wxWindow_FindFocus, METH_VARARGS | METH_KEYWORDS },
10899 { "wxWindow_PageDown", (PyCFunction) _wrap_wxWindow_PageDown, METH_VARARGS | METH_KEYWORDS },
10900 { "wxWindow_PageUp", (PyCFunction) _wrap_wxWindow_PageUp, METH_VARARGS | METH_KEYWORDS },
10901 { "wxWindow_LineDown", (PyCFunction) _wrap_wxWindow_LineDown, METH_VARARGS | METH_KEYWORDS },
10902 { "wxWindow_LineUp", (PyCFunction) _wrap_wxWindow_LineUp, METH_VARARGS | METH_KEYWORDS },
10903 { "wxWindow_ScrollPages", (PyCFunction) _wrap_wxWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
10904 { "wxWindow_ScrollLines", (PyCFunction) _wrap_wxWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
10905 { "wxWindow_SetHelpTextForId", (PyCFunction) _wrap_wxWindow_SetHelpTextForId, METH_VARARGS | METH_KEYWORDS },
10906 { "wxWindow_SetHelpText", (PyCFunction) _wrap_wxWindow_SetHelpText, METH_VARARGS | METH_KEYWORDS },
10907 { "wxWindow_GetHelpText", (PyCFunction) _wrap_wxWindow_GetHelpText, METH_VARARGS | METH_KEYWORDS },
10908 { "wxWindow_Update", (PyCFunction) _wrap_wxWindow_Update, METH_VARARGS | METH_KEYWORDS },
10909 { "wxWindow_Thaw", (PyCFunction) _wrap_wxWindow_Thaw, METH_VARARGS | METH_KEYWORDS },
10910 { "wxWindow_Freeze", (PyCFunction) _wrap_wxWindow_Freeze, METH_VARARGS | METH_KEYWORDS },
10911 { "wxWindow_GetCaret", (PyCFunction) _wrap_wxWindow_GetCaret, METH_VARARGS | METH_KEYWORDS },
10912 { "wxWindow_SetCaret", (PyCFunction) _wrap_wxWindow_SetCaret, METH_VARARGS | METH_KEYWORDS },
10913 { "wxWindow_GetMaxSize", (PyCFunction) _wrap_wxWindow_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
10914 { "wxWindow_GetBestSize", (PyCFunction) _wrap_wxWindow_GetBestSize, METH_VARARGS | METH_KEYWORDS },
10915 { "wxWindow_GetDropTarget", (PyCFunction) _wrap_wxWindow_GetDropTarget, METH_VARARGS | METH_KEYWORDS },
10916 { "wxWindow_SetDropTarget", (PyCFunction) _wrap_wxWindow_SetDropTarget, METH_VARARGS | METH_KEYWORDS },
10917 { "wxWindow_SetValidator", (PyCFunction) _wrap_wxWindow_SetValidator, METH_VARARGS | METH_KEYWORDS },
10918 { "wxWindow_GetValidator", (PyCFunction) _wrap_wxWindow_GetValidator, METH_VARARGS | METH_KEYWORDS },
10919 { "wxWindow_GetContainingSizer", (PyCFunction) _wrap_wxWindow_GetContainingSizer, METH_VARARGS | METH_KEYWORDS },
10920 { "wxWindow_SetContainingSizer", (PyCFunction) _wrap_wxWindow_SetContainingSizer, METH_VARARGS | METH_KEYWORDS },
10921 { "wxWindow_GetSizer", (PyCFunction) _wrap_wxWindow_GetSizer, METH_VARARGS | METH_KEYWORDS },
10922 { "wxWindow_SetSizer", (PyCFunction) _wrap_wxWindow_SetSizer, METH_VARARGS | METH_KEYWORDS },
10923 { "wxWindow_GetToolTip", (PyCFunction) _wrap_wxWindow_GetToolTip, METH_VARARGS | METH_KEYWORDS },
10924 { "wxWindow_SetToolTip", (PyCFunction) _wrap_wxWindow_SetToolTip, METH_VARARGS | METH_KEYWORDS },
10925 { "wxWindow_SetToolTipString", (PyCFunction) _wrap_wxWindow_SetToolTipString, METH_VARARGS | METH_KEYWORDS },
10926 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction) _wrap_wxWindow_ConvertPixelSizeToDialog, METH_VARARGS | METH_KEYWORDS },
10927 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction) _wrap_wxWindow_ConvertPixelPointToDialog, METH_VARARGS | METH_KEYWORDS },
10928 { "wxWindow_DLG_SZE", (PyCFunction) _wrap_wxWindow_ConvertDialogSizeToPixels, METH_VARARGS | METH_KEYWORDS },
10929 { "wxWindow_DLG_PNT", (PyCFunction) _wrap_wxWindow_ConvertDialogPointToPixels, METH_VARARGS | METH_KEYWORDS },
10930 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction) _wrap_wxWindow_ConvertDialogSizeToPixels, METH_VARARGS | METH_KEYWORDS },
10931 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction) _wrap_wxWindow_ConvertDialogPointToPixels, METH_VARARGS | METH_KEYWORDS },
10932 { "wxWindow_WarpPointer", (PyCFunction) _wrap_wxWindow_WarpPointer, METH_VARARGS | METH_KEYWORDS },
10933 { "wxWindow_Validate", (PyCFunction) _wrap_wxWindow_Validate, METH_VARARGS | METH_KEYWORDS },
10934 { "wxWindow_UpdateWindowUI", (PyCFunction) _wrap_wxWindow_UpdateWindowUI, METH_VARARGS | METH_KEYWORDS },
10935 { "wxWindow_TransferDataToWindow", (PyCFunction) _wrap_wxWindow_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
10936 { "wxWindow_TransferDataFromWindow", (PyCFunction) _wrap_wxWindow_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
10937 { "wxWindow_Show", (PyCFunction) _wrap_wxWindow_Show, METH_VARARGS | METH_KEYWORDS },
10938 { "wxWindow_SetTitle", (PyCFunction) _wrap_wxWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
10939 { "wxWindow_SetExtraStyle", (PyCFunction) _wrap_wxWindow_SetExtraStyle, METH_VARARGS | METH_KEYWORDS },
10940 { "wxWindow_SetEventHandler", (PyCFunction) _wrap_wxWindow_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
10941 { "wxWindow_SetCursor", (PyCFunction) _wrap_wxWindow_SetCursor, METH_VARARGS | METH_KEYWORDS },
10942 { "wxWindow_SetClientSize", (PyCFunction) _wrap_wxWindow_SetClientSize, METH_VARARGS | METH_KEYWORDS },
10943 { "wxWindow_SetClientSizeWH", (PyCFunction) _wrap_wxWindow_SetClientSizeWH, METH_VARARGS | METH_KEYWORDS },
10944 { "wxWindow_SetSizeHints", (PyCFunction) _wrap_wxWindow_SetSizeHints, METH_VARARGS | METH_KEYWORDS },
10945 { "wxWindow_SetRect", (PyCFunction) _wrap_wxWindow_SetRect, METH_VARARGS | METH_KEYWORDS },
10946 { "wxWindow_SetPosition", (PyCFunction) _wrap_wxWindow_SetPosition, METH_VARARGS | METH_KEYWORDS },
10947 { "wxWindow_SetSize", (PyCFunction) _wrap_wxWindow_SetSize, METH_VARARGS | METH_KEYWORDS },
10948 { "wxWindow_SetDimensions", (PyCFunction) _wrap_wxWindow_SetDimensions, METH_VARARGS | METH_KEYWORDS },
10949 { "wxWindow_SetScrollPos", (PyCFunction) _wrap_wxWindow_SetScrollPos, METH_VARARGS | METH_KEYWORDS },
10950 { "wxWindow_SetScrollbar", (PyCFunction) _wrap_wxWindow_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
10951 { "wxWindow_SetName", (PyCFunction) _wrap_wxWindow_SetName, METH_VARARGS | METH_KEYWORDS },
10952 { "wxWindow_SetId", (PyCFunction) _wrap_wxWindow_SetId, METH_VARARGS | METH_KEYWORDS },
10953 { "wxWindow_SetForegroundColour", (PyCFunction) _wrap_wxWindow_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
10954 { "wxWindow_SetFont", (PyCFunction) _wrap_wxWindow_SetFont, METH_VARARGS | METH_KEYWORDS },
10955 { "wxWindow_AcceptsFocus", (PyCFunction) _wrap_wxWindow_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
10956 { "wxWindow_SetFocus", (PyCFunction) _wrap_wxWindow_SetFocus, METH_VARARGS | METH_KEYWORDS },
10957 { "wxWindow_UnsetConstraints", (PyCFunction) _wrap_wxWindow_UnsetConstraints, METH_VARARGS | METH_KEYWORDS },
10958 { "wxWindow_SetConstraints", (PyCFunction) _wrap_wxWindow_SetConstraints, METH_VARARGS | METH_KEYWORDS },
10959 { "wxWindow_SetBackgroundColour", (PyCFunction) _wrap_wxWindow_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10960 { "wxWindow_GetAutoLayout", (PyCFunction) _wrap_wxWindow_GetAutoLayout, METH_VARARGS | METH_KEYWORDS },
10961 { "wxWindow_SetAutoLayout", (PyCFunction) _wrap_wxWindow_SetAutoLayout, METH_VARARGS | METH_KEYWORDS },
10962 { "wxWindow_ScrollWindow", (PyCFunction) _wrap_wxWindow_ScrollWindow, METH_VARARGS | METH_KEYWORDS },
10963 { "wxWindow_ScreenToClient", (PyCFunction) _wrap_wxWindow_ScreenToClient, METH_VARARGS | METH_KEYWORDS },
10964 { "wxWindow_ScreenToClientXY", (PyCFunction) _wrap_wxWindow_ScreenToClientXY, METH_VARARGS | METH_KEYWORDS },
10965 { "wxWindow_Reparent", (PyCFunction) _wrap_wxWindow_Reparent, METH_VARARGS | METH_KEYWORDS },
10966 { "wxWindow_RemoveChild", (PyCFunction) _wrap_wxWindow_RemoveChild, METH_VARARGS | METH_KEYWORDS },
10967 { "wxWindow_ReleaseMouse", (PyCFunction) _wrap_wxWindow_ReleaseMouse, METH_VARARGS | METH_KEYWORDS },
10968 { "wxWindow_RefreshRect", (PyCFunction) _wrap_wxWindow_RefreshRect, METH_VARARGS | METH_KEYWORDS },
10969 { "wxWindow_Refresh", (PyCFunction) _wrap_wxWindow_Refresh, METH_VARARGS | METH_KEYWORDS },
10970 { "wxWindow_Raise", (PyCFunction) _wrap_wxWindow_Raise, METH_VARARGS | METH_KEYWORDS },
10971 { "wxWindow_PopupMenu", (PyCFunction) _wrap_wxWindow_PopupMenu, METH_VARARGS | METH_KEYWORDS },
10972 { "wxWindow_PopupMenuXY", (PyCFunction) _wrap_wxWindow_PopupMenuXY, METH_VARARGS | METH_KEYWORDS },
10973 { "wxWindow_RemoveEventHandler", (PyCFunction) _wrap_wxWindow_RemoveEventHandler, METH_VARARGS | METH_KEYWORDS },
10974 { "wxWindow_PushEventHandler", (PyCFunction) _wrap_wxWindow_PushEventHandler, METH_VARARGS | METH_KEYWORDS },
10975 { "wxWindow_PopEventHandler", (PyCFunction) _wrap_wxWindow_PopEventHandler, METH_VARARGS | METH_KEYWORDS },
10976 { "wxWindow_Move", (PyCFunction) _wrap_wxWindow_Move, METH_VARARGS | METH_KEYWORDS },
10977 { "wxWindow_MoveXY", (PyCFunction) _wrap_wxWindow_MoveXY, METH_VARARGS | METH_KEYWORDS },
10978 { "wxWindow_MakeModal", (PyCFunction) _wrap_wxWindow_MakeModal, METH_VARARGS | METH_KEYWORDS },
10979 { "wxWindow_Lower", (PyCFunction) _wrap_wxWindow_Lower, METH_VARARGS | METH_KEYWORDS },
10980 { "wxWindow_LoadFromResource", (PyCFunction) _wrap_wxWindow_LoadFromResource, METH_VARARGS | METH_KEYWORDS },
10981 { "wxWindow_Layout", (PyCFunction) _wrap_wxWindow_Layout, METH_VARARGS | METH_KEYWORDS },
10982 { "wxWindow_IsTopLevel", (PyCFunction) _wrap_wxWindow_IsTopLevel, METH_VARARGS | METH_KEYWORDS },
10983 { "wxWindow_IsShown", (PyCFunction) _wrap_wxWindow_IsShown, METH_VARARGS | METH_KEYWORDS },
10984 { "wxWindow_IsRetained", (PyCFunction) _wrap_wxWindow_IsRetained, METH_VARARGS | METH_KEYWORDS },
10985 { "wxWindow_IsExposedRect", (PyCFunction) _wrap_wxWindow_IsExposedRect, METH_VARARGS | METH_KEYWORDS },
10986 { "wxWindow_IsExposedPoint", (PyCFunction) _wrap_wxWindow_IsExposedPoint, METH_VARARGS | METH_KEYWORDS },
10987 { "wxWindow_IsExposed", (PyCFunction) _wrap_wxWindow_IsExposed, METH_VARARGS | METH_KEYWORDS },
10988 { "wxWindow_IsEnabled", (PyCFunction) _wrap_wxWindow_IsEnabled, METH_VARARGS | METH_KEYWORDS },
10989 { "wxWindow_InitDialog", (PyCFunction) _wrap_wxWindow_InitDialog, METH_VARARGS | METH_KEYWORDS },
10990 { "wxWindow_HitTest", (PyCFunction) _wrap_wxWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
10991 { "wxWindow_Hide", (PyCFunction) _wrap_wxWindow_Hide, METH_VARARGS | METH_KEYWORDS },
10992 { "wxWindow_HasScrollbar", (PyCFunction) _wrap_wxWindow_HasScrollbar, METH_VARARGS | METH_KEYWORDS },
10993 { "wxWindow_SetWindowStyle", (PyCFunction) _wrap_wxWindow_SetWindowStyle, METH_VARARGS | METH_KEYWORDS },
10994 { "wxWindow_SetWindowStyleFlag", (PyCFunction) _wrap_wxWindow_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
10995 { "wxWindow_GetWindowStyleFlag", (PyCFunction) _wrap_wxWindow_GetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
10996 { "wxWindow_GetUpdateRegion", (PyCFunction) _wrap_wxWindow_GetUpdateRegion, METH_VARARGS | METH_KEYWORDS },
10997 { "wxWindow_GetTitle", (PyCFunction) _wrap_wxWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
10998 { "wxWindow_GetFullTextExtent", (PyCFunction) _wrap_wxWindow_GetFullTextExtent, METH_VARARGS | METH_KEYWORDS },
10999 { "wxWindow_GetTextExtent", (PyCFunction) _wrap_wxWindow_GetTextExtent, METH_VARARGS | METH_KEYWORDS },
11000 { "wxWindow_GetSize", (PyCFunction) _wrap_wxWindow_GetSize, METH_VARARGS | METH_KEYWORDS },
11001 { "wxWindow_GetSizeTuple", (PyCFunction) _wrap_wxWindow_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
11002 { "wxWindow_GetScrollRange", (PyCFunction) _wrap_wxWindow_GetScrollRange, METH_VARARGS | METH_KEYWORDS },
11003 { "wxWindow_GetScrollPos", (PyCFunction) _wrap_wxWindow_GetScrollPos, METH_VARARGS | METH_KEYWORDS },
11004 { "wxWindow_GetScrollThumb", (PyCFunction) _wrap_wxWindow_GetScrollThumb, METH_VARARGS | METH_KEYWORDS },
11005 { "wxWindow_GetRect", (PyCFunction) _wrap_wxWindow_GetRect, METH_VARARGS | METH_KEYWORDS },
11006 { "wxWindow_GetPosition", (PyCFunction) _wrap_wxWindow_GetPosition, METH_VARARGS | METH_KEYWORDS },
11007 { "wxWindow_GetPositionTuple", (PyCFunction) _wrap_wxWindow_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
11008 { "wxWindow_GetParent", (PyCFunction) _wrap_wxWindow_GetParent, METH_VARARGS | METH_KEYWORDS },
11009 { "wxWindow_GetName", (PyCFunction) _wrap_wxWindow_GetName, METH_VARARGS | METH_KEYWORDS },
11010 { "wxWindow_SetLabel", (PyCFunction) _wrap_wxWindow_SetLabel, METH_VARARGS | METH_KEYWORDS },
11011 { "wxWindow_GetLabel", (PyCFunction) _wrap_wxWindow_GetLabel, METH_VARARGS | METH_KEYWORDS },
11012 { "wxWindow_GetId", (PyCFunction) _wrap_wxWindow_GetId, METH_VARARGS | METH_KEYWORDS },
11013 { "wxWindow_GetHandle", (PyCFunction) _wrap_wxWindow_GetHandle, METH_VARARGS | METH_KEYWORDS },
11014 { "wxWindow_GetGrandParent", (PyCFunction) _wrap_wxWindow_GetGrandParent, METH_VARARGS | METH_KEYWORDS },
11015 { "wxWindow_GetForegroundColour", (PyCFunction) _wrap_wxWindow_GetForegroundColour, METH_VARARGS | METH_KEYWORDS },
11016 { "wxWindow_GetFont", (PyCFunction) _wrap_wxWindow_GetFont, METH_VARARGS | METH_KEYWORDS },
11017 { "wxWindow_GetEventHandler", (PyCFunction) _wrap_wxWindow_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
11018 { "wxWindow_GetConstraints", (PyCFunction) _wrap_wxWindow_GetConstraints, METH_VARARGS | METH_KEYWORDS },
11019 { "wxWindow_GetClientRect", (PyCFunction) _wrap_wxWindow_GetClientRect, METH_VARARGS | METH_KEYWORDS },
11020 { "wxWindow_GetClientAreaOrigin", (PyCFunction) _wrap_wxWindow_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
11021 { "wxWindow_GetClientSize", (PyCFunction) _wrap_wxWindow_GetClientSize, METH_VARARGS | METH_KEYWORDS },
11022 { "wxWindow_GetClientSizeTuple", (PyCFunction) _wrap_wxWindow_GetClientSizeTuple, METH_VARARGS | METH_KEYWORDS },
11023 { "wxWindow_GetCharWidth", (PyCFunction) _wrap_wxWindow_GetCharWidth, METH_VARARGS | METH_KEYWORDS },
11024 { "wxWindow_GetCharHeight", (PyCFunction) _wrap_wxWindow_GetCharHeight, METH_VARARGS | METH_KEYWORDS },
11025 { "wxWindow_GetChildren", (PyCFunction) _wrap_wxWindow_GetChildren, METH_VARARGS | METH_KEYWORDS },
11026 { "wxWindow_GetBorder", (PyCFunction) _wrap_wxWindow_GetBorder, METH_VARARGS | METH_KEYWORDS },
11027 { "wxWindow_GetBackgroundColour", (PyCFunction) _wrap_wxWindow_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11028 { "wxWindow_Fit", (PyCFunction) _wrap_wxWindow_Fit, METH_VARARGS | METH_KEYWORDS },
11029 { "wxWindow_FindWindowByName", (PyCFunction) _wrap_wxWindow_FindWindowByName, METH_VARARGS | METH_KEYWORDS },
11030 { "wxWindow_FindWindowById", (PyCFunction) _wrap_wxWindow_FindWindowById, METH_VARARGS | METH_KEYWORDS },
11031 { "wxWindow_Enable", (PyCFunction) _wrap_wxWindow_Enable, METH_VARARGS | METH_KEYWORDS },
11032 { "wxWindow_IsBeingDeleted", (PyCFunction) _wrap_wxWindow_IsBeingDeleted, METH_VARARGS | METH_KEYWORDS },
11033 { "wxWindow_DestroyChildren", (PyCFunction) _wrap_wxWindow_DestroyChildren, METH_VARARGS | METH_KEYWORDS },
11034 { "wxWindow_Destroy", (PyCFunction) _wrap_wxWindow_Destroy, METH_VARARGS | METH_KEYWORDS },
11035 { "wxWindow_Close", (PyCFunction) _wrap_wxWindow_Close, METH_VARARGS | METH_KEYWORDS },
11036 { "wxWindow_ClientToScreen", (PyCFunction) _wrap_wxWindow_ClientToScreen, METH_VARARGS | METH_KEYWORDS },
11037 { "wxWindow_ClientToScreenXY", (PyCFunction) _wrap_wxWindow_ClientToScreenXY, METH_VARARGS | METH_KEYWORDS },
11038 { "wxWindow_Clear", (PyCFunction) _wrap_wxWindow_Clear, METH_VARARGS | METH_KEYWORDS },
11039 { "wxWindow_CenterOnScreen", (PyCFunction) _wrap_wxWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS },
11040 { "wxWindow_CentreOnScreen", (PyCFunction) _wrap_wxWindow_CentreOnScreen, METH_VARARGS | METH_KEYWORDS },
11041 { "wxWindow_CenterOnParent", (PyCFunction) _wrap_wxWindow_CenterOnParent, METH_VARARGS | METH_KEYWORDS },
11042 { "wxWindow_CentreOnParent", (PyCFunction) _wrap_wxWindow_CentreOnParent, METH_VARARGS | METH_KEYWORDS },
11043 { "wxWindow_Centre", (PyCFunction) _wrap_wxWindow_Centre, METH_VARARGS | METH_KEYWORDS },
11044 { "wxWindow_Center", (PyCFunction) _wrap_wxWindow_Center, METH_VARARGS | METH_KEYWORDS },
11045 { "wxWindow_CaptureMouse", (PyCFunction) _wrap_wxWindow_CaptureMouse, METH_VARARGS | METH_KEYWORDS },
11046 { "wxWindow_Create", (PyCFunction) _wrap_wxWindow_Create, METH_VARARGS | METH_KEYWORDS },
11047 { "new_wxPreWindow", (PyCFunction) _wrap_new_wxPreWindow, METH_VARARGS | METH_KEYWORDS },
11048 { "new_wxWindow", (PyCFunction) _wrap_new_wxWindow, METH_VARARGS | METH_KEYWORDS },
11049 { "wxPyValidator__setCallbackInfo", (PyCFunction) _wrap_wxPyValidator__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
11050 { "new_wxPyValidator", (PyCFunction) _wrap_new_wxPyValidator, METH_VARARGS | METH_KEYWORDS },
11051 { "wxValidator_SetBellOnError", (PyCFunction) _wrap_wxValidator_SetBellOnError, METH_VARARGS | METH_KEYWORDS },
11052 { "wxValidator_IsSilent", (PyCFunction) _wrap_wxValidator_IsSilent, METH_VARARGS | METH_KEYWORDS },
11053 { "wxValidator_SetWindow", (PyCFunction) _wrap_wxValidator_SetWindow, METH_VARARGS | METH_KEYWORDS },
11054 { "wxValidator_GetWindow", (PyCFunction) _wrap_wxValidator_GetWindow, METH_VARARGS | METH_KEYWORDS },
11055 { "wxValidator_Clone", (PyCFunction) _wrap_wxValidator_Clone, METH_VARARGS | METH_KEYWORDS },
11056 { "new_wxValidator", (PyCFunction) _wrap_new_wxValidator, METH_VARARGS | METH_KEYWORDS },
11057 { "wxEvtHandler__setOORInfo", (PyCFunction) _wrap_wxEvtHandler__setOORInfo, METH_VARARGS | METH_KEYWORDS },
11058 { "wxEvtHandler_Disconnect", (PyCFunction) _wrap_wxEvtHandler_Disconnect, METH_VARARGS | METH_KEYWORDS },
11059 { "wxEvtHandler_Connect", (PyCFunction) _wrap_wxEvtHandler_Connect, METH_VARARGS | METH_KEYWORDS },
11060 { "wxEvtHandler_SetPreviousHandler", (PyCFunction) _wrap_wxEvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
11061 { "wxEvtHandler_SetNextHandler", (PyCFunction) _wrap_wxEvtHandler_SetNextHandler, METH_VARARGS | METH_KEYWORDS },
11062 { "wxEvtHandler_GetPreviousHandler", (PyCFunction) _wrap_wxEvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
11063 { "wxEvtHandler_GetNextHandler", (PyCFunction) _wrap_wxEvtHandler_GetNextHandler, METH_VARARGS | METH_KEYWORDS },
11064 { "wxEvtHandler_SetEvtHandlerEnabled", (PyCFunction) _wrap_wxEvtHandler_SetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
11065 { "wxEvtHandler_GetEvtHandlerEnabled", (PyCFunction) _wrap_wxEvtHandler_GetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
11066 { "wxEvtHandler_AddPendingEvent", (PyCFunction) _wrap_wxEvtHandler_AddPendingEvent, METH_VARARGS | METH_KEYWORDS },
11067 { "wxEvtHandler_ProcessEvent", (PyCFunction) _wrap_wxEvtHandler_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
11068 { "new_wxEvtHandler", (PyCFunction) _wrap_new_wxEvtHandler, METH_VARARGS | METH_KEYWORDS },
11069 { NULL, NULL }
11070 };
11071 #ifdef __cplusplus
11072 }
11073 #endif
11074 /*
11075 * This table is used by the pointer type-checker
11076 */
11077 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
11078 { "_signed_long","_long",0},
11079 { "_wxPrintQuality","_wxCoord",0},
11080 { "_wxPrintQuality","_int",0},
11081 { "_wxPrintQuality","_signed_int",0},
11082 { "_wxPrintQuality","_unsigned_int",0},
11083 { "_wxPrintQuality","_wxWindowID",0},
11084 { "_wxPrintQuality","_uint",0},
11085 { "_wxPrintQuality","_EBool",0},
11086 { "_wxPrintQuality","_size_t",0},
11087 { "_wxPrintQuality","_time_t",0},
11088 { "_byte","_unsigned_char",0},
11089 { "_long","_unsigned_long",0},
11090 { "_long","_signed_long",0},
11091 { "_size_t","_wxCoord",0},
11092 { "_size_t","_wxPrintQuality",0},
11093 { "_size_t","_time_t",0},
11094 { "_size_t","_unsigned_int",0},
11095 { "_size_t","_int",0},
11096 { "_size_t","_wxWindowID",0},
11097 { "_size_t","_uint",0},
11098 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel},
11099 { "_uint","_wxCoord",0},
11100 { "_uint","_wxPrintQuality",0},
11101 { "_uint","_time_t",0},
11102 { "_uint","_size_t",0},
11103 { "_uint","_unsigned_int",0},
11104 { "_uint","_int",0},
11105 { "_uint","_wxWindowID",0},
11106 { "_wxChar","_char",0},
11107 { "_char","_wxChar",0},
11108 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11109 { "_EBool","_wxCoord",0},
11110 { "_EBool","_wxPrintQuality",0},
11111 { "_EBool","_signed_int",0},
11112 { "_EBool","_int",0},
11113 { "_EBool","_wxWindowID",0},
11114 { "_unsigned_long","_long",0},
11115 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11116 { "_signed_int","_wxCoord",0},
11117 { "_signed_int","_wxPrintQuality",0},
11118 { "_signed_int","_EBool",0},
11119 { "_signed_int","_wxWindowID",0},
11120 { "_signed_int","_int",0},
11121 { "_WXTYPE","_short",0},
11122 { "_WXTYPE","_signed_short",0},
11123 { "_WXTYPE","_unsigned_short",0},
11124 { "_unsigned_short","_WXTYPE",0},
11125 { "_unsigned_short","_short",0},
11126 { "_wxObject","_wxMenuItem",SwigwxMenuItemTowxObject},
11127 { "_wxObject","_wxMenuBar",SwigwxMenuBarTowxObject},
11128 { "_wxObject","_wxMenu",SwigwxMenuTowxObject},
11129 { "_wxObject","_wxScrolledWindow",SwigwxScrolledWindowTowxObject},
11130 { "_wxObject","_wxPanel",SwigwxPanelTowxObject},
11131 { "_wxObject","_wxWindow",SwigwxWindowTowxObject},
11132 { "_wxObject","_wxPyValidator",SwigwxPyValidatorTowxObject},
11133 { "_wxObject","_wxValidator",SwigwxValidatorTowxObject},
11134 { "_wxObject","_wxEvtHandler",SwigwxEvtHandlerTowxObject},
11135 { "_signed_short","_WXTYPE",0},
11136 { "_signed_short","_short",0},
11137 { "_unsigned_char","_byte",0},
11138 { "_unsigned_int","_wxCoord",0},
11139 { "_unsigned_int","_wxPrintQuality",0},
11140 { "_unsigned_int","_time_t",0},
11141 { "_unsigned_int","_size_t",0},
11142 { "_unsigned_int","_uint",0},
11143 { "_unsigned_int","_wxWindowID",0},
11144 { "_unsigned_int","_int",0},
11145 { "_short","_WXTYPE",0},
11146 { "_short","_unsigned_short",0},
11147 { "_short","_signed_short",0},
11148 { "_wxWindowID","_wxCoord",0},
11149 { "_wxWindowID","_wxPrintQuality",0},
11150 { "_wxWindowID","_time_t",0},
11151 { "_wxWindowID","_size_t",0},
11152 { "_wxWindowID","_EBool",0},
11153 { "_wxWindowID","_uint",0},
11154 { "_wxWindowID","_int",0},
11155 { "_wxWindowID","_signed_int",0},
11156 { "_wxWindowID","_unsigned_int",0},
11157 { "_int","_wxCoord",0},
11158 { "_int","_wxPrintQuality",0},
11159 { "_int","_time_t",0},
11160 { "_int","_size_t",0},
11161 { "_int","_EBool",0},
11162 { "_int","_uint",0},
11163 { "_int","_wxWindowID",0},
11164 { "_int","_unsigned_int",0},
11165 { "_int","_signed_int",0},
11166 { "_time_t","_wxCoord",0},
11167 { "_time_t","_wxPrintQuality",0},
11168 { "_time_t","_unsigned_int",0},
11169 { "_time_t","_int",0},
11170 { "_time_t","_wxWindowID",0},
11171 { "_time_t","_uint",0},
11172 { "_time_t","_size_t",0},
11173 { "_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator},
11174 { "_wxCoord","_int",0},
11175 { "_wxCoord","_signed_int",0},
11176 { "_wxCoord","_unsigned_int",0},
11177 { "_wxCoord","_wxWindowID",0},
11178 { "_wxCoord","_uint",0},
11179 { "_wxCoord","_EBool",0},
11180 { "_wxCoord","_size_t",0},
11181 { "_wxCoord","_time_t",0},
11182 { "_wxCoord","_wxPrintQuality",0},
11183 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler},
11184 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler},
11185 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler},
11186 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler},
11187 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler},
11188 { "_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler},
11189 { "_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler},
11190 { "_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow},
11191 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow},
11192 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow},
11193 {0,0,0}};
11194
11195 static PyObject *SWIG_globals;
11196 #ifdef __cplusplus
11197 extern "C"
11198 #endif
11199 SWIGEXPORT(void) initwindowsc() {
11200 PyObject *m, *d;
11201 SWIG_globals = SWIG_newvarlink();
11202 m = Py_InitModule("windowsc", windowscMethods);
11203 d = PyModule_GetDict(m);
11204 {
11205 int i;
11206 for (i = 0; _swig_mapping[i].n1; i++)
11207 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
11208 }
11209 }