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