]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/gtk/windows.cpp
*** empty log message ***
[wxWidgets.git] / utils / wxPython / src / gtk / windows.cpp
1 /*
2 * FILE : gtk/windows.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 6)
7 *
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18 #define SWIGCODE
19 /* Implementation : PYTHON */
20
21 #define SWIGPYTHON
22 #include <string.h>
23 #include <stdlib.h>
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
28 # else
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
31 # else
32 # define SWIGEXPORT(a) a
33 # endif
34 # endif
35 #else
36 # define SWIGEXPORT(a) a
37 #endif
38
39 #ifdef __cplusplus
40 extern "C" {
41 #endif
42 #include "Python.h"
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
47 extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
48 extern PyObject *SWIG_newvarlink(void);
49 #ifdef __cplusplus
50 }
51 #endif
52 #define SWIG_init initwindowsc
53
54 #define SWIG_name "windowsc"
55
56 #include "helpers.h"
57 #include <wx/menuitem.h>
58
59 static PyObject* l_output_helper(PyObject* target, PyObject* o) {
60 PyObject* o2;
61 PyObject* o3;
62 if (!target) {
63 target = o;
64 } else if (target == Py_None) {
65 Py_DECREF(Py_None);
66 target = o;
67 } else {
68 if (!PyList_Check(target)) {
69 o2 = target;
70 target = PyList_New(0);
71 PyList_Append(target, o2);
72 Py_XDECREF(o2);
73 }
74 PyList_Append(target,o);
75 Py_XDECREF(o);
76 }
77 return target;
78 }
79
80 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
81 PyObject* o2;
82 PyObject* o3;
83
84 if (!target) {
85 target = o;
86 } else if (target == Py_None) {
87 Py_DECREF(Py_None);
88 target = o;
89 } else {
90 if (!PyTuple_Check(target)) {
91 o2 = target;
92 target = PyTuple_New(1);
93 PyTuple_SetItem(target, 0, o2);
94 }
95 o3 = PyTuple_New(1);
96 PyTuple_SetItem(o3, 0, o);
97
98 o2 = target;
99 target = PySequence_Concat(o2, o3);
100 Py_DECREF(o2);
101 Py_DECREF(o3);
102 }
103 return target;
104 }
105
106
107 extern byte* byte_LIST_helper(PyObject* source);
108 extern int* int_LIST_helper(PyObject* source);
109 extern long* long_LIST_helper(PyObject* source);
110 extern char** string_LIST_helper(PyObject* source);
111 extern wxPoint* wxPoint_LIST_helper(PyObject* source);
112 extern wxBitmap** wxBitmap_LIST_helper(PyObject* source);
113 extern wxString* wxString_LIST_helper(PyObject* source);
114 extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
115
116
117 static char* wxStringErrorMsg = "string type is required for parameter";
118 #ifdef __cplusplus
119 extern "C" {
120 #endif
121 #define wxEvtHandler_ProcessEvent(_swigobj,_swigarg0) (_swigobj->ProcessEvent(_swigarg0))
122 static PyObject *_wrap_wxEvtHandler_ProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
123 PyObject * _resultobj;
124 bool _result;
125 wxEvtHandler * _arg0;
126 wxEvent * _arg1;
127 PyObject * _argo0 = 0;
128 PyObject * _argo1 = 0;
129 char *_kwnames[] = { "self","event", NULL };
130
131 self = self;
132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEvtHandler_ProcessEvent",_kwnames,&_argo0,&_argo1))
133 return NULL;
134 if (_argo0) {
135 if (_argo0 == Py_None) { _arg0 = NULL; }
136 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
137 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_ProcessEvent. Expected _wxEvtHandler_p.");
138 return NULL;
139 }
140 }
141 if (_argo1) {
142 if (_argo1 == Py_None) { _arg1 = NULL; }
143 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvent_p")) {
144 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxEvtHandler_ProcessEvent. Expected _wxEvent_p.");
145 return NULL;
146 }
147 }
148 {
149 wxPy_BEGIN_ALLOW_THREADS;
150 _result = (bool )wxEvtHandler_ProcessEvent(_arg0,*_arg1);
151
152 wxPy_END_ALLOW_THREADS;
153 } _resultobj = Py_BuildValue("i",_result);
154 return _resultobj;
155 }
156
157 static void wxEvtHandler_Connect(wxEvtHandler *self,int id,int lastId,int eventType,PyObject * func) {
158 if (PyCallable_Check(func)) {
159 self->Connect(id, lastId, eventType,
160 (wxObjectEventFunction) &wxPyCallback::EventThunker,
161 new wxPyCallback(func));
162 }
163 }
164 static PyObject *_wrap_wxEvtHandler_Connect(PyObject *self, PyObject *args, PyObject *kwargs) {
165 PyObject * _resultobj;
166 wxEvtHandler * _arg0;
167 int _arg1;
168 int _arg2;
169 int _arg3;
170 PyObject * _arg4;
171 PyObject * _argo0 = 0;
172 PyObject * _obj4 = 0;
173 char *_kwnames[] = { "self","id","lastId","eventType","func", NULL };
174
175 self = self;
176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiiO:wxEvtHandler_Connect",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_obj4))
177 return NULL;
178 if (_argo0) {
179 if (_argo0 == Py_None) { _arg0 = NULL; }
180 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
181 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
182 return NULL;
183 }
184 }
185 {
186 _arg4 = _obj4;
187 }
188 {
189 wxPy_BEGIN_ALLOW_THREADS;
190 wxEvtHandler_Connect(_arg0,_arg1,_arg2,_arg3,_arg4);
191
192 wxPy_END_ALLOW_THREADS;
193 } Py_INCREF(Py_None);
194 _resultobj = Py_None;
195 return _resultobj;
196 }
197
198 static void *SwigwxWindowTowxEvtHandler(void *ptr) {
199 wxWindow *src;
200 wxEvtHandler *dest;
201 src = (wxWindow *) ptr;
202 dest = (wxEvtHandler *) src;
203 return (void *) dest;
204 }
205
206 #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
207 static PyObject *_wrap_new_wxWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
208 PyObject * _resultobj;
209 wxWindow * _result;
210 wxWindow * _arg0;
211 wxWindowID _arg1;
212 wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition;
213 wxSize * _arg3 = (wxSize *) &wxPyDefaultSize;
214 long _arg4 = (long ) 0;
215 char * _arg5 = (char *) "panel";
216 PyObject * _argo0 = 0;
217 PyObject * _argo2 = 0;
218 PyObject * _argo3 = 0;
219 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
220 char _ptemp[128];
221
222 self = self;
223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxWindow",_kwnames,&_argo0,&_arg1,&_argo2,&_argo3,&_arg4,&_arg5))
224 return NULL;
225 if (_argo0) {
226 if (_argo0 == Py_None) { _arg0 = NULL; }
227 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
228 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
229 return NULL;
230 }
231 }
232 if (_argo2) {
233 if (_argo2 == Py_None) { _arg2 = NULL; }
234 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPoint_p")) {
235 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxWindow. Expected _wxPoint_p.");
236 return NULL;
237 }
238 }
239 if (_argo3) {
240 if (_argo3 == Py_None) { _arg3 = NULL; }
241 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxSize_p")) {
242 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxWindow. Expected _wxSize_p.");
243 return NULL;
244 }
245 }
246 {
247 wxPy_BEGIN_ALLOW_THREADS;
248 _result = (wxWindow *)new_wxWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
249
250 wxPy_END_ALLOW_THREADS;
251 } if (_result) {
252 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
253 _resultobj = Py_BuildValue("s",_ptemp);
254 } else {
255 Py_INCREF(Py_None);
256 _resultobj = Py_None;
257 }
258 return _resultobj;
259 }
260
261 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
262 static PyObject *_wrap_wxWindow_CaptureMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
263 PyObject * _resultobj;
264 wxWindow * _arg0;
265 PyObject * _argo0 = 0;
266 char *_kwnames[] = { "self", NULL };
267
268 self = self;
269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_CaptureMouse",_kwnames,&_argo0))
270 return NULL;
271 if (_argo0) {
272 if (_argo0 == Py_None) { _arg0 = NULL; }
273 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
274 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
275 return NULL;
276 }
277 }
278 {
279 wxPy_BEGIN_ALLOW_THREADS;
280 wxWindow_CaptureMouse(_arg0);
281
282 wxPy_END_ALLOW_THREADS;
283 } Py_INCREF(Py_None);
284 _resultobj = Py_None;
285 return _resultobj;
286 }
287
288 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
289 static PyObject *_wrap_wxWindow_Center(PyObject *self, PyObject *args, PyObject *kwargs) {
290 PyObject * _resultobj;
291 wxWindow * _arg0;
292 int _arg1 = (int ) wxBOTH;
293 PyObject * _argo0 = 0;
294 char *_kwnames[] = { "self","direction", NULL };
295
296 self = self;
297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_Center",_kwnames,&_argo0,&_arg1))
298 return NULL;
299 if (_argo0) {
300 if (_argo0 == Py_None) { _arg0 = NULL; }
301 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
302 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
303 return NULL;
304 }
305 }
306 {
307 wxPy_BEGIN_ALLOW_THREADS;
308 wxWindow_Center(_arg0,_arg1);
309
310 wxPy_END_ALLOW_THREADS;
311 } Py_INCREF(Py_None);
312 _resultobj = Py_None;
313 return _resultobj;
314 }
315
316 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
317 static PyObject *_wrap_wxWindow_Centre(PyObject *self, PyObject *args, PyObject *kwargs) {
318 PyObject * _resultobj;
319 wxWindow * _arg0;
320 int _arg1 = (int ) wxBOTH;
321 PyObject * _argo0 = 0;
322 char *_kwnames[] = { "self","direction", NULL };
323
324 self = self;
325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_Centre",_kwnames,&_argo0,&_arg1))
326 return NULL;
327 if (_argo0) {
328 if (_argo0 == Py_None) { _arg0 = NULL; }
329 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
330 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
331 return NULL;
332 }
333 }
334 {
335 wxPy_BEGIN_ALLOW_THREADS;
336 wxWindow_Centre(_arg0,_arg1);
337
338 wxPy_END_ALLOW_THREADS;
339 } Py_INCREF(Py_None);
340 _resultobj = Py_None;
341 return _resultobj;
342 }
343
344 #define wxWindow_CentreOnParent(_swigobj,_swigarg0) (_swigobj->CentreOnParent(_swigarg0))
345 static PyObject *_wrap_wxWindow_CentreOnParent(PyObject *self, PyObject *args, PyObject *kwargs) {
346 PyObject * _resultobj;
347 wxWindow * _arg0;
348 int _arg1 = (int ) wxBOTH;
349 PyObject * _argo0 = 0;
350 char *_kwnames[] = { "self","direction", NULL };
351
352 self = self;
353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_CentreOnParent",_kwnames,&_argo0,&_arg1))
354 return NULL;
355 if (_argo0) {
356 if (_argo0 == Py_None) { _arg0 = NULL; }
357 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
358 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_CentreOnParent. Expected _wxWindow_p.");
359 return NULL;
360 }
361 }
362 {
363 wxPy_BEGIN_ALLOW_THREADS;
364 wxWindow_CentreOnParent(_arg0,_arg1);
365
366 wxPy_END_ALLOW_THREADS;
367 } Py_INCREF(Py_None);
368 _resultobj = Py_None;
369 return _resultobj;
370 }
371
372 #define wxWindow_CenterOnParent(_swigobj,_swigarg0) (_swigobj->CenterOnParent(_swigarg0))
373 static PyObject *_wrap_wxWindow_CenterOnParent(PyObject *self, PyObject *args, PyObject *kwargs) {
374 PyObject * _resultobj;
375 wxWindow * _arg0;
376 int _arg1 = (int ) wxBOTH;
377 PyObject * _argo0 = 0;
378 char *_kwnames[] = { "self","direction", NULL };
379
380 self = self;
381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_CenterOnParent",_kwnames,&_argo0,&_arg1))
382 return NULL;
383 if (_argo0) {
384 if (_argo0 == Py_None) { _arg0 = NULL; }
385 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
386 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_CenterOnParent. Expected _wxWindow_p.");
387 return NULL;
388 }
389 }
390 {
391 wxPy_BEGIN_ALLOW_THREADS;
392 wxWindow_CenterOnParent(_arg0,_arg1);
393
394 wxPy_END_ALLOW_THREADS;
395 } Py_INCREF(Py_None);
396 _resultobj = Py_None;
397 return _resultobj;
398 }
399
400 #define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
401 static PyObject *_wrap_wxWindow_ClientToScreenXY(PyObject *self, PyObject *args, PyObject *kwargs) {
402 PyObject * _resultobj;
403 wxWindow * _arg0;
404 int * _arg1;
405 int * _arg2;
406 PyObject * _argo0 = 0;
407 int temp;
408 PyObject * _obj1 = 0;
409 int temp0;
410 PyObject * _obj2 = 0;
411 char *_kwnames[] = { "self","x","y", NULL };
412
413 self = self;
414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxWindow_ClientToScreenXY",_kwnames,&_argo0,&_obj1,&_obj2))
415 return NULL;
416 if (_argo0) {
417 if (_argo0 == Py_None) { _arg0 = NULL; }
418 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
419 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
420 return NULL;
421 }
422 }
423 {
424 temp = (int) PyInt_AsLong(_obj1);
425 _arg1 = &temp;
426 }
427 {
428 temp0 = (int) PyInt_AsLong(_obj2);
429 _arg2 = &temp0;
430 }
431 {
432 wxPy_BEGIN_ALLOW_THREADS;
433 wxWindow_ClientToScreenXY(_arg0,_arg1,_arg2);
434
435 wxPy_END_ALLOW_THREADS;
436 } Py_INCREF(Py_None);
437 _resultobj = Py_None;
438 {
439 PyObject *o;
440 o = PyInt_FromLong((long) (*_arg1));
441 _resultobj = t_output_helper(_resultobj, o);
442 }
443 {
444 PyObject *o;
445 o = PyInt_FromLong((long) (*_arg2));
446 _resultobj = t_output_helper(_resultobj, o);
447 }
448 return _resultobj;
449 }
450
451 #define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
452 static PyObject *_wrap_wxWindow_ClientToScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
453 PyObject * _resultobj;
454 wxPoint * _result;
455 wxWindow * _arg0;
456 wxPoint * _arg1;
457 PyObject * _argo0 = 0;
458 PyObject * _argo1 = 0;
459 char *_kwnames[] = { "self","pt", NULL };
460 char _ptemp[128];
461
462 self = self;
463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ClientToScreen",_kwnames,&_argo0,&_argo1))
464 return NULL;
465 if (_argo0) {
466 if (_argo0 == Py_None) { _arg0 = NULL; }
467 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
468 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
469 return NULL;
470 }
471 }
472 if (_argo1) {
473 if (_argo1 == Py_None) { _arg1 = NULL; }
474 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPoint_p")) {
475 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_ClientToScreen. Expected _wxPoint_p.");
476 return NULL;
477 }
478 }
479 {
480 wxPy_BEGIN_ALLOW_THREADS;
481 _result = new wxPoint (wxWindow_ClientToScreen(_arg0,*_arg1));
482
483 wxPy_END_ALLOW_THREADS;
484 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
485 _resultobj = Py_BuildValue("s",_ptemp);
486 return _resultobj;
487 }
488
489 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
490 static PyObject *_wrap_wxWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
491 PyObject * _resultobj;
492 bool _result;
493 wxWindow * _arg0;
494 int _arg1 = (int ) FALSE;
495 PyObject * _argo0 = 0;
496 char *_kwnames[] = { "self","force", NULL };
497
498 self = self;
499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_Close",_kwnames,&_argo0,&_arg1))
500 return NULL;
501 if (_argo0) {
502 if (_argo0 == Py_None) { _arg0 = NULL; }
503 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
504 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
505 return NULL;
506 }
507 }
508 {
509 wxPy_BEGIN_ALLOW_THREADS;
510 _result = (bool )wxWindow_Close(_arg0,_arg1);
511
512 wxPy_END_ALLOW_THREADS;
513 } _resultobj = Py_BuildValue("i",_result);
514 return _resultobj;
515 }
516
517 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
518 static PyObject *_wrap_wxWindow_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
519 PyObject * _resultobj;
520 bool _result;
521 wxWindow * _arg0;
522 PyObject * _argo0 = 0;
523 char *_kwnames[] = { "self", NULL };
524
525 self = self;
526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Destroy",_kwnames,&_argo0))
527 return NULL;
528 if (_argo0) {
529 if (_argo0 == Py_None) { _arg0 = NULL; }
530 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
531 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
532 return NULL;
533 }
534 }
535 {
536 wxPy_BEGIN_ALLOW_THREADS;
537 _result = (bool )wxWindow_Destroy(_arg0);
538
539 wxPy_END_ALLOW_THREADS;
540 } _resultobj = Py_BuildValue("i",_result);
541 return _resultobj;
542 }
543
544 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
545 static PyObject *_wrap_wxWindow_DestroyChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
546 PyObject * _resultobj;
547 wxWindow * _arg0;
548 PyObject * _argo0 = 0;
549 char *_kwnames[] = { "self", NULL };
550
551 self = self;
552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_DestroyChildren",_kwnames,&_argo0))
553 return NULL;
554 if (_argo0) {
555 if (_argo0 == Py_None) { _arg0 = NULL; }
556 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
557 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
558 return NULL;
559 }
560 }
561 {
562 wxPy_BEGIN_ALLOW_THREADS;
563 wxWindow_DestroyChildren(_arg0);
564
565 wxPy_END_ALLOW_THREADS;
566 } Py_INCREF(Py_None);
567 _resultobj = Py_None;
568 return _resultobj;
569 }
570
571 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
572 static PyObject *_wrap_wxWindow_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
573 PyObject * _resultobj;
574 wxWindow * _arg0;
575 bool _arg1;
576 PyObject * _argo0 = 0;
577 int tempbool1;
578 char *_kwnames[] = { "self","enable", NULL };
579
580 self = self;
581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_Enable",_kwnames,&_argo0,&tempbool1))
582 return NULL;
583 if (_argo0) {
584 if (_argo0 == Py_None) { _arg0 = NULL; }
585 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
586 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
587 return NULL;
588 }
589 }
590 _arg1 = (bool ) tempbool1;
591 {
592 wxPy_BEGIN_ALLOW_THREADS;
593 wxWindow_Enable(_arg0,_arg1);
594
595 wxPy_END_ALLOW_THREADS;
596 } Py_INCREF(Py_None);
597 _resultobj = Py_None;
598 return _resultobj;
599 }
600
601 #define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
602 static PyObject *_wrap_wxWindow_FindWindowById(PyObject *self, PyObject *args, PyObject *kwargs) {
603 PyObject * _resultobj;
604 wxWindow * _result;
605 wxWindow * _arg0;
606 long _arg1;
607 PyObject * _argo0 = 0;
608 char *_kwnames[] = { "self","id", NULL };
609 char _ptemp[128];
610
611 self = self;
612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxWindow_FindWindowById",_kwnames,&_argo0,&_arg1))
613 return NULL;
614 if (_argo0) {
615 if (_argo0 == Py_None) { _arg0 = NULL; }
616 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
617 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
618 return NULL;
619 }
620 }
621 {
622 wxPy_BEGIN_ALLOW_THREADS;
623 _result = (wxWindow *)wxWindow_FindWindowById(_arg0,_arg1);
624
625 wxPy_END_ALLOW_THREADS;
626 } if (_result) {
627 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
628 _resultobj = Py_BuildValue("s",_ptemp);
629 } else {
630 Py_INCREF(Py_None);
631 _resultobj = Py_None;
632 }
633 return _resultobj;
634 }
635
636 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
637 static PyObject *_wrap_wxWindow_FindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
638 PyObject * _resultobj;
639 wxWindow * _result;
640 wxWindow * _arg0;
641 wxString * _arg1;
642 PyObject * _argo0 = 0;
643 PyObject * _obj1 = 0;
644 char *_kwnames[] = { "self","name", NULL };
645 char _ptemp[128];
646
647 self = self;
648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_FindWindowByName",_kwnames,&_argo0,&_obj1))
649 return NULL;
650 if (_argo0) {
651 if (_argo0 == Py_None) { _arg0 = NULL; }
652 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
653 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
654 return NULL;
655 }
656 }
657 {
658 if (!PyString_Check(_obj1)) {
659 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
660 return NULL;
661 }
662 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
663 }
664 {
665 wxPy_BEGIN_ALLOW_THREADS;
666 _result = (wxWindow *)wxWindow_FindWindowByName(_arg0,*_arg1);
667
668 wxPy_END_ALLOW_THREADS;
669 } if (_result) {
670 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
671 _resultobj = Py_BuildValue("s",_ptemp);
672 } else {
673 Py_INCREF(Py_None);
674 _resultobj = Py_None;
675 }
676 {
677 if (_obj1)
678 delete _arg1;
679 }
680 return _resultobj;
681 }
682
683 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
684 static PyObject *_wrap_wxWindow_Fit(PyObject *self, PyObject *args, PyObject *kwargs) {
685 PyObject * _resultobj;
686 wxWindow * _arg0;
687 PyObject * _argo0 = 0;
688 char *_kwnames[] = { "self", NULL };
689
690 self = self;
691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Fit",_kwnames,&_argo0))
692 return NULL;
693 if (_argo0) {
694 if (_argo0 == Py_None) { _arg0 = NULL; }
695 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
696 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
697 return NULL;
698 }
699 }
700 {
701 wxPy_BEGIN_ALLOW_THREADS;
702 wxWindow_Fit(_arg0);
703
704 wxPy_END_ALLOW_THREADS;
705 } Py_INCREF(Py_None);
706 _resultobj = Py_None;
707 return _resultobj;
708 }
709
710 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
711 static PyObject *_wrap_wxWindow_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
712 PyObject * _resultobj;
713 wxColour * _result;
714 wxWindow * _arg0;
715 PyObject * _argo0 = 0;
716 char *_kwnames[] = { "self", NULL };
717 char _ptemp[128];
718
719 self = self;
720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetBackgroundColour",_kwnames,&_argo0))
721 return NULL;
722 if (_argo0) {
723 if (_argo0 == Py_None) { _arg0 = NULL; }
724 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
725 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
726 return NULL;
727 }
728 }
729 {
730 wxPy_BEGIN_ALLOW_THREADS;
731 _result = new wxColour (wxWindow_GetBackgroundColour(_arg0));
732
733 wxPy_END_ALLOW_THREADS;
734 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
735 _resultobj = Py_BuildValue("s",_ptemp);
736 return _resultobj;
737 }
738
739 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
740 static PyObject *_wrap_wxWindow_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
741 PyObject * _resultobj;
742 int _result;
743 wxWindow * _arg0;
744 PyObject * _argo0 = 0;
745 char *_kwnames[] = { "self", NULL };
746
747 self = self;
748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetCharHeight",_kwnames,&_argo0))
749 return NULL;
750 if (_argo0) {
751 if (_argo0 == Py_None) { _arg0 = NULL; }
752 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
753 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
754 return NULL;
755 }
756 }
757 {
758 wxPy_BEGIN_ALLOW_THREADS;
759 _result = (int )wxWindow_GetCharHeight(_arg0);
760
761 wxPy_END_ALLOW_THREADS;
762 } _resultobj = Py_BuildValue("i",_result);
763 return _resultobj;
764 }
765
766 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
767 static PyObject *_wrap_wxWindow_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
768 PyObject * _resultobj;
769 int _result;
770 wxWindow * _arg0;
771 PyObject * _argo0 = 0;
772 char *_kwnames[] = { "self", NULL };
773
774 self = self;
775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetCharWidth",_kwnames,&_argo0))
776 return NULL;
777 if (_argo0) {
778 if (_argo0 == Py_None) { _arg0 = NULL; }
779 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
780 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
781 return NULL;
782 }
783 }
784 {
785 wxPy_BEGIN_ALLOW_THREADS;
786 _result = (int )wxWindow_GetCharWidth(_arg0);
787
788 wxPy_END_ALLOW_THREADS;
789 } _resultobj = Py_BuildValue("i",_result);
790 return _resultobj;
791 }
792
793 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
794 static PyObject *_wrap_wxWindow_GetClientSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
795 PyObject * _resultobj;
796 wxWindow * _arg0;
797 int * _arg1;
798 int temp;
799 int * _arg2;
800 int temp0;
801 PyObject * _argo0 = 0;
802 char *_kwnames[] = { "self", NULL };
803
804 self = self;
805 {
806 _arg1 = &temp;
807 }
808 {
809 _arg2 = &temp0;
810 }
811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetClientSizeTuple",_kwnames,&_argo0))
812 return NULL;
813 if (_argo0) {
814 if (_argo0 == Py_None) { _arg0 = NULL; }
815 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
816 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
817 return NULL;
818 }
819 }
820 {
821 wxPy_BEGIN_ALLOW_THREADS;
822 wxWindow_GetClientSizeTuple(_arg0,_arg1,_arg2);
823
824 wxPy_END_ALLOW_THREADS;
825 } Py_INCREF(Py_None);
826 _resultobj = Py_None;
827 {
828 PyObject *o;
829 o = PyInt_FromLong((long) (*_arg1));
830 _resultobj = t_output_helper(_resultobj, o);
831 }
832 {
833 PyObject *o;
834 o = PyInt_FromLong((long) (*_arg2));
835 _resultobj = t_output_helper(_resultobj, o);
836 }
837 return _resultobj;
838 }
839
840 #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
841 static PyObject *_wrap_wxWindow_GetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
842 PyObject * _resultobj;
843 wxSize * _result;
844 wxWindow * _arg0;
845 PyObject * _argo0 = 0;
846 char *_kwnames[] = { "self", NULL };
847 char _ptemp[128];
848
849 self = self;
850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetClientSize",_kwnames,&_argo0))
851 return NULL;
852 if (_argo0) {
853 if (_argo0 == Py_None) { _arg0 = NULL; }
854 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
855 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
856 return NULL;
857 }
858 }
859 {
860 wxPy_BEGIN_ALLOW_THREADS;
861 _result = new wxSize (wxWindow_GetClientSize(_arg0));
862
863 wxPy_END_ALLOW_THREADS;
864 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
865 _resultobj = Py_BuildValue("s",_ptemp);
866 return _resultobj;
867 }
868
869 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
870 static PyObject *_wrap_wxWindow_GetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
871 PyObject * _resultobj;
872 wxLayoutConstraints * _result;
873 wxWindow * _arg0;
874 PyObject * _argo0 = 0;
875 char *_kwnames[] = { "self", NULL };
876 char _ptemp[128];
877
878 self = self;
879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetConstraints",_kwnames,&_argo0))
880 return NULL;
881 if (_argo0) {
882 if (_argo0 == Py_None) { _arg0 = NULL; }
883 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
884 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
885 return NULL;
886 }
887 }
888 {
889 wxPy_BEGIN_ALLOW_THREADS;
890 _result = (wxLayoutConstraints *)wxWindow_GetConstraints(_arg0);
891
892 wxPy_END_ALLOW_THREADS;
893 } if (_result) {
894 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLayoutConstraints_p");
895 _resultobj = Py_BuildValue("s",_ptemp);
896 } else {
897 Py_INCREF(Py_None);
898 _resultobj = Py_None;
899 }
900 return _resultobj;
901 }
902
903 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
904 static PyObject *_wrap_wxWindow_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
905 PyObject * _resultobj;
906 wxFont * _result;
907 wxWindow * _arg0;
908 PyObject * _argo0 = 0;
909 char *_kwnames[] = { "self", NULL };
910 char _ptemp[128];
911
912 self = self;
913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetFont",_kwnames,&_argo0))
914 return NULL;
915 if (_argo0) {
916 if (_argo0 == Py_None) { _arg0 = NULL; }
917 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
918 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
919 return NULL;
920 }
921 }
922 {
923 wxPy_BEGIN_ALLOW_THREADS;
924 wxFont & _result_ref = wxWindow_GetFont(_arg0);
925 _result = (wxFont *) &_result_ref;
926
927 wxPy_END_ALLOW_THREADS;
928 } if (_result) {
929 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
930 _resultobj = Py_BuildValue("s",_ptemp);
931 } else {
932 Py_INCREF(Py_None);
933 _resultobj = Py_None;
934 }
935 return _resultobj;
936 }
937
938 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
939 static PyObject *_wrap_wxWindow_GetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
940 PyObject * _resultobj;
941 wxColour * _result;
942 wxWindow * _arg0;
943 PyObject * _argo0 = 0;
944 char *_kwnames[] = { "self", NULL };
945 char _ptemp[128];
946
947 self = self;
948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetForegroundColour",_kwnames,&_argo0))
949 return NULL;
950 if (_argo0) {
951 if (_argo0 == Py_None) { _arg0 = NULL; }
952 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
953 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
954 return NULL;
955 }
956 }
957 {
958 wxPy_BEGIN_ALLOW_THREADS;
959 _result = new wxColour (wxWindow_GetForegroundColour(_arg0));
960
961 wxPy_END_ALLOW_THREADS;
962 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
963 _resultobj = Py_BuildValue("s",_ptemp);
964 return _resultobj;
965 }
966
967 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
968 static PyObject *_wrap_wxWindow_GetGrandParent(PyObject *self, PyObject *args, PyObject *kwargs) {
969 PyObject * _resultobj;
970 wxWindow * _result;
971 wxWindow * _arg0;
972 PyObject * _argo0 = 0;
973 char *_kwnames[] = { "self", NULL };
974 char _ptemp[128];
975
976 self = self;
977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetGrandParent",_kwnames,&_argo0))
978 return NULL;
979 if (_argo0) {
980 if (_argo0 == Py_None) { _arg0 = NULL; }
981 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
982 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
983 return NULL;
984 }
985 }
986 {
987 wxPy_BEGIN_ALLOW_THREADS;
988 _result = (wxWindow *)wxWindow_GetGrandParent(_arg0);
989
990 wxPy_END_ALLOW_THREADS;
991 } if (_result) {
992 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
993 _resultobj = Py_BuildValue("s",_ptemp);
994 } else {
995 Py_INCREF(Py_None);
996 _resultobj = Py_None;
997 }
998 return _resultobj;
999 }
1000
1001 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
1002 static PyObject *_wrap_wxWindow_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
1003 PyObject * _resultobj;
1004 int _result;
1005 wxWindow * _arg0;
1006 PyObject * _argo0 = 0;
1007 char *_kwnames[] = { "self", NULL };
1008
1009 self = self;
1010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetId",_kwnames,&_argo0))
1011 return NULL;
1012 if (_argo0) {
1013 if (_argo0 == Py_None) { _arg0 = NULL; }
1014 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1015 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
1016 return NULL;
1017 }
1018 }
1019 {
1020 wxPy_BEGIN_ALLOW_THREADS;
1021 _result = (int )wxWindow_GetId(_arg0);
1022
1023 wxPy_END_ALLOW_THREADS;
1024 } _resultobj = Py_BuildValue("i",_result);
1025 return _resultobj;
1026 }
1027
1028 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
1029 static PyObject *_wrap_wxWindow_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1030 PyObject * _resultobj;
1031 wxString * _result;
1032 wxWindow * _arg0;
1033 PyObject * _argo0 = 0;
1034 char *_kwnames[] = { "self", NULL };
1035
1036 self = self;
1037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetLabel",_kwnames,&_argo0))
1038 return NULL;
1039 if (_argo0) {
1040 if (_argo0 == Py_None) { _arg0 = NULL; }
1041 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1042 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
1043 return NULL;
1044 }
1045 }
1046 {
1047 wxPy_BEGIN_ALLOW_THREADS;
1048 _result = new wxString (wxWindow_GetLabel(_arg0));
1049
1050 wxPy_END_ALLOW_THREADS;
1051 }{
1052 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
1053 }
1054 {
1055 delete _result;
1056 }
1057 return _resultobj;
1058 }
1059
1060 #define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
1061 static PyObject *_wrap_wxWindow_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1062 PyObject * _resultobj;
1063 wxWindow * _arg0;
1064 wxString * _arg1;
1065 PyObject * _argo0 = 0;
1066 PyObject * _obj1 = 0;
1067 char *_kwnames[] = { "self","label", NULL };
1068
1069 self = self;
1070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetLabel",_kwnames,&_argo0,&_obj1))
1071 return NULL;
1072 if (_argo0) {
1073 if (_argo0 == Py_None) { _arg0 = NULL; }
1074 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1075 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
1076 return NULL;
1077 }
1078 }
1079 {
1080 if (!PyString_Check(_obj1)) {
1081 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1082 return NULL;
1083 }
1084 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
1085 }
1086 {
1087 wxPy_BEGIN_ALLOW_THREADS;
1088 wxWindow_SetLabel(_arg0,*_arg1);
1089
1090 wxPy_END_ALLOW_THREADS;
1091 } Py_INCREF(Py_None);
1092 _resultobj = Py_None;
1093 {
1094 if (_obj1)
1095 delete _arg1;
1096 }
1097 return _resultobj;
1098 }
1099
1100 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
1101 static PyObject *_wrap_wxWindow_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
1102 PyObject * _resultobj;
1103 wxString * _result;
1104 wxWindow * _arg0;
1105 PyObject * _argo0 = 0;
1106 char *_kwnames[] = { "self", NULL };
1107
1108 self = self;
1109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetName",_kwnames,&_argo0))
1110 return NULL;
1111 if (_argo0) {
1112 if (_argo0 == Py_None) { _arg0 = NULL; }
1113 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1114 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
1115 return NULL;
1116 }
1117 }
1118 {
1119 wxPy_BEGIN_ALLOW_THREADS;
1120 _result = new wxString (wxWindow_GetName(_arg0));
1121
1122 wxPy_END_ALLOW_THREADS;
1123 }{
1124 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
1125 }
1126 {
1127 delete _result;
1128 }
1129 return _resultobj;
1130 }
1131
1132 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
1133 static PyObject *_wrap_wxWindow_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
1134 PyObject * _resultobj;
1135 wxWindow * _result;
1136 wxWindow * _arg0;
1137 PyObject * _argo0 = 0;
1138 char *_kwnames[] = { "self", NULL };
1139 char _ptemp[128];
1140
1141 self = self;
1142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetParent",_kwnames,&_argo0))
1143 return NULL;
1144 if (_argo0) {
1145 if (_argo0 == Py_None) { _arg0 = NULL; }
1146 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1147 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
1148 return NULL;
1149 }
1150 }
1151 {
1152 wxPy_BEGIN_ALLOW_THREADS;
1153 _result = (wxWindow *)wxWindow_GetParent(_arg0);
1154
1155 wxPy_END_ALLOW_THREADS;
1156 } if (_result) {
1157 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
1158 _resultobj = Py_BuildValue("s",_ptemp);
1159 } else {
1160 Py_INCREF(Py_None);
1161 _resultobj = Py_None;
1162 }
1163 return _resultobj;
1164 }
1165
1166 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
1167 static PyObject *_wrap_wxWindow_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
1168 PyObject * _resultobj;
1169 wxWindow * _arg0;
1170 int * _arg1;
1171 int temp;
1172 int * _arg2;
1173 int temp0;
1174 PyObject * _argo0 = 0;
1175 char *_kwnames[] = { "self", NULL };
1176
1177 self = self;
1178 {
1179 _arg1 = &temp;
1180 }
1181 {
1182 _arg2 = &temp0;
1183 }
1184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetPositionTuple",_kwnames,&_argo0))
1185 return NULL;
1186 if (_argo0) {
1187 if (_argo0 == Py_None) { _arg0 = NULL; }
1188 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1189 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
1190 return NULL;
1191 }
1192 }
1193 {
1194 wxPy_BEGIN_ALLOW_THREADS;
1195 wxWindow_GetPositionTuple(_arg0,_arg1,_arg2);
1196
1197 wxPy_END_ALLOW_THREADS;
1198 } Py_INCREF(Py_None);
1199 _resultobj = Py_None;
1200 {
1201 PyObject *o;
1202 o = PyInt_FromLong((long) (*_arg1));
1203 _resultobj = t_output_helper(_resultobj, o);
1204 }
1205 {
1206 PyObject *o;
1207 o = PyInt_FromLong((long) (*_arg2));
1208 _resultobj = t_output_helper(_resultobj, o);
1209 }
1210 return _resultobj;
1211 }
1212
1213 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
1214 static PyObject *_wrap_wxWindow_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
1215 PyObject * _resultobj;
1216 wxPoint * _result;
1217 wxWindow * _arg0;
1218 PyObject * _argo0 = 0;
1219 char *_kwnames[] = { "self", NULL };
1220 char _ptemp[128];
1221
1222 self = self;
1223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetPosition",_kwnames,&_argo0))
1224 return NULL;
1225 if (_argo0) {
1226 if (_argo0 == Py_None) { _arg0 = NULL; }
1227 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1228 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
1229 return NULL;
1230 }
1231 }
1232 {
1233 wxPy_BEGIN_ALLOW_THREADS;
1234 _result = new wxPoint (wxWindow_GetPosition(_arg0));
1235
1236 wxPy_END_ALLOW_THREADS;
1237 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
1238 _resultobj = Py_BuildValue("s",_ptemp);
1239 return _resultobj;
1240 }
1241
1242 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
1243 static PyObject *_wrap_wxWindow_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
1244 PyObject * _resultobj;
1245 wxRect * _result;
1246 wxWindow * _arg0;
1247 PyObject * _argo0 = 0;
1248 char *_kwnames[] = { "self", NULL };
1249 char _ptemp[128];
1250
1251 self = self;
1252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetRect",_kwnames,&_argo0))
1253 return NULL;
1254 if (_argo0) {
1255 if (_argo0 == Py_None) { _arg0 = NULL; }
1256 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1257 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
1258 return NULL;
1259 }
1260 }
1261 {
1262 wxPy_BEGIN_ALLOW_THREADS;
1263 _result = new wxRect (wxWindow_GetRect(_arg0));
1264
1265 wxPy_END_ALLOW_THREADS;
1266 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
1267 _resultobj = Py_BuildValue("s",_ptemp);
1268 return _resultobj;
1269 }
1270
1271 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
1272 static PyObject *_wrap_wxWindow_GetScrollThumb(PyObject *self, PyObject *args, PyObject *kwargs) {
1273 PyObject * _resultobj;
1274 int _result;
1275 wxWindow * _arg0;
1276 int _arg1;
1277 PyObject * _argo0 = 0;
1278 char *_kwnames[] = { "self","orientation", NULL };
1279
1280 self = self;
1281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_GetScrollThumb",_kwnames,&_argo0,&_arg1))
1282 return NULL;
1283 if (_argo0) {
1284 if (_argo0 == Py_None) { _arg0 = NULL; }
1285 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1286 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
1287 return NULL;
1288 }
1289 }
1290 {
1291 wxPy_BEGIN_ALLOW_THREADS;
1292 _result = (int )wxWindow_GetScrollThumb(_arg0,_arg1);
1293
1294 wxPy_END_ALLOW_THREADS;
1295 } _resultobj = Py_BuildValue("i",_result);
1296 return _resultobj;
1297 }
1298
1299 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
1300 static PyObject *_wrap_wxWindow_GetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
1301 PyObject * _resultobj;
1302 int _result;
1303 wxWindow * _arg0;
1304 int _arg1;
1305 PyObject * _argo0 = 0;
1306 char *_kwnames[] = { "self","orientation", NULL };
1307
1308 self = self;
1309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_GetScrollPos",_kwnames,&_argo0,&_arg1))
1310 return NULL;
1311 if (_argo0) {
1312 if (_argo0 == Py_None) { _arg0 = NULL; }
1313 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1314 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
1315 return NULL;
1316 }
1317 }
1318 {
1319 wxPy_BEGIN_ALLOW_THREADS;
1320 _result = (int )wxWindow_GetScrollPos(_arg0,_arg1);
1321
1322 wxPy_END_ALLOW_THREADS;
1323 } _resultobj = Py_BuildValue("i",_result);
1324 return _resultobj;
1325 }
1326
1327 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
1328 static PyObject *_wrap_wxWindow_GetScrollRange(PyObject *self, PyObject *args, PyObject *kwargs) {
1329 PyObject * _resultobj;
1330 int _result;
1331 wxWindow * _arg0;
1332 int _arg1;
1333 PyObject * _argo0 = 0;
1334 char *_kwnames[] = { "self","orientation", NULL };
1335
1336 self = self;
1337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_GetScrollRange",_kwnames,&_argo0,&_arg1))
1338 return NULL;
1339 if (_argo0) {
1340 if (_argo0 == Py_None) { _arg0 = NULL; }
1341 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1342 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
1343 return NULL;
1344 }
1345 }
1346 {
1347 wxPy_BEGIN_ALLOW_THREADS;
1348 _result = (int )wxWindow_GetScrollRange(_arg0,_arg1);
1349
1350 wxPy_END_ALLOW_THREADS;
1351 } _resultobj = Py_BuildValue("i",_result);
1352 return _resultobj;
1353 }
1354
1355 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
1356 static PyObject *_wrap_wxWindow_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
1357 PyObject * _resultobj;
1358 wxWindow * _arg0;
1359 int * _arg1;
1360 int temp;
1361 int * _arg2;
1362 int temp0;
1363 PyObject * _argo0 = 0;
1364 char *_kwnames[] = { "self", NULL };
1365
1366 self = self;
1367 {
1368 _arg1 = &temp;
1369 }
1370 {
1371 _arg2 = &temp0;
1372 }
1373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetSizeTuple",_kwnames,&_argo0))
1374 return NULL;
1375 if (_argo0) {
1376 if (_argo0 == Py_None) { _arg0 = NULL; }
1377 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1378 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
1379 return NULL;
1380 }
1381 }
1382 {
1383 wxPy_BEGIN_ALLOW_THREADS;
1384 wxWindow_GetSizeTuple(_arg0,_arg1,_arg2);
1385
1386 wxPy_END_ALLOW_THREADS;
1387 } Py_INCREF(Py_None);
1388 _resultobj = Py_None;
1389 {
1390 PyObject *o;
1391 o = PyInt_FromLong((long) (*_arg1));
1392 _resultobj = t_output_helper(_resultobj, o);
1393 }
1394 {
1395 PyObject *o;
1396 o = PyInt_FromLong((long) (*_arg2));
1397 _resultobj = t_output_helper(_resultobj, o);
1398 }
1399 return _resultobj;
1400 }
1401
1402 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
1403 static PyObject *_wrap_wxWindow_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1404 PyObject * _resultobj;
1405 wxSize * _result;
1406 wxWindow * _arg0;
1407 PyObject * _argo0 = 0;
1408 char *_kwnames[] = { "self", NULL };
1409 char _ptemp[128];
1410
1411 self = self;
1412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetSize",_kwnames,&_argo0))
1413 return NULL;
1414 if (_argo0) {
1415 if (_argo0 == Py_None) { _arg0 = NULL; }
1416 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1417 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
1418 return NULL;
1419 }
1420 }
1421 {
1422 wxPy_BEGIN_ALLOW_THREADS;
1423 _result = new wxSize (wxWindow_GetSize(_arg0));
1424
1425 wxPy_END_ALLOW_THREADS;
1426 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1427 _resultobj = Py_BuildValue("s",_ptemp);
1428 return _resultobj;
1429 }
1430
1431 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
1432 static PyObject *_wrap_wxWindow_GetTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
1433 PyObject * _resultobj;
1434 wxWindow * _arg0;
1435 wxString * _arg1;
1436 int * _arg2;
1437 int temp;
1438 int * _arg3;
1439 int temp0;
1440 PyObject * _argo0 = 0;
1441 PyObject * _obj1 = 0;
1442 char *_kwnames[] = { "self","string", NULL };
1443
1444 self = self;
1445 {
1446 _arg2 = &temp;
1447 }
1448 {
1449 _arg3 = &temp0;
1450 }
1451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_GetTextExtent",_kwnames,&_argo0,&_obj1))
1452 return NULL;
1453 if (_argo0) {
1454 if (_argo0 == Py_None) { _arg0 = NULL; }
1455 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1456 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
1457 return NULL;
1458 }
1459 }
1460 {
1461 if (!PyString_Check(_obj1)) {
1462 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1463 return NULL;
1464 }
1465 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
1466 }
1467 {
1468 wxPy_BEGIN_ALLOW_THREADS;
1469 wxWindow_GetTextExtent(_arg0,*_arg1,_arg2,_arg3);
1470
1471 wxPy_END_ALLOW_THREADS;
1472 } Py_INCREF(Py_None);
1473 _resultobj = Py_None;
1474 {
1475 PyObject *o;
1476 o = PyInt_FromLong((long) (*_arg2));
1477 _resultobj = t_output_helper(_resultobj, o);
1478 }
1479 {
1480 PyObject *o;
1481 o = PyInt_FromLong((long) (*_arg3));
1482 _resultobj = t_output_helper(_resultobj, o);
1483 }
1484 {
1485 if (_obj1)
1486 delete _arg1;
1487 }
1488 return _resultobj;
1489 }
1490
1491 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1492 static PyObject *_wrap_wxWindow_GetFullTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
1493 PyObject * _resultobj;
1494 wxWindow * _arg0;
1495 wxString * _arg1;
1496 int * _arg2;
1497 int temp;
1498 int * _arg3;
1499 int temp0;
1500 int * _arg4;
1501 int temp1;
1502 int * _arg5;
1503 int temp2;
1504 wxFont * _arg6 = (wxFont *) NULL;
1505 PyObject * _argo0 = 0;
1506 PyObject * _obj1 = 0;
1507 PyObject * _argo6 = 0;
1508 char *_kwnames[] = { "self","string","font", NULL };
1509
1510 self = self;
1511 {
1512 _arg2 = &temp;
1513 }
1514 {
1515 _arg3 = &temp0;
1516 }
1517 {
1518 _arg4 = &temp1;
1519 }
1520 {
1521 _arg5 = &temp2;
1522 }
1523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxWindow_GetFullTextExtent",_kwnames,&_argo0,&_obj1,&_argo6))
1524 return NULL;
1525 if (_argo0) {
1526 if (_argo0 == Py_None) { _arg0 = NULL; }
1527 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1528 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
1529 return NULL;
1530 }
1531 }
1532 {
1533 if (!PyString_Check(_obj1)) {
1534 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1535 return NULL;
1536 }
1537 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
1538 }
1539 if (_argo6) {
1540 if (_argo6 == Py_None) { _arg6 = NULL; }
1541 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxFont_p")) {
1542 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
1543 return NULL;
1544 }
1545 }
1546 {
1547 wxPy_BEGIN_ALLOW_THREADS;
1548 wxWindow_GetFullTextExtent(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
1549
1550 wxPy_END_ALLOW_THREADS;
1551 } Py_INCREF(Py_None);
1552 _resultobj = Py_None;
1553 {
1554 PyObject *o;
1555 o = PyInt_FromLong((long) (*_arg2));
1556 _resultobj = t_output_helper(_resultobj, o);
1557 }
1558 {
1559 PyObject *o;
1560 o = PyInt_FromLong((long) (*_arg3));
1561 _resultobj = t_output_helper(_resultobj, o);
1562 }
1563 {
1564 PyObject *o;
1565 o = PyInt_FromLong((long) (*_arg4));
1566 _resultobj = t_output_helper(_resultobj, o);
1567 }
1568 {
1569 PyObject *o;
1570 o = PyInt_FromLong((long) (*_arg5));
1571 _resultobj = t_output_helper(_resultobj, o);
1572 }
1573 {
1574 if (_obj1)
1575 delete _arg1;
1576 }
1577 return _resultobj;
1578 }
1579
1580 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
1581 static PyObject *_wrap_wxWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
1582 PyObject * _resultobj;
1583 wxString * _result;
1584 wxWindow * _arg0;
1585 PyObject * _argo0 = 0;
1586 char *_kwnames[] = { "self", NULL };
1587
1588 self = self;
1589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetTitle",_kwnames,&_argo0))
1590 return NULL;
1591 if (_argo0) {
1592 if (_argo0 == Py_None) { _arg0 = NULL; }
1593 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1594 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
1595 return NULL;
1596 }
1597 }
1598 {
1599 wxPy_BEGIN_ALLOW_THREADS;
1600 _result = new wxString (wxWindow_GetTitle(_arg0));
1601
1602 wxPy_END_ALLOW_THREADS;
1603 }{
1604 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
1605 }
1606 {
1607 delete _result;
1608 }
1609 return _resultobj;
1610 }
1611
1612 #define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
1613 static PyObject *_wrap_wxWindow_GetUpdateRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
1614 PyObject * _resultobj;
1615 wxRegion * _result;
1616 wxWindow * _arg0;
1617 PyObject * _argo0 = 0;
1618 char *_kwnames[] = { "self", NULL };
1619 char _ptemp[128];
1620
1621 self = self;
1622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetUpdateRegion",_kwnames,&_argo0))
1623 return NULL;
1624 if (_argo0) {
1625 if (_argo0 == Py_None) { _arg0 = NULL; }
1626 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1627 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
1628 return NULL;
1629 }
1630 }
1631 {
1632 wxPy_BEGIN_ALLOW_THREADS;
1633 _result = new wxRegion (wxWindow_GetUpdateRegion(_arg0));
1634
1635 wxPy_END_ALLOW_THREADS;
1636 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRegion_p");
1637 _resultobj = Py_BuildValue("s",_ptemp);
1638 return _resultobj;
1639 }
1640
1641 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
1642 static PyObject *_wrap_wxWindow_GetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
1643 PyObject * _resultobj;
1644 long _result;
1645 wxWindow * _arg0;
1646 PyObject * _argo0 = 0;
1647 char *_kwnames[] = { "self", NULL };
1648
1649 self = self;
1650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetWindowStyleFlag",_kwnames,&_argo0))
1651 return NULL;
1652 if (_argo0) {
1653 if (_argo0 == Py_None) { _arg0 = NULL; }
1654 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1655 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
1656 return NULL;
1657 }
1658 }
1659 {
1660 wxPy_BEGIN_ALLOW_THREADS;
1661 _result = (long )wxWindow_GetWindowStyleFlag(_arg0);
1662
1663 wxPy_END_ALLOW_THREADS;
1664 } _resultobj = Py_BuildValue("l",_result);
1665 return _resultobj;
1666 }
1667
1668 #define wxWindow_Hide(_swigobj) (_swigobj->Hide())
1669 static PyObject *_wrap_wxWindow_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
1670 PyObject * _resultobj;
1671 bool _result;
1672 wxWindow * _arg0;
1673 PyObject * _argo0 = 0;
1674 char *_kwnames[] = { "self", NULL };
1675
1676 self = self;
1677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Hide",_kwnames,&_argo0))
1678 return NULL;
1679 if (_argo0) {
1680 if (_argo0 == Py_None) { _arg0 = NULL; }
1681 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1682 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
1683 return NULL;
1684 }
1685 }
1686 {
1687 wxPy_BEGIN_ALLOW_THREADS;
1688 _result = (bool )wxWindow_Hide(_arg0);
1689
1690 wxPy_END_ALLOW_THREADS;
1691 } _resultobj = Py_BuildValue("i",_result);
1692 return _resultobj;
1693 }
1694
1695 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
1696 static PyObject *_wrap_wxWindow_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
1697 PyObject * _resultobj;
1698 wxWindow * _arg0;
1699 PyObject * _argo0 = 0;
1700 char *_kwnames[] = { "self", NULL };
1701
1702 self = self;
1703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_InitDialog",_kwnames,&_argo0))
1704 return NULL;
1705 if (_argo0) {
1706 if (_argo0 == Py_None) { _arg0 = NULL; }
1707 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1708 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
1709 return NULL;
1710 }
1711 }
1712 {
1713 wxPy_BEGIN_ALLOW_THREADS;
1714 wxWindow_InitDialog(_arg0);
1715
1716 wxPy_END_ALLOW_THREADS;
1717 } Py_INCREF(Py_None);
1718 _resultobj = Py_None;
1719 return _resultobj;
1720 }
1721
1722 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
1723 static PyObject *_wrap_wxWindow_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1724 PyObject * _resultobj;
1725 bool _result;
1726 wxWindow * _arg0;
1727 PyObject * _argo0 = 0;
1728 char *_kwnames[] = { "self", NULL };
1729
1730 self = self;
1731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_IsEnabled",_kwnames,&_argo0))
1732 return NULL;
1733 if (_argo0) {
1734 if (_argo0 == Py_None) { _arg0 = NULL; }
1735 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1736 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
1737 return NULL;
1738 }
1739 }
1740 {
1741 wxPy_BEGIN_ALLOW_THREADS;
1742 _result = (bool )wxWindow_IsEnabled(_arg0);
1743
1744 wxPy_END_ALLOW_THREADS;
1745 } _resultobj = Py_BuildValue("i",_result);
1746 return _resultobj;
1747 }
1748
1749 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
1750 static PyObject *_wrap_wxWindow_IsRetained(PyObject *self, PyObject *args, PyObject *kwargs) {
1751 PyObject * _resultobj;
1752 bool _result;
1753 wxWindow * _arg0;
1754 PyObject * _argo0 = 0;
1755 char *_kwnames[] = { "self", NULL };
1756
1757 self = self;
1758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_IsRetained",_kwnames,&_argo0))
1759 return NULL;
1760 if (_argo0) {
1761 if (_argo0 == Py_None) { _arg0 = NULL; }
1762 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1763 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
1764 return NULL;
1765 }
1766 }
1767 {
1768 wxPy_BEGIN_ALLOW_THREADS;
1769 _result = (bool )wxWindow_IsRetained(_arg0);
1770
1771 wxPy_END_ALLOW_THREADS;
1772 } _resultobj = Py_BuildValue("i",_result);
1773 return _resultobj;
1774 }
1775
1776 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
1777 static PyObject *_wrap_wxWindow_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
1778 PyObject * _resultobj;
1779 bool _result;
1780 wxWindow * _arg0;
1781 PyObject * _argo0 = 0;
1782 char *_kwnames[] = { "self", NULL };
1783
1784 self = self;
1785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_IsShown",_kwnames,&_argo0))
1786 return NULL;
1787 if (_argo0) {
1788 if (_argo0 == Py_None) { _arg0 = NULL; }
1789 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1790 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
1791 return NULL;
1792 }
1793 }
1794 {
1795 wxPy_BEGIN_ALLOW_THREADS;
1796 _result = (bool )wxWindow_IsShown(_arg0);
1797
1798 wxPy_END_ALLOW_THREADS;
1799 } _resultobj = Py_BuildValue("i",_result);
1800 return _resultobj;
1801 }
1802
1803 #define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
1804 static PyObject *_wrap_wxWindow_IsTopLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
1805 PyObject * _resultobj;
1806 bool _result;
1807 wxWindow * _arg0;
1808 PyObject * _argo0 = 0;
1809 char *_kwnames[] = { "self", NULL };
1810
1811 self = self;
1812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_IsTopLevel",_kwnames,&_argo0))
1813 return NULL;
1814 if (_argo0) {
1815 if (_argo0 == Py_None) { _arg0 = NULL; }
1816 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1817 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
1818 return NULL;
1819 }
1820 }
1821 {
1822 wxPy_BEGIN_ALLOW_THREADS;
1823 _result = (bool )wxWindow_IsTopLevel(_arg0);
1824
1825 wxPy_END_ALLOW_THREADS;
1826 } _resultobj = Py_BuildValue("i",_result);
1827 return _resultobj;
1828 }
1829
1830 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
1831 static PyObject *_wrap_wxWindow_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
1832 PyObject * _resultobj;
1833 wxWindow * _arg0;
1834 PyObject * _argo0 = 0;
1835 char *_kwnames[] = { "self", NULL };
1836
1837 self = self;
1838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Layout",_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_Layout. Expected _wxWindow_p.");
1844 return NULL;
1845 }
1846 }
1847 {
1848 wxPy_BEGIN_ALLOW_THREADS;
1849 wxWindow_Layout(_arg0);
1850
1851 wxPy_END_ALLOW_THREADS;
1852 } Py_INCREF(Py_None);
1853 _resultobj = Py_None;
1854 return _resultobj;
1855 }
1856
1857 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
1858 static PyObject *_wrap_wxWindow_LoadFromResource(PyObject *self, PyObject *args, PyObject *kwargs) {
1859 PyObject * _resultobj;
1860 bool _result;
1861 wxWindow * _arg0;
1862 wxWindow * _arg1;
1863 wxString * _arg2;
1864 wxResourceTable * _arg3 = (wxResourceTable *) NULL;
1865 PyObject * _argo0 = 0;
1866 PyObject * _argo1 = 0;
1867 PyObject * _obj2 = 0;
1868 PyObject * _argo3 = 0;
1869 char *_kwnames[] = { "self","parent","resourceName","resourceTable", NULL };
1870
1871 self = self;
1872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|O:wxWindow_LoadFromResource",_kwnames,&_argo0,&_argo1,&_obj2,&_argo3))
1873 return NULL;
1874 if (_argo0) {
1875 if (_argo0 == Py_None) { _arg0 = NULL; }
1876 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1877 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
1878 return NULL;
1879 }
1880 }
1881 if (_argo1) {
1882 if (_argo1 == Py_None) { _arg1 = NULL; }
1883 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1884 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
1885 return NULL;
1886 }
1887 }
1888 {
1889 if (!PyString_Check(_obj2)) {
1890 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1891 return NULL;
1892 }
1893 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
1894 }
1895 if (_argo3) {
1896 if (_argo3 == Py_None) { _arg3 = NULL; }
1897 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxResourceTable_p")) {
1898 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
1899 return NULL;
1900 }
1901 }
1902 {
1903 wxPy_BEGIN_ALLOW_THREADS;
1904 _result = (bool )wxWindow_LoadFromResource(_arg0,_arg1,*_arg2,_arg3);
1905
1906 wxPy_END_ALLOW_THREADS;
1907 } _resultobj = Py_BuildValue("i",_result);
1908 {
1909 if (_obj2)
1910 delete _arg2;
1911 }
1912 return _resultobj;
1913 }
1914
1915 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
1916 static PyObject *_wrap_wxWindow_Lower(PyObject *self, PyObject *args, PyObject *kwargs) {
1917 PyObject * _resultobj;
1918 wxWindow * _arg0;
1919 PyObject * _argo0 = 0;
1920 char *_kwnames[] = { "self", NULL };
1921
1922 self = self;
1923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Lower",_kwnames,&_argo0))
1924 return NULL;
1925 if (_argo0) {
1926 if (_argo0 == Py_None) { _arg0 = NULL; }
1927 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1928 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
1929 return NULL;
1930 }
1931 }
1932 {
1933 wxPy_BEGIN_ALLOW_THREADS;
1934 wxWindow_Lower(_arg0);
1935
1936 wxPy_END_ALLOW_THREADS;
1937 } Py_INCREF(Py_None);
1938 _resultobj = Py_None;
1939 return _resultobj;
1940 }
1941
1942 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
1943 static PyObject *_wrap_wxWindow_MakeModal(PyObject *self, PyObject *args, PyObject *kwargs) {
1944 PyObject * _resultobj;
1945 wxWindow * _arg0;
1946 bool _arg1;
1947 PyObject * _argo0 = 0;
1948 int tempbool1;
1949 char *_kwnames[] = { "self","flag", NULL };
1950
1951 self = self;
1952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_MakeModal",_kwnames,&_argo0,&tempbool1))
1953 return NULL;
1954 if (_argo0) {
1955 if (_argo0 == Py_None) { _arg0 = NULL; }
1956 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1957 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
1958 return NULL;
1959 }
1960 }
1961 _arg1 = (bool ) tempbool1;
1962 {
1963 wxPy_BEGIN_ALLOW_THREADS;
1964 wxWindow_MakeModal(_arg0,_arg1);
1965
1966 wxPy_END_ALLOW_THREADS;
1967 } Py_INCREF(Py_None);
1968 _resultobj = Py_None;
1969 return _resultobj;
1970 }
1971
1972 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
1973 static PyObject *_wrap_wxWindow_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
1974 PyObject * _resultobj;
1975 wxWindow * _arg0;
1976 int _arg1;
1977 int _arg2;
1978 PyObject * _argo0 = 0;
1979 char *_kwnames[] = { "self","x","y", NULL };
1980
1981 self = self;
1982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxWindow_MoveXY",_kwnames,&_argo0,&_arg1,&_arg2))
1983 return NULL;
1984 if (_argo0) {
1985 if (_argo0 == Py_None) { _arg0 = NULL; }
1986 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1987 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
1988 return NULL;
1989 }
1990 }
1991 {
1992 wxPy_BEGIN_ALLOW_THREADS;
1993 wxWindow_MoveXY(_arg0,_arg1,_arg2);
1994
1995 wxPy_END_ALLOW_THREADS;
1996 } Py_INCREF(Py_None);
1997 _resultobj = Py_None;
1998 return _resultobj;
1999 }
2000
2001 #define wxWindow_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2002 static PyObject *_wrap_wxWindow_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
2003 PyObject * _resultobj;
2004 wxWindow * _arg0;
2005 wxPoint * _arg1;
2006 PyObject * _argo0 = 0;
2007 PyObject * _argo1 = 0;
2008 char *_kwnames[] = { "self","point", NULL };
2009
2010 self = self;
2011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_Move",_kwnames,&_argo0,&_argo1))
2012 return NULL;
2013 if (_argo0) {
2014 if (_argo0 == Py_None) { _arg0 = NULL; }
2015 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2016 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
2017 return NULL;
2018 }
2019 }
2020 if (_argo1) {
2021 if (_argo1 == Py_None) { _arg1 = NULL; }
2022 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPoint_p")) {
2023 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_Move. Expected _wxPoint_p.");
2024 return NULL;
2025 }
2026 }
2027 {
2028 wxPy_BEGIN_ALLOW_THREADS;
2029 wxWindow_Move(_arg0,*_arg1);
2030
2031 wxPy_END_ALLOW_THREADS;
2032 } Py_INCREF(Py_None);
2033 _resultobj = Py_None;
2034 return _resultobj;
2035 }
2036
2037 #define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
2038 static PyObject *_wrap_wxWindow_PopupMenuXY(PyObject *self, PyObject *args, PyObject *kwargs) {
2039 PyObject * _resultobj;
2040 bool _result;
2041 wxWindow * _arg0;
2042 wxMenu * _arg1;
2043 int _arg2;
2044 int _arg3;
2045 PyObject * _argo0 = 0;
2046 PyObject * _argo1 = 0;
2047 char *_kwnames[] = { "self","menu","x","y", NULL };
2048
2049 self = self;
2050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxWindow_PopupMenuXY",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
2051 return NULL;
2052 if (_argo0) {
2053 if (_argo0 == Py_None) { _arg0 = NULL; }
2054 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2055 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
2056 return NULL;
2057 }
2058 }
2059 if (_argo1) {
2060 if (_argo1 == Py_None) { _arg1 = NULL; }
2061 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
2062 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
2063 return NULL;
2064 }
2065 }
2066 {
2067 wxPy_BEGIN_ALLOW_THREADS;
2068 _result = (bool )wxWindow_PopupMenuXY(_arg0,_arg1,_arg2,_arg3);
2069
2070 wxPy_END_ALLOW_THREADS;
2071 } _resultobj = Py_BuildValue("i",_result);
2072 return _resultobj;
2073 }
2074
2075 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
2076 static PyObject *_wrap_wxWindow_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
2077 PyObject * _resultobj;
2078 bool _result;
2079 wxWindow * _arg0;
2080 wxMenu * _arg1;
2081 wxPoint * _arg2;
2082 PyObject * _argo0 = 0;
2083 PyObject * _argo1 = 0;
2084 PyObject * _argo2 = 0;
2085 char *_kwnames[] = { "self","menu","pos", NULL };
2086
2087 self = self;
2088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxWindow_PopupMenu",_kwnames,&_argo0,&_argo1,&_argo2))
2089 return NULL;
2090 if (_argo0) {
2091 if (_argo0 == Py_None) { _arg0 = NULL; }
2092 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2093 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
2094 return NULL;
2095 }
2096 }
2097 if (_argo1) {
2098 if (_argo1 == Py_None) { _arg1 = NULL; }
2099 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
2100 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
2101 return NULL;
2102 }
2103 }
2104 if (_argo2) {
2105 if (_argo2 == Py_None) { _arg2 = NULL; }
2106 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPoint_p")) {
2107 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxWindow_PopupMenu. Expected _wxPoint_p.");
2108 return NULL;
2109 }
2110 }
2111 {
2112 wxPy_BEGIN_ALLOW_THREADS;
2113 _result = (bool )wxWindow_PopupMenu(_arg0,_arg1,*_arg2);
2114
2115 wxPy_END_ALLOW_THREADS;
2116 } _resultobj = Py_BuildValue("i",_result);
2117 return _resultobj;
2118 }
2119
2120 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
2121 static PyObject *_wrap_wxWindow_Raise(PyObject *self, PyObject *args, PyObject *kwargs) {
2122 PyObject * _resultobj;
2123 wxWindow * _arg0;
2124 PyObject * _argo0 = 0;
2125 char *_kwnames[] = { "self", NULL };
2126
2127 self = self;
2128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Raise",_kwnames,&_argo0))
2129 return NULL;
2130 if (_argo0) {
2131 if (_argo0 == Py_None) { _arg0 = NULL; }
2132 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2133 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
2134 return NULL;
2135 }
2136 }
2137 {
2138 wxPy_BEGIN_ALLOW_THREADS;
2139 wxWindow_Raise(_arg0);
2140
2141 wxPy_END_ALLOW_THREADS;
2142 } Py_INCREF(Py_None);
2143 _resultobj = Py_None;
2144 return _resultobj;
2145 }
2146
2147 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
2148 static PyObject *_wrap_wxWindow_Refresh(PyObject *self, PyObject *args, PyObject *kwargs) {
2149 PyObject * _resultobj;
2150 wxWindow * _arg0;
2151 bool _arg1 = (bool ) TRUE;
2152 wxRect * _arg2 = (wxRect *) NULL;
2153 PyObject * _argo0 = 0;
2154 int tempbool1 = (int) TRUE;
2155 PyObject * _argo2 = 0;
2156 char *_kwnames[] = { "self","eraseBackground","rect", NULL };
2157
2158 self = self;
2159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iO:wxWindow_Refresh",_kwnames,&_argo0,&tempbool1,&_argo2))
2160 return NULL;
2161 if (_argo0) {
2162 if (_argo0 == Py_None) { _arg0 = NULL; }
2163 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2164 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
2165 return NULL;
2166 }
2167 }
2168 _arg1 = (bool ) tempbool1;
2169 if (_argo2) {
2170 if (_argo2 == Py_None) { _arg2 = NULL; }
2171 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxRect_p")) {
2172 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxWindow_Refresh. Expected _wxRect_p.");
2173 return NULL;
2174 }
2175 }
2176 {
2177 wxPy_BEGIN_ALLOW_THREADS;
2178 wxWindow_Refresh(_arg0,_arg1,_arg2);
2179
2180 wxPy_END_ALLOW_THREADS;
2181 } Py_INCREF(Py_None);
2182 _resultobj = Py_None;
2183 return _resultobj;
2184 }
2185
2186 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
2187 static PyObject *_wrap_wxWindow_ReleaseMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
2188 PyObject * _resultobj;
2189 wxWindow * _arg0;
2190 PyObject * _argo0 = 0;
2191 char *_kwnames[] = { "self", NULL };
2192
2193 self = self;
2194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_ReleaseMouse",_kwnames,&_argo0))
2195 return NULL;
2196 if (_argo0) {
2197 if (_argo0 == Py_None) { _arg0 = NULL; }
2198 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2199 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
2200 return NULL;
2201 }
2202 }
2203 {
2204 wxPy_BEGIN_ALLOW_THREADS;
2205 wxWindow_ReleaseMouse(_arg0);
2206
2207 wxPy_END_ALLOW_THREADS;
2208 } Py_INCREF(Py_None);
2209 _resultobj = Py_None;
2210 return _resultobj;
2211 }
2212
2213 #define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
2214 static PyObject *_wrap_wxWindow_Reparent(PyObject *self, PyObject *args, PyObject *kwargs) {
2215 PyObject * _resultobj;
2216 bool _result;
2217 wxWindow * _arg0;
2218 wxWindow * _arg1;
2219 PyObject * _argo0 = 0;
2220 PyObject * _argo1 = 0;
2221 char *_kwnames[] = { "self","newParent", NULL };
2222
2223 self = self;
2224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_Reparent",_kwnames,&_argo0,&_argo1))
2225 return NULL;
2226 if (_argo0) {
2227 if (_argo0 == Py_None) { _arg0 = NULL; }
2228 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2229 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
2230 return NULL;
2231 }
2232 }
2233 if (_argo1) {
2234 if (_argo1 == Py_None) { _arg1 = NULL; }
2235 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2236 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
2237 return NULL;
2238 }
2239 }
2240 {
2241 wxPy_BEGIN_ALLOW_THREADS;
2242 _result = (bool )wxWindow_Reparent(_arg0,_arg1);
2243
2244 wxPy_END_ALLOW_THREADS;
2245 } _resultobj = Py_BuildValue("i",_result);
2246 return _resultobj;
2247 }
2248
2249 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
2250 static PyObject *_wrap_wxWindow_ScreenToClientXY(PyObject *self, PyObject *args, PyObject *kwargs) {
2251 PyObject * _resultobj;
2252 wxWindow * _arg0;
2253 int * _arg1;
2254 int * _arg2;
2255 PyObject * _argo0 = 0;
2256 int temp;
2257 PyObject * _obj1 = 0;
2258 int temp0;
2259 PyObject * _obj2 = 0;
2260 char *_kwnames[] = { "self","x","y", NULL };
2261
2262 self = self;
2263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxWindow_ScreenToClientXY",_kwnames,&_argo0,&_obj1,&_obj2))
2264 return NULL;
2265 if (_argo0) {
2266 if (_argo0 == Py_None) { _arg0 = NULL; }
2267 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2268 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
2269 return NULL;
2270 }
2271 }
2272 {
2273 temp = (int) PyInt_AsLong(_obj1);
2274 _arg1 = &temp;
2275 }
2276 {
2277 temp0 = (int) PyInt_AsLong(_obj2);
2278 _arg2 = &temp0;
2279 }
2280 {
2281 wxPy_BEGIN_ALLOW_THREADS;
2282 wxWindow_ScreenToClientXY(_arg0,_arg1,_arg2);
2283
2284 wxPy_END_ALLOW_THREADS;
2285 } Py_INCREF(Py_None);
2286 _resultobj = Py_None;
2287 {
2288 PyObject *o;
2289 o = PyInt_FromLong((long) (*_arg1));
2290 _resultobj = t_output_helper(_resultobj, o);
2291 }
2292 {
2293 PyObject *o;
2294 o = PyInt_FromLong((long) (*_arg2));
2295 _resultobj = t_output_helper(_resultobj, o);
2296 }
2297 return _resultobj;
2298 }
2299
2300 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
2301 static PyObject *_wrap_wxWindow_ScreenToClient(PyObject *self, PyObject *args, PyObject *kwargs) {
2302 PyObject * _resultobj;
2303 wxPoint * _result;
2304 wxWindow * _arg0;
2305 wxPoint * _arg1;
2306 PyObject * _argo0 = 0;
2307 PyObject * _argo1 = 0;
2308 char *_kwnames[] = { "self","pt", NULL };
2309 char _ptemp[128];
2310
2311 self = self;
2312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ScreenToClient",_kwnames,&_argo0,&_argo1))
2313 return NULL;
2314 if (_argo0) {
2315 if (_argo0 == Py_None) { _arg0 = NULL; }
2316 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2317 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
2318 return NULL;
2319 }
2320 }
2321 if (_argo1) {
2322 if (_argo1 == Py_None) { _arg1 = NULL; }
2323 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPoint_p")) {
2324 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_ScreenToClient. Expected _wxPoint_p.");
2325 return NULL;
2326 }
2327 }
2328 {
2329 wxPy_BEGIN_ALLOW_THREADS;
2330 _result = new wxPoint (wxWindow_ScreenToClient(_arg0,*_arg1));
2331
2332 wxPy_END_ALLOW_THREADS;
2333 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2334 _resultobj = Py_BuildValue("s",_ptemp);
2335 return _resultobj;
2336 }
2337
2338 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
2339 static PyObject *_wrap_wxWindow_ScrollWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2340 PyObject * _resultobj;
2341 wxWindow * _arg0;
2342 int _arg1;
2343 int _arg2;
2344 wxRect * _arg3 = (wxRect *) NULL;
2345 PyObject * _argo0 = 0;
2346 PyObject * _argo3 = 0;
2347 char *_kwnames[] = { "self","dx","dy","rect", NULL };
2348
2349 self = self;
2350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|O:wxWindow_ScrollWindow",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
2351 return NULL;
2352 if (_argo0) {
2353 if (_argo0 == Py_None) { _arg0 = NULL; }
2354 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2355 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
2356 return NULL;
2357 }
2358 }
2359 if (_argo3) {
2360 if (_argo3 == Py_None) { _arg3 = NULL; }
2361 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxRect_p")) {
2362 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxWindow_ScrollWindow. Expected _wxRect_p.");
2363 return NULL;
2364 }
2365 }
2366 {
2367 wxPy_BEGIN_ALLOW_THREADS;
2368 wxWindow_ScrollWindow(_arg0,_arg1,_arg2,_arg3);
2369
2370 wxPy_END_ALLOW_THREADS;
2371 } Py_INCREF(Py_None);
2372 _resultobj = Py_None;
2373 return _resultobj;
2374 }
2375
2376 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
2377 static PyObject *_wrap_wxWindow_SetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
2378 PyObject * _resultobj;
2379 wxWindow * _arg0;
2380 wxAcceleratorTable * _arg1;
2381 PyObject * _argo0 = 0;
2382 PyObject * _argo1 = 0;
2383 char *_kwnames[] = { "self","accel", NULL };
2384
2385 self = self;
2386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetAcceleratorTable",_kwnames,&_argo0,&_argo1))
2387 return NULL;
2388 if (_argo0) {
2389 if (_argo0 == Py_None) { _arg0 = NULL; }
2390 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2391 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
2392 return NULL;
2393 }
2394 }
2395 if (_argo1) {
2396 if (_argo1 == Py_None) { _arg1 = NULL; }
2397 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxAcceleratorTable_p")) {
2398 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
2399 return NULL;
2400 }
2401 }
2402 {
2403 wxPy_BEGIN_ALLOW_THREADS;
2404 wxWindow_SetAcceleratorTable(_arg0,*_arg1);
2405
2406 wxPy_END_ALLOW_THREADS;
2407 } Py_INCREF(Py_None);
2408 _resultobj = Py_None;
2409 return _resultobj;
2410 }
2411
2412 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
2413 static PyObject *_wrap_wxWindow_SetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
2414 PyObject * _resultobj;
2415 wxWindow * _arg0;
2416 bool _arg1;
2417 PyObject * _argo0 = 0;
2418 int tempbool1;
2419 char *_kwnames[] = { "self","autoLayout", NULL };
2420
2421 self = self;
2422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_SetAutoLayout",_kwnames,&_argo0,&tempbool1))
2423 return NULL;
2424 if (_argo0) {
2425 if (_argo0 == Py_None) { _arg0 = NULL; }
2426 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2427 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
2428 return NULL;
2429 }
2430 }
2431 _arg1 = (bool ) tempbool1;
2432 {
2433 wxPy_BEGIN_ALLOW_THREADS;
2434 wxWindow_SetAutoLayout(_arg0,_arg1);
2435
2436 wxPy_END_ALLOW_THREADS;
2437 } Py_INCREF(Py_None);
2438 _resultobj = Py_None;
2439 return _resultobj;
2440 }
2441
2442 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
2443 static PyObject *_wrap_wxWindow_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
2444 PyObject * _resultobj;
2445 wxWindow * _arg0;
2446 wxColour * _arg1;
2447 PyObject * _argo0 = 0;
2448 PyObject * _argo1 = 0;
2449 char *_kwnames[] = { "self","colour", NULL };
2450
2451 self = self;
2452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetBackgroundColour",_kwnames,&_argo0,&_argo1))
2453 return NULL;
2454 if (_argo0) {
2455 if (_argo0 == Py_None) { _arg0 = NULL; }
2456 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2457 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
2458 return NULL;
2459 }
2460 }
2461 if (_argo1) {
2462 if (_argo1 == Py_None) { _arg1 = NULL; }
2463 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) {
2464 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetBackgroundColour. Expected _wxColour_p.");
2465 return NULL;
2466 }
2467 }
2468 {
2469 wxPy_BEGIN_ALLOW_THREADS;
2470 wxWindow_SetBackgroundColour(_arg0,*_arg1);
2471
2472 wxPy_END_ALLOW_THREADS;
2473 } Py_INCREF(Py_None);
2474 _resultobj = Py_None;
2475 return _resultobj;
2476 }
2477
2478 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
2479 static PyObject *_wrap_wxWindow_SetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
2480 PyObject * _resultobj;
2481 wxWindow * _arg0;
2482 wxLayoutConstraints * _arg1;
2483 PyObject * _argo0 = 0;
2484 PyObject * _argo1 = 0;
2485 char *_kwnames[] = { "self","constraints", NULL };
2486
2487 self = self;
2488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetConstraints",_kwnames,&_argo0,&_argo1))
2489 return NULL;
2490 if (_argo0) {
2491 if (_argo0 == Py_None) { _arg0 = NULL; }
2492 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2493 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
2494 return NULL;
2495 }
2496 }
2497 if (_argo1) {
2498 if (_argo1 == Py_None) { _arg1 = NULL; }
2499 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxLayoutConstraints_p")) {
2500 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
2501 return NULL;
2502 }
2503 }
2504 {
2505 wxPy_BEGIN_ALLOW_THREADS;
2506 wxWindow_SetConstraints(_arg0,_arg1);
2507
2508 wxPy_END_ALLOW_THREADS;
2509 } Py_INCREF(Py_None);
2510 _resultobj = Py_None;
2511 return _resultobj;
2512 }
2513
2514 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
2515 static PyObject *_wrap_wxWindow_SetFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
2516 PyObject * _resultobj;
2517 wxWindow * _arg0;
2518 PyObject * _argo0 = 0;
2519 char *_kwnames[] = { "self", NULL };
2520
2521 self = self;
2522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_SetFocus",_kwnames,&_argo0))
2523 return NULL;
2524 if (_argo0) {
2525 if (_argo0 == Py_None) { _arg0 = NULL; }
2526 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2527 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
2528 return NULL;
2529 }
2530 }
2531 {
2532 wxPy_BEGIN_ALLOW_THREADS;
2533 wxWindow_SetFocus(_arg0);
2534
2535 wxPy_END_ALLOW_THREADS;
2536 } Py_INCREF(Py_None);
2537 _resultobj = Py_None;
2538 return _resultobj;
2539 }
2540
2541 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
2542 static PyObject *_wrap_wxWindow_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
2543 PyObject * _resultobj;
2544 wxWindow * _arg0;
2545 wxFont * _arg1;
2546 PyObject * _argo0 = 0;
2547 PyObject * _argo1 = 0;
2548 char *_kwnames[] = { "self","font", NULL };
2549
2550 self = self;
2551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetFont",_kwnames,&_argo0,&_argo1))
2552 return NULL;
2553 if (_argo0) {
2554 if (_argo0 == Py_None) { _arg0 = NULL; }
2555 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2556 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
2557 return NULL;
2558 }
2559 }
2560 if (_argo1) {
2561 if (_argo1 == Py_None) { _arg1 = NULL; }
2562 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
2563 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
2564 return NULL;
2565 }
2566 }
2567 {
2568 wxPy_BEGIN_ALLOW_THREADS;
2569 wxWindow_SetFont(_arg0,*_arg1);
2570
2571 wxPy_END_ALLOW_THREADS;
2572 } Py_INCREF(Py_None);
2573 _resultobj = Py_None;
2574 return _resultobj;
2575 }
2576
2577 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
2578 static PyObject *_wrap_wxWindow_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
2579 PyObject * _resultobj;
2580 wxWindow * _arg0;
2581 wxColour * _arg1;
2582 PyObject * _argo0 = 0;
2583 PyObject * _argo1 = 0;
2584 char *_kwnames[] = { "self","colour", NULL };
2585
2586 self = self;
2587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetForegroundColour",_kwnames,&_argo0,&_argo1))
2588 return NULL;
2589 if (_argo0) {
2590 if (_argo0 == Py_None) { _arg0 = NULL; }
2591 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2592 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
2593 return NULL;
2594 }
2595 }
2596 if (_argo1) {
2597 if (_argo1 == Py_None) { _arg1 = NULL; }
2598 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) {
2599 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetForegroundColour. Expected _wxColour_p.");
2600 return NULL;
2601 }
2602 }
2603 {
2604 wxPy_BEGIN_ALLOW_THREADS;
2605 wxWindow_SetForegroundColour(_arg0,*_arg1);
2606
2607 wxPy_END_ALLOW_THREADS;
2608 } Py_INCREF(Py_None);
2609 _resultobj = Py_None;
2610 return _resultobj;
2611 }
2612
2613 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
2614 static PyObject *_wrap_wxWindow_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
2615 PyObject * _resultobj;
2616 wxWindow * _arg0;
2617 int _arg1;
2618 PyObject * _argo0 = 0;
2619 char *_kwnames[] = { "self","id", NULL };
2620
2621 self = self;
2622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_SetId",_kwnames,&_argo0,&_arg1))
2623 return NULL;
2624 if (_argo0) {
2625 if (_argo0 == Py_None) { _arg0 = NULL; }
2626 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2627 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
2628 return NULL;
2629 }
2630 }
2631 {
2632 wxPy_BEGIN_ALLOW_THREADS;
2633 wxWindow_SetId(_arg0,_arg1);
2634
2635 wxPy_END_ALLOW_THREADS;
2636 } Py_INCREF(Py_None);
2637 _resultobj = Py_None;
2638 return _resultobj;
2639 }
2640
2641 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
2642 static PyObject *_wrap_wxWindow_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
2643 PyObject * _resultobj;
2644 wxWindow * _arg0;
2645 wxString * _arg1;
2646 PyObject * _argo0 = 0;
2647 PyObject * _obj1 = 0;
2648 char *_kwnames[] = { "self","name", NULL };
2649
2650 self = self;
2651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetName",_kwnames,&_argo0,&_obj1))
2652 return NULL;
2653 if (_argo0) {
2654 if (_argo0 == Py_None) { _arg0 = NULL; }
2655 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2656 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
2657 return NULL;
2658 }
2659 }
2660 {
2661 if (!PyString_Check(_obj1)) {
2662 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2663 return NULL;
2664 }
2665 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
2666 }
2667 {
2668 wxPy_BEGIN_ALLOW_THREADS;
2669 wxWindow_SetName(_arg0,*_arg1);
2670
2671 wxPy_END_ALLOW_THREADS;
2672 } Py_INCREF(Py_None);
2673 _resultobj = Py_None;
2674 {
2675 if (_obj1)
2676 delete _arg1;
2677 }
2678 return _resultobj;
2679 }
2680
2681 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2682 static PyObject *_wrap_wxWindow_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
2683 PyObject * _resultobj;
2684 wxWindow * _arg0;
2685 int _arg1;
2686 int _arg2;
2687 int _arg3;
2688 int _arg4;
2689 bool _arg5 = (bool ) TRUE;
2690 PyObject * _argo0 = 0;
2691 int tempbool5 = (int) TRUE;
2692 char *_kwnames[] = { "self","orientation","position","thumbSize","range","refresh", NULL };
2693
2694 self = self;
2695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxWindow_SetScrollbar",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&tempbool5))
2696 return NULL;
2697 if (_argo0) {
2698 if (_argo0 == Py_None) { _arg0 = NULL; }
2699 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2700 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
2701 return NULL;
2702 }
2703 }
2704 _arg5 = (bool ) tempbool5;
2705 {
2706 wxPy_BEGIN_ALLOW_THREADS;
2707 wxWindow_SetScrollbar(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
2708
2709 wxPy_END_ALLOW_THREADS;
2710 } Py_INCREF(Py_None);
2711 _resultobj = Py_None;
2712 return _resultobj;
2713 }
2714
2715 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
2716 static PyObject *_wrap_wxWindow_SetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
2717 PyObject * _resultobj;
2718 wxWindow * _arg0;
2719 int _arg1;
2720 int _arg2;
2721 bool _arg3 = (bool ) TRUE;
2722 PyObject * _argo0 = 0;
2723 int tempbool3 = (int) TRUE;
2724 char *_kwnames[] = { "self","orientation","pos","refresh", NULL };
2725
2726 self = self;
2727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxWindow_SetScrollPos",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
2728 return NULL;
2729 if (_argo0) {
2730 if (_argo0 == Py_None) { _arg0 = NULL; }
2731 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2732 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
2733 return NULL;
2734 }
2735 }
2736 _arg3 = (bool ) tempbool3;
2737 {
2738 wxPy_BEGIN_ALLOW_THREADS;
2739 wxWindow_SetScrollPos(_arg0,_arg1,_arg2,_arg3);
2740
2741 wxPy_END_ALLOW_THREADS;
2742 } Py_INCREF(Py_None);
2743 _resultobj = Py_None;
2744 return _resultobj;
2745 }
2746
2747 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2748 static PyObject *_wrap_wxWindow_SetDimensions(PyObject *self, PyObject *args, PyObject *kwargs) {
2749 PyObject * _resultobj;
2750 wxWindow * _arg0;
2751 int _arg1;
2752 int _arg2;
2753 int _arg3;
2754 int _arg4;
2755 int _arg5 = (int ) wxSIZE_AUTO;
2756 PyObject * _argo0 = 0;
2757 char *_kwnames[] = { "self","x","y","width","height","sizeFlags", NULL };
2758
2759 self = self;
2760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxWindow_SetDimensions",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5))
2761 return NULL;
2762 if (_argo0) {
2763 if (_argo0 == Py_None) { _arg0 = NULL; }
2764 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2765 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
2766 return NULL;
2767 }
2768 }
2769 {
2770 wxPy_BEGIN_ALLOW_THREADS;
2771 wxWindow_SetDimensions(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
2772
2773 wxPy_END_ALLOW_THREADS;
2774 } Py_INCREF(Py_None);
2775 _resultobj = Py_None;
2776 return _resultobj;
2777 }
2778
2779 static void wxWindow_SetSize(wxWindow *self,const wxSize & size) {
2780 self->SetSize(size.x, size.y);
2781 }
2782 static PyObject *_wrap_wxWindow_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2783 PyObject * _resultobj;
2784 wxWindow * _arg0;
2785 wxSize * _arg1;
2786 PyObject * _argo0 = 0;
2787 PyObject * _argo1 = 0;
2788 char *_kwnames[] = { "self","size", NULL };
2789
2790 self = self;
2791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetSize",_kwnames,&_argo0,&_argo1))
2792 return NULL;
2793 if (_argo0) {
2794 if (_argo0 == Py_None) { _arg0 = NULL; }
2795 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2796 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
2797 return NULL;
2798 }
2799 }
2800 if (_argo1) {
2801 if (_argo1 == Py_None) { _arg1 = NULL; }
2802 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSize_p")) {
2803 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetSize. Expected _wxSize_p.");
2804 return NULL;
2805 }
2806 }
2807 {
2808 wxPy_BEGIN_ALLOW_THREADS;
2809 wxWindow_SetSize(_arg0,*_arg1);
2810
2811 wxPy_END_ALLOW_THREADS;
2812 } Py_INCREF(Py_None);
2813 _resultobj = Py_None;
2814 return _resultobj;
2815 }
2816
2817 static void wxWindow_SetPosition(wxWindow *self,const wxPoint & pos) {
2818 self->SetSize(pos.x, pos.y, -1, -1);
2819 }
2820 static PyObject *_wrap_wxWindow_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2821 PyObject * _resultobj;
2822 wxWindow * _arg0;
2823 wxPoint * _arg1;
2824 PyObject * _argo0 = 0;
2825 PyObject * _argo1 = 0;
2826 char *_kwnames[] = { "self","pos", NULL };
2827
2828 self = self;
2829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetPosition",_kwnames,&_argo0,&_argo1))
2830 return NULL;
2831 if (_argo0) {
2832 if (_argo0 == Py_None) { _arg0 = NULL; }
2833 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2834 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
2835 return NULL;
2836 }
2837 }
2838 if (_argo1) {
2839 if (_argo1 == Py_None) { _arg1 = NULL; }
2840 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPoint_p")) {
2841 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetPosition. Expected _wxPoint_p.");
2842 return NULL;
2843 }
2844 }
2845 {
2846 wxPy_BEGIN_ALLOW_THREADS;
2847 wxWindow_SetPosition(_arg0,*_arg1);
2848
2849 wxPy_END_ALLOW_THREADS;
2850 } Py_INCREF(Py_None);
2851 _resultobj = Py_None;
2852 return _resultobj;
2853 }
2854
2855 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2856 static PyObject *_wrap_wxWindow_SetSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
2857 PyObject * _resultobj;
2858 wxWindow * _arg0;
2859 int _arg1 = (int ) -1;
2860 int _arg2 = (int ) -1;
2861 int _arg3 = (int ) -1;
2862 int _arg4 = (int ) -1;
2863 int _arg5 = (int ) -1;
2864 int _arg6 = (int ) -1;
2865 PyObject * _argo0 = 0;
2866 char *_kwnames[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL };
2867
2868 self = self;
2869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iiiiii:wxWindow_SetSizeHints",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6))
2870 return NULL;
2871 if (_argo0) {
2872 if (_argo0 == Py_None) { _arg0 = NULL; }
2873 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2874 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
2875 return NULL;
2876 }
2877 }
2878 {
2879 wxPy_BEGIN_ALLOW_THREADS;
2880 wxWindow_SetSizeHints(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
2881
2882 wxPy_END_ALLOW_THREADS;
2883 } Py_INCREF(Py_None);
2884 _resultobj = Py_None;
2885 return _resultobj;
2886 }
2887
2888 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
2889 static PyObject *_wrap_wxWindow_SetClientSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
2890 PyObject * _resultobj;
2891 wxWindow * _arg0;
2892 int _arg1;
2893 int _arg2;
2894 PyObject * _argo0 = 0;
2895 char *_kwnames[] = { "self","width","height", NULL };
2896
2897 self = self;
2898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxWindow_SetClientSizeWH",_kwnames,&_argo0,&_arg1,&_arg2))
2899 return NULL;
2900 if (_argo0) {
2901 if (_argo0 == Py_None) { _arg0 = NULL; }
2902 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2903 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
2904 return NULL;
2905 }
2906 }
2907 {
2908 wxPy_BEGIN_ALLOW_THREADS;
2909 wxWindow_SetClientSizeWH(_arg0,_arg1,_arg2);
2910
2911 wxPy_END_ALLOW_THREADS;
2912 } Py_INCREF(Py_None);
2913 _resultobj = Py_None;
2914 return _resultobj;
2915 }
2916
2917 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
2918 static PyObject *_wrap_wxWindow_SetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2919 PyObject * _resultobj;
2920 wxWindow * _arg0;
2921 wxSize * _arg1;
2922 PyObject * _argo0 = 0;
2923 PyObject * _argo1 = 0;
2924 char *_kwnames[] = { "self","size", NULL };
2925
2926 self = self;
2927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetClientSize",_kwnames,&_argo0,&_argo1))
2928 return NULL;
2929 if (_argo0) {
2930 if (_argo0 == Py_None) { _arg0 = NULL; }
2931 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2932 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
2933 return NULL;
2934 }
2935 }
2936 if (_argo1) {
2937 if (_argo1 == Py_None) { _arg1 = NULL; }
2938 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSize_p")) {
2939 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetClientSize. Expected _wxSize_p.");
2940 return NULL;
2941 }
2942 }
2943 {
2944 wxPy_BEGIN_ALLOW_THREADS;
2945 wxWindow_SetClientSize(_arg0,*_arg1);
2946
2947 wxPy_END_ALLOW_THREADS;
2948 } Py_INCREF(Py_None);
2949 _resultobj = Py_None;
2950 return _resultobj;
2951 }
2952
2953 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
2954 static PyObject *_wrap_wxWindow_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
2955 PyObject * _resultobj;
2956 wxWindow * _arg0;
2957 wxCursor * _arg1;
2958 PyObject * _argo0 = 0;
2959 PyObject * _argo1 = 0;
2960 char *_kwnames[] = { "self","cursor", NULL };
2961
2962 self = self;
2963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetCursor",_kwnames,&_argo0,&_argo1))
2964 return NULL;
2965 if (_argo0) {
2966 if (_argo0 == Py_None) { _arg0 = NULL; }
2967 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2968 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
2969 return NULL;
2970 }
2971 }
2972 if (_argo1) {
2973 if (_argo1 == Py_None) { _arg1 = NULL; }
2974 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCursor_p")) {
2975 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
2976 return NULL;
2977 }
2978 }
2979 {
2980 wxPy_BEGIN_ALLOW_THREADS;
2981 wxWindow_SetCursor(_arg0,*_arg1);
2982
2983 wxPy_END_ALLOW_THREADS;
2984 } Py_INCREF(Py_None);
2985 _resultobj = Py_None;
2986 return _resultobj;
2987 }
2988
2989 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
2990 static PyObject *_wrap_wxWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2991 PyObject * _resultobj;
2992 wxWindow * _arg0;
2993 wxString * _arg1;
2994 PyObject * _argo0 = 0;
2995 PyObject * _obj1 = 0;
2996 char *_kwnames[] = { "self","title", NULL };
2997
2998 self = self;
2999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetTitle",_kwnames,&_argo0,&_obj1))
3000 return NULL;
3001 if (_argo0) {
3002 if (_argo0 == Py_None) { _arg0 = NULL; }
3003 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3004 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
3005 return NULL;
3006 }
3007 }
3008 {
3009 if (!PyString_Check(_obj1)) {
3010 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3011 return NULL;
3012 }
3013 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
3014 }
3015 {
3016 wxPy_BEGIN_ALLOW_THREADS;
3017 wxWindow_SetTitle(_arg0,*_arg1);
3018
3019 wxPy_END_ALLOW_THREADS;
3020 } Py_INCREF(Py_None);
3021 _resultobj = Py_None;
3022 {
3023 if (_obj1)
3024 delete _arg1;
3025 }
3026 return _resultobj;
3027 }
3028
3029 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3030 static PyObject *_wrap_wxWindow_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
3031 PyObject * _resultobj;
3032 bool _result;
3033 wxWindow * _arg0;
3034 bool _arg1;
3035 PyObject * _argo0 = 0;
3036 int tempbool1;
3037 char *_kwnames[] = { "self","show", NULL };
3038
3039 self = self;
3040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_Show",_kwnames,&_argo0,&tempbool1))
3041 return NULL;
3042 if (_argo0) {
3043 if (_argo0 == Py_None) { _arg0 = NULL; }
3044 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3045 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
3046 return NULL;
3047 }
3048 }
3049 _arg1 = (bool ) tempbool1;
3050 {
3051 wxPy_BEGIN_ALLOW_THREADS;
3052 _result = (bool )wxWindow_Show(_arg0,_arg1);
3053
3054 wxPy_END_ALLOW_THREADS;
3055 } _resultobj = Py_BuildValue("i",_result);
3056 return _resultobj;
3057 }
3058
3059 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
3060 static PyObject *_wrap_wxWindow_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3061 PyObject * _resultobj;
3062 bool _result;
3063 wxWindow * _arg0;
3064 PyObject * _argo0 = 0;
3065 char *_kwnames[] = { "self", NULL };
3066
3067 self = self;
3068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_TransferDataFromWindow",_kwnames,&_argo0))
3069 return NULL;
3070 if (_argo0) {
3071 if (_argo0 == Py_None) { _arg0 = NULL; }
3072 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3073 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
3074 return NULL;
3075 }
3076 }
3077 {
3078 wxPy_BEGIN_ALLOW_THREADS;
3079 _result = (bool )wxWindow_TransferDataFromWindow(_arg0);
3080
3081 wxPy_END_ALLOW_THREADS;
3082 } _resultobj = Py_BuildValue("i",_result);
3083 return _resultobj;
3084 }
3085
3086 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
3087 static PyObject *_wrap_wxWindow_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3088 PyObject * _resultobj;
3089 bool _result;
3090 wxWindow * _arg0;
3091 PyObject * _argo0 = 0;
3092 char *_kwnames[] = { "self", NULL };
3093
3094 self = self;
3095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_TransferDataToWindow",_kwnames,&_argo0))
3096 return NULL;
3097 if (_argo0) {
3098 if (_argo0 == Py_None) { _arg0 = NULL; }
3099 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3100 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
3101 return NULL;
3102 }
3103 }
3104 {
3105 wxPy_BEGIN_ALLOW_THREADS;
3106 _result = (bool )wxWindow_TransferDataToWindow(_arg0);
3107
3108 wxPy_END_ALLOW_THREADS;
3109 } _resultobj = Py_BuildValue("i",_result);
3110 return _resultobj;
3111 }
3112
3113 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
3114 static PyObject *_wrap_wxWindow_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
3115 PyObject * _resultobj;
3116 bool _result;
3117 wxWindow * _arg0;
3118 PyObject * _argo0 = 0;
3119 char *_kwnames[] = { "self", NULL };
3120
3121 self = self;
3122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Validate",_kwnames,&_argo0))
3123 return NULL;
3124 if (_argo0) {
3125 if (_argo0 == Py_None) { _arg0 = NULL; }
3126 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3127 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
3128 return NULL;
3129 }
3130 }
3131 {
3132 wxPy_BEGIN_ALLOW_THREADS;
3133 _result = (bool )wxWindow_Validate(_arg0);
3134
3135 wxPy_END_ALLOW_THREADS;
3136 } _resultobj = Py_BuildValue("i",_result);
3137 return _resultobj;
3138 }
3139
3140 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
3141 static PyObject *_wrap_wxWindow_WarpPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
3142 PyObject * _resultobj;
3143 wxWindow * _arg0;
3144 int _arg1;
3145 int _arg2;
3146 PyObject * _argo0 = 0;
3147 char *_kwnames[] = { "self","x","y", NULL };
3148
3149 self = self;
3150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxWindow_WarpPointer",_kwnames,&_argo0,&_arg1,&_arg2))
3151 return NULL;
3152 if (_argo0) {
3153 if (_argo0 == Py_None) { _arg0 = NULL; }
3154 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3155 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
3156 return NULL;
3157 }
3158 }
3159 {
3160 wxPy_BEGIN_ALLOW_THREADS;
3161 wxWindow_WarpPointer(_arg0,_arg1,_arg2);
3162
3163 wxPy_END_ALLOW_THREADS;
3164 } Py_INCREF(Py_None);
3165 _resultobj = Py_None;
3166 return _resultobj;
3167 }
3168
3169 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
3170 static PyObject *_wrap_wxWindow_ConvertDialogPointToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
3171 PyObject * _resultobj;
3172 wxPoint * _result;
3173 wxWindow * _arg0;
3174 wxPoint * _arg1;
3175 PyObject * _argo0 = 0;
3176 PyObject * _argo1 = 0;
3177 char *_kwnames[] = { "self","pt", NULL };
3178 char _ptemp[128];
3179
3180 self = self;
3181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames,&_argo0,&_argo1))
3182 return NULL;
3183 if (_argo0) {
3184 if (_argo0 == Py_None) { _arg0 = NULL; }
3185 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3186 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
3187 return NULL;
3188 }
3189 }
3190 if (_argo1) {
3191 if (_argo1 == Py_None) { _arg1 = NULL; }
3192 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPoint_p")) {
3193 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_ConvertDialogPointToPixels. Expected _wxPoint_p.");
3194 return NULL;
3195 }
3196 }
3197 {
3198 wxPy_BEGIN_ALLOW_THREADS;
3199 _result = new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0,*_arg1));
3200
3201 wxPy_END_ALLOW_THREADS;
3202 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
3203 _resultobj = Py_BuildValue("s",_ptemp);
3204 return _resultobj;
3205 }
3206
3207 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
3208 static PyObject *_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
3209 PyObject * _resultobj;
3210 wxSize * _result;
3211 wxWindow * _arg0;
3212 wxSize * _arg1;
3213 PyObject * _argo0 = 0;
3214 PyObject * _argo1 = 0;
3215 char *_kwnames[] = { "self","sz", NULL };
3216 char _ptemp[128];
3217
3218 self = self;
3219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames,&_argo0,&_argo1))
3220 return NULL;
3221 if (_argo0) {
3222 if (_argo0 == Py_None) { _arg0 = NULL; }
3223 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3224 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
3225 return NULL;
3226 }
3227 }
3228 if (_argo1) {
3229 if (_argo1 == Py_None) { _arg1 = NULL; }
3230 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSize_p")) {
3231 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_ConvertDialogSizeToPixels. Expected _wxSize_p.");
3232 return NULL;
3233 }
3234 }
3235 {
3236 wxPy_BEGIN_ALLOW_THREADS;
3237 _result = new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0,*_arg1));
3238
3239 wxPy_END_ALLOW_THREADS;
3240 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
3241 _resultobj = Py_BuildValue("s",_ptemp);
3242 return _resultobj;
3243 }
3244
3245 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
3246 static PyObject *_wrap_wxWindow_ConvertPixelPointToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3247 PyObject * _resultobj;
3248 wxPoint * _result;
3249 wxWindow * _arg0;
3250 wxPoint * _arg1;
3251 PyObject * _argo0 = 0;
3252 PyObject * _argo1 = 0;
3253 char *_kwnames[] = { "self","pt", NULL };
3254 char _ptemp[128];
3255
3256 self = self;
3257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames,&_argo0,&_argo1))
3258 return NULL;
3259 if (_argo0) {
3260 if (_argo0 == Py_None) { _arg0 = NULL; }
3261 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3262 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
3263 return NULL;
3264 }
3265 }
3266 if (_argo1) {
3267 if (_argo1 == Py_None) { _arg1 = NULL; }
3268 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPoint_p")) {
3269 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_ConvertPixelPointToDialog. Expected _wxPoint_p.");
3270 return NULL;
3271 }
3272 }
3273 {
3274 wxPy_BEGIN_ALLOW_THREADS;
3275 _result = new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0,*_arg1));
3276
3277 wxPy_END_ALLOW_THREADS;
3278 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
3279 _resultobj = Py_BuildValue("s",_ptemp);
3280 return _resultobj;
3281 }
3282
3283 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
3284 static PyObject *_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3285 PyObject * _resultobj;
3286 wxSize * _result;
3287 wxWindow * _arg0;
3288 wxSize * _arg1;
3289 PyObject * _argo0 = 0;
3290 PyObject * _argo1 = 0;
3291 char *_kwnames[] = { "self","sz", NULL };
3292 char _ptemp[128];
3293
3294 self = self;
3295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames,&_argo0,&_argo1))
3296 return NULL;
3297 if (_argo0) {
3298 if (_argo0 == Py_None) { _arg0 = NULL; }
3299 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3300 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
3301 return NULL;
3302 }
3303 }
3304 if (_argo1) {
3305 if (_argo1 == Py_None) { _arg1 = NULL; }
3306 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSize_p")) {
3307 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_ConvertPixelSizeToDialog. Expected _wxSize_p.");
3308 return NULL;
3309 }
3310 }
3311 {
3312 wxPy_BEGIN_ALLOW_THREADS;
3313 _result = new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0,*_arg1));
3314
3315 wxPy_END_ALLOW_THREADS;
3316 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
3317 _resultobj = Py_BuildValue("s",_ptemp);
3318 return _resultobj;
3319 }
3320
3321 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
3322 static PyObject *_wrap_wxWindow_SetToolTipString(PyObject *self, PyObject *args, PyObject *kwargs) {
3323 PyObject * _resultobj;
3324 wxWindow * _arg0;
3325 wxString * _arg1;
3326 PyObject * _argo0 = 0;
3327 PyObject * _obj1 = 0;
3328 char *_kwnames[] = { "self","tip", NULL };
3329
3330 self = self;
3331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetToolTipString",_kwnames,&_argo0,&_obj1))
3332 return NULL;
3333 if (_argo0) {
3334 if (_argo0 == Py_None) { _arg0 = NULL; }
3335 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3336 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
3337 return NULL;
3338 }
3339 }
3340 {
3341 if (!PyString_Check(_obj1)) {
3342 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3343 return NULL;
3344 }
3345 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
3346 }
3347 {
3348 wxPy_BEGIN_ALLOW_THREADS;
3349 wxWindow_SetToolTipString(_arg0,*_arg1);
3350
3351 wxPy_END_ALLOW_THREADS;
3352 } Py_INCREF(Py_None);
3353 _resultobj = Py_None;
3354 {
3355 if (_obj1)
3356 delete _arg1;
3357 }
3358 return _resultobj;
3359 }
3360
3361 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
3362 static PyObject *_wrap_wxWindow_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
3363 PyObject * _resultobj;
3364 wxWindow * _arg0;
3365 wxToolTip * _arg1;
3366 PyObject * _argo0 = 0;
3367 PyObject * _argo1 = 0;
3368 char *_kwnames[] = { "self","tooltip", NULL };
3369
3370 self = self;
3371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetToolTip",_kwnames,&_argo0,&_argo1))
3372 return NULL;
3373 if (_argo0) {
3374 if (_argo0 == Py_None) { _arg0 = NULL; }
3375 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3376 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
3377 return NULL;
3378 }
3379 }
3380 if (_argo1) {
3381 if (_argo1 == Py_None) { _arg1 = NULL; }
3382 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxToolTip_p")) {
3383 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
3384 return NULL;
3385 }
3386 }
3387 {
3388 wxPy_BEGIN_ALLOW_THREADS;
3389 wxWindow_SetToolTip(_arg0,_arg1);
3390
3391 wxPy_END_ALLOW_THREADS;
3392 } Py_INCREF(Py_None);
3393 _resultobj = Py_None;
3394 return _resultobj;
3395 }
3396
3397 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
3398 static PyObject *_wrap_wxWindow_GetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
3399 PyObject * _resultobj;
3400 wxToolTip * _result;
3401 wxWindow * _arg0;
3402 PyObject * _argo0 = 0;
3403 char *_kwnames[] = { "self", NULL };
3404 char _ptemp[128];
3405
3406 self = self;
3407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetToolTip",_kwnames,&_argo0))
3408 return NULL;
3409 if (_argo0) {
3410 if (_argo0 == Py_None) { _arg0 = NULL; }
3411 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3412 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
3413 return NULL;
3414 }
3415 }
3416 {
3417 wxPy_BEGIN_ALLOW_THREADS;
3418 _result = (wxToolTip *)wxWindow_GetToolTip(_arg0);
3419
3420 wxPy_END_ALLOW_THREADS;
3421 } if (_result) {
3422 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolTip_p");
3423 _resultobj = Py_BuildValue("s",_ptemp);
3424 } else {
3425 Py_INCREF(Py_None);
3426 _resultobj = Py_None;
3427 }
3428 return _resultobj;
3429 }
3430
3431 static void *SwigwxPanelTowxWindow(void *ptr) {
3432 wxPanel *src;
3433 wxWindow *dest;
3434 src = (wxPanel *) ptr;
3435 dest = (wxWindow *) src;
3436 return (void *) dest;
3437 }
3438
3439 static void *SwigwxPanelTowxEvtHandler(void *ptr) {
3440 wxPanel *src;
3441 wxEvtHandler *dest;
3442 src = (wxPanel *) ptr;
3443 dest = (wxEvtHandler *) src;
3444 return (void *) dest;
3445 }
3446
3447 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3448 static PyObject *_wrap_new_wxPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
3449 PyObject * _resultobj;
3450 wxPanel * _result;
3451 wxWindow * _arg0;
3452 wxWindowID _arg1;
3453 wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition;
3454 wxSize * _arg3 = (wxSize *) &wxPyDefaultSize;
3455 long _arg4 = (long ) wxTAB_TRAVERSAL;
3456 char * _arg5 = (char *) "panel";
3457 PyObject * _argo0 = 0;
3458 PyObject * _argo2 = 0;
3459 PyObject * _argo3 = 0;
3460 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
3461 char _ptemp[128];
3462
3463 self = self;
3464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxPanel",_kwnames,&_argo0,&_arg1,&_argo2,&_argo3,&_arg4,&_arg5))
3465 return NULL;
3466 if (_argo0) {
3467 if (_argo0 == Py_None) { _arg0 = NULL; }
3468 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3469 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
3470 return NULL;
3471 }
3472 }
3473 if (_argo2) {
3474 if (_argo2 == Py_None) { _arg2 = NULL; }
3475 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPoint_p")) {
3476 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxPanel. Expected _wxPoint_p.");
3477 return NULL;
3478 }
3479 }
3480 if (_argo3) {
3481 if (_argo3 == Py_None) { _arg3 = NULL; }
3482 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxSize_p")) {
3483 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxPanel. Expected _wxSize_p.");
3484 return NULL;
3485 }
3486 }
3487 {
3488 wxPy_BEGIN_ALLOW_THREADS;
3489 _result = (wxPanel *)new_wxPanel(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
3490
3491 wxPy_END_ALLOW_THREADS;
3492 } if (_result) {
3493 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPanel_p");
3494 _resultobj = Py_BuildValue("s",_ptemp);
3495 } else {
3496 Py_INCREF(Py_None);
3497 _resultobj = Py_None;
3498 }
3499 return _resultobj;
3500 }
3501
3502 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
3503 static PyObject *_wrap_wxPanel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3504 PyObject * _resultobj;
3505 wxPanel * _arg0;
3506 PyObject * _argo0 = 0;
3507 char *_kwnames[] = { "self", NULL };
3508
3509 self = self;
3510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPanel_InitDialog",_kwnames,&_argo0))
3511 return NULL;
3512 if (_argo0) {
3513 if (_argo0 == Py_None) { _arg0 = NULL; }
3514 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPanel_p")) {
3515 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
3516 return NULL;
3517 }
3518 }
3519 {
3520 wxPy_BEGIN_ALLOW_THREADS;
3521 wxPanel_InitDialog(_arg0);
3522
3523 wxPy_END_ALLOW_THREADS;
3524 } Py_INCREF(Py_None);
3525 _resultobj = Py_None;
3526 return _resultobj;
3527 }
3528
3529 #define wxPanel_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
3530 static PyObject *_wrap_wxPanel_GetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
3531 PyObject * _resultobj;
3532 wxButton * _result;
3533 wxPanel * _arg0;
3534 PyObject * _argo0 = 0;
3535 char *_kwnames[] = { "self", NULL };
3536 char _ptemp[128];
3537
3538 self = self;
3539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPanel_GetDefaultItem",_kwnames,&_argo0))
3540 return NULL;
3541 if (_argo0) {
3542 if (_argo0 == Py_None) { _arg0 = NULL; }
3543 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPanel_p")) {
3544 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPanel_GetDefaultItem. Expected _wxPanel_p.");
3545 return NULL;
3546 }
3547 }
3548 {
3549 wxPy_BEGIN_ALLOW_THREADS;
3550 _result = (wxButton *)wxPanel_GetDefaultItem(_arg0);
3551
3552 wxPy_END_ALLOW_THREADS;
3553 } if (_result) {
3554 SWIG_MakePtr(_ptemp, (char *) _result,"_wxButton_p");
3555 _resultobj = Py_BuildValue("s",_ptemp);
3556 } else {
3557 Py_INCREF(Py_None);
3558 _resultobj = Py_None;
3559 }
3560 return _resultobj;
3561 }
3562
3563 #define wxPanel_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
3564 static PyObject *_wrap_wxPanel_SetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
3565 PyObject * _resultobj;
3566 wxPanel * _arg0;
3567 wxButton * _arg1;
3568 PyObject * _argo0 = 0;
3569 PyObject * _argo1 = 0;
3570 char *_kwnames[] = { "self","btn", NULL };
3571
3572 self = self;
3573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPanel_SetDefaultItem",_kwnames,&_argo0,&_argo1))
3574 return NULL;
3575 if (_argo0) {
3576 if (_argo0 == Py_None) { _arg0 = NULL; }
3577 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPanel_p")) {
3578 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPanel_SetDefaultItem. Expected _wxPanel_p.");
3579 return NULL;
3580 }
3581 }
3582 if (_argo1) {
3583 if (_argo1 == Py_None) { _arg1 = NULL; }
3584 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxButton_p")) {
3585 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPanel_SetDefaultItem. Expected _wxButton_p.");
3586 return NULL;
3587 }
3588 }
3589 {
3590 wxPy_BEGIN_ALLOW_THREADS;
3591 wxPanel_SetDefaultItem(_arg0,_arg1);
3592
3593 wxPy_END_ALLOW_THREADS;
3594 } Py_INCREF(Py_None);
3595 _resultobj = Py_None;
3596 return _resultobj;
3597 }
3598
3599 static void *SwigwxDialogTowxPanel(void *ptr) {
3600 wxDialog *src;
3601 wxPanel *dest;
3602 src = (wxDialog *) ptr;
3603 dest = (wxPanel *) src;
3604 return (void *) dest;
3605 }
3606
3607 static void *SwigwxDialogTowxWindow(void *ptr) {
3608 wxDialog *src;
3609 wxWindow *dest;
3610 src = (wxDialog *) ptr;
3611 dest = (wxWindow *) src;
3612 return (void *) dest;
3613 }
3614
3615 static void *SwigwxDialogTowxEvtHandler(void *ptr) {
3616 wxDialog *src;
3617 wxEvtHandler *dest;
3618 src = (wxDialog *) ptr;
3619 dest = (wxEvtHandler *) src;
3620 return (void *) dest;
3621 }
3622
3623 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3624 static PyObject *_wrap_new_wxDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3625 PyObject * _resultobj;
3626 wxDialog * _result;
3627 wxWindow * _arg0;
3628 wxWindowID _arg1;
3629 wxString * _arg2;
3630 wxPoint * _arg3 = (wxPoint *) &wxPyDefaultPosition;
3631 wxSize * _arg4 = (wxSize *) &wxPyDefaultSize;
3632 long _arg5 = (long ) wxDEFAULT_DIALOG_STYLE;
3633 char * _arg6 = (char *) "dialogBox";
3634 PyObject * _argo0 = 0;
3635 PyObject * _obj2 = 0;
3636 PyObject * _argo3 = 0;
3637 PyObject * _argo4 = 0;
3638 char *_kwnames[] = { "parent","id","title","pos","size","style","name", NULL };
3639 char _ptemp[128];
3640
3641 self = self;
3642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOls:new_wxDialog",_kwnames,&_argo0,&_arg1,&_obj2,&_argo3,&_argo4,&_arg5,&_arg6))
3643 return NULL;
3644 if (_argo0) {
3645 if (_argo0 == Py_None) { _arg0 = NULL; }
3646 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3647 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
3648 return NULL;
3649 }
3650 }
3651 {
3652 if (!PyString_Check(_obj2)) {
3653 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3654 return NULL;
3655 }
3656 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
3657 }
3658 if (_argo3) {
3659 if (_argo3 == Py_None) { _arg3 = NULL; }
3660 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxPoint_p")) {
3661 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxDialog. Expected _wxPoint_p.");
3662 return NULL;
3663 }
3664 }
3665 if (_argo4) {
3666 if (_argo4 == Py_None) { _arg4 = NULL; }
3667 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxSize_p")) {
3668 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxDialog. Expected _wxSize_p.");
3669 return NULL;
3670 }
3671 }
3672 {
3673 wxPy_BEGIN_ALLOW_THREADS;
3674 _result = (wxDialog *)new_wxDialog(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
3675
3676 wxPy_END_ALLOW_THREADS;
3677 } if (_result) {
3678 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDialog_p");
3679 _resultobj = Py_BuildValue("s",_ptemp);
3680 } else {
3681 Py_INCREF(Py_None);
3682 _resultobj = Py_None;
3683 }
3684 {
3685 if (_obj2)
3686 delete _arg2;
3687 }
3688 return _resultobj;
3689 }
3690
3691 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
3692 static PyObject *_wrap_wxDialog_Centre(PyObject *self, PyObject *args, PyObject *kwargs) {
3693 PyObject * _resultobj;
3694 wxDialog * _arg0;
3695 int _arg1 = (int ) wxBOTH;
3696 PyObject * _argo0 = 0;
3697 char *_kwnames[] = { "self","direction", NULL };
3698
3699 self = self;
3700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxDialog_Centre",_kwnames,&_argo0,&_arg1))
3701 return NULL;
3702 if (_argo0) {
3703 if (_argo0 == Py_None) { _arg0 = NULL; }
3704 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
3705 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
3706 return NULL;
3707 }
3708 }
3709 {
3710 wxPy_BEGIN_ALLOW_THREADS;
3711 wxDialog_Centre(_arg0,_arg1);
3712
3713 wxPy_END_ALLOW_THREADS;
3714 } Py_INCREF(Py_None);
3715 _resultobj = Py_None;
3716 return _resultobj;
3717 }
3718
3719 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
3720 static PyObject *_wrap_wxDialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3721 PyObject * _resultobj;
3722 wxDialog * _arg0;
3723 int _arg1;
3724 PyObject * _argo0 = 0;
3725 char *_kwnames[] = { "self","retCode", NULL };
3726
3727 self = self;
3728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDialog_EndModal",_kwnames,&_argo0,&_arg1))
3729 return NULL;
3730 if (_argo0) {
3731 if (_argo0 == Py_None) { _arg0 = NULL; }
3732 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
3733 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
3734 return NULL;
3735 }
3736 }
3737 {
3738 wxPy_BEGIN_ALLOW_THREADS;
3739 wxDialog_EndModal(_arg0,_arg1);
3740
3741 wxPy_END_ALLOW_THREADS;
3742 } Py_INCREF(Py_None);
3743 _resultobj = Py_None;
3744 return _resultobj;
3745 }
3746
3747 #define wxDialog_GetTitle(_swigobj) (_swigobj->GetTitle())
3748 static PyObject *_wrap_wxDialog_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
3749 PyObject * _resultobj;
3750 wxString * _result;
3751 wxDialog * _arg0;
3752 PyObject * _argo0 = 0;
3753 char *_kwnames[] = { "self", NULL };
3754
3755 self = self;
3756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDialog_GetTitle",_kwnames,&_argo0))
3757 return NULL;
3758 if (_argo0) {
3759 if (_argo0 == Py_None) { _arg0 = NULL; }
3760 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
3761 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_GetTitle. Expected _wxDialog_p.");
3762 return NULL;
3763 }
3764 }
3765 {
3766 wxPy_BEGIN_ALLOW_THREADS;
3767 _result = new wxString (wxDialog_GetTitle(_arg0));
3768
3769 wxPy_END_ALLOW_THREADS;
3770 }{
3771 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
3772 }
3773 {
3774 delete _result;
3775 }
3776 return _resultobj;
3777 }
3778
3779 #define wxDialog_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
3780 static PyObject *_wrap_wxDialog_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
3781 PyObject * _resultobj;
3782 wxDialog * _arg0;
3783 bool _arg1;
3784 PyObject * _argo0 = 0;
3785 int tempbool1;
3786 char *_kwnames[] = { "self","iconize", NULL };
3787
3788 self = self;
3789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDialog_Iconize",_kwnames,&_argo0,&tempbool1))
3790 return NULL;
3791 if (_argo0) {
3792 if (_argo0 == Py_None) { _arg0 = NULL; }
3793 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
3794 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_Iconize. Expected _wxDialog_p.");
3795 return NULL;
3796 }
3797 }
3798 _arg1 = (bool ) tempbool1;
3799 {
3800 wxPy_BEGIN_ALLOW_THREADS;
3801 wxDialog_Iconize(_arg0,_arg1);
3802
3803 wxPy_END_ALLOW_THREADS;
3804 } Py_INCREF(Py_None);
3805 _resultobj = Py_None;
3806 return _resultobj;
3807 }
3808
3809 #define wxDialog_IsIconized(_swigobj) (_swigobj->IsIconized())
3810 static PyObject *_wrap_wxDialog_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
3811 PyObject * _resultobj;
3812 bool _result;
3813 wxDialog * _arg0;
3814 PyObject * _argo0 = 0;
3815 char *_kwnames[] = { "self", NULL };
3816
3817 self = self;
3818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDialog_IsIconized",_kwnames,&_argo0))
3819 return NULL;
3820 if (_argo0) {
3821 if (_argo0 == Py_None) { _arg0 = NULL; }
3822 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
3823 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_IsIconized. Expected _wxDialog_p.");
3824 return NULL;
3825 }
3826 }
3827 {
3828 wxPy_BEGIN_ALLOW_THREADS;
3829 _result = (bool )wxDialog_IsIconized(_arg0);
3830
3831 wxPy_END_ALLOW_THREADS;
3832 } _resultobj = Py_BuildValue("i",_result);
3833 return _resultobj;
3834 }
3835
3836 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
3837 static PyObject *_wrap_wxDialog_SetModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3838 PyObject * _resultobj;
3839 wxDialog * _arg0;
3840 bool _arg1;
3841 PyObject * _argo0 = 0;
3842 int tempbool1;
3843 char *_kwnames[] = { "self","flag", NULL };
3844
3845 self = self;
3846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDialog_SetModal",_kwnames,&_argo0,&tempbool1))
3847 return NULL;
3848 if (_argo0) {
3849 if (_argo0 == Py_None) { _arg0 = NULL; }
3850 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
3851 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
3852 return NULL;
3853 }
3854 }
3855 _arg1 = (bool ) tempbool1;
3856 {
3857 wxPy_BEGIN_ALLOW_THREADS;
3858 wxDialog_SetModal(_arg0,_arg1);
3859
3860 wxPy_END_ALLOW_THREADS;
3861 } Py_INCREF(Py_None);
3862 _resultobj = Py_None;
3863 return _resultobj;
3864 }
3865
3866 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
3867 static PyObject *_wrap_wxDialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3868 PyObject * _resultobj;
3869 bool _result;
3870 wxDialog * _arg0;
3871 PyObject * _argo0 = 0;
3872 char *_kwnames[] = { "self", NULL };
3873
3874 self = self;
3875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDialog_IsModal",_kwnames,&_argo0))
3876 return NULL;
3877 if (_argo0) {
3878 if (_argo0 == Py_None) { _arg0 = NULL; }
3879 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
3880 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
3881 return NULL;
3882 }
3883 }
3884 {
3885 wxPy_BEGIN_ALLOW_THREADS;
3886 _result = (bool )wxDialog_IsModal(_arg0);
3887
3888 wxPy_END_ALLOW_THREADS;
3889 } _resultobj = Py_BuildValue("i",_result);
3890 return _resultobj;
3891 }
3892
3893 #define wxDialog_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
3894 static PyObject *_wrap_wxDialog_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
3895 PyObject * _resultobj;
3896 wxDialog * _arg0;
3897 wxString * _arg1;
3898 PyObject * _argo0 = 0;
3899 PyObject * _obj1 = 0;
3900 char *_kwnames[] = { "self","title", NULL };
3901
3902 self = self;
3903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDialog_SetTitle",_kwnames,&_argo0,&_obj1))
3904 return NULL;
3905 if (_argo0) {
3906 if (_argo0 == Py_None) { _arg0 = NULL; }
3907 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
3908 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_SetTitle. Expected _wxDialog_p.");
3909 return NULL;
3910 }
3911 }
3912 {
3913 if (!PyString_Check(_obj1)) {
3914 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3915 return NULL;
3916 }
3917 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
3918 }
3919 {
3920 wxPy_BEGIN_ALLOW_THREADS;
3921 wxDialog_SetTitle(_arg0,*_arg1);
3922
3923 wxPy_END_ALLOW_THREADS;
3924 } Py_INCREF(Py_None);
3925 _resultobj = Py_None;
3926 {
3927 if (_obj1)
3928 delete _arg1;
3929 }
3930 return _resultobj;
3931 }
3932
3933 #define wxDialog_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3934 static PyObject *_wrap_wxDialog_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
3935 PyObject * _resultobj;
3936 bool _result;
3937 wxDialog * _arg0;
3938 bool _arg1;
3939 PyObject * _argo0 = 0;
3940 int tempbool1;
3941 char *_kwnames[] = { "self","show", NULL };
3942
3943 self = self;
3944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDialog_Show",_kwnames,&_argo0,&tempbool1))
3945 return NULL;
3946 if (_argo0) {
3947 if (_argo0 == Py_None) { _arg0 = NULL; }
3948 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
3949 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_Show. Expected _wxDialog_p.");
3950 return NULL;
3951 }
3952 }
3953 _arg1 = (bool ) tempbool1;
3954 {
3955 wxPy_BEGIN_ALLOW_THREADS;
3956 _result = (bool )wxDialog_Show(_arg0,_arg1);
3957
3958 wxPy_END_ALLOW_THREADS;
3959 } _resultobj = Py_BuildValue("i",_result);
3960 return _resultobj;
3961 }
3962
3963 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
3964 static PyObject *_wrap_wxDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3965 PyObject * _resultobj;
3966 int _result;
3967 wxDialog * _arg0;
3968 PyObject * _argo0 = 0;
3969 char *_kwnames[] = { "self", NULL };
3970
3971 self = self;
3972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDialog_ShowModal",_kwnames,&_argo0))
3973 return NULL;
3974 if (_argo0) {
3975 if (_argo0 == Py_None) { _arg0 = NULL; }
3976 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
3977 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
3978 return NULL;
3979 }
3980 }
3981 {
3982 wxPy_BEGIN_ALLOW_THREADS;
3983 _result = (int )wxDialog_ShowModal(_arg0);
3984
3985 wxPy_END_ALLOW_THREADS;
3986 } _resultobj = Py_BuildValue("i",_result);
3987 return _resultobj;
3988 }
3989
3990 #define wxDialog_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
3991 static PyObject *_wrap_wxDialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3992 PyObject * _resultobj;
3993 int _result;
3994 wxDialog * _arg0;
3995 PyObject * _argo0 = 0;
3996 char *_kwnames[] = { "self", NULL };
3997
3998 self = self;
3999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDialog_GetReturnCode",_kwnames,&_argo0))
4000 return NULL;
4001 if (_argo0) {
4002 if (_argo0 == Py_None) { _arg0 = NULL; }
4003 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
4004 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_GetReturnCode. Expected _wxDialog_p.");
4005 return NULL;
4006 }
4007 }
4008 {
4009 wxPy_BEGIN_ALLOW_THREADS;
4010 _result = (int )wxDialog_GetReturnCode(_arg0);
4011
4012 wxPy_END_ALLOW_THREADS;
4013 } _resultobj = Py_BuildValue("i",_result);
4014 return _resultobj;
4015 }
4016
4017 #define wxDialog_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
4018 static PyObject *_wrap_wxDialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4019 PyObject * _resultobj;
4020 wxDialog * _arg0;
4021 int _arg1;
4022 PyObject * _argo0 = 0;
4023 char *_kwnames[] = { "self","retCode", NULL };
4024
4025 self = self;
4026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDialog_SetReturnCode",_kwnames,&_argo0,&_arg1))
4027 return NULL;
4028 if (_argo0) {
4029 if (_argo0 == Py_None) { _arg0 = NULL; }
4030 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
4031 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_SetReturnCode. Expected _wxDialog_p.");
4032 return NULL;
4033 }
4034 }
4035 {
4036 wxPy_BEGIN_ALLOW_THREADS;
4037 wxDialog_SetReturnCode(_arg0,_arg1);
4038
4039 wxPy_END_ALLOW_THREADS;
4040 } Py_INCREF(Py_None);
4041 _resultobj = Py_None;
4042 return _resultobj;
4043 }
4044
4045 static void *SwigwxScrolledWindowTowxPanel(void *ptr) {
4046 wxScrolledWindow *src;
4047 wxPanel *dest;
4048 src = (wxScrolledWindow *) ptr;
4049 dest = (wxPanel *) src;
4050 return (void *) dest;
4051 }
4052
4053 static void *SwigwxScrolledWindowTowxWindow(void *ptr) {
4054 wxScrolledWindow *src;
4055 wxWindow *dest;
4056 src = (wxScrolledWindow *) ptr;
4057 dest = (wxWindow *) src;
4058 return (void *) dest;
4059 }
4060
4061 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr) {
4062 wxScrolledWindow *src;
4063 wxEvtHandler *dest;
4064 src = (wxScrolledWindow *) ptr;
4065 dest = (wxEvtHandler *) src;
4066 return (void *) dest;
4067 }
4068
4069 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4070 static PyObject *_wrap_new_wxScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4071 PyObject * _resultobj;
4072 wxScrolledWindow * _result;
4073 wxWindow * _arg0;
4074 wxWindowID _arg1 = (wxWindowID ) -1;
4075 wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition;
4076 wxSize * _arg3 = (wxSize *) &wxPyDefaultSize;
4077 long _arg4 = (long ) wxHSCROLL|wxVSCROLL;
4078 char * _arg5 = (char *) "scrolledWindow";
4079 PyObject * _argo0 = 0;
4080 PyObject * _argo2 = 0;
4081 PyObject * _argo3 = 0;
4082 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
4083 char _ptemp[128];
4084
4085 self = self;
4086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOls:new_wxScrolledWindow",_kwnames,&_argo0,&_arg1,&_argo2,&_argo3,&_arg4,&_arg5))
4087 return NULL;
4088 if (_argo0) {
4089 if (_argo0 == Py_None) { _arg0 = NULL; }
4090 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4091 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
4092 return NULL;
4093 }
4094 }
4095 if (_argo2) {
4096 if (_argo2 == Py_None) { _arg2 = NULL; }
4097 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPoint_p")) {
4098 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxScrolledWindow. Expected _wxPoint_p.");
4099 return NULL;
4100 }
4101 }
4102 if (_argo3) {
4103 if (_argo3 == Py_None) { _arg3 = NULL; }
4104 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxSize_p")) {
4105 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxScrolledWindow. Expected _wxSize_p.");
4106 return NULL;
4107 }
4108 }
4109 {
4110 wxPy_BEGIN_ALLOW_THREADS;
4111 _result = (wxScrolledWindow *)new_wxScrolledWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
4112
4113 wxPy_END_ALLOW_THREADS;
4114 } if (_result) {
4115 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrolledWindow_p");
4116 _resultobj = Py_BuildValue("s",_ptemp);
4117 } else {
4118 Py_INCREF(Py_None);
4119 _resultobj = Py_None;
4120 }
4121 return _resultobj;
4122 }
4123
4124 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
4125 static PyObject *_wrap_wxScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
4126 PyObject * _resultobj;
4127 wxScrolledWindow * _arg0;
4128 bool _arg1;
4129 bool _arg2;
4130 PyObject * _argo0 = 0;
4131 int tempbool1;
4132 int tempbool2;
4133 char *_kwnames[] = { "self","xScrolling","yScrolling", NULL };
4134
4135 self = self;
4136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxScrolledWindow_EnableScrolling",_kwnames,&_argo0,&tempbool1,&tempbool2))
4137 return NULL;
4138 if (_argo0) {
4139 if (_argo0 == Py_None) { _arg0 = NULL; }
4140 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
4141 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
4142 return NULL;
4143 }
4144 }
4145 _arg1 = (bool ) tempbool1;
4146 _arg2 = (bool ) tempbool2;
4147 {
4148 wxPy_BEGIN_ALLOW_THREADS;
4149 wxScrolledWindow_EnableScrolling(_arg0,_arg1,_arg2);
4150
4151 wxPy_END_ALLOW_THREADS;
4152 } Py_INCREF(Py_None);
4153 _resultobj = Py_None;
4154 return _resultobj;
4155 }
4156
4157 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
4158 static PyObject *_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
4159 PyObject * _resultobj;
4160 wxScrolledWindow * _arg0;
4161 int * _arg1;
4162 int temp;
4163 int * _arg2;
4164 int temp0;
4165 PyObject * _argo0 = 0;
4166 char *_kwnames[] = { "self", NULL };
4167
4168 self = self;
4169 {
4170 _arg1 = &temp;
4171 }
4172 {
4173 _arg2 = &temp0;
4174 }
4175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames,&_argo0))
4176 return NULL;
4177 if (_argo0) {
4178 if (_argo0 == Py_None) { _arg0 = NULL; }
4179 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
4180 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
4181 return NULL;
4182 }
4183 }
4184 {
4185 wxPy_BEGIN_ALLOW_THREADS;
4186 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0,_arg1,_arg2);
4187
4188 wxPy_END_ALLOW_THREADS;
4189 } Py_INCREF(Py_None);
4190 _resultobj = Py_None;
4191 {
4192 PyObject *o;
4193 o = PyInt_FromLong((long) (*_arg1));
4194 _resultobj = t_output_helper(_resultobj, o);
4195 }
4196 {
4197 PyObject *o;
4198 o = PyInt_FromLong((long) (*_arg2));
4199 _resultobj = t_output_helper(_resultobj, o);
4200 }
4201 return _resultobj;
4202 }
4203
4204 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
4205 static PyObject *_wrap_wxScrolledWindow_GetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4206 PyObject * _resultobj;
4207 wxScrolledWindow * _arg0;
4208 int * _arg1;
4209 int temp;
4210 int * _arg2;
4211 int temp0;
4212 PyObject * _argo0 = 0;
4213 char *_kwnames[] = { "self", NULL };
4214
4215 self = self;
4216 {
4217 _arg1 = &temp;
4218 }
4219 {
4220 _arg2 = &temp0;
4221 }
4222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_GetVirtualSize",_kwnames,&_argo0))
4223 return NULL;
4224 if (_argo0) {
4225 if (_argo0 == Py_None) { _arg0 = NULL; }
4226 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
4227 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
4228 return NULL;
4229 }
4230 }
4231 {
4232 wxPy_BEGIN_ALLOW_THREADS;
4233 wxScrolledWindow_GetVirtualSize(_arg0,_arg1,_arg2);
4234
4235 wxPy_END_ALLOW_THREADS;
4236 } Py_INCREF(Py_None);
4237 _resultobj = Py_None;
4238 {
4239 PyObject *o;
4240 o = PyInt_FromLong((long) (*_arg1));
4241 _resultobj = t_output_helper(_resultobj, o);
4242 }
4243 {
4244 PyObject *o;
4245 o = PyInt_FromLong((long) (*_arg2));
4246 _resultobj = t_output_helper(_resultobj, o);
4247 }
4248 return _resultobj;
4249 }
4250
4251 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
4252 static PyObject *_wrap_wxScrolledWindow_IsRetained(PyObject *self, PyObject *args, PyObject *kwargs) {
4253 PyObject * _resultobj;
4254 bool _result;
4255 wxScrolledWindow * _arg0;
4256 PyObject * _argo0 = 0;
4257 char *_kwnames[] = { "self", NULL };
4258
4259 self = self;
4260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_IsRetained",_kwnames,&_argo0))
4261 return NULL;
4262 if (_argo0) {
4263 if (_argo0 == Py_None) { _arg0 = NULL; }
4264 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
4265 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
4266 return NULL;
4267 }
4268 }
4269 {
4270 wxPy_BEGIN_ALLOW_THREADS;
4271 _result = (bool )wxScrolledWindow_IsRetained(_arg0);
4272
4273 wxPy_END_ALLOW_THREADS;
4274 } _resultobj = Py_BuildValue("i",_result);
4275 return _resultobj;
4276 }
4277
4278 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
4279 static PyObject *_wrap_wxScrolledWindow_PrepareDC(PyObject *self, PyObject *args, PyObject *kwargs) {
4280 PyObject * _resultobj;
4281 wxScrolledWindow * _arg0;
4282 wxDC * _arg1;
4283 PyObject * _argo0 = 0;
4284 PyObject * _argo1 = 0;
4285 char *_kwnames[] = { "self","dc", NULL };
4286
4287 self = self;
4288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxScrolledWindow_PrepareDC",_kwnames,&_argo0,&_argo1))
4289 return NULL;
4290 if (_argo0) {
4291 if (_argo0 == Py_None) { _arg0 = NULL; }
4292 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
4293 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
4294 return NULL;
4295 }
4296 }
4297 if (_argo1) {
4298 if (_argo1 == Py_None) { _arg1 = NULL; }
4299 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4300 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
4301 return NULL;
4302 }
4303 }
4304 {
4305 wxPy_BEGIN_ALLOW_THREADS;
4306 wxScrolledWindow_PrepareDC(_arg0,*_arg1);
4307
4308 wxPy_END_ALLOW_THREADS;
4309 } Py_INCREF(Py_None);
4310 _resultobj = Py_None;
4311 return _resultobj;
4312 }
4313
4314 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
4315 static PyObject *_wrap_wxScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
4316 PyObject * _resultobj;
4317 wxScrolledWindow * _arg0;
4318 int _arg1;
4319 int _arg2;
4320 PyObject * _argo0 = 0;
4321 char *_kwnames[] = { "self","x","y", NULL };
4322
4323 self = self;
4324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxScrolledWindow_Scroll",_kwnames,&_argo0,&_arg1,&_arg2))
4325 return NULL;
4326 if (_argo0) {
4327 if (_argo0 == Py_None) { _arg0 = NULL; }
4328 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
4329 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
4330 return NULL;
4331 }
4332 }
4333 {
4334 wxPy_BEGIN_ALLOW_THREADS;
4335 wxScrolledWindow_Scroll(_arg0,_arg1,_arg2);
4336
4337 wxPy_END_ALLOW_THREADS;
4338 } Py_INCREF(Py_None);
4339 _resultobj = Py_None;
4340 return _resultobj;
4341 }
4342
4343 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4344 static PyObject *_wrap_wxScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
4345 PyObject * _resultobj;
4346 wxScrolledWindow * _arg0;
4347 int _arg1;
4348 int _arg2;
4349 int _arg3;
4350 int _arg4;
4351 int _arg5 = (int ) 0;
4352 int _arg6 = (int ) 0;
4353 PyObject * _argo0 = 0;
4354 char *_kwnames[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos", NULL };
4355
4356 self = self;
4357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|ii:wxScrolledWindow_SetScrollbars",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6))
4358 return NULL;
4359 if (_argo0) {
4360 if (_argo0 == Py_None) { _arg0 = NULL; }
4361 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
4362 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
4363 return NULL;
4364 }
4365 }
4366 {
4367 wxPy_BEGIN_ALLOW_THREADS;
4368 wxScrolledWindow_SetScrollbars(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
4369
4370 wxPy_END_ALLOW_THREADS;
4371 } Py_INCREF(Py_None);
4372 _resultobj = Py_None;
4373 return _resultobj;
4374 }
4375
4376 #define wxScrolledWindow_ViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->ViewStart(_swigarg0,_swigarg1))
4377 static PyObject *_wrap_wxScrolledWindow_ViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
4378 PyObject * _resultobj;
4379 wxScrolledWindow * _arg0;
4380 int * _arg1;
4381 int temp;
4382 int * _arg2;
4383 int temp0;
4384 PyObject * _argo0 = 0;
4385 char *_kwnames[] = { "self", NULL };
4386
4387 self = self;
4388 {
4389 _arg1 = &temp;
4390 }
4391 {
4392 _arg2 = &temp0;
4393 }
4394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_ViewStart",_kwnames,&_argo0))
4395 return NULL;
4396 if (_argo0) {
4397 if (_argo0 == Py_None) { _arg0 = NULL; }
4398 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
4399 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_ViewStart. Expected _wxScrolledWindow_p.");
4400 return NULL;
4401 }
4402 }
4403 {
4404 wxPy_BEGIN_ALLOW_THREADS;
4405 wxScrolledWindow_ViewStart(_arg0,_arg1,_arg2);
4406
4407 wxPy_END_ALLOW_THREADS;
4408 } Py_INCREF(Py_None);
4409 _resultobj = Py_None;
4410 {
4411 PyObject *o;
4412 o = PyInt_FromLong((long) (*_arg1));
4413 _resultobj = t_output_helper(_resultobj, o);
4414 }
4415 {
4416 PyObject *o;
4417 o = PyInt_FromLong((long) (*_arg2));
4418 _resultobj = t_output_helper(_resultobj, o);
4419 }
4420 return _resultobj;
4421 }
4422
4423 static void *SwigwxMenuTowxEvtHandler(void *ptr) {
4424 wxMenu *src;
4425 wxEvtHandler *dest;
4426 src = (wxMenu *) ptr;
4427 dest = (wxEvtHandler *) src;
4428 return (void *) dest;
4429 }
4430
4431 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
4432 static PyObject *_wrap_new_wxMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
4433 PyObject * _resultobj;
4434 wxMenu * _result;
4435 wxString * _arg0 = (wxString *) &wxPyEmptyStr;
4436 long _arg1 = (long ) 0;
4437 PyObject * _obj0 = 0;
4438 char *_kwnames[] = { "title","style", NULL };
4439 char _ptemp[128];
4440
4441 self = self;
4442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|Ol:new_wxMenu",_kwnames,&_obj0,&_arg1))
4443 return NULL;
4444 if (_obj0)
4445 {
4446 if (!PyString_Check(_obj0)) {
4447 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4448 return NULL;
4449 }
4450 _arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
4451 }
4452 {
4453 wxPy_BEGIN_ALLOW_THREADS;
4454 _result = (wxMenu *)new_wxMenu(*_arg0,_arg1);
4455
4456 wxPy_END_ALLOW_THREADS;
4457 } if (_result) {
4458 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenu_p");
4459 _resultobj = Py_BuildValue("s",_ptemp);
4460 } else {
4461 Py_INCREF(Py_None);
4462 _resultobj = Py_None;
4463 }
4464 {
4465 if (_obj0)
4466 delete _arg0;
4467 }
4468 return _resultobj;
4469 }
4470
4471 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4472 static PyObject *_wrap_wxMenu_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
4473 PyObject * _resultobj;
4474 wxMenu * _arg0;
4475 int _arg1;
4476 wxString * _arg2;
4477 wxString * _arg3 = (wxString *) &wxPyEmptyStr;
4478 int _arg4 = (int ) FALSE;
4479 PyObject * _argo0 = 0;
4480 PyObject * _obj2 = 0;
4481 PyObject * _obj3 = 0;
4482 char *_kwnames[] = { "self","id","item","helpString","checkable", NULL };
4483
4484 self = self;
4485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|Oi:wxMenu_Append",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4))
4486 return NULL;
4487 if (_argo0) {
4488 if (_argo0 == Py_None) { _arg0 = NULL; }
4489 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
4490 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
4491 return NULL;
4492 }
4493 }
4494 {
4495 if (!PyString_Check(_obj2)) {
4496 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4497 return NULL;
4498 }
4499 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
4500 }
4501 if (_obj3)
4502 {
4503 if (!PyString_Check(_obj3)) {
4504 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4505 return NULL;
4506 }
4507 _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3));
4508 }
4509 {
4510 wxPy_BEGIN_ALLOW_THREADS;
4511 wxMenu_Append(_arg0,_arg1,*_arg2,*_arg3,_arg4);
4512
4513 wxPy_END_ALLOW_THREADS;
4514 } Py_INCREF(Py_None);
4515 _resultobj = Py_None;
4516 {
4517 if (_obj2)
4518 delete _arg2;
4519 }
4520 {
4521 if (_obj3)
4522 delete _arg3;
4523 }
4524 return _resultobj;
4525 }
4526
4527 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4528 static PyObject *_wrap_wxMenu_AppendMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
4529 PyObject * _resultobj;
4530 wxMenu * _arg0;
4531 int _arg1;
4532 wxString * _arg2;
4533 wxMenu * _arg3;
4534 wxString * _arg4 = (wxString *) &wxPyEmptyStr;
4535 PyObject * _argo0 = 0;
4536 PyObject * _obj2 = 0;
4537 PyObject * _argo3 = 0;
4538 PyObject * _obj4 = 0;
4539 char *_kwnames[] = { "self","id","item","subMenu","helpString", NULL };
4540
4541 self = self;
4542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO|O:wxMenu_AppendMenu",_kwnames,&_argo0,&_arg1,&_obj2,&_argo3,&_obj4))
4543 return NULL;
4544 if (_argo0) {
4545 if (_argo0 == Py_None) { _arg0 = NULL; }
4546 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
4547 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
4548 return NULL;
4549 }
4550 }
4551 {
4552 if (!PyString_Check(_obj2)) {
4553 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4554 return NULL;
4555 }
4556 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
4557 }
4558 if (_argo3) {
4559 if (_argo3 == Py_None) { _arg3 = NULL; }
4560 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxMenu_p")) {
4561 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
4562 return NULL;
4563 }
4564 }
4565 if (_obj4)
4566 {
4567 if (!PyString_Check(_obj4)) {
4568 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4569 return NULL;
4570 }
4571 _arg4 = new wxString(PyString_AsString(_obj4), PyString_Size(_obj4));
4572 }
4573 {
4574 wxPy_BEGIN_ALLOW_THREADS;
4575 wxMenu_AppendMenu(_arg0,_arg1,*_arg2,_arg3,*_arg4);
4576
4577 wxPy_END_ALLOW_THREADS;
4578 } Py_INCREF(Py_None);
4579 _resultobj = Py_None;
4580 {
4581 if (_obj2)
4582 delete _arg2;
4583 }
4584 {
4585 if (_obj4)
4586 delete _arg4;
4587 }
4588 return _resultobj;
4589 }
4590
4591 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
4592 static PyObject *_wrap_wxMenu_AppendSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
4593 PyObject * _resultobj;
4594 wxMenu * _arg0;
4595 PyObject * _argo0 = 0;
4596 char *_kwnames[] = { "self", NULL };
4597
4598 self = self;
4599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_AppendSeparator",_kwnames,&_argo0))
4600 return NULL;
4601 if (_argo0) {
4602 if (_argo0 == Py_None) { _arg0 = NULL; }
4603 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
4604 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
4605 return NULL;
4606 }
4607 }
4608 {
4609 wxPy_BEGIN_ALLOW_THREADS;
4610 wxMenu_AppendSeparator(_arg0);
4611
4612 wxPy_END_ALLOW_THREADS;
4613 } Py_INCREF(Py_None);
4614 _resultobj = Py_None;
4615 return _resultobj;
4616 }
4617
4618 #define wxMenu_Break(_swigobj) (_swigobj->Break())
4619 static PyObject *_wrap_wxMenu_Break(PyObject *self, PyObject *args, PyObject *kwargs) {
4620 PyObject * _resultobj;
4621 wxMenu * _arg0;
4622 PyObject * _argo0 = 0;
4623 char *_kwnames[] = { "self", NULL };
4624
4625 self = self;
4626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_Break",_kwnames,&_argo0))
4627 return NULL;
4628 if (_argo0) {
4629 if (_argo0 == Py_None) { _arg0 = NULL; }
4630 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
4631 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
4632 return NULL;
4633 }
4634 }
4635 {
4636 wxPy_BEGIN_ALLOW_THREADS;
4637 wxMenu_Break(_arg0);
4638
4639 wxPy_END_ALLOW_THREADS;
4640 } Py_INCREF(Py_None);
4641 _resultobj = Py_None;
4642 return _resultobj;
4643 }
4644
4645 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
4646 static PyObject *_wrap_wxMenu_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
4647 PyObject * _resultobj;
4648 wxMenu * _arg0;
4649 int _arg1;
4650 bool _arg2;
4651 PyObject * _argo0 = 0;
4652 int tempbool2;
4653 char *_kwnames[] = { "self","id","flag", NULL };
4654
4655 self = self;
4656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxMenu_Check",_kwnames,&_argo0,&_arg1,&tempbool2))
4657 return NULL;
4658 if (_argo0) {
4659 if (_argo0 == Py_None) { _arg0 = NULL; }
4660 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
4661 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
4662 return NULL;
4663 }
4664 }
4665 _arg2 = (bool ) tempbool2;
4666 {
4667 wxPy_BEGIN_ALLOW_THREADS;
4668 wxMenu_Check(_arg0,_arg1,_arg2);
4669
4670 wxPy_END_ALLOW_THREADS;
4671 } Py_INCREF(Py_None);
4672 _resultobj = Py_None;
4673 return _resultobj;
4674 }
4675
4676 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
4677 static PyObject *_wrap_wxMenu_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
4678 PyObject * _resultobj;
4679 wxMenu * _arg0;
4680 int _arg1;
4681 bool _arg2;
4682 PyObject * _argo0 = 0;
4683 int tempbool2;
4684 char *_kwnames[] = { "self","id","enable", NULL };
4685
4686 self = self;
4687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxMenu_Enable",_kwnames,&_argo0,&_arg1,&tempbool2))
4688 return NULL;
4689 if (_argo0) {
4690 if (_argo0 == Py_None) { _arg0 = NULL; }
4691 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
4692 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
4693 return NULL;
4694 }
4695 }
4696 _arg2 = (bool ) tempbool2;
4697 {
4698 wxPy_BEGIN_ALLOW_THREADS;
4699 wxMenu_Enable(_arg0,_arg1,_arg2);
4700
4701 wxPy_END_ALLOW_THREADS;
4702 } Py_INCREF(Py_None);
4703 _resultobj = Py_None;
4704 return _resultobj;
4705 }
4706
4707 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
4708 static PyObject *_wrap_wxMenu_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4709 PyObject * _resultobj;
4710 int _result;
4711 wxMenu * _arg0;
4712 wxString * _arg1;
4713 PyObject * _argo0 = 0;
4714 PyObject * _obj1 = 0;
4715 char *_kwnames[] = { "self","itemString", NULL };
4716
4717 self = self;
4718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_FindItem",_kwnames,&_argo0,&_obj1))
4719 return NULL;
4720 if (_argo0) {
4721 if (_argo0 == Py_None) { _arg0 = NULL; }
4722 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
4723 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
4724 return NULL;
4725 }
4726 }
4727 {
4728 if (!PyString_Check(_obj1)) {
4729 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4730 return NULL;
4731 }
4732 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
4733 }
4734 {
4735 wxPy_BEGIN_ALLOW_THREADS;
4736 _result = (int )wxMenu_FindItem(_arg0,*_arg1);
4737
4738 wxPy_END_ALLOW_THREADS;
4739 } _resultobj = Py_BuildValue("i",_result);
4740 {
4741 if (_obj1)
4742 delete _arg1;
4743 }
4744 return _resultobj;
4745 }
4746
4747 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
4748 static PyObject *_wrap_wxMenu_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
4749 PyObject * _resultobj;
4750 wxString * _result;
4751 wxMenu * _arg0;
4752 PyObject * _argo0 = 0;
4753 char *_kwnames[] = { "self", NULL };
4754
4755 self = self;
4756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetTitle",_kwnames,&_argo0))
4757 return NULL;
4758 if (_argo0) {
4759 if (_argo0 == Py_None) { _arg0 = NULL; }
4760 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
4761 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
4762 return NULL;
4763 }
4764 }
4765 {
4766 wxPy_BEGIN_ALLOW_THREADS;
4767 _result = new wxString (wxMenu_GetTitle(_arg0));
4768
4769 wxPy_END_ALLOW_THREADS;
4770 }{
4771 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
4772 }
4773 {
4774 delete _result;
4775 }
4776 return _resultobj;
4777 }
4778
4779 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4780 static PyObject *_wrap_wxMenu_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
4781 PyObject * _resultobj;
4782 wxMenu * _arg0;
4783 wxString * _arg1;
4784 PyObject * _argo0 = 0;
4785 PyObject * _obj1 = 0;
4786 char *_kwnames[] = { "self","title", NULL };
4787
4788 self = self;
4789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_SetTitle",_kwnames,&_argo0,&_obj1))
4790 return NULL;
4791 if (_argo0) {
4792 if (_argo0 == Py_None) { _arg0 = NULL; }
4793 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
4794 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
4795 return NULL;
4796 }
4797 }
4798 {
4799 if (!PyString_Check(_obj1)) {
4800 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4801 return NULL;
4802 }
4803 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
4804 }
4805 {
4806 wxPy_BEGIN_ALLOW_THREADS;
4807 wxMenu_SetTitle(_arg0,*_arg1);
4808
4809 wxPy_END_ALLOW_THREADS;
4810 } Py_INCREF(Py_None);
4811 _resultobj = Py_None;
4812 {
4813 if (_obj1)
4814 delete _arg1;
4815 }
4816 return _resultobj;
4817 }
4818
4819 #define wxMenu_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
4820 static PyObject *_wrap_wxMenu_FindItemForId(PyObject *self, PyObject *args, PyObject *kwargs) {
4821 PyObject * _resultobj;
4822 wxMenuItem * _result;
4823 wxMenu * _arg0;
4824 int _arg1;
4825 PyObject * _argo0 = 0;
4826 char *_kwnames[] = { "self","id", NULL };
4827 char _ptemp[128];
4828
4829 self = self;
4830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_FindItemForId",_kwnames,&_argo0,&_arg1))
4831 return NULL;
4832 if (_argo0) {
4833 if (_argo0 == Py_None) { _arg0 = NULL; }
4834 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
4835 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_FindItemForId. Expected _wxMenu_p.");
4836 return NULL;
4837 }
4838 }
4839 {
4840 wxPy_BEGIN_ALLOW_THREADS;
4841 _result = (wxMenuItem *)wxMenu_FindItemForId(_arg0,_arg1);
4842
4843 wxPy_END_ALLOW_THREADS;
4844 } if (_result) {
4845 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuItem_p");
4846 _resultobj = Py_BuildValue("s",_ptemp);
4847 } else {
4848 Py_INCREF(Py_None);
4849 _resultobj = Py_None;
4850 }
4851 return _resultobj;
4852 }
4853
4854 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
4855 static PyObject *_wrap_wxMenu_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
4856 PyObject * _resultobj;
4857 wxString * _result;
4858 wxMenu * _arg0;
4859 int _arg1;
4860 PyObject * _argo0 = 0;
4861 char *_kwnames[] = { "self","id", NULL };
4862
4863 self = self;
4864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_GetHelpString",_kwnames,&_argo0,&_arg1))
4865 return NULL;
4866 if (_argo0) {
4867 if (_argo0 == Py_None) { _arg0 = NULL; }
4868 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
4869 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
4870 return NULL;
4871 }
4872 }
4873 {
4874 wxPy_BEGIN_ALLOW_THREADS;
4875 _result = new wxString (wxMenu_GetHelpString(_arg0,_arg1));
4876
4877 wxPy_END_ALLOW_THREADS;
4878 }{
4879 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
4880 }
4881 {
4882 delete _result;
4883 }
4884 return _resultobj;
4885 }
4886
4887 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
4888 static PyObject *_wrap_wxMenu_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
4889 PyObject * _resultobj;
4890 wxString * _result;
4891 wxMenu * _arg0;
4892 int _arg1;
4893 PyObject * _argo0 = 0;
4894 char *_kwnames[] = { "self","id", NULL };
4895
4896 self = self;
4897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_GetLabel",_kwnames,&_argo0,&_arg1))
4898 return NULL;
4899 if (_argo0) {
4900 if (_argo0 == Py_None) { _arg0 = NULL; }
4901 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
4902 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
4903 return NULL;
4904 }
4905 }
4906 {
4907 wxPy_BEGIN_ALLOW_THREADS;
4908 _result = new wxString (wxMenu_GetLabel(_arg0,_arg1));
4909
4910 wxPy_END_ALLOW_THREADS;
4911 }{
4912 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
4913 }
4914 {
4915 delete _result;
4916 }
4917 return _resultobj;
4918 }
4919
4920 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
4921 static PyObject *_wrap_wxMenu_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
4922 PyObject * _resultobj;
4923 wxMenu * _arg0;
4924 int _arg1;
4925 wxString * _arg2;
4926 PyObject * _argo0 = 0;
4927 PyObject * _obj2 = 0;
4928 char *_kwnames[] = { "self","id","helpString", NULL };
4929
4930 self = self;
4931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenu_SetHelpString",_kwnames,&_argo0,&_arg1,&_obj2))
4932 return NULL;
4933 if (_argo0) {
4934 if (_argo0 == Py_None) { _arg0 = NULL; }
4935 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
4936 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
4937 return NULL;
4938 }
4939 }
4940 {
4941 if (!PyString_Check(_obj2)) {
4942 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4943 return NULL;
4944 }
4945 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
4946 }
4947 {
4948 wxPy_BEGIN_ALLOW_THREADS;
4949 wxMenu_SetHelpString(_arg0,_arg1,*_arg2);
4950
4951 wxPy_END_ALLOW_THREADS;
4952 } Py_INCREF(Py_None);
4953 _resultobj = Py_None;
4954 {
4955 if (_obj2)
4956 delete _arg2;
4957 }
4958 return _resultobj;
4959 }
4960
4961 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
4962 static PyObject *_wrap_wxMenu_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
4963 PyObject * _resultobj;
4964 bool _result;
4965 wxMenu * _arg0;
4966 int _arg1;
4967 PyObject * _argo0 = 0;
4968 char *_kwnames[] = { "self","id", NULL };
4969
4970 self = self;
4971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_IsChecked",_kwnames,&_argo0,&_arg1))
4972 return NULL;
4973 if (_argo0) {
4974 if (_argo0 == Py_None) { _arg0 = NULL; }
4975 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
4976 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
4977 return NULL;
4978 }
4979 }
4980 {
4981 wxPy_BEGIN_ALLOW_THREADS;
4982 _result = (bool )wxMenu_IsChecked(_arg0,_arg1);
4983
4984 wxPy_END_ALLOW_THREADS;
4985 } _resultobj = Py_BuildValue("i",_result);
4986 return _resultobj;
4987 }
4988
4989 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
4990 static PyObject *_wrap_wxMenu_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
4991 PyObject * _resultobj;
4992 bool _result;
4993 wxMenu * _arg0;
4994 int _arg1;
4995 PyObject * _argo0 = 0;
4996 char *_kwnames[] = { "self","id", NULL };
4997
4998 self = self;
4999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_IsEnabled",_kwnames,&_argo0,&_arg1))
5000 return NULL;
5001 if (_argo0) {
5002 if (_argo0 == Py_None) { _arg0 = NULL; }
5003 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
5004 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
5005 return NULL;
5006 }
5007 }
5008 {
5009 wxPy_BEGIN_ALLOW_THREADS;
5010 _result = (bool )wxMenu_IsEnabled(_arg0,_arg1);
5011
5012 wxPy_END_ALLOW_THREADS;
5013 } _resultobj = Py_BuildValue("i",_result);
5014 return _resultobj;
5015 }
5016
5017 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
5018 static PyObject *_wrap_wxMenu_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
5019 PyObject * _resultobj;
5020 wxMenu * _arg0;
5021 int _arg1;
5022 wxString * _arg2;
5023 PyObject * _argo0 = 0;
5024 PyObject * _obj2 = 0;
5025 char *_kwnames[] = { "self","id","label", NULL };
5026
5027 self = self;
5028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenu_SetLabel",_kwnames,&_argo0,&_arg1,&_obj2))
5029 return NULL;
5030 if (_argo0) {
5031 if (_argo0 == Py_None) { _arg0 = NULL; }
5032 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
5033 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
5034 return NULL;
5035 }
5036 }
5037 {
5038 if (!PyString_Check(_obj2)) {
5039 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5040 return NULL;
5041 }
5042 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
5043 }
5044 {
5045 wxPy_BEGIN_ALLOW_THREADS;
5046 wxMenu_SetLabel(_arg0,_arg1,*_arg2);
5047
5048 wxPy_END_ALLOW_THREADS;
5049 } Py_INCREF(Py_None);
5050 _resultobj = Py_None;
5051 {
5052 if (_obj2)
5053 delete _arg2;
5054 }
5055 return _resultobj;
5056 }
5057
5058 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
5059 static PyObject *_wrap_wxMenu_UpdateUI(PyObject *self, PyObject *args, PyObject *kwargs) {
5060 PyObject * _resultobj;
5061 wxMenu * _arg0;
5062 wxEvtHandler * _arg1 = (wxEvtHandler *) NULL;
5063 PyObject * _argo0 = 0;
5064 PyObject * _argo1 = 0;
5065 char *_kwnames[] = { "self","source", NULL };
5066
5067 self = self;
5068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxMenu_UpdateUI",_kwnames,&_argo0,&_argo1))
5069 return NULL;
5070 if (_argo0) {
5071 if (_argo0 == Py_None) { _arg0 = NULL; }
5072 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
5073 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
5074 return NULL;
5075 }
5076 }
5077 if (_argo1) {
5078 if (_argo1 == Py_None) { _arg1 = NULL; }
5079 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
5080 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
5081 return NULL;
5082 }
5083 }
5084 {
5085 wxPy_BEGIN_ALLOW_THREADS;
5086 wxMenu_UpdateUI(_arg0,_arg1);
5087
5088 wxPy_END_ALLOW_THREADS;
5089 } Py_INCREF(Py_None);
5090 _resultobj = Py_None;
5091 return _resultobj;
5092 }
5093
5094 static void wxMenu_Destroy(wxMenu *self) {
5095 delete self;
5096 }
5097 static PyObject *_wrap_wxMenu_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
5098 PyObject * _resultobj;
5099 wxMenu * _arg0;
5100 PyObject * _argo0 = 0;
5101 char *_kwnames[] = { "self", NULL };
5102
5103 self = self;
5104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_Destroy",_kwnames,&_argo0))
5105 return NULL;
5106 if (_argo0) {
5107 if (_argo0 == Py_None) { _arg0 = NULL; }
5108 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
5109 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Destroy. Expected _wxMenu_p.");
5110 return NULL;
5111 }
5112 }
5113 {
5114 wxPy_BEGIN_ALLOW_THREADS;
5115 wxMenu_Destroy(_arg0);
5116
5117 wxPy_END_ALLOW_THREADS;
5118 } Py_INCREF(Py_None);
5119 _resultobj = Py_None;
5120 return _resultobj;
5121 }
5122
5123 static void *SwigwxMenuBarTowxEvtHandler(void *ptr) {
5124 wxMenuBar *src;
5125 wxEvtHandler *dest;
5126 src = (wxMenuBar *) ptr;
5127 dest = (wxEvtHandler *) src;
5128 return (void *) dest;
5129 }
5130
5131 #define new_wxMenuBar() (new wxMenuBar())
5132 static PyObject *_wrap_new_wxMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
5133 PyObject * _resultobj;
5134 wxMenuBar * _result;
5135 char *_kwnames[] = { NULL };
5136 char _ptemp[128];
5137
5138 self = self;
5139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxMenuBar",_kwnames))
5140 return NULL;
5141 {
5142 wxPy_BEGIN_ALLOW_THREADS;
5143 _result = (wxMenuBar *)new_wxMenuBar();
5144
5145 wxPy_END_ALLOW_THREADS;
5146 } if (_result) {
5147 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuBar_p");
5148 _resultobj = Py_BuildValue("s",_ptemp);
5149 } else {
5150 Py_INCREF(Py_None);
5151 _resultobj = Py_None;
5152 }
5153 return _resultobj;
5154 }
5155
5156 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
5157 static PyObject *_wrap_wxMenuBar_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
5158 PyObject * _resultobj;
5159 wxMenuBar * _arg0;
5160 wxMenu * _arg1;
5161 wxString * _arg2;
5162 PyObject * _argo0 = 0;
5163 PyObject * _argo1 = 0;
5164 PyObject * _obj2 = 0;
5165 char *_kwnames[] = { "self","menu","title", NULL };
5166
5167 self = self;
5168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxMenuBar_Append",_kwnames,&_argo0,&_argo1,&_obj2))
5169 return NULL;
5170 if (_argo0) {
5171 if (_argo0 == Py_None) { _arg0 = NULL; }
5172 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
5173 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
5174 return NULL;
5175 }
5176 }
5177 if (_argo1) {
5178 if (_argo1 == Py_None) { _arg1 = NULL; }
5179 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
5180 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
5181 return NULL;
5182 }
5183 }
5184 {
5185 if (!PyString_Check(_obj2)) {
5186 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5187 return NULL;
5188 }
5189 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
5190 }
5191 {
5192 wxPy_BEGIN_ALLOW_THREADS;
5193 wxMenuBar_Append(_arg0,_arg1,*_arg2);
5194
5195 wxPy_END_ALLOW_THREADS;
5196 } Py_INCREF(Py_None);
5197 _resultobj = Py_None;
5198 {
5199 if (_obj2)
5200 delete _arg2;
5201 }
5202 return _resultobj;
5203 }
5204
5205 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
5206 static PyObject *_wrap_wxMenuBar_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
5207 PyObject * _resultobj;
5208 wxMenuBar * _arg0;
5209 int _arg1;
5210 bool _arg2;
5211 PyObject * _argo0 = 0;
5212 int tempbool2;
5213 char *_kwnames[] = { "self","id","flag", NULL };
5214
5215 self = self;
5216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxMenuBar_Check",_kwnames,&_argo0,&_arg1,&tempbool2))
5217 return NULL;
5218 if (_argo0) {
5219 if (_argo0 == Py_None) { _arg0 = NULL; }
5220 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
5221 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
5222 return NULL;
5223 }
5224 }
5225 _arg2 = (bool ) tempbool2;
5226 {
5227 wxPy_BEGIN_ALLOW_THREADS;
5228 wxMenuBar_Check(_arg0,_arg1,_arg2);
5229
5230 wxPy_END_ALLOW_THREADS;
5231 } Py_INCREF(Py_None);
5232 _resultobj = Py_None;
5233 return _resultobj;
5234 }
5235
5236 #define wxMenuBar_Checked(_swigobj,_swigarg0) (_swigobj->Checked(_swigarg0))
5237 static PyObject *_wrap_wxMenuBar_Checked(PyObject *self, PyObject *args, PyObject *kwargs) {
5238 PyObject * _resultobj;
5239 bool _result;
5240 wxMenuBar * _arg0;
5241 int _arg1;
5242 PyObject * _argo0 = 0;
5243 char *_kwnames[] = { "self","id", NULL };
5244
5245 self = self;
5246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_Checked",_kwnames,&_argo0,&_arg1))
5247 return NULL;
5248 if (_argo0) {
5249 if (_argo0 == Py_None) { _arg0 = NULL; }
5250 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
5251 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Checked. Expected _wxMenuBar_p.");
5252 return NULL;
5253 }
5254 }
5255 {
5256 wxPy_BEGIN_ALLOW_THREADS;
5257 _result = (bool )wxMenuBar_Checked(_arg0,_arg1);
5258
5259 wxPy_END_ALLOW_THREADS;
5260 } _resultobj = Py_BuildValue("i",_result);
5261 return _resultobj;
5262 }
5263
5264 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
5265 static PyObject *_wrap_wxMenuBar_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
5266 PyObject * _resultobj;
5267 wxMenuBar * _arg0;
5268 int _arg1;
5269 bool _arg2;
5270 PyObject * _argo0 = 0;
5271 int tempbool2;
5272 char *_kwnames[] = { "self","id","enable", NULL };
5273
5274 self = self;
5275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxMenuBar_Enable",_kwnames,&_argo0,&_arg1,&tempbool2))
5276 return NULL;
5277 if (_argo0) {
5278 if (_argo0 == Py_None) { _arg0 = NULL; }
5279 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
5280 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
5281 return NULL;
5282 }
5283 }
5284 _arg2 = (bool ) tempbool2;
5285 {
5286 wxPy_BEGIN_ALLOW_THREADS;
5287 wxMenuBar_Enable(_arg0,_arg1,_arg2);
5288
5289 wxPy_END_ALLOW_THREADS;
5290 } Py_INCREF(Py_None);
5291 _resultobj = Py_None;
5292 return _resultobj;
5293 }
5294
5295 #define wxMenuBar_Enabled(_swigobj,_swigarg0) (_swigobj->Enabled(_swigarg0))
5296 static PyObject *_wrap_wxMenuBar_Enabled(PyObject *self, PyObject *args, PyObject *kwargs) {
5297 PyObject * _resultobj;
5298 bool _result;
5299 wxMenuBar * _arg0;
5300 int _arg1;
5301 PyObject * _argo0 = 0;
5302 char *_kwnames[] = { "self","id", NULL };
5303
5304 self = self;
5305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_Enabled",_kwnames,&_argo0,&_arg1))
5306 return NULL;
5307 if (_argo0) {
5308 if (_argo0 == Py_None) { _arg0 = NULL; }
5309 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
5310 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Enabled. Expected _wxMenuBar_p.");
5311 return NULL;
5312 }
5313 }
5314 {
5315 wxPy_BEGIN_ALLOW_THREADS;
5316 _result = (bool )wxMenuBar_Enabled(_arg0,_arg1);
5317
5318 wxPy_END_ALLOW_THREADS;
5319 } _resultobj = Py_BuildValue("i",_result);
5320 return _resultobj;
5321 }
5322
5323 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
5324 static PyObject *_wrap_wxMenuBar_FindMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
5325 PyObject * _resultobj;
5326 int _result;
5327 wxMenuBar * _arg0;
5328 wxString * _arg1;
5329 wxString * _arg2;
5330 PyObject * _argo0 = 0;
5331 PyObject * _obj1 = 0;
5332 PyObject * _obj2 = 0;
5333 char *_kwnames[] = { "self","menuString","itemString", NULL };
5334
5335 self = self;
5336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxMenuBar_FindMenuItem",_kwnames,&_argo0,&_obj1,&_obj2))
5337 return NULL;
5338 if (_argo0) {
5339 if (_argo0 == Py_None) { _arg0 = NULL; }
5340 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
5341 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
5342 return NULL;
5343 }
5344 }
5345 {
5346 if (!PyString_Check(_obj1)) {
5347 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5348 return NULL;
5349 }
5350 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
5351 }
5352 {
5353 if (!PyString_Check(_obj2)) {
5354 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5355 return NULL;
5356 }
5357 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
5358 }
5359 {
5360 wxPy_BEGIN_ALLOW_THREADS;
5361 _result = (int )wxMenuBar_FindMenuItem(_arg0,*_arg1,*_arg2);
5362
5363 wxPy_END_ALLOW_THREADS;
5364 } _resultobj = Py_BuildValue("i",_result);
5365 {
5366 if (_obj1)
5367 delete _arg1;
5368 }
5369 {
5370 if (_obj2)
5371 delete _arg2;
5372 }
5373 return _resultobj;
5374 }
5375
5376 #define wxMenuBar_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
5377 static PyObject *_wrap_wxMenuBar_FindItemForId(PyObject *self, PyObject *args, PyObject *kwargs) {
5378 PyObject * _resultobj;
5379 wxMenuItem * _result;
5380 wxMenuBar * _arg0;
5381 int _arg1;
5382 PyObject * _argo0 = 0;
5383 char *_kwnames[] = { "self","id", NULL };
5384 char _ptemp[128];
5385
5386 self = self;
5387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_FindItemForId",_kwnames,&_argo0,&_arg1))
5388 return NULL;
5389 if (_argo0) {
5390 if (_argo0 == Py_None) { _arg0 = NULL; }
5391 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
5392 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_FindItemForId. Expected _wxMenuBar_p.");
5393 return NULL;
5394 }
5395 }
5396 {
5397 wxPy_BEGIN_ALLOW_THREADS;
5398 _result = (wxMenuItem *)wxMenuBar_FindItemForId(_arg0,_arg1);
5399
5400 wxPy_END_ALLOW_THREADS;
5401 } if (_result) {
5402 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuItem_p");
5403 _resultobj = Py_BuildValue("s",_ptemp);
5404 } else {
5405 Py_INCREF(Py_None);
5406 _resultobj = Py_None;
5407 }
5408 return _resultobj;
5409 }
5410
5411 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
5412 static PyObject *_wrap_wxMenuBar_GetMenuCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5413 PyObject * _resultobj;
5414 int _result;
5415 wxMenuBar * _arg0;
5416 PyObject * _argo0 = 0;
5417 char *_kwnames[] = { "self", NULL };
5418
5419 self = self;
5420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuBar_GetMenuCount",_kwnames,&_argo0))
5421 return NULL;
5422 if (_argo0) {
5423 if (_argo0 == Py_None) { _arg0 = NULL; }
5424 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
5425 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
5426 return NULL;
5427 }
5428 }
5429 {
5430 wxPy_BEGIN_ALLOW_THREADS;
5431 _result = (int )wxMenuBar_GetMenuCount(_arg0);
5432
5433 wxPy_END_ALLOW_THREADS;
5434 } _resultobj = Py_BuildValue("i",_result);
5435 return _resultobj;
5436 }
5437
5438 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
5439 static PyObject *_wrap_wxMenuBar_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5440 PyObject * _resultobj;
5441 wxMenu * _result;
5442 wxMenuBar * _arg0;
5443 int _arg1;
5444 PyObject * _argo0 = 0;
5445 char *_kwnames[] = { "self","i", NULL };
5446 char _ptemp[128];
5447
5448 self = self;
5449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_GetMenu",_kwnames,&_argo0,&_arg1))
5450 return NULL;
5451 if (_argo0) {
5452 if (_argo0 == Py_None) { _arg0 = NULL; }
5453 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
5454 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
5455 return NULL;
5456 }
5457 }
5458 {
5459 wxPy_BEGIN_ALLOW_THREADS;
5460 _result = (wxMenu *)wxMenuBar_GetMenu(_arg0,_arg1);
5461
5462 wxPy_END_ALLOW_THREADS;
5463 } if (_result) {
5464 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenu_p");
5465 _resultobj = Py_BuildValue("s",_ptemp);
5466 } else {
5467 Py_INCREF(Py_None);
5468 _resultobj = Py_None;
5469 }
5470 return _resultobj;
5471 }
5472
5473 #define new_wxMenuItem() (new wxMenuItem())
5474 static PyObject *_wrap_new_wxMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
5475 PyObject * _resultobj;
5476 wxMenuItem * _result;
5477 char *_kwnames[] = { NULL };
5478 char _ptemp[128];
5479
5480 self = self;
5481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxMenuItem",_kwnames))
5482 return NULL;
5483 {
5484 wxPy_BEGIN_ALLOW_THREADS;
5485 _result = (wxMenuItem *)new_wxMenuItem();
5486
5487 wxPy_END_ALLOW_THREADS;
5488 } if (_result) {
5489 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuItem_p");
5490 _resultobj = Py_BuildValue("s",_ptemp);
5491 } else {
5492 Py_INCREF(Py_None);
5493 _resultobj = Py_None;
5494 }
5495 return _resultobj;
5496 }
5497
5498 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
5499 static PyObject *_wrap_wxMenuItem_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
5500 PyObject * _resultobj;
5501 bool _result;
5502 wxMenuItem * _arg0;
5503 PyObject * _argo0 = 0;
5504 char *_kwnames[] = { "self", NULL };
5505
5506 self = self;
5507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsSeparator",_kwnames,&_argo0))
5508 return NULL;
5509 if (_argo0) {
5510 if (_argo0 == Py_None) { _arg0 = NULL; }
5511 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
5512 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
5513 return NULL;
5514 }
5515 }
5516 {
5517 wxPy_BEGIN_ALLOW_THREADS;
5518 _result = (bool )wxMenuItem_IsSeparator(_arg0);
5519
5520 wxPy_END_ALLOW_THREADS;
5521 } _resultobj = Py_BuildValue("i",_result);
5522 return _resultobj;
5523 }
5524
5525 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
5526 static PyObject *_wrap_wxMenuItem_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
5527 PyObject * _resultobj;
5528 bool _result;
5529 wxMenuItem * _arg0;
5530 PyObject * _argo0 = 0;
5531 char *_kwnames[] = { "self", NULL };
5532
5533 self = self;
5534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsEnabled",_kwnames,&_argo0))
5535 return NULL;
5536 if (_argo0) {
5537 if (_argo0 == Py_None) { _arg0 = NULL; }
5538 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
5539 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
5540 return NULL;
5541 }
5542 }
5543 {
5544 wxPy_BEGIN_ALLOW_THREADS;
5545 _result = (bool )wxMenuItem_IsEnabled(_arg0);
5546
5547 wxPy_END_ALLOW_THREADS;
5548 } _resultobj = Py_BuildValue("i",_result);
5549 return _resultobj;
5550 }
5551
5552 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
5553 static PyObject *_wrap_wxMenuItem_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
5554 PyObject * _resultobj;
5555 bool _result;
5556 wxMenuItem * _arg0;
5557 PyObject * _argo0 = 0;
5558 char *_kwnames[] = { "self", NULL };
5559
5560 self = self;
5561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsChecked",_kwnames,&_argo0))
5562 return NULL;
5563 if (_argo0) {
5564 if (_argo0 == Py_None) { _arg0 = NULL; }
5565 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
5566 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
5567 return NULL;
5568 }
5569 }
5570 {
5571 wxPy_BEGIN_ALLOW_THREADS;
5572 _result = (bool )wxMenuItem_IsChecked(_arg0);
5573
5574 wxPy_END_ALLOW_THREADS;
5575 } _resultobj = Py_BuildValue("i",_result);
5576 return _resultobj;
5577 }
5578
5579 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
5580 static PyObject *_wrap_wxMenuItem_IsCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
5581 PyObject * _resultobj;
5582 bool _result;
5583 wxMenuItem * _arg0;
5584 PyObject * _argo0 = 0;
5585 char *_kwnames[] = { "self", NULL };
5586
5587 self = self;
5588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsCheckable",_kwnames,&_argo0))
5589 return NULL;
5590 if (_argo0) {
5591 if (_argo0 == Py_None) { _arg0 = NULL; }
5592 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
5593 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
5594 return NULL;
5595 }
5596 }
5597 {
5598 wxPy_BEGIN_ALLOW_THREADS;
5599 _result = (bool )wxMenuItem_IsCheckable(_arg0);
5600
5601 wxPy_END_ALLOW_THREADS;
5602 } _resultobj = Py_BuildValue("i",_result);
5603 return _resultobj;
5604 }
5605
5606 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
5607 static PyObject *_wrap_wxMenuItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
5608 PyObject * _resultobj;
5609 int _result;
5610 wxMenuItem * _arg0;
5611 PyObject * _argo0 = 0;
5612 char *_kwnames[] = { "self", NULL };
5613
5614 self = self;
5615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetId",_kwnames,&_argo0))
5616 return NULL;
5617 if (_argo0) {
5618 if (_argo0 == Py_None) { _arg0 = NULL; }
5619 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
5620 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
5621 return NULL;
5622 }
5623 }
5624 {
5625 wxPy_BEGIN_ALLOW_THREADS;
5626 _result = (int )wxMenuItem_GetId(_arg0);
5627
5628 wxPy_END_ALLOW_THREADS;
5629 } _resultobj = Py_BuildValue("i",_result);
5630 return _resultobj;
5631 }
5632
5633 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
5634 static PyObject *_wrap_wxMenuItem_GetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5635 PyObject * _resultobj;
5636 wxMenu * _result;
5637 wxMenuItem * _arg0;
5638 PyObject * _argo0 = 0;
5639 char *_kwnames[] = { "self", NULL };
5640 char _ptemp[128];
5641
5642 self = self;
5643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetSubMenu",_kwnames,&_argo0))
5644 return NULL;
5645 if (_argo0) {
5646 if (_argo0 == Py_None) { _arg0 = NULL; }
5647 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
5648 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
5649 return NULL;
5650 }
5651 }
5652 {
5653 wxPy_BEGIN_ALLOW_THREADS;
5654 _result = (wxMenu *)wxMenuItem_GetSubMenu(_arg0);
5655
5656 wxPy_END_ALLOW_THREADS;
5657 } if (_result) {
5658 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenu_p");
5659 _resultobj = Py_BuildValue("s",_ptemp);
5660 } else {
5661 Py_INCREF(Py_None);
5662 _resultobj = Py_None;
5663 }
5664 return _resultobj;
5665 }
5666
5667 #define wxMenuItem_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
5668 static PyObject *_wrap_wxMenuItem_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
5669 PyObject * _resultobj;
5670 wxMenuItem * _arg0;
5671 wxString * _arg1;
5672 PyObject * _argo0 = 0;
5673 PyObject * _obj1 = 0;
5674 char *_kwnames[] = { "self","strName", NULL };
5675
5676 self = self;
5677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetName",_kwnames,&_argo0,&_obj1))
5678 return NULL;
5679 if (_argo0) {
5680 if (_argo0 == Py_None) { _arg0 = NULL; }
5681 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
5682 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetName. Expected _wxMenuItem_p.");
5683 return NULL;
5684 }
5685 }
5686 {
5687 if (!PyString_Check(_obj1)) {
5688 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5689 return NULL;
5690 }
5691 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
5692 }
5693 {
5694 wxPy_BEGIN_ALLOW_THREADS;
5695 wxMenuItem_SetName(_arg0,*_arg1);
5696
5697 wxPy_END_ALLOW_THREADS;
5698 } Py_INCREF(Py_None);
5699 _resultobj = Py_None;
5700 {
5701 if (_obj1)
5702 delete _arg1;
5703 }
5704 return _resultobj;
5705 }
5706
5707 #define wxMenuItem_GetName(_swigobj) (_swigobj->GetName())
5708 static PyObject *_wrap_wxMenuItem_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
5709 PyObject * _resultobj;
5710 wxString * _result;
5711 wxMenuItem * _arg0;
5712 PyObject * _argo0 = 0;
5713 char *_kwnames[] = { "self", NULL };
5714
5715 self = self;
5716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetName",_kwnames,&_argo0))
5717 return NULL;
5718 if (_argo0) {
5719 if (_argo0 == Py_None) { _arg0 = NULL; }
5720 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
5721 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetName. Expected _wxMenuItem_p.");
5722 return NULL;
5723 }
5724 }
5725 {
5726 wxPy_BEGIN_ALLOW_THREADS;
5727 _result = new wxString (wxMenuItem_GetName(_arg0));
5728
5729 wxPy_END_ALLOW_THREADS;
5730 }{
5731 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
5732 }
5733 {
5734 delete _result;
5735 }
5736 return _resultobj;
5737 }
5738
5739 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
5740 static PyObject *_wrap_wxMenuItem_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
5741 PyObject * _resultobj;
5742 wxString * _result;
5743 wxMenuItem * _arg0;
5744 PyObject * _argo0 = 0;
5745 char *_kwnames[] = { "self", NULL };
5746
5747 self = self;
5748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetHelp",_kwnames,&_argo0))
5749 return NULL;
5750 if (_argo0) {
5751 if (_argo0 == Py_None) { _arg0 = NULL; }
5752 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
5753 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
5754 return NULL;
5755 }
5756 }
5757 {
5758 wxPy_BEGIN_ALLOW_THREADS;
5759 _result = new wxString (wxMenuItem_GetHelp(_arg0));
5760
5761 wxPy_END_ALLOW_THREADS;
5762 }{
5763 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
5764 }
5765 {
5766 delete _result;
5767 }
5768 return _resultobj;
5769 }
5770
5771 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
5772 static PyObject *_wrap_wxMenuItem_SetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
5773 PyObject * _resultobj;
5774 wxMenuItem * _arg0;
5775 wxString * _arg1;
5776 PyObject * _argo0 = 0;
5777 PyObject * _obj1 = 0;
5778 char *_kwnames[] = { "self","strHelp", NULL };
5779
5780 self = self;
5781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetHelp",_kwnames,&_argo0,&_obj1))
5782 return NULL;
5783 if (_argo0) {
5784 if (_argo0 == Py_None) { _arg0 = NULL; }
5785 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
5786 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
5787 return NULL;
5788 }
5789 }
5790 {
5791 if (!PyString_Check(_obj1)) {
5792 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5793 return NULL;
5794 }
5795 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
5796 }
5797 {
5798 wxPy_BEGIN_ALLOW_THREADS;
5799 wxMenuItem_SetHelp(_arg0,*_arg1);
5800
5801 wxPy_END_ALLOW_THREADS;
5802 } Py_INCREF(Py_None);
5803 _resultobj = Py_None;
5804 {
5805 if (_obj1)
5806 delete _arg1;
5807 }
5808 return _resultobj;
5809 }
5810
5811 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
5812 static PyObject *_wrap_wxMenuItem_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
5813 PyObject * _resultobj;
5814 wxMenuItem * _arg0;
5815 bool _arg1 = (bool ) TRUE;
5816 PyObject * _argo0 = 0;
5817 int tempbool1 = (int) TRUE;
5818 char *_kwnames[] = { "self","bDoEnable", NULL };
5819
5820 self = self;
5821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxMenuItem_Enable",_kwnames,&_argo0,&tempbool1))
5822 return NULL;
5823 if (_argo0) {
5824 if (_argo0 == Py_None) { _arg0 = NULL; }
5825 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
5826 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
5827 return NULL;
5828 }
5829 }
5830 _arg1 = (bool ) tempbool1;
5831 {
5832 wxPy_BEGIN_ALLOW_THREADS;
5833 wxMenuItem_Enable(_arg0,_arg1);
5834
5835 wxPy_END_ALLOW_THREADS;
5836 } Py_INCREF(Py_None);
5837 _resultobj = Py_None;
5838 return _resultobj;
5839 }
5840
5841 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
5842 static PyObject *_wrap_wxMenuItem_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
5843 PyObject * _resultobj;
5844 wxMenuItem * _arg0;
5845 bool _arg1 = (bool ) TRUE;
5846 PyObject * _argo0 = 0;
5847 int tempbool1 = (int) TRUE;
5848 char *_kwnames[] = { "self","bDoCheck", NULL };
5849
5850 self = self;
5851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxMenuItem_Check",_kwnames,&_argo0,&tempbool1))
5852 return NULL;
5853 if (_argo0) {
5854 if (_argo0 == Py_None) { _arg0 = NULL; }
5855 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
5856 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
5857 return NULL;
5858 }
5859 }
5860 _arg1 = (bool ) tempbool1;
5861 {
5862 wxPy_BEGIN_ALLOW_THREADS;
5863 wxMenuItem_Check(_arg0,_arg1);
5864
5865 wxPy_END_ALLOW_THREADS;
5866 } Py_INCREF(Py_None);
5867 _resultobj = Py_None;
5868 return _resultobj;
5869 }
5870
5871 static PyMethodDef windowscMethods[] = {
5872 { "wxMenuItem_Check", (PyCFunction) _wrap_wxMenuItem_Check, METH_VARARGS | METH_KEYWORDS },
5873 { "wxMenuItem_Enable", (PyCFunction) _wrap_wxMenuItem_Enable, METH_VARARGS | METH_KEYWORDS },
5874 { "wxMenuItem_SetHelp", (PyCFunction) _wrap_wxMenuItem_SetHelp, METH_VARARGS | METH_KEYWORDS },
5875 { "wxMenuItem_GetHelp", (PyCFunction) _wrap_wxMenuItem_GetHelp, METH_VARARGS | METH_KEYWORDS },
5876 { "wxMenuItem_GetName", (PyCFunction) _wrap_wxMenuItem_GetName, METH_VARARGS | METH_KEYWORDS },
5877 { "wxMenuItem_SetName", (PyCFunction) _wrap_wxMenuItem_SetName, METH_VARARGS | METH_KEYWORDS },
5878 { "wxMenuItem_GetSubMenu", (PyCFunction) _wrap_wxMenuItem_GetSubMenu, METH_VARARGS | METH_KEYWORDS },
5879 { "wxMenuItem_GetId", (PyCFunction) _wrap_wxMenuItem_GetId, METH_VARARGS | METH_KEYWORDS },
5880 { "wxMenuItem_IsCheckable", (PyCFunction) _wrap_wxMenuItem_IsCheckable, METH_VARARGS | METH_KEYWORDS },
5881 { "wxMenuItem_IsChecked", (PyCFunction) _wrap_wxMenuItem_IsChecked, METH_VARARGS | METH_KEYWORDS },
5882 { "wxMenuItem_IsEnabled", (PyCFunction) _wrap_wxMenuItem_IsEnabled, METH_VARARGS | METH_KEYWORDS },
5883 { "wxMenuItem_IsSeparator", (PyCFunction) _wrap_wxMenuItem_IsSeparator, METH_VARARGS | METH_KEYWORDS },
5884 { "new_wxMenuItem", (PyCFunction) _wrap_new_wxMenuItem, METH_VARARGS | METH_KEYWORDS },
5885 { "wxMenuBar_GetMenu", (PyCFunction) _wrap_wxMenuBar_GetMenu, METH_VARARGS | METH_KEYWORDS },
5886 { "wxMenuBar_GetMenuCount", (PyCFunction) _wrap_wxMenuBar_GetMenuCount, METH_VARARGS | METH_KEYWORDS },
5887 { "wxMenuBar_FindItemForId", (PyCFunction) _wrap_wxMenuBar_FindItemForId, METH_VARARGS | METH_KEYWORDS },
5888 { "wxMenuBar_FindMenuItem", (PyCFunction) _wrap_wxMenuBar_FindMenuItem, METH_VARARGS | METH_KEYWORDS },
5889 { "wxMenuBar_Enabled", (PyCFunction) _wrap_wxMenuBar_Enabled, METH_VARARGS | METH_KEYWORDS },
5890 { "wxMenuBar_Enable", (PyCFunction) _wrap_wxMenuBar_Enable, METH_VARARGS | METH_KEYWORDS },
5891 { "wxMenuBar_Checked", (PyCFunction) _wrap_wxMenuBar_Checked, METH_VARARGS | METH_KEYWORDS },
5892 { "wxMenuBar_Check", (PyCFunction) _wrap_wxMenuBar_Check, METH_VARARGS | METH_KEYWORDS },
5893 { "wxMenuBar_Append", (PyCFunction) _wrap_wxMenuBar_Append, METH_VARARGS | METH_KEYWORDS },
5894 { "new_wxMenuBar", (PyCFunction) _wrap_new_wxMenuBar, METH_VARARGS | METH_KEYWORDS },
5895 { "wxMenu_Destroy", (PyCFunction) _wrap_wxMenu_Destroy, METH_VARARGS | METH_KEYWORDS },
5896 { "wxMenu_UpdateUI", (PyCFunction) _wrap_wxMenu_UpdateUI, METH_VARARGS | METH_KEYWORDS },
5897 { "wxMenu_SetLabel", (PyCFunction) _wrap_wxMenu_SetLabel, METH_VARARGS | METH_KEYWORDS },
5898 { "wxMenu_IsEnabled", (PyCFunction) _wrap_wxMenu_IsEnabled, METH_VARARGS | METH_KEYWORDS },
5899 { "wxMenu_IsChecked", (PyCFunction) _wrap_wxMenu_IsChecked, METH_VARARGS | METH_KEYWORDS },
5900 { "wxMenu_SetHelpString", (PyCFunction) _wrap_wxMenu_SetHelpString, METH_VARARGS | METH_KEYWORDS },
5901 { "wxMenu_GetLabel", (PyCFunction) _wrap_wxMenu_GetLabel, METH_VARARGS | METH_KEYWORDS },
5902 { "wxMenu_GetHelpString", (PyCFunction) _wrap_wxMenu_GetHelpString, METH_VARARGS | METH_KEYWORDS },
5903 { "wxMenu_FindItemForId", (PyCFunction) _wrap_wxMenu_FindItemForId, METH_VARARGS | METH_KEYWORDS },
5904 { "wxMenu_SetTitle", (PyCFunction) _wrap_wxMenu_SetTitle, METH_VARARGS | METH_KEYWORDS },
5905 { "wxMenu_GetTitle", (PyCFunction) _wrap_wxMenu_GetTitle, METH_VARARGS | METH_KEYWORDS },
5906 { "wxMenu_FindItem", (PyCFunction) _wrap_wxMenu_FindItem, METH_VARARGS | METH_KEYWORDS },
5907 { "wxMenu_Enable", (PyCFunction) _wrap_wxMenu_Enable, METH_VARARGS | METH_KEYWORDS },
5908 { "wxMenu_Check", (PyCFunction) _wrap_wxMenu_Check, METH_VARARGS | METH_KEYWORDS },
5909 { "wxMenu_Break", (PyCFunction) _wrap_wxMenu_Break, METH_VARARGS | METH_KEYWORDS },
5910 { "wxMenu_AppendSeparator", (PyCFunction) _wrap_wxMenu_AppendSeparator, METH_VARARGS | METH_KEYWORDS },
5911 { "wxMenu_AppendMenu", (PyCFunction) _wrap_wxMenu_AppendMenu, METH_VARARGS | METH_KEYWORDS },
5912 { "wxMenu_Append", (PyCFunction) _wrap_wxMenu_Append, METH_VARARGS | METH_KEYWORDS },
5913 { "new_wxMenu", (PyCFunction) _wrap_new_wxMenu, METH_VARARGS | METH_KEYWORDS },
5914 { "wxScrolledWindow_ViewStart", (PyCFunction) _wrap_wxScrolledWindow_ViewStart, METH_VARARGS | METH_KEYWORDS },
5915 { "wxScrolledWindow_SetScrollbars", (PyCFunction) _wrap_wxScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
5916 { "wxScrolledWindow_Scroll", (PyCFunction) _wrap_wxScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
5917 { "wxScrolledWindow_PrepareDC", (PyCFunction) _wrap_wxScrolledWindow_PrepareDC, METH_VARARGS | METH_KEYWORDS },
5918 { "wxScrolledWindow_IsRetained", (PyCFunction) _wrap_wxScrolledWindow_IsRetained, METH_VARARGS | METH_KEYWORDS },
5919 { "wxScrolledWindow_GetVirtualSize", (PyCFunction) _wrap_wxScrolledWindow_GetVirtualSize, METH_VARARGS | METH_KEYWORDS },
5920 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
5921 { "wxScrolledWindow_EnableScrolling", (PyCFunction) _wrap_wxScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
5922 { "new_wxScrolledWindow", (PyCFunction) _wrap_new_wxScrolledWindow, METH_VARARGS | METH_KEYWORDS },
5923 { "wxDialog_SetReturnCode", (PyCFunction) _wrap_wxDialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
5924 { "wxDialog_GetReturnCode", (PyCFunction) _wrap_wxDialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
5925 { "wxDialog_ShowModal", (PyCFunction) _wrap_wxDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
5926 { "wxDialog_Show", (PyCFunction) _wrap_wxDialog_Show, METH_VARARGS | METH_KEYWORDS },
5927 { "wxDialog_SetTitle", (PyCFunction) _wrap_wxDialog_SetTitle, METH_VARARGS | METH_KEYWORDS },
5928 { "wxDialog_IsModal", (PyCFunction) _wrap_wxDialog_IsModal, METH_VARARGS | METH_KEYWORDS },
5929 { "wxDialog_SetModal", (PyCFunction) _wrap_wxDialog_SetModal, METH_VARARGS | METH_KEYWORDS },
5930 { "wxDialog_IsIconized", (PyCFunction) _wrap_wxDialog_IsIconized, METH_VARARGS | METH_KEYWORDS },
5931 { "wxDialog_Iconize", (PyCFunction) _wrap_wxDialog_Iconize, METH_VARARGS | METH_KEYWORDS },
5932 { "wxDialog_GetTitle", (PyCFunction) _wrap_wxDialog_GetTitle, METH_VARARGS | METH_KEYWORDS },
5933 { "wxDialog_EndModal", (PyCFunction) _wrap_wxDialog_EndModal, METH_VARARGS | METH_KEYWORDS },
5934 { "wxDialog_Centre", (PyCFunction) _wrap_wxDialog_Centre, METH_VARARGS | METH_KEYWORDS },
5935 { "new_wxDialog", (PyCFunction) _wrap_new_wxDialog, METH_VARARGS | METH_KEYWORDS },
5936 { "wxPanel_SetDefaultItem", (PyCFunction) _wrap_wxPanel_SetDefaultItem, METH_VARARGS | METH_KEYWORDS },
5937 { "wxPanel_GetDefaultItem", (PyCFunction) _wrap_wxPanel_GetDefaultItem, METH_VARARGS | METH_KEYWORDS },
5938 { "wxPanel_InitDialog", (PyCFunction) _wrap_wxPanel_InitDialog, METH_VARARGS | METH_KEYWORDS },
5939 { "new_wxPanel", (PyCFunction) _wrap_new_wxPanel, METH_VARARGS | METH_KEYWORDS },
5940 { "wxWindow_GetToolTip", (PyCFunction) _wrap_wxWindow_GetToolTip, METH_VARARGS | METH_KEYWORDS },
5941 { "wxWindow_SetToolTip", (PyCFunction) _wrap_wxWindow_SetToolTip, METH_VARARGS | METH_KEYWORDS },
5942 { "wxWindow_SetToolTipString", (PyCFunction) _wrap_wxWindow_SetToolTipString, METH_VARARGS | METH_KEYWORDS },
5943 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction) _wrap_wxWindow_ConvertPixelSizeToDialog, METH_VARARGS | METH_KEYWORDS },
5944 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction) _wrap_wxWindow_ConvertPixelPointToDialog, METH_VARARGS | METH_KEYWORDS },
5945 { "wxWindow_DLG_SZE", (PyCFunction) _wrap_wxWindow_ConvertDialogSizeToPixels, METH_VARARGS | METH_KEYWORDS },
5946 { "wxWindow_DLG_PNT", (PyCFunction) _wrap_wxWindow_ConvertDialogPointToPixels, METH_VARARGS | METH_KEYWORDS },
5947 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction) _wrap_wxWindow_ConvertDialogSizeToPixels, METH_VARARGS | METH_KEYWORDS },
5948 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction) _wrap_wxWindow_ConvertDialogPointToPixels, METH_VARARGS | METH_KEYWORDS },
5949 { "wxWindow_WarpPointer", (PyCFunction) _wrap_wxWindow_WarpPointer, METH_VARARGS | METH_KEYWORDS },
5950 { "wxWindow_Validate", (PyCFunction) _wrap_wxWindow_Validate, METH_VARARGS | METH_KEYWORDS },
5951 { "wxWindow_TransferDataToWindow", (PyCFunction) _wrap_wxWindow_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
5952 { "wxWindow_TransferDataFromWindow", (PyCFunction) _wrap_wxWindow_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
5953 { "wxWindow_Show", (PyCFunction) _wrap_wxWindow_Show, METH_VARARGS | METH_KEYWORDS },
5954 { "wxWindow_SetTitle", (PyCFunction) _wrap_wxWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
5955 { "wxWindow_SetCursor", (PyCFunction) _wrap_wxWindow_SetCursor, METH_VARARGS | METH_KEYWORDS },
5956 { "wxWindow_SetClientSize", (PyCFunction) _wrap_wxWindow_SetClientSize, METH_VARARGS | METH_KEYWORDS },
5957 { "wxWindow_SetClientSizeWH", (PyCFunction) _wrap_wxWindow_SetClientSizeWH, METH_VARARGS | METH_KEYWORDS },
5958 { "wxWindow_SetSizeHints", (PyCFunction) _wrap_wxWindow_SetSizeHints, METH_VARARGS | METH_KEYWORDS },
5959 { "wxWindow_SetPosition", (PyCFunction) _wrap_wxWindow_SetPosition, METH_VARARGS | METH_KEYWORDS },
5960 { "wxWindow_SetSize", (PyCFunction) _wrap_wxWindow_SetSize, METH_VARARGS | METH_KEYWORDS },
5961 { "wxWindow_SetDimensions", (PyCFunction) _wrap_wxWindow_SetDimensions, METH_VARARGS | METH_KEYWORDS },
5962 { "wxWindow_SetScrollPos", (PyCFunction) _wrap_wxWindow_SetScrollPos, METH_VARARGS | METH_KEYWORDS },
5963 { "wxWindow_SetScrollbar", (PyCFunction) _wrap_wxWindow_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
5964 { "wxWindow_SetName", (PyCFunction) _wrap_wxWindow_SetName, METH_VARARGS | METH_KEYWORDS },
5965 { "wxWindow_SetId", (PyCFunction) _wrap_wxWindow_SetId, METH_VARARGS | METH_KEYWORDS },
5966 { "wxWindow_SetForegroundColour", (PyCFunction) _wrap_wxWindow_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
5967 { "wxWindow_SetFont", (PyCFunction) _wrap_wxWindow_SetFont, METH_VARARGS | METH_KEYWORDS },
5968 { "wxWindow_SetFocus", (PyCFunction) _wrap_wxWindow_SetFocus, METH_VARARGS | METH_KEYWORDS },
5969 { "wxWindow_SetConstraints", (PyCFunction) _wrap_wxWindow_SetConstraints, METH_VARARGS | METH_KEYWORDS },
5970 { "wxWindow_SetBackgroundColour", (PyCFunction) _wrap_wxWindow_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
5971 { "wxWindow_SetAutoLayout", (PyCFunction) _wrap_wxWindow_SetAutoLayout, METH_VARARGS | METH_KEYWORDS },
5972 { "wxWindow_SetAcceleratorTable", (PyCFunction) _wrap_wxWindow_SetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
5973 { "wxWindow_ScrollWindow", (PyCFunction) _wrap_wxWindow_ScrollWindow, METH_VARARGS | METH_KEYWORDS },
5974 { "wxWindow_ScreenToClient", (PyCFunction) _wrap_wxWindow_ScreenToClient, METH_VARARGS | METH_KEYWORDS },
5975 { "wxWindow_ScreenToClientXY", (PyCFunction) _wrap_wxWindow_ScreenToClientXY, METH_VARARGS | METH_KEYWORDS },
5976 { "wxWindow_Reparent", (PyCFunction) _wrap_wxWindow_Reparent, METH_VARARGS | METH_KEYWORDS },
5977 { "wxWindow_ReleaseMouse", (PyCFunction) _wrap_wxWindow_ReleaseMouse, METH_VARARGS | METH_KEYWORDS },
5978 { "wxWindow_Refresh", (PyCFunction) _wrap_wxWindow_Refresh, METH_VARARGS | METH_KEYWORDS },
5979 { "wxWindow_Raise", (PyCFunction) _wrap_wxWindow_Raise, METH_VARARGS | METH_KEYWORDS },
5980 { "wxWindow_PopupMenu", (PyCFunction) _wrap_wxWindow_PopupMenu, METH_VARARGS | METH_KEYWORDS },
5981 { "wxWindow_PopupMenuXY", (PyCFunction) _wrap_wxWindow_PopupMenuXY, METH_VARARGS | METH_KEYWORDS },
5982 { "wxWindow_Move", (PyCFunction) _wrap_wxWindow_Move, METH_VARARGS | METH_KEYWORDS },
5983 { "wxWindow_MoveXY", (PyCFunction) _wrap_wxWindow_MoveXY, METH_VARARGS | METH_KEYWORDS },
5984 { "wxWindow_MakeModal", (PyCFunction) _wrap_wxWindow_MakeModal, METH_VARARGS | METH_KEYWORDS },
5985 { "wxWindow_Lower", (PyCFunction) _wrap_wxWindow_Lower, METH_VARARGS | METH_KEYWORDS },
5986 { "wxWindow_LoadFromResource", (PyCFunction) _wrap_wxWindow_LoadFromResource, METH_VARARGS | METH_KEYWORDS },
5987 { "wxWindow_Layout", (PyCFunction) _wrap_wxWindow_Layout, METH_VARARGS | METH_KEYWORDS },
5988 { "wxWindow_IsTopLevel", (PyCFunction) _wrap_wxWindow_IsTopLevel, METH_VARARGS | METH_KEYWORDS },
5989 { "wxWindow_IsShown", (PyCFunction) _wrap_wxWindow_IsShown, METH_VARARGS | METH_KEYWORDS },
5990 { "wxWindow_IsRetained", (PyCFunction) _wrap_wxWindow_IsRetained, METH_VARARGS | METH_KEYWORDS },
5991 { "wxWindow_IsEnabled", (PyCFunction) _wrap_wxWindow_IsEnabled, METH_VARARGS | METH_KEYWORDS },
5992 { "wxWindow_InitDialog", (PyCFunction) _wrap_wxWindow_InitDialog, METH_VARARGS | METH_KEYWORDS },
5993 { "wxWindow_Hide", (PyCFunction) _wrap_wxWindow_Hide, METH_VARARGS | METH_KEYWORDS },
5994 { "wxWindow_GetWindowStyleFlag", (PyCFunction) _wrap_wxWindow_GetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
5995 { "wxWindow_GetUpdateRegion", (PyCFunction) _wrap_wxWindow_GetUpdateRegion, METH_VARARGS | METH_KEYWORDS },
5996 { "wxWindow_GetTitle", (PyCFunction) _wrap_wxWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
5997 { "wxWindow_GetFullTextExtent", (PyCFunction) _wrap_wxWindow_GetFullTextExtent, METH_VARARGS | METH_KEYWORDS },
5998 { "wxWindow_GetTextExtent", (PyCFunction) _wrap_wxWindow_GetTextExtent, METH_VARARGS | METH_KEYWORDS },
5999 { "wxWindow_GetSize", (PyCFunction) _wrap_wxWindow_GetSize, METH_VARARGS | METH_KEYWORDS },
6000 { "wxWindow_GetSizeTuple", (PyCFunction) _wrap_wxWindow_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
6001 { "wxWindow_GetScrollRange", (PyCFunction) _wrap_wxWindow_GetScrollRange, METH_VARARGS | METH_KEYWORDS },
6002 { "wxWindow_GetScrollPos", (PyCFunction) _wrap_wxWindow_GetScrollPos, METH_VARARGS | METH_KEYWORDS },
6003 { "wxWindow_GetScrollThumb", (PyCFunction) _wrap_wxWindow_GetScrollThumb, METH_VARARGS | METH_KEYWORDS },
6004 { "wxWindow_GetRect", (PyCFunction) _wrap_wxWindow_GetRect, METH_VARARGS | METH_KEYWORDS },
6005 { "wxWindow_GetPosition", (PyCFunction) _wrap_wxWindow_GetPosition, METH_VARARGS | METH_KEYWORDS },
6006 { "wxWindow_GetPositionTuple", (PyCFunction) _wrap_wxWindow_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
6007 { "wxWindow_GetParent", (PyCFunction) _wrap_wxWindow_GetParent, METH_VARARGS | METH_KEYWORDS },
6008 { "wxWindow_GetName", (PyCFunction) _wrap_wxWindow_GetName, METH_VARARGS | METH_KEYWORDS },
6009 { "wxWindow_SetLabel", (PyCFunction) _wrap_wxWindow_SetLabel, METH_VARARGS | METH_KEYWORDS },
6010 { "wxWindow_GetLabel", (PyCFunction) _wrap_wxWindow_GetLabel, METH_VARARGS | METH_KEYWORDS },
6011 { "wxWindow_GetId", (PyCFunction) _wrap_wxWindow_GetId, METH_VARARGS | METH_KEYWORDS },
6012 { "wxWindow_GetGrandParent", (PyCFunction) _wrap_wxWindow_GetGrandParent, METH_VARARGS | METH_KEYWORDS },
6013 { "wxWindow_GetForegroundColour", (PyCFunction) _wrap_wxWindow_GetForegroundColour, METH_VARARGS | METH_KEYWORDS },
6014 { "wxWindow_GetFont", (PyCFunction) _wrap_wxWindow_GetFont, METH_VARARGS | METH_KEYWORDS },
6015 { "wxWindow_GetConstraints", (PyCFunction) _wrap_wxWindow_GetConstraints, METH_VARARGS | METH_KEYWORDS },
6016 { "wxWindow_GetClientSize", (PyCFunction) _wrap_wxWindow_GetClientSize, METH_VARARGS | METH_KEYWORDS },
6017 { "wxWindow_GetClientSizeTuple", (PyCFunction) _wrap_wxWindow_GetClientSizeTuple, METH_VARARGS | METH_KEYWORDS },
6018 { "wxWindow_GetCharWidth", (PyCFunction) _wrap_wxWindow_GetCharWidth, METH_VARARGS | METH_KEYWORDS },
6019 { "wxWindow_GetCharHeight", (PyCFunction) _wrap_wxWindow_GetCharHeight, METH_VARARGS | METH_KEYWORDS },
6020 { "wxWindow_GetBackgroundColour", (PyCFunction) _wrap_wxWindow_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
6021 { "wxWindow_Fit", (PyCFunction) _wrap_wxWindow_Fit, METH_VARARGS | METH_KEYWORDS },
6022 { "wxWindow_FindWindowByName", (PyCFunction) _wrap_wxWindow_FindWindowByName, METH_VARARGS | METH_KEYWORDS },
6023 { "wxWindow_FindWindowById", (PyCFunction) _wrap_wxWindow_FindWindowById, METH_VARARGS | METH_KEYWORDS },
6024 { "wxWindow_Enable", (PyCFunction) _wrap_wxWindow_Enable, METH_VARARGS | METH_KEYWORDS },
6025 { "wxWindow_DestroyChildren", (PyCFunction) _wrap_wxWindow_DestroyChildren, METH_VARARGS | METH_KEYWORDS },
6026 { "wxWindow_Destroy", (PyCFunction) _wrap_wxWindow_Destroy, METH_VARARGS | METH_KEYWORDS },
6027 { "wxWindow_Close", (PyCFunction) _wrap_wxWindow_Close, METH_VARARGS | METH_KEYWORDS },
6028 { "wxWindow_ClientToScreen", (PyCFunction) _wrap_wxWindow_ClientToScreen, METH_VARARGS | METH_KEYWORDS },
6029 { "wxWindow_ClientToScreenXY", (PyCFunction) _wrap_wxWindow_ClientToScreenXY, METH_VARARGS | METH_KEYWORDS },
6030 { "wxWindow_CenterOnParent", (PyCFunction) _wrap_wxWindow_CenterOnParent, METH_VARARGS | METH_KEYWORDS },
6031 { "wxWindow_CentreOnParent", (PyCFunction) _wrap_wxWindow_CentreOnParent, METH_VARARGS | METH_KEYWORDS },
6032 { "wxWindow_Centre", (PyCFunction) _wrap_wxWindow_Centre, METH_VARARGS | METH_KEYWORDS },
6033 { "wxWindow_Center", (PyCFunction) _wrap_wxWindow_Center, METH_VARARGS | METH_KEYWORDS },
6034 { "wxWindow_CaptureMouse", (PyCFunction) _wrap_wxWindow_CaptureMouse, METH_VARARGS | METH_KEYWORDS },
6035 { "new_wxWindow", (PyCFunction) _wrap_new_wxWindow, METH_VARARGS | METH_KEYWORDS },
6036 { "wxEvtHandler_Connect", (PyCFunction) _wrap_wxEvtHandler_Connect, METH_VARARGS | METH_KEYWORDS },
6037 { "wxEvtHandler_ProcessEvent", (PyCFunction) _wrap_wxEvtHandler_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
6038 { NULL, NULL }
6039 };
6040 #ifdef __cplusplus
6041 }
6042 #endif
6043 /*
6044 * This table is used by the pointer type-checker
6045 */
6046 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
6047 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
6048 { "_signed_long","_long",0},
6049 { "_wxPrintQuality","_int",0},
6050 { "_wxPrintQuality","_signed_int",0},
6051 { "_wxPrintQuality","_unsigned_int",0},
6052 { "_wxPrintQuality","_wxWindowID",0},
6053 { "_wxPrintQuality","_uint",0},
6054 { "_wxPrintQuality","_EBool",0},
6055 { "_wxPrintQuality","_size_t",0},
6056 { "_class_wxRegionIterator","_wxRegionIterator",0},
6057 { "_class_wxMenuBar","_wxMenuBar",0},
6058 { "_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler},
6059 { "_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler},
6060 { "_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler},
6061 { "_class_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler},
6062 { "_class_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler},
6063 { "_class_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler},
6064 { "_class_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler},
6065 { "_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler},
6066 { "_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler},
6067 { "_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler},
6068 { "_class_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler},
6069 { "_class_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler},
6070 { "_class_wxEvtHandler","_wxEvtHandler",0},
6071 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
6072 { "_wxCursor","_class_wxCursor",0},
6073 { "_wxMask","_class_wxMask",0},
6074 { "_wxPen","_class_wxPen",0},
6075 { "_byte","_unsigned_char",0},
6076 { "_long","_wxDash",0},
6077 { "_long","_unsigned_long",0},
6078 { "_long","_signed_long",0},
6079 { "_wxImageList","_class_wxImageList",0},
6080 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
6081 { "_wxDC","_class_wxDC",0},
6082 { "_size_t","_wxPrintQuality",0},
6083 { "_size_t","_unsigned_int",0},
6084 { "_size_t","_int",0},
6085 { "_size_t","_wxWindowID",0},
6086 { "_size_t","_uint",0},
6087 { "_class_wxRealPoint","_wxRealPoint",0},
6088 { "_class_wxMenuItem","_wxMenuItem",0},
6089 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
6090 { "_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel},
6091 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel},
6092 { "_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel},
6093 { "_wxPanel","_wxDialog",SwigwxDialogTowxPanel},
6094 { "_wxPanel","_class_wxPanel",0},
6095 { "_class_wxMask","_wxMask",0},
6096 { "_wxColour","_class_wxColour",0},
6097 { "_class_wxDialog","_wxDialog",0},
6098 { "_wxBrush","_class_wxBrush",0},
6099 { "_uint","_wxPrintQuality",0},
6100 { "_uint","_size_t",0},
6101 { "_uint","_unsigned_int",0},
6102 { "_uint","_int",0},
6103 { "_uint","_wxWindowID",0},
6104 { "_wxRect","_class_wxRect",0},
6105 { "_wxPoint","_class_wxPoint",0},
6106 { "_wxBitmap","_class_wxBitmap",0},
6107 { "_wxPyTimer","_class_wxPyTimer",0},
6108 { "_wxWindowDC","_class_wxWindowDC",0},
6109 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
6110 { "_EBool","_wxPrintQuality",0},
6111 { "_EBool","_signed_int",0},
6112 { "_EBool","_int",0},
6113 { "_EBool","_wxWindowID",0},
6114 { "_class_wxRegion","_wxRegion",0},
6115 { "_wxFont","_class_wxFont",0},
6116 { "_unsigned_long","_wxDash",0},
6117 { "_unsigned_long","_long",0},
6118 { "_class_wxRect","_wxRect",0},
6119 { "_class_wxDC","_wxDC",0},
6120 { "_class_wxPyTimer","_wxPyTimer",0},
6121 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
6122 { "_class_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel},
6123 { "_class_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel},
6124 { "_class_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel},
6125 { "_class_wxPanel","_wxDialog",SwigwxDialogTowxPanel},
6126 { "_class_wxPanel","_wxPanel",0},
6127 { "_signed_int","_wxPrintQuality",0},
6128 { "_signed_int","_EBool",0},
6129 { "_signed_int","_wxWindowID",0},
6130 { "_signed_int","_int",0},
6131 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
6132 { "_wxMenu","_class_wxMenu",0},
6133 { "_wxScreenDC","_class_wxScreenDC",0},
6134 { "_WXTYPE","_short",0},
6135 { "_WXTYPE","_signed_short",0},
6136 { "_WXTYPE","_unsigned_short",0},
6137 { "_class_wxBrush","_wxBrush",0},
6138 { "_unsigned_short","_WXTYPE",0},
6139 { "_unsigned_short","_short",0},
6140 { "_class_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow},
6141 { "_class_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow},
6142 { "_class_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow},
6143 { "_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow},
6144 { "_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow},
6145 { "_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow},
6146 { "_class_wxWindow","_wxWindow",0},
6147 { "_class_wxFont","_wxFont",0},
6148 { "_wxClientDC","_class_wxClientDC",0},
6149 { "_class_wxPoint","_wxPoint",0},
6150 { "_wxRealPoint","_class_wxRealPoint",0},
6151 { "_signed_short","_WXTYPE",0},
6152 { "_signed_short","_short",0},
6153 { "_wxMemoryDC","_class_wxMemoryDC",0},
6154 { "_wxPaintDC","_class_wxPaintDC",0},
6155 { "_class_wxWindowDC","_wxWindowDC",0},
6156 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
6157 { "_class_wxCursor","_wxCursor",0},
6158 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
6159 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
6160 { "_unsigned_char","_byte",0},
6161 { "_class_wxMenu","_wxMenu",0},
6162 { "_unsigned_int","_wxPrintQuality",0},
6163 { "_unsigned_int","_size_t",0},
6164 { "_unsigned_int","_uint",0},
6165 { "_unsigned_int","_wxWindowID",0},
6166 { "_unsigned_int","_int",0},
6167 { "_wxIcon","_class_wxIcon",0},
6168 { "_wxDialog","_class_wxDialog",0},
6169 { "_class_wxPen","_wxPen",0},
6170 { "_short","_WXTYPE",0},
6171 { "_short","_unsigned_short",0},
6172 { "_short","_signed_short",0},
6173 { "_class_wxImageList","_wxImageList",0},
6174 { "_wxWindowID","_wxPrintQuality",0},
6175 { "_wxWindowID","_size_t",0},
6176 { "_wxWindowID","_EBool",0},
6177 { "_wxWindowID","_uint",0},
6178 { "_wxWindowID","_int",0},
6179 { "_wxWindowID","_signed_int",0},
6180 { "_wxWindowID","_unsigned_int",0},
6181 { "_int","_wxPrintQuality",0},
6182 { "_int","_size_t",0},
6183 { "_int","_EBool",0},
6184 { "_int","_uint",0},
6185 { "_int","_wxWindowID",0},
6186 { "_int","_unsigned_int",0},
6187 { "_int","_signed_int",0},
6188 { "_wxSize","_class_wxSize",0},
6189 { "_wxRegionIterator","_class_wxRegionIterator",0},
6190 { "_class_wxPaintDC","_wxPaintDC",0},
6191 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
6192 { "_class_wxIcon","_wxIcon",0},
6193 { "_class_wxColour","_wxColour",0},
6194 { "_class_wxScreenDC","_wxScreenDC",0},
6195 { "_wxPalette","_class_wxPalette",0},
6196 { "_wxRegion","_class_wxRegion",0},
6197 { "_class_wxClientDC","_wxClientDC",0},
6198 { "_class_wxSize","_wxSize",0},
6199 { "_class_wxBitmap","_wxBitmap",0},
6200 { "_class_wxMemoryDC","_wxMemoryDC",0},
6201 { "_wxMenuBar","_class_wxMenuBar",0},
6202 { "_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler},
6203 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler},
6204 { "_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler},
6205 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler},
6206 { "_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler},
6207 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler},
6208 { "_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler},
6209 { "_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler},
6210 { "_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler},
6211 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler},
6212 { "_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler},
6213 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler},
6214 { "_wxEvtHandler","_class_wxEvtHandler",0},
6215 { "_wxMenuItem","_class_wxMenuItem",0},
6216 { "_wxDash","_unsigned_long",0},
6217 { "_wxDash","_long",0},
6218 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
6219 { "_class_wxPalette","_wxPalette",0},
6220 { "_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow},
6221 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow},
6222 { "_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow},
6223 { "_wxWindow","_wxDialog",SwigwxDialogTowxWindow},
6224 { "_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow},
6225 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow},
6226 { "_wxWindow","_class_wxWindow",0},
6227 {0,0,0}};
6228
6229 static PyObject *SWIG_globals;
6230 #ifdef __cplusplus
6231 extern "C"
6232 #endif
6233 SWIGEXPORT(void) initwindowsc() {
6234 PyObject *m, *d;
6235 SWIG_globals = SWIG_newvarlink();
6236 m = Py_InitModule("windowsc", windowscMethods);
6237 d = PyModule_GetDict(m);
6238 {
6239 int i;
6240 for (i = 0; _swig_mapping[i].n1; i++)
6241 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
6242 }
6243 }