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