]> git.saurik.com Git - wxWidgets.git/blame - utils/wxPython/src/msw/windows.cpp
Added gifdecod.h
[wxWidgets.git] / utils / wxPython / src / msw / windows.cpp
CommitLineData
8ab979d7 1/*
9c039d08 2 * FILE : msw/windows.cpp
8ab979d7
RD
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
40extern "C" {
41#endif
42#include "Python.h"
43extern void SWIG_MakePtr(char *, void *, char *);
44extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45extern char *SWIG_GetPtr(char *, void **, char *);
46extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
47extern 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"
8ab979d7 57#include <wx/menuitem.h>
8ab979d7
RD
58
59static 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
79static 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
b639c3c5 106extern byte* byte_LIST_helper(PyObject* source);
8ab979d7
RD
107extern int* int_LIST_helper(PyObject* source);
108extern long* long_LIST_helper(PyObject* source);
109extern char** string_LIST_helper(PyObject* source);
110extern wxPoint* wxPoint_LIST_helper(PyObject* source);
111extern wxBitmap** wxBitmap_LIST_helper(PyObject* source);
112extern wxString* wxString_LIST_helper(PyObject* source);
8ab979d7 113extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
8ab979d7
RD
114
115
116static char* wxStringErrorMsg = "string type is required for parameter";
117
118 wxWindow* wxWindow_FindFocus() {
119 return wxWindow::FindFocus();
120 }
af309447
RD
121
122wxWindow* wxWindow_FromHWND(unsigned long hWnd) {
123 wxWindow* win = new wxWindow;
124 win->SetHWND(hWnd);
125 win->SubclassWin(hWnd);
126 return win;
127}
8ab979d7
RD
128static 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;
cf694132
RD
136{
137 wxPy_BEGIN_ALLOW_THREADS;
138 _result = (wxWindow *)wxWindow_FindFocus();
139
140 wxPy_END_ALLOW_THREADS;
141} SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
8ab979d7
RD
142 _resultobj = Py_BuildValue("s",_ptemp);
143 return _resultobj;
144}
145
af309447
RD
146static PyObject *_wrap_wxWindow_FromHWND(PyObject *self, PyObject *args) {
147 PyObject * _resultobj;
148 wxWindow * _result;
149 unsigned long _arg0;
150 char _ptemp[128];
151
152 self = self;
153 if(!PyArg_ParseTuple(args,"l:wxWindow_FromHWND",&_arg0))
154 return NULL;
cf694132
RD
155{
156 wxPy_BEGIN_ALLOW_THREADS;
157 _result = (wxWindow *)wxWindow_FromHWND(_arg0);
158
159 wxPy_END_ALLOW_THREADS;
160} SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
af309447
RD
161 _resultobj = Py_BuildValue("s",_ptemp);
162 return _resultobj;
163}
164
cf694132
RD
165#define wxEvtHandler_ProcessEvent(_swigobj,_swigarg0) (_swigobj->ProcessEvent(_swigarg0))
166static PyObject *_wrap_wxEvtHandler_ProcessEvent(PyObject *self, PyObject *args) {
167 PyObject * _resultobj;
168 bool _result;
169 wxEvtHandler * _arg0;
170 wxEvent * _arg1;
171 char * _argc0 = 0;
172 char * _argc1 = 0;
173
174 self = self;
175 if(!PyArg_ParseTuple(args,"ss:wxEvtHandler_ProcessEvent",&_argc0,&_argc1))
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_ProcessEvent. Expected _wxEvtHandler_p.");
180 return NULL;
181 }
182 }
183 if (_argc1) {
184 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxEvent_p")) {
185 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxEvtHandler_ProcessEvent. Expected _wxEvent_p.");
186 return NULL;
187 }
188 }
189{
190 wxPy_BEGIN_ALLOW_THREADS;
191 _result = (bool )wxEvtHandler_ProcessEvent(_arg0,*_arg1);
192
193 wxPy_END_ALLOW_THREADS;
194} _resultobj = Py_BuildValue("i",_result);
195 return _resultobj;
196}
197
8ab979d7
RD
198static void wxEvtHandler_Connect(wxEvtHandler *self,int id,int lastId,int eventType,PyObject * func) {
199 if (PyCallable_Check(func)) {
200 self->Connect(id, lastId, eventType,
201 (wxObjectEventFunction) &wxPyCallback::EventThunker,
202 new wxPyCallback(func));
203 }
204 }
205static PyObject *_wrap_wxEvtHandler_Connect(PyObject *self, PyObject *args) {
206 PyObject * _resultobj;
207 wxEvtHandler * _arg0;
208 int _arg1;
209 int _arg2;
210 int _arg3;
211 PyObject * _arg4;
212 char * _argc0 = 0;
213 PyObject * _obj4 = 0;
214
215 self = self;
216 if(!PyArg_ParseTuple(args,"siiiO:wxEvtHandler_Connect",&_argc0,&_arg1,&_arg2,&_arg3,&_obj4))
217 return NULL;
218 if (_argc0) {
219 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxEvtHandler_p")) {
220 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
221 return NULL;
222 }
223 }
224{
225 _arg4 = _obj4;
226}
cf694132
RD
227{
228 wxPy_BEGIN_ALLOW_THREADS;
229 wxEvtHandler_Connect(_arg0,_arg1,_arg2,_arg3,_arg4);
230
231 wxPy_END_ALLOW_THREADS;
232} Py_INCREF(Py_None);
8ab979d7
RD
233 _resultobj = Py_None;
234 return _resultobj;
235}
236
237static void *SwigwxWindowTowxEvtHandler(void *ptr) {
238 wxWindow *src;
239 wxEvtHandler *dest;
240 src = (wxWindow *) ptr;
241 dest = (wxEvtHandler *) src;
242 return (void *) dest;
243}
244
245#define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
246static PyObject *_wrap_new_wxWindow(PyObject *self, PyObject *args) {
247 PyObject * _resultobj;
248 wxWindow * _result;
249 wxWindow * _arg0;
250 wxWindowID _arg1;
251 wxPoint * _arg2 = &wxPyDefaultPosition;
252 wxSize * _arg3 = &wxPyDefaultSize;
253 long _arg4 = 0;
254 char * _arg5 = "panel";
255 char * _argc0 = 0;
256 char * _argc2 = 0;
257 char * _argc3 = 0;
258 char _ptemp[128];
259
260 self = self;
261 if(!PyArg_ParseTuple(args,"si|ssls:new_wxWindow",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_arg5))
262 return NULL;
263 if (_argc0) {
264 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
265 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
266 return NULL;
267 }
268 }
269 if (_argc2) {
270 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) {
271 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxWindow. Expected _wxPoint_p.");
272 return NULL;
273 }
274 }
275 if (_argc3) {
276 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) {
277 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxWindow. Expected _wxSize_p.");
278 return NULL;
279 }
280 }
cf694132
RD
281{
282 wxPy_BEGIN_ALLOW_THREADS;
283 _result = (wxWindow *)new_wxWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
284
285 wxPy_END_ALLOW_THREADS;
286} SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
8ab979d7
RD
287 _resultobj = Py_BuildValue("s",_ptemp);
288 return _resultobj;
289}
290
291#define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
292static PyObject *_wrap_wxWindow_CaptureMouse(PyObject *self, PyObject *args) {
293 PyObject * _resultobj;
294 wxWindow * _arg0;
295 char * _argc0 = 0;
296
297 self = self;
298 if(!PyArg_ParseTuple(args,"s:wxWindow_CaptureMouse",&_argc0))
299 return NULL;
300 if (_argc0) {
301 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
302 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
303 return NULL;
304 }
305 }
cf694132
RD
306{
307 wxPy_BEGIN_ALLOW_THREADS;
308 wxWindow_CaptureMouse(_arg0);
309
310 wxPy_END_ALLOW_THREADS;
311} Py_INCREF(Py_None);
8ab979d7
RD
312 _resultobj = Py_None;
313 return _resultobj;
314}
315
316#define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
317static PyObject *_wrap_wxWindow_Center(PyObject *self, PyObject *args) {
318 PyObject * _resultobj;
319 wxWindow * _arg0;
8bf5d46e 320 int _arg1 = (wxBOTH);
8ab979d7
RD
321 char * _argc0 = 0;
322
323 self = self;
324 if(!PyArg_ParseTuple(args,"s|i:wxWindow_Center",&_argc0,&_arg1))
325 return NULL;
326 if (_argc0) {
327 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
328 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
329 return NULL;
330 }
331 }
cf694132
RD
332{
333 wxPy_BEGIN_ALLOW_THREADS;
334 wxWindow_Center(_arg0,_arg1);
335
336 wxPy_END_ALLOW_THREADS;
337} Py_INCREF(Py_None);
8ab979d7
RD
338 _resultobj = Py_None;
339 return _resultobj;
340}
341
342#define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
343static PyObject *_wrap_wxWindow_Centre(PyObject *self, PyObject *args) {
344 PyObject * _resultobj;
345 wxWindow * _arg0;
8bf5d46e 346 int _arg1 = (wxBOTH);
8ab979d7
RD
347 char * _argc0 = 0;
348
349 self = self;
350 if(!PyArg_ParseTuple(args,"s|i:wxWindow_Centre",&_argc0,&_arg1))
351 return NULL;
352 if (_argc0) {
353 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
354 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
355 return NULL;
356 }
357 }
cf694132
RD
358{
359 wxPy_BEGIN_ALLOW_THREADS;
360 wxWindow_Centre(_arg0,_arg1);
361
362 wxPy_END_ALLOW_THREADS;
363} Py_INCREF(Py_None);
8ab979d7
RD
364 _resultobj = Py_None;
365 return _resultobj;
366}
367
bb0054cd
RD
368#define wxWindow_CentreOnParent(_swigobj,_swigarg0) (_swigobj->CentreOnParent(_swigarg0))
369static PyObject *_wrap_wxWindow_CentreOnParent(PyObject *self, PyObject *args) {
370 PyObject * _resultobj;
371 wxWindow * _arg0;
8bf5d46e 372 int _arg1 = (wxBOTH);
bb0054cd
RD
373 char * _argc0 = 0;
374
375 self = self;
376 if(!PyArg_ParseTuple(args,"s|i:wxWindow_CentreOnParent",&_argc0,&_arg1))
377 return NULL;
378 if (_argc0) {
379 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
380 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_CentreOnParent. Expected _wxWindow_p.");
381 return NULL;
382 }
383 }
384{
385 wxPy_BEGIN_ALLOW_THREADS;
386 wxWindow_CentreOnParent(_arg0,_arg1);
387
388 wxPy_END_ALLOW_THREADS;
389} Py_INCREF(Py_None);
390 _resultobj = Py_None;
391 return _resultobj;
392}
393
394#define wxWindow_CenterOnParent(_swigobj,_swigarg0) (_swigobj->CenterOnParent(_swigarg0))
395static PyObject *_wrap_wxWindow_CenterOnParent(PyObject *self, PyObject *args) {
396 PyObject * _resultobj;
397 wxWindow * _arg0;
8bf5d46e 398 int _arg1 = (wxBOTH);
bb0054cd
RD
399 char * _argc0 = 0;
400
401 self = self;
402 if(!PyArg_ParseTuple(args,"s|i:wxWindow_CenterOnParent",&_argc0,&_arg1))
403 return NULL;
404 if (_argc0) {
405 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
406 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_CenterOnParent. Expected _wxWindow_p.");
407 return NULL;
408 }
409 }
410{
411 wxPy_BEGIN_ALLOW_THREADS;
412 wxWindow_CenterOnParent(_arg0,_arg1);
413
414 wxPy_END_ALLOW_THREADS;
415} Py_INCREF(Py_None);
416 _resultobj = Py_None;
417 return _resultobj;
418}
419
af309447
RD
420#define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
421static PyObject *_wrap_wxWindow_ClientToScreenXY(PyObject *self, PyObject *args) {
8ab979d7
RD
422 PyObject * _resultobj;
423 wxWindow * _arg0;
424 int * _arg1;
425 int * _arg2;
426 char * _argc0 = 0;
427 int temp;
428 PyObject * _obj1 = 0;
429 int temp0;
430 PyObject * _obj2 = 0;
431
432 self = self;
af309447 433 if(!PyArg_ParseTuple(args,"sOO:wxWindow_ClientToScreenXY",&_argc0,&_obj1,&_obj2))
8ab979d7
RD
434 return NULL;
435 if (_argc0) {
436 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
af309447 437 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
8ab979d7
RD
438 return NULL;
439 }
440 }
441{
442 temp = (int) PyInt_AsLong(_obj1);
443 _arg1 = &temp;
444}
445{
446 temp0 = (int) PyInt_AsLong(_obj2);
447 _arg2 = &temp0;
448}
cf694132
RD
449{
450 wxPy_BEGIN_ALLOW_THREADS;
451 wxWindow_ClientToScreenXY(_arg0,_arg1,_arg2);
452
453 wxPy_END_ALLOW_THREADS;
454} Py_INCREF(Py_None);
8ab979d7
RD
455 _resultobj = Py_None;
456{
457 PyObject *o;
458 o = PyInt_FromLong((long) (*_arg1));
459 _resultobj = t_output_helper(_resultobj, o);
460}
461{
462 PyObject *o;
463 o = PyInt_FromLong((long) (*_arg2));
464 _resultobj = t_output_helper(_resultobj, o);
465}
466 return _resultobj;
467}
468
af309447
RD
469#define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
470static PyObject *_wrap_wxWindow_ClientToScreen(PyObject *self, PyObject *args) {
471 PyObject * _resultobj;
472 wxPoint * _result;
473 wxWindow * _arg0;
474 wxPoint * _arg1;
475 char * _argc0 = 0;
476 char * _argc1 = 0;
477 char _ptemp[128];
478
479 self = self;
480 if(!PyArg_ParseTuple(args,"ss:wxWindow_ClientToScreen",&_argc0,&_argc1))
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_ClientToScreen. Expected _wxWindow_p.");
485 return NULL;
486 }
487 }
488 if (_argc1) {
489 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxPoint_p")) {
490 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_ClientToScreen. Expected _wxPoint_p.");
491 return NULL;
492 }
493 }
cf694132
RD
494{
495 wxPy_BEGIN_ALLOW_THREADS;
496 _result = new wxPoint (wxWindow_ClientToScreen(_arg0,*_arg1));
497
498 wxPy_END_ALLOW_THREADS;
499} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
af309447
RD
500 _resultobj = Py_BuildValue("s",_ptemp);
501 return _resultobj;
502}
503
8ab979d7
RD
504#define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
505static PyObject *_wrap_wxWindow_Close(PyObject *self, PyObject *args) {
506 PyObject * _resultobj;
507 bool _result;
508 wxWindow * _arg0;
509 int _arg1 = (0);
510 char * _argc0 = 0;
511
512 self = self;
513 if(!PyArg_ParseTuple(args,"s|i:wxWindow_Close",&_argc0,&_arg1))
514 return NULL;
515 if (_argc0) {
516 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
517 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
518 return NULL;
519 }
520 }
cf694132
RD
521{
522 wxPy_BEGIN_ALLOW_THREADS;
523 _result = (bool )wxWindow_Close(_arg0,_arg1);
524
525 wxPy_END_ALLOW_THREADS;
526} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
527 return _resultobj;
528}
529
530#define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
531static PyObject *_wrap_wxWindow_Destroy(PyObject *self, PyObject *args) {
532 PyObject * _resultobj;
533 bool _result;
534 wxWindow * _arg0;
535 char * _argc0 = 0;
536
537 self = self;
538 if(!PyArg_ParseTuple(args,"s:wxWindow_Destroy",&_argc0))
539 return NULL;
540 if (_argc0) {
541 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
542 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
543 return NULL;
544 }
545 }
cf694132
RD
546{
547 wxPy_BEGIN_ALLOW_THREADS;
548 _result = (bool )wxWindow_Destroy(_arg0);
549
550 wxPy_END_ALLOW_THREADS;
551} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
552 return _resultobj;
553}
554
555#define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
556static PyObject *_wrap_wxWindow_DestroyChildren(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_DestroyChildren",&_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_DestroyChildren. Expected _wxWindow_p.");
567 return NULL;
568 }
569 }
cf694132
RD
570{
571 wxPy_BEGIN_ALLOW_THREADS;
572 wxWindow_DestroyChildren(_arg0);
573
574 wxPy_END_ALLOW_THREADS;
575} Py_INCREF(Py_None);
8ab979d7
RD
576 _resultobj = Py_None;
577 return _resultobj;
578}
579
580#define wxWindow_DragAcceptFiles(_swigobj,_swigarg0) (_swigobj->DragAcceptFiles(_swigarg0))
581static PyObject *_wrap_wxWindow_DragAcceptFiles(PyObject *self, PyObject *args) {
582 PyObject * _resultobj;
583 wxWindow * _arg0;
584 bool _arg1;
585 char * _argc0 = 0;
586 int tempbool1;
587
588 self = self;
589 if(!PyArg_ParseTuple(args,"si:wxWindow_DragAcceptFiles",&_argc0,&tempbool1))
590 return NULL;
591 if (_argc0) {
592 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
593 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_DragAcceptFiles. Expected _wxWindow_p.");
594 return NULL;
595 }
596 }
597 _arg1 = (bool ) tempbool1;
cf694132
RD
598{
599 wxPy_BEGIN_ALLOW_THREADS;
600 wxWindow_DragAcceptFiles(_arg0,_arg1);
601
602 wxPy_END_ALLOW_THREADS;
603} Py_INCREF(Py_None);
8ab979d7
RD
604 _resultobj = Py_None;
605 return _resultobj;
606}
607
608#define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
609static PyObject *_wrap_wxWindow_Enable(PyObject *self, PyObject *args) {
610 PyObject * _resultobj;
611 wxWindow * _arg0;
612 bool _arg1;
613 char * _argc0 = 0;
614 int tempbool1;
615
616 self = self;
617 if(!PyArg_ParseTuple(args,"si:wxWindow_Enable",&_argc0,&tempbool1))
618 return NULL;
619 if (_argc0) {
620 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
621 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
622 return NULL;
623 }
624 }
625 _arg1 = (bool ) tempbool1;
cf694132
RD
626{
627 wxPy_BEGIN_ALLOW_THREADS;
628 wxWindow_Enable(_arg0,_arg1);
629
630 wxPy_END_ALLOW_THREADS;
631} Py_INCREF(Py_None);
8ab979d7
RD
632 _resultobj = Py_None;
633 return _resultobj;
634}
635
af309447
RD
636#define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
637static PyObject *_wrap_wxWindow_FindWindowById(PyObject *self, PyObject *args) {
8ab979d7
RD
638 PyObject * _resultobj;
639 wxWindow * _result;
640 wxWindow * _arg0;
641 long _arg1;
642 char * _argc0 = 0;
643 char _ptemp[128];
644
645 self = self;
af309447 646 if(!PyArg_ParseTuple(args,"sl:wxWindow_FindWindowById",&_argc0,&_arg1))
8ab979d7
RD
647 return NULL;
648 if (_argc0) {
649 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
af309447 650 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
8ab979d7
RD
651 return NULL;
652 }
653 }
cf694132
RD
654{
655 wxPy_BEGIN_ALLOW_THREADS;
656 _result = (wxWindow *)wxWindow_FindWindowById(_arg0,_arg1);
657
658 wxPy_END_ALLOW_THREADS;
659} SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
8ab979d7
RD
660 _resultobj = Py_BuildValue("s",_ptemp);
661 return _resultobj;
662}
663
664#define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
665static PyObject *_wrap_wxWindow_FindWindowByName(PyObject *self, PyObject *args) {
666 PyObject * _resultobj;
667 wxWindow * _result;
668 wxWindow * _arg0;
669 wxString * _arg1;
670 char * _argc0 = 0;
671 PyObject * _obj1 = 0;
672 char _ptemp[128];
673
674 self = self;
675 if(!PyArg_ParseTuple(args,"sO:wxWindow_FindWindowByName",&_argc0,&_obj1))
676 return NULL;
677 if (_argc0) {
678 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
679 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
680 return NULL;
681 }
682 }
683{
684 if (!PyString_Check(_obj1)) {
685 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
686 return NULL;
687 }
cf694132 688 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
8ab979d7 689}
cf694132
RD
690{
691 wxPy_BEGIN_ALLOW_THREADS;
692 _result = (wxWindow *)wxWindow_FindWindowByName(_arg0,*_arg1);
693
694 wxPy_END_ALLOW_THREADS;
695} SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
8ab979d7
RD
696 _resultobj = Py_BuildValue("s",_ptemp);
697{
698 if (_obj1)
699 delete _arg1;
700}
701 return _resultobj;
702}
703
704#define wxWindow_Fit(_swigobj) (_swigobj->Fit())
705static PyObject *_wrap_wxWindow_Fit(PyObject *self, PyObject *args) {
706 PyObject * _resultobj;
707 wxWindow * _arg0;
708 char * _argc0 = 0;
709
710 self = self;
711 if(!PyArg_ParseTuple(args,"s:wxWindow_Fit",&_argc0))
712 return NULL;
713 if (_argc0) {
714 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
715 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
716 return NULL;
717 }
718 }
cf694132
RD
719{
720 wxPy_BEGIN_ALLOW_THREADS;
721 wxWindow_Fit(_arg0);
722
723 wxPy_END_ALLOW_THREADS;
724} Py_INCREF(Py_None);
8ab979d7
RD
725 _resultobj = Py_None;
726 return _resultobj;
727}
728
729#define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
730static PyObject *_wrap_wxWindow_GetBackgroundColour(PyObject *self, PyObject *args) {
731 PyObject * _resultobj;
732 wxColour * _result;
733 wxWindow * _arg0;
734 char * _argc0 = 0;
735 char _ptemp[128];
736
737 self = self;
738 if(!PyArg_ParseTuple(args,"s:wxWindow_GetBackgroundColour",&_argc0))
739 return NULL;
740 if (_argc0) {
741 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
742 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
743 return NULL;
744 }
745 }
cf694132
RD
746{
747 wxPy_BEGIN_ALLOW_THREADS;
748 _result = new wxColour (wxWindow_GetBackgroundColour(_arg0));
749
750 wxPy_END_ALLOW_THREADS;
751} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8ab979d7
RD
752 _resultobj = Py_BuildValue("s",_ptemp);
753 return _resultobj;
754}
755
756#define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
757static PyObject *_wrap_wxWindow_GetCharHeight(PyObject *self, PyObject *args) {
758 PyObject * _resultobj;
759 int _result;
760 wxWindow * _arg0;
761 char * _argc0 = 0;
762
763 self = self;
764 if(!PyArg_ParseTuple(args,"s:wxWindow_GetCharHeight",&_argc0))
765 return NULL;
766 if (_argc0) {
767 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
768 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
769 return NULL;
770 }
771 }
cf694132
RD
772{
773 wxPy_BEGIN_ALLOW_THREADS;
774 _result = (int )wxWindow_GetCharHeight(_arg0);
775
776 wxPy_END_ALLOW_THREADS;
777} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
778 return _resultobj;
779}
780
781#define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
782static PyObject *_wrap_wxWindow_GetCharWidth(PyObject *self, PyObject *args) {
783 PyObject * _resultobj;
784 int _result;
785 wxWindow * _arg0;
786 char * _argc0 = 0;
787
788 self = self;
789 if(!PyArg_ParseTuple(args,"s:wxWindow_GetCharWidth",&_argc0))
790 return NULL;
791 if (_argc0) {
792 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
793 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
794 return NULL;
795 }
796 }
cf694132
RD
797{
798 wxPy_BEGIN_ALLOW_THREADS;
799 _result = (int )wxWindow_GetCharWidth(_arg0);
800
801 wxPy_END_ALLOW_THREADS;
802} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
803 return _resultobj;
804}
805
b8b8dda7
RD
806#define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
807static PyObject *_wrap_wxWindow_GetClientSizeTuple(PyObject *self, PyObject *args) {
8ab979d7
RD
808 PyObject * _resultobj;
809 wxWindow * _arg0;
810 int * _arg1;
811 int temp;
812 int * _arg2;
813 int temp0;
814 char * _argc0 = 0;
815
816 self = self;
817{
818 _arg1 = &temp;
819}
820{
821 _arg2 = &temp0;
822}
b8b8dda7 823 if(!PyArg_ParseTuple(args,"s:wxWindow_GetClientSizeTuple",&_argc0))
8ab979d7
RD
824 return NULL;
825 if (_argc0) {
826 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
b8b8dda7 827 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
8ab979d7
RD
828 return NULL;
829 }
830 }
cf694132
RD
831{
832 wxPy_BEGIN_ALLOW_THREADS;
833 wxWindow_GetClientSizeTuple(_arg0,_arg1,_arg2);
834
835 wxPy_END_ALLOW_THREADS;
836} Py_INCREF(Py_None);
8ab979d7
RD
837 _resultobj = Py_None;
838{
839 PyObject *o;
840 o = PyInt_FromLong((long) (*_arg1));
841 _resultobj = t_output_helper(_resultobj, o);
842}
843{
844 PyObject *o;
845 o = PyInt_FromLong((long) (*_arg2));
846 _resultobj = t_output_helper(_resultobj, o);
847}
848 return _resultobj;
849}
850
b8b8dda7
RD
851#define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
852static PyObject *_wrap_wxWindow_GetClientSize(PyObject *self, PyObject *args) {
853 PyObject * _resultobj;
854 wxSize * _result;
855 wxWindow * _arg0;
856 char * _argc0 = 0;
857 char _ptemp[128];
858
859 self = self;
860 if(!PyArg_ParseTuple(args,"s:wxWindow_GetClientSize",&_argc0))
861 return NULL;
862 if (_argc0) {
863 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
864 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
865 return NULL;
866 }
867 }
cf694132
RD
868{
869 wxPy_BEGIN_ALLOW_THREADS;
870 _result = new wxSize (wxWindow_GetClientSize(_arg0));
871
872 wxPy_END_ALLOW_THREADS;
873} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
b8b8dda7
RD
874 _resultobj = Py_BuildValue("s",_ptemp);
875 return _resultobj;
876}
877
8ab979d7
RD
878#define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
879static PyObject *_wrap_wxWindow_GetConstraints(PyObject *self, PyObject *args) {
880 PyObject * _resultobj;
881 wxLayoutConstraints * _result;
882 wxWindow * _arg0;
883 char * _argc0 = 0;
884 char _ptemp[128];
885
886 self = self;
887 if(!PyArg_ParseTuple(args,"s:wxWindow_GetConstraints",&_argc0))
888 return NULL;
889 if (_argc0) {
890 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
891 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
892 return NULL;
893 }
894 }
cf694132
RD
895{
896 wxPy_BEGIN_ALLOW_THREADS;
897 _result = (wxLayoutConstraints *)wxWindow_GetConstraints(_arg0);
898
899 wxPy_END_ALLOW_THREADS;
900} SWIG_MakePtr(_ptemp, (char *) _result,"_wxLayoutConstraints_p");
8ab979d7
RD
901 _resultobj = Py_BuildValue("s",_ptemp);
902 return _resultobj;
903}
904
8ab979d7
RD
905#define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
906static PyObject *_wrap_wxWindow_GetFont(PyObject *self, PyObject *args) {
907 PyObject * _resultobj;
908 wxFont * _result;
909 wxWindow * _arg0;
910 char * _argc0 = 0;
911 char _ptemp[128];
912
913 self = self;
914 if(!PyArg_ParseTuple(args,"s:wxWindow_GetFont",&_argc0))
915 return NULL;
916 if (_argc0) {
917 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
918 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
919 return NULL;
920 }
921 }
cf694132
RD
922{
923 wxPy_BEGIN_ALLOW_THREADS;
924 wxFont & _result_ref = wxWindow_GetFont(_arg0);
b8b8dda7 925 _result = (wxFont *) &_result_ref;
cf694132
RD
926
927 wxPy_END_ALLOW_THREADS;
928} SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
8ab979d7
RD
929 _resultobj = Py_BuildValue("s",_ptemp);
930 return _resultobj;
931}
932
933#define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
934static PyObject *_wrap_wxWindow_GetForegroundColour(PyObject *self, PyObject *args) {
935 PyObject * _resultobj;
936 wxColour * _result;
937 wxWindow * _arg0;
938 char * _argc0 = 0;
939 char _ptemp[128];
940
941 self = self;
942 if(!PyArg_ParseTuple(args,"s:wxWindow_GetForegroundColour",&_argc0))
943 return NULL;
944 if (_argc0) {
945 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
946 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
947 return NULL;
948 }
949 }
cf694132
RD
950{
951 wxPy_BEGIN_ALLOW_THREADS;
952 _result = new wxColour (wxWindow_GetForegroundColour(_arg0));
953
954 wxPy_END_ALLOW_THREADS;
955} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8ab979d7
RD
956 _resultobj = Py_BuildValue("s",_ptemp);
957 return _resultobj;
958}
959
960#define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
961static PyObject *_wrap_wxWindow_GetGrandParent(PyObject *self, PyObject *args) {
962 PyObject * _resultobj;
963 wxWindow * _result;
964 wxWindow * _arg0;
965 char * _argc0 = 0;
966 char _ptemp[128];
967
968 self = self;
969 if(!PyArg_ParseTuple(args,"s:wxWindow_GetGrandParent",&_argc0))
970 return NULL;
971 if (_argc0) {
972 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
973 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
974 return NULL;
975 }
976 }
cf694132
RD
977{
978 wxPy_BEGIN_ALLOW_THREADS;
979 _result = (wxWindow *)wxWindow_GetGrandParent(_arg0);
980
981 wxPy_END_ALLOW_THREADS;
982} SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
8ab979d7
RD
983 _resultobj = Py_BuildValue("s",_ptemp);
984 return _resultobj;
985}
986
987#define wxWindow_GetId(_swigobj) (_swigobj->GetId())
988static PyObject *_wrap_wxWindow_GetId(PyObject *self, PyObject *args) {
989 PyObject * _resultobj;
990 int _result;
991 wxWindow * _arg0;
992 char * _argc0 = 0;
993
994 self = self;
995 if(!PyArg_ParseTuple(args,"s:wxWindow_GetId",&_argc0))
996 return NULL;
997 if (_argc0) {
998 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
999 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
1000 return NULL;
1001 }
1002 }
cf694132
RD
1003{
1004 wxPy_BEGIN_ALLOW_THREADS;
1005 _result = (int )wxWindow_GetId(_arg0);
1006
1007 wxPy_END_ALLOW_THREADS;
1008} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1009 return _resultobj;
1010}
1011
8ab979d7
RD
1012#define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
1013static PyObject *_wrap_wxWindow_GetLabel(PyObject *self, PyObject *args) {
1014 PyObject * _resultobj;
1015 wxString * _result;
1016 wxWindow * _arg0;
1017 char * _argc0 = 0;
1018
1019 self = self;
1020 if(!PyArg_ParseTuple(args,"s:wxWindow_GetLabel",&_argc0))
1021 return NULL;
1022 if (_argc0) {
1023 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1024 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
1025 return NULL;
1026 }
1027 }
8ab979d7 1028{
cf694132
RD
1029 wxPy_BEGIN_ALLOW_THREADS;
1030 _result = new wxString (wxWindow_GetLabel(_arg0));
1031
1032 wxPy_END_ALLOW_THREADS;
1033}{
8ab979d7
RD
1034 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
1035}
1036{
1037 delete _result;
1038}
1039 return _resultobj;
1040}
1041
bb0054cd
RD
1042#define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
1043static PyObject *_wrap_wxWindow_SetLabel(PyObject *self, PyObject *args) {
1044 PyObject * _resultobj;
1045 wxWindow * _arg0;
1046 wxString * _arg1;
1047 char * _argc0 = 0;
1048 PyObject * _obj1 = 0;
1049
1050 self = self;
1051 if(!PyArg_ParseTuple(args,"sO:wxWindow_SetLabel",&_argc0,&_obj1))
1052 return NULL;
1053 if (_argc0) {
1054 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1055 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
1056 return NULL;
1057 }
1058 }
1059{
1060 if (!PyString_Check(_obj1)) {
1061 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1062 return NULL;
1063 }
1064 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
1065}
1066{
1067 wxPy_BEGIN_ALLOW_THREADS;
1068 wxWindow_SetLabel(_arg0,*_arg1);
1069
1070 wxPy_END_ALLOW_THREADS;
1071} Py_INCREF(Py_None);
1072 _resultobj = Py_None;
1073{
1074 if (_obj1)
1075 delete _arg1;
1076}
1077 return _resultobj;
1078}
1079
8ab979d7
RD
1080#define wxWindow_GetName(_swigobj) (_swigobj->GetName())
1081static PyObject *_wrap_wxWindow_GetName(PyObject *self, PyObject *args) {
1082 PyObject * _resultobj;
1083 wxString * _result;
1084 wxWindow * _arg0;
1085 char * _argc0 = 0;
1086
1087 self = self;
1088 if(!PyArg_ParseTuple(args,"s:wxWindow_GetName",&_argc0))
1089 return NULL;
1090 if (_argc0) {
1091 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1092 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
1093 return NULL;
1094 }
1095 }
8ab979d7 1096{
cf694132
RD
1097 wxPy_BEGIN_ALLOW_THREADS;
1098 _result = new wxString (wxWindow_GetName(_arg0));
1099
1100 wxPy_END_ALLOW_THREADS;
1101}{
8ab979d7
RD
1102 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
1103}
1104{
1105 delete _result;
1106}
1107 return _resultobj;
1108}
1109
1110#define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
1111static PyObject *_wrap_wxWindow_GetParent(PyObject *self, PyObject *args) {
1112 PyObject * _resultobj;
1113 wxWindow * _result;
1114 wxWindow * _arg0;
1115 char * _argc0 = 0;
1116 char _ptemp[128];
1117
1118 self = self;
1119 if(!PyArg_ParseTuple(args,"s:wxWindow_GetParent",&_argc0))
1120 return NULL;
1121 if (_argc0) {
1122 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1123 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
1124 return NULL;
1125 }
1126 }
cf694132
RD
1127{
1128 wxPy_BEGIN_ALLOW_THREADS;
1129 _result = (wxWindow *)wxWindow_GetParent(_arg0);
1130
1131 wxPy_END_ALLOW_THREADS;
1132} SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
8ab979d7
RD
1133 _resultobj = Py_BuildValue("s",_ptemp);
1134 return _resultobj;
1135}
1136
b8b8dda7
RD
1137#define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
1138static PyObject *_wrap_wxWindow_GetPositionTuple(PyObject *self, PyObject *args) {
1139 PyObject * _resultobj;
1140 wxWindow * _arg0;
1141 int * _arg1;
1142 int temp;
1143 int * _arg2;
1144 int temp0;
1145 char * _argc0 = 0;
1146
1147 self = self;
1148{
1149 _arg1 = &temp;
1150}
1151{
1152 _arg2 = &temp0;
1153}
1154 if(!PyArg_ParseTuple(args,"s:wxWindow_GetPositionTuple",&_argc0))
1155 return NULL;
1156 if (_argc0) {
1157 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1158 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
1159 return NULL;
1160 }
1161 }
cf694132
RD
1162{
1163 wxPy_BEGIN_ALLOW_THREADS;
1164 wxWindow_GetPositionTuple(_arg0,_arg1,_arg2);
1165
1166 wxPy_END_ALLOW_THREADS;
1167} Py_INCREF(Py_None);
b8b8dda7
RD
1168 _resultobj = Py_None;
1169{
1170 PyObject *o;
1171 o = PyInt_FromLong((long) (*_arg1));
1172 _resultobj = t_output_helper(_resultobj, o);
1173}
1174{
1175 PyObject *o;
1176 o = PyInt_FromLong((long) (*_arg2));
1177 _resultobj = t_output_helper(_resultobj, o);
1178}
1179 return _resultobj;
1180}
1181
1182#define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
1183static PyObject *_wrap_wxWindow_GetPosition(PyObject *self, PyObject *args) {
1184 PyObject * _resultobj;
1185 wxPoint * _result;
1186 wxWindow * _arg0;
1187 char * _argc0 = 0;
1188 char _ptemp[128];
1189
1190 self = self;
1191 if(!PyArg_ParseTuple(args,"s:wxWindow_GetPosition",&_argc0))
1192 return NULL;
1193 if (_argc0) {
1194 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1195 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
1196 return NULL;
1197 }
1198 }
cf694132
RD
1199{
1200 wxPy_BEGIN_ALLOW_THREADS;
1201 _result = new wxPoint (wxWindow_GetPosition(_arg0));
1202
1203 wxPy_END_ALLOW_THREADS;
1204} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
b8b8dda7
RD
1205 _resultobj = Py_BuildValue("s",_ptemp);
1206 return _resultobj;
1207}
1208
1209#define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
1210static PyObject *_wrap_wxWindow_GetRect(PyObject *self, PyObject *args) {
1211 PyObject * _resultobj;
1212 wxRect * _result;
1213 wxWindow * _arg0;
1214 char * _argc0 = 0;
1215 char _ptemp[128];
1216
1217 self = self;
1218 if(!PyArg_ParseTuple(args,"s:wxWindow_GetRect",&_argc0))
1219 return NULL;
1220 if (_argc0) {
1221 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1222 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
1223 return NULL;
1224 }
1225 }
cf694132
RD
1226{
1227 wxPy_BEGIN_ALLOW_THREADS;
1228 _result = new wxRect (wxWindow_GetRect(_arg0));
1229
1230 wxPy_END_ALLOW_THREADS;
1231} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
b8b8dda7
RD
1232 _resultobj = Py_BuildValue("s",_ptemp);
1233 return _resultobj;
1234}
1235
8ab979d7
RD
1236#define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
1237static PyObject *_wrap_wxWindow_GetScrollThumb(PyObject *self, PyObject *args) {
1238 PyObject * _resultobj;
1239 int _result;
1240 wxWindow * _arg0;
1241 int _arg1;
1242 char * _argc0 = 0;
1243
1244 self = self;
1245 if(!PyArg_ParseTuple(args,"si:wxWindow_GetScrollThumb",&_argc0,&_arg1))
1246 return NULL;
1247 if (_argc0) {
1248 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1249 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
1250 return NULL;
1251 }
1252 }
cf694132
RD
1253{
1254 wxPy_BEGIN_ALLOW_THREADS;
1255 _result = (int )wxWindow_GetScrollThumb(_arg0,_arg1);
1256
1257 wxPy_END_ALLOW_THREADS;
1258} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1259 return _resultobj;
1260}
1261
1262#define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
1263static PyObject *_wrap_wxWindow_GetScrollPos(PyObject *self, PyObject *args) {
1264 PyObject * _resultobj;
1265 int _result;
1266 wxWindow * _arg0;
1267 int _arg1;
1268 char * _argc0 = 0;
1269
1270 self = self;
1271 if(!PyArg_ParseTuple(args,"si:wxWindow_GetScrollPos",&_argc0,&_arg1))
1272 return NULL;
1273 if (_argc0) {
1274 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1275 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
1276 return NULL;
1277 }
1278 }
cf694132
RD
1279{
1280 wxPy_BEGIN_ALLOW_THREADS;
1281 _result = (int )wxWindow_GetScrollPos(_arg0,_arg1);
1282
1283 wxPy_END_ALLOW_THREADS;
1284} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1285 return _resultobj;
1286}
1287
1288#define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
1289static PyObject *_wrap_wxWindow_GetScrollRange(PyObject *self, PyObject *args) {
1290 PyObject * _resultobj;
1291 int _result;
1292 wxWindow * _arg0;
1293 int _arg1;
1294 char * _argc0 = 0;
1295
1296 self = self;
1297 if(!PyArg_ParseTuple(args,"si:wxWindow_GetScrollRange",&_argc0,&_arg1))
1298 return NULL;
1299 if (_argc0) {
1300 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1301 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
1302 return NULL;
1303 }
1304 }
cf694132
RD
1305{
1306 wxPy_BEGIN_ALLOW_THREADS;
1307 _result = (int )wxWindow_GetScrollRange(_arg0,_arg1);
1308
1309 wxPy_END_ALLOW_THREADS;
1310} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1311 return _resultobj;
1312}
1313
b8b8dda7
RD
1314#define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
1315static PyObject *_wrap_wxWindow_GetSizeTuple(PyObject *self, PyObject *args) {
8ab979d7
RD
1316 PyObject * _resultobj;
1317 wxWindow * _arg0;
1318 int * _arg1;
1319 int temp;
1320 int * _arg2;
1321 int temp0;
1322 char * _argc0 = 0;
1323
1324 self = self;
1325{
1326 _arg1 = &temp;
1327}
1328{
1329 _arg2 = &temp0;
1330}
b8b8dda7 1331 if(!PyArg_ParseTuple(args,"s:wxWindow_GetSizeTuple",&_argc0))
8ab979d7
RD
1332 return NULL;
1333 if (_argc0) {
1334 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
b8b8dda7 1335 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
8ab979d7
RD
1336 return NULL;
1337 }
1338 }
cf694132
RD
1339{
1340 wxPy_BEGIN_ALLOW_THREADS;
1341 wxWindow_GetSizeTuple(_arg0,_arg1,_arg2);
1342
1343 wxPy_END_ALLOW_THREADS;
1344} Py_INCREF(Py_None);
8ab979d7
RD
1345 _resultobj = Py_None;
1346{
1347 PyObject *o;
1348 o = PyInt_FromLong((long) (*_arg1));
1349 _resultobj = t_output_helper(_resultobj, o);
1350}
1351{
1352 PyObject *o;
1353 o = PyInt_FromLong((long) (*_arg2));
1354 _resultobj = t_output_helper(_resultobj, o);
1355}
1356 return _resultobj;
1357}
1358
b8b8dda7
RD
1359#define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
1360static PyObject *_wrap_wxWindow_GetSize(PyObject *self, PyObject *args) {
1361 PyObject * _resultobj;
1362 wxSize * _result;
1363 wxWindow * _arg0;
1364 char * _argc0 = 0;
1365 char _ptemp[128];
1366
1367 self = self;
1368 if(!PyArg_ParseTuple(args,"s:wxWindow_GetSize",&_argc0))
1369 return NULL;
1370 if (_argc0) {
1371 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1372 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
1373 return NULL;
1374 }
1375 }
cf694132
RD
1376{
1377 wxPy_BEGIN_ALLOW_THREADS;
1378 _result = new wxSize (wxWindow_GetSize(_arg0));
1379
1380 wxPy_END_ALLOW_THREADS;
1381} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
b8b8dda7
RD
1382 _resultobj = Py_BuildValue("s",_ptemp);
1383 return _resultobj;
1384}
1385
8ab979d7
RD
1386#define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
1387static PyObject *_wrap_wxWindow_GetTextExtent(PyObject *self, PyObject *args) {
1388 PyObject * _resultobj;
1389 wxWindow * _arg0;
1390 wxString * _arg1;
1391 int * _arg2;
1392 int temp;
1393 int * _arg3;
1394 int temp0;
1395 char * _argc0 = 0;
1396 PyObject * _obj1 = 0;
1397
1398 self = self;
1399{
1400 _arg2 = &temp;
1401}
1402{
1403 _arg3 = &temp0;
1404}
1405 if(!PyArg_ParseTuple(args,"sO:wxWindow_GetTextExtent",&_argc0,&_obj1))
1406 return NULL;
1407 if (_argc0) {
1408 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1409 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
1410 return NULL;
1411 }
1412 }
1413{
1414 if (!PyString_Check(_obj1)) {
1415 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1416 return NULL;
1417 }
cf694132 1418 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
8ab979d7 1419}
cf694132
RD
1420{
1421 wxPy_BEGIN_ALLOW_THREADS;
1422 wxWindow_GetTextExtent(_arg0,*_arg1,_arg2,_arg3);
1423
1424 wxPy_END_ALLOW_THREADS;
1425} Py_INCREF(Py_None);
8ab979d7
RD
1426 _resultobj = Py_None;
1427{
1428 PyObject *o;
1429 o = PyInt_FromLong((long) (*_arg2));
1430 _resultobj = t_output_helper(_resultobj, o);
1431}
1432{
1433 PyObject *o;
1434 o = PyInt_FromLong((long) (*_arg3));
1435 _resultobj = t_output_helper(_resultobj, o);
1436}
1437{
1438 if (_obj1)
1439 delete _arg1;
1440}
1441 return _resultobj;
1442}
1443
af309447
RD
1444#define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1445static PyObject *_wrap_wxWindow_GetFullTextExtent(PyObject *self, PyObject *args) {
1446 PyObject * _resultobj;
1447 wxWindow * _arg0;
1448 wxString * _arg1;
1449 int * _arg2;
1450 int temp;
1451 int * _arg3;
1452 int temp0;
1453 int * _arg4;
1454 int temp1;
1455 int * _arg5;
1456 int temp2;
1457 wxFont * _arg6 = NULL;
1458 char * _argc0 = 0;
1459 PyObject * _obj1 = 0;
1460 char * _argc6 = 0;
1461
1462 self = self;
1463{
1464 _arg2 = &temp;
1465}
1466{
1467 _arg3 = &temp0;
1468}
1469{
1470 _arg4 = &temp1;
1471}
1472{
1473 _arg5 = &temp2;
1474}
1475 if(!PyArg_ParseTuple(args,"sO|s:wxWindow_GetFullTextExtent",&_argc0,&_obj1,&_argc6))
1476 return NULL;
1477 if (_argc0) {
1478 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1479 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
1480 return NULL;
1481 }
1482 }
1483{
1484 if (!PyString_Check(_obj1)) {
1485 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1486 return NULL;
1487 }
cf694132 1488 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
af309447
RD
1489}
1490 if (_argc6) {
1491 if (SWIG_GetPtr(_argc6,(void **) &_arg6,"_wxFont_p")) {
1492 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
1493 return NULL;
1494 }
1495 }
cf694132
RD
1496{
1497 wxPy_BEGIN_ALLOW_THREADS;
1498 wxWindow_GetFullTextExtent(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
1499
1500 wxPy_END_ALLOW_THREADS;
1501} Py_INCREF(Py_None);
af309447
RD
1502 _resultobj = Py_None;
1503{
1504 PyObject *o;
1505 o = PyInt_FromLong((long) (*_arg2));
1506 _resultobj = t_output_helper(_resultobj, o);
1507}
1508{
1509 PyObject *o;
1510 o = PyInt_FromLong((long) (*_arg3));
1511 _resultobj = t_output_helper(_resultobj, o);
1512}
1513{
1514 PyObject *o;
1515 o = PyInt_FromLong((long) (*_arg4));
1516 _resultobj = t_output_helper(_resultobj, o);
1517}
1518{
1519 PyObject *o;
1520 o = PyInt_FromLong((long) (*_arg5));
1521 _resultobj = t_output_helper(_resultobj, o);
1522}
1523{
1524 if (_obj1)
1525 delete _arg1;
1526}
1527 return _resultobj;
1528}
1529
8ab979d7
RD
1530#define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
1531static PyObject *_wrap_wxWindow_GetTitle(PyObject *self, PyObject *args) {
1532 PyObject * _resultobj;
1533 wxString * _result;
1534 wxWindow * _arg0;
1535 char * _argc0 = 0;
1536
1537 self = self;
1538 if(!PyArg_ParseTuple(args,"s:wxWindow_GetTitle",&_argc0))
1539 return NULL;
1540 if (_argc0) {
1541 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1542 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
1543 return NULL;
1544 }
1545 }
8ab979d7 1546{
cf694132
RD
1547 wxPy_BEGIN_ALLOW_THREADS;
1548 _result = new wxString (wxWindow_GetTitle(_arg0));
1549
1550 wxPy_END_ALLOW_THREADS;
1551}{
8ab979d7
RD
1552 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
1553}
1554{
1555 delete _result;
1556}
1557 return _resultobj;
1558}
1559
8bf5d46e
RD
1560#define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
1561static PyObject *_wrap_wxWindow_GetUpdateRegion(PyObject *self, PyObject *args) {
1562 PyObject * _resultobj;
1563 wxRegion * _result;
1564 wxWindow * _arg0;
1565 char * _argc0 = 0;
1566 char _ptemp[128];
1567
1568 self = self;
1569 if(!PyArg_ParseTuple(args,"s:wxWindow_GetUpdateRegion",&_argc0))
1570 return NULL;
1571 if (_argc0) {
1572 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1573 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
1574 return NULL;
1575 }
1576 }
1577{
1578 wxPy_BEGIN_ALLOW_THREADS;
1579 _result = new wxRegion (wxWindow_GetUpdateRegion(_arg0));
1580
1581 wxPy_END_ALLOW_THREADS;
1582} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRegion_p");
1583 _resultobj = Py_BuildValue("s",_ptemp);
1584 return _resultobj;
1585}
1586
8ab979d7
RD
1587#define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
1588static PyObject *_wrap_wxWindow_GetWindowStyleFlag(PyObject *self, PyObject *args) {
1589 PyObject * _resultobj;
1590 long _result;
1591 wxWindow * _arg0;
1592 char * _argc0 = 0;
1593
1594 self = self;
1595 if(!PyArg_ParseTuple(args,"s:wxWindow_GetWindowStyleFlag",&_argc0))
1596 return NULL;
1597 if (_argc0) {
1598 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1599 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
1600 return NULL;
1601 }
1602 }
cf694132
RD
1603{
1604 wxPy_BEGIN_ALLOW_THREADS;
1605 _result = (long )wxWindow_GetWindowStyleFlag(_arg0);
1606
1607 wxPy_END_ALLOW_THREADS;
1608} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
1609 return _resultobj;
1610}
1611
bb0054cd
RD
1612#define wxWindow_Hide(_swigobj) (_swigobj->Hide())
1613static PyObject *_wrap_wxWindow_Hide(PyObject *self, PyObject *args) {
1614 PyObject * _resultobj;
1615 bool _result;
1616 wxWindow * _arg0;
1617 char * _argc0 = 0;
1618
1619 self = self;
1620 if(!PyArg_ParseTuple(args,"s:wxWindow_Hide",&_argc0))
1621 return NULL;
1622 if (_argc0) {
1623 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1624 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
1625 return NULL;
1626 }
1627 }
1628{
1629 wxPy_BEGIN_ALLOW_THREADS;
1630 _result = (bool )wxWindow_Hide(_arg0);
1631
1632 wxPy_END_ALLOW_THREADS;
1633} _resultobj = Py_BuildValue("i",_result);
1634 return _resultobj;
1635}
1636
8ab979d7
RD
1637#define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
1638static PyObject *_wrap_wxWindow_InitDialog(PyObject *self, PyObject *args) {
1639 PyObject * _resultobj;
1640 wxWindow * _arg0;
1641 char * _argc0 = 0;
1642
1643 self = self;
1644 if(!PyArg_ParseTuple(args,"s:wxWindow_InitDialog",&_argc0))
1645 return NULL;
1646 if (_argc0) {
1647 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1648 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
1649 return NULL;
1650 }
1651 }
cf694132
RD
1652{
1653 wxPy_BEGIN_ALLOW_THREADS;
1654 wxWindow_InitDialog(_arg0);
1655
1656 wxPy_END_ALLOW_THREADS;
1657} Py_INCREF(Py_None);
8ab979d7
RD
1658 _resultobj = Py_None;
1659 return _resultobj;
1660}
1661
1662#define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
1663static PyObject *_wrap_wxWindow_IsEnabled(PyObject *self, PyObject *args) {
1664 PyObject * _resultobj;
1665 bool _result;
1666 wxWindow * _arg0;
1667 char * _argc0 = 0;
1668
1669 self = self;
1670 if(!PyArg_ParseTuple(args,"s:wxWindow_IsEnabled",&_argc0))
1671 return NULL;
1672 if (_argc0) {
1673 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1674 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
1675 return NULL;
1676 }
1677 }
cf694132
RD
1678{
1679 wxPy_BEGIN_ALLOW_THREADS;
1680 _result = (bool )wxWindow_IsEnabled(_arg0);
1681
1682 wxPy_END_ALLOW_THREADS;
1683} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1684 return _resultobj;
1685}
1686
1687#define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
1688static PyObject *_wrap_wxWindow_IsRetained(PyObject *self, PyObject *args) {
1689 PyObject * _resultobj;
1690 bool _result;
1691 wxWindow * _arg0;
1692 char * _argc0 = 0;
1693
1694 self = self;
1695 if(!PyArg_ParseTuple(args,"s:wxWindow_IsRetained",&_argc0))
1696 return NULL;
1697 if (_argc0) {
1698 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1699 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
1700 return NULL;
1701 }
1702 }
cf694132
RD
1703{
1704 wxPy_BEGIN_ALLOW_THREADS;
1705 _result = (bool )wxWindow_IsRetained(_arg0);
1706
1707 wxPy_END_ALLOW_THREADS;
1708} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1709 return _resultobj;
1710}
1711
1712#define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
1713static PyObject *_wrap_wxWindow_IsShown(PyObject *self, PyObject *args) {
1714 PyObject * _resultobj;
1715 bool _result;
1716 wxWindow * _arg0;
1717 char * _argc0 = 0;
1718
1719 self = self;
1720 if(!PyArg_ParseTuple(args,"s:wxWindow_IsShown",&_argc0))
1721 return NULL;
1722 if (_argc0) {
1723 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1724 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
1725 return NULL;
1726 }
1727 }
cf694132
RD
1728{
1729 wxPy_BEGIN_ALLOW_THREADS;
1730 _result = (bool )wxWindow_IsShown(_arg0);
1731
1732 wxPy_END_ALLOW_THREADS;
1733} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1734 return _resultobj;
1735}
1736
bb0054cd
RD
1737#define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
1738static PyObject *_wrap_wxWindow_IsTopLevel(PyObject *self, PyObject *args) {
1739 PyObject * _resultobj;
1740 bool _result;
1741 wxWindow * _arg0;
1742 char * _argc0 = 0;
1743
1744 self = self;
1745 if(!PyArg_ParseTuple(args,"s:wxWindow_IsTopLevel",&_argc0))
1746 return NULL;
1747 if (_argc0) {
1748 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1749 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
1750 return NULL;
1751 }
1752 }
1753{
1754 wxPy_BEGIN_ALLOW_THREADS;
1755 _result = (bool )wxWindow_IsTopLevel(_arg0);
1756
1757 wxPy_END_ALLOW_THREADS;
1758} _resultobj = Py_BuildValue("i",_result);
1759 return _resultobj;
1760}
1761
8ab979d7
RD
1762#define wxWindow_Layout(_swigobj) (_swigobj->Layout())
1763static PyObject *_wrap_wxWindow_Layout(PyObject *self, PyObject *args) {
1764 PyObject * _resultobj;
1765 wxWindow * _arg0;
1766 char * _argc0 = 0;
1767
1768 self = self;
1769 if(!PyArg_ParseTuple(args,"s:wxWindow_Layout",&_argc0))
1770 return NULL;
1771 if (_argc0) {
1772 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1773 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
1774 return NULL;
1775 }
1776 }
cf694132
RD
1777{
1778 wxPy_BEGIN_ALLOW_THREADS;
1779 wxWindow_Layout(_arg0);
1780
1781 wxPy_END_ALLOW_THREADS;
1782} Py_INCREF(Py_None);
8ab979d7
RD
1783 _resultobj = Py_None;
1784 return _resultobj;
1785}
1786
1787#define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
1788static PyObject *_wrap_wxWindow_LoadFromResource(PyObject *self, PyObject *args) {
1789 PyObject * _resultobj;
1790 bool _result;
1791 wxWindow * _arg0;
1792 wxWindow * _arg1;
1793 wxString * _arg2;
1794 wxResourceTable * _arg3 = NULL;
1795 char * _argc0 = 0;
1796 char * _argc1 = 0;
1797 PyObject * _obj2 = 0;
1798 char * _argc3 = 0;
1799
1800 self = self;
1801 if(!PyArg_ParseTuple(args,"ssO|s:wxWindow_LoadFromResource",&_argc0,&_argc1,&_obj2,&_argc3))
1802 return NULL;
1803 if (_argc0) {
1804 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1805 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
1806 return NULL;
1807 }
1808 }
1809 if (_argc1) {
1810 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) {
1811 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
1812 return NULL;
1813 }
1814 }
1815{
1816 if (!PyString_Check(_obj2)) {
1817 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1818 return NULL;
1819 }
cf694132 1820 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
8ab979d7
RD
1821}
1822 if (_argc3) {
1823 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxResourceTable_p")) {
1824 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
1825 return NULL;
1826 }
1827 }
cf694132
RD
1828{
1829 wxPy_BEGIN_ALLOW_THREADS;
1830 _result = (bool )wxWindow_LoadFromResource(_arg0,_arg1,*_arg2,_arg3);
1831
1832 wxPy_END_ALLOW_THREADS;
1833} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1834{
1835 if (_obj2)
1836 delete _arg2;
1837}
1838 return _resultobj;
1839}
1840
1841#define wxWindow_Lower(_swigobj) (_swigobj->Lower())
1842static PyObject *_wrap_wxWindow_Lower(PyObject *self, PyObject *args) {
1843 PyObject * _resultobj;
1844 wxWindow * _arg0;
1845 char * _argc0 = 0;
1846
1847 self = self;
1848 if(!PyArg_ParseTuple(args,"s:wxWindow_Lower",&_argc0))
1849 return NULL;
1850 if (_argc0) {
1851 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1852 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
1853 return NULL;
1854 }
1855 }
cf694132
RD
1856{
1857 wxPy_BEGIN_ALLOW_THREADS;
1858 wxWindow_Lower(_arg0);
1859
1860 wxPy_END_ALLOW_THREADS;
1861} Py_INCREF(Py_None);
8ab979d7
RD
1862 _resultobj = Py_None;
1863 return _resultobj;
1864}
1865
1866#define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
1867static PyObject *_wrap_wxWindow_MakeModal(PyObject *self, PyObject *args) {
1868 PyObject * _resultobj;
1869 wxWindow * _arg0;
1870 bool _arg1;
1871 char * _argc0 = 0;
1872 int tempbool1;
1873
1874 self = self;
1875 if(!PyArg_ParseTuple(args,"si:wxWindow_MakeModal",&_argc0,&tempbool1))
1876 return NULL;
1877 if (_argc0) {
1878 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1879 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
1880 return NULL;
1881 }
1882 }
1883 _arg1 = (bool ) tempbool1;
cf694132
RD
1884{
1885 wxPy_BEGIN_ALLOW_THREADS;
1886 wxWindow_MakeModal(_arg0,_arg1);
1887
1888 wxPy_END_ALLOW_THREADS;
1889} Py_INCREF(Py_None);
8ab979d7
RD
1890 _resultobj = Py_None;
1891 return _resultobj;
1892}
1893
af309447
RD
1894#define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
1895static PyObject *_wrap_wxWindow_MoveXY(PyObject *self, PyObject *args) {
8ab979d7
RD
1896 PyObject * _resultobj;
1897 wxWindow * _arg0;
1898 int _arg1;
1899 int _arg2;
1900 char * _argc0 = 0;
1901
1902 self = self;
af309447
RD
1903 if(!PyArg_ParseTuple(args,"sii:wxWindow_MoveXY",&_argc0,&_arg1,&_arg2))
1904 return NULL;
1905 if (_argc0) {
1906 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1907 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
1908 return NULL;
1909 }
1910 }
cf694132
RD
1911{
1912 wxPy_BEGIN_ALLOW_THREADS;
1913 wxWindow_MoveXY(_arg0,_arg1,_arg2);
1914
1915 wxPy_END_ALLOW_THREADS;
1916} Py_INCREF(Py_None);
af309447
RD
1917 _resultobj = Py_None;
1918 return _resultobj;
1919}
1920
1921#define wxWindow_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
1922static PyObject *_wrap_wxWindow_Move(PyObject *self, PyObject *args) {
1923 PyObject * _resultobj;
1924 wxWindow * _arg0;
1925 wxPoint * _arg1;
1926 char * _argc0 = 0;
1927 char * _argc1 = 0;
1928
1929 self = self;
1930 if(!PyArg_ParseTuple(args,"ss:wxWindow_Move",&_argc0,&_argc1))
8ab979d7
RD
1931 return NULL;
1932 if (_argc0) {
1933 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1934 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
1935 return NULL;
1936 }
1937 }
af309447
RD
1938 if (_argc1) {
1939 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxPoint_p")) {
1940 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_Move. Expected _wxPoint_p.");
1941 return NULL;
1942 }
1943 }
cf694132
RD
1944{
1945 wxPy_BEGIN_ALLOW_THREADS;
1946 wxWindow_Move(_arg0,*_arg1);
1947
1948 wxPy_END_ALLOW_THREADS;
1949} Py_INCREF(Py_None);
8ab979d7
RD
1950 _resultobj = Py_None;
1951 return _resultobj;
1952}
1953
8bf5d46e
RD
1954#define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
1955static PyObject *_wrap_wxWindow_PopupMenuXY(PyObject *self, PyObject *args) {
8ab979d7
RD
1956 PyObject * _resultobj;
1957 bool _result;
1958 wxWindow * _arg0;
1959 wxMenu * _arg1;
1960 int _arg2;
1961 int _arg3;
1962 char * _argc0 = 0;
1963 char * _argc1 = 0;
1964
1965 self = self;
8bf5d46e
RD
1966 if(!PyArg_ParseTuple(args,"ssii:wxWindow_PopupMenuXY",&_argc0,&_argc1,&_arg2,&_arg3))
1967 return NULL;
1968 if (_argc0) {
1969 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1970 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
1971 return NULL;
1972 }
1973 }
1974 if (_argc1) {
1975 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxMenu_p")) {
1976 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
1977 return NULL;
1978 }
1979 }
1980{
1981 wxPy_BEGIN_ALLOW_THREADS;
1982 _result = (bool )wxWindow_PopupMenuXY(_arg0,_arg1,_arg2,_arg3);
1983
1984 wxPy_END_ALLOW_THREADS;
1985} _resultobj = Py_BuildValue("i",_result);
1986 return _resultobj;
1987}
1988
1989#define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
1990static PyObject *_wrap_wxWindow_PopupMenu(PyObject *self, PyObject *args) {
1991 PyObject * _resultobj;
1992 bool _result;
1993 wxWindow * _arg0;
1994 wxMenu * _arg1;
1995 wxPoint * _arg2;
1996 char * _argc0 = 0;
1997 char * _argc1 = 0;
1998 char * _argc2 = 0;
1999
2000 self = self;
2001 if(!PyArg_ParseTuple(args,"sss:wxWindow_PopupMenu",&_argc0,&_argc1,&_argc2))
8ab979d7
RD
2002 return NULL;
2003 if (_argc0) {
2004 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2005 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
2006 return NULL;
2007 }
2008 }
2009 if (_argc1) {
2010 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxMenu_p")) {
2011 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
2012 return NULL;
2013 }
2014 }
8bf5d46e
RD
2015 if (_argc2) {
2016 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) {
2017 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxWindow_PopupMenu. Expected _wxPoint_p.");
2018 return NULL;
2019 }
2020 }
cf694132
RD
2021{
2022 wxPy_BEGIN_ALLOW_THREADS;
8bf5d46e 2023 _result = (bool )wxWindow_PopupMenu(_arg0,_arg1,*_arg2);
cf694132
RD
2024
2025 wxPy_END_ALLOW_THREADS;
2026} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2027 return _resultobj;
2028}
2029
2030#define wxWindow_Raise(_swigobj) (_swigobj->Raise())
2031static PyObject *_wrap_wxWindow_Raise(PyObject *self, PyObject *args) {
2032 PyObject * _resultobj;
2033 wxWindow * _arg0;
2034 char * _argc0 = 0;
2035
2036 self = self;
2037 if(!PyArg_ParseTuple(args,"s:wxWindow_Raise",&_argc0))
2038 return NULL;
2039 if (_argc0) {
2040 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2041 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
2042 return NULL;
2043 }
2044 }
cf694132
RD
2045{
2046 wxPy_BEGIN_ALLOW_THREADS;
2047 wxWindow_Raise(_arg0);
2048
2049 wxPy_END_ALLOW_THREADS;
2050} Py_INCREF(Py_None);
8ab979d7
RD
2051 _resultobj = Py_None;
2052 return _resultobj;
2053}
2054
2055#define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
2056static PyObject *_wrap_wxWindow_Refresh(PyObject *self, PyObject *args) {
2057 PyObject * _resultobj;
2058 wxWindow * _arg0;
2059 bool _arg1 = (1);
2060 wxRect * _arg2 = NULL;
2061 char * _argc0 = 0;
2062 int tempbool1;
2063 char * _argc2 = 0;
2064
2065 self = self;
2066 if(!PyArg_ParseTuple(args,"s|is:wxWindow_Refresh",&_argc0,&tempbool1,&_argc2))
2067 return NULL;
2068 if (_argc0) {
2069 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2070 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
2071 return NULL;
2072 }
2073 }
2074 _arg1 = (bool ) tempbool1;
2075 if (_argc2) {
2076 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxRect_p")) {
2077 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxWindow_Refresh. Expected _wxRect_p.");
2078 return NULL;
2079 }
2080 }
cf694132
RD
2081{
2082 wxPy_BEGIN_ALLOW_THREADS;
2083 wxWindow_Refresh(_arg0,_arg1,_arg2);
2084
2085 wxPy_END_ALLOW_THREADS;
2086} Py_INCREF(Py_None);
8ab979d7
RD
2087 _resultobj = Py_None;
2088 return _resultobj;
2089}
2090
2091#define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
2092static PyObject *_wrap_wxWindow_ReleaseMouse(PyObject *self, PyObject *args) {
2093 PyObject * _resultobj;
2094 wxWindow * _arg0;
2095 char * _argc0 = 0;
2096
2097 self = self;
2098 if(!PyArg_ParseTuple(args,"s:wxWindow_ReleaseMouse",&_argc0))
2099 return NULL;
2100 if (_argc0) {
2101 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2102 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
2103 return NULL;
2104 }
2105 }
cf694132
RD
2106{
2107 wxPy_BEGIN_ALLOW_THREADS;
2108 wxWindow_ReleaseMouse(_arg0);
2109
2110 wxPy_END_ALLOW_THREADS;
2111} Py_INCREF(Py_None);
8ab979d7
RD
2112 _resultobj = Py_None;
2113 return _resultobj;
2114}
2115
bb0054cd
RD
2116#define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
2117static PyObject *_wrap_wxWindow_Reparent(PyObject *self, PyObject *args) {
2118 PyObject * _resultobj;
2119 bool _result;
2120 wxWindow * _arg0;
2121 wxWindow * _arg1;
2122 char * _argc0 = 0;
2123 char * _argc1 = 0;
2124
2125 self = self;
2126 if(!PyArg_ParseTuple(args,"ss:wxWindow_Reparent",&_argc0,&_argc1))
2127 return NULL;
2128 if (_argc0) {
2129 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2130 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
2131 return NULL;
2132 }
2133 }
2134 if (_argc1) {
2135 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) {
2136 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
2137 return NULL;
2138 }
2139 }
2140{
2141 wxPy_BEGIN_ALLOW_THREADS;
2142 _result = (bool )wxWindow_Reparent(_arg0,_arg1);
2143
2144 wxPy_END_ALLOW_THREADS;
2145} _resultobj = Py_BuildValue("i",_result);
2146 return _resultobj;
2147}
2148
af309447
RD
2149#define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
2150static PyObject *_wrap_wxWindow_ScreenToClientXY(PyObject *self, PyObject *args) {
8ab979d7
RD
2151 PyObject * _resultobj;
2152 wxWindow * _arg0;
2153 int * _arg1;
2154 int * _arg2;
2155 char * _argc0 = 0;
2156 int temp;
2157 PyObject * _obj1 = 0;
2158 int temp0;
2159 PyObject * _obj2 = 0;
2160
2161 self = self;
af309447 2162 if(!PyArg_ParseTuple(args,"sOO:wxWindow_ScreenToClientXY",&_argc0,&_obj1,&_obj2))
8ab979d7
RD
2163 return NULL;
2164 if (_argc0) {
2165 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
af309447 2166 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
8ab979d7
RD
2167 return NULL;
2168 }
2169 }
2170{
2171 temp = (int) PyInt_AsLong(_obj1);
2172 _arg1 = &temp;
2173}
2174{
2175 temp0 = (int) PyInt_AsLong(_obj2);
2176 _arg2 = &temp0;
2177}
cf694132
RD
2178{
2179 wxPy_BEGIN_ALLOW_THREADS;
2180 wxWindow_ScreenToClientXY(_arg0,_arg1,_arg2);
2181
2182 wxPy_END_ALLOW_THREADS;
2183} Py_INCREF(Py_None);
8ab979d7
RD
2184 _resultobj = Py_None;
2185{
2186 PyObject *o;
2187 o = PyInt_FromLong((long) (*_arg1));
2188 _resultobj = t_output_helper(_resultobj, o);
2189}
2190{
2191 PyObject *o;
2192 o = PyInt_FromLong((long) (*_arg2));
2193 _resultobj = t_output_helper(_resultobj, o);
2194}
2195 return _resultobj;
2196}
2197
af309447
RD
2198#define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
2199static PyObject *_wrap_wxWindow_ScreenToClient(PyObject *self, PyObject *args) {
2200 PyObject * _resultobj;
2201 wxPoint * _result;
2202 wxWindow * _arg0;
2203 wxPoint * _arg1;
2204 char * _argc0 = 0;
2205 char * _argc1 = 0;
2206 char _ptemp[128];
2207
2208 self = self;
2209 if(!PyArg_ParseTuple(args,"ss:wxWindow_ScreenToClient",&_argc0,&_argc1))
2210 return NULL;
2211 if (_argc0) {
2212 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2213 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
2214 return NULL;
2215 }
2216 }
2217 if (_argc1) {
2218 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxPoint_p")) {
2219 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_ScreenToClient. Expected _wxPoint_p.");
2220 return NULL;
2221 }
2222 }
cf694132
RD
2223{
2224 wxPy_BEGIN_ALLOW_THREADS;
2225 _result = new wxPoint (wxWindow_ScreenToClient(_arg0,*_arg1));
2226
2227 wxPy_END_ALLOW_THREADS;
2228} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
af309447
RD
2229 _resultobj = Py_BuildValue("s",_ptemp);
2230 return _resultobj;
2231}
2232
8ab979d7
RD
2233#define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
2234static PyObject *_wrap_wxWindow_ScrollWindow(PyObject *self, PyObject *args) {
2235 PyObject * _resultobj;
2236 wxWindow * _arg0;
2237 int _arg1;
2238 int _arg2;
2239 wxRect * _arg3 = NULL;
2240 char * _argc0 = 0;
2241 char * _argc3 = 0;
2242
2243 self = self;
2244 if(!PyArg_ParseTuple(args,"sii|s:wxWindow_ScrollWindow",&_argc0,&_arg1,&_arg2,&_argc3))
2245 return NULL;
2246 if (_argc0) {
2247 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2248 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
2249 return NULL;
2250 }
2251 }
2252 if (_argc3) {
2253 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxRect_p")) {
2254 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxWindow_ScrollWindow. Expected _wxRect_p.");
2255 return NULL;
2256 }
2257 }
cf694132
RD
2258{
2259 wxPy_BEGIN_ALLOW_THREADS;
2260 wxWindow_ScrollWindow(_arg0,_arg1,_arg2,_arg3);
2261
2262 wxPy_END_ALLOW_THREADS;
2263} Py_INCREF(Py_None);
8ab979d7
RD
2264 _resultobj = Py_None;
2265 return _resultobj;
2266}
2267
b8b8dda7
RD
2268#define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
2269static PyObject *_wrap_wxWindow_SetAcceleratorTable(PyObject *self, PyObject *args) {
2270 PyObject * _resultobj;
2271 wxWindow * _arg0;
2272 wxAcceleratorTable * _arg1;
2273 char * _argc0 = 0;
2274 char * _argc1 = 0;
2275
2276 self = self;
2277 if(!PyArg_ParseTuple(args,"ss:wxWindow_SetAcceleratorTable",&_argc0,&_argc1))
2278 return NULL;
2279 if (_argc0) {
2280 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2281 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
2282 return NULL;
2283 }
2284 }
2285 if (_argc1) {
2286 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxAcceleratorTable_p")) {
2287 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
2288 return NULL;
2289 }
2290 }
cf694132
RD
2291{
2292 wxPy_BEGIN_ALLOW_THREADS;
2293 wxWindow_SetAcceleratorTable(_arg0,*_arg1);
2294
2295 wxPy_END_ALLOW_THREADS;
2296} Py_INCREF(Py_None);
b8b8dda7
RD
2297 _resultobj = Py_None;
2298 return _resultobj;
2299}
2300
8ab979d7
RD
2301#define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
2302static PyObject *_wrap_wxWindow_SetAutoLayout(PyObject *self, PyObject *args) {
2303 PyObject * _resultobj;
2304 wxWindow * _arg0;
2305 bool _arg1;
2306 char * _argc0 = 0;
2307 int tempbool1;
2308
2309 self = self;
2310 if(!PyArg_ParseTuple(args,"si:wxWindow_SetAutoLayout",&_argc0,&tempbool1))
2311 return NULL;
2312 if (_argc0) {
2313 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2314 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
2315 return NULL;
2316 }
2317 }
2318 _arg1 = (bool ) tempbool1;
cf694132
RD
2319{
2320 wxPy_BEGIN_ALLOW_THREADS;
2321 wxWindow_SetAutoLayout(_arg0,_arg1);
2322
2323 wxPy_END_ALLOW_THREADS;
2324} Py_INCREF(Py_None);
8ab979d7
RD
2325 _resultobj = Py_None;
2326 return _resultobj;
2327}
2328
2329#define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
2330static PyObject *_wrap_wxWindow_SetBackgroundColour(PyObject *self, PyObject *args) {
2331 PyObject * _resultobj;
2332 wxWindow * _arg0;
2333 wxColour * _arg1;
2334 char * _argc0 = 0;
2335 char * _argc1 = 0;
2336
2337 self = self;
2338 if(!PyArg_ParseTuple(args,"ss:wxWindow_SetBackgroundColour",&_argc0,&_argc1))
2339 return NULL;
2340 if (_argc0) {
2341 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2342 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
2343 return NULL;
2344 }
2345 }
2346 if (_argc1) {
2347 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxColour_p")) {
2348 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetBackgroundColour. Expected _wxColour_p.");
2349 return NULL;
2350 }
2351 }
cf694132
RD
2352{
2353 wxPy_BEGIN_ALLOW_THREADS;
2354 wxWindow_SetBackgroundColour(_arg0,*_arg1);
2355
2356 wxPy_END_ALLOW_THREADS;
2357} Py_INCREF(Py_None);
8ab979d7
RD
2358 _resultobj = Py_None;
2359 return _resultobj;
2360}
2361
2362#define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
2363static PyObject *_wrap_wxWindow_SetConstraints(PyObject *self, PyObject *args) {
2364 PyObject * _resultobj;
2365 wxWindow * _arg0;
2366 wxLayoutConstraints * _arg1;
2367 char * _argc0 = 0;
2368 char * _argc1 = 0;
2369
2370 self = self;
2371 if(!PyArg_ParseTuple(args,"ss:wxWindow_SetConstraints",&_argc0,&_argc1))
2372 return NULL;
2373 if (_argc0) {
2374 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2375 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
2376 return NULL;
2377 }
2378 }
2379 if (_argc1) {
2380 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxLayoutConstraints_p")) {
2381 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
2382 return NULL;
2383 }
2384 }
cf694132
RD
2385{
2386 wxPy_BEGIN_ALLOW_THREADS;
2387 wxWindow_SetConstraints(_arg0,_arg1);
2388
2389 wxPy_END_ALLOW_THREADS;
2390} Py_INCREF(Py_None);
8ab979d7
RD
2391 _resultobj = Py_None;
2392 return _resultobj;
2393}
2394
8ab979d7
RD
2395#define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
2396static PyObject *_wrap_wxWindow_SetFocus(PyObject *self, PyObject *args) {
2397 PyObject * _resultobj;
2398 wxWindow * _arg0;
2399 char * _argc0 = 0;
2400
2401 self = self;
2402 if(!PyArg_ParseTuple(args,"s:wxWindow_SetFocus",&_argc0))
2403 return NULL;
2404 if (_argc0) {
2405 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2406 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
2407 return NULL;
2408 }
2409 }
cf694132
RD
2410{
2411 wxPy_BEGIN_ALLOW_THREADS;
2412 wxWindow_SetFocus(_arg0);
2413
2414 wxPy_END_ALLOW_THREADS;
2415} Py_INCREF(Py_None);
8ab979d7
RD
2416 _resultobj = Py_None;
2417 return _resultobj;
2418}
2419
2420#define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
2421static PyObject *_wrap_wxWindow_SetFont(PyObject *self, PyObject *args) {
2422 PyObject * _resultobj;
2423 wxWindow * _arg0;
2424 wxFont * _arg1;
2425 char * _argc0 = 0;
2426 char * _argc1 = 0;
2427
2428 self = self;
2429 if(!PyArg_ParseTuple(args,"ss:wxWindow_SetFont",&_argc0,&_argc1))
2430 return NULL;
2431 if (_argc0) {
2432 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2433 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
2434 return NULL;
2435 }
2436 }
2437 if (_argc1) {
2438 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxFont_p")) {
2439 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
2440 return NULL;
2441 }
2442 }
cf694132
RD
2443{
2444 wxPy_BEGIN_ALLOW_THREADS;
2445 wxWindow_SetFont(_arg0,*_arg1);
2446
2447 wxPy_END_ALLOW_THREADS;
2448} Py_INCREF(Py_None);
8ab979d7
RD
2449 _resultobj = Py_None;
2450 return _resultobj;
2451}
2452
2453#define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
2454static PyObject *_wrap_wxWindow_SetForegroundColour(PyObject *self, PyObject *args) {
2455 PyObject * _resultobj;
2456 wxWindow * _arg0;
2457 wxColour * _arg1;
2458 char * _argc0 = 0;
2459 char * _argc1 = 0;
2460
2461 self = self;
2462 if(!PyArg_ParseTuple(args,"ss:wxWindow_SetForegroundColour",&_argc0,&_argc1))
2463 return NULL;
2464 if (_argc0) {
2465 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2466 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
2467 return NULL;
2468 }
2469 }
2470 if (_argc1) {
2471 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxColour_p")) {
2472 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetForegroundColour. Expected _wxColour_p.");
2473 return NULL;
2474 }
2475 }
cf694132
RD
2476{
2477 wxPy_BEGIN_ALLOW_THREADS;
2478 wxWindow_SetForegroundColour(_arg0,*_arg1);
2479
2480 wxPy_END_ALLOW_THREADS;
2481} Py_INCREF(Py_None);
8ab979d7
RD
2482 _resultobj = Py_None;
2483 return _resultobj;
2484}
2485
2486#define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
2487static PyObject *_wrap_wxWindow_SetId(PyObject *self, PyObject *args) {
2488 PyObject * _resultobj;
2489 wxWindow * _arg0;
2490 int _arg1;
2491 char * _argc0 = 0;
2492
2493 self = self;
2494 if(!PyArg_ParseTuple(args,"si:wxWindow_SetId",&_argc0,&_arg1))
2495 return NULL;
2496 if (_argc0) {
2497 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2498 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
2499 return NULL;
2500 }
2501 }
cf694132
RD
2502{
2503 wxPy_BEGIN_ALLOW_THREADS;
2504 wxWindow_SetId(_arg0,_arg1);
2505
2506 wxPy_END_ALLOW_THREADS;
2507} Py_INCREF(Py_None);
8ab979d7
RD
2508 _resultobj = Py_None;
2509 return _resultobj;
2510}
2511
2512#define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
2513static PyObject *_wrap_wxWindow_SetName(PyObject *self, PyObject *args) {
2514 PyObject * _resultobj;
2515 wxWindow * _arg0;
2516 wxString * _arg1;
2517 char * _argc0 = 0;
2518 PyObject * _obj1 = 0;
2519
2520 self = self;
2521 if(!PyArg_ParseTuple(args,"sO:wxWindow_SetName",&_argc0,&_obj1))
2522 return NULL;
2523 if (_argc0) {
2524 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2525 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
2526 return NULL;
2527 }
2528 }
2529{
2530 if (!PyString_Check(_obj1)) {
2531 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2532 return NULL;
2533 }
cf694132 2534 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
8ab979d7 2535}
cf694132
RD
2536{
2537 wxPy_BEGIN_ALLOW_THREADS;
2538 wxWindow_SetName(_arg0,*_arg1);
2539
2540 wxPy_END_ALLOW_THREADS;
2541} Py_INCREF(Py_None);
8ab979d7
RD
2542 _resultobj = Py_None;
2543{
2544 if (_obj1)
2545 delete _arg1;
2546}
2547 return _resultobj;
2548}
2549
8ab979d7
RD
2550#define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2551static PyObject *_wrap_wxWindow_SetScrollbar(PyObject *self, PyObject *args) {
2552 PyObject * _resultobj;
2553 wxWindow * _arg0;
2554 int _arg1;
2555 int _arg2;
2556 int _arg3;
2557 int _arg4;
2558 bool _arg5 = (1);
2559 char * _argc0 = 0;
2560 int tempbool5;
2561
2562 self = self;
2563 if(!PyArg_ParseTuple(args,"siiii|i:wxWindow_SetScrollbar",&_argc0,&_arg1,&_arg2,&_arg3,&_arg4,&tempbool5))
2564 return NULL;
2565 if (_argc0) {
2566 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2567 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
2568 return NULL;
2569 }
2570 }
2571 _arg5 = (bool ) tempbool5;
cf694132
RD
2572{
2573 wxPy_BEGIN_ALLOW_THREADS;
2574 wxWindow_SetScrollbar(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
2575
2576 wxPy_END_ALLOW_THREADS;
2577} Py_INCREF(Py_None);
8ab979d7
RD
2578 _resultobj = Py_None;
2579 return _resultobj;
2580}
2581
2582#define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
2583static PyObject *_wrap_wxWindow_SetScrollPos(PyObject *self, PyObject *args) {
2584 PyObject * _resultobj;
2585 wxWindow * _arg0;
2586 int _arg1;
2587 int _arg2;
2588 bool _arg3 = (1);
2589 char * _argc0 = 0;
2590 int tempbool3;
2591
2592 self = self;
2593 if(!PyArg_ParseTuple(args,"sii|i:wxWindow_SetScrollPos",&_argc0,&_arg1,&_arg2,&tempbool3))
2594 return NULL;
2595 if (_argc0) {
2596 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2597 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
2598 return NULL;
2599 }
2600 }
2601 _arg3 = (bool ) tempbool3;
cf694132
RD
2602{
2603 wxPy_BEGIN_ALLOW_THREADS;
2604 wxWindow_SetScrollPos(_arg0,_arg1,_arg2,_arg3);
2605
2606 wxPy_END_ALLOW_THREADS;
2607} Py_INCREF(Py_None);
8ab979d7
RD
2608 _resultobj = Py_None;
2609 return _resultobj;
2610}
2611
2612#define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2613static PyObject *_wrap_wxWindow_SetDimensions(PyObject *self, PyObject *args) {
2614 PyObject * _resultobj;
2615 wxWindow * _arg0;
2616 int _arg1;
2617 int _arg2;
2618 int _arg3;
2619 int _arg4;
2620 int _arg5 = (wxSIZE_AUTO);
2621 char * _argc0 = 0;
2622
2623 self = self;
2624 if(!PyArg_ParseTuple(args,"siiii|i:wxWindow_SetDimensions",&_argc0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5))
2625 return NULL;
2626 if (_argc0) {
2627 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2628 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
2629 return NULL;
2630 }
2631 }
cf694132
RD
2632{
2633 wxPy_BEGIN_ALLOW_THREADS;
2634 wxWindow_SetDimensions(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
2635
2636 wxPy_END_ALLOW_THREADS;
2637} Py_INCREF(Py_None);
8ab979d7
RD
2638 _resultobj = Py_None;
2639 return _resultobj;
2640}
2641
2642static void wxWindow_SetSize(wxWindow *self,const wxSize & size) {
2643 self->SetSize(size.x, size.y);
2644 }
2645static PyObject *_wrap_wxWindow_SetSize(PyObject *self, PyObject *args) {
2646 PyObject * _resultobj;
2647 wxWindow * _arg0;
2648 wxSize * _arg1;
2649 char * _argc0 = 0;
2650 char * _argc1 = 0;
2651
2652 self = self;
2653 if(!PyArg_ParseTuple(args,"ss:wxWindow_SetSize",&_argc0,&_argc1))
2654 return NULL;
2655 if (_argc0) {
2656 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2657 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
2658 return NULL;
2659 }
2660 }
2661 if (_argc1) {
2662 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxSize_p")) {
2663 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetSize. Expected _wxSize_p.");
2664 return NULL;
2665 }
2666 }
cf694132
RD
2667{
2668 wxPy_BEGIN_ALLOW_THREADS;
2669 wxWindow_SetSize(_arg0,*_arg1);
2670
2671 wxPy_END_ALLOW_THREADS;
2672} Py_INCREF(Py_None);
8ab979d7
RD
2673 _resultobj = Py_None;
2674 return _resultobj;
2675}
2676
2677static void wxWindow_SetPosition(wxWindow *self,const wxPoint & pos) {
2678 self->SetSize(pos.x, pos.y, -1, -1);
2679 }
2680static PyObject *_wrap_wxWindow_SetPosition(PyObject *self, PyObject *args) {
2681 PyObject * _resultobj;
2682 wxWindow * _arg0;
2683 wxPoint * _arg1;
2684 char * _argc0 = 0;
2685 char * _argc1 = 0;
2686
2687 self = self;
2688 if(!PyArg_ParseTuple(args,"ss:wxWindow_SetPosition",&_argc0,&_argc1))
2689 return NULL;
2690 if (_argc0) {
2691 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2692 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
2693 return NULL;
2694 }
2695 }
2696 if (_argc1) {
2697 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxPoint_p")) {
2698 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetPosition. Expected _wxPoint_p.");
2699 return NULL;
2700 }
2701 }
cf694132
RD
2702{
2703 wxPy_BEGIN_ALLOW_THREADS;
2704 wxWindow_SetPosition(_arg0,*_arg1);
2705
2706 wxPy_END_ALLOW_THREADS;
2707} Py_INCREF(Py_None);
8ab979d7
RD
2708 _resultobj = Py_None;
2709 return _resultobj;
2710}
2711
2712#define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2713static PyObject *_wrap_wxWindow_SetSizeHints(PyObject *self, PyObject *args) {
2714 PyObject * _resultobj;
2715 wxWindow * _arg0;
2716 int _arg1 = -1;
2717 int _arg2 = -1;
2718 int _arg3 = -1;
2719 int _arg4 = -1;
2720 int _arg5 = -1;
2721 int _arg6 = -1;
2722 char * _argc0 = 0;
2723
2724 self = self;
2725 if(!PyArg_ParseTuple(args,"s|iiiiii:wxWindow_SetSizeHints",&_argc0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6))
2726 return NULL;
2727 if (_argc0) {
2728 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2729 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
2730 return NULL;
2731 }
2732 }
cf694132
RD
2733{
2734 wxPy_BEGIN_ALLOW_THREADS;
2735 wxWindow_SetSizeHints(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
2736
2737 wxPy_END_ALLOW_THREADS;
2738} Py_INCREF(Py_None);
8ab979d7
RD
2739 _resultobj = Py_None;
2740 return _resultobj;
2741}
2742
af309447
RD
2743#define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
2744static PyObject *_wrap_wxWindow_SetClientSizeWH(PyObject *self, PyObject *args) {
8ab979d7
RD
2745 PyObject * _resultobj;
2746 wxWindow * _arg0;
2747 int _arg1;
2748 int _arg2;
2749 char * _argc0 = 0;
2750
2751 self = self;
af309447
RD
2752 if(!PyArg_ParseTuple(args,"sii:wxWindow_SetClientSizeWH",&_argc0,&_arg1,&_arg2))
2753 return NULL;
2754 if (_argc0) {
2755 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2756 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
2757 return NULL;
2758 }
2759 }
cf694132
RD
2760{
2761 wxPy_BEGIN_ALLOW_THREADS;
2762 wxWindow_SetClientSizeWH(_arg0,_arg1,_arg2);
2763
2764 wxPy_END_ALLOW_THREADS;
2765} Py_INCREF(Py_None);
af309447
RD
2766 _resultobj = Py_None;
2767 return _resultobj;
2768}
2769
2770#define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
2771static PyObject *_wrap_wxWindow_SetClientSize(PyObject *self, PyObject *args) {
2772 PyObject * _resultobj;
2773 wxWindow * _arg0;
2774 wxSize * _arg1;
2775 char * _argc0 = 0;
2776 char * _argc1 = 0;
2777
2778 self = self;
2779 if(!PyArg_ParseTuple(args,"ss:wxWindow_SetClientSize",&_argc0,&_argc1))
8ab979d7
RD
2780 return NULL;
2781 if (_argc0) {
2782 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2783 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
2784 return NULL;
2785 }
2786 }
af309447
RD
2787 if (_argc1) {
2788 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxSize_p")) {
2789 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetClientSize. Expected _wxSize_p.");
2790 return NULL;
2791 }
2792 }
cf694132
RD
2793{
2794 wxPy_BEGIN_ALLOW_THREADS;
2795 wxWindow_SetClientSize(_arg0,*_arg1);
2796
2797 wxPy_END_ALLOW_THREADS;
2798} Py_INCREF(Py_None);
8ab979d7
RD
2799 _resultobj = Py_None;
2800 return _resultobj;
2801}
2802
2803#define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
2804static PyObject *_wrap_wxWindow_SetCursor(PyObject *self, PyObject *args) {
2805 PyObject * _resultobj;
2806 wxWindow * _arg0;
2807 wxCursor * _arg1;
2808 char * _argc0 = 0;
2809 char * _argc1 = 0;
2810
2811 self = self;
2812 if(!PyArg_ParseTuple(args,"ss:wxWindow_SetCursor",&_argc0,&_argc1))
2813 return NULL;
2814 if (_argc0) {
2815 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2816 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
2817 return NULL;
2818 }
2819 }
2820 if (_argc1) {
2821 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxCursor_p")) {
2822 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
2823 return NULL;
2824 }
2825 }
cf694132
RD
2826{
2827 wxPy_BEGIN_ALLOW_THREADS;
2828 wxWindow_SetCursor(_arg0,*_arg1);
2829
2830 wxPy_END_ALLOW_THREADS;
2831} Py_INCREF(Py_None);
8ab979d7
RD
2832 _resultobj = Py_None;
2833 return _resultobj;
2834}
2835
2836#define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
2837static PyObject *_wrap_wxWindow_SetTitle(PyObject *self, PyObject *args) {
2838 PyObject * _resultobj;
2839 wxWindow * _arg0;
2840 wxString * _arg1;
2841 char * _argc0 = 0;
2842 PyObject * _obj1 = 0;
2843
2844 self = self;
2845 if(!PyArg_ParseTuple(args,"sO:wxWindow_SetTitle",&_argc0,&_obj1))
2846 return NULL;
2847 if (_argc0) {
2848 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2849 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
2850 return NULL;
2851 }
2852 }
2853{
2854 if (!PyString_Check(_obj1)) {
2855 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2856 return NULL;
2857 }
cf694132 2858 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
8ab979d7 2859}
cf694132
RD
2860{
2861 wxPy_BEGIN_ALLOW_THREADS;
2862 wxWindow_SetTitle(_arg0,*_arg1);
2863
2864 wxPy_END_ALLOW_THREADS;
2865} Py_INCREF(Py_None);
8ab979d7
RD
2866 _resultobj = Py_None;
2867{
2868 if (_obj1)
2869 delete _arg1;
2870}
2871 return _resultobj;
2872}
2873
2874#define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
2875static PyObject *_wrap_wxWindow_Show(PyObject *self, PyObject *args) {
2876 PyObject * _resultobj;
2877 bool _result;
2878 wxWindow * _arg0;
2879 bool _arg1;
2880 char * _argc0 = 0;
2881 int tempbool1;
2882
2883 self = self;
2884 if(!PyArg_ParseTuple(args,"si:wxWindow_Show",&_argc0,&tempbool1))
2885 return NULL;
2886 if (_argc0) {
2887 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2888 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
2889 return NULL;
2890 }
2891 }
2892 _arg1 = (bool ) tempbool1;
cf694132
RD
2893{
2894 wxPy_BEGIN_ALLOW_THREADS;
2895 _result = (bool )wxWindow_Show(_arg0,_arg1);
2896
2897 wxPy_END_ALLOW_THREADS;
2898} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2899 return _resultobj;
2900}
2901
2902#define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
2903static PyObject *_wrap_wxWindow_TransferDataFromWindow(PyObject *self, PyObject *args) {
2904 PyObject * _resultobj;
2905 bool _result;
2906 wxWindow * _arg0;
2907 char * _argc0 = 0;
2908
2909 self = self;
2910 if(!PyArg_ParseTuple(args,"s:wxWindow_TransferDataFromWindow",&_argc0))
2911 return NULL;
2912 if (_argc0) {
2913 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2914 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
2915 return NULL;
2916 }
2917 }
cf694132
RD
2918{
2919 wxPy_BEGIN_ALLOW_THREADS;
2920 _result = (bool )wxWindow_TransferDataFromWindow(_arg0);
2921
2922 wxPy_END_ALLOW_THREADS;
2923} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2924 return _resultobj;
2925}
2926
2927#define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
2928static PyObject *_wrap_wxWindow_TransferDataToWindow(PyObject *self, PyObject *args) {
2929 PyObject * _resultobj;
2930 bool _result;
2931 wxWindow * _arg0;
2932 char * _argc0 = 0;
2933
2934 self = self;
2935 if(!PyArg_ParseTuple(args,"s:wxWindow_TransferDataToWindow",&_argc0))
2936 return NULL;
2937 if (_argc0) {
2938 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2939 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
2940 return NULL;
2941 }
2942 }
cf694132
RD
2943{
2944 wxPy_BEGIN_ALLOW_THREADS;
2945 _result = (bool )wxWindow_TransferDataToWindow(_arg0);
2946
2947 wxPy_END_ALLOW_THREADS;
2948} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2949 return _resultobj;
2950}
2951
2952#define wxWindow_Validate(_swigobj) (_swigobj->Validate())
2953static PyObject *_wrap_wxWindow_Validate(PyObject *self, PyObject *args) {
2954 PyObject * _resultobj;
2955 bool _result;
2956 wxWindow * _arg0;
2957 char * _argc0 = 0;
2958
2959 self = self;
2960 if(!PyArg_ParseTuple(args,"s:wxWindow_Validate",&_argc0))
2961 return NULL;
2962 if (_argc0) {
2963 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2964 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
2965 return NULL;
2966 }
2967 }
cf694132
RD
2968{
2969 wxPy_BEGIN_ALLOW_THREADS;
2970 _result = (bool )wxWindow_Validate(_arg0);
2971
2972 wxPy_END_ALLOW_THREADS;
2973} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2974 return _resultobj;
2975}
2976
2977#define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
2978static PyObject *_wrap_wxWindow_WarpPointer(PyObject *self, PyObject *args) {
2979 PyObject * _resultobj;
2980 wxWindow * _arg0;
2981 int _arg1;
2982 int _arg2;
2983 char * _argc0 = 0;
2984
2985 self = self;
2986 if(!PyArg_ParseTuple(args,"sii:wxWindow_WarpPointer",&_argc0,&_arg1,&_arg2))
2987 return NULL;
2988 if (_argc0) {
2989 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2990 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
2991 return NULL;
2992 }
2993 }
cf694132
RD
2994{
2995 wxPy_BEGIN_ALLOW_THREADS;
2996 wxWindow_WarpPointer(_arg0,_arg1,_arg2);
2997
2998 wxPy_END_ALLOW_THREADS;
2999} Py_INCREF(Py_None);
8ab979d7
RD
3000 _resultobj = Py_None;
3001 return _resultobj;
3002}
3003
b8b8dda7
RD
3004#define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
3005static PyObject *_wrap_wxWindow_ConvertDialogPointToPixels(PyObject *self, PyObject *args) {
3006 PyObject * _resultobj;
3007 wxPoint * _result;
3008 wxWindow * _arg0;
3009 wxPoint * _arg1;
3010 char * _argc0 = 0;
3011 char * _argc1 = 0;
3012 char _ptemp[128];
3013
3014 self = self;
3015 if(!PyArg_ParseTuple(args,"ss:wxWindow_ConvertDialogPointToPixels",&_argc0,&_argc1))
3016 return NULL;
3017 if (_argc0) {
3018 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
3019 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
3020 return NULL;
3021 }
3022 }
3023 if (_argc1) {
3024 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxPoint_p")) {
3025 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_ConvertDialogPointToPixels. Expected _wxPoint_p.");
3026 return NULL;
3027 }
3028 }
cf694132
RD
3029{
3030 wxPy_BEGIN_ALLOW_THREADS;
3031 _result = new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0,*_arg1));
3032
3033 wxPy_END_ALLOW_THREADS;
3034} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
b8b8dda7
RD
3035 _resultobj = Py_BuildValue("s",_ptemp);
3036 return _resultobj;
3037}
3038
3039#define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
3040static PyObject *_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject *self, PyObject *args) {
3041 PyObject * _resultobj;
3042 wxSize * _result;
3043 wxWindow * _arg0;
3044 wxSize * _arg1;
3045 char * _argc0 = 0;
3046 char * _argc1 = 0;
3047 char _ptemp[128];
3048
3049 self = self;
3050 if(!PyArg_ParseTuple(args,"ss:wxWindow_ConvertDialogSizeToPixels",&_argc0,&_argc1))
3051 return NULL;
3052 if (_argc0) {
3053 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
3054 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
3055 return NULL;
3056 }
3057 }
3058 if (_argc1) {
3059 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxSize_p")) {
3060 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_ConvertDialogSizeToPixels. Expected _wxSize_p.");
3061 return NULL;
3062 }
3063 }
cf694132
RD
3064{
3065 wxPy_BEGIN_ALLOW_THREADS;
3066 _result = new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0,*_arg1));
3067
3068 wxPy_END_ALLOW_THREADS;
3069} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
b8b8dda7
RD
3070 _resultobj = Py_BuildValue("s",_ptemp);
3071 return _resultobj;
3072}
3073
3074#define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
3075static PyObject *_wrap_wxWindow_ConvertPixelPointToDialog(PyObject *self, PyObject *args) {
3076 PyObject * _resultobj;
3077 wxPoint * _result;
3078 wxWindow * _arg0;
3079 wxPoint * _arg1;
3080 char * _argc0 = 0;
3081 char * _argc1 = 0;
3082 char _ptemp[128];
3083
3084 self = self;
3085 if(!PyArg_ParseTuple(args,"ss:wxWindow_ConvertPixelPointToDialog",&_argc0,&_argc1))
3086 return NULL;
3087 if (_argc0) {
3088 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
3089 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
3090 return NULL;
3091 }
3092 }
3093 if (_argc1) {
3094 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxPoint_p")) {
3095 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_ConvertPixelPointToDialog. Expected _wxPoint_p.");
3096 return NULL;
3097 }
3098 }
cf694132
RD
3099{
3100 wxPy_BEGIN_ALLOW_THREADS;
3101 _result = new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0,*_arg1));
3102
3103 wxPy_END_ALLOW_THREADS;
3104} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
b8b8dda7
RD
3105 _resultobj = Py_BuildValue("s",_ptemp);
3106 return _resultobj;
3107}
3108
3109#define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
3110static PyObject *_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject *self, PyObject *args) {
3111 PyObject * _resultobj;
3112 wxSize * _result;
3113 wxWindow * _arg0;
3114 wxSize * _arg1;
3115 char * _argc0 = 0;
3116 char * _argc1 = 0;
3117 char _ptemp[128];
3118
3119 self = self;
3120 if(!PyArg_ParseTuple(args,"ss:wxWindow_ConvertPixelSizeToDialog",&_argc0,&_argc1))
3121 return NULL;
3122 if (_argc0) {
3123 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
3124 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
3125 return NULL;
3126 }
3127 }
3128 if (_argc1) {
3129 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxSize_p")) {
3130 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_ConvertPixelSizeToDialog. Expected _wxSize_p.");
3131 return NULL;
3132 }
3133 }
cf694132
RD
3134{
3135 wxPy_BEGIN_ALLOW_THREADS;
3136 _result = new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0,*_arg1));
3137
3138 wxPy_END_ALLOW_THREADS;
3139} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
b8b8dda7
RD
3140 _resultobj = Py_BuildValue("s",_ptemp);
3141 return _resultobj;
3142}
3143
af309447
RD
3144#define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
3145static PyObject *_wrap_wxWindow_SetToolTipString(PyObject *self, PyObject *args) {
3146 PyObject * _resultobj;
3147 wxWindow * _arg0;
3148 wxString * _arg1;
3149 char * _argc0 = 0;
3150 PyObject * _obj1 = 0;
3151
3152 self = self;
3153 if(!PyArg_ParseTuple(args,"sO:wxWindow_SetToolTipString",&_argc0,&_obj1))
3154 return NULL;
3155 if (_argc0) {
3156 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
3157 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
3158 return NULL;
3159 }
3160 }
3161{
3162 if (!PyString_Check(_obj1)) {
3163 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3164 return NULL;
3165 }
cf694132 3166 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
af309447 3167}
cf694132
RD
3168{
3169 wxPy_BEGIN_ALLOW_THREADS;
3170 wxWindow_SetToolTipString(_arg0,*_arg1);
3171
3172 wxPy_END_ALLOW_THREADS;
3173} Py_INCREF(Py_None);
af309447
RD
3174 _resultobj = Py_None;
3175{
3176 if (_obj1)
3177 delete _arg1;
3178}
3179 return _resultobj;
3180}
3181
3182#define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
3183static PyObject *_wrap_wxWindow_SetToolTip(PyObject *self, PyObject *args) {
3184 PyObject * _resultobj;
3185 wxWindow * _arg0;
3186 wxToolTip * _arg1;
3187 char * _argc0 = 0;
3188 char * _argc1 = 0;
3189
3190 self = self;
3191 if(!PyArg_ParseTuple(args,"ss:wxWindow_SetToolTip",&_argc0,&_argc1))
3192 return NULL;
3193 if (_argc0) {
3194 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
3195 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
3196 return NULL;
3197 }
3198 }
3199 if (_argc1) {
3200 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxToolTip_p")) {
3201 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
3202 return NULL;
3203 }
3204 }
cf694132
RD
3205{
3206 wxPy_BEGIN_ALLOW_THREADS;
3207 wxWindow_SetToolTip(_arg0,_arg1);
3208
3209 wxPy_END_ALLOW_THREADS;
3210} Py_INCREF(Py_None);
af309447
RD
3211 _resultobj = Py_None;
3212 return _resultobj;
3213}
3214
3215#define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
3216static PyObject *_wrap_wxWindow_GetToolTip(PyObject *self, PyObject *args) {
3217 PyObject * _resultobj;
3218 wxToolTip * _result;
3219 wxWindow * _arg0;
3220 char * _argc0 = 0;
3221 char _ptemp[128];
3222
3223 self = self;
3224 if(!PyArg_ParseTuple(args,"s:wxWindow_GetToolTip",&_argc0))
3225 return NULL;
3226 if (_argc0) {
3227 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
3228 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
3229 return NULL;
3230 }
3231 }
cf694132
RD
3232{
3233 wxPy_BEGIN_ALLOW_THREADS;
3234 _result = (wxToolTip *)wxWindow_GetToolTip(_arg0);
3235
3236 wxPy_END_ALLOW_THREADS;
3237} SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolTip_p");
af309447
RD
3238 _resultobj = Py_BuildValue("s",_ptemp);
3239 return _resultobj;
3240}
3241
8ab979d7
RD
3242static void *SwigwxPanelTowxWindow(void *ptr) {
3243 wxPanel *src;
3244 wxWindow *dest;
3245 src = (wxPanel *) ptr;
3246 dest = (wxWindow *) src;
3247 return (void *) dest;
3248}
3249
3250static void *SwigwxPanelTowxEvtHandler(void *ptr) {
3251 wxPanel *src;
3252 wxEvtHandler *dest;
3253 src = (wxPanel *) ptr;
3254 dest = (wxEvtHandler *) src;
3255 return (void *) dest;
3256}
3257
3258#define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3259static PyObject *_wrap_new_wxPanel(PyObject *self, PyObject *args) {
3260 PyObject * _resultobj;
3261 wxPanel * _result;
3262 wxWindow * _arg0;
3263 wxWindowID _arg1;
3264 wxPoint * _arg2 = &wxPyDefaultPosition;
3265 wxSize * _arg3 = &wxPyDefaultSize;
3266 long _arg4 = (wxTAB_TRAVERSAL);
3267 char * _arg5 = "panel";
3268 char * _argc0 = 0;
3269 char * _argc2 = 0;
3270 char * _argc3 = 0;
3271 char _ptemp[128];
3272
3273 self = self;
3274 if(!PyArg_ParseTuple(args,"si|ssls:new_wxPanel",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_arg5))
3275 return NULL;
3276 if (_argc0) {
3277 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
3278 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
3279 return NULL;
3280 }
3281 }
3282 if (_argc2) {
3283 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) {
3284 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxPanel. Expected _wxPoint_p.");
3285 return NULL;
3286 }
3287 }
3288 if (_argc3) {
3289 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) {
3290 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxPanel. Expected _wxSize_p.");
3291 return NULL;
3292 }
3293 }
cf694132
RD
3294{
3295 wxPy_BEGIN_ALLOW_THREADS;
3296 _result = (wxPanel *)new_wxPanel(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
3297
3298 wxPy_END_ALLOW_THREADS;
3299} SWIG_MakePtr(_ptemp, (char *) _result,"_wxPanel_p");
8ab979d7
RD
3300 _resultobj = Py_BuildValue("s",_ptemp);
3301 return _resultobj;
3302}
3303
3304#define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
3305static PyObject *_wrap_wxPanel_InitDialog(PyObject *self, PyObject *args) {
3306 PyObject * _resultobj;
3307 wxPanel * _arg0;
3308 char * _argc0 = 0;
3309
3310 self = self;
3311 if(!PyArg_ParseTuple(args,"s:wxPanel_InitDialog",&_argc0))
3312 return NULL;
3313 if (_argc0) {
3314 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPanel_p")) {
3315 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
3316 return NULL;
3317 }
3318 }
cf694132
RD
3319{
3320 wxPy_BEGIN_ALLOW_THREADS;
3321 wxPanel_InitDialog(_arg0);
3322
3323 wxPy_END_ALLOW_THREADS;
3324} Py_INCREF(Py_None);
8ab979d7
RD
3325 _resultobj = Py_None;
3326 return _resultobj;
3327}
3328
bb0054cd
RD
3329#define wxPanel_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
3330static PyObject *_wrap_wxPanel_GetDefaultItem(PyObject *self, PyObject *args) {
3331 PyObject * _resultobj;
3332 wxButton * _result;
3333 wxPanel * _arg0;
3334 char * _argc0 = 0;
3335 char _ptemp[128];
3336
3337 self = self;
3338 if(!PyArg_ParseTuple(args,"s:wxPanel_GetDefaultItem",&_argc0))
3339 return NULL;
3340 if (_argc0) {
3341 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPanel_p")) {
3342 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPanel_GetDefaultItem. Expected _wxPanel_p.");
3343 return NULL;
3344 }
3345 }
3346{
3347 wxPy_BEGIN_ALLOW_THREADS;
3348 _result = (wxButton *)wxPanel_GetDefaultItem(_arg0);
3349
3350 wxPy_END_ALLOW_THREADS;
3351} SWIG_MakePtr(_ptemp, (char *) _result,"_wxButton_p");
3352 _resultobj = Py_BuildValue("s",_ptemp);
3353 return _resultobj;
3354}
3355
3356#define wxPanel_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
3357static PyObject *_wrap_wxPanel_SetDefaultItem(PyObject *self, PyObject *args) {
3358 PyObject * _resultobj;
3359 wxPanel * _arg0;
3360 wxButton * _arg1;
3361 char * _argc0 = 0;
3362 char * _argc1 = 0;
3363
3364 self = self;
3365 if(!PyArg_ParseTuple(args,"ss:wxPanel_SetDefaultItem",&_argc0,&_argc1))
3366 return NULL;
3367 if (_argc0) {
3368 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPanel_p")) {
3369 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPanel_SetDefaultItem. Expected _wxPanel_p.");
3370 return NULL;
3371 }
3372 }
3373 if (_argc1) {
3374 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxButton_p")) {
3375 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPanel_SetDefaultItem. Expected _wxButton_p.");
3376 return NULL;
3377 }
3378 }
3379{
3380 wxPy_BEGIN_ALLOW_THREADS;
3381 wxPanel_SetDefaultItem(_arg0,_arg1);
3382
3383 wxPy_END_ALLOW_THREADS;
3384} Py_INCREF(Py_None);
3385 _resultobj = Py_None;
3386 return _resultobj;
3387}
3388
8ab979d7
RD
3389static void *SwigwxDialogTowxPanel(void *ptr) {
3390 wxDialog *src;
3391 wxPanel *dest;
3392 src = (wxDialog *) ptr;
3393 dest = (wxPanel *) src;
3394 return (void *) dest;
3395}
3396
3397static void *SwigwxDialogTowxWindow(void *ptr) {
3398 wxDialog *src;
3399 wxWindow *dest;
3400 src = (wxDialog *) ptr;
3401 dest = (wxWindow *) src;
3402 return (void *) dest;
3403}
3404
3405static void *SwigwxDialogTowxEvtHandler(void *ptr) {
3406 wxDialog *src;
3407 wxEvtHandler *dest;
3408 src = (wxDialog *) ptr;
3409 dest = (wxEvtHandler *) src;
3410 return (void *) dest;
3411}
3412
3413#define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3414static PyObject *_wrap_new_wxDialog(PyObject *self, PyObject *args) {
3415 PyObject * _resultobj;
3416 wxDialog * _result;
3417 wxWindow * _arg0;
3418 wxWindowID _arg1;
3419 wxString * _arg2;
3420 wxPoint * _arg3 = &wxPyDefaultPosition;
3421 wxSize * _arg4 = &wxPyDefaultSize;
3422 long _arg5 = (wxDEFAULT_DIALOG_STYLE);
3423 char * _arg6 = "dialogBox";
3424 char * _argc0 = 0;
3425 PyObject * _obj2 = 0;
3426 char * _argc3 = 0;
3427 char * _argc4 = 0;
3428 char _ptemp[128];
3429
3430 self = self;
3431 if(!PyArg_ParseTuple(args,"siO|ssls:new_wxDialog",&_argc0,&_arg1,&_obj2,&_argc3,&_argc4,&_arg5,&_arg6))
3432 return NULL;
3433 if (_argc0) {
3434 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
3435 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
3436 return NULL;
3437 }
3438 }
3439{
3440 if (!PyString_Check(_obj2)) {
3441 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3442 return NULL;
3443 }
cf694132 3444 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
8ab979d7
RD
3445}
3446 if (_argc3) {
3447 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxPoint_p")) {
3448 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxDialog. Expected _wxPoint_p.");
3449 return NULL;
3450 }
3451 }
3452 if (_argc4) {
3453 if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxSize_p")) {
3454 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxDialog. Expected _wxSize_p.");
3455 return NULL;
3456 }
3457 }
cf694132
RD
3458{
3459 wxPy_BEGIN_ALLOW_THREADS;
3460 _result = (wxDialog *)new_wxDialog(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
3461
3462 wxPy_END_ALLOW_THREADS;
3463} SWIG_MakePtr(_ptemp, (char *) _result,"_wxDialog_p");
8ab979d7
RD
3464 _resultobj = Py_BuildValue("s",_ptemp);
3465{
3466 if (_obj2)
3467 delete _arg2;
3468}
3469 return _resultobj;
3470}
3471
3472#define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
3473static PyObject *_wrap_wxDialog_Centre(PyObject *self, PyObject *args) {
3474 PyObject * _resultobj;
3475 wxDialog * _arg0;
3476 int _arg1 = (wxBOTH);
3477 char * _argc0 = 0;
3478
3479 self = self;
3480 if(!PyArg_ParseTuple(args,"s|i:wxDialog_Centre",&_argc0,&_arg1))
3481 return NULL;
3482 if (_argc0) {
3483 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDialog_p")) {
3484 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
3485 return NULL;
3486 }
3487 }
cf694132
RD
3488{
3489 wxPy_BEGIN_ALLOW_THREADS;
3490 wxDialog_Centre(_arg0,_arg1);
3491
3492 wxPy_END_ALLOW_THREADS;
3493} Py_INCREF(Py_None);
8ab979d7
RD
3494 _resultobj = Py_None;
3495 return _resultobj;
3496}
3497
3498#define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
3499static PyObject *_wrap_wxDialog_EndModal(PyObject *self, PyObject *args) {
3500 PyObject * _resultobj;
3501 wxDialog * _arg0;
3502 int _arg1;
3503 char * _argc0 = 0;
3504
3505 self = self;
3506 if(!PyArg_ParseTuple(args,"si:wxDialog_EndModal",&_argc0,&_arg1))
3507 return NULL;
3508 if (_argc0) {
3509 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDialog_p")) {
3510 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
3511 return NULL;
3512 }
3513 }
cf694132
RD
3514{
3515 wxPy_BEGIN_ALLOW_THREADS;
3516 wxDialog_EndModal(_arg0,_arg1);
3517
3518 wxPy_END_ALLOW_THREADS;
3519} Py_INCREF(Py_None);
8ab979d7
RD
3520 _resultobj = Py_None;
3521 return _resultobj;
3522}
3523
3524#define wxDialog_GetTitle(_swigobj) (_swigobj->GetTitle())
3525static PyObject *_wrap_wxDialog_GetTitle(PyObject *self, PyObject *args) {
3526 PyObject * _resultobj;
3527 wxString * _result;
3528 wxDialog * _arg0;
3529 char * _argc0 = 0;
3530
3531 self = self;
3532 if(!PyArg_ParseTuple(args,"s:wxDialog_GetTitle",&_argc0))
3533 return NULL;
3534 if (_argc0) {
3535 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDialog_p")) {
3536 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_GetTitle. Expected _wxDialog_p.");
3537 return NULL;
3538 }
3539 }
8ab979d7 3540{
cf694132
RD
3541 wxPy_BEGIN_ALLOW_THREADS;
3542 _result = new wxString (wxDialog_GetTitle(_arg0));
3543
3544 wxPy_END_ALLOW_THREADS;
3545}{
8ab979d7
RD
3546 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
3547}
3548{
3549 delete _result;
3550}
3551 return _resultobj;
3552}
3553
3554#define wxDialog_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
3555static PyObject *_wrap_wxDialog_Iconize(PyObject *self, PyObject *args) {
3556 PyObject * _resultobj;
3557 wxDialog * _arg0;
3558 bool _arg1;
3559 char * _argc0 = 0;
3560 int tempbool1;
3561
3562 self = self;
3563 if(!PyArg_ParseTuple(args,"si:wxDialog_Iconize",&_argc0,&tempbool1))
3564 return NULL;
3565 if (_argc0) {
3566 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDialog_p")) {
3567 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_Iconize. Expected _wxDialog_p.");
3568 return NULL;
3569 }
3570 }
3571 _arg1 = (bool ) tempbool1;
cf694132
RD
3572{
3573 wxPy_BEGIN_ALLOW_THREADS;
3574 wxDialog_Iconize(_arg0,_arg1);
3575
3576 wxPy_END_ALLOW_THREADS;
3577} Py_INCREF(Py_None);
8ab979d7
RD
3578 _resultobj = Py_None;
3579 return _resultobj;
3580}
3581
3582#define wxDialog_IsIconized(_swigobj) (_swigobj->IsIconized())
3583static PyObject *_wrap_wxDialog_IsIconized(PyObject *self, PyObject *args) {
3584 PyObject * _resultobj;
3585 bool _result;
3586 wxDialog * _arg0;
3587 char * _argc0 = 0;
3588
3589 self = self;
3590 if(!PyArg_ParseTuple(args,"s:wxDialog_IsIconized",&_argc0))
3591 return NULL;
3592 if (_argc0) {
3593 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDialog_p")) {
3594 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_IsIconized. Expected _wxDialog_p.");
3595 return NULL;
3596 }
3597 }
cf694132
RD
3598{
3599 wxPy_BEGIN_ALLOW_THREADS;
3600 _result = (bool )wxDialog_IsIconized(_arg0);
3601
3602 wxPy_END_ALLOW_THREADS;
3603} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3604 return _resultobj;
3605}
3606
3607#define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
3608static PyObject *_wrap_wxDialog_SetModal(PyObject *self, PyObject *args) {
3609 PyObject * _resultobj;
3610 wxDialog * _arg0;
3611 bool _arg1;
3612 char * _argc0 = 0;
3613 int tempbool1;
3614
3615 self = self;
3616 if(!PyArg_ParseTuple(args,"si:wxDialog_SetModal",&_argc0,&tempbool1))
3617 return NULL;
3618 if (_argc0) {
3619 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDialog_p")) {
3620 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
3621 return NULL;
3622 }
3623 }
3624 _arg1 = (bool ) tempbool1;
cf694132
RD
3625{
3626 wxPy_BEGIN_ALLOW_THREADS;
3627 wxDialog_SetModal(_arg0,_arg1);
3628
3629 wxPy_END_ALLOW_THREADS;
3630} Py_INCREF(Py_None);
8ab979d7
RD
3631 _resultobj = Py_None;
3632 return _resultobj;
3633}
3634
3635#define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
3636static PyObject *_wrap_wxDialog_IsModal(PyObject *self, PyObject *args) {
3637 PyObject * _resultobj;
3638 bool _result;
3639 wxDialog * _arg0;
3640 char * _argc0 = 0;
3641
3642 self = self;
3643 if(!PyArg_ParseTuple(args,"s:wxDialog_IsModal",&_argc0))
3644 return NULL;
3645 if (_argc0) {
3646 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDialog_p")) {
3647 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
3648 return NULL;
3649 }
3650 }
cf694132
RD
3651{
3652 wxPy_BEGIN_ALLOW_THREADS;
3653 _result = (bool )wxDialog_IsModal(_arg0);
3654
3655 wxPy_END_ALLOW_THREADS;
3656} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3657 return _resultobj;
3658}
3659
3660#define wxDialog_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
3661static PyObject *_wrap_wxDialog_SetTitle(PyObject *self, PyObject *args) {
3662 PyObject * _resultobj;
3663 wxDialog * _arg0;
3664 wxString * _arg1;
3665 char * _argc0 = 0;
3666 PyObject * _obj1 = 0;
3667
3668 self = self;
3669 if(!PyArg_ParseTuple(args,"sO:wxDialog_SetTitle",&_argc0,&_obj1))
3670 return NULL;
3671 if (_argc0) {
3672 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDialog_p")) {
3673 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_SetTitle. Expected _wxDialog_p.");
3674 return NULL;
3675 }
3676 }
3677{
3678 if (!PyString_Check(_obj1)) {
3679 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3680 return NULL;
3681 }
cf694132 3682 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
8ab979d7 3683}
cf694132
RD
3684{
3685 wxPy_BEGIN_ALLOW_THREADS;
3686 wxDialog_SetTitle(_arg0,*_arg1);
3687
3688 wxPy_END_ALLOW_THREADS;
3689} Py_INCREF(Py_None);
8ab979d7
RD
3690 _resultobj = Py_None;
3691{
3692 if (_obj1)
3693 delete _arg1;
3694}
3695 return _resultobj;
3696}
3697
3698#define wxDialog_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3699static PyObject *_wrap_wxDialog_Show(PyObject *self, PyObject *args) {
3700 PyObject * _resultobj;
3701 bool _result;
3702 wxDialog * _arg0;
3703 bool _arg1;
3704 char * _argc0 = 0;
3705 int tempbool1;
3706
3707 self = self;
3708 if(!PyArg_ParseTuple(args,"si:wxDialog_Show",&_argc0,&tempbool1))
3709 return NULL;
3710 if (_argc0) {
3711 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDialog_p")) {
3712 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_Show. Expected _wxDialog_p.");
3713 return NULL;
3714 }
3715 }
3716 _arg1 = (bool ) tempbool1;
cf694132
RD
3717{
3718 wxPy_BEGIN_ALLOW_THREADS;
3719 _result = (bool )wxDialog_Show(_arg0,_arg1);
3720
3721 wxPy_END_ALLOW_THREADS;
3722} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3723 return _resultobj;
3724}
3725
3726#define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
3727static PyObject *_wrap_wxDialog_ShowModal(PyObject *self, PyObject *args) {
3728 PyObject * _resultobj;
3729 int _result;
3730 wxDialog * _arg0;
3731 char * _argc0 = 0;
3732
3733 self = self;
3734 if(!PyArg_ParseTuple(args,"s:wxDialog_ShowModal",&_argc0))
3735 return NULL;
3736 if (_argc0) {
3737 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDialog_p")) {
3738 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
3739 return NULL;
3740 }
3741 }
cf694132
RD
3742{
3743 wxPy_BEGIN_ALLOW_THREADS;
3744 _result = (int )wxDialog_ShowModal(_arg0);
3745
3746 wxPy_END_ALLOW_THREADS;
3747} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3748 return _resultobj;
3749}
3750
bb0054cd
RD
3751#define wxDialog_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
3752static PyObject *_wrap_wxDialog_GetReturnCode(PyObject *self, PyObject *args) {
3753 PyObject * _resultobj;
3754 int _result;
3755 wxDialog * _arg0;
3756 char * _argc0 = 0;
3757
3758 self = self;
3759 if(!PyArg_ParseTuple(args,"s:wxDialog_GetReturnCode",&_argc0))
3760 return NULL;
3761 if (_argc0) {
3762 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDialog_p")) {
3763 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_GetReturnCode. Expected _wxDialog_p.");
3764 return NULL;
3765 }
3766 }
3767{
3768 wxPy_BEGIN_ALLOW_THREADS;
3769 _result = (int )wxDialog_GetReturnCode(_arg0);
3770
3771 wxPy_END_ALLOW_THREADS;
3772} _resultobj = Py_BuildValue("i",_result);
3773 return _resultobj;
3774}
3775
3776#define wxDialog_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
3777static PyObject *_wrap_wxDialog_SetReturnCode(PyObject *self, PyObject *args) {
3778 PyObject * _resultobj;
3779 wxDialog * _arg0;
3780 int _arg1;
3781 char * _argc0 = 0;
3782
3783 self = self;
3784 if(!PyArg_ParseTuple(args,"si:wxDialog_SetReturnCode",&_argc0,&_arg1))
3785 return NULL;
3786 if (_argc0) {
3787 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDialog_p")) {
3788 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_SetReturnCode. Expected _wxDialog_p.");
3789 return NULL;
3790 }
3791 }
3792{
3793 wxPy_BEGIN_ALLOW_THREADS;
3794 wxDialog_SetReturnCode(_arg0,_arg1);
3795
3796 wxPy_END_ALLOW_THREADS;
3797} Py_INCREF(Py_None);
3798 _resultobj = Py_None;
3799 return _resultobj;
3800}
3801
3802static void *SwigwxScrolledWindowTowxPanel(void *ptr) {
3803 wxScrolledWindow *src;
3804 wxPanel *dest;
3805 src = (wxScrolledWindow *) ptr;
3806 dest = (wxPanel *) src;
3807 return (void *) dest;
3808}
3809
8ab979d7
RD
3810static void *SwigwxScrolledWindowTowxWindow(void *ptr) {
3811 wxScrolledWindow *src;
3812 wxWindow *dest;
3813 src = (wxScrolledWindow *) ptr;
3814 dest = (wxWindow *) src;
3815 return (void *) dest;
3816}
3817
3818static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr) {
3819 wxScrolledWindow *src;
3820 wxEvtHandler *dest;
3821 src = (wxScrolledWindow *) ptr;
3822 dest = (wxEvtHandler *) src;
3823 return (void *) dest;
3824}
3825
3826#define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3827static PyObject *_wrap_new_wxScrolledWindow(PyObject *self, PyObject *args) {
3828 PyObject * _resultobj;
3829 wxScrolledWindow * _result;
3830 wxWindow * _arg0;
3831 wxWindowID _arg1 = -1;
3832 wxPoint * _arg2 = &wxPyDefaultPosition;
3833 wxSize * _arg3 = &wxPyDefaultSize;
3834 long _arg4 = (wxHSCROLL)|(wxVSCROLL);
3835 char * _arg5 = "scrolledWindow";
3836 char * _argc0 = 0;
3837 char * _argc2 = 0;
3838 char * _argc3 = 0;
3839 char _ptemp[128];
3840
3841 self = self;
3842 if(!PyArg_ParseTuple(args,"s|issls:new_wxScrolledWindow",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_arg5))
3843 return NULL;
3844 if (_argc0) {
3845 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
3846 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
3847 return NULL;
3848 }
3849 }
3850 if (_argc2) {
3851 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) {
3852 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxScrolledWindow. Expected _wxPoint_p.");
3853 return NULL;
3854 }
3855 }
3856 if (_argc3) {
3857 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) {
3858 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxScrolledWindow. Expected _wxSize_p.");
3859 return NULL;
3860 }
3861 }
cf694132
RD
3862{
3863 wxPy_BEGIN_ALLOW_THREADS;
3864 _result = (wxScrolledWindow *)new_wxScrolledWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
3865
3866 wxPy_END_ALLOW_THREADS;
3867} SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrolledWindow_p");
8ab979d7
RD
3868 _resultobj = Py_BuildValue("s",_ptemp);
3869 return _resultobj;
3870}
3871
3872#define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
3873static PyObject *_wrap_wxScrolledWindow_EnableScrolling(PyObject *self, PyObject *args) {
3874 PyObject * _resultobj;
3875 wxScrolledWindow * _arg0;
3876 bool _arg1;
3877 bool _arg2;
3878 char * _argc0 = 0;
3879 int tempbool1;
3880 int tempbool2;
3881
3882 self = self;
3883 if(!PyArg_ParseTuple(args,"sii:wxScrolledWindow_EnableScrolling",&_argc0,&tempbool1,&tempbool2))
3884 return NULL;
3885 if (_argc0) {
3886 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrolledWindow_p")) {
3887 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
3888 return NULL;
3889 }
3890 }
3891 _arg1 = (bool ) tempbool1;
3892 _arg2 = (bool ) tempbool2;
cf694132
RD
3893{
3894 wxPy_BEGIN_ALLOW_THREADS;
3895 wxScrolledWindow_EnableScrolling(_arg0,_arg1,_arg2);
3896
3897 wxPy_END_ALLOW_THREADS;
3898} Py_INCREF(Py_None);
8ab979d7
RD
3899 _resultobj = Py_None;
3900 return _resultobj;
3901}
3902
3903#define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
3904static PyObject *_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args) {
3905 PyObject * _resultobj;
3906 wxScrolledWindow * _arg0;
3907 int * _arg1;
3908 int temp;
3909 int * _arg2;
3910 int temp0;
3911 char * _argc0 = 0;
3912
3913 self = self;
3914{
3915 _arg1 = &temp;
3916}
3917{
3918 _arg2 = &temp0;
3919}
3920 if(!PyArg_ParseTuple(args,"s:wxScrolledWindow_GetScrollPixelsPerUnit",&_argc0))
3921 return NULL;
3922 if (_argc0) {
3923 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrolledWindow_p")) {
3924 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
3925 return NULL;
3926 }
3927 }
cf694132
RD
3928{
3929 wxPy_BEGIN_ALLOW_THREADS;
3930 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0,_arg1,_arg2);
3931
3932 wxPy_END_ALLOW_THREADS;
3933} Py_INCREF(Py_None);
8ab979d7
RD
3934 _resultobj = Py_None;
3935{
3936 PyObject *o;
3937 o = PyInt_FromLong((long) (*_arg1));
3938 _resultobj = t_output_helper(_resultobj, o);
3939}
3940{
3941 PyObject *o;
3942 o = PyInt_FromLong((long) (*_arg2));
3943 _resultobj = t_output_helper(_resultobj, o);
3944}
3945 return _resultobj;
3946}
3947
3948#define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
3949static PyObject *_wrap_wxScrolledWindow_GetVirtualSize(PyObject *self, PyObject *args) {
3950 PyObject * _resultobj;
3951 wxScrolledWindow * _arg0;
3952 int * _arg1;
3953 int temp;
3954 int * _arg2;
3955 int temp0;
3956 char * _argc0 = 0;
3957
3958 self = self;
3959{
3960 _arg1 = &temp;
3961}
3962{
3963 _arg2 = &temp0;
3964}
3965 if(!PyArg_ParseTuple(args,"s:wxScrolledWindow_GetVirtualSize",&_argc0))
3966 return NULL;
3967 if (_argc0) {
3968 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrolledWindow_p")) {
3969 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
3970 return NULL;
3971 }
3972 }
cf694132
RD
3973{
3974 wxPy_BEGIN_ALLOW_THREADS;
3975 wxScrolledWindow_GetVirtualSize(_arg0,_arg1,_arg2);
3976
3977 wxPy_END_ALLOW_THREADS;
3978} Py_INCREF(Py_None);
8ab979d7
RD
3979 _resultobj = Py_None;
3980{
3981 PyObject *o;
3982 o = PyInt_FromLong((long) (*_arg1));
3983 _resultobj = t_output_helper(_resultobj, o);
3984}
3985{
3986 PyObject *o;
3987 o = PyInt_FromLong((long) (*_arg2));
3988 _resultobj = t_output_helper(_resultobj, o);
3989}
3990 return _resultobj;
3991}
3992
3993#define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
3994static PyObject *_wrap_wxScrolledWindow_IsRetained(PyObject *self, PyObject *args) {
3995 PyObject * _resultobj;
3996 bool _result;
3997 wxScrolledWindow * _arg0;
3998 char * _argc0 = 0;
3999
4000 self = self;
4001 if(!PyArg_ParseTuple(args,"s:wxScrolledWindow_IsRetained",&_argc0))
4002 return NULL;
4003 if (_argc0) {
4004 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrolledWindow_p")) {
4005 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
4006 return NULL;
4007 }
4008 }
cf694132
RD
4009{
4010 wxPy_BEGIN_ALLOW_THREADS;
4011 _result = (bool )wxScrolledWindow_IsRetained(_arg0);
4012
4013 wxPy_END_ALLOW_THREADS;
4014} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4015 return _resultobj;
4016}
4017
4018#define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
4019static PyObject *_wrap_wxScrolledWindow_PrepareDC(PyObject *self, PyObject *args) {
4020 PyObject * _resultobj;
4021 wxScrolledWindow * _arg0;
4022 wxDC * _arg1;
4023 char * _argc0 = 0;
4024 char * _argc1 = 0;
4025
4026 self = self;
4027 if(!PyArg_ParseTuple(args,"ss:wxScrolledWindow_PrepareDC",&_argc0,&_argc1))
4028 return NULL;
4029 if (_argc0) {
4030 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrolledWindow_p")) {
4031 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
4032 return NULL;
4033 }
4034 }
4035 if (_argc1) {
4036 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxDC_p")) {
4037 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
4038 return NULL;
4039 }
4040 }
cf694132
RD
4041{
4042 wxPy_BEGIN_ALLOW_THREADS;
4043 wxScrolledWindow_PrepareDC(_arg0,*_arg1);
4044
4045 wxPy_END_ALLOW_THREADS;
4046} Py_INCREF(Py_None);
8ab979d7
RD
4047 _resultobj = Py_None;
4048 return _resultobj;
4049}
4050
4051#define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
4052static PyObject *_wrap_wxScrolledWindow_Scroll(PyObject *self, PyObject *args) {
4053 PyObject * _resultobj;
4054 wxScrolledWindow * _arg0;
4055 int _arg1;
4056 int _arg2;
4057 char * _argc0 = 0;
4058
4059 self = self;
4060 if(!PyArg_ParseTuple(args,"sii:wxScrolledWindow_Scroll",&_argc0,&_arg1,&_arg2))
4061 return NULL;
4062 if (_argc0) {
4063 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrolledWindow_p")) {
4064 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
4065 return NULL;
4066 }
4067 }
cf694132
RD
4068{
4069 wxPy_BEGIN_ALLOW_THREADS;
4070 wxScrolledWindow_Scroll(_arg0,_arg1,_arg2);
4071
4072 wxPy_END_ALLOW_THREADS;
4073} Py_INCREF(Py_None);
8ab979d7
RD
4074 _resultobj = Py_None;
4075 return _resultobj;
4076}
4077
4078#define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4079static PyObject *_wrap_wxScrolledWindow_SetScrollbars(PyObject *self, PyObject *args) {
4080 PyObject * _resultobj;
4081 wxScrolledWindow * _arg0;
4082 int _arg1;
4083 int _arg2;
4084 int _arg3;
4085 int _arg4;
4086 int _arg5 = 0;
4087 int _arg6 = 0;
4088 char * _argc0 = 0;
4089
4090 self = self;
4091 if(!PyArg_ParseTuple(args,"siiii|ii:wxScrolledWindow_SetScrollbars",&_argc0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6))
4092 return NULL;
4093 if (_argc0) {
4094 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrolledWindow_p")) {
4095 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
4096 return NULL;
4097 }
4098 }
cf694132
RD
4099{
4100 wxPy_BEGIN_ALLOW_THREADS;
4101 wxScrolledWindow_SetScrollbars(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
4102
4103 wxPy_END_ALLOW_THREADS;
4104} Py_INCREF(Py_None);
8ab979d7
RD
4105 _resultobj = Py_None;
4106 return _resultobj;
4107}
4108
4109#define wxScrolledWindow_ViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->ViewStart(_swigarg0,_swigarg1))
4110static PyObject *_wrap_wxScrolledWindow_ViewStart(PyObject *self, PyObject *args) {
4111 PyObject * _resultobj;
4112 wxScrolledWindow * _arg0;
4113 int * _arg1;
4114 int temp;
4115 int * _arg2;
4116 int temp0;
4117 char * _argc0 = 0;
4118
4119 self = self;
4120{
4121 _arg1 = &temp;
4122}
4123{
4124 _arg2 = &temp0;
4125}
4126 if(!PyArg_ParseTuple(args,"s:wxScrolledWindow_ViewStart",&_argc0))
4127 return NULL;
4128 if (_argc0) {
4129 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrolledWindow_p")) {
4130 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_ViewStart. Expected _wxScrolledWindow_p.");
4131 return NULL;
4132 }
4133 }
cf694132
RD
4134{
4135 wxPy_BEGIN_ALLOW_THREADS;
4136 wxScrolledWindow_ViewStart(_arg0,_arg1,_arg2);
4137
4138 wxPy_END_ALLOW_THREADS;
4139} Py_INCREF(Py_None);
8ab979d7
RD
4140 _resultobj = Py_None;
4141{
4142 PyObject *o;
4143 o = PyInt_FromLong((long) (*_arg1));
4144 _resultobj = t_output_helper(_resultobj, o);
4145}
4146{
4147 PyObject *o;
4148 o = PyInt_FromLong((long) (*_arg2));
4149 _resultobj = t_output_helper(_resultobj, o);
4150}
4151 return _resultobj;
4152}
4153
4154static void *SwigwxMenuTowxEvtHandler(void *ptr) {
4155 wxMenu *src;
4156 wxEvtHandler *dest;
4157 src = (wxMenu *) ptr;
4158 dest = (wxEvtHandler *) src;
4159 return (void *) dest;
4160}
4161
8bf5d46e 4162#define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
8ab979d7
RD
4163static PyObject *_wrap_new_wxMenu(PyObject *self, PyObject *args) {
4164 PyObject * _resultobj;
4165 wxMenu * _result;
4166 wxString * _arg0 = &wxPyEmptyStr;
8bf5d46e 4167 long _arg1 = 0;
8ab979d7
RD
4168 PyObject * _obj0 = 0;
4169 char _ptemp[128];
4170
4171 self = self;
8bf5d46e 4172 if(!PyArg_ParseTuple(args,"|Ol:new_wxMenu",&_obj0,&_arg1))
8ab979d7
RD
4173 return NULL;
4174 if (_obj0)
4175{
4176 if (!PyString_Check(_obj0)) {
4177 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4178 return NULL;
4179 }
cf694132 4180 _arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
8ab979d7 4181}
cf694132
RD
4182{
4183 wxPy_BEGIN_ALLOW_THREADS;
8bf5d46e 4184 _result = (wxMenu *)new_wxMenu(*_arg0,_arg1);
cf694132
RD
4185
4186 wxPy_END_ALLOW_THREADS;
4187} SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenu_p");
8ab979d7
RD
4188 _resultobj = Py_BuildValue("s",_ptemp);
4189{
4190 if (_obj0)
4191 delete _arg0;
4192}
4193 return _resultobj;
4194}
4195
4196#define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4197static PyObject *_wrap_wxMenu_Append(PyObject *self, PyObject *args) {
4198 PyObject * _resultobj;
4199 wxMenu * _arg0;
4200 int _arg1;
4201 wxString * _arg2;
4202 wxString * _arg3 = &wxPyEmptyStr;
4203 int _arg4 = (0);
4204 char * _argc0 = 0;
4205 PyObject * _obj2 = 0;
4206 PyObject * _obj3 = 0;
4207
4208 self = self;
4209 if(!PyArg_ParseTuple(args,"siO|Oi:wxMenu_Append",&_argc0,&_arg1,&_obj2,&_obj3,&_arg4))
4210 return NULL;
4211 if (_argc0) {
4212 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) {
4213 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
4214 return NULL;
4215 }
4216 }
4217{
4218 if (!PyString_Check(_obj2)) {
4219 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4220 return NULL;
4221 }
cf694132 4222 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
8ab979d7
RD
4223}
4224 if (_obj3)
4225{
4226 if (!PyString_Check(_obj3)) {
4227 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4228 return NULL;
4229 }
cf694132 4230 _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3));
8ab979d7 4231}
cf694132
RD
4232{
4233 wxPy_BEGIN_ALLOW_THREADS;
4234 wxMenu_Append(_arg0,_arg1,*_arg2,*_arg3,_arg4);
4235
4236 wxPy_END_ALLOW_THREADS;
4237} Py_INCREF(Py_None);
8ab979d7
RD
4238 _resultobj = Py_None;
4239{
4240 if (_obj2)
4241 delete _arg2;
4242}
4243{
4244 if (_obj3)
4245 delete _arg3;
4246}
4247 return _resultobj;
4248}
4249
4250#define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4251static PyObject *_wrap_wxMenu_AppendMenu(PyObject *self, PyObject *args) {
4252 PyObject * _resultobj;
4253 wxMenu * _arg0;
4254 int _arg1;
4255 wxString * _arg2;
4256 wxMenu * _arg3;
4257 wxString * _arg4 = &wxPyEmptyStr;
4258 char * _argc0 = 0;
4259 PyObject * _obj2 = 0;
4260 char * _argc3 = 0;
4261 PyObject * _obj4 = 0;
4262
4263 self = self;
4264 if(!PyArg_ParseTuple(args,"siOs|O:wxMenu_AppendMenu",&_argc0,&_arg1,&_obj2,&_argc3,&_obj4))
4265 return NULL;
4266 if (_argc0) {
4267 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) {
4268 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
4269 return NULL;
4270 }
4271 }
4272{
4273 if (!PyString_Check(_obj2)) {
4274 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4275 return NULL;
4276 }
cf694132 4277 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
8ab979d7
RD
4278}
4279 if (_argc3) {
4280 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxMenu_p")) {
4281 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
4282 return NULL;
4283 }
4284 }
4285 if (_obj4)
4286{
4287 if (!PyString_Check(_obj4)) {
4288 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4289 return NULL;
4290 }
cf694132 4291 _arg4 = new wxString(PyString_AsString(_obj4), PyString_Size(_obj4));
8ab979d7 4292}
cf694132
RD
4293{
4294 wxPy_BEGIN_ALLOW_THREADS;
4295 wxMenu_AppendMenu(_arg0,_arg1,*_arg2,_arg3,*_arg4);
4296
4297 wxPy_END_ALLOW_THREADS;
4298} Py_INCREF(Py_None);
8ab979d7
RD
4299 _resultobj = Py_None;
4300{
4301 if (_obj2)
4302 delete _arg2;
4303}
4304{
4305 if (_obj4)
4306 delete _arg4;
4307}
4308 return _resultobj;
4309}
4310
af309447
RD
4311#define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
4312static PyObject *_wrap_wxMenu_AppendItem(PyObject *self, PyObject *args) {
4313 PyObject * _resultobj;
4314 wxMenu * _arg0;
4315 wxMenuItem * _arg1;
4316 char * _argc0 = 0;
4317 char * _argc1 = 0;
4318
4319 self = self;
4320 if(!PyArg_ParseTuple(args,"ss:wxMenu_AppendItem",&_argc0,&_argc1))
4321 return NULL;
4322 if (_argc0) {
4323 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) {
4324 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
4325 return NULL;
4326 }
4327 }
4328 if (_argc1) {
4329 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxMenuItem_p")) {
4330 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
4331 return NULL;
4332 }
4333 }
cf694132
RD
4334{
4335 wxPy_BEGIN_ALLOW_THREADS;
4336 wxMenu_AppendItem(_arg0,_arg1);
4337
4338 wxPy_END_ALLOW_THREADS;
4339} Py_INCREF(Py_None);
af309447
RD
4340 _resultobj = Py_None;
4341 return _resultobj;
4342}
4343
8ab979d7
RD
4344#define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
4345static PyObject *_wrap_wxMenu_AppendSeparator(PyObject *self, PyObject *args) {
4346 PyObject * _resultobj;
4347 wxMenu * _arg0;
4348 char * _argc0 = 0;
4349
4350 self = self;
4351 if(!PyArg_ParseTuple(args,"s:wxMenu_AppendSeparator",&_argc0))
4352 return NULL;
4353 if (_argc0) {
4354 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) {
4355 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
4356 return NULL;
4357 }
4358 }
cf694132
RD
4359{
4360 wxPy_BEGIN_ALLOW_THREADS;
4361 wxMenu_AppendSeparator(_arg0);
4362
4363 wxPy_END_ALLOW_THREADS;
4364} Py_INCREF(Py_None);
8ab979d7
RD
4365 _resultobj = Py_None;
4366 return _resultobj;
4367}
4368
4369#define wxMenu_Break(_swigobj) (_swigobj->Break())
4370static PyObject *_wrap_wxMenu_Break(PyObject *self, PyObject *args) {
4371 PyObject * _resultobj;
4372 wxMenu * _arg0;
4373 char * _argc0 = 0;
4374
4375 self = self;
4376 if(!PyArg_ParseTuple(args,"s:wxMenu_Break",&_argc0))
4377 return NULL;
4378 if (_argc0) {
4379 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) {
4380 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
4381 return NULL;
4382 }
4383 }
cf694132
RD
4384{
4385 wxPy_BEGIN_ALLOW_THREADS;
4386 wxMenu_Break(_arg0);
4387
4388 wxPy_END_ALLOW_THREADS;
4389} Py_INCREF(Py_None);
8ab979d7
RD
4390 _resultobj = Py_None;
4391 return _resultobj;
4392}
4393
4394#define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
4395static PyObject *_wrap_wxMenu_Check(PyObject *self, PyObject *args) {
4396 PyObject * _resultobj;
4397 wxMenu * _arg0;
4398 int _arg1;
4399 bool _arg2;
4400 char * _argc0 = 0;
4401 int tempbool2;
4402
4403 self = self;
4404 if(!PyArg_ParseTuple(args,"sii:wxMenu_Check",&_argc0,&_arg1,&tempbool2))
4405 return NULL;
4406 if (_argc0) {
4407 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) {
4408 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
4409 return NULL;
4410 }
4411 }
4412 _arg2 = (bool ) tempbool2;
cf694132
RD
4413{
4414 wxPy_BEGIN_ALLOW_THREADS;
4415 wxMenu_Check(_arg0,_arg1,_arg2);
4416
4417 wxPy_END_ALLOW_THREADS;
4418} Py_INCREF(Py_None);
8ab979d7
RD
4419 _resultobj = Py_None;
4420 return _resultobj;
4421}
4422
4423#define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
4424static PyObject *_wrap_wxMenu_Enable(PyObject *self, PyObject *args) {
4425 PyObject * _resultobj;
4426 wxMenu * _arg0;
4427 int _arg1;
4428 bool _arg2;
4429 char * _argc0 = 0;
4430 int tempbool2;
4431
4432 self = self;
4433 if(!PyArg_ParseTuple(args,"sii:wxMenu_Enable",&_argc0,&_arg1,&tempbool2))
4434 return NULL;
4435 if (_argc0) {
4436 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) {
4437 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
4438 return NULL;
4439 }
4440 }
4441 _arg2 = (bool ) tempbool2;
cf694132
RD
4442{
4443 wxPy_BEGIN_ALLOW_THREADS;
4444 wxMenu_Enable(_arg0,_arg1,_arg2);
4445
4446 wxPy_END_ALLOW_THREADS;
4447} Py_INCREF(Py_None);
8ab979d7
RD
4448 _resultobj = Py_None;
4449 return _resultobj;
4450}
4451
4452#define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
4453static PyObject *_wrap_wxMenu_FindItem(PyObject *self, PyObject *args) {
4454 PyObject * _resultobj;
4455 int _result;
4456 wxMenu * _arg0;
4457 wxString * _arg1;
4458 char * _argc0 = 0;
4459 PyObject * _obj1 = 0;
4460
4461 self = self;
4462 if(!PyArg_ParseTuple(args,"sO:wxMenu_FindItem",&_argc0,&_obj1))
4463 return NULL;
4464 if (_argc0) {
4465 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) {
4466 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
4467 return NULL;
4468 }
4469 }
4470{
4471 if (!PyString_Check(_obj1)) {
4472 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4473 return NULL;
4474 }
cf694132 4475 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
8ab979d7 4476}
cf694132
RD
4477{
4478 wxPy_BEGIN_ALLOW_THREADS;
4479 _result = (int )wxMenu_FindItem(_arg0,*_arg1);
4480
4481 wxPy_END_ALLOW_THREADS;
4482} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4483{
4484 if (_obj1)
4485 delete _arg1;
4486}
4487 return _resultobj;
4488}
4489
4490#define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
4491static PyObject *_wrap_wxMenu_GetTitle(PyObject *self, PyObject *args) {
4492 PyObject * _resultobj;
4493 wxString * _result;
4494 wxMenu * _arg0;
4495 char * _argc0 = 0;
4496
4497 self = self;
4498 if(!PyArg_ParseTuple(args,"s:wxMenu_GetTitle",&_argc0))
4499 return NULL;
4500 if (_argc0) {
4501 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) {
4502 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
4503 return NULL;
4504 }
4505 }
8ab979d7 4506{
cf694132
RD
4507 wxPy_BEGIN_ALLOW_THREADS;
4508 _result = new wxString (wxMenu_GetTitle(_arg0));
4509
4510 wxPy_END_ALLOW_THREADS;
4511}{
8ab979d7
RD
4512 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
4513}
4514{
4515 delete _result;
4516}
4517 return _resultobj;
4518}
4519
4520#define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4521static PyObject *_wrap_wxMenu_SetTitle(PyObject *self, PyObject *args) {
4522 PyObject * _resultobj;
4523 wxMenu * _arg0;
4524 wxString * _arg1;
4525 char * _argc0 = 0;
4526 PyObject * _obj1 = 0;
4527
4528 self = self;
4529 if(!PyArg_ParseTuple(args,"sO:wxMenu_SetTitle",&_argc0,&_obj1))
4530 return NULL;
4531 if (_argc0) {
4532 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) {
4533 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
4534 return NULL;
4535 }
4536 }
4537{
4538 if (!PyString_Check(_obj1)) {
4539 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4540 return NULL;
4541 }
cf694132 4542 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
8ab979d7 4543}
cf694132
RD
4544{
4545 wxPy_BEGIN_ALLOW_THREADS;
4546 wxMenu_SetTitle(_arg0,*_arg1);
4547
4548 wxPy_END_ALLOW_THREADS;
4549} Py_INCREF(Py_None);
8ab979d7
RD
4550 _resultobj = Py_None;
4551{
4552 if (_obj1)
4553 delete _arg1;
4554}
4555 return _resultobj;
4556}
4557
4558#define wxMenu_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
4559static PyObject *_wrap_wxMenu_FindItemForId(PyObject *self, PyObject *args) {
4560 PyObject * _resultobj;
4561 wxMenuItem * _result;
4562 wxMenu * _arg0;
4563 int _arg1;
4564 char * _argc0 = 0;
4565 char _ptemp[128];
4566
4567 self = self;
4568 if(!PyArg_ParseTuple(args,"si:wxMenu_FindItemForId",&_argc0,&_arg1))
4569 return NULL;
4570 if (_argc0) {
4571 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) {
4572 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_FindItemForId. Expected _wxMenu_p.");
4573 return NULL;
4574 }
4575 }
cf694132
RD
4576{
4577 wxPy_BEGIN_ALLOW_THREADS;
4578 _result = (wxMenuItem *)wxMenu_FindItemForId(_arg0,_arg1);
4579
4580 wxPy_END_ALLOW_THREADS;
4581} SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuItem_p");
8ab979d7
RD
4582 _resultobj = Py_BuildValue("s",_ptemp);
4583 return _resultobj;
4584}
4585
4586#define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
4587static PyObject *_wrap_wxMenu_GetHelpString(PyObject *self, PyObject *args) {
4588 PyObject * _resultobj;
4589 wxString * _result;
4590 wxMenu * _arg0;
4591 int _arg1;
4592 char * _argc0 = 0;
4593
4594 self = self;
4595 if(!PyArg_ParseTuple(args,"si:wxMenu_GetHelpString",&_argc0,&_arg1))
4596 return NULL;
4597 if (_argc0) {
4598 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) {
4599 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
4600 return NULL;
4601 }
4602 }
8ab979d7 4603{
cf694132
RD
4604 wxPy_BEGIN_ALLOW_THREADS;
4605 _result = new wxString (wxMenu_GetHelpString(_arg0,_arg1));
4606
4607 wxPy_END_ALLOW_THREADS;
4608}{
8ab979d7
RD
4609 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
4610}
4611{
4612 delete _result;
4613}
4614 return _resultobj;
4615}
4616
4617#define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
4618static PyObject *_wrap_wxMenu_GetLabel(PyObject *self, PyObject *args) {
4619 PyObject * _resultobj;
4620 wxString * _result;
4621 wxMenu * _arg0;
4622 int _arg1;
4623 char * _argc0 = 0;
4624
4625 self = self;
4626 if(!PyArg_ParseTuple(args,"si:wxMenu_GetLabel",&_argc0,&_arg1))
4627 return NULL;
4628 if (_argc0) {
4629 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) {
4630 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
4631 return NULL;
4632 }
4633 }
8ab979d7 4634{
cf694132
RD
4635 wxPy_BEGIN_ALLOW_THREADS;
4636 _result = new wxString (wxMenu_GetLabel(_arg0,_arg1));
4637
4638 wxPy_END_ALLOW_THREADS;
4639}{
8ab979d7
RD
4640 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
4641}
4642{
4643 delete _result;
4644}
4645 return _resultobj;
4646}
4647
4648#define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
4649static PyObject *_wrap_wxMenu_SetHelpString(PyObject *self, PyObject *args) {
4650 PyObject * _resultobj;
4651 wxMenu * _arg0;
4652 int _arg1;
4653 wxString * _arg2;
4654 char * _argc0 = 0;
4655 PyObject * _obj2 = 0;
4656
4657 self = self;
4658 if(!PyArg_ParseTuple(args,"siO:wxMenu_SetHelpString",&_argc0,&_arg1,&_obj2))
4659 return NULL;
4660 if (_argc0) {
4661 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) {
4662 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
4663 return NULL;
4664 }
4665 }
4666{
4667 if (!PyString_Check(_obj2)) {
4668 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4669 return NULL;
4670 }
cf694132 4671 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
8ab979d7 4672}
cf694132
RD
4673{
4674 wxPy_BEGIN_ALLOW_THREADS;
4675 wxMenu_SetHelpString(_arg0,_arg1,*_arg2);
4676
4677 wxPy_END_ALLOW_THREADS;
4678} Py_INCREF(Py_None);
8ab979d7
RD
4679 _resultobj = Py_None;
4680{
4681 if (_obj2)
4682 delete _arg2;
4683}
4684 return _resultobj;
4685}
4686
4687#define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
4688static PyObject *_wrap_wxMenu_IsChecked(PyObject *self, PyObject *args) {
4689 PyObject * _resultobj;
4690 bool _result;
4691 wxMenu * _arg0;
4692 int _arg1;
4693 char * _argc0 = 0;
4694
4695 self = self;
4696 if(!PyArg_ParseTuple(args,"si:wxMenu_IsChecked",&_argc0,&_arg1))
4697 return NULL;
4698 if (_argc0) {
4699 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) {
4700 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
4701 return NULL;
4702 }
4703 }
cf694132
RD
4704{
4705 wxPy_BEGIN_ALLOW_THREADS;
4706 _result = (bool )wxMenu_IsChecked(_arg0,_arg1);
4707
4708 wxPy_END_ALLOW_THREADS;
4709} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4710 return _resultobj;
4711}
4712
4713#define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
4714static PyObject *_wrap_wxMenu_IsEnabled(PyObject *self, PyObject *args) {
4715 PyObject * _resultobj;
4716 bool _result;
4717 wxMenu * _arg0;
4718 int _arg1;
4719 char * _argc0 = 0;
4720
4721 self = self;
4722 if(!PyArg_ParseTuple(args,"si:wxMenu_IsEnabled",&_argc0,&_arg1))
4723 return NULL;
4724 if (_argc0) {
4725 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) {
4726 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
4727 return NULL;
4728 }
4729 }
cf694132
RD
4730{
4731 wxPy_BEGIN_ALLOW_THREADS;
4732 _result = (bool )wxMenu_IsEnabled(_arg0,_arg1);
4733
4734 wxPy_END_ALLOW_THREADS;
4735} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4736 return _resultobj;
4737}
4738
4739#define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
4740static PyObject *_wrap_wxMenu_SetLabel(PyObject *self, PyObject *args) {
4741 PyObject * _resultobj;
4742 wxMenu * _arg0;
4743 int _arg1;
4744 wxString * _arg2;
4745 char * _argc0 = 0;
4746 PyObject * _obj2 = 0;
4747
4748 self = self;
4749 if(!PyArg_ParseTuple(args,"siO:wxMenu_SetLabel",&_argc0,&_arg1,&_obj2))
4750 return NULL;
4751 if (_argc0) {
4752 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) {
4753 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
4754 return NULL;
4755 }
4756 }
4757{
4758 if (!PyString_Check(_obj2)) {
4759 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4760 return NULL;
4761 }
cf694132 4762 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
8ab979d7 4763}
cf694132
RD
4764{
4765 wxPy_BEGIN_ALLOW_THREADS;
4766 wxMenu_SetLabel(_arg0,_arg1,*_arg2);
4767
4768 wxPy_END_ALLOW_THREADS;
4769} Py_INCREF(Py_None);
8ab979d7
RD
4770 _resultobj = Py_None;
4771{
4772 if (_obj2)
4773 delete _arg2;
4774}
4775 return _resultobj;
4776}
4777
8bf5d46e
RD
4778#define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
4779static PyObject *_wrap_wxMenu_UpdateUI(PyObject *self, PyObject *args) {
8ab979d7 4780 PyObject * _resultobj;
8bf5d46e
RD
4781 wxMenu * _arg0;
4782 wxEvtHandler * _arg1 = NULL;
8ab979d7 4783 char * _argc0 = 0;
8bf5d46e 4784 char * _argc1 = 0;
8ab979d7
RD
4785
4786 self = self;
8bf5d46e 4787 if(!PyArg_ParseTuple(args,"s|s:wxMenu_UpdateUI",&_argc0,&_argc1))
8ab979d7
RD
4788 return NULL;
4789 if (_argc0) {
8bf5d46e
RD
4790 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) {
4791 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
4792 return NULL;
4793 }
4794 }
4795 if (_argc1) {
4796 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxEvtHandler_p")) {
4797 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
8ab979d7
RD
4798 return NULL;
4799 }
4800 }
cf694132
RD
4801{
4802 wxPy_BEGIN_ALLOW_THREADS;
8bf5d46e 4803 wxMenu_UpdateUI(_arg0,_arg1);
cf694132
RD
4804
4805 wxPy_END_ALLOW_THREADS;
4806} Py_INCREF(Py_None);
8ab979d7
RD
4807 _resultobj = Py_None;
4808 return _resultobj;
4809}
4810
4811static void *SwigwxMenuBarTowxEvtHandler(void *ptr) {
4812 wxMenuBar *src;
4813 wxEvtHandler *dest;
4814 src = (wxMenuBar *) ptr;
4815 dest = (wxEvtHandler *) src;
4816 return (void *) dest;
4817}
4818
4819#define new_wxMenuBar() (new wxMenuBar())
4820static PyObject *_wrap_new_wxMenuBar(PyObject *self, PyObject *args) {
4821 PyObject * _resultobj;
4822 wxMenuBar * _result;
4823 char _ptemp[128];
4824
4825 self = self;
4826 if(!PyArg_ParseTuple(args,":new_wxMenuBar"))
4827 return NULL;
cf694132
RD
4828{
4829 wxPy_BEGIN_ALLOW_THREADS;
4830 _result = (wxMenuBar *)new_wxMenuBar();
4831
4832 wxPy_END_ALLOW_THREADS;
4833} SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuBar_p");
8ab979d7
RD
4834 _resultobj = Py_BuildValue("s",_ptemp);
4835 return _resultobj;
4836}
4837
4838#define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
4839static PyObject *_wrap_wxMenuBar_Append(PyObject *self, PyObject *args) {
4840 PyObject * _resultobj;
4841 wxMenuBar * _arg0;
4842 wxMenu * _arg1;
4843 wxString * _arg2;
4844 char * _argc0 = 0;
4845 char * _argc1 = 0;
4846 PyObject * _obj2 = 0;
4847
4848 self = self;
4849 if(!PyArg_ParseTuple(args,"ssO:wxMenuBar_Append",&_argc0,&_argc1,&_obj2))
4850 return NULL;
4851 if (_argc0) {
4852 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuBar_p")) {
4853 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
4854 return NULL;
4855 }
4856 }
4857 if (_argc1) {
4858 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxMenu_p")) {
4859 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
4860 return NULL;
4861 }
4862 }
4863{
4864 if (!PyString_Check(_obj2)) {
4865 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4866 return NULL;
4867 }
cf694132 4868 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
8ab979d7 4869}
cf694132
RD
4870{
4871 wxPy_BEGIN_ALLOW_THREADS;
4872 wxMenuBar_Append(_arg0,_arg1,*_arg2);
4873
4874 wxPy_END_ALLOW_THREADS;
4875} Py_INCREF(Py_None);
8ab979d7
RD
4876 _resultobj = Py_None;
4877{
4878 if (_obj2)
4879 delete _arg2;
4880}
4881 return _resultobj;
4882}
4883
4884#define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
4885static PyObject *_wrap_wxMenuBar_Check(PyObject *self, PyObject *args) {
4886 PyObject * _resultobj;
4887 wxMenuBar * _arg0;
4888 int _arg1;
4889 bool _arg2;
4890 char * _argc0 = 0;
4891 int tempbool2;
4892
4893 self = self;
4894 if(!PyArg_ParseTuple(args,"sii:wxMenuBar_Check",&_argc0,&_arg1,&tempbool2))
4895 return NULL;
4896 if (_argc0) {
4897 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuBar_p")) {
4898 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
4899 return NULL;
4900 }
4901 }
4902 _arg2 = (bool ) tempbool2;
cf694132
RD
4903{
4904 wxPy_BEGIN_ALLOW_THREADS;
4905 wxMenuBar_Check(_arg0,_arg1,_arg2);
4906
4907 wxPy_END_ALLOW_THREADS;
4908} Py_INCREF(Py_None);
8ab979d7
RD
4909 _resultobj = Py_None;
4910 return _resultobj;
4911}
4912
4913#define wxMenuBar_Checked(_swigobj,_swigarg0) (_swigobj->Checked(_swigarg0))
4914static PyObject *_wrap_wxMenuBar_Checked(PyObject *self, PyObject *args) {
4915 PyObject * _resultobj;
4916 bool _result;
4917 wxMenuBar * _arg0;
4918 int _arg1;
4919 char * _argc0 = 0;
4920
4921 self = self;
4922 if(!PyArg_ParseTuple(args,"si:wxMenuBar_Checked",&_argc0,&_arg1))
4923 return NULL;
4924 if (_argc0) {
4925 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuBar_p")) {
4926 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Checked. Expected _wxMenuBar_p.");
4927 return NULL;
4928 }
4929 }
cf694132
RD
4930{
4931 wxPy_BEGIN_ALLOW_THREADS;
4932 _result = (bool )wxMenuBar_Checked(_arg0,_arg1);
4933
4934 wxPy_END_ALLOW_THREADS;
4935} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4936 return _resultobj;
4937}
4938
4939#define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
4940static PyObject *_wrap_wxMenuBar_Enable(PyObject *self, PyObject *args) {
4941 PyObject * _resultobj;
4942 wxMenuBar * _arg0;
4943 int _arg1;
4944 bool _arg2;
4945 char * _argc0 = 0;
4946 int tempbool2;
4947
4948 self = self;
4949 if(!PyArg_ParseTuple(args,"sii:wxMenuBar_Enable",&_argc0,&_arg1,&tempbool2))
4950 return NULL;
4951 if (_argc0) {
4952 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuBar_p")) {
4953 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
4954 return NULL;
4955 }
4956 }
4957 _arg2 = (bool ) tempbool2;
cf694132
RD
4958{
4959 wxPy_BEGIN_ALLOW_THREADS;
4960 wxMenuBar_Enable(_arg0,_arg1,_arg2);
4961
4962 wxPy_END_ALLOW_THREADS;
4963} Py_INCREF(Py_None);
8ab979d7
RD
4964 _resultobj = Py_None;
4965 return _resultobj;
4966}
4967
4968#define wxMenuBar_Enabled(_swigobj,_swigarg0) (_swigobj->Enabled(_swigarg0))
4969static PyObject *_wrap_wxMenuBar_Enabled(PyObject *self, PyObject *args) {
4970 PyObject * _resultobj;
4971 bool _result;
4972 wxMenuBar * _arg0;
4973 int _arg1;
4974 char * _argc0 = 0;
4975
4976 self = self;
4977 if(!PyArg_ParseTuple(args,"si:wxMenuBar_Enabled",&_argc0,&_arg1))
4978 return NULL;
4979 if (_argc0) {
4980 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuBar_p")) {
4981 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Enabled. Expected _wxMenuBar_p.");
4982 return NULL;
4983 }
4984 }
cf694132
RD
4985{
4986 wxPy_BEGIN_ALLOW_THREADS;
4987 _result = (bool )wxMenuBar_Enabled(_arg0,_arg1);
4988
4989 wxPy_END_ALLOW_THREADS;
4990} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4991 return _resultobj;
4992}
4993
4994#define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
4995static PyObject *_wrap_wxMenuBar_FindMenuItem(PyObject *self, PyObject *args) {
4996 PyObject * _resultobj;
4997 int _result;
4998 wxMenuBar * _arg0;
4999 wxString * _arg1;
5000 wxString * _arg2;
5001 char * _argc0 = 0;
5002 PyObject * _obj1 = 0;
5003 PyObject * _obj2 = 0;
5004
5005 self = self;
5006 if(!PyArg_ParseTuple(args,"sOO:wxMenuBar_FindMenuItem",&_argc0,&_obj1,&_obj2))
5007 return NULL;
5008 if (_argc0) {
5009 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuBar_p")) {
5010 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
5011 return NULL;
5012 }
5013 }
5014{
5015 if (!PyString_Check(_obj1)) {
5016 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5017 return NULL;
5018 }
cf694132 5019 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
8ab979d7
RD
5020}
5021{
5022 if (!PyString_Check(_obj2)) {
5023 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5024 return NULL;
5025 }
cf694132 5026 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
8ab979d7 5027}
cf694132
RD
5028{
5029 wxPy_BEGIN_ALLOW_THREADS;
5030 _result = (int )wxMenuBar_FindMenuItem(_arg0,*_arg1,*_arg2);
5031
5032 wxPy_END_ALLOW_THREADS;
5033} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5034{
5035 if (_obj1)
5036 delete _arg1;
5037}
5038{
5039 if (_obj2)
5040 delete _arg2;
5041}
5042 return _resultobj;
5043}
5044
5045#define wxMenuBar_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
5046static PyObject *_wrap_wxMenuBar_FindItemForId(PyObject *self, PyObject *args) {
5047 PyObject * _resultobj;
5048 wxMenuItem * _result;
5049 wxMenuBar * _arg0;
5050 int _arg1;
5051 char * _argc0 = 0;
5052 char _ptemp[128];
5053
5054 self = self;
5055 if(!PyArg_ParseTuple(args,"si:wxMenuBar_FindItemForId",&_argc0,&_arg1))
5056 return NULL;
5057 if (_argc0) {
5058 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuBar_p")) {
5059 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_FindItemForId. Expected _wxMenuBar_p.");
5060 return NULL;
5061 }
5062 }
cf694132
RD
5063{
5064 wxPy_BEGIN_ALLOW_THREADS;
5065 _result = (wxMenuItem *)wxMenuBar_FindItemForId(_arg0,_arg1);
5066
5067 wxPy_END_ALLOW_THREADS;
5068} SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuItem_p");
8ab979d7
RD
5069 _resultobj = Py_BuildValue("s",_ptemp);
5070 return _resultobj;
5071}
5072
5073#define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
5074static PyObject *_wrap_wxMenuBar_EnableTop(PyObject *self, PyObject *args) {
5075 PyObject * _resultobj;
5076 wxMenuBar * _arg0;
5077 int _arg1;
5078 bool _arg2;
5079 char * _argc0 = 0;
5080 int tempbool2;
5081
5082 self = self;
5083 if(!PyArg_ParseTuple(args,"sii:wxMenuBar_EnableTop",&_argc0,&_arg1,&tempbool2))
5084 return NULL;
5085 if (_argc0) {
5086 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuBar_p")) {
5087 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
5088 return NULL;
5089 }
5090 }
5091 _arg2 = (bool ) tempbool2;
cf694132
RD
5092{
5093 wxPy_BEGIN_ALLOW_THREADS;
5094 wxMenuBar_EnableTop(_arg0,_arg1,_arg2);
5095
5096 wxPy_END_ALLOW_THREADS;
5097} Py_INCREF(Py_None);
8ab979d7
RD
5098 _resultobj = Py_None;
5099 return _resultobj;
5100}
5101
5102#define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
5103static PyObject *_wrap_wxMenuBar_GetHelpString(PyObject *self, PyObject *args) {
5104 PyObject * _resultobj;
5105 wxString * _result;
5106 wxMenuBar * _arg0;
5107 int _arg1;
5108 char * _argc0 = 0;
5109
5110 self = self;
5111 if(!PyArg_ParseTuple(args,"si:wxMenuBar_GetHelpString",&_argc0,&_arg1))
5112 return NULL;
5113 if (_argc0) {
5114 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuBar_p")) {
5115 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
5116 return NULL;
5117 }
5118 }
8ab979d7 5119{
cf694132
RD
5120 wxPy_BEGIN_ALLOW_THREADS;
5121 _result = new wxString (wxMenuBar_GetHelpString(_arg0,_arg1));
5122
5123 wxPy_END_ALLOW_THREADS;
5124}{
8ab979d7
RD
5125 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
5126}
5127{
5128 delete _result;
5129}
5130 return _resultobj;
5131}
5132
5133#define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
5134static PyObject *_wrap_wxMenuBar_GetLabel(PyObject *self, PyObject *args) {
5135 PyObject * _resultobj;
5136 wxString * _result;
5137 wxMenuBar * _arg0;
5138 int _arg1;
5139 char * _argc0 = 0;
5140
5141 self = self;
5142 if(!PyArg_ParseTuple(args,"si:wxMenuBar_GetLabel",&_argc0,&_arg1))
5143 return NULL;
5144 if (_argc0) {
5145 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuBar_p")) {
5146 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
5147 return NULL;
5148 }
5149 }
8ab979d7 5150{
cf694132
RD
5151 wxPy_BEGIN_ALLOW_THREADS;
5152 _result = new wxString (wxMenuBar_GetLabel(_arg0,_arg1));
5153
5154 wxPy_END_ALLOW_THREADS;
5155}{
8ab979d7
RD
5156 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
5157}
5158{
5159 delete _result;
5160}
5161 return _resultobj;
5162}
5163
5164#define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
5165static PyObject *_wrap_wxMenuBar_SetHelpString(PyObject *self, PyObject *args) {
5166 PyObject * _resultobj;
5167 wxMenuBar * _arg0;
5168 int _arg1;
5169 wxString * _arg2;
5170 char * _argc0 = 0;
5171 PyObject * _obj2 = 0;
5172
5173 self = self;
5174 if(!PyArg_ParseTuple(args,"siO:wxMenuBar_SetHelpString",&_argc0,&_arg1,&_obj2))
5175 return NULL;
5176 if (_argc0) {
5177 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuBar_p")) {
5178 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
5179 return NULL;
5180 }
5181 }
5182{
5183 if (!PyString_Check(_obj2)) {
5184 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5185 return NULL;
5186 }
cf694132 5187 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
8ab979d7 5188}
cf694132
RD
5189{
5190 wxPy_BEGIN_ALLOW_THREADS;
5191 wxMenuBar_SetHelpString(_arg0,_arg1,*_arg2);
5192
5193 wxPy_END_ALLOW_THREADS;
5194} Py_INCREF(Py_None);
8ab979d7
RD
5195 _resultobj = Py_None;
5196{
5197 if (_obj2)
5198 delete _arg2;
5199}
5200 return _resultobj;
5201}
5202
5203#define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
5204static PyObject *_wrap_wxMenuBar_SetLabel(PyObject *self, PyObject *args) {
5205 PyObject * _resultobj;
5206 wxMenuBar * _arg0;
5207 int _arg1;
5208 wxString * _arg2;
5209 char * _argc0 = 0;
5210 PyObject * _obj2 = 0;
5211
5212 self = self;
5213 if(!PyArg_ParseTuple(args,"siO:wxMenuBar_SetLabel",&_argc0,&_arg1,&_obj2))
5214 return NULL;
5215 if (_argc0) {
5216 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuBar_p")) {
5217 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
5218 return NULL;
5219 }
5220 }
5221{
5222 if (!PyString_Check(_obj2)) {
5223 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5224 return NULL;
5225 }
cf694132 5226 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
8ab979d7 5227}
cf694132
RD
5228{
5229 wxPy_BEGIN_ALLOW_THREADS;
5230 wxMenuBar_SetLabel(_arg0,_arg1,*_arg2);
5231
5232 wxPy_END_ALLOW_THREADS;
5233} Py_INCREF(Py_None);
8ab979d7
RD
5234 _resultobj = Py_None;
5235{
5236 if (_obj2)
5237 delete _arg2;
5238}
5239 return _resultobj;
5240}
5241
5242#define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
5243static PyObject *_wrap_wxMenuBar_GetLabelTop(PyObject *self, PyObject *args) {
5244 PyObject * _resultobj;
5245 wxString * _result;
5246 wxMenuBar * _arg0;
5247 int _arg1;
5248 char * _argc0 = 0;
5249
5250 self = self;
5251 if(!PyArg_ParseTuple(args,"si:wxMenuBar_GetLabelTop",&_argc0,&_arg1))
5252 return NULL;
5253 if (_argc0) {
5254 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuBar_p")) {
5255 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
5256 return NULL;
5257 }
5258 }
8ab979d7 5259{
cf694132
RD
5260 wxPy_BEGIN_ALLOW_THREADS;
5261 _result = new wxString (wxMenuBar_GetLabelTop(_arg0,_arg1));
5262
5263 wxPy_END_ALLOW_THREADS;
5264}{
8ab979d7
RD
5265 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
5266}
5267{
5268 delete _result;
5269}
5270 return _resultobj;
5271}
5272
5273#define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
5274static PyObject *_wrap_wxMenuBar_SetLabelTop(PyObject *self, PyObject *args) {
5275 PyObject * _resultobj;
5276 wxMenuBar * _arg0;
5277 int _arg1;
5278 wxString * _arg2;
5279 char * _argc0 = 0;
5280 PyObject * _obj2 = 0;
5281
5282 self = self;
5283 if(!PyArg_ParseTuple(args,"siO:wxMenuBar_SetLabelTop",&_argc0,&_arg1,&_obj2))
5284 return NULL;
5285 if (_argc0) {
5286 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuBar_p")) {
5287 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
5288 return NULL;
5289 }
5290 }
5291{
5292 if (!PyString_Check(_obj2)) {
5293 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5294 return NULL;
5295 }
cf694132 5296 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
8ab979d7 5297}
cf694132
RD
5298{
5299 wxPy_BEGIN_ALLOW_THREADS;
5300 wxMenuBar_SetLabelTop(_arg0,_arg1,*_arg2);
5301
5302 wxPy_END_ALLOW_THREADS;
5303} Py_INCREF(Py_None);
8ab979d7
RD
5304 _resultobj = Py_None;
5305{
5306 if (_obj2)
5307 delete _arg2;
5308}
5309 return _resultobj;
5310}
5311
5312#define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
5313static PyObject *_wrap_wxMenuBar_GetMenuCount(PyObject *self, PyObject *args) {
5314 PyObject * _resultobj;
5315 int _result;
5316 wxMenuBar * _arg0;
5317 char * _argc0 = 0;
5318
5319 self = self;
5320 if(!PyArg_ParseTuple(args,"s:wxMenuBar_GetMenuCount",&_argc0))
5321 return NULL;
5322 if (_argc0) {
5323 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuBar_p")) {
5324 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
5325 return NULL;
5326 }
5327 }
cf694132
RD
5328{
5329 wxPy_BEGIN_ALLOW_THREADS;
5330 _result = (int )wxMenuBar_GetMenuCount(_arg0);
5331
5332 wxPy_END_ALLOW_THREADS;
5333} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5334 return _resultobj;
5335}
5336
5337#define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
5338static PyObject *_wrap_wxMenuBar_GetMenu(PyObject *self, PyObject *args) {
5339 PyObject * _resultobj;
5340 wxMenu * _result;
5341 wxMenuBar * _arg0;
5342 int _arg1;
5343 char * _argc0 = 0;
5344 char _ptemp[128];
5345
5346 self = self;
5347 if(!PyArg_ParseTuple(args,"si:wxMenuBar_GetMenu",&_argc0,&_arg1))
5348 return NULL;
5349 if (_argc0) {
5350 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuBar_p")) {
5351 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
5352 return NULL;
5353 }
5354 }
cf694132
RD
5355{
5356 wxPy_BEGIN_ALLOW_THREADS;
5357 _result = (wxMenu *)wxMenuBar_GetMenu(_arg0,_arg1);
5358
5359 wxPy_END_ALLOW_THREADS;
5360} SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenu_p");
8ab979d7
RD
5361 _resultobj = Py_BuildValue("s",_ptemp);
5362 return _resultobj;
5363}
5364
cf694132
RD
5365#define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5366static PyObject *_wrap_new_wxMenuItem(PyObject *self, PyObject *args) {
5367 PyObject * _resultobj;
5368 wxMenuItem * _result;
5369 wxMenu * _arg0 = NULL;
5370 int _arg1 = ID_SEPARATOR;
5371 wxString * _arg2 = &wxPyEmptyStr;
5372 wxString * _arg3 = &wxPyEmptyStr;
5373 bool _arg4 = (0);
5374 wxMenu * _arg5 = NULL;
5375 char * _argc0 = 0;
5376 PyObject * _obj2 = 0;
5377 PyObject * _obj3 = 0;
5378 int tempbool4;
5379 char * _argc5 = 0;
5380 char _ptemp[128];
5381
5382 self = self;
5383 if(!PyArg_ParseTuple(args,"|siOOis:new_wxMenuItem",&_argc0,&_arg1,&_obj2,&_obj3,&tempbool4,&_argc5))
5384 return NULL;
5385 if (_argc0) {
5386 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenu_p")) {
5387 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
5388 return NULL;
5389 }
5390 }
5391 if (_obj2)
5392{
5393 if (!PyString_Check(_obj2)) {
5394 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5395 return NULL;
5396 }
5397 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
5398}
5399 if (_obj3)
5400{
5401 if (!PyString_Check(_obj3)) {
5402 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5403 return NULL;
5404 }
5405 _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3));
5406}
5407 _arg4 = (bool ) tempbool4;
5408 if (_argc5) {
5409 if (SWIG_GetPtr(_argc5,(void **) &_arg5,"_wxMenu_p")) {
5410 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
5411 return NULL;
5412 }
5413 }
5414{
5415 wxPy_BEGIN_ALLOW_THREADS;
5416 _result = (wxMenuItem *)new_wxMenuItem(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
5417
5418 wxPy_END_ALLOW_THREADS;
5419} SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuItem_p");
5420 _resultobj = Py_BuildValue("s",_ptemp);
5421{
5422 if (_obj2)
5423 delete _arg2;
5424}
5425{
5426 if (_obj3)
5427 delete _arg3;
5428}
5429 return _resultobj;
5430}
5431
8ab979d7
RD
5432#define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
5433static PyObject *_wrap_wxMenuItem_IsSeparator(PyObject *self, PyObject *args) {
5434 PyObject * _resultobj;
5435 bool _result;
5436 wxMenuItem * _arg0;
5437 char * _argc0 = 0;
5438
5439 self = self;
5440 if(!PyArg_ParseTuple(args,"s:wxMenuItem_IsSeparator",&_argc0))
5441 return NULL;
5442 if (_argc0) {
5443 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) {
5444 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
5445 return NULL;
5446 }
5447 }
cf694132
RD
5448{
5449 wxPy_BEGIN_ALLOW_THREADS;
5450 _result = (bool )wxMenuItem_IsSeparator(_arg0);
5451
5452 wxPy_END_ALLOW_THREADS;
5453} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5454 return _resultobj;
5455}
5456
5457#define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
5458static PyObject *_wrap_wxMenuItem_IsEnabled(PyObject *self, PyObject *args) {
5459 PyObject * _resultobj;
5460 bool _result;
5461 wxMenuItem * _arg0;
5462 char * _argc0 = 0;
5463
5464 self = self;
5465 if(!PyArg_ParseTuple(args,"s:wxMenuItem_IsEnabled",&_argc0))
5466 return NULL;
5467 if (_argc0) {
5468 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) {
5469 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
5470 return NULL;
5471 }
5472 }
cf694132
RD
5473{
5474 wxPy_BEGIN_ALLOW_THREADS;
5475 _result = (bool )wxMenuItem_IsEnabled(_arg0);
5476
5477 wxPy_END_ALLOW_THREADS;
5478} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5479 return _resultobj;
5480}
5481
5482#define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
5483static PyObject *_wrap_wxMenuItem_IsChecked(PyObject *self, PyObject *args) {
5484 PyObject * _resultobj;
5485 bool _result;
5486 wxMenuItem * _arg0;
5487 char * _argc0 = 0;
5488
5489 self = self;
5490 if(!PyArg_ParseTuple(args,"s:wxMenuItem_IsChecked",&_argc0))
5491 return NULL;
5492 if (_argc0) {
5493 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) {
5494 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
5495 return NULL;
5496 }
5497 }
cf694132
RD
5498{
5499 wxPy_BEGIN_ALLOW_THREADS;
5500 _result = (bool )wxMenuItem_IsChecked(_arg0);
5501
5502 wxPy_END_ALLOW_THREADS;
5503} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5504 return _resultobj;
5505}
5506
5507#define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
5508static PyObject *_wrap_wxMenuItem_IsCheckable(PyObject *self, PyObject *args) {
5509 PyObject * _resultobj;
5510 bool _result;
5511 wxMenuItem * _arg0;
5512 char * _argc0 = 0;
5513
5514 self = self;
5515 if(!PyArg_ParseTuple(args,"s:wxMenuItem_IsCheckable",&_argc0))
5516 return NULL;
5517 if (_argc0) {
5518 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) {
5519 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
5520 return NULL;
5521 }
5522 }
cf694132
RD
5523{
5524 wxPy_BEGIN_ALLOW_THREADS;
5525 _result = (bool )wxMenuItem_IsCheckable(_arg0);
5526
5527 wxPy_END_ALLOW_THREADS;
5528} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5529 return _resultobj;
5530}
5531
5532#define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
5533static PyObject *_wrap_wxMenuItem_GetId(PyObject *self, PyObject *args) {
5534 PyObject * _resultobj;
5535 int _result;
5536 wxMenuItem * _arg0;
5537 char * _argc0 = 0;
5538
5539 self = self;
5540 if(!PyArg_ParseTuple(args,"s:wxMenuItem_GetId",&_argc0))
5541 return NULL;
5542 if (_argc0) {
5543 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) {
5544 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
5545 return NULL;
5546 }
5547 }
cf694132
RD
5548{
5549 wxPy_BEGIN_ALLOW_THREADS;
5550 _result = (int )wxMenuItem_GetId(_arg0);
5551
5552 wxPy_END_ALLOW_THREADS;
5553} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5554 return _resultobj;
5555}
5556
5557#define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
5558static PyObject *_wrap_wxMenuItem_GetSubMenu(PyObject *self, PyObject *args) {
5559 PyObject * _resultobj;
5560 wxMenu * _result;
5561 wxMenuItem * _arg0;
5562 char * _argc0 = 0;
5563 char _ptemp[128];
5564
5565 self = self;
5566 if(!PyArg_ParseTuple(args,"s:wxMenuItem_GetSubMenu",&_argc0))
5567 return NULL;
5568 if (_argc0) {
5569 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) {
5570 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
5571 return NULL;
5572 }
5573 }
cf694132
RD
5574{
5575 wxPy_BEGIN_ALLOW_THREADS;
5576 _result = (wxMenu *)wxMenuItem_GetSubMenu(_arg0);
5577
5578 wxPy_END_ALLOW_THREADS;
5579} SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenu_p");
8ab979d7
RD
5580 _resultobj = Py_BuildValue("s",_ptemp);
5581 return _resultobj;
5582}
5583
5584#define wxMenuItem_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
5585static PyObject *_wrap_wxMenuItem_SetName(PyObject *self, PyObject *args) {
5586 PyObject * _resultobj;
5587 wxMenuItem * _arg0;
5588 wxString * _arg1;
5589 char * _argc0 = 0;
5590 PyObject * _obj1 = 0;
5591
5592 self = self;
5593 if(!PyArg_ParseTuple(args,"sO:wxMenuItem_SetName",&_argc0,&_obj1))
5594 return NULL;
5595 if (_argc0) {
5596 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) {
5597 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetName. Expected _wxMenuItem_p.");
5598 return NULL;
5599 }
5600 }
5601{
5602 if (!PyString_Check(_obj1)) {
5603 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5604 return NULL;
5605 }
cf694132 5606 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
8ab979d7 5607}
cf694132
RD
5608{
5609 wxPy_BEGIN_ALLOW_THREADS;
5610 wxMenuItem_SetName(_arg0,*_arg1);
5611
5612 wxPy_END_ALLOW_THREADS;
5613} Py_INCREF(Py_None);
8ab979d7
RD
5614 _resultobj = Py_None;
5615{
5616 if (_obj1)
5617 delete _arg1;
5618}
5619 return _resultobj;
5620}
5621
8ab979d7
RD
5622#define wxMenuItem_GetName(_swigobj) (_swigobj->GetName())
5623static PyObject *_wrap_wxMenuItem_GetName(PyObject *self, PyObject *args) {
5624 PyObject * _resultobj;
5625 wxString * _result;
5626 wxMenuItem * _arg0;
5627 char * _argc0 = 0;
5628
5629 self = self;
5630 if(!PyArg_ParseTuple(args,"s:wxMenuItem_GetName",&_argc0))
5631 return NULL;
5632 if (_argc0) {
5633 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) {
5634 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetName. Expected _wxMenuItem_p.");
5635 return NULL;
5636 }
5637 }
8ab979d7 5638{
cf694132
RD
5639 wxPy_BEGIN_ALLOW_THREADS;
5640 _result = new wxString (wxMenuItem_GetName(_arg0));
5641
5642 wxPy_END_ALLOW_THREADS;
5643}{
5644 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
5645}
5646{
5647 delete _result;
8ab979d7
RD
5648}
5649 return _resultobj;
5650}
5651
5652#define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
5653static PyObject *_wrap_wxMenuItem_GetHelp(PyObject *self, PyObject *args) {
5654 PyObject * _resultobj;
5655 wxString * _result;
5656 wxMenuItem * _arg0;
5657 char * _argc0 = 0;
5658
5659 self = self;
5660 if(!PyArg_ParseTuple(args,"s:wxMenuItem_GetHelp",&_argc0))
5661 return NULL;
5662 if (_argc0) {
5663 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) {
5664 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
5665 return NULL;
5666 }
5667 }
8ab979d7 5668{
cf694132
RD
5669 wxPy_BEGIN_ALLOW_THREADS;
5670 _result = new wxString (wxMenuItem_GetHelp(_arg0));
5671
5672 wxPy_END_ALLOW_THREADS;
5673}{
5674 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
5675}
5676{
5677 delete _result;
8ab979d7
RD
5678}
5679 return _resultobj;
5680}
5681
5682#define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
5683static PyObject *_wrap_wxMenuItem_SetHelp(PyObject *self, PyObject *args) {
5684 PyObject * _resultobj;
5685 wxMenuItem * _arg0;
5686 wxString * _arg1;
5687 char * _argc0 = 0;
5688 PyObject * _obj1 = 0;
5689
5690 self = self;
5691 if(!PyArg_ParseTuple(args,"sO:wxMenuItem_SetHelp",&_argc0,&_obj1))
5692 return NULL;
5693 if (_argc0) {
5694 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) {
5695 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
5696 return NULL;
5697 }
5698 }
5699{
5700 if (!PyString_Check(_obj1)) {
5701 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5702 return NULL;
5703 }
cf694132 5704 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
8ab979d7 5705}
cf694132
RD
5706{
5707 wxPy_BEGIN_ALLOW_THREADS;
5708 wxMenuItem_SetHelp(_arg0,*_arg1);
5709
5710 wxPy_END_ALLOW_THREADS;
5711} Py_INCREF(Py_None);
8ab979d7
RD
5712 _resultobj = Py_None;
5713{
5714 if (_obj1)
5715 delete _arg1;
5716}
5717 return _resultobj;
5718}
5719
5720#define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
5721static PyObject *_wrap_wxMenuItem_Enable(PyObject *self, PyObject *args) {
5722 PyObject * _resultobj;
5723 wxMenuItem * _arg0;
5724 bool _arg1 = (1);
5725 char * _argc0 = 0;
5726 int tempbool1;
5727
5728 self = self;
5729 if(!PyArg_ParseTuple(args,"s|i:wxMenuItem_Enable",&_argc0,&tempbool1))
5730 return NULL;
5731 if (_argc0) {
5732 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) {
5733 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
5734 return NULL;
5735 }
5736 }
5737 _arg1 = (bool ) tempbool1;
cf694132
RD
5738{
5739 wxPy_BEGIN_ALLOW_THREADS;
5740 wxMenuItem_Enable(_arg0,_arg1);
5741
5742 wxPy_END_ALLOW_THREADS;
5743} Py_INCREF(Py_None);
8ab979d7
RD
5744 _resultobj = Py_None;
5745 return _resultobj;
5746}
5747
5748#define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
5749static PyObject *_wrap_wxMenuItem_Check(PyObject *self, PyObject *args) {
5750 PyObject * _resultobj;
5751 wxMenuItem * _arg0;
5752 bool _arg1 = (1);
5753 char * _argc0 = 0;
5754 int tempbool1;
5755
5756 self = self;
5757 if(!PyArg_ParseTuple(args,"s|i:wxMenuItem_Check",&_argc0,&tempbool1))
5758 return NULL;
5759 if (_argc0) {
5760 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) {
5761 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
5762 return NULL;
5763 }
5764 }
5765 _arg1 = (bool ) tempbool1;
cf694132
RD
5766{
5767 wxPy_BEGIN_ALLOW_THREADS;
5768 wxMenuItem_Check(_arg0,_arg1);
5769
5770 wxPy_END_ALLOW_THREADS;
5771} Py_INCREF(Py_None);
5772 _resultobj = Py_None;
5773 return _resultobj;
5774}
5775
5776#define wxMenuItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
5777static PyObject *_wrap_wxMenuItem_GetBackgroundColour(PyObject *self, PyObject *args) {
5778 PyObject * _resultobj;
5779 wxColour * _result;
5780 wxMenuItem * _arg0;
5781 char * _argc0 = 0;
5782 char _ptemp[128];
5783
5784 self = self;
5785 if(!PyArg_ParseTuple(args,"s:wxMenuItem_GetBackgroundColour",&_argc0))
5786 return NULL;
5787 if (_argc0) {
5788 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) {
5789 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetBackgroundColour. Expected _wxMenuItem_p.");
5790 return NULL;
5791 }
5792 }
5793{
5794 wxPy_BEGIN_ALLOW_THREADS;
5795 wxColour & _result_ref = wxMenuItem_GetBackgroundColour(_arg0);
5796 _result = (wxColour *) &_result_ref;
5797
5798 wxPy_END_ALLOW_THREADS;
5799} SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
5800 _resultobj = Py_BuildValue("s",_ptemp);
5801 return _resultobj;
5802}
5803
5804#define wxMenuItem_GetBitmap(_swigobj,_swigarg0) (_swigobj->GetBitmap(_swigarg0))
5805static PyObject *_wrap_wxMenuItem_GetBitmap(PyObject *self, PyObject *args) {
5806 PyObject * _resultobj;
5807 wxBitmap * _result;
5808 wxMenuItem * _arg0;
5809 bool _arg1 = (1);
5810 char * _argc0 = 0;
5811 int tempbool1;
5812 char _ptemp[128];
5813
5814 self = self;
5815 if(!PyArg_ParseTuple(args,"s|i:wxMenuItem_GetBitmap",&_argc0,&tempbool1))
5816 return NULL;
5817 if (_argc0) {
5818 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) {
5819 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetBitmap. Expected _wxMenuItem_p.");
5820 return NULL;
5821 }
5822 }
5823 _arg1 = (bool ) tempbool1;
5824{
5825 wxPy_BEGIN_ALLOW_THREADS;
5826 _result = new wxBitmap (wxMenuItem_GetBitmap(_arg0,_arg1));
5827
5828 wxPy_END_ALLOW_THREADS;
5829} SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p");
5830 _resultobj = Py_BuildValue("s",_ptemp);
5831 return _resultobj;
5832}
5833
5834#define wxMenuItem_GetFont(_swigobj) (_swigobj->GetFont())
5835static PyObject *_wrap_wxMenuItem_GetFont(PyObject *self, PyObject *args) {
5836 PyObject * _resultobj;
5837 wxFont * _result;
5838 wxMenuItem * _arg0;
5839 char * _argc0 = 0;
5840 char _ptemp[128];
5841
5842 self = self;
5843 if(!PyArg_ParseTuple(args,"s:wxMenuItem_GetFont",&_argc0))
5844 return NULL;
5845 if (_argc0) {
5846 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) {
5847 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetFont. Expected _wxMenuItem_p.");
5848 return NULL;
5849 }
5850 }
5851{
5852 wxPy_BEGIN_ALLOW_THREADS;
5853 wxFont & _result_ref = wxMenuItem_GetFont(_arg0);
5854 _result = (wxFont *) &_result_ref;
5855
5856 wxPy_END_ALLOW_THREADS;
5857} SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
5858 _resultobj = Py_BuildValue("s",_ptemp);
5859 return _resultobj;
5860}
5861
5862#define wxMenuItem_GetMarginWidth(_swigobj) (_swigobj->GetMarginWidth())
5863static PyObject *_wrap_wxMenuItem_GetMarginWidth(PyObject *self, PyObject *args) {
5864 PyObject * _resultobj;
5865 int _result;
5866 wxMenuItem * _arg0;
5867 char * _argc0 = 0;
5868
5869 self = self;
5870 if(!PyArg_ParseTuple(args,"s:wxMenuItem_GetMarginWidth",&_argc0))
5871 return NULL;
5872 if (_argc0) {
5873 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) {
5874 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetMarginWidth. Expected _wxMenuItem_p.");
5875 return NULL;
5876 }
5877 }
5878{
5879 wxPy_BEGIN_ALLOW_THREADS;
5880 _result = (int )wxMenuItem_GetMarginWidth(_arg0);
5881
5882 wxPy_END_ALLOW_THREADS;
5883} _resultobj = Py_BuildValue("i",_result);
5884 return _resultobj;
5885}
5886
5887#define wxMenuItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
5888static PyObject *_wrap_wxMenuItem_GetTextColour(PyObject *self, PyObject *args) {
5889 PyObject * _resultobj;
5890 wxColour * _result;
5891 wxMenuItem * _arg0;
5892 char * _argc0 = 0;
5893 char _ptemp[128];
5894
5895 self = self;
5896 if(!PyArg_ParseTuple(args,"s:wxMenuItem_GetTextColour",&_argc0))
5897 return NULL;
5898 if (_argc0) {
5899 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) {
5900 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetTextColour. Expected _wxMenuItem_p.");
5901 return NULL;
5902 }
5903 }
5904{
5905 wxPy_BEGIN_ALLOW_THREADS;
5906 wxColour & _result_ref = wxMenuItem_GetTextColour(_arg0);
5907 _result = (wxColour *) &_result_ref;
5908
5909 wxPy_END_ALLOW_THREADS;
5910} SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
5911 _resultobj = Py_BuildValue("s",_ptemp);
5912 return _resultobj;
5913}
5914
5915#define wxMenuItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5916static PyObject *_wrap_wxMenuItem_SetBackgroundColour(PyObject *self, PyObject *args) {
5917 PyObject * _resultobj;
5918 wxMenuItem * _arg0;
5919 wxColour * _arg1;
5920 char * _argc0 = 0;
5921 char * _argc1 = 0;
5922
5923 self = self;
5924 if(!PyArg_ParseTuple(args,"ss:wxMenuItem_SetBackgroundColour",&_argc0,&_argc1))
5925 return NULL;
5926 if (_argc0) {
5927 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) {
5928 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetBackgroundColour. Expected _wxMenuItem_p.");
5929 return NULL;
5930 }
5931 }
5932 if (_argc1) {
5933 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxColour_p")) {
5934 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenuItem_SetBackgroundColour. Expected _wxColour_p.");
5935 return NULL;
5936 }
5937 }
5938{
5939 wxPy_BEGIN_ALLOW_THREADS;
5940 wxMenuItem_SetBackgroundColour(_arg0,*_arg1);
5941
5942 wxPy_END_ALLOW_THREADS;
5943} Py_INCREF(Py_None);
5944 _resultobj = Py_None;
5945 return _resultobj;
5946}
5947
5948#define wxMenuItem_SetBitmaps(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBitmaps(_swigarg0,_swigarg1))
5949static PyObject *_wrap_wxMenuItem_SetBitmaps(PyObject *self, PyObject *args) {
5950 PyObject * _resultobj;
5951 wxMenuItem * _arg0;
5952 wxBitmap * _arg1;
5953 wxBitmap * _arg2 = &wxNullBitmap;
5954 char * _argc0 = 0;
5955 char * _argc1 = 0;
5956 char * _argc2 = 0;
5957
5958 self = self;
5959 if(!PyArg_ParseTuple(args,"ss|s:wxMenuItem_SetBitmaps",&_argc0,&_argc1,&_argc2))
5960 return NULL;
5961 if (_argc0) {
5962 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) {
5963 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetBitmaps. Expected _wxMenuItem_p.");
5964 return NULL;
5965 }
5966 }
5967 if (_argc1) {
5968 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxBitmap_p")) {
5969 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenuItem_SetBitmaps. Expected _wxBitmap_p.");
5970 return NULL;
5971 }
5972 }
5973 if (_argc2) {
5974 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxBitmap_p")) {
5975 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxMenuItem_SetBitmaps. Expected _wxBitmap_p.");
5976 return NULL;
5977 }
5978 }
5979{
5980 wxPy_BEGIN_ALLOW_THREADS;
5981 wxMenuItem_SetBitmaps(_arg0,*_arg1,*_arg2);
5982
5983 wxPy_END_ALLOW_THREADS;
5984} Py_INCREF(Py_None);
5985 _resultobj = Py_None;
5986 return _resultobj;
5987}
5988
5989#define wxMenuItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5990static PyObject *_wrap_wxMenuItem_SetFont(PyObject *self, PyObject *args) {
5991 PyObject * _resultobj;
5992 wxMenuItem * _arg0;
5993 wxFont * _arg1;
5994 char * _argc0 = 0;
5995 char * _argc1 = 0;
5996
5997 self = self;
5998 if(!PyArg_ParseTuple(args,"ss:wxMenuItem_SetFont",&_argc0,&_argc1))
5999 return NULL;
6000 if (_argc0) {
6001 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) {
6002 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetFont. Expected _wxMenuItem_p.");
6003 return NULL;
6004 }
6005 }
6006 if (_argc1) {
6007 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxFont_p")) {
6008 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenuItem_SetFont. Expected _wxFont_p.");
6009 return NULL;
6010 }
6011 }
6012{
6013 wxPy_BEGIN_ALLOW_THREADS;
6014 wxMenuItem_SetFont(_arg0,*_arg1);
6015
6016 wxPy_END_ALLOW_THREADS;
6017} Py_INCREF(Py_None);
6018 _resultobj = Py_None;
6019 return _resultobj;
6020}
6021
6022#define wxMenuItem_SetMarginWidth(_swigobj,_swigarg0) (_swigobj->SetMarginWidth(_swigarg0))
6023static PyObject *_wrap_wxMenuItem_SetMarginWidth(PyObject *self, PyObject *args) {
6024 PyObject * _resultobj;
6025 wxMenuItem * _arg0;
6026 int _arg1;
6027 char * _argc0 = 0;
6028
6029 self = self;
6030 if(!PyArg_ParseTuple(args,"si:wxMenuItem_SetMarginWidth",&_argc0,&_arg1))
6031 return NULL;
6032 if (_argc0) {
6033 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) {
6034 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetMarginWidth. Expected _wxMenuItem_p.");
6035 return NULL;
6036 }
6037 }
6038{
6039 wxPy_BEGIN_ALLOW_THREADS;
6040 wxMenuItem_SetMarginWidth(_arg0,_arg1);
6041
6042 wxPy_END_ALLOW_THREADS;
6043} Py_INCREF(Py_None);
6044 _resultobj = Py_None;
6045 return _resultobj;
6046}
6047
6048#define wxMenuItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
6049static PyObject *_wrap_wxMenuItem_SetTextColour(PyObject *self, PyObject *args) {
6050 PyObject * _resultobj;
6051 wxMenuItem * _arg0;
6052 wxColour * _arg1;
6053 char * _argc0 = 0;
6054 char * _argc1 = 0;
6055
6056 self = self;
6057 if(!PyArg_ParseTuple(args,"ss:wxMenuItem_SetTextColour",&_argc0,&_argc1))
6058 return NULL;
6059 if (_argc0) {
6060 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) {
6061 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetTextColour. Expected _wxMenuItem_p.");
6062 return NULL;
6063 }
6064 }
6065 if (_argc1) {
6066 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxColour_p")) {
6067 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenuItem_SetTextColour. Expected _wxColour_p.");
6068 return NULL;
6069 }
6070 }
6071{
6072 wxPy_BEGIN_ALLOW_THREADS;
6073 wxMenuItem_SetTextColour(_arg0,*_arg1);
6074
6075 wxPy_END_ALLOW_THREADS;
6076} Py_INCREF(Py_None);
8ab979d7
RD
6077 _resultobj = Py_None;
6078 return _resultobj;
6079}
6080
be4d9c1f
RD
6081#define wxMenuItem_DeleteSubMenu(_swigobj) (_swigobj->DeleteSubMenu())
6082static PyObject *_wrap_wxMenuItem_DeleteSubMenu(PyObject *self, PyObject *args) {
6083 PyObject * _resultobj;
6084 wxMenuItem * _arg0;
6085 char * _argc0 = 0;
6086
6087 self = self;
6088 if(!PyArg_ParseTuple(args,"s:wxMenuItem_DeleteSubMenu",&_argc0))
6089 return NULL;
6090 if (_argc0) {
6091 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMenuItem_p")) {
6092 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_DeleteSubMenu. Expected _wxMenuItem_p.");
6093 return NULL;
6094 }
6095 }
cf694132
RD
6096{
6097 wxPy_BEGIN_ALLOW_THREADS;
6098 wxMenuItem_DeleteSubMenu(_arg0);
6099
6100 wxPy_END_ALLOW_THREADS;
6101} Py_INCREF(Py_None);
be4d9c1f
RD
6102 _resultobj = Py_None;
6103 return _resultobj;
6104}
6105
8ab979d7 6106static PyMethodDef windowscMethods[] = {
be4d9c1f 6107 { "wxMenuItem_DeleteSubMenu", _wrap_wxMenuItem_DeleteSubMenu, 1 },
cf694132
RD
6108 { "wxMenuItem_SetTextColour", _wrap_wxMenuItem_SetTextColour, 1 },
6109 { "wxMenuItem_SetMarginWidth", _wrap_wxMenuItem_SetMarginWidth, 1 },
6110 { "wxMenuItem_SetFont", _wrap_wxMenuItem_SetFont, 1 },
6111 { "wxMenuItem_SetBitmaps", _wrap_wxMenuItem_SetBitmaps, 1 },
6112 { "wxMenuItem_SetBackgroundColour", _wrap_wxMenuItem_SetBackgroundColour, 1 },
6113 { "wxMenuItem_GetTextColour", _wrap_wxMenuItem_GetTextColour, 1 },
6114 { "wxMenuItem_GetMarginWidth", _wrap_wxMenuItem_GetMarginWidth, 1 },
6115 { "wxMenuItem_GetFont", _wrap_wxMenuItem_GetFont, 1 },
6116 { "wxMenuItem_GetBitmap", _wrap_wxMenuItem_GetBitmap, 1 },
6117 { "wxMenuItem_GetBackgroundColour", _wrap_wxMenuItem_GetBackgroundColour, 1 },
8ab979d7
RD
6118 { "wxMenuItem_Check", _wrap_wxMenuItem_Check, 1 },
6119 { "wxMenuItem_Enable", _wrap_wxMenuItem_Enable, 1 },
6120 { "wxMenuItem_SetHelp", _wrap_wxMenuItem_SetHelp, 1 },
6121 { "wxMenuItem_GetHelp", _wrap_wxMenuItem_GetHelp, 1 },
6122 { "wxMenuItem_GetName", _wrap_wxMenuItem_GetName, 1 },
8ab979d7
RD
6123 { "wxMenuItem_SetName", _wrap_wxMenuItem_SetName, 1 },
6124 { "wxMenuItem_GetSubMenu", _wrap_wxMenuItem_GetSubMenu, 1 },
6125 { "wxMenuItem_GetId", _wrap_wxMenuItem_GetId, 1 },
6126 { "wxMenuItem_IsCheckable", _wrap_wxMenuItem_IsCheckable, 1 },
6127 { "wxMenuItem_IsChecked", _wrap_wxMenuItem_IsChecked, 1 },
6128 { "wxMenuItem_IsEnabled", _wrap_wxMenuItem_IsEnabled, 1 },
6129 { "wxMenuItem_IsSeparator", _wrap_wxMenuItem_IsSeparator, 1 },
cf694132 6130 { "new_wxMenuItem", _wrap_new_wxMenuItem, 1 },
8ab979d7
RD
6131 { "wxMenuBar_GetMenu", _wrap_wxMenuBar_GetMenu, 1 },
6132 { "wxMenuBar_GetMenuCount", _wrap_wxMenuBar_GetMenuCount, 1 },
6133 { "wxMenuBar_SetLabelTop", _wrap_wxMenuBar_SetLabelTop, 1 },
6134 { "wxMenuBar_GetLabelTop", _wrap_wxMenuBar_GetLabelTop, 1 },
6135 { "wxMenuBar_SetLabel", _wrap_wxMenuBar_SetLabel, 1 },
6136 { "wxMenuBar_SetHelpString", _wrap_wxMenuBar_SetHelpString, 1 },
6137 { "wxMenuBar_GetLabel", _wrap_wxMenuBar_GetLabel, 1 },
6138 { "wxMenuBar_GetHelpString", _wrap_wxMenuBar_GetHelpString, 1 },
6139 { "wxMenuBar_EnableTop", _wrap_wxMenuBar_EnableTop, 1 },
6140 { "wxMenuBar_FindItemForId", _wrap_wxMenuBar_FindItemForId, 1 },
6141 { "wxMenuBar_FindMenuItem", _wrap_wxMenuBar_FindMenuItem, 1 },
6142 { "wxMenuBar_Enabled", _wrap_wxMenuBar_Enabled, 1 },
6143 { "wxMenuBar_Enable", _wrap_wxMenuBar_Enable, 1 },
6144 { "wxMenuBar_Checked", _wrap_wxMenuBar_Checked, 1 },
6145 { "wxMenuBar_Check", _wrap_wxMenuBar_Check, 1 },
6146 { "wxMenuBar_Append", _wrap_wxMenuBar_Append, 1 },
6147 { "new_wxMenuBar", _wrap_new_wxMenuBar, 1 },
8bf5d46e 6148 { "wxMenu_UpdateUI", _wrap_wxMenu_UpdateUI, 1 },
8ab979d7
RD
6149 { "wxMenu_SetLabel", _wrap_wxMenu_SetLabel, 1 },
6150 { "wxMenu_IsEnabled", _wrap_wxMenu_IsEnabled, 1 },
6151 { "wxMenu_IsChecked", _wrap_wxMenu_IsChecked, 1 },
6152 { "wxMenu_SetHelpString", _wrap_wxMenu_SetHelpString, 1 },
6153 { "wxMenu_GetLabel", _wrap_wxMenu_GetLabel, 1 },
6154 { "wxMenu_GetHelpString", _wrap_wxMenu_GetHelpString, 1 },
6155 { "wxMenu_FindItemForId", _wrap_wxMenu_FindItemForId, 1 },
6156 { "wxMenu_SetTitle", _wrap_wxMenu_SetTitle, 1 },
6157 { "wxMenu_GetTitle", _wrap_wxMenu_GetTitle, 1 },
6158 { "wxMenu_FindItem", _wrap_wxMenu_FindItem, 1 },
6159 { "wxMenu_Enable", _wrap_wxMenu_Enable, 1 },
6160 { "wxMenu_Check", _wrap_wxMenu_Check, 1 },
6161 { "wxMenu_Break", _wrap_wxMenu_Break, 1 },
6162 { "wxMenu_AppendSeparator", _wrap_wxMenu_AppendSeparator, 1 },
af309447 6163 { "wxMenu_AppendItem", _wrap_wxMenu_AppendItem, 1 },
8ab979d7
RD
6164 { "wxMenu_AppendMenu", _wrap_wxMenu_AppendMenu, 1 },
6165 { "wxMenu_Append", _wrap_wxMenu_Append, 1 },
6166 { "new_wxMenu", _wrap_new_wxMenu, 1 },
6167 { "wxScrolledWindow_ViewStart", _wrap_wxScrolledWindow_ViewStart, 1 },
6168 { "wxScrolledWindow_SetScrollbars", _wrap_wxScrolledWindow_SetScrollbars, 1 },
6169 { "wxScrolledWindow_Scroll", _wrap_wxScrolledWindow_Scroll, 1 },
6170 { "wxScrolledWindow_PrepareDC", _wrap_wxScrolledWindow_PrepareDC, 1 },
6171 { "wxScrolledWindow_IsRetained", _wrap_wxScrolledWindow_IsRetained, 1 },
6172 { "wxScrolledWindow_GetVirtualSize", _wrap_wxScrolledWindow_GetVirtualSize, 1 },
6173 { "wxScrolledWindow_GetScrollPixelsPerUnit", _wrap_wxScrolledWindow_GetScrollPixelsPerUnit, 1 },
6174 { "wxScrolledWindow_EnableScrolling", _wrap_wxScrolledWindow_EnableScrolling, 1 },
6175 { "new_wxScrolledWindow", _wrap_new_wxScrolledWindow, 1 },
bb0054cd
RD
6176 { "wxDialog_SetReturnCode", _wrap_wxDialog_SetReturnCode, 1 },
6177 { "wxDialog_GetReturnCode", _wrap_wxDialog_GetReturnCode, 1 },
8ab979d7
RD
6178 { "wxDialog_ShowModal", _wrap_wxDialog_ShowModal, 1 },
6179 { "wxDialog_Show", _wrap_wxDialog_Show, 1 },
6180 { "wxDialog_SetTitle", _wrap_wxDialog_SetTitle, 1 },
6181 { "wxDialog_IsModal", _wrap_wxDialog_IsModal, 1 },
6182 { "wxDialog_SetModal", _wrap_wxDialog_SetModal, 1 },
6183 { "wxDialog_IsIconized", _wrap_wxDialog_IsIconized, 1 },
6184 { "wxDialog_Iconize", _wrap_wxDialog_Iconize, 1 },
6185 { "wxDialog_GetTitle", _wrap_wxDialog_GetTitle, 1 },
6186 { "wxDialog_EndModal", _wrap_wxDialog_EndModal, 1 },
6187 { "wxDialog_Centre", _wrap_wxDialog_Centre, 1 },
6188 { "new_wxDialog", _wrap_new_wxDialog, 1 },
bb0054cd
RD
6189 { "wxPanel_SetDefaultItem", _wrap_wxPanel_SetDefaultItem, 1 },
6190 { "wxPanel_GetDefaultItem", _wrap_wxPanel_GetDefaultItem, 1 },
8ab979d7
RD
6191 { "wxPanel_InitDialog", _wrap_wxPanel_InitDialog, 1 },
6192 { "new_wxPanel", _wrap_new_wxPanel, 1 },
af309447
RD
6193 { "wxWindow_GetToolTip", _wrap_wxWindow_GetToolTip, 1 },
6194 { "wxWindow_SetToolTip", _wrap_wxWindow_SetToolTip, 1 },
6195 { "wxWindow_SetToolTipString", _wrap_wxWindow_SetToolTipString, 1 },
b8b8dda7
RD
6196 { "wxWindow_ConvertPixelSizeToDialog", _wrap_wxWindow_ConvertPixelSizeToDialog, 1 },
6197 { "wxWindow_ConvertPixelPointToDialog", _wrap_wxWindow_ConvertPixelPointToDialog, 1 },
cf694132
RD
6198 { "wxWindow_DLG_SZE", _wrap_wxWindow_ConvertDialogSizeToPixels, 1 },
6199 { "wxWindow_DLG_PNT", _wrap_wxWindow_ConvertDialogPointToPixels, 1 },
b8b8dda7
RD
6200 { "wxWindow_ConvertDialogSizeToPixels", _wrap_wxWindow_ConvertDialogSizeToPixels, 1 },
6201 { "wxWindow_ConvertDialogPointToPixels", _wrap_wxWindow_ConvertDialogPointToPixels, 1 },
8ab979d7
RD
6202 { "wxWindow_WarpPointer", _wrap_wxWindow_WarpPointer, 1 },
6203 { "wxWindow_Validate", _wrap_wxWindow_Validate, 1 },
6204 { "wxWindow_TransferDataToWindow", _wrap_wxWindow_TransferDataToWindow, 1 },
6205 { "wxWindow_TransferDataFromWindow", _wrap_wxWindow_TransferDataFromWindow, 1 },
6206 { "wxWindow_Show", _wrap_wxWindow_Show, 1 },
6207 { "wxWindow_SetTitle", _wrap_wxWindow_SetTitle, 1 },
6208 { "wxWindow_SetCursor", _wrap_wxWindow_SetCursor, 1 },
6209 { "wxWindow_SetClientSize", _wrap_wxWindow_SetClientSize, 1 },
af309447 6210 { "wxWindow_SetClientSizeWH", _wrap_wxWindow_SetClientSizeWH, 1 },
8ab979d7
RD
6211 { "wxWindow_SetSizeHints", _wrap_wxWindow_SetSizeHints, 1 },
6212 { "wxWindow_SetPosition", _wrap_wxWindow_SetPosition, 1 },
6213 { "wxWindow_SetSize", _wrap_wxWindow_SetSize, 1 },
6214 { "wxWindow_SetDimensions", _wrap_wxWindow_SetDimensions, 1 },
6215 { "wxWindow_SetScrollPos", _wrap_wxWindow_SetScrollPos, 1 },
6216 { "wxWindow_SetScrollbar", _wrap_wxWindow_SetScrollbar, 1 },
8ab979d7
RD
6217 { "wxWindow_SetName", _wrap_wxWindow_SetName, 1 },
6218 { "wxWindow_SetId", _wrap_wxWindow_SetId, 1 },
6219 { "wxWindow_SetForegroundColour", _wrap_wxWindow_SetForegroundColour, 1 },
6220 { "wxWindow_SetFont", _wrap_wxWindow_SetFont, 1 },
6221 { "wxWindow_SetFocus", _wrap_wxWindow_SetFocus, 1 },
8ab979d7
RD
6222 { "wxWindow_SetConstraints", _wrap_wxWindow_SetConstraints, 1 },
6223 { "wxWindow_SetBackgroundColour", _wrap_wxWindow_SetBackgroundColour, 1 },
6224 { "wxWindow_SetAutoLayout", _wrap_wxWindow_SetAutoLayout, 1 },
b8b8dda7 6225 { "wxWindow_SetAcceleratorTable", _wrap_wxWindow_SetAcceleratorTable, 1 },
8ab979d7
RD
6226 { "wxWindow_ScrollWindow", _wrap_wxWindow_ScrollWindow, 1 },
6227 { "wxWindow_ScreenToClient", _wrap_wxWindow_ScreenToClient, 1 },
af309447 6228 { "wxWindow_ScreenToClientXY", _wrap_wxWindow_ScreenToClientXY, 1 },
bb0054cd 6229 { "wxWindow_Reparent", _wrap_wxWindow_Reparent, 1 },
8ab979d7
RD
6230 { "wxWindow_ReleaseMouse", _wrap_wxWindow_ReleaseMouse, 1 },
6231 { "wxWindow_Refresh", _wrap_wxWindow_Refresh, 1 },
6232 { "wxWindow_Raise", _wrap_wxWindow_Raise, 1 },
6233 { "wxWindow_PopupMenu", _wrap_wxWindow_PopupMenu, 1 },
8bf5d46e 6234 { "wxWindow_PopupMenuXY", _wrap_wxWindow_PopupMenuXY, 1 },
8ab979d7 6235 { "wxWindow_Move", _wrap_wxWindow_Move, 1 },
af309447 6236 { "wxWindow_MoveXY", _wrap_wxWindow_MoveXY, 1 },
8ab979d7
RD
6237 { "wxWindow_MakeModal", _wrap_wxWindow_MakeModal, 1 },
6238 { "wxWindow_Lower", _wrap_wxWindow_Lower, 1 },
6239 { "wxWindow_LoadFromResource", _wrap_wxWindow_LoadFromResource, 1 },
6240 { "wxWindow_Layout", _wrap_wxWindow_Layout, 1 },
bb0054cd 6241 { "wxWindow_IsTopLevel", _wrap_wxWindow_IsTopLevel, 1 },
8ab979d7
RD
6242 { "wxWindow_IsShown", _wrap_wxWindow_IsShown, 1 },
6243 { "wxWindow_IsRetained", _wrap_wxWindow_IsRetained, 1 },
6244 { "wxWindow_IsEnabled", _wrap_wxWindow_IsEnabled, 1 },
6245 { "wxWindow_InitDialog", _wrap_wxWindow_InitDialog, 1 },
bb0054cd 6246 { "wxWindow_Hide", _wrap_wxWindow_Hide, 1 },
8ab979d7 6247 { "wxWindow_GetWindowStyleFlag", _wrap_wxWindow_GetWindowStyleFlag, 1 },
8bf5d46e 6248 { "wxWindow_GetUpdateRegion", _wrap_wxWindow_GetUpdateRegion, 1 },
8ab979d7 6249 { "wxWindow_GetTitle", _wrap_wxWindow_GetTitle, 1 },
af309447 6250 { "wxWindow_GetFullTextExtent", _wrap_wxWindow_GetFullTextExtent, 1 },
8ab979d7
RD
6251 { "wxWindow_GetTextExtent", _wrap_wxWindow_GetTextExtent, 1 },
6252 { "wxWindow_GetSize", _wrap_wxWindow_GetSize, 1 },
b8b8dda7 6253 { "wxWindow_GetSizeTuple", _wrap_wxWindow_GetSizeTuple, 1 },
8ab979d7
RD
6254 { "wxWindow_GetScrollRange", _wrap_wxWindow_GetScrollRange, 1 },
6255 { "wxWindow_GetScrollPos", _wrap_wxWindow_GetScrollPos, 1 },
6256 { "wxWindow_GetScrollThumb", _wrap_wxWindow_GetScrollThumb, 1 },
b8b8dda7
RD
6257 { "wxWindow_GetRect", _wrap_wxWindow_GetRect, 1 },
6258 { "wxWindow_GetPosition", _wrap_wxWindow_GetPosition, 1 },
6259 { "wxWindow_GetPositionTuple", _wrap_wxWindow_GetPositionTuple, 1 },
8ab979d7
RD
6260 { "wxWindow_GetParent", _wrap_wxWindow_GetParent, 1 },
6261 { "wxWindow_GetName", _wrap_wxWindow_GetName, 1 },
bb0054cd 6262 { "wxWindow_SetLabel", _wrap_wxWindow_SetLabel, 1 },
8ab979d7 6263 { "wxWindow_GetLabel", _wrap_wxWindow_GetLabel, 1 },
8ab979d7
RD
6264 { "wxWindow_GetId", _wrap_wxWindow_GetId, 1 },
6265 { "wxWindow_GetGrandParent", _wrap_wxWindow_GetGrandParent, 1 },
6266 { "wxWindow_GetForegroundColour", _wrap_wxWindow_GetForegroundColour, 1 },
6267 { "wxWindow_GetFont", _wrap_wxWindow_GetFont, 1 },
8ab979d7
RD
6268 { "wxWindow_GetConstraints", _wrap_wxWindow_GetConstraints, 1 },
6269 { "wxWindow_GetClientSize", _wrap_wxWindow_GetClientSize, 1 },
b8b8dda7 6270 { "wxWindow_GetClientSizeTuple", _wrap_wxWindow_GetClientSizeTuple, 1 },
8ab979d7
RD
6271 { "wxWindow_GetCharWidth", _wrap_wxWindow_GetCharWidth, 1 },
6272 { "wxWindow_GetCharHeight", _wrap_wxWindow_GetCharHeight, 1 },
6273 { "wxWindow_GetBackgroundColour", _wrap_wxWindow_GetBackgroundColour, 1 },
6274 { "wxWindow_Fit", _wrap_wxWindow_Fit, 1 },
6275 { "wxWindow_FindWindowByName", _wrap_wxWindow_FindWindowByName, 1 },
af309447 6276 { "wxWindow_FindWindowById", _wrap_wxWindow_FindWindowById, 1 },
8ab979d7
RD
6277 { "wxWindow_Enable", _wrap_wxWindow_Enable, 1 },
6278 { "wxWindow_DragAcceptFiles", _wrap_wxWindow_DragAcceptFiles, 1 },
6279 { "wxWindow_DestroyChildren", _wrap_wxWindow_DestroyChildren, 1 },
6280 { "wxWindow_Destroy", _wrap_wxWindow_Destroy, 1 },
6281 { "wxWindow_Close", _wrap_wxWindow_Close, 1 },
6282 { "wxWindow_ClientToScreen", _wrap_wxWindow_ClientToScreen, 1 },
af309447 6283 { "wxWindow_ClientToScreenXY", _wrap_wxWindow_ClientToScreenXY, 1 },
bb0054cd
RD
6284 { "wxWindow_CenterOnParent", _wrap_wxWindow_CenterOnParent, 1 },
6285 { "wxWindow_CentreOnParent", _wrap_wxWindow_CentreOnParent, 1 },
8ab979d7
RD
6286 { "wxWindow_Centre", _wrap_wxWindow_Centre, 1 },
6287 { "wxWindow_Center", _wrap_wxWindow_Center, 1 },
6288 { "wxWindow_CaptureMouse", _wrap_wxWindow_CaptureMouse, 1 },
6289 { "new_wxWindow", _wrap_new_wxWindow, 1 },
6290 { "wxEvtHandler_Connect", _wrap_wxEvtHandler_Connect, 1 },
cf694132 6291 { "wxEvtHandler_ProcessEvent", _wrap_wxEvtHandler_ProcessEvent, 1 },
af309447 6292 { "wxWindow_FromHWND", _wrap_wxWindow_FromHWND, 1 },
8ab979d7
RD
6293 { "wxWindow_FindFocus", _wrap_wxWindow_FindFocus, 1 },
6294 { NULL, NULL }
6295};
6296static PyObject *SWIG_globals;
6297#ifdef __cplusplus
6298extern "C"
6299#endif
6300SWIGEXPORT(void,initwindowsc)() {
6301 PyObject *m, *d;
6302 SWIG_globals = SWIG_newvarlink();
6303 m = Py_InitModule("windowsc", windowscMethods);
6304 d = PyModule_GetDict(m);
6305/*
6306 * These are the pointer type-equivalency mappings.
6307 * (Used by the SWIG pointer type-checker).
6308 */
6309 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
6310 SWIG_RegisterMapping("_signed_long","_long",0);
bb0054cd
RD
6311 SWIG_RegisterMapping("_wxPrintQuality","_int",0);
6312 SWIG_RegisterMapping("_wxPrintQuality","_signed_int",0);
6313 SWIG_RegisterMapping("_wxPrintQuality","_unsigned_int",0);
6314 SWIG_RegisterMapping("_wxPrintQuality","_wxWindowID",0);
6315 SWIG_RegisterMapping("_wxPrintQuality","_uint",0);
6316 SWIG_RegisterMapping("_wxPrintQuality","_EBool",0);
6317 SWIG_RegisterMapping("_wxPrintQuality","_size_t",0);
b8b8dda7 6318 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
8ab979d7
RD
6319 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
6320 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler);
6321 SWIG_RegisterMapping("_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler);
8ab979d7
RD
6322 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler);
6323 SWIG_RegisterMapping("_class_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler);
6324 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler);
6325 SWIG_RegisterMapping("_class_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler);
6326 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler);
6327 SWIG_RegisterMapping("_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler);
6328 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler);
6329 SWIG_RegisterMapping("_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler);
8ab979d7
RD
6330 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler);
6331 SWIG_RegisterMapping("_class_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler);
6332 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
6333 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
6334 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
6335 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
8ab979d7
RD
6336 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
6337 SWIG_RegisterMapping("_byte","_unsigned_char",0);
6338 SWIG_RegisterMapping("_long","_wxDash",0);
6339 SWIG_RegisterMapping("_long","_unsigned_long",0);
6340 SWIG_RegisterMapping("_long","_signed_long",0);
af309447 6341 SWIG_RegisterMapping("_wxImageList","_class_wxImageList",0);
8ab979d7
RD
6342 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
6343 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
bb0054cd 6344 SWIG_RegisterMapping("_size_t","_wxPrintQuality",0);
c127177f
RD
6345 SWIG_RegisterMapping("_size_t","_unsigned_int",0);
6346 SWIG_RegisterMapping("_size_t","_int",0);
6347 SWIG_RegisterMapping("_size_t","_wxWindowID",0);
6348 SWIG_RegisterMapping("_size_t","_uint",0);
8ab979d7
RD
6349 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
6350 SWIG_RegisterMapping("_wxPrinterDC","_class_wxPrinterDC",0);
6351 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
bb0054cd
RD
6352 SWIG_RegisterMapping("_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel);
6353 SWIG_RegisterMapping("_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel);
8ab979d7
RD
6354 SWIG_RegisterMapping("_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel);
6355 SWIG_RegisterMapping("_wxPanel","_wxDialog",SwigwxDialogTowxPanel);
6356 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
6357 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
6358 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
6359 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
6360 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
bb0054cd 6361 SWIG_RegisterMapping("_uint","_wxPrintQuality",0);
c127177f 6362 SWIG_RegisterMapping("_uint","_size_t",0);
8ab979d7
RD
6363 SWIG_RegisterMapping("_uint","_unsigned_int",0);
6364 SWIG_RegisterMapping("_uint","_int",0);
6365 SWIG_RegisterMapping("_uint","_wxWindowID",0);
6366 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
6367 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
6368 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
6369 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
b639c3c5 6370 SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
8ab979d7 6371 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
bb0054cd 6372 SWIG_RegisterMapping("_EBool","_wxPrintQuality",0);
8ab979d7
RD
6373 SWIG_RegisterMapping("_EBool","_signed_int",0);
6374 SWIG_RegisterMapping("_EBool","_int",0);
6375 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
b8b8dda7 6376 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
8ab979d7
RD
6377 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
6378 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
6379 SWIG_RegisterMapping("_unsigned_long","_long",0);
6380 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
6381 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
6382 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
6383 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
bb0054cd
RD
6384 SWIG_RegisterMapping("_class_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel);
6385 SWIG_RegisterMapping("_class_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel);
8ab979d7
RD
6386 SWIG_RegisterMapping("_class_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel);
6387 SWIG_RegisterMapping("_class_wxPanel","_wxDialog",SwigwxDialogTowxPanel);
6388 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
bb0054cd 6389 SWIG_RegisterMapping("_signed_int","_wxPrintQuality",0);
8ab979d7
RD
6390 SWIG_RegisterMapping("_signed_int","_EBool",0);
6391 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
6392 SWIG_RegisterMapping("_signed_int","_int",0);
6393 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
6394 SWIG_RegisterMapping("_wxMetaFileDC","_class_wxMetaFileDC",0);
8ab979d7
RD
6395 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
6396 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
6397 SWIG_RegisterMapping("_WXTYPE","_short",0);
6398 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
6399 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
6400 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
6401 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
6402 SWIG_RegisterMapping("_unsigned_short","_short",0);
6403 SWIG_RegisterMapping("_class_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow);
6404 SWIG_RegisterMapping("_class_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow);
6405 SWIG_RegisterMapping("_class_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow);
6406 SWIG_RegisterMapping("_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow);
6407 SWIG_RegisterMapping("_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow);
6408 SWIG_RegisterMapping("_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow);
8ab979d7
RD
6409 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
6410 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
6411 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
6412 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
6413 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
6414 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
6415 SWIG_RegisterMapping("_signed_short","_short",0);
6416 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
6417 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
b639c3c5 6418 SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0);
8ab979d7
RD
6419 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
6420 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
8ab979d7
RD
6421 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
6422 SWIG_RegisterMapping("_unsigned_char","_byte",0);
6423 SWIG_RegisterMapping("_class_wxMetaFileDC","_wxMetaFileDC",0);
8ab979d7 6424 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
bb0054cd 6425 SWIG_RegisterMapping("_unsigned_int","_wxPrintQuality",0);
c127177f 6426 SWIG_RegisterMapping("_unsigned_int","_size_t",0);
8ab979d7
RD
6427 SWIG_RegisterMapping("_unsigned_int","_uint",0);
6428 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
6429 SWIG_RegisterMapping("_unsigned_int","_int",0);
6430 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
6431 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
8ab979d7
RD
6432 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
6433 SWIG_RegisterMapping("_short","_WXTYPE",0);
6434 SWIG_RegisterMapping("_short","_unsigned_short",0);
6435 SWIG_RegisterMapping("_short","_signed_short",0);
af309447 6436 SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0);
bb0054cd 6437 SWIG_RegisterMapping("_wxWindowID","_wxPrintQuality",0);
c127177f 6438 SWIG_RegisterMapping("_wxWindowID","_size_t",0);
8ab979d7
RD
6439 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
6440 SWIG_RegisterMapping("_wxWindowID","_uint",0);
6441 SWIG_RegisterMapping("_wxWindowID","_int",0);
6442 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
6443 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
bb0054cd 6444 SWIG_RegisterMapping("_int","_wxPrintQuality",0);
c127177f 6445 SWIG_RegisterMapping("_int","_size_t",0);
8ab979d7
RD
6446 SWIG_RegisterMapping("_int","_EBool",0);
6447 SWIG_RegisterMapping("_int","_uint",0);
6448 SWIG_RegisterMapping("_int","_wxWindowID",0);
6449 SWIG_RegisterMapping("_int","_unsigned_int",0);
6450 SWIG_RegisterMapping("_int","_signed_int",0);
6451 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
b8b8dda7 6452 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
8ab979d7
RD
6453 SWIG_RegisterMapping("_class_wxPrinterDC","_wxPrinterDC",0);
6454 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
6455 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
6456 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
6457 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
6458 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
b639c3c5 6459 SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
b8b8dda7 6460 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
8ab979d7
RD
6461 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
6462 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
6463 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
6464 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
6465 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
6466 SWIG_RegisterMapping("_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler);
6467 SWIG_RegisterMapping("_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler);
8ab979d7
RD
6468 SWIG_RegisterMapping("_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler);
6469 SWIG_RegisterMapping("_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler);
6470 SWIG_RegisterMapping("_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler);
6471 SWIG_RegisterMapping("_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler);
6472 SWIG_RegisterMapping("_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler);
6473 SWIG_RegisterMapping("_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler);
6474 SWIG_RegisterMapping("_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler);
6475 SWIG_RegisterMapping("_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler);
8ab979d7
RD
6476 SWIG_RegisterMapping("_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler);
6477 SWIG_RegisterMapping("_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler);
6478 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
6479 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
6480 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
6481 SWIG_RegisterMapping("_wxDash","_long",0);
6482 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
b639c3c5 6483 SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);
8ab979d7
RD
6484 SWIG_RegisterMapping("_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow);
6485 SWIG_RegisterMapping("_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow);
6486 SWIG_RegisterMapping("_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow);
6487 SWIG_RegisterMapping("_wxWindow","_wxDialog",SwigwxDialogTowxWindow);
6488 SWIG_RegisterMapping("_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow);
6489 SWIG_RegisterMapping("_wxWindow","_wxPanel",SwigwxPanelTowxWindow);
8ab979d7 6490 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);
8ab979d7 6491}