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