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