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