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