]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/windows.cpp
backport wxRegConfig enumeration fix
[wxWidgets.git] / wxPython / src / msw / windows.cpp
1 /*
2 * FILE : src/msw/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 "Python.h"
23
24 #include <string.h>
25 #include <stdlib.h>
26 /* Definitions for Windows/Unix exporting */
27 #if defined(__WIN32__)
28 # if defined(_MSC_VER)
29 # define SWIGEXPORT(a) __declspec(dllexport) a
30 # else
31 # if defined(__BORLANDC__)
32 # define SWIGEXPORT(a) a _export
33 # else
34 # define SWIGEXPORT(a) a
35 # endif
36 # endif
37 #else
38 # define SWIGEXPORT(a) a
39 #endif
40
41 #ifdef __cplusplus
42 extern "C" {
43 #endif
44 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
48 extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
49 extern PyObject *SWIG_newvarlink(void);
50 #ifdef __cplusplus
51 }
52 #endif
53 #define SWIG_init initwindowsc
54
55 #define SWIG_name "windowsc"
56
57 #include "helpers.h"
58 #include <wx/menuitem.h>
59 #include <wx/tooltip.h>
60
61
62 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
63 PyObject* o2;
64 PyObject* o3;
65
66 if (!target) {
67 target = o;
68 } else if (target == Py_None) {
69 Py_DECREF(Py_None);
70 target = o;
71 } else {
72 if (!PyTuple_Check(target)) {
73 o2 = target;
74 target = PyTuple_New(1);
75 PyTuple_SetItem(target, 0, o2);
76 }
77 o3 = PyTuple_New(1);
78 PyTuple_SetItem(o3, 0, o);
79
80 o2 = target;
81 target = PySequence_Concat(o2, o3);
82 Py_DECREF(o2);
83 Py_DECREF(o3);
84 }
85 return target;
86 }
87
88 // Put some wx default wxChar* values into wxStrings.
89 DECLARE_DEF_STRING(PanelNameStr);
90 static const wxString wxPyEmptyString(wxT(""));
91
92 class wxPyValidator : public wxValidator {
93 DECLARE_DYNAMIC_CLASS(wxPyValidator);
94 public:
95 wxPyValidator() {
96 }
97
98 ~wxPyValidator() {
99 }
100
101 wxObject* Clone() const {
102 wxPyValidator* ptr = NULL;
103 wxPyValidator* self = (wxPyValidator*)this;
104
105 wxPyBeginBlockThreads();
106 if (self->m_myInst.findCallback("Clone")) {
107 PyObject* ro;
108 ro = self->m_myInst.callCallbackObj(Py_BuildValue("()"));
109 if (ro) {
110 SWIG_GetPtrObj(ro, (void **)&ptr, "_wxPyValidator_p");
111 Py_DECREF(ro);
112 }
113 }
114 wxPyEndBlockThreads();
115
116 // This is very dangerous!!! But is the only way I could find
117 // to squash a memory leak. Currently it is okay, but if the
118 // validator architecture in wxWindows ever changes, problems
119 // could arise.
120 delete self;
121 return ptr;
122 }
123
124
125 DEC_PYCALLBACK_BOOL_WXWIN(Validate);
126 DEC_PYCALLBACK_BOOL_(TransferToWindow);
127 DEC_PYCALLBACK_BOOL_(TransferFromWindow);
128
129 PYPRIVATE;
130 };
131
132 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator, wxValidator, Validate);
133 IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferToWindow);
134 IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferFromWindow);
135
136 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator, wxValidator);
137
138
139 wxWindow* wxWindow_FromHWND(unsigned long hWnd) {
140 wxWindow* win = new wxWindow;
141 win->SetHWND(hWnd);
142 win->SubclassWin(hWnd);
143 return win;
144 }
145
146 wxWindow* wxFindWindowById( long id, const wxWindow *parent = NULL ) {
147 return wxWindow::FindWindowById(id, parent);
148 }
149
150 wxWindow* wxFindWindowByName( const wxString& name,
151 const wxWindow *parent = NULL ) {
152 return wxWindow::FindWindowByName(name, parent);
153 }
154
155 wxWindow* wxFindWindowByLabel( const wxString& label,
156 const wxWindow *parent = NULL ) {
157 return wxWindow::FindWindowByLabel(label, parent);
158 }
159 #ifdef __cplusplus
160 extern "C" {
161 #endif
162 static PyObject *_wrap_wxWindow_FromHWND(PyObject *self, PyObject *args, PyObject *kwargs) {
163 PyObject * _resultobj;
164 wxWindow * _result;
165 unsigned long _arg0;
166 char *_kwnames[] = { "hWnd", NULL };
167
168 self = self;
169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"l:wxWindow_FromHWND",_kwnames,&_arg0))
170 return NULL;
171 {
172 PyThreadState* __tstate = wxPyBeginAllowThreads();
173 _result = (wxWindow *)wxWindow_FromHWND(_arg0);
174
175 wxPyEndAllowThreads(__tstate);
176 if (PyErr_Occurred()) return NULL;
177 }{ _resultobj = wxPyMake_wxObject(_result); }
178 return _resultobj;
179 }
180
181 static PyObject *_wrap_wxFindWindowById(PyObject *self, PyObject *args, PyObject *kwargs) {
182 PyObject * _resultobj;
183 wxWindow * _result;
184 long _arg0;
185 wxWindow * _arg1 = (wxWindow *) NULL;
186 PyObject * _argo1 = 0;
187 char *_kwnames[] = { "id","parent", NULL };
188
189 self = self;
190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"l|O:wxFindWindowById",_kwnames,&_arg0,&_argo1))
191 return NULL;
192 if (_argo1) {
193 if (_argo1 == Py_None) { _arg1 = NULL; }
194 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
195 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFindWindowById. Expected _wxWindow_p.");
196 return NULL;
197 }
198 }
199 {
200 PyThreadState* __tstate = wxPyBeginAllowThreads();
201 _result = (wxWindow *)wxFindWindowById(_arg0,_arg1);
202
203 wxPyEndAllowThreads(__tstate);
204 if (PyErr_Occurred()) return NULL;
205 }{ _resultobj = wxPyMake_wxObject(_result); }
206 return _resultobj;
207 }
208
209 static PyObject *_wrap_wxFindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
210 PyObject * _resultobj;
211 wxWindow * _result;
212 wxString * _arg0;
213 wxWindow * _arg1 = (wxWindow *) NULL;
214 PyObject * _obj0 = 0;
215 PyObject * _argo1 = 0;
216 char *_kwnames[] = { "name","parent", NULL };
217
218 self = self;
219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxFindWindowByName",_kwnames,&_obj0,&_argo1))
220 return NULL;
221 {
222 _arg0 = wxString_in_helper(_obj0);
223 if (_arg0 == NULL)
224 return NULL;
225 }
226 if (_argo1) {
227 if (_argo1 == Py_None) { _arg1 = NULL; }
228 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
229 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
230 return NULL;
231 }
232 }
233 {
234 PyThreadState* __tstate = wxPyBeginAllowThreads();
235 _result = (wxWindow *)wxFindWindowByName(*_arg0,_arg1);
236
237 wxPyEndAllowThreads(__tstate);
238 if (PyErr_Occurred()) return NULL;
239 }{ _resultobj = wxPyMake_wxObject(_result); }
240 {
241 if (_obj0)
242 delete _arg0;
243 }
244 return _resultobj;
245 }
246
247 static PyObject *_wrap_wxFindWindowByLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
248 PyObject * _resultobj;
249 wxWindow * _result;
250 wxString * _arg0;
251 wxWindow * _arg1 = (wxWindow *) NULL;
252 PyObject * _obj0 = 0;
253 PyObject * _argo1 = 0;
254 char *_kwnames[] = { "label","parent", NULL };
255
256 self = self;
257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxFindWindowByLabel",_kwnames,&_obj0,&_argo1))
258 return NULL;
259 {
260 _arg0 = wxString_in_helper(_obj0);
261 if (_arg0 == NULL)
262 return NULL;
263 }
264 if (_argo1) {
265 if (_argo1 == Py_None) { _arg1 = NULL; }
266 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
267 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
268 return NULL;
269 }
270 }
271 {
272 PyThreadState* __tstate = wxPyBeginAllowThreads();
273 _result = (wxWindow *)wxFindWindowByLabel(*_arg0,_arg1);
274
275 wxPyEndAllowThreads(__tstate);
276 if (PyErr_Occurred()) return NULL;
277 }{ _resultobj = wxPyMake_wxObject(_result); }
278 {
279 if (_obj0)
280 delete _arg0;
281 }
282 return _resultobj;
283 }
284
285 static void *SwigwxEvtHandlerTowxObject(void *ptr) {
286 wxEvtHandler *src;
287 wxObject *dest;
288 src = (wxEvtHandler *) ptr;
289 dest = (wxObject *) src;
290 return (void *) dest;
291 }
292
293 #define new_wxEvtHandler() (new wxEvtHandler())
294 static PyObject *_wrap_new_wxEvtHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
295 PyObject * _resultobj;
296 wxEvtHandler * _result;
297 char *_kwnames[] = { NULL };
298 char _ptemp[128];
299
300 self = self;
301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxEvtHandler",_kwnames))
302 return NULL;
303 {
304 PyThreadState* __tstate = wxPyBeginAllowThreads();
305 _result = (wxEvtHandler *)new_wxEvtHandler();
306
307 wxPyEndAllowThreads(__tstate);
308 if (PyErr_Occurred()) return NULL;
309 } if (_result) {
310 SWIG_MakePtr(_ptemp, (char *) _result,"_wxEvtHandler_p");
311 _resultobj = Py_BuildValue("s",_ptemp);
312 } else {
313 Py_INCREF(Py_None);
314 _resultobj = Py_None;
315 }
316 return _resultobj;
317 }
318
319 #define wxEvtHandler_ProcessEvent(_swigobj,_swigarg0) (_swigobj->ProcessEvent(_swigarg0))
320 static PyObject *_wrap_wxEvtHandler_ProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
321 PyObject * _resultobj;
322 bool _result;
323 wxEvtHandler * _arg0;
324 wxEvent * _arg1;
325 PyObject * _argo0 = 0;
326 PyObject * _argo1 = 0;
327 char *_kwnames[] = { "self","event", NULL };
328
329 self = self;
330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEvtHandler_ProcessEvent",_kwnames,&_argo0,&_argo1))
331 return NULL;
332 if (_argo0) {
333 if (_argo0 == Py_None) { _arg0 = NULL; }
334 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
335 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_ProcessEvent. Expected _wxEvtHandler_p.");
336 return NULL;
337 }
338 }
339 if (_argo1) {
340 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvent_p")) {
341 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxEvtHandler_ProcessEvent. Expected _wxEvent_p.");
342 return NULL;
343 }
344 }
345 {
346 PyThreadState* __tstate = wxPyBeginAllowThreads();
347 _result = (bool )wxEvtHandler_ProcessEvent(_arg0,*_arg1);
348
349 wxPyEndAllowThreads(__tstate);
350 if (PyErr_Occurred()) return NULL;
351 } _resultobj = Py_BuildValue("i",_result);
352 return _resultobj;
353 }
354
355 #define wxEvtHandler_AddPendingEvent(_swigobj,_swigarg0) (_swigobj->AddPendingEvent(_swigarg0))
356 static PyObject *_wrap_wxEvtHandler_AddPendingEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
357 PyObject * _resultobj;
358 wxEvtHandler * _arg0;
359 wxEvent * _arg1;
360 PyObject * _argo0 = 0;
361 PyObject * _argo1 = 0;
362 char *_kwnames[] = { "self","event", NULL };
363
364 self = self;
365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEvtHandler_AddPendingEvent",_kwnames,&_argo0,&_argo1))
366 return NULL;
367 if (_argo0) {
368 if (_argo0 == Py_None) { _arg0 = NULL; }
369 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
370 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_AddPendingEvent. Expected _wxEvtHandler_p.");
371 return NULL;
372 }
373 }
374 if (_argo1) {
375 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvent_p")) {
376 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxEvtHandler_AddPendingEvent. Expected _wxEvent_p.");
377 return NULL;
378 }
379 }
380 {
381 PyThreadState* __tstate = wxPyBeginAllowThreads();
382 wxEvtHandler_AddPendingEvent(_arg0,*_arg1);
383
384 wxPyEndAllowThreads(__tstate);
385 if (PyErr_Occurred()) return NULL;
386 } Py_INCREF(Py_None);
387 _resultobj = Py_None;
388 return _resultobj;
389 }
390
391 #define wxEvtHandler_GetEvtHandlerEnabled(_swigobj) (_swigobj->GetEvtHandlerEnabled())
392 static PyObject *_wrap_wxEvtHandler_GetEvtHandlerEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
393 PyObject * _resultobj;
394 bool _result;
395 wxEvtHandler * _arg0;
396 PyObject * _argo0 = 0;
397 char *_kwnames[] = { "self", NULL };
398
399 self = self;
400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvtHandler_GetEvtHandlerEnabled",_kwnames,&_argo0))
401 return NULL;
402 if (_argo0) {
403 if (_argo0 == Py_None) { _arg0 = NULL; }
404 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
405 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_GetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
406 return NULL;
407 }
408 }
409 {
410 PyThreadState* __tstate = wxPyBeginAllowThreads();
411 _result = (bool )wxEvtHandler_GetEvtHandlerEnabled(_arg0);
412
413 wxPyEndAllowThreads(__tstate);
414 if (PyErr_Occurred()) return NULL;
415 } _resultobj = Py_BuildValue("i",_result);
416 return _resultobj;
417 }
418
419 #define wxEvtHandler_SetEvtHandlerEnabled(_swigobj,_swigarg0) (_swigobj->SetEvtHandlerEnabled(_swigarg0))
420 static PyObject *_wrap_wxEvtHandler_SetEvtHandlerEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
421 PyObject * _resultobj;
422 wxEvtHandler * _arg0;
423 bool _arg1;
424 PyObject * _argo0 = 0;
425 int tempbool1;
426 char *_kwnames[] = { "self","enabled", NULL };
427
428 self = self;
429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxEvtHandler_SetEvtHandlerEnabled",_kwnames,&_argo0,&tempbool1))
430 return NULL;
431 if (_argo0) {
432 if (_argo0 == Py_None) { _arg0 = NULL; }
433 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
434 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_SetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
435 return NULL;
436 }
437 }
438 _arg1 = (bool ) tempbool1;
439 {
440 PyThreadState* __tstate = wxPyBeginAllowThreads();
441 wxEvtHandler_SetEvtHandlerEnabled(_arg0,_arg1);
442
443 wxPyEndAllowThreads(__tstate);
444 if (PyErr_Occurred()) return NULL;
445 } Py_INCREF(Py_None);
446 _resultobj = Py_None;
447 return _resultobj;
448 }
449
450 #define wxEvtHandler_GetNextHandler(_swigobj) (_swigobj->GetNextHandler())
451 static PyObject *_wrap_wxEvtHandler_GetNextHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
452 PyObject * _resultobj;
453 wxEvtHandler * _result;
454 wxEvtHandler * _arg0;
455 PyObject * _argo0 = 0;
456 char *_kwnames[] = { "self", NULL };
457
458 self = self;
459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvtHandler_GetNextHandler",_kwnames,&_argo0))
460 return NULL;
461 if (_argo0) {
462 if (_argo0 == Py_None) { _arg0 = NULL; }
463 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
464 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_GetNextHandler. Expected _wxEvtHandler_p.");
465 return NULL;
466 }
467 }
468 {
469 PyThreadState* __tstate = wxPyBeginAllowThreads();
470 _result = (wxEvtHandler *)wxEvtHandler_GetNextHandler(_arg0);
471
472 wxPyEndAllowThreads(__tstate);
473 if (PyErr_Occurred()) return NULL;
474 }{ _resultobj = wxPyMake_wxObject(_result); }
475 return _resultobj;
476 }
477
478 #define wxEvtHandler_GetPreviousHandler(_swigobj) (_swigobj->GetPreviousHandler())
479 static PyObject *_wrap_wxEvtHandler_GetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
480 PyObject * _resultobj;
481 wxEvtHandler * _result;
482 wxEvtHandler * _arg0;
483 PyObject * _argo0 = 0;
484 char *_kwnames[] = { "self", NULL };
485
486 self = self;
487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvtHandler_GetPreviousHandler",_kwnames,&_argo0))
488 return NULL;
489 if (_argo0) {
490 if (_argo0 == Py_None) { _arg0 = NULL; }
491 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
492 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_GetPreviousHandler. Expected _wxEvtHandler_p.");
493 return NULL;
494 }
495 }
496 {
497 PyThreadState* __tstate = wxPyBeginAllowThreads();
498 _result = (wxEvtHandler *)wxEvtHandler_GetPreviousHandler(_arg0);
499
500 wxPyEndAllowThreads(__tstate);
501 if (PyErr_Occurred()) return NULL;
502 }{ _resultobj = wxPyMake_wxObject(_result); }
503 return _resultobj;
504 }
505
506 #define wxEvtHandler_SetNextHandler(_swigobj,_swigarg0) (_swigobj->SetNextHandler(_swigarg0))
507 static PyObject *_wrap_wxEvtHandler_SetNextHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
508 PyObject * _resultobj;
509 wxEvtHandler * _arg0;
510 wxEvtHandler * _arg1;
511 PyObject * _argo0 = 0;
512 PyObject * _argo1 = 0;
513 char *_kwnames[] = { "self","handler", NULL };
514
515 self = self;
516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEvtHandler_SetNextHandler",_kwnames,&_argo0,&_argo1))
517 return NULL;
518 if (_argo0) {
519 if (_argo0 == Py_None) { _arg0 = NULL; }
520 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
521 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
522 return NULL;
523 }
524 }
525 if (_argo1) {
526 if (_argo1 == Py_None) { _arg1 = NULL; }
527 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
528 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
529 return NULL;
530 }
531 }
532 {
533 PyThreadState* __tstate = wxPyBeginAllowThreads();
534 wxEvtHandler_SetNextHandler(_arg0,_arg1);
535
536 wxPyEndAllowThreads(__tstate);
537 if (PyErr_Occurred()) return NULL;
538 } Py_INCREF(Py_None);
539 _resultobj = Py_None;
540 return _resultobj;
541 }
542
543 #define wxEvtHandler_SetPreviousHandler(_swigobj,_swigarg0) (_swigobj->SetPreviousHandler(_swigarg0))
544 static PyObject *_wrap_wxEvtHandler_SetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
545 PyObject * _resultobj;
546 wxEvtHandler * _arg0;
547 wxEvtHandler * _arg1;
548 PyObject * _argo0 = 0;
549 PyObject * _argo1 = 0;
550 char *_kwnames[] = { "self","handler", NULL };
551
552 self = self;
553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEvtHandler_SetPreviousHandler",_kwnames,&_argo0,&_argo1))
554 return NULL;
555 if (_argo0) {
556 if (_argo0 == Py_None) { _arg0 = NULL; }
557 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
558 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
559 return NULL;
560 }
561 }
562 if (_argo1) {
563 if (_argo1 == Py_None) { _arg1 = NULL; }
564 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
565 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
566 return NULL;
567 }
568 }
569 {
570 PyThreadState* __tstate = wxPyBeginAllowThreads();
571 wxEvtHandler_SetPreviousHandler(_arg0,_arg1);
572
573 wxPyEndAllowThreads(__tstate);
574 if (PyErr_Occurred()) return NULL;
575 } Py_INCREF(Py_None);
576 _resultobj = Py_None;
577 return _resultobj;
578 }
579
580 static void wxEvtHandler_Connect(wxEvtHandler *self,int id,int lastId,int eventType,PyObject * func) {
581 if (PyCallable_Check(func)) {
582 self->Connect(id, lastId, eventType,
583 (wxObjectEventFunction) &wxPyCallback::EventThunker,
584 new wxPyCallback(func));
585 }
586 else if (func == Py_None) {
587 self->Disconnect(id, lastId, eventType,
588 (wxObjectEventFunction)
589 &wxPyCallback::EventThunker);
590 }
591 else {
592 PyErr_SetString(PyExc_TypeError, "Expected callable object or None.");
593 }
594 }
595 static PyObject *_wrap_wxEvtHandler_Connect(PyObject *self, PyObject *args, PyObject *kwargs) {
596 PyObject * _resultobj;
597 wxEvtHandler * _arg0;
598 int _arg1;
599 int _arg2;
600 int _arg3;
601 PyObject * _arg4;
602 PyObject * _argo0 = 0;
603 PyObject * _obj4 = 0;
604 char *_kwnames[] = { "self","id","lastId","eventType","func", NULL };
605
606 self = self;
607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiiO:wxEvtHandler_Connect",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_obj4))
608 return NULL;
609 if (_argo0) {
610 if (_argo0 == Py_None) { _arg0 = NULL; }
611 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
612 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
613 return NULL;
614 }
615 }
616 {
617 _arg4 = _obj4;
618 }
619 {
620 PyThreadState* __tstate = wxPyBeginAllowThreads();
621 wxEvtHandler_Connect(_arg0,_arg1,_arg2,_arg3,_arg4);
622
623 wxPyEndAllowThreads(__tstate);
624 if (PyErr_Occurred()) return NULL;
625 } Py_INCREF(Py_None);
626 _resultobj = Py_None;
627 return _resultobj;
628 }
629
630 static bool wxEvtHandler_Disconnect(wxEvtHandler *self,int id,int lastId,wxEventType eventType) {
631 return self->Disconnect(id, lastId, eventType,
632 (wxObjectEventFunction)
633 &wxPyCallback::EventThunker);
634 }
635 static PyObject *_wrap_wxEvtHandler_Disconnect(PyObject *self, PyObject *args, PyObject *kwargs) {
636 PyObject * _resultobj;
637 bool _result;
638 wxEvtHandler * _arg0;
639 int _arg1;
640 int _arg2 = (int ) -1;
641 wxEventType _arg3 = (wxEventType ) wxEVT_NULL;
642 PyObject * _argo0 = 0;
643 char *_kwnames[] = { "self","id","lastId","eventType", NULL };
644
645 self = self;
646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ii:wxEvtHandler_Disconnect",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
647 return NULL;
648 if (_argo0) {
649 if (_argo0 == Py_None) { _arg0 = NULL; }
650 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
651 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_Disconnect. Expected _wxEvtHandler_p.");
652 return NULL;
653 }
654 }
655 {
656 PyThreadState* __tstate = wxPyBeginAllowThreads();
657 _result = (bool )wxEvtHandler_Disconnect(_arg0,_arg1,_arg2,_arg3);
658
659 wxPyEndAllowThreads(__tstate);
660 if (PyErr_Occurred()) return NULL;
661 } _resultobj = Py_BuildValue("i",_result);
662 return _resultobj;
663 }
664
665 static void wxEvtHandler__setOORInfo(wxEvtHandler *self,PyObject * _self) {
666 self->SetClientObject(new wxPyOORClientData(_self));
667 }
668 static PyObject *_wrap_wxEvtHandler__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
669 PyObject * _resultobj;
670 wxEvtHandler * _arg0;
671 PyObject * _arg1;
672 PyObject * _argo0 = 0;
673 PyObject * _obj1 = 0;
674 char *_kwnames[] = { "self","_self", NULL };
675
676 self = self;
677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEvtHandler__setOORInfo",_kwnames,&_argo0,&_obj1))
678 return NULL;
679 if (_argo0) {
680 if (_argo0 == Py_None) { _arg0 = NULL; }
681 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
682 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler__setOORInfo. Expected _wxEvtHandler_p.");
683 return NULL;
684 }
685 }
686 {
687 _arg1 = _obj1;
688 }
689 {
690 PyThreadState* __tstate = wxPyBeginAllowThreads();
691 wxEvtHandler__setOORInfo(_arg0,_arg1);
692
693 wxPyEndAllowThreads(__tstate);
694 if (PyErr_Occurred()) return NULL;
695 } Py_INCREF(Py_None);
696 _resultobj = Py_None;
697 return _resultobj;
698 }
699
700 static void *SwigwxValidatorTowxEvtHandler(void *ptr) {
701 wxValidator *src;
702 wxEvtHandler *dest;
703 src = (wxValidator *) ptr;
704 dest = (wxEvtHandler *) src;
705 return (void *) dest;
706 }
707
708 static void *SwigwxValidatorTowxObject(void *ptr) {
709 wxValidator *src;
710 wxObject *dest;
711 src = (wxValidator *) ptr;
712 dest = (wxObject *) src;
713 return (void *) dest;
714 }
715
716 #define new_wxValidator() (new wxValidator())
717 static PyObject *_wrap_new_wxValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
718 PyObject * _resultobj;
719 wxValidator * _result;
720 char *_kwnames[] = { NULL };
721 char _ptemp[128];
722
723 self = self;
724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxValidator",_kwnames))
725 return NULL;
726 {
727 PyThreadState* __tstate = wxPyBeginAllowThreads();
728 _result = (wxValidator *)new_wxValidator();
729
730 wxPyEndAllowThreads(__tstate);
731 if (PyErr_Occurred()) return NULL;
732 } if (_result) {
733 SWIG_MakePtr(_ptemp, (char *) _result,"_wxValidator_p");
734 _resultobj = Py_BuildValue("s",_ptemp);
735 } else {
736 Py_INCREF(Py_None);
737 _resultobj = Py_None;
738 }
739 return _resultobj;
740 }
741
742 #define wxValidator_Clone(_swigobj) (_swigobj->Clone())
743 static PyObject *_wrap_wxValidator_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
744 PyObject * _resultobj;
745 wxValidator * _result;
746 wxValidator * _arg0;
747 PyObject * _argo0 = 0;
748 char *_kwnames[] = { "self", NULL };
749
750 self = self;
751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxValidator_Clone",_kwnames,&_argo0))
752 return NULL;
753 if (_argo0) {
754 if (_argo0 == Py_None) { _arg0 = NULL; }
755 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxValidator_p")) {
756 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxValidator_Clone. Expected _wxValidator_p.");
757 return NULL;
758 }
759 }
760 {
761 PyThreadState* __tstate = wxPyBeginAllowThreads();
762 _result = (wxValidator *)wxValidator_Clone(_arg0);
763
764 wxPyEndAllowThreads(__tstate);
765 if (PyErr_Occurred()) return NULL;
766 }{ _resultobj = wxPyMake_wxObject(_result); }
767 return _resultobj;
768 }
769
770 #define wxValidator_GetWindow(_swigobj) (_swigobj->GetWindow())
771 static PyObject *_wrap_wxValidator_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
772 PyObject * _resultobj;
773 wxWindow * _result;
774 wxValidator * _arg0;
775 PyObject * _argo0 = 0;
776 char *_kwnames[] = { "self", NULL };
777
778 self = self;
779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxValidator_GetWindow",_kwnames,&_argo0))
780 return NULL;
781 if (_argo0) {
782 if (_argo0 == Py_None) { _arg0 = NULL; }
783 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxValidator_p")) {
784 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxValidator_GetWindow. Expected _wxValidator_p.");
785 return NULL;
786 }
787 }
788 {
789 PyThreadState* __tstate = wxPyBeginAllowThreads();
790 _result = (wxWindow *)wxValidator_GetWindow(_arg0);
791
792 wxPyEndAllowThreads(__tstate);
793 if (PyErr_Occurred()) return NULL;
794 }{ _resultobj = wxPyMake_wxObject(_result); }
795 return _resultobj;
796 }
797
798 #define wxValidator_SetWindow(_swigobj,_swigarg0) (_swigobj->SetWindow(_swigarg0))
799 static PyObject *_wrap_wxValidator_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
800 PyObject * _resultobj;
801 wxValidator * _arg0;
802 wxWindow * _arg1;
803 PyObject * _argo0 = 0;
804 PyObject * _argo1 = 0;
805 char *_kwnames[] = { "self","window", NULL };
806
807 self = self;
808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxValidator_SetWindow",_kwnames,&_argo0,&_argo1))
809 return NULL;
810 if (_argo0) {
811 if (_argo0 == Py_None) { _arg0 = NULL; }
812 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxValidator_p")) {
813 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxValidator_SetWindow. Expected _wxValidator_p.");
814 return NULL;
815 }
816 }
817 if (_argo1) {
818 if (_argo1 == Py_None) { _arg1 = NULL; }
819 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
820 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxValidator_SetWindow. Expected _wxWindow_p.");
821 return NULL;
822 }
823 }
824 {
825 PyThreadState* __tstate = wxPyBeginAllowThreads();
826 wxValidator_SetWindow(_arg0,_arg1);
827
828 wxPyEndAllowThreads(__tstate);
829 if (PyErr_Occurred()) return NULL;
830 } Py_INCREF(Py_None);
831 _resultobj = Py_None;
832 return _resultobj;
833 }
834
835 static PyObject *_wrap_wxValidator_IsSilent(PyObject *self, PyObject *args, PyObject *kwargs) {
836 PyObject * _resultobj;
837 bool _result;
838 char *_kwnames[] = { NULL };
839
840 self = self;
841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxValidator_IsSilent",_kwnames))
842 return NULL;
843 {
844 PyThreadState* __tstate = wxPyBeginAllowThreads();
845 _result = (bool )wxValidator::IsSilent();
846
847 wxPyEndAllowThreads(__tstate);
848 if (PyErr_Occurred()) return NULL;
849 } _resultobj = Py_BuildValue("i",_result);
850 return _resultobj;
851 }
852
853 static PyObject *_wrap_wxValidator_SetBellOnError(PyObject *self, PyObject *args, PyObject *kwargs) {
854 PyObject * _resultobj;
855 int _arg0 = (int ) TRUE;
856 char *_kwnames[] = { "doIt", NULL };
857
858 self = self;
859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:wxValidator_SetBellOnError",_kwnames,&_arg0))
860 return NULL;
861 {
862 PyThreadState* __tstate = wxPyBeginAllowThreads();
863 wxValidator::SetBellOnError(_arg0);
864
865 wxPyEndAllowThreads(__tstate);
866 if (PyErr_Occurred()) return NULL;
867 } Py_INCREF(Py_None);
868 _resultobj = Py_None;
869 return _resultobj;
870 }
871
872 static void *SwigwxPyValidatorTowxValidator(void *ptr) {
873 wxPyValidator *src;
874 wxValidator *dest;
875 src = (wxPyValidator *) ptr;
876 dest = (wxValidator *) src;
877 return (void *) dest;
878 }
879
880 static void *SwigwxPyValidatorTowxEvtHandler(void *ptr) {
881 wxPyValidator *src;
882 wxEvtHandler *dest;
883 src = (wxPyValidator *) ptr;
884 dest = (wxEvtHandler *) src;
885 return (void *) dest;
886 }
887
888 static void *SwigwxPyValidatorTowxObject(void *ptr) {
889 wxPyValidator *src;
890 wxObject *dest;
891 src = (wxPyValidator *) ptr;
892 dest = (wxObject *) src;
893 return (void *) dest;
894 }
895
896 #define new_wxPyValidator() (new wxPyValidator())
897 static PyObject *_wrap_new_wxPyValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
898 PyObject * _resultobj;
899 wxPyValidator * _result;
900 char *_kwnames[] = { NULL };
901 char _ptemp[128];
902
903 self = self;
904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyValidator",_kwnames))
905 return NULL;
906 {
907 PyThreadState* __tstate = wxPyBeginAllowThreads();
908 _result = (wxPyValidator *)new_wxPyValidator();
909
910 wxPyEndAllowThreads(__tstate);
911 if (PyErr_Occurred()) return NULL;
912 } if (_result) {
913 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyValidator_p");
914 _resultobj = Py_BuildValue("s",_ptemp);
915 } else {
916 Py_INCREF(Py_None);
917 _resultobj = Py_None;
918 }
919 return _resultobj;
920 }
921
922 #define wxPyValidator__setCallbackInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1,_swigarg2))
923 static PyObject *_wrap_wxPyValidator__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
924 PyObject * _resultobj;
925 wxPyValidator * _arg0;
926 PyObject * _arg1;
927 PyObject * _arg2;
928 int _arg3 = (int ) TRUE;
929 PyObject * _argo0 = 0;
930 PyObject * _obj1 = 0;
931 PyObject * _obj2 = 0;
932 char *_kwnames[] = { "self","self","_class","incref", NULL };
933
934 self = self;
935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|i:wxPyValidator__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2,&_arg3))
936 return NULL;
937 if (_argo0) {
938 if (_argo0 == Py_None) { _arg0 = NULL; }
939 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyValidator_p")) {
940 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyValidator__setCallbackInfo. Expected _wxPyValidator_p.");
941 return NULL;
942 }
943 }
944 {
945 _arg1 = _obj1;
946 }
947 {
948 _arg2 = _obj2;
949 }
950 {
951 PyThreadState* __tstate = wxPyBeginAllowThreads();
952 wxPyValidator__setCallbackInfo(_arg0,_arg1,_arg2,_arg3);
953
954 wxPyEndAllowThreads(__tstate);
955 if (PyErr_Occurred()) return NULL;
956 } Py_INCREF(Py_None);
957 _resultobj = Py_None;
958 return _resultobj;
959 }
960
961 static void *SwigwxWindowTowxEvtHandler(void *ptr) {
962 wxWindow *src;
963 wxEvtHandler *dest;
964 src = (wxWindow *) ptr;
965 dest = (wxEvtHandler *) src;
966 return (void *) dest;
967 }
968
969 static void *SwigwxWindowTowxObject(void *ptr) {
970 wxWindow *src;
971 wxObject *dest;
972 src = (wxWindow *) ptr;
973 dest = (wxObject *) src;
974 return (void *) dest;
975 }
976
977 #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
978 static PyObject *_wrap_new_wxWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
979 PyObject * _resultobj;
980 wxWindow * _result;
981 wxWindow * _arg0;
982 wxWindowID _arg1;
983 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
984 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
985 long _arg4 = (long ) 0;
986 wxString * _arg5 = (wxString *) &wxPyPanelNameStr;
987 PyObject * _argo0 = 0;
988 wxPoint temp;
989 PyObject * _obj2 = 0;
990 wxSize temp0;
991 PyObject * _obj3 = 0;
992 PyObject * _obj5 = 0;
993 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
994 char _ptemp[128];
995
996 self = self;
997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
998 return NULL;
999 if (_argo0) {
1000 if (_argo0 == Py_None) { _arg0 = NULL; }
1001 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1002 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
1003 return NULL;
1004 }
1005 }
1006 if (_obj2)
1007 {
1008 _arg2 = &temp;
1009 if (! wxPoint_helper(_obj2, &_arg2))
1010 return NULL;
1011 }
1012 if (_obj3)
1013 {
1014 _arg3 = &temp0;
1015 if (! wxSize_helper(_obj3, &_arg3))
1016 return NULL;
1017 }
1018 if (_obj5)
1019 {
1020 _arg5 = wxString_in_helper(_obj5);
1021 if (_arg5 == NULL)
1022 return NULL;
1023 }
1024 {
1025 PyThreadState* __tstate = wxPyBeginAllowThreads();
1026 _result = (wxWindow *)new_wxWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
1027
1028 wxPyEndAllowThreads(__tstate);
1029 if (PyErr_Occurred()) return NULL;
1030 } if (_result) {
1031 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
1032 _resultobj = Py_BuildValue("s",_ptemp);
1033 } else {
1034 Py_INCREF(Py_None);
1035 _resultobj = Py_None;
1036 }
1037 {
1038 if (_obj5)
1039 delete _arg5;
1040 }
1041 return _resultobj;
1042 }
1043
1044 #define new_wxPreWindow() (new wxWindow())
1045 static PyObject *_wrap_new_wxPreWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1046 PyObject * _resultobj;
1047 wxWindow * _result;
1048 char *_kwnames[] = { NULL };
1049 char _ptemp[128];
1050
1051 self = self;
1052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreWindow",_kwnames))
1053 return NULL;
1054 {
1055 PyThreadState* __tstate = wxPyBeginAllowThreads();
1056 _result = (wxWindow *)new_wxPreWindow();
1057
1058 wxPyEndAllowThreads(__tstate);
1059 if (PyErr_Occurred()) return NULL;
1060 } if (_result) {
1061 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
1062 _resultobj = Py_BuildValue("s",_ptemp);
1063 } else {
1064 Py_INCREF(Py_None);
1065 _resultobj = Py_None;
1066 }
1067 return _resultobj;
1068 }
1069
1070 #define wxWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1071 static PyObject *_wrap_wxWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1072 PyObject * _resultobj;
1073 bool _result;
1074 wxWindow * _arg0;
1075 wxWindow * _arg1;
1076 wxWindowID _arg2;
1077 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
1078 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1079 long _arg5 = (long ) 0;
1080 wxString * _arg6 = (wxString *) &wxPyPanelNameStr;
1081 PyObject * _argo0 = 0;
1082 PyObject * _argo1 = 0;
1083 wxPoint temp;
1084 PyObject * _obj3 = 0;
1085 wxSize temp0;
1086 PyObject * _obj4 = 0;
1087 PyObject * _obj6 = 0;
1088 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
1089
1090 self = self;
1091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOlO:wxWindow_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
1092 return NULL;
1093 if (_argo0) {
1094 if (_argo0 == Py_None) { _arg0 = NULL; }
1095 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1096 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Create. Expected _wxWindow_p.");
1097 return NULL;
1098 }
1099 }
1100 if (_argo1) {
1101 if (_argo1 == Py_None) { _arg1 = NULL; }
1102 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1103 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_Create. Expected _wxWindow_p.");
1104 return NULL;
1105 }
1106 }
1107 if (_obj3)
1108 {
1109 _arg3 = &temp;
1110 if (! wxPoint_helper(_obj3, &_arg3))
1111 return NULL;
1112 }
1113 if (_obj4)
1114 {
1115 _arg4 = &temp0;
1116 if (! wxSize_helper(_obj4, &_arg4))
1117 return NULL;
1118 }
1119 if (_obj6)
1120 {
1121 _arg6 = wxString_in_helper(_obj6);
1122 if (_arg6 == NULL)
1123 return NULL;
1124 }
1125 {
1126 PyThreadState* __tstate = wxPyBeginAllowThreads();
1127 _result = (bool )wxWindow_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
1128
1129 wxPyEndAllowThreads(__tstate);
1130 if (PyErr_Occurred()) return NULL;
1131 } _resultobj = Py_BuildValue("i",_result);
1132 {
1133 if (_obj6)
1134 delete _arg6;
1135 }
1136 return _resultobj;
1137 }
1138
1139 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
1140 static PyObject *_wrap_wxWindow_Center(PyObject *self, PyObject *args, PyObject *kwargs) {
1141 PyObject * _resultobj;
1142 wxWindow * _arg0;
1143 int _arg1 = (int ) wxBOTH;
1144 PyObject * _argo0 = 0;
1145 char *_kwnames[] = { "self","direction", NULL };
1146
1147 self = self;
1148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_Center",_kwnames,&_argo0,&_arg1))
1149 return NULL;
1150 if (_argo0) {
1151 if (_argo0 == Py_None) { _arg0 = NULL; }
1152 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1153 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
1154 return NULL;
1155 }
1156 }
1157 {
1158 PyThreadState* __tstate = wxPyBeginAllowThreads();
1159 wxWindow_Center(_arg0,_arg1);
1160
1161 wxPyEndAllowThreads(__tstate);
1162 if (PyErr_Occurred()) return NULL;
1163 } Py_INCREF(Py_None);
1164 _resultobj = Py_None;
1165 return _resultobj;
1166 }
1167
1168 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
1169 static PyObject *_wrap_wxWindow_Centre(PyObject *self, PyObject *args, PyObject *kwargs) {
1170 PyObject * _resultobj;
1171 wxWindow * _arg0;
1172 int _arg1 = (int ) wxBOTH;
1173 PyObject * _argo0 = 0;
1174 char *_kwnames[] = { "self","direction", NULL };
1175
1176 self = self;
1177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_Centre",_kwnames,&_argo0,&_arg1))
1178 return NULL;
1179 if (_argo0) {
1180 if (_argo0 == Py_None) { _arg0 = NULL; }
1181 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1182 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
1183 return NULL;
1184 }
1185 }
1186 {
1187 PyThreadState* __tstate = wxPyBeginAllowThreads();
1188 wxWindow_Centre(_arg0,_arg1);
1189
1190 wxPyEndAllowThreads(__tstate);
1191 if (PyErr_Occurred()) return NULL;
1192 } Py_INCREF(Py_None);
1193 _resultobj = Py_None;
1194 return _resultobj;
1195 }
1196
1197 #define wxWindow_CentreOnParent(_swigobj,_swigarg0) (_swigobj->CentreOnParent(_swigarg0))
1198 static PyObject *_wrap_wxWindow_CentreOnParent(PyObject *self, PyObject *args, PyObject *kwargs) {
1199 PyObject * _resultobj;
1200 wxWindow * _arg0;
1201 int _arg1 = (int ) wxBOTH;
1202 PyObject * _argo0 = 0;
1203 char *_kwnames[] = { "self","direction", NULL };
1204
1205 self = self;
1206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_CentreOnParent",_kwnames,&_argo0,&_arg1))
1207 return NULL;
1208 if (_argo0) {
1209 if (_argo0 == Py_None) { _arg0 = NULL; }
1210 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1211 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_CentreOnParent. Expected _wxWindow_p.");
1212 return NULL;
1213 }
1214 }
1215 {
1216 PyThreadState* __tstate = wxPyBeginAllowThreads();
1217 wxWindow_CentreOnParent(_arg0,_arg1);
1218
1219 wxPyEndAllowThreads(__tstate);
1220 if (PyErr_Occurred()) return NULL;
1221 } Py_INCREF(Py_None);
1222 _resultobj = Py_None;
1223 return _resultobj;
1224 }
1225
1226 #define wxWindow_CenterOnParent(_swigobj,_swigarg0) (_swigobj->CenterOnParent(_swigarg0))
1227 static PyObject *_wrap_wxWindow_CenterOnParent(PyObject *self, PyObject *args, PyObject *kwargs) {
1228 PyObject * _resultobj;
1229 wxWindow * _arg0;
1230 int _arg1 = (int ) wxBOTH;
1231 PyObject * _argo0 = 0;
1232 char *_kwnames[] = { "self","direction", NULL };
1233
1234 self = self;
1235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_CenterOnParent",_kwnames,&_argo0,&_arg1))
1236 return NULL;
1237 if (_argo0) {
1238 if (_argo0 == Py_None) { _arg0 = NULL; }
1239 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1240 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_CenterOnParent. Expected _wxWindow_p.");
1241 return NULL;
1242 }
1243 }
1244 {
1245 PyThreadState* __tstate = wxPyBeginAllowThreads();
1246 wxWindow_CenterOnParent(_arg0,_arg1);
1247
1248 wxPyEndAllowThreads(__tstate);
1249 if (PyErr_Occurred()) return NULL;
1250 } Py_INCREF(Py_None);
1251 _resultobj = Py_None;
1252 return _resultobj;
1253 }
1254
1255 #define wxWindow_CentreOnScreen(_swigobj,_swigarg0) (_swigobj->CentreOnScreen(_swigarg0))
1256 static PyObject *_wrap_wxWindow_CentreOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
1257 PyObject * _resultobj;
1258 wxWindow * _arg0;
1259 int _arg1 = (int ) wxBOTH;
1260 PyObject * _argo0 = 0;
1261 char *_kwnames[] = { "self","direction", NULL };
1262
1263 self = self;
1264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_CentreOnScreen",_kwnames,&_argo0,&_arg1))
1265 return NULL;
1266 if (_argo0) {
1267 if (_argo0 == Py_None) { _arg0 = NULL; }
1268 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1269 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_CentreOnScreen. Expected _wxWindow_p.");
1270 return NULL;
1271 }
1272 }
1273 {
1274 PyThreadState* __tstate = wxPyBeginAllowThreads();
1275 wxWindow_CentreOnScreen(_arg0,_arg1);
1276
1277 wxPyEndAllowThreads(__tstate);
1278 if (PyErr_Occurred()) return NULL;
1279 } Py_INCREF(Py_None);
1280 _resultobj = Py_None;
1281 return _resultobj;
1282 }
1283
1284 #define wxWindow_CenterOnScreen(_swigobj,_swigarg0) (_swigobj->CenterOnScreen(_swigarg0))
1285 static PyObject *_wrap_wxWindow_CenterOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
1286 PyObject * _resultobj;
1287 wxWindow * _arg0;
1288 int _arg1 = (int ) wxBOTH;
1289 PyObject * _argo0 = 0;
1290 char *_kwnames[] = { "self","direction", NULL };
1291
1292 self = self;
1293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_CenterOnScreen",_kwnames,&_argo0,&_arg1))
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_CenterOnScreen. Expected _wxWindow_p.");
1299 return NULL;
1300 }
1301 }
1302 {
1303 PyThreadState* __tstate = wxPyBeginAllowThreads();
1304 wxWindow_CenterOnScreen(_arg0,_arg1);
1305
1306 wxPyEndAllowThreads(__tstate);
1307 if (PyErr_Occurred()) return NULL;
1308 } Py_INCREF(Py_None);
1309 _resultobj = Py_None;
1310 return _resultobj;
1311 }
1312
1313 #define wxWindow_ClearBackground(_swigobj) (_swigobj->ClearBackground())
1314 static PyObject *_wrap_wxWindow_ClearBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
1315 PyObject * _resultobj;
1316 wxWindow * _arg0;
1317 PyObject * _argo0 = 0;
1318 char *_kwnames[] = { "self", NULL };
1319
1320 self = self;
1321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_ClearBackground",_kwnames,&_argo0))
1322 return NULL;
1323 if (_argo0) {
1324 if (_argo0 == Py_None) { _arg0 = NULL; }
1325 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1326 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ClearBackground. Expected _wxWindow_p.");
1327 return NULL;
1328 }
1329 }
1330 {
1331 PyThreadState* __tstate = wxPyBeginAllowThreads();
1332 wxWindow_ClearBackground(_arg0);
1333
1334 wxPyEndAllowThreads(__tstate);
1335 if (PyErr_Occurred()) return NULL;
1336 } Py_INCREF(Py_None);
1337 _resultobj = Py_None;
1338 return _resultobj;
1339 }
1340
1341 #define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
1342 static PyObject *_wrap_wxWindow_ClientToScreenXY(PyObject *self, PyObject *args, PyObject *kwargs) {
1343 PyObject * _resultobj;
1344 wxWindow * _arg0;
1345 int * _arg1;
1346 int * _arg2;
1347 PyObject * _argo0 = 0;
1348 int temp;
1349 PyObject * _obj1 = 0;
1350 int temp0;
1351 PyObject * _obj2 = 0;
1352 char *_kwnames[] = { "self","x","y", NULL };
1353
1354 self = self;
1355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxWindow_ClientToScreenXY",_kwnames,&_argo0,&_obj1,&_obj2))
1356 return NULL;
1357 if (_argo0) {
1358 if (_argo0 == Py_None) { _arg0 = NULL; }
1359 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1360 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
1361 return NULL;
1362 }
1363 }
1364 {
1365 temp = (int) PyInt_AsLong(_obj1);
1366 _arg1 = &temp;
1367 }
1368 {
1369 temp0 = (int) PyInt_AsLong(_obj2);
1370 _arg2 = &temp0;
1371 }
1372 {
1373 PyThreadState* __tstate = wxPyBeginAllowThreads();
1374 wxWindow_ClientToScreenXY(_arg0,_arg1,_arg2);
1375
1376 wxPyEndAllowThreads(__tstate);
1377 if (PyErr_Occurred()) return NULL;
1378 } Py_INCREF(Py_None);
1379 _resultobj = Py_None;
1380 {
1381 PyObject *o;
1382 o = PyInt_FromLong((long) (*_arg1));
1383 _resultobj = t_output_helper(_resultobj, o);
1384 }
1385 {
1386 PyObject *o;
1387 o = PyInt_FromLong((long) (*_arg2));
1388 _resultobj = t_output_helper(_resultobj, o);
1389 }
1390 return _resultobj;
1391 }
1392
1393 #define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
1394 static PyObject *_wrap_wxWindow_ClientToScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
1395 PyObject * _resultobj;
1396 wxPoint * _result;
1397 wxWindow * _arg0;
1398 wxPoint * _arg1;
1399 PyObject * _argo0 = 0;
1400 wxPoint temp;
1401 PyObject * _obj1 = 0;
1402 char *_kwnames[] = { "self","pt", NULL };
1403 char _ptemp[128];
1404
1405 self = self;
1406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ClientToScreen",_kwnames,&_argo0,&_obj1))
1407 return NULL;
1408 if (_argo0) {
1409 if (_argo0 == Py_None) { _arg0 = NULL; }
1410 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1411 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
1412 return NULL;
1413 }
1414 }
1415 {
1416 _arg1 = &temp;
1417 if (! wxPoint_helper(_obj1, &_arg1))
1418 return NULL;
1419 }
1420 {
1421 PyThreadState* __tstate = wxPyBeginAllowThreads();
1422 _result = new wxPoint (wxWindow_ClientToScreen(_arg0,*_arg1));
1423
1424 wxPyEndAllowThreads(__tstate);
1425 if (PyErr_Occurred()) return NULL;
1426 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
1427 _resultobj = Py_BuildValue("s",_ptemp);
1428 return _resultobj;
1429 }
1430
1431 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
1432 static PyObject *_wrap_wxWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
1433 PyObject * _resultobj;
1434 bool _result;
1435 wxWindow * _arg0;
1436 int _arg1 = (int ) FALSE;
1437 PyObject * _argo0 = 0;
1438 char *_kwnames[] = { "self","force", NULL };
1439
1440 self = self;
1441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_Close",_kwnames,&_argo0,&_arg1))
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_Close. Expected _wxWindow_p.");
1447 return NULL;
1448 }
1449 }
1450 {
1451 PyThreadState* __tstate = wxPyBeginAllowThreads();
1452 _result = (bool )wxWindow_Close(_arg0,_arg1);
1453
1454 wxPyEndAllowThreads(__tstate);
1455 if (PyErr_Occurred()) return NULL;
1456 } _resultobj = Py_BuildValue("i",_result);
1457 return _resultobj;
1458 }
1459
1460 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
1461 static PyObject *_wrap_wxWindow_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
1462 PyObject * _resultobj;
1463 bool _result;
1464 wxWindow * _arg0;
1465 PyObject * _argo0 = 0;
1466 char *_kwnames[] = { "self", NULL };
1467
1468 self = self;
1469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Destroy",_kwnames,&_argo0))
1470 return NULL;
1471 if (_argo0) {
1472 if (_argo0 == Py_None) { _arg0 = NULL; }
1473 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1474 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
1475 return NULL;
1476 }
1477 }
1478 {
1479 PyThreadState* __tstate = wxPyBeginAllowThreads();
1480 _result = (bool )wxWindow_Destroy(_arg0);
1481
1482 wxPyEndAllowThreads(__tstate);
1483 if (PyErr_Occurred()) return NULL;
1484 } _resultobj = Py_BuildValue("i",_result);
1485 return _resultobj;
1486 }
1487
1488 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
1489 static PyObject *_wrap_wxWindow_DestroyChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
1490 PyObject * _resultobj;
1491 wxWindow * _arg0;
1492 PyObject * _argo0 = 0;
1493 char *_kwnames[] = { "self", NULL };
1494
1495 self = self;
1496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_DestroyChildren",_kwnames,&_argo0))
1497 return NULL;
1498 if (_argo0) {
1499 if (_argo0 == Py_None) { _arg0 = NULL; }
1500 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1501 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
1502 return NULL;
1503 }
1504 }
1505 {
1506 PyThreadState* __tstate = wxPyBeginAllowThreads();
1507 wxWindow_DestroyChildren(_arg0);
1508
1509 wxPyEndAllowThreads(__tstate);
1510 if (PyErr_Occurred()) return NULL;
1511 } Py_INCREF(Py_None);
1512 _resultobj = Py_None;
1513 return _resultobj;
1514 }
1515
1516 #define wxWindow_IsBeingDeleted(_swigobj) (_swigobj->IsBeingDeleted())
1517 static PyObject *_wrap_wxWindow_IsBeingDeleted(PyObject *self, PyObject *args, PyObject *kwargs) {
1518 PyObject * _resultobj;
1519 bool _result;
1520 wxWindow * _arg0;
1521 PyObject * _argo0 = 0;
1522 char *_kwnames[] = { "self", NULL };
1523
1524 self = self;
1525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_IsBeingDeleted",_kwnames,&_argo0))
1526 return NULL;
1527 if (_argo0) {
1528 if (_argo0 == Py_None) { _arg0 = NULL; }
1529 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1530 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsBeingDeleted. Expected _wxWindow_p.");
1531 return NULL;
1532 }
1533 }
1534 {
1535 PyThreadState* __tstate = wxPyBeginAllowThreads();
1536 _result = (bool )wxWindow_IsBeingDeleted(_arg0);
1537
1538 wxPyEndAllowThreads(__tstate);
1539 if (PyErr_Occurred()) return NULL;
1540 } _resultobj = Py_BuildValue("i",_result);
1541 return _resultobj;
1542 }
1543
1544 #define wxWindow_DragAcceptFiles(_swigobj,_swigarg0) (_swigobj->DragAcceptFiles(_swigarg0))
1545 static PyObject *_wrap_wxWindow_DragAcceptFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
1546 PyObject * _resultobj;
1547 wxWindow * _arg0;
1548 bool _arg1;
1549 PyObject * _argo0 = 0;
1550 int tempbool1;
1551 char *_kwnames[] = { "self","accept", NULL };
1552
1553 self = self;
1554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_DragAcceptFiles",_kwnames,&_argo0,&tempbool1))
1555 return NULL;
1556 if (_argo0) {
1557 if (_argo0 == Py_None) { _arg0 = NULL; }
1558 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1559 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_DragAcceptFiles. Expected _wxWindow_p.");
1560 return NULL;
1561 }
1562 }
1563 _arg1 = (bool ) tempbool1;
1564 {
1565 PyThreadState* __tstate = wxPyBeginAllowThreads();
1566 wxWindow_DragAcceptFiles(_arg0,_arg1);
1567
1568 wxPyEndAllowThreads(__tstate);
1569 if (PyErr_Occurred()) return NULL;
1570 } Py_INCREF(Py_None);
1571 _resultobj = Py_None;
1572 return _resultobj;
1573 }
1574
1575 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
1576 static PyObject *_wrap_wxWindow_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
1577 PyObject * _resultobj;
1578 wxWindow * _arg0;
1579 bool _arg1;
1580 PyObject * _argo0 = 0;
1581 int tempbool1;
1582 char *_kwnames[] = { "self","enable", NULL };
1583
1584 self = self;
1585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_Enable",_kwnames,&_argo0,&tempbool1))
1586 return NULL;
1587 if (_argo0) {
1588 if (_argo0 == Py_None) { _arg0 = NULL; }
1589 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1590 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
1591 return NULL;
1592 }
1593 }
1594 _arg1 = (bool ) tempbool1;
1595 {
1596 PyThreadState* __tstate = wxPyBeginAllowThreads();
1597 wxWindow_Enable(_arg0,_arg1);
1598
1599 wxPyEndAllowThreads(__tstate);
1600 if (PyErr_Occurred()) return NULL;
1601 } Py_INCREF(Py_None);
1602 _resultobj = Py_None;
1603 return _resultobj;
1604 }
1605
1606 #define wxWindow_Disable(_swigobj) (_swigobj->Disable())
1607 static PyObject *_wrap_wxWindow_Disable(PyObject *self, PyObject *args, PyObject *kwargs) {
1608 PyObject * _resultobj;
1609 wxWindow * _arg0;
1610 PyObject * _argo0 = 0;
1611 char *_kwnames[] = { "self", NULL };
1612
1613 self = self;
1614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Disable",_kwnames,&_argo0))
1615 return NULL;
1616 if (_argo0) {
1617 if (_argo0 == Py_None) { _arg0 = NULL; }
1618 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1619 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Disable. Expected _wxWindow_p.");
1620 return NULL;
1621 }
1622 }
1623 {
1624 PyThreadState* __tstate = wxPyBeginAllowThreads();
1625 wxWindow_Disable(_arg0);
1626
1627 wxPyEndAllowThreads(__tstate);
1628 if (PyErr_Occurred()) return NULL;
1629 } Py_INCREF(Py_None);
1630 _resultobj = Py_None;
1631 return _resultobj;
1632 }
1633
1634 #define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1635 static PyObject *_wrap_wxWindow_FindWindowById(PyObject *self, PyObject *args, PyObject *kwargs) {
1636 PyObject * _resultobj;
1637 wxWindow * _result;
1638 wxWindow * _arg0;
1639 long _arg1;
1640 PyObject * _argo0 = 0;
1641 char *_kwnames[] = { "self","id", NULL };
1642
1643 self = self;
1644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxWindow_FindWindowById",_kwnames,&_argo0,&_arg1))
1645 return NULL;
1646 if (_argo0) {
1647 if (_argo0 == Py_None) { _arg0 = NULL; }
1648 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1649 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
1650 return NULL;
1651 }
1652 }
1653 {
1654 PyThreadState* __tstate = wxPyBeginAllowThreads();
1655 _result = (wxWindow *)wxWindow_FindWindowById(_arg0,_arg1);
1656
1657 wxPyEndAllowThreads(__tstate);
1658 if (PyErr_Occurred()) return NULL;
1659 }{ _resultobj = wxPyMake_wxObject(_result); }
1660 return _resultobj;
1661 }
1662
1663 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1664 static PyObject *_wrap_wxWindow_FindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
1665 PyObject * _resultobj;
1666 wxWindow * _result;
1667 wxWindow * _arg0;
1668 wxString * _arg1;
1669 PyObject * _argo0 = 0;
1670 PyObject * _obj1 = 0;
1671 char *_kwnames[] = { "self","name", NULL };
1672
1673 self = self;
1674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_FindWindowByName",_kwnames,&_argo0,&_obj1))
1675 return NULL;
1676 if (_argo0) {
1677 if (_argo0 == Py_None) { _arg0 = NULL; }
1678 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1679 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
1680 return NULL;
1681 }
1682 }
1683 {
1684 _arg1 = wxString_in_helper(_obj1);
1685 if (_arg1 == NULL)
1686 return NULL;
1687 }
1688 {
1689 PyThreadState* __tstate = wxPyBeginAllowThreads();
1690 _result = (wxWindow *)wxWindow_FindWindowByName(_arg0,*_arg1);
1691
1692 wxPyEndAllowThreads(__tstate);
1693 if (PyErr_Occurred()) return NULL;
1694 }{ _resultobj = wxPyMake_wxObject(_result); }
1695 {
1696 if (_obj1)
1697 delete _arg1;
1698 }
1699 return _resultobj;
1700 }
1701
1702 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
1703 static PyObject *_wrap_wxWindow_Fit(PyObject *self, PyObject *args, PyObject *kwargs) {
1704 PyObject * _resultobj;
1705 wxWindow * _arg0;
1706 PyObject * _argo0 = 0;
1707 char *_kwnames[] = { "self", NULL };
1708
1709 self = self;
1710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Fit",_kwnames,&_argo0))
1711 return NULL;
1712 if (_argo0) {
1713 if (_argo0 == Py_None) { _arg0 = NULL; }
1714 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1715 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
1716 return NULL;
1717 }
1718 }
1719 {
1720 PyThreadState* __tstate = wxPyBeginAllowThreads();
1721 wxWindow_Fit(_arg0);
1722
1723 wxPyEndAllowThreads(__tstate);
1724 if (PyErr_Occurred()) return NULL;
1725 } Py_INCREF(Py_None);
1726 _resultobj = Py_None;
1727 return _resultobj;
1728 }
1729
1730 #define wxWindow_FitInside(_swigobj) (_swigobj->FitInside())
1731 static PyObject *_wrap_wxWindow_FitInside(PyObject *self, PyObject *args, PyObject *kwargs) {
1732 PyObject * _resultobj;
1733 wxWindow * _arg0;
1734 PyObject * _argo0 = 0;
1735 char *_kwnames[] = { "self", NULL };
1736
1737 self = self;
1738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_FitInside",_kwnames,&_argo0))
1739 return NULL;
1740 if (_argo0) {
1741 if (_argo0 == Py_None) { _arg0 = NULL; }
1742 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1743 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_FitInside. Expected _wxWindow_p.");
1744 return NULL;
1745 }
1746 }
1747 {
1748 PyThreadState* __tstate = wxPyBeginAllowThreads();
1749 wxWindow_FitInside(_arg0);
1750
1751 wxPyEndAllowThreads(__tstate);
1752 if (PyErr_Occurred()) return NULL;
1753 } Py_INCREF(Py_None);
1754 _resultobj = Py_None;
1755 return _resultobj;
1756 }
1757
1758 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1759 static PyObject *_wrap_wxWindow_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1760 PyObject * _resultobj;
1761 wxColour * _result;
1762 wxWindow * _arg0;
1763 PyObject * _argo0 = 0;
1764 char *_kwnames[] = { "self", NULL };
1765 char _ptemp[128];
1766
1767 self = self;
1768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetBackgroundColour",_kwnames,&_argo0))
1769 return NULL;
1770 if (_argo0) {
1771 if (_argo0 == Py_None) { _arg0 = NULL; }
1772 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1773 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
1774 return NULL;
1775 }
1776 }
1777 {
1778 PyThreadState* __tstate = wxPyBeginAllowThreads();
1779 _result = new wxColour (wxWindow_GetBackgroundColour(_arg0));
1780
1781 wxPyEndAllowThreads(__tstate);
1782 if (PyErr_Occurred()) return NULL;
1783 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
1784 _resultobj = Py_BuildValue("s",_ptemp);
1785 return _resultobj;
1786 }
1787
1788 static PyObject * wxWindow_GetChildren(wxWindow *self) {
1789 wxWindowList& list = self->GetChildren();
1790 return wxPy_ConvertList(&list, "wxWindow");
1791 }
1792 static PyObject *_wrap_wxWindow_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
1793 PyObject * _resultobj;
1794 PyObject * _result;
1795 wxWindow * _arg0;
1796 PyObject * _argo0 = 0;
1797 char *_kwnames[] = { "self", NULL };
1798
1799 self = self;
1800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetChildren",_kwnames,&_argo0))
1801 return NULL;
1802 if (_argo0) {
1803 if (_argo0 == Py_None) { _arg0 = NULL; }
1804 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1805 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetChildren. Expected _wxWindow_p.");
1806 return NULL;
1807 }
1808 }
1809 {
1810 PyThreadState* __tstate = wxPyBeginAllowThreads();
1811 _result = (PyObject *)wxWindow_GetChildren(_arg0);
1812
1813 wxPyEndAllowThreads(__tstate);
1814 if (PyErr_Occurred()) return NULL;
1815 }{
1816 _resultobj = _result;
1817 }
1818 return _resultobj;
1819 }
1820
1821 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1822 static PyObject *_wrap_wxWindow_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
1823 PyObject * _resultobj;
1824 int _result;
1825 wxWindow * _arg0;
1826 PyObject * _argo0 = 0;
1827 char *_kwnames[] = { "self", NULL };
1828
1829 self = self;
1830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetCharHeight",_kwnames,&_argo0))
1831 return NULL;
1832 if (_argo0) {
1833 if (_argo0 == Py_None) { _arg0 = NULL; }
1834 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1835 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
1836 return NULL;
1837 }
1838 }
1839 {
1840 PyThreadState* __tstate = wxPyBeginAllowThreads();
1841 _result = (int )wxWindow_GetCharHeight(_arg0);
1842
1843 wxPyEndAllowThreads(__tstate);
1844 if (PyErr_Occurred()) return NULL;
1845 } _resultobj = Py_BuildValue("i",_result);
1846 return _resultobj;
1847 }
1848
1849 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1850 static PyObject *_wrap_wxWindow_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1851 PyObject * _resultobj;
1852 int _result;
1853 wxWindow * _arg0;
1854 PyObject * _argo0 = 0;
1855 char *_kwnames[] = { "self", NULL };
1856
1857 self = self;
1858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetCharWidth",_kwnames,&_argo0))
1859 return NULL;
1860 if (_argo0) {
1861 if (_argo0 == Py_None) { _arg0 = NULL; }
1862 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1863 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
1864 return NULL;
1865 }
1866 }
1867 {
1868 PyThreadState* __tstate = wxPyBeginAllowThreads();
1869 _result = (int )wxWindow_GetCharWidth(_arg0);
1870
1871 wxPyEndAllowThreads(__tstate);
1872 if (PyErr_Occurred()) return NULL;
1873 } _resultobj = Py_BuildValue("i",_result);
1874 return _resultobj;
1875 }
1876
1877 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
1878 static PyObject *_wrap_wxWindow_GetClientSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
1879 PyObject * _resultobj;
1880 wxWindow * _arg0;
1881 int * _arg1;
1882 int temp;
1883 int * _arg2;
1884 int temp0;
1885 PyObject * _argo0 = 0;
1886 char *_kwnames[] = { "self", NULL };
1887
1888 self = self;
1889 {
1890 _arg1 = &temp;
1891 }
1892 {
1893 _arg2 = &temp0;
1894 }
1895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetClientSizeTuple",_kwnames,&_argo0))
1896 return NULL;
1897 if (_argo0) {
1898 if (_argo0 == Py_None) { _arg0 = NULL; }
1899 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1900 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
1901 return NULL;
1902 }
1903 }
1904 {
1905 PyThreadState* __tstate = wxPyBeginAllowThreads();
1906 wxWindow_GetClientSizeTuple(_arg0,_arg1,_arg2);
1907
1908 wxPyEndAllowThreads(__tstate);
1909 if (PyErr_Occurred()) return NULL;
1910 } Py_INCREF(Py_None);
1911 _resultobj = Py_None;
1912 {
1913 PyObject *o;
1914 o = PyInt_FromLong((long) (*_arg1));
1915 _resultobj = t_output_helper(_resultobj, o);
1916 }
1917 {
1918 PyObject *o;
1919 o = PyInt_FromLong((long) (*_arg2));
1920 _resultobj = t_output_helper(_resultobj, o);
1921 }
1922 return _resultobj;
1923 }
1924
1925 #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
1926 static PyObject *_wrap_wxWindow_GetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1927 PyObject * _resultobj;
1928 wxSize * _result;
1929 wxWindow * _arg0;
1930 PyObject * _argo0 = 0;
1931 char *_kwnames[] = { "self", NULL };
1932 char _ptemp[128];
1933
1934 self = self;
1935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetClientSize",_kwnames,&_argo0))
1936 return NULL;
1937 if (_argo0) {
1938 if (_argo0 == Py_None) { _arg0 = NULL; }
1939 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1940 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
1941 return NULL;
1942 }
1943 }
1944 {
1945 PyThreadState* __tstate = wxPyBeginAllowThreads();
1946 _result = new wxSize (wxWindow_GetClientSize(_arg0));
1947
1948 wxPyEndAllowThreads(__tstate);
1949 if (PyErr_Occurred()) return NULL;
1950 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1951 _resultobj = Py_BuildValue("s",_ptemp);
1952 return _resultobj;
1953 }
1954
1955 #define wxWindow_GetClientAreaOrigin(_swigobj) (_swigobj->GetClientAreaOrigin())
1956 static PyObject *_wrap_wxWindow_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
1957 PyObject * _resultobj;
1958 wxPoint * _result;
1959 wxWindow * _arg0;
1960 PyObject * _argo0 = 0;
1961 char *_kwnames[] = { "self", NULL };
1962 char _ptemp[128];
1963
1964 self = self;
1965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetClientAreaOrigin",_kwnames,&_argo0))
1966 return NULL;
1967 if (_argo0) {
1968 if (_argo0 == Py_None) { _arg0 = NULL; }
1969 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1970 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetClientAreaOrigin. Expected _wxWindow_p.");
1971 return NULL;
1972 }
1973 }
1974 {
1975 PyThreadState* __tstate = wxPyBeginAllowThreads();
1976 _result = new wxPoint (wxWindow_GetClientAreaOrigin(_arg0));
1977
1978 wxPyEndAllowThreads(__tstate);
1979 if (PyErr_Occurred()) return NULL;
1980 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
1981 _resultobj = Py_BuildValue("s",_ptemp);
1982 return _resultobj;
1983 }
1984
1985 #define wxWindow_GetClientRect(_swigobj) (_swigobj->GetClientRect())
1986 static PyObject *_wrap_wxWindow_GetClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
1987 PyObject * _resultobj;
1988 wxRect * _result;
1989 wxWindow * _arg0;
1990 PyObject * _argo0 = 0;
1991 char *_kwnames[] = { "self", NULL };
1992 char _ptemp[128];
1993
1994 self = self;
1995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetClientRect",_kwnames,&_argo0))
1996 return NULL;
1997 if (_argo0) {
1998 if (_argo0 == Py_None) { _arg0 = NULL; }
1999 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2000 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetClientRect. Expected _wxWindow_p.");
2001 return NULL;
2002 }
2003 }
2004 {
2005 PyThreadState* __tstate = wxPyBeginAllowThreads();
2006 _result = new wxRect (wxWindow_GetClientRect(_arg0));
2007
2008 wxPyEndAllowThreads(__tstate);
2009 if (PyErr_Occurred()) return NULL;
2010 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
2011 _resultobj = Py_BuildValue("s",_ptemp);
2012 return _resultobj;
2013 }
2014
2015 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
2016 static PyObject *_wrap_wxWindow_GetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
2017 PyObject * _resultobj;
2018 wxLayoutConstraints * _result;
2019 wxWindow * _arg0;
2020 PyObject * _argo0 = 0;
2021 char *_kwnames[] = { "self", NULL };
2022 char _ptemp[128];
2023
2024 self = self;
2025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetConstraints",_kwnames,&_argo0))
2026 return NULL;
2027 if (_argo0) {
2028 if (_argo0 == Py_None) { _arg0 = NULL; }
2029 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2030 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
2031 return NULL;
2032 }
2033 }
2034 {
2035 PyThreadState* __tstate = wxPyBeginAllowThreads();
2036 _result = (wxLayoutConstraints *)wxWindow_GetConstraints(_arg0);
2037
2038 wxPyEndAllowThreads(__tstate);
2039 if (PyErr_Occurred()) return NULL;
2040 } if (_result) {
2041 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLayoutConstraints_p");
2042 _resultobj = Py_BuildValue("s",_ptemp);
2043 } else {
2044 Py_INCREF(Py_None);
2045 _resultobj = Py_None;
2046 }
2047 return _resultobj;
2048 }
2049
2050 #define wxWindow_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
2051 static PyObject *_wrap_wxWindow_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
2052 PyObject * _resultobj;
2053 wxEvtHandler * _result;
2054 wxWindow * _arg0;
2055 PyObject * _argo0 = 0;
2056 char *_kwnames[] = { "self", NULL };
2057
2058 self = self;
2059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetEventHandler",_kwnames,&_argo0))
2060 return NULL;
2061 if (_argo0) {
2062 if (_argo0 == Py_None) { _arg0 = NULL; }
2063 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2064 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetEventHandler. Expected _wxWindow_p.");
2065 return NULL;
2066 }
2067 }
2068 {
2069 PyThreadState* __tstate = wxPyBeginAllowThreads();
2070 _result = (wxEvtHandler *)wxWindow_GetEventHandler(_arg0);
2071
2072 wxPyEndAllowThreads(__tstate);
2073 if (PyErr_Occurred()) return NULL;
2074 }{ _resultobj = wxPyMake_wxObject(_result); }
2075 return _resultobj;
2076 }
2077
2078 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
2079 static PyObject *_wrap_wxWindow_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
2080 PyObject * _resultobj;
2081 wxFont * _result;
2082 wxWindow * _arg0;
2083 PyObject * _argo0 = 0;
2084 char *_kwnames[] = { "self", NULL };
2085 char _ptemp[128];
2086
2087 self = self;
2088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetFont",_kwnames,&_argo0))
2089 return NULL;
2090 if (_argo0) {
2091 if (_argo0 == Py_None) { _arg0 = NULL; }
2092 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2093 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
2094 return NULL;
2095 }
2096 }
2097 {
2098 PyThreadState* __tstate = wxPyBeginAllowThreads();
2099 _result = new wxFont (wxWindow_GetFont(_arg0));
2100
2101 wxPyEndAllowThreads(__tstate);
2102 if (PyErr_Occurred()) return NULL;
2103 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
2104 _resultobj = Py_BuildValue("s",_ptemp);
2105 return _resultobj;
2106 }
2107
2108 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
2109 static PyObject *_wrap_wxWindow_GetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
2110 PyObject * _resultobj;
2111 wxColour * _result;
2112 wxWindow * _arg0;
2113 PyObject * _argo0 = 0;
2114 char *_kwnames[] = { "self", NULL };
2115 char _ptemp[128];
2116
2117 self = self;
2118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetForegroundColour",_kwnames,&_argo0))
2119 return NULL;
2120 if (_argo0) {
2121 if (_argo0 == Py_None) { _arg0 = NULL; }
2122 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2123 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
2124 return NULL;
2125 }
2126 }
2127 {
2128 PyThreadState* __tstate = wxPyBeginAllowThreads();
2129 _result = new wxColour (wxWindow_GetForegroundColour(_arg0));
2130
2131 wxPyEndAllowThreads(__tstate);
2132 if (PyErr_Occurred()) return NULL;
2133 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
2134 _resultobj = Py_BuildValue("s",_ptemp);
2135 return _resultobj;
2136 }
2137
2138 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
2139 static PyObject *_wrap_wxWindow_GetGrandParent(PyObject *self, PyObject *args, PyObject *kwargs) {
2140 PyObject * _resultobj;
2141 wxWindow * _result;
2142 wxWindow * _arg0;
2143 PyObject * _argo0 = 0;
2144 char *_kwnames[] = { "self", NULL };
2145
2146 self = self;
2147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetGrandParent",_kwnames,&_argo0))
2148 return NULL;
2149 if (_argo0) {
2150 if (_argo0 == Py_None) { _arg0 = NULL; }
2151 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2152 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
2153 return NULL;
2154 }
2155 }
2156 {
2157 PyThreadState* __tstate = wxPyBeginAllowThreads();
2158 _result = (wxWindow *)wxWindow_GetGrandParent(_arg0);
2159
2160 wxPyEndAllowThreads(__tstate);
2161 if (PyErr_Occurred()) return NULL;
2162 }{ _resultobj = wxPyMake_wxObject(_result); }
2163 return _resultobj;
2164 }
2165
2166 static long wxWindow_GetHandle(wxWindow *self) {
2167 return wxPyGetWinHandle(self); //(long)self->GetHandle();
2168 }
2169 static PyObject *_wrap_wxWindow_GetHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
2170 PyObject * _resultobj;
2171 long _result;
2172 wxWindow * _arg0;
2173 PyObject * _argo0 = 0;
2174 char *_kwnames[] = { "self", NULL };
2175
2176 self = self;
2177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetHandle",_kwnames,&_argo0))
2178 return NULL;
2179 if (_argo0) {
2180 if (_argo0 == Py_None) { _arg0 = NULL; }
2181 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2182 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetHandle. Expected _wxWindow_p.");
2183 return NULL;
2184 }
2185 }
2186 {
2187 PyThreadState* __tstate = wxPyBeginAllowThreads();
2188 _result = (long )wxWindow_GetHandle(_arg0);
2189
2190 wxPyEndAllowThreads(__tstate);
2191 if (PyErr_Occurred()) return NULL;
2192 } _resultobj = Py_BuildValue("l",_result);
2193 return _resultobj;
2194 }
2195
2196 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
2197 static PyObject *_wrap_wxWindow_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
2198 PyObject * _resultobj;
2199 int _result;
2200 wxWindow * _arg0;
2201 PyObject * _argo0 = 0;
2202 char *_kwnames[] = { "self", NULL };
2203
2204 self = self;
2205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetId",_kwnames,&_argo0))
2206 return NULL;
2207 if (_argo0) {
2208 if (_argo0 == Py_None) { _arg0 = NULL; }
2209 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2210 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
2211 return NULL;
2212 }
2213 }
2214 {
2215 PyThreadState* __tstate = wxPyBeginAllowThreads();
2216 _result = (int )wxWindow_GetId(_arg0);
2217
2218 wxPyEndAllowThreads(__tstate);
2219 if (PyErr_Occurred()) return NULL;
2220 } _resultobj = Py_BuildValue("i",_result);
2221 return _resultobj;
2222 }
2223
2224 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
2225 static PyObject *_wrap_wxWindow_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
2226 PyObject * _resultobj;
2227 wxString * _result;
2228 wxWindow * _arg0;
2229 PyObject * _argo0 = 0;
2230 char *_kwnames[] = { "self", NULL };
2231
2232 self = self;
2233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetLabel",_kwnames,&_argo0))
2234 return NULL;
2235 if (_argo0) {
2236 if (_argo0 == Py_None) { _arg0 = NULL; }
2237 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2238 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
2239 return NULL;
2240 }
2241 }
2242 {
2243 PyThreadState* __tstate = wxPyBeginAllowThreads();
2244 _result = new wxString (wxWindow_GetLabel(_arg0));
2245
2246 wxPyEndAllowThreads(__tstate);
2247 if (PyErr_Occurred()) return NULL;
2248 }{
2249 #if wxUSE_UNICODE
2250 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
2251 #else
2252 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
2253 #endif
2254 }
2255 {
2256 delete _result;
2257 }
2258 return _resultobj;
2259 }
2260
2261 #define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
2262 static PyObject *_wrap_wxWindow_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
2263 PyObject * _resultobj;
2264 wxWindow * _arg0;
2265 wxString * _arg1;
2266 PyObject * _argo0 = 0;
2267 PyObject * _obj1 = 0;
2268 char *_kwnames[] = { "self","label", NULL };
2269
2270 self = self;
2271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetLabel",_kwnames,&_argo0,&_obj1))
2272 return NULL;
2273 if (_argo0) {
2274 if (_argo0 == Py_None) { _arg0 = NULL; }
2275 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2276 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
2277 return NULL;
2278 }
2279 }
2280 {
2281 _arg1 = wxString_in_helper(_obj1);
2282 if (_arg1 == NULL)
2283 return NULL;
2284 }
2285 {
2286 PyThreadState* __tstate = wxPyBeginAllowThreads();
2287 wxWindow_SetLabel(_arg0,*_arg1);
2288
2289 wxPyEndAllowThreads(__tstate);
2290 if (PyErr_Occurred()) return NULL;
2291 } Py_INCREF(Py_None);
2292 _resultobj = Py_None;
2293 {
2294 if (_obj1)
2295 delete _arg1;
2296 }
2297 return _resultobj;
2298 }
2299
2300 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
2301 static PyObject *_wrap_wxWindow_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
2302 PyObject * _resultobj;
2303 wxString * _result;
2304 wxWindow * _arg0;
2305 PyObject * _argo0 = 0;
2306 char *_kwnames[] = { "self", NULL };
2307
2308 self = self;
2309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetName",_kwnames,&_argo0))
2310 return NULL;
2311 if (_argo0) {
2312 if (_argo0 == Py_None) { _arg0 = NULL; }
2313 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2314 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
2315 return NULL;
2316 }
2317 }
2318 {
2319 PyThreadState* __tstate = wxPyBeginAllowThreads();
2320 _result = new wxString (wxWindow_GetName(_arg0));
2321
2322 wxPyEndAllowThreads(__tstate);
2323 if (PyErr_Occurred()) return NULL;
2324 }{
2325 #if wxUSE_UNICODE
2326 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
2327 #else
2328 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
2329 #endif
2330 }
2331 {
2332 delete _result;
2333 }
2334 return _resultobj;
2335 }
2336
2337 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
2338 static PyObject *_wrap_wxWindow_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
2339 PyObject * _resultobj;
2340 wxWindow * _result;
2341 wxWindow * _arg0;
2342 PyObject * _argo0 = 0;
2343 char *_kwnames[] = { "self", NULL };
2344
2345 self = self;
2346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetParent",_kwnames,&_argo0))
2347 return NULL;
2348 if (_argo0) {
2349 if (_argo0 == Py_None) { _arg0 = NULL; }
2350 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2351 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
2352 return NULL;
2353 }
2354 }
2355 {
2356 PyThreadState* __tstate = wxPyBeginAllowThreads();
2357 _result = (wxWindow *)wxWindow_GetParent(_arg0);
2358
2359 wxPyEndAllowThreads(__tstate);
2360 if (PyErr_Occurred()) return NULL;
2361 }{ _resultobj = wxPyMake_wxObject(_result); }
2362 return _resultobj;
2363 }
2364
2365 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2366 static PyObject *_wrap_wxWindow_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
2367 PyObject * _resultobj;
2368 wxWindow * _arg0;
2369 int * _arg1;
2370 int temp;
2371 int * _arg2;
2372 int temp0;
2373 PyObject * _argo0 = 0;
2374 char *_kwnames[] = { "self", NULL };
2375
2376 self = self;
2377 {
2378 _arg1 = &temp;
2379 }
2380 {
2381 _arg2 = &temp0;
2382 }
2383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetPositionTuple",_kwnames,&_argo0))
2384 return NULL;
2385 if (_argo0) {
2386 if (_argo0 == Py_None) { _arg0 = NULL; }
2387 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2388 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
2389 return NULL;
2390 }
2391 }
2392 {
2393 PyThreadState* __tstate = wxPyBeginAllowThreads();
2394 wxWindow_GetPositionTuple(_arg0,_arg1,_arg2);
2395
2396 wxPyEndAllowThreads(__tstate);
2397 if (PyErr_Occurred()) return NULL;
2398 } Py_INCREF(Py_None);
2399 _resultobj = Py_None;
2400 {
2401 PyObject *o;
2402 o = PyInt_FromLong((long) (*_arg1));
2403 _resultobj = t_output_helper(_resultobj, o);
2404 }
2405 {
2406 PyObject *o;
2407 o = PyInt_FromLong((long) (*_arg2));
2408 _resultobj = t_output_helper(_resultobj, o);
2409 }
2410 return _resultobj;
2411 }
2412
2413 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
2414 static PyObject *_wrap_wxWindow_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2415 PyObject * _resultobj;
2416 wxPoint * _result;
2417 wxWindow * _arg0;
2418 PyObject * _argo0 = 0;
2419 char *_kwnames[] = { "self", NULL };
2420 char _ptemp[128];
2421
2422 self = self;
2423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetPosition",_kwnames,&_argo0))
2424 return NULL;
2425 if (_argo0) {
2426 if (_argo0 == Py_None) { _arg0 = NULL; }
2427 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2428 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
2429 return NULL;
2430 }
2431 }
2432 {
2433 PyThreadState* __tstate = wxPyBeginAllowThreads();
2434 _result = new wxPoint (wxWindow_GetPosition(_arg0));
2435
2436 wxPyEndAllowThreads(__tstate);
2437 if (PyErr_Occurred()) return NULL;
2438 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2439 _resultobj = Py_BuildValue("s",_ptemp);
2440 return _resultobj;
2441 }
2442
2443 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
2444 static PyObject *_wrap_wxWindow_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2445 PyObject * _resultobj;
2446 wxRect * _result;
2447 wxWindow * _arg0;
2448 PyObject * _argo0 = 0;
2449 char *_kwnames[] = { "self", NULL };
2450 char _ptemp[128];
2451
2452 self = self;
2453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetRect",_kwnames,&_argo0))
2454 return NULL;
2455 if (_argo0) {
2456 if (_argo0 == Py_None) { _arg0 = NULL; }
2457 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2458 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
2459 return NULL;
2460 }
2461 }
2462 {
2463 PyThreadState* __tstate = wxPyBeginAllowThreads();
2464 _result = new wxRect (wxWindow_GetRect(_arg0));
2465
2466 wxPyEndAllowThreads(__tstate);
2467 if (PyErr_Occurred()) return NULL;
2468 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
2469 _resultobj = Py_BuildValue("s",_ptemp);
2470 return _resultobj;
2471 }
2472
2473 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
2474 static PyObject *_wrap_wxWindow_GetScrollThumb(PyObject *self, PyObject *args, PyObject *kwargs) {
2475 PyObject * _resultobj;
2476 int _result;
2477 wxWindow * _arg0;
2478 int _arg1;
2479 PyObject * _argo0 = 0;
2480 char *_kwnames[] = { "self","orientation", NULL };
2481
2482 self = self;
2483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_GetScrollThumb",_kwnames,&_argo0,&_arg1))
2484 return NULL;
2485 if (_argo0) {
2486 if (_argo0 == Py_None) { _arg0 = NULL; }
2487 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2488 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
2489 return NULL;
2490 }
2491 }
2492 {
2493 PyThreadState* __tstate = wxPyBeginAllowThreads();
2494 _result = (int )wxWindow_GetScrollThumb(_arg0,_arg1);
2495
2496 wxPyEndAllowThreads(__tstate);
2497 if (PyErr_Occurred()) return NULL;
2498 } _resultobj = Py_BuildValue("i",_result);
2499 return _resultobj;
2500 }
2501
2502 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
2503 static PyObject *_wrap_wxWindow_GetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
2504 PyObject * _resultobj;
2505 int _result;
2506 wxWindow * _arg0;
2507 int _arg1;
2508 PyObject * _argo0 = 0;
2509 char *_kwnames[] = { "self","orientation", NULL };
2510
2511 self = self;
2512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_GetScrollPos",_kwnames,&_argo0,&_arg1))
2513 return NULL;
2514 if (_argo0) {
2515 if (_argo0 == Py_None) { _arg0 = NULL; }
2516 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2517 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
2518 return NULL;
2519 }
2520 }
2521 {
2522 PyThreadState* __tstate = wxPyBeginAllowThreads();
2523 _result = (int )wxWindow_GetScrollPos(_arg0,_arg1);
2524
2525 wxPyEndAllowThreads(__tstate);
2526 if (PyErr_Occurred()) return NULL;
2527 } _resultobj = Py_BuildValue("i",_result);
2528 return _resultobj;
2529 }
2530
2531 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
2532 static PyObject *_wrap_wxWindow_GetScrollRange(PyObject *self, PyObject *args, PyObject *kwargs) {
2533 PyObject * _resultobj;
2534 int _result;
2535 wxWindow * _arg0;
2536 int _arg1;
2537 PyObject * _argo0 = 0;
2538 char *_kwnames[] = { "self","orientation", NULL };
2539
2540 self = self;
2541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_GetScrollRange",_kwnames,&_argo0,&_arg1))
2542 return NULL;
2543 if (_argo0) {
2544 if (_argo0 == Py_None) { _arg0 = NULL; }
2545 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2546 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
2547 return NULL;
2548 }
2549 }
2550 {
2551 PyThreadState* __tstate = wxPyBeginAllowThreads();
2552 _result = (int )wxWindow_GetScrollRange(_arg0,_arg1);
2553
2554 wxPyEndAllowThreads(__tstate);
2555 if (PyErr_Occurred()) return NULL;
2556 } _resultobj = Py_BuildValue("i",_result);
2557 return _resultobj;
2558 }
2559
2560 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2561 static PyObject *_wrap_wxWindow_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
2562 PyObject * _resultobj;
2563 wxWindow * _arg0;
2564 int * _arg1;
2565 int temp;
2566 int * _arg2;
2567 int temp0;
2568 PyObject * _argo0 = 0;
2569 char *_kwnames[] = { "self", NULL };
2570
2571 self = self;
2572 {
2573 _arg1 = &temp;
2574 }
2575 {
2576 _arg2 = &temp0;
2577 }
2578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetSizeTuple",_kwnames,&_argo0))
2579 return NULL;
2580 if (_argo0) {
2581 if (_argo0 == Py_None) { _arg0 = NULL; }
2582 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2583 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
2584 return NULL;
2585 }
2586 }
2587 {
2588 PyThreadState* __tstate = wxPyBeginAllowThreads();
2589 wxWindow_GetSizeTuple(_arg0,_arg1,_arg2);
2590
2591 wxPyEndAllowThreads(__tstate);
2592 if (PyErr_Occurred()) return NULL;
2593 } Py_INCREF(Py_None);
2594 _resultobj = Py_None;
2595 {
2596 PyObject *o;
2597 o = PyInt_FromLong((long) (*_arg1));
2598 _resultobj = t_output_helper(_resultobj, o);
2599 }
2600 {
2601 PyObject *o;
2602 o = PyInt_FromLong((long) (*_arg2));
2603 _resultobj = t_output_helper(_resultobj, o);
2604 }
2605 return _resultobj;
2606 }
2607
2608 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
2609 static PyObject *_wrap_wxWindow_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2610 PyObject * _resultobj;
2611 wxSize * _result;
2612 wxWindow * _arg0;
2613 PyObject * _argo0 = 0;
2614 char *_kwnames[] = { "self", NULL };
2615 char _ptemp[128];
2616
2617 self = self;
2618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetSize",_kwnames,&_argo0))
2619 return NULL;
2620 if (_argo0) {
2621 if (_argo0 == Py_None) { _arg0 = NULL; }
2622 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2623 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
2624 return NULL;
2625 }
2626 }
2627 {
2628 PyThreadState* __tstate = wxPyBeginAllowThreads();
2629 _result = new wxSize (wxWindow_GetSize(_arg0));
2630
2631 wxPyEndAllowThreads(__tstate);
2632 if (PyErr_Occurred()) return NULL;
2633 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
2634 _resultobj = Py_BuildValue("s",_ptemp);
2635 return _resultobj;
2636 }
2637
2638 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
2639 static PyObject *_wrap_wxWindow_GetTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
2640 PyObject * _resultobj;
2641 wxWindow * _arg0;
2642 wxString * _arg1;
2643 int * _arg2;
2644 int temp;
2645 int * _arg3;
2646 int temp0;
2647 PyObject * _argo0 = 0;
2648 PyObject * _obj1 = 0;
2649 char *_kwnames[] = { "self","string", NULL };
2650
2651 self = self;
2652 {
2653 _arg2 = &temp;
2654 }
2655 {
2656 _arg3 = &temp0;
2657 }
2658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_GetTextExtent",_kwnames,&_argo0,&_obj1))
2659 return NULL;
2660 if (_argo0) {
2661 if (_argo0 == Py_None) { _arg0 = NULL; }
2662 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2663 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
2664 return NULL;
2665 }
2666 }
2667 {
2668 _arg1 = wxString_in_helper(_obj1);
2669 if (_arg1 == NULL)
2670 return NULL;
2671 }
2672 {
2673 PyThreadState* __tstate = wxPyBeginAllowThreads();
2674 wxWindow_GetTextExtent(_arg0,*_arg1,_arg2,_arg3);
2675
2676 wxPyEndAllowThreads(__tstate);
2677 if (PyErr_Occurred()) return NULL;
2678 } Py_INCREF(Py_None);
2679 _resultobj = Py_None;
2680 {
2681 PyObject *o;
2682 o = PyInt_FromLong((long) (*_arg2));
2683 _resultobj = t_output_helper(_resultobj, o);
2684 }
2685 {
2686 PyObject *o;
2687 o = PyInt_FromLong((long) (*_arg3));
2688 _resultobj = t_output_helper(_resultobj, o);
2689 }
2690 {
2691 if (_obj1)
2692 delete _arg1;
2693 }
2694 return _resultobj;
2695 }
2696
2697 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2698 static PyObject *_wrap_wxWindow_GetFullTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
2699 PyObject * _resultobj;
2700 wxWindow * _arg0;
2701 wxString * _arg1;
2702 int * _arg2;
2703 int temp;
2704 int * _arg3;
2705 int temp0;
2706 int * _arg4;
2707 int temp1;
2708 int * _arg5;
2709 int temp2;
2710 wxFont * _arg6 = (wxFont *) NULL;
2711 PyObject * _argo0 = 0;
2712 PyObject * _obj1 = 0;
2713 PyObject * _argo6 = 0;
2714 char *_kwnames[] = { "self","string","font", NULL };
2715
2716 self = self;
2717 {
2718 _arg2 = &temp;
2719 }
2720 {
2721 _arg3 = &temp0;
2722 }
2723 {
2724 _arg4 = &temp1;
2725 }
2726 {
2727 _arg5 = &temp2;
2728 }
2729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxWindow_GetFullTextExtent",_kwnames,&_argo0,&_obj1,&_argo6))
2730 return NULL;
2731 if (_argo0) {
2732 if (_argo0 == Py_None) { _arg0 = NULL; }
2733 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2734 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
2735 return NULL;
2736 }
2737 }
2738 {
2739 _arg1 = wxString_in_helper(_obj1);
2740 if (_arg1 == NULL)
2741 return NULL;
2742 }
2743 if (_argo6) {
2744 if (_argo6 == Py_None) { _arg6 = NULL; }
2745 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxFont_p")) {
2746 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
2747 return NULL;
2748 }
2749 }
2750 {
2751 PyThreadState* __tstate = wxPyBeginAllowThreads();
2752 wxWindow_GetFullTextExtent(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
2753
2754 wxPyEndAllowThreads(__tstate);
2755 if (PyErr_Occurred()) return NULL;
2756 } Py_INCREF(Py_None);
2757 _resultobj = Py_None;
2758 {
2759 PyObject *o;
2760 o = PyInt_FromLong((long) (*_arg2));
2761 _resultobj = t_output_helper(_resultobj, o);
2762 }
2763 {
2764 PyObject *o;
2765 o = PyInt_FromLong((long) (*_arg3));
2766 _resultobj = t_output_helper(_resultobj, o);
2767 }
2768 {
2769 PyObject *o;
2770 o = PyInt_FromLong((long) (*_arg4));
2771 _resultobj = t_output_helper(_resultobj, o);
2772 }
2773 {
2774 PyObject *o;
2775 o = PyInt_FromLong((long) (*_arg5));
2776 _resultobj = t_output_helper(_resultobj, o);
2777 }
2778 {
2779 if (_obj1)
2780 delete _arg1;
2781 }
2782 return _resultobj;
2783 }
2784
2785 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
2786 static PyObject *_wrap_wxWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2787 PyObject * _resultobj;
2788 wxString * _result;
2789 wxWindow * _arg0;
2790 PyObject * _argo0 = 0;
2791 char *_kwnames[] = { "self", NULL };
2792
2793 self = self;
2794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetTitle",_kwnames,&_argo0))
2795 return NULL;
2796 if (_argo0) {
2797 if (_argo0 == Py_None) { _arg0 = NULL; }
2798 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2799 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
2800 return NULL;
2801 }
2802 }
2803 {
2804 PyThreadState* __tstate = wxPyBeginAllowThreads();
2805 _result = new wxString (wxWindow_GetTitle(_arg0));
2806
2807 wxPyEndAllowThreads(__tstate);
2808 if (PyErr_Occurred()) return NULL;
2809 }{
2810 #if wxUSE_UNICODE
2811 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
2812 #else
2813 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
2814 #endif
2815 }
2816 {
2817 delete _result;
2818 }
2819 return _resultobj;
2820 }
2821
2822 #define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
2823 static PyObject *_wrap_wxWindow_GetUpdateRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
2824 PyObject * _resultobj;
2825 wxRegion * _result;
2826 wxWindow * _arg0;
2827 PyObject * _argo0 = 0;
2828 char *_kwnames[] = { "self", NULL };
2829 char _ptemp[128];
2830
2831 self = self;
2832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetUpdateRegion",_kwnames,&_argo0))
2833 return NULL;
2834 if (_argo0) {
2835 if (_argo0 == Py_None) { _arg0 = NULL; }
2836 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2837 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
2838 return NULL;
2839 }
2840 }
2841 {
2842 PyThreadState* __tstate = wxPyBeginAllowThreads();
2843 _result = new wxRegion (wxWindow_GetUpdateRegion(_arg0));
2844
2845 wxPyEndAllowThreads(__tstate);
2846 if (PyErr_Occurred()) return NULL;
2847 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRegion_p");
2848 _resultobj = Py_BuildValue("s",_ptemp);
2849 return _resultobj;
2850 }
2851
2852 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
2853 static PyObject *_wrap_wxWindow_GetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
2854 PyObject * _resultobj;
2855 long _result;
2856 wxWindow * _arg0;
2857 PyObject * _argo0 = 0;
2858 char *_kwnames[] = { "self", NULL };
2859
2860 self = self;
2861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetWindowStyleFlag",_kwnames,&_argo0))
2862 return NULL;
2863 if (_argo0) {
2864 if (_argo0 == Py_None) { _arg0 = NULL; }
2865 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2866 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
2867 return NULL;
2868 }
2869 }
2870 {
2871 PyThreadState* __tstate = wxPyBeginAllowThreads();
2872 _result = (long )wxWindow_GetWindowStyleFlag(_arg0);
2873
2874 wxPyEndAllowThreads(__tstate);
2875 if (PyErr_Occurred()) return NULL;
2876 } _resultobj = Py_BuildValue("l",_result);
2877 return _resultobj;
2878 }
2879
2880 #define wxWindow_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
2881 static PyObject *_wrap_wxWindow_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
2882 PyObject * _resultobj;
2883 wxWindow * _arg0;
2884 long _arg1;
2885 PyObject * _argo0 = 0;
2886 char *_kwnames[] = { "self","style", NULL };
2887
2888 self = self;
2889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxWindow_SetWindowStyleFlag",_kwnames,&_argo0,&_arg1))
2890 return NULL;
2891 if (_argo0) {
2892 if (_argo0 == Py_None) { _arg0 = NULL; }
2893 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2894 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetWindowStyleFlag. Expected _wxWindow_p.");
2895 return NULL;
2896 }
2897 }
2898 {
2899 PyThreadState* __tstate = wxPyBeginAllowThreads();
2900 wxWindow_SetWindowStyleFlag(_arg0,_arg1);
2901
2902 wxPyEndAllowThreads(__tstate);
2903 if (PyErr_Occurred()) return NULL;
2904 } Py_INCREF(Py_None);
2905 _resultobj = Py_None;
2906 return _resultobj;
2907 }
2908
2909 #define wxWindow_SetWindowStyle(_swigobj,_swigarg0) (_swigobj->SetWindowStyle(_swigarg0))
2910 static PyObject *_wrap_wxWindow_SetWindowStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
2911 PyObject * _resultobj;
2912 wxWindow * _arg0;
2913 long _arg1;
2914 PyObject * _argo0 = 0;
2915 char *_kwnames[] = { "self","style", NULL };
2916
2917 self = self;
2918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxWindow_SetWindowStyle",_kwnames,&_argo0,&_arg1))
2919 return NULL;
2920 if (_argo0) {
2921 if (_argo0 == Py_None) { _arg0 = NULL; }
2922 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2923 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetWindowStyle. Expected _wxWindow_p.");
2924 return NULL;
2925 }
2926 }
2927 {
2928 PyThreadState* __tstate = wxPyBeginAllowThreads();
2929 wxWindow_SetWindowStyle(_arg0,_arg1);
2930
2931 wxPyEndAllowThreads(__tstate);
2932 if (PyErr_Occurred()) return NULL;
2933 } Py_INCREF(Py_None);
2934 _resultobj = Py_None;
2935 return _resultobj;
2936 }
2937
2938 #define wxWindow_HasScrollbar(_swigobj,_swigarg0) (_swigobj->HasScrollbar(_swigarg0))
2939 static PyObject *_wrap_wxWindow_HasScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
2940 PyObject * _resultobj;
2941 bool _result;
2942 wxWindow * _arg0;
2943 int _arg1;
2944 PyObject * _argo0 = 0;
2945 char *_kwnames[] = { "self","orient", NULL };
2946
2947 self = self;
2948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_HasScrollbar",_kwnames,&_argo0,&_arg1))
2949 return NULL;
2950 if (_argo0) {
2951 if (_argo0 == Py_None) { _arg0 = NULL; }
2952 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2953 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_HasScrollbar. Expected _wxWindow_p.");
2954 return NULL;
2955 }
2956 }
2957 {
2958 PyThreadState* __tstate = wxPyBeginAllowThreads();
2959 _result = (bool )wxWindow_HasScrollbar(_arg0,_arg1);
2960
2961 wxPyEndAllowThreads(__tstate);
2962 if (PyErr_Occurred()) return NULL;
2963 } _resultobj = Py_BuildValue("i",_result);
2964 return _resultobj;
2965 }
2966
2967 #define wxWindow_Hide(_swigobj) (_swigobj->Hide())
2968 static PyObject *_wrap_wxWindow_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
2969 PyObject * _resultobj;
2970 bool _result;
2971 wxWindow * _arg0;
2972 PyObject * _argo0 = 0;
2973 char *_kwnames[] = { "self", NULL };
2974
2975 self = self;
2976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Hide",_kwnames,&_argo0))
2977 return NULL;
2978 if (_argo0) {
2979 if (_argo0 == Py_None) { _arg0 = NULL; }
2980 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2981 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
2982 return NULL;
2983 }
2984 }
2985 {
2986 PyThreadState* __tstate = wxPyBeginAllowThreads();
2987 _result = (bool )wxWindow_Hide(_arg0);
2988
2989 wxPyEndAllowThreads(__tstate);
2990 if (PyErr_Occurred()) return NULL;
2991 } _resultobj = Py_BuildValue("i",_result);
2992 return _resultobj;
2993 }
2994
2995 #define wxWindow_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0))
2996 static PyObject *_wrap_wxWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
2997 PyObject * _resultobj;
2998 wxHitTest _result;
2999 wxWindow * _arg0;
3000 wxPoint * _arg1;
3001 PyObject * _argo0 = 0;
3002 wxPoint temp;
3003 PyObject * _obj1 = 0;
3004 char *_kwnames[] = { "self","pt", NULL };
3005
3006 self = self;
3007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_HitTest",_kwnames,&_argo0,&_obj1))
3008 return NULL;
3009 if (_argo0) {
3010 if (_argo0 == Py_None) { _arg0 = NULL; }
3011 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3012 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_HitTest. Expected _wxWindow_p.");
3013 return NULL;
3014 }
3015 }
3016 {
3017 _arg1 = &temp;
3018 if (! wxPoint_helper(_obj1, &_arg1))
3019 return NULL;
3020 }
3021 {
3022 PyThreadState* __tstate = wxPyBeginAllowThreads();
3023 _result = (wxHitTest )wxWindow_HitTest(_arg0,*_arg1);
3024
3025 wxPyEndAllowThreads(__tstate);
3026 if (PyErr_Occurred()) return NULL;
3027 } _resultobj = Py_BuildValue("i",_result);
3028 return _resultobj;
3029 }
3030
3031 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
3032 static PyObject *_wrap_wxWindow_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3033 PyObject * _resultobj;
3034 wxWindow * _arg0;
3035 PyObject * _argo0 = 0;
3036 char *_kwnames[] = { "self", NULL };
3037
3038 self = self;
3039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_InitDialog",_kwnames,&_argo0))
3040 return NULL;
3041 if (_argo0) {
3042 if (_argo0 == Py_None) { _arg0 = NULL; }
3043 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3044 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
3045 return NULL;
3046 }
3047 }
3048 {
3049 PyThreadState* __tstate = wxPyBeginAllowThreads();
3050 wxWindow_InitDialog(_arg0);
3051
3052 wxPyEndAllowThreads(__tstate);
3053 if (PyErr_Occurred()) return NULL;
3054 } Py_INCREF(Py_None);
3055 _resultobj = Py_None;
3056 return _resultobj;
3057 }
3058
3059 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
3060 static PyObject *_wrap_wxWindow_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
3061 PyObject * _resultobj;
3062 bool _result;
3063 wxWindow * _arg0;
3064 PyObject * _argo0 = 0;
3065 char *_kwnames[] = { "self", NULL };
3066
3067 self = self;
3068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_IsEnabled",_kwnames,&_argo0))
3069 return NULL;
3070 if (_argo0) {
3071 if (_argo0 == Py_None) { _arg0 = NULL; }
3072 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3073 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
3074 return NULL;
3075 }
3076 }
3077 {
3078 PyThreadState* __tstate = wxPyBeginAllowThreads();
3079 _result = (bool )wxWindow_IsEnabled(_arg0);
3080
3081 wxPyEndAllowThreads(__tstate);
3082 if (PyErr_Occurred()) return NULL;
3083 } _resultobj = Py_BuildValue("i",_result);
3084 return _resultobj;
3085 }
3086
3087 #define wxWindow_IsExposed(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->IsExposed(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3088 static PyObject *_wrap_wxWindow_IsExposed(PyObject *self, PyObject *args, PyObject *kwargs) {
3089 PyObject * _resultobj;
3090 bool _result;
3091 wxWindow * _arg0;
3092 int _arg1;
3093 int _arg2;
3094 int _arg3 = (int ) 0;
3095 int _arg4 = (int ) 0;
3096 PyObject * _argo0 = 0;
3097 char *_kwnames[] = { "self","x","y","w","h", NULL };
3098
3099 self = self;
3100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|ii:wxWindow_IsExposed",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3101 return NULL;
3102 if (_argo0) {
3103 if (_argo0 == Py_None) { _arg0 = NULL; }
3104 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3105 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsExposed. Expected _wxWindow_p.");
3106 return NULL;
3107 }
3108 }
3109 {
3110 PyThreadState* __tstate = wxPyBeginAllowThreads();
3111 _result = (bool )wxWindow_IsExposed(_arg0,_arg1,_arg2,_arg3,_arg4);
3112
3113 wxPyEndAllowThreads(__tstate);
3114 if (PyErr_Occurred()) return NULL;
3115 } _resultobj = Py_BuildValue("i",_result);
3116 return _resultobj;
3117 }
3118
3119 #define wxWindow_IsExposedPoint(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
3120 static PyObject *_wrap_wxWindow_IsExposedPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3121 PyObject * _resultobj;
3122 bool _result;
3123 wxWindow * _arg0;
3124 wxPoint * _arg1;
3125 PyObject * _argo0 = 0;
3126 wxPoint temp;
3127 PyObject * _obj1 = 0;
3128 char *_kwnames[] = { "self","pt", NULL };
3129
3130 self = self;
3131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_IsExposedPoint",_kwnames,&_argo0,&_obj1))
3132 return NULL;
3133 if (_argo0) {
3134 if (_argo0 == Py_None) { _arg0 = NULL; }
3135 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3136 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsExposedPoint. Expected _wxWindow_p.");
3137 return NULL;
3138 }
3139 }
3140 {
3141 _arg1 = &temp;
3142 if (! wxPoint_helper(_obj1, &_arg1))
3143 return NULL;
3144 }
3145 {
3146 PyThreadState* __tstate = wxPyBeginAllowThreads();
3147 _result = (bool )wxWindow_IsExposedPoint(_arg0,*_arg1);
3148
3149 wxPyEndAllowThreads(__tstate);
3150 if (PyErr_Occurred()) return NULL;
3151 } _resultobj = Py_BuildValue("i",_result);
3152 return _resultobj;
3153 }
3154
3155 #define wxWindow_IsExposedRect(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
3156 static PyObject *_wrap_wxWindow_IsExposedRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3157 PyObject * _resultobj;
3158 bool _result;
3159 wxWindow * _arg0;
3160 wxRect * _arg1;
3161 PyObject * _argo0 = 0;
3162 wxRect temp;
3163 PyObject * _obj1 = 0;
3164 char *_kwnames[] = { "self","rect", NULL };
3165
3166 self = self;
3167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_IsExposedRect",_kwnames,&_argo0,&_obj1))
3168 return NULL;
3169 if (_argo0) {
3170 if (_argo0 == Py_None) { _arg0 = NULL; }
3171 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3172 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsExposedRect. Expected _wxWindow_p.");
3173 return NULL;
3174 }
3175 }
3176 {
3177 _arg1 = &temp;
3178 if (! wxRect_helper(_obj1, &_arg1))
3179 return NULL;
3180 }
3181 {
3182 PyThreadState* __tstate = wxPyBeginAllowThreads();
3183 _result = (bool )wxWindow_IsExposedRect(_arg0,*_arg1);
3184
3185 wxPyEndAllowThreads(__tstate);
3186 if (PyErr_Occurred()) return NULL;
3187 } _resultobj = Py_BuildValue("i",_result);
3188 return _resultobj;
3189 }
3190
3191 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
3192 static PyObject *_wrap_wxWindow_IsRetained(PyObject *self, PyObject *args, PyObject *kwargs) {
3193 PyObject * _resultobj;
3194 bool _result;
3195 wxWindow * _arg0;
3196 PyObject * _argo0 = 0;
3197 char *_kwnames[] = { "self", NULL };
3198
3199 self = self;
3200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_IsRetained",_kwnames,&_argo0))
3201 return NULL;
3202 if (_argo0) {
3203 if (_argo0 == Py_None) { _arg0 = NULL; }
3204 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3205 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
3206 return NULL;
3207 }
3208 }
3209 {
3210 PyThreadState* __tstate = wxPyBeginAllowThreads();
3211 _result = (bool )wxWindow_IsRetained(_arg0);
3212
3213 wxPyEndAllowThreads(__tstate);
3214 if (PyErr_Occurred()) return NULL;
3215 } _resultobj = Py_BuildValue("i",_result);
3216 return _resultobj;
3217 }
3218
3219 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
3220 static PyObject *_wrap_wxWindow_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
3221 PyObject * _resultobj;
3222 bool _result;
3223 wxWindow * _arg0;
3224 PyObject * _argo0 = 0;
3225 char *_kwnames[] = { "self", NULL };
3226
3227 self = self;
3228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_IsShown",_kwnames,&_argo0))
3229 return NULL;
3230 if (_argo0) {
3231 if (_argo0 == Py_None) { _arg0 = NULL; }
3232 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3233 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
3234 return NULL;
3235 }
3236 }
3237 {
3238 PyThreadState* __tstate = wxPyBeginAllowThreads();
3239 _result = (bool )wxWindow_IsShown(_arg0);
3240
3241 wxPyEndAllowThreads(__tstate);
3242 if (PyErr_Occurred()) return NULL;
3243 } _resultobj = Py_BuildValue("i",_result);
3244 return _resultobj;
3245 }
3246
3247 #define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
3248 static PyObject *_wrap_wxWindow_IsTopLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
3249 PyObject * _resultobj;
3250 bool _result;
3251 wxWindow * _arg0;
3252 PyObject * _argo0 = 0;
3253 char *_kwnames[] = { "self", NULL };
3254
3255 self = self;
3256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_IsTopLevel",_kwnames,&_argo0))
3257 return NULL;
3258 if (_argo0) {
3259 if (_argo0 == Py_None) { _arg0 = NULL; }
3260 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3261 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
3262 return NULL;
3263 }
3264 }
3265 {
3266 PyThreadState* __tstate = wxPyBeginAllowThreads();
3267 _result = (bool )wxWindow_IsTopLevel(_arg0);
3268
3269 wxPyEndAllowThreads(__tstate);
3270 if (PyErr_Occurred()) return NULL;
3271 } _resultobj = Py_BuildValue("i",_result);
3272 return _resultobj;
3273 }
3274
3275 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
3276 static PyObject *_wrap_wxWindow_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
3277 PyObject * _resultobj;
3278 wxWindow * _arg0;
3279 PyObject * _argo0 = 0;
3280 char *_kwnames[] = { "self", NULL };
3281
3282 self = self;
3283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Layout",_kwnames,&_argo0))
3284 return NULL;
3285 if (_argo0) {
3286 if (_argo0 == Py_None) { _arg0 = NULL; }
3287 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3288 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
3289 return NULL;
3290 }
3291 }
3292 {
3293 PyThreadState* __tstate = wxPyBeginAllowThreads();
3294 wxWindow_Layout(_arg0);
3295
3296 wxPyEndAllowThreads(__tstate);
3297 if (PyErr_Occurred()) return NULL;
3298 } Py_INCREF(Py_None);
3299 _resultobj = Py_None;
3300 return _resultobj;
3301 }
3302
3303 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
3304 static PyObject *_wrap_wxWindow_Lower(PyObject *self, PyObject *args, PyObject *kwargs) {
3305 PyObject * _resultobj;
3306 wxWindow * _arg0;
3307 PyObject * _argo0 = 0;
3308 char *_kwnames[] = { "self", NULL };
3309
3310 self = self;
3311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Lower",_kwnames,&_argo0))
3312 return NULL;
3313 if (_argo0) {
3314 if (_argo0 == Py_None) { _arg0 = NULL; }
3315 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3316 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
3317 return NULL;
3318 }
3319 }
3320 {
3321 PyThreadState* __tstate = wxPyBeginAllowThreads();
3322 wxWindow_Lower(_arg0);
3323
3324 wxPyEndAllowThreads(__tstate);
3325 if (PyErr_Occurred()) return NULL;
3326 } Py_INCREF(Py_None);
3327 _resultobj = Py_None;
3328 return _resultobj;
3329 }
3330
3331 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
3332 static PyObject *_wrap_wxWindow_MakeModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3333 PyObject * _resultobj;
3334 wxWindow * _arg0;
3335 bool _arg1 = (bool ) TRUE;
3336 PyObject * _argo0 = 0;
3337 int tempbool1 = (int) TRUE;
3338 char *_kwnames[] = { "self","flag", NULL };
3339
3340 self = self;
3341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_MakeModal",_kwnames,&_argo0,&tempbool1))
3342 return NULL;
3343 if (_argo0) {
3344 if (_argo0 == Py_None) { _arg0 = NULL; }
3345 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3346 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
3347 return NULL;
3348 }
3349 }
3350 _arg1 = (bool ) tempbool1;
3351 {
3352 PyThreadState* __tstate = wxPyBeginAllowThreads();
3353 wxWindow_MakeModal(_arg0,_arg1);
3354
3355 wxPyEndAllowThreads(__tstate);
3356 if (PyErr_Occurred()) return NULL;
3357 } Py_INCREF(Py_None);
3358 _resultobj = Py_None;
3359 return _resultobj;
3360 }
3361
3362 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Move(_swigarg0,_swigarg1,_swigarg2))
3363 static PyObject *_wrap_wxWindow_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
3364 PyObject * _resultobj;
3365 wxWindow * _arg0;
3366 int _arg1;
3367 int _arg2;
3368 int _arg3 = (int ) wxSIZE_USE_EXISTING;
3369 PyObject * _argo0 = 0;
3370 char *_kwnames[] = { "self","x","y","flags", NULL };
3371
3372 self = self;
3373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxWindow_MoveXY",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
3374 return NULL;
3375 if (_argo0) {
3376 if (_argo0 == Py_None) { _arg0 = NULL; }
3377 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3378 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
3379 return NULL;
3380 }
3381 }
3382 {
3383 PyThreadState* __tstate = wxPyBeginAllowThreads();
3384 wxWindow_MoveXY(_arg0,_arg1,_arg2,_arg3);
3385
3386 wxPyEndAllowThreads(__tstate);
3387 if (PyErr_Occurred()) return NULL;
3388 } Py_INCREF(Py_None);
3389 _resultobj = Py_None;
3390 return _resultobj;
3391 }
3392
3393 #define wxWindow_Move(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
3394 static PyObject *_wrap_wxWindow_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
3395 PyObject * _resultobj;
3396 wxWindow * _arg0;
3397 wxPoint * _arg1;
3398 int _arg2 = (int ) wxSIZE_USE_EXISTING;
3399 PyObject * _argo0 = 0;
3400 wxPoint temp;
3401 PyObject * _obj1 = 0;
3402 char *_kwnames[] = { "self","point","flags", NULL };
3403
3404 self = self;
3405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxWindow_Move",_kwnames,&_argo0,&_obj1,&_arg2))
3406 return NULL;
3407 if (_argo0) {
3408 if (_argo0 == Py_None) { _arg0 = NULL; }
3409 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3410 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
3411 return NULL;
3412 }
3413 }
3414 {
3415 _arg1 = &temp;
3416 if (! wxPoint_helper(_obj1, &_arg1))
3417 return NULL;
3418 }
3419 {
3420 PyThreadState* __tstate = wxPyBeginAllowThreads();
3421 wxWindow_Move(_arg0,*_arg1,_arg2);
3422
3423 wxPyEndAllowThreads(__tstate);
3424 if (PyErr_Occurred()) return NULL;
3425 } Py_INCREF(Py_None);
3426 _resultobj = Py_None;
3427 return _resultobj;
3428 }
3429
3430 #define wxWindow_PopEventHandler(_swigobj,_swigarg0) (_swigobj->PopEventHandler(_swigarg0))
3431 static PyObject *_wrap_wxWindow_PopEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
3432 PyObject * _resultobj;
3433 wxEvtHandler * _result;
3434 wxWindow * _arg0;
3435 bool _arg1 = (bool ) FALSE;
3436 PyObject * _argo0 = 0;
3437 int tempbool1 = (int) FALSE;
3438 char *_kwnames[] = { "self","deleteHandler", NULL };
3439
3440 self = self;
3441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_PopEventHandler",_kwnames,&_argo0,&tempbool1))
3442 return NULL;
3443 if (_argo0) {
3444 if (_argo0 == Py_None) { _arg0 = NULL; }
3445 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3446 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PopEventHandler. Expected _wxWindow_p.");
3447 return NULL;
3448 }
3449 }
3450 _arg1 = (bool ) tempbool1;
3451 {
3452 PyThreadState* __tstate = wxPyBeginAllowThreads();
3453 _result = (wxEvtHandler *)wxWindow_PopEventHandler(_arg0,_arg1);
3454
3455 wxPyEndAllowThreads(__tstate);
3456 if (PyErr_Occurred()) return NULL;
3457 }{ _resultobj = wxPyMake_wxObject(_result); }
3458 return _resultobj;
3459 }
3460
3461 #define wxWindow_PushEventHandler(_swigobj,_swigarg0) (_swigobj->PushEventHandler(_swigarg0))
3462 static PyObject *_wrap_wxWindow_PushEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
3463 PyObject * _resultobj;
3464 wxWindow * _arg0;
3465 wxEvtHandler * _arg1;
3466 PyObject * _argo0 = 0;
3467 PyObject * _argo1 = 0;
3468 char *_kwnames[] = { "self","handler", NULL };
3469
3470 self = self;
3471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_PushEventHandler",_kwnames,&_argo0,&_argo1))
3472 return NULL;
3473 if (_argo0) {
3474 if (_argo0 == Py_None) { _arg0 = NULL; }
3475 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3476 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PushEventHandler. Expected _wxWindow_p.");
3477 return NULL;
3478 }
3479 }
3480 if (_argo1) {
3481 if (_argo1 == Py_None) { _arg1 = NULL; }
3482 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
3483 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_PushEventHandler. Expected _wxEvtHandler_p.");
3484 return NULL;
3485 }
3486 }
3487 {
3488 PyThreadState* __tstate = wxPyBeginAllowThreads();
3489 wxWindow_PushEventHandler(_arg0,_arg1);
3490
3491 wxPyEndAllowThreads(__tstate);
3492 if (PyErr_Occurred()) return NULL;
3493 } Py_INCREF(Py_None);
3494 _resultobj = Py_None;
3495 return _resultobj;
3496 }
3497
3498 #define wxWindow_RemoveEventHandler(_swigobj,_swigarg0) (_swigobj->RemoveEventHandler(_swigarg0))
3499 static PyObject *_wrap_wxWindow_RemoveEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
3500 PyObject * _resultobj;
3501 bool _result;
3502 wxWindow * _arg0;
3503 wxEvtHandler * _arg1;
3504 PyObject * _argo0 = 0;
3505 PyObject * _argo1 = 0;
3506 char *_kwnames[] = { "self","handler", NULL };
3507
3508 self = self;
3509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_RemoveEventHandler",_kwnames,&_argo0,&_argo1))
3510 return NULL;
3511 if (_argo0) {
3512 if (_argo0 == Py_None) { _arg0 = NULL; }
3513 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3514 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_RemoveEventHandler. Expected _wxWindow_p.");
3515 return NULL;
3516 }
3517 }
3518 if (_argo1) {
3519 if (_argo1 == Py_None) { _arg1 = NULL; }
3520 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
3521 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_RemoveEventHandler. Expected _wxEvtHandler_p.");
3522 return NULL;
3523 }
3524 }
3525 {
3526 PyThreadState* __tstate = wxPyBeginAllowThreads();
3527 _result = (bool )wxWindow_RemoveEventHandler(_arg0,_arg1);
3528
3529 wxPyEndAllowThreads(__tstate);
3530 if (PyErr_Occurred()) return NULL;
3531 } _resultobj = Py_BuildValue("i",_result);
3532 return _resultobj;
3533 }
3534
3535 #define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
3536 static PyObject *_wrap_wxWindow_PopupMenuXY(PyObject *self, PyObject *args, PyObject *kwargs) {
3537 PyObject * _resultobj;
3538 bool _result;
3539 wxWindow * _arg0;
3540 wxMenu * _arg1;
3541 int _arg2;
3542 int _arg3;
3543 PyObject * _argo0 = 0;
3544 PyObject * _argo1 = 0;
3545 char *_kwnames[] = { "self","menu","x","y", NULL };
3546
3547 self = self;
3548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxWindow_PopupMenuXY",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
3549 return NULL;
3550 if (_argo0) {
3551 if (_argo0 == Py_None) { _arg0 = NULL; }
3552 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3553 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
3554 return NULL;
3555 }
3556 }
3557 if (_argo1) {
3558 if (_argo1 == Py_None) { _arg1 = NULL; }
3559 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
3560 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
3561 return NULL;
3562 }
3563 }
3564 {
3565 PyThreadState* __tstate = wxPyBeginAllowThreads();
3566 _result = (bool )wxWindow_PopupMenuXY(_arg0,_arg1,_arg2,_arg3);
3567
3568 wxPyEndAllowThreads(__tstate);
3569 if (PyErr_Occurred()) return NULL;
3570 } _resultobj = Py_BuildValue("i",_result);
3571 return _resultobj;
3572 }
3573
3574 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
3575 static PyObject *_wrap_wxWindow_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
3576 PyObject * _resultobj;
3577 bool _result;
3578 wxWindow * _arg0;
3579 wxMenu * _arg1;
3580 wxPoint * _arg2;
3581 PyObject * _argo0 = 0;
3582 PyObject * _argo1 = 0;
3583 wxPoint temp;
3584 PyObject * _obj2 = 0;
3585 char *_kwnames[] = { "self","menu","pos", NULL };
3586
3587 self = self;
3588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxWindow_PopupMenu",_kwnames,&_argo0,&_argo1,&_obj2))
3589 return NULL;
3590 if (_argo0) {
3591 if (_argo0 == Py_None) { _arg0 = NULL; }
3592 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3593 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
3594 return NULL;
3595 }
3596 }
3597 if (_argo1) {
3598 if (_argo1 == Py_None) { _arg1 = NULL; }
3599 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
3600 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
3601 return NULL;
3602 }
3603 }
3604 {
3605 _arg2 = &temp;
3606 if (! wxPoint_helper(_obj2, &_arg2))
3607 return NULL;
3608 }
3609 {
3610 PyThreadState* __tstate = wxPyBeginAllowThreads();
3611 _result = (bool )wxWindow_PopupMenu(_arg0,_arg1,*_arg2);
3612
3613 wxPyEndAllowThreads(__tstate);
3614 if (PyErr_Occurred()) return NULL;
3615 } _resultobj = Py_BuildValue("i",_result);
3616 return _resultobj;
3617 }
3618
3619 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
3620 static PyObject *_wrap_wxWindow_Raise(PyObject *self, PyObject *args, PyObject *kwargs) {
3621 PyObject * _resultobj;
3622 wxWindow * _arg0;
3623 PyObject * _argo0 = 0;
3624 char *_kwnames[] = { "self", NULL };
3625
3626 self = self;
3627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Raise",_kwnames,&_argo0))
3628 return NULL;
3629 if (_argo0) {
3630 if (_argo0 == Py_None) { _arg0 = NULL; }
3631 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3632 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
3633 return NULL;
3634 }
3635 }
3636 {
3637 PyThreadState* __tstate = wxPyBeginAllowThreads();
3638 wxWindow_Raise(_arg0);
3639
3640 wxPyEndAllowThreads(__tstate);
3641 if (PyErr_Occurred()) return NULL;
3642 } Py_INCREF(Py_None);
3643 _resultobj = Py_None;
3644 return _resultobj;
3645 }
3646
3647 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
3648 static PyObject *_wrap_wxWindow_Refresh(PyObject *self, PyObject *args, PyObject *kwargs) {
3649 PyObject * _resultobj;
3650 wxWindow * _arg0;
3651 bool _arg1 = (bool ) TRUE;
3652 wxRect * _arg2 = (wxRect *) NULL;
3653 PyObject * _argo0 = 0;
3654 int tempbool1 = (int) TRUE;
3655 wxRect temp;
3656 PyObject * _obj2 = 0;
3657 char *_kwnames[] = { "self","eraseBackground","rect", NULL };
3658
3659 self = self;
3660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iO:wxWindow_Refresh",_kwnames,&_argo0,&tempbool1,&_obj2))
3661 return NULL;
3662 if (_argo0) {
3663 if (_argo0 == Py_None) { _arg0 = NULL; }
3664 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3665 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
3666 return NULL;
3667 }
3668 }
3669 _arg1 = (bool ) tempbool1;
3670 if (_obj2)
3671 {
3672 _arg2 = &temp;
3673 if (! wxRect_helper(_obj2, &_arg2))
3674 return NULL;
3675 }
3676 {
3677 PyThreadState* __tstate = wxPyBeginAllowThreads();
3678 wxWindow_Refresh(_arg0,_arg1,_arg2);
3679
3680 wxPyEndAllowThreads(__tstate);
3681 if (PyErr_Occurred()) return NULL;
3682 } Py_INCREF(Py_None);
3683 _resultobj = Py_None;
3684 return _resultobj;
3685 }
3686
3687 #define wxWindow_RefreshRect(_swigobj,_swigarg0) (_swigobj->RefreshRect(_swigarg0))
3688 static PyObject *_wrap_wxWindow_RefreshRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3689 PyObject * _resultobj;
3690 wxWindow * _arg0;
3691 wxRect * _arg1;
3692 PyObject * _argo0 = 0;
3693 wxRect temp;
3694 PyObject * _obj1 = 0;
3695 char *_kwnames[] = { "self","rect", NULL };
3696
3697 self = self;
3698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_RefreshRect",_kwnames,&_argo0,&_obj1))
3699 return NULL;
3700 if (_argo0) {
3701 if (_argo0 == Py_None) { _arg0 = NULL; }
3702 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3703 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_RefreshRect. Expected _wxWindow_p.");
3704 return NULL;
3705 }
3706 }
3707 {
3708 _arg1 = &temp;
3709 if (! wxRect_helper(_obj1, &_arg1))
3710 return NULL;
3711 }
3712 {
3713 PyThreadState* __tstate = wxPyBeginAllowThreads();
3714 wxWindow_RefreshRect(_arg0,*_arg1);
3715
3716 wxPyEndAllowThreads(__tstate);
3717 if (PyErr_Occurred()) return NULL;
3718 } Py_INCREF(Py_None);
3719 _resultobj = Py_None;
3720 return _resultobj;
3721 }
3722
3723 #define wxWindow_AddChild(_swigobj,_swigarg0) (_swigobj->AddChild(_swigarg0))
3724 static PyObject *_wrap_wxWindow_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
3725 PyObject * _resultobj;
3726 wxWindow * _arg0;
3727 wxWindow * _arg1;
3728 PyObject * _argo0 = 0;
3729 PyObject * _argo1 = 0;
3730 char *_kwnames[] = { "self","child", NULL };
3731
3732 self = self;
3733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_AddChild",_kwnames,&_argo0,&_argo1))
3734 return NULL;
3735 if (_argo0) {
3736 if (_argo0 == Py_None) { _arg0 = NULL; }
3737 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3738 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_AddChild. Expected _wxWindow_p.");
3739 return NULL;
3740 }
3741 }
3742 if (_argo1) {
3743 if (_argo1 == Py_None) { _arg1 = NULL; }
3744 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
3745 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_AddChild. Expected _wxWindow_p.");
3746 return NULL;
3747 }
3748 }
3749 {
3750 PyThreadState* __tstate = wxPyBeginAllowThreads();
3751 wxWindow_AddChild(_arg0,_arg1);
3752
3753 wxPyEndAllowThreads(__tstate);
3754 if (PyErr_Occurred()) return NULL;
3755 } Py_INCREF(Py_None);
3756 _resultobj = Py_None;
3757 return _resultobj;
3758 }
3759
3760 #define wxWindow_RemoveChild(_swigobj,_swigarg0) (_swigobj->RemoveChild(_swigarg0))
3761 static PyObject *_wrap_wxWindow_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
3762 PyObject * _resultobj;
3763 wxWindow * _arg0;
3764 wxWindow * _arg1;
3765 PyObject * _argo0 = 0;
3766 PyObject * _argo1 = 0;
3767 char *_kwnames[] = { "self","child", NULL };
3768
3769 self = self;
3770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_RemoveChild",_kwnames,&_argo0,&_argo1))
3771 return NULL;
3772 if (_argo0) {
3773 if (_argo0 == Py_None) { _arg0 = NULL; }
3774 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3775 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3776 return NULL;
3777 }
3778 }
3779 if (_argo1) {
3780 if (_argo1 == Py_None) { _arg1 = NULL; }
3781 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
3782 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3783 return NULL;
3784 }
3785 }
3786 {
3787 PyThreadState* __tstate = wxPyBeginAllowThreads();
3788 wxWindow_RemoveChild(_arg0,_arg1);
3789
3790 wxPyEndAllowThreads(__tstate);
3791 if (PyErr_Occurred()) return NULL;
3792 } Py_INCREF(Py_None);
3793 _resultobj = Py_None;
3794 return _resultobj;
3795 }
3796
3797 #define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
3798 static PyObject *_wrap_wxWindow_Reparent(PyObject *self, PyObject *args, PyObject *kwargs) {
3799 PyObject * _resultobj;
3800 bool _result;
3801 wxWindow * _arg0;
3802 wxWindow * _arg1;
3803 PyObject * _argo0 = 0;
3804 PyObject * _argo1 = 0;
3805 char *_kwnames[] = { "self","newParent", NULL };
3806
3807 self = self;
3808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_Reparent",_kwnames,&_argo0,&_argo1))
3809 return NULL;
3810 if (_argo0) {
3811 if (_argo0 == Py_None) { _arg0 = NULL; }
3812 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3813 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
3814 return NULL;
3815 }
3816 }
3817 if (_argo1) {
3818 if (_argo1 == Py_None) { _arg1 = NULL; }
3819 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
3820 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
3821 return NULL;
3822 }
3823 }
3824 {
3825 PyThreadState* __tstate = wxPyBeginAllowThreads();
3826 _result = (bool )wxWindow_Reparent(_arg0,_arg1);
3827
3828 wxPyEndAllowThreads(__tstate);
3829 if (PyErr_Occurred()) return NULL;
3830 } _resultobj = Py_BuildValue("i",_result);
3831 return _resultobj;
3832 }
3833
3834 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
3835 static PyObject *_wrap_wxWindow_ScreenToClientXY(PyObject *self, PyObject *args, PyObject *kwargs) {
3836 PyObject * _resultobj;
3837 wxWindow * _arg0;
3838 int * _arg1;
3839 int * _arg2;
3840 PyObject * _argo0 = 0;
3841 int temp;
3842 PyObject * _obj1 = 0;
3843 int temp0;
3844 PyObject * _obj2 = 0;
3845 char *_kwnames[] = { "self","x","y", NULL };
3846
3847 self = self;
3848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxWindow_ScreenToClientXY",_kwnames,&_argo0,&_obj1,&_obj2))
3849 return NULL;
3850 if (_argo0) {
3851 if (_argo0 == Py_None) { _arg0 = NULL; }
3852 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3853 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
3854 return NULL;
3855 }
3856 }
3857 {
3858 temp = (int) PyInt_AsLong(_obj1);
3859 _arg1 = &temp;
3860 }
3861 {
3862 temp0 = (int) PyInt_AsLong(_obj2);
3863 _arg2 = &temp0;
3864 }
3865 {
3866 PyThreadState* __tstate = wxPyBeginAllowThreads();
3867 wxWindow_ScreenToClientXY(_arg0,_arg1,_arg2);
3868
3869 wxPyEndAllowThreads(__tstate);
3870 if (PyErr_Occurred()) return NULL;
3871 } Py_INCREF(Py_None);
3872 _resultobj = Py_None;
3873 {
3874 PyObject *o;
3875 o = PyInt_FromLong((long) (*_arg1));
3876 _resultobj = t_output_helper(_resultobj, o);
3877 }
3878 {
3879 PyObject *o;
3880 o = PyInt_FromLong((long) (*_arg2));
3881 _resultobj = t_output_helper(_resultobj, o);
3882 }
3883 return _resultobj;
3884 }
3885
3886 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
3887 static PyObject *_wrap_wxWindow_ScreenToClient(PyObject *self, PyObject *args, PyObject *kwargs) {
3888 PyObject * _resultobj;
3889 wxPoint * _result;
3890 wxWindow * _arg0;
3891 wxPoint * _arg1;
3892 PyObject * _argo0 = 0;
3893 wxPoint temp;
3894 PyObject * _obj1 = 0;
3895 char *_kwnames[] = { "self","pt", NULL };
3896 char _ptemp[128];
3897
3898 self = self;
3899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ScreenToClient",_kwnames,&_argo0,&_obj1))
3900 return NULL;
3901 if (_argo0) {
3902 if (_argo0 == Py_None) { _arg0 = NULL; }
3903 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3904 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
3905 return NULL;
3906 }
3907 }
3908 {
3909 _arg1 = &temp;
3910 if (! wxPoint_helper(_obj1, &_arg1))
3911 return NULL;
3912 }
3913 {
3914 PyThreadState* __tstate = wxPyBeginAllowThreads();
3915 _result = new wxPoint (wxWindow_ScreenToClient(_arg0,*_arg1));
3916
3917 wxPyEndAllowThreads(__tstate);
3918 if (PyErr_Occurred()) return NULL;
3919 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
3920 _resultobj = Py_BuildValue("s",_ptemp);
3921 return _resultobj;
3922 }
3923
3924 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
3925 static PyObject *_wrap_wxWindow_ScrollWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3926 PyObject * _resultobj;
3927 wxWindow * _arg0;
3928 int _arg1;
3929 int _arg2;
3930 wxRect * _arg3 = (wxRect *) NULL;
3931 PyObject * _argo0 = 0;
3932 wxRect temp;
3933 PyObject * _obj3 = 0;
3934 char *_kwnames[] = { "self","dx","dy","rect", NULL };
3935
3936 self = self;
3937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|O:wxWindow_ScrollWindow",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
3938 return NULL;
3939 if (_argo0) {
3940 if (_argo0 == Py_None) { _arg0 = NULL; }
3941 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3942 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
3943 return NULL;
3944 }
3945 }
3946 if (_obj3)
3947 {
3948 _arg3 = &temp;
3949 if (! wxRect_helper(_obj3, &_arg3))
3950 return NULL;
3951 }
3952 {
3953 PyThreadState* __tstate = wxPyBeginAllowThreads();
3954 wxWindow_ScrollWindow(_arg0,_arg1,_arg2,_arg3);
3955
3956 wxPyEndAllowThreads(__tstate);
3957 if (PyErr_Occurred()) return NULL;
3958 } Py_INCREF(Py_None);
3959 _resultobj = Py_None;
3960 return _resultobj;
3961 }
3962
3963 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
3964 static PyObject *_wrap_wxWindow_SetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
3965 PyObject * _resultobj;
3966 wxWindow * _arg0;
3967 bool _arg1;
3968 PyObject * _argo0 = 0;
3969 int tempbool1;
3970 char *_kwnames[] = { "self","autoLayout", NULL };
3971
3972 self = self;
3973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_SetAutoLayout",_kwnames,&_argo0,&tempbool1))
3974 return NULL;
3975 if (_argo0) {
3976 if (_argo0 == Py_None) { _arg0 = NULL; }
3977 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3978 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
3979 return NULL;
3980 }
3981 }
3982 _arg1 = (bool ) tempbool1;
3983 {
3984 PyThreadState* __tstate = wxPyBeginAllowThreads();
3985 wxWindow_SetAutoLayout(_arg0,_arg1);
3986
3987 wxPyEndAllowThreads(__tstate);
3988 if (PyErr_Occurred()) return NULL;
3989 } Py_INCREF(Py_None);
3990 _resultobj = Py_None;
3991 return _resultobj;
3992 }
3993
3994 #define wxWindow_GetAutoLayout(_swigobj) (_swigobj->GetAutoLayout())
3995 static PyObject *_wrap_wxWindow_GetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
3996 PyObject * _resultobj;
3997 bool _result;
3998 wxWindow * _arg0;
3999 PyObject * _argo0 = 0;
4000 char *_kwnames[] = { "self", NULL };
4001
4002 self = self;
4003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetAutoLayout",_kwnames,&_argo0))
4004 return NULL;
4005 if (_argo0) {
4006 if (_argo0 == Py_None) { _arg0 = NULL; }
4007 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4008 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetAutoLayout. Expected _wxWindow_p.");
4009 return NULL;
4010 }
4011 }
4012 {
4013 PyThreadState* __tstate = wxPyBeginAllowThreads();
4014 _result = (bool )wxWindow_GetAutoLayout(_arg0);
4015
4016 wxPyEndAllowThreads(__tstate);
4017 if (PyErr_Occurred()) return NULL;
4018 } _resultobj = Py_BuildValue("i",_result);
4019 return _resultobj;
4020 }
4021
4022 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
4023 static PyObject *_wrap_wxWindow_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4024 PyObject * _resultobj;
4025 wxWindow * _arg0;
4026 wxColour * _arg1;
4027 PyObject * _argo0 = 0;
4028 wxColour temp;
4029 PyObject * _obj1 = 0;
4030 char *_kwnames[] = { "self","colour", NULL };
4031
4032 self = self;
4033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
4034 return NULL;
4035 if (_argo0) {
4036 if (_argo0 == Py_None) { _arg0 = NULL; }
4037 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4038 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
4039 return NULL;
4040 }
4041 }
4042 {
4043 _arg1 = &temp;
4044 if (! wxColour_helper(_obj1, &_arg1))
4045 return NULL;
4046 }
4047 {
4048 PyThreadState* __tstate = wxPyBeginAllowThreads();
4049 wxWindow_SetBackgroundColour(_arg0,*_arg1);
4050
4051 wxPyEndAllowThreads(__tstate);
4052 if (PyErr_Occurred()) return NULL;
4053 } Py_INCREF(Py_None);
4054 _resultobj = Py_None;
4055 return _resultobj;
4056 }
4057
4058 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
4059 static PyObject *_wrap_wxWindow_SetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
4060 PyObject * _resultobj;
4061 wxWindow * _arg0;
4062 wxLayoutConstraints * _arg1;
4063 PyObject * _argo0 = 0;
4064 PyObject * _argo1 = 0;
4065 char *_kwnames[] = { "self","constraints", NULL };
4066
4067 self = self;
4068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetConstraints",_kwnames,&_argo0,&_argo1))
4069 return NULL;
4070 if (_argo0) {
4071 if (_argo0 == Py_None) { _arg0 = NULL; }
4072 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4073 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
4074 return NULL;
4075 }
4076 }
4077 if (_argo1) {
4078 if (_argo1 == Py_None) { _arg1 = NULL; }
4079 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxLayoutConstraints_p")) {
4080 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
4081 return NULL;
4082 }
4083 }
4084 {
4085 PyThreadState* __tstate = wxPyBeginAllowThreads();
4086 wxWindow_SetConstraints(_arg0,_arg1);
4087
4088 wxPyEndAllowThreads(__tstate);
4089 if (PyErr_Occurred()) return NULL;
4090 } Py_INCREF(Py_None);
4091 _resultobj = Py_None;
4092 return _resultobj;
4093 }
4094
4095 #define wxWindow_UnsetConstraints(_swigobj,_swigarg0) (_swigobj->UnsetConstraints(_swigarg0))
4096 static PyObject *_wrap_wxWindow_UnsetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
4097 PyObject * _resultobj;
4098 wxWindow * _arg0;
4099 wxLayoutConstraints * _arg1;
4100 PyObject * _argo0 = 0;
4101 PyObject * _argo1 = 0;
4102 char *_kwnames[] = { "self","constraints", NULL };
4103
4104 self = self;
4105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_UnsetConstraints",_kwnames,&_argo0,&_argo1))
4106 return NULL;
4107 if (_argo0) {
4108 if (_argo0 == Py_None) { _arg0 = NULL; }
4109 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4110 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_UnsetConstraints. Expected _wxWindow_p.");
4111 return NULL;
4112 }
4113 }
4114 if (_argo1) {
4115 if (_argo1 == Py_None) { _arg1 = NULL; }
4116 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxLayoutConstraints_p")) {
4117 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_UnsetConstraints. Expected _wxLayoutConstraints_p.");
4118 return NULL;
4119 }
4120 }
4121 {
4122 PyThreadState* __tstate = wxPyBeginAllowThreads();
4123 wxWindow_UnsetConstraints(_arg0,_arg1);
4124
4125 wxPyEndAllowThreads(__tstate);
4126 if (PyErr_Occurred()) return NULL;
4127 } Py_INCREF(Py_None);
4128 _resultobj = Py_None;
4129 return _resultobj;
4130 }
4131
4132 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
4133 static PyObject *_wrap_wxWindow_SetFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
4134 PyObject * _resultobj;
4135 wxWindow * _arg0;
4136 PyObject * _argo0 = 0;
4137 char *_kwnames[] = { "self", NULL };
4138
4139 self = self;
4140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_SetFocus",_kwnames,&_argo0))
4141 return NULL;
4142 if (_argo0) {
4143 if (_argo0 == Py_None) { _arg0 = NULL; }
4144 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4145 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
4146 return NULL;
4147 }
4148 }
4149 {
4150 PyThreadState* __tstate = wxPyBeginAllowThreads();
4151 wxWindow_SetFocus(_arg0);
4152
4153 wxPyEndAllowThreads(__tstate);
4154 if (PyErr_Occurred()) return NULL;
4155 } Py_INCREF(Py_None);
4156 _resultobj = Py_None;
4157 return _resultobj;
4158 }
4159
4160 #define wxWindow_SetFocusFromKbd(_swigobj) (_swigobj->SetFocusFromKbd())
4161 static PyObject *_wrap_wxWindow_SetFocusFromKbd(PyObject *self, PyObject *args, PyObject *kwargs) {
4162 PyObject * _resultobj;
4163 wxWindow * _arg0;
4164 PyObject * _argo0 = 0;
4165 char *_kwnames[] = { "self", NULL };
4166
4167 self = self;
4168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_SetFocusFromKbd",_kwnames,&_argo0))
4169 return NULL;
4170 if (_argo0) {
4171 if (_argo0 == Py_None) { _arg0 = NULL; }
4172 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4173 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetFocusFromKbd. Expected _wxWindow_p.");
4174 return NULL;
4175 }
4176 }
4177 {
4178 PyThreadState* __tstate = wxPyBeginAllowThreads();
4179 wxWindow_SetFocusFromKbd(_arg0);
4180
4181 wxPyEndAllowThreads(__tstate);
4182 if (PyErr_Occurred()) return NULL;
4183 } Py_INCREF(Py_None);
4184 _resultobj = Py_None;
4185 return _resultobj;
4186 }
4187
4188 #define wxWindow_AcceptsFocus(_swigobj) (_swigobj->AcceptsFocus())
4189 static PyObject *_wrap_wxWindow_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
4190 PyObject * _resultobj;
4191 bool _result;
4192 wxWindow * _arg0;
4193 PyObject * _argo0 = 0;
4194 char *_kwnames[] = { "self", NULL };
4195
4196 self = self;
4197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_AcceptsFocus",_kwnames,&_argo0))
4198 return NULL;
4199 if (_argo0) {
4200 if (_argo0 == Py_None) { _arg0 = NULL; }
4201 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4202 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_AcceptsFocus. Expected _wxWindow_p.");
4203 return NULL;
4204 }
4205 }
4206 {
4207 PyThreadState* __tstate = wxPyBeginAllowThreads();
4208 _result = (bool )wxWindow_AcceptsFocus(_arg0);
4209
4210 wxPyEndAllowThreads(__tstate);
4211 if (PyErr_Occurred()) return NULL;
4212 } _resultobj = Py_BuildValue("i",_result);
4213 return _resultobj;
4214 }
4215
4216 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
4217 static PyObject *_wrap_wxWindow_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
4218 PyObject * _resultobj;
4219 wxWindow * _arg0;
4220 wxFont * _arg1;
4221 PyObject * _argo0 = 0;
4222 PyObject * _argo1 = 0;
4223 char *_kwnames[] = { "self","font", NULL };
4224
4225 self = self;
4226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetFont",_kwnames,&_argo0,&_argo1))
4227 return NULL;
4228 if (_argo0) {
4229 if (_argo0 == Py_None) { _arg0 = NULL; }
4230 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4231 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
4232 return NULL;
4233 }
4234 }
4235 if (_argo1) {
4236 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
4237 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
4238 return NULL;
4239 }
4240 }
4241 {
4242 PyThreadState* __tstate = wxPyBeginAllowThreads();
4243 wxWindow_SetFont(_arg0,*_arg1);
4244
4245 wxPyEndAllowThreads(__tstate);
4246 if (PyErr_Occurred()) return NULL;
4247 } Py_INCREF(Py_None);
4248 _resultobj = Py_None;
4249 return _resultobj;
4250 }
4251
4252 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
4253 static PyObject *_wrap_wxWindow_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4254 PyObject * _resultobj;
4255 wxWindow * _arg0;
4256 wxColour * _arg1;
4257 PyObject * _argo0 = 0;
4258 wxColour temp;
4259 PyObject * _obj1 = 0;
4260 char *_kwnames[] = { "self","colour", NULL };
4261
4262 self = self;
4263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetForegroundColour",_kwnames,&_argo0,&_obj1))
4264 return NULL;
4265 if (_argo0) {
4266 if (_argo0 == Py_None) { _arg0 = NULL; }
4267 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4268 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
4269 return NULL;
4270 }
4271 }
4272 {
4273 _arg1 = &temp;
4274 if (! wxColour_helper(_obj1, &_arg1))
4275 return NULL;
4276 }
4277 {
4278 PyThreadState* __tstate = wxPyBeginAllowThreads();
4279 wxWindow_SetForegroundColour(_arg0,*_arg1);
4280
4281 wxPyEndAllowThreads(__tstate);
4282 if (PyErr_Occurred()) return NULL;
4283 } Py_INCREF(Py_None);
4284 _resultobj = Py_None;
4285 return _resultobj;
4286 }
4287
4288 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
4289 static PyObject *_wrap_wxWindow_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
4290 PyObject * _resultobj;
4291 wxWindow * _arg0;
4292 int _arg1;
4293 PyObject * _argo0 = 0;
4294 char *_kwnames[] = { "self","id", NULL };
4295
4296 self = self;
4297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_SetId",_kwnames,&_argo0,&_arg1))
4298 return NULL;
4299 if (_argo0) {
4300 if (_argo0 == Py_None) { _arg0 = NULL; }
4301 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4302 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
4303 return NULL;
4304 }
4305 }
4306 {
4307 PyThreadState* __tstate = wxPyBeginAllowThreads();
4308 wxWindow_SetId(_arg0,_arg1);
4309
4310 wxPyEndAllowThreads(__tstate);
4311 if (PyErr_Occurred()) return NULL;
4312 } Py_INCREF(Py_None);
4313 _resultobj = Py_None;
4314 return _resultobj;
4315 }
4316
4317 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
4318 static PyObject *_wrap_wxWindow_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
4319 PyObject * _resultobj;
4320 wxWindow * _arg0;
4321 wxString * _arg1;
4322 PyObject * _argo0 = 0;
4323 PyObject * _obj1 = 0;
4324 char *_kwnames[] = { "self","name", NULL };
4325
4326 self = self;
4327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetName",_kwnames,&_argo0,&_obj1))
4328 return NULL;
4329 if (_argo0) {
4330 if (_argo0 == Py_None) { _arg0 = NULL; }
4331 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4332 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
4333 return NULL;
4334 }
4335 }
4336 {
4337 _arg1 = wxString_in_helper(_obj1);
4338 if (_arg1 == NULL)
4339 return NULL;
4340 }
4341 {
4342 PyThreadState* __tstate = wxPyBeginAllowThreads();
4343 wxWindow_SetName(_arg0,*_arg1);
4344
4345 wxPyEndAllowThreads(__tstate);
4346 if (PyErr_Occurred()) return NULL;
4347 } Py_INCREF(Py_None);
4348 _resultobj = Py_None;
4349 {
4350 if (_obj1)
4351 delete _arg1;
4352 }
4353 return _resultobj;
4354 }
4355
4356 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4357 static PyObject *_wrap_wxWindow_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
4358 PyObject * _resultobj;
4359 wxWindow * _arg0;
4360 int _arg1;
4361 int _arg2;
4362 int _arg3;
4363 int _arg4;
4364 int _arg5 = (int ) TRUE;
4365 PyObject * _argo0 = 0;
4366 char *_kwnames[] = { "self","orientation","position","thumbSize","range","refresh", NULL };
4367
4368 self = self;
4369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxWindow_SetScrollbar",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5))
4370 return NULL;
4371 if (_argo0) {
4372 if (_argo0 == Py_None) { _arg0 = NULL; }
4373 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4374 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
4375 return NULL;
4376 }
4377 }
4378 {
4379 PyThreadState* __tstate = wxPyBeginAllowThreads();
4380 wxWindow_SetScrollbar(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
4381
4382 wxPyEndAllowThreads(__tstate);
4383 if (PyErr_Occurred()) return NULL;
4384 } Py_INCREF(Py_None);
4385 _resultobj = Py_None;
4386 return _resultobj;
4387 }
4388
4389 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
4390 static PyObject *_wrap_wxWindow_SetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
4391 PyObject * _resultobj;
4392 wxWindow * _arg0;
4393 int _arg1;
4394 int _arg2;
4395 bool _arg3 = (bool ) TRUE;
4396 PyObject * _argo0 = 0;
4397 int tempbool3 = (int) TRUE;
4398 char *_kwnames[] = { "self","orientation","pos","refresh", NULL };
4399
4400 self = self;
4401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxWindow_SetScrollPos",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
4402 return NULL;
4403 if (_argo0) {
4404 if (_argo0 == Py_None) { _arg0 = NULL; }
4405 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4406 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
4407 return NULL;
4408 }
4409 }
4410 _arg3 = (bool ) tempbool3;
4411 {
4412 PyThreadState* __tstate = wxPyBeginAllowThreads();
4413 wxWindow_SetScrollPos(_arg0,_arg1,_arg2,_arg3);
4414
4415 wxPyEndAllowThreads(__tstate);
4416 if (PyErr_Occurred()) return NULL;
4417 } Py_INCREF(Py_None);
4418 _resultobj = Py_None;
4419 return _resultobj;
4420 }
4421
4422 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4423 static PyObject *_wrap_wxWindow_SetDimensions(PyObject *self, PyObject *args, PyObject *kwargs) {
4424 PyObject * _resultobj;
4425 wxWindow * _arg0;
4426 int _arg1;
4427 int _arg2;
4428 int _arg3;
4429 int _arg4;
4430 int _arg5 = (int ) wxSIZE_AUTO;
4431 PyObject * _argo0 = 0;
4432 char *_kwnames[] = { "self","x","y","width","height","sizeFlags", NULL };
4433
4434 self = self;
4435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxWindow_SetDimensions",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5))
4436 return NULL;
4437 if (_argo0) {
4438 if (_argo0 == Py_None) { _arg0 = NULL; }
4439 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4440 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
4441 return NULL;
4442 }
4443 }
4444 {
4445 PyThreadState* __tstate = wxPyBeginAllowThreads();
4446 wxWindow_SetDimensions(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
4447
4448 wxPyEndAllowThreads(__tstate);
4449 if (PyErr_Occurred()) return NULL;
4450 } Py_INCREF(Py_None);
4451 _resultobj = Py_None;
4452 return _resultobj;
4453 }
4454
4455 static void wxWindow_SetSize(wxWindow *self,const wxSize & size) {
4456 self->SetSize(size);
4457 }
4458 static PyObject *_wrap_wxWindow_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4459 PyObject * _resultobj;
4460 wxWindow * _arg0;
4461 wxSize * _arg1;
4462 PyObject * _argo0 = 0;
4463 wxSize temp;
4464 PyObject * _obj1 = 0;
4465 char *_kwnames[] = { "self","size", NULL };
4466
4467 self = self;
4468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetSize",_kwnames,&_argo0,&_obj1))
4469 return NULL;
4470 if (_argo0) {
4471 if (_argo0 == Py_None) { _arg0 = NULL; }
4472 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4473 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
4474 return NULL;
4475 }
4476 }
4477 {
4478 _arg1 = &temp;
4479 if (! wxSize_helper(_obj1, &_arg1))
4480 return NULL;
4481 }
4482 {
4483 PyThreadState* __tstate = wxPyBeginAllowThreads();
4484 wxWindow_SetSize(_arg0,*_arg1);
4485
4486 wxPyEndAllowThreads(__tstate);
4487 if (PyErr_Occurred()) return NULL;
4488 } Py_INCREF(Py_None);
4489 _resultobj = Py_None;
4490 return _resultobj;
4491 }
4492
4493 static void wxWindow_SetPosition(wxWindow *self,const wxPoint & pos,int flags) {
4494 self->Move(pos, flags);
4495 }
4496 static PyObject *_wrap_wxWindow_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4497 PyObject * _resultobj;
4498 wxWindow * _arg0;
4499 wxPoint * _arg1;
4500 int _arg2 = (int ) wxSIZE_USE_EXISTING;
4501 PyObject * _argo0 = 0;
4502 wxPoint temp;
4503 PyObject * _obj1 = 0;
4504 char *_kwnames[] = { "self","pos","flags", NULL };
4505
4506 self = self;
4507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxWindow_SetPosition",_kwnames,&_argo0,&_obj1,&_arg2))
4508 return NULL;
4509 if (_argo0) {
4510 if (_argo0 == Py_None) { _arg0 = NULL; }
4511 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4512 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
4513 return NULL;
4514 }
4515 }
4516 {
4517 _arg1 = &temp;
4518 if (! wxPoint_helper(_obj1, &_arg1))
4519 return NULL;
4520 }
4521 {
4522 PyThreadState* __tstate = wxPyBeginAllowThreads();
4523 wxWindow_SetPosition(_arg0,*_arg1,_arg2);
4524
4525 wxPyEndAllowThreads(__tstate);
4526 if (PyErr_Occurred()) return NULL;
4527 } Py_INCREF(Py_None);
4528 _resultobj = Py_None;
4529 return _resultobj;
4530 }
4531
4532 static void wxWindow_SetRect(wxWindow *self,const wxRect & rect,int sizeFlags) {
4533 self->SetSize(rect, sizeFlags);
4534 }
4535 static PyObject *_wrap_wxWindow_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
4536 PyObject * _resultobj;
4537 wxWindow * _arg0;
4538 wxRect * _arg1;
4539 int _arg2 = (int ) wxSIZE_AUTO;
4540 PyObject * _argo0 = 0;
4541 wxRect temp;
4542 PyObject * _obj1 = 0;
4543 char *_kwnames[] = { "self","rect","sizeFlags", NULL };
4544
4545 self = self;
4546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxWindow_SetRect",_kwnames,&_argo0,&_obj1,&_arg2))
4547 return NULL;
4548 if (_argo0) {
4549 if (_argo0 == Py_None) { _arg0 = NULL; }
4550 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4551 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetRect. Expected _wxWindow_p.");
4552 return NULL;
4553 }
4554 }
4555 {
4556 _arg1 = &temp;
4557 if (! wxRect_helper(_obj1, &_arg1))
4558 return NULL;
4559 }
4560 {
4561 PyThreadState* __tstate = wxPyBeginAllowThreads();
4562 wxWindow_SetRect(_arg0,*_arg1,_arg2);
4563
4564 wxPyEndAllowThreads(__tstate);
4565 if (PyErr_Occurred()) return NULL;
4566 } Py_INCREF(Py_None);
4567 _resultobj = Py_None;
4568 return _resultobj;
4569 }
4570
4571 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4572 static PyObject *_wrap_wxWindow_SetSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
4573 PyObject * _resultobj;
4574 wxWindow * _arg0;
4575 int _arg1;
4576 int _arg2;
4577 int _arg3 = (int ) -1;
4578 int _arg4 = (int ) -1;
4579 int _arg5 = (int ) -1;
4580 int _arg6 = (int ) -1;
4581 PyObject * _argo0 = 0;
4582 char *_kwnames[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL };
4583
4584 self = self;
4585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|iiii:wxWindow_SetSizeHints",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6))
4586 return NULL;
4587 if (_argo0) {
4588 if (_argo0 == Py_None) { _arg0 = NULL; }
4589 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4590 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
4591 return NULL;
4592 }
4593 }
4594 {
4595 PyThreadState* __tstate = wxPyBeginAllowThreads();
4596 wxWindow_SetSizeHints(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
4597
4598 wxPyEndAllowThreads(__tstate);
4599 if (PyErr_Occurred()) return NULL;
4600 } Py_INCREF(Py_None);
4601 _resultobj = Py_None;
4602 return _resultobj;
4603 }
4604
4605 #define wxWindow_SetVirtualSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetVirtualSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4606 static PyObject *_wrap_wxWindow_SetVirtualSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
4607 PyObject * _resultobj;
4608 wxWindow * _arg0;
4609 int _arg1;
4610 int _arg2;
4611 int _arg3 = (int ) -1;
4612 int _arg4 = (int ) -1;
4613 PyObject * _argo0 = 0;
4614 char *_kwnames[] = { "self","minW","minH","maxW","maxH", NULL };
4615
4616 self = self;
4617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|ii:wxWindow_SetVirtualSizeHints",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
4618 return NULL;
4619 if (_argo0) {
4620 if (_argo0 == Py_None) { _arg0 = NULL; }
4621 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4622 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetVirtualSizeHints. Expected _wxWindow_p.");
4623 return NULL;
4624 }
4625 }
4626 {
4627 PyThreadState* __tstate = wxPyBeginAllowThreads();
4628 wxWindow_SetVirtualSizeHints(_arg0,_arg1,_arg2,_arg3,_arg4);
4629
4630 wxPyEndAllowThreads(__tstate);
4631 if (PyErr_Occurred()) return NULL;
4632 } Py_INCREF(Py_None);
4633 _resultobj = Py_None;
4634 return _resultobj;
4635 }
4636
4637 #define wxWindow_SetVirtualSize(_swigobj,_swigarg0) (_swigobj->SetVirtualSize(_swigarg0))
4638 static PyObject *_wrap_wxWindow_SetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4639 PyObject * _resultobj;
4640 wxWindow * _arg0;
4641 wxSize * _arg1;
4642 PyObject * _argo0 = 0;
4643 wxSize temp;
4644 PyObject * _obj1 = 0;
4645 char *_kwnames[] = { "self","size", NULL };
4646
4647 self = self;
4648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetVirtualSize",_kwnames,&_argo0,&_obj1))
4649 return NULL;
4650 if (_argo0) {
4651 if (_argo0 == Py_None) { _arg0 = NULL; }
4652 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4653 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetVirtualSize. Expected _wxWindow_p.");
4654 return NULL;
4655 }
4656 }
4657 {
4658 _arg1 = &temp;
4659 if (! wxSize_helper(_obj1, &_arg1))
4660 return NULL;
4661 }
4662 {
4663 PyThreadState* __tstate = wxPyBeginAllowThreads();
4664 wxWindow_SetVirtualSize(_arg0,*_arg1);
4665
4666 wxPyEndAllowThreads(__tstate);
4667 if (PyErr_Occurred()) return NULL;
4668 } Py_INCREF(Py_None);
4669 _resultobj = Py_None;
4670 return _resultobj;
4671 }
4672
4673 #define wxWindow_SetVirtualSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetVirtualSize(_swigarg0,_swigarg1))
4674 static PyObject *_wrap_wxWindow_SetVirtualSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
4675 PyObject * _resultobj;
4676 wxWindow * _arg0;
4677 int _arg1;
4678 int _arg2;
4679 PyObject * _argo0 = 0;
4680 char *_kwnames[] = { "self","x","y", NULL };
4681
4682 self = self;
4683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxWindow_SetVirtualSizeWH",_kwnames,&_argo0,&_arg1,&_arg2))
4684 return NULL;
4685 if (_argo0) {
4686 if (_argo0 == Py_None) { _arg0 = NULL; }
4687 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4688 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetVirtualSizeWH. Expected _wxWindow_p.");
4689 return NULL;
4690 }
4691 }
4692 {
4693 PyThreadState* __tstate = wxPyBeginAllowThreads();
4694 wxWindow_SetVirtualSizeWH(_arg0,_arg1,_arg2);
4695
4696 wxPyEndAllowThreads(__tstate);
4697 if (PyErr_Occurred()) return NULL;
4698 } Py_INCREF(Py_None);
4699 _resultobj = Py_None;
4700 return _resultobj;
4701 }
4702
4703 #define wxWindow_GetVirtualSize(_swigobj) (_swigobj->GetVirtualSize())
4704 static PyObject *_wrap_wxWindow_GetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4705 PyObject * _resultobj;
4706 wxSize * _result;
4707 wxWindow * _arg0;
4708 PyObject * _argo0 = 0;
4709 char *_kwnames[] = { "self", NULL };
4710 char _ptemp[128];
4711
4712 self = self;
4713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetVirtualSize",_kwnames,&_argo0))
4714 return NULL;
4715 if (_argo0) {
4716 if (_argo0 == Py_None) { _arg0 = NULL; }
4717 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4718 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetVirtualSize. Expected _wxWindow_p.");
4719 return NULL;
4720 }
4721 }
4722 {
4723 PyThreadState* __tstate = wxPyBeginAllowThreads();
4724 _result = new wxSize (wxWindow_GetVirtualSize(_arg0));
4725
4726 wxPyEndAllowThreads(__tstate);
4727 if (PyErr_Occurred()) return NULL;
4728 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
4729 _resultobj = Py_BuildValue("s",_ptemp);
4730 return _resultobj;
4731 }
4732
4733 #define wxWindow_GetVirtualSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
4734 static PyObject *_wrap_wxWindow_GetVirtualSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4735 PyObject * _resultobj;
4736 wxWindow * _arg0;
4737 int * _arg1;
4738 int temp;
4739 int * _arg2;
4740 int temp0;
4741 PyObject * _argo0 = 0;
4742 char *_kwnames[] = { "self", NULL };
4743
4744 self = self;
4745 {
4746 _arg1 = &temp;
4747 }
4748 {
4749 _arg2 = &temp0;
4750 }
4751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetVirtualSizeTuple",_kwnames,&_argo0))
4752 return NULL;
4753 if (_argo0) {
4754 if (_argo0 == Py_None) { _arg0 = NULL; }
4755 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4756 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetVirtualSizeTuple. Expected _wxWindow_p.");
4757 return NULL;
4758 }
4759 }
4760 {
4761 PyThreadState* __tstate = wxPyBeginAllowThreads();
4762 wxWindow_GetVirtualSizeTuple(_arg0,_arg1,_arg2);
4763
4764 wxPyEndAllowThreads(__tstate);
4765 if (PyErr_Occurred()) return NULL;
4766 } Py_INCREF(Py_None);
4767 _resultobj = Py_None;
4768 {
4769 PyObject *o;
4770 o = PyInt_FromLong((long) (*_arg1));
4771 _resultobj = t_output_helper(_resultobj, o);
4772 }
4773 {
4774 PyObject *o;
4775 o = PyInt_FromLong((long) (*_arg2));
4776 _resultobj = t_output_helper(_resultobj, o);
4777 }
4778 return _resultobj;
4779 }
4780
4781 #define wxWindow_GetBestVirtualSize(_swigobj) (_swigobj->GetBestVirtualSize())
4782 static PyObject *_wrap_wxWindow_GetBestVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4783 PyObject * _resultobj;
4784 wxSize * _result;
4785 wxWindow * _arg0;
4786 PyObject * _argo0 = 0;
4787 char *_kwnames[] = { "self", NULL };
4788 char _ptemp[128];
4789
4790 self = self;
4791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetBestVirtualSize",_kwnames,&_argo0))
4792 return NULL;
4793 if (_argo0) {
4794 if (_argo0 == Py_None) { _arg0 = NULL; }
4795 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4796 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetBestVirtualSize. Expected _wxWindow_p.");
4797 return NULL;
4798 }
4799 }
4800 {
4801 PyThreadState* __tstate = wxPyBeginAllowThreads();
4802 _result = new wxSize (wxWindow_GetBestVirtualSize(_arg0));
4803
4804 wxPyEndAllowThreads(__tstate);
4805 if (PyErr_Occurred()) return NULL;
4806 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
4807 _resultobj = Py_BuildValue("s",_ptemp);
4808 return _resultobj;
4809 }
4810
4811 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
4812 static PyObject *_wrap_wxWindow_SetClientSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
4813 PyObject * _resultobj;
4814 wxWindow * _arg0;
4815 int _arg1;
4816 int _arg2;
4817 PyObject * _argo0 = 0;
4818 char *_kwnames[] = { "self","width","height", NULL };
4819
4820 self = self;
4821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxWindow_SetClientSizeWH",_kwnames,&_argo0,&_arg1,&_arg2))
4822 return NULL;
4823 if (_argo0) {
4824 if (_argo0 == Py_None) { _arg0 = NULL; }
4825 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4826 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
4827 return NULL;
4828 }
4829 }
4830 {
4831 PyThreadState* __tstate = wxPyBeginAllowThreads();
4832 wxWindow_SetClientSizeWH(_arg0,_arg1,_arg2);
4833
4834 wxPyEndAllowThreads(__tstate);
4835 if (PyErr_Occurred()) return NULL;
4836 } Py_INCREF(Py_None);
4837 _resultobj = Py_None;
4838 return _resultobj;
4839 }
4840
4841 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
4842 static PyObject *_wrap_wxWindow_SetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4843 PyObject * _resultobj;
4844 wxWindow * _arg0;
4845 wxSize * _arg1;
4846 PyObject * _argo0 = 0;
4847 wxSize temp;
4848 PyObject * _obj1 = 0;
4849 char *_kwnames[] = { "self","size", NULL };
4850
4851 self = self;
4852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetClientSize",_kwnames,&_argo0,&_obj1))
4853 return NULL;
4854 if (_argo0) {
4855 if (_argo0 == Py_None) { _arg0 = NULL; }
4856 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4857 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
4858 return NULL;
4859 }
4860 }
4861 {
4862 _arg1 = &temp;
4863 if (! wxSize_helper(_obj1, &_arg1))
4864 return NULL;
4865 }
4866 {
4867 PyThreadState* __tstate = wxPyBeginAllowThreads();
4868 wxWindow_SetClientSize(_arg0,*_arg1);
4869
4870 wxPyEndAllowThreads(__tstate);
4871 if (PyErr_Occurred()) return NULL;
4872 } Py_INCREF(Py_None);
4873 _resultobj = Py_None;
4874 return _resultobj;
4875 }
4876
4877 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
4878 static PyObject *_wrap_wxWindow_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4879 PyObject * _resultobj;
4880 bool _result;
4881 wxWindow * _arg0;
4882 wxCursor * _arg1;
4883 PyObject * _argo0 = 0;
4884 PyObject * _argo1 = 0;
4885 char *_kwnames[] = { "self","cursor", NULL };
4886
4887 self = self;
4888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetCursor",_kwnames,&_argo0,&_argo1))
4889 return NULL;
4890 if (_argo0) {
4891 if (_argo0 == Py_None) { _arg0 = NULL; }
4892 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4893 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
4894 return NULL;
4895 }
4896 }
4897 if (_argo1) {
4898 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCursor_p")) {
4899 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
4900 return NULL;
4901 }
4902 }
4903 {
4904 PyThreadState* __tstate = wxPyBeginAllowThreads();
4905 _result = (bool )wxWindow_SetCursor(_arg0,*_arg1);
4906
4907 wxPyEndAllowThreads(__tstate);
4908 if (PyErr_Occurred()) return NULL;
4909 } _resultobj = Py_BuildValue("i",_result);
4910 return _resultobj;
4911 }
4912
4913 #define wxWindow_GetCursor(_swigobj) (_swigobj->GetCursor())
4914 static PyObject *_wrap_wxWindow_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4915 PyObject * _resultobj;
4916 wxCursor * _result;
4917 wxWindow * _arg0;
4918 PyObject * _argo0 = 0;
4919 char *_kwnames[] = { "self", NULL };
4920 char _ptemp[128];
4921
4922 self = self;
4923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetCursor",_kwnames,&_argo0))
4924 return NULL;
4925 if (_argo0) {
4926 if (_argo0 == Py_None) { _arg0 = NULL; }
4927 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4928 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetCursor. Expected _wxWindow_p.");
4929 return NULL;
4930 }
4931 }
4932 {
4933 PyThreadState* __tstate = wxPyBeginAllowThreads();
4934 wxCursor & _result_ref = wxWindow_GetCursor(_arg0);
4935 _result = (wxCursor *) &_result_ref;
4936
4937 wxPyEndAllowThreads(__tstate);
4938 if (PyErr_Occurred()) return NULL;
4939 } if (_result) {
4940 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCursor_p");
4941 _resultobj = Py_BuildValue("s",_ptemp);
4942 } else {
4943 Py_INCREF(Py_None);
4944 _resultobj = Py_None;
4945 }
4946 return _resultobj;
4947 }
4948
4949 #define wxWindow_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
4950 static PyObject *_wrap_wxWindow_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
4951 PyObject * _resultobj;
4952 wxWindow * _arg0;
4953 wxEvtHandler * _arg1;
4954 PyObject * _argo0 = 0;
4955 PyObject * _argo1 = 0;
4956 char *_kwnames[] = { "self","handler", NULL };
4957
4958 self = self;
4959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetEventHandler",_kwnames,&_argo0,&_argo1))
4960 return NULL;
4961 if (_argo0) {
4962 if (_argo0 == Py_None) { _arg0 = NULL; }
4963 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4964 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetEventHandler. Expected _wxWindow_p.");
4965 return NULL;
4966 }
4967 }
4968 if (_argo1) {
4969 if (_argo1 == Py_None) { _arg1 = NULL; }
4970 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
4971 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetEventHandler. Expected _wxEvtHandler_p.");
4972 return NULL;
4973 }
4974 }
4975 {
4976 PyThreadState* __tstate = wxPyBeginAllowThreads();
4977 wxWindow_SetEventHandler(_arg0,_arg1);
4978
4979 wxPyEndAllowThreads(__tstate);
4980 if (PyErr_Occurred()) return NULL;
4981 } Py_INCREF(Py_None);
4982 _resultobj = Py_None;
4983 return _resultobj;
4984 }
4985
4986 #define wxWindow_SetExtraStyle(_swigobj,_swigarg0) (_swigobj->SetExtraStyle(_swigarg0))
4987 static PyObject *_wrap_wxWindow_SetExtraStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4988 PyObject * _resultobj;
4989 wxWindow * _arg0;
4990 long _arg1;
4991 PyObject * _argo0 = 0;
4992 char *_kwnames[] = { "self","exStyle", NULL };
4993
4994 self = self;
4995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxWindow_SetExtraStyle",_kwnames,&_argo0,&_arg1))
4996 return NULL;
4997 if (_argo0) {
4998 if (_argo0 == Py_None) { _arg0 = NULL; }
4999 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5000 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetExtraStyle. Expected _wxWindow_p.");
5001 return NULL;
5002 }
5003 }
5004 {
5005 PyThreadState* __tstate = wxPyBeginAllowThreads();
5006 wxWindow_SetExtraStyle(_arg0,_arg1);
5007
5008 wxPyEndAllowThreads(__tstate);
5009 if (PyErr_Occurred()) return NULL;
5010 } Py_INCREF(Py_None);
5011 _resultobj = Py_None;
5012 return _resultobj;
5013 }
5014
5015 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
5016 static PyObject *_wrap_wxWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
5017 PyObject * _resultobj;
5018 wxWindow * _arg0;
5019 wxString * _arg1;
5020 PyObject * _argo0 = 0;
5021 PyObject * _obj1 = 0;
5022 char *_kwnames[] = { "self","title", NULL };
5023
5024 self = self;
5025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetTitle",_kwnames,&_argo0,&_obj1))
5026 return NULL;
5027 if (_argo0) {
5028 if (_argo0 == Py_None) { _arg0 = NULL; }
5029 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5030 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
5031 return NULL;
5032 }
5033 }
5034 {
5035 _arg1 = wxString_in_helper(_obj1);
5036 if (_arg1 == NULL)
5037 return NULL;
5038 }
5039 {
5040 PyThreadState* __tstate = wxPyBeginAllowThreads();
5041 wxWindow_SetTitle(_arg0,*_arg1);
5042
5043 wxPyEndAllowThreads(__tstate);
5044 if (PyErr_Occurred()) return NULL;
5045 } Py_INCREF(Py_None);
5046 _resultobj = Py_None;
5047 {
5048 if (_obj1)
5049 delete _arg1;
5050 }
5051 return _resultobj;
5052 }
5053
5054 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5055 static PyObject *_wrap_wxWindow_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
5056 PyObject * _resultobj;
5057 bool _result;
5058 wxWindow * _arg0;
5059 bool _arg1 = (bool ) TRUE;
5060 PyObject * _argo0 = 0;
5061 int tempbool1 = (int) TRUE;
5062 char *_kwnames[] = { "self","show", NULL };
5063
5064 self = self;
5065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_Show",_kwnames,&_argo0,&tempbool1))
5066 return NULL;
5067 if (_argo0) {
5068 if (_argo0 == Py_None) { _arg0 = NULL; }
5069 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5070 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
5071 return NULL;
5072 }
5073 }
5074 _arg1 = (bool ) tempbool1;
5075 {
5076 PyThreadState* __tstate = wxPyBeginAllowThreads();
5077 _result = (bool )wxWindow_Show(_arg0,_arg1);
5078
5079 wxPyEndAllowThreads(__tstate);
5080 if (PyErr_Occurred()) return NULL;
5081 } _resultobj = Py_BuildValue("i",_result);
5082 return _resultobj;
5083 }
5084
5085 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
5086 static PyObject *_wrap_wxWindow_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5087 PyObject * _resultobj;
5088 bool _result;
5089 wxWindow * _arg0;
5090 PyObject * _argo0 = 0;
5091 char *_kwnames[] = { "self", NULL };
5092
5093 self = self;
5094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_TransferDataFromWindow",_kwnames,&_argo0))
5095 return NULL;
5096 if (_argo0) {
5097 if (_argo0 == Py_None) { _arg0 = NULL; }
5098 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5099 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
5100 return NULL;
5101 }
5102 }
5103 {
5104 PyThreadState* __tstate = wxPyBeginAllowThreads();
5105 _result = (bool )wxWindow_TransferDataFromWindow(_arg0);
5106
5107 wxPyEndAllowThreads(__tstate);
5108 if (PyErr_Occurred()) return NULL;
5109 } _resultobj = Py_BuildValue("i",_result);
5110 return _resultobj;
5111 }
5112
5113 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
5114 static PyObject *_wrap_wxWindow_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5115 PyObject * _resultobj;
5116 bool _result;
5117 wxWindow * _arg0;
5118 PyObject * _argo0 = 0;
5119 char *_kwnames[] = { "self", NULL };
5120
5121 self = self;
5122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_TransferDataToWindow",_kwnames,&_argo0))
5123 return NULL;
5124 if (_argo0) {
5125 if (_argo0 == Py_None) { _arg0 = NULL; }
5126 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5127 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
5128 return NULL;
5129 }
5130 }
5131 {
5132 PyThreadState* __tstate = wxPyBeginAllowThreads();
5133 _result = (bool )wxWindow_TransferDataToWindow(_arg0);
5134
5135 wxPyEndAllowThreads(__tstate);
5136 if (PyErr_Occurred()) return NULL;
5137 } _resultobj = Py_BuildValue("i",_result);
5138 return _resultobj;
5139 }
5140
5141 #define wxWindow_UpdateWindowUI(_swigobj,_swigarg0) (_swigobj->UpdateWindowUI(_swigarg0))
5142 static PyObject *_wrap_wxWindow_UpdateWindowUI(PyObject *self, PyObject *args, PyObject *kwargs) {
5143 PyObject * _resultobj;
5144 wxWindow * _arg0;
5145 long _arg1 = (long ) wxUPDATE_UI_NONE;
5146 PyObject * _argo0 = 0;
5147 char *_kwnames[] = { "self","flags", NULL };
5148
5149 self = self;
5150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|l:wxWindow_UpdateWindowUI",_kwnames,&_argo0,&_arg1))
5151 return NULL;
5152 if (_argo0) {
5153 if (_argo0 == Py_None) { _arg0 = NULL; }
5154 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5155 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_UpdateWindowUI. Expected _wxWindow_p.");
5156 return NULL;
5157 }
5158 }
5159 {
5160 PyThreadState* __tstate = wxPyBeginAllowThreads();
5161 wxWindow_UpdateWindowUI(_arg0,_arg1);
5162
5163 wxPyEndAllowThreads(__tstate);
5164 if (PyErr_Occurred()) return NULL;
5165 } Py_INCREF(Py_None);
5166 _resultobj = Py_None;
5167 return _resultobj;
5168 }
5169
5170 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
5171 static PyObject *_wrap_wxWindow_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
5172 PyObject * _resultobj;
5173 bool _result;
5174 wxWindow * _arg0;
5175 PyObject * _argo0 = 0;
5176 char *_kwnames[] = { "self", NULL };
5177
5178 self = self;
5179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Validate",_kwnames,&_argo0))
5180 return NULL;
5181 if (_argo0) {
5182 if (_argo0 == Py_None) { _arg0 = NULL; }
5183 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5184 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
5185 return NULL;
5186 }
5187 }
5188 {
5189 PyThreadState* __tstate = wxPyBeginAllowThreads();
5190 _result = (bool )wxWindow_Validate(_arg0);
5191
5192 wxPyEndAllowThreads(__tstate);
5193 if (PyErr_Occurred()) return NULL;
5194 } _resultobj = Py_BuildValue("i",_result);
5195 return _resultobj;
5196 }
5197
5198 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
5199 static PyObject *_wrap_wxWindow_ConvertDialogPointToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
5200 PyObject * _resultobj;
5201 wxPoint * _result;
5202 wxWindow * _arg0;
5203 wxPoint * _arg1;
5204 PyObject * _argo0 = 0;
5205 wxPoint temp;
5206 PyObject * _obj1 = 0;
5207 char *_kwnames[] = { "self","pt", NULL };
5208 char _ptemp[128];
5209
5210 self = self;
5211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames,&_argo0,&_obj1))
5212 return NULL;
5213 if (_argo0) {
5214 if (_argo0 == Py_None) { _arg0 = NULL; }
5215 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5216 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
5217 return NULL;
5218 }
5219 }
5220 {
5221 _arg1 = &temp;
5222 if (! wxPoint_helper(_obj1, &_arg1))
5223 return NULL;
5224 }
5225 {
5226 PyThreadState* __tstate = wxPyBeginAllowThreads();
5227 _result = new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0,*_arg1));
5228
5229 wxPyEndAllowThreads(__tstate);
5230 if (PyErr_Occurred()) return NULL;
5231 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
5232 _resultobj = Py_BuildValue("s",_ptemp);
5233 return _resultobj;
5234 }
5235
5236 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
5237 static PyObject *_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
5238 PyObject * _resultobj;
5239 wxSize * _result;
5240 wxWindow * _arg0;
5241 wxSize * _arg1;
5242 PyObject * _argo0 = 0;
5243 wxSize temp;
5244 PyObject * _obj1 = 0;
5245 char *_kwnames[] = { "self","sz", NULL };
5246 char _ptemp[128];
5247
5248 self = self;
5249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames,&_argo0,&_obj1))
5250 return NULL;
5251 if (_argo0) {
5252 if (_argo0 == Py_None) { _arg0 = NULL; }
5253 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5254 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
5255 return NULL;
5256 }
5257 }
5258 {
5259 _arg1 = &temp;
5260 if (! wxSize_helper(_obj1, &_arg1))
5261 return NULL;
5262 }
5263 {
5264 PyThreadState* __tstate = wxPyBeginAllowThreads();
5265 _result = new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0,*_arg1));
5266
5267 wxPyEndAllowThreads(__tstate);
5268 if (PyErr_Occurred()) return NULL;
5269 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
5270 _resultobj = Py_BuildValue("s",_ptemp);
5271 return _resultobj;
5272 }
5273
5274 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
5275 static PyObject *_wrap_wxWindow_ConvertPixelPointToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
5276 PyObject * _resultobj;
5277 wxPoint * _result;
5278 wxWindow * _arg0;
5279 wxPoint * _arg1;
5280 PyObject * _argo0 = 0;
5281 wxPoint temp;
5282 PyObject * _obj1 = 0;
5283 char *_kwnames[] = { "self","pt", NULL };
5284 char _ptemp[128];
5285
5286 self = self;
5287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames,&_argo0,&_obj1))
5288 return NULL;
5289 if (_argo0) {
5290 if (_argo0 == Py_None) { _arg0 = NULL; }
5291 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5292 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
5293 return NULL;
5294 }
5295 }
5296 {
5297 _arg1 = &temp;
5298 if (! wxPoint_helper(_obj1, &_arg1))
5299 return NULL;
5300 }
5301 {
5302 PyThreadState* __tstate = wxPyBeginAllowThreads();
5303 _result = new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0,*_arg1));
5304
5305 wxPyEndAllowThreads(__tstate);
5306 if (PyErr_Occurred()) return NULL;
5307 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
5308 _resultobj = Py_BuildValue("s",_ptemp);
5309 return _resultobj;
5310 }
5311
5312 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
5313 static PyObject *_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
5314 PyObject * _resultobj;
5315 wxSize * _result;
5316 wxWindow * _arg0;
5317 wxSize * _arg1;
5318 PyObject * _argo0 = 0;
5319 wxSize temp;
5320 PyObject * _obj1 = 0;
5321 char *_kwnames[] = { "self","sz", NULL };
5322 char _ptemp[128];
5323
5324 self = self;
5325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames,&_argo0,&_obj1))
5326 return NULL;
5327 if (_argo0) {
5328 if (_argo0 == Py_None) { _arg0 = NULL; }
5329 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5330 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
5331 return NULL;
5332 }
5333 }
5334 {
5335 _arg1 = &temp;
5336 if (! wxSize_helper(_obj1, &_arg1))
5337 return NULL;
5338 }
5339 {
5340 PyThreadState* __tstate = wxPyBeginAllowThreads();
5341 _result = new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0,*_arg1));
5342
5343 wxPyEndAllowThreads(__tstate);
5344 if (PyErr_Occurred()) return NULL;
5345 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
5346 _resultobj = Py_BuildValue("s",_ptemp);
5347 return _resultobj;
5348 }
5349
5350 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
5351 static PyObject *_wrap_wxWindow_SetToolTipString(PyObject *self, PyObject *args, PyObject *kwargs) {
5352 PyObject * _resultobj;
5353 wxWindow * _arg0;
5354 wxString * _arg1;
5355 PyObject * _argo0 = 0;
5356 PyObject * _obj1 = 0;
5357 char *_kwnames[] = { "self","tip", NULL };
5358
5359 self = self;
5360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetToolTipString",_kwnames,&_argo0,&_obj1))
5361 return NULL;
5362 if (_argo0) {
5363 if (_argo0 == Py_None) { _arg0 = NULL; }
5364 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5365 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
5366 return NULL;
5367 }
5368 }
5369 {
5370 _arg1 = wxString_in_helper(_obj1);
5371 if (_arg1 == NULL)
5372 return NULL;
5373 }
5374 {
5375 PyThreadState* __tstate = wxPyBeginAllowThreads();
5376 wxWindow_SetToolTipString(_arg0,*_arg1);
5377
5378 wxPyEndAllowThreads(__tstate);
5379 if (PyErr_Occurred()) return NULL;
5380 } Py_INCREF(Py_None);
5381 _resultobj = Py_None;
5382 {
5383 if (_obj1)
5384 delete _arg1;
5385 }
5386 return _resultobj;
5387 }
5388
5389 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
5390 static PyObject *_wrap_wxWindow_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5391 PyObject * _resultobj;
5392 wxWindow * _arg0;
5393 wxToolTip * _arg1;
5394 PyObject * _argo0 = 0;
5395 PyObject * _argo1 = 0;
5396 char *_kwnames[] = { "self","tooltip", NULL };
5397
5398 self = self;
5399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetToolTip",_kwnames,&_argo0,&_argo1))
5400 return NULL;
5401 if (_argo0) {
5402 if (_argo0 == Py_None) { _arg0 = NULL; }
5403 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5404 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
5405 return NULL;
5406 }
5407 }
5408 if (_argo1) {
5409 if (_argo1 == Py_None) { _arg1 = NULL; }
5410 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxToolTip_p")) {
5411 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
5412 return NULL;
5413 }
5414 }
5415 {
5416 PyThreadState* __tstate = wxPyBeginAllowThreads();
5417 wxWindow_SetToolTip(_arg0,_arg1);
5418
5419 wxPyEndAllowThreads(__tstate);
5420 if (PyErr_Occurred()) return NULL;
5421 } Py_INCREF(Py_None);
5422 _resultobj = Py_None;
5423 return _resultobj;
5424 }
5425
5426 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
5427 static PyObject *_wrap_wxWindow_GetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5428 PyObject * _resultobj;
5429 wxToolTip * _result;
5430 wxWindow * _arg0;
5431 PyObject * _argo0 = 0;
5432 char *_kwnames[] = { "self", NULL };
5433
5434 self = self;
5435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetToolTip",_kwnames,&_argo0))
5436 return NULL;
5437 if (_argo0) {
5438 if (_argo0 == Py_None) { _arg0 = NULL; }
5439 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5440 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
5441 return NULL;
5442 }
5443 }
5444 {
5445 PyThreadState* __tstate = wxPyBeginAllowThreads();
5446 _result = (wxToolTip *)wxWindow_GetToolTip(_arg0);
5447
5448 wxPyEndAllowThreads(__tstate);
5449 if (PyErr_Occurred()) return NULL;
5450 }{ _resultobj = wxPyMake_wxObject(_result); }
5451 return _resultobj;
5452 }
5453
5454 #define wxWindow_SetSizer(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSizer(_swigarg0,_swigarg1))
5455 static PyObject *_wrap_wxWindow_SetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
5456 PyObject * _resultobj;
5457 wxWindow * _arg0;
5458 wxSizer * _arg1;
5459 bool _arg2 = (bool ) TRUE;
5460 PyObject * _argo0 = 0;
5461 PyObject * _argo1 = 0;
5462 int tempbool2 = (int) TRUE;
5463 char *_kwnames[] = { "self","sizer","deleteOld", NULL };
5464
5465 self = self;
5466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxWindow_SetSizer",_kwnames,&_argo0,&_argo1,&tempbool2))
5467 return NULL;
5468 if (_argo0) {
5469 if (_argo0 == Py_None) { _arg0 = NULL; }
5470 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5471 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetSizer. Expected _wxWindow_p.");
5472 return NULL;
5473 }
5474 }
5475 if (_argo1) {
5476 if (_argo1 == Py_None) { _arg1 = NULL; }
5477 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSizer_p")) {
5478 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetSizer. Expected _wxSizer_p.");
5479 return NULL;
5480 }
5481 }
5482 _arg2 = (bool ) tempbool2;
5483 {
5484 PyThreadState* __tstate = wxPyBeginAllowThreads();
5485 wxWindow_SetSizer(_arg0,_arg1,_arg2);
5486
5487 wxPyEndAllowThreads(__tstate);
5488 if (PyErr_Occurred()) return NULL;
5489 } Py_INCREF(Py_None);
5490 _resultobj = Py_None;
5491 return _resultobj;
5492 }
5493
5494 #define wxWindow_SetSizerAndFit(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSizerAndFit(_swigarg0,_swigarg1))
5495 static PyObject *_wrap_wxWindow_SetSizerAndFit(PyObject *self, PyObject *args, PyObject *kwargs) {
5496 PyObject * _resultobj;
5497 wxWindow * _arg0;
5498 wxSizer * _arg1;
5499 bool _arg2 = (bool ) TRUE;
5500 PyObject * _argo0 = 0;
5501 PyObject * _argo1 = 0;
5502 int tempbool2 = (int) TRUE;
5503 char *_kwnames[] = { "self","sizer","deleteOld", NULL };
5504
5505 self = self;
5506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxWindow_SetSizerAndFit",_kwnames,&_argo0,&_argo1,&tempbool2))
5507 return NULL;
5508 if (_argo0) {
5509 if (_argo0 == Py_None) { _arg0 = NULL; }
5510 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5511 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetSizerAndFit. Expected _wxWindow_p.");
5512 return NULL;
5513 }
5514 }
5515 if (_argo1) {
5516 if (_argo1 == Py_None) { _arg1 = NULL; }
5517 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSizer_p")) {
5518 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetSizerAndFit. Expected _wxSizer_p.");
5519 return NULL;
5520 }
5521 }
5522 _arg2 = (bool ) tempbool2;
5523 {
5524 PyThreadState* __tstate = wxPyBeginAllowThreads();
5525 wxWindow_SetSizerAndFit(_arg0,_arg1,_arg2);
5526
5527 wxPyEndAllowThreads(__tstate);
5528 if (PyErr_Occurred()) return NULL;
5529 } Py_INCREF(Py_None);
5530 _resultobj = Py_None;
5531 return _resultobj;
5532 }
5533
5534 #define wxWindow_GetSizer(_swigobj) (_swigobj->GetSizer())
5535 static PyObject *_wrap_wxWindow_GetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
5536 PyObject * _resultobj;
5537 wxSizer * _result;
5538 wxWindow * _arg0;
5539 PyObject * _argo0 = 0;
5540 char *_kwnames[] = { "self", NULL };
5541
5542 self = self;
5543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetSizer",_kwnames,&_argo0))
5544 return NULL;
5545 if (_argo0) {
5546 if (_argo0 == Py_None) { _arg0 = NULL; }
5547 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5548 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetSizer. Expected _wxWindow_p.");
5549 return NULL;
5550 }
5551 }
5552 {
5553 PyThreadState* __tstate = wxPyBeginAllowThreads();
5554 _result = (wxSizer *)wxWindow_GetSizer(_arg0);
5555
5556 wxPyEndAllowThreads(__tstate);
5557 if (PyErr_Occurred()) return NULL;
5558 }{ _resultobj = wxPyMake_wxSizer(_result); }
5559 return _resultobj;
5560 }
5561
5562 #define wxWindow_SetContainingSizer(_swigobj,_swigarg0) (_swigobj->SetContainingSizer(_swigarg0))
5563 static PyObject *_wrap_wxWindow_SetContainingSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
5564 PyObject * _resultobj;
5565 wxWindow * _arg0;
5566 wxSizer * _arg1;
5567 PyObject * _argo0 = 0;
5568 PyObject * _argo1 = 0;
5569 char *_kwnames[] = { "self","sizer", NULL };
5570
5571 self = self;
5572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetContainingSizer",_kwnames,&_argo0,&_argo1))
5573 return NULL;
5574 if (_argo0) {
5575 if (_argo0 == Py_None) { _arg0 = NULL; }
5576 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5577 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetContainingSizer. Expected _wxWindow_p.");
5578 return NULL;
5579 }
5580 }
5581 if (_argo1) {
5582 if (_argo1 == Py_None) { _arg1 = NULL; }
5583 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSizer_p")) {
5584 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetContainingSizer. Expected _wxSizer_p.");
5585 return NULL;
5586 }
5587 }
5588 {
5589 PyThreadState* __tstate = wxPyBeginAllowThreads();
5590 wxWindow_SetContainingSizer(_arg0,_arg1);
5591
5592 wxPyEndAllowThreads(__tstate);
5593 if (PyErr_Occurred()) return NULL;
5594 } Py_INCREF(Py_None);
5595 _resultobj = Py_None;
5596 return _resultobj;
5597 }
5598
5599 #define wxWindow_GetContainingSizer(_swigobj) (_swigobj->GetContainingSizer())
5600 static PyObject *_wrap_wxWindow_GetContainingSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
5601 PyObject * _resultobj;
5602 wxSizer * _result;
5603 wxWindow * _arg0;
5604 PyObject * _argo0 = 0;
5605 char *_kwnames[] = { "self", NULL };
5606
5607 self = self;
5608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetContainingSizer",_kwnames,&_argo0))
5609 return NULL;
5610 if (_argo0) {
5611 if (_argo0 == Py_None) { _arg0 = NULL; }
5612 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5613 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetContainingSizer. Expected _wxWindow_p.");
5614 return NULL;
5615 }
5616 }
5617 {
5618 PyThreadState* __tstate = wxPyBeginAllowThreads();
5619 _result = (wxSizer *)wxWindow_GetContainingSizer(_arg0);
5620
5621 wxPyEndAllowThreads(__tstate);
5622 if (PyErr_Occurred()) return NULL;
5623 }{ _resultobj = wxPyMake_wxSizer(_result); }
5624 return _resultobj;
5625 }
5626
5627 #define wxWindow_GetValidator(_swigobj) (_swigobj->GetValidator())
5628 static PyObject *_wrap_wxWindow_GetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
5629 PyObject * _resultobj;
5630 wxValidator * _result;
5631 wxWindow * _arg0;
5632 PyObject * _argo0 = 0;
5633 char *_kwnames[] = { "self", NULL };
5634
5635 self = self;
5636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetValidator",_kwnames,&_argo0))
5637 return NULL;
5638 if (_argo0) {
5639 if (_argo0 == Py_None) { _arg0 = NULL; }
5640 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5641 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetValidator. Expected _wxWindow_p.");
5642 return NULL;
5643 }
5644 }
5645 {
5646 PyThreadState* __tstate = wxPyBeginAllowThreads();
5647 _result = (wxValidator *)wxWindow_GetValidator(_arg0);
5648
5649 wxPyEndAllowThreads(__tstate);
5650 if (PyErr_Occurred()) return NULL;
5651 }{ _resultobj = wxPyMake_wxObject(_result); }
5652 return _resultobj;
5653 }
5654
5655 #define wxWindow_SetValidator(_swigobj,_swigarg0) (_swigobj->SetValidator(_swigarg0))
5656 static PyObject *_wrap_wxWindow_SetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
5657 PyObject * _resultobj;
5658 wxWindow * _arg0;
5659 wxValidator * _arg1;
5660 PyObject * _argo0 = 0;
5661 PyObject * _argo1 = 0;
5662 char *_kwnames[] = { "self","validator", NULL };
5663
5664 self = self;
5665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetValidator",_kwnames,&_argo0,&_argo1))
5666 return NULL;
5667 if (_argo0) {
5668 if (_argo0 == Py_None) { _arg0 = NULL; }
5669 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5670 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetValidator. Expected _wxWindow_p.");
5671 return NULL;
5672 }
5673 }
5674 if (_argo1) {
5675 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxValidator_p")) {
5676 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetValidator. Expected _wxValidator_p.");
5677 return NULL;
5678 }
5679 }
5680 {
5681 PyThreadState* __tstate = wxPyBeginAllowThreads();
5682 wxWindow_SetValidator(_arg0,*_arg1);
5683
5684 wxPyEndAllowThreads(__tstate);
5685 if (PyErr_Occurred()) return NULL;
5686 } Py_INCREF(Py_None);
5687 _resultobj = Py_None;
5688 return _resultobj;
5689 }
5690
5691 #define wxWindow_SetDropTarget(_swigobj,_swigarg0) (_swigobj->SetDropTarget(_swigarg0))
5692 static PyObject *_wrap_wxWindow_SetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
5693 PyObject * _resultobj;
5694 wxWindow * _arg0;
5695 wxDropTarget * _arg1;
5696 PyObject * _argo0 = 0;
5697 PyObject * _argo1 = 0;
5698 char *_kwnames[] = { "self","target", NULL };
5699
5700 self = self;
5701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetDropTarget",_kwnames,&_argo0,&_argo1))
5702 return NULL;
5703 if (_argo0) {
5704 if (_argo0 == Py_None) { _arg0 = NULL; }
5705 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5706 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetDropTarget. Expected _wxWindow_p.");
5707 return NULL;
5708 }
5709 }
5710 if (_argo1) {
5711 if (_argo1 == Py_None) { _arg1 = NULL; }
5712 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDropTarget_p")) {
5713 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetDropTarget. Expected _wxDropTarget_p.");
5714 return NULL;
5715 }
5716 }
5717 {
5718 PyThreadState* __tstate = wxPyBeginAllowThreads();
5719 wxWindow_SetDropTarget(_arg0,_arg1);
5720
5721 wxPyEndAllowThreads(__tstate);
5722 if (PyErr_Occurred()) return NULL;
5723 } Py_INCREF(Py_None);
5724 _resultobj = Py_None;
5725 return _resultobj;
5726 }
5727
5728 #define wxWindow_GetDropTarget(_swigobj) (_swigobj->GetDropTarget())
5729 static PyObject *_wrap_wxWindow_GetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
5730 PyObject * _resultobj;
5731 wxDropTarget * _result;
5732 wxWindow * _arg0;
5733 PyObject * _argo0 = 0;
5734 char *_kwnames[] = { "self", NULL };
5735 char _ptemp[128];
5736
5737 self = self;
5738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetDropTarget",_kwnames,&_argo0))
5739 return NULL;
5740 if (_argo0) {
5741 if (_argo0 == Py_None) { _arg0 = NULL; }
5742 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5743 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetDropTarget. Expected _wxWindow_p.");
5744 return NULL;
5745 }
5746 }
5747 {
5748 PyThreadState* __tstate = wxPyBeginAllowThreads();
5749 _result = (wxDropTarget *)wxWindow_GetDropTarget(_arg0);
5750
5751 wxPyEndAllowThreads(__tstate);
5752 if (PyErr_Occurred()) return NULL;
5753 } if (_result) {
5754 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDropTarget_p");
5755 _resultobj = Py_BuildValue("s",_ptemp);
5756 } else {
5757 Py_INCREF(Py_None);
5758 _resultobj = Py_None;
5759 }
5760 return _resultobj;
5761 }
5762
5763 #define wxWindow_GetBestSize(_swigobj) (_swigobj->GetBestSize())
5764 static PyObject *_wrap_wxWindow_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5765 PyObject * _resultobj;
5766 wxSize * _result;
5767 wxWindow * _arg0;
5768 PyObject * _argo0 = 0;
5769 char *_kwnames[] = { "self", NULL };
5770 char _ptemp[128];
5771
5772 self = self;
5773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetBestSize",_kwnames,&_argo0))
5774 return NULL;
5775 if (_argo0) {
5776 if (_argo0 == Py_None) { _arg0 = NULL; }
5777 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5778 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetBestSize. Expected _wxWindow_p.");
5779 return NULL;
5780 }
5781 }
5782 {
5783 PyThreadState* __tstate = wxPyBeginAllowThreads();
5784 _result = new wxSize (wxWindow_GetBestSize(_arg0));
5785
5786 wxPyEndAllowThreads(__tstate);
5787 if (PyErr_Occurred()) return NULL;
5788 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
5789 _resultobj = Py_BuildValue("s",_ptemp);
5790 return _resultobj;
5791 }
5792
5793 #define wxWindow_GetMaxSize(_swigobj) (_swigobj->GetMaxSize())
5794 static PyObject *_wrap_wxWindow_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5795 PyObject * _resultobj;
5796 wxSize * _result;
5797 wxWindow * _arg0;
5798 PyObject * _argo0 = 0;
5799 char *_kwnames[] = { "self", NULL };
5800 char _ptemp[128];
5801
5802 self = self;
5803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetMaxSize",_kwnames,&_argo0))
5804 return NULL;
5805 if (_argo0) {
5806 if (_argo0 == Py_None) { _arg0 = NULL; }
5807 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5808 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetMaxSize. Expected _wxWindow_p.");
5809 return NULL;
5810 }
5811 }
5812 {
5813 PyThreadState* __tstate = wxPyBeginAllowThreads();
5814 _result = new wxSize (wxWindow_GetMaxSize(_arg0));
5815
5816 wxPyEndAllowThreads(__tstate);
5817 if (PyErr_Occurred()) return NULL;
5818 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
5819 _resultobj = Py_BuildValue("s",_ptemp);
5820 return _resultobj;
5821 }
5822
5823 #define wxWindow_GetAdjustedBestSize(_swigobj) (_swigobj->GetAdjustedBestSize())
5824 static PyObject *_wrap_wxWindow_GetAdjustedBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5825 PyObject * _resultobj;
5826 wxSize * _result;
5827 wxWindow * _arg0;
5828 PyObject * _argo0 = 0;
5829 char *_kwnames[] = { "self", NULL };
5830 char _ptemp[128];
5831
5832 self = self;
5833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetAdjustedBestSize",_kwnames,&_argo0))
5834 return NULL;
5835 if (_argo0) {
5836 if (_argo0 == Py_None) { _arg0 = NULL; }
5837 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5838 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetAdjustedBestSize. Expected _wxWindow_p.");
5839 return NULL;
5840 }
5841 }
5842 {
5843 PyThreadState* __tstate = wxPyBeginAllowThreads();
5844 _result = new wxSize (wxWindow_GetAdjustedBestSize(_arg0));
5845
5846 wxPyEndAllowThreads(__tstate);
5847 if (PyErr_Occurred()) return NULL;
5848 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
5849 _resultobj = Py_BuildValue("s",_ptemp);
5850 return _resultobj;
5851 }
5852
5853 #define wxWindow_SetCaret(_swigobj,_swigarg0) (_swigobj->SetCaret(_swigarg0))
5854 static PyObject *_wrap_wxWindow_SetCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
5855 PyObject * _resultobj;
5856 wxWindow * _arg0;
5857 wxCaret * _arg1;
5858 PyObject * _argo0 = 0;
5859 PyObject * _argo1 = 0;
5860 char *_kwnames[] = { "self","caret", NULL };
5861
5862 self = self;
5863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetCaret",_kwnames,&_argo0,&_argo1))
5864 return NULL;
5865 if (_argo0) {
5866 if (_argo0 == Py_None) { _arg0 = NULL; }
5867 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5868 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetCaret. Expected _wxWindow_p.");
5869 return NULL;
5870 }
5871 }
5872 if (_argo1) {
5873 if (_argo1 == Py_None) { _arg1 = NULL; }
5874 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCaret_p")) {
5875 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetCaret. Expected _wxCaret_p.");
5876 return NULL;
5877 }
5878 }
5879 {
5880 PyThreadState* __tstate = wxPyBeginAllowThreads();
5881 wxWindow_SetCaret(_arg0,_arg1);
5882
5883 wxPyEndAllowThreads(__tstate);
5884 if (PyErr_Occurred()) return NULL;
5885 } Py_INCREF(Py_None);
5886 _resultobj = Py_None;
5887 return _resultobj;
5888 }
5889
5890 #define wxWindow_GetCaret(_swigobj) (_swigobj->GetCaret())
5891 static PyObject *_wrap_wxWindow_GetCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
5892 PyObject * _resultobj;
5893 wxCaret * _result;
5894 wxWindow * _arg0;
5895 PyObject * _argo0 = 0;
5896 char *_kwnames[] = { "self", NULL };
5897 char _ptemp[128];
5898
5899 self = self;
5900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetCaret",_kwnames,&_argo0))
5901 return NULL;
5902 if (_argo0) {
5903 if (_argo0 == Py_None) { _arg0 = NULL; }
5904 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5905 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetCaret. Expected _wxWindow_p.");
5906 return NULL;
5907 }
5908 }
5909 {
5910 PyThreadState* __tstate = wxPyBeginAllowThreads();
5911 _result = (wxCaret *)wxWindow_GetCaret(_arg0);
5912
5913 wxPyEndAllowThreads(__tstate);
5914 if (PyErr_Occurred()) return NULL;
5915 } if (_result) {
5916 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCaret_p");
5917 _resultobj = Py_BuildValue("s",_ptemp);
5918 } else {
5919 Py_INCREF(Py_None);
5920 _resultobj = Py_None;
5921 }
5922 return _resultobj;
5923 }
5924
5925 #define wxWindow_Freeze(_swigobj) (_swigobj->Freeze())
5926 static PyObject *_wrap_wxWindow_Freeze(PyObject *self, PyObject *args, PyObject *kwargs) {
5927 PyObject * _resultobj;
5928 wxWindow * _arg0;
5929 PyObject * _argo0 = 0;
5930 char *_kwnames[] = { "self", NULL };
5931
5932 self = self;
5933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Freeze",_kwnames,&_argo0))
5934 return NULL;
5935 if (_argo0) {
5936 if (_argo0 == Py_None) { _arg0 = NULL; }
5937 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5938 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Freeze. Expected _wxWindow_p.");
5939 return NULL;
5940 }
5941 }
5942 {
5943 PyThreadState* __tstate = wxPyBeginAllowThreads();
5944 wxWindow_Freeze(_arg0);
5945
5946 wxPyEndAllowThreads(__tstate);
5947 if (PyErr_Occurred()) return NULL;
5948 } Py_INCREF(Py_None);
5949 _resultobj = Py_None;
5950 return _resultobj;
5951 }
5952
5953 #define wxWindow_Thaw(_swigobj) (_swigobj->Thaw())
5954 static PyObject *_wrap_wxWindow_Thaw(PyObject *self, PyObject *args, PyObject *kwargs) {
5955 PyObject * _resultobj;
5956 wxWindow * _arg0;
5957 PyObject * _argo0 = 0;
5958 char *_kwnames[] = { "self", NULL };
5959
5960 self = self;
5961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Thaw",_kwnames,&_argo0))
5962 return NULL;
5963 if (_argo0) {
5964 if (_argo0 == Py_None) { _arg0 = NULL; }
5965 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5966 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Thaw. Expected _wxWindow_p.");
5967 return NULL;
5968 }
5969 }
5970 {
5971 PyThreadState* __tstate = wxPyBeginAllowThreads();
5972 wxWindow_Thaw(_arg0);
5973
5974 wxPyEndAllowThreads(__tstate);
5975 if (PyErr_Occurred()) return NULL;
5976 } Py_INCREF(Py_None);
5977 _resultobj = Py_None;
5978 return _resultobj;
5979 }
5980
5981 #define wxWindow_Update(_swigobj) (_swigobj->Update())
5982 static PyObject *_wrap_wxWindow_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
5983 PyObject * _resultobj;
5984 wxWindow * _arg0;
5985 PyObject * _argo0 = 0;
5986 char *_kwnames[] = { "self", NULL };
5987
5988 self = self;
5989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Update",_kwnames,&_argo0))
5990 return NULL;
5991 if (_argo0) {
5992 if (_argo0 == Py_None) { _arg0 = NULL; }
5993 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5994 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Update. Expected _wxWindow_p.");
5995 return NULL;
5996 }
5997 }
5998 {
5999 PyThreadState* __tstate = wxPyBeginAllowThreads();
6000 wxWindow_Update(_arg0);
6001
6002 wxPyEndAllowThreads(__tstate);
6003 if (PyErr_Occurred()) return NULL;
6004 } Py_INCREF(Py_None);
6005 _resultobj = Py_None;
6006 return _resultobj;
6007 }
6008
6009 #define wxWindow_GetHelpText(_swigobj) (_swigobj->GetHelpText())
6010 static PyObject *_wrap_wxWindow_GetHelpText(PyObject *self, PyObject *args, PyObject *kwargs) {
6011 PyObject * _resultobj;
6012 wxString * _result;
6013 wxWindow * _arg0;
6014 PyObject * _argo0 = 0;
6015 char *_kwnames[] = { "self", NULL };
6016
6017 self = self;
6018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetHelpText",_kwnames,&_argo0))
6019 return NULL;
6020 if (_argo0) {
6021 if (_argo0 == Py_None) { _arg0 = NULL; }
6022 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6023 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetHelpText. Expected _wxWindow_p.");
6024 return NULL;
6025 }
6026 }
6027 {
6028 PyThreadState* __tstate = wxPyBeginAllowThreads();
6029 _result = new wxString (wxWindow_GetHelpText(_arg0));
6030
6031 wxPyEndAllowThreads(__tstate);
6032 if (PyErr_Occurred()) return NULL;
6033 }{
6034 #if wxUSE_UNICODE
6035 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
6036 #else
6037 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6038 #endif
6039 }
6040 {
6041 delete _result;
6042 }
6043 return _resultobj;
6044 }
6045
6046 #define wxWindow_SetHelpText(_swigobj,_swigarg0) (_swigobj->SetHelpText(_swigarg0))
6047 static PyObject *_wrap_wxWindow_SetHelpText(PyObject *self, PyObject *args, PyObject *kwargs) {
6048 PyObject * _resultobj;
6049 wxWindow * _arg0;
6050 wxString * _arg1;
6051 PyObject * _argo0 = 0;
6052 PyObject * _obj1 = 0;
6053 char *_kwnames[] = { "self","helpText", NULL };
6054
6055 self = self;
6056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetHelpText",_kwnames,&_argo0,&_obj1))
6057 return NULL;
6058 if (_argo0) {
6059 if (_argo0 == Py_None) { _arg0 = NULL; }
6060 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6061 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetHelpText. Expected _wxWindow_p.");
6062 return NULL;
6063 }
6064 }
6065 {
6066 _arg1 = wxString_in_helper(_obj1);
6067 if (_arg1 == NULL)
6068 return NULL;
6069 }
6070 {
6071 PyThreadState* __tstate = wxPyBeginAllowThreads();
6072 wxWindow_SetHelpText(_arg0,*_arg1);
6073
6074 wxPyEndAllowThreads(__tstate);
6075 if (PyErr_Occurred()) return NULL;
6076 } Py_INCREF(Py_None);
6077 _resultobj = Py_None;
6078 {
6079 if (_obj1)
6080 delete _arg1;
6081 }
6082 return _resultobj;
6083 }
6084
6085 #define wxWindow_SetHelpTextForId(_swigobj,_swigarg0) (_swigobj->SetHelpTextForId(_swigarg0))
6086 static PyObject *_wrap_wxWindow_SetHelpTextForId(PyObject *self, PyObject *args, PyObject *kwargs) {
6087 PyObject * _resultobj;
6088 wxWindow * _arg0;
6089 wxString * _arg1;
6090 PyObject * _argo0 = 0;
6091 PyObject * _obj1 = 0;
6092 char *_kwnames[] = { "self","text", NULL };
6093
6094 self = self;
6095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetHelpTextForId",_kwnames,&_argo0,&_obj1))
6096 return NULL;
6097 if (_argo0) {
6098 if (_argo0 == Py_None) { _arg0 = NULL; }
6099 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6100 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetHelpTextForId. Expected _wxWindow_p.");
6101 return NULL;
6102 }
6103 }
6104 {
6105 _arg1 = wxString_in_helper(_obj1);
6106 if (_arg1 == NULL)
6107 return NULL;
6108 }
6109 {
6110 PyThreadState* __tstate = wxPyBeginAllowThreads();
6111 wxWindow_SetHelpTextForId(_arg0,*_arg1);
6112
6113 wxPyEndAllowThreads(__tstate);
6114 if (PyErr_Occurred()) return NULL;
6115 } Py_INCREF(Py_None);
6116 _resultobj = Py_None;
6117 {
6118 if (_obj1)
6119 delete _arg1;
6120 }
6121 return _resultobj;
6122 }
6123
6124 #define wxWindow_ScrollLines(_swigobj,_swigarg0) (_swigobj->ScrollLines(_swigarg0))
6125 static PyObject *_wrap_wxWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
6126 PyObject * _resultobj;
6127 bool _result;
6128 wxWindow * _arg0;
6129 int _arg1;
6130 PyObject * _argo0 = 0;
6131 char *_kwnames[] = { "self","lines", NULL };
6132
6133 self = self;
6134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_ScrollLines",_kwnames,&_argo0,&_arg1))
6135 return NULL;
6136 if (_argo0) {
6137 if (_argo0 == Py_None) { _arg0 = NULL; }
6138 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6139 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScrollLines. Expected _wxWindow_p.");
6140 return NULL;
6141 }
6142 }
6143 {
6144 PyThreadState* __tstate = wxPyBeginAllowThreads();
6145 _result = (bool )wxWindow_ScrollLines(_arg0,_arg1);
6146
6147 wxPyEndAllowThreads(__tstate);
6148 if (PyErr_Occurred()) return NULL;
6149 } _resultobj = Py_BuildValue("i",_result);
6150 return _resultobj;
6151 }
6152
6153 #define wxWindow_ScrollPages(_swigobj,_swigarg0) (_swigobj->ScrollPages(_swigarg0))
6154 static PyObject *_wrap_wxWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
6155 PyObject * _resultobj;
6156 bool _result;
6157 wxWindow * _arg0;
6158 int _arg1;
6159 PyObject * _argo0 = 0;
6160 char *_kwnames[] = { "self","pages", NULL };
6161
6162 self = self;
6163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_ScrollPages",_kwnames,&_argo0,&_arg1))
6164 return NULL;
6165 if (_argo0) {
6166 if (_argo0 == Py_None) { _arg0 = NULL; }
6167 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6168 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScrollPages. Expected _wxWindow_p.");
6169 return NULL;
6170 }
6171 }
6172 {
6173 PyThreadState* __tstate = wxPyBeginAllowThreads();
6174 _result = (bool )wxWindow_ScrollPages(_arg0,_arg1);
6175
6176 wxPyEndAllowThreads(__tstate);
6177 if (PyErr_Occurred()) return NULL;
6178 } _resultobj = Py_BuildValue("i",_result);
6179 return _resultobj;
6180 }
6181
6182 #define wxWindow_LineUp(_swigobj) (_swigobj->LineUp())
6183 static PyObject *_wrap_wxWindow_LineUp(PyObject *self, PyObject *args, PyObject *kwargs) {
6184 PyObject * _resultobj;
6185 bool _result;
6186 wxWindow * _arg0;
6187 PyObject * _argo0 = 0;
6188 char *_kwnames[] = { "self", NULL };
6189
6190 self = self;
6191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_LineUp",_kwnames,&_argo0))
6192 return NULL;
6193 if (_argo0) {
6194 if (_argo0 == Py_None) { _arg0 = NULL; }
6195 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6196 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_LineUp. Expected _wxWindow_p.");
6197 return NULL;
6198 }
6199 }
6200 {
6201 PyThreadState* __tstate = wxPyBeginAllowThreads();
6202 _result = (bool )wxWindow_LineUp(_arg0);
6203
6204 wxPyEndAllowThreads(__tstate);
6205 if (PyErr_Occurred()) return NULL;
6206 } _resultobj = Py_BuildValue("i",_result);
6207 return _resultobj;
6208 }
6209
6210 #define wxWindow_LineDown(_swigobj) (_swigobj->LineDown())
6211 static PyObject *_wrap_wxWindow_LineDown(PyObject *self, PyObject *args, PyObject *kwargs) {
6212 PyObject * _resultobj;
6213 bool _result;
6214 wxWindow * _arg0;
6215 PyObject * _argo0 = 0;
6216 char *_kwnames[] = { "self", NULL };
6217
6218 self = self;
6219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_LineDown",_kwnames,&_argo0))
6220 return NULL;
6221 if (_argo0) {
6222 if (_argo0 == Py_None) { _arg0 = NULL; }
6223 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6224 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_LineDown. Expected _wxWindow_p.");
6225 return NULL;
6226 }
6227 }
6228 {
6229 PyThreadState* __tstate = wxPyBeginAllowThreads();
6230 _result = (bool )wxWindow_LineDown(_arg0);
6231
6232 wxPyEndAllowThreads(__tstate);
6233 if (PyErr_Occurred()) return NULL;
6234 } _resultobj = Py_BuildValue("i",_result);
6235 return _resultobj;
6236 }
6237
6238 #define wxWindow_PageUp(_swigobj) (_swigobj->PageUp())
6239 static PyObject *_wrap_wxWindow_PageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
6240 PyObject * _resultobj;
6241 bool _result;
6242 wxWindow * _arg0;
6243 PyObject * _argo0 = 0;
6244 char *_kwnames[] = { "self", NULL };
6245
6246 self = self;
6247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_PageUp",_kwnames,&_argo0))
6248 return NULL;
6249 if (_argo0) {
6250 if (_argo0 == Py_None) { _arg0 = NULL; }
6251 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6252 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PageUp. Expected _wxWindow_p.");
6253 return NULL;
6254 }
6255 }
6256 {
6257 PyThreadState* __tstate = wxPyBeginAllowThreads();
6258 _result = (bool )wxWindow_PageUp(_arg0);
6259
6260 wxPyEndAllowThreads(__tstate);
6261 if (PyErr_Occurred()) return NULL;
6262 } _resultobj = Py_BuildValue("i",_result);
6263 return _resultobj;
6264 }
6265
6266 #define wxWindow_PageDown(_swigobj) (_swigobj->PageDown())
6267 static PyObject *_wrap_wxWindow_PageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
6268 PyObject * _resultobj;
6269 bool _result;
6270 wxWindow * _arg0;
6271 PyObject * _argo0 = 0;
6272 char *_kwnames[] = { "self", NULL };
6273
6274 self = self;
6275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_PageDown",_kwnames,&_argo0))
6276 return NULL;
6277 if (_argo0) {
6278 if (_argo0 == Py_None) { _arg0 = NULL; }
6279 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6280 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PageDown. Expected _wxWindow_p.");
6281 return NULL;
6282 }
6283 }
6284 {
6285 PyThreadState* __tstate = wxPyBeginAllowThreads();
6286 _result = (bool )wxWindow_PageDown(_arg0);
6287
6288 wxPyEndAllowThreads(__tstate);
6289 if (PyErr_Occurred()) return NULL;
6290 } _resultobj = Py_BuildValue("i",_result);
6291 return _resultobj;
6292 }
6293
6294 static PyObject *_wrap_wxWindow_FindFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
6295 PyObject * _resultobj;
6296 wxWindow * _result;
6297 char *_kwnames[] = { NULL };
6298
6299 self = self;
6300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxWindow_FindFocus",_kwnames))
6301 return NULL;
6302 {
6303 PyThreadState* __tstate = wxPyBeginAllowThreads();
6304 _result = (wxWindow *)wxWindow::FindFocus();
6305
6306 wxPyEndAllowThreads(__tstate);
6307 if (PyErr_Occurred()) return NULL;
6308 }{ _resultobj = wxPyMake_wxObject(_result); }
6309 return _resultobj;
6310 }
6311
6312 static PyObject *_wrap_wxWindow_NewControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
6313 PyObject * _resultobj;
6314 int _result;
6315 char *_kwnames[] = { NULL };
6316
6317 self = self;
6318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxWindow_NewControlId",_kwnames))
6319 return NULL;
6320 {
6321 PyThreadState* __tstate = wxPyBeginAllowThreads();
6322 _result = (int )wxWindow::NewControlId();
6323
6324 wxPyEndAllowThreads(__tstate);
6325 if (PyErr_Occurred()) return NULL;
6326 } _resultobj = Py_BuildValue("i",_result);
6327 return _resultobj;
6328 }
6329
6330 static PyObject *_wrap_wxWindow_NextControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
6331 PyObject * _resultobj;
6332 int _result;
6333 int _arg0;
6334 char *_kwnames[] = { "id", NULL };
6335
6336 self = self;
6337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxWindow_NextControlId",_kwnames,&_arg0))
6338 return NULL;
6339 {
6340 PyThreadState* __tstate = wxPyBeginAllowThreads();
6341 _result = (int )wxWindow::NextControlId(_arg0);
6342
6343 wxPyEndAllowThreads(__tstate);
6344 if (PyErr_Occurred()) return NULL;
6345 } _resultobj = Py_BuildValue("i",_result);
6346 return _resultobj;
6347 }
6348
6349 static PyObject *_wrap_wxWindow_PrevControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
6350 PyObject * _resultobj;
6351 int _result;
6352 int _arg0;
6353 char *_kwnames[] = { "id", NULL };
6354
6355 self = self;
6356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxWindow_PrevControlId",_kwnames,&_arg0))
6357 return NULL;
6358 {
6359 PyThreadState* __tstate = wxPyBeginAllowThreads();
6360 _result = (int )wxWindow::PrevControlId(_arg0);
6361
6362 wxPyEndAllowThreads(__tstate);
6363 if (PyErr_Occurred()) return NULL;
6364 } _resultobj = Py_BuildValue("i",_result);
6365 return _resultobj;
6366 }
6367
6368 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
6369 static PyObject *_wrap_wxWindow_SetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
6370 PyObject * _resultobj;
6371 wxWindow * _arg0;
6372 wxAcceleratorTable * _arg1;
6373 PyObject * _argo0 = 0;
6374 PyObject * _argo1 = 0;
6375 char *_kwnames[] = { "self","accel", NULL };
6376
6377 self = self;
6378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetAcceleratorTable",_kwnames,&_argo0,&_argo1))
6379 return NULL;
6380 if (_argo0) {
6381 if (_argo0 == Py_None) { _arg0 = NULL; }
6382 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6383 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
6384 return NULL;
6385 }
6386 }
6387 if (_argo1) {
6388 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxAcceleratorTable_p")) {
6389 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
6390 return NULL;
6391 }
6392 }
6393 {
6394 PyThreadState* __tstate = wxPyBeginAllowThreads();
6395 wxWindow_SetAcceleratorTable(_arg0,*_arg1);
6396
6397 wxPyEndAllowThreads(__tstate);
6398 if (PyErr_Occurred()) return NULL;
6399 } Py_INCREF(Py_None);
6400 _resultobj = Py_None;
6401 return _resultobj;
6402 }
6403
6404 #define wxWindow_GetAcceleratorTable(_swigobj) (_swigobj->GetAcceleratorTable())
6405 static PyObject *_wrap_wxWindow_GetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
6406 PyObject * _resultobj;
6407 wxAcceleratorTable * _result;
6408 wxWindow * _arg0;
6409 PyObject * _argo0 = 0;
6410 char *_kwnames[] = { "self", NULL };
6411 char _ptemp[128];
6412
6413 self = self;
6414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetAcceleratorTable",_kwnames,&_argo0))
6415 return NULL;
6416 if (_argo0) {
6417 if (_argo0 == Py_None) { _arg0 = NULL; }
6418 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6419 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetAcceleratorTable. Expected _wxWindow_p.");
6420 return NULL;
6421 }
6422 }
6423 {
6424 PyThreadState* __tstate = wxPyBeginAllowThreads();
6425 _result = (wxAcceleratorTable *)wxWindow_GetAcceleratorTable(_arg0);
6426
6427 wxPyEndAllowThreads(__tstate);
6428 if (PyErr_Occurred()) return NULL;
6429 } if (_result) {
6430 SWIG_MakePtr(_ptemp, (char *) _result,"_wxAcceleratorTable_p");
6431 _resultobj = Py_BuildValue("s",_ptemp);
6432 } else {
6433 Py_INCREF(Py_None);
6434 _resultobj = Py_None;
6435 }
6436 return _resultobj;
6437 }
6438
6439 static bool wxWindow_RegisterHotKey(wxWindow *self,int hotkeyId,int modifiers,int keycode) {
6440 #if wxUSE_HOTKEY
6441 return self->RegisterHotKey(hotkeyId, modifiers, keycode);
6442 #else
6443 return FALSE;
6444 #endif
6445 }
6446 static PyObject *_wrap_wxWindow_RegisterHotKey(PyObject *self, PyObject *args, PyObject *kwargs) {
6447 PyObject * _resultobj;
6448 bool _result;
6449 wxWindow * _arg0;
6450 int _arg1;
6451 int _arg2;
6452 int _arg3;
6453 PyObject * _argo0 = 0;
6454 char *_kwnames[] = { "self","hotkeyId","modifiers","keycode", NULL };
6455
6456 self = self;
6457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxWindow_RegisterHotKey",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
6458 return NULL;
6459 if (_argo0) {
6460 if (_argo0 == Py_None) { _arg0 = NULL; }
6461 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6462 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_RegisterHotKey. Expected _wxWindow_p.");
6463 return NULL;
6464 }
6465 }
6466 {
6467 PyThreadState* __tstate = wxPyBeginAllowThreads();
6468 _result = (bool )wxWindow_RegisterHotKey(_arg0,_arg1,_arg2,_arg3);
6469
6470 wxPyEndAllowThreads(__tstate);
6471 if (PyErr_Occurred()) return NULL;
6472 } _resultobj = Py_BuildValue("i",_result);
6473 return _resultobj;
6474 }
6475
6476 static bool wxWindow_UnregisterHotKey(wxWindow *self,int hotkeyId) {
6477 #if wxUSE_HOTKEY
6478 return self->UnregisterHotKey(hotkeyId);
6479 #else
6480 return FALSE;
6481 #endif
6482 }
6483 static PyObject *_wrap_wxWindow_UnregisterHotKey(PyObject *self, PyObject *args, PyObject *kwargs) {
6484 PyObject * _resultobj;
6485 bool _result;
6486 wxWindow * _arg0;
6487 int _arg1;
6488 PyObject * _argo0 = 0;
6489 char *_kwnames[] = { "self","hotkeyId", NULL };
6490
6491 self = self;
6492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_UnregisterHotKey",_kwnames,&_argo0,&_arg1))
6493 return NULL;
6494 if (_argo0) {
6495 if (_argo0 == Py_None) { _arg0 = NULL; }
6496 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6497 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_UnregisterHotKey. Expected _wxWindow_p.");
6498 return NULL;
6499 }
6500 }
6501 {
6502 PyThreadState* __tstate = wxPyBeginAllowThreads();
6503 _result = (bool )wxWindow_UnregisterHotKey(_arg0,_arg1);
6504
6505 wxPyEndAllowThreads(__tstate);
6506 if (PyErr_Occurred()) return NULL;
6507 } _resultobj = Py_BuildValue("i",_result);
6508 return _resultobj;
6509 }
6510
6511 #define wxWindow_OnPaint(_swigobj,_swigarg0) (_swigobj->OnPaint(_swigarg0))
6512 static PyObject *_wrap_wxWindow_OnPaint(PyObject *self, PyObject *args, PyObject *kwargs) {
6513 PyObject * _resultobj;
6514 wxWindow * _arg0;
6515 wxPaintEvent * _arg1;
6516 PyObject * _argo0 = 0;
6517 PyObject * _argo1 = 0;
6518 char *_kwnames[] = { "self","event", NULL };
6519
6520 self = self;
6521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_OnPaint",_kwnames,&_argo0,&_argo1))
6522 return NULL;
6523 if (_argo0) {
6524 if (_argo0 == Py_None) { _arg0 = NULL; }
6525 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6526 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_OnPaint. Expected _wxWindow_p.");
6527 return NULL;
6528 }
6529 }
6530 if (_argo1) {
6531 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPaintEvent_p")) {
6532 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_OnPaint. Expected _wxPaintEvent_p.");
6533 return NULL;
6534 }
6535 }
6536 {
6537 PyThreadState* __tstate = wxPyBeginAllowThreads();
6538 wxWindow_OnPaint(_arg0,*_arg1);
6539
6540 wxPyEndAllowThreads(__tstate);
6541 if (PyErr_Occurred()) return NULL;
6542 } Py_INCREF(Py_None);
6543 _resultobj = Py_None;
6544 return _resultobj;
6545 }
6546
6547 #define wxWindow_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
6548 static PyObject *_wrap_wxWindow_GetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
6549 PyObject * _resultobj;
6550 wxWindow * _result;
6551 wxWindow * _arg0;
6552 PyObject * _argo0 = 0;
6553 char *_kwnames[] = { "self", NULL };
6554
6555 self = self;
6556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetDefaultItem",_kwnames,&_argo0))
6557 return NULL;
6558 if (_argo0) {
6559 if (_argo0 == Py_None) { _arg0 = NULL; }
6560 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6561 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetDefaultItem. Expected _wxWindow_p.");
6562 return NULL;
6563 }
6564 }
6565 {
6566 PyThreadState* __tstate = wxPyBeginAllowThreads();
6567 _result = (wxWindow *)wxWindow_GetDefaultItem(_arg0);
6568
6569 wxPyEndAllowThreads(__tstate);
6570 if (PyErr_Occurred()) return NULL;
6571 }{ _resultobj = wxPyMake_wxObject(_result); }
6572 return _resultobj;
6573 }
6574
6575 #define wxWindow_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
6576 static PyObject *_wrap_wxWindow_SetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
6577 PyObject * _resultobj;
6578 wxWindow * _result;
6579 wxWindow * _arg0;
6580 wxWindow * _arg1;
6581 PyObject * _argo0 = 0;
6582 PyObject * _argo1 = 0;
6583 char *_kwnames[] = { "self","btn", NULL };
6584
6585 self = self;
6586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetDefaultItem",_kwnames,&_argo0,&_argo1))
6587 return NULL;
6588 if (_argo0) {
6589 if (_argo0 == Py_None) { _arg0 = NULL; }
6590 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6591 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetDefaultItem. Expected _wxWindow_p.");
6592 return NULL;
6593 }
6594 }
6595 if (_argo1) {
6596 if (_argo1 == Py_None) { _arg1 = NULL; }
6597 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
6598 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetDefaultItem. Expected _wxWindow_p.");
6599 return NULL;
6600 }
6601 }
6602 {
6603 PyThreadState* __tstate = wxPyBeginAllowThreads();
6604 _result = (wxWindow *)wxWindow_SetDefaultItem(_arg0,_arg1);
6605
6606 wxPyEndAllowThreads(__tstate);
6607 if (PyErr_Occurred()) return NULL;
6608 }{ _resultobj = wxPyMake_wxObject(_result); }
6609 return _resultobj;
6610 }
6611
6612 #define wxWindow_SetTmpDefaultItem(_swigobj,_swigarg0) (_swigobj->SetTmpDefaultItem(_swigarg0))
6613 static PyObject *_wrap_wxWindow_SetTmpDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
6614 PyObject * _resultobj;
6615 wxWindow * _arg0;
6616 wxWindow * _arg1;
6617 PyObject * _argo0 = 0;
6618 PyObject * _argo1 = 0;
6619 char *_kwnames[] = { "self","win", NULL };
6620
6621 self = self;
6622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetTmpDefaultItem",_kwnames,&_argo0,&_argo1))
6623 return NULL;
6624 if (_argo0) {
6625 if (_argo0 == Py_None) { _arg0 = NULL; }
6626 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6627 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetTmpDefaultItem. Expected _wxWindow_p.");
6628 return NULL;
6629 }
6630 }
6631 if (_argo1) {
6632 if (_argo1 == Py_None) { _arg1 = NULL; }
6633 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
6634 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetTmpDefaultItem. Expected _wxWindow_p.");
6635 return NULL;
6636 }
6637 }
6638 {
6639 PyThreadState* __tstate = wxPyBeginAllowThreads();
6640 wxWindow_SetTmpDefaultItem(_arg0,_arg1);
6641
6642 wxPyEndAllowThreads(__tstate);
6643 if (PyErr_Occurred()) return NULL;
6644 } Py_INCREF(Py_None);
6645 _resultobj = Py_None;
6646 return _resultobj;
6647 }
6648
6649 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
6650 static PyObject *_wrap_wxWindow_WarpPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
6651 PyObject * _resultobj;
6652 wxWindow * _arg0;
6653 int _arg1;
6654 int _arg2;
6655 PyObject * _argo0 = 0;
6656 char *_kwnames[] = { "self","x","y", NULL };
6657
6658 self = self;
6659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxWindow_WarpPointer",_kwnames,&_argo0,&_arg1,&_arg2))
6660 return NULL;
6661 if (_argo0) {
6662 if (_argo0 == Py_None) { _arg0 = NULL; }
6663 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6664 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
6665 return NULL;
6666 }
6667 }
6668 {
6669 PyThreadState* __tstate = wxPyBeginAllowThreads();
6670 wxWindow_WarpPointer(_arg0,_arg1,_arg2);
6671
6672 wxPyEndAllowThreads(__tstate);
6673 if (PyErr_Occurred()) return NULL;
6674 } Py_INCREF(Py_None);
6675 _resultobj = Py_None;
6676 return _resultobj;
6677 }
6678
6679 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
6680 static PyObject *_wrap_wxWindow_CaptureMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
6681 PyObject * _resultobj;
6682 wxWindow * _arg0;
6683 PyObject * _argo0 = 0;
6684 char *_kwnames[] = { "self", NULL };
6685
6686 self = self;
6687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_CaptureMouse",_kwnames,&_argo0))
6688 return NULL;
6689 if (_argo0) {
6690 if (_argo0 == Py_None) { _arg0 = NULL; }
6691 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6692 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
6693 return NULL;
6694 }
6695 }
6696 {
6697 PyThreadState* __tstate = wxPyBeginAllowThreads();
6698 wxWindow_CaptureMouse(_arg0);
6699
6700 wxPyEndAllowThreads(__tstate);
6701 if (PyErr_Occurred()) return NULL;
6702 } Py_INCREF(Py_None);
6703 _resultobj = Py_None;
6704 return _resultobj;
6705 }
6706
6707 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
6708 static PyObject *_wrap_wxWindow_ReleaseMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
6709 PyObject * _resultobj;
6710 wxWindow * _arg0;
6711 PyObject * _argo0 = 0;
6712 char *_kwnames[] = { "self", NULL };
6713
6714 self = self;
6715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_ReleaseMouse",_kwnames,&_argo0))
6716 return NULL;
6717 if (_argo0) {
6718 if (_argo0 == Py_None) { _arg0 = NULL; }
6719 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6720 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
6721 return NULL;
6722 }
6723 }
6724 {
6725 PyThreadState* __tstate = wxPyBeginAllowThreads();
6726 wxWindow_ReleaseMouse(_arg0);
6727
6728 wxPyEndAllowThreads(__tstate);
6729 if (PyErr_Occurred()) return NULL;
6730 } Py_INCREF(Py_None);
6731 _resultobj = Py_None;
6732 return _resultobj;
6733 }
6734
6735 static PyObject *_wrap_wxWindow_GetCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
6736 PyObject * _resultobj;
6737 wxWindow * _result;
6738 char *_kwnames[] = { NULL };
6739
6740 self = self;
6741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxWindow_GetCapture",_kwnames))
6742 return NULL;
6743 {
6744 PyThreadState* __tstate = wxPyBeginAllowThreads();
6745 _result = (wxWindow *)wxWindow::GetCapture();
6746
6747 wxPyEndAllowThreads(__tstate);
6748 if (PyErr_Occurred()) return NULL;
6749 }{ _resultobj = wxPyMake_wxObject(_result); }
6750 return _resultobj;
6751 }
6752
6753 #define wxWindow_HasCapture(_swigobj) (_swigobj->HasCapture())
6754 static PyObject *_wrap_wxWindow_HasCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
6755 PyObject * _resultobj;
6756 bool _result;
6757 wxWindow * _arg0;
6758 PyObject * _argo0 = 0;
6759 char *_kwnames[] = { "self", NULL };
6760
6761 self = self;
6762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_HasCapture",_kwnames,&_argo0))
6763 return NULL;
6764 if (_argo0) {
6765 if (_argo0 == Py_None) { _arg0 = NULL; }
6766 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6767 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_HasCapture. Expected _wxWindow_p.");
6768 return NULL;
6769 }
6770 }
6771 {
6772 PyThreadState* __tstate = wxPyBeginAllowThreads();
6773 _result = (bool )wxWindow_HasCapture(_arg0);
6774
6775 wxPyEndAllowThreads(__tstate);
6776 if (PyErr_Occurred()) return NULL;
6777 } _resultobj = Py_BuildValue("i",_result);
6778 return _resultobj;
6779 }
6780
6781 #define wxWindow_SetThemeEnabled(_swigobj,_swigarg0) (_swigobj->SetThemeEnabled(_swigarg0))
6782 static PyObject *_wrap_wxWindow_SetThemeEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
6783 PyObject * _resultobj;
6784 wxWindow * _arg0;
6785 bool _arg1;
6786 PyObject * _argo0 = 0;
6787 int tempbool1;
6788 char *_kwnames[] = { "self","enable", NULL };
6789
6790 self = self;
6791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_SetThemeEnabled",_kwnames,&_argo0,&tempbool1))
6792 return NULL;
6793 if (_argo0) {
6794 if (_argo0 == Py_None) { _arg0 = NULL; }
6795 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6796 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetThemeEnabled. Expected _wxWindow_p.");
6797 return NULL;
6798 }
6799 }
6800 _arg1 = (bool ) tempbool1;
6801 {
6802 PyThreadState* __tstate = wxPyBeginAllowThreads();
6803 wxWindow_SetThemeEnabled(_arg0,_arg1);
6804
6805 wxPyEndAllowThreads(__tstate);
6806 if (PyErr_Occurred()) return NULL;
6807 } Py_INCREF(Py_None);
6808 _resultobj = Py_None;
6809 return _resultobj;
6810 }
6811
6812 #define wxWindow_GetThemeEnabled(_swigobj) (_swigobj->GetThemeEnabled())
6813 static PyObject *_wrap_wxWindow_GetThemeEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
6814 PyObject * _resultobj;
6815 bool _result;
6816 wxWindow * _arg0;
6817 PyObject * _argo0 = 0;
6818 char *_kwnames[] = { "self", NULL };
6819
6820 self = self;
6821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetThemeEnabled",_kwnames,&_argo0))
6822 return NULL;
6823 if (_argo0) {
6824 if (_argo0 == Py_None) { _arg0 = NULL; }
6825 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6826 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetThemeEnabled. Expected _wxWindow_p.");
6827 return NULL;
6828 }
6829 }
6830 {
6831 PyThreadState* __tstate = wxPyBeginAllowThreads();
6832 _result = (bool )wxWindow_GetThemeEnabled(_arg0);
6833
6834 wxPyEndAllowThreads(__tstate);
6835 if (PyErr_Occurred()) return NULL;
6836 } _resultobj = Py_BuildValue("i",_result);
6837 return _resultobj;
6838 }
6839
6840 #define wxWindow_GetBorderFlags(_swigobj,_swigarg0) (_swigobj->GetBorder(_swigarg0))
6841 static PyObject *_wrap_wxWindow_GetBorderFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6842 PyObject * _resultobj;
6843 wxBorder _result;
6844 wxWindow * _arg0;
6845 long _arg1;
6846 PyObject * _argo0 = 0;
6847 char *_kwnames[] = { "self","flags", NULL };
6848
6849 self = self;
6850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxWindow_GetBorderFlags",_kwnames,&_argo0,&_arg1))
6851 return NULL;
6852 if (_argo0) {
6853 if (_argo0 == Py_None) { _arg0 = NULL; }
6854 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6855 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetBorderFlags. Expected _wxWindow_p.");
6856 return NULL;
6857 }
6858 }
6859 {
6860 PyThreadState* __tstate = wxPyBeginAllowThreads();
6861 _result = (wxBorder )wxWindow_GetBorderFlags(_arg0,_arg1);
6862
6863 wxPyEndAllowThreads(__tstate);
6864 if (PyErr_Occurred()) return NULL;
6865 } _resultobj = Py_BuildValue("i",_result);
6866 return _resultobj;
6867 }
6868
6869 #define wxWindow_GetBorder(_swigobj) (_swigobj->GetBorder())
6870 static PyObject *_wrap_wxWindow_GetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6871 PyObject * _resultobj;
6872 wxBorder _result;
6873 wxWindow * _arg0;
6874 PyObject * _argo0 = 0;
6875 char *_kwnames[] = { "self", NULL };
6876
6877 self = self;
6878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetBorder",_kwnames,&_argo0))
6879 return NULL;
6880 if (_argo0) {
6881 if (_argo0 == Py_None) { _arg0 = NULL; }
6882 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6883 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetBorder. Expected _wxWindow_p.");
6884 return NULL;
6885 }
6886 }
6887 {
6888 PyThreadState* __tstate = wxPyBeginAllowThreads();
6889 _result = (wxBorder )wxWindow_GetBorder(_arg0);
6890
6891 wxPyEndAllowThreads(__tstate);
6892 if (PyErr_Occurred()) return NULL;
6893 } _resultobj = Py_BuildValue("i",_result);
6894 return _resultobj;
6895 }
6896
6897 static void *SwigwxPanelTowxWindow(void *ptr) {
6898 wxPanel *src;
6899 wxWindow *dest;
6900 src = (wxPanel *) ptr;
6901 dest = (wxWindow *) src;
6902 return (void *) dest;
6903 }
6904
6905 static void *SwigwxPanelTowxEvtHandler(void *ptr) {
6906 wxPanel *src;
6907 wxEvtHandler *dest;
6908 src = (wxPanel *) ptr;
6909 dest = (wxEvtHandler *) src;
6910 return (void *) dest;
6911 }
6912
6913 static void *SwigwxPanelTowxObject(void *ptr) {
6914 wxPanel *src;
6915 wxObject *dest;
6916 src = (wxPanel *) ptr;
6917 dest = (wxObject *) src;
6918 return (void *) dest;
6919 }
6920
6921 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6922 static PyObject *_wrap_new_wxPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
6923 PyObject * _resultobj;
6924 wxPanel * _result;
6925 wxWindow * _arg0;
6926 wxWindowID _arg1;
6927 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
6928 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
6929 long _arg4 = (long ) wxTAB_TRAVERSAL;
6930 wxString * _arg5 = (wxString *) &wxPyPanelNameStr;
6931 PyObject * _argo0 = 0;
6932 wxPoint temp;
6933 PyObject * _obj2 = 0;
6934 wxSize temp0;
6935 PyObject * _obj3 = 0;
6936 PyObject * _obj5 = 0;
6937 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
6938 char _ptemp[128];
6939
6940 self = self;
6941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxPanel",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
6942 return NULL;
6943 if (_argo0) {
6944 if (_argo0 == Py_None) { _arg0 = NULL; }
6945 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6946 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
6947 return NULL;
6948 }
6949 }
6950 if (_obj2)
6951 {
6952 _arg2 = &temp;
6953 if (! wxPoint_helper(_obj2, &_arg2))
6954 return NULL;
6955 }
6956 if (_obj3)
6957 {
6958 _arg3 = &temp0;
6959 if (! wxSize_helper(_obj3, &_arg3))
6960 return NULL;
6961 }
6962 if (_obj5)
6963 {
6964 _arg5 = wxString_in_helper(_obj5);
6965 if (_arg5 == NULL)
6966 return NULL;
6967 }
6968 {
6969 PyThreadState* __tstate = wxPyBeginAllowThreads();
6970 _result = (wxPanel *)new_wxPanel(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
6971
6972 wxPyEndAllowThreads(__tstate);
6973 if (PyErr_Occurred()) return NULL;
6974 } if (_result) {
6975 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPanel_p");
6976 _resultobj = Py_BuildValue("s",_ptemp);
6977 } else {
6978 Py_INCREF(Py_None);
6979 _resultobj = Py_None;
6980 }
6981 {
6982 if (_obj5)
6983 delete _arg5;
6984 }
6985 return _resultobj;
6986 }
6987
6988 #define new_wxPrePanel() (new wxPanel())
6989 static PyObject *_wrap_new_wxPrePanel(PyObject *self, PyObject *args, PyObject *kwargs) {
6990 PyObject * _resultobj;
6991 wxPanel * _result;
6992 char *_kwnames[] = { NULL };
6993 char _ptemp[128];
6994
6995 self = self;
6996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPrePanel",_kwnames))
6997 return NULL;
6998 {
6999 PyThreadState* __tstate = wxPyBeginAllowThreads();
7000 _result = (wxPanel *)new_wxPrePanel();
7001
7002 wxPyEndAllowThreads(__tstate);
7003 if (PyErr_Occurred()) return NULL;
7004 } if (_result) {
7005 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPanel_p");
7006 _resultobj = Py_BuildValue("s",_ptemp);
7007 } else {
7008 Py_INCREF(Py_None);
7009 _resultobj = Py_None;
7010 }
7011 return _resultobj;
7012 }
7013
7014 #define wxPanel_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7015 static PyObject *_wrap_wxPanel_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7016 PyObject * _resultobj;
7017 bool _result;
7018 wxPanel * _arg0;
7019 wxWindow * _arg1;
7020 wxWindowID _arg2;
7021 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
7022 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
7023 long _arg5 = (long ) wxTAB_TRAVERSAL;
7024 wxString * _arg6 = (wxString *) &wxPyPanelNameStr;
7025 PyObject * _argo0 = 0;
7026 PyObject * _argo1 = 0;
7027 wxPoint temp;
7028 PyObject * _obj3 = 0;
7029 wxSize temp0;
7030 PyObject * _obj4 = 0;
7031 PyObject * _obj6 = 0;
7032 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
7033
7034 self = self;
7035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOlO:wxPanel_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
7036 return NULL;
7037 if (_argo0) {
7038 if (_argo0 == Py_None) { _arg0 = NULL; }
7039 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPanel_p")) {
7040 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPanel_Create. Expected _wxPanel_p.");
7041 return NULL;
7042 }
7043 }
7044 if (_argo1) {
7045 if (_argo1 == Py_None) { _arg1 = NULL; }
7046 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
7047 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPanel_Create. Expected _wxWindow_p.");
7048 return NULL;
7049 }
7050 }
7051 if (_obj3)
7052 {
7053 _arg3 = &temp;
7054 if (! wxPoint_helper(_obj3, &_arg3))
7055 return NULL;
7056 }
7057 if (_obj4)
7058 {
7059 _arg4 = &temp0;
7060 if (! wxSize_helper(_obj4, &_arg4))
7061 return NULL;
7062 }
7063 if (_obj6)
7064 {
7065 _arg6 = wxString_in_helper(_obj6);
7066 if (_arg6 == NULL)
7067 return NULL;
7068 }
7069 {
7070 PyThreadState* __tstate = wxPyBeginAllowThreads();
7071 _result = (bool )wxPanel_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
7072
7073 wxPyEndAllowThreads(__tstate);
7074 if (PyErr_Occurred()) return NULL;
7075 } _resultobj = Py_BuildValue("i",_result);
7076 {
7077 if (_obj6)
7078 delete _arg6;
7079 }
7080 return _resultobj;
7081 }
7082
7083 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
7084 static PyObject *_wrap_wxPanel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
7085 PyObject * _resultobj;
7086 wxPanel * _arg0;
7087 PyObject * _argo0 = 0;
7088 char *_kwnames[] = { "self", NULL };
7089
7090 self = self;
7091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPanel_InitDialog",_kwnames,&_argo0))
7092 return NULL;
7093 if (_argo0) {
7094 if (_argo0 == Py_None) { _arg0 = NULL; }
7095 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPanel_p")) {
7096 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
7097 return NULL;
7098 }
7099 }
7100 {
7101 PyThreadState* __tstate = wxPyBeginAllowThreads();
7102 wxPanel_InitDialog(_arg0);
7103
7104 wxPyEndAllowThreads(__tstate);
7105 if (PyErr_Occurred()) return NULL;
7106 } Py_INCREF(Py_None);
7107 _resultobj = Py_None;
7108 return _resultobj;
7109 }
7110
7111 static void *SwigwxScrolledWindowTowxPanel(void *ptr) {
7112 wxScrolledWindow *src;
7113 wxPanel *dest;
7114 src = (wxScrolledWindow *) ptr;
7115 dest = (wxPanel *) src;
7116 return (void *) dest;
7117 }
7118
7119 static void *SwigwxScrolledWindowTowxWindow(void *ptr) {
7120 wxScrolledWindow *src;
7121 wxWindow *dest;
7122 src = (wxScrolledWindow *) ptr;
7123 dest = (wxWindow *) src;
7124 return (void *) dest;
7125 }
7126
7127 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr) {
7128 wxScrolledWindow *src;
7129 wxEvtHandler *dest;
7130 src = (wxScrolledWindow *) ptr;
7131 dest = (wxEvtHandler *) src;
7132 return (void *) dest;
7133 }
7134
7135 static void *SwigwxScrolledWindowTowxObject(void *ptr) {
7136 wxScrolledWindow *src;
7137 wxObject *dest;
7138 src = (wxScrolledWindow *) ptr;
7139 dest = (wxObject *) src;
7140 return (void *) dest;
7141 }
7142
7143 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7144 static PyObject *_wrap_new_wxScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7145 PyObject * _resultobj;
7146 wxScrolledWindow * _result;
7147 wxWindow * _arg0;
7148 wxWindowID _arg1 = (wxWindowID ) -1;
7149 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
7150 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
7151 long _arg4 = (long ) wxHSCROLL|wxVSCROLL;
7152 wxString * _arg5 = (wxString *) &wxPyPanelNameStr;
7153 PyObject * _argo0 = 0;
7154 wxPoint temp;
7155 PyObject * _obj2 = 0;
7156 wxSize temp0;
7157 PyObject * _obj3 = 0;
7158 PyObject * _obj5 = 0;
7159 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
7160 char _ptemp[128];
7161
7162 self = self;
7163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlO:new_wxScrolledWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
7164 return NULL;
7165 if (_argo0) {
7166 if (_argo0 == Py_None) { _arg0 = NULL; }
7167 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
7168 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
7169 return NULL;
7170 }
7171 }
7172 if (_obj2)
7173 {
7174 _arg2 = &temp;
7175 if (! wxPoint_helper(_obj2, &_arg2))
7176 return NULL;
7177 }
7178 if (_obj3)
7179 {
7180 _arg3 = &temp0;
7181 if (! wxSize_helper(_obj3, &_arg3))
7182 return NULL;
7183 }
7184 if (_obj5)
7185 {
7186 _arg5 = wxString_in_helper(_obj5);
7187 if (_arg5 == NULL)
7188 return NULL;
7189 }
7190 {
7191 PyThreadState* __tstate = wxPyBeginAllowThreads();
7192 _result = (wxScrolledWindow *)new_wxScrolledWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
7193
7194 wxPyEndAllowThreads(__tstate);
7195 if (PyErr_Occurred()) return NULL;
7196 } if (_result) {
7197 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrolledWindow_p");
7198 _resultobj = Py_BuildValue("s",_ptemp);
7199 } else {
7200 Py_INCREF(Py_None);
7201 _resultobj = Py_None;
7202 }
7203 {
7204 if (_obj5)
7205 delete _arg5;
7206 }
7207 return _resultobj;
7208 }
7209
7210 #define new_wxPreScrolledWindow() (new wxScrolledWindow())
7211 static PyObject *_wrap_new_wxPreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7212 PyObject * _resultobj;
7213 wxScrolledWindow * _result;
7214 char *_kwnames[] = { NULL };
7215 char _ptemp[128];
7216
7217 self = self;
7218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreScrolledWindow",_kwnames))
7219 return NULL;
7220 {
7221 PyThreadState* __tstate = wxPyBeginAllowThreads();
7222 _result = (wxScrolledWindow *)new_wxPreScrolledWindow();
7223
7224 wxPyEndAllowThreads(__tstate);
7225 if (PyErr_Occurred()) return NULL;
7226 } if (_result) {
7227 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrolledWindow_p");
7228 _resultobj = Py_BuildValue("s",_ptemp);
7229 } else {
7230 Py_INCREF(Py_None);
7231 _resultobj = Py_None;
7232 }
7233 return _resultobj;
7234 }
7235
7236 #define wxScrolledWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7237 static PyObject *_wrap_wxScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7238 PyObject * _resultobj;
7239 bool _result;
7240 wxScrolledWindow * _arg0;
7241 wxWindow * _arg1;
7242 wxWindowID _arg2 = (wxWindowID ) -1;
7243 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
7244 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
7245 long _arg5 = (long ) wxHSCROLL|wxVSCROLL;
7246 wxString * _arg6 = (wxString *) &wxPyPanelNameStr;
7247 PyObject * _argo0 = 0;
7248 PyObject * _argo1 = 0;
7249 wxPoint temp;
7250 PyObject * _obj3 = 0;
7251 wxSize temp0;
7252 PyObject * _obj4 = 0;
7253 PyObject * _obj6 = 0;
7254 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
7255
7256 self = self;
7257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlO:wxScrolledWindow_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
7258 return NULL;
7259 if (_argo0) {
7260 if (_argo0 == Py_None) { _arg0 = NULL; }
7261 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7262 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_Create. Expected _wxScrolledWindow_p.");
7263 return NULL;
7264 }
7265 }
7266 if (_argo1) {
7267 if (_argo1 == Py_None) { _arg1 = NULL; }
7268 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
7269 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxScrolledWindow_Create. Expected _wxWindow_p.");
7270 return NULL;
7271 }
7272 }
7273 if (_obj3)
7274 {
7275 _arg3 = &temp;
7276 if (! wxPoint_helper(_obj3, &_arg3))
7277 return NULL;
7278 }
7279 if (_obj4)
7280 {
7281 _arg4 = &temp0;
7282 if (! wxSize_helper(_obj4, &_arg4))
7283 return NULL;
7284 }
7285 if (_obj6)
7286 {
7287 _arg6 = wxString_in_helper(_obj6);
7288 if (_arg6 == NULL)
7289 return NULL;
7290 }
7291 {
7292 PyThreadState* __tstate = wxPyBeginAllowThreads();
7293 _result = (bool )wxScrolledWindow_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
7294
7295 wxPyEndAllowThreads(__tstate);
7296 if (PyErr_Occurred()) return NULL;
7297 } _resultobj = Py_BuildValue("i",_result);
7298 {
7299 if (_obj6)
7300 delete _arg6;
7301 }
7302 return _resultobj;
7303 }
7304
7305 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
7306 static PyObject *_wrap_wxScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
7307 PyObject * _resultobj;
7308 wxScrolledWindow * _arg0;
7309 bool _arg1;
7310 bool _arg2;
7311 PyObject * _argo0 = 0;
7312 int tempbool1;
7313 int tempbool2;
7314 char *_kwnames[] = { "self","xScrolling","yScrolling", NULL };
7315
7316 self = self;
7317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxScrolledWindow_EnableScrolling",_kwnames,&_argo0,&tempbool1,&tempbool2))
7318 return NULL;
7319 if (_argo0) {
7320 if (_argo0 == Py_None) { _arg0 = NULL; }
7321 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7322 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
7323 return NULL;
7324 }
7325 }
7326 _arg1 = (bool ) tempbool1;
7327 _arg2 = (bool ) tempbool2;
7328 {
7329 PyThreadState* __tstate = wxPyBeginAllowThreads();
7330 wxScrolledWindow_EnableScrolling(_arg0,_arg1,_arg2);
7331
7332 wxPyEndAllowThreads(__tstate);
7333 if (PyErr_Occurred()) return NULL;
7334 } Py_INCREF(Py_None);
7335 _resultobj = Py_None;
7336 return _resultobj;
7337 }
7338
7339 #define wxScrolledWindow_GetScrollPageSize(_swigobj,_swigarg0) (_swigobj->GetScrollPageSize(_swigarg0))
7340 static PyObject *_wrap_wxScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7341 PyObject * _resultobj;
7342 int _result;
7343 wxScrolledWindow * _arg0;
7344 int _arg1;
7345 PyObject * _argo0 = 0;
7346 char *_kwnames[] = { "self","orient", NULL };
7347
7348 self = self;
7349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxScrolledWindow_GetScrollPageSize",_kwnames,&_argo0,&_arg1))
7350 return NULL;
7351 if (_argo0) {
7352 if (_argo0 == Py_None) { _arg0 = NULL; }
7353 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7354 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetScrollPageSize. Expected _wxScrolledWindow_p.");
7355 return NULL;
7356 }
7357 }
7358 {
7359 PyThreadState* __tstate = wxPyBeginAllowThreads();
7360 _result = (int )wxScrolledWindow_GetScrollPageSize(_arg0,_arg1);
7361
7362 wxPyEndAllowThreads(__tstate);
7363 if (PyErr_Occurred()) return NULL;
7364 } _resultobj = Py_BuildValue("i",_result);
7365 return _resultobj;
7366 }
7367
7368 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
7369 static PyObject *_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
7370 PyObject * _resultobj;
7371 wxScrolledWindow * _arg0;
7372 int * _arg1;
7373 int temp;
7374 int * _arg2;
7375 int temp0;
7376 PyObject * _argo0 = 0;
7377 char *_kwnames[] = { "self", NULL };
7378
7379 self = self;
7380 {
7381 _arg1 = &temp;
7382 }
7383 {
7384 _arg2 = &temp0;
7385 }
7386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames,&_argo0))
7387 return NULL;
7388 if (_argo0) {
7389 if (_argo0 == Py_None) { _arg0 = NULL; }
7390 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7391 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
7392 return NULL;
7393 }
7394 }
7395 {
7396 PyThreadState* __tstate = wxPyBeginAllowThreads();
7397 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0,_arg1,_arg2);
7398
7399 wxPyEndAllowThreads(__tstate);
7400 if (PyErr_Occurred()) return NULL;
7401 } Py_INCREF(Py_None);
7402 _resultobj = Py_None;
7403 {
7404 PyObject *o;
7405 o = PyInt_FromLong((long) (*_arg1));
7406 _resultobj = t_output_helper(_resultobj, o);
7407 }
7408 {
7409 PyObject *o;
7410 o = PyInt_FromLong((long) (*_arg2));
7411 _resultobj = t_output_helper(_resultobj, o);
7412 }
7413 return _resultobj;
7414 }
7415
7416 #define wxScrolledWindow_GetTargetWindow(_swigobj) (_swigobj->GetTargetWindow())
7417 static PyObject *_wrap_wxScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7418 PyObject * _resultobj;
7419 wxWindow * _result;
7420 wxScrolledWindow * _arg0;
7421 PyObject * _argo0 = 0;
7422 char *_kwnames[] = { "self", NULL };
7423
7424 self = self;
7425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_GetTargetWindow",_kwnames,&_argo0))
7426 return NULL;
7427 if (_argo0) {
7428 if (_argo0 == Py_None) { _arg0 = NULL; }
7429 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7430 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetTargetWindow. Expected _wxScrolledWindow_p.");
7431 return NULL;
7432 }
7433 }
7434 {
7435 PyThreadState* __tstate = wxPyBeginAllowThreads();
7436 _result = (wxWindow *)wxScrolledWindow_GetTargetWindow(_arg0);
7437
7438 wxPyEndAllowThreads(__tstate);
7439 if (PyErr_Occurred()) return NULL;
7440 }{ _resultobj = wxPyMake_wxObject(_result); }
7441 return _resultobj;
7442 }
7443
7444 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
7445 static PyObject *_wrap_wxScrolledWindow_IsRetained(PyObject *self, PyObject *args, PyObject *kwargs) {
7446 PyObject * _resultobj;
7447 bool _result;
7448 wxScrolledWindow * _arg0;
7449 PyObject * _argo0 = 0;
7450 char *_kwnames[] = { "self", NULL };
7451
7452 self = self;
7453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_IsRetained",_kwnames,&_argo0))
7454 return NULL;
7455 if (_argo0) {
7456 if (_argo0 == Py_None) { _arg0 = NULL; }
7457 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7458 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
7459 return NULL;
7460 }
7461 }
7462 {
7463 PyThreadState* __tstate = wxPyBeginAllowThreads();
7464 _result = (bool )wxScrolledWindow_IsRetained(_arg0);
7465
7466 wxPyEndAllowThreads(__tstate);
7467 if (PyErr_Occurred()) return NULL;
7468 } _resultobj = Py_BuildValue("i",_result);
7469 return _resultobj;
7470 }
7471
7472 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
7473 static PyObject *_wrap_wxScrolledWindow_PrepareDC(PyObject *self, PyObject *args, PyObject *kwargs) {
7474 PyObject * _resultobj;
7475 wxScrolledWindow * _arg0;
7476 wxDC * _arg1;
7477 PyObject * _argo0 = 0;
7478 PyObject * _argo1 = 0;
7479 char *_kwnames[] = { "self","dc", NULL };
7480
7481 self = self;
7482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxScrolledWindow_PrepareDC",_kwnames,&_argo0,&_argo1))
7483 return NULL;
7484 if (_argo0) {
7485 if (_argo0 == Py_None) { _arg0 = NULL; }
7486 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7487 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
7488 return NULL;
7489 }
7490 }
7491 if (_argo1) {
7492 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7493 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
7494 return NULL;
7495 }
7496 }
7497 {
7498 PyThreadState* __tstate = wxPyBeginAllowThreads();
7499 wxScrolledWindow_PrepareDC(_arg0,*_arg1);
7500
7501 wxPyEndAllowThreads(__tstate);
7502 if (PyErr_Occurred()) return NULL;
7503 } Py_INCREF(Py_None);
7504 _resultobj = Py_None;
7505 return _resultobj;
7506 }
7507
7508 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
7509 static PyObject *_wrap_wxScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
7510 PyObject * _resultobj;
7511 wxScrolledWindow * _arg0;
7512 int _arg1;
7513 int _arg2;
7514 PyObject * _argo0 = 0;
7515 char *_kwnames[] = { "self","x","y", NULL };
7516
7517 self = self;
7518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxScrolledWindow_Scroll",_kwnames,&_argo0,&_arg1,&_arg2))
7519 return NULL;
7520 if (_argo0) {
7521 if (_argo0 == Py_None) { _arg0 = NULL; }
7522 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7523 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
7524 return NULL;
7525 }
7526 }
7527 {
7528 PyThreadState* __tstate = wxPyBeginAllowThreads();
7529 wxScrolledWindow_Scroll(_arg0,_arg1,_arg2);
7530
7531 wxPyEndAllowThreads(__tstate);
7532 if (PyErr_Occurred()) return NULL;
7533 } Py_INCREF(Py_None);
7534 _resultobj = Py_None;
7535 return _resultobj;
7536 }
7537
7538 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
7539 static PyObject *_wrap_wxScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
7540 PyObject * _resultobj;
7541 wxScrolledWindow * _arg0;
7542 int _arg1;
7543 int _arg2;
7544 int _arg3;
7545 int _arg4;
7546 int _arg5 = (int ) 0;
7547 int _arg6 = (int ) 0;
7548 int _arg7 = (int ) FALSE;
7549 PyObject * _argo0 = 0;
7550 char *_kwnames[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos","noRefresh", NULL };
7551
7552 self = self;
7553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|iii:wxScrolledWindow_SetScrollbars",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6,&_arg7))
7554 return NULL;
7555 if (_argo0) {
7556 if (_argo0 == Py_None) { _arg0 = NULL; }
7557 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7558 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
7559 return NULL;
7560 }
7561 }
7562 {
7563 PyThreadState* __tstate = wxPyBeginAllowThreads();
7564 wxScrolledWindow_SetScrollbars(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7);
7565
7566 wxPyEndAllowThreads(__tstate);
7567 if (PyErr_Occurred()) return NULL;
7568 } Py_INCREF(Py_None);
7569 _resultobj = Py_None;
7570 return _resultobj;
7571 }
7572
7573 #define wxScrolledWindow_SetScrollPageSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScrollPageSize(_swigarg0,_swigarg1))
7574 static PyObject *_wrap_wxScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7575 PyObject * _resultobj;
7576 wxScrolledWindow * _arg0;
7577 int _arg1;
7578 int _arg2;
7579 PyObject * _argo0 = 0;
7580 char *_kwnames[] = { "self","orient","pageSize", NULL };
7581
7582 self = self;
7583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxScrolledWindow_SetScrollPageSize",_kwnames,&_argo0,&_arg1,&_arg2))
7584 return NULL;
7585 if (_argo0) {
7586 if (_argo0 == Py_None) { _arg0 = NULL; }
7587 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7588 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_SetScrollPageSize. Expected _wxScrolledWindow_p.");
7589 return NULL;
7590 }
7591 }
7592 {
7593 PyThreadState* __tstate = wxPyBeginAllowThreads();
7594 wxScrolledWindow_SetScrollPageSize(_arg0,_arg1,_arg2);
7595
7596 wxPyEndAllowThreads(__tstate);
7597 if (PyErr_Occurred()) return NULL;
7598 } Py_INCREF(Py_None);
7599 _resultobj = Py_None;
7600 return _resultobj;
7601 }
7602
7603 #define wxScrolledWindow_SetTargetWindow(_swigobj,_swigarg0) (_swigobj->SetTargetWindow(_swigarg0))
7604 static PyObject *_wrap_wxScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7605 PyObject * _resultobj;
7606 wxScrolledWindow * _arg0;
7607 wxWindow * _arg1;
7608 PyObject * _argo0 = 0;
7609 PyObject * _argo1 = 0;
7610 char *_kwnames[] = { "self","window", NULL };
7611
7612 self = self;
7613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxScrolledWindow_SetTargetWindow",_kwnames,&_argo0,&_argo1))
7614 return NULL;
7615 if (_argo0) {
7616 if (_argo0 == Py_None) { _arg0 = NULL; }
7617 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7618 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_SetTargetWindow. Expected _wxScrolledWindow_p.");
7619 return NULL;
7620 }
7621 }
7622 if (_argo1) {
7623 if (_argo1 == Py_None) { _arg1 = NULL; }
7624 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
7625 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxScrolledWindow_SetTargetWindow. Expected _wxWindow_p.");
7626 return NULL;
7627 }
7628 }
7629 {
7630 PyThreadState* __tstate = wxPyBeginAllowThreads();
7631 wxScrolledWindow_SetTargetWindow(_arg0,_arg1);
7632
7633 wxPyEndAllowThreads(__tstate);
7634 if (PyErr_Occurred()) return NULL;
7635 } Py_INCREF(Py_None);
7636 _resultobj = Py_None;
7637 return _resultobj;
7638 }
7639
7640 #define wxScrolledWindow_GetViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetViewStart(_swigarg0,_swigarg1))
7641 static PyObject *_wrap_wxScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
7642 PyObject * _resultobj;
7643 wxScrolledWindow * _arg0;
7644 int * _arg1;
7645 int temp;
7646 int * _arg2;
7647 int temp0;
7648 PyObject * _argo0 = 0;
7649 char *_kwnames[] = { "self", NULL };
7650
7651 self = self;
7652 {
7653 _arg1 = &temp;
7654 }
7655 {
7656 _arg2 = &temp0;
7657 }
7658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_GetViewStart",_kwnames,&_argo0))
7659 return NULL;
7660 if (_argo0) {
7661 if (_argo0 == Py_None) { _arg0 = NULL; }
7662 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7663 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetViewStart. Expected _wxScrolledWindow_p.");
7664 return NULL;
7665 }
7666 }
7667 {
7668 PyThreadState* __tstate = wxPyBeginAllowThreads();
7669 wxScrolledWindow_GetViewStart(_arg0,_arg1,_arg2);
7670
7671 wxPyEndAllowThreads(__tstate);
7672 if (PyErr_Occurred()) return NULL;
7673 } Py_INCREF(Py_None);
7674 _resultobj = Py_None;
7675 {
7676 PyObject *o;
7677 o = PyInt_FromLong((long) (*_arg1));
7678 _resultobj = t_output_helper(_resultobj, o);
7679 }
7680 {
7681 PyObject *o;
7682 o = PyInt_FromLong((long) (*_arg2));
7683 _resultobj = t_output_helper(_resultobj, o);
7684 }
7685 return _resultobj;
7686 }
7687
7688 #define wxScrolledWindow_CalcScrolledPosition1(_swigobj,_swigarg0) (_swigobj->CalcScrolledPosition(_swigarg0))
7689 static PyObject *_wrap_wxScrolledWindow_CalcScrolledPosition1(PyObject *self, PyObject *args, PyObject *kwargs) {
7690 PyObject * _resultobj;
7691 wxPoint * _result;
7692 wxScrolledWindow * _arg0;
7693 wxPoint * _arg1;
7694 PyObject * _argo0 = 0;
7695 wxPoint temp;
7696 PyObject * _obj1 = 0;
7697 char *_kwnames[] = { "self","pt", NULL };
7698 char _ptemp[128];
7699
7700 self = self;
7701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxScrolledWindow_CalcScrolledPosition1",_kwnames,&_argo0,&_obj1))
7702 return NULL;
7703 if (_argo0) {
7704 if (_argo0 == Py_None) { _arg0 = NULL; }
7705 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7706 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition1. Expected _wxScrolledWindow_p.");
7707 return NULL;
7708 }
7709 }
7710 {
7711 _arg1 = &temp;
7712 if (! wxPoint_helper(_obj1, &_arg1))
7713 return NULL;
7714 }
7715 {
7716 PyThreadState* __tstate = wxPyBeginAllowThreads();
7717 _result = new wxPoint (wxScrolledWindow_CalcScrolledPosition1(_arg0,*_arg1));
7718
7719 wxPyEndAllowThreads(__tstate);
7720 if (PyErr_Occurred()) return NULL;
7721 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
7722 _resultobj = Py_BuildValue("s",_ptemp);
7723 return _resultobj;
7724 }
7725
7726 #define wxScrolledWindow_CalcScrolledPosition2(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcScrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7727 static PyObject *_wrap_wxScrolledWindow_CalcScrolledPosition2(PyObject *self, PyObject *args, PyObject *kwargs) {
7728 PyObject * _resultobj;
7729 wxScrolledWindow * _arg0;
7730 int _arg1;
7731 int _arg2;
7732 int * _arg3;
7733 int temp;
7734 int * _arg4;
7735 int temp0;
7736 PyObject * _argo0 = 0;
7737 char *_kwnames[] = { "self","x","y", NULL };
7738
7739 self = self;
7740 {
7741 _arg3 = &temp;
7742 }
7743 {
7744 _arg4 = &temp0;
7745 }
7746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxScrolledWindow_CalcScrolledPosition2",_kwnames,&_argo0,&_arg1,&_arg2))
7747 return NULL;
7748 if (_argo0) {
7749 if (_argo0 == Py_None) { _arg0 = NULL; }
7750 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7751 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition2. Expected _wxScrolledWindow_p.");
7752 return NULL;
7753 }
7754 }
7755 {
7756 PyThreadState* __tstate = wxPyBeginAllowThreads();
7757 wxScrolledWindow_CalcScrolledPosition2(_arg0,_arg1,_arg2,_arg3,_arg4);
7758
7759 wxPyEndAllowThreads(__tstate);
7760 if (PyErr_Occurred()) return NULL;
7761 } Py_INCREF(Py_None);
7762 _resultobj = Py_None;
7763 {
7764 PyObject *o;
7765 o = PyInt_FromLong((long) (*_arg3));
7766 _resultobj = t_output_helper(_resultobj, o);
7767 }
7768 {
7769 PyObject *o;
7770 o = PyInt_FromLong((long) (*_arg4));
7771 _resultobj = t_output_helper(_resultobj, o);
7772 }
7773 return _resultobj;
7774 }
7775
7776 #define wxScrolledWindow_CalcUnscrolledPosition1(_swigobj,_swigarg0) (_swigobj->CalcUnscrolledPosition(_swigarg0))
7777 static PyObject *_wrap_wxScrolledWindow_CalcUnscrolledPosition1(PyObject *self, PyObject *args, PyObject *kwargs) {
7778 PyObject * _resultobj;
7779 wxPoint * _result;
7780 wxScrolledWindow * _arg0;
7781 wxPoint * _arg1;
7782 PyObject * _argo0 = 0;
7783 wxPoint temp;
7784 PyObject * _obj1 = 0;
7785 char *_kwnames[] = { "self","pt", NULL };
7786 char _ptemp[128];
7787
7788 self = self;
7789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxScrolledWindow_CalcUnscrolledPosition1",_kwnames,&_argo0,&_obj1))
7790 return NULL;
7791 if (_argo0) {
7792 if (_argo0 == Py_None) { _arg0 = NULL; }
7793 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7794 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition1. Expected _wxScrolledWindow_p.");
7795 return NULL;
7796 }
7797 }
7798 {
7799 _arg1 = &temp;
7800 if (! wxPoint_helper(_obj1, &_arg1))
7801 return NULL;
7802 }
7803 {
7804 PyThreadState* __tstate = wxPyBeginAllowThreads();
7805 _result = new wxPoint (wxScrolledWindow_CalcUnscrolledPosition1(_arg0,*_arg1));
7806
7807 wxPyEndAllowThreads(__tstate);
7808 if (PyErr_Occurred()) return NULL;
7809 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
7810 _resultobj = Py_BuildValue("s",_ptemp);
7811 return _resultobj;
7812 }
7813
7814 #define wxScrolledWindow_CalcUnscrolledPosition2(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcUnscrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7815 static PyObject *_wrap_wxScrolledWindow_CalcUnscrolledPosition2(PyObject *self, PyObject *args, PyObject *kwargs) {
7816 PyObject * _resultobj;
7817 wxScrolledWindow * _arg0;
7818 int _arg1;
7819 int _arg2;
7820 int * _arg3;
7821 int temp;
7822 int * _arg4;
7823 int temp0;
7824 PyObject * _argo0 = 0;
7825 char *_kwnames[] = { "self","x","y", NULL };
7826
7827 self = self;
7828 {
7829 _arg3 = &temp;
7830 }
7831 {
7832 _arg4 = &temp0;
7833 }
7834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxScrolledWindow_CalcUnscrolledPosition2",_kwnames,&_argo0,&_arg1,&_arg2))
7835 return NULL;
7836 if (_argo0) {
7837 if (_argo0 == Py_None) { _arg0 = NULL; }
7838 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7839 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition2. Expected _wxScrolledWindow_p.");
7840 return NULL;
7841 }
7842 }
7843 {
7844 PyThreadState* __tstate = wxPyBeginAllowThreads();
7845 wxScrolledWindow_CalcUnscrolledPosition2(_arg0,_arg1,_arg2,_arg3,_arg4);
7846
7847 wxPyEndAllowThreads(__tstate);
7848 if (PyErr_Occurred()) return NULL;
7849 } Py_INCREF(Py_None);
7850 _resultobj = Py_None;
7851 {
7852 PyObject *o;
7853 o = PyInt_FromLong((long) (*_arg3));
7854 _resultobj = t_output_helper(_resultobj, o);
7855 }
7856 {
7857 PyObject *o;
7858 o = PyInt_FromLong((long) (*_arg4));
7859 _resultobj = t_output_helper(_resultobj, o);
7860 }
7861 return _resultobj;
7862 }
7863
7864 #define wxScrolledWindow_SetScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScale(_swigarg0,_swigarg1))
7865 static PyObject *_wrap_wxScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
7866 PyObject * _resultobj;
7867 wxScrolledWindow * _arg0;
7868 double _arg1;
7869 double _arg2;
7870 PyObject * _argo0 = 0;
7871 char *_kwnames[] = { "self","xs","ys", NULL };
7872
7873 self = self;
7874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxScrolledWindow_SetScale",_kwnames,&_argo0,&_arg1,&_arg2))
7875 return NULL;
7876 if (_argo0) {
7877 if (_argo0 == Py_None) { _arg0 = NULL; }
7878 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7879 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_SetScale. Expected _wxScrolledWindow_p.");
7880 return NULL;
7881 }
7882 }
7883 {
7884 PyThreadState* __tstate = wxPyBeginAllowThreads();
7885 wxScrolledWindow_SetScale(_arg0,_arg1,_arg2);
7886
7887 wxPyEndAllowThreads(__tstate);
7888 if (PyErr_Occurred()) return NULL;
7889 } Py_INCREF(Py_None);
7890 _resultobj = Py_None;
7891 return _resultobj;
7892 }
7893
7894 #define wxScrolledWindow_GetScaleX(_swigobj) (_swigobj->GetScaleX())
7895 static PyObject *_wrap_wxScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
7896 PyObject * _resultobj;
7897 double _result;
7898 wxScrolledWindow * _arg0;
7899 PyObject * _argo0 = 0;
7900 char *_kwnames[] = { "self", NULL };
7901
7902 self = self;
7903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_GetScaleX",_kwnames,&_argo0))
7904 return NULL;
7905 if (_argo0) {
7906 if (_argo0 == Py_None) { _arg0 = NULL; }
7907 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7908 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetScaleX. Expected _wxScrolledWindow_p.");
7909 return NULL;
7910 }
7911 }
7912 {
7913 PyThreadState* __tstate = wxPyBeginAllowThreads();
7914 _result = (double )wxScrolledWindow_GetScaleX(_arg0);
7915
7916 wxPyEndAllowThreads(__tstate);
7917 if (PyErr_Occurred()) return NULL;
7918 } _resultobj = Py_BuildValue("d",_result);
7919 return _resultobj;
7920 }
7921
7922 #define wxScrolledWindow_GetScaleY(_swigobj) (_swigobj->GetScaleY())
7923 static PyObject *_wrap_wxScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
7924 PyObject * _resultobj;
7925 double _result;
7926 wxScrolledWindow * _arg0;
7927 PyObject * _argo0 = 0;
7928 char *_kwnames[] = { "self", NULL };
7929
7930 self = self;
7931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_GetScaleY",_kwnames,&_argo0))
7932 return NULL;
7933 if (_argo0) {
7934 if (_argo0 == Py_None) { _arg0 = NULL; }
7935 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7936 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetScaleY. Expected _wxScrolledWindow_p.");
7937 return NULL;
7938 }
7939 }
7940 {
7941 PyThreadState* __tstate = wxPyBeginAllowThreads();
7942 _result = (double )wxScrolledWindow_GetScaleY(_arg0);
7943
7944 wxPyEndAllowThreads(__tstate);
7945 if (PyErr_Occurred()) return NULL;
7946 } _resultobj = Py_BuildValue("d",_result);
7947 return _resultobj;
7948 }
7949
7950 #define wxScrolledWindow_AdjustScrollbars(_swigobj) (_swigobj->AdjustScrollbars())
7951 static PyObject *_wrap_wxScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
7952 PyObject * _resultobj;
7953 wxScrolledWindow * _arg0;
7954 PyObject * _argo0 = 0;
7955 char *_kwnames[] = { "self", NULL };
7956
7957 self = self;
7958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_AdjustScrollbars",_kwnames,&_argo0))
7959 return NULL;
7960 if (_argo0) {
7961 if (_argo0 == Py_None) { _arg0 = NULL; }
7962 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7963 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_AdjustScrollbars. Expected _wxScrolledWindow_p.");
7964 return NULL;
7965 }
7966 }
7967 {
7968 PyThreadState* __tstate = wxPyBeginAllowThreads();
7969 wxScrolledWindow_AdjustScrollbars(_arg0);
7970
7971 wxPyEndAllowThreads(__tstate);
7972 if (PyErr_Occurred()) return NULL;
7973 } Py_INCREF(Py_None);
7974 _resultobj = Py_None;
7975 return _resultobj;
7976 }
7977
7978 #define wxScrolledWindow_Layout(_swigobj) (_swigobj->Layout())
7979 static PyObject *_wrap_wxScrolledWindow_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
7980 PyObject * _resultobj;
7981 bool _result;
7982 wxScrolledWindow * _arg0;
7983 PyObject * _argo0 = 0;
7984 char *_kwnames[] = { "self", NULL };
7985
7986 self = self;
7987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_Layout",_kwnames,&_argo0))
7988 return NULL;
7989 if (_argo0) {
7990 if (_argo0 == Py_None) { _arg0 = NULL; }
7991 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7992 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_Layout. Expected _wxScrolledWindow_p.");
7993 return NULL;
7994 }
7995 }
7996 {
7997 PyThreadState* __tstate = wxPyBeginAllowThreads();
7998 _result = (bool )wxScrolledWindow_Layout(_arg0);
7999
8000 wxPyEndAllowThreads(__tstate);
8001 if (PyErr_Occurred()) return NULL;
8002 } _resultobj = Py_BuildValue("i",_result);
8003 return _resultobj;
8004 }
8005
8006 #define wxScrolledWindow_SetScrollRate(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScrollRate(_swigarg0,_swigarg1))
8007 static PyObject *_wrap_wxScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) {
8008 PyObject * _resultobj;
8009 wxScrolledWindow * _arg0;
8010 int _arg1;
8011 int _arg2;
8012 PyObject * _argo0 = 0;
8013 char *_kwnames[] = { "self","xstep","ystep", NULL };
8014
8015 self = self;
8016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxScrolledWindow_SetScrollRate",_kwnames,&_argo0,&_arg1,&_arg2))
8017 return NULL;
8018 if (_argo0) {
8019 if (_argo0 == Py_None) { _arg0 = NULL; }
8020 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
8021 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_SetScrollRate. Expected _wxScrolledWindow_p.");
8022 return NULL;
8023 }
8024 }
8025 {
8026 PyThreadState* __tstate = wxPyBeginAllowThreads();
8027 wxScrolledWindow_SetScrollRate(_arg0,_arg1,_arg2);
8028
8029 wxPyEndAllowThreads(__tstate);
8030 if (PyErr_Occurred()) return NULL;
8031 } Py_INCREF(Py_None);
8032 _resultobj = Py_None;
8033 return _resultobj;
8034 }
8035
8036 static void *SwigwxMenuTowxEvtHandler(void *ptr) {
8037 wxMenu *src;
8038 wxEvtHandler *dest;
8039 src = (wxMenu *) ptr;
8040 dest = (wxEvtHandler *) src;
8041 return (void *) dest;
8042 }
8043
8044 static void *SwigwxMenuTowxObject(void *ptr) {
8045 wxMenu *src;
8046 wxObject *dest;
8047 src = (wxMenu *) ptr;
8048 dest = (wxObject *) src;
8049 return (void *) dest;
8050 }
8051
8052 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
8053 static PyObject *_wrap_new_wxMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
8054 PyObject * _resultobj;
8055 wxMenu * _result;
8056 wxString * _arg0 = (wxString *) &wxPyEmptyString;
8057 long _arg1 = (long ) 0;
8058 PyObject * _obj0 = 0;
8059 char *_kwnames[] = { "title","style", NULL };
8060 char _ptemp[128];
8061
8062 self = self;
8063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|Ol:new_wxMenu",_kwnames,&_obj0,&_arg1))
8064 return NULL;
8065 if (_obj0)
8066 {
8067 _arg0 = wxString_in_helper(_obj0);
8068 if (_arg0 == NULL)
8069 return NULL;
8070 }
8071 {
8072 PyThreadState* __tstate = wxPyBeginAllowThreads();
8073 _result = (wxMenu *)new_wxMenu(*_arg0,_arg1);
8074
8075 wxPyEndAllowThreads(__tstate);
8076 if (PyErr_Occurred()) return NULL;
8077 } if (_result) {
8078 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenu_p");
8079 _resultobj = Py_BuildValue("s",_ptemp);
8080 } else {
8081 Py_INCREF(Py_None);
8082 _resultobj = Py_None;
8083 }
8084 {
8085 if (_obj0)
8086 delete _arg0;
8087 }
8088 return _resultobj;
8089 }
8090
8091 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8092 static PyObject *_wrap_wxMenu_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
8093 PyObject * _resultobj;
8094 wxMenu * _arg0;
8095 int _arg1;
8096 wxString * _arg2;
8097 wxString * _arg3 = (wxString *) &wxPyEmptyString;
8098 wxItemKind _arg4 = (wxItemKind ) wxITEM_NORMAL;
8099 PyObject * _argo0 = 0;
8100 PyObject * _obj2 = 0;
8101 PyObject * _obj3 = 0;
8102 char *_kwnames[] = { "self","id","item","helpString","kind", NULL };
8103
8104 self = self;
8105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|Oi:wxMenu_Append",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4))
8106 return NULL;
8107 if (_argo0) {
8108 if (_argo0 == Py_None) { _arg0 = NULL; }
8109 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8110 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
8111 return NULL;
8112 }
8113 }
8114 {
8115 _arg2 = wxString_in_helper(_obj2);
8116 if (_arg2 == NULL)
8117 return NULL;
8118 }
8119 if (_obj3)
8120 {
8121 _arg3 = wxString_in_helper(_obj3);
8122 if (_arg3 == NULL)
8123 return NULL;
8124 }
8125 {
8126 PyThreadState* __tstate = wxPyBeginAllowThreads();
8127 wxMenu_Append(_arg0,_arg1,*_arg2,*_arg3,_arg4);
8128
8129 wxPyEndAllowThreads(__tstate);
8130 if (PyErr_Occurred()) return NULL;
8131 } Py_INCREF(Py_None);
8132 _resultobj = Py_None;
8133 {
8134 if (_obj2)
8135 delete _arg2;
8136 }
8137 {
8138 if (_obj3)
8139 delete _arg3;
8140 }
8141 return _resultobj;
8142 }
8143
8144 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8145 static PyObject *_wrap_wxMenu_AppendMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
8146 PyObject * _resultobj;
8147 wxMenu * _arg0;
8148 int _arg1;
8149 wxString * _arg2;
8150 wxMenu * _arg3;
8151 wxString * _arg4 = (wxString *) &wxPyEmptyString;
8152 PyObject * _argo0 = 0;
8153 PyObject * _obj2 = 0;
8154 PyObject * _argo3 = 0;
8155 PyObject * _obj4 = 0;
8156 char *_kwnames[] = { "self","id","item","subMenu","helpString", NULL };
8157
8158 self = self;
8159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO|O:wxMenu_AppendMenu",_kwnames,&_argo0,&_arg1,&_obj2,&_argo3,&_obj4))
8160 return NULL;
8161 if (_argo0) {
8162 if (_argo0 == Py_None) { _arg0 = NULL; }
8163 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8164 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
8165 return NULL;
8166 }
8167 }
8168 {
8169 _arg2 = wxString_in_helper(_obj2);
8170 if (_arg2 == NULL)
8171 return NULL;
8172 }
8173 if (_argo3) {
8174 if (_argo3 == Py_None) { _arg3 = NULL; }
8175 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxMenu_p")) {
8176 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
8177 return NULL;
8178 }
8179 }
8180 if (_obj4)
8181 {
8182 _arg4 = wxString_in_helper(_obj4);
8183 if (_arg4 == NULL)
8184 return NULL;
8185 }
8186 {
8187 PyThreadState* __tstate = wxPyBeginAllowThreads();
8188 wxMenu_AppendMenu(_arg0,_arg1,*_arg2,_arg3,*_arg4);
8189
8190 wxPyEndAllowThreads(__tstate);
8191 if (PyErr_Occurred()) return NULL;
8192 } Py_INCREF(Py_None);
8193 _resultobj = Py_None;
8194 {
8195 if (_obj2)
8196 delete _arg2;
8197 }
8198 {
8199 if (_obj4)
8200 delete _arg4;
8201 }
8202 return _resultobj;
8203 }
8204
8205 #define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
8206 static PyObject *_wrap_wxMenu_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8207 PyObject * _resultobj;
8208 wxMenu * _arg0;
8209 wxMenuItem * _arg1;
8210 PyObject * _argo0 = 0;
8211 PyObject * _argo1 = 0;
8212 char *_kwnames[] = { "self","item", NULL };
8213
8214 self = self;
8215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_AppendItem",_kwnames,&_argo0,&_argo1))
8216 return NULL;
8217 if (_argo0) {
8218 if (_argo0 == Py_None) { _arg0 = NULL; }
8219 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8220 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
8221 return NULL;
8222 }
8223 }
8224 if (_argo1) {
8225 if (_argo1 == Py_None) { _arg1 = NULL; }
8226 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenuItem_p")) {
8227 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
8228 return NULL;
8229 }
8230 }
8231 {
8232 PyThreadState* __tstate = wxPyBeginAllowThreads();
8233 wxMenu_AppendItem(_arg0,_arg1);
8234
8235 wxPyEndAllowThreads(__tstate);
8236 if (PyErr_Occurred()) return NULL;
8237 } Py_INCREF(Py_None);
8238 _resultobj = Py_None;
8239 return _resultobj;
8240 }
8241
8242 #define wxMenu_AppendCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AppendCheckItem(_swigarg0,_swigarg1,_swigarg2))
8243 static PyObject *_wrap_wxMenu_AppendCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8244 PyObject * _resultobj;
8245 wxMenu * _arg0;
8246 int _arg1;
8247 wxString * _arg2;
8248 wxString * _arg3 = (wxString *) &wxPyEmptyString;
8249 PyObject * _argo0 = 0;
8250 PyObject * _obj2 = 0;
8251 PyObject * _obj3 = 0;
8252 char *_kwnames[] = { "self","id","text","help", NULL };
8253
8254 self = self;
8255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|O:wxMenu_AppendCheckItem",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3))
8256 return NULL;
8257 if (_argo0) {
8258 if (_argo0 == Py_None) { _arg0 = NULL; }
8259 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8260 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendCheckItem. Expected _wxMenu_p.");
8261 return NULL;
8262 }
8263 }
8264 {
8265 _arg2 = wxString_in_helper(_obj2);
8266 if (_arg2 == NULL)
8267 return NULL;
8268 }
8269 if (_obj3)
8270 {
8271 _arg3 = wxString_in_helper(_obj3);
8272 if (_arg3 == NULL)
8273 return NULL;
8274 }
8275 {
8276 PyThreadState* __tstate = wxPyBeginAllowThreads();
8277 wxMenu_AppendCheckItem(_arg0,_arg1,*_arg2,*_arg3);
8278
8279 wxPyEndAllowThreads(__tstate);
8280 if (PyErr_Occurred()) return NULL;
8281 } Py_INCREF(Py_None);
8282 _resultobj = Py_None;
8283 {
8284 if (_obj2)
8285 delete _arg2;
8286 }
8287 {
8288 if (_obj3)
8289 delete _arg3;
8290 }
8291 return _resultobj;
8292 }
8293
8294 #define wxMenu_AppendRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AppendRadioItem(_swigarg0,_swigarg1,_swigarg2))
8295 static PyObject *_wrap_wxMenu_AppendRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8296 PyObject * _resultobj;
8297 wxMenu * _arg0;
8298 int _arg1;
8299 wxString * _arg2;
8300 wxString * _arg3 = (wxString *) &wxPyEmptyString;
8301 PyObject * _argo0 = 0;
8302 PyObject * _obj2 = 0;
8303 PyObject * _obj3 = 0;
8304 char *_kwnames[] = { "self","id","text","help", NULL };
8305
8306 self = self;
8307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|O:wxMenu_AppendRadioItem",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3))
8308 return NULL;
8309 if (_argo0) {
8310 if (_argo0 == Py_None) { _arg0 = NULL; }
8311 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8312 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendRadioItem. Expected _wxMenu_p.");
8313 return NULL;
8314 }
8315 }
8316 {
8317 _arg2 = wxString_in_helper(_obj2);
8318 if (_arg2 == NULL)
8319 return NULL;
8320 }
8321 if (_obj3)
8322 {
8323 _arg3 = wxString_in_helper(_obj3);
8324 if (_arg3 == NULL)
8325 return NULL;
8326 }
8327 {
8328 PyThreadState* __tstate = wxPyBeginAllowThreads();
8329 wxMenu_AppendRadioItem(_arg0,_arg1,*_arg2,*_arg3);
8330
8331 wxPyEndAllowThreads(__tstate);
8332 if (PyErr_Occurred()) return NULL;
8333 } Py_INCREF(Py_None);
8334 _resultobj = Py_None;
8335 {
8336 if (_obj2)
8337 delete _arg2;
8338 }
8339 {
8340 if (_obj3)
8341 delete _arg3;
8342 }
8343 return _resultobj;
8344 }
8345
8346 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
8347 static PyObject *_wrap_wxMenu_AppendSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
8348 PyObject * _resultobj;
8349 wxMenu * _arg0;
8350 PyObject * _argo0 = 0;
8351 char *_kwnames[] = { "self", NULL };
8352
8353 self = self;
8354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_AppendSeparator",_kwnames,&_argo0))
8355 return NULL;
8356 if (_argo0) {
8357 if (_argo0 == Py_None) { _arg0 = NULL; }
8358 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8359 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
8360 return NULL;
8361 }
8362 }
8363 {
8364 PyThreadState* __tstate = wxPyBeginAllowThreads();
8365 wxMenu_AppendSeparator(_arg0);
8366
8367 wxPyEndAllowThreads(__tstate);
8368 if (PyErr_Occurred()) return NULL;
8369 } Py_INCREF(Py_None);
8370 _resultobj = Py_None;
8371 return _resultobj;
8372 }
8373
8374 #define wxMenu_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8375 static PyObject *_wrap_wxMenu_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
8376 PyObject * _resultobj;
8377 wxMenu * _arg0;
8378 size_t _arg1;
8379 int _arg2;
8380 wxString * _arg3;
8381 wxString * _arg4 = (wxString *) &wxPyEmptyString;
8382 wxItemKind _arg5 = (wxItemKind ) wxITEM_NORMAL;
8383 PyObject * _argo0 = 0;
8384 PyObject * _obj3 = 0;
8385 PyObject * _obj4 = 0;
8386 char *_kwnames[] = { "self","pos","id","text","help","kind", NULL };
8387
8388 self = self;
8389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO|Oi:wxMenu_Insert",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4,&_arg5))
8390 return NULL;
8391 if (_argo0) {
8392 if (_argo0 == Py_None) { _arg0 = NULL; }
8393 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8394 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Insert. Expected _wxMenu_p.");
8395 return NULL;
8396 }
8397 }
8398 {
8399 _arg3 = wxString_in_helper(_obj3);
8400 if (_arg3 == NULL)
8401 return NULL;
8402 }
8403 if (_obj4)
8404 {
8405 _arg4 = wxString_in_helper(_obj4);
8406 if (_arg4 == NULL)
8407 return NULL;
8408 }
8409 {
8410 PyThreadState* __tstate = wxPyBeginAllowThreads();
8411 wxMenu_Insert(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5);
8412
8413 wxPyEndAllowThreads(__tstate);
8414 if (PyErr_Occurred()) return NULL;
8415 } Py_INCREF(Py_None);
8416 _resultobj = Py_None;
8417 {
8418 if (_obj3)
8419 delete _arg3;
8420 }
8421 {
8422 if (_obj4)
8423 delete _arg4;
8424 }
8425 return _resultobj;
8426 }
8427
8428 #define wxMenu_InsertSeparator(_swigobj,_swigarg0) (_swigobj->InsertSeparator(_swigarg0))
8429 static PyObject *_wrap_wxMenu_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
8430 PyObject * _resultobj;
8431 wxMenu * _arg0;
8432 size_t _arg1;
8433 PyObject * _argo0 = 0;
8434 char *_kwnames[] = { "self","pos", NULL };
8435
8436 self = self;
8437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_InsertSeparator",_kwnames,&_argo0,&_arg1))
8438 return NULL;
8439 if (_argo0) {
8440 if (_argo0 == Py_None) { _arg0 = NULL; }
8441 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8442 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_InsertSeparator. Expected _wxMenu_p.");
8443 return NULL;
8444 }
8445 }
8446 {
8447 PyThreadState* __tstate = wxPyBeginAllowThreads();
8448 wxMenu_InsertSeparator(_arg0,_arg1);
8449
8450 wxPyEndAllowThreads(__tstate);
8451 if (PyErr_Occurred()) return NULL;
8452 } Py_INCREF(Py_None);
8453 _resultobj = Py_None;
8454 return _resultobj;
8455 }
8456
8457 #define wxMenu_InsertCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertCheckItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8458 static PyObject *_wrap_wxMenu_InsertCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8459 PyObject * _resultobj;
8460 wxMenu * _arg0;
8461 size_t _arg1;
8462 int _arg2;
8463 wxString * _arg3;
8464 wxString * _arg4 = (wxString *) &wxPyEmptyString;
8465 PyObject * _argo0 = 0;
8466 PyObject * _obj3 = 0;
8467 PyObject * _obj4 = 0;
8468 char *_kwnames[] = { "self","pos","id","text","help", NULL };
8469
8470 self = self;
8471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO|O:wxMenu_InsertCheckItem",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4))
8472 return NULL;
8473 if (_argo0) {
8474 if (_argo0 == Py_None) { _arg0 = NULL; }
8475 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8476 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_InsertCheckItem. Expected _wxMenu_p.");
8477 return NULL;
8478 }
8479 }
8480 {
8481 _arg3 = wxString_in_helper(_obj3);
8482 if (_arg3 == NULL)
8483 return NULL;
8484 }
8485 if (_obj4)
8486 {
8487 _arg4 = wxString_in_helper(_obj4);
8488 if (_arg4 == NULL)
8489 return NULL;
8490 }
8491 {
8492 PyThreadState* __tstate = wxPyBeginAllowThreads();
8493 wxMenu_InsertCheckItem(_arg0,_arg1,_arg2,*_arg3,*_arg4);
8494
8495 wxPyEndAllowThreads(__tstate);
8496 if (PyErr_Occurred()) return NULL;
8497 } Py_INCREF(Py_None);
8498 _resultobj = Py_None;
8499 {
8500 if (_obj3)
8501 delete _arg3;
8502 }
8503 {
8504 if (_obj4)
8505 delete _arg4;
8506 }
8507 return _resultobj;
8508 }
8509
8510 #define wxMenu_InsertRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertRadioItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8511 static PyObject *_wrap_wxMenu_InsertRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8512 PyObject * _resultobj;
8513 wxMenu * _arg0;
8514 size_t _arg1;
8515 int _arg2;
8516 wxString * _arg3;
8517 wxString * _arg4 = (wxString *) &wxPyEmptyString;
8518 PyObject * _argo0 = 0;
8519 PyObject * _obj3 = 0;
8520 PyObject * _obj4 = 0;
8521 char *_kwnames[] = { "self","pos","id","text","help", NULL };
8522
8523 self = self;
8524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO|O:wxMenu_InsertRadioItem",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4))
8525 return NULL;
8526 if (_argo0) {
8527 if (_argo0 == Py_None) { _arg0 = NULL; }
8528 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8529 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_InsertRadioItem. Expected _wxMenu_p.");
8530 return NULL;
8531 }
8532 }
8533 {
8534 _arg3 = wxString_in_helper(_obj3);
8535 if (_arg3 == NULL)
8536 return NULL;
8537 }
8538 if (_obj4)
8539 {
8540 _arg4 = wxString_in_helper(_obj4);
8541 if (_arg4 == NULL)
8542 return NULL;
8543 }
8544 {
8545 PyThreadState* __tstate = wxPyBeginAllowThreads();
8546 wxMenu_InsertRadioItem(_arg0,_arg1,_arg2,*_arg3,*_arg4);
8547
8548 wxPyEndAllowThreads(__tstate);
8549 if (PyErr_Occurred()) return NULL;
8550 } Py_INCREF(Py_None);
8551 _resultobj = Py_None;
8552 {
8553 if (_obj3)
8554 delete _arg3;
8555 }
8556 {
8557 if (_obj4)
8558 delete _arg4;
8559 }
8560 return _resultobj;
8561 }
8562
8563 #define wxMenu_InsertMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8564 static PyObject *_wrap_wxMenu_InsertMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
8565 PyObject * _resultobj;
8566 wxMenu * _arg0;
8567 size_t _arg1;
8568 int _arg2;
8569 wxString * _arg3;
8570 wxMenu * _arg4;
8571 wxString * _arg5 = (wxString *) &wxPyEmptyString;
8572 PyObject * _argo0 = 0;
8573 PyObject * _obj3 = 0;
8574 PyObject * _argo4 = 0;
8575 PyObject * _obj5 = 0;
8576 char *_kwnames[] = { "self","pos","id","text","submenu","help", NULL };
8577
8578 self = self;
8579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOO|O:wxMenu_InsertMenu",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_argo4,&_obj5))
8580 return NULL;
8581 if (_argo0) {
8582 if (_argo0 == Py_None) { _arg0 = NULL; }
8583 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8584 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_InsertMenu. Expected _wxMenu_p.");
8585 return NULL;
8586 }
8587 }
8588 {
8589 _arg3 = wxString_in_helper(_obj3);
8590 if (_arg3 == NULL)
8591 return NULL;
8592 }
8593 if (_argo4) {
8594 if (_argo4 == Py_None) { _arg4 = NULL; }
8595 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxMenu_p")) {
8596 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxMenu_InsertMenu. Expected _wxMenu_p.");
8597 return NULL;
8598 }
8599 }
8600 if (_obj5)
8601 {
8602 _arg5 = wxString_in_helper(_obj5);
8603 if (_arg5 == NULL)
8604 return NULL;
8605 }
8606 {
8607 PyThreadState* __tstate = wxPyBeginAllowThreads();
8608 wxMenu_InsertMenu(_arg0,_arg1,_arg2,*_arg3,_arg4,*_arg5);
8609
8610 wxPyEndAllowThreads(__tstate);
8611 if (PyErr_Occurred()) return NULL;
8612 } Py_INCREF(Py_None);
8613 _resultobj = Py_None;
8614 {
8615 if (_obj3)
8616 delete _arg3;
8617 }
8618 {
8619 if (_obj5)
8620 delete _arg5;
8621 }
8622 return _resultobj;
8623 }
8624
8625 #define wxMenu_InsertItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Insert(_swigarg0,_swigarg1))
8626 static PyObject *_wrap_wxMenu_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8627 PyObject * _resultobj;
8628 bool _result;
8629 wxMenu * _arg0;
8630 size_t _arg1;
8631 wxMenuItem * _arg2;
8632 PyObject * _argo0 = 0;
8633 PyObject * _argo2 = 0;
8634 char *_kwnames[] = { "self","pos","item", NULL };
8635
8636 self = self;
8637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenu_InsertItem",_kwnames,&_argo0,&_arg1,&_argo2))
8638 return NULL;
8639 if (_argo0) {
8640 if (_argo0 == Py_None) { _arg0 = NULL; }
8641 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8642 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_InsertItem. Expected _wxMenu_p.");
8643 return NULL;
8644 }
8645 }
8646 if (_argo2) {
8647 if (_argo2 == Py_None) { _arg2 = NULL; }
8648 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxMenuItem_p")) {
8649 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxMenu_InsertItem. Expected _wxMenuItem_p.");
8650 return NULL;
8651 }
8652 }
8653 {
8654 PyThreadState* __tstate = wxPyBeginAllowThreads();
8655 _result = (bool )wxMenu_InsertItem(_arg0,_arg1,_arg2);
8656
8657 wxPyEndAllowThreads(__tstate);
8658 if (PyErr_Occurred()) return NULL;
8659 } _resultobj = Py_BuildValue("i",_result);
8660 return _resultobj;
8661 }
8662
8663 #define wxMenu_Prepend(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Prepend(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8664 static PyObject *_wrap_wxMenu_Prepend(PyObject *self, PyObject *args, PyObject *kwargs) {
8665 PyObject * _resultobj;
8666 wxMenu * _arg0;
8667 int _arg1;
8668 wxString * _arg2;
8669 wxString * _arg3 = (wxString *) &wxPyEmptyString;
8670 wxItemKind _arg4 = (wxItemKind ) wxITEM_NORMAL;
8671 PyObject * _argo0 = 0;
8672 PyObject * _obj2 = 0;
8673 PyObject * _obj3 = 0;
8674 char *_kwnames[] = { "self","id","text","help","kind", NULL };
8675
8676 self = self;
8677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|Oi:wxMenu_Prepend",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4))
8678 return NULL;
8679 if (_argo0) {
8680 if (_argo0 == Py_None) { _arg0 = NULL; }
8681 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8682 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Prepend. Expected _wxMenu_p.");
8683 return NULL;
8684 }
8685 }
8686 {
8687 _arg2 = wxString_in_helper(_obj2);
8688 if (_arg2 == NULL)
8689 return NULL;
8690 }
8691 if (_obj3)
8692 {
8693 _arg3 = wxString_in_helper(_obj3);
8694 if (_arg3 == NULL)
8695 return NULL;
8696 }
8697 {
8698 PyThreadState* __tstate = wxPyBeginAllowThreads();
8699 wxMenu_Prepend(_arg0,_arg1,*_arg2,*_arg3,_arg4);
8700
8701 wxPyEndAllowThreads(__tstate);
8702 if (PyErr_Occurred()) return NULL;
8703 } Py_INCREF(Py_None);
8704 _resultobj = Py_None;
8705 {
8706 if (_obj2)
8707 delete _arg2;
8708 }
8709 {
8710 if (_obj3)
8711 delete _arg3;
8712 }
8713 return _resultobj;
8714 }
8715
8716 #define wxMenu_PrependSeparator(_swigobj) (_swigobj->PrependSeparator())
8717 static PyObject *_wrap_wxMenu_PrependSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
8718 PyObject * _resultobj;
8719 wxMenu * _arg0;
8720 PyObject * _argo0 = 0;
8721 char *_kwnames[] = { "self", NULL };
8722
8723 self = self;
8724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_PrependSeparator",_kwnames,&_argo0))
8725 return NULL;
8726 if (_argo0) {
8727 if (_argo0 == Py_None) { _arg0 = NULL; }
8728 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8729 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_PrependSeparator. Expected _wxMenu_p.");
8730 return NULL;
8731 }
8732 }
8733 {
8734 PyThreadState* __tstate = wxPyBeginAllowThreads();
8735 wxMenu_PrependSeparator(_arg0);
8736
8737 wxPyEndAllowThreads(__tstate);
8738 if (PyErr_Occurred()) return NULL;
8739 } Py_INCREF(Py_None);
8740 _resultobj = Py_None;
8741 return _resultobj;
8742 }
8743
8744 #define wxMenu_PrependCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PrependCheckItem(_swigarg0,_swigarg1,_swigarg2))
8745 static PyObject *_wrap_wxMenu_PrependCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8746 PyObject * _resultobj;
8747 wxMenu * _arg0;
8748 int _arg1;
8749 wxString * _arg2;
8750 wxString * _arg3 = (wxString *) &wxPyEmptyString;
8751 PyObject * _argo0 = 0;
8752 PyObject * _obj2 = 0;
8753 PyObject * _obj3 = 0;
8754 char *_kwnames[] = { "self","id","text","help", NULL };
8755
8756 self = self;
8757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|O:wxMenu_PrependCheckItem",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3))
8758 return NULL;
8759 if (_argo0) {
8760 if (_argo0 == Py_None) { _arg0 = NULL; }
8761 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8762 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_PrependCheckItem. Expected _wxMenu_p.");
8763 return NULL;
8764 }
8765 }
8766 {
8767 _arg2 = wxString_in_helper(_obj2);
8768 if (_arg2 == NULL)
8769 return NULL;
8770 }
8771 if (_obj3)
8772 {
8773 _arg3 = wxString_in_helper(_obj3);
8774 if (_arg3 == NULL)
8775 return NULL;
8776 }
8777 {
8778 PyThreadState* __tstate = wxPyBeginAllowThreads();
8779 wxMenu_PrependCheckItem(_arg0,_arg1,*_arg2,*_arg3);
8780
8781 wxPyEndAllowThreads(__tstate);
8782 if (PyErr_Occurred()) return NULL;
8783 } Py_INCREF(Py_None);
8784 _resultobj = Py_None;
8785 {
8786 if (_obj2)
8787 delete _arg2;
8788 }
8789 {
8790 if (_obj3)
8791 delete _arg3;
8792 }
8793 return _resultobj;
8794 }
8795
8796 #define wxMenu_PrependRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PrependRadioItem(_swigarg0,_swigarg1,_swigarg2))
8797 static PyObject *_wrap_wxMenu_PrependRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8798 PyObject * _resultobj;
8799 wxMenu * _arg0;
8800 int _arg1;
8801 wxString * _arg2;
8802 wxString * _arg3 = (wxString *) &wxPyEmptyString;
8803 PyObject * _argo0 = 0;
8804 PyObject * _obj2 = 0;
8805 PyObject * _obj3 = 0;
8806 char *_kwnames[] = { "self","id","text","help", NULL };
8807
8808 self = self;
8809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|O:wxMenu_PrependRadioItem",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3))
8810 return NULL;
8811 if (_argo0) {
8812 if (_argo0 == Py_None) { _arg0 = NULL; }
8813 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8814 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_PrependRadioItem. Expected _wxMenu_p.");
8815 return NULL;
8816 }
8817 }
8818 {
8819 _arg2 = wxString_in_helper(_obj2);
8820 if (_arg2 == NULL)
8821 return NULL;
8822 }
8823 if (_obj3)
8824 {
8825 _arg3 = wxString_in_helper(_obj3);
8826 if (_arg3 == NULL)
8827 return NULL;
8828 }
8829 {
8830 PyThreadState* __tstate = wxPyBeginAllowThreads();
8831 wxMenu_PrependRadioItem(_arg0,_arg1,*_arg2,*_arg3);
8832
8833 wxPyEndAllowThreads(__tstate);
8834 if (PyErr_Occurred()) return NULL;
8835 } Py_INCREF(Py_None);
8836 _resultobj = Py_None;
8837 {
8838 if (_obj2)
8839 delete _arg2;
8840 }
8841 {
8842 if (_obj3)
8843 delete _arg3;
8844 }
8845 return _resultobj;
8846 }
8847
8848 #define wxMenu_PrependMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Prepend(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8849 static PyObject *_wrap_wxMenu_PrependMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
8850 PyObject * _resultobj;
8851 wxMenu * _arg0;
8852 int _arg1;
8853 wxString * _arg2;
8854 wxMenu * _arg3;
8855 wxString * _arg4 = (wxString *) &wxPyEmptyString;
8856 PyObject * _argo0 = 0;
8857 PyObject * _obj2 = 0;
8858 PyObject * _argo3 = 0;
8859 PyObject * _obj4 = 0;
8860 char *_kwnames[] = { "self","id","text","submenu","help", NULL };
8861
8862 self = self;
8863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO|O:wxMenu_PrependMenu",_kwnames,&_argo0,&_arg1,&_obj2,&_argo3,&_obj4))
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_PrependMenu. Expected _wxMenu_p.");
8869 return NULL;
8870 }
8871 }
8872 {
8873 _arg2 = wxString_in_helper(_obj2);
8874 if (_arg2 == NULL)
8875 return NULL;
8876 }
8877 if (_argo3) {
8878 if (_argo3 == Py_None) { _arg3 = NULL; }
8879 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxMenu_p")) {
8880 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxMenu_PrependMenu. Expected _wxMenu_p.");
8881 return NULL;
8882 }
8883 }
8884 if (_obj4)
8885 {
8886 _arg4 = wxString_in_helper(_obj4);
8887 if (_arg4 == NULL)
8888 return NULL;
8889 }
8890 {
8891 PyThreadState* __tstate = wxPyBeginAllowThreads();
8892 wxMenu_PrependMenu(_arg0,_arg1,*_arg2,_arg3,*_arg4);
8893
8894 wxPyEndAllowThreads(__tstate);
8895 if (PyErr_Occurred()) return NULL;
8896 } Py_INCREF(Py_None);
8897 _resultobj = Py_None;
8898 {
8899 if (_obj2)
8900 delete _arg2;
8901 }
8902 {
8903 if (_obj4)
8904 delete _arg4;
8905 }
8906 return _resultobj;
8907 }
8908
8909 #define wxMenu_PrependItem(_swigobj,_swigarg0) (_swigobj->Prepend(_swigarg0))
8910 static PyObject *_wrap_wxMenu_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8911 PyObject * _resultobj;
8912 wxMenu * _arg0;
8913 wxMenuItem * _arg1;
8914 PyObject * _argo0 = 0;
8915 PyObject * _argo1 = 0;
8916 char *_kwnames[] = { "self","item", NULL };
8917
8918 self = self;
8919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_PrependItem",_kwnames,&_argo0,&_argo1))
8920 return NULL;
8921 if (_argo0) {
8922 if (_argo0 == Py_None) { _arg0 = NULL; }
8923 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8924 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_PrependItem. Expected _wxMenu_p.");
8925 return NULL;
8926 }
8927 }
8928 if (_argo1) {
8929 if (_argo1 == Py_None) { _arg1 = NULL; }
8930 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenuItem_p")) {
8931 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_PrependItem. Expected _wxMenuItem_p.");
8932 return NULL;
8933 }
8934 }
8935 {
8936 PyThreadState* __tstate = wxPyBeginAllowThreads();
8937 wxMenu_PrependItem(_arg0,_arg1);
8938
8939 wxPyEndAllowThreads(__tstate);
8940 if (PyErr_Occurred()) return NULL;
8941 } Py_INCREF(Py_None);
8942 _resultobj = Py_None;
8943 return _resultobj;
8944 }
8945
8946 #define wxMenu_Break(_swigobj) (_swigobj->Break())
8947 static PyObject *_wrap_wxMenu_Break(PyObject *self, PyObject *args, PyObject *kwargs) {
8948 PyObject * _resultobj;
8949 wxMenu * _arg0;
8950 PyObject * _argo0 = 0;
8951 char *_kwnames[] = { "self", NULL };
8952
8953 self = self;
8954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_Break",_kwnames,&_argo0))
8955 return NULL;
8956 if (_argo0) {
8957 if (_argo0 == Py_None) { _arg0 = NULL; }
8958 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8959 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
8960 return NULL;
8961 }
8962 }
8963 {
8964 PyThreadState* __tstate = wxPyBeginAllowThreads();
8965 wxMenu_Break(_arg0);
8966
8967 wxPyEndAllowThreads(__tstate);
8968 if (PyErr_Occurred()) return NULL;
8969 } Py_INCREF(Py_None);
8970 _resultobj = Py_None;
8971 return _resultobj;
8972 }
8973
8974 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
8975 static PyObject *_wrap_wxMenu_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
8976 PyObject * _resultobj;
8977 wxMenu * _arg0;
8978 int _arg1;
8979 bool _arg2;
8980 PyObject * _argo0 = 0;
8981 int tempbool2;
8982 char *_kwnames[] = { "self","id","flag", NULL };
8983
8984 self = self;
8985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxMenu_Check",_kwnames,&_argo0,&_arg1,&tempbool2))
8986 return NULL;
8987 if (_argo0) {
8988 if (_argo0 == Py_None) { _arg0 = NULL; }
8989 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8990 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
8991 return NULL;
8992 }
8993 }
8994 _arg2 = (bool ) tempbool2;
8995 {
8996 PyThreadState* __tstate = wxPyBeginAllowThreads();
8997 wxMenu_Check(_arg0,_arg1,_arg2);
8998
8999 wxPyEndAllowThreads(__tstate);
9000 if (PyErr_Occurred()) return NULL;
9001 } Py_INCREF(Py_None);
9002 _resultobj = Py_None;
9003 return _resultobj;
9004 }
9005
9006 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
9007 static PyObject *_wrap_wxMenu_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
9008 PyObject * _resultobj;
9009 bool _result;
9010 wxMenu * _arg0;
9011 int _arg1;
9012 PyObject * _argo0 = 0;
9013 char *_kwnames[] = { "self","id", NULL };
9014
9015 self = self;
9016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_IsChecked",_kwnames,&_argo0,&_arg1))
9017 return NULL;
9018 if (_argo0) {
9019 if (_argo0 == Py_None) { _arg0 = NULL; }
9020 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9021 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
9022 return NULL;
9023 }
9024 }
9025 {
9026 PyThreadState* __tstate = wxPyBeginAllowThreads();
9027 _result = (bool )wxMenu_IsChecked(_arg0,_arg1);
9028
9029 wxPyEndAllowThreads(__tstate);
9030 if (PyErr_Occurred()) return NULL;
9031 } _resultobj = Py_BuildValue("i",_result);
9032 return _resultobj;
9033 }
9034
9035 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
9036 static PyObject *_wrap_wxMenu_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
9037 PyObject * _resultobj;
9038 wxMenu * _arg0;
9039 int _arg1;
9040 bool _arg2;
9041 PyObject * _argo0 = 0;
9042 int tempbool2;
9043 char *_kwnames[] = { "self","id","enable", NULL };
9044
9045 self = self;
9046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxMenu_Enable",_kwnames,&_argo0,&_arg1,&tempbool2))
9047 return NULL;
9048 if (_argo0) {
9049 if (_argo0 == Py_None) { _arg0 = NULL; }
9050 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9051 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
9052 return NULL;
9053 }
9054 }
9055 _arg2 = (bool ) tempbool2;
9056 {
9057 PyThreadState* __tstate = wxPyBeginAllowThreads();
9058 wxMenu_Enable(_arg0,_arg1,_arg2);
9059
9060 wxPyEndAllowThreads(__tstate);
9061 if (PyErr_Occurred()) return NULL;
9062 } Py_INCREF(Py_None);
9063 _resultobj = Py_None;
9064 return _resultobj;
9065 }
9066
9067 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
9068 static PyObject *_wrap_wxMenu_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
9069 PyObject * _resultobj;
9070 bool _result;
9071 wxMenu * _arg0;
9072 int _arg1;
9073 PyObject * _argo0 = 0;
9074 char *_kwnames[] = { "self","id", NULL };
9075
9076 self = self;
9077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_IsEnabled",_kwnames,&_argo0,&_arg1))
9078 return NULL;
9079 if (_argo0) {
9080 if (_argo0 == Py_None) { _arg0 = NULL; }
9081 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9082 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
9083 return NULL;
9084 }
9085 }
9086 {
9087 PyThreadState* __tstate = wxPyBeginAllowThreads();
9088 _result = (bool )wxMenu_IsEnabled(_arg0,_arg1);
9089
9090 wxPyEndAllowThreads(__tstate);
9091 if (PyErr_Occurred()) return NULL;
9092 } _resultobj = Py_BuildValue("i",_result);
9093 return _resultobj;
9094 }
9095
9096 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
9097 static PyObject *_wrap_wxMenu_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9098 PyObject * _resultobj;
9099 int _result;
9100 wxMenu * _arg0;
9101 wxString * _arg1;
9102 PyObject * _argo0 = 0;
9103 PyObject * _obj1 = 0;
9104 char *_kwnames[] = { "self","itemString", NULL };
9105
9106 self = self;
9107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_FindItem",_kwnames,&_argo0,&_obj1))
9108 return NULL;
9109 if (_argo0) {
9110 if (_argo0 == Py_None) { _arg0 = NULL; }
9111 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9112 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
9113 return NULL;
9114 }
9115 }
9116 {
9117 _arg1 = wxString_in_helper(_obj1);
9118 if (_arg1 == NULL)
9119 return NULL;
9120 }
9121 {
9122 PyThreadState* __tstate = wxPyBeginAllowThreads();
9123 _result = (int )wxMenu_FindItem(_arg0,*_arg1);
9124
9125 wxPyEndAllowThreads(__tstate);
9126 if (PyErr_Occurred()) return NULL;
9127 } _resultobj = Py_BuildValue("i",_result);
9128 {
9129 if (_obj1)
9130 delete _arg1;
9131 }
9132 return _resultobj;
9133 }
9134
9135 #define wxMenu_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
9136 static PyObject *_wrap_wxMenu_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
9137 PyObject * _resultobj;
9138 wxMenuItem * _result;
9139 wxMenu * _arg0;
9140 int _arg1;
9141 PyObject * _argo0 = 0;
9142 char *_kwnames[] = { "self","id", NULL };
9143
9144 self = self;
9145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_FindItemById",_kwnames,&_argo0,&_arg1))
9146 return NULL;
9147 if (_argo0) {
9148 if (_argo0 == Py_None) { _arg0 = NULL; }
9149 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9150 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_FindItemById. Expected _wxMenu_p.");
9151 return NULL;
9152 }
9153 }
9154 {
9155 PyThreadState* __tstate = wxPyBeginAllowThreads();
9156 _result = (wxMenuItem *)wxMenu_FindItemById(_arg0,_arg1);
9157
9158 wxPyEndAllowThreads(__tstate);
9159 if (PyErr_Occurred()) return NULL;
9160 }{ _resultobj = wxPyMake_wxObject(_result); }
9161 return _resultobj;
9162 }
9163
9164 #define wxMenu_FindItemByPosition(_swigobj,_swigarg0) (_swigobj->FindItemByPosition(_swigarg0))
9165 static PyObject *_wrap_wxMenu_FindItemByPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9166 PyObject * _resultobj;
9167 wxMenuItem * _result;
9168 wxMenu * _arg0;
9169 size_t _arg1;
9170 PyObject * _argo0 = 0;
9171 char *_kwnames[] = { "self","position", NULL };
9172
9173 self = self;
9174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_FindItemByPosition",_kwnames,&_argo0,&_arg1))
9175 return NULL;
9176 if (_argo0) {
9177 if (_argo0 == Py_None) { _arg0 = NULL; }
9178 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9179 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_FindItemByPosition. Expected _wxMenu_p.");
9180 return NULL;
9181 }
9182 }
9183 {
9184 PyThreadState* __tstate = wxPyBeginAllowThreads();
9185 _result = (wxMenuItem *)wxMenu_FindItemByPosition(_arg0,_arg1);
9186
9187 wxPyEndAllowThreads(__tstate);
9188 if (PyErr_Occurred()) return NULL;
9189 }{ _resultobj = wxPyMake_wxObject(_result); }
9190 return _resultobj;
9191 }
9192
9193 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
9194 static PyObject *_wrap_wxMenu_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
9195 PyObject * _resultobj;
9196 wxString * _result;
9197 wxMenu * _arg0;
9198 PyObject * _argo0 = 0;
9199 char *_kwnames[] = { "self", NULL };
9200
9201 self = self;
9202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetTitle",_kwnames,&_argo0))
9203 return NULL;
9204 if (_argo0) {
9205 if (_argo0 == Py_None) { _arg0 = NULL; }
9206 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9207 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
9208 return NULL;
9209 }
9210 }
9211 {
9212 PyThreadState* __tstate = wxPyBeginAllowThreads();
9213 _result = new wxString (wxMenu_GetTitle(_arg0));
9214
9215 wxPyEndAllowThreads(__tstate);
9216 if (PyErr_Occurred()) return NULL;
9217 }{
9218 #if wxUSE_UNICODE
9219 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
9220 #else
9221 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
9222 #endif
9223 }
9224 {
9225 delete _result;
9226 }
9227 return _resultobj;
9228 }
9229
9230 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
9231 static PyObject *_wrap_wxMenu_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
9232 PyObject * _resultobj;
9233 wxMenu * _arg0;
9234 wxString * _arg1;
9235 PyObject * _argo0 = 0;
9236 PyObject * _obj1 = 0;
9237 char *_kwnames[] = { "self","title", NULL };
9238
9239 self = self;
9240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_SetTitle",_kwnames,&_argo0,&_obj1))
9241 return NULL;
9242 if (_argo0) {
9243 if (_argo0 == Py_None) { _arg0 = NULL; }
9244 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9245 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
9246 return NULL;
9247 }
9248 }
9249 {
9250 _arg1 = wxString_in_helper(_obj1);
9251 if (_arg1 == NULL)
9252 return NULL;
9253 }
9254 {
9255 PyThreadState* __tstate = wxPyBeginAllowThreads();
9256 wxMenu_SetTitle(_arg0,*_arg1);
9257
9258 wxPyEndAllowThreads(__tstate);
9259 if (PyErr_Occurred()) return NULL;
9260 } Py_INCREF(Py_None);
9261 _resultobj = Py_None;
9262 {
9263 if (_obj1)
9264 delete _arg1;
9265 }
9266 return _resultobj;
9267 }
9268
9269 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
9270 static PyObject *_wrap_wxMenu_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
9271 PyObject * _resultobj;
9272 wxString * _result;
9273 wxMenu * _arg0;
9274 int _arg1;
9275 PyObject * _argo0 = 0;
9276 char *_kwnames[] = { "self","id", NULL };
9277
9278 self = self;
9279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_GetLabel",_kwnames,&_argo0,&_arg1))
9280 return NULL;
9281 if (_argo0) {
9282 if (_argo0 == Py_None) { _arg0 = NULL; }
9283 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9284 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
9285 return NULL;
9286 }
9287 }
9288 {
9289 PyThreadState* __tstate = wxPyBeginAllowThreads();
9290 _result = new wxString (wxMenu_GetLabel(_arg0,_arg1));
9291
9292 wxPyEndAllowThreads(__tstate);
9293 if (PyErr_Occurred()) return NULL;
9294 }{
9295 #if wxUSE_UNICODE
9296 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
9297 #else
9298 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
9299 #endif
9300 }
9301 {
9302 delete _result;
9303 }
9304 return _resultobj;
9305 }
9306
9307 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
9308 static PyObject *_wrap_wxMenu_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
9309 PyObject * _resultobj;
9310 wxMenu * _arg0;
9311 int _arg1;
9312 wxString * _arg2;
9313 PyObject * _argo0 = 0;
9314 PyObject * _obj2 = 0;
9315 char *_kwnames[] = { "self","id","label", NULL };
9316
9317 self = self;
9318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenu_SetLabel",_kwnames,&_argo0,&_arg1,&_obj2))
9319 return NULL;
9320 if (_argo0) {
9321 if (_argo0 == Py_None) { _arg0 = NULL; }
9322 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9323 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
9324 return NULL;
9325 }
9326 }
9327 {
9328 _arg2 = wxString_in_helper(_obj2);
9329 if (_arg2 == NULL)
9330 return NULL;
9331 }
9332 {
9333 PyThreadState* __tstate = wxPyBeginAllowThreads();
9334 wxMenu_SetLabel(_arg0,_arg1,*_arg2);
9335
9336 wxPyEndAllowThreads(__tstate);
9337 if (PyErr_Occurred()) return NULL;
9338 } Py_INCREF(Py_None);
9339 _resultobj = Py_None;
9340 {
9341 if (_obj2)
9342 delete _arg2;
9343 }
9344 return _resultobj;
9345 }
9346
9347 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
9348 static PyObject *_wrap_wxMenu_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
9349 PyObject * _resultobj;
9350 wxString * _result;
9351 wxMenu * _arg0;
9352 int _arg1;
9353 PyObject * _argo0 = 0;
9354 char *_kwnames[] = { "self","id", NULL };
9355
9356 self = self;
9357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_GetHelpString",_kwnames,&_argo0,&_arg1))
9358 return NULL;
9359 if (_argo0) {
9360 if (_argo0 == Py_None) { _arg0 = NULL; }
9361 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9362 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
9363 return NULL;
9364 }
9365 }
9366 {
9367 PyThreadState* __tstate = wxPyBeginAllowThreads();
9368 _result = new wxString (wxMenu_GetHelpString(_arg0,_arg1));
9369
9370 wxPyEndAllowThreads(__tstate);
9371 if (PyErr_Occurred()) return NULL;
9372 }{
9373 #if wxUSE_UNICODE
9374 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
9375 #else
9376 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
9377 #endif
9378 }
9379 {
9380 delete _result;
9381 }
9382 return _resultobj;
9383 }
9384
9385 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
9386 static PyObject *_wrap_wxMenu_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
9387 PyObject * _resultobj;
9388 wxMenu * _arg0;
9389 int _arg1;
9390 wxString * _arg2;
9391 PyObject * _argo0 = 0;
9392 PyObject * _obj2 = 0;
9393 char *_kwnames[] = { "self","id","helpString", NULL };
9394
9395 self = self;
9396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenu_SetHelpString",_kwnames,&_argo0,&_arg1,&_obj2))
9397 return NULL;
9398 if (_argo0) {
9399 if (_argo0 == Py_None) { _arg0 = NULL; }
9400 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9401 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
9402 return NULL;
9403 }
9404 }
9405 {
9406 _arg2 = wxString_in_helper(_obj2);
9407 if (_arg2 == NULL)
9408 return NULL;
9409 }
9410 {
9411 PyThreadState* __tstate = wxPyBeginAllowThreads();
9412 wxMenu_SetHelpString(_arg0,_arg1,*_arg2);
9413
9414 wxPyEndAllowThreads(__tstate);
9415 if (PyErr_Occurred()) return NULL;
9416 } Py_INCREF(Py_None);
9417 _resultobj = Py_None;
9418 {
9419 if (_obj2)
9420 delete _arg2;
9421 }
9422 return _resultobj;
9423 }
9424
9425 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
9426 static PyObject *_wrap_wxMenu_UpdateUI(PyObject *self, PyObject *args, PyObject *kwargs) {
9427 PyObject * _resultobj;
9428 wxMenu * _arg0;
9429 wxEvtHandler * _arg1 = (wxEvtHandler *) NULL;
9430 PyObject * _argo0 = 0;
9431 PyObject * _argo1 = 0;
9432 char *_kwnames[] = { "self","source", NULL };
9433
9434 self = self;
9435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxMenu_UpdateUI",_kwnames,&_argo0,&_argo1))
9436 return NULL;
9437 if (_argo0) {
9438 if (_argo0 == Py_None) { _arg0 = NULL; }
9439 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9440 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
9441 return NULL;
9442 }
9443 }
9444 if (_argo1) {
9445 if (_argo1 == Py_None) { _arg1 = NULL; }
9446 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
9447 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
9448 return NULL;
9449 }
9450 }
9451 {
9452 PyThreadState* __tstate = wxPyBeginAllowThreads();
9453 wxMenu_UpdateUI(_arg0,_arg1);
9454
9455 wxPyEndAllowThreads(__tstate);
9456 if (PyErr_Occurred()) return NULL;
9457 } Py_INCREF(Py_None);
9458 _resultobj = Py_None;
9459 return _resultobj;
9460 }
9461
9462 #define wxMenu_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
9463 static PyObject *_wrap_wxMenu_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
9464 PyObject * _resultobj;
9465 bool _result;
9466 wxMenu * _arg0;
9467 int _arg1;
9468 PyObject * _argo0 = 0;
9469 char *_kwnames[] = { "self","id", NULL };
9470
9471 self = self;
9472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_Delete",_kwnames,&_argo0,&_arg1))
9473 return NULL;
9474 if (_argo0) {
9475 if (_argo0 == Py_None) { _arg0 = NULL; }
9476 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9477 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Delete. Expected _wxMenu_p.");
9478 return NULL;
9479 }
9480 }
9481 {
9482 PyThreadState* __tstate = wxPyBeginAllowThreads();
9483 _result = (bool )wxMenu_Delete(_arg0,_arg1);
9484
9485 wxPyEndAllowThreads(__tstate);
9486 if (PyErr_Occurred()) return NULL;
9487 } _resultobj = Py_BuildValue("i",_result);
9488 return _resultobj;
9489 }
9490
9491 #define wxMenu_DeleteItem(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
9492 static PyObject *_wrap_wxMenu_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9493 PyObject * _resultobj;
9494 bool _result;
9495 wxMenu * _arg0;
9496 wxMenuItem * _arg1;
9497 PyObject * _argo0 = 0;
9498 PyObject * _argo1 = 0;
9499 char *_kwnames[] = { "self","item", NULL };
9500
9501 self = self;
9502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_DeleteItem",_kwnames,&_argo0,&_argo1))
9503 return NULL;
9504 if (_argo0) {
9505 if (_argo0 == Py_None) { _arg0 = NULL; }
9506 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9507 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_DeleteItem. Expected _wxMenu_p.");
9508 return NULL;
9509 }
9510 }
9511 if (_argo1) {
9512 if (_argo1 == Py_None) { _arg1 = NULL; }
9513 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenuItem_p")) {
9514 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_DeleteItem. Expected _wxMenuItem_p.");
9515 return NULL;
9516 }
9517 }
9518 {
9519 PyThreadState* __tstate = wxPyBeginAllowThreads();
9520 _result = (bool )wxMenu_DeleteItem(_arg0,_arg1);
9521
9522 wxPyEndAllowThreads(__tstate);
9523 if (PyErr_Occurred()) return NULL;
9524 } _resultobj = Py_BuildValue("i",_result);
9525 return _resultobj;
9526 }
9527
9528 #define wxMenu_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
9529 static PyObject *_wrap_wxMenu_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
9530 PyObject * _resultobj;
9531 wxMenuItem * _result;
9532 wxMenu * _arg0;
9533 int _arg1;
9534 PyObject * _argo0 = 0;
9535 char *_kwnames[] = { "self","id", NULL };
9536
9537 self = self;
9538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_Remove",_kwnames,&_argo0,&_arg1))
9539 return NULL;
9540 if (_argo0) {
9541 if (_argo0 == Py_None) { _arg0 = NULL; }
9542 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9543 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Remove. Expected _wxMenu_p.");
9544 return NULL;
9545 }
9546 }
9547 {
9548 PyThreadState* __tstate = wxPyBeginAllowThreads();
9549 _result = (wxMenuItem *)wxMenu_Remove(_arg0,_arg1);
9550
9551 wxPyEndAllowThreads(__tstate);
9552 if (PyErr_Occurred()) return NULL;
9553 }{ _resultobj = wxPyMake_wxObject(_result); }
9554 return _resultobj;
9555 }
9556
9557 #define wxMenu_RemoveItem(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
9558 static PyObject *_wrap_wxMenu_RemoveItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9559 PyObject * _resultobj;
9560 wxMenuItem * _result;
9561 wxMenu * _arg0;
9562 wxMenuItem * _arg1;
9563 PyObject * _argo0 = 0;
9564 PyObject * _argo1 = 0;
9565 char *_kwnames[] = { "self","item", NULL };
9566
9567 self = self;
9568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_RemoveItem",_kwnames,&_argo0,&_argo1))
9569 return NULL;
9570 if (_argo0) {
9571 if (_argo0 == Py_None) { _arg0 = NULL; }
9572 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9573 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_RemoveItem. Expected _wxMenu_p.");
9574 return NULL;
9575 }
9576 }
9577 if (_argo1) {
9578 if (_argo1 == Py_None) { _arg1 = NULL; }
9579 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenuItem_p")) {
9580 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_RemoveItem. Expected _wxMenuItem_p.");
9581 return NULL;
9582 }
9583 }
9584 {
9585 PyThreadState* __tstate = wxPyBeginAllowThreads();
9586 _result = (wxMenuItem *)wxMenu_RemoveItem(_arg0,_arg1);
9587
9588 wxPyEndAllowThreads(__tstate);
9589 if (PyErr_Occurred()) return NULL;
9590 }{ _resultobj = wxPyMake_wxObject(_result); }
9591 return _resultobj;
9592 }
9593
9594 static void wxMenu_Destroy(wxMenu *self) { delete self; }
9595 static PyObject *_wrap_wxMenu_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
9596 PyObject * _resultobj;
9597 wxMenu * _arg0;
9598 PyObject * _argo0 = 0;
9599 char *_kwnames[] = { "self", NULL };
9600
9601 self = self;
9602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_Destroy",_kwnames,&_argo0))
9603 return NULL;
9604 if (_argo0) {
9605 if (_argo0 == Py_None) { _arg0 = NULL; }
9606 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9607 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Destroy. Expected _wxMenu_p.");
9608 return NULL;
9609 }
9610 }
9611 {
9612 PyThreadState* __tstate = wxPyBeginAllowThreads();
9613 wxMenu_Destroy(_arg0);
9614
9615 wxPyEndAllowThreads(__tstate);
9616 if (PyErr_Occurred()) return NULL;
9617 } Py_INCREF(Py_None);
9618 _resultobj = Py_None;
9619 return _resultobj;
9620 }
9621
9622 #define wxMenu_DestroyId(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
9623 static PyObject *_wrap_wxMenu_DestroyId(PyObject *self, PyObject *args, PyObject *kwargs) {
9624 PyObject * _resultobj;
9625 bool _result;
9626 wxMenu * _arg0;
9627 int _arg1;
9628 PyObject * _argo0 = 0;
9629 char *_kwnames[] = { "self","id", NULL };
9630
9631 self = self;
9632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_DestroyId",_kwnames,&_argo0,&_arg1))
9633 return NULL;
9634 if (_argo0) {
9635 if (_argo0 == Py_None) { _arg0 = NULL; }
9636 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9637 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_DestroyId. Expected _wxMenu_p.");
9638 return NULL;
9639 }
9640 }
9641 {
9642 PyThreadState* __tstate = wxPyBeginAllowThreads();
9643 _result = (bool )wxMenu_DestroyId(_arg0,_arg1);
9644
9645 wxPyEndAllowThreads(__tstate);
9646 if (PyErr_Occurred()) return NULL;
9647 } _resultobj = Py_BuildValue("i",_result);
9648 return _resultobj;
9649 }
9650
9651 #define wxMenu_DestroyItem(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
9652 static PyObject *_wrap_wxMenu_DestroyItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9653 PyObject * _resultobj;
9654 bool _result;
9655 wxMenu * _arg0;
9656 wxMenuItem * _arg1;
9657 PyObject * _argo0 = 0;
9658 PyObject * _argo1 = 0;
9659 char *_kwnames[] = { "self","item", NULL };
9660
9661 self = self;
9662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_DestroyItem",_kwnames,&_argo0,&_argo1))
9663 return NULL;
9664 if (_argo0) {
9665 if (_argo0 == Py_None) { _arg0 = NULL; }
9666 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9667 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_DestroyItem. Expected _wxMenu_p.");
9668 return NULL;
9669 }
9670 }
9671 if (_argo1) {
9672 if (_argo1 == Py_None) { _arg1 = NULL; }
9673 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenuItem_p")) {
9674 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_DestroyItem. Expected _wxMenuItem_p.");
9675 return NULL;
9676 }
9677 }
9678 {
9679 PyThreadState* __tstate = wxPyBeginAllowThreads();
9680 _result = (bool )wxMenu_DestroyItem(_arg0,_arg1);
9681
9682 wxPyEndAllowThreads(__tstate);
9683 if (PyErr_Occurred()) return NULL;
9684 } _resultobj = Py_BuildValue("i",_result);
9685 return _resultobj;
9686 }
9687
9688 #define wxMenu_GetMenuItemCount(_swigobj) (_swigobj->GetMenuItemCount())
9689 static PyObject *_wrap_wxMenu_GetMenuItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9690 PyObject * _resultobj;
9691 size_t _result;
9692 wxMenu * _arg0;
9693 PyObject * _argo0 = 0;
9694 char *_kwnames[] = { "self", NULL };
9695
9696 self = self;
9697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetMenuItemCount",_kwnames,&_argo0))
9698 return NULL;
9699 if (_argo0) {
9700 if (_argo0 == Py_None) { _arg0 = NULL; }
9701 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9702 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetMenuItemCount. Expected _wxMenu_p.");
9703 return NULL;
9704 }
9705 }
9706 {
9707 PyThreadState* __tstate = wxPyBeginAllowThreads();
9708 _result = (size_t )wxMenu_GetMenuItemCount(_arg0);
9709
9710 wxPyEndAllowThreads(__tstate);
9711 if (PyErr_Occurred()) return NULL;
9712 } _resultobj = Py_BuildValue("i",_result);
9713 return _resultobj;
9714 }
9715
9716 static PyObject * wxMenu_GetMenuItems(wxMenu *self) {
9717 wxMenuItemList& list = self->GetMenuItems();
9718 return wxPy_ConvertList(&list, "wxMenuItem");
9719 }
9720 static PyObject *_wrap_wxMenu_GetMenuItems(PyObject *self, PyObject *args, PyObject *kwargs) {
9721 PyObject * _resultobj;
9722 PyObject * _result;
9723 wxMenu * _arg0;
9724 PyObject * _argo0 = 0;
9725 char *_kwnames[] = { "self", NULL };
9726
9727 self = self;
9728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetMenuItems",_kwnames,&_argo0))
9729 return NULL;
9730 if (_argo0) {
9731 if (_argo0 == Py_None) { _arg0 = NULL; }
9732 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9733 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetMenuItems. Expected _wxMenu_p.");
9734 return NULL;
9735 }
9736 }
9737 {
9738 PyThreadState* __tstate = wxPyBeginAllowThreads();
9739 _result = (PyObject *)wxMenu_GetMenuItems(_arg0);
9740
9741 wxPyEndAllowThreads(__tstate);
9742 if (PyErr_Occurred()) return NULL;
9743 }{
9744 _resultobj = _result;
9745 }
9746 return _resultobj;
9747 }
9748
9749 #define wxMenu_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
9750 static PyObject *_wrap_wxMenu_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
9751 PyObject * _resultobj;
9752 wxMenu * _arg0;
9753 wxEvtHandler * _arg1;
9754 PyObject * _argo0 = 0;
9755 PyObject * _argo1 = 0;
9756 char *_kwnames[] = { "self","handler", NULL };
9757
9758 self = self;
9759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_SetEventHandler",_kwnames,&_argo0,&_argo1))
9760 return NULL;
9761 if (_argo0) {
9762 if (_argo0 == Py_None) { _arg0 = NULL; }
9763 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9764 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetEventHandler. Expected _wxMenu_p.");
9765 return NULL;
9766 }
9767 }
9768 if (_argo1) {
9769 if (_argo1 == Py_None) { _arg1 = NULL; }
9770 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
9771 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_SetEventHandler. Expected _wxEvtHandler_p.");
9772 return NULL;
9773 }
9774 }
9775 {
9776 PyThreadState* __tstate = wxPyBeginAllowThreads();
9777 wxMenu_SetEventHandler(_arg0,_arg1);
9778
9779 wxPyEndAllowThreads(__tstate);
9780 if (PyErr_Occurred()) return NULL;
9781 } Py_INCREF(Py_None);
9782 _resultobj = Py_None;
9783 return _resultobj;
9784 }
9785
9786 #define wxMenu_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
9787 static PyObject *_wrap_wxMenu_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
9788 PyObject * _resultobj;
9789 wxEvtHandler * _result;
9790 wxMenu * _arg0;
9791 PyObject * _argo0 = 0;
9792 char *_kwnames[] = { "self", NULL };
9793
9794 self = self;
9795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetEventHandler",_kwnames,&_argo0))
9796 return NULL;
9797 if (_argo0) {
9798 if (_argo0 == Py_None) { _arg0 = NULL; }
9799 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9800 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetEventHandler. Expected _wxMenu_p.");
9801 return NULL;
9802 }
9803 }
9804 {
9805 PyThreadState* __tstate = wxPyBeginAllowThreads();
9806 _result = (wxEvtHandler *)wxMenu_GetEventHandler(_arg0);
9807
9808 wxPyEndAllowThreads(__tstate);
9809 if (PyErr_Occurred()) return NULL;
9810 }{ _resultobj = wxPyMake_wxObject(_result); }
9811 return _resultobj;
9812 }
9813
9814 #define wxMenu_SetInvokingWindow(_swigobj,_swigarg0) (_swigobj->SetInvokingWindow(_swigarg0))
9815 static PyObject *_wrap_wxMenu_SetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
9816 PyObject * _resultobj;
9817 wxMenu * _arg0;
9818 wxWindow * _arg1;
9819 PyObject * _argo0 = 0;
9820 PyObject * _argo1 = 0;
9821 char *_kwnames[] = { "self","win", NULL };
9822
9823 self = self;
9824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_SetInvokingWindow",_kwnames,&_argo0,&_argo1))
9825 return NULL;
9826 if (_argo0) {
9827 if (_argo0 == Py_None) { _arg0 = NULL; }
9828 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9829 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetInvokingWindow. Expected _wxMenu_p.");
9830 return NULL;
9831 }
9832 }
9833 if (_argo1) {
9834 if (_argo1 == Py_None) { _arg1 = NULL; }
9835 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
9836 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_SetInvokingWindow. Expected _wxWindow_p.");
9837 return NULL;
9838 }
9839 }
9840 {
9841 PyThreadState* __tstate = wxPyBeginAllowThreads();
9842 wxMenu_SetInvokingWindow(_arg0,_arg1);
9843
9844 wxPyEndAllowThreads(__tstate);
9845 if (PyErr_Occurred()) return NULL;
9846 } Py_INCREF(Py_None);
9847 _resultobj = Py_None;
9848 return _resultobj;
9849 }
9850
9851 #define wxMenu_GetInvokingWindow(_swigobj) (_swigobj->GetInvokingWindow())
9852 static PyObject *_wrap_wxMenu_GetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
9853 PyObject * _resultobj;
9854 wxWindow * _result;
9855 wxMenu * _arg0;
9856 PyObject * _argo0 = 0;
9857 char *_kwnames[] = { "self", NULL };
9858
9859 self = self;
9860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetInvokingWindow",_kwnames,&_argo0))
9861 return NULL;
9862 if (_argo0) {
9863 if (_argo0 == Py_None) { _arg0 = NULL; }
9864 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9865 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetInvokingWindow. Expected _wxMenu_p.");
9866 return NULL;
9867 }
9868 }
9869 {
9870 PyThreadState* __tstate = wxPyBeginAllowThreads();
9871 _result = (wxWindow *)wxMenu_GetInvokingWindow(_arg0);
9872
9873 wxPyEndAllowThreads(__tstate);
9874 if (PyErr_Occurred()) return NULL;
9875 }{ _resultobj = wxPyMake_wxObject(_result); }
9876 return _resultobj;
9877 }
9878
9879 #define wxMenu_GetStyle(_swigobj) (_swigobj->GetStyle())
9880 static PyObject *_wrap_wxMenu_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
9881 PyObject * _resultobj;
9882 long _result;
9883 wxMenu * _arg0;
9884 PyObject * _argo0 = 0;
9885 char *_kwnames[] = { "self", NULL };
9886
9887 self = self;
9888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetStyle",_kwnames,&_argo0))
9889 return NULL;
9890 if (_argo0) {
9891 if (_argo0 == Py_None) { _arg0 = NULL; }
9892 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9893 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetStyle. Expected _wxMenu_p.");
9894 return NULL;
9895 }
9896 }
9897 {
9898 PyThreadState* __tstate = wxPyBeginAllowThreads();
9899 _result = (long )wxMenu_GetStyle(_arg0);
9900
9901 wxPyEndAllowThreads(__tstate);
9902 if (PyErr_Occurred()) return NULL;
9903 } _resultobj = Py_BuildValue("l",_result);
9904 return _resultobj;
9905 }
9906
9907 #define wxMenu_IsAttached(_swigobj) (_swigobj->IsAttached())
9908 static PyObject *_wrap_wxMenu_IsAttached(PyObject *self, PyObject *args, PyObject *kwargs) {
9909 PyObject * _resultobj;
9910 bool _result;
9911 wxMenu * _arg0;
9912 PyObject * _argo0 = 0;
9913 char *_kwnames[] = { "self", NULL };
9914
9915 self = self;
9916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_IsAttached",_kwnames,&_argo0))
9917 return NULL;
9918 if (_argo0) {
9919 if (_argo0 == Py_None) { _arg0 = NULL; }
9920 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9921 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_IsAttached. Expected _wxMenu_p.");
9922 return NULL;
9923 }
9924 }
9925 {
9926 PyThreadState* __tstate = wxPyBeginAllowThreads();
9927 _result = (bool )wxMenu_IsAttached(_arg0);
9928
9929 wxPyEndAllowThreads(__tstate);
9930 if (PyErr_Occurred()) return NULL;
9931 } _resultobj = Py_BuildValue("i",_result);
9932 return _resultobj;
9933 }
9934
9935 #define wxMenu_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
9936 static PyObject *_wrap_wxMenu_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
9937 PyObject * _resultobj;
9938 wxMenu * _arg0;
9939 wxMenu * _arg1;
9940 PyObject * _argo0 = 0;
9941 PyObject * _argo1 = 0;
9942 char *_kwnames[] = { "self","parent", NULL };
9943
9944 self = self;
9945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_SetParent",_kwnames,&_argo0,&_argo1))
9946 return NULL;
9947 if (_argo0) {
9948 if (_argo0 == Py_None) { _arg0 = NULL; }
9949 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9950 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetParent. Expected _wxMenu_p.");
9951 return NULL;
9952 }
9953 }
9954 if (_argo1) {
9955 if (_argo1 == Py_None) { _arg1 = NULL; }
9956 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
9957 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_SetParent. Expected _wxMenu_p.");
9958 return NULL;
9959 }
9960 }
9961 {
9962 PyThreadState* __tstate = wxPyBeginAllowThreads();
9963 wxMenu_SetParent(_arg0,_arg1);
9964
9965 wxPyEndAllowThreads(__tstate);
9966 if (PyErr_Occurred()) return NULL;
9967 } Py_INCREF(Py_None);
9968 _resultobj = Py_None;
9969 return _resultobj;
9970 }
9971
9972 #define wxMenu_GetParent(_swigobj) (_swigobj->GetParent())
9973 static PyObject *_wrap_wxMenu_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
9974 PyObject * _resultobj;
9975 wxMenu * _result;
9976 wxMenu * _arg0;
9977 PyObject * _argo0 = 0;
9978 char *_kwnames[] = { "self", NULL };
9979
9980 self = self;
9981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetParent",_kwnames,&_argo0))
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 wxMenu_GetParent. Expected _wxMenu_p.");
9987 return NULL;
9988 }
9989 }
9990 {
9991 PyThreadState* __tstate = wxPyBeginAllowThreads();
9992 _result = (wxMenu *)wxMenu_GetParent(_arg0);
9993
9994 wxPyEndAllowThreads(__tstate);
9995 if (PyErr_Occurred()) return NULL;
9996 }{ _resultobj = wxPyMake_wxObject(_result); }
9997 return _resultobj;
9998 }
9999
10000 static void *SwigwxMenuBarTowxWindow(void *ptr) {
10001 wxMenuBar *src;
10002 wxWindow *dest;
10003 src = (wxMenuBar *) ptr;
10004 dest = (wxWindow *) src;
10005 return (void *) dest;
10006 }
10007
10008 static void *SwigwxMenuBarTowxEvtHandler(void *ptr) {
10009 wxMenuBar *src;
10010 wxEvtHandler *dest;
10011 src = (wxMenuBar *) ptr;
10012 dest = (wxEvtHandler *) src;
10013 return (void *) dest;
10014 }
10015
10016 static void *SwigwxMenuBarTowxObject(void *ptr) {
10017 wxMenuBar *src;
10018 wxObject *dest;
10019 src = (wxMenuBar *) ptr;
10020 dest = (wxObject *) src;
10021 return (void *) dest;
10022 }
10023
10024 #define new_wxMenuBar(_swigarg0) (new wxMenuBar(_swigarg0))
10025 static PyObject *_wrap_new_wxMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
10026 PyObject * _resultobj;
10027 wxMenuBar * _result;
10028 long _arg0 = (long ) 0;
10029 char *_kwnames[] = { "style", NULL };
10030 char _ptemp[128];
10031
10032 self = self;
10033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|l:new_wxMenuBar",_kwnames,&_arg0))
10034 return NULL;
10035 {
10036 PyThreadState* __tstate = wxPyBeginAllowThreads();
10037 _result = (wxMenuBar *)new_wxMenuBar(_arg0);
10038
10039 wxPyEndAllowThreads(__tstate);
10040 if (PyErr_Occurred()) return NULL;
10041 } if (_result) {
10042 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuBar_p");
10043 _resultobj = Py_BuildValue("s",_ptemp);
10044 } else {
10045 Py_INCREF(Py_None);
10046 _resultobj = Py_None;
10047 }
10048 return _resultobj;
10049 }
10050
10051 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
10052 static PyObject *_wrap_wxMenuBar_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
10053 PyObject * _resultobj;
10054 bool _result;
10055 wxMenuBar * _arg0;
10056 wxMenu * _arg1;
10057 wxString * _arg2;
10058 PyObject * _argo0 = 0;
10059 PyObject * _argo1 = 0;
10060 PyObject * _obj2 = 0;
10061 char *_kwnames[] = { "self","menu","title", NULL };
10062
10063 self = self;
10064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxMenuBar_Append",_kwnames,&_argo0,&_argo1,&_obj2))
10065 return NULL;
10066 if (_argo0) {
10067 if (_argo0 == Py_None) { _arg0 = NULL; }
10068 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10069 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
10070 return NULL;
10071 }
10072 }
10073 if (_argo1) {
10074 if (_argo1 == Py_None) { _arg1 = NULL; }
10075 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
10076 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
10077 return NULL;
10078 }
10079 }
10080 {
10081 _arg2 = wxString_in_helper(_obj2);
10082 if (_arg2 == NULL)
10083 return NULL;
10084 }
10085 {
10086 PyThreadState* __tstate = wxPyBeginAllowThreads();
10087 _result = (bool )wxMenuBar_Append(_arg0,_arg1,*_arg2);
10088
10089 wxPyEndAllowThreads(__tstate);
10090 if (PyErr_Occurred()) return NULL;
10091 } _resultobj = Py_BuildValue("i",_result);
10092 {
10093 if (_obj2)
10094 delete _arg2;
10095 }
10096 return _resultobj;
10097 }
10098
10099 #define wxMenuBar_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2))
10100 static PyObject *_wrap_wxMenuBar_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
10101 PyObject * _resultobj;
10102 bool _result;
10103 wxMenuBar * _arg0;
10104 size_t _arg1;
10105 wxMenu * _arg2;
10106 wxString * _arg3;
10107 PyObject * _argo0 = 0;
10108 PyObject * _argo2 = 0;
10109 PyObject * _obj3 = 0;
10110 char *_kwnames[] = { "self","pos","menu","title", NULL };
10111
10112 self = self;
10113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO:wxMenuBar_Insert",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3))
10114 return NULL;
10115 if (_argo0) {
10116 if (_argo0 == Py_None) { _arg0 = NULL; }
10117 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10118 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Insert. Expected _wxMenuBar_p.");
10119 return NULL;
10120 }
10121 }
10122 if (_argo2) {
10123 if (_argo2 == Py_None) { _arg2 = NULL; }
10124 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxMenu_p")) {
10125 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxMenuBar_Insert. Expected _wxMenu_p.");
10126 return NULL;
10127 }
10128 }
10129 {
10130 _arg3 = wxString_in_helper(_obj3);
10131 if (_arg3 == NULL)
10132 return NULL;
10133 }
10134 {
10135 PyThreadState* __tstate = wxPyBeginAllowThreads();
10136 _result = (bool )wxMenuBar_Insert(_arg0,_arg1,_arg2,*_arg3);
10137
10138 wxPyEndAllowThreads(__tstate);
10139 if (PyErr_Occurred()) return NULL;
10140 } _resultobj = Py_BuildValue("i",_result);
10141 {
10142 if (_obj3)
10143 delete _arg3;
10144 }
10145 return _resultobj;
10146 }
10147
10148 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
10149 static PyObject *_wrap_wxMenuBar_GetMenuCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10150 PyObject * _resultobj;
10151 size_t _result;
10152 wxMenuBar * _arg0;
10153 PyObject * _argo0 = 0;
10154 char *_kwnames[] = { "self", NULL };
10155
10156 self = self;
10157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuBar_GetMenuCount",_kwnames,&_argo0))
10158 return NULL;
10159 if (_argo0) {
10160 if (_argo0 == Py_None) { _arg0 = NULL; }
10161 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10162 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
10163 return NULL;
10164 }
10165 }
10166 {
10167 PyThreadState* __tstate = wxPyBeginAllowThreads();
10168 _result = (size_t )wxMenuBar_GetMenuCount(_arg0);
10169
10170 wxPyEndAllowThreads(__tstate);
10171 if (PyErr_Occurred()) return NULL;
10172 } _resultobj = Py_BuildValue("i",_result);
10173 return _resultobj;
10174 }
10175
10176 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
10177 static PyObject *_wrap_wxMenuBar_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
10178 PyObject * _resultobj;
10179 wxMenu * _result;
10180 wxMenuBar * _arg0;
10181 size_t _arg1;
10182 PyObject * _argo0 = 0;
10183 char *_kwnames[] = { "self","pos", NULL };
10184
10185 self = self;
10186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_GetMenu",_kwnames,&_argo0,&_arg1))
10187 return NULL;
10188 if (_argo0) {
10189 if (_argo0 == Py_None) { _arg0 = NULL; }
10190 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10191 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
10192 return NULL;
10193 }
10194 }
10195 {
10196 PyThreadState* __tstate = wxPyBeginAllowThreads();
10197 _result = (wxMenu *)wxMenuBar_GetMenu(_arg0,_arg1);
10198
10199 wxPyEndAllowThreads(__tstate);
10200 if (PyErr_Occurred()) return NULL;
10201 }{ _resultobj = wxPyMake_wxObject(_result); }
10202 return _resultobj;
10203 }
10204
10205 #define wxMenuBar_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
10206 static PyObject *_wrap_wxMenuBar_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
10207 PyObject * _resultobj;
10208 wxMenu * _result;
10209 wxMenuBar * _arg0;
10210 size_t _arg1;
10211 wxMenu * _arg2;
10212 wxString * _arg3;
10213 PyObject * _argo0 = 0;
10214 PyObject * _argo2 = 0;
10215 PyObject * _obj3 = 0;
10216 char *_kwnames[] = { "self","pos","menu","title", NULL };
10217
10218 self = self;
10219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO:wxMenuBar_Replace",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3))
10220 return NULL;
10221 if (_argo0) {
10222 if (_argo0 == Py_None) { _arg0 = NULL; }
10223 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10224 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Replace. Expected _wxMenuBar_p.");
10225 return NULL;
10226 }
10227 }
10228 if (_argo2) {
10229 if (_argo2 == Py_None) { _arg2 = NULL; }
10230 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxMenu_p")) {
10231 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxMenuBar_Replace. Expected _wxMenu_p.");
10232 return NULL;
10233 }
10234 }
10235 {
10236 _arg3 = wxString_in_helper(_obj3);
10237 if (_arg3 == NULL)
10238 return NULL;
10239 }
10240 {
10241 PyThreadState* __tstate = wxPyBeginAllowThreads();
10242 _result = (wxMenu *)wxMenuBar_Replace(_arg0,_arg1,_arg2,*_arg3);
10243
10244 wxPyEndAllowThreads(__tstate);
10245 if (PyErr_Occurred()) return NULL;
10246 }{ _resultobj = wxPyMake_wxObject(_result); }
10247 {
10248 if (_obj3)
10249 delete _arg3;
10250 }
10251 return _resultobj;
10252 }
10253
10254 #define wxMenuBar_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
10255 static PyObject *_wrap_wxMenuBar_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
10256 PyObject * _resultobj;
10257 wxMenu * _result;
10258 wxMenuBar * _arg0;
10259 size_t _arg1;
10260 PyObject * _argo0 = 0;
10261 char *_kwnames[] = { "self","pos", NULL };
10262
10263 self = self;
10264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_Remove",_kwnames,&_argo0,&_arg1))
10265 return NULL;
10266 if (_argo0) {
10267 if (_argo0 == Py_None) { _arg0 = NULL; }
10268 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10269 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Remove. Expected _wxMenuBar_p.");
10270 return NULL;
10271 }
10272 }
10273 {
10274 PyThreadState* __tstate = wxPyBeginAllowThreads();
10275 _result = (wxMenu *)wxMenuBar_Remove(_arg0,_arg1);
10276
10277 wxPyEndAllowThreads(__tstate);
10278 if (PyErr_Occurred()) return NULL;
10279 }{ _resultobj = wxPyMake_wxObject(_result); }
10280 return _resultobj;
10281 }
10282
10283 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
10284 static PyObject *_wrap_wxMenuBar_EnableTop(PyObject *self, PyObject *args, PyObject *kwargs) {
10285 PyObject * _resultobj;
10286 wxMenuBar * _arg0;
10287 size_t _arg1;
10288 bool _arg2;
10289 PyObject * _argo0 = 0;
10290 int tempbool2;
10291 char *_kwnames[] = { "self","pos","enable", NULL };
10292
10293 self = self;
10294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxMenuBar_EnableTop",_kwnames,&_argo0,&_arg1,&tempbool2))
10295 return NULL;
10296 if (_argo0) {
10297 if (_argo0 == Py_None) { _arg0 = NULL; }
10298 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10299 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
10300 return NULL;
10301 }
10302 }
10303 _arg2 = (bool ) tempbool2;
10304 {
10305 PyThreadState* __tstate = wxPyBeginAllowThreads();
10306 wxMenuBar_EnableTop(_arg0,_arg1,_arg2);
10307
10308 wxPyEndAllowThreads(__tstate);
10309 if (PyErr_Occurred()) return NULL;
10310 } Py_INCREF(Py_None);
10311 _resultobj = Py_None;
10312 return _resultobj;
10313 }
10314
10315 #define wxMenuBar_IsEnabledTop(_swigobj,_swigarg0) (_swigobj->IsEnabledTop(_swigarg0))
10316 static PyObject *_wrap_wxMenuBar_IsEnabledTop(PyObject *self, PyObject *args, PyObject *kwargs) {
10317 PyObject * _resultobj;
10318 bool _result;
10319 wxMenuBar * _arg0;
10320 size_t _arg1;
10321 PyObject * _argo0 = 0;
10322 char *_kwnames[] = { "self","pos", NULL };
10323
10324 self = self;
10325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_IsEnabledTop",_kwnames,&_argo0,&_arg1))
10326 return NULL;
10327 if (_argo0) {
10328 if (_argo0 == Py_None) { _arg0 = NULL; }
10329 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10330 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_IsEnabledTop. Expected _wxMenuBar_p.");
10331 return NULL;
10332 }
10333 }
10334 {
10335 PyThreadState* __tstate = wxPyBeginAllowThreads();
10336 _result = (bool )wxMenuBar_IsEnabledTop(_arg0,_arg1);
10337
10338 wxPyEndAllowThreads(__tstate);
10339 if (PyErr_Occurred()) return NULL;
10340 } _resultobj = Py_BuildValue("i",_result);
10341 return _resultobj;
10342 }
10343
10344 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
10345 static PyObject *_wrap_wxMenuBar_SetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
10346 PyObject * _resultobj;
10347 wxMenuBar * _arg0;
10348 size_t _arg1;
10349 wxString * _arg2;
10350 PyObject * _argo0 = 0;
10351 PyObject * _obj2 = 0;
10352 char *_kwnames[] = { "self","pos","label", NULL };
10353
10354 self = self;
10355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenuBar_SetLabelTop",_kwnames,&_argo0,&_arg1,&_obj2))
10356 return NULL;
10357 if (_argo0) {
10358 if (_argo0 == Py_None) { _arg0 = NULL; }
10359 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10360 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
10361 return NULL;
10362 }
10363 }
10364 {
10365 _arg2 = wxString_in_helper(_obj2);
10366 if (_arg2 == NULL)
10367 return NULL;
10368 }
10369 {
10370 PyThreadState* __tstate = wxPyBeginAllowThreads();
10371 wxMenuBar_SetLabelTop(_arg0,_arg1,*_arg2);
10372
10373 wxPyEndAllowThreads(__tstate);
10374 if (PyErr_Occurred()) return NULL;
10375 } Py_INCREF(Py_None);
10376 _resultobj = Py_None;
10377 {
10378 if (_obj2)
10379 delete _arg2;
10380 }
10381 return _resultobj;
10382 }
10383
10384 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
10385 static PyObject *_wrap_wxMenuBar_GetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
10386 PyObject * _resultobj;
10387 wxString * _result;
10388 wxMenuBar * _arg0;
10389 size_t _arg1;
10390 PyObject * _argo0 = 0;
10391 char *_kwnames[] = { "self","pos", NULL };
10392
10393 self = self;
10394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_GetLabelTop",_kwnames,&_argo0,&_arg1))
10395 return NULL;
10396 if (_argo0) {
10397 if (_argo0 == Py_None) { _arg0 = NULL; }
10398 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10399 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
10400 return NULL;
10401 }
10402 }
10403 {
10404 PyThreadState* __tstate = wxPyBeginAllowThreads();
10405 _result = new wxString (wxMenuBar_GetLabelTop(_arg0,_arg1));
10406
10407 wxPyEndAllowThreads(__tstate);
10408 if (PyErr_Occurred()) return NULL;
10409 }{
10410 #if wxUSE_UNICODE
10411 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
10412 #else
10413 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
10414 #endif
10415 }
10416 {
10417 delete _result;
10418 }
10419 return _resultobj;
10420 }
10421
10422 #define wxMenuBar_FindMenu(_swigobj,_swigarg0) (_swigobj->FindMenu(_swigarg0))
10423 static PyObject *_wrap_wxMenuBar_FindMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
10424 PyObject * _resultobj;
10425 int _result;
10426 wxMenuBar * _arg0;
10427 wxString * _arg1;
10428 PyObject * _argo0 = 0;
10429 PyObject * _obj1 = 0;
10430 char *_kwnames[] = { "self","title", NULL };
10431
10432 self = self;
10433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuBar_FindMenu",_kwnames,&_argo0,&_obj1))
10434 return NULL;
10435 if (_argo0) {
10436 if (_argo0 == Py_None) { _arg0 = NULL; }
10437 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10438 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_FindMenu. Expected _wxMenuBar_p.");
10439 return NULL;
10440 }
10441 }
10442 {
10443 _arg1 = wxString_in_helper(_obj1);
10444 if (_arg1 == NULL)
10445 return NULL;
10446 }
10447 {
10448 PyThreadState* __tstate = wxPyBeginAllowThreads();
10449 _result = (int )wxMenuBar_FindMenu(_arg0,*_arg1);
10450
10451 wxPyEndAllowThreads(__tstate);
10452 if (PyErr_Occurred()) return NULL;
10453 } _resultobj = Py_BuildValue("i",_result);
10454 {
10455 if (_obj1)
10456 delete _arg1;
10457 }
10458 return _resultobj;
10459 }
10460
10461 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
10462 static PyObject *_wrap_wxMenuBar_FindMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
10463 PyObject * _resultobj;
10464 int _result;
10465 wxMenuBar * _arg0;
10466 wxString * _arg1;
10467 wxString * _arg2;
10468 PyObject * _argo0 = 0;
10469 PyObject * _obj1 = 0;
10470 PyObject * _obj2 = 0;
10471 char *_kwnames[] = { "self","menuString","itemString", NULL };
10472
10473 self = self;
10474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxMenuBar_FindMenuItem",_kwnames,&_argo0,&_obj1,&_obj2))
10475 return NULL;
10476 if (_argo0) {
10477 if (_argo0 == Py_None) { _arg0 = NULL; }
10478 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10479 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
10480 return NULL;
10481 }
10482 }
10483 {
10484 _arg1 = wxString_in_helper(_obj1);
10485 if (_arg1 == NULL)
10486 return NULL;
10487 }
10488 {
10489 _arg2 = wxString_in_helper(_obj2);
10490 if (_arg2 == NULL)
10491 return NULL;
10492 }
10493 {
10494 PyThreadState* __tstate = wxPyBeginAllowThreads();
10495 _result = (int )wxMenuBar_FindMenuItem(_arg0,*_arg1,*_arg2);
10496
10497 wxPyEndAllowThreads(__tstate);
10498 if (PyErr_Occurred()) return NULL;
10499 } _resultobj = Py_BuildValue("i",_result);
10500 {
10501 if (_obj1)
10502 delete _arg1;
10503 }
10504 {
10505 if (_obj2)
10506 delete _arg2;
10507 }
10508 return _resultobj;
10509 }
10510
10511 #define wxMenuBar_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
10512 static PyObject *_wrap_wxMenuBar_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
10513 PyObject * _resultobj;
10514 wxMenuItem * _result;
10515 wxMenuBar * _arg0;
10516 int _arg1;
10517 PyObject * _argo0 = 0;
10518 char *_kwnames[] = { "self","id", NULL };
10519
10520 self = self;
10521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_FindItemById",_kwnames,&_argo0,&_arg1))
10522 return NULL;
10523 if (_argo0) {
10524 if (_argo0 == Py_None) { _arg0 = NULL; }
10525 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10526 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_FindItemById. Expected _wxMenuBar_p.");
10527 return NULL;
10528 }
10529 }
10530 {
10531 PyThreadState* __tstate = wxPyBeginAllowThreads();
10532 _result = (wxMenuItem *)wxMenuBar_FindItemById(_arg0,_arg1);
10533
10534 wxPyEndAllowThreads(__tstate);
10535 if (PyErr_Occurred()) return NULL;
10536 }{ _resultobj = wxPyMake_wxObject(_result); }
10537 return _resultobj;
10538 }
10539
10540 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
10541 static PyObject *_wrap_wxMenuBar_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
10542 PyObject * _resultobj;
10543 wxMenuBar * _arg0;
10544 int _arg1;
10545 bool _arg2;
10546 PyObject * _argo0 = 0;
10547 int tempbool2;
10548 char *_kwnames[] = { "self","id","enable", NULL };
10549
10550 self = self;
10551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxMenuBar_Enable",_kwnames,&_argo0,&_arg1,&tempbool2))
10552 return NULL;
10553 if (_argo0) {
10554 if (_argo0 == Py_None) { _arg0 = NULL; }
10555 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10556 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
10557 return NULL;
10558 }
10559 }
10560 _arg2 = (bool ) tempbool2;
10561 {
10562 PyThreadState* __tstate = wxPyBeginAllowThreads();
10563 wxMenuBar_Enable(_arg0,_arg1,_arg2);
10564
10565 wxPyEndAllowThreads(__tstate);
10566 if (PyErr_Occurred()) return NULL;
10567 } Py_INCREF(Py_None);
10568 _resultobj = Py_None;
10569 return _resultobj;
10570 }
10571
10572 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
10573 static PyObject *_wrap_wxMenuBar_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
10574 PyObject * _resultobj;
10575 wxMenuBar * _arg0;
10576 int _arg1;
10577 bool _arg2;
10578 PyObject * _argo0 = 0;
10579 int tempbool2;
10580 char *_kwnames[] = { "self","id","check", NULL };
10581
10582 self = self;
10583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxMenuBar_Check",_kwnames,&_argo0,&_arg1,&tempbool2))
10584 return NULL;
10585 if (_argo0) {
10586 if (_argo0 == Py_None) { _arg0 = NULL; }
10587 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10588 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
10589 return NULL;
10590 }
10591 }
10592 _arg2 = (bool ) tempbool2;
10593 {
10594 PyThreadState* __tstate = wxPyBeginAllowThreads();
10595 wxMenuBar_Check(_arg0,_arg1,_arg2);
10596
10597 wxPyEndAllowThreads(__tstate);
10598 if (PyErr_Occurred()) return NULL;
10599 } Py_INCREF(Py_None);
10600 _resultobj = Py_None;
10601 return _resultobj;
10602 }
10603
10604 #define wxMenuBar_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
10605 static PyObject *_wrap_wxMenuBar_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
10606 PyObject * _resultobj;
10607 bool _result;
10608 wxMenuBar * _arg0;
10609 int _arg1;
10610 PyObject * _argo0 = 0;
10611 char *_kwnames[] = { "self","id", NULL };
10612
10613 self = self;
10614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_IsChecked",_kwnames,&_argo0,&_arg1))
10615 return NULL;
10616 if (_argo0) {
10617 if (_argo0 == Py_None) { _arg0 = NULL; }
10618 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10619 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_IsChecked. Expected _wxMenuBar_p.");
10620 return NULL;
10621 }
10622 }
10623 {
10624 PyThreadState* __tstate = wxPyBeginAllowThreads();
10625 _result = (bool )wxMenuBar_IsChecked(_arg0,_arg1);
10626
10627 wxPyEndAllowThreads(__tstate);
10628 if (PyErr_Occurred()) return NULL;
10629 } _resultobj = Py_BuildValue("i",_result);
10630 return _resultobj;
10631 }
10632
10633 #define wxMenuBar_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
10634 static PyObject *_wrap_wxMenuBar_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
10635 PyObject * _resultobj;
10636 bool _result;
10637 wxMenuBar * _arg0;
10638 int _arg1;
10639 PyObject * _argo0 = 0;
10640 char *_kwnames[] = { "self","id", NULL };
10641
10642 self = self;
10643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_IsEnabled",_kwnames,&_argo0,&_arg1))
10644 return NULL;
10645 if (_argo0) {
10646 if (_argo0 == Py_None) { _arg0 = NULL; }
10647 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10648 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_IsEnabled. Expected _wxMenuBar_p.");
10649 return NULL;
10650 }
10651 }
10652 {
10653 PyThreadState* __tstate = wxPyBeginAllowThreads();
10654 _result = (bool )wxMenuBar_IsEnabled(_arg0,_arg1);
10655
10656 wxPyEndAllowThreads(__tstate);
10657 if (PyErr_Occurred()) return NULL;
10658 } _resultobj = Py_BuildValue("i",_result);
10659 return _resultobj;
10660 }
10661
10662 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
10663 static PyObject *_wrap_wxMenuBar_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
10664 PyObject * _resultobj;
10665 wxMenuBar * _arg0;
10666 int _arg1;
10667 wxString * _arg2;
10668 PyObject * _argo0 = 0;
10669 PyObject * _obj2 = 0;
10670 char *_kwnames[] = { "self","id","label", NULL };
10671
10672 self = self;
10673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenuBar_SetLabel",_kwnames,&_argo0,&_arg1,&_obj2))
10674 return NULL;
10675 if (_argo0) {
10676 if (_argo0 == Py_None) { _arg0 = NULL; }
10677 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10678 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
10679 return NULL;
10680 }
10681 }
10682 {
10683 _arg2 = wxString_in_helper(_obj2);
10684 if (_arg2 == NULL)
10685 return NULL;
10686 }
10687 {
10688 PyThreadState* __tstate = wxPyBeginAllowThreads();
10689 wxMenuBar_SetLabel(_arg0,_arg1,*_arg2);
10690
10691 wxPyEndAllowThreads(__tstate);
10692 if (PyErr_Occurred()) return NULL;
10693 } Py_INCREF(Py_None);
10694 _resultobj = Py_None;
10695 {
10696 if (_obj2)
10697 delete _arg2;
10698 }
10699 return _resultobj;
10700 }
10701
10702 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
10703 static PyObject *_wrap_wxMenuBar_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
10704 PyObject * _resultobj;
10705 wxString * _result;
10706 wxMenuBar * _arg0;
10707 int _arg1;
10708 PyObject * _argo0 = 0;
10709 char *_kwnames[] = { "self","id", NULL };
10710
10711 self = self;
10712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_GetLabel",_kwnames,&_argo0,&_arg1))
10713 return NULL;
10714 if (_argo0) {
10715 if (_argo0 == Py_None) { _arg0 = NULL; }
10716 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10717 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
10718 return NULL;
10719 }
10720 }
10721 {
10722 PyThreadState* __tstate = wxPyBeginAllowThreads();
10723 _result = new wxString (wxMenuBar_GetLabel(_arg0,_arg1));
10724
10725 wxPyEndAllowThreads(__tstate);
10726 if (PyErr_Occurred()) return NULL;
10727 }{
10728 #if wxUSE_UNICODE
10729 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
10730 #else
10731 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
10732 #endif
10733 }
10734 {
10735 delete _result;
10736 }
10737 return _resultobj;
10738 }
10739
10740 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
10741 static PyObject *_wrap_wxMenuBar_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
10742 PyObject * _resultobj;
10743 wxMenuBar * _arg0;
10744 int _arg1;
10745 wxString * _arg2;
10746 PyObject * _argo0 = 0;
10747 PyObject * _obj2 = 0;
10748 char *_kwnames[] = { "self","id","helpString", NULL };
10749
10750 self = self;
10751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenuBar_SetHelpString",_kwnames,&_argo0,&_arg1,&_obj2))
10752 return NULL;
10753 if (_argo0) {
10754 if (_argo0 == Py_None) { _arg0 = NULL; }
10755 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10756 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
10757 return NULL;
10758 }
10759 }
10760 {
10761 _arg2 = wxString_in_helper(_obj2);
10762 if (_arg2 == NULL)
10763 return NULL;
10764 }
10765 {
10766 PyThreadState* __tstate = wxPyBeginAllowThreads();
10767 wxMenuBar_SetHelpString(_arg0,_arg1,*_arg2);
10768
10769 wxPyEndAllowThreads(__tstate);
10770 if (PyErr_Occurred()) return NULL;
10771 } Py_INCREF(Py_None);
10772 _resultobj = Py_None;
10773 {
10774 if (_obj2)
10775 delete _arg2;
10776 }
10777 return _resultobj;
10778 }
10779
10780 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
10781 static PyObject *_wrap_wxMenuBar_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
10782 PyObject * _resultobj;
10783 wxString * _result;
10784 wxMenuBar * _arg0;
10785 int _arg1;
10786 PyObject * _argo0 = 0;
10787 char *_kwnames[] = { "self","id", NULL };
10788
10789 self = self;
10790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_GetHelpString",_kwnames,&_argo0,&_arg1))
10791 return NULL;
10792 if (_argo0) {
10793 if (_argo0 == Py_None) { _arg0 = NULL; }
10794 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10795 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
10796 return NULL;
10797 }
10798 }
10799 {
10800 PyThreadState* __tstate = wxPyBeginAllowThreads();
10801 _result = new wxString (wxMenuBar_GetHelpString(_arg0,_arg1));
10802
10803 wxPyEndAllowThreads(__tstate);
10804 if (PyErr_Occurred()) return NULL;
10805 }{
10806 #if wxUSE_UNICODE
10807 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
10808 #else
10809 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
10810 #endif
10811 }
10812 {
10813 delete _result;
10814 }
10815 return _resultobj;
10816 }
10817
10818 static void *SwigwxMenuItemTowxObject(void *ptr) {
10819 wxMenuItem *src;
10820 wxObject *dest;
10821 src = (wxMenuItem *) ptr;
10822 dest = (wxObject *) src;
10823 return (void *) dest;
10824 }
10825
10826 #define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
10827 static PyObject *_wrap_new_wxMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
10828 PyObject * _resultobj;
10829 wxMenuItem * _result;
10830 wxMenu * _arg0 = (wxMenu *) NULL;
10831 int _arg1 = (int ) wxID_SEPARATOR;
10832 wxString * _arg2 = (wxString *) &wxPyEmptyString;
10833 wxString * _arg3 = (wxString *) &wxPyEmptyString;
10834 wxItemKind _arg4 = (wxItemKind ) wxITEM_NORMAL;
10835 wxMenu * _arg5 = (wxMenu *) NULL;
10836 PyObject * _argo0 = 0;
10837 PyObject * _obj2 = 0;
10838 PyObject * _obj3 = 0;
10839 PyObject * _argo5 = 0;
10840 char *_kwnames[] = { "parentMenu","id","text","help","kind","subMenu", NULL };
10841 char _ptemp[128];
10842
10843 self = self;
10844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OiOOiO:new_wxMenuItem",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5))
10845 return NULL;
10846 if (_argo0) {
10847 if (_argo0 == Py_None) { _arg0 = NULL; }
10848 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
10849 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
10850 return NULL;
10851 }
10852 }
10853 if (_obj2)
10854 {
10855 _arg2 = wxString_in_helper(_obj2);
10856 if (_arg2 == NULL)
10857 return NULL;
10858 }
10859 if (_obj3)
10860 {
10861 _arg3 = wxString_in_helper(_obj3);
10862 if (_arg3 == NULL)
10863 return NULL;
10864 }
10865 if (_argo5) {
10866 if (_argo5 == Py_None) { _arg5 = NULL; }
10867 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxMenu_p")) {
10868 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
10869 return NULL;
10870 }
10871 }
10872 {
10873 PyThreadState* __tstate = wxPyBeginAllowThreads();
10874 _result = (wxMenuItem *)new_wxMenuItem(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
10875
10876 wxPyEndAllowThreads(__tstate);
10877 if (PyErr_Occurred()) return NULL;
10878 } if (_result) {
10879 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuItem_p");
10880 _resultobj = Py_BuildValue("s",_ptemp);
10881 } else {
10882 Py_INCREF(Py_None);
10883 _resultobj = Py_None;
10884 }
10885 {
10886 if (_obj2)
10887 delete _arg2;
10888 }
10889 {
10890 if (_obj3)
10891 delete _arg3;
10892 }
10893 return _resultobj;
10894 }
10895
10896 #define wxMenuItem_GetMenu(_swigobj) (_swigobj->GetMenu())
10897 static PyObject *_wrap_wxMenuItem_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
10898 PyObject * _resultobj;
10899 wxMenu * _result;
10900 wxMenuItem * _arg0;
10901 PyObject * _argo0 = 0;
10902 char *_kwnames[] = { "self", NULL };
10903
10904 self = self;
10905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetMenu",_kwnames,&_argo0))
10906 return NULL;
10907 if (_argo0) {
10908 if (_argo0 == Py_None) { _arg0 = NULL; }
10909 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
10910 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetMenu. Expected _wxMenuItem_p.");
10911 return NULL;
10912 }
10913 }
10914 {
10915 PyThreadState* __tstate = wxPyBeginAllowThreads();
10916 _result = (wxMenu *)wxMenuItem_GetMenu(_arg0);
10917
10918 wxPyEndAllowThreads(__tstate);
10919 if (PyErr_Occurred()) return NULL;
10920 }{ _resultobj = wxPyMake_wxObject(_result); }
10921 return _resultobj;
10922 }
10923
10924 #define wxMenuItem_SetMenu(_swigobj,_swigarg0) (_swigobj->SetMenu(_swigarg0))
10925 static PyObject *_wrap_wxMenuItem_SetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
10926 PyObject * _resultobj;
10927 wxMenuItem * _arg0;
10928 wxMenu * _arg1;
10929 PyObject * _argo0 = 0;
10930 PyObject * _argo1 = 0;
10931 char *_kwnames[] = { "self","menu", NULL };
10932
10933 self = self;
10934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetMenu",_kwnames,&_argo0,&_argo1))
10935 return NULL;
10936 if (_argo0) {
10937 if (_argo0 == Py_None) { _arg0 = NULL; }
10938 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
10939 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetMenu. Expected _wxMenuItem_p.");
10940 return NULL;
10941 }
10942 }
10943 if (_argo1) {
10944 if (_argo1 == Py_None) { _arg1 = NULL; }
10945 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
10946 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenuItem_SetMenu. Expected _wxMenu_p.");
10947 return NULL;
10948 }
10949 }
10950 {
10951 PyThreadState* __tstate = wxPyBeginAllowThreads();
10952 wxMenuItem_SetMenu(_arg0,_arg1);
10953
10954 wxPyEndAllowThreads(__tstate);
10955 if (PyErr_Occurred()) return NULL;
10956 } Py_INCREF(Py_None);
10957 _resultobj = Py_None;
10958 return _resultobj;
10959 }
10960
10961 #define wxMenuItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
10962 static PyObject *_wrap_wxMenuItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
10963 PyObject * _resultobj;
10964 wxMenuItem * _arg0;
10965 int _arg1;
10966 PyObject * _argo0 = 0;
10967 char *_kwnames[] = { "self","id", NULL };
10968
10969 self = self;
10970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuItem_SetId",_kwnames,&_argo0,&_arg1))
10971 return NULL;
10972 if (_argo0) {
10973 if (_argo0 == Py_None) { _arg0 = NULL; }
10974 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
10975 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetId. Expected _wxMenuItem_p.");
10976 return NULL;
10977 }
10978 }
10979 {
10980 PyThreadState* __tstate = wxPyBeginAllowThreads();
10981 wxMenuItem_SetId(_arg0,_arg1);
10982
10983 wxPyEndAllowThreads(__tstate);
10984 if (PyErr_Occurred()) return NULL;
10985 } Py_INCREF(Py_None);
10986 _resultobj = Py_None;
10987 return _resultobj;
10988 }
10989
10990 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
10991 static PyObject *_wrap_wxMenuItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
10992 PyObject * _resultobj;
10993 int _result;
10994 wxMenuItem * _arg0;
10995 PyObject * _argo0 = 0;
10996 char *_kwnames[] = { "self", NULL };
10997
10998 self = self;
10999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetId",_kwnames,&_argo0))
11000 return NULL;
11001 if (_argo0) {
11002 if (_argo0 == Py_None) { _arg0 = NULL; }
11003 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11004 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
11005 return NULL;
11006 }
11007 }
11008 {
11009 PyThreadState* __tstate = wxPyBeginAllowThreads();
11010 _result = (int )wxMenuItem_GetId(_arg0);
11011
11012 wxPyEndAllowThreads(__tstate);
11013 if (PyErr_Occurred()) return NULL;
11014 } _resultobj = Py_BuildValue("i",_result);
11015 return _resultobj;
11016 }
11017
11018 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
11019 static PyObject *_wrap_wxMenuItem_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
11020 PyObject * _resultobj;
11021 bool _result;
11022 wxMenuItem * _arg0;
11023 PyObject * _argo0 = 0;
11024 char *_kwnames[] = { "self", NULL };
11025
11026 self = self;
11027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsSeparator",_kwnames,&_argo0))
11028 return NULL;
11029 if (_argo0) {
11030 if (_argo0 == Py_None) { _arg0 = NULL; }
11031 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11032 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
11033 return NULL;
11034 }
11035 }
11036 {
11037 PyThreadState* __tstate = wxPyBeginAllowThreads();
11038 _result = (bool )wxMenuItem_IsSeparator(_arg0);
11039
11040 wxPyEndAllowThreads(__tstate);
11041 if (PyErr_Occurred()) return NULL;
11042 } _resultobj = Py_BuildValue("i",_result);
11043 return _resultobj;
11044 }
11045
11046 #define wxMenuItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
11047 static PyObject *_wrap_wxMenuItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
11048 PyObject * _resultobj;
11049 wxMenuItem * _arg0;
11050 wxString * _arg1;
11051 PyObject * _argo0 = 0;
11052 PyObject * _obj1 = 0;
11053 char *_kwnames[] = { "self","str", NULL };
11054
11055 self = self;
11056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetText",_kwnames,&_argo0,&_obj1))
11057 return NULL;
11058 if (_argo0) {
11059 if (_argo0 == Py_None) { _arg0 = NULL; }
11060 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11061 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetText. Expected _wxMenuItem_p.");
11062 return NULL;
11063 }
11064 }
11065 {
11066 _arg1 = wxString_in_helper(_obj1);
11067 if (_arg1 == NULL)
11068 return NULL;
11069 }
11070 {
11071 PyThreadState* __tstate = wxPyBeginAllowThreads();
11072 wxMenuItem_SetText(_arg0,*_arg1);
11073
11074 wxPyEndAllowThreads(__tstate);
11075 if (PyErr_Occurred()) return NULL;
11076 } Py_INCREF(Py_None);
11077 _resultobj = Py_None;
11078 {
11079 if (_obj1)
11080 delete _arg1;
11081 }
11082 return _resultobj;
11083 }
11084
11085 #define wxMenuItem_GetLabel(_swigobj) (_swigobj->GetLabel())
11086 static PyObject *_wrap_wxMenuItem_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
11087 PyObject * _resultobj;
11088 wxString * _result;
11089 wxMenuItem * _arg0;
11090 PyObject * _argo0 = 0;
11091 char *_kwnames[] = { "self", NULL };
11092
11093 self = self;
11094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetLabel",_kwnames,&_argo0))
11095 return NULL;
11096 if (_argo0) {
11097 if (_argo0 == Py_None) { _arg0 = NULL; }
11098 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11099 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetLabel. Expected _wxMenuItem_p.");
11100 return NULL;
11101 }
11102 }
11103 {
11104 PyThreadState* __tstate = wxPyBeginAllowThreads();
11105 _result = new wxString (wxMenuItem_GetLabel(_arg0));
11106
11107 wxPyEndAllowThreads(__tstate);
11108 if (PyErr_Occurred()) return NULL;
11109 }{
11110 #if wxUSE_UNICODE
11111 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
11112 #else
11113 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
11114 #endif
11115 }
11116 {
11117 delete _result;
11118 }
11119 return _resultobj;
11120 }
11121
11122 #define wxMenuItem_GetText(_swigobj) (_swigobj->GetText())
11123 static PyObject *_wrap_wxMenuItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
11124 PyObject * _resultobj;
11125 wxString * _result;
11126 wxMenuItem * _arg0;
11127 PyObject * _argo0 = 0;
11128 char *_kwnames[] = { "self", NULL };
11129
11130 self = self;
11131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetText",_kwnames,&_argo0))
11132 return NULL;
11133 if (_argo0) {
11134 if (_argo0 == Py_None) { _arg0 = NULL; }
11135 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11136 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetText. Expected _wxMenuItem_p.");
11137 return NULL;
11138 }
11139 }
11140 {
11141 PyThreadState* __tstate = wxPyBeginAllowThreads();
11142 const wxString & _result_ref = wxMenuItem_GetText(_arg0);
11143 _result = (wxString *) &_result_ref;
11144
11145 wxPyEndAllowThreads(__tstate);
11146 if (PyErr_Occurred()) return NULL;
11147 }{
11148 #if wxUSE_UNICODE
11149 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
11150 #else
11151 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
11152 #endif
11153 }
11154 return _resultobj;
11155 }
11156
11157 #define wxMenuItem_GetKind(_swigobj) (_swigobj->GetKind())
11158 static PyObject *_wrap_wxMenuItem_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
11159 PyObject * _resultobj;
11160 wxItemKind _result;
11161 wxMenuItem * _arg0;
11162 PyObject * _argo0 = 0;
11163 char *_kwnames[] = { "self", NULL };
11164
11165 self = self;
11166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetKind",_kwnames,&_argo0))
11167 return NULL;
11168 if (_argo0) {
11169 if (_argo0 == Py_None) { _arg0 = NULL; }
11170 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11171 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetKind. Expected _wxMenuItem_p.");
11172 return NULL;
11173 }
11174 }
11175 {
11176 PyThreadState* __tstate = wxPyBeginAllowThreads();
11177 _result = (wxItemKind )wxMenuItem_GetKind(_arg0);
11178
11179 wxPyEndAllowThreads(__tstate);
11180 if (PyErr_Occurred()) return NULL;
11181 } _resultobj = Py_BuildValue("i",_result);
11182 return _resultobj;
11183 }
11184
11185 #define wxMenuItem_SetCheckable(_swigobj,_swigarg0) (_swigobj->SetCheckable(_swigarg0))
11186 static PyObject *_wrap_wxMenuItem_SetCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
11187 PyObject * _resultobj;
11188 wxMenuItem * _arg0;
11189 bool _arg1;
11190 PyObject * _argo0 = 0;
11191 int tempbool1;
11192 char *_kwnames[] = { "self","checkable", NULL };
11193
11194 self = self;
11195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuItem_SetCheckable",_kwnames,&_argo0,&tempbool1))
11196 return NULL;
11197 if (_argo0) {
11198 if (_argo0 == Py_None) { _arg0 = NULL; }
11199 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11200 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetCheckable. Expected _wxMenuItem_p.");
11201 return NULL;
11202 }
11203 }
11204 _arg1 = (bool ) tempbool1;
11205 {
11206 PyThreadState* __tstate = wxPyBeginAllowThreads();
11207 wxMenuItem_SetCheckable(_arg0,_arg1);
11208
11209 wxPyEndAllowThreads(__tstate);
11210 if (PyErr_Occurred()) return NULL;
11211 } Py_INCREF(Py_None);
11212 _resultobj = Py_None;
11213 return _resultobj;
11214 }
11215
11216 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
11217 static PyObject *_wrap_wxMenuItem_IsCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
11218 PyObject * _resultobj;
11219 bool _result;
11220 wxMenuItem * _arg0;
11221 PyObject * _argo0 = 0;
11222 char *_kwnames[] = { "self", NULL };
11223
11224 self = self;
11225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsCheckable",_kwnames,&_argo0))
11226 return NULL;
11227 if (_argo0) {
11228 if (_argo0 == Py_None) { _arg0 = NULL; }
11229 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11230 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
11231 return NULL;
11232 }
11233 }
11234 {
11235 PyThreadState* __tstate = wxPyBeginAllowThreads();
11236 _result = (bool )wxMenuItem_IsCheckable(_arg0);
11237
11238 wxPyEndAllowThreads(__tstate);
11239 if (PyErr_Occurred()) return NULL;
11240 } _resultobj = Py_BuildValue("i",_result);
11241 return _resultobj;
11242 }
11243
11244 #define wxMenuItem_IsSubMenu(_swigobj) (_swigobj->IsSubMenu())
11245 static PyObject *_wrap_wxMenuItem_IsSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
11246 PyObject * _resultobj;
11247 bool _result;
11248 wxMenuItem * _arg0;
11249 PyObject * _argo0 = 0;
11250 char *_kwnames[] = { "self", NULL };
11251
11252 self = self;
11253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsSubMenu",_kwnames,&_argo0))
11254 return NULL;
11255 if (_argo0) {
11256 if (_argo0 == Py_None) { _arg0 = NULL; }
11257 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11258 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsSubMenu. Expected _wxMenuItem_p.");
11259 return NULL;
11260 }
11261 }
11262 {
11263 PyThreadState* __tstate = wxPyBeginAllowThreads();
11264 _result = (bool )wxMenuItem_IsSubMenu(_arg0);
11265
11266 wxPyEndAllowThreads(__tstate);
11267 if (PyErr_Occurred()) return NULL;
11268 } _resultobj = Py_BuildValue("i",_result);
11269 return _resultobj;
11270 }
11271
11272 #define wxMenuItem_SetSubMenu(_swigobj,_swigarg0) (_swigobj->SetSubMenu(_swigarg0))
11273 static PyObject *_wrap_wxMenuItem_SetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
11274 PyObject * _resultobj;
11275 wxMenuItem * _arg0;
11276 wxMenu * _arg1;
11277 PyObject * _argo0 = 0;
11278 PyObject * _argo1 = 0;
11279 char *_kwnames[] = { "self","menu", NULL };
11280
11281 self = self;
11282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetSubMenu",_kwnames,&_argo0,&_argo1))
11283 return NULL;
11284 if (_argo0) {
11285 if (_argo0 == Py_None) { _arg0 = NULL; }
11286 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11287 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetSubMenu. Expected _wxMenuItem_p.");
11288 return NULL;
11289 }
11290 }
11291 if (_argo1) {
11292 if (_argo1 == Py_None) { _arg1 = NULL; }
11293 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
11294 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenuItem_SetSubMenu. Expected _wxMenu_p.");
11295 return NULL;
11296 }
11297 }
11298 {
11299 PyThreadState* __tstate = wxPyBeginAllowThreads();
11300 wxMenuItem_SetSubMenu(_arg0,_arg1);
11301
11302 wxPyEndAllowThreads(__tstate);
11303 if (PyErr_Occurred()) return NULL;
11304 } Py_INCREF(Py_None);
11305 _resultobj = Py_None;
11306 return _resultobj;
11307 }
11308
11309 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
11310 static PyObject *_wrap_wxMenuItem_GetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
11311 PyObject * _resultobj;
11312 wxMenu * _result;
11313 wxMenuItem * _arg0;
11314 PyObject * _argo0 = 0;
11315 char *_kwnames[] = { "self", NULL };
11316
11317 self = self;
11318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetSubMenu",_kwnames,&_argo0))
11319 return NULL;
11320 if (_argo0) {
11321 if (_argo0 == Py_None) { _arg0 = NULL; }
11322 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11323 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
11324 return NULL;
11325 }
11326 }
11327 {
11328 PyThreadState* __tstate = wxPyBeginAllowThreads();
11329 _result = (wxMenu *)wxMenuItem_GetSubMenu(_arg0);
11330
11331 wxPyEndAllowThreads(__tstate);
11332 if (PyErr_Occurred()) return NULL;
11333 }{ _resultobj = wxPyMake_wxObject(_result); }
11334 return _resultobj;
11335 }
11336
11337 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
11338 static PyObject *_wrap_wxMenuItem_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
11339 PyObject * _resultobj;
11340 wxMenuItem * _arg0;
11341 bool _arg1 = (bool ) TRUE;
11342 PyObject * _argo0 = 0;
11343 int tempbool1 = (int) TRUE;
11344 char *_kwnames[] = { "self","enable", NULL };
11345
11346 self = self;
11347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxMenuItem_Enable",_kwnames,&_argo0,&tempbool1))
11348 return NULL;
11349 if (_argo0) {
11350 if (_argo0 == Py_None) { _arg0 = NULL; }
11351 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11352 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
11353 return NULL;
11354 }
11355 }
11356 _arg1 = (bool ) tempbool1;
11357 {
11358 PyThreadState* __tstate = wxPyBeginAllowThreads();
11359 wxMenuItem_Enable(_arg0,_arg1);
11360
11361 wxPyEndAllowThreads(__tstate);
11362 if (PyErr_Occurred()) return NULL;
11363 } Py_INCREF(Py_None);
11364 _resultobj = Py_None;
11365 return _resultobj;
11366 }
11367
11368 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
11369 static PyObject *_wrap_wxMenuItem_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
11370 PyObject * _resultobj;
11371 bool _result;
11372 wxMenuItem * _arg0;
11373 PyObject * _argo0 = 0;
11374 char *_kwnames[] = { "self", NULL };
11375
11376 self = self;
11377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsEnabled",_kwnames,&_argo0))
11378 return NULL;
11379 if (_argo0) {
11380 if (_argo0 == Py_None) { _arg0 = NULL; }
11381 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11382 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
11383 return NULL;
11384 }
11385 }
11386 {
11387 PyThreadState* __tstate = wxPyBeginAllowThreads();
11388 _result = (bool )wxMenuItem_IsEnabled(_arg0);
11389
11390 wxPyEndAllowThreads(__tstate);
11391 if (PyErr_Occurred()) return NULL;
11392 } _resultobj = Py_BuildValue("i",_result);
11393 return _resultobj;
11394 }
11395
11396 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
11397 static PyObject *_wrap_wxMenuItem_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
11398 PyObject * _resultobj;
11399 wxMenuItem * _arg0;
11400 bool _arg1 = (bool ) TRUE;
11401 PyObject * _argo0 = 0;
11402 int tempbool1 = (int) TRUE;
11403 char *_kwnames[] = { "self","check", NULL };
11404
11405 self = self;
11406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxMenuItem_Check",_kwnames,&_argo0,&tempbool1))
11407 return NULL;
11408 if (_argo0) {
11409 if (_argo0 == Py_None) { _arg0 = NULL; }
11410 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11411 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
11412 return NULL;
11413 }
11414 }
11415 _arg1 = (bool ) tempbool1;
11416 {
11417 PyThreadState* __tstate = wxPyBeginAllowThreads();
11418 wxMenuItem_Check(_arg0,_arg1);
11419
11420 wxPyEndAllowThreads(__tstate);
11421 if (PyErr_Occurred()) return NULL;
11422 } Py_INCREF(Py_None);
11423 _resultobj = Py_None;
11424 return _resultobj;
11425 }
11426
11427 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
11428 static PyObject *_wrap_wxMenuItem_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
11429 PyObject * _resultobj;
11430 bool _result;
11431 wxMenuItem * _arg0;
11432 PyObject * _argo0 = 0;
11433 char *_kwnames[] = { "self", NULL };
11434
11435 self = self;
11436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsChecked",_kwnames,&_argo0))
11437 return NULL;
11438 if (_argo0) {
11439 if (_argo0 == Py_None) { _arg0 = NULL; }
11440 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11441 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
11442 return NULL;
11443 }
11444 }
11445 {
11446 PyThreadState* __tstate = wxPyBeginAllowThreads();
11447 _result = (bool )wxMenuItem_IsChecked(_arg0);
11448
11449 wxPyEndAllowThreads(__tstate);
11450 if (PyErr_Occurred()) return NULL;
11451 } _resultobj = Py_BuildValue("i",_result);
11452 return _resultobj;
11453 }
11454
11455 #define wxMenuItem_Toggle(_swigobj) (_swigobj->Toggle())
11456 static PyObject *_wrap_wxMenuItem_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
11457 PyObject * _resultobj;
11458 wxMenuItem * _arg0;
11459 PyObject * _argo0 = 0;
11460 char *_kwnames[] = { "self", NULL };
11461
11462 self = self;
11463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_Toggle",_kwnames,&_argo0))
11464 return NULL;
11465 if (_argo0) {
11466 if (_argo0 == Py_None) { _arg0 = NULL; }
11467 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11468 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_Toggle. Expected _wxMenuItem_p.");
11469 return NULL;
11470 }
11471 }
11472 {
11473 PyThreadState* __tstate = wxPyBeginAllowThreads();
11474 wxMenuItem_Toggle(_arg0);
11475
11476 wxPyEndAllowThreads(__tstate);
11477 if (PyErr_Occurred()) return NULL;
11478 } Py_INCREF(Py_None);
11479 _resultobj = Py_None;
11480 return _resultobj;
11481 }
11482
11483 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
11484 static PyObject *_wrap_wxMenuItem_SetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
11485 PyObject * _resultobj;
11486 wxMenuItem * _arg0;
11487 wxString * _arg1;
11488 PyObject * _argo0 = 0;
11489 PyObject * _obj1 = 0;
11490 char *_kwnames[] = { "self","str", NULL };
11491
11492 self = self;
11493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetHelp",_kwnames,&_argo0,&_obj1))
11494 return NULL;
11495 if (_argo0) {
11496 if (_argo0 == Py_None) { _arg0 = NULL; }
11497 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11498 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
11499 return NULL;
11500 }
11501 }
11502 {
11503 _arg1 = wxString_in_helper(_obj1);
11504 if (_arg1 == NULL)
11505 return NULL;
11506 }
11507 {
11508 PyThreadState* __tstate = wxPyBeginAllowThreads();
11509 wxMenuItem_SetHelp(_arg0,*_arg1);
11510
11511 wxPyEndAllowThreads(__tstate);
11512 if (PyErr_Occurred()) return NULL;
11513 } Py_INCREF(Py_None);
11514 _resultobj = Py_None;
11515 {
11516 if (_obj1)
11517 delete _arg1;
11518 }
11519 return _resultobj;
11520 }
11521
11522 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
11523 static PyObject *_wrap_wxMenuItem_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
11524 PyObject * _resultobj;
11525 wxString * _result;
11526 wxMenuItem * _arg0;
11527 PyObject * _argo0 = 0;
11528 char *_kwnames[] = { "self", NULL };
11529
11530 self = self;
11531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetHelp",_kwnames,&_argo0))
11532 return NULL;
11533 if (_argo0) {
11534 if (_argo0 == Py_None) { _arg0 = NULL; }
11535 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11536 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
11537 return NULL;
11538 }
11539 }
11540 {
11541 PyThreadState* __tstate = wxPyBeginAllowThreads();
11542 const wxString & _result_ref = wxMenuItem_GetHelp(_arg0);
11543 _result = (wxString *) &_result_ref;
11544
11545 wxPyEndAllowThreads(__tstate);
11546 if (PyErr_Occurred()) return NULL;
11547 }{
11548 #if wxUSE_UNICODE
11549 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
11550 #else
11551 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
11552 #endif
11553 }
11554 return _resultobj;
11555 }
11556
11557 #define wxMenuItem_GetAccel(_swigobj) (_swigobj->GetAccel())
11558 static PyObject *_wrap_wxMenuItem_GetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
11559 PyObject * _resultobj;
11560 wxAcceleratorEntry * _result;
11561 wxMenuItem * _arg0;
11562 PyObject * _argo0 = 0;
11563 char *_kwnames[] = { "self", NULL };
11564 char _ptemp[128];
11565
11566 self = self;
11567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetAccel",_kwnames,&_argo0))
11568 return NULL;
11569 if (_argo0) {
11570 if (_argo0 == Py_None) { _arg0 = NULL; }
11571 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11572 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetAccel. Expected _wxMenuItem_p.");
11573 return NULL;
11574 }
11575 }
11576 {
11577 PyThreadState* __tstate = wxPyBeginAllowThreads();
11578 _result = (wxAcceleratorEntry *)wxMenuItem_GetAccel(_arg0);
11579
11580 wxPyEndAllowThreads(__tstate);
11581 if (PyErr_Occurred()) return NULL;
11582 } if (_result) {
11583 SWIG_MakePtr(_ptemp, (char *) _result,"_wxAcceleratorEntry_p");
11584 _resultobj = Py_BuildValue("s",_ptemp);
11585 } else {
11586 Py_INCREF(Py_None);
11587 _resultobj = Py_None;
11588 }
11589 return _resultobj;
11590 }
11591
11592 #define wxMenuItem_SetAccel(_swigobj,_swigarg0) (_swigobj->SetAccel(_swigarg0))
11593 static PyObject *_wrap_wxMenuItem_SetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
11594 PyObject * _resultobj;
11595 wxMenuItem * _arg0;
11596 wxAcceleratorEntry * _arg1;
11597 PyObject * _argo0 = 0;
11598 PyObject * _argo1 = 0;
11599 char *_kwnames[] = { "self","accel", NULL };
11600
11601 self = self;
11602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetAccel",_kwnames,&_argo0,&_argo1))
11603 return NULL;
11604 if (_argo0) {
11605 if (_argo0 == Py_None) { _arg0 = NULL; }
11606 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11607 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetAccel. Expected _wxMenuItem_p.");
11608 return NULL;
11609 }
11610 }
11611 if (_argo1) {
11612 if (_argo1 == Py_None) { _arg1 = NULL; }
11613 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxAcceleratorEntry_p")) {
11614 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenuItem_SetAccel. Expected _wxAcceleratorEntry_p.");
11615 return NULL;
11616 }
11617 }
11618 {
11619 PyThreadState* __tstate = wxPyBeginAllowThreads();
11620 wxMenuItem_SetAccel(_arg0,_arg1);
11621
11622 wxPyEndAllowThreads(__tstate);
11623 if (PyErr_Occurred()) return NULL;
11624 } Py_INCREF(Py_None);
11625 _resultobj = Py_None;
11626 return _resultobj;
11627 }
11628
11629 static PyObject *_wrap_wxMenuItem_GetLabelFromText(PyObject *self, PyObject *args, PyObject *kwargs) {
11630 PyObject * _resultobj;
11631 wxString * _result;
11632 wxString * _arg0;
11633 PyObject * _obj0 = 0;
11634 char *_kwnames[] = { "text", NULL };
11635
11636 self = self;
11637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetLabelFromText",_kwnames,&_obj0))
11638 return NULL;
11639 {
11640 _arg0 = wxString_in_helper(_obj0);
11641 if (_arg0 == NULL)
11642 return NULL;
11643 }
11644 {
11645 PyThreadState* __tstate = wxPyBeginAllowThreads();
11646 _result = new wxString (wxMenuItem::GetLabelFromText(*_arg0));
11647
11648 wxPyEndAllowThreads(__tstate);
11649 if (PyErr_Occurred()) return NULL;
11650 }{
11651 #if wxUSE_UNICODE
11652 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
11653 #else
11654 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
11655 #endif
11656 }
11657 {
11658 if (_obj0)
11659 delete _arg0;
11660 }
11661 {
11662 delete _result;
11663 }
11664 return _resultobj;
11665 }
11666
11667 #define wxMenuItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
11668 static PyObject *_wrap_wxMenuItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11669 PyObject * _resultobj;
11670 wxMenuItem * _arg0;
11671 wxFont * _arg1;
11672 PyObject * _argo0 = 0;
11673 PyObject * _argo1 = 0;
11674 char *_kwnames[] = { "self","font", NULL };
11675
11676 self = self;
11677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetFont",_kwnames,&_argo0,&_argo1))
11678 return NULL;
11679 if (_argo0) {
11680 if (_argo0 == Py_None) { _arg0 = NULL; }
11681 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11682 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetFont. Expected _wxMenuItem_p.");
11683 return NULL;
11684 }
11685 }
11686 if (_argo1) {
11687 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
11688 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenuItem_SetFont. Expected _wxFont_p.");
11689 return NULL;
11690 }
11691 }
11692 {
11693 PyThreadState* __tstate = wxPyBeginAllowThreads();
11694 wxMenuItem_SetFont(_arg0,*_arg1);
11695
11696 wxPyEndAllowThreads(__tstate);
11697 if (PyErr_Occurred()) return NULL;
11698 } Py_INCREF(Py_None);
11699 _resultobj = Py_None;
11700 return _resultobj;
11701 }
11702
11703 #define wxMenuItem_GetFont(_swigobj) (_swigobj->GetFont())
11704 static PyObject *_wrap_wxMenuItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11705 PyObject * _resultobj;
11706 wxFont * _result;
11707 wxMenuItem * _arg0;
11708 PyObject * _argo0 = 0;
11709 char *_kwnames[] = { "self", NULL };
11710 char _ptemp[128];
11711
11712 self = self;
11713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetFont",_kwnames,&_argo0))
11714 return NULL;
11715 if (_argo0) {
11716 if (_argo0 == Py_None) { _arg0 = NULL; }
11717 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11718 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetFont. Expected _wxMenuItem_p.");
11719 return NULL;
11720 }
11721 }
11722 {
11723 PyThreadState* __tstate = wxPyBeginAllowThreads();
11724 _result = new wxFont (wxMenuItem_GetFont(_arg0));
11725
11726 wxPyEndAllowThreads(__tstate);
11727 if (PyErr_Occurred()) return NULL;
11728 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
11729 _resultobj = Py_BuildValue("s",_ptemp);
11730 return _resultobj;
11731 }
11732
11733 #define wxMenuItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
11734 static PyObject *_wrap_wxMenuItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11735 PyObject * _resultobj;
11736 wxMenuItem * _arg0;
11737 wxColour * _arg1;
11738 PyObject * _argo0 = 0;
11739 wxColour temp;
11740 PyObject * _obj1 = 0;
11741 char *_kwnames[] = { "self","colText", NULL };
11742
11743 self = self;
11744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetTextColour",_kwnames,&_argo0,&_obj1))
11745 return NULL;
11746 if (_argo0) {
11747 if (_argo0 == Py_None) { _arg0 = NULL; }
11748 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11749 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetTextColour. Expected _wxMenuItem_p.");
11750 return NULL;
11751 }
11752 }
11753 {
11754 _arg1 = &temp;
11755 if (! wxColour_helper(_obj1, &_arg1))
11756 return NULL;
11757 }
11758 {
11759 PyThreadState* __tstate = wxPyBeginAllowThreads();
11760 wxMenuItem_SetTextColour(_arg0,*_arg1);
11761
11762 wxPyEndAllowThreads(__tstate);
11763 if (PyErr_Occurred()) return NULL;
11764 } Py_INCREF(Py_None);
11765 _resultobj = Py_None;
11766 return _resultobj;
11767 }
11768
11769 #define wxMenuItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
11770 static PyObject *_wrap_wxMenuItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11771 PyObject * _resultobj;
11772 wxColour * _result;
11773 wxMenuItem * _arg0;
11774 PyObject * _argo0 = 0;
11775 char *_kwnames[] = { "self", NULL };
11776 char _ptemp[128];
11777
11778 self = self;
11779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetTextColour",_kwnames,&_argo0))
11780 return NULL;
11781 if (_argo0) {
11782 if (_argo0 == Py_None) { _arg0 = NULL; }
11783 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11784 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetTextColour. Expected _wxMenuItem_p.");
11785 return NULL;
11786 }
11787 }
11788 {
11789 PyThreadState* __tstate = wxPyBeginAllowThreads();
11790 _result = new wxColour (wxMenuItem_GetTextColour(_arg0));
11791
11792 wxPyEndAllowThreads(__tstate);
11793 if (PyErr_Occurred()) return NULL;
11794 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
11795 _resultobj = Py_BuildValue("s",_ptemp);
11796 return _resultobj;
11797 }
11798
11799 #define wxMenuItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
11800 static PyObject *_wrap_wxMenuItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11801 PyObject * _resultobj;
11802 wxMenuItem * _arg0;
11803 wxColour * _arg1;
11804 PyObject * _argo0 = 0;
11805 wxColour temp;
11806 PyObject * _obj1 = 0;
11807 char *_kwnames[] = { "self","colBack", NULL };
11808
11809 self = self;
11810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
11811 return NULL;
11812 if (_argo0) {
11813 if (_argo0 == Py_None) { _arg0 = NULL; }
11814 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11815 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetBackgroundColour. Expected _wxMenuItem_p.");
11816 return NULL;
11817 }
11818 }
11819 {
11820 _arg1 = &temp;
11821 if (! wxColour_helper(_obj1, &_arg1))
11822 return NULL;
11823 }
11824 {
11825 PyThreadState* __tstate = wxPyBeginAllowThreads();
11826 wxMenuItem_SetBackgroundColour(_arg0,*_arg1);
11827
11828 wxPyEndAllowThreads(__tstate);
11829 if (PyErr_Occurred()) return NULL;
11830 } Py_INCREF(Py_None);
11831 _resultobj = Py_None;
11832 return _resultobj;
11833 }
11834
11835 #define wxMenuItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
11836 static PyObject *_wrap_wxMenuItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11837 PyObject * _resultobj;
11838 wxColour * _result;
11839 wxMenuItem * _arg0;
11840 PyObject * _argo0 = 0;
11841 char *_kwnames[] = { "self", NULL };
11842 char _ptemp[128];
11843
11844 self = self;
11845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetBackgroundColour",_kwnames,&_argo0))
11846 return NULL;
11847 if (_argo0) {
11848 if (_argo0 == Py_None) { _arg0 = NULL; }
11849 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11850 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetBackgroundColour. Expected _wxMenuItem_p.");
11851 return NULL;
11852 }
11853 }
11854 {
11855 PyThreadState* __tstate = wxPyBeginAllowThreads();
11856 _result = new wxColour (wxMenuItem_GetBackgroundColour(_arg0));
11857
11858 wxPyEndAllowThreads(__tstate);
11859 if (PyErr_Occurred()) return NULL;
11860 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
11861 _resultobj = Py_BuildValue("s",_ptemp);
11862 return _resultobj;
11863 }
11864
11865 #define wxMenuItem_SetBitmaps(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBitmaps(_swigarg0,_swigarg1))
11866 static PyObject *_wrap_wxMenuItem_SetBitmaps(PyObject *self, PyObject *args, PyObject *kwargs) {
11867 PyObject * _resultobj;
11868 wxMenuItem * _arg0;
11869 wxBitmap * _arg1;
11870 wxBitmap * _arg2 = (wxBitmap *) &wxNullBitmap;
11871 PyObject * _argo0 = 0;
11872 PyObject * _argo1 = 0;
11873 PyObject * _argo2 = 0;
11874 char *_kwnames[] = { "self","bmpChecked","bmpUnchecked", NULL };
11875
11876 self = self;
11877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxMenuItem_SetBitmaps",_kwnames,&_argo0,&_argo1,&_argo2))
11878 return NULL;
11879 if (_argo0) {
11880 if (_argo0 == Py_None) { _arg0 = NULL; }
11881 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11882 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetBitmaps. Expected _wxMenuItem_p.");
11883 return NULL;
11884 }
11885 }
11886 if (_argo1) {
11887 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
11888 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenuItem_SetBitmaps. Expected _wxBitmap_p.");
11889 return NULL;
11890 }
11891 }
11892 if (_argo2) {
11893 if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) {
11894 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxMenuItem_SetBitmaps. Expected _wxBitmap_p.");
11895 return NULL;
11896 }
11897 }
11898 {
11899 PyThreadState* __tstate = wxPyBeginAllowThreads();
11900 wxMenuItem_SetBitmaps(_arg0,*_arg1,*_arg2);
11901
11902 wxPyEndAllowThreads(__tstate);
11903 if (PyErr_Occurred()) return NULL;
11904 } Py_INCREF(Py_None);
11905 _resultobj = Py_None;
11906 return _resultobj;
11907 }
11908
11909 #define wxMenuItem_SetMarginWidth(_swigobj,_swigarg0) (_swigobj->SetMarginWidth(_swigarg0))
11910 static PyObject *_wrap_wxMenuItem_SetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
11911 PyObject * _resultobj;
11912 wxMenuItem * _arg0;
11913 int _arg1;
11914 PyObject * _argo0 = 0;
11915 char *_kwnames[] = { "self","nWidth", NULL };
11916
11917 self = self;
11918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuItem_SetMarginWidth",_kwnames,&_argo0,&_arg1))
11919 return NULL;
11920 if (_argo0) {
11921 if (_argo0 == Py_None) { _arg0 = NULL; }
11922 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11923 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetMarginWidth. Expected _wxMenuItem_p.");
11924 return NULL;
11925 }
11926 }
11927 {
11928 PyThreadState* __tstate = wxPyBeginAllowThreads();
11929 wxMenuItem_SetMarginWidth(_arg0,_arg1);
11930
11931 wxPyEndAllowThreads(__tstate);
11932 if (PyErr_Occurred()) return NULL;
11933 } Py_INCREF(Py_None);
11934 _resultobj = Py_None;
11935 return _resultobj;
11936 }
11937
11938 #define wxMenuItem_GetMarginWidth(_swigobj) (_swigobj->GetMarginWidth())
11939 static PyObject *_wrap_wxMenuItem_GetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
11940 PyObject * _resultobj;
11941 int _result;
11942 wxMenuItem * _arg0;
11943 PyObject * _argo0 = 0;
11944 char *_kwnames[] = { "self", NULL };
11945
11946 self = self;
11947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetMarginWidth",_kwnames,&_argo0))
11948 return NULL;
11949 if (_argo0) {
11950 if (_argo0 == Py_None) { _arg0 = NULL; }
11951 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11952 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetMarginWidth. Expected _wxMenuItem_p.");
11953 return NULL;
11954 }
11955 }
11956 {
11957 PyThreadState* __tstate = wxPyBeginAllowThreads();
11958 _result = (int )wxMenuItem_GetMarginWidth(_arg0);
11959
11960 wxPyEndAllowThreads(__tstate);
11961 if (PyErr_Occurred()) return NULL;
11962 } _resultobj = Py_BuildValue("i",_result);
11963 return _resultobj;
11964 }
11965
11966 static PyObject *_wrap_wxMenuItem_GetDefaultMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
11967 PyObject * _resultobj;
11968 int _result;
11969 char *_kwnames[] = { NULL };
11970
11971 self = self;
11972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxMenuItem_GetDefaultMarginWidth",_kwnames))
11973 return NULL;
11974 {
11975 PyThreadState* __tstate = wxPyBeginAllowThreads();
11976 _result = (int )wxMenuItem::GetDefaultMarginWidth();
11977
11978 wxPyEndAllowThreads(__tstate);
11979 if (PyErr_Occurred()) return NULL;
11980 } _resultobj = Py_BuildValue("i",_result);
11981 return _resultobj;
11982 }
11983
11984 #define wxMenuItem_IsOwnerDrawn(_swigobj) (_swigobj->IsOwnerDrawn())
11985 static PyObject *_wrap_wxMenuItem_IsOwnerDrawn(PyObject *self, PyObject *args, PyObject *kwargs) {
11986 PyObject * _resultobj;
11987 bool _result;
11988 wxMenuItem * _arg0;
11989 PyObject * _argo0 = 0;
11990 char *_kwnames[] = { "self", NULL };
11991
11992 self = self;
11993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsOwnerDrawn",_kwnames,&_argo0))
11994 return NULL;
11995 if (_argo0) {
11996 if (_argo0 == Py_None) { _arg0 = NULL; }
11997 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11998 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsOwnerDrawn. Expected _wxMenuItem_p.");
11999 return NULL;
12000 }
12001 }
12002 {
12003 PyThreadState* __tstate = wxPyBeginAllowThreads();
12004 _result = (bool )wxMenuItem_IsOwnerDrawn(_arg0);
12005
12006 wxPyEndAllowThreads(__tstate);
12007 if (PyErr_Occurred()) return NULL;
12008 } _resultobj = Py_BuildValue("i",_result);
12009 return _resultobj;
12010 }
12011
12012 #define wxMenuItem_ResetOwnerDrawn(_swigobj) (_swigobj->ResetOwnerDrawn())
12013 static PyObject *_wrap_wxMenuItem_ResetOwnerDrawn(PyObject *self, PyObject *args, PyObject *kwargs) {
12014 PyObject * _resultobj;
12015 wxMenuItem * _arg0;
12016 PyObject * _argo0 = 0;
12017 char *_kwnames[] = { "self", NULL };
12018
12019 self = self;
12020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_ResetOwnerDrawn",_kwnames,&_argo0))
12021 return NULL;
12022 if (_argo0) {
12023 if (_argo0 == Py_None) { _arg0 = NULL; }
12024 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
12025 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_ResetOwnerDrawn. Expected _wxMenuItem_p.");
12026 return NULL;
12027 }
12028 }
12029 {
12030 PyThreadState* __tstate = wxPyBeginAllowThreads();
12031 wxMenuItem_ResetOwnerDrawn(_arg0);
12032
12033 wxPyEndAllowThreads(__tstate);
12034 if (PyErr_Occurred()) return NULL;
12035 } Py_INCREF(Py_None);
12036 _resultobj = Py_None;
12037 return _resultobj;
12038 }
12039
12040 #define wxMenuItem_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
12041 static PyObject *_wrap_wxMenuItem_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
12042 PyObject * _resultobj;
12043 wxMenuItem * _arg0;
12044 wxBitmap * _arg1;
12045 PyObject * _argo0 = 0;
12046 PyObject * _argo1 = 0;
12047 char *_kwnames[] = { "self","bitmap", NULL };
12048
12049 self = self;
12050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetBitmap",_kwnames,&_argo0,&_argo1))
12051 return NULL;
12052 if (_argo0) {
12053 if (_argo0 == Py_None) { _arg0 = NULL; }
12054 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
12055 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetBitmap. Expected _wxMenuItem_p.");
12056 return NULL;
12057 }
12058 }
12059 if (_argo1) {
12060 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
12061 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenuItem_SetBitmap. Expected _wxBitmap_p.");
12062 return NULL;
12063 }
12064 }
12065 {
12066 PyThreadState* __tstate = wxPyBeginAllowThreads();
12067 wxMenuItem_SetBitmap(_arg0,*_arg1);
12068
12069 wxPyEndAllowThreads(__tstate);
12070 if (PyErr_Occurred()) return NULL;
12071 } Py_INCREF(Py_None);
12072 _resultobj = Py_None;
12073 return _resultobj;
12074 }
12075
12076 #define wxMenuItem_GetBitmap(_swigobj) (_swigobj->GetBitmap())
12077 static PyObject *_wrap_wxMenuItem_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
12078 PyObject * _resultobj;
12079 wxBitmap * _result;
12080 wxMenuItem * _arg0;
12081 PyObject * _argo0 = 0;
12082 char *_kwnames[] = { "self", NULL };
12083 char _ptemp[128];
12084
12085 self = self;
12086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetBitmap",_kwnames,&_argo0))
12087 return NULL;
12088 if (_argo0) {
12089 if (_argo0 == Py_None) { _arg0 = NULL; }
12090 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
12091 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetBitmap. Expected _wxMenuItem_p.");
12092 return NULL;
12093 }
12094 }
12095 {
12096 PyThreadState* __tstate = wxPyBeginAllowThreads();
12097 const wxBitmap & _result_ref = wxMenuItem_GetBitmap(_arg0);
12098 _result = (wxBitmap *) &_result_ref;
12099
12100 wxPyEndAllowThreads(__tstate);
12101 if (PyErr_Occurred()) return NULL;
12102 } if (_result) {
12103 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
12104 _resultobj = Py_BuildValue("s",_ptemp);
12105 } else {
12106 Py_INCREF(Py_None);
12107 _resultobj = Py_None;
12108 }
12109 return _resultobj;
12110 }
12111
12112 static PyMethodDef windowscMethods[] = {
12113 { "wxMenuItem_GetBitmap", (PyCFunction) _wrap_wxMenuItem_GetBitmap, METH_VARARGS | METH_KEYWORDS },
12114 { "wxMenuItem_SetBitmap", (PyCFunction) _wrap_wxMenuItem_SetBitmap, METH_VARARGS | METH_KEYWORDS },
12115 { "wxMenuItem_ResetOwnerDrawn", (PyCFunction) _wrap_wxMenuItem_ResetOwnerDrawn, METH_VARARGS | METH_KEYWORDS },
12116 { "wxMenuItem_IsOwnerDrawn", (PyCFunction) _wrap_wxMenuItem_IsOwnerDrawn, METH_VARARGS | METH_KEYWORDS },
12117 { "wxMenuItem_GetDefaultMarginWidth", (PyCFunction) _wrap_wxMenuItem_GetDefaultMarginWidth, METH_VARARGS | METH_KEYWORDS },
12118 { "wxMenuItem_GetMarginWidth", (PyCFunction) _wrap_wxMenuItem_GetMarginWidth, METH_VARARGS | METH_KEYWORDS },
12119 { "wxMenuItem_SetMarginWidth", (PyCFunction) _wrap_wxMenuItem_SetMarginWidth, METH_VARARGS | METH_KEYWORDS },
12120 { "wxMenuItem_SetBitmaps", (PyCFunction) _wrap_wxMenuItem_SetBitmaps, METH_VARARGS | METH_KEYWORDS },
12121 { "wxMenuItem_GetBackgroundColour", (PyCFunction) _wrap_wxMenuItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12122 { "wxMenuItem_SetBackgroundColour", (PyCFunction) _wrap_wxMenuItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12123 { "wxMenuItem_GetTextColour", (PyCFunction) _wrap_wxMenuItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
12124 { "wxMenuItem_SetTextColour", (PyCFunction) _wrap_wxMenuItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
12125 { "wxMenuItem_GetFont", (PyCFunction) _wrap_wxMenuItem_GetFont, METH_VARARGS | METH_KEYWORDS },
12126 { "wxMenuItem_SetFont", (PyCFunction) _wrap_wxMenuItem_SetFont, METH_VARARGS | METH_KEYWORDS },
12127 { "wxMenuItem_GetLabelFromText", (PyCFunction) _wrap_wxMenuItem_GetLabelFromText, METH_VARARGS | METH_KEYWORDS },
12128 { "wxMenuItem_SetAccel", (PyCFunction) _wrap_wxMenuItem_SetAccel, METH_VARARGS | METH_KEYWORDS },
12129 { "wxMenuItem_GetAccel", (PyCFunction) _wrap_wxMenuItem_GetAccel, METH_VARARGS | METH_KEYWORDS },
12130 { "wxMenuItem_GetHelp", (PyCFunction) _wrap_wxMenuItem_GetHelp, METH_VARARGS | METH_KEYWORDS },
12131 { "wxMenuItem_SetHelp", (PyCFunction) _wrap_wxMenuItem_SetHelp, METH_VARARGS | METH_KEYWORDS },
12132 { "wxMenuItem_Toggle", (PyCFunction) _wrap_wxMenuItem_Toggle, METH_VARARGS | METH_KEYWORDS },
12133 { "wxMenuItem_IsChecked", (PyCFunction) _wrap_wxMenuItem_IsChecked, METH_VARARGS | METH_KEYWORDS },
12134 { "wxMenuItem_Check", (PyCFunction) _wrap_wxMenuItem_Check, METH_VARARGS | METH_KEYWORDS },
12135 { "wxMenuItem_IsEnabled", (PyCFunction) _wrap_wxMenuItem_IsEnabled, METH_VARARGS | METH_KEYWORDS },
12136 { "wxMenuItem_Enable", (PyCFunction) _wrap_wxMenuItem_Enable, METH_VARARGS | METH_KEYWORDS },
12137 { "wxMenuItem_GetSubMenu", (PyCFunction) _wrap_wxMenuItem_GetSubMenu, METH_VARARGS | METH_KEYWORDS },
12138 { "wxMenuItem_SetSubMenu", (PyCFunction) _wrap_wxMenuItem_SetSubMenu, METH_VARARGS | METH_KEYWORDS },
12139 { "wxMenuItem_IsSubMenu", (PyCFunction) _wrap_wxMenuItem_IsSubMenu, METH_VARARGS | METH_KEYWORDS },
12140 { "wxMenuItem_IsCheckable", (PyCFunction) _wrap_wxMenuItem_IsCheckable, METH_VARARGS | METH_KEYWORDS },
12141 { "wxMenuItem_SetCheckable", (PyCFunction) _wrap_wxMenuItem_SetCheckable, METH_VARARGS | METH_KEYWORDS },
12142 { "wxMenuItem_GetKind", (PyCFunction) _wrap_wxMenuItem_GetKind, METH_VARARGS | METH_KEYWORDS },
12143 { "wxMenuItem_GetText", (PyCFunction) _wrap_wxMenuItem_GetText, METH_VARARGS | METH_KEYWORDS },
12144 { "wxMenuItem_GetLabel", (PyCFunction) _wrap_wxMenuItem_GetLabel, METH_VARARGS | METH_KEYWORDS },
12145 { "wxMenuItem_SetText", (PyCFunction) _wrap_wxMenuItem_SetText, METH_VARARGS | METH_KEYWORDS },
12146 { "wxMenuItem_IsSeparator", (PyCFunction) _wrap_wxMenuItem_IsSeparator, METH_VARARGS | METH_KEYWORDS },
12147 { "wxMenuItem_GetId", (PyCFunction) _wrap_wxMenuItem_GetId, METH_VARARGS | METH_KEYWORDS },
12148 { "wxMenuItem_SetId", (PyCFunction) _wrap_wxMenuItem_SetId, METH_VARARGS | METH_KEYWORDS },
12149 { "wxMenuItem_SetMenu", (PyCFunction) _wrap_wxMenuItem_SetMenu, METH_VARARGS | METH_KEYWORDS },
12150 { "wxMenuItem_GetMenu", (PyCFunction) _wrap_wxMenuItem_GetMenu, METH_VARARGS | METH_KEYWORDS },
12151 { "new_wxMenuItem", (PyCFunction) _wrap_new_wxMenuItem, METH_VARARGS | METH_KEYWORDS },
12152 { "wxMenuBar_GetHelpString", (PyCFunction) _wrap_wxMenuBar_GetHelpString, METH_VARARGS | METH_KEYWORDS },
12153 { "wxMenuBar_SetHelpString", (PyCFunction) _wrap_wxMenuBar_SetHelpString, METH_VARARGS | METH_KEYWORDS },
12154 { "wxMenuBar_GetLabel", (PyCFunction) _wrap_wxMenuBar_GetLabel, METH_VARARGS | METH_KEYWORDS },
12155 { "wxMenuBar_SetLabel", (PyCFunction) _wrap_wxMenuBar_SetLabel, METH_VARARGS | METH_KEYWORDS },
12156 { "wxMenuBar_IsEnabled", (PyCFunction) _wrap_wxMenuBar_IsEnabled, METH_VARARGS | METH_KEYWORDS },
12157 { "wxMenuBar_IsChecked", (PyCFunction) _wrap_wxMenuBar_IsChecked, METH_VARARGS | METH_KEYWORDS },
12158 { "wxMenuBar_Check", (PyCFunction) _wrap_wxMenuBar_Check, METH_VARARGS | METH_KEYWORDS },
12159 { "wxMenuBar_Enable", (PyCFunction) _wrap_wxMenuBar_Enable, METH_VARARGS | METH_KEYWORDS },
12160 { "wxMenuBar_FindItemById", (PyCFunction) _wrap_wxMenuBar_FindItemById, METH_VARARGS | METH_KEYWORDS },
12161 { "wxMenuBar_FindMenuItem", (PyCFunction) _wrap_wxMenuBar_FindMenuItem, METH_VARARGS | METH_KEYWORDS },
12162 { "wxMenuBar_FindMenu", (PyCFunction) _wrap_wxMenuBar_FindMenu, METH_VARARGS | METH_KEYWORDS },
12163 { "wxMenuBar_GetLabelTop", (PyCFunction) _wrap_wxMenuBar_GetLabelTop, METH_VARARGS | METH_KEYWORDS },
12164 { "wxMenuBar_SetLabelTop", (PyCFunction) _wrap_wxMenuBar_SetLabelTop, METH_VARARGS | METH_KEYWORDS },
12165 { "wxMenuBar_IsEnabledTop", (PyCFunction) _wrap_wxMenuBar_IsEnabledTop, METH_VARARGS | METH_KEYWORDS },
12166 { "wxMenuBar_EnableTop", (PyCFunction) _wrap_wxMenuBar_EnableTop, METH_VARARGS | METH_KEYWORDS },
12167 { "wxMenuBar_Remove", (PyCFunction) _wrap_wxMenuBar_Remove, METH_VARARGS | METH_KEYWORDS },
12168 { "wxMenuBar_Replace", (PyCFunction) _wrap_wxMenuBar_Replace, METH_VARARGS | METH_KEYWORDS },
12169 { "wxMenuBar_GetMenu", (PyCFunction) _wrap_wxMenuBar_GetMenu, METH_VARARGS | METH_KEYWORDS },
12170 { "wxMenuBar_GetMenuCount", (PyCFunction) _wrap_wxMenuBar_GetMenuCount, METH_VARARGS | METH_KEYWORDS },
12171 { "wxMenuBar_Insert", (PyCFunction) _wrap_wxMenuBar_Insert, METH_VARARGS | METH_KEYWORDS },
12172 { "wxMenuBar_Append", (PyCFunction) _wrap_wxMenuBar_Append, METH_VARARGS | METH_KEYWORDS },
12173 { "new_wxMenuBar", (PyCFunction) _wrap_new_wxMenuBar, METH_VARARGS | METH_KEYWORDS },
12174 { "wxMenu_GetParent", (PyCFunction) _wrap_wxMenu_GetParent, METH_VARARGS | METH_KEYWORDS },
12175 { "wxMenu_SetParent", (PyCFunction) _wrap_wxMenu_SetParent, METH_VARARGS | METH_KEYWORDS },
12176 { "wxMenu_IsAttached", (PyCFunction) _wrap_wxMenu_IsAttached, METH_VARARGS | METH_KEYWORDS },
12177 { "wxMenu_GetStyle", (PyCFunction) _wrap_wxMenu_GetStyle, METH_VARARGS | METH_KEYWORDS },
12178 { "wxMenu_GetInvokingWindow", (PyCFunction) _wrap_wxMenu_GetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
12179 { "wxMenu_SetInvokingWindow", (PyCFunction) _wrap_wxMenu_SetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
12180 { "wxMenu_GetEventHandler", (PyCFunction) _wrap_wxMenu_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
12181 { "wxMenu_SetEventHandler", (PyCFunction) _wrap_wxMenu_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
12182 { "wxMenu_GetMenuItems", (PyCFunction) _wrap_wxMenu_GetMenuItems, METH_VARARGS | METH_KEYWORDS },
12183 { "wxMenu_GetMenuItemCount", (PyCFunction) _wrap_wxMenu_GetMenuItemCount, METH_VARARGS | METH_KEYWORDS },
12184 { "wxMenu_DestroyItem", (PyCFunction) _wrap_wxMenu_DestroyItem, METH_VARARGS | METH_KEYWORDS },
12185 { "wxMenu_DestroyId", (PyCFunction) _wrap_wxMenu_DestroyId, METH_VARARGS | METH_KEYWORDS },
12186 { "wxMenu_Destroy", (PyCFunction) _wrap_wxMenu_Destroy, METH_VARARGS | METH_KEYWORDS },
12187 { "wxMenu_RemoveItem", (PyCFunction) _wrap_wxMenu_RemoveItem, METH_VARARGS | METH_KEYWORDS },
12188 { "wxMenu_Remove", (PyCFunction) _wrap_wxMenu_Remove, METH_VARARGS | METH_KEYWORDS },
12189 { "wxMenu_DeleteItem", (PyCFunction) _wrap_wxMenu_DeleteItem, METH_VARARGS | METH_KEYWORDS },
12190 { "wxMenu_Delete", (PyCFunction) _wrap_wxMenu_Delete, METH_VARARGS | METH_KEYWORDS },
12191 { "wxMenu_UpdateUI", (PyCFunction) _wrap_wxMenu_UpdateUI, METH_VARARGS | METH_KEYWORDS },
12192 { "wxMenu_SetHelpString", (PyCFunction) _wrap_wxMenu_SetHelpString, METH_VARARGS | METH_KEYWORDS },
12193 { "wxMenu_GetHelpString", (PyCFunction) _wrap_wxMenu_GetHelpString, METH_VARARGS | METH_KEYWORDS },
12194 { "wxMenu_SetLabel", (PyCFunction) _wrap_wxMenu_SetLabel, METH_VARARGS | METH_KEYWORDS },
12195 { "wxMenu_GetLabel", (PyCFunction) _wrap_wxMenu_GetLabel, METH_VARARGS | METH_KEYWORDS },
12196 { "wxMenu_SetTitle", (PyCFunction) _wrap_wxMenu_SetTitle, METH_VARARGS | METH_KEYWORDS },
12197 { "wxMenu_GetTitle", (PyCFunction) _wrap_wxMenu_GetTitle, METH_VARARGS | METH_KEYWORDS },
12198 { "wxMenu_FindItemByPosition", (PyCFunction) _wrap_wxMenu_FindItemByPosition, METH_VARARGS | METH_KEYWORDS },
12199 { "wxMenu_FindItemById", (PyCFunction) _wrap_wxMenu_FindItemById, METH_VARARGS | METH_KEYWORDS },
12200 { "wxMenu_FindItem", (PyCFunction) _wrap_wxMenu_FindItem, METH_VARARGS | METH_KEYWORDS },
12201 { "wxMenu_IsEnabled", (PyCFunction) _wrap_wxMenu_IsEnabled, METH_VARARGS | METH_KEYWORDS },
12202 { "wxMenu_Enable", (PyCFunction) _wrap_wxMenu_Enable, METH_VARARGS | METH_KEYWORDS },
12203 { "wxMenu_IsChecked", (PyCFunction) _wrap_wxMenu_IsChecked, METH_VARARGS | METH_KEYWORDS },
12204 { "wxMenu_Check", (PyCFunction) _wrap_wxMenu_Check, METH_VARARGS | METH_KEYWORDS },
12205 { "wxMenu_Break", (PyCFunction) _wrap_wxMenu_Break, METH_VARARGS | METH_KEYWORDS },
12206 { "wxMenu_PrependItem", (PyCFunction) _wrap_wxMenu_PrependItem, METH_VARARGS | METH_KEYWORDS },
12207 { "wxMenu_PrependMenu", (PyCFunction) _wrap_wxMenu_PrependMenu, METH_VARARGS | METH_KEYWORDS },
12208 { "wxMenu_PrependRadioItem", (PyCFunction) _wrap_wxMenu_PrependRadioItem, METH_VARARGS | METH_KEYWORDS },
12209 { "wxMenu_PrependCheckItem", (PyCFunction) _wrap_wxMenu_PrependCheckItem, METH_VARARGS | METH_KEYWORDS },
12210 { "wxMenu_PrependSeparator", (PyCFunction) _wrap_wxMenu_PrependSeparator, METH_VARARGS | METH_KEYWORDS },
12211 { "wxMenu_Prepend", (PyCFunction) _wrap_wxMenu_Prepend, METH_VARARGS | METH_KEYWORDS },
12212 { "wxMenu_InsertItem", (PyCFunction) _wrap_wxMenu_InsertItem, METH_VARARGS | METH_KEYWORDS },
12213 { "wxMenu_InsertMenu", (PyCFunction) _wrap_wxMenu_InsertMenu, METH_VARARGS | METH_KEYWORDS },
12214 { "wxMenu_InsertRadioItem", (PyCFunction) _wrap_wxMenu_InsertRadioItem, METH_VARARGS | METH_KEYWORDS },
12215 { "wxMenu_InsertCheckItem", (PyCFunction) _wrap_wxMenu_InsertCheckItem, METH_VARARGS | METH_KEYWORDS },
12216 { "wxMenu_InsertSeparator", (PyCFunction) _wrap_wxMenu_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
12217 { "wxMenu_Insert", (PyCFunction) _wrap_wxMenu_Insert, METH_VARARGS | METH_KEYWORDS },
12218 { "wxMenu_AppendSeparator", (PyCFunction) _wrap_wxMenu_AppendSeparator, METH_VARARGS | METH_KEYWORDS },
12219 { "wxMenu_AppendRadioItem", (PyCFunction) _wrap_wxMenu_AppendRadioItem, METH_VARARGS | METH_KEYWORDS },
12220 { "wxMenu_AppendCheckItem", (PyCFunction) _wrap_wxMenu_AppendCheckItem, METH_VARARGS | METH_KEYWORDS },
12221 { "wxMenu_AppendItem", (PyCFunction) _wrap_wxMenu_AppendItem, METH_VARARGS | METH_KEYWORDS },
12222 { "wxMenu_AppendMenu", (PyCFunction) _wrap_wxMenu_AppendMenu, METH_VARARGS | METH_KEYWORDS },
12223 { "wxMenu_Append", (PyCFunction) _wrap_wxMenu_Append, METH_VARARGS | METH_KEYWORDS },
12224 { "new_wxMenu", (PyCFunction) _wrap_new_wxMenu, METH_VARARGS | METH_KEYWORDS },
12225 { "wxScrolledWindow_SetScrollRate", (PyCFunction) _wrap_wxScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
12226 { "wxScrolledWindow_Layout", (PyCFunction) _wrap_wxScrolledWindow_Layout, METH_VARARGS | METH_KEYWORDS },
12227 { "wxScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_wxScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
12228 { "wxScrolledWindow_GetScaleY", (PyCFunction) _wrap_wxScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
12229 { "wxScrolledWindow_GetScaleX", (PyCFunction) _wrap_wxScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
12230 { "wxScrolledWindow_SetScale", (PyCFunction) _wrap_wxScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
12231 { "wxScrolledWindow_CalcUnscrolledPosition2", (PyCFunction) _wrap_wxScrolledWindow_CalcUnscrolledPosition2, METH_VARARGS | METH_KEYWORDS },
12232 { "wxScrolledWindow_CalcUnscrolledPosition1", (PyCFunction) _wrap_wxScrolledWindow_CalcUnscrolledPosition1, METH_VARARGS | METH_KEYWORDS },
12233 { "wxScrolledWindow_CalcScrolledPosition2", (PyCFunction) _wrap_wxScrolledWindow_CalcScrolledPosition2, METH_VARARGS | METH_KEYWORDS },
12234 { "wxScrolledWindow_CalcScrolledPosition1", (PyCFunction) _wrap_wxScrolledWindow_CalcScrolledPosition1, METH_VARARGS | METH_KEYWORDS },
12235 { "wxScrolledWindow_GetViewStart", (PyCFunction) _wrap_wxScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
12236 { "wxScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_wxScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
12237 { "wxScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_wxScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
12238 { "wxScrolledWindow_SetScrollbars", (PyCFunction) _wrap_wxScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
12239 { "wxScrolledWindow_Scroll", (PyCFunction) _wrap_wxScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
12240 { "wxScrolledWindow_PrepareDC", (PyCFunction) _wrap_wxScrolledWindow_PrepareDC, METH_VARARGS | METH_KEYWORDS },
12241 { "wxScrolledWindow_IsRetained", (PyCFunction) _wrap_wxScrolledWindow_IsRetained, METH_VARARGS | METH_KEYWORDS },
12242 { "wxScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_wxScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
12243 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
12244 { "wxScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_wxScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
12245 { "wxScrolledWindow_EnableScrolling", (PyCFunction) _wrap_wxScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
12246 { "wxScrolledWindow_Create", (PyCFunction) _wrap_wxScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
12247 { "new_wxPreScrolledWindow", (PyCFunction) _wrap_new_wxPreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
12248 { "new_wxScrolledWindow", (PyCFunction) _wrap_new_wxScrolledWindow, METH_VARARGS | METH_KEYWORDS },
12249 { "wxPanel_InitDialog", (PyCFunction) _wrap_wxPanel_InitDialog, METH_VARARGS | METH_KEYWORDS },
12250 { "wxPanel_Create", (PyCFunction) _wrap_wxPanel_Create, METH_VARARGS | METH_KEYWORDS },
12251 { "new_wxPrePanel", (PyCFunction) _wrap_new_wxPrePanel, METH_VARARGS | METH_KEYWORDS },
12252 { "new_wxPanel", (PyCFunction) _wrap_new_wxPanel, METH_VARARGS | METH_KEYWORDS },
12253 { "wxWindow_GetBorder", (PyCFunction) _wrap_wxWindow_GetBorder, METH_VARARGS | METH_KEYWORDS },
12254 { "wxWindow_GetBorderFlags", (PyCFunction) _wrap_wxWindow_GetBorderFlags, METH_VARARGS | METH_KEYWORDS },
12255 { "wxWindow_GetThemeEnabled", (PyCFunction) _wrap_wxWindow_GetThemeEnabled, METH_VARARGS | METH_KEYWORDS },
12256 { "wxWindow_SetThemeEnabled", (PyCFunction) _wrap_wxWindow_SetThemeEnabled, METH_VARARGS | METH_KEYWORDS },
12257 { "wxWindow_HasCapture", (PyCFunction) _wrap_wxWindow_HasCapture, METH_VARARGS | METH_KEYWORDS },
12258 { "wxWindow_GetCapture", (PyCFunction) _wrap_wxWindow_GetCapture, METH_VARARGS | METH_KEYWORDS },
12259 { "wxWindow_ReleaseMouse", (PyCFunction) _wrap_wxWindow_ReleaseMouse, METH_VARARGS | METH_KEYWORDS },
12260 { "wxWindow_CaptureMouse", (PyCFunction) _wrap_wxWindow_CaptureMouse, METH_VARARGS | METH_KEYWORDS },
12261 { "wxWindow_WarpPointer", (PyCFunction) _wrap_wxWindow_WarpPointer, METH_VARARGS | METH_KEYWORDS },
12262 { "wxWindow_SetTmpDefaultItem", (PyCFunction) _wrap_wxWindow_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS },
12263 { "wxWindow_SetDefaultItem", (PyCFunction) _wrap_wxWindow_SetDefaultItem, METH_VARARGS | METH_KEYWORDS },
12264 { "wxWindow_GetDefaultItem", (PyCFunction) _wrap_wxWindow_GetDefaultItem, METH_VARARGS | METH_KEYWORDS },
12265 { "wxWindow_OnPaint", (PyCFunction) _wrap_wxWindow_OnPaint, METH_VARARGS | METH_KEYWORDS },
12266 { "wxWindow_UnregisterHotKey", (PyCFunction) _wrap_wxWindow_UnregisterHotKey, METH_VARARGS | METH_KEYWORDS },
12267 { "wxWindow_RegisterHotKey", (PyCFunction) _wrap_wxWindow_RegisterHotKey, METH_VARARGS | METH_KEYWORDS },
12268 { "wxWindow_GetAcceleratorTable", (PyCFunction) _wrap_wxWindow_GetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
12269 { "wxWindow_SetAcceleratorTable", (PyCFunction) _wrap_wxWindow_SetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
12270 { "wxWindow_PrevControlId", (PyCFunction) _wrap_wxWindow_PrevControlId, METH_VARARGS | METH_KEYWORDS },
12271 { "wxWindow_NextControlId", (PyCFunction) _wrap_wxWindow_NextControlId, METH_VARARGS | METH_KEYWORDS },
12272 { "wxWindow_NewControlId", (PyCFunction) _wrap_wxWindow_NewControlId, METH_VARARGS | METH_KEYWORDS },
12273 { "wxWindow_FindFocus", (PyCFunction) _wrap_wxWindow_FindFocus, METH_VARARGS | METH_KEYWORDS },
12274 { "wxWindow_PageDown", (PyCFunction) _wrap_wxWindow_PageDown, METH_VARARGS | METH_KEYWORDS },
12275 { "wxWindow_PageUp", (PyCFunction) _wrap_wxWindow_PageUp, METH_VARARGS | METH_KEYWORDS },
12276 { "wxWindow_LineDown", (PyCFunction) _wrap_wxWindow_LineDown, METH_VARARGS | METH_KEYWORDS },
12277 { "wxWindow_LineUp", (PyCFunction) _wrap_wxWindow_LineUp, METH_VARARGS | METH_KEYWORDS },
12278 { "wxWindow_ScrollPages", (PyCFunction) _wrap_wxWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
12279 { "wxWindow_ScrollLines", (PyCFunction) _wrap_wxWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
12280 { "wxWindow_SetHelpTextForId", (PyCFunction) _wrap_wxWindow_SetHelpTextForId, METH_VARARGS | METH_KEYWORDS },
12281 { "wxWindow_SetHelpText", (PyCFunction) _wrap_wxWindow_SetHelpText, METH_VARARGS | METH_KEYWORDS },
12282 { "wxWindow_GetHelpText", (PyCFunction) _wrap_wxWindow_GetHelpText, METH_VARARGS | METH_KEYWORDS },
12283 { "wxWindow_Update", (PyCFunction) _wrap_wxWindow_Update, METH_VARARGS | METH_KEYWORDS },
12284 { "wxWindow_Thaw", (PyCFunction) _wrap_wxWindow_Thaw, METH_VARARGS | METH_KEYWORDS },
12285 { "wxWindow_Freeze", (PyCFunction) _wrap_wxWindow_Freeze, METH_VARARGS | METH_KEYWORDS },
12286 { "wxWindow_GetCaret", (PyCFunction) _wrap_wxWindow_GetCaret, METH_VARARGS | METH_KEYWORDS },
12287 { "wxWindow_SetCaret", (PyCFunction) _wrap_wxWindow_SetCaret, METH_VARARGS | METH_KEYWORDS },
12288 { "wxWindow_GetAdjustedBestSize", (PyCFunction) _wrap_wxWindow_GetAdjustedBestSize, METH_VARARGS | METH_KEYWORDS },
12289 { "wxWindow_GetMaxSize", (PyCFunction) _wrap_wxWindow_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
12290 { "wxWindow_GetBestSize", (PyCFunction) _wrap_wxWindow_GetBestSize, METH_VARARGS | METH_KEYWORDS },
12291 { "wxWindow_GetDropTarget", (PyCFunction) _wrap_wxWindow_GetDropTarget, METH_VARARGS | METH_KEYWORDS },
12292 { "wxWindow_SetDropTarget", (PyCFunction) _wrap_wxWindow_SetDropTarget, METH_VARARGS | METH_KEYWORDS },
12293 { "wxWindow_SetValidator", (PyCFunction) _wrap_wxWindow_SetValidator, METH_VARARGS | METH_KEYWORDS },
12294 { "wxWindow_GetValidator", (PyCFunction) _wrap_wxWindow_GetValidator, METH_VARARGS | METH_KEYWORDS },
12295 { "wxWindow_GetContainingSizer", (PyCFunction) _wrap_wxWindow_GetContainingSizer, METH_VARARGS | METH_KEYWORDS },
12296 { "wxWindow_SetContainingSizer", (PyCFunction) _wrap_wxWindow_SetContainingSizer, METH_VARARGS | METH_KEYWORDS },
12297 { "wxWindow_GetSizer", (PyCFunction) _wrap_wxWindow_GetSizer, METH_VARARGS | METH_KEYWORDS },
12298 { "wxWindow_SetSizerAndFit", (PyCFunction) _wrap_wxWindow_SetSizerAndFit, METH_VARARGS | METH_KEYWORDS },
12299 { "wxWindow_SetSizer", (PyCFunction) _wrap_wxWindow_SetSizer, METH_VARARGS | METH_KEYWORDS },
12300 { "wxWindow_GetToolTip", (PyCFunction) _wrap_wxWindow_GetToolTip, METH_VARARGS | METH_KEYWORDS },
12301 { "wxWindow_SetToolTip", (PyCFunction) _wrap_wxWindow_SetToolTip, METH_VARARGS | METH_KEYWORDS },
12302 { "wxWindow_SetToolTipString", (PyCFunction) _wrap_wxWindow_SetToolTipString, METH_VARARGS | METH_KEYWORDS },
12303 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction) _wrap_wxWindow_ConvertPixelSizeToDialog, METH_VARARGS | METH_KEYWORDS },
12304 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction) _wrap_wxWindow_ConvertPixelPointToDialog, METH_VARARGS | METH_KEYWORDS },
12305 { "wxWindow_DLG_SZE", (PyCFunction) _wrap_wxWindow_ConvertDialogSizeToPixels, METH_VARARGS | METH_KEYWORDS },
12306 { "wxWindow_DLG_PNT", (PyCFunction) _wrap_wxWindow_ConvertDialogPointToPixels, METH_VARARGS | METH_KEYWORDS },
12307 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction) _wrap_wxWindow_ConvertDialogSizeToPixels, METH_VARARGS | METH_KEYWORDS },
12308 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction) _wrap_wxWindow_ConvertDialogPointToPixels, METH_VARARGS | METH_KEYWORDS },
12309 { "wxWindow_Validate", (PyCFunction) _wrap_wxWindow_Validate, METH_VARARGS | METH_KEYWORDS },
12310 { "wxWindow_UpdateWindowUI", (PyCFunction) _wrap_wxWindow_UpdateWindowUI, METH_VARARGS | METH_KEYWORDS },
12311 { "wxWindow_TransferDataToWindow", (PyCFunction) _wrap_wxWindow_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
12312 { "wxWindow_TransferDataFromWindow", (PyCFunction) _wrap_wxWindow_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
12313 { "wxWindow_Show", (PyCFunction) _wrap_wxWindow_Show, METH_VARARGS | METH_KEYWORDS },
12314 { "wxWindow_SetTitle", (PyCFunction) _wrap_wxWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
12315 { "wxWindow_SetExtraStyle", (PyCFunction) _wrap_wxWindow_SetExtraStyle, METH_VARARGS | METH_KEYWORDS },
12316 { "wxWindow_SetEventHandler", (PyCFunction) _wrap_wxWindow_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
12317 { "wxWindow_GetCursor", (PyCFunction) _wrap_wxWindow_GetCursor, METH_VARARGS | METH_KEYWORDS },
12318 { "wxWindow_SetCursor", (PyCFunction) _wrap_wxWindow_SetCursor, METH_VARARGS | METH_KEYWORDS },
12319 { "wxWindow_SetClientSize", (PyCFunction) _wrap_wxWindow_SetClientSize, METH_VARARGS | METH_KEYWORDS },
12320 { "wxWindow_SetClientSizeWH", (PyCFunction) _wrap_wxWindow_SetClientSizeWH, METH_VARARGS | METH_KEYWORDS },
12321 { "wxWindow_GetBestVirtualSize", (PyCFunction) _wrap_wxWindow_GetBestVirtualSize, METH_VARARGS | METH_KEYWORDS },
12322 { "wxWindow_GetVirtualSizeTuple", (PyCFunction) _wrap_wxWindow_GetVirtualSizeTuple, METH_VARARGS | METH_KEYWORDS },
12323 { "wxWindow_GetVirtualSize", (PyCFunction) _wrap_wxWindow_GetVirtualSize, METH_VARARGS | METH_KEYWORDS },
12324 { "wxWindow_SetVirtualSizeWH", (PyCFunction) _wrap_wxWindow_SetVirtualSizeWH, METH_VARARGS | METH_KEYWORDS },
12325 { "wxWindow_SetVirtualSize", (PyCFunction) _wrap_wxWindow_SetVirtualSize, METH_VARARGS | METH_KEYWORDS },
12326 { "wxWindow_SetVirtualSizeHints", (PyCFunction) _wrap_wxWindow_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS },
12327 { "wxWindow_SetSizeHints", (PyCFunction) _wrap_wxWindow_SetSizeHints, METH_VARARGS | METH_KEYWORDS },
12328 { "wxWindow_SetRect", (PyCFunction) _wrap_wxWindow_SetRect, METH_VARARGS | METH_KEYWORDS },
12329 { "wxWindow_SetPosition", (PyCFunction) _wrap_wxWindow_SetPosition, METH_VARARGS | METH_KEYWORDS },
12330 { "wxWindow_SetSize", (PyCFunction) _wrap_wxWindow_SetSize, METH_VARARGS | METH_KEYWORDS },
12331 { "wxWindow_SetDimensions", (PyCFunction) _wrap_wxWindow_SetDimensions, METH_VARARGS | METH_KEYWORDS },
12332 { "wxWindow_SetScrollPos", (PyCFunction) _wrap_wxWindow_SetScrollPos, METH_VARARGS | METH_KEYWORDS },
12333 { "wxWindow_SetScrollbar", (PyCFunction) _wrap_wxWindow_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
12334 { "wxWindow_SetName", (PyCFunction) _wrap_wxWindow_SetName, METH_VARARGS | METH_KEYWORDS },
12335 { "wxWindow_SetId", (PyCFunction) _wrap_wxWindow_SetId, METH_VARARGS | METH_KEYWORDS },
12336 { "wxWindow_SetForegroundColour", (PyCFunction) _wrap_wxWindow_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
12337 { "wxWindow_SetFont", (PyCFunction) _wrap_wxWindow_SetFont, METH_VARARGS | METH_KEYWORDS },
12338 { "wxWindow_AcceptsFocus", (PyCFunction) _wrap_wxWindow_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
12339 { "wxWindow_SetFocusFromKbd", (PyCFunction) _wrap_wxWindow_SetFocusFromKbd, METH_VARARGS | METH_KEYWORDS },
12340 { "wxWindow_SetFocus", (PyCFunction) _wrap_wxWindow_SetFocus, METH_VARARGS | METH_KEYWORDS },
12341 { "wxWindow_UnsetConstraints", (PyCFunction) _wrap_wxWindow_UnsetConstraints, METH_VARARGS | METH_KEYWORDS },
12342 { "wxWindow_SetConstraints", (PyCFunction) _wrap_wxWindow_SetConstraints, METH_VARARGS | METH_KEYWORDS },
12343 { "wxWindow_SetBackgroundColour", (PyCFunction) _wrap_wxWindow_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12344 { "wxWindow_GetAutoLayout", (PyCFunction) _wrap_wxWindow_GetAutoLayout, METH_VARARGS | METH_KEYWORDS },
12345 { "wxWindow_SetAutoLayout", (PyCFunction) _wrap_wxWindow_SetAutoLayout, METH_VARARGS | METH_KEYWORDS },
12346 { "wxWindow_ScrollWindow", (PyCFunction) _wrap_wxWindow_ScrollWindow, METH_VARARGS | METH_KEYWORDS },
12347 { "wxWindow_ScreenToClient", (PyCFunction) _wrap_wxWindow_ScreenToClient, METH_VARARGS | METH_KEYWORDS },
12348 { "wxWindow_ScreenToClientXY", (PyCFunction) _wrap_wxWindow_ScreenToClientXY, METH_VARARGS | METH_KEYWORDS },
12349 { "wxWindow_Reparent", (PyCFunction) _wrap_wxWindow_Reparent, METH_VARARGS | METH_KEYWORDS },
12350 { "wxWindow_RemoveChild", (PyCFunction) _wrap_wxWindow_RemoveChild, METH_VARARGS | METH_KEYWORDS },
12351 { "wxWindow_AddChild", (PyCFunction) _wrap_wxWindow_AddChild, METH_VARARGS | METH_KEYWORDS },
12352 { "wxWindow_RefreshRect", (PyCFunction) _wrap_wxWindow_RefreshRect, METH_VARARGS | METH_KEYWORDS },
12353 { "wxWindow_Refresh", (PyCFunction) _wrap_wxWindow_Refresh, METH_VARARGS | METH_KEYWORDS },
12354 { "wxWindow_Raise", (PyCFunction) _wrap_wxWindow_Raise, METH_VARARGS | METH_KEYWORDS },
12355 { "wxWindow_PopupMenu", (PyCFunction) _wrap_wxWindow_PopupMenu, METH_VARARGS | METH_KEYWORDS },
12356 { "wxWindow_PopupMenuXY", (PyCFunction) _wrap_wxWindow_PopupMenuXY, METH_VARARGS | METH_KEYWORDS },
12357 { "wxWindow_RemoveEventHandler", (PyCFunction) _wrap_wxWindow_RemoveEventHandler, METH_VARARGS | METH_KEYWORDS },
12358 { "wxWindow_PushEventHandler", (PyCFunction) _wrap_wxWindow_PushEventHandler, METH_VARARGS | METH_KEYWORDS },
12359 { "wxWindow_PopEventHandler", (PyCFunction) _wrap_wxWindow_PopEventHandler, METH_VARARGS | METH_KEYWORDS },
12360 { "wxWindow_Move", (PyCFunction) _wrap_wxWindow_Move, METH_VARARGS | METH_KEYWORDS },
12361 { "wxWindow_MoveXY", (PyCFunction) _wrap_wxWindow_MoveXY, METH_VARARGS | METH_KEYWORDS },
12362 { "wxWindow_MakeModal", (PyCFunction) _wrap_wxWindow_MakeModal, METH_VARARGS | METH_KEYWORDS },
12363 { "wxWindow_Lower", (PyCFunction) _wrap_wxWindow_Lower, METH_VARARGS | METH_KEYWORDS },
12364 { "wxWindow_Layout", (PyCFunction) _wrap_wxWindow_Layout, METH_VARARGS | METH_KEYWORDS },
12365 { "wxWindow_IsTopLevel", (PyCFunction) _wrap_wxWindow_IsTopLevel, METH_VARARGS | METH_KEYWORDS },
12366 { "wxWindow_IsShown", (PyCFunction) _wrap_wxWindow_IsShown, METH_VARARGS | METH_KEYWORDS },
12367 { "wxWindow_IsRetained", (PyCFunction) _wrap_wxWindow_IsRetained, METH_VARARGS | METH_KEYWORDS },
12368 { "wxWindow_IsExposedRect", (PyCFunction) _wrap_wxWindow_IsExposedRect, METH_VARARGS | METH_KEYWORDS },
12369 { "wxWindow_IsExposedPoint", (PyCFunction) _wrap_wxWindow_IsExposedPoint, METH_VARARGS | METH_KEYWORDS },
12370 { "wxWindow_IsExposed", (PyCFunction) _wrap_wxWindow_IsExposed, METH_VARARGS | METH_KEYWORDS },
12371 { "wxWindow_IsEnabled", (PyCFunction) _wrap_wxWindow_IsEnabled, METH_VARARGS | METH_KEYWORDS },
12372 { "wxWindow_InitDialog", (PyCFunction) _wrap_wxWindow_InitDialog, METH_VARARGS | METH_KEYWORDS },
12373 { "wxWindow_HitTest", (PyCFunction) _wrap_wxWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
12374 { "wxWindow_Hide", (PyCFunction) _wrap_wxWindow_Hide, METH_VARARGS | METH_KEYWORDS },
12375 { "wxWindow_HasScrollbar", (PyCFunction) _wrap_wxWindow_HasScrollbar, METH_VARARGS | METH_KEYWORDS },
12376 { "wxWindow_SetWindowStyle", (PyCFunction) _wrap_wxWindow_SetWindowStyle, METH_VARARGS | METH_KEYWORDS },
12377 { "wxWindow_SetWindowStyleFlag", (PyCFunction) _wrap_wxWindow_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
12378 { "wxWindow_GetWindowStyleFlag", (PyCFunction) _wrap_wxWindow_GetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
12379 { "wxWindow_GetUpdateRegion", (PyCFunction) _wrap_wxWindow_GetUpdateRegion, METH_VARARGS | METH_KEYWORDS },
12380 { "wxWindow_GetTitle", (PyCFunction) _wrap_wxWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
12381 { "wxWindow_GetFullTextExtent", (PyCFunction) _wrap_wxWindow_GetFullTextExtent, METH_VARARGS | METH_KEYWORDS },
12382 { "wxWindow_GetTextExtent", (PyCFunction) _wrap_wxWindow_GetTextExtent, METH_VARARGS | METH_KEYWORDS },
12383 { "wxWindow_GetSize", (PyCFunction) _wrap_wxWindow_GetSize, METH_VARARGS | METH_KEYWORDS },
12384 { "wxWindow_GetSizeTuple", (PyCFunction) _wrap_wxWindow_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
12385 { "wxWindow_GetScrollRange", (PyCFunction) _wrap_wxWindow_GetScrollRange, METH_VARARGS | METH_KEYWORDS },
12386 { "wxWindow_GetScrollPos", (PyCFunction) _wrap_wxWindow_GetScrollPos, METH_VARARGS | METH_KEYWORDS },
12387 { "wxWindow_GetScrollThumb", (PyCFunction) _wrap_wxWindow_GetScrollThumb, METH_VARARGS | METH_KEYWORDS },
12388 { "wxWindow_GetRect", (PyCFunction) _wrap_wxWindow_GetRect, METH_VARARGS | METH_KEYWORDS },
12389 { "wxWindow_GetPosition", (PyCFunction) _wrap_wxWindow_GetPosition, METH_VARARGS | METH_KEYWORDS },
12390 { "wxWindow_GetPositionTuple", (PyCFunction) _wrap_wxWindow_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
12391 { "wxWindow_GetParent", (PyCFunction) _wrap_wxWindow_GetParent, METH_VARARGS | METH_KEYWORDS },
12392 { "wxWindow_GetName", (PyCFunction) _wrap_wxWindow_GetName, METH_VARARGS | METH_KEYWORDS },
12393 { "wxWindow_SetLabel", (PyCFunction) _wrap_wxWindow_SetLabel, METH_VARARGS | METH_KEYWORDS },
12394 { "wxWindow_GetLabel", (PyCFunction) _wrap_wxWindow_GetLabel, METH_VARARGS | METH_KEYWORDS },
12395 { "wxWindow_GetId", (PyCFunction) _wrap_wxWindow_GetId, METH_VARARGS | METH_KEYWORDS },
12396 { "wxWindow_GetHandle", (PyCFunction) _wrap_wxWindow_GetHandle, METH_VARARGS | METH_KEYWORDS },
12397 { "wxWindow_GetGrandParent", (PyCFunction) _wrap_wxWindow_GetGrandParent, METH_VARARGS | METH_KEYWORDS },
12398 { "wxWindow_GetForegroundColour", (PyCFunction) _wrap_wxWindow_GetForegroundColour, METH_VARARGS | METH_KEYWORDS },
12399 { "wxWindow_GetFont", (PyCFunction) _wrap_wxWindow_GetFont, METH_VARARGS | METH_KEYWORDS },
12400 { "wxWindow_GetEventHandler", (PyCFunction) _wrap_wxWindow_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
12401 { "wxWindow_GetConstraints", (PyCFunction) _wrap_wxWindow_GetConstraints, METH_VARARGS | METH_KEYWORDS },
12402 { "wxWindow_GetClientRect", (PyCFunction) _wrap_wxWindow_GetClientRect, METH_VARARGS | METH_KEYWORDS },
12403 { "wxWindow_GetClientAreaOrigin", (PyCFunction) _wrap_wxWindow_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
12404 { "wxWindow_GetClientSize", (PyCFunction) _wrap_wxWindow_GetClientSize, METH_VARARGS | METH_KEYWORDS },
12405 { "wxWindow_GetClientSizeTuple", (PyCFunction) _wrap_wxWindow_GetClientSizeTuple, METH_VARARGS | METH_KEYWORDS },
12406 { "wxWindow_GetCharWidth", (PyCFunction) _wrap_wxWindow_GetCharWidth, METH_VARARGS | METH_KEYWORDS },
12407 { "wxWindow_GetCharHeight", (PyCFunction) _wrap_wxWindow_GetCharHeight, METH_VARARGS | METH_KEYWORDS },
12408 { "wxWindow_GetChildren", (PyCFunction) _wrap_wxWindow_GetChildren, METH_VARARGS | METH_KEYWORDS },
12409 { "wxWindow_GetBackgroundColour", (PyCFunction) _wrap_wxWindow_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12410 { "wxWindow_FitInside", (PyCFunction) _wrap_wxWindow_FitInside, METH_VARARGS | METH_KEYWORDS },
12411 { "wxWindow_Fit", (PyCFunction) _wrap_wxWindow_Fit, METH_VARARGS | METH_KEYWORDS },
12412 { "wxWindow_FindWindowByName", (PyCFunction) _wrap_wxWindow_FindWindowByName, METH_VARARGS | METH_KEYWORDS },
12413 { "wxWindow_FindWindowById", (PyCFunction) _wrap_wxWindow_FindWindowById, METH_VARARGS | METH_KEYWORDS },
12414 { "wxWindow_Disable", (PyCFunction) _wrap_wxWindow_Disable, METH_VARARGS | METH_KEYWORDS },
12415 { "wxWindow_Enable", (PyCFunction) _wrap_wxWindow_Enable, METH_VARARGS | METH_KEYWORDS },
12416 { "wxWindow_DragAcceptFiles", (PyCFunction) _wrap_wxWindow_DragAcceptFiles, METH_VARARGS | METH_KEYWORDS },
12417 { "wxWindow_IsBeingDeleted", (PyCFunction) _wrap_wxWindow_IsBeingDeleted, METH_VARARGS | METH_KEYWORDS },
12418 { "wxWindow_DestroyChildren", (PyCFunction) _wrap_wxWindow_DestroyChildren, METH_VARARGS | METH_KEYWORDS },
12419 { "wxWindow_Destroy", (PyCFunction) _wrap_wxWindow_Destroy, METH_VARARGS | METH_KEYWORDS },
12420 { "wxWindow_Close", (PyCFunction) _wrap_wxWindow_Close, METH_VARARGS | METH_KEYWORDS },
12421 { "wxWindow_ClientToScreen", (PyCFunction) _wrap_wxWindow_ClientToScreen, METH_VARARGS | METH_KEYWORDS },
12422 { "wxWindow_ClientToScreenXY", (PyCFunction) _wrap_wxWindow_ClientToScreenXY, METH_VARARGS | METH_KEYWORDS },
12423 { "wxWindow_ClearBackground", (PyCFunction) _wrap_wxWindow_ClearBackground, METH_VARARGS | METH_KEYWORDS },
12424 { "wxWindow_CenterOnScreen", (PyCFunction) _wrap_wxWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS },
12425 { "wxWindow_CentreOnScreen", (PyCFunction) _wrap_wxWindow_CentreOnScreen, METH_VARARGS | METH_KEYWORDS },
12426 { "wxWindow_CenterOnParent", (PyCFunction) _wrap_wxWindow_CenterOnParent, METH_VARARGS | METH_KEYWORDS },
12427 { "wxWindow_CentreOnParent", (PyCFunction) _wrap_wxWindow_CentreOnParent, METH_VARARGS | METH_KEYWORDS },
12428 { "wxWindow_Centre", (PyCFunction) _wrap_wxWindow_Centre, METH_VARARGS | METH_KEYWORDS },
12429 { "wxWindow_Center", (PyCFunction) _wrap_wxWindow_Center, METH_VARARGS | METH_KEYWORDS },
12430 { "wxWindow_Create", (PyCFunction) _wrap_wxWindow_Create, METH_VARARGS | METH_KEYWORDS },
12431 { "new_wxPreWindow", (PyCFunction) _wrap_new_wxPreWindow, METH_VARARGS | METH_KEYWORDS },
12432 { "new_wxWindow", (PyCFunction) _wrap_new_wxWindow, METH_VARARGS | METH_KEYWORDS },
12433 { "wxPyValidator__setCallbackInfo", (PyCFunction) _wrap_wxPyValidator__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
12434 { "new_wxPyValidator", (PyCFunction) _wrap_new_wxPyValidator, METH_VARARGS | METH_KEYWORDS },
12435 { "wxValidator_SetBellOnError", (PyCFunction) _wrap_wxValidator_SetBellOnError, METH_VARARGS | METH_KEYWORDS },
12436 { "wxValidator_IsSilent", (PyCFunction) _wrap_wxValidator_IsSilent, METH_VARARGS | METH_KEYWORDS },
12437 { "wxValidator_SetWindow", (PyCFunction) _wrap_wxValidator_SetWindow, METH_VARARGS | METH_KEYWORDS },
12438 { "wxValidator_GetWindow", (PyCFunction) _wrap_wxValidator_GetWindow, METH_VARARGS | METH_KEYWORDS },
12439 { "wxValidator_Clone", (PyCFunction) _wrap_wxValidator_Clone, METH_VARARGS | METH_KEYWORDS },
12440 { "new_wxValidator", (PyCFunction) _wrap_new_wxValidator, METH_VARARGS | METH_KEYWORDS },
12441 { "wxEvtHandler__setOORInfo", (PyCFunction) _wrap_wxEvtHandler__setOORInfo, METH_VARARGS | METH_KEYWORDS },
12442 { "wxEvtHandler_Disconnect", (PyCFunction) _wrap_wxEvtHandler_Disconnect, METH_VARARGS | METH_KEYWORDS },
12443 { "wxEvtHandler_Connect", (PyCFunction) _wrap_wxEvtHandler_Connect, METH_VARARGS | METH_KEYWORDS },
12444 { "wxEvtHandler_SetPreviousHandler", (PyCFunction) _wrap_wxEvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
12445 { "wxEvtHandler_SetNextHandler", (PyCFunction) _wrap_wxEvtHandler_SetNextHandler, METH_VARARGS | METH_KEYWORDS },
12446 { "wxEvtHandler_GetPreviousHandler", (PyCFunction) _wrap_wxEvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
12447 { "wxEvtHandler_GetNextHandler", (PyCFunction) _wrap_wxEvtHandler_GetNextHandler, METH_VARARGS | METH_KEYWORDS },
12448 { "wxEvtHandler_SetEvtHandlerEnabled", (PyCFunction) _wrap_wxEvtHandler_SetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
12449 { "wxEvtHandler_GetEvtHandlerEnabled", (PyCFunction) _wrap_wxEvtHandler_GetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
12450 { "wxEvtHandler_AddPendingEvent", (PyCFunction) _wrap_wxEvtHandler_AddPendingEvent, METH_VARARGS | METH_KEYWORDS },
12451 { "wxEvtHandler_ProcessEvent", (PyCFunction) _wrap_wxEvtHandler_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
12452 { "new_wxEvtHandler", (PyCFunction) _wrap_new_wxEvtHandler, METH_VARARGS | METH_KEYWORDS },
12453 { "wxFindWindowByLabel", (PyCFunction) _wrap_wxFindWindowByLabel, METH_VARARGS | METH_KEYWORDS },
12454 { "wxFindWindowByName", (PyCFunction) _wrap_wxFindWindowByName, METH_VARARGS | METH_KEYWORDS },
12455 { "wxFindWindowById", (PyCFunction) _wrap_wxFindWindowById, METH_VARARGS | METH_KEYWORDS },
12456 { "wxWindow_FromHWND", (PyCFunction) _wrap_wxWindow_FromHWND, METH_VARARGS | METH_KEYWORDS },
12457 { NULL, NULL }
12458 };
12459 #ifdef __cplusplus
12460 }
12461 #endif
12462 /*
12463 * This table is used by the pointer type-checker
12464 */
12465 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
12466 { "_signed_long","_long",0},
12467 { "_wxPrintQuality","_wxCoord",0},
12468 { "_wxPrintQuality","_int",0},
12469 { "_wxPrintQuality","_signed_int",0},
12470 { "_wxPrintQuality","_unsigned_int",0},
12471 { "_wxPrintQuality","_wxWindowID",0},
12472 { "_wxPrintQuality","_uint",0},
12473 { "_wxPrintQuality","_EBool",0},
12474 { "_wxPrintQuality","_size_t",0},
12475 { "_wxPrintQuality","_time_t",0},
12476 { "_byte","_unsigned_char",0},
12477 { "_long","_unsigned_long",0},
12478 { "_long","_signed_long",0},
12479 { "_size_t","_wxCoord",0},
12480 { "_size_t","_wxPrintQuality",0},
12481 { "_size_t","_time_t",0},
12482 { "_size_t","_unsigned_int",0},
12483 { "_size_t","_int",0},
12484 { "_size_t","_wxWindowID",0},
12485 { "_size_t","_uint",0},
12486 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel},
12487 { "_uint","_wxCoord",0},
12488 { "_uint","_wxPrintQuality",0},
12489 { "_uint","_time_t",0},
12490 { "_uint","_size_t",0},
12491 { "_uint","_unsigned_int",0},
12492 { "_uint","_int",0},
12493 { "_uint","_wxWindowID",0},
12494 { "_wxChar","_char",0},
12495 { "_char","_wxChar",0},
12496 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
12497 { "_EBool","_wxCoord",0},
12498 { "_EBool","_wxPrintQuality",0},
12499 { "_EBool","_signed_int",0},
12500 { "_EBool","_int",0},
12501 { "_EBool","_wxWindowID",0},
12502 { "_unsigned_long","_long",0},
12503 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
12504 { "_signed_int","_wxCoord",0},
12505 { "_signed_int","_wxPrintQuality",0},
12506 { "_signed_int","_EBool",0},
12507 { "_signed_int","_wxWindowID",0},
12508 { "_signed_int","_int",0},
12509 { "_WXTYPE","_short",0},
12510 { "_WXTYPE","_signed_short",0},
12511 { "_WXTYPE","_unsigned_short",0},
12512 { "_unsigned_short","_WXTYPE",0},
12513 { "_unsigned_short","_short",0},
12514 { "_wxObject","_wxMenuItem",SwigwxMenuItemTowxObject},
12515 { "_wxObject","_wxMenuBar",SwigwxMenuBarTowxObject},
12516 { "_wxObject","_wxMenu",SwigwxMenuTowxObject},
12517 { "_wxObject","_wxScrolledWindow",SwigwxScrolledWindowTowxObject},
12518 { "_wxObject","_wxPanel",SwigwxPanelTowxObject},
12519 { "_wxObject","_wxWindow",SwigwxWindowTowxObject},
12520 { "_wxObject","_wxPyValidator",SwigwxPyValidatorTowxObject},
12521 { "_wxObject","_wxValidator",SwigwxValidatorTowxObject},
12522 { "_wxObject","_wxEvtHandler",SwigwxEvtHandlerTowxObject},
12523 { "_signed_short","_WXTYPE",0},
12524 { "_signed_short","_short",0},
12525 { "_unsigned_char","_byte",0},
12526 { "_unsigned_int","_wxCoord",0},
12527 { "_unsigned_int","_wxPrintQuality",0},
12528 { "_unsigned_int","_time_t",0},
12529 { "_unsigned_int","_size_t",0},
12530 { "_unsigned_int","_uint",0},
12531 { "_unsigned_int","_wxWindowID",0},
12532 { "_unsigned_int","_int",0},
12533 { "_short","_WXTYPE",0},
12534 { "_short","_unsigned_short",0},
12535 { "_short","_signed_short",0},
12536 { "_wxWindowID","_wxCoord",0},
12537 { "_wxWindowID","_wxPrintQuality",0},
12538 { "_wxWindowID","_time_t",0},
12539 { "_wxWindowID","_size_t",0},
12540 { "_wxWindowID","_EBool",0},
12541 { "_wxWindowID","_uint",0},
12542 { "_wxWindowID","_int",0},
12543 { "_wxWindowID","_signed_int",0},
12544 { "_wxWindowID","_unsigned_int",0},
12545 { "_int","_wxCoord",0},
12546 { "_int","_wxPrintQuality",0},
12547 { "_int","_time_t",0},
12548 { "_int","_size_t",0},
12549 { "_int","_EBool",0},
12550 { "_int","_uint",0},
12551 { "_int","_wxWindowID",0},
12552 { "_int","_unsigned_int",0},
12553 { "_int","_signed_int",0},
12554 { "_time_t","_wxCoord",0},
12555 { "_time_t","_wxPrintQuality",0},
12556 { "_time_t","_unsigned_int",0},
12557 { "_time_t","_int",0},
12558 { "_time_t","_wxWindowID",0},
12559 { "_time_t","_uint",0},
12560 { "_time_t","_size_t",0},
12561 { "_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator},
12562 { "_wxCoord","_int",0},
12563 { "_wxCoord","_signed_int",0},
12564 { "_wxCoord","_unsigned_int",0},
12565 { "_wxCoord","_wxWindowID",0},
12566 { "_wxCoord","_uint",0},
12567 { "_wxCoord","_EBool",0},
12568 { "_wxCoord","_size_t",0},
12569 { "_wxCoord","_time_t",0},
12570 { "_wxCoord","_wxPrintQuality",0},
12571 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler},
12572 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler},
12573 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler},
12574 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler},
12575 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler},
12576 { "_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler},
12577 { "_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler},
12578 { "_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow},
12579 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow},
12580 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow},
12581 {0,0,0}};
12582
12583 static PyObject *SWIG_globals;
12584 #ifdef __cplusplus
12585 extern "C"
12586 #endif
12587 SWIGEXPORT(void) initwindowsc() {
12588 PyObject *m, *d;
12589 SWIG_globals = SWIG_newvarlink();
12590 m = Py_InitModule("windowsc", windowscMethods);
12591 d = PyModule_GetDict(m);
12592 {
12593 int i;
12594 for (i = 0; _swig_mapping[i].n1; i++)
12595 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
12596 }
12597 }