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