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