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