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