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