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