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