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