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