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