]> git.saurik.com Git - wxWidgets.git/blame_incremental - wxPython/src/msw/windows.cpp
Updated note about wxSTC using wxPopupWindow
[wxWidgets.git] / wxPython / src / msw / windows.cpp
... / ...
CommitLineData
1/*
2 * FILE : src/msw/windows.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
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#include "Python.h"
40
41#ifdef __cplusplus
42extern "C" {
43#endif
44
45extern void SWIG_MakePtr(char *, void *, char *);
46extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47extern char *SWIG_GetPtr(char *, void **, char *);
48extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
49extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
50extern PyObject *SWIG_newvarlink(void);
51#ifdef __cplusplus
52}
53#endif
54#define SWIG_init initwindowsc
55
56#define SWIG_name "windowsc"
57
58#include "helpers.h"
59#include <wx/menuitem.h>
60#include <wx/tooltip.h>
61
62
63static PyObject* t_output_helper(PyObject* target, PyObject* o) {
64 PyObject* o2;
65 PyObject* o3;
66
67 if (!target) {
68 target = o;
69 } else if (target == Py_None) {
70 Py_DECREF(Py_None);
71 target = o;
72 } else {
73 if (!PyTuple_Check(target)) {
74 o2 = target;
75 target = PyTuple_New(1);
76 PyTuple_SetItem(target, 0, o2);
77 }
78 o3 = PyTuple_New(1);
79 PyTuple_SetItem(o3, 0, o);
80
81 o2 = target;
82 target = PySequence_Concat(o2, o3);
83 Py_DECREF(o2);
84 Py_DECREF(o3);
85 }
86 return target;
87}
88
89 // Put some wx default wxChar* values into wxStrings.
90 DECLARE_DEF_STRING(PanelNameStr);
91 static const wxString wxPyEmptyString(wxT(""));
92
93class wxPyValidator : public wxValidator {
94 DECLARE_DYNAMIC_CLASS(wxPyValidator);
95public:
96 wxPyValidator() {
97 }
98
99 ~wxPyValidator() {
100 }
101
102 wxObject* Clone() const {
103 wxPyValidator* ptr = NULL;
104 wxPyValidator* self = (wxPyValidator*)this;
105
106 wxPyBeginBlockThreads();
107 if (self->m_myInst.findCallback("Clone")) {
108 PyObject* ro;
109 ro = self->m_myInst.callCallbackObj(Py_BuildValue("()"));
110 if (ro) {
111 SWIG_GetPtrObj(ro, (void **)&ptr, "_wxPyValidator_p");
112 Py_DECREF(ro);
113 }
114 }
115 wxPyEndBlockThreads();
116
117 // This is very dangerous!!! But is the only way I could find
118 // to squash a memory leak. Currently it is okay, but if the
119 // validator architecture in wxWindows ever changes, problems
120 // could arise.
121 delete self;
122 return ptr;
123 }
124
125
126 DEC_PYCALLBACK_BOOL_WXWIN(Validate);
127 DEC_PYCALLBACK_BOOL_(TransferToWindow);
128 DEC_PYCALLBACK_BOOL_(TransferFromWindow);
129
130 PYPRIVATE;
131};
132
133IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator, wxValidator, Validate);
134IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferToWindow);
135IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferFromWindow);
136
137IMPLEMENT_DYNAMIC_CLASS(wxPyValidator, wxValidator);
138
139
140wxWindow* wxWindow_FromHWND(unsigned long hWnd) {
141 wxWindow* win = new wxWindow;
142 win->SetHWND(hWnd);
143 win->SubclassWin(hWnd);
144 return win;
145}
146
147wxWindow* wxFindWindowById( long id, const wxWindow *parent = NULL ) {
148 return wxWindow::FindWindowById(id, parent);
149}
150
151wxWindow* wxFindWindowByName( const wxString& name,
152 const wxWindow *parent = NULL ) {
153 return wxWindow::FindWindowByName(name, parent);
154}
155
156wxWindow* wxFindWindowByLabel( const wxString& label,
157 const wxWindow *parent = NULL ) {
158 return wxWindow::FindWindowByLabel(label, parent);
159}
160#ifdef __cplusplus
161extern "C" {
162#endif
163static PyObject *_wrap_wxWindow_FromHWND(PyObject *self, PyObject *args, PyObject *kwargs) {
164 PyObject * _resultobj;
165 wxWindow * _result;
166 unsigned long _arg0;
167 char *_kwnames[] = { "hWnd", NULL };
168
169 self = self;
170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"l:wxWindow_FromHWND",_kwnames,&_arg0))
171 return NULL;
172{
173 PyThreadState* __tstate = wxPyBeginAllowThreads();
174 _result = (wxWindow *)wxWindow_FromHWND(_arg0);
175
176 wxPyEndAllowThreads(__tstate);
177 if (PyErr_Occurred()) return NULL;
178}{ _resultobj = wxPyMake_wxObject(_result); }
179 return _resultobj;
180}
181
182static PyObject *_wrap_wxFindWindowById(PyObject *self, PyObject *args, PyObject *kwargs) {
183 PyObject * _resultobj;
184 wxWindow * _result;
185 long _arg0;
186 wxWindow * _arg1 = (wxWindow *) NULL;
187 PyObject * _argo1 = 0;
188 char *_kwnames[] = { "id","parent", NULL };
189
190 self = self;
191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"l|O:wxFindWindowById",_kwnames,&_arg0,&_argo1))
192 return NULL;
193 if (_argo1) {
194 if (_argo1 == Py_None) { _arg1 = NULL; }
195 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
196 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFindWindowById. Expected _wxWindow_p.");
197 return NULL;
198 }
199 }
200{
201 PyThreadState* __tstate = wxPyBeginAllowThreads();
202 _result = (wxWindow *)wxFindWindowById(_arg0,_arg1);
203
204 wxPyEndAllowThreads(__tstate);
205 if (PyErr_Occurred()) return NULL;
206}{ _resultobj = wxPyMake_wxObject(_result); }
207 return _resultobj;
208}
209
210static PyObject *_wrap_wxFindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
211 PyObject * _resultobj;
212 wxWindow * _result;
213 wxString * _arg0;
214 wxWindow * _arg1 = (wxWindow *) NULL;
215 PyObject * _obj0 = 0;
216 PyObject * _argo1 = 0;
217 char *_kwnames[] = { "name","parent", NULL };
218
219 self = self;
220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxFindWindowByName",_kwnames,&_obj0,&_argo1))
221 return NULL;
222{
223 _arg0 = wxString_in_helper(_obj0);
224 if (_arg0 == NULL)
225 return NULL;
226}
227 if (_argo1) {
228 if (_argo1 == Py_None) { _arg1 = NULL; }
229 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
230 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
231 return NULL;
232 }
233 }
234{
235 PyThreadState* __tstate = wxPyBeginAllowThreads();
236 _result = (wxWindow *)wxFindWindowByName(*_arg0,_arg1);
237
238 wxPyEndAllowThreads(__tstate);
239 if (PyErr_Occurred()) return NULL;
240}{ _resultobj = wxPyMake_wxObject(_result); }
241{
242 if (_obj0)
243 delete _arg0;
244}
245 return _resultobj;
246}
247
248static PyObject *_wrap_wxFindWindowByLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
249 PyObject * _resultobj;
250 wxWindow * _result;
251 wxString * _arg0;
252 wxWindow * _arg1 = (wxWindow *) NULL;
253 PyObject * _obj0 = 0;
254 PyObject * _argo1 = 0;
255 char *_kwnames[] = { "label","parent", NULL };
256
257 self = self;
258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxFindWindowByLabel",_kwnames,&_obj0,&_argo1))
259 return NULL;
260{
261 _arg0 = wxString_in_helper(_obj0);
262 if (_arg0 == NULL)
263 return NULL;
264}
265 if (_argo1) {
266 if (_argo1 == Py_None) { _arg1 = NULL; }
267 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
268 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
269 return NULL;
270 }
271 }
272{
273 PyThreadState* __tstate = wxPyBeginAllowThreads();
274 _result = (wxWindow *)wxFindWindowByLabel(*_arg0,_arg1);
275
276 wxPyEndAllowThreads(__tstate);
277 if (PyErr_Occurred()) return NULL;
278}{ _resultobj = wxPyMake_wxObject(_result); }
279{
280 if (_obj0)
281 delete _arg0;
282}
283 return _resultobj;
284}
285
286static void *SwigwxEvtHandlerTowxObject(void *ptr) {
287 wxEvtHandler *src;
288 wxObject *dest;
289 src = (wxEvtHandler *) ptr;
290 dest = (wxObject *) src;
291 return (void *) dest;
292}
293
294#define new_wxEvtHandler() (new wxEvtHandler())
295static PyObject *_wrap_new_wxEvtHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
296 PyObject * _resultobj;
297 wxEvtHandler * _result;
298 char *_kwnames[] = { NULL };
299 char _ptemp[128];
300
301 self = self;
302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxEvtHandler",_kwnames))
303 return NULL;
304{
305 PyThreadState* __tstate = wxPyBeginAllowThreads();
306 _result = (wxEvtHandler *)new_wxEvtHandler();
307
308 wxPyEndAllowThreads(__tstate);
309 if (PyErr_Occurred()) return NULL;
310} if (_result) {
311 SWIG_MakePtr(_ptemp, (char *) _result,"_wxEvtHandler_p");
312 _resultobj = Py_BuildValue("s",_ptemp);
313 } else {
314 Py_INCREF(Py_None);
315 _resultobj = Py_None;
316 }
317 return _resultobj;
318}
319
320#define wxEvtHandler_ProcessEvent(_swigobj,_swigarg0) (_swigobj->ProcessEvent(_swigarg0))
321static PyObject *_wrap_wxEvtHandler_ProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
322 PyObject * _resultobj;
323 bool _result;
324 wxEvtHandler * _arg0;
325 wxEvent * _arg1;
326 PyObject * _argo0 = 0;
327 PyObject * _argo1 = 0;
328 char *_kwnames[] = { "self","event", NULL };
329
330 self = self;
331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEvtHandler_ProcessEvent",_kwnames,&_argo0,&_argo1))
332 return NULL;
333 if (_argo0) {
334 if (_argo0 == Py_None) { _arg0 = NULL; }
335 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
336 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_ProcessEvent. Expected _wxEvtHandler_p.");
337 return NULL;
338 }
339 }
340 if (_argo1) {
341 if (_argo1 == Py_None) { _arg1 = NULL; }
342 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvent_p")) {
343 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxEvtHandler_ProcessEvent. Expected _wxEvent_p.");
344 return NULL;
345 }
346 }
347{
348 PyThreadState* __tstate = wxPyBeginAllowThreads();
349 _result = (bool )wxEvtHandler_ProcessEvent(_arg0,*_arg1);
350
351 wxPyEndAllowThreads(__tstate);
352 if (PyErr_Occurred()) return NULL;
353} _resultobj = Py_BuildValue("i",_result);
354 return _resultobj;
355}
356
357#define wxEvtHandler_AddPendingEvent(_swigobj,_swigarg0) (_swigobj->AddPendingEvent(_swigarg0))
358static PyObject *_wrap_wxEvtHandler_AddPendingEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
359 PyObject * _resultobj;
360 wxEvtHandler * _arg0;
361 wxEvent * _arg1;
362 PyObject * _argo0 = 0;
363 PyObject * _argo1 = 0;
364 char *_kwnames[] = { "self","event", NULL };
365
366 self = self;
367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEvtHandler_AddPendingEvent",_kwnames,&_argo0,&_argo1))
368 return NULL;
369 if (_argo0) {
370 if (_argo0 == Py_None) { _arg0 = NULL; }
371 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
372 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_AddPendingEvent. Expected _wxEvtHandler_p.");
373 return NULL;
374 }
375 }
376 if (_argo1) {
377 if (_argo1 == Py_None) { _arg1 = NULL; }
378 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvent_p")) {
379 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxEvtHandler_AddPendingEvent. Expected _wxEvent_p.");
380 return NULL;
381 }
382 }
383{
384 PyThreadState* __tstate = wxPyBeginAllowThreads();
385 wxEvtHandler_AddPendingEvent(_arg0,*_arg1);
386
387 wxPyEndAllowThreads(__tstate);
388 if (PyErr_Occurred()) return NULL;
389} Py_INCREF(Py_None);
390 _resultobj = Py_None;
391 return _resultobj;
392}
393
394#define wxEvtHandler_GetEvtHandlerEnabled(_swigobj) (_swigobj->GetEvtHandlerEnabled())
395static PyObject *_wrap_wxEvtHandler_GetEvtHandlerEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
396 PyObject * _resultobj;
397 bool _result;
398 wxEvtHandler * _arg0;
399 PyObject * _argo0 = 0;
400 char *_kwnames[] = { "self", NULL };
401
402 self = self;
403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvtHandler_GetEvtHandlerEnabled",_kwnames,&_argo0))
404 return NULL;
405 if (_argo0) {
406 if (_argo0 == Py_None) { _arg0 = NULL; }
407 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
408 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_GetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
409 return NULL;
410 }
411 }
412{
413 PyThreadState* __tstate = wxPyBeginAllowThreads();
414 _result = (bool )wxEvtHandler_GetEvtHandlerEnabled(_arg0);
415
416 wxPyEndAllowThreads(__tstate);
417 if (PyErr_Occurred()) return NULL;
418} _resultobj = Py_BuildValue("i",_result);
419 return _resultobj;
420}
421
422#define wxEvtHandler_SetEvtHandlerEnabled(_swigobj,_swigarg0) (_swigobj->SetEvtHandlerEnabled(_swigarg0))
423static PyObject *_wrap_wxEvtHandler_SetEvtHandlerEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
424 PyObject * _resultobj;
425 wxEvtHandler * _arg0;
426 bool _arg1;
427 PyObject * _argo0 = 0;
428 int tempbool1;
429 char *_kwnames[] = { "self","enabled", NULL };
430
431 self = self;
432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxEvtHandler_SetEvtHandlerEnabled",_kwnames,&_argo0,&tempbool1))
433 return NULL;
434 if (_argo0) {
435 if (_argo0 == Py_None) { _arg0 = NULL; }
436 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
437 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_SetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
438 return NULL;
439 }
440 }
441 _arg1 = (bool ) tempbool1;
442{
443 PyThreadState* __tstate = wxPyBeginAllowThreads();
444 wxEvtHandler_SetEvtHandlerEnabled(_arg0,_arg1);
445
446 wxPyEndAllowThreads(__tstate);
447 if (PyErr_Occurred()) return NULL;
448} Py_INCREF(Py_None);
449 _resultobj = Py_None;
450 return _resultobj;
451}
452
453#define wxEvtHandler_GetNextHandler(_swigobj) (_swigobj->GetNextHandler())
454static PyObject *_wrap_wxEvtHandler_GetNextHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
455 PyObject * _resultobj;
456 wxEvtHandler * _result;
457 wxEvtHandler * _arg0;
458 PyObject * _argo0 = 0;
459 char *_kwnames[] = { "self", NULL };
460
461 self = self;
462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvtHandler_GetNextHandler",_kwnames,&_argo0))
463 return NULL;
464 if (_argo0) {
465 if (_argo0 == Py_None) { _arg0 = NULL; }
466 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
467 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_GetNextHandler. Expected _wxEvtHandler_p.");
468 return NULL;
469 }
470 }
471{
472 PyThreadState* __tstate = wxPyBeginAllowThreads();
473 _result = (wxEvtHandler *)wxEvtHandler_GetNextHandler(_arg0);
474
475 wxPyEndAllowThreads(__tstate);
476 if (PyErr_Occurred()) return NULL;
477}{ _resultobj = wxPyMake_wxObject(_result); }
478 return _resultobj;
479}
480
481#define wxEvtHandler_GetPreviousHandler(_swigobj) (_swigobj->GetPreviousHandler())
482static PyObject *_wrap_wxEvtHandler_GetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
483 PyObject * _resultobj;
484 wxEvtHandler * _result;
485 wxEvtHandler * _arg0;
486 PyObject * _argo0 = 0;
487 char *_kwnames[] = { "self", NULL };
488
489 self = self;
490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvtHandler_GetPreviousHandler",_kwnames,&_argo0))
491 return NULL;
492 if (_argo0) {
493 if (_argo0 == Py_None) { _arg0 = NULL; }
494 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
495 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_GetPreviousHandler. Expected _wxEvtHandler_p.");
496 return NULL;
497 }
498 }
499{
500 PyThreadState* __tstate = wxPyBeginAllowThreads();
501 _result = (wxEvtHandler *)wxEvtHandler_GetPreviousHandler(_arg0);
502
503 wxPyEndAllowThreads(__tstate);
504 if (PyErr_Occurred()) return NULL;
505}{ _resultobj = wxPyMake_wxObject(_result); }
506 return _resultobj;
507}
508
509#define wxEvtHandler_SetNextHandler(_swigobj,_swigarg0) (_swigobj->SetNextHandler(_swigarg0))
510static PyObject *_wrap_wxEvtHandler_SetNextHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
511 PyObject * _resultobj;
512 wxEvtHandler * _arg0;
513 wxEvtHandler * _arg1;
514 PyObject * _argo0 = 0;
515 PyObject * _argo1 = 0;
516 char *_kwnames[] = { "self","handler", NULL };
517
518 self = self;
519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEvtHandler_SetNextHandler",_kwnames,&_argo0,&_argo1))
520 return NULL;
521 if (_argo0) {
522 if (_argo0 == Py_None) { _arg0 = NULL; }
523 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
524 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
525 return NULL;
526 }
527 }
528 if (_argo1) {
529 if (_argo1 == Py_None) { _arg1 = NULL; }
530 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
531 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
532 return NULL;
533 }
534 }
535{
536 PyThreadState* __tstate = wxPyBeginAllowThreads();
537 wxEvtHandler_SetNextHandler(_arg0,_arg1);
538
539 wxPyEndAllowThreads(__tstate);
540 if (PyErr_Occurred()) return NULL;
541} Py_INCREF(Py_None);
542 _resultobj = Py_None;
543 return _resultobj;
544}
545
546#define wxEvtHandler_SetPreviousHandler(_swigobj,_swigarg0) (_swigobj->SetPreviousHandler(_swigarg0))
547static PyObject *_wrap_wxEvtHandler_SetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
548 PyObject * _resultobj;
549 wxEvtHandler * _arg0;
550 wxEvtHandler * _arg1;
551 PyObject * _argo0 = 0;
552 PyObject * _argo1 = 0;
553 char *_kwnames[] = { "self","handler", NULL };
554
555 self = self;
556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEvtHandler_SetPreviousHandler",_kwnames,&_argo0,&_argo1))
557 return NULL;
558 if (_argo0) {
559 if (_argo0 == Py_None) { _arg0 = NULL; }
560 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
561 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
562 return NULL;
563 }
564 }
565 if (_argo1) {
566 if (_argo1 == Py_None) { _arg1 = NULL; }
567 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
568 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
569 return NULL;
570 }
571 }
572{
573 PyThreadState* __tstate = wxPyBeginAllowThreads();
574 wxEvtHandler_SetPreviousHandler(_arg0,_arg1);
575
576 wxPyEndAllowThreads(__tstate);
577 if (PyErr_Occurred()) return NULL;
578} Py_INCREF(Py_None);
579 _resultobj = Py_None;
580 return _resultobj;
581}
582
583static void wxEvtHandler_Connect(wxEvtHandler *self,int id,int lastId,int eventType,PyObject * func) {
584 if (PyCallable_Check(func)) {
585 self->Connect(id, lastId, eventType,
586 (wxObjectEventFunction) &wxPyCallback::EventThunker,
587 new wxPyCallback(func));
588 }
589 else if (func == Py_None) {
590 self->Disconnect(id, lastId, eventType,
591 (wxObjectEventFunction)
592 &wxPyCallback::EventThunker);
593 }
594 else {
595 PyErr_SetString(PyExc_TypeError, "Expected callable object or None.");
596 }
597 }
598static PyObject *_wrap_wxEvtHandler_Connect(PyObject *self, PyObject *args, PyObject *kwargs) {
599 PyObject * _resultobj;
600 wxEvtHandler * _arg0;
601 int _arg1;
602 int _arg2;
603 int _arg3;
604 PyObject * _arg4;
605 PyObject * _argo0 = 0;
606 PyObject * _obj4 = 0;
607 char *_kwnames[] = { "self","id","lastId","eventType","func", NULL };
608
609 self = self;
610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiiO:wxEvtHandler_Connect",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_obj4))
611 return NULL;
612 if (_argo0) {
613 if (_argo0 == Py_None) { _arg0 = NULL; }
614 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
615 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
616 return NULL;
617 }
618 }
619{
620 _arg4 = _obj4;
621}
622{
623 PyThreadState* __tstate = wxPyBeginAllowThreads();
624 wxEvtHandler_Connect(_arg0,_arg1,_arg2,_arg3,_arg4);
625
626 wxPyEndAllowThreads(__tstate);
627 if (PyErr_Occurred()) return NULL;
628} Py_INCREF(Py_None);
629 _resultobj = Py_None;
630 return _resultobj;
631}
632
633static bool wxEvtHandler_Disconnect(wxEvtHandler *self,int id,int lastId,wxEventType eventType) {
634 return self->Disconnect(id, lastId, eventType,
635 (wxObjectEventFunction)
636 &wxPyCallback::EventThunker);
637 }
638static PyObject *_wrap_wxEvtHandler_Disconnect(PyObject *self, PyObject *args, PyObject *kwargs) {
639 PyObject * _resultobj;
640 bool _result;
641 wxEvtHandler * _arg0;
642 int _arg1;
643 int _arg2 = (int ) -1;
644 wxEventType _arg3 = (wxEventType ) wxEVT_NULL;
645 PyObject * _argo0 = 0;
646 char *_kwnames[] = { "self","id","lastId","eventType", NULL };
647
648 self = self;
649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ii:wxEvtHandler_Disconnect",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
650 return NULL;
651 if (_argo0) {
652 if (_argo0 == Py_None) { _arg0 = NULL; }
653 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
654 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler_Disconnect. Expected _wxEvtHandler_p.");
655 return NULL;
656 }
657 }
658{
659 PyThreadState* __tstate = wxPyBeginAllowThreads();
660 _result = (bool )wxEvtHandler_Disconnect(_arg0,_arg1,_arg2,_arg3);
661
662 wxPyEndAllowThreads(__tstate);
663 if (PyErr_Occurred()) return NULL;
664} _resultobj = Py_BuildValue("i",_result);
665 return _resultobj;
666}
667
668static void wxEvtHandler__setOORInfo(wxEvtHandler *self,PyObject * _self) {
669 self->SetClientObject(new wxPyOORClientData(_self));
670 }
671static PyObject *_wrap_wxEvtHandler__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
672 PyObject * _resultobj;
673 wxEvtHandler * _arg0;
674 PyObject * _arg1;
675 PyObject * _argo0 = 0;
676 PyObject * _obj1 = 0;
677 char *_kwnames[] = { "self","_self", NULL };
678
679 self = self;
680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEvtHandler__setOORInfo",_kwnames,&_argo0,&_obj1))
681 return NULL;
682 if (_argo0) {
683 if (_argo0 == Py_None) { _arg0 = NULL; }
684 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
685 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEvtHandler__setOORInfo. Expected _wxEvtHandler_p.");
686 return NULL;
687 }
688 }
689{
690 _arg1 = _obj1;
691}
692{
693 PyThreadState* __tstate = wxPyBeginAllowThreads();
694 wxEvtHandler__setOORInfo(_arg0,_arg1);
695
696 wxPyEndAllowThreads(__tstate);
697 if (PyErr_Occurred()) return NULL;
698} Py_INCREF(Py_None);
699 _resultobj = Py_None;
700 return _resultobj;
701}
702
703static void *SwigwxValidatorTowxEvtHandler(void *ptr) {
704 wxValidator *src;
705 wxEvtHandler *dest;
706 src = (wxValidator *) ptr;
707 dest = (wxEvtHandler *) src;
708 return (void *) dest;
709}
710
711static void *SwigwxValidatorTowxObject(void *ptr) {
712 wxValidator *src;
713 wxObject *dest;
714 src = (wxValidator *) ptr;
715 dest = (wxObject *) src;
716 return (void *) dest;
717}
718
719#define new_wxValidator() (new wxValidator())
720static PyObject *_wrap_new_wxValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
721 PyObject * _resultobj;
722 wxValidator * _result;
723 char *_kwnames[] = { NULL };
724 char _ptemp[128];
725
726 self = self;
727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxValidator",_kwnames))
728 return NULL;
729{
730 PyThreadState* __tstate = wxPyBeginAllowThreads();
731 _result = (wxValidator *)new_wxValidator();
732
733 wxPyEndAllowThreads(__tstate);
734 if (PyErr_Occurred()) return NULL;
735} if (_result) {
736 SWIG_MakePtr(_ptemp, (char *) _result,"_wxValidator_p");
737 _resultobj = Py_BuildValue("s",_ptemp);
738 } else {
739 Py_INCREF(Py_None);
740 _resultobj = Py_None;
741 }
742 return _resultobj;
743}
744
745#define wxValidator_Clone(_swigobj) (_swigobj->Clone())
746static PyObject *_wrap_wxValidator_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
747 PyObject * _resultobj;
748 wxValidator * _result;
749 wxValidator * _arg0;
750 PyObject * _argo0 = 0;
751 char *_kwnames[] = { "self", NULL };
752
753 self = self;
754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxValidator_Clone",_kwnames,&_argo0))
755 return NULL;
756 if (_argo0) {
757 if (_argo0 == Py_None) { _arg0 = NULL; }
758 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxValidator_p")) {
759 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxValidator_Clone. Expected _wxValidator_p.");
760 return NULL;
761 }
762 }
763{
764 PyThreadState* __tstate = wxPyBeginAllowThreads();
765 _result = (wxValidator *)wxValidator_Clone(_arg0);
766
767 wxPyEndAllowThreads(__tstate);
768 if (PyErr_Occurred()) return NULL;
769}{ _resultobj = wxPyMake_wxObject(_result); }
770 return _resultobj;
771}
772
773#define wxValidator_GetWindow(_swigobj) (_swigobj->GetWindow())
774static PyObject *_wrap_wxValidator_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
775 PyObject * _resultobj;
776 wxWindow * _result;
777 wxValidator * _arg0;
778 PyObject * _argo0 = 0;
779 char *_kwnames[] = { "self", NULL };
780
781 self = self;
782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxValidator_GetWindow",_kwnames,&_argo0))
783 return NULL;
784 if (_argo0) {
785 if (_argo0 == Py_None) { _arg0 = NULL; }
786 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxValidator_p")) {
787 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxValidator_GetWindow. Expected _wxValidator_p.");
788 return NULL;
789 }
790 }
791{
792 PyThreadState* __tstate = wxPyBeginAllowThreads();
793 _result = (wxWindow *)wxValidator_GetWindow(_arg0);
794
795 wxPyEndAllowThreads(__tstate);
796 if (PyErr_Occurred()) return NULL;
797}{ _resultobj = wxPyMake_wxObject(_result); }
798 return _resultobj;
799}
800
801#define wxValidator_SetWindow(_swigobj,_swigarg0) (_swigobj->SetWindow(_swigarg0))
802static PyObject *_wrap_wxValidator_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
803 PyObject * _resultobj;
804 wxValidator * _arg0;
805 wxWindow * _arg1;
806 PyObject * _argo0 = 0;
807 PyObject * _argo1 = 0;
808 char *_kwnames[] = { "self","window", NULL };
809
810 self = self;
811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxValidator_SetWindow",_kwnames,&_argo0,&_argo1))
812 return NULL;
813 if (_argo0) {
814 if (_argo0 == Py_None) { _arg0 = NULL; }
815 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxValidator_p")) {
816 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxValidator_SetWindow. Expected _wxValidator_p.");
817 return NULL;
818 }
819 }
820 if (_argo1) {
821 if (_argo1 == Py_None) { _arg1 = NULL; }
822 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
823 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxValidator_SetWindow. Expected _wxWindow_p.");
824 return NULL;
825 }
826 }
827{
828 PyThreadState* __tstate = wxPyBeginAllowThreads();
829 wxValidator_SetWindow(_arg0,_arg1);
830
831 wxPyEndAllowThreads(__tstate);
832 if (PyErr_Occurred()) return NULL;
833} Py_INCREF(Py_None);
834 _resultobj = Py_None;
835 return _resultobj;
836}
837
838static PyObject *_wrap_wxValidator_IsSilent(PyObject *self, PyObject *args, PyObject *kwargs) {
839 PyObject * _resultobj;
840 bool _result;
841 char *_kwnames[] = { NULL };
842
843 self = self;
844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxValidator_IsSilent",_kwnames))
845 return NULL;
846{
847 PyThreadState* __tstate = wxPyBeginAllowThreads();
848 _result = (bool )wxValidator::IsSilent();
849
850 wxPyEndAllowThreads(__tstate);
851 if (PyErr_Occurred()) return NULL;
852} _resultobj = Py_BuildValue("i",_result);
853 return _resultobj;
854}
855
856static PyObject *_wrap_wxValidator_SetBellOnError(PyObject *self, PyObject *args, PyObject *kwargs) {
857 PyObject * _resultobj;
858 int _arg0 = (int ) TRUE;
859 char *_kwnames[] = { "doIt", NULL };
860
861 self = self;
862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:wxValidator_SetBellOnError",_kwnames,&_arg0))
863 return NULL;
864{
865 PyThreadState* __tstate = wxPyBeginAllowThreads();
866 wxValidator::SetBellOnError(_arg0);
867
868 wxPyEndAllowThreads(__tstate);
869 if (PyErr_Occurred()) return NULL;
870} Py_INCREF(Py_None);
871 _resultobj = Py_None;
872 return _resultobj;
873}
874
875static void *SwigwxPyValidatorTowxValidator(void *ptr) {
876 wxPyValidator *src;
877 wxValidator *dest;
878 src = (wxPyValidator *) ptr;
879 dest = (wxValidator *) src;
880 return (void *) dest;
881}
882
883static void *SwigwxPyValidatorTowxEvtHandler(void *ptr) {
884 wxPyValidator *src;
885 wxEvtHandler *dest;
886 src = (wxPyValidator *) ptr;
887 dest = (wxEvtHandler *) src;
888 return (void *) dest;
889}
890
891static void *SwigwxPyValidatorTowxObject(void *ptr) {
892 wxPyValidator *src;
893 wxObject *dest;
894 src = (wxPyValidator *) ptr;
895 dest = (wxObject *) src;
896 return (void *) dest;
897}
898
899#define new_wxPyValidator() (new wxPyValidator())
900static PyObject *_wrap_new_wxPyValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
901 PyObject * _resultobj;
902 wxPyValidator * _result;
903 char *_kwnames[] = { NULL };
904 char _ptemp[128];
905
906 self = self;
907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyValidator",_kwnames))
908 return NULL;
909{
910 PyThreadState* __tstate = wxPyBeginAllowThreads();
911 _result = (wxPyValidator *)new_wxPyValidator();
912
913 wxPyEndAllowThreads(__tstate);
914 if (PyErr_Occurred()) return NULL;
915} if (_result) {
916 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyValidator_p");
917 _resultobj = Py_BuildValue("s",_ptemp);
918 } else {
919 Py_INCREF(Py_None);
920 _resultobj = Py_None;
921 }
922 return _resultobj;
923}
924
925#define wxPyValidator__setCallbackInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1,_swigarg2))
926static PyObject *_wrap_wxPyValidator__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
927 PyObject * _resultobj;
928 wxPyValidator * _arg0;
929 PyObject * _arg1;
930 PyObject * _arg2;
931 int _arg3 = (int ) TRUE;
932 PyObject * _argo0 = 0;
933 PyObject * _obj1 = 0;
934 PyObject * _obj2 = 0;
935 char *_kwnames[] = { "self","self","_class","incref", NULL };
936
937 self = self;
938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|i:wxPyValidator__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2,&_arg3))
939 return NULL;
940 if (_argo0) {
941 if (_argo0 == Py_None) { _arg0 = NULL; }
942 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyValidator_p")) {
943 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyValidator__setCallbackInfo. Expected _wxPyValidator_p.");
944 return NULL;
945 }
946 }
947{
948 _arg1 = _obj1;
949}
950{
951 _arg2 = _obj2;
952}
953{
954 PyThreadState* __tstate = wxPyBeginAllowThreads();
955 wxPyValidator__setCallbackInfo(_arg0,_arg1,_arg2,_arg3);
956
957 wxPyEndAllowThreads(__tstate);
958 if (PyErr_Occurred()) return NULL;
959} Py_INCREF(Py_None);
960 _resultobj = Py_None;
961 return _resultobj;
962}
963
964static void *SwigwxWindowTowxEvtHandler(void *ptr) {
965 wxWindow *src;
966 wxEvtHandler *dest;
967 src = (wxWindow *) ptr;
968 dest = (wxEvtHandler *) src;
969 return (void *) dest;
970}
971
972static void *SwigwxWindowTowxObject(void *ptr) {
973 wxWindow *src;
974 wxObject *dest;
975 src = (wxWindow *) ptr;
976 dest = (wxObject *) src;
977 return (void *) dest;
978}
979
980#define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
981static PyObject *_wrap_new_wxWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
982 PyObject * _resultobj;
983 wxWindow * _result;
984 wxWindow * _arg0;
985 wxWindowID _arg1;
986 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
987 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
988 long _arg4 = (long ) 0;
989 wxString * _arg5 = (wxString *) &wxPyPanelNameStr;
990 PyObject * _argo0 = 0;
991 wxPoint temp;
992 PyObject * _obj2 = 0;
993 wxSize temp0;
994 PyObject * _obj3 = 0;
995 PyObject * _obj5 = 0;
996 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
997 char _ptemp[128];
998
999 self = self;
1000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
1001 return NULL;
1002 if (_argo0) {
1003 if (_argo0 == Py_None) { _arg0 = NULL; }
1004 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1005 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
1006 return NULL;
1007 }
1008 }
1009 if (_obj2)
1010{
1011 _arg2 = &temp;
1012 if (! wxPoint_helper(_obj2, &_arg2))
1013 return NULL;
1014}
1015 if (_obj3)
1016{
1017 _arg3 = &temp0;
1018 if (! wxSize_helper(_obj3, &_arg3))
1019 return NULL;
1020}
1021 if (_obj5)
1022{
1023 _arg5 = wxString_in_helper(_obj5);
1024 if (_arg5 == NULL)
1025 return NULL;
1026}
1027{
1028 PyThreadState* __tstate = wxPyBeginAllowThreads();
1029 _result = (wxWindow *)new_wxWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
1030
1031 wxPyEndAllowThreads(__tstate);
1032 if (PyErr_Occurred()) return NULL;
1033} if (_result) {
1034 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
1035 _resultobj = Py_BuildValue("s",_ptemp);
1036 } else {
1037 Py_INCREF(Py_None);
1038 _resultobj = Py_None;
1039 }
1040{
1041 if (_obj5)
1042 delete _arg5;
1043}
1044 return _resultobj;
1045}
1046
1047#define new_wxPreWindow() (new wxWindow())
1048static PyObject *_wrap_new_wxPreWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1049 PyObject * _resultobj;
1050 wxWindow * _result;
1051 char *_kwnames[] = { NULL };
1052 char _ptemp[128];
1053
1054 self = self;
1055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreWindow",_kwnames))
1056 return NULL;
1057{
1058 PyThreadState* __tstate = wxPyBeginAllowThreads();
1059 _result = (wxWindow *)new_wxPreWindow();
1060
1061 wxPyEndAllowThreads(__tstate);
1062 if (PyErr_Occurred()) return NULL;
1063} if (_result) {
1064 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
1065 _resultobj = Py_BuildValue("s",_ptemp);
1066 } else {
1067 Py_INCREF(Py_None);
1068 _resultobj = Py_None;
1069 }
1070 return _resultobj;
1071}
1072
1073#define wxWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1074static PyObject *_wrap_wxWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1075 PyObject * _resultobj;
1076 bool _result;
1077 wxWindow * _arg0;
1078 wxWindow * _arg1;
1079 wxWindowID _arg2;
1080 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
1081 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1082 long _arg5 = (long ) 0;
1083 wxString * _arg6 = (wxString *) &wxPyPanelNameStr;
1084 PyObject * _argo0 = 0;
1085 PyObject * _argo1 = 0;
1086 wxPoint temp;
1087 PyObject * _obj3 = 0;
1088 wxSize temp0;
1089 PyObject * _obj4 = 0;
1090 PyObject * _obj6 = 0;
1091 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
1092
1093 self = self;
1094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOlO:wxWindow_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
1095 return NULL;
1096 if (_argo0) {
1097 if (_argo0 == Py_None) { _arg0 = NULL; }
1098 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1099 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Create. Expected _wxWindow_p.");
1100 return NULL;
1101 }
1102 }
1103 if (_argo1) {
1104 if (_argo1 == Py_None) { _arg1 = NULL; }
1105 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1106 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_Create. Expected _wxWindow_p.");
1107 return NULL;
1108 }
1109 }
1110 if (_obj3)
1111{
1112 _arg3 = &temp;
1113 if (! wxPoint_helper(_obj3, &_arg3))
1114 return NULL;
1115}
1116 if (_obj4)
1117{
1118 _arg4 = &temp0;
1119 if (! wxSize_helper(_obj4, &_arg4))
1120 return NULL;
1121}
1122 if (_obj6)
1123{
1124 _arg6 = wxString_in_helper(_obj6);
1125 if (_arg6 == NULL)
1126 return NULL;
1127}
1128{
1129 PyThreadState* __tstate = wxPyBeginAllowThreads();
1130 _result = (bool )wxWindow_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
1131
1132 wxPyEndAllowThreads(__tstate);
1133 if (PyErr_Occurred()) return NULL;
1134} _resultobj = Py_BuildValue("i",_result);
1135{
1136 if (_obj6)
1137 delete _arg6;
1138}
1139 return _resultobj;
1140}
1141
1142#define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
1143static PyObject *_wrap_wxWindow_Center(PyObject *self, PyObject *args, PyObject *kwargs) {
1144 PyObject * _resultobj;
1145 wxWindow * _arg0;
1146 int _arg1 = (int ) wxBOTH;
1147 PyObject * _argo0 = 0;
1148 char *_kwnames[] = { "self","direction", NULL };
1149
1150 self = self;
1151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_Center",_kwnames,&_argo0,&_arg1))
1152 return NULL;
1153 if (_argo0) {
1154 if (_argo0 == Py_None) { _arg0 = NULL; }
1155 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1156 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
1157 return NULL;
1158 }
1159 }
1160{
1161 PyThreadState* __tstate = wxPyBeginAllowThreads();
1162 wxWindow_Center(_arg0,_arg1);
1163
1164 wxPyEndAllowThreads(__tstate);
1165 if (PyErr_Occurred()) return NULL;
1166} Py_INCREF(Py_None);
1167 _resultobj = Py_None;
1168 return _resultobj;
1169}
1170
1171#define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
1172static PyObject *_wrap_wxWindow_Centre(PyObject *self, PyObject *args, PyObject *kwargs) {
1173 PyObject * _resultobj;
1174 wxWindow * _arg0;
1175 int _arg1 = (int ) wxBOTH;
1176 PyObject * _argo0 = 0;
1177 char *_kwnames[] = { "self","direction", NULL };
1178
1179 self = self;
1180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_Centre",_kwnames,&_argo0,&_arg1))
1181 return NULL;
1182 if (_argo0) {
1183 if (_argo0 == Py_None) { _arg0 = NULL; }
1184 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1185 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
1186 return NULL;
1187 }
1188 }
1189{
1190 PyThreadState* __tstate = wxPyBeginAllowThreads();
1191 wxWindow_Centre(_arg0,_arg1);
1192
1193 wxPyEndAllowThreads(__tstate);
1194 if (PyErr_Occurred()) return NULL;
1195} Py_INCREF(Py_None);
1196 _resultobj = Py_None;
1197 return _resultobj;
1198}
1199
1200#define wxWindow_CentreOnParent(_swigobj,_swigarg0) (_swigobj->CentreOnParent(_swigarg0))
1201static PyObject *_wrap_wxWindow_CentreOnParent(PyObject *self, PyObject *args, PyObject *kwargs) {
1202 PyObject * _resultobj;
1203 wxWindow * _arg0;
1204 int _arg1 = (int ) wxBOTH;
1205 PyObject * _argo0 = 0;
1206 char *_kwnames[] = { "self","direction", NULL };
1207
1208 self = self;
1209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_CentreOnParent",_kwnames,&_argo0,&_arg1))
1210 return NULL;
1211 if (_argo0) {
1212 if (_argo0 == Py_None) { _arg0 = NULL; }
1213 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1214 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_CentreOnParent. Expected _wxWindow_p.");
1215 return NULL;
1216 }
1217 }
1218{
1219 PyThreadState* __tstate = wxPyBeginAllowThreads();
1220 wxWindow_CentreOnParent(_arg0,_arg1);
1221
1222 wxPyEndAllowThreads(__tstate);
1223 if (PyErr_Occurred()) return NULL;
1224} Py_INCREF(Py_None);
1225 _resultobj = Py_None;
1226 return _resultobj;
1227}
1228
1229#define wxWindow_CenterOnParent(_swigobj,_swigarg0) (_swigobj->CenterOnParent(_swigarg0))
1230static PyObject *_wrap_wxWindow_CenterOnParent(PyObject *self, PyObject *args, PyObject *kwargs) {
1231 PyObject * _resultobj;
1232 wxWindow * _arg0;
1233 int _arg1 = (int ) wxBOTH;
1234 PyObject * _argo0 = 0;
1235 char *_kwnames[] = { "self","direction", NULL };
1236
1237 self = self;
1238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_CenterOnParent",_kwnames,&_argo0,&_arg1))
1239 return NULL;
1240 if (_argo0) {
1241 if (_argo0 == Py_None) { _arg0 = NULL; }
1242 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1243 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_CenterOnParent. Expected _wxWindow_p.");
1244 return NULL;
1245 }
1246 }
1247{
1248 PyThreadState* __tstate = wxPyBeginAllowThreads();
1249 wxWindow_CenterOnParent(_arg0,_arg1);
1250
1251 wxPyEndAllowThreads(__tstate);
1252 if (PyErr_Occurred()) return NULL;
1253} Py_INCREF(Py_None);
1254 _resultobj = Py_None;
1255 return _resultobj;
1256}
1257
1258#define wxWindow_CentreOnScreen(_swigobj,_swigarg0) (_swigobj->CentreOnScreen(_swigarg0))
1259static PyObject *_wrap_wxWindow_CentreOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
1260 PyObject * _resultobj;
1261 wxWindow * _arg0;
1262 int _arg1 = (int ) wxBOTH;
1263 PyObject * _argo0 = 0;
1264 char *_kwnames[] = { "self","direction", NULL };
1265
1266 self = self;
1267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_CentreOnScreen",_kwnames,&_argo0,&_arg1))
1268 return NULL;
1269 if (_argo0) {
1270 if (_argo0 == Py_None) { _arg0 = NULL; }
1271 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1272 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_CentreOnScreen. Expected _wxWindow_p.");
1273 return NULL;
1274 }
1275 }
1276{
1277 PyThreadState* __tstate = wxPyBeginAllowThreads();
1278 wxWindow_CentreOnScreen(_arg0,_arg1);
1279
1280 wxPyEndAllowThreads(__tstate);
1281 if (PyErr_Occurred()) return NULL;
1282} Py_INCREF(Py_None);
1283 _resultobj = Py_None;
1284 return _resultobj;
1285}
1286
1287#define wxWindow_CenterOnScreen(_swigobj,_swigarg0) (_swigobj->CenterOnScreen(_swigarg0))
1288static PyObject *_wrap_wxWindow_CenterOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
1289 PyObject * _resultobj;
1290 wxWindow * _arg0;
1291 int _arg1 = (int ) wxBOTH;
1292 PyObject * _argo0 = 0;
1293 char *_kwnames[] = { "self","direction", NULL };
1294
1295 self = self;
1296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_CenterOnScreen",_kwnames,&_argo0,&_arg1))
1297 return NULL;
1298 if (_argo0) {
1299 if (_argo0 == Py_None) { _arg0 = NULL; }
1300 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1301 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_CenterOnScreen. Expected _wxWindow_p.");
1302 return NULL;
1303 }
1304 }
1305{
1306 PyThreadState* __tstate = wxPyBeginAllowThreads();
1307 wxWindow_CenterOnScreen(_arg0,_arg1);
1308
1309 wxPyEndAllowThreads(__tstate);
1310 if (PyErr_Occurred()) return NULL;
1311} Py_INCREF(Py_None);
1312 _resultobj = Py_None;
1313 return _resultobj;
1314}
1315
1316#define wxWindow_Clear(_swigobj) (_swigobj->Clear())
1317static PyObject *_wrap_wxWindow_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
1318 PyObject * _resultobj;
1319 wxWindow * _arg0;
1320 PyObject * _argo0 = 0;
1321 char *_kwnames[] = { "self", NULL };
1322
1323 self = self;
1324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Clear",_kwnames,&_argo0))
1325 return NULL;
1326 if (_argo0) {
1327 if (_argo0 == Py_None) { _arg0 = NULL; }
1328 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1329 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Clear. Expected _wxWindow_p.");
1330 return NULL;
1331 }
1332 }
1333{
1334 PyThreadState* __tstate = wxPyBeginAllowThreads();
1335 wxWindow_Clear(_arg0);
1336
1337 wxPyEndAllowThreads(__tstate);
1338 if (PyErr_Occurred()) return NULL;
1339} Py_INCREF(Py_None);
1340 _resultobj = Py_None;
1341 return _resultobj;
1342}
1343
1344#define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
1345static PyObject *_wrap_wxWindow_ClientToScreenXY(PyObject *self, PyObject *args, PyObject *kwargs) {
1346 PyObject * _resultobj;
1347 wxWindow * _arg0;
1348 int * _arg1;
1349 int * _arg2;
1350 PyObject * _argo0 = 0;
1351 int temp;
1352 PyObject * _obj1 = 0;
1353 int temp0;
1354 PyObject * _obj2 = 0;
1355 char *_kwnames[] = { "self","x","y", NULL };
1356
1357 self = self;
1358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxWindow_ClientToScreenXY",_kwnames,&_argo0,&_obj1,&_obj2))
1359 return NULL;
1360 if (_argo0) {
1361 if (_argo0 == Py_None) { _arg0 = NULL; }
1362 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1363 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
1364 return NULL;
1365 }
1366 }
1367{
1368 temp = (int) PyInt_AsLong(_obj1);
1369 _arg1 = &temp;
1370}
1371{
1372 temp0 = (int) PyInt_AsLong(_obj2);
1373 _arg2 = &temp0;
1374}
1375{
1376 PyThreadState* __tstate = wxPyBeginAllowThreads();
1377 wxWindow_ClientToScreenXY(_arg0,_arg1,_arg2);
1378
1379 wxPyEndAllowThreads(__tstate);
1380 if (PyErr_Occurred()) return NULL;
1381} Py_INCREF(Py_None);
1382 _resultobj = Py_None;
1383{
1384 PyObject *o;
1385 o = PyInt_FromLong((long) (*_arg1));
1386 _resultobj = t_output_helper(_resultobj, o);
1387}
1388{
1389 PyObject *o;
1390 o = PyInt_FromLong((long) (*_arg2));
1391 _resultobj = t_output_helper(_resultobj, o);
1392}
1393 return _resultobj;
1394}
1395
1396#define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
1397static PyObject *_wrap_wxWindow_ClientToScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
1398 PyObject * _resultobj;
1399 wxPoint * _result;
1400 wxWindow * _arg0;
1401 wxPoint * _arg1;
1402 PyObject * _argo0 = 0;
1403 wxPoint temp;
1404 PyObject * _obj1 = 0;
1405 char *_kwnames[] = { "self","pt", NULL };
1406 char _ptemp[128];
1407
1408 self = self;
1409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ClientToScreen",_kwnames,&_argo0,&_obj1))
1410 return NULL;
1411 if (_argo0) {
1412 if (_argo0 == Py_None) { _arg0 = NULL; }
1413 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1414 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
1415 return NULL;
1416 }
1417 }
1418{
1419 _arg1 = &temp;
1420 if (! wxPoint_helper(_obj1, &_arg1))
1421 return NULL;
1422}
1423{
1424 PyThreadState* __tstate = wxPyBeginAllowThreads();
1425 _result = new wxPoint (wxWindow_ClientToScreen(_arg0,*_arg1));
1426
1427 wxPyEndAllowThreads(__tstate);
1428 if (PyErr_Occurred()) return NULL;
1429} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
1430 _resultobj = Py_BuildValue("s",_ptemp);
1431 return _resultobj;
1432}
1433
1434#define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
1435static PyObject *_wrap_wxWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
1436 PyObject * _resultobj;
1437 bool _result;
1438 wxWindow * _arg0;
1439 int _arg1 = (int ) FALSE;
1440 PyObject * _argo0 = 0;
1441 char *_kwnames[] = { "self","force", NULL };
1442
1443 self = self;
1444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_Close",_kwnames,&_argo0,&_arg1))
1445 return NULL;
1446 if (_argo0) {
1447 if (_argo0 == Py_None) { _arg0 = NULL; }
1448 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1449 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
1450 return NULL;
1451 }
1452 }
1453{
1454 PyThreadState* __tstate = wxPyBeginAllowThreads();
1455 _result = (bool )wxWindow_Close(_arg0,_arg1);
1456
1457 wxPyEndAllowThreads(__tstate);
1458 if (PyErr_Occurred()) return NULL;
1459} _resultobj = Py_BuildValue("i",_result);
1460 return _resultobj;
1461}
1462
1463#define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
1464static PyObject *_wrap_wxWindow_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
1465 PyObject * _resultobj;
1466 bool _result;
1467 wxWindow * _arg0;
1468 PyObject * _argo0 = 0;
1469 char *_kwnames[] = { "self", NULL };
1470
1471 self = self;
1472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Destroy",_kwnames,&_argo0))
1473 return NULL;
1474 if (_argo0) {
1475 if (_argo0 == Py_None) { _arg0 = NULL; }
1476 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1477 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
1478 return NULL;
1479 }
1480 }
1481{
1482 PyThreadState* __tstate = wxPyBeginAllowThreads();
1483 _result = (bool )wxWindow_Destroy(_arg0);
1484
1485 wxPyEndAllowThreads(__tstate);
1486 if (PyErr_Occurred()) return NULL;
1487} _resultobj = Py_BuildValue("i",_result);
1488 return _resultobj;
1489}
1490
1491#define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
1492static PyObject *_wrap_wxWindow_DestroyChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
1493 PyObject * _resultobj;
1494 wxWindow * _arg0;
1495 PyObject * _argo0 = 0;
1496 char *_kwnames[] = { "self", NULL };
1497
1498 self = self;
1499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_DestroyChildren",_kwnames,&_argo0))
1500 return NULL;
1501 if (_argo0) {
1502 if (_argo0 == Py_None) { _arg0 = NULL; }
1503 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1504 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
1505 return NULL;
1506 }
1507 }
1508{
1509 PyThreadState* __tstate = wxPyBeginAllowThreads();
1510 wxWindow_DestroyChildren(_arg0);
1511
1512 wxPyEndAllowThreads(__tstate);
1513 if (PyErr_Occurred()) return NULL;
1514} Py_INCREF(Py_None);
1515 _resultobj = Py_None;
1516 return _resultobj;
1517}
1518
1519#define wxWindow_IsBeingDeleted(_swigobj) (_swigobj->IsBeingDeleted())
1520static PyObject *_wrap_wxWindow_IsBeingDeleted(PyObject *self, PyObject *args, PyObject *kwargs) {
1521 PyObject * _resultobj;
1522 bool _result;
1523 wxWindow * _arg0;
1524 PyObject * _argo0 = 0;
1525 char *_kwnames[] = { "self", NULL };
1526
1527 self = self;
1528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_IsBeingDeleted",_kwnames,&_argo0))
1529 return NULL;
1530 if (_argo0) {
1531 if (_argo0 == Py_None) { _arg0 = NULL; }
1532 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1533 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsBeingDeleted. Expected _wxWindow_p.");
1534 return NULL;
1535 }
1536 }
1537{
1538 PyThreadState* __tstate = wxPyBeginAllowThreads();
1539 _result = (bool )wxWindow_IsBeingDeleted(_arg0);
1540
1541 wxPyEndAllowThreads(__tstate);
1542 if (PyErr_Occurred()) return NULL;
1543} _resultobj = Py_BuildValue("i",_result);
1544 return _resultobj;
1545}
1546
1547#define wxWindow_DragAcceptFiles(_swigobj,_swigarg0) (_swigobj->DragAcceptFiles(_swigarg0))
1548static PyObject *_wrap_wxWindow_DragAcceptFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
1549 PyObject * _resultobj;
1550 wxWindow * _arg0;
1551 bool _arg1;
1552 PyObject * _argo0 = 0;
1553 int tempbool1;
1554 char *_kwnames[] = { "self","accept", NULL };
1555
1556 self = self;
1557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_DragAcceptFiles",_kwnames,&_argo0,&tempbool1))
1558 return NULL;
1559 if (_argo0) {
1560 if (_argo0 == Py_None) { _arg0 = NULL; }
1561 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1562 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_DragAcceptFiles. Expected _wxWindow_p.");
1563 return NULL;
1564 }
1565 }
1566 _arg1 = (bool ) tempbool1;
1567{
1568 PyThreadState* __tstate = wxPyBeginAllowThreads();
1569 wxWindow_DragAcceptFiles(_arg0,_arg1);
1570
1571 wxPyEndAllowThreads(__tstate);
1572 if (PyErr_Occurred()) return NULL;
1573} Py_INCREF(Py_None);
1574 _resultobj = Py_None;
1575 return _resultobj;
1576}
1577
1578#define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
1579static PyObject *_wrap_wxWindow_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
1580 PyObject * _resultobj;
1581 wxWindow * _arg0;
1582 bool _arg1;
1583 PyObject * _argo0 = 0;
1584 int tempbool1;
1585 char *_kwnames[] = { "self","enable", NULL };
1586
1587 self = self;
1588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_Enable",_kwnames,&_argo0,&tempbool1))
1589 return NULL;
1590 if (_argo0) {
1591 if (_argo0 == Py_None) { _arg0 = NULL; }
1592 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1593 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
1594 return NULL;
1595 }
1596 }
1597 _arg1 = (bool ) tempbool1;
1598{
1599 PyThreadState* __tstate = wxPyBeginAllowThreads();
1600 wxWindow_Enable(_arg0,_arg1);
1601
1602 wxPyEndAllowThreads(__tstate);
1603 if (PyErr_Occurred()) return NULL;
1604} Py_INCREF(Py_None);
1605 _resultobj = Py_None;
1606 return _resultobj;
1607}
1608
1609#define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1610static PyObject *_wrap_wxWindow_FindWindowById(PyObject *self, PyObject *args, PyObject *kwargs) {
1611 PyObject * _resultobj;
1612 wxWindow * _result;
1613 wxWindow * _arg0;
1614 long _arg1;
1615 PyObject * _argo0 = 0;
1616 char *_kwnames[] = { "self","id", NULL };
1617
1618 self = self;
1619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxWindow_FindWindowById",_kwnames,&_argo0,&_arg1))
1620 return NULL;
1621 if (_argo0) {
1622 if (_argo0 == Py_None) { _arg0 = NULL; }
1623 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1624 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
1625 return NULL;
1626 }
1627 }
1628{
1629 PyThreadState* __tstate = wxPyBeginAllowThreads();
1630 _result = (wxWindow *)wxWindow_FindWindowById(_arg0,_arg1);
1631
1632 wxPyEndAllowThreads(__tstate);
1633 if (PyErr_Occurred()) return NULL;
1634}{ _resultobj = wxPyMake_wxObject(_result); }
1635 return _resultobj;
1636}
1637
1638#define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1639static PyObject *_wrap_wxWindow_FindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
1640 PyObject * _resultobj;
1641 wxWindow * _result;
1642 wxWindow * _arg0;
1643 wxString * _arg1;
1644 PyObject * _argo0 = 0;
1645 PyObject * _obj1 = 0;
1646 char *_kwnames[] = { "self","name", NULL };
1647
1648 self = self;
1649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_FindWindowByName",_kwnames,&_argo0,&_obj1))
1650 return NULL;
1651 if (_argo0) {
1652 if (_argo0 == Py_None) { _arg0 = NULL; }
1653 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1654 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
1655 return NULL;
1656 }
1657 }
1658{
1659 _arg1 = wxString_in_helper(_obj1);
1660 if (_arg1 == NULL)
1661 return NULL;
1662}
1663{
1664 PyThreadState* __tstate = wxPyBeginAllowThreads();
1665 _result = (wxWindow *)wxWindow_FindWindowByName(_arg0,*_arg1);
1666
1667 wxPyEndAllowThreads(__tstate);
1668 if (PyErr_Occurred()) return NULL;
1669}{ _resultobj = wxPyMake_wxObject(_result); }
1670{
1671 if (_obj1)
1672 delete _arg1;
1673}
1674 return _resultobj;
1675}
1676
1677#define wxWindow_Fit(_swigobj) (_swigobj->Fit())
1678static PyObject *_wrap_wxWindow_Fit(PyObject *self, PyObject *args, PyObject *kwargs) {
1679 PyObject * _resultobj;
1680 wxWindow * _arg0;
1681 PyObject * _argo0 = 0;
1682 char *_kwnames[] = { "self", NULL };
1683
1684 self = self;
1685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Fit",_kwnames,&_argo0))
1686 return NULL;
1687 if (_argo0) {
1688 if (_argo0 == Py_None) { _arg0 = NULL; }
1689 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1690 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
1691 return NULL;
1692 }
1693 }
1694{
1695 PyThreadState* __tstate = wxPyBeginAllowThreads();
1696 wxWindow_Fit(_arg0);
1697
1698 wxPyEndAllowThreads(__tstate);
1699 if (PyErr_Occurred()) return NULL;
1700} Py_INCREF(Py_None);
1701 _resultobj = Py_None;
1702 return _resultobj;
1703}
1704
1705#define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1706static PyObject *_wrap_wxWindow_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1707 PyObject * _resultobj;
1708 wxColour * _result;
1709 wxWindow * _arg0;
1710 PyObject * _argo0 = 0;
1711 char *_kwnames[] = { "self", NULL };
1712 char _ptemp[128];
1713
1714 self = self;
1715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetBackgroundColour",_kwnames,&_argo0))
1716 return NULL;
1717 if (_argo0) {
1718 if (_argo0 == Py_None) { _arg0 = NULL; }
1719 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1720 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
1721 return NULL;
1722 }
1723 }
1724{
1725 PyThreadState* __tstate = wxPyBeginAllowThreads();
1726 _result = new wxColour (wxWindow_GetBackgroundColour(_arg0));
1727
1728 wxPyEndAllowThreads(__tstate);
1729 if (PyErr_Occurred()) return NULL;
1730} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
1731 _resultobj = Py_BuildValue("s",_ptemp);
1732 return _resultobj;
1733}
1734
1735#define wxWindow_GetBorder(_swigobj) (_swigobj->GetBorder())
1736static PyObject *_wrap_wxWindow_GetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
1737 PyObject * _resultobj;
1738 wxBorder _result;
1739 wxWindow * _arg0;
1740 PyObject * _argo0 = 0;
1741 char *_kwnames[] = { "self", NULL };
1742
1743 self = self;
1744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetBorder",_kwnames,&_argo0))
1745 return NULL;
1746 if (_argo0) {
1747 if (_argo0 == Py_None) { _arg0 = NULL; }
1748 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1749 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetBorder. Expected _wxWindow_p.");
1750 return NULL;
1751 }
1752 }
1753{
1754 PyThreadState* __tstate = wxPyBeginAllowThreads();
1755 _result = (wxBorder )wxWindow_GetBorder(_arg0);
1756
1757 wxPyEndAllowThreads(__tstate);
1758 if (PyErr_Occurred()) return NULL;
1759} _resultobj = Py_BuildValue("i",_result);
1760 return _resultobj;
1761}
1762
1763static PyObject * wxWindow_GetChildren(wxWindow *self) {
1764 wxWindowList& list = self->GetChildren();
1765 return wxPy_ConvertList(&list, "wxWindow");
1766 }
1767static PyObject *_wrap_wxWindow_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
1768 PyObject * _resultobj;
1769 PyObject * _result;
1770 wxWindow * _arg0;
1771 PyObject * _argo0 = 0;
1772 char *_kwnames[] = { "self", NULL };
1773
1774 self = self;
1775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetChildren",_kwnames,&_argo0))
1776 return NULL;
1777 if (_argo0) {
1778 if (_argo0 == Py_None) { _arg0 = NULL; }
1779 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1780 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetChildren. Expected _wxWindow_p.");
1781 return NULL;
1782 }
1783 }
1784{
1785 PyThreadState* __tstate = wxPyBeginAllowThreads();
1786 _result = (PyObject *)wxWindow_GetChildren(_arg0);
1787
1788 wxPyEndAllowThreads(__tstate);
1789 if (PyErr_Occurred()) return NULL;
1790}{
1791 _resultobj = _result;
1792}
1793 return _resultobj;
1794}
1795
1796#define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1797static PyObject *_wrap_wxWindow_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
1798 PyObject * _resultobj;
1799 int _result;
1800 wxWindow * _arg0;
1801 PyObject * _argo0 = 0;
1802 char *_kwnames[] = { "self", NULL };
1803
1804 self = self;
1805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetCharHeight",_kwnames,&_argo0))
1806 return NULL;
1807 if (_argo0) {
1808 if (_argo0 == Py_None) { _arg0 = NULL; }
1809 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1810 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
1811 return NULL;
1812 }
1813 }
1814{
1815 PyThreadState* __tstate = wxPyBeginAllowThreads();
1816 _result = (int )wxWindow_GetCharHeight(_arg0);
1817
1818 wxPyEndAllowThreads(__tstate);
1819 if (PyErr_Occurred()) return NULL;
1820} _resultobj = Py_BuildValue("i",_result);
1821 return _resultobj;
1822}
1823
1824#define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1825static PyObject *_wrap_wxWindow_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1826 PyObject * _resultobj;
1827 int _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_GetCharWidth",_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_GetCharWidth. Expected _wxWindow_p.");
1839 return NULL;
1840 }
1841 }
1842{
1843 PyThreadState* __tstate = wxPyBeginAllowThreads();
1844 _result = (int )wxWindow_GetCharWidth(_arg0);
1845
1846 wxPyEndAllowThreads(__tstate);
1847 if (PyErr_Occurred()) return NULL;
1848} _resultobj = Py_BuildValue("i",_result);
1849 return _resultobj;
1850}
1851
1852#define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
1853static PyObject *_wrap_wxWindow_GetClientSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
1854 PyObject * _resultobj;
1855 wxWindow * _arg0;
1856 int * _arg1;
1857 int temp;
1858 int * _arg2;
1859 int temp0;
1860 PyObject * _argo0 = 0;
1861 char *_kwnames[] = { "self", NULL };
1862
1863 self = self;
1864{
1865 _arg1 = &temp;
1866}
1867{
1868 _arg2 = &temp0;
1869}
1870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetClientSizeTuple",_kwnames,&_argo0))
1871 return NULL;
1872 if (_argo0) {
1873 if (_argo0 == Py_None) { _arg0 = NULL; }
1874 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1875 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
1876 return NULL;
1877 }
1878 }
1879{
1880 PyThreadState* __tstate = wxPyBeginAllowThreads();
1881 wxWindow_GetClientSizeTuple(_arg0,_arg1,_arg2);
1882
1883 wxPyEndAllowThreads(__tstate);
1884 if (PyErr_Occurred()) return NULL;
1885} Py_INCREF(Py_None);
1886 _resultobj = Py_None;
1887{
1888 PyObject *o;
1889 o = PyInt_FromLong((long) (*_arg1));
1890 _resultobj = t_output_helper(_resultobj, o);
1891}
1892{
1893 PyObject *o;
1894 o = PyInt_FromLong((long) (*_arg2));
1895 _resultobj = t_output_helper(_resultobj, o);
1896}
1897 return _resultobj;
1898}
1899
1900#define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
1901static PyObject *_wrap_wxWindow_GetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1902 PyObject * _resultobj;
1903 wxSize * _result;
1904 wxWindow * _arg0;
1905 PyObject * _argo0 = 0;
1906 char *_kwnames[] = { "self", NULL };
1907 char _ptemp[128];
1908
1909 self = self;
1910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetClientSize",_kwnames,&_argo0))
1911 return NULL;
1912 if (_argo0) {
1913 if (_argo0 == Py_None) { _arg0 = NULL; }
1914 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1915 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
1916 return NULL;
1917 }
1918 }
1919{
1920 PyThreadState* __tstate = wxPyBeginAllowThreads();
1921 _result = new wxSize (wxWindow_GetClientSize(_arg0));
1922
1923 wxPyEndAllowThreads(__tstate);
1924 if (PyErr_Occurred()) return NULL;
1925} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1926 _resultobj = Py_BuildValue("s",_ptemp);
1927 return _resultobj;
1928}
1929
1930#define wxWindow_GetClientAreaOrigin(_swigobj) (_swigobj->GetClientAreaOrigin())
1931static PyObject *_wrap_wxWindow_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
1932 PyObject * _resultobj;
1933 wxPoint * _result;
1934 wxWindow * _arg0;
1935 PyObject * _argo0 = 0;
1936 char *_kwnames[] = { "self", NULL };
1937 char _ptemp[128];
1938
1939 self = self;
1940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetClientAreaOrigin",_kwnames,&_argo0))
1941 return NULL;
1942 if (_argo0) {
1943 if (_argo0 == Py_None) { _arg0 = NULL; }
1944 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1945 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetClientAreaOrigin. Expected _wxWindow_p.");
1946 return NULL;
1947 }
1948 }
1949{
1950 PyThreadState* __tstate = wxPyBeginAllowThreads();
1951 _result = new wxPoint (wxWindow_GetClientAreaOrigin(_arg0));
1952
1953 wxPyEndAllowThreads(__tstate);
1954 if (PyErr_Occurred()) return NULL;
1955} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
1956 _resultobj = Py_BuildValue("s",_ptemp);
1957 return _resultobj;
1958}
1959
1960#define wxWindow_GetClientRect(_swigobj) (_swigobj->GetClientRect())
1961static PyObject *_wrap_wxWindow_GetClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
1962 PyObject * _resultobj;
1963 wxRect * _result;
1964 wxWindow * _arg0;
1965 PyObject * _argo0 = 0;
1966 char *_kwnames[] = { "self", NULL };
1967 char _ptemp[128];
1968
1969 self = self;
1970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetClientRect",_kwnames,&_argo0))
1971 return NULL;
1972 if (_argo0) {
1973 if (_argo0 == Py_None) { _arg0 = NULL; }
1974 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1975 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetClientRect. Expected _wxWindow_p.");
1976 return NULL;
1977 }
1978 }
1979{
1980 PyThreadState* __tstate = wxPyBeginAllowThreads();
1981 _result = new wxRect (wxWindow_GetClientRect(_arg0));
1982
1983 wxPyEndAllowThreads(__tstate);
1984 if (PyErr_Occurred()) return NULL;
1985} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
1986 _resultobj = Py_BuildValue("s",_ptemp);
1987 return _resultobj;
1988}
1989
1990#define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
1991static PyObject *_wrap_wxWindow_GetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
1992 PyObject * _resultobj;
1993 wxLayoutConstraints * _result;
1994 wxWindow * _arg0;
1995 PyObject * _argo0 = 0;
1996 char *_kwnames[] = { "self", NULL };
1997 char _ptemp[128];
1998
1999 self = self;
2000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetConstraints",_kwnames,&_argo0))
2001 return NULL;
2002 if (_argo0) {
2003 if (_argo0 == Py_None) { _arg0 = NULL; }
2004 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2005 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
2006 return NULL;
2007 }
2008 }
2009{
2010 PyThreadState* __tstate = wxPyBeginAllowThreads();
2011 _result = (wxLayoutConstraints *)wxWindow_GetConstraints(_arg0);
2012
2013 wxPyEndAllowThreads(__tstate);
2014 if (PyErr_Occurred()) return NULL;
2015} if (_result) {
2016 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLayoutConstraints_p");
2017 _resultobj = Py_BuildValue("s",_ptemp);
2018 } else {
2019 Py_INCREF(Py_None);
2020 _resultobj = Py_None;
2021 }
2022 return _resultobj;
2023}
2024
2025#define wxWindow_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
2026static PyObject *_wrap_wxWindow_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
2027 PyObject * _resultobj;
2028 wxEvtHandler * _result;
2029 wxWindow * _arg0;
2030 PyObject * _argo0 = 0;
2031 char *_kwnames[] = { "self", NULL };
2032
2033 self = self;
2034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetEventHandler",_kwnames,&_argo0))
2035 return NULL;
2036 if (_argo0) {
2037 if (_argo0 == Py_None) { _arg0 = NULL; }
2038 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2039 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetEventHandler. Expected _wxWindow_p.");
2040 return NULL;
2041 }
2042 }
2043{
2044 PyThreadState* __tstate = wxPyBeginAllowThreads();
2045 _result = (wxEvtHandler *)wxWindow_GetEventHandler(_arg0);
2046
2047 wxPyEndAllowThreads(__tstate);
2048 if (PyErr_Occurred()) return NULL;
2049}{ _resultobj = wxPyMake_wxObject(_result); }
2050 return _resultobj;
2051}
2052
2053#define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
2054static PyObject *_wrap_wxWindow_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
2055 PyObject * _resultobj;
2056 wxFont * _result;
2057 wxWindow * _arg0;
2058 PyObject * _argo0 = 0;
2059 char *_kwnames[] = { "self", NULL };
2060 char _ptemp[128];
2061
2062 self = self;
2063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetFont",_kwnames,&_argo0))
2064 return NULL;
2065 if (_argo0) {
2066 if (_argo0 == Py_None) { _arg0 = NULL; }
2067 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2068 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
2069 return NULL;
2070 }
2071 }
2072{
2073 PyThreadState* __tstate = wxPyBeginAllowThreads();
2074 _result = new wxFont (wxWindow_GetFont(_arg0));
2075
2076 wxPyEndAllowThreads(__tstate);
2077 if (PyErr_Occurred()) return NULL;
2078} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
2079 _resultobj = Py_BuildValue("s",_ptemp);
2080 return _resultobj;
2081}
2082
2083#define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
2084static PyObject *_wrap_wxWindow_GetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
2085 PyObject * _resultobj;
2086 wxColour * _result;
2087 wxWindow * _arg0;
2088 PyObject * _argo0 = 0;
2089 char *_kwnames[] = { "self", NULL };
2090 char _ptemp[128];
2091
2092 self = self;
2093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetForegroundColour",_kwnames,&_argo0))
2094 return NULL;
2095 if (_argo0) {
2096 if (_argo0 == Py_None) { _arg0 = NULL; }
2097 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2098 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
2099 return NULL;
2100 }
2101 }
2102{
2103 PyThreadState* __tstate = wxPyBeginAllowThreads();
2104 _result = new wxColour (wxWindow_GetForegroundColour(_arg0));
2105
2106 wxPyEndAllowThreads(__tstate);
2107 if (PyErr_Occurred()) return NULL;
2108} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
2109 _resultobj = Py_BuildValue("s",_ptemp);
2110 return _resultobj;
2111}
2112
2113#define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
2114static PyObject *_wrap_wxWindow_GetGrandParent(PyObject *self, PyObject *args, PyObject *kwargs) {
2115 PyObject * _resultobj;
2116 wxWindow * _result;
2117 wxWindow * _arg0;
2118 PyObject * _argo0 = 0;
2119 char *_kwnames[] = { "self", NULL };
2120
2121 self = self;
2122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetGrandParent",_kwnames,&_argo0))
2123 return NULL;
2124 if (_argo0) {
2125 if (_argo0 == Py_None) { _arg0 = NULL; }
2126 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2127 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
2128 return NULL;
2129 }
2130 }
2131{
2132 PyThreadState* __tstate = wxPyBeginAllowThreads();
2133 _result = (wxWindow *)wxWindow_GetGrandParent(_arg0);
2134
2135 wxPyEndAllowThreads(__tstate);
2136 if (PyErr_Occurred()) return NULL;
2137}{ _resultobj = wxPyMake_wxObject(_result); }
2138 return _resultobj;
2139}
2140
2141static long wxWindow_GetHandle(wxWindow *self) {
2142 return wxPyGetWinHandle(self); //(long)self->GetHandle();
2143 }
2144static PyObject *_wrap_wxWindow_GetHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
2145 PyObject * _resultobj;
2146 long _result;
2147 wxWindow * _arg0;
2148 PyObject * _argo0 = 0;
2149 char *_kwnames[] = { "self", NULL };
2150
2151 self = self;
2152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetHandle",_kwnames,&_argo0))
2153 return NULL;
2154 if (_argo0) {
2155 if (_argo0 == Py_None) { _arg0 = NULL; }
2156 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2157 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetHandle. Expected _wxWindow_p.");
2158 return NULL;
2159 }
2160 }
2161{
2162 PyThreadState* __tstate = wxPyBeginAllowThreads();
2163 _result = (long )wxWindow_GetHandle(_arg0);
2164
2165 wxPyEndAllowThreads(__tstate);
2166 if (PyErr_Occurred()) return NULL;
2167} _resultobj = Py_BuildValue("l",_result);
2168 return _resultobj;
2169}
2170
2171#define wxWindow_GetId(_swigobj) (_swigobj->GetId())
2172static PyObject *_wrap_wxWindow_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
2173 PyObject * _resultobj;
2174 int _result;
2175 wxWindow * _arg0;
2176 PyObject * _argo0 = 0;
2177 char *_kwnames[] = { "self", NULL };
2178
2179 self = self;
2180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetId",_kwnames,&_argo0))
2181 return NULL;
2182 if (_argo0) {
2183 if (_argo0 == Py_None) { _arg0 = NULL; }
2184 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2185 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
2186 return NULL;
2187 }
2188 }
2189{
2190 PyThreadState* __tstate = wxPyBeginAllowThreads();
2191 _result = (int )wxWindow_GetId(_arg0);
2192
2193 wxPyEndAllowThreads(__tstate);
2194 if (PyErr_Occurred()) return NULL;
2195} _resultobj = Py_BuildValue("i",_result);
2196 return _resultobj;
2197}
2198
2199#define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
2200static PyObject *_wrap_wxWindow_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
2201 PyObject * _resultobj;
2202 wxString * _result;
2203 wxWindow * _arg0;
2204 PyObject * _argo0 = 0;
2205 char *_kwnames[] = { "self", NULL };
2206
2207 self = self;
2208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetLabel",_kwnames,&_argo0))
2209 return NULL;
2210 if (_argo0) {
2211 if (_argo0 == Py_None) { _arg0 = NULL; }
2212 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2213 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
2214 return NULL;
2215 }
2216 }
2217{
2218 PyThreadState* __tstate = wxPyBeginAllowThreads();
2219 _result = new wxString (wxWindow_GetLabel(_arg0));
2220
2221 wxPyEndAllowThreads(__tstate);
2222 if (PyErr_Occurred()) return NULL;
2223}{
2224#if wxUSE_UNICODE
2225 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
2226#else
2227 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
2228#endif
2229}
2230{
2231 delete _result;
2232}
2233 return _resultobj;
2234}
2235
2236#define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
2237static PyObject *_wrap_wxWindow_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
2238 PyObject * _resultobj;
2239 wxWindow * _arg0;
2240 wxString * _arg1;
2241 PyObject * _argo0 = 0;
2242 PyObject * _obj1 = 0;
2243 char *_kwnames[] = { "self","label", NULL };
2244
2245 self = self;
2246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetLabel",_kwnames,&_argo0,&_obj1))
2247 return NULL;
2248 if (_argo0) {
2249 if (_argo0 == Py_None) { _arg0 = NULL; }
2250 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2251 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
2252 return NULL;
2253 }
2254 }
2255{
2256 _arg1 = wxString_in_helper(_obj1);
2257 if (_arg1 == NULL)
2258 return NULL;
2259}
2260{
2261 PyThreadState* __tstate = wxPyBeginAllowThreads();
2262 wxWindow_SetLabel(_arg0,*_arg1);
2263
2264 wxPyEndAllowThreads(__tstate);
2265 if (PyErr_Occurred()) return NULL;
2266} Py_INCREF(Py_None);
2267 _resultobj = Py_None;
2268{
2269 if (_obj1)
2270 delete _arg1;
2271}
2272 return _resultobj;
2273}
2274
2275#define wxWindow_GetName(_swigobj) (_swigobj->GetName())
2276static PyObject *_wrap_wxWindow_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
2277 PyObject * _resultobj;
2278 wxString * _result;
2279 wxWindow * _arg0;
2280 PyObject * _argo0 = 0;
2281 char *_kwnames[] = { "self", NULL };
2282
2283 self = self;
2284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetName",_kwnames,&_argo0))
2285 return NULL;
2286 if (_argo0) {
2287 if (_argo0 == Py_None) { _arg0 = NULL; }
2288 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2289 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
2290 return NULL;
2291 }
2292 }
2293{
2294 PyThreadState* __tstate = wxPyBeginAllowThreads();
2295 _result = new wxString (wxWindow_GetName(_arg0));
2296
2297 wxPyEndAllowThreads(__tstate);
2298 if (PyErr_Occurred()) return NULL;
2299}{
2300#if wxUSE_UNICODE
2301 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
2302#else
2303 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
2304#endif
2305}
2306{
2307 delete _result;
2308}
2309 return _resultobj;
2310}
2311
2312#define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
2313static PyObject *_wrap_wxWindow_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
2314 PyObject * _resultobj;
2315 wxWindow * _result;
2316 wxWindow * _arg0;
2317 PyObject * _argo0 = 0;
2318 char *_kwnames[] = { "self", NULL };
2319
2320 self = self;
2321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetParent",_kwnames,&_argo0))
2322 return NULL;
2323 if (_argo0) {
2324 if (_argo0 == Py_None) { _arg0 = NULL; }
2325 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2326 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
2327 return NULL;
2328 }
2329 }
2330{
2331 PyThreadState* __tstate = wxPyBeginAllowThreads();
2332 _result = (wxWindow *)wxWindow_GetParent(_arg0);
2333
2334 wxPyEndAllowThreads(__tstate);
2335 if (PyErr_Occurred()) return NULL;
2336}{ _resultobj = wxPyMake_wxObject(_result); }
2337 return _resultobj;
2338}
2339
2340#define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2341static PyObject *_wrap_wxWindow_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
2342 PyObject * _resultobj;
2343 wxWindow * _arg0;
2344 int * _arg1;
2345 int temp;
2346 int * _arg2;
2347 int temp0;
2348 PyObject * _argo0 = 0;
2349 char *_kwnames[] = { "self", NULL };
2350
2351 self = self;
2352{
2353 _arg1 = &temp;
2354}
2355{
2356 _arg2 = &temp0;
2357}
2358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetPositionTuple",_kwnames,&_argo0))
2359 return NULL;
2360 if (_argo0) {
2361 if (_argo0 == Py_None) { _arg0 = NULL; }
2362 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2363 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
2364 return NULL;
2365 }
2366 }
2367{
2368 PyThreadState* __tstate = wxPyBeginAllowThreads();
2369 wxWindow_GetPositionTuple(_arg0,_arg1,_arg2);
2370
2371 wxPyEndAllowThreads(__tstate);
2372 if (PyErr_Occurred()) return NULL;
2373} Py_INCREF(Py_None);
2374 _resultobj = Py_None;
2375{
2376 PyObject *o;
2377 o = PyInt_FromLong((long) (*_arg1));
2378 _resultobj = t_output_helper(_resultobj, o);
2379}
2380{
2381 PyObject *o;
2382 o = PyInt_FromLong((long) (*_arg2));
2383 _resultobj = t_output_helper(_resultobj, o);
2384}
2385 return _resultobj;
2386}
2387
2388#define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
2389static PyObject *_wrap_wxWindow_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2390 PyObject * _resultobj;
2391 wxPoint * _result;
2392 wxWindow * _arg0;
2393 PyObject * _argo0 = 0;
2394 char *_kwnames[] = { "self", NULL };
2395 char _ptemp[128];
2396
2397 self = self;
2398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetPosition",_kwnames,&_argo0))
2399 return NULL;
2400 if (_argo0) {
2401 if (_argo0 == Py_None) { _arg0 = NULL; }
2402 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2403 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
2404 return NULL;
2405 }
2406 }
2407{
2408 PyThreadState* __tstate = wxPyBeginAllowThreads();
2409 _result = new wxPoint (wxWindow_GetPosition(_arg0));
2410
2411 wxPyEndAllowThreads(__tstate);
2412 if (PyErr_Occurred()) return NULL;
2413} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2414 _resultobj = Py_BuildValue("s",_ptemp);
2415 return _resultobj;
2416}
2417
2418#define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
2419static PyObject *_wrap_wxWindow_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2420 PyObject * _resultobj;
2421 wxRect * _result;
2422 wxWindow * _arg0;
2423 PyObject * _argo0 = 0;
2424 char *_kwnames[] = { "self", NULL };
2425 char _ptemp[128];
2426
2427 self = self;
2428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetRect",_kwnames,&_argo0))
2429 return NULL;
2430 if (_argo0) {
2431 if (_argo0 == Py_None) { _arg0 = NULL; }
2432 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2433 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
2434 return NULL;
2435 }
2436 }
2437{
2438 PyThreadState* __tstate = wxPyBeginAllowThreads();
2439 _result = new wxRect (wxWindow_GetRect(_arg0));
2440
2441 wxPyEndAllowThreads(__tstate);
2442 if (PyErr_Occurred()) return NULL;
2443} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
2444 _resultobj = Py_BuildValue("s",_ptemp);
2445 return _resultobj;
2446}
2447
2448#define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
2449static PyObject *_wrap_wxWindow_GetScrollThumb(PyObject *self, PyObject *args, PyObject *kwargs) {
2450 PyObject * _resultobj;
2451 int _result;
2452 wxWindow * _arg0;
2453 int _arg1;
2454 PyObject * _argo0 = 0;
2455 char *_kwnames[] = { "self","orientation", NULL };
2456
2457 self = self;
2458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_GetScrollThumb",_kwnames,&_argo0,&_arg1))
2459 return NULL;
2460 if (_argo0) {
2461 if (_argo0 == Py_None) { _arg0 = NULL; }
2462 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2463 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
2464 return NULL;
2465 }
2466 }
2467{
2468 PyThreadState* __tstate = wxPyBeginAllowThreads();
2469 _result = (int )wxWindow_GetScrollThumb(_arg0,_arg1);
2470
2471 wxPyEndAllowThreads(__tstate);
2472 if (PyErr_Occurred()) return NULL;
2473} _resultobj = Py_BuildValue("i",_result);
2474 return _resultobj;
2475}
2476
2477#define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
2478static PyObject *_wrap_wxWindow_GetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
2479 PyObject * _resultobj;
2480 int _result;
2481 wxWindow * _arg0;
2482 int _arg1;
2483 PyObject * _argo0 = 0;
2484 char *_kwnames[] = { "self","orientation", NULL };
2485
2486 self = self;
2487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_GetScrollPos",_kwnames,&_argo0,&_arg1))
2488 return NULL;
2489 if (_argo0) {
2490 if (_argo0 == Py_None) { _arg0 = NULL; }
2491 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2492 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
2493 return NULL;
2494 }
2495 }
2496{
2497 PyThreadState* __tstate = wxPyBeginAllowThreads();
2498 _result = (int )wxWindow_GetScrollPos(_arg0,_arg1);
2499
2500 wxPyEndAllowThreads(__tstate);
2501 if (PyErr_Occurred()) return NULL;
2502} _resultobj = Py_BuildValue("i",_result);
2503 return _resultobj;
2504}
2505
2506#define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
2507static PyObject *_wrap_wxWindow_GetScrollRange(PyObject *self, PyObject *args, PyObject *kwargs) {
2508 PyObject * _resultobj;
2509 int _result;
2510 wxWindow * _arg0;
2511 int _arg1;
2512 PyObject * _argo0 = 0;
2513 char *_kwnames[] = { "self","orientation", NULL };
2514
2515 self = self;
2516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_GetScrollRange",_kwnames,&_argo0,&_arg1))
2517 return NULL;
2518 if (_argo0) {
2519 if (_argo0 == Py_None) { _arg0 = NULL; }
2520 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2521 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
2522 return NULL;
2523 }
2524 }
2525{
2526 PyThreadState* __tstate = wxPyBeginAllowThreads();
2527 _result = (int )wxWindow_GetScrollRange(_arg0,_arg1);
2528
2529 wxPyEndAllowThreads(__tstate);
2530 if (PyErr_Occurred()) return NULL;
2531} _resultobj = Py_BuildValue("i",_result);
2532 return _resultobj;
2533}
2534
2535#define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2536static PyObject *_wrap_wxWindow_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
2537 PyObject * _resultobj;
2538 wxWindow * _arg0;
2539 int * _arg1;
2540 int temp;
2541 int * _arg2;
2542 int temp0;
2543 PyObject * _argo0 = 0;
2544 char *_kwnames[] = { "self", NULL };
2545
2546 self = self;
2547{
2548 _arg1 = &temp;
2549}
2550{
2551 _arg2 = &temp0;
2552}
2553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetSizeTuple",_kwnames,&_argo0))
2554 return NULL;
2555 if (_argo0) {
2556 if (_argo0 == Py_None) { _arg0 = NULL; }
2557 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2558 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
2559 return NULL;
2560 }
2561 }
2562{
2563 PyThreadState* __tstate = wxPyBeginAllowThreads();
2564 wxWindow_GetSizeTuple(_arg0,_arg1,_arg2);
2565
2566 wxPyEndAllowThreads(__tstate);
2567 if (PyErr_Occurred()) return NULL;
2568} Py_INCREF(Py_None);
2569 _resultobj = Py_None;
2570{
2571 PyObject *o;
2572 o = PyInt_FromLong((long) (*_arg1));
2573 _resultobj = t_output_helper(_resultobj, o);
2574}
2575{
2576 PyObject *o;
2577 o = PyInt_FromLong((long) (*_arg2));
2578 _resultobj = t_output_helper(_resultobj, o);
2579}
2580 return _resultobj;
2581}
2582
2583#define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
2584static PyObject *_wrap_wxWindow_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2585 PyObject * _resultobj;
2586 wxSize * _result;
2587 wxWindow * _arg0;
2588 PyObject * _argo0 = 0;
2589 char *_kwnames[] = { "self", NULL };
2590 char _ptemp[128];
2591
2592 self = self;
2593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetSize",_kwnames,&_argo0))
2594 return NULL;
2595 if (_argo0) {
2596 if (_argo0 == Py_None) { _arg0 = NULL; }
2597 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2598 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
2599 return NULL;
2600 }
2601 }
2602{
2603 PyThreadState* __tstate = wxPyBeginAllowThreads();
2604 _result = new wxSize (wxWindow_GetSize(_arg0));
2605
2606 wxPyEndAllowThreads(__tstate);
2607 if (PyErr_Occurred()) return NULL;
2608} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
2609 _resultobj = Py_BuildValue("s",_ptemp);
2610 return _resultobj;
2611}
2612
2613#define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
2614static PyObject *_wrap_wxWindow_GetTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
2615 PyObject * _resultobj;
2616 wxWindow * _arg0;
2617 wxString * _arg1;
2618 int * _arg2;
2619 int temp;
2620 int * _arg3;
2621 int temp0;
2622 PyObject * _argo0 = 0;
2623 PyObject * _obj1 = 0;
2624 char *_kwnames[] = { "self","string", NULL };
2625
2626 self = self;
2627{
2628 _arg2 = &temp;
2629}
2630{
2631 _arg3 = &temp0;
2632}
2633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_GetTextExtent",_kwnames,&_argo0,&_obj1))
2634 return NULL;
2635 if (_argo0) {
2636 if (_argo0 == Py_None) { _arg0 = NULL; }
2637 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2638 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
2639 return NULL;
2640 }
2641 }
2642{
2643 _arg1 = wxString_in_helper(_obj1);
2644 if (_arg1 == NULL)
2645 return NULL;
2646}
2647{
2648 PyThreadState* __tstate = wxPyBeginAllowThreads();
2649 wxWindow_GetTextExtent(_arg0,*_arg1,_arg2,_arg3);
2650
2651 wxPyEndAllowThreads(__tstate);
2652 if (PyErr_Occurred()) return NULL;
2653} Py_INCREF(Py_None);
2654 _resultobj = Py_None;
2655{
2656 PyObject *o;
2657 o = PyInt_FromLong((long) (*_arg2));
2658 _resultobj = t_output_helper(_resultobj, o);
2659}
2660{
2661 PyObject *o;
2662 o = PyInt_FromLong((long) (*_arg3));
2663 _resultobj = t_output_helper(_resultobj, o);
2664}
2665{
2666 if (_obj1)
2667 delete _arg1;
2668}
2669 return _resultobj;
2670}
2671
2672#define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2673static PyObject *_wrap_wxWindow_GetFullTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
2674 PyObject * _resultobj;
2675 wxWindow * _arg0;
2676 wxString * _arg1;
2677 int * _arg2;
2678 int temp;
2679 int * _arg3;
2680 int temp0;
2681 int * _arg4;
2682 int temp1;
2683 int * _arg5;
2684 int temp2;
2685 wxFont * _arg6 = (wxFont *) NULL;
2686 PyObject * _argo0 = 0;
2687 PyObject * _obj1 = 0;
2688 PyObject * _argo6 = 0;
2689 char *_kwnames[] = { "self","string","font", NULL };
2690
2691 self = self;
2692{
2693 _arg2 = &temp;
2694}
2695{
2696 _arg3 = &temp0;
2697}
2698{
2699 _arg4 = &temp1;
2700}
2701{
2702 _arg5 = &temp2;
2703}
2704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxWindow_GetFullTextExtent",_kwnames,&_argo0,&_obj1,&_argo6))
2705 return NULL;
2706 if (_argo0) {
2707 if (_argo0 == Py_None) { _arg0 = NULL; }
2708 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2709 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
2710 return NULL;
2711 }
2712 }
2713{
2714 _arg1 = wxString_in_helper(_obj1);
2715 if (_arg1 == NULL)
2716 return NULL;
2717}
2718 if (_argo6) {
2719 if (_argo6 == Py_None) { _arg6 = NULL; }
2720 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxFont_p")) {
2721 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
2722 return NULL;
2723 }
2724 }
2725{
2726 PyThreadState* __tstate = wxPyBeginAllowThreads();
2727 wxWindow_GetFullTextExtent(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
2728
2729 wxPyEndAllowThreads(__tstate);
2730 if (PyErr_Occurred()) return NULL;
2731} Py_INCREF(Py_None);
2732 _resultobj = Py_None;
2733{
2734 PyObject *o;
2735 o = PyInt_FromLong((long) (*_arg2));
2736 _resultobj = t_output_helper(_resultobj, o);
2737}
2738{
2739 PyObject *o;
2740 o = PyInt_FromLong((long) (*_arg3));
2741 _resultobj = t_output_helper(_resultobj, o);
2742}
2743{
2744 PyObject *o;
2745 o = PyInt_FromLong((long) (*_arg4));
2746 _resultobj = t_output_helper(_resultobj, o);
2747}
2748{
2749 PyObject *o;
2750 o = PyInt_FromLong((long) (*_arg5));
2751 _resultobj = t_output_helper(_resultobj, o);
2752}
2753{
2754 if (_obj1)
2755 delete _arg1;
2756}
2757 return _resultobj;
2758}
2759
2760#define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
2761static PyObject *_wrap_wxWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2762 PyObject * _resultobj;
2763 wxString * _result;
2764 wxWindow * _arg0;
2765 PyObject * _argo0 = 0;
2766 char *_kwnames[] = { "self", NULL };
2767
2768 self = self;
2769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetTitle",_kwnames,&_argo0))
2770 return NULL;
2771 if (_argo0) {
2772 if (_argo0 == Py_None) { _arg0 = NULL; }
2773 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2774 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
2775 return NULL;
2776 }
2777 }
2778{
2779 PyThreadState* __tstate = wxPyBeginAllowThreads();
2780 _result = new wxString (wxWindow_GetTitle(_arg0));
2781
2782 wxPyEndAllowThreads(__tstate);
2783 if (PyErr_Occurred()) return NULL;
2784}{
2785#if wxUSE_UNICODE
2786 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
2787#else
2788 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
2789#endif
2790}
2791{
2792 delete _result;
2793}
2794 return _resultobj;
2795}
2796
2797#define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
2798static PyObject *_wrap_wxWindow_GetUpdateRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
2799 PyObject * _resultobj;
2800 wxRegion * _result;
2801 wxWindow * _arg0;
2802 PyObject * _argo0 = 0;
2803 char *_kwnames[] = { "self", NULL };
2804 char _ptemp[128];
2805
2806 self = self;
2807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetUpdateRegion",_kwnames,&_argo0))
2808 return NULL;
2809 if (_argo0) {
2810 if (_argo0 == Py_None) { _arg0 = NULL; }
2811 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2812 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
2813 return NULL;
2814 }
2815 }
2816{
2817 PyThreadState* __tstate = wxPyBeginAllowThreads();
2818 _result = new wxRegion (wxWindow_GetUpdateRegion(_arg0));
2819
2820 wxPyEndAllowThreads(__tstate);
2821 if (PyErr_Occurred()) return NULL;
2822} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRegion_p");
2823 _resultobj = Py_BuildValue("s",_ptemp);
2824 return _resultobj;
2825}
2826
2827#define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
2828static PyObject *_wrap_wxWindow_GetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
2829 PyObject * _resultobj;
2830 long _result;
2831 wxWindow * _arg0;
2832 PyObject * _argo0 = 0;
2833 char *_kwnames[] = { "self", NULL };
2834
2835 self = self;
2836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetWindowStyleFlag",_kwnames,&_argo0))
2837 return NULL;
2838 if (_argo0) {
2839 if (_argo0 == Py_None) { _arg0 = NULL; }
2840 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2841 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
2842 return NULL;
2843 }
2844 }
2845{
2846 PyThreadState* __tstate = wxPyBeginAllowThreads();
2847 _result = (long )wxWindow_GetWindowStyleFlag(_arg0);
2848
2849 wxPyEndAllowThreads(__tstate);
2850 if (PyErr_Occurred()) return NULL;
2851} _resultobj = Py_BuildValue("l",_result);
2852 return _resultobj;
2853}
2854
2855#define wxWindow_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
2856static PyObject *_wrap_wxWindow_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
2857 PyObject * _resultobj;
2858 wxWindow * _arg0;
2859 long _arg1;
2860 PyObject * _argo0 = 0;
2861 char *_kwnames[] = { "self","style", NULL };
2862
2863 self = self;
2864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxWindow_SetWindowStyleFlag",_kwnames,&_argo0,&_arg1))
2865 return NULL;
2866 if (_argo0) {
2867 if (_argo0 == Py_None) { _arg0 = NULL; }
2868 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2869 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetWindowStyleFlag. Expected _wxWindow_p.");
2870 return NULL;
2871 }
2872 }
2873{
2874 PyThreadState* __tstate = wxPyBeginAllowThreads();
2875 wxWindow_SetWindowStyleFlag(_arg0,_arg1);
2876
2877 wxPyEndAllowThreads(__tstate);
2878 if (PyErr_Occurred()) return NULL;
2879} Py_INCREF(Py_None);
2880 _resultobj = Py_None;
2881 return _resultobj;
2882}
2883
2884#define wxWindow_SetWindowStyle(_swigobj,_swigarg0) (_swigobj->SetWindowStyle(_swigarg0))
2885static PyObject *_wrap_wxWindow_SetWindowStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
2886 PyObject * _resultobj;
2887 wxWindow * _arg0;
2888 long _arg1;
2889 PyObject * _argo0 = 0;
2890 char *_kwnames[] = { "self","style", NULL };
2891
2892 self = self;
2893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxWindow_SetWindowStyle",_kwnames,&_argo0,&_arg1))
2894 return NULL;
2895 if (_argo0) {
2896 if (_argo0 == Py_None) { _arg0 = NULL; }
2897 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2898 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetWindowStyle. Expected _wxWindow_p.");
2899 return NULL;
2900 }
2901 }
2902{
2903 PyThreadState* __tstate = wxPyBeginAllowThreads();
2904 wxWindow_SetWindowStyle(_arg0,_arg1);
2905
2906 wxPyEndAllowThreads(__tstate);
2907 if (PyErr_Occurred()) return NULL;
2908} Py_INCREF(Py_None);
2909 _resultobj = Py_None;
2910 return _resultobj;
2911}
2912
2913#define wxWindow_HasScrollbar(_swigobj,_swigarg0) (_swigobj->HasScrollbar(_swigarg0))
2914static PyObject *_wrap_wxWindow_HasScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
2915 PyObject * _resultobj;
2916 bool _result;
2917 wxWindow * _arg0;
2918 int _arg1;
2919 PyObject * _argo0 = 0;
2920 char *_kwnames[] = { "self","orient", NULL };
2921
2922 self = self;
2923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_HasScrollbar",_kwnames,&_argo0,&_arg1))
2924 return NULL;
2925 if (_argo0) {
2926 if (_argo0 == Py_None) { _arg0 = NULL; }
2927 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2928 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_HasScrollbar. Expected _wxWindow_p.");
2929 return NULL;
2930 }
2931 }
2932{
2933 PyThreadState* __tstate = wxPyBeginAllowThreads();
2934 _result = (bool )wxWindow_HasScrollbar(_arg0,_arg1);
2935
2936 wxPyEndAllowThreads(__tstate);
2937 if (PyErr_Occurred()) return NULL;
2938} _resultobj = Py_BuildValue("i",_result);
2939 return _resultobj;
2940}
2941
2942#define wxWindow_Hide(_swigobj) (_swigobj->Hide())
2943static PyObject *_wrap_wxWindow_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
2944 PyObject * _resultobj;
2945 bool _result;
2946 wxWindow * _arg0;
2947 PyObject * _argo0 = 0;
2948 char *_kwnames[] = { "self", NULL };
2949
2950 self = self;
2951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Hide",_kwnames,&_argo0))
2952 return NULL;
2953 if (_argo0) {
2954 if (_argo0 == Py_None) { _arg0 = NULL; }
2955 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2956 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
2957 return NULL;
2958 }
2959 }
2960{
2961 PyThreadState* __tstate = wxPyBeginAllowThreads();
2962 _result = (bool )wxWindow_Hide(_arg0);
2963
2964 wxPyEndAllowThreads(__tstate);
2965 if (PyErr_Occurred()) return NULL;
2966} _resultobj = Py_BuildValue("i",_result);
2967 return _resultobj;
2968}
2969
2970#define wxWindow_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0))
2971static PyObject *_wrap_wxWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
2972 PyObject * _resultobj;
2973 wxHitTest _result;
2974 wxWindow * _arg0;
2975 wxPoint * _arg1;
2976 PyObject * _argo0 = 0;
2977 wxPoint temp;
2978 PyObject * _obj1 = 0;
2979 char *_kwnames[] = { "self","pt", NULL };
2980
2981 self = self;
2982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_HitTest",_kwnames,&_argo0,&_obj1))
2983 return NULL;
2984 if (_argo0) {
2985 if (_argo0 == Py_None) { _arg0 = NULL; }
2986 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2987 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_HitTest. Expected _wxWindow_p.");
2988 return NULL;
2989 }
2990 }
2991{
2992 _arg1 = &temp;
2993 if (! wxPoint_helper(_obj1, &_arg1))
2994 return NULL;
2995}
2996{
2997 PyThreadState* __tstate = wxPyBeginAllowThreads();
2998 _result = (wxHitTest )wxWindow_HitTest(_arg0,*_arg1);
2999
3000 wxPyEndAllowThreads(__tstate);
3001 if (PyErr_Occurred()) return NULL;
3002} _resultobj = Py_BuildValue("i",_result);
3003 return _resultobj;
3004}
3005
3006#define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
3007static PyObject *_wrap_wxWindow_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3008 PyObject * _resultobj;
3009 wxWindow * _arg0;
3010 PyObject * _argo0 = 0;
3011 char *_kwnames[] = { "self", NULL };
3012
3013 self = self;
3014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_InitDialog",_kwnames,&_argo0))
3015 return NULL;
3016 if (_argo0) {
3017 if (_argo0 == Py_None) { _arg0 = NULL; }
3018 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3019 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
3020 return NULL;
3021 }
3022 }
3023{
3024 PyThreadState* __tstate = wxPyBeginAllowThreads();
3025 wxWindow_InitDialog(_arg0);
3026
3027 wxPyEndAllowThreads(__tstate);
3028 if (PyErr_Occurred()) return NULL;
3029} Py_INCREF(Py_None);
3030 _resultobj = Py_None;
3031 return _resultobj;
3032}
3033
3034#define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
3035static PyObject *_wrap_wxWindow_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
3036 PyObject * _resultobj;
3037 bool _result;
3038 wxWindow * _arg0;
3039 PyObject * _argo0 = 0;
3040 char *_kwnames[] = { "self", NULL };
3041
3042 self = self;
3043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_IsEnabled",_kwnames,&_argo0))
3044 return NULL;
3045 if (_argo0) {
3046 if (_argo0 == Py_None) { _arg0 = NULL; }
3047 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3048 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
3049 return NULL;
3050 }
3051 }
3052{
3053 PyThreadState* __tstate = wxPyBeginAllowThreads();
3054 _result = (bool )wxWindow_IsEnabled(_arg0);
3055
3056 wxPyEndAllowThreads(__tstate);
3057 if (PyErr_Occurred()) return NULL;
3058} _resultobj = Py_BuildValue("i",_result);
3059 return _resultobj;
3060}
3061
3062#define wxWindow_IsExposed(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->IsExposed(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3063static PyObject *_wrap_wxWindow_IsExposed(PyObject *self, PyObject *args, PyObject *kwargs) {
3064 PyObject * _resultobj;
3065 bool _result;
3066 wxWindow * _arg0;
3067 int _arg1;
3068 int _arg2;
3069 int _arg3 = (int ) 0;
3070 int _arg4 = (int ) 0;
3071 PyObject * _argo0 = 0;
3072 char *_kwnames[] = { "self","x","y","w","h", NULL };
3073
3074 self = self;
3075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|ii:wxWindow_IsExposed",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3076 return NULL;
3077 if (_argo0) {
3078 if (_argo0 == Py_None) { _arg0 = NULL; }
3079 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3080 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsExposed. Expected _wxWindow_p.");
3081 return NULL;
3082 }
3083 }
3084{
3085 PyThreadState* __tstate = wxPyBeginAllowThreads();
3086 _result = (bool )wxWindow_IsExposed(_arg0,_arg1,_arg2,_arg3,_arg4);
3087
3088 wxPyEndAllowThreads(__tstate);
3089 if (PyErr_Occurred()) return NULL;
3090} _resultobj = Py_BuildValue("i",_result);
3091 return _resultobj;
3092}
3093
3094#define wxWindow_IsExposedPoint(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
3095static PyObject *_wrap_wxWindow_IsExposedPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3096 PyObject * _resultobj;
3097 bool _result;
3098 wxWindow * _arg0;
3099 wxPoint * _arg1;
3100 PyObject * _argo0 = 0;
3101 wxPoint temp;
3102 PyObject * _obj1 = 0;
3103 char *_kwnames[] = { "self","pt", NULL };
3104
3105 self = self;
3106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_IsExposedPoint",_kwnames,&_argo0,&_obj1))
3107 return NULL;
3108 if (_argo0) {
3109 if (_argo0 == Py_None) { _arg0 = NULL; }
3110 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3111 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsExposedPoint. Expected _wxWindow_p.");
3112 return NULL;
3113 }
3114 }
3115{
3116 _arg1 = &temp;
3117 if (! wxPoint_helper(_obj1, &_arg1))
3118 return NULL;
3119}
3120{
3121 PyThreadState* __tstate = wxPyBeginAllowThreads();
3122 _result = (bool )wxWindow_IsExposedPoint(_arg0,*_arg1);
3123
3124 wxPyEndAllowThreads(__tstate);
3125 if (PyErr_Occurred()) return NULL;
3126} _resultobj = Py_BuildValue("i",_result);
3127 return _resultobj;
3128}
3129
3130#define wxWindow_IsExposedRect(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
3131static PyObject *_wrap_wxWindow_IsExposedRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3132 PyObject * _resultobj;
3133 bool _result;
3134 wxWindow * _arg0;
3135 wxRect * _arg1;
3136 PyObject * _argo0 = 0;
3137 wxRect temp;
3138 PyObject * _obj1 = 0;
3139 char *_kwnames[] = { "self","rect", NULL };
3140
3141 self = self;
3142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_IsExposedRect",_kwnames,&_argo0,&_obj1))
3143 return NULL;
3144 if (_argo0) {
3145 if (_argo0 == Py_None) { _arg0 = NULL; }
3146 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3147 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsExposedRect. Expected _wxWindow_p.");
3148 return NULL;
3149 }
3150 }
3151{
3152 _arg1 = &temp;
3153 if (! wxRect_helper(_obj1, &_arg1))
3154 return NULL;
3155}
3156{
3157 PyThreadState* __tstate = wxPyBeginAllowThreads();
3158 _result = (bool )wxWindow_IsExposedRect(_arg0,*_arg1);
3159
3160 wxPyEndAllowThreads(__tstate);
3161 if (PyErr_Occurred()) return NULL;
3162} _resultobj = Py_BuildValue("i",_result);
3163 return _resultobj;
3164}
3165
3166#define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
3167static PyObject *_wrap_wxWindow_IsRetained(PyObject *self, PyObject *args, PyObject *kwargs) {
3168 PyObject * _resultobj;
3169 bool _result;
3170 wxWindow * _arg0;
3171 PyObject * _argo0 = 0;
3172 char *_kwnames[] = { "self", NULL };
3173
3174 self = self;
3175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_IsRetained",_kwnames,&_argo0))
3176 return NULL;
3177 if (_argo0) {
3178 if (_argo0 == Py_None) { _arg0 = NULL; }
3179 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3180 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
3181 return NULL;
3182 }
3183 }
3184{
3185 PyThreadState* __tstate = wxPyBeginAllowThreads();
3186 _result = (bool )wxWindow_IsRetained(_arg0);
3187
3188 wxPyEndAllowThreads(__tstate);
3189 if (PyErr_Occurred()) return NULL;
3190} _resultobj = Py_BuildValue("i",_result);
3191 return _resultobj;
3192}
3193
3194#define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
3195static PyObject *_wrap_wxWindow_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
3196 PyObject * _resultobj;
3197 bool _result;
3198 wxWindow * _arg0;
3199 PyObject * _argo0 = 0;
3200 char *_kwnames[] = { "self", NULL };
3201
3202 self = self;
3203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_IsShown",_kwnames,&_argo0))
3204 return NULL;
3205 if (_argo0) {
3206 if (_argo0 == Py_None) { _arg0 = NULL; }
3207 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3208 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
3209 return NULL;
3210 }
3211 }
3212{
3213 PyThreadState* __tstate = wxPyBeginAllowThreads();
3214 _result = (bool )wxWindow_IsShown(_arg0);
3215
3216 wxPyEndAllowThreads(__tstate);
3217 if (PyErr_Occurred()) return NULL;
3218} _resultobj = Py_BuildValue("i",_result);
3219 return _resultobj;
3220}
3221
3222#define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
3223static PyObject *_wrap_wxWindow_IsTopLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
3224 PyObject * _resultobj;
3225 bool _result;
3226 wxWindow * _arg0;
3227 PyObject * _argo0 = 0;
3228 char *_kwnames[] = { "self", NULL };
3229
3230 self = self;
3231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_IsTopLevel",_kwnames,&_argo0))
3232 return NULL;
3233 if (_argo0) {
3234 if (_argo0 == Py_None) { _arg0 = NULL; }
3235 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3236 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
3237 return NULL;
3238 }
3239 }
3240{
3241 PyThreadState* __tstate = wxPyBeginAllowThreads();
3242 _result = (bool )wxWindow_IsTopLevel(_arg0);
3243
3244 wxPyEndAllowThreads(__tstate);
3245 if (PyErr_Occurred()) return NULL;
3246} _resultobj = Py_BuildValue("i",_result);
3247 return _resultobj;
3248}
3249
3250#define wxWindow_Layout(_swigobj) (_swigobj->Layout())
3251static PyObject *_wrap_wxWindow_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
3252 PyObject * _resultobj;
3253 wxWindow * _arg0;
3254 PyObject * _argo0 = 0;
3255 char *_kwnames[] = { "self", NULL };
3256
3257 self = self;
3258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Layout",_kwnames,&_argo0))
3259 return NULL;
3260 if (_argo0) {
3261 if (_argo0 == Py_None) { _arg0 = NULL; }
3262 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3263 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
3264 return NULL;
3265 }
3266 }
3267{
3268 PyThreadState* __tstate = wxPyBeginAllowThreads();
3269 wxWindow_Layout(_arg0);
3270
3271 wxPyEndAllowThreads(__tstate);
3272 if (PyErr_Occurred()) return NULL;
3273} Py_INCREF(Py_None);
3274 _resultobj = Py_None;
3275 return _resultobj;
3276}
3277
3278#define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
3279static PyObject *_wrap_wxWindow_LoadFromResource(PyObject *self, PyObject *args, PyObject *kwargs) {
3280 PyObject * _resultobj;
3281 bool _result;
3282 wxWindow * _arg0;
3283 wxWindow * _arg1;
3284 wxString * _arg2;
3285 wxResourceTable * _arg3 = (wxResourceTable *) NULL;
3286 PyObject * _argo0 = 0;
3287 PyObject * _argo1 = 0;
3288 PyObject * _obj2 = 0;
3289 PyObject * _argo3 = 0;
3290 char *_kwnames[] = { "self","parent","resourceName","resourceTable", NULL };
3291
3292 self = self;
3293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|O:wxWindow_LoadFromResource",_kwnames,&_argo0,&_argo1,&_obj2,&_argo3))
3294 return NULL;
3295 if (_argo0) {
3296 if (_argo0 == Py_None) { _arg0 = NULL; }
3297 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3298 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
3299 return NULL;
3300 }
3301 }
3302 if (_argo1) {
3303 if (_argo1 == Py_None) { _arg1 = NULL; }
3304 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
3305 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
3306 return NULL;
3307 }
3308 }
3309{
3310 _arg2 = wxString_in_helper(_obj2);
3311 if (_arg2 == NULL)
3312 return NULL;
3313}
3314 if (_argo3) {
3315 if (_argo3 == Py_None) { _arg3 = NULL; }
3316 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxResourceTable_p")) {
3317 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
3318 return NULL;
3319 }
3320 }
3321{
3322 PyThreadState* __tstate = wxPyBeginAllowThreads();
3323 _result = (bool )wxWindow_LoadFromResource(_arg0,_arg1,*_arg2,_arg3);
3324
3325 wxPyEndAllowThreads(__tstate);
3326 if (PyErr_Occurred()) return NULL;
3327} _resultobj = Py_BuildValue("i",_result);
3328{
3329 if (_obj2)
3330 delete _arg2;
3331}
3332 return _resultobj;
3333}
3334
3335#define wxWindow_Lower(_swigobj) (_swigobj->Lower())
3336static PyObject *_wrap_wxWindow_Lower(PyObject *self, PyObject *args, PyObject *kwargs) {
3337 PyObject * _resultobj;
3338 wxWindow * _arg0;
3339 PyObject * _argo0 = 0;
3340 char *_kwnames[] = { "self", NULL };
3341
3342 self = self;
3343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Lower",_kwnames,&_argo0))
3344 return NULL;
3345 if (_argo0) {
3346 if (_argo0 == Py_None) { _arg0 = NULL; }
3347 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3348 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
3349 return NULL;
3350 }
3351 }
3352{
3353 PyThreadState* __tstate = wxPyBeginAllowThreads();
3354 wxWindow_Lower(_arg0);
3355
3356 wxPyEndAllowThreads(__tstate);
3357 if (PyErr_Occurred()) return NULL;
3358} Py_INCREF(Py_None);
3359 _resultobj = Py_None;
3360 return _resultobj;
3361}
3362
3363#define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
3364static PyObject *_wrap_wxWindow_MakeModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3365 PyObject * _resultobj;
3366 wxWindow * _arg0;
3367 bool _arg1 = (bool ) TRUE;
3368 PyObject * _argo0 = 0;
3369 int tempbool1 = (int) TRUE;
3370 char *_kwnames[] = { "self","flag", NULL };
3371
3372 self = self;
3373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_MakeModal",_kwnames,&_argo0,&tempbool1))
3374 return NULL;
3375 if (_argo0) {
3376 if (_argo0 == Py_None) { _arg0 = NULL; }
3377 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3378 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
3379 return NULL;
3380 }
3381 }
3382 _arg1 = (bool ) tempbool1;
3383{
3384 PyThreadState* __tstate = wxPyBeginAllowThreads();
3385 wxWindow_MakeModal(_arg0,_arg1);
3386
3387 wxPyEndAllowThreads(__tstate);
3388 if (PyErr_Occurred()) return NULL;
3389} Py_INCREF(Py_None);
3390 _resultobj = Py_None;
3391 return _resultobj;
3392}
3393
3394#define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Move(_swigarg0,_swigarg1,_swigarg2))
3395static PyObject *_wrap_wxWindow_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
3396 PyObject * _resultobj;
3397 wxWindow * _arg0;
3398 int _arg1;
3399 int _arg2;
3400 int _arg3 = (int ) wxSIZE_USE_EXISTING;
3401 PyObject * _argo0 = 0;
3402 char *_kwnames[] = { "self","x","y","flags", NULL };
3403
3404 self = self;
3405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxWindow_MoveXY",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
3406 return NULL;
3407 if (_argo0) {
3408 if (_argo0 == Py_None) { _arg0 = NULL; }
3409 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3410 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
3411 return NULL;
3412 }
3413 }
3414{
3415 PyThreadState* __tstate = wxPyBeginAllowThreads();
3416 wxWindow_MoveXY(_arg0,_arg1,_arg2,_arg3);
3417
3418 wxPyEndAllowThreads(__tstate);
3419 if (PyErr_Occurred()) return NULL;
3420} Py_INCREF(Py_None);
3421 _resultobj = Py_None;
3422 return _resultobj;
3423}
3424
3425#define wxWindow_Move(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
3426static PyObject *_wrap_wxWindow_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
3427 PyObject * _resultobj;
3428 wxWindow * _arg0;
3429 wxPoint * _arg1;
3430 int _arg2 = (int ) wxSIZE_USE_EXISTING;
3431 PyObject * _argo0 = 0;
3432 wxPoint temp;
3433 PyObject * _obj1 = 0;
3434 char *_kwnames[] = { "self","point","flags", NULL };
3435
3436 self = self;
3437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxWindow_Move",_kwnames,&_argo0,&_obj1,&_arg2))
3438 return NULL;
3439 if (_argo0) {
3440 if (_argo0 == Py_None) { _arg0 = NULL; }
3441 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3442 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
3443 return NULL;
3444 }
3445 }
3446{
3447 _arg1 = &temp;
3448 if (! wxPoint_helper(_obj1, &_arg1))
3449 return NULL;
3450}
3451{
3452 PyThreadState* __tstate = wxPyBeginAllowThreads();
3453 wxWindow_Move(_arg0,*_arg1,_arg2);
3454
3455 wxPyEndAllowThreads(__tstate);
3456 if (PyErr_Occurred()) return NULL;
3457} Py_INCREF(Py_None);
3458 _resultobj = Py_None;
3459 return _resultobj;
3460}
3461
3462#define wxWindow_PopEventHandler(_swigobj,_swigarg0) (_swigobj->PopEventHandler(_swigarg0))
3463static PyObject *_wrap_wxWindow_PopEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
3464 PyObject * _resultobj;
3465 wxEvtHandler * _result;
3466 wxWindow * _arg0;
3467 bool _arg1 = (bool ) FALSE;
3468 PyObject * _argo0 = 0;
3469 int tempbool1 = (int) FALSE;
3470 char *_kwnames[] = { "self","deleteHandler", NULL };
3471
3472 self = self;
3473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_PopEventHandler",_kwnames,&_argo0,&tempbool1))
3474 return NULL;
3475 if (_argo0) {
3476 if (_argo0 == Py_None) { _arg0 = NULL; }
3477 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3478 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PopEventHandler. Expected _wxWindow_p.");
3479 return NULL;
3480 }
3481 }
3482 _arg1 = (bool ) tempbool1;
3483{
3484 PyThreadState* __tstate = wxPyBeginAllowThreads();
3485 _result = (wxEvtHandler *)wxWindow_PopEventHandler(_arg0,_arg1);
3486
3487 wxPyEndAllowThreads(__tstate);
3488 if (PyErr_Occurred()) return NULL;
3489}{ _resultobj = wxPyMake_wxObject(_result); }
3490 return _resultobj;
3491}
3492
3493#define wxWindow_PushEventHandler(_swigobj,_swigarg0) (_swigobj->PushEventHandler(_swigarg0))
3494static PyObject *_wrap_wxWindow_PushEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
3495 PyObject * _resultobj;
3496 wxWindow * _arg0;
3497 wxEvtHandler * _arg1;
3498 PyObject * _argo0 = 0;
3499 PyObject * _argo1 = 0;
3500 char *_kwnames[] = { "self","handler", NULL };
3501
3502 self = self;
3503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_PushEventHandler",_kwnames,&_argo0,&_argo1))
3504 return NULL;
3505 if (_argo0) {
3506 if (_argo0 == Py_None) { _arg0 = NULL; }
3507 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3508 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PushEventHandler. Expected _wxWindow_p.");
3509 return NULL;
3510 }
3511 }
3512 if (_argo1) {
3513 if (_argo1 == Py_None) { _arg1 = NULL; }
3514 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
3515 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_PushEventHandler. Expected _wxEvtHandler_p.");
3516 return NULL;
3517 }
3518 }
3519{
3520 PyThreadState* __tstate = wxPyBeginAllowThreads();
3521 wxWindow_PushEventHandler(_arg0,_arg1);
3522
3523 wxPyEndAllowThreads(__tstate);
3524 if (PyErr_Occurred()) return NULL;
3525} Py_INCREF(Py_None);
3526 _resultobj = Py_None;
3527 return _resultobj;
3528}
3529
3530#define wxWindow_RemoveEventHandler(_swigobj,_swigarg0) (_swigobj->RemoveEventHandler(_swigarg0))
3531static PyObject *_wrap_wxWindow_RemoveEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
3532 PyObject * _resultobj;
3533 bool _result;
3534 wxWindow * _arg0;
3535 wxEvtHandler * _arg1;
3536 PyObject * _argo0 = 0;
3537 PyObject * _argo1 = 0;
3538 char *_kwnames[] = { "self","handler", NULL };
3539
3540 self = self;
3541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_RemoveEventHandler",_kwnames,&_argo0,&_argo1))
3542 return NULL;
3543 if (_argo0) {
3544 if (_argo0 == Py_None) { _arg0 = NULL; }
3545 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3546 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_RemoveEventHandler. Expected _wxWindow_p.");
3547 return NULL;
3548 }
3549 }
3550 if (_argo1) {
3551 if (_argo1 == Py_None) { _arg1 = NULL; }
3552 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
3553 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_RemoveEventHandler. Expected _wxEvtHandler_p.");
3554 return NULL;
3555 }
3556 }
3557{
3558 PyThreadState* __tstate = wxPyBeginAllowThreads();
3559 _result = (bool )wxWindow_RemoveEventHandler(_arg0,_arg1);
3560
3561 wxPyEndAllowThreads(__tstate);
3562 if (PyErr_Occurred()) return NULL;
3563} _resultobj = Py_BuildValue("i",_result);
3564 return _resultobj;
3565}
3566
3567#define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
3568static PyObject *_wrap_wxWindow_PopupMenuXY(PyObject *self, PyObject *args, PyObject *kwargs) {
3569 PyObject * _resultobj;
3570 bool _result;
3571 wxWindow * _arg0;
3572 wxMenu * _arg1;
3573 int _arg2;
3574 int _arg3;
3575 PyObject * _argo0 = 0;
3576 PyObject * _argo1 = 0;
3577 char *_kwnames[] = { "self","menu","x","y", NULL };
3578
3579 self = self;
3580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxWindow_PopupMenuXY",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
3581 return NULL;
3582 if (_argo0) {
3583 if (_argo0 == Py_None) { _arg0 = NULL; }
3584 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3585 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
3586 return NULL;
3587 }
3588 }
3589 if (_argo1) {
3590 if (_argo1 == Py_None) { _arg1 = NULL; }
3591 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
3592 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
3593 return NULL;
3594 }
3595 }
3596{
3597 PyThreadState* __tstate = wxPyBeginAllowThreads();
3598 _result = (bool )wxWindow_PopupMenuXY(_arg0,_arg1,_arg2,_arg3);
3599
3600 wxPyEndAllowThreads(__tstate);
3601 if (PyErr_Occurred()) return NULL;
3602} _resultobj = Py_BuildValue("i",_result);
3603 return _resultobj;
3604}
3605
3606#define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
3607static PyObject *_wrap_wxWindow_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
3608 PyObject * _resultobj;
3609 bool _result;
3610 wxWindow * _arg0;
3611 wxMenu * _arg1;
3612 wxPoint * _arg2;
3613 PyObject * _argo0 = 0;
3614 PyObject * _argo1 = 0;
3615 wxPoint temp;
3616 PyObject * _obj2 = 0;
3617 char *_kwnames[] = { "self","menu","pos", NULL };
3618
3619 self = self;
3620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxWindow_PopupMenu",_kwnames,&_argo0,&_argo1,&_obj2))
3621 return NULL;
3622 if (_argo0) {
3623 if (_argo0 == Py_None) { _arg0 = NULL; }
3624 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3625 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
3626 return NULL;
3627 }
3628 }
3629 if (_argo1) {
3630 if (_argo1 == Py_None) { _arg1 = NULL; }
3631 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
3632 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
3633 return NULL;
3634 }
3635 }
3636{
3637 _arg2 = &temp;
3638 if (! wxPoint_helper(_obj2, &_arg2))
3639 return NULL;
3640}
3641{
3642 PyThreadState* __tstate = wxPyBeginAllowThreads();
3643 _result = (bool )wxWindow_PopupMenu(_arg0,_arg1,*_arg2);
3644
3645 wxPyEndAllowThreads(__tstate);
3646 if (PyErr_Occurred()) return NULL;
3647} _resultobj = Py_BuildValue("i",_result);
3648 return _resultobj;
3649}
3650
3651#define wxWindow_Raise(_swigobj) (_swigobj->Raise())
3652static PyObject *_wrap_wxWindow_Raise(PyObject *self, PyObject *args, PyObject *kwargs) {
3653 PyObject * _resultobj;
3654 wxWindow * _arg0;
3655 PyObject * _argo0 = 0;
3656 char *_kwnames[] = { "self", NULL };
3657
3658 self = self;
3659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Raise",_kwnames,&_argo0))
3660 return NULL;
3661 if (_argo0) {
3662 if (_argo0 == Py_None) { _arg0 = NULL; }
3663 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3664 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
3665 return NULL;
3666 }
3667 }
3668{
3669 PyThreadState* __tstate = wxPyBeginAllowThreads();
3670 wxWindow_Raise(_arg0);
3671
3672 wxPyEndAllowThreads(__tstate);
3673 if (PyErr_Occurred()) return NULL;
3674} Py_INCREF(Py_None);
3675 _resultobj = Py_None;
3676 return _resultobj;
3677}
3678
3679#define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
3680static PyObject *_wrap_wxWindow_Refresh(PyObject *self, PyObject *args, PyObject *kwargs) {
3681 PyObject * _resultobj;
3682 wxWindow * _arg0;
3683 bool _arg1 = (bool ) TRUE;
3684 wxRect * _arg2 = (wxRect *) NULL;
3685 PyObject * _argo0 = 0;
3686 int tempbool1 = (int) TRUE;
3687 wxRect temp;
3688 PyObject * _obj2 = 0;
3689 char *_kwnames[] = { "self","eraseBackground","rect", NULL };
3690
3691 self = self;
3692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iO:wxWindow_Refresh",_kwnames,&_argo0,&tempbool1,&_obj2))
3693 return NULL;
3694 if (_argo0) {
3695 if (_argo0 == Py_None) { _arg0 = NULL; }
3696 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3697 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
3698 return NULL;
3699 }
3700 }
3701 _arg1 = (bool ) tempbool1;
3702 if (_obj2)
3703{
3704 _arg2 = &temp;
3705 if (! wxRect_helper(_obj2, &_arg2))
3706 return NULL;
3707}
3708{
3709 PyThreadState* __tstate = wxPyBeginAllowThreads();
3710 wxWindow_Refresh(_arg0,_arg1,_arg2);
3711
3712 wxPyEndAllowThreads(__tstate);
3713 if (PyErr_Occurred()) return NULL;
3714} Py_INCREF(Py_None);
3715 _resultobj = Py_None;
3716 return _resultobj;
3717}
3718
3719#define wxWindow_RefreshRect(_swigobj,_swigarg0) (_swigobj->RefreshRect(_swigarg0))
3720static PyObject *_wrap_wxWindow_RefreshRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3721 PyObject * _resultobj;
3722 wxWindow * _arg0;
3723 wxRect * _arg1;
3724 PyObject * _argo0 = 0;
3725 wxRect temp;
3726 PyObject * _obj1 = 0;
3727 char *_kwnames[] = { "self","rect", NULL };
3728
3729 self = self;
3730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_RefreshRect",_kwnames,&_argo0,&_obj1))
3731 return NULL;
3732 if (_argo0) {
3733 if (_argo0 == Py_None) { _arg0 = NULL; }
3734 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3735 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_RefreshRect. Expected _wxWindow_p.");
3736 return NULL;
3737 }
3738 }
3739{
3740 _arg1 = &temp;
3741 if (! wxRect_helper(_obj1, &_arg1))
3742 return NULL;
3743}
3744{
3745 PyThreadState* __tstate = wxPyBeginAllowThreads();
3746 wxWindow_RefreshRect(_arg0,*_arg1);
3747
3748 wxPyEndAllowThreads(__tstate);
3749 if (PyErr_Occurred()) return NULL;
3750} Py_INCREF(Py_None);
3751 _resultobj = Py_None;
3752 return _resultobj;
3753}
3754
3755#define wxWindow_AddChild(_swigobj,_swigarg0) (_swigobj->AddChild(_swigarg0))
3756static PyObject *_wrap_wxWindow_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
3757 PyObject * _resultobj;
3758 wxWindow * _arg0;
3759 wxWindow * _arg1;
3760 PyObject * _argo0 = 0;
3761 PyObject * _argo1 = 0;
3762 char *_kwnames[] = { "self","child", NULL };
3763
3764 self = self;
3765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_AddChild",_kwnames,&_argo0,&_argo1))
3766 return NULL;
3767 if (_argo0) {
3768 if (_argo0 == Py_None) { _arg0 = NULL; }
3769 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3770 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_AddChild. Expected _wxWindow_p.");
3771 return NULL;
3772 }
3773 }
3774 if (_argo1) {
3775 if (_argo1 == Py_None) { _arg1 = NULL; }
3776 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
3777 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_AddChild. Expected _wxWindow_p.");
3778 return NULL;
3779 }
3780 }
3781{
3782 PyThreadState* __tstate = wxPyBeginAllowThreads();
3783 wxWindow_AddChild(_arg0,_arg1);
3784
3785 wxPyEndAllowThreads(__tstate);
3786 if (PyErr_Occurred()) return NULL;
3787} Py_INCREF(Py_None);
3788 _resultobj = Py_None;
3789 return _resultobj;
3790}
3791
3792#define wxWindow_RemoveChild(_swigobj,_swigarg0) (_swigobj->RemoveChild(_swigarg0))
3793static PyObject *_wrap_wxWindow_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
3794 PyObject * _resultobj;
3795 wxWindow * _arg0;
3796 wxWindow * _arg1;
3797 PyObject * _argo0 = 0;
3798 PyObject * _argo1 = 0;
3799 char *_kwnames[] = { "self","child", NULL };
3800
3801 self = self;
3802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_RemoveChild",_kwnames,&_argo0,&_argo1))
3803 return NULL;
3804 if (_argo0) {
3805 if (_argo0 == Py_None) { _arg0 = NULL; }
3806 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3807 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3808 return NULL;
3809 }
3810 }
3811 if (_argo1) {
3812 if (_argo1 == Py_None) { _arg1 = NULL; }
3813 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
3814 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3815 return NULL;
3816 }
3817 }
3818{
3819 PyThreadState* __tstate = wxPyBeginAllowThreads();
3820 wxWindow_RemoveChild(_arg0,_arg1);
3821
3822 wxPyEndAllowThreads(__tstate);
3823 if (PyErr_Occurred()) return NULL;
3824} Py_INCREF(Py_None);
3825 _resultobj = Py_None;
3826 return _resultobj;
3827}
3828
3829#define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
3830static PyObject *_wrap_wxWindow_Reparent(PyObject *self, PyObject *args, PyObject *kwargs) {
3831 PyObject * _resultobj;
3832 bool _result;
3833 wxWindow * _arg0;
3834 wxWindow * _arg1;
3835 PyObject * _argo0 = 0;
3836 PyObject * _argo1 = 0;
3837 char *_kwnames[] = { "self","newParent", NULL };
3838
3839 self = self;
3840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_Reparent",_kwnames,&_argo0,&_argo1))
3841 return NULL;
3842 if (_argo0) {
3843 if (_argo0 == Py_None) { _arg0 = NULL; }
3844 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3845 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
3846 return NULL;
3847 }
3848 }
3849 if (_argo1) {
3850 if (_argo1 == Py_None) { _arg1 = NULL; }
3851 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
3852 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
3853 return NULL;
3854 }
3855 }
3856{
3857 PyThreadState* __tstate = wxPyBeginAllowThreads();
3858 _result = (bool )wxWindow_Reparent(_arg0,_arg1);
3859
3860 wxPyEndAllowThreads(__tstate);
3861 if (PyErr_Occurred()) return NULL;
3862} _resultobj = Py_BuildValue("i",_result);
3863 return _resultobj;
3864}
3865
3866#define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
3867static PyObject *_wrap_wxWindow_ScreenToClientXY(PyObject *self, PyObject *args, PyObject *kwargs) {
3868 PyObject * _resultobj;
3869 wxWindow * _arg0;
3870 int * _arg1;
3871 int * _arg2;
3872 PyObject * _argo0 = 0;
3873 int temp;
3874 PyObject * _obj1 = 0;
3875 int temp0;
3876 PyObject * _obj2 = 0;
3877 char *_kwnames[] = { "self","x","y", NULL };
3878
3879 self = self;
3880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxWindow_ScreenToClientXY",_kwnames,&_argo0,&_obj1,&_obj2))
3881 return NULL;
3882 if (_argo0) {
3883 if (_argo0 == Py_None) { _arg0 = NULL; }
3884 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3885 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
3886 return NULL;
3887 }
3888 }
3889{
3890 temp = (int) PyInt_AsLong(_obj1);
3891 _arg1 = &temp;
3892}
3893{
3894 temp0 = (int) PyInt_AsLong(_obj2);
3895 _arg2 = &temp0;
3896}
3897{
3898 PyThreadState* __tstate = wxPyBeginAllowThreads();
3899 wxWindow_ScreenToClientXY(_arg0,_arg1,_arg2);
3900
3901 wxPyEndAllowThreads(__tstate);
3902 if (PyErr_Occurred()) return NULL;
3903} Py_INCREF(Py_None);
3904 _resultobj = Py_None;
3905{
3906 PyObject *o;
3907 o = PyInt_FromLong((long) (*_arg1));
3908 _resultobj = t_output_helper(_resultobj, o);
3909}
3910{
3911 PyObject *o;
3912 o = PyInt_FromLong((long) (*_arg2));
3913 _resultobj = t_output_helper(_resultobj, o);
3914}
3915 return _resultobj;
3916}
3917
3918#define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
3919static PyObject *_wrap_wxWindow_ScreenToClient(PyObject *self, PyObject *args, PyObject *kwargs) {
3920 PyObject * _resultobj;
3921 wxPoint * _result;
3922 wxWindow * _arg0;
3923 wxPoint * _arg1;
3924 PyObject * _argo0 = 0;
3925 wxPoint temp;
3926 PyObject * _obj1 = 0;
3927 char *_kwnames[] = { "self","pt", NULL };
3928 char _ptemp[128];
3929
3930 self = self;
3931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ScreenToClient",_kwnames,&_argo0,&_obj1))
3932 return NULL;
3933 if (_argo0) {
3934 if (_argo0 == Py_None) { _arg0 = NULL; }
3935 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3936 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
3937 return NULL;
3938 }
3939 }
3940{
3941 _arg1 = &temp;
3942 if (! wxPoint_helper(_obj1, &_arg1))
3943 return NULL;
3944}
3945{
3946 PyThreadState* __tstate = wxPyBeginAllowThreads();
3947 _result = new wxPoint (wxWindow_ScreenToClient(_arg0,*_arg1));
3948
3949 wxPyEndAllowThreads(__tstate);
3950 if (PyErr_Occurred()) return NULL;
3951} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
3952 _resultobj = Py_BuildValue("s",_ptemp);
3953 return _resultobj;
3954}
3955
3956#define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
3957static PyObject *_wrap_wxWindow_ScrollWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3958 PyObject * _resultobj;
3959 wxWindow * _arg0;
3960 int _arg1;
3961 int _arg2;
3962 wxRect * _arg3 = (wxRect *) NULL;
3963 PyObject * _argo0 = 0;
3964 wxRect temp;
3965 PyObject * _obj3 = 0;
3966 char *_kwnames[] = { "self","dx","dy","rect", NULL };
3967
3968 self = self;
3969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|O:wxWindow_ScrollWindow",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
3970 return NULL;
3971 if (_argo0) {
3972 if (_argo0 == Py_None) { _arg0 = NULL; }
3973 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3974 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
3975 return NULL;
3976 }
3977 }
3978 if (_obj3)
3979{
3980 _arg3 = &temp;
3981 if (! wxRect_helper(_obj3, &_arg3))
3982 return NULL;
3983}
3984{
3985 PyThreadState* __tstate = wxPyBeginAllowThreads();
3986 wxWindow_ScrollWindow(_arg0,_arg1,_arg2,_arg3);
3987
3988 wxPyEndAllowThreads(__tstate);
3989 if (PyErr_Occurred()) return NULL;
3990} Py_INCREF(Py_None);
3991 _resultobj = Py_None;
3992 return _resultobj;
3993}
3994
3995#define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
3996static PyObject *_wrap_wxWindow_SetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
3997 PyObject * _resultobj;
3998 wxWindow * _arg0;
3999 bool _arg1;
4000 PyObject * _argo0 = 0;
4001 int tempbool1;
4002 char *_kwnames[] = { "self","autoLayout", NULL };
4003
4004 self = self;
4005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_SetAutoLayout",_kwnames,&_argo0,&tempbool1))
4006 return NULL;
4007 if (_argo0) {
4008 if (_argo0 == Py_None) { _arg0 = NULL; }
4009 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4010 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
4011 return NULL;
4012 }
4013 }
4014 _arg1 = (bool ) tempbool1;
4015{
4016 PyThreadState* __tstate = wxPyBeginAllowThreads();
4017 wxWindow_SetAutoLayout(_arg0,_arg1);
4018
4019 wxPyEndAllowThreads(__tstate);
4020 if (PyErr_Occurred()) return NULL;
4021} Py_INCREF(Py_None);
4022 _resultobj = Py_None;
4023 return _resultobj;
4024}
4025
4026#define wxWindow_GetAutoLayout(_swigobj) (_swigobj->GetAutoLayout())
4027static PyObject *_wrap_wxWindow_GetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
4028 PyObject * _resultobj;
4029 bool _result;
4030 wxWindow * _arg0;
4031 PyObject * _argo0 = 0;
4032 char *_kwnames[] = { "self", NULL };
4033
4034 self = self;
4035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetAutoLayout",_kwnames,&_argo0))
4036 return NULL;
4037 if (_argo0) {
4038 if (_argo0 == Py_None) { _arg0 = NULL; }
4039 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4040 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetAutoLayout. Expected _wxWindow_p.");
4041 return NULL;
4042 }
4043 }
4044{
4045 PyThreadState* __tstate = wxPyBeginAllowThreads();
4046 _result = (bool )wxWindow_GetAutoLayout(_arg0);
4047
4048 wxPyEndAllowThreads(__tstate);
4049 if (PyErr_Occurred()) return NULL;
4050} _resultobj = Py_BuildValue("i",_result);
4051 return _resultobj;
4052}
4053
4054#define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
4055static PyObject *_wrap_wxWindow_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4056 PyObject * _resultobj;
4057 wxWindow * _arg0;
4058 wxColour * _arg1;
4059 PyObject * _argo0 = 0;
4060 wxColour temp;
4061 PyObject * _obj1 = 0;
4062 char *_kwnames[] = { "self","colour", NULL };
4063
4064 self = self;
4065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
4066 return NULL;
4067 if (_argo0) {
4068 if (_argo0 == Py_None) { _arg0 = NULL; }
4069 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4070 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
4071 return NULL;
4072 }
4073 }
4074{
4075 _arg1 = &temp;
4076 if (! wxColour_helper(_obj1, &_arg1))
4077 return NULL;
4078}
4079{
4080 PyThreadState* __tstate = wxPyBeginAllowThreads();
4081 wxWindow_SetBackgroundColour(_arg0,*_arg1);
4082
4083 wxPyEndAllowThreads(__tstate);
4084 if (PyErr_Occurred()) return NULL;
4085} Py_INCREF(Py_None);
4086 _resultobj = Py_None;
4087 return _resultobj;
4088}
4089
4090#define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
4091static PyObject *_wrap_wxWindow_SetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
4092 PyObject * _resultobj;
4093 wxWindow * _arg0;
4094 wxLayoutConstraints * _arg1;
4095 PyObject * _argo0 = 0;
4096 PyObject * _argo1 = 0;
4097 char *_kwnames[] = { "self","constraints", NULL };
4098
4099 self = self;
4100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetConstraints",_kwnames,&_argo0,&_argo1))
4101 return NULL;
4102 if (_argo0) {
4103 if (_argo0 == Py_None) { _arg0 = NULL; }
4104 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4105 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
4106 return NULL;
4107 }
4108 }
4109 if (_argo1) {
4110 if (_argo1 == Py_None) { _arg1 = NULL; }
4111 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxLayoutConstraints_p")) {
4112 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
4113 return NULL;
4114 }
4115 }
4116{
4117 PyThreadState* __tstate = wxPyBeginAllowThreads();
4118 wxWindow_SetConstraints(_arg0,_arg1);
4119
4120 wxPyEndAllowThreads(__tstate);
4121 if (PyErr_Occurred()) return NULL;
4122} Py_INCREF(Py_None);
4123 _resultobj = Py_None;
4124 return _resultobj;
4125}
4126
4127#define wxWindow_UnsetConstraints(_swigobj,_swigarg0) (_swigobj->UnsetConstraints(_swigarg0))
4128static PyObject *_wrap_wxWindow_UnsetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
4129 PyObject * _resultobj;
4130 wxWindow * _arg0;
4131 wxLayoutConstraints * _arg1;
4132 PyObject * _argo0 = 0;
4133 PyObject * _argo1 = 0;
4134 char *_kwnames[] = { "self","constraints", NULL };
4135
4136 self = self;
4137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_UnsetConstraints",_kwnames,&_argo0,&_argo1))
4138 return NULL;
4139 if (_argo0) {
4140 if (_argo0 == Py_None) { _arg0 = NULL; }
4141 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4142 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_UnsetConstraints. Expected _wxWindow_p.");
4143 return NULL;
4144 }
4145 }
4146 if (_argo1) {
4147 if (_argo1 == Py_None) { _arg1 = NULL; }
4148 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxLayoutConstraints_p")) {
4149 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_UnsetConstraints. Expected _wxLayoutConstraints_p.");
4150 return NULL;
4151 }
4152 }
4153{
4154 PyThreadState* __tstate = wxPyBeginAllowThreads();
4155 wxWindow_UnsetConstraints(_arg0,_arg1);
4156
4157 wxPyEndAllowThreads(__tstate);
4158 if (PyErr_Occurred()) return NULL;
4159} Py_INCREF(Py_None);
4160 _resultobj = Py_None;
4161 return _resultobj;
4162}
4163
4164#define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
4165static PyObject *_wrap_wxWindow_SetFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
4166 PyObject * _resultobj;
4167 wxWindow * _arg0;
4168 PyObject * _argo0 = 0;
4169 char *_kwnames[] = { "self", NULL };
4170
4171 self = self;
4172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_SetFocus",_kwnames,&_argo0))
4173 return NULL;
4174 if (_argo0) {
4175 if (_argo0 == Py_None) { _arg0 = NULL; }
4176 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4177 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
4178 return NULL;
4179 }
4180 }
4181{
4182 PyThreadState* __tstate = wxPyBeginAllowThreads();
4183 wxWindow_SetFocus(_arg0);
4184
4185 wxPyEndAllowThreads(__tstate);
4186 if (PyErr_Occurred()) return NULL;
4187} Py_INCREF(Py_None);
4188 _resultobj = Py_None;
4189 return _resultobj;
4190}
4191
4192#define wxWindow_SetFocusFromKbd(_swigobj) (_swigobj->SetFocusFromKbd())
4193static PyObject *_wrap_wxWindow_SetFocusFromKbd(PyObject *self, PyObject *args, PyObject *kwargs) {
4194 PyObject * _resultobj;
4195 wxWindow * _arg0;
4196 PyObject * _argo0 = 0;
4197 char *_kwnames[] = { "self", NULL };
4198
4199 self = self;
4200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_SetFocusFromKbd",_kwnames,&_argo0))
4201 return NULL;
4202 if (_argo0) {
4203 if (_argo0 == Py_None) { _arg0 = NULL; }
4204 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4205 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetFocusFromKbd. Expected _wxWindow_p.");
4206 return NULL;
4207 }
4208 }
4209{
4210 PyThreadState* __tstate = wxPyBeginAllowThreads();
4211 wxWindow_SetFocusFromKbd(_arg0);
4212
4213 wxPyEndAllowThreads(__tstate);
4214 if (PyErr_Occurred()) return NULL;
4215} Py_INCREF(Py_None);
4216 _resultobj = Py_None;
4217 return _resultobj;
4218}
4219
4220#define wxWindow_AcceptsFocus(_swigobj) (_swigobj->AcceptsFocus())
4221static PyObject *_wrap_wxWindow_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
4222 PyObject * _resultobj;
4223 bool _result;
4224 wxWindow * _arg0;
4225 PyObject * _argo0 = 0;
4226 char *_kwnames[] = { "self", NULL };
4227
4228 self = self;
4229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_AcceptsFocus",_kwnames,&_argo0))
4230 return NULL;
4231 if (_argo0) {
4232 if (_argo0 == Py_None) { _arg0 = NULL; }
4233 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4234 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_AcceptsFocus. Expected _wxWindow_p.");
4235 return NULL;
4236 }
4237 }
4238{
4239 PyThreadState* __tstate = wxPyBeginAllowThreads();
4240 _result = (bool )wxWindow_AcceptsFocus(_arg0);
4241
4242 wxPyEndAllowThreads(__tstate);
4243 if (PyErr_Occurred()) return NULL;
4244} _resultobj = Py_BuildValue("i",_result);
4245 return _resultobj;
4246}
4247
4248#define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
4249static PyObject *_wrap_wxWindow_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
4250 PyObject * _resultobj;
4251 wxWindow * _arg0;
4252 wxFont * _arg1;
4253 PyObject * _argo0 = 0;
4254 PyObject * _argo1 = 0;
4255 char *_kwnames[] = { "self","font", NULL };
4256
4257 self = self;
4258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetFont",_kwnames,&_argo0,&_argo1))
4259 return NULL;
4260 if (_argo0) {
4261 if (_argo0 == Py_None) { _arg0 = NULL; }
4262 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4263 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
4264 return NULL;
4265 }
4266 }
4267 if (_argo1) {
4268 if (_argo1 == Py_None) { _arg1 = NULL; }
4269 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
4270 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
4271 return NULL;
4272 }
4273 }
4274{
4275 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276 wxWindow_SetFont(_arg0,*_arg1);
4277
4278 wxPyEndAllowThreads(__tstate);
4279 if (PyErr_Occurred()) return NULL;
4280} Py_INCREF(Py_None);
4281 _resultobj = Py_None;
4282 return _resultobj;
4283}
4284
4285#define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
4286static PyObject *_wrap_wxWindow_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4287 PyObject * _resultobj;
4288 wxWindow * _arg0;
4289 wxColour * _arg1;
4290 PyObject * _argo0 = 0;
4291 wxColour temp;
4292 PyObject * _obj1 = 0;
4293 char *_kwnames[] = { "self","colour", NULL };
4294
4295 self = self;
4296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetForegroundColour",_kwnames,&_argo0,&_obj1))
4297 return NULL;
4298 if (_argo0) {
4299 if (_argo0 == Py_None) { _arg0 = NULL; }
4300 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4301 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
4302 return NULL;
4303 }
4304 }
4305{
4306 _arg1 = &temp;
4307 if (! wxColour_helper(_obj1, &_arg1))
4308 return NULL;
4309}
4310{
4311 PyThreadState* __tstate = wxPyBeginAllowThreads();
4312 wxWindow_SetForegroundColour(_arg0,*_arg1);
4313
4314 wxPyEndAllowThreads(__tstate);
4315 if (PyErr_Occurred()) return NULL;
4316} Py_INCREF(Py_None);
4317 _resultobj = Py_None;
4318 return _resultobj;
4319}
4320
4321#define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
4322static PyObject *_wrap_wxWindow_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
4323 PyObject * _resultobj;
4324 wxWindow * _arg0;
4325 int _arg1;
4326 PyObject * _argo0 = 0;
4327 char *_kwnames[] = { "self","id", NULL };
4328
4329 self = self;
4330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_SetId",_kwnames,&_argo0,&_arg1))
4331 return NULL;
4332 if (_argo0) {
4333 if (_argo0 == Py_None) { _arg0 = NULL; }
4334 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4335 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
4336 return NULL;
4337 }
4338 }
4339{
4340 PyThreadState* __tstate = wxPyBeginAllowThreads();
4341 wxWindow_SetId(_arg0,_arg1);
4342
4343 wxPyEndAllowThreads(__tstate);
4344 if (PyErr_Occurred()) return NULL;
4345} Py_INCREF(Py_None);
4346 _resultobj = Py_None;
4347 return _resultobj;
4348}
4349
4350#define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
4351static PyObject *_wrap_wxWindow_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
4352 PyObject * _resultobj;
4353 wxWindow * _arg0;
4354 wxString * _arg1;
4355 PyObject * _argo0 = 0;
4356 PyObject * _obj1 = 0;
4357 char *_kwnames[] = { "self","name", NULL };
4358
4359 self = self;
4360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetName",_kwnames,&_argo0,&_obj1))
4361 return NULL;
4362 if (_argo0) {
4363 if (_argo0 == Py_None) { _arg0 = NULL; }
4364 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4365 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
4366 return NULL;
4367 }
4368 }
4369{
4370 _arg1 = wxString_in_helper(_obj1);
4371 if (_arg1 == NULL)
4372 return NULL;
4373}
4374{
4375 PyThreadState* __tstate = wxPyBeginAllowThreads();
4376 wxWindow_SetName(_arg0,*_arg1);
4377
4378 wxPyEndAllowThreads(__tstate);
4379 if (PyErr_Occurred()) return NULL;
4380} Py_INCREF(Py_None);
4381 _resultobj = Py_None;
4382{
4383 if (_obj1)
4384 delete _arg1;
4385}
4386 return _resultobj;
4387}
4388
4389#define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4390static PyObject *_wrap_wxWindow_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
4391 PyObject * _resultobj;
4392 wxWindow * _arg0;
4393 int _arg1;
4394 int _arg2;
4395 int _arg3;
4396 int _arg4;
4397 int _arg5 = (int ) TRUE;
4398 PyObject * _argo0 = 0;
4399 char *_kwnames[] = { "self","orientation","position","thumbSize","range","refresh", NULL };
4400
4401 self = self;
4402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxWindow_SetScrollbar",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5))
4403 return NULL;
4404 if (_argo0) {
4405 if (_argo0 == Py_None) { _arg0 = NULL; }
4406 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4407 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
4408 return NULL;
4409 }
4410 }
4411{
4412 PyThreadState* __tstate = wxPyBeginAllowThreads();
4413 wxWindow_SetScrollbar(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
4414
4415 wxPyEndAllowThreads(__tstate);
4416 if (PyErr_Occurred()) return NULL;
4417} Py_INCREF(Py_None);
4418 _resultobj = Py_None;
4419 return _resultobj;
4420}
4421
4422#define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
4423static PyObject *_wrap_wxWindow_SetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
4424 PyObject * _resultobj;
4425 wxWindow * _arg0;
4426 int _arg1;
4427 int _arg2;
4428 bool _arg3 = (bool ) TRUE;
4429 PyObject * _argo0 = 0;
4430 int tempbool3 = (int) TRUE;
4431 char *_kwnames[] = { "self","orientation","pos","refresh", NULL };
4432
4433 self = self;
4434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxWindow_SetScrollPos",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
4435 return NULL;
4436 if (_argo0) {
4437 if (_argo0 == Py_None) { _arg0 = NULL; }
4438 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4439 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
4440 return NULL;
4441 }
4442 }
4443 _arg3 = (bool ) tempbool3;
4444{
4445 PyThreadState* __tstate = wxPyBeginAllowThreads();
4446 wxWindow_SetScrollPos(_arg0,_arg1,_arg2,_arg3);
4447
4448 wxPyEndAllowThreads(__tstate);
4449 if (PyErr_Occurred()) return NULL;
4450} Py_INCREF(Py_None);
4451 _resultobj = Py_None;
4452 return _resultobj;
4453}
4454
4455#define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4456static PyObject *_wrap_wxWindow_SetDimensions(PyObject *self, PyObject *args, PyObject *kwargs) {
4457 PyObject * _resultobj;
4458 wxWindow * _arg0;
4459 int _arg1;
4460 int _arg2;
4461 int _arg3;
4462 int _arg4;
4463 int _arg5 = (int ) wxSIZE_AUTO;
4464 PyObject * _argo0 = 0;
4465 char *_kwnames[] = { "self","x","y","width","height","sizeFlags", NULL };
4466
4467 self = self;
4468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxWindow_SetDimensions",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5))
4469 return NULL;
4470 if (_argo0) {
4471 if (_argo0 == Py_None) { _arg0 = NULL; }
4472 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4473 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
4474 return NULL;
4475 }
4476 }
4477{
4478 PyThreadState* __tstate = wxPyBeginAllowThreads();
4479 wxWindow_SetDimensions(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
4480
4481 wxPyEndAllowThreads(__tstate);
4482 if (PyErr_Occurred()) return NULL;
4483} Py_INCREF(Py_None);
4484 _resultobj = Py_None;
4485 return _resultobj;
4486}
4487
4488static void wxWindow_SetSize(wxWindow *self,const wxSize & size) {
4489 self->SetSize(size);
4490 }
4491static PyObject *_wrap_wxWindow_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4492 PyObject * _resultobj;
4493 wxWindow * _arg0;
4494 wxSize * _arg1;
4495 PyObject * _argo0 = 0;
4496 wxSize temp;
4497 PyObject * _obj1 = 0;
4498 char *_kwnames[] = { "self","size", NULL };
4499
4500 self = self;
4501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetSize",_kwnames,&_argo0,&_obj1))
4502 return NULL;
4503 if (_argo0) {
4504 if (_argo0 == Py_None) { _arg0 = NULL; }
4505 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4506 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
4507 return NULL;
4508 }
4509 }
4510{
4511 _arg1 = &temp;
4512 if (! wxSize_helper(_obj1, &_arg1))
4513 return NULL;
4514}
4515{
4516 PyThreadState* __tstate = wxPyBeginAllowThreads();
4517 wxWindow_SetSize(_arg0,*_arg1);
4518
4519 wxPyEndAllowThreads(__tstate);
4520 if (PyErr_Occurred()) return NULL;
4521} Py_INCREF(Py_None);
4522 _resultobj = Py_None;
4523 return _resultobj;
4524}
4525
4526static void wxWindow_SetPosition(wxWindow *self,const wxPoint & pos,int flags) {
4527 self->Move(pos, flags);
4528 }
4529static PyObject *_wrap_wxWindow_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4530 PyObject * _resultobj;
4531 wxWindow * _arg0;
4532 wxPoint * _arg1;
4533 int _arg2 = (int ) wxSIZE_USE_EXISTING;
4534 PyObject * _argo0 = 0;
4535 wxPoint temp;
4536 PyObject * _obj1 = 0;
4537 char *_kwnames[] = { "self","pos","flags", NULL };
4538
4539 self = self;
4540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxWindow_SetPosition",_kwnames,&_argo0,&_obj1,&_arg2))
4541 return NULL;
4542 if (_argo0) {
4543 if (_argo0 == Py_None) { _arg0 = NULL; }
4544 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4545 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
4546 return NULL;
4547 }
4548 }
4549{
4550 _arg1 = &temp;
4551 if (! wxPoint_helper(_obj1, &_arg1))
4552 return NULL;
4553}
4554{
4555 PyThreadState* __tstate = wxPyBeginAllowThreads();
4556 wxWindow_SetPosition(_arg0,*_arg1,_arg2);
4557
4558 wxPyEndAllowThreads(__tstate);
4559 if (PyErr_Occurred()) return NULL;
4560} Py_INCREF(Py_None);
4561 _resultobj = Py_None;
4562 return _resultobj;
4563}
4564
4565static void wxWindow_SetRect(wxWindow *self,const wxRect & rect,int sizeFlags) {
4566 self->SetSize(rect, sizeFlags);
4567 }
4568static PyObject *_wrap_wxWindow_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
4569 PyObject * _resultobj;
4570 wxWindow * _arg0;
4571 wxRect * _arg1;
4572 int _arg2 = (int ) wxSIZE_AUTO;
4573 PyObject * _argo0 = 0;
4574 wxRect temp;
4575 PyObject * _obj1 = 0;
4576 char *_kwnames[] = { "self","rect","sizeFlags", NULL };
4577
4578 self = self;
4579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxWindow_SetRect",_kwnames,&_argo0,&_obj1,&_arg2))
4580 return NULL;
4581 if (_argo0) {
4582 if (_argo0 == Py_None) { _arg0 = NULL; }
4583 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4584 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetRect. Expected _wxWindow_p.");
4585 return NULL;
4586 }
4587 }
4588{
4589 _arg1 = &temp;
4590 if (! wxRect_helper(_obj1, &_arg1))
4591 return NULL;
4592}
4593{
4594 PyThreadState* __tstate = wxPyBeginAllowThreads();
4595 wxWindow_SetRect(_arg0,*_arg1,_arg2);
4596
4597 wxPyEndAllowThreads(__tstate);
4598 if (PyErr_Occurred()) return NULL;
4599} Py_INCREF(Py_None);
4600 _resultobj = Py_None;
4601 return _resultobj;
4602}
4603
4604#define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4605static PyObject *_wrap_wxWindow_SetSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
4606 PyObject * _resultobj;
4607 wxWindow * _arg0;
4608 int _arg1;
4609 int _arg2;
4610 int _arg3 = (int ) -1;
4611 int _arg4 = (int ) -1;
4612 int _arg5 = (int ) -1;
4613 int _arg6 = (int ) -1;
4614 PyObject * _argo0 = 0;
4615 char *_kwnames[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL };
4616
4617 self = self;
4618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|iiii:wxWindow_SetSizeHints",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6))
4619 return NULL;
4620 if (_argo0) {
4621 if (_argo0 == Py_None) { _arg0 = NULL; }
4622 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4623 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
4624 return NULL;
4625 }
4626 }
4627{
4628 PyThreadState* __tstate = wxPyBeginAllowThreads();
4629 wxWindow_SetSizeHints(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
4630
4631 wxPyEndAllowThreads(__tstate);
4632 if (PyErr_Occurred()) return NULL;
4633} Py_INCREF(Py_None);
4634 _resultobj = Py_None;
4635 return _resultobj;
4636}
4637
4638#define wxWindow_SetVirtualSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetVirtualSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4639static PyObject *_wrap_wxWindow_SetVirtualSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
4640 PyObject * _resultobj;
4641 wxWindow * _arg0;
4642 int _arg1;
4643 int _arg2;
4644 int _arg3 = (int ) -1;
4645 int _arg4 = (int ) -1;
4646 PyObject * _argo0 = 0;
4647 char *_kwnames[] = { "self","minW","minH","maxW","maxH", NULL };
4648
4649 self = self;
4650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|ii:wxWindow_SetVirtualSizeHints",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
4651 return NULL;
4652 if (_argo0) {
4653 if (_argo0 == Py_None) { _arg0 = NULL; }
4654 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4655 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetVirtualSizeHints. Expected _wxWindow_p.");
4656 return NULL;
4657 }
4658 }
4659{
4660 PyThreadState* __tstate = wxPyBeginAllowThreads();
4661 wxWindow_SetVirtualSizeHints(_arg0,_arg1,_arg2,_arg3,_arg4);
4662
4663 wxPyEndAllowThreads(__tstate);
4664 if (PyErr_Occurred()) return NULL;
4665} Py_INCREF(Py_None);
4666 _resultobj = Py_None;
4667 return _resultobj;
4668}
4669
4670#define wxWindow_SetVirtualSize(_swigobj,_swigarg0) (_swigobj->SetVirtualSize(_swigarg0))
4671static PyObject *_wrap_wxWindow_SetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4672 PyObject * _resultobj;
4673 wxWindow * _arg0;
4674 wxSize * _arg1;
4675 PyObject * _argo0 = 0;
4676 wxSize temp;
4677 PyObject * _obj1 = 0;
4678 char *_kwnames[] = { "self","size", NULL };
4679
4680 self = self;
4681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetVirtualSize",_kwnames,&_argo0,&_obj1))
4682 return NULL;
4683 if (_argo0) {
4684 if (_argo0 == Py_None) { _arg0 = NULL; }
4685 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4686 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetVirtualSize. Expected _wxWindow_p.");
4687 return NULL;
4688 }
4689 }
4690{
4691 _arg1 = &temp;
4692 if (! wxSize_helper(_obj1, &_arg1))
4693 return NULL;
4694}
4695{
4696 PyThreadState* __tstate = wxPyBeginAllowThreads();
4697 wxWindow_SetVirtualSize(_arg0,*_arg1);
4698
4699 wxPyEndAllowThreads(__tstate);
4700 if (PyErr_Occurred()) return NULL;
4701} Py_INCREF(Py_None);
4702 _resultobj = Py_None;
4703 return _resultobj;
4704}
4705
4706#define wxWindow_SetVirtualSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetVirtualSize(_swigarg0,_swigarg1))
4707static PyObject *_wrap_wxWindow_SetVirtualSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
4708 PyObject * _resultobj;
4709 wxWindow * _arg0;
4710 int _arg1;
4711 int _arg2;
4712 PyObject * _argo0 = 0;
4713 char *_kwnames[] = { "self","x","y", NULL };
4714
4715 self = self;
4716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxWindow_SetVirtualSizeWH",_kwnames,&_argo0,&_arg1,&_arg2))
4717 return NULL;
4718 if (_argo0) {
4719 if (_argo0 == Py_None) { _arg0 = NULL; }
4720 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4721 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetVirtualSizeWH. Expected _wxWindow_p.");
4722 return NULL;
4723 }
4724 }
4725{
4726 PyThreadState* __tstate = wxPyBeginAllowThreads();
4727 wxWindow_SetVirtualSizeWH(_arg0,_arg1,_arg2);
4728
4729 wxPyEndAllowThreads(__tstate);
4730 if (PyErr_Occurred()) return NULL;
4731} Py_INCREF(Py_None);
4732 _resultobj = Py_None;
4733 return _resultobj;
4734}
4735
4736#define wxWindow_GetVirtualSize(_swigobj) (_swigobj->GetVirtualSize())
4737static PyObject *_wrap_wxWindow_GetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4738 PyObject * _resultobj;
4739 wxSize * _result;
4740 wxWindow * _arg0;
4741 PyObject * _argo0 = 0;
4742 char *_kwnames[] = { "self", NULL };
4743 char _ptemp[128];
4744
4745 self = self;
4746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetVirtualSize",_kwnames,&_argo0))
4747 return NULL;
4748 if (_argo0) {
4749 if (_argo0 == Py_None) { _arg0 = NULL; }
4750 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4751 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetVirtualSize. Expected _wxWindow_p.");
4752 return NULL;
4753 }
4754 }
4755{
4756 PyThreadState* __tstate = wxPyBeginAllowThreads();
4757 _result = new wxSize (wxWindow_GetVirtualSize(_arg0));
4758
4759 wxPyEndAllowThreads(__tstate);
4760 if (PyErr_Occurred()) return NULL;
4761} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
4762 _resultobj = Py_BuildValue("s",_ptemp);
4763 return _resultobj;
4764}
4765
4766#define wxWindow_GetVirtualSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
4767static PyObject *_wrap_wxWindow_GetVirtualSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4768 PyObject * _resultobj;
4769 wxWindow * _arg0;
4770 int * _arg1;
4771 int temp;
4772 int * _arg2;
4773 int temp0;
4774 PyObject * _argo0 = 0;
4775 char *_kwnames[] = { "self", NULL };
4776
4777 self = self;
4778{
4779 _arg1 = &temp;
4780}
4781{
4782 _arg2 = &temp0;
4783}
4784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetVirtualSizeTuple",_kwnames,&_argo0))
4785 return NULL;
4786 if (_argo0) {
4787 if (_argo0 == Py_None) { _arg0 = NULL; }
4788 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4789 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetVirtualSizeTuple. Expected _wxWindow_p.");
4790 return NULL;
4791 }
4792 }
4793{
4794 PyThreadState* __tstate = wxPyBeginAllowThreads();
4795 wxWindow_GetVirtualSizeTuple(_arg0,_arg1,_arg2);
4796
4797 wxPyEndAllowThreads(__tstate);
4798 if (PyErr_Occurred()) return NULL;
4799} Py_INCREF(Py_None);
4800 _resultobj = Py_None;
4801{
4802 PyObject *o;
4803 o = PyInt_FromLong((long) (*_arg1));
4804 _resultobj = t_output_helper(_resultobj, o);
4805}
4806{
4807 PyObject *o;
4808 o = PyInt_FromLong((long) (*_arg2));
4809 _resultobj = t_output_helper(_resultobj, o);
4810}
4811 return _resultobj;
4812}
4813
4814#define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
4815static PyObject *_wrap_wxWindow_SetClientSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
4816 PyObject * _resultobj;
4817 wxWindow * _arg0;
4818 int _arg1;
4819 int _arg2;
4820 PyObject * _argo0 = 0;
4821 char *_kwnames[] = { "self","width","height", NULL };
4822
4823 self = self;
4824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxWindow_SetClientSizeWH",_kwnames,&_argo0,&_arg1,&_arg2))
4825 return NULL;
4826 if (_argo0) {
4827 if (_argo0 == Py_None) { _arg0 = NULL; }
4828 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4829 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
4830 return NULL;
4831 }
4832 }
4833{
4834 PyThreadState* __tstate = wxPyBeginAllowThreads();
4835 wxWindow_SetClientSizeWH(_arg0,_arg1,_arg2);
4836
4837 wxPyEndAllowThreads(__tstate);
4838 if (PyErr_Occurred()) return NULL;
4839} Py_INCREF(Py_None);
4840 _resultobj = Py_None;
4841 return _resultobj;
4842}
4843
4844#define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
4845static PyObject *_wrap_wxWindow_SetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4846 PyObject * _resultobj;
4847 wxWindow * _arg0;
4848 wxSize * _arg1;
4849 PyObject * _argo0 = 0;
4850 wxSize temp;
4851 PyObject * _obj1 = 0;
4852 char *_kwnames[] = { "self","size", NULL };
4853
4854 self = self;
4855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetClientSize",_kwnames,&_argo0,&_obj1))
4856 return NULL;
4857 if (_argo0) {
4858 if (_argo0 == Py_None) { _arg0 = NULL; }
4859 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4860 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
4861 return NULL;
4862 }
4863 }
4864{
4865 _arg1 = &temp;
4866 if (! wxSize_helper(_obj1, &_arg1))
4867 return NULL;
4868}
4869{
4870 PyThreadState* __tstate = wxPyBeginAllowThreads();
4871 wxWindow_SetClientSize(_arg0,*_arg1);
4872
4873 wxPyEndAllowThreads(__tstate);
4874 if (PyErr_Occurred()) return NULL;
4875} Py_INCREF(Py_None);
4876 _resultobj = Py_None;
4877 return _resultobj;
4878}
4879
4880#define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
4881static PyObject *_wrap_wxWindow_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4882 PyObject * _resultobj;
4883 bool _result;
4884 wxWindow * _arg0;
4885 wxCursor * _arg1;
4886 PyObject * _argo0 = 0;
4887 PyObject * _argo1 = 0;
4888 char *_kwnames[] = { "self","cursor", NULL };
4889
4890 self = self;
4891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetCursor",_kwnames,&_argo0,&_argo1))
4892 return NULL;
4893 if (_argo0) {
4894 if (_argo0 == Py_None) { _arg0 = NULL; }
4895 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4896 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
4897 return NULL;
4898 }
4899 }
4900 if (_argo1) {
4901 if (_argo1 == Py_None) { _arg1 = NULL; }
4902 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCursor_p")) {
4903 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
4904 return NULL;
4905 }
4906 }
4907{
4908 PyThreadState* __tstate = wxPyBeginAllowThreads();
4909 _result = (bool )wxWindow_SetCursor(_arg0,*_arg1);
4910
4911 wxPyEndAllowThreads(__tstate);
4912 if (PyErr_Occurred()) return NULL;
4913} _resultobj = Py_BuildValue("i",_result);
4914 return _resultobj;
4915}
4916
4917#define wxWindow_GetCursor(_swigobj) (_swigobj->GetCursor())
4918static PyObject *_wrap_wxWindow_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4919 PyObject * _resultobj;
4920 wxCursor * _result;
4921 wxWindow * _arg0;
4922 PyObject * _argo0 = 0;
4923 char *_kwnames[] = { "self", NULL };
4924 char _ptemp[128];
4925
4926 self = self;
4927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetCursor",_kwnames,&_argo0))
4928 return NULL;
4929 if (_argo0) {
4930 if (_argo0 == Py_None) { _arg0 = NULL; }
4931 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4932 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetCursor. Expected _wxWindow_p.");
4933 return NULL;
4934 }
4935 }
4936{
4937 PyThreadState* __tstate = wxPyBeginAllowThreads();
4938 wxCursor & _result_ref = wxWindow_GetCursor(_arg0);
4939 _result = (wxCursor *) &_result_ref;
4940
4941 wxPyEndAllowThreads(__tstate);
4942 if (PyErr_Occurred()) return NULL;
4943} if (_result) {
4944 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCursor_p");
4945 _resultobj = Py_BuildValue("s",_ptemp);
4946 } else {
4947 Py_INCREF(Py_None);
4948 _resultobj = Py_None;
4949 }
4950 return _resultobj;
4951}
4952
4953#define wxWindow_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
4954static PyObject *_wrap_wxWindow_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
4955 PyObject * _resultobj;
4956 wxWindow * _arg0;
4957 wxEvtHandler * _arg1;
4958 PyObject * _argo0 = 0;
4959 PyObject * _argo1 = 0;
4960 char *_kwnames[] = { "self","handler", NULL };
4961
4962 self = self;
4963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetEventHandler",_kwnames,&_argo0,&_argo1))
4964 return NULL;
4965 if (_argo0) {
4966 if (_argo0 == Py_None) { _arg0 = NULL; }
4967 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4968 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetEventHandler. Expected _wxWindow_p.");
4969 return NULL;
4970 }
4971 }
4972 if (_argo1) {
4973 if (_argo1 == Py_None) { _arg1 = NULL; }
4974 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
4975 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetEventHandler. Expected _wxEvtHandler_p.");
4976 return NULL;
4977 }
4978 }
4979{
4980 PyThreadState* __tstate = wxPyBeginAllowThreads();
4981 wxWindow_SetEventHandler(_arg0,_arg1);
4982
4983 wxPyEndAllowThreads(__tstate);
4984 if (PyErr_Occurred()) return NULL;
4985} Py_INCREF(Py_None);
4986 _resultobj = Py_None;
4987 return _resultobj;
4988}
4989
4990#define wxWindow_SetExtraStyle(_swigobj,_swigarg0) (_swigobj->SetExtraStyle(_swigarg0))
4991static PyObject *_wrap_wxWindow_SetExtraStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4992 PyObject * _resultobj;
4993 wxWindow * _arg0;
4994 long _arg1;
4995 PyObject * _argo0 = 0;
4996 char *_kwnames[] = { "self","exStyle", NULL };
4997
4998 self = self;
4999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxWindow_SetExtraStyle",_kwnames,&_argo0,&_arg1))
5000 return NULL;
5001 if (_argo0) {
5002 if (_argo0 == Py_None) { _arg0 = NULL; }
5003 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5004 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetExtraStyle. Expected _wxWindow_p.");
5005 return NULL;
5006 }
5007 }
5008{
5009 PyThreadState* __tstate = wxPyBeginAllowThreads();
5010 wxWindow_SetExtraStyle(_arg0,_arg1);
5011
5012 wxPyEndAllowThreads(__tstate);
5013 if (PyErr_Occurred()) return NULL;
5014} Py_INCREF(Py_None);
5015 _resultobj = Py_None;
5016 return _resultobj;
5017}
5018
5019#define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
5020static PyObject *_wrap_wxWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
5021 PyObject * _resultobj;
5022 wxWindow * _arg0;
5023 wxString * _arg1;
5024 PyObject * _argo0 = 0;
5025 PyObject * _obj1 = 0;
5026 char *_kwnames[] = { "self","title", NULL };
5027
5028 self = self;
5029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetTitle",_kwnames,&_argo0,&_obj1))
5030 return NULL;
5031 if (_argo0) {
5032 if (_argo0 == Py_None) { _arg0 = NULL; }
5033 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5034 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
5035 return NULL;
5036 }
5037 }
5038{
5039 _arg1 = wxString_in_helper(_obj1);
5040 if (_arg1 == NULL)
5041 return NULL;
5042}
5043{
5044 PyThreadState* __tstate = wxPyBeginAllowThreads();
5045 wxWindow_SetTitle(_arg0,*_arg1);
5046
5047 wxPyEndAllowThreads(__tstate);
5048 if (PyErr_Occurred()) return NULL;
5049} Py_INCREF(Py_None);
5050 _resultobj = Py_None;
5051{
5052 if (_obj1)
5053 delete _arg1;
5054}
5055 return _resultobj;
5056}
5057
5058#define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5059static PyObject *_wrap_wxWindow_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
5060 PyObject * _resultobj;
5061 bool _result;
5062 wxWindow * _arg0;
5063 bool _arg1 = (bool ) TRUE;
5064 PyObject * _argo0 = 0;
5065 int tempbool1 = (int) TRUE;
5066 char *_kwnames[] = { "self","show", NULL };
5067
5068 self = self;
5069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_Show",_kwnames,&_argo0,&tempbool1))
5070 return NULL;
5071 if (_argo0) {
5072 if (_argo0 == Py_None) { _arg0 = NULL; }
5073 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5074 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
5075 return NULL;
5076 }
5077 }
5078 _arg1 = (bool ) tempbool1;
5079{
5080 PyThreadState* __tstate = wxPyBeginAllowThreads();
5081 _result = (bool )wxWindow_Show(_arg0,_arg1);
5082
5083 wxPyEndAllowThreads(__tstate);
5084 if (PyErr_Occurred()) return NULL;
5085} _resultobj = Py_BuildValue("i",_result);
5086 return _resultobj;
5087}
5088
5089#define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
5090static PyObject *_wrap_wxWindow_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5091 PyObject * _resultobj;
5092 bool _result;
5093 wxWindow * _arg0;
5094 PyObject * _argo0 = 0;
5095 char *_kwnames[] = { "self", NULL };
5096
5097 self = self;
5098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_TransferDataFromWindow",_kwnames,&_argo0))
5099 return NULL;
5100 if (_argo0) {
5101 if (_argo0 == Py_None) { _arg0 = NULL; }
5102 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5103 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
5104 return NULL;
5105 }
5106 }
5107{
5108 PyThreadState* __tstate = wxPyBeginAllowThreads();
5109 _result = (bool )wxWindow_TransferDataFromWindow(_arg0);
5110
5111 wxPyEndAllowThreads(__tstate);
5112 if (PyErr_Occurred()) return NULL;
5113} _resultobj = Py_BuildValue("i",_result);
5114 return _resultobj;
5115}
5116
5117#define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
5118static PyObject *_wrap_wxWindow_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5119 PyObject * _resultobj;
5120 bool _result;
5121 wxWindow * _arg0;
5122 PyObject * _argo0 = 0;
5123 char *_kwnames[] = { "self", NULL };
5124
5125 self = self;
5126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_TransferDataToWindow",_kwnames,&_argo0))
5127 return NULL;
5128 if (_argo0) {
5129 if (_argo0 == Py_None) { _arg0 = NULL; }
5130 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5131 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
5132 return NULL;
5133 }
5134 }
5135{
5136 PyThreadState* __tstate = wxPyBeginAllowThreads();
5137 _result = (bool )wxWindow_TransferDataToWindow(_arg0);
5138
5139 wxPyEndAllowThreads(__tstate);
5140 if (PyErr_Occurred()) return NULL;
5141} _resultobj = Py_BuildValue("i",_result);
5142 return _resultobj;
5143}
5144
5145#define wxWindow_UpdateWindowUI(_swigobj) (_swigobj->UpdateWindowUI())
5146static PyObject *_wrap_wxWindow_UpdateWindowUI(PyObject *self, PyObject *args, PyObject *kwargs) {
5147 PyObject * _resultobj;
5148 wxWindow * _arg0;
5149 PyObject * _argo0 = 0;
5150 char *_kwnames[] = { "self", NULL };
5151
5152 self = self;
5153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_UpdateWindowUI",_kwnames,&_argo0))
5154 return NULL;
5155 if (_argo0) {
5156 if (_argo0 == Py_None) { _arg0 = NULL; }
5157 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5158 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_UpdateWindowUI. Expected _wxWindow_p.");
5159 return NULL;
5160 }
5161 }
5162{
5163 PyThreadState* __tstate = wxPyBeginAllowThreads();
5164 wxWindow_UpdateWindowUI(_arg0);
5165
5166 wxPyEndAllowThreads(__tstate);
5167 if (PyErr_Occurred()) return NULL;
5168} Py_INCREF(Py_None);
5169 _resultobj = Py_None;
5170 return _resultobj;
5171}
5172
5173#define wxWindow_Validate(_swigobj) (_swigobj->Validate())
5174static PyObject *_wrap_wxWindow_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
5175 PyObject * _resultobj;
5176 bool _result;
5177 wxWindow * _arg0;
5178 PyObject * _argo0 = 0;
5179 char *_kwnames[] = { "self", NULL };
5180
5181 self = self;
5182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Validate",_kwnames,&_argo0))
5183 return NULL;
5184 if (_argo0) {
5185 if (_argo0 == Py_None) { _arg0 = NULL; }
5186 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5187 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
5188 return NULL;
5189 }
5190 }
5191{
5192 PyThreadState* __tstate = wxPyBeginAllowThreads();
5193 _result = (bool )wxWindow_Validate(_arg0);
5194
5195 wxPyEndAllowThreads(__tstate);
5196 if (PyErr_Occurred()) return NULL;
5197} _resultobj = Py_BuildValue("i",_result);
5198 return _resultobj;
5199}
5200
5201#define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
5202static PyObject *_wrap_wxWindow_ConvertDialogPointToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
5203 PyObject * _resultobj;
5204 wxPoint * _result;
5205 wxWindow * _arg0;
5206 wxPoint * _arg1;
5207 PyObject * _argo0 = 0;
5208 wxPoint temp;
5209 PyObject * _obj1 = 0;
5210 char *_kwnames[] = { "self","pt", NULL };
5211 char _ptemp[128];
5212
5213 self = self;
5214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames,&_argo0,&_obj1))
5215 return NULL;
5216 if (_argo0) {
5217 if (_argo0 == Py_None) { _arg0 = NULL; }
5218 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5219 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
5220 return NULL;
5221 }
5222 }
5223{
5224 _arg1 = &temp;
5225 if (! wxPoint_helper(_obj1, &_arg1))
5226 return NULL;
5227}
5228{
5229 PyThreadState* __tstate = wxPyBeginAllowThreads();
5230 _result = new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0,*_arg1));
5231
5232 wxPyEndAllowThreads(__tstate);
5233 if (PyErr_Occurred()) return NULL;
5234} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
5235 _resultobj = Py_BuildValue("s",_ptemp);
5236 return _resultobj;
5237}
5238
5239#define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
5240static PyObject *_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
5241 PyObject * _resultobj;
5242 wxSize * _result;
5243 wxWindow * _arg0;
5244 wxSize * _arg1;
5245 PyObject * _argo0 = 0;
5246 wxSize temp;
5247 PyObject * _obj1 = 0;
5248 char *_kwnames[] = { "self","sz", NULL };
5249 char _ptemp[128];
5250
5251 self = self;
5252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames,&_argo0,&_obj1))
5253 return NULL;
5254 if (_argo0) {
5255 if (_argo0 == Py_None) { _arg0 = NULL; }
5256 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5257 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
5258 return NULL;
5259 }
5260 }
5261{
5262 _arg1 = &temp;
5263 if (! wxSize_helper(_obj1, &_arg1))
5264 return NULL;
5265}
5266{
5267 PyThreadState* __tstate = wxPyBeginAllowThreads();
5268 _result = new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0,*_arg1));
5269
5270 wxPyEndAllowThreads(__tstate);
5271 if (PyErr_Occurred()) return NULL;
5272} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
5273 _resultobj = Py_BuildValue("s",_ptemp);
5274 return _resultobj;
5275}
5276
5277#define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
5278static PyObject *_wrap_wxWindow_ConvertPixelPointToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
5279 PyObject * _resultobj;
5280 wxPoint * _result;
5281 wxWindow * _arg0;
5282 wxPoint * _arg1;
5283 PyObject * _argo0 = 0;
5284 wxPoint temp;
5285 PyObject * _obj1 = 0;
5286 char *_kwnames[] = { "self","pt", NULL };
5287 char _ptemp[128];
5288
5289 self = self;
5290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames,&_argo0,&_obj1))
5291 return NULL;
5292 if (_argo0) {
5293 if (_argo0 == Py_None) { _arg0 = NULL; }
5294 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5295 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
5296 return NULL;
5297 }
5298 }
5299{
5300 _arg1 = &temp;
5301 if (! wxPoint_helper(_obj1, &_arg1))
5302 return NULL;
5303}
5304{
5305 PyThreadState* __tstate = wxPyBeginAllowThreads();
5306 _result = new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0,*_arg1));
5307
5308 wxPyEndAllowThreads(__tstate);
5309 if (PyErr_Occurred()) return NULL;
5310} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
5311 _resultobj = Py_BuildValue("s",_ptemp);
5312 return _resultobj;
5313}
5314
5315#define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
5316static PyObject *_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
5317 PyObject * _resultobj;
5318 wxSize * _result;
5319 wxWindow * _arg0;
5320 wxSize * _arg1;
5321 PyObject * _argo0 = 0;
5322 wxSize temp;
5323 PyObject * _obj1 = 0;
5324 char *_kwnames[] = { "self","sz", NULL };
5325 char _ptemp[128];
5326
5327 self = self;
5328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames,&_argo0,&_obj1))
5329 return NULL;
5330 if (_argo0) {
5331 if (_argo0 == Py_None) { _arg0 = NULL; }
5332 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5333 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
5334 return NULL;
5335 }
5336 }
5337{
5338 _arg1 = &temp;
5339 if (! wxSize_helper(_obj1, &_arg1))
5340 return NULL;
5341}
5342{
5343 PyThreadState* __tstate = wxPyBeginAllowThreads();
5344 _result = new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0,*_arg1));
5345
5346 wxPyEndAllowThreads(__tstate);
5347 if (PyErr_Occurred()) return NULL;
5348} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
5349 _resultobj = Py_BuildValue("s",_ptemp);
5350 return _resultobj;
5351}
5352
5353#define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
5354static PyObject *_wrap_wxWindow_SetToolTipString(PyObject *self, PyObject *args, PyObject *kwargs) {
5355 PyObject * _resultobj;
5356 wxWindow * _arg0;
5357 wxString * _arg1;
5358 PyObject * _argo0 = 0;
5359 PyObject * _obj1 = 0;
5360 char *_kwnames[] = { "self","tip", NULL };
5361
5362 self = self;
5363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetToolTipString",_kwnames,&_argo0,&_obj1))
5364 return NULL;
5365 if (_argo0) {
5366 if (_argo0 == Py_None) { _arg0 = NULL; }
5367 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5368 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
5369 return NULL;
5370 }
5371 }
5372{
5373 _arg1 = wxString_in_helper(_obj1);
5374 if (_arg1 == NULL)
5375 return NULL;
5376}
5377{
5378 PyThreadState* __tstate = wxPyBeginAllowThreads();
5379 wxWindow_SetToolTipString(_arg0,*_arg1);
5380
5381 wxPyEndAllowThreads(__tstate);
5382 if (PyErr_Occurred()) return NULL;
5383} Py_INCREF(Py_None);
5384 _resultobj = Py_None;
5385{
5386 if (_obj1)
5387 delete _arg1;
5388}
5389 return _resultobj;
5390}
5391
5392#define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
5393static PyObject *_wrap_wxWindow_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5394 PyObject * _resultobj;
5395 wxWindow * _arg0;
5396 wxToolTip * _arg1;
5397 PyObject * _argo0 = 0;
5398 PyObject * _argo1 = 0;
5399 char *_kwnames[] = { "self","tooltip", NULL };
5400
5401 self = self;
5402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetToolTip",_kwnames,&_argo0,&_argo1))
5403 return NULL;
5404 if (_argo0) {
5405 if (_argo0 == Py_None) { _arg0 = NULL; }
5406 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5407 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
5408 return NULL;
5409 }
5410 }
5411 if (_argo1) {
5412 if (_argo1 == Py_None) { _arg1 = NULL; }
5413 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxToolTip_p")) {
5414 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
5415 return NULL;
5416 }
5417 }
5418{
5419 PyThreadState* __tstate = wxPyBeginAllowThreads();
5420 wxWindow_SetToolTip(_arg0,_arg1);
5421
5422 wxPyEndAllowThreads(__tstate);
5423 if (PyErr_Occurred()) return NULL;
5424} Py_INCREF(Py_None);
5425 _resultobj = Py_None;
5426 return _resultobj;
5427}
5428
5429#define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
5430static PyObject *_wrap_wxWindow_GetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5431 PyObject * _resultobj;
5432 wxToolTip * _result;
5433 wxWindow * _arg0;
5434 PyObject * _argo0 = 0;
5435 char *_kwnames[] = { "self", NULL };
5436
5437 self = self;
5438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetToolTip",_kwnames,&_argo0))
5439 return NULL;
5440 if (_argo0) {
5441 if (_argo0 == Py_None) { _arg0 = NULL; }
5442 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5443 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
5444 return NULL;
5445 }
5446 }
5447{
5448 PyThreadState* __tstate = wxPyBeginAllowThreads();
5449 _result = (wxToolTip *)wxWindow_GetToolTip(_arg0);
5450
5451 wxPyEndAllowThreads(__tstate);
5452 if (PyErr_Occurred()) return NULL;
5453}{ _resultobj = wxPyMake_wxObject(_result); }
5454 return _resultobj;
5455}
5456
5457#define wxWindow_SetSizer(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSizer(_swigarg0,_swigarg1))
5458static PyObject *_wrap_wxWindow_SetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
5459 PyObject * _resultobj;
5460 wxWindow * _arg0;
5461 wxSizer * _arg1;
5462 bool _arg2 = (bool ) TRUE;
5463 PyObject * _argo0 = 0;
5464 PyObject * _argo1 = 0;
5465 int tempbool2 = (int) TRUE;
5466 char *_kwnames[] = { "self","sizer","deleteOld", NULL };
5467
5468 self = self;
5469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxWindow_SetSizer",_kwnames,&_argo0,&_argo1,&tempbool2))
5470 return NULL;
5471 if (_argo0) {
5472 if (_argo0 == Py_None) { _arg0 = NULL; }
5473 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5474 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetSizer. Expected _wxWindow_p.");
5475 return NULL;
5476 }
5477 }
5478 if (_argo1) {
5479 if (_argo1 == Py_None) { _arg1 = NULL; }
5480 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSizer_p")) {
5481 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetSizer. Expected _wxSizer_p.");
5482 return NULL;
5483 }
5484 }
5485 _arg2 = (bool ) tempbool2;
5486{
5487 PyThreadState* __tstate = wxPyBeginAllowThreads();
5488 wxWindow_SetSizer(_arg0,_arg1,_arg2);
5489
5490 wxPyEndAllowThreads(__tstate);
5491 if (PyErr_Occurred()) return NULL;
5492} Py_INCREF(Py_None);
5493 _resultobj = Py_None;
5494 return _resultobj;
5495}
5496
5497#define wxWindow_SetSizerAndFit(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSizerAndFit(_swigarg0,_swigarg1))
5498static PyObject *_wrap_wxWindow_SetSizerAndFit(PyObject *self, PyObject *args, PyObject *kwargs) {
5499 PyObject * _resultobj;
5500 wxWindow * _arg0;
5501 wxSizer * _arg1;
5502 bool _arg2 = (bool ) TRUE;
5503 PyObject * _argo0 = 0;
5504 PyObject * _argo1 = 0;
5505 int tempbool2 = (int) TRUE;
5506 char *_kwnames[] = { "self","sizer","deleteOld", NULL };
5507
5508 self = self;
5509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxWindow_SetSizerAndFit",_kwnames,&_argo0,&_argo1,&tempbool2))
5510 return NULL;
5511 if (_argo0) {
5512 if (_argo0 == Py_None) { _arg0 = NULL; }
5513 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5514 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetSizerAndFit. Expected _wxWindow_p.");
5515 return NULL;
5516 }
5517 }
5518 if (_argo1) {
5519 if (_argo1 == Py_None) { _arg1 = NULL; }
5520 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSizer_p")) {
5521 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetSizerAndFit. Expected _wxSizer_p.");
5522 return NULL;
5523 }
5524 }
5525 _arg2 = (bool ) tempbool2;
5526{
5527 PyThreadState* __tstate = wxPyBeginAllowThreads();
5528 wxWindow_SetSizerAndFit(_arg0,_arg1,_arg2);
5529
5530 wxPyEndAllowThreads(__tstate);
5531 if (PyErr_Occurred()) return NULL;
5532} Py_INCREF(Py_None);
5533 _resultobj = Py_None;
5534 return _resultobj;
5535}
5536
5537#define wxWindow_GetSizer(_swigobj) (_swigobj->GetSizer())
5538static PyObject *_wrap_wxWindow_GetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
5539 PyObject * _resultobj;
5540 wxSizer * _result;
5541 wxWindow * _arg0;
5542 PyObject * _argo0 = 0;
5543 char *_kwnames[] = { "self", NULL };
5544
5545 self = self;
5546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetSizer",_kwnames,&_argo0))
5547 return NULL;
5548 if (_argo0) {
5549 if (_argo0 == Py_None) { _arg0 = NULL; }
5550 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5551 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetSizer. Expected _wxWindow_p.");
5552 return NULL;
5553 }
5554 }
5555{
5556 PyThreadState* __tstate = wxPyBeginAllowThreads();
5557 _result = (wxSizer *)wxWindow_GetSizer(_arg0);
5558
5559 wxPyEndAllowThreads(__tstate);
5560 if (PyErr_Occurred()) return NULL;
5561}{ _resultobj = wxPyMake_wxSizer(_result); }
5562 return _resultobj;
5563}
5564
5565#define wxWindow_SetContainingSizer(_swigobj,_swigarg0) (_swigobj->SetContainingSizer(_swigarg0))
5566static PyObject *_wrap_wxWindow_SetContainingSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
5567 PyObject * _resultobj;
5568 wxWindow * _arg0;
5569 wxSizer * _arg1;
5570 PyObject * _argo0 = 0;
5571 PyObject * _argo1 = 0;
5572 char *_kwnames[] = { "self","sizer", NULL };
5573
5574 self = self;
5575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetContainingSizer",_kwnames,&_argo0,&_argo1))
5576 return NULL;
5577 if (_argo0) {
5578 if (_argo0 == Py_None) { _arg0 = NULL; }
5579 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5580 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetContainingSizer. Expected _wxWindow_p.");
5581 return NULL;
5582 }
5583 }
5584 if (_argo1) {
5585 if (_argo1 == Py_None) { _arg1 = NULL; }
5586 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSizer_p")) {
5587 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetContainingSizer. Expected _wxSizer_p.");
5588 return NULL;
5589 }
5590 }
5591{
5592 PyThreadState* __tstate = wxPyBeginAllowThreads();
5593 wxWindow_SetContainingSizer(_arg0,_arg1);
5594
5595 wxPyEndAllowThreads(__tstate);
5596 if (PyErr_Occurred()) return NULL;
5597} Py_INCREF(Py_None);
5598 _resultobj = Py_None;
5599 return _resultobj;
5600}
5601
5602#define wxWindow_GetContainingSizer(_swigobj) (_swigobj->GetContainingSizer())
5603static PyObject *_wrap_wxWindow_GetContainingSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
5604 PyObject * _resultobj;
5605 wxSizer * _result;
5606 wxWindow * _arg0;
5607 PyObject * _argo0 = 0;
5608 char *_kwnames[] = { "self", NULL };
5609
5610 self = self;
5611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetContainingSizer",_kwnames,&_argo0))
5612 return NULL;
5613 if (_argo0) {
5614 if (_argo0 == Py_None) { _arg0 = NULL; }
5615 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5616 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetContainingSizer. Expected _wxWindow_p.");
5617 return NULL;
5618 }
5619 }
5620{
5621 PyThreadState* __tstate = wxPyBeginAllowThreads();
5622 _result = (wxSizer *)wxWindow_GetContainingSizer(_arg0);
5623
5624 wxPyEndAllowThreads(__tstate);
5625 if (PyErr_Occurred()) return NULL;
5626}{ _resultobj = wxPyMake_wxSizer(_result); }
5627 return _resultobj;
5628}
5629
5630#define wxWindow_GetValidator(_swigobj) (_swigobj->GetValidator())
5631static PyObject *_wrap_wxWindow_GetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
5632 PyObject * _resultobj;
5633 wxValidator * _result;
5634 wxWindow * _arg0;
5635 PyObject * _argo0 = 0;
5636 char *_kwnames[] = { "self", NULL };
5637
5638 self = self;
5639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetValidator",_kwnames,&_argo0))
5640 return NULL;
5641 if (_argo0) {
5642 if (_argo0 == Py_None) { _arg0 = NULL; }
5643 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5644 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetValidator. Expected _wxWindow_p.");
5645 return NULL;
5646 }
5647 }
5648{
5649 PyThreadState* __tstate = wxPyBeginAllowThreads();
5650 _result = (wxValidator *)wxWindow_GetValidator(_arg0);
5651
5652 wxPyEndAllowThreads(__tstate);
5653 if (PyErr_Occurred()) return NULL;
5654}{ _resultobj = wxPyMake_wxObject(_result); }
5655 return _resultobj;
5656}
5657
5658#define wxWindow_SetValidator(_swigobj,_swigarg0) (_swigobj->SetValidator(_swigarg0))
5659static PyObject *_wrap_wxWindow_SetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
5660 PyObject * _resultobj;
5661 wxWindow * _arg0;
5662 wxValidator * _arg1;
5663 PyObject * _argo0 = 0;
5664 PyObject * _argo1 = 0;
5665 char *_kwnames[] = { "self","validator", NULL };
5666
5667 self = self;
5668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetValidator",_kwnames,&_argo0,&_argo1))
5669 return NULL;
5670 if (_argo0) {
5671 if (_argo0 == Py_None) { _arg0 = NULL; }
5672 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5673 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetValidator. Expected _wxWindow_p.");
5674 return NULL;
5675 }
5676 }
5677 if (_argo1) {
5678 if (_argo1 == Py_None) { _arg1 = NULL; }
5679 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxValidator_p")) {
5680 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetValidator. Expected _wxValidator_p.");
5681 return NULL;
5682 }
5683 }
5684{
5685 PyThreadState* __tstate = wxPyBeginAllowThreads();
5686 wxWindow_SetValidator(_arg0,*_arg1);
5687
5688 wxPyEndAllowThreads(__tstate);
5689 if (PyErr_Occurred()) return NULL;
5690} Py_INCREF(Py_None);
5691 _resultobj = Py_None;
5692 return _resultobj;
5693}
5694
5695#define wxWindow_SetDropTarget(_swigobj,_swigarg0) (_swigobj->SetDropTarget(_swigarg0))
5696static PyObject *_wrap_wxWindow_SetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
5697 PyObject * _resultobj;
5698 wxWindow * _arg0;
5699 wxDropTarget * _arg1;
5700 PyObject * _argo0 = 0;
5701 PyObject * _argo1 = 0;
5702 char *_kwnames[] = { "self","target", NULL };
5703
5704 self = self;
5705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetDropTarget",_kwnames,&_argo0,&_argo1))
5706 return NULL;
5707 if (_argo0) {
5708 if (_argo0 == Py_None) { _arg0 = NULL; }
5709 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5710 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetDropTarget. Expected _wxWindow_p.");
5711 return NULL;
5712 }
5713 }
5714 if (_argo1) {
5715 if (_argo1 == Py_None) { _arg1 = NULL; }
5716 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDropTarget_p")) {
5717 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetDropTarget. Expected _wxDropTarget_p.");
5718 return NULL;
5719 }
5720 }
5721{
5722 PyThreadState* __tstate = wxPyBeginAllowThreads();
5723 wxWindow_SetDropTarget(_arg0,_arg1);
5724
5725 wxPyEndAllowThreads(__tstate);
5726 if (PyErr_Occurred()) return NULL;
5727} Py_INCREF(Py_None);
5728 _resultobj = Py_None;
5729 return _resultobj;
5730}
5731
5732#define wxWindow_GetDropTarget(_swigobj) (_swigobj->GetDropTarget())
5733static PyObject *_wrap_wxWindow_GetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
5734 PyObject * _resultobj;
5735 wxDropTarget * _result;
5736 wxWindow * _arg0;
5737 PyObject * _argo0 = 0;
5738 char *_kwnames[] = { "self", NULL };
5739 char _ptemp[128];
5740
5741 self = self;
5742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetDropTarget",_kwnames,&_argo0))
5743 return NULL;
5744 if (_argo0) {
5745 if (_argo0 == Py_None) { _arg0 = NULL; }
5746 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5747 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetDropTarget. Expected _wxWindow_p.");
5748 return NULL;
5749 }
5750 }
5751{
5752 PyThreadState* __tstate = wxPyBeginAllowThreads();
5753 _result = (wxDropTarget *)wxWindow_GetDropTarget(_arg0);
5754
5755 wxPyEndAllowThreads(__tstate);
5756 if (PyErr_Occurred()) return NULL;
5757} if (_result) {
5758 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDropTarget_p");
5759 _resultobj = Py_BuildValue("s",_ptemp);
5760 } else {
5761 Py_INCREF(Py_None);
5762 _resultobj = Py_None;
5763 }
5764 return _resultobj;
5765}
5766
5767#define wxWindow_GetBestSize(_swigobj) (_swigobj->GetBestSize())
5768static PyObject *_wrap_wxWindow_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5769 PyObject * _resultobj;
5770 wxSize * _result;
5771 wxWindow * _arg0;
5772 PyObject * _argo0 = 0;
5773 char *_kwnames[] = { "self", NULL };
5774 char _ptemp[128];
5775
5776 self = self;
5777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetBestSize",_kwnames,&_argo0))
5778 return NULL;
5779 if (_argo0) {
5780 if (_argo0 == Py_None) { _arg0 = NULL; }
5781 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5782 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetBestSize. Expected _wxWindow_p.");
5783 return NULL;
5784 }
5785 }
5786{
5787 PyThreadState* __tstate = wxPyBeginAllowThreads();
5788 _result = new wxSize (wxWindow_GetBestSize(_arg0));
5789
5790 wxPyEndAllowThreads(__tstate);
5791 if (PyErr_Occurred()) return NULL;
5792} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
5793 _resultobj = Py_BuildValue("s",_ptemp);
5794 return _resultobj;
5795}
5796
5797#define wxWindow_GetMaxSize(_swigobj) (_swigobj->GetMaxSize())
5798static PyObject *_wrap_wxWindow_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5799 PyObject * _resultobj;
5800 wxSize * _result;
5801 wxWindow * _arg0;
5802 PyObject * _argo0 = 0;
5803 char *_kwnames[] = { "self", NULL };
5804 char _ptemp[128];
5805
5806 self = self;
5807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetMaxSize",_kwnames,&_argo0))
5808 return NULL;
5809 if (_argo0) {
5810 if (_argo0 == Py_None) { _arg0 = NULL; }
5811 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5812 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetMaxSize. Expected _wxWindow_p.");
5813 return NULL;
5814 }
5815 }
5816{
5817 PyThreadState* __tstate = wxPyBeginAllowThreads();
5818 _result = new wxSize (wxWindow_GetMaxSize(_arg0));
5819
5820 wxPyEndAllowThreads(__tstate);
5821 if (PyErr_Occurred()) return NULL;
5822} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
5823 _resultobj = Py_BuildValue("s",_ptemp);
5824 return _resultobj;
5825}
5826
5827#define wxWindow_SetCaret(_swigobj,_swigarg0) (_swigobj->SetCaret(_swigarg0))
5828static PyObject *_wrap_wxWindow_SetCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
5829 PyObject * _resultobj;
5830 wxWindow * _arg0;
5831 wxCaret * _arg1;
5832 PyObject * _argo0 = 0;
5833 PyObject * _argo1 = 0;
5834 char *_kwnames[] = { "self","caret", NULL };
5835
5836 self = self;
5837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetCaret",_kwnames,&_argo0,&_argo1))
5838 return NULL;
5839 if (_argo0) {
5840 if (_argo0 == Py_None) { _arg0 = NULL; }
5841 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5842 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetCaret. Expected _wxWindow_p.");
5843 return NULL;
5844 }
5845 }
5846 if (_argo1) {
5847 if (_argo1 == Py_None) { _arg1 = NULL; }
5848 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCaret_p")) {
5849 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetCaret. Expected _wxCaret_p.");
5850 return NULL;
5851 }
5852 }
5853{
5854 PyThreadState* __tstate = wxPyBeginAllowThreads();
5855 wxWindow_SetCaret(_arg0,_arg1);
5856
5857 wxPyEndAllowThreads(__tstate);
5858 if (PyErr_Occurred()) return NULL;
5859} Py_INCREF(Py_None);
5860 _resultobj = Py_None;
5861 return _resultobj;
5862}
5863
5864#define wxWindow_GetCaret(_swigobj) (_swigobj->GetCaret())
5865static PyObject *_wrap_wxWindow_GetCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
5866 PyObject * _resultobj;
5867 wxCaret * _result;
5868 wxWindow * _arg0;
5869 PyObject * _argo0 = 0;
5870 char *_kwnames[] = { "self", NULL };
5871 char _ptemp[128];
5872
5873 self = self;
5874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetCaret",_kwnames,&_argo0))
5875 return NULL;
5876 if (_argo0) {
5877 if (_argo0 == Py_None) { _arg0 = NULL; }
5878 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5879 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetCaret. Expected _wxWindow_p.");
5880 return NULL;
5881 }
5882 }
5883{
5884 PyThreadState* __tstate = wxPyBeginAllowThreads();
5885 _result = (wxCaret *)wxWindow_GetCaret(_arg0);
5886
5887 wxPyEndAllowThreads(__tstate);
5888 if (PyErr_Occurred()) return NULL;
5889} if (_result) {
5890 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCaret_p");
5891 _resultobj = Py_BuildValue("s",_ptemp);
5892 } else {
5893 Py_INCREF(Py_None);
5894 _resultobj = Py_None;
5895 }
5896 return _resultobj;
5897}
5898
5899#define wxWindow_Freeze(_swigobj) (_swigobj->Freeze())
5900static PyObject *_wrap_wxWindow_Freeze(PyObject *self, PyObject *args, PyObject *kwargs) {
5901 PyObject * _resultobj;
5902 wxWindow * _arg0;
5903 PyObject * _argo0 = 0;
5904 char *_kwnames[] = { "self", NULL };
5905
5906 self = self;
5907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Freeze",_kwnames,&_argo0))
5908 return NULL;
5909 if (_argo0) {
5910 if (_argo0 == Py_None) { _arg0 = NULL; }
5911 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5912 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Freeze. Expected _wxWindow_p.");
5913 return NULL;
5914 }
5915 }
5916{
5917 PyThreadState* __tstate = wxPyBeginAllowThreads();
5918 wxWindow_Freeze(_arg0);
5919
5920 wxPyEndAllowThreads(__tstate);
5921 if (PyErr_Occurred()) return NULL;
5922} Py_INCREF(Py_None);
5923 _resultobj = Py_None;
5924 return _resultobj;
5925}
5926
5927#define wxWindow_Thaw(_swigobj) (_swigobj->Thaw())
5928static PyObject *_wrap_wxWindow_Thaw(PyObject *self, PyObject *args, PyObject *kwargs) {
5929 PyObject * _resultobj;
5930 wxWindow * _arg0;
5931 PyObject * _argo0 = 0;
5932 char *_kwnames[] = { "self", NULL };
5933
5934 self = self;
5935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Thaw",_kwnames,&_argo0))
5936 return NULL;
5937 if (_argo0) {
5938 if (_argo0 == Py_None) { _arg0 = NULL; }
5939 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5940 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Thaw. Expected _wxWindow_p.");
5941 return NULL;
5942 }
5943 }
5944{
5945 PyThreadState* __tstate = wxPyBeginAllowThreads();
5946 wxWindow_Thaw(_arg0);
5947
5948 wxPyEndAllowThreads(__tstate);
5949 if (PyErr_Occurred()) return NULL;
5950} Py_INCREF(Py_None);
5951 _resultobj = Py_None;
5952 return _resultobj;
5953}
5954
5955#define wxWindow_Update(_swigobj) (_swigobj->Update())
5956static PyObject *_wrap_wxWindow_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
5957 PyObject * _resultobj;
5958 wxWindow * _arg0;
5959 PyObject * _argo0 = 0;
5960 char *_kwnames[] = { "self", NULL };
5961
5962 self = self;
5963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_Update",_kwnames,&_argo0))
5964 return NULL;
5965 if (_argo0) {
5966 if (_argo0 == Py_None) { _arg0 = NULL; }
5967 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5968 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_Update. Expected _wxWindow_p.");
5969 return NULL;
5970 }
5971 }
5972{
5973 PyThreadState* __tstate = wxPyBeginAllowThreads();
5974 wxWindow_Update(_arg0);
5975
5976 wxPyEndAllowThreads(__tstate);
5977 if (PyErr_Occurred()) return NULL;
5978} Py_INCREF(Py_None);
5979 _resultobj = Py_None;
5980 return _resultobj;
5981}
5982
5983#define wxWindow_GetHelpText(_swigobj) (_swigobj->GetHelpText())
5984static PyObject *_wrap_wxWindow_GetHelpText(PyObject *self, PyObject *args, PyObject *kwargs) {
5985 PyObject * _resultobj;
5986 wxString * _result;
5987 wxWindow * _arg0;
5988 PyObject * _argo0 = 0;
5989 char *_kwnames[] = { "self", NULL };
5990
5991 self = self;
5992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetHelpText",_kwnames,&_argo0))
5993 return NULL;
5994 if (_argo0) {
5995 if (_argo0 == Py_None) { _arg0 = NULL; }
5996 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5997 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetHelpText. Expected _wxWindow_p.");
5998 return NULL;
5999 }
6000 }
6001{
6002 PyThreadState* __tstate = wxPyBeginAllowThreads();
6003 _result = new wxString (wxWindow_GetHelpText(_arg0));
6004
6005 wxPyEndAllowThreads(__tstate);
6006 if (PyErr_Occurred()) return NULL;
6007}{
6008#if wxUSE_UNICODE
6009 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
6010#else
6011 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6012#endif
6013}
6014{
6015 delete _result;
6016}
6017 return _resultobj;
6018}
6019
6020#define wxWindow_SetHelpText(_swigobj,_swigarg0) (_swigobj->SetHelpText(_swigarg0))
6021static PyObject *_wrap_wxWindow_SetHelpText(PyObject *self, PyObject *args, PyObject *kwargs) {
6022 PyObject * _resultobj;
6023 wxWindow * _arg0;
6024 wxString * _arg1;
6025 PyObject * _argo0 = 0;
6026 PyObject * _obj1 = 0;
6027 char *_kwnames[] = { "self","helpText", NULL };
6028
6029 self = self;
6030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetHelpText",_kwnames,&_argo0,&_obj1))
6031 return NULL;
6032 if (_argo0) {
6033 if (_argo0 == Py_None) { _arg0 = NULL; }
6034 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6035 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetHelpText. Expected _wxWindow_p.");
6036 return NULL;
6037 }
6038 }
6039{
6040 _arg1 = wxString_in_helper(_obj1);
6041 if (_arg1 == NULL)
6042 return NULL;
6043}
6044{
6045 PyThreadState* __tstate = wxPyBeginAllowThreads();
6046 wxWindow_SetHelpText(_arg0,*_arg1);
6047
6048 wxPyEndAllowThreads(__tstate);
6049 if (PyErr_Occurred()) return NULL;
6050} Py_INCREF(Py_None);
6051 _resultobj = Py_None;
6052{
6053 if (_obj1)
6054 delete _arg1;
6055}
6056 return _resultobj;
6057}
6058
6059#define wxWindow_SetHelpTextForId(_swigobj,_swigarg0) (_swigobj->SetHelpTextForId(_swigarg0))
6060static PyObject *_wrap_wxWindow_SetHelpTextForId(PyObject *self, PyObject *args, PyObject *kwargs) {
6061 PyObject * _resultobj;
6062 wxWindow * _arg0;
6063 wxString * _arg1;
6064 PyObject * _argo0 = 0;
6065 PyObject * _obj1 = 0;
6066 char *_kwnames[] = { "self","text", NULL };
6067
6068 self = self;
6069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetHelpTextForId",_kwnames,&_argo0,&_obj1))
6070 return NULL;
6071 if (_argo0) {
6072 if (_argo0 == Py_None) { _arg0 = NULL; }
6073 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6074 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetHelpTextForId. Expected _wxWindow_p.");
6075 return NULL;
6076 }
6077 }
6078{
6079 _arg1 = wxString_in_helper(_obj1);
6080 if (_arg1 == NULL)
6081 return NULL;
6082}
6083{
6084 PyThreadState* __tstate = wxPyBeginAllowThreads();
6085 wxWindow_SetHelpTextForId(_arg0,*_arg1);
6086
6087 wxPyEndAllowThreads(__tstate);
6088 if (PyErr_Occurred()) return NULL;
6089} Py_INCREF(Py_None);
6090 _resultobj = Py_None;
6091{
6092 if (_obj1)
6093 delete _arg1;
6094}
6095 return _resultobj;
6096}
6097
6098#define wxWindow_ScrollLines(_swigobj,_swigarg0) (_swigobj->ScrollLines(_swigarg0))
6099static PyObject *_wrap_wxWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
6100 PyObject * _resultobj;
6101 bool _result;
6102 wxWindow * _arg0;
6103 int _arg1;
6104 PyObject * _argo0 = 0;
6105 char *_kwnames[] = { "self","lines", NULL };
6106
6107 self = self;
6108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_ScrollLines",_kwnames,&_argo0,&_arg1))
6109 return NULL;
6110 if (_argo0) {
6111 if (_argo0 == Py_None) { _arg0 = NULL; }
6112 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6113 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScrollLines. Expected _wxWindow_p.");
6114 return NULL;
6115 }
6116 }
6117{
6118 PyThreadState* __tstate = wxPyBeginAllowThreads();
6119 _result = (bool )wxWindow_ScrollLines(_arg0,_arg1);
6120
6121 wxPyEndAllowThreads(__tstate);
6122 if (PyErr_Occurred()) return NULL;
6123} _resultobj = Py_BuildValue("i",_result);
6124 return _resultobj;
6125}
6126
6127#define wxWindow_ScrollPages(_swigobj,_swigarg0) (_swigobj->ScrollPages(_swigarg0))
6128static PyObject *_wrap_wxWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
6129 PyObject * _resultobj;
6130 bool _result;
6131 wxWindow * _arg0;
6132 int _arg1;
6133 PyObject * _argo0 = 0;
6134 char *_kwnames[] = { "self","pages", NULL };
6135
6136 self = self;
6137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxWindow_ScrollPages",_kwnames,&_argo0,&_arg1))
6138 return NULL;
6139 if (_argo0) {
6140 if (_argo0 == Py_None) { _arg0 = NULL; }
6141 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6142 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ScrollPages. Expected _wxWindow_p.");
6143 return NULL;
6144 }
6145 }
6146{
6147 PyThreadState* __tstate = wxPyBeginAllowThreads();
6148 _result = (bool )wxWindow_ScrollPages(_arg0,_arg1);
6149
6150 wxPyEndAllowThreads(__tstate);
6151 if (PyErr_Occurred()) return NULL;
6152} _resultobj = Py_BuildValue("i",_result);
6153 return _resultobj;
6154}
6155
6156#define wxWindow_LineUp(_swigobj) (_swigobj->LineUp())
6157static PyObject *_wrap_wxWindow_LineUp(PyObject *self, PyObject *args, PyObject *kwargs) {
6158 PyObject * _resultobj;
6159 bool _result;
6160 wxWindow * _arg0;
6161 PyObject * _argo0 = 0;
6162 char *_kwnames[] = { "self", NULL };
6163
6164 self = self;
6165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_LineUp",_kwnames,&_argo0))
6166 return NULL;
6167 if (_argo0) {
6168 if (_argo0 == Py_None) { _arg0 = NULL; }
6169 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6170 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_LineUp. Expected _wxWindow_p.");
6171 return NULL;
6172 }
6173 }
6174{
6175 PyThreadState* __tstate = wxPyBeginAllowThreads();
6176 _result = (bool )wxWindow_LineUp(_arg0);
6177
6178 wxPyEndAllowThreads(__tstate);
6179 if (PyErr_Occurred()) return NULL;
6180} _resultobj = Py_BuildValue("i",_result);
6181 return _resultobj;
6182}
6183
6184#define wxWindow_LineDown(_swigobj) (_swigobj->LineDown())
6185static PyObject *_wrap_wxWindow_LineDown(PyObject *self, PyObject *args, PyObject *kwargs) {
6186 PyObject * _resultobj;
6187 bool _result;
6188 wxWindow * _arg0;
6189 PyObject * _argo0 = 0;
6190 char *_kwnames[] = { "self", NULL };
6191
6192 self = self;
6193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_LineDown",_kwnames,&_argo0))
6194 return NULL;
6195 if (_argo0) {
6196 if (_argo0 == Py_None) { _arg0 = NULL; }
6197 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6198 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_LineDown. Expected _wxWindow_p.");
6199 return NULL;
6200 }
6201 }
6202{
6203 PyThreadState* __tstate = wxPyBeginAllowThreads();
6204 _result = (bool )wxWindow_LineDown(_arg0);
6205
6206 wxPyEndAllowThreads(__tstate);
6207 if (PyErr_Occurred()) return NULL;
6208} _resultobj = Py_BuildValue("i",_result);
6209 return _resultobj;
6210}
6211
6212#define wxWindow_PageUp(_swigobj) (_swigobj->PageUp())
6213static PyObject *_wrap_wxWindow_PageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
6214 PyObject * _resultobj;
6215 bool _result;
6216 wxWindow * _arg0;
6217 PyObject * _argo0 = 0;
6218 char *_kwnames[] = { "self", NULL };
6219
6220 self = self;
6221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_PageUp",_kwnames,&_argo0))
6222 return NULL;
6223 if (_argo0) {
6224 if (_argo0 == Py_None) { _arg0 = NULL; }
6225 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6226 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PageUp. Expected _wxWindow_p.");
6227 return NULL;
6228 }
6229 }
6230{
6231 PyThreadState* __tstate = wxPyBeginAllowThreads();
6232 _result = (bool )wxWindow_PageUp(_arg0);
6233
6234 wxPyEndAllowThreads(__tstate);
6235 if (PyErr_Occurred()) return NULL;
6236} _resultobj = Py_BuildValue("i",_result);
6237 return _resultobj;
6238}
6239
6240#define wxWindow_PageDown(_swigobj) (_swigobj->PageDown())
6241static PyObject *_wrap_wxWindow_PageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
6242 PyObject * _resultobj;
6243 bool _result;
6244 wxWindow * _arg0;
6245 PyObject * _argo0 = 0;
6246 char *_kwnames[] = { "self", NULL };
6247
6248 self = self;
6249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_PageDown",_kwnames,&_argo0))
6250 return NULL;
6251 if (_argo0) {
6252 if (_argo0 == Py_None) { _arg0 = NULL; }
6253 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6254 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_PageDown. Expected _wxWindow_p.");
6255 return NULL;
6256 }
6257 }
6258{
6259 PyThreadState* __tstate = wxPyBeginAllowThreads();
6260 _result = (bool )wxWindow_PageDown(_arg0);
6261
6262 wxPyEndAllowThreads(__tstate);
6263 if (PyErr_Occurred()) return NULL;
6264} _resultobj = Py_BuildValue("i",_result);
6265 return _resultobj;
6266}
6267
6268static PyObject *_wrap_wxWindow_FindFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
6269 PyObject * _resultobj;
6270 wxWindow * _result;
6271 char *_kwnames[] = { NULL };
6272
6273 self = self;
6274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxWindow_FindFocus",_kwnames))
6275 return NULL;
6276{
6277 PyThreadState* __tstate = wxPyBeginAllowThreads();
6278 _result = (wxWindow *)wxWindow::FindFocus();
6279
6280 wxPyEndAllowThreads(__tstate);
6281 if (PyErr_Occurred()) return NULL;
6282}{ _resultobj = wxPyMake_wxObject(_result); }
6283 return _resultobj;
6284}
6285
6286static PyObject *_wrap_wxWindow_NewControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
6287 PyObject * _resultobj;
6288 int _result;
6289 char *_kwnames[] = { NULL };
6290
6291 self = self;
6292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxWindow_NewControlId",_kwnames))
6293 return NULL;
6294{
6295 PyThreadState* __tstate = wxPyBeginAllowThreads();
6296 _result = (int )wxWindow::NewControlId();
6297
6298 wxPyEndAllowThreads(__tstate);
6299 if (PyErr_Occurred()) return NULL;
6300} _resultobj = Py_BuildValue("i",_result);
6301 return _resultobj;
6302}
6303
6304static PyObject *_wrap_wxWindow_NextControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
6305 PyObject * _resultobj;
6306 int _result;
6307 int _arg0;
6308 char *_kwnames[] = { "id", NULL };
6309
6310 self = self;
6311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxWindow_NextControlId",_kwnames,&_arg0))
6312 return NULL;
6313{
6314 PyThreadState* __tstate = wxPyBeginAllowThreads();
6315 _result = (int )wxWindow::NextControlId(_arg0);
6316
6317 wxPyEndAllowThreads(__tstate);
6318 if (PyErr_Occurred()) return NULL;
6319} _resultobj = Py_BuildValue("i",_result);
6320 return _resultobj;
6321}
6322
6323static PyObject *_wrap_wxWindow_PrevControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
6324 PyObject * _resultobj;
6325 int _result;
6326 int _arg0;
6327 char *_kwnames[] = { "id", NULL };
6328
6329 self = self;
6330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxWindow_PrevControlId",_kwnames,&_arg0))
6331 return NULL;
6332{
6333 PyThreadState* __tstate = wxPyBeginAllowThreads();
6334 _result = (int )wxWindow::PrevControlId(_arg0);
6335
6336 wxPyEndAllowThreads(__tstate);
6337 if (PyErr_Occurred()) return NULL;
6338} _resultobj = Py_BuildValue("i",_result);
6339 return _resultobj;
6340}
6341
6342#define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
6343static PyObject *_wrap_wxWindow_SetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
6344 PyObject * _resultobj;
6345 wxWindow * _arg0;
6346 wxAcceleratorTable * _arg1;
6347 PyObject * _argo0 = 0;
6348 PyObject * _argo1 = 0;
6349 char *_kwnames[] = { "self","accel", NULL };
6350
6351 self = self;
6352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetAcceleratorTable",_kwnames,&_argo0,&_argo1))
6353 return NULL;
6354 if (_argo0) {
6355 if (_argo0 == Py_None) { _arg0 = NULL; }
6356 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6357 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
6358 return NULL;
6359 }
6360 }
6361 if (_argo1) {
6362 if (_argo1 == Py_None) { _arg1 = NULL; }
6363 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxAcceleratorTable_p")) {
6364 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
6365 return NULL;
6366 }
6367 }
6368{
6369 PyThreadState* __tstate = wxPyBeginAllowThreads();
6370 wxWindow_SetAcceleratorTable(_arg0,*_arg1);
6371
6372 wxPyEndAllowThreads(__tstate);
6373 if (PyErr_Occurred()) return NULL;
6374} Py_INCREF(Py_None);
6375 _resultobj = Py_None;
6376 return _resultobj;
6377}
6378
6379#define wxWindow_GetAcceleratorTable(_swigobj) (_swigobj->GetAcceleratorTable())
6380static PyObject *_wrap_wxWindow_GetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
6381 PyObject * _resultobj;
6382 wxAcceleratorTable * _result;
6383 wxWindow * _arg0;
6384 PyObject * _argo0 = 0;
6385 char *_kwnames[] = { "self", NULL };
6386 char _ptemp[128];
6387
6388 self = self;
6389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetAcceleratorTable",_kwnames,&_argo0))
6390 return NULL;
6391 if (_argo0) {
6392 if (_argo0 == Py_None) { _arg0 = NULL; }
6393 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6394 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetAcceleratorTable. Expected _wxWindow_p.");
6395 return NULL;
6396 }
6397 }
6398{
6399 PyThreadState* __tstate = wxPyBeginAllowThreads();
6400 _result = (wxAcceleratorTable *)wxWindow_GetAcceleratorTable(_arg0);
6401
6402 wxPyEndAllowThreads(__tstate);
6403 if (PyErr_Occurred()) return NULL;
6404} if (_result) {
6405 SWIG_MakePtr(_ptemp, (char *) _result,"_wxAcceleratorTable_p");
6406 _resultobj = Py_BuildValue("s",_ptemp);
6407 } else {
6408 Py_INCREF(Py_None);
6409 _resultobj = Py_None;
6410 }
6411 return _resultobj;
6412}
6413
6414#define wxWindow_OnPaint(_swigobj,_swigarg0) (_swigobj->OnPaint(_swigarg0))
6415static PyObject *_wrap_wxWindow_OnPaint(PyObject *self, PyObject *args, PyObject *kwargs) {
6416 PyObject * _resultobj;
6417 wxWindow * _arg0;
6418 wxPaintEvent * _arg1;
6419 PyObject * _argo0 = 0;
6420 PyObject * _argo1 = 0;
6421 char *_kwnames[] = { "self","event", NULL };
6422
6423 self = self;
6424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_OnPaint",_kwnames,&_argo0,&_argo1))
6425 return NULL;
6426 if (_argo0) {
6427 if (_argo0 == Py_None) { _arg0 = NULL; }
6428 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6429 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_OnPaint. Expected _wxWindow_p.");
6430 return NULL;
6431 }
6432 }
6433 if (_argo1) {
6434 if (_argo1 == Py_None) { _arg1 = NULL; }
6435 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPaintEvent_p")) {
6436 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_OnPaint. Expected _wxPaintEvent_p.");
6437 return NULL;
6438 }
6439 }
6440{
6441 PyThreadState* __tstate = wxPyBeginAllowThreads();
6442 wxWindow_OnPaint(_arg0,*_arg1);
6443
6444 wxPyEndAllowThreads(__tstate);
6445 if (PyErr_Occurred()) return NULL;
6446} Py_INCREF(Py_None);
6447 _resultobj = Py_None;
6448 return _resultobj;
6449}
6450
6451#define wxWindow_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
6452static PyObject *_wrap_wxWindow_GetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
6453 PyObject * _resultobj;
6454 wxWindow * _result;
6455 wxWindow * _arg0;
6456 PyObject * _argo0 = 0;
6457 char *_kwnames[] = { "self", NULL };
6458
6459 self = self;
6460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetDefaultItem",_kwnames,&_argo0))
6461 return NULL;
6462 if (_argo0) {
6463 if (_argo0 == Py_None) { _arg0 = NULL; }
6464 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6465 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_GetDefaultItem. Expected _wxWindow_p.");
6466 return NULL;
6467 }
6468 }
6469{
6470 PyThreadState* __tstate = wxPyBeginAllowThreads();
6471 _result = (wxWindow *)wxWindow_GetDefaultItem(_arg0);
6472
6473 wxPyEndAllowThreads(__tstate);
6474 if (PyErr_Occurred()) return NULL;
6475}{ _resultobj = wxPyMake_wxObject(_result); }
6476 return _resultobj;
6477}
6478
6479#define wxWindow_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
6480static PyObject *_wrap_wxWindow_SetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
6481 PyObject * _resultobj;
6482 wxWindow * _result;
6483 wxWindow * _arg0;
6484 wxWindow * _arg1;
6485 PyObject * _argo0 = 0;
6486 PyObject * _argo1 = 0;
6487 char *_kwnames[] = { "self","btn", NULL };
6488
6489 self = self;
6490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetDefaultItem",_kwnames,&_argo0,&_argo1))
6491 return NULL;
6492 if (_argo0) {
6493 if (_argo0 == Py_None) { _arg0 = NULL; }
6494 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6495 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetDefaultItem. Expected _wxWindow_p.");
6496 return NULL;
6497 }
6498 }
6499 if (_argo1) {
6500 if (_argo1 == Py_None) { _arg1 = NULL; }
6501 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
6502 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetDefaultItem. Expected _wxWindow_p.");
6503 return NULL;
6504 }
6505 }
6506{
6507 PyThreadState* __tstate = wxPyBeginAllowThreads();
6508 _result = (wxWindow *)wxWindow_SetDefaultItem(_arg0,_arg1);
6509
6510 wxPyEndAllowThreads(__tstate);
6511 if (PyErr_Occurred()) return NULL;
6512}{ _resultobj = wxPyMake_wxObject(_result); }
6513 return _resultobj;
6514}
6515
6516#define wxWindow_SetTmpDefaultItem(_swigobj,_swigarg0) (_swigobj->SetTmpDefaultItem(_swigarg0))
6517static PyObject *_wrap_wxWindow_SetTmpDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
6518 PyObject * _resultobj;
6519 wxWindow * _arg0;
6520 wxWindow * _arg1;
6521 PyObject * _argo0 = 0;
6522 PyObject * _argo1 = 0;
6523 char *_kwnames[] = { "self","win", NULL };
6524
6525 self = self;
6526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetTmpDefaultItem",_kwnames,&_argo0,&_argo1))
6527 return NULL;
6528 if (_argo0) {
6529 if (_argo0 == Py_None) { _arg0 = NULL; }
6530 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6531 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetTmpDefaultItem. Expected _wxWindow_p.");
6532 return NULL;
6533 }
6534 }
6535 if (_argo1) {
6536 if (_argo1 == Py_None) { _arg1 = NULL; }
6537 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
6538 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxWindow_SetTmpDefaultItem. Expected _wxWindow_p.");
6539 return NULL;
6540 }
6541 }
6542{
6543 PyThreadState* __tstate = wxPyBeginAllowThreads();
6544 wxWindow_SetTmpDefaultItem(_arg0,_arg1);
6545
6546 wxPyEndAllowThreads(__tstate);
6547 if (PyErr_Occurred()) return NULL;
6548} Py_INCREF(Py_None);
6549 _resultobj = Py_None;
6550 return _resultobj;
6551}
6552
6553#define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
6554static PyObject *_wrap_wxWindow_WarpPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
6555 PyObject * _resultobj;
6556 wxWindow * _arg0;
6557 int _arg1;
6558 int _arg2;
6559 PyObject * _argo0 = 0;
6560 char *_kwnames[] = { "self","x","y", NULL };
6561
6562 self = self;
6563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxWindow_WarpPointer",_kwnames,&_argo0,&_arg1,&_arg2))
6564 return NULL;
6565 if (_argo0) {
6566 if (_argo0 == Py_None) { _arg0 = NULL; }
6567 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6568 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
6569 return NULL;
6570 }
6571 }
6572{
6573 PyThreadState* __tstate = wxPyBeginAllowThreads();
6574 wxWindow_WarpPointer(_arg0,_arg1,_arg2);
6575
6576 wxPyEndAllowThreads(__tstate);
6577 if (PyErr_Occurred()) return NULL;
6578} Py_INCREF(Py_None);
6579 _resultobj = Py_None;
6580 return _resultobj;
6581}
6582
6583#define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
6584static PyObject *_wrap_wxWindow_CaptureMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
6585 PyObject * _resultobj;
6586 wxWindow * _arg0;
6587 PyObject * _argo0 = 0;
6588 char *_kwnames[] = { "self", NULL };
6589
6590 self = self;
6591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_CaptureMouse",_kwnames,&_argo0))
6592 return NULL;
6593 if (_argo0) {
6594 if (_argo0 == Py_None) { _arg0 = NULL; }
6595 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6596 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
6597 return NULL;
6598 }
6599 }
6600{
6601 PyThreadState* __tstate = wxPyBeginAllowThreads();
6602 wxWindow_CaptureMouse(_arg0);
6603
6604 wxPyEndAllowThreads(__tstate);
6605 if (PyErr_Occurred()) return NULL;
6606} Py_INCREF(Py_None);
6607 _resultobj = Py_None;
6608 return _resultobj;
6609}
6610
6611#define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
6612static PyObject *_wrap_wxWindow_ReleaseMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
6613 PyObject * _resultobj;
6614 wxWindow * _arg0;
6615 PyObject * _argo0 = 0;
6616 char *_kwnames[] = { "self", NULL };
6617
6618 self = self;
6619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_ReleaseMouse",_kwnames,&_argo0))
6620 return NULL;
6621 if (_argo0) {
6622 if (_argo0 == Py_None) { _arg0 = NULL; }
6623 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6624 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
6625 return NULL;
6626 }
6627 }
6628{
6629 PyThreadState* __tstate = wxPyBeginAllowThreads();
6630 wxWindow_ReleaseMouse(_arg0);
6631
6632 wxPyEndAllowThreads(__tstate);
6633 if (PyErr_Occurred()) return NULL;
6634} Py_INCREF(Py_None);
6635 _resultobj = Py_None;
6636 return _resultobj;
6637}
6638
6639static PyObject *_wrap_wxWindow_GetCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
6640 PyObject * _resultobj;
6641 wxWindow * _result;
6642 char *_kwnames[] = { NULL };
6643
6644 self = self;
6645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxWindow_GetCapture",_kwnames))
6646 return NULL;
6647{
6648 PyThreadState* __tstate = wxPyBeginAllowThreads();
6649 _result = (wxWindow *)wxWindow::GetCapture();
6650
6651 wxPyEndAllowThreads(__tstate);
6652 if (PyErr_Occurred()) return NULL;
6653}{ _resultobj = wxPyMake_wxObject(_result); }
6654 return _resultobj;
6655}
6656
6657#define wxWindow_HasCapture(_swigobj) (_swigobj->HasCapture())
6658static PyObject *_wrap_wxWindow_HasCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
6659 PyObject * _resultobj;
6660 bool _result;
6661 wxWindow * _arg0;
6662 PyObject * _argo0 = 0;
6663 char *_kwnames[] = { "self", NULL };
6664
6665 self = self;
6666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_HasCapture",_kwnames,&_argo0))
6667 return NULL;
6668 if (_argo0) {
6669 if (_argo0 == Py_None) { _arg0 = NULL; }
6670 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6671 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_HasCapture. Expected _wxWindow_p.");
6672 return NULL;
6673 }
6674 }
6675{
6676 PyThreadState* __tstate = wxPyBeginAllowThreads();
6677 _result = (bool )wxWindow_HasCapture(_arg0);
6678
6679 wxPyEndAllowThreads(__tstate);
6680 if (PyErr_Occurred()) return NULL;
6681} _resultobj = Py_BuildValue("i",_result);
6682 return _resultobj;
6683}
6684
6685static void *SwigwxPanelTowxWindow(void *ptr) {
6686 wxPanel *src;
6687 wxWindow *dest;
6688 src = (wxPanel *) ptr;
6689 dest = (wxWindow *) src;
6690 return (void *) dest;
6691}
6692
6693static void *SwigwxPanelTowxEvtHandler(void *ptr) {
6694 wxPanel *src;
6695 wxEvtHandler *dest;
6696 src = (wxPanel *) ptr;
6697 dest = (wxEvtHandler *) src;
6698 return (void *) dest;
6699}
6700
6701static void *SwigwxPanelTowxObject(void *ptr) {
6702 wxPanel *src;
6703 wxObject *dest;
6704 src = (wxPanel *) ptr;
6705 dest = (wxObject *) src;
6706 return (void *) dest;
6707}
6708
6709#define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6710static PyObject *_wrap_new_wxPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
6711 PyObject * _resultobj;
6712 wxPanel * _result;
6713 wxWindow * _arg0;
6714 wxWindowID _arg1;
6715 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
6716 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
6717 long _arg4 = (long ) wxTAB_TRAVERSAL;
6718 wxString * _arg5 = (wxString *) &wxPyPanelNameStr;
6719 PyObject * _argo0 = 0;
6720 wxPoint temp;
6721 PyObject * _obj2 = 0;
6722 wxSize temp0;
6723 PyObject * _obj3 = 0;
6724 PyObject * _obj5 = 0;
6725 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
6726 char _ptemp[128];
6727
6728 self = self;
6729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxPanel",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
6730 return NULL;
6731 if (_argo0) {
6732 if (_argo0 == Py_None) { _arg0 = NULL; }
6733 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6734 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
6735 return NULL;
6736 }
6737 }
6738 if (_obj2)
6739{
6740 _arg2 = &temp;
6741 if (! wxPoint_helper(_obj2, &_arg2))
6742 return NULL;
6743}
6744 if (_obj3)
6745{
6746 _arg3 = &temp0;
6747 if (! wxSize_helper(_obj3, &_arg3))
6748 return NULL;
6749}
6750 if (_obj5)
6751{
6752 _arg5 = wxString_in_helper(_obj5);
6753 if (_arg5 == NULL)
6754 return NULL;
6755}
6756{
6757 PyThreadState* __tstate = wxPyBeginAllowThreads();
6758 _result = (wxPanel *)new_wxPanel(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
6759
6760 wxPyEndAllowThreads(__tstate);
6761 if (PyErr_Occurred()) return NULL;
6762} if (_result) {
6763 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPanel_p");
6764 _resultobj = Py_BuildValue("s",_ptemp);
6765 } else {
6766 Py_INCREF(Py_None);
6767 _resultobj = Py_None;
6768 }
6769{
6770 if (_obj5)
6771 delete _arg5;
6772}
6773 return _resultobj;
6774}
6775
6776#define new_wxPrePanel() (new wxPanel())
6777static PyObject *_wrap_new_wxPrePanel(PyObject *self, PyObject *args, PyObject *kwargs) {
6778 PyObject * _resultobj;
6779 wxPanel * _result;
6780 char *_kwnames[] = { NULL };
6781 char _ptemp[128];
6782
6783 self = self;
6784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPrePanel",_kwnames))
6785 return NULL;
6786{
6787 PyThreadState* __tstate = wxPyBeginAllowThreads();
6788 _result = (wxPanel *)new_wxPrePanel();
6789
6790 wxPyEndAllowThreads(__tstate);
6791 if (PyErr_Occurred()) return NULL;
6792} if (_result) {
6793 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPanel_p");
6794 _resultobj = Py_BuildValue("s",_ptemp);
6795 } else {
6796 Py_INCREF(Py_None);
6797 _resultobj = Py_None;
6798 }
6799 return _resultobj;
6800}
6801
6802#define wxPanel_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6803static PyObject *_wrap_wxPanel_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6804 PyObject * _resultobj;
6805 bool _result;
6806 wxPanel * _arg0;
6807 wxWindow * _arg1;
6808 wxWindowID _arg2;
6809 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
6810 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
6811 long _arg5 = (long ) wxTAB_TRAVERSAL;
6812 wxString * _arg6 = (wxString *) &wxPyPanelNameStr;
6813 PyObject * _argo0 = 0;
6814 PyObject * _argo1 = 0;
6815 wxPoint temp;
6816 PyObject * _obj3 = 0;
6817 wxSize temp0;
6818 PyObject * _obj4 = 0;
6819 PyObject * _obj6 = 0;
6820 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
6821
6822 self = self;
6823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOlO:wxPanel_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
6824 return NULL;
6825 if (_argo0) {
6826 if (_argo0 == Py_None) { _arg0 = NULL; }
6827 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPanel_p")) {
6828 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPanel_Create. Expected _wxPanel_p.");
6829 return NULL;
6830 }
6831 }
6832 if (_argo1) {
6833 if (_argo1 == Py_None) { _arg1 = NULL; }
6834 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
6835 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPanel_Create. Expected _wxWindow_p.");
6836 return NULL;
6837 }
6838 }
6839 if (_obj3)
6840{
6841 _arg3 = &temp;
6842 if (! wxPoint_helper(_obj3, &_arg3))
6843 return NULL;
6844}
6845 if (_obj4)
6846{
6847 _arg4 = &temp0;
6848 if (! wxSize_helper(_obj4, &_arg4))
6849 return NULL;
6850}
6851 if (_obj6)
6852{
6853 _arg6 = wxString_in_helper(_obj6);
6854 if (_arg6 == NULL)
6855 return NULL;
6856}
6857{
6858 PyThreadState* __tstate = wxPyBeginAllowThreads();
6859 _result = (bool )wxPanel_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
6860
6861 wxPyEndAllowThreads(__tstate);
6862 if (PyErr_Occurred()) return NULL;
6863} _resultobj = Py_BuildValue("i",_result);
6864{
6865 if (_obj6)
6866 delete _arg6;
6867}
6868 return _resultobj;
6869}
6870
6871#define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
6872static PyObject *_wrap_wxPanel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
6873 PyObject * _resultobj;
6874 wxPanel * _arg0;
6875 PyObject * _argo0 = 0;
6876 char *_kwnames[] = { "self", NULL };
6877
6878 self = self;
6879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPanel_InitDialog",_kwnames,&_argo0))
6880 return NULL;
6881 if (_argo0) {
6882 if (_argo0 == Py_None) { _arg0 = NULL; }
6883 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPanel_p")) {
6884 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
6885 return NULL;
6886 }
6887 }
6888{
6889 PyThreadState* __tstate = wxPyBeginAllowThreads();
6890 wxPanel_InitDialog(_arg0);
6891
6892 wxPyEndAllowThreads(__tstate);
6893 if (PyErr_Occurred()) return NULL;
6894} Py_INCREF(Py_None);
6895 _resultobj = Py_None;
6896 return _resultobj;
6897}
6898
6899static void *SwigwxScrolledWindowTowxPanel(void *ptr) {
6900 wxScrolledWindow *src;
6901 wxPanel *dest;
6902 src = (wxScrolledWindow *) ptr;
6903 dest = (wxPanel *) src;
6904 return (void *) dest;
6905}
6906
6907static void *SwigwxScrolledWindowTowxWindow(void *ptr) {
6908 wxScrolledWindow *src;
6909 wxWindow *dest;
6910 src = (wxScrolledWindow *) ptr;
6911 dest = (wxWindow *) src;
6912 return (void *) dest;
6913}
6914
6915static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr) {
6916 wxScrolledWindow *src;
6917 wxEvtHandler *dest;
6918 src = (wxScrolledWindow *) ptr;
6919 dest = (wxEvtHandler *) src;
6920 return (void *) dest;
6921}
6922
6923static void *SwigwxScrolledWindowTowxObject(void *ptr) {
6924 wxScrolledWindow *src;
6925 wxObject *dest;
6926 src = (wxScrolledWindow *) ptr;
6927 dest = (wxObject *) src;
6928 return (void *) dest;
6929}
6930
6931#define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6932static PyObject *_wrap_new_wxScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6933 PyObject * _resultobj;
6934 wxScrolledWindow * _result;
6935 wxWindow * _arg0;
6936 wxWindowID _arg1 = (wxWindowID ) -1;
6937 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
6938 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
6939 long _arg4 = (long ) wxHSCROLL|wxVSCROLL;
6940 wxString * _arg5 = (wxString *) &wxPyPanelNameStr;
6941 PyObject * _argo0 = 0;
6942 wxPoint temp;
6943 PyObject * _obj2 = 0;
6944 wxSize temp0;
6945 PyObject * _obj3 = 0;
6946 PyObject * _obj5 = 0;
6947 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
6948 char _ptemp[128];
6949
6950 self = self;
6951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlO:new_wxScrolledWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
6952 return NULL;
6953 if (_argo0) {
6954 if (_argo0 == Py_None) { _arg0 = NULL; }
6955 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6956 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
6957 return NULL;
6958 }
6959 }
6960 if (_obj2)
6961{
6962 _arg2 = &temp;
6963 if (! wxPoint_helper(_obj2, &_arg2))
6964 return NULL;
6965}
6966 if (_obj3)
6967{
6968 _arg3 = &temp0;
6969 if (! wxSize_helper(_obj3, &_arg3))
6970 return NULL;
6971}
6972 if (_obj5)
6973{
6974 _arg5 = wxString_in_helper(_obj5);
6975 if (_arg5 == NULL)
6976 return NULL;
6977}
6978{
6979 PyThreadState* __tstate = wxPyBeginAllowThreads();
6980 _result = (wxScrolledWindow *)new_wxScrolledWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
6981
6982 wxPyEndAllowThreads(__tstate);
6983 if (PyErr_Occurred()) return NULL;
6984} if (_result) {
6985 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrolledWindow_p");
6986 _resultobj = Py_BuildValue("s",_ptemp);
6987 } else {
6988 Py_INCREF(Py_None);
6989 _resultobj = Py_None;
6990 }
6991{
6992 if (_obj5)
6993 delete _arg5;
6994}
6995 return _resultobj;
6996}
6997
6998#define new_wxPreScrolledWindow() (new wxScrolledWindow())
6999static PyObject *_wrap_new_wxPreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7000 PyObject * _resultobj;
7001 wxScrolledWindow * _result;
7002 char *_kwnames[] = { NULL };
7003 char _ptemp[128];
7004
7005 self = self;
7006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreScrolledWindow",_kwnames))
7007 return NULL;
7008{
7009 PyThreadState* __tstate = wxPyBeginAllowThreads();
7010 _result = (wxScrolledWindow *)new_wxPreScrolledWindow();
7011
7012 wxPyEndAllowThreads(__tstate);
7013 if (PyErr_Occurred()) return NULL;
7014} if (_result) {
7015 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrolledWindow_p");
7016 _resultobj = Py_BuildValue("s",_ptemp);
7017 } else {
7018 Py_INCREF(Py_None);
7019 _resultobj = Py_None;
7020 }
7021 return _resultobj;
7022}
7023
7024#define wxScrolledWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7025static PyObject *_wrap_wxScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7026 PyObject * _resultobj;
7027 bool _result;
7028 wxScrolledWindow * _arg0;
7029 wxWindow * _arg1;
7030 wxWindowID _arg2 = (wxWindowID ) -1;
7031 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
7032 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
7033 long _arg5 = (long ) wxHSCROLL|wxVSCROLL;
7034 wxString * _arg6 = (wxString *) &wxPyPanelNameStr;
7035 PyObject * _argo0 = 0;
7036 PyObject * _argo1 = 0;
7037 wxPoint temp;
7038 PyObject * _obj3 = 0;
7039 wxSize temp0;
7040 PyObject * _obj4 = 0;
7041 PyObject * _obj6 = 0;
7042 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
7043
7044 self = self;
7045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlO:wxScrolledWindow_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
7046 return NULL;
7047 if (_argo0) {
7048 if (_argo0 == Py_None) { _arg0 = NULL; }
7049 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7050 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_Create. Expected _wxScrolledWindow_p.");
7051 return NULL;
7052 }
7053 }
7054 if (_argo1) {
7055 if (_argo1 == Py_None) { _arg1 = NULL; }
7056 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
7057 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxScrolledWindow_Create. Expected _wxWindow_p.");
7058 return NULL;
7059 }
7060 }
7061 if (_obj3)
7062{
7063 _arg3 = &temp;
7064 if (! wxPoint_helper(_obj3, &_arg3))
7065 return NULL;
7066}
7067 if (_obj4)
7068{
7069 _arg4 = &temp0;
7070 if (! wxSize_helper(_obj4, &_arg4))
7071 return NULL;
7072}
7073 if (_obj6)
7074{
7075 _arg6 = wxString_in_helper(_obj6);
7076 if (_arg6 == NULL)
7077 return NULL;
7078}
7079{
7080 PyThreadState* __tstate = wxPyBeginAllowThreads();
7081 _result = (bool )wxScrolledWindow_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
7082
7083 wxPyEndAllowThreads(__tstate);
7084 if (PyErr_Occurred()) return NULL;
7085} _resultobj = Py_BuildValue("i",_result);
7086{
7087 if (_obj6)
7088 delete _arg6;
7089}
7090 return _resultobj;
7091}
7092
7093#define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
7094static PyObject *_wrap_wxScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
7095 PyObject * _resultobj;
7096 wxScrolledWindow * _arg0;
7097 bool _arg1;
7098 bool _arg2;
7099 PyObject * _argo0 = 0;
7100 int tempbool1;
7101 int tempbool2;
7102 char *_kwnames[] = { "self","xScrolling","yScrolling", NULL };
7103
7104 self = self;
7105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxScrolledWindow_EnableScrolling",_kwnames,&_argo0,&tempbool1,&tempbool2))
7106 return NULL;
7107 if (_argo0) {
7108 if (_argo0 == Py_None) { _arg0 = NULL; }
7109 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7110 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
7111 return NULL;
7112 }
7113 }
7114 _arg1 = (bool ) tempbool1;
7115 _arg2 = (bool ) tempbool2;
7116{
7117 PyThreadState* __tstate = wxPyBeginAllowThreads();
7118 wxScrolledWindow_EnableScrolling(_arg0,_arg1,_arg2);
7119
7120 wxPyEndAllowThreads(__tstate);
7121 if (PyErr_Occurred()) return NULL;
7122} Py_INCREF(Py_None);
7123 _resultobj = Py_None;
7124 return _resultobj;
7125}
7126
7127#define wxScrolledWindow_GetScrollPageSize(_swigobj,_swigarg0) (_swigobj->GetScrollPageSize(_swigarg0))
7128static PyObject *_wrap_wxScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7129 PyObject * _resultobj;
7130 int _result;
7131 wxScrolledWindow * _arg0;
7132 int _arg1;
7133 PyObject * _argo0 = 0;
7134 char *_kwnames[] = { "self","orient", NULL };
7135
7136 self = self;
7137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxScrolledWindow_GetScrollPageSize",_kwnames,&_argo0,&_arg1))
7138 return NULL;
7139 if (_argo0) {
7140 if (_argo0 == Py_None) { _arg0 = NULL; }
7141 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7142 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetScrollPageSize. Expected _wxScrolledWindow_p.");
7143 return NULL;
7144 }
7145 }
7146{
7147 PyThreadState* __tstate = wxPyBeginAllowThreads();
7148 _result = (int )wxScrolledWindow_GetScrollPageSize(_arg0,_arg1);
7149
7150 wxPyEndAllowThreads(__tstate);
7151 if (PyErr_Occurred()) return NULL;
7152} _resultobj = Py_BuildValue("i",_result);
7153 return _resultobj;
7154}
7155
7156#define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
7157static PyObject *_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
7158 PyObject * _resultobj;
7159 wxScrolledWindow * _arg0;
7160 int * _arg1;
7161 int temp;
7162 int * _arg2;
7163 int temp0;
7164 PyObject * _argo0 = 0;
7165 char *_kwnames[] = { "self", NULL };
7166
7167 self = self;
7168{
7169 _arg1 = &temp;
7170}
7171{
7172 _arg2 = &temp0;
7173}
7174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames,&_argo0))
7175 return NULL;
7176 if (_argo0) {
7177 if (_argo0 == Py_None) { _arg0 = NULL; }
7178 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7179 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
7180 return NULL;
7181 }
7182 }
7183{
7184 PyThreadState* __tstate = wxPyBeginAllowThreads();
7185 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0,_arg1,_arg2);
7186
7187 wxPyEndAllowThreads(__tstate);
7188 if (PyErr_Occurred()) return NULL;
7189} Py_INCREF(Py_None);
7190 _resultobj = Py_None;
7191{
7192 PyObject *o;
7193 o = PyInt_FromLong((long) (*_arg1));
7194 _resultobj = t_output_helper(_resultobj, o);
7195}
7196{
7197 PyObject *o;
7198 o = PyInt_FromLong((long) (*_arg2));
7199 _resultobj = t_output_helper(_resultobj, o);
7200}
7201 return _resultobj;
7202}
7203
7204#define wxScrolledWindow_GetTargetWindow(_swigobj) (_swigobj->GetTargetWindow())
7205static PyObject *_wrap_wxScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7206 PyObject * _resultobj;
7207 wxWindow * _result;
7208 wxScrolledWindow * _arg0;
7209 PyObject * _argo0 = 0;
7210 char *_kwnames[] = { "self", NULL };
7211
7212 self = self;
7213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_GetTargetWindow",_kwnames,&_argo0))
7214 return NULL;
7215 if (_argo0) {
7216 if (_argo0 == Py_None) { _arg0 = NULL; }
7217 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7218 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetTargetWindow. Expected _wxScrolledWindow_p.");
7219 return NULL;
7220 }
7221 }
7222{
7223 PyThreadState* __tstate = wxPyBeginAllowThreads();
7224 _result = (wxWindow *)wxScrolledWindow_GetTargetWindow(_arg0);
7225
7226 wxPyEndAllowThreads(__tstate);
7227 if (PyErr_Occurred()) return NULL;
7228}{ _resultobj = wxPyMake_wxObject(_result); }
7229 return _resultobj;
7230}
7231
7232#define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
7233static PyObject *_wrap_wxScrolledWindow_IsRetained(PyObject *self, PyObject *args, PyObject *kwargs) {
7234 PyObject * _resultobj;
7235 bool _result;
7236 wxScrolledWindow * _arg0;
7237 PyObject * _argo0 = 0;
7238 char *_kwnames[] = { "self", NULL };
7239
7240 self = self;
7241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_IsRetained",_kwnames,&_argo0))
7242 return NULL;
7243 if (_argo0) {
7244 if (_argo0 == Py_None) { _arg0 = NULL; }
7245 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7246 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
7247 return NULL;
7248 }
7249 }
7250{
7251 PyThreadState* __tstate = wxPyBeginAllowThreads();
7252 _result = (bool )wxScrolledWindow_IsRetained(_arg0);
7253
7254 wxPyEndAllowThreads(__tstate);
7255 if (PyErr_Occurred()) return NULL;
7256} _resultobj = Py_BuildValue("i",_result);
7257 return _resultobj;
7258}
7259
7260#define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
7261static PyObject *_wrap_wxScrolledWindow_PrepareDC(PyObject *self, PyObject *args, PyObject *kwargs) {
7262 PyObject * _resultobj;
7263 wxScrolledWindow * _arg0;
7264 wxDC * _arg1;
7265 PyObject * _argo0 = 0;
7266 PyObject * _argo1 = 0;
7267 char *_kwnames[] = { "self","dc", NULL };
7268
7269 self = self;
7270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxScrolledWindow_PrepareDC",_kwnames,&_argo0,&_argo1))
7271 return NULL;
7272 if (_argo0) {
7273 if (_argo0 == Py_None) { _arg0 = NULL; }
7274 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7275 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
7276 return NULL;
7277 }
7278 }
7279 if (_argo1) {
7280 if (_argo1 == Py_None) { _arg1 = NULL; }
7281 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7282 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
7283 return NULL;
7284 }
7285 }
7286{
7287 PyThreadState* __tstate = wxPyBeginAllowThreads();
7288 wxScrolledWindow_PrepareDC(_arg0,*_arg1);
7289
7290 wxPyEndAllowThreads(__tstate);
7291 if (PyErr_Occurred()) return NULL;
7292} Py_INCREF(Py_None);
7293 _resultobj = Py_None;
7294 return _resultobj;
7295}
7296
7297#define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
7298static PyObject *_wrap_wxScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
7299 PyObject * _resultobj;
7300 wxScrolledWindow * _arg0;
7301 int _arg1;
7302 int _arg2;
7303 PyObject * _argo0 = 0;
7304 char *_kwnames[] = { "self","x","y", NULL };
7305
7306 self = self;
7307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxScrolledWindow_Scroll",_kwnames,&_argo0,&_arg1,&_arg2))
7308 return NULL;
7309 if (_argo0) {
7310 if (_argo0 == Py_None) { _arg0 = NULL; }
7311 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7312 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
7313 return NULL;
7314 }
7315 }
7316{
7317 PyThreadState* __tstate = wxPyBeginAllowThreads();
7318 wxScrolledWindow_Scroll(_arg0,_arg1,_arg2);
7319
7320 wxPyEndAllowThreads(__tstate);
7321 if (PyErr_Occurred()) return NULL;
7322} Py_INCREF(Py_None);
7323 _resultobj = Py_None;
7324 return _resultobj;
7325}
7326
7327#define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
7328static PyObject *_wrap_wxScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
7329 PyObject * _resultobj;
7330 wxScrolledWindow * _arg0;
7331 int _arg1;
7332 int _arg2;
7333 int _arg3;
7334 int _arg4;
7335 int _arg5 = (int ) 0;
7336 int _arg6 = (int ) 0;
7337 int _arg7 = (int ) FALSE;
7338 PyObject * _argo0 = 0;
7339 char *_kwnames[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos","noRefresh", NULL };
7340
7341 self = self;
7342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|iii:wxScrolledWindow_SetScrollbars",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6,&_arg7))
7343 return NULL;
7344 if (_argo0) {
7345 if (_argo0 == Py_None) { _arg0 = NULL; }
7346 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7347 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
7348 return NULL;
7349 }
7350 }
7351{
7352 PyThreadState* __tstate = wxPyBeginAllowThreads();
7353 wxScrolledWindow_SetScrollbars(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7);
7354
7355 wxPyEndAllowThreads(__tstate);
7356 if (PyErr_Occurred()) return NULL;
7357} Py_INCREF(Py_None);
7358 _resultobj = Py_None;
7359 return _resultobj;
7360}
7361
7362#define wxScrolledWindow_SetScrollPageSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScrollPageSize(_swigarg0,_swigarg1))
7363static PyObject *_wrap_wxScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7364 PyObject * _resultobj;
7365 wxScrolledWindow * _arg0;
7366 int _arg1;
7367 int _arg2;
7368 PyObject * _argo0 = 0;
7369 char *_kwnames[] = { "self","orient","pageSize", NULL };
7370
7371 self = self;
7372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxScrolledWindow_SetScrollPageSize",_kwnames,&_argo0,&_arg1,&_arg2))
7373 return NULL;
7374 if (_argo0) {
7375 if (_argo0 == Py_None) { _arg0 = NULL; }
7376 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7377 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_SetScrollPageSize. Expected _wxScrolledWindow_p.");
7378 return NULL;
7379 }
7380 }
7381{
7382 PyThreadState* __tstate = wxPyBeginAllowThreads();
7383 wxScrolledWindow_SetScrollPageSize(_arg0,_arg1,_arg2);
7384
7385 wxPyEndAllowThreads(__tstate);
7386 if (PyErr_Occurred()) return NULL;
7387} Py_INCREF(Py_None);
7388 _resultobj = Py_None;
7389 return _resultobj;
7390}
7391
7392#define wxScrolledWindow_SetTargetWindow(_swigobj,_swigarg0) (_swigobj->SetTargetWindow(_swigarg0))
7393static PyObject *_wrap_wxScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7394 PyObject * _resultobj;
7395 wxScrolledWindow * _arg0;
7396 wxWindow * _arg1;
7397 PyObject * _argo0 = 0;
7398 PyObject * _argo1 = 0;
7399 char *_kwnames[] = { "self","window", NULL };
7400
7401 self = self;
7402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxScrolledWindow_SetTargetWindow",_kwnames,&_argo0,&_argo1))
7403 return NULL;
7404 if (_argo0) {
7405 if (_argo0 == Py_None) { _arg0 = NULL; }
7406 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7407 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_SetTargetWindow. Expected _wxScrolledWindow_p.");
7408 return NULL;
7409 }
7410 }
7411 if (_argo1) {
7412 if (_argo1 == Py_None) { _arg1 = NULL; }
7413 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
7414 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxScrolledWindow_SetTargetWindow. Expected _wxWindow_p.");
7415 return NULL;
7416 }
7417 }
7418{
7419 PyThreadState* __tstate = wxPyBeginAllowThreads();
7420 wxScrolledWindow_SetTargetWindow(_arg0,_arg1);
7421
7422 wxPyEndAllowThreads(__tstate);
7423 if (PyErr_Occurred()) return NULL;
7424} Py_INCREF(Py_None);
7425 _resultobj = Py_None;
7426 return _resultobj;
7427}
7428
7429#define wxScrolledWindow_GetViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetViewStart(_swigarg0,_swigarg1))
7430static PyObject *_wrap_wxScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
7431 PyObject * _resultobj;
7432 wxScrolledWindow * _arg0;
7433 int * _arg1;
7434 int temp;
7435 int * _arg2;
7436 int temp0;
7437 PyObject * _argo0 = 0;
7438 char *_kwnames[] = { "self", NULL };
7439
7440 self = self;
7441{
7442 _arg1 = &temp;
7443}
7444{
7445 _arg2 = &temp0;
7446}
7447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_GetViewStart",_kwnames,&_argo0))
7448 return NULL;
7449 if (_argo0) {
7450 if (_argo0 == Py_None) { _arg0 = NULL; }
7451 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7452 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetViewStart. Expected _wxScrolledWindow_p.");
7453 return NULL;
7454 }
7455 }
7456{
7457 PyThreadState* __tstate = wxPyBeginAllowThreads();
7458 wxScrolledWindow_GetViewStart(_arg0,_arg1,_arg2);
7459
7460 wxPyEndAllowThreads(__tstate);
7461 if (PyErr_Occurred()) return NULL;
7462} Py_INCREF(Py_None);
7463 _resultobj = Py_None;
7464{
7465 PyObject *o;
7466 o = PyInt_FromLong((long) (*_arg1));
7467 _resultobj = t_output_helper(_resultobj, o);
7468}
7469{
7470 PyObject *o;
7471 o = PyInt_FromLong((long) (*_arg2));
7472 _resultobj = t_output_helper(_resultobj, o);
7473}
7474 return _resultobj;
7475}
7476
7477#define wxScrolledWindow_CalcScrolledPosition1(_swigobj,_swigarg0) (_swigobj->CalcScrolledPosition(_swigarg0))
7478static PyObject *_wrap_wxScrolledWindow_CalcScrolledPosition1(PyObject *self, PyObject *args, PyObject *kwargs) {
7479 PyObject * _resultobj;
7480 wxPoint * _result;
7481 wxScrolledWindow * _arg0;
7482 wxPoint * _arg1;
7483 PyObject * _argo0 = 0;
7484 wxPoint temp;
7485 PyObject * _obj1 = 0;
7486 char *_kwnames[] = { "self","pt", NULL };
7487 char _ptemp[128];
7488
7489 self = self;
7490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxScrolledWindow_CalcScrolledPosition1",_kwnames,&_argo0,&_obj1))
7491 return NULL;
7492 if (_argo0) {
7493 if (_argo0 == Py_None) { _arg0 = NULL; }
7494 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7495 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition1. Expected _wxScrolledWindow_p.");
7496 return NULL;
7497 }
7498 }
7499{
7500 _arg1 = &temp;
7501 if (! wxPoint_helper(_obj1, &_arg1))
7502 return NULL;
7503}
7504{
7505 PyThreadState* __tstate = wxPyBeginAllowThreads();
7506 _result = new wxPoint (wxScrolledWindow_CalcScrolledPosition1(_arg0,*_arg1));
7507
7508 wxPyEndAllowThreads(__tstate);
7509 if (PyErr_Occurred()) return NULL;
7510} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
7511 _resultobj = Py_BuildValue("s",_ptemp);
7512 return _resultobj;
7513}
7514
7515#define wxScrolledWindow_CalcScrolledPosition2(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcScrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7516static PyObject *_wrap_wxScrolledWindow_CalcScrolledPosition2(PyObject *self, PyObject *args, PyObject *kwargs) {
7517 PyObject * _resultobj;
7518 wxScrolledWindow * _arg0;
7519 int _arg1;
7520 int _arg2;
7521 int * _arg3;
7522 int temp;
7523 int * _arg4;
7524 int temp0;
7525 PyObject * _argo0 = 0;
7526 char *_kwnames[] = { "self","x","y", NULL };
7527
7528 self = self;
7529{
7530 _arg3 = &temp;
7531}
7532{
7533 _arg4 = &temp0;
7534}
7535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxScrolledWindow_CalcScrolledPosition2",_kwnames,&_argo0,&_arg1,&_arg2))
7536 return NULL;
7537 if (_argo0) {
7538 if (_argo0 == Py_None) { _arg0 = NULL; }
7539 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7540 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition2. Expected _wxScrolledWindow_p.");
7541 return NULL;
7542 }
7543 }
7544{
7545 PyThreadState* __tstate = wxPyBeginAllowThreads();
7546 wxScrolledWindow_CalcScrolledPosition2(_arg0,_arg1,_arg2,_arg3,_arg4);
7547
7548 wxPyEndAllowThreads(__tstate);
7549 if (PyErr_Occurred()) return NULL;
7550} Py_INCREF(Py_None);
7551 _resultobj = Py_None;
7552{
7553 PyObject *o;
7554 o = PyInt_FromLong((long) (*_arg3));
7555 _resultobj = t_output_helper(_resultobj, o);
7556}
7557{
7558 PyObject *o;
7559 o = PyInt_FromLong((long) (*_arg4));
7560 _resultobj = t_output_helper(_resultobj, o);
7561}
7562 return _resultobj;
7563}
7564
7565#define wxScrolledWindow_CalcUnscrolledPosition1(_swigobj,_swigarg0) (_swigobj->CalcUnscrolledPosition(_swigarg0))
7566static PyObject *_wrap_wxScrolledWindow_CalcUnscrolledPosition1(PyObject *self, PyObject *args, PyObject *kwargs) {
7567 PyObject * _resultobj;
7568 wxPoint * _result;
7569 wxScrolledWindow * _arg0;
7570 wxPoint * _arg1;
7571 PyObject * _argo0 = 0;
7572 wxPoint temp;
7573 PyObject * _obj1 = 0;
7574 char *_kwnames[] = { "self","pt", NULL };
7575 char _ptemp[128];
7576
7577 self = self;
7578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxScrolledWindow_CalcUnscrolledPosition1",_kwnames,&_argo0,&_obj1))
7579 return NULL;
7580 if (_argo0) {
7581 if (_argo0 == Py_None) { _arg0 = NULL; }
7582 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7583 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition1. Expected _wxScrolledWindow_p.");
7584 return NULL;
7585 }
7586 }
7587{
7588 _arg1 = &temp;
7589 if (! wxPoint_helper(_obj1, &_arg1))
7590 return NULL;
7591}
7592{
7593 PyThreadState* __tstate = wxPyBeginAllowThreads();
7594 _result = new wxPoint (wxScrolledWindow_CalcUnscrolledPosition1(_arg0,*_arg1));
7595
7596 wxPyEndAllowThreads(__tstate);
7597 if (PyErr_Occurred()) return NULL;
7598} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
7599 _resultobj = Py_BuildValue("s",_ptemp);
7600 return _resultobj;
7601}
7602
7603#define wxScrolledWindow_CalcUnscrolledPosition2(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcUnscrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7604static PyObject *_wrap_wxScrolledWindow_CalcUnscrolledPosition2(PyObject *self, PyObject *args, PyObject *kwargs) {
7605 PyObject * _resultobj;
7606 wxScrolledWindow * _arg0;
7607 int _arg1;
7608 int _arg2;
7609 int * _arg3;
7610 int temp;
7611 int * _arg4;
7612 int temp0;
7613 PyObject * _argo0 = 0;
7614 char *_kwnames[] = { "self","x","y", NULL };
7615
7616 self = self;
7617{
7618 _arg3 = &temp;
7619}
7620{
7621 _arg4 = &temp0;
7622}
7623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxScrolledWindow_CalcUnscrolledPosition2",_kwnames,&_argo0,&_arg1,&_arg2))
7624 return NULL;
7625 if (_argo0) {
7626 if (_argo0 == Py_None) { _arg0 = NULL; }
7627 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7628 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition2. Expected _wxScrolledWindow_p.");
7629 return NULL;
7630 }
7631 }
7632{
7633 PyThreadState* __tstate = wxPyBeginAllowThreads();
7634 wxScrolledWindow_CalcUnscrolledPosition2(_arg0,_arg1,_arg2,_arg3,_arg4);
7635
7636 wxPyEndAllowThreads(__tstate);
7637 if (PyErr_Occurred()) return NULL;
7638} Py_INCREF(Py_None);
7639 _resultobj = Py_None;
7640{
7641 PyObject *o;
7642 o = PyInt_FromLong((long) (*_arg3));
7643 _resultobj = t_output_helper(_resultobj, o);
7644}
7645{
7646 PyObject *o;
7647 o = PyInt_FromLong((long) (*_arg4));
7648 _resultobj = t_output_helper(_resultobj, o);
7649}
7650 return _resultobj;
7651}
7652
7653#define wxScrolledWindow_SetScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScale(_swigarg0,_swigarg1))
7654static PyObject *_wrap_wxScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
7655 PyObject * _resultobj;
7656 wxScrolledWindow * _arg0;
7657 double _arg1;
7658 double _arg2;
7659 PyObject * _argo0 = 0;
7660 char *_kwnames[] = { "self","xs","ys", NULL };
7661
7662 self = self;
7663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxScrolledWindow_SetScale",_kwnames,&_argo0,&_arg1,&_arg2))
7664 return NULL;
7665 if (_argo0) {
7666 if (_argo0 == Py_None) { _arg0 = NULL; }
7667 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7668 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_SetScale. Expected _wxScrolledWindow_p.");
7669 return NULL;
7670 }
7671 }
7672{
7673 PyThreadState* __tstate = wxPyBeginAllowThreads();
7674 wxScrolledWindow_SetScale(_arg0,_arg1,_arg2);
7675
7676 wxPyEndAllowThreads(__tstate);
7677 if (PyErr_Occurred()) return NULL;
7678} Py_INCREF(Py_None);
7679 _resultobj = Py_None;
7680 return _resultobj;
7681}
7682
7683#define wxScrolledWindow_GetScaleX(_swigobj) (_swigobj->GetScaleX())
7684static PyObject *_wrap_wxScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
7685 PyObject * _resultobj;
7686 double _result;
7687 wxScrolledWindow * _arg0;
7688 PyObject * _argo0 = 0;
7689 char *_kwnames[] = { "self", NULL };
7690
7691 self = self;
7692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_GetScaleX",_kwnames,&_argo0))
7693 return NULL;
7694 if (_argo0) {
7695 if (_argo0 == Py_None) { _arg0 = NULL; }
7696 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7697 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetScaleX. Expected _wxScrolledWindow_p.");
7698 return NULL;
7699 }
7700 }
7701{
7702 PyThreadState* __tstate = wxPyBeginAllowThreads();
7703 _result = (double )wxScrolledWindow_GetScaleX(_arg0);
7704
7705 wxPyEndAllowThreads(__tstate);
7706 if (PyErr_Occurred()) return NULL;
7707} _resultobj = Py_BuildValue("d",_result);
7708 return _resultobj;
7709}
7710
7711#define wxScrolledWindow_GetScaleY(_swigobj) (_swigobj->GetScaleY())
7712static PyObject *_wrap_wxScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
7713 PyObject * _resultobj;
7714 double _result;
7715 wxScrolledWindow * _arg0;
7716 PyObject * _argo0 = 0;
7717 char *_kwnames[] = { "self", NULL };
7718
7719 self = self;
7720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_GetScaleY",_kwnames,&_argo0))
7721 return NULL;
7722 if (_argo0) {
7723 if (_argo0 == Py_None) { _arg0 = NULL; }
7724 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7725 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetScaleY. Expected _wxScrolledWindow_p.");
7726 return NULL;
7727 }
7728 }
7729{
7730 PyThreadState* __tstate = wxPyBeginAllowThreads();
7731 _result = (double )wxScrolledWindow_GetScaleY(_arg0);
7732
7733 wxPyEndAllowThreads(__tstate);
7734 if (PyErr_Occurred()) return NULL;
7735} _resultobj = Py_BuildValue("d",_result);
7736 return _resultobj;
7737}
7738
7739#define wxScrolledWindow_AdjustScrollbars(_swigobj) (_swigobj->AdjustScrollbars())
7740static PyObject *_wrap_wxScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
7741 PyObject * _resultobj;
7742 wxScrolledWindow * _arg0;
7743 PyObject * _argo0 = 0;
7744 char *_kwnames[] = { "self", NULL };
7745
7746 self = self;
7747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_AdjustScrollbars",_kwnames,&_argo0))
7748 return NULL;
7749 if (_argo0) {
7750 if (_argo0 == Py_None) { _arg0 = NULL; }
7751 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7752 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_AdjustScrollbars. Expected _wxScrolledWindow_p.");
7753 return NULL;
7754 }
7755 }
7756{
7757 PyThreadState* __tstate = wxPyBeginAllowThreads();
7758 wxScrolledWindow_AdjustScrollbars(_arg0);
7759
7760 wxPyEndAllowThreads(__tstate);
7761 if (PyErr_Occurred()) return NULL;
7762} Py_INCREF(Py_None);
7763 _resultobj = Py_None;
7764 return _resultobj;
7765}
7766
7767#define wxScrolledWindow_Layout(_swigobj) (_swigobj->Layout())
7768static PyObject *_wrap_wxScrolledWindow_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
7769 PyObject * _resultobj;
7770 bool _result;
7771 wxScrolledWindow * _arg0;
7772 PyObject * _argo0 = 0;
7773 char *_kwnames[] = { "self", NULL };
7774
7775 self = self;
7776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_Layout",_kwnames,&_argo0))
7777 return NULL;
7778 if (_argo0) {
7779 if (_argo0 == Py_None) { _arg0 = NULL; }
7780 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7781 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_Layout. Expected _wxScrolledWindow_p.");
7782 return NULL;
7783 }
7784 }
7785{
7786 PyThreadState* __tstate = wxPyBeginAllowThreads();
7787 _result = (bool )wxScrolledWindow_Layout(_arg0);
7788
7789 wxPyEndAllowThreads(__tstate);
7790 if (PyErr_Occurred()) return NULL;
7791} _resultobj = Py_BuildValue("i",_result);
7792 return _resultobj;
7793}
7794
7795#define wxScrolledWindow_SetScrollRate(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScrollRate(_swigarg0,_swigarg1))
7796static PyObject *_wrap_wxScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) {
7797 PyObject * _resultobj;
7798 wxScrolledWindow * _arg0;
7799 int _arg1;
7800 int _arg2;
7801 PyObject * _argo0 = 0;
7802 char *_kwnames[] = { "self","xstep","ystep", NULL };
7803
7804 self = self;
7805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxScrolledWindow_SetScrollRate",_kwnames,&_argo0,&_arg1,&_arg2))
7806 return NULL;
7807 if (_argo0) {
7808 if (_argo0 == Py_None) { _arg0 = NULL; }
7809 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
7810 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_SetScrollRate. Expected _wxScrolledWindow_p.");
7811 return NULL;
7812 }
7813 }
7814{
7815 PyThreadState* __tstate = wxPyBeginAllowThreads();
7816 wxScrolledWindow_SetScrollRate(_arg0,_arg1,_arg2);
7817
7818 wxPyEndAllowThreads(__tstate);
7819 if (PyErr_Occurred()) return NULL;
7820} Py_INCREF(Py_None);
7821 _resultobj = Py_None;
7822 return _resultobj;
7823}
7824
7825static void *SwigwxMenuTowxEvtHandler(void *ptr) {
7826 wxMenu *src;
7827 wxEvtHandler *dest;
7828 src = (wxMenu *) ptr;
7829 dest = (wxEvtHandler *) src;
7830 return (void *) dest;
7831}
7832
7833static void *SwigwxMenuTowxObject(void *ptr) {
7834 wxMenu *src;
7835 wxObject *dest;
7836 src = (wxMenu *) ptr;
7837 dest = (wxObject *) src;
7838 return (void *) dest;
7839}
7840
7841#define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
7842static PyObject *_wrap_new_wxMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
7843 PyObject * _resultobj;
7844 wxMenu * _result;
7845 wxString * _arg0 = (wxString *) &wxPyEmptyString;
7846 long _arg1 = (long ) 0;
7847 PyObject * _obj0 = 0;
7848 char *_kwnames[] = { "title","style", NULL };
7849 char _ptemp[128];
7850
7851 self = self;
7852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|Ol:new_wxMenu",_kwnames,&_obj0,&_arg1))
7853 return NULL;
7854 if (_obj0)
7855{
7856 _arg0 = wxString_in_helper(_obj0);
7857 if (_arg0 == NULL)
7858 return NULL;
7859}
7860{
7861 PyThreadState* __tstate = wxPyBeginAllowThreads();
7862 _result = (wxMenu *)new_wxMenu(*_arg0,_arg1);
7863
7864 wxPyEndAllowThreads(__tstate);
7865 if (PyErr_Occurred()) return NULL;
7866} if (_result) {
7867 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenu_p");
7868 _resultobj = Py_BuildValue("s",_ptemp);
7869 } else {
7870 Py_INCREF(Py_None);
7871 _resultobj = Py_None;
7872 }
7873{
7874 if (_obj0)
7875 delete _arg0;
7876}
7877 return _resultobj;
7878}
7879
7880#define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7881static PyObject *_wrap_wxMenu_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
7882 PyObject * _resultobj;
7883 wxMenu * _arg0;
7884 int _arg1;
7885 wxString * _arg2;
7886 wxString * _arg3 = (wxString *) &wxPyEmptyString;
7887 wxItemKind _arg4 = (wxItemKind ) wxITEM_NORMAL;
7888 PyObject * _argo0 = 0;
7889 PyObject * _obj2 = 0;
7890 PyObject * _obj3 = 0;
7891 char *_kwnames[] = { "self","id","item","helpString","kind", NULL };
7892
7893 self = self;
7894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|Oi:wxMenu_Append",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4))
7895 return NULL;
7896 if (_argo0) {
7897 if (_argo0 == Py_None) { _arg0 = NULL; }
7898 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7899 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
7900 return NULL;
7901 }
7902 }
7903{
7904 _arg2 = wxString_in_helper(_obj2);
7905 if (_arg2 == NULL)
7906 return NULL;
7907}
7908 if (_obj3)
7909{
7910 _arg3 = wxString_in_helper(_obj3);
7911 if (_arg3 == NULL)
7912 return NULL;
7913}
7914{
7915 PyThreadState* __tstate = wxPyBeginAllowThreads();
7916 wxMenu_Append(_arg0,_arg1,*_arg2,*_arg3,_arg4);
7917
7918 wxPyEndAllowThreads(__tstate);
7919 if (PyErr_Occurred()) return NULL;
7920} Py_INCREF(Py_None);
7921 _resultobj = Py_None;
7922{
7923 if (_obj2)
7924 delete _arg2;
7925}
7926{
7927 if (_obj3)
7928 delete _arg3;
7929}
7930 return _resultobj;
7931}
7932
7933#define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7934static PyObject *_wrap_wxMenu_AppendMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
7935 PyObject * _resultobj;
7936 wxMenu * _arg0;
7937 int _arg1;
7938 wxString * _arg2;
7939 wxMenu * _arg3;
7940 wxString * _arg4 = (wxString *) &wxPyEmptyString;
7941 PyObject * _argo0 = 0;
7942 PyObject * _obj2 = 0;
7943 PyObject * _argo3 = 0;
7944 PyObject * _obj4 = 0;
7945 char *_kwnames[] = { "self","id","item","subMenu","helpString", NULL };
7946
7947 self = self;
7948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO|O:wxMenu_AppendMenu",_kwnames,&_argo0,&_arg1,&_obj2,&_argo3,&_obj4))
7949 return NULL;
7950 if (_argo0) {
7951 if (_argo0 == Py_None) { _arg0 = NULL; }
7952 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
7953 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
7954 return NULL;
7955 }
7956 }
7957{
7958 _arg2 = wxString_in_helper(_obj2);
7959 if (_arg2 == NULL)
7960 return NULL;
7961}
7962 if (_argo3) {
7963 if (_argo3 == Py_None) { _arg3 = NULL; }
7964 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxMenu_p")) {
7965 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
7966 return NULL;
7967 }
7968 }
7969 if (_obj4)
7970{
7971 _arg4 = wxString_in_helper(_obj4);
7972 if (_arg4 == NULL)
7973 return NULL;
7974}
7975{
7976 PyThreadState* __tstate = wxPyBeginAllowThreads();
7977 wxMenu_AppendMenu(_arg0,_arg1,*_arg2,_arg3,*_arg4);
7978
7979 wxPyEndAllowThreads(__tstate);
7980 if (PyErr_Occurred()) return NULL;
7981} Py_INCREF(Py_None);
7982 _resultobj = Py_None;
7983{
7984 if (_obj2)
7985 delete _arg2;
7986}
7987{
7988 if (_obj4)
7989 delete _arg4;
7990}
7991 return _resultobj;
7992}
7993
7994#define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
7995static PyObject *_wrap_wxMenu_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
7996 PyObject * _resultobj;
7997 wxMenu * _arg0;
7998 wxMenuItem * _arg1;
7999 PyObject * _argo0 = 0;
8000 PyObject * _argo1 = 0;
8001 char *_kwnames[] = { "self","item", NULL };
8002
8003 self = self;
8004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_AppendItem",_kwnames,&_argo0,&_argo1))
8005 return NULL;
8006 if (_argo0) {
8007 if (_argo0 == Py_None) { _arg0 = NULL; }
8008 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8009 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
8010 return NULL;
8011 }
8012 }
8013 if (_argo1) {
8014 if (_argo1 == Py_None) { _arg1 = NULL; }
8015 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenuItem_p")) {
8016 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
8017 return NULL;
8018 }
8019 }
8020{
8021 PyThreadState* __tstate = wxPyBeginAllowThreads();
8022 wxMenu_AppendItem(_arg0,_arg1);
8023
8024 wxPyEndAllowThreads(__tstate);
8025 if (PyErr_Occurred()) return NULL;
8026} Py_INCREF(Py_None);
8027 _resultobj = Py_None;
8028 return _resultobj;
8029}
8030
8031#define wxMenu_AppendCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AppendCheckItem(_swigarg0,_swigarg1,_swigarg2))
8032static PyObject *_wrap_wxMenu_AppendCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8033 PyObject * _resultobj;
8034 wxMenu * _arg0;
8035 int _arg1;
8036 wxString * _arg2;
8037 wxString * _arg3 = (wxString *) &wxPyEmptyString;
8038 PyObject * _argo0 = 0;
8039 PyObject * _obj2 = 0;
8040 PyObject * _obj3 = 0;
8041 char *_kwnames[] = { "self","id","text","help", NULL };
8042
8043 self = self;
8044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|O:wxMenu_AppendCheckItem",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3))
8045 return NULL;
8046 if (_argo0) {
8047 if (_argo0 == Py_None) { _arg0 = NULL; }
8048 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8049 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendCheckItem. Expected _wxMenu_p.");
8050 return NULL;
8051 }
8052 }
8053{
8054 _arg2 = wxString_in_helper(_obj2);
8055 if (_arg2 == NULL)
8056 return NULL;
8057}
8058 if (_obj3)
8059{
8060 _arg3 = wxString_in_helper(_obj3);
8061 if (_arg3 == NULL)
8062 return NULL;
8063}
8064{
8065 PyThreadState* __tstate = wxPyBeginAllowThreads();
8066 wxMenu_AppendCheckItem(_arg0,_arg1,*_arg2,*_arg3);
8067
8068 wxPyEndAllowThreads(__tstate);
8069 if (PyErr_Occurred()) return NULL;
8070} Py_INCREF(Py_None);
8071 _resultobj = Py_None;
8072{
8073 if (_obj2)
8074 delete _arg2;
8075}
8076{
8077 if (_obj3)
8078 delete _arg3;
8079}
8080 return _resultobj;
8081}
8082
8083#define wxMenu_AppendRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AppendRadioItem(_swigarg0,_swigarg1,_swigarg2))
8084static PyObject *_wrap_wxMenu_AppendRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8085 PyObject * _resultobj;
8086 wxMenu * _arg0;
8087 int _arg1;
8088 wxString * _arg2;
8089 wxString * _arg3 = (wxString *) &wxPyEmptyString;
8090 PyObject * _argo0 = 0;
8091 PyObject * _obj2 = 0;
8092 PyObject * _obj3 = 0;
8093 char *_kwnames[] = { "self","id","text","help", NULL };
8094
8095 self = self;
8096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|O:wxMenu_AppendRadioItem",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3))
8097 return NULL;
8098 if (_argo0) {
8099 if (_argo0 == Py_None) { _arg0 = NULL; }
8100 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8101 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendRadioItem. Expected _wxMenu_p.");
8102 return NULL;
8103 }
8104 }
8105{
8106 _arg2 = wxString_in_helper(_obj2);
8107 if (_arg2 == NULL)
8108 return NULL;
8109}
8110 if (_obj3)
8111{
8112 _arg3 = wxString_in_helper(_obj3);
8113 if (_arg3 == NULL)
8114 return NULL;
8115}
8116{
8117 PyThreadState* __tstate = wxPyBeginAllowThreads();
8118 wxMenu_AppendRadioItem(_arg0,_arg1,*_arg2,*_arg3);
8119
8120 wxPyEndAllowThreads(__tstate);
8121 if (PyErr_Occurred()) return NULL;
8122} Py_INCREF(Py_None);
8123 _resultobj = Py_None;
8124{
8125 if (_obj2)
8126 delete _arg2;
8127}
8128{
8129 if (_obj3)
8130 delete _arg3;
8131}
8132 return _resultobj;
8133}
8134
8135#define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
8136static PyObject *_wrap_wxMenu_AppendSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
8137 PyObject * _resultobj;
8138 wxMenu * _arg0;
8139 PyObject * _argo0 = 0;
8140 char *_kwnames[] = { "self", NULL };
8141
8142 self = self;
8143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_AppendSeparator",_kwnames,&_argo0))
8144 return NULL;
8145 if (_argo0) {
8146 if (_argo0 == Py_None) { _arg0 = NULL; }
8147 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8148 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
8149 return NULL;
8150 }
8151 }
8152{
8153 PyThreadState* __tstate = wxPyBeginAllowThreads();
8154 wxMenu_AppendSeparator(_arg0);
8155
8156 wxPyEndAllowThreads(__tstate);
8157 if (PyErr_Occurred()) return NULL;
8158} Py_INCREF(Py_None);
8159 _resultobj = Py_None;
8160 return _resultobj;
8161}
8162
8163#define wxMenu_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8164static PyObject *_wrap_wxMenu_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
8165 PyObject * _resultobj;
8166 wxMenu * _arg0;
8167 size_t _arg1;
8168 int _arg2;
8169 wxString * _arg3;
8170 wxString * _arg4 = (wxString *) &wxPyEmptyString;
8171 wxItemKind _arg5 = (wxItemKind ) wxITEM_NORMAL;
8172 PyObject * _argo0 = 0;
8173 PyObject * _obj3 = 0;
8174 PyObject * _obj4 = 0;
8175 char *_kwnames[] = { "self","pos","id","text","help","kind", NULL };
8176
8177 self = self;
8178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO|Oi:wxMenu_Insert",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4,&_arg5))
8179 return NULL;
8180 if (_argo0) {
8181 if (_argo0 == Py_None) { _arg0 = NULL; }
8182 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8183 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Insert. Expected _wxMenu_p.");
8184 return NULL;
8185 }
8186 }
8187{
8188 _arg3 = wxString_in_helper(_obj3);
8189 if (_arg3 == NULL)
8190 return NULL;
8191}
8192 if (_obj4)
8193{
8194 _arg4 = wxString_in_helper(_obj4);
8195 if (_arg4 == NULL)
8196 return NULL;
8197}
8198{
8199 PyThreadState* __tstate = wxPyBeginAllowThreads();
8200 wxMenu_Insert(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5);
8201
8202 wxPyEndAllowThreads(__tstate);
8203 if (PyErr_Occurred()) return NULL;
8204} Py_INCREF(Py_None);
8205 _resultobj = Py_None;
8206{
8207 if (_obj3)
8208 delete _arg3;
8209}
8210{
8211 if (_obj4)
8212 delete _arg4;
8213}
8214 return _resultobj;
8215}
8216
8217#define wxMenu_InsertSeparator(_swigobj,_swigarg0) (_swigobj->InsertSeparator(_swigarg0))
8218static PyObject *_wrap_wxMenu_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
8219 PyObject * _resultobj;
8220 wxMenu * _arg0;
8221 size_t _arg1;
8222 PyObject * _argo0 = 0;
8223 char *_kwnames[] = { "self","pos", NULL };
8224
8225 self = self;
8226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_InsertSeparator",_kwnames,&_argo0,&_arg1))
8227 return NULL;
8228 if (_argo0) {
8229 if (_argo0 == Py_None) { _arg0 = NULL; }
8230 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8231 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_InsertSeparator. Expected _wxMenu_p.");
8232 return NULL;
8233 }
8234 }
8235{
8236 PyThreadState* __tstate = wxPyBeginAllowThreads();
8237 wxMenu_InsertSeparator(_arg0,_arg1);
8238
8239 wxPyEndAllowThreads(__tstate);
8240 if (PyErr_Occurred()) return NULL;
8241} Py_INCREF(Py_None);
8242 _resultobj = Py_None;
8243 return _resultobj;
8244}
8245
8246#define wxMenu_InsertCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertCheckItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8247static PyObject *_wrap_wxMenu_InsertCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8248 PyObject * _resultobj;
8249 wxMenu * _arg0;
8250 size_t _arg1;
8251 int _arg2;
8252 wxString * _arg3;
8253 wxString * _arg4 = (wxString *) &wxPyEmptyString;
8254 PyObject * _argo0 = 0;
8255 PyObject * _obj3 = 0;
8256 PyObject * _obj4 = 0;
8257 char *_kwnames[] = { "self","pos","id","text","help", NULL };
8258
8259 self = self;
8260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO|O:wxMenu_InsertCheckItem",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4))
8261 return NULL;
8262 if (_argo0) {
8263 if (_argo0 == Py_None) { _arg0 = NULL; }
8264 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8265 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_InsertCheckItem. Expected _wxMenu_p.");
8266 return NULL;
8267 }
8268 }
8269{
8270 _arg3 = wxString_in_helper(_obj3);
8271 if (_arg3 == NULL)
8272 return NULL;
8273}
8274 if (_obj4)
8275{
8276 _arg4 = wxString_in_helper(_obj4);
8277 if (_arg4 == NULL)
8278 return NULL;
8279}
8280{
8281 PyThreadState* __tstate = wxPyBeginAllowThreads();
8282 wxMenu_InsertCheckItem(_arg0,_arg1,_arg2,*_arg3,*_arg4);
8283
8284 wxPyEndAllowThreads(__tstate);
8285 if (PyErr_Occurred()) return NULL;
8286} Py_INCREF(Py_None);
8287 _resultobj = Py_None;
8288{
8289 if (_obj3)
8290 delete _arg3;
8291}
8292{
8293 if (_obj4)
8294 delete _arg4;
8295}
8296 return _resultobj;
8297}
8298
8299#define wxMenu_InsertRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertRadioItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8300static PyObject *_wrap_wxMenu_InsertRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8301 PyObject * _resultobj;
8302 wxMenu * _arg0;
8303 size_t _arg1;
8304 int _arg2;
8305 wxString * _arg3;
8306 wxString * _arg4 = (wxString *) &wxPyEmptyString;
8307 PyObject * _argo0 = 0;
8308 PyObject * _obj3 = 0;
8309 PyObject * _obj4 = 0;
8310 char *_kwnames[] = { "self","pos","id","text","help", NULL };
8311
8312 self = self;
8313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO|O:wxMenu_InsertRadioItem",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4))
8314 return NULL;
8315 if (_argo0) {
8316 if (_argo0 == Py_None) { _arg0 = NULL; }
8317 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8318 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_InsertRadioItem. Expected _wxMenu_p.");
8319 return NULL;
8320 }
8321 }
8322{
8323 _arg3 = wxString_in_helper(_obj3);
8324 if (_arg3 == NULL)
8325 return NULL;
8326}
8327 if (_obj4)
8328{
8329 _arg4 = wxString_in_helper(_obj4);
8330 if (_arg4 == NULL)
8331 return NULL;
8332}
8333{
8334 PyThreadState* __tstate = wxPyBeginAllowThreads();
8335 wxMenu_InsertRadioItem(_arg0,_arg1,_arg2,*_arg3,*_arg4);
8336
8337 wxPyEndAllowThreads(__tstate);
8338 if (PyErr_Occurred()) return NULL;
8339} Py_INCREF(Py_None);
8340 _resultobj = Py_None;
8341{
8342 if (_obj3)
8343 delete _arg3;
8344}
8345{
8346 if (_obj4)
8347 delete _arg4;
8348}
8349 return _resultobj;
8350}
8351
8352#define wxMenu_InsertMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8353static PyObject *_wrap_wxMenu_InsertMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
8354 PyObject * _resultobj;
8355 wxMenu * _arg0;
8356 size_t _arg1;
8357 int _arg2;
8358 wxString * _arg3;
8359 wxMenu * _arg4;
8360 wxString * _arg5 = (wxString *) &wxPyEmptyString;
8361 PyObject * _argo0 = 0;
8362 PyObject * _obj3 = 0;
8363 PyObject * _argo4 = 0;
8364 PyObject * _obj5 = 0;
8365 char *_kwnames[] = { "self","pos","id","text","submenu","help", NULL };
8366
8367 self = self;
8368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOO|O:wxMenu_InsertMenu",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_argo4,&_obj5))
8369 return NULL;
8370 if (_argo0) {
8371 if (_argo0 == Py_None) { _arg0 = NULL; }
8372 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8373 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_InsertMenu. Expected _wxMenu_p.");
8374 return NULL;
8375 }
8376 }
8377{
8378 _arg3 = wxString_in_helper(_obj3);
8379 if (_arg3 == NULL)
8380 return NULL;
8381}
8382 if (_argo4) {
8383 if (_argo4 == Py_None) { _arg4 = NULL; }
8384 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxMenu_p")) {
8385 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxMenu_InsertMenu. Expected _wxMenu_p.");
8386 return NULL;
8387 }
8388 }
8389 if (_obj5)
8390{
8391 _arg5 = wxString_in_helper(_obj5);
8392 if (_arg5 == NULL)
8393 return NULL;
8394}
8395{
8396 PyThreadState* __tstate = wxPyBeginAllowThreads();
8397 wxMenu_InsertMenu(_arg0,_arg1,_arg2,*_arg3,_arg4,*_arg5);
8398
8399 wxPyEndAllowThreads(__tstate);
8400 if (PyErr_Occurred()) return NULL;
8401} Py_INCREF(Py_None);
8402 _resultobj = Py_None;
8403{
8404 if (_obj3)
8405 delete _arg3;
8406}
8407{
8408 if (_obj5)
8409 delete _arg5;
8410}
8411 return _resultobj;
8412}
8413
8414#define wxMenu_InsertItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Insert(_swigarg0,_swigarg1))
8415static PyObject *_wrap_wxMenu_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8416 PyObject * _resultobj;
8417 bool _result;
8418 wxMenu * _arg0;
8419 size_t _arg1;
8420 wxMenuItem * _arg2;
8421 PyObject * _argo0 = 0;
8422 PyObject * _argo2 = 0;
8423 char *_kwnames[] = { "self","pos","item", NULL };
8424
8425 self = self;
8426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenu_InsertItem",_kwnames,&_argo0,&_arg1,&_argo2))
8427 return NULL;
8428 if (_argo0) {
8429 if (_argo0 == Py_None) { _arg0 = NULL; }
8430 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8431 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_InsertItem. Expected _wxMenu_p.");
8432 return NULL;
8433 }
8434 }
8435 if (_argo2) {
8436 if (_argo2 == Py_None) { _arg2 = NULL; }
8437 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxMenuItem_p")) {
8438 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxMenu_InsertItem. Expected _wxMenuItem_p.");
8439 return NULL;
8440 }
8441 }
8442{
8443 PyThreadState* __tstate = wxPyBeginAllowThreads();
8444 _result = (bool )wxMenu_InsertItem(_arg0,_arg1,_arg2);
8445
8446 wxPyEndAllowThreads(__tstate);
8447 if (PyErr_Occurred()) return NULL;
8448} _resultobj = Py_BuildValue("i",_result);
8449 return _resultobj;
8450}
8451
8452#define wxMenu_Prepend(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Prepend(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8453static PyObject *_wrap_wxMenu_Prepend(PyObject *self, PyObject *args, PyObject *kwargs) {
8454 PyObject * _resultobj;
8455 wxMenu * _arg0;
8456 int _arg1;
8457 wxString * _arg2;
8458 wxString * _arg3 = (wxString *) &wxPyEmptyString;
8459 wxItemKind _arg4 = (wxItemKind ) wxITEM_NORMAL;
8460 PyObject * _argo0 = 0;
8461 PyObject * _obj2 = 0;
8462 PyObject * _obj3 = 0;
8463 char *_kwnames[] = { "self","id","text","help","kind", NULL };
8464
8465 self = self;
8466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|Oi:wxMenu_Prepend",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4))
8467 return NULL;
8468 if (_argo0) {
8469 if (_argo0 == Py_None) { _arg0 = NULL; }
8470 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8471 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Prepend. Expected _wxMenu_p.");
8472 return NULL;
8473 }
8474 }
8475{
8476 _arg2 = wxString_in_helper(_obj2);
8477 if (_arg2 == NULL)
8478 return NULL;
8479}
8480 if (_obj3)
8481{
8482 _arg3 = wxString_in_helper(_obj3);
8483 if (_arg3 == NULL)
8484 return NULL;
8485}
8486{
8487 PyThreadState* __tstate = wxPyBeginAllowThreads();
8488 wxMenu_Prepend(_arg0,_arg1,*_arg2,*_arg3,_arg4);
8489
8490 wxPyEndAllowThreads(__tstate);
8491 if (PyErr_Occurred()) return NULL;
8492} Py_INCREF(Py_None);
8493 _resultobj = Py_None;
8494{
8495 if (_obj2)
8496 delete _arg2;
8497}
8498{
8499 if (_obj3)
8500 delete _arg3;
8501}
8502 return _resultobj;
8503}
8504
8505#define wxMenu_PrependSeparator(_swigobj) (_swigobj->PrependSeparator())
8506static PyObject *_wrap_wxMenu_PrependSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
8507 PyObject * _resultobj;
8508 wxMenu * _arg0;
8509 PyObject * _argo0 = 0;
8510 char *_kwnames[] = { "self", NULL };
8511
8512 self = self;
8513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_PrependSeparator",_kwnames,&_argo0))
8514 return NULL;
8515 if (_argo0) {
8516 if (_argo0 == Py_None) { _arg0 = NULL; }
8517 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8518 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_PrependSeparator. Expected _wxMenu_p.");
8519 return NULL;
8520 }
8521 }
8522{
8523 PyThreadState* __tstate = wxPyBeginAllowThreads();
8524 wxMenu_PrependSeparator(_arg0);
8525
8526 wxPyEndAllowThreads(__tstate);
8527 if (PyErr_Occurred()) return NULL;
8528} Py_INCREF(Py_None);
8529 _resultobj = Py_None;
8530 return _resultobj;
8531}
8532
8533#define wxMenu_PrependCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PrependCheckItem(_swigarg0,_swigarg1,_swigarg2))
8534static PyObject *_wrap_wxMenu_PrependCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8535 PyObject * _resultobj;
8536 wxMenu * _arg0;
8537 int _arg1;
8538 wxString * _arg2;
8539 wxString * _arg3 = (wxString *) &wxPyEmptyString;
8540 PyObject * _argo0 = 0;
8541 PyObject * _obj2 = 0;
8542 PyObject * _obj3 = 0;
8543 char *_kwnames[] = { "self","id","text","help", NULL };
8544
8545 self = self;
8546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|O:wxMenu_PrependCheckItem",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3))
8547 return NULL;
8548 if (_argo0) {
8549 if (_argo0 == Py_None) { _arg0 = NULL; }
8550 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8551 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_PrependCheckItem. Expected _wxMenu_p.");
8552 return NULL;
8553 }
8554 }
8555{
8556 _arg2 = wxString_in_helper(_obj2);
8557 if (_arg2 == NULL)
8558 return NULL;
8559}
8560 if (_obj3)
8561{
8562 _arg3 = wxString_in_helper(_obj3);
8563 if (_arg3 == NULL)
8564 return NULL;
8565}
8566{
8567 PyThreadState* __tstate = wxPyBeginAllowThreads();
8568 wxMenu_PrependCheckItem(_arg0,_arg1,*_arg2,*_arg3);
8569
8570 wxPyEndAllowThreads(__tstate);
8571 if (PyErr_Occurred()) return NULL;
8572} Py_INCREF(Py_None);
8573 _resultobj = Py_None;
8574{
8575 if (_obj2)
8576 delete _arg2;
8577}
8578{
8579 if (_obj3)
8580 delete _arg3;
8581}
8582 return _resultobj;
8583}
8584
8585#define wxMenu_PrependRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PrependRadioItem(_swigarg0,_swigarg1,_swigarg2))
8586static PyObject *_wrap_wxMenu_PrependRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8587 PyObject * _resultobj;
8588 wxMenu * _arg0;
8589 int _arg1;
8590 wxString * _arg2;
8591 wxString * _arg3 = (wxString *) &wxPyEmptyString;
8592 PyObject * _argo0 = 0;
8593 PyObject * _obj2 = 0;
8594 PyObject * _obj3 = 0;
8595 char *_kwnames[] = { "self","id","text","help", NULL };
8596
8597 self = self;
8598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|O:wxMenu_PrependRadioItem",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3))
8599 return NULL;
8600 if (_argo0) {
8601 if (_argo0 == Py_None) { _arg0 = NULL; }
8602 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8603 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_PrependRadioItem. Expected _wxMenu_p.");
8604 return NULL;
8605 }
8606 }
8607{
8608 _arg2 = wxString_in_helper(_obj2);
8609 if (_arg2 == NULL)
8610 return NULL;
8611}
8612 if (_obj3)
8613{
8614 _arg3 = wxString_in_helper(_obj3);
8615 if (_arg3 == NULL)
8616 return NULL;
8617}
8618{
8619 PyThreadState* __tstate = wxPyBeginAllowThreads();
8620 wxMenu_PrependRadioItem(_arg0,_arg1,*_arg2,*_arg3);
8621
8622 wxPyEndAllowThreads(__tstate);
8623 if (PyErr_Occurred()) return NULL;
8624} Py_INCREF(Py_None);
8625 _resultobj = Py_None;
8626{
8627 if (_obj2)
8628 delete _arg2;
8629}
8630{
8631 if (_obj3)
8632 delete _arg3;
8633}
8634 return _resultobj;
8635}
8636
8637#define wxMenu_PrependMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Prepend(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8638static PyObject *_wrap_wxMenu_PrependMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
8639 PyObject * _resultobj;
8640 wxMenu * _arg0;
8641 int _arg1;
8642 wxString * _arg2;
8643 wxMenu * _arg3;
8644 wxString * _arg4 = (wxString *) &wxPyEmptyString;
8645 PyObject * _argo0 = 0;
8646 PyObject * _obj2 = 0;
8647 PyObject * _argo3 = 0;
8648 PyObject * _obj4 = 0;
8649 char *_kwnames[] = { "self","id","text","submenu","help", NULL };
8650
8651 self = self;
8652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO|O:wxMenu_PrependMenu",_kwnames,&_argo0,&_arg1,&_obj2,&_argo3,&_obj4))
8653 return NULL;
8654 if (_argo0) {
8655 if (_argo0 == Py_None) { _arg0 = NULL; }
8656 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8657 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_PrependMenu. Expected _wxMenu_p.");
8658 return NULL;
8659 }
8660 }
8661{
8662 _arg2 = wxString_in_helper(_obj2);
8663 if (_arg2 == NULL)
8664 return NULL;
8665}
8666 if (_argo3) {
8667 if (_argo3 == Py_None) { _arg3 = NULL; }
8668 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxMenu_p")) {
8669 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxMenu_PrependMenu. Expected _wxMenu_p.");
8670 return NULL;
8671 }
8672 }
8673 if (_obj4)
8674{
8675 _arg4 = wxString_in_helper(_obj4);
8676 if (_arg4 == NULL)
8677 return NULL;
8678}
8679{
8680 PyThreadState* __tstate = wxPyBeginAllowThreads();
8681 wxMenu_PrependMenu(_arg0,_arg1,*_arg2,_arg3,*_arg4);
8682
8683 wxPyEndAllowThreads(__tstate);
8684 if (PyErr_Occurred()) return NULL;
8685} Py_INCREF(Py_None);
8686 _resultobj = Py_None;
8687{
8688 if (_obj2)
8689 delete _arg2;
8690}
8691{
8692 if (_obj4)
8693 delete _arg4;
8694}
8695 return _resultobj;
8696}
8697
8698#define wxMenu_PrependItem(_swigobj,_swigarg0) (_swigobj->Prepend(_swigarg0))
8699static PyObject *_wrap_wxMenu_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8700 PyObject * _resultobj;
8701 wxMenu * _arg0;
8702 wxMenuItem * _arg1;
8703 PyObject * _argo0 = 0;
8704 PyObject * _argo1 = 0;
8705 char *_kwnames[] = { "self","item", NULL };
8706
8707 self = self;
8708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_PrependItem",_kwnames,&_argo0,&_argo1))
8709 return NULL;
8710 if (_argo0) {
8711 if (_argo0 == Py_None) { _arg0 = NULL; }
8712 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8713 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_PrependItem. Expected _wxMenu_p.");
8714 return NULL;
8715 }
8716 }
8717 if (_argo1) {
8718 if (_argo1 == Py_None) { _arg1 = NULL; }
8719 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenuItem_p")) {
8720 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_PrependItem. Expected _wxMenuItem_p.");
8721 return NULL;
8722 }
8723 }
8724{
8725 PyThreadState* __tstate = wxPyBeginAllowThreads();
8726 wxMenu_PrependItem(_arg0,_arg1);
8727
8728 wxPyEndAllowThreads(__tstate);
8729 if (PyErr_Occurred()) return NULL;
8730} Py_INCREF(Py_None);
8731 _resultobj = Py_None;
8732 return _resultobj;
8733}
8734
8735#define wxMenu_Break(_swigobj) (_swigobj->Break())
8736static PyObject *_wrap_wxMenu_Break(PyObject *self, PyObject *args, PyObject *kwargs) {
8737 PyObject * _resultobj;
8738 wxMenu * _arg0;
8739 PyObject * _argo0 = 0;
8740 char *_kwnames[] = { "self", NULL };
8741
8742 self = self;
8743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_Break",_kwnames,&_argo0))
8744 return NULL;
8745 if (_argo0) {
8746 if (_argo0 == Py_None) { _arg0 = NULL; }
8747 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8748 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
8749 return NULL;
8750 }
8751 }
8752{
8753 PyThreadState* __tstate = wxPyBeginAllowThreads();
8754 wxMenu_Break(_arg0);
8755
8756 wxPyEndAllowThreads(__tstate);
8757 if (PyErr_Occurred()) return NULL;
8758} Py_INCREF(Py_None);
8759 _resultobj = Py_None;
8760 return _resultobj;
8761}
8762
8763#define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
8764static PyObject *_wrap_wxMenu_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
8765 PyObject * _resultobj;
8766 wxMenu * _arg0;
8767 int _arg1;
8768 bool _arg2;
8769 PyObject * _argo0 = 0;
8770 int tempbool2;
8771 char *_kwnames[] = { "self","id","flag", NULL };
8772
8773 self = self;
8774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxMenu_Check",_kwnames,&_argo0,&_arg1,&tempbool2))
8775 return NULL;
8776 if (_argo0) {
8777 if (_argo0 == Py_None) { _arg0 = NULL; }
8778 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8779 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
8780 return NULL;
8781 }
8782 }
8783 _arg2 = (bool ) tempbool2;
8784{
8785 PyThreadState* __tstate = wxPyBeginAllowThreads();
8786 wxMenu_Check(_arg0,_arg1,_arg2);
8787
8788 wxPyEndAllowThreads(__tstate);
8789 if (PyErr_Occurred()) return NULL;
8790} Py_INCREF(Py_None);
8791 _resultobj = Py_None;
8792 return _resultobj;
8793}
8794
8795#define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
8796static PyObject *_wrap_wxMenu_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
8797 PyObject * _resultobj;
8798 bool _result;
8799 wxMenu * _arg0;
8800 int _arg1;
8801 PyObject * _argo0 = 0;
8802 char *_kwnames[] = { "self","id", NULL };
8803
8804 self = self;
8805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_IsChecked",_kwnames,&_argo0,&_arg1))
8806 return NULL;
8807 if (_argo0) {
8808 if (_argo0 == Py_None) { _arg0 = NULL; }
8809 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8810 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
8811 return NULL;
8812 }
8813 }
8814{
8815 PyThreadState* __tstate = wxPyBeginAllowThreads();
8816 _result = (bool )wxMenu_IsChecked(_arg0,_arg1);
8817
8818 wxPyEndAllowThreads(__tstate);
8819 if (PyErr_Occurred()) return NULL;
8820} _resultobj = Py_BuildValue("i",_result);
8821 return _resultobj;
8822}
8823
8824#define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
8825static PyObject *_wrap_wxMenu_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
8826 PyObject * _resultobj;
8827 wxMenu * _arg0;
8828 int _arg1;
8829 bool _arg2;
8830 PyObject * _argo0 = 0;
8831 int tempbool2;
8832 char *_kwnames[] = { "self","id","enable", NULL };
8833
8834 self = self;
8835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxMenu_Enable",_kwnames,&_argo0,&_arg1,&tempbool2))
8836 return NULL;
8837 if (_argo0) {
8838 if (_argo0 == Py_None) { _arg0 = NULL; }
8839 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8840 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
8841 return NULL;
8842 }
8843 }
8844 _arg2 = (bool ) tempbool2;
8845{
8846 PyThreadState* __tstate = wxPyBeginAllowThreads();
8847 wxMenu_Enable(_arg0,_arg1,_arg2);
8848
8849 wxPyEndAllowThreads(__tstate);
8850 if (PyErr_Occurred()) return NULL;
8851} Py_INCREF(Py_None);
8852 _resultobj = Py_None;
8853 return _resultobj;
8854}
8855
8856#define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
8857static PyObject *_wrap_wxMenu_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
8858 PyObject * _resultobj;
8859 bool _result;
8860 wxMenu * _arg0;
8861 int _arg1;
8862 PyObject * _argo0 = 0;
8863 char *_kwnames[] = { "self","id", NULL };
8864
8865 self = self;
8866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_IsEnabled",_kwnames,&_argo0,&_arg1))
8867 return NULL;
8868 if (_argo0) {
8869 if (_argo0 == Py_None) { _arg0 = NULL; }
8870 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8871 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
8872 return NULL;
8873 }
8874 }
8875{
8876 PyThreadState* __tstate = wxPyBeginAllowThreads();
8877 _result = (bool )wxMenu_IsEnabled(_arg0,_arg1);
8878
8879 wxPyEndAllowThreads(__tstate);
8880 if (PyErr_Occurred()) return NULL;
8881} _resultobj = Py_BuildValue("i",_result);
8882 return _resultobj;
8883}
8884
8885#define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
8886static PyObject *_wrap_wxMenu_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8887 PyObject * _resultobj;
8888 int _result;
8889 wxMenu * _arg0;
8890 wxString * _arg1;
8891 PyObject * _argo0 = 0;
8892 PyObject * _obj1 = 0;
8893 char *_kwnames[] = { "self","itemString", NULL };
8894
8895 self = self;
8896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_FindItem",_kwnames,&_argo0,&_obj1))
8897 return NULL;
8898 if (_argo0) {
8899 if (_argo0 == Py_None) { _arg0 = NULL; }
8900 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8901 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
8902 return NULL;
8903 }
8904 }
8905{
8906 _arg1 = wxString_in_helper(_obj1);
8907 if (_arg1 == NULL)
8908 return NULL;
8909}
8910{
8911 PyThreadState* __tstate = wxPyBeginAllowThreads();
8912 _result = (int )wxMenu_FindItem(_arg0,*_arg1);
8913
8914 wxPyEndAllowThreads(__tstate);
8915 if (PyErr_Occurred()) return NULL;
8916} _resultobj = Py_BuildValue("i",_result);
8917{
8918 if (_obj1)
8919 delete _arg1;
8920}
8921 return _resultobj;
8922}
8923
8924#define wxMenu_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
8925static PyObject *_wrap_wxMenu_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
8926 PyObject * _resultobj;
8927 wxMenuItem * _result;
8928 wxMenu * _arg0;
8929 int _arg1;
8930 PyObject * _argo0 = 0;
8931 char *_kwnames[] = { "self","id", NULL };
8932
8933 self = self;
8934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_FindItemById",_kwnames,&_argo0,&_arg1))
8935 return NULL;
8936 if (_argo0) {
8937 if (_argo0 == Py_None) { _arg0 = NULL; }
8938 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8939 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_FindItemById. Expected _wxMenu_p.");
8940 return NULL;
8941 }
8942 }
8943{
8944 PyThreadState* __tstate = wxPyBeginAllowThreads();
8945 _result = (wxMenuItem *)wxMenu_FindItemById(_arg0,_arg1);
8946
8947 wxPyEndAllowThreads(__tstate);
8948 if (PyErr_Occurred()) return NULL;
8949}{ _resultobj = wxPyMake_wxObject(_result); }
8950 return _resultobj;
8951}
8952
8953#define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
8954static PyObject *_wrap_wxMenu_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
8955 PyObject * _resultobj;
8956 wxString * _result;
8957 wxMenu * _arg0;
8958 PyObject * _argo0 = 0;
8959 char *_kwnames[] = { "self", NULL };
8960
8961 self = self;
8962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetTitle",_kwnames,&_argo0))
8963 return NULL;
8964 if (_argo0) {
8965 if (_argo0 == Py_None) { _arg0 = NULL; }
8966 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
8967 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
8968 return NULL;
8969 }
8970 }
8971{
8972 PyThreadState* __tstate = wxPyBeginAllowThreads();
8973 _result = new wxString (wxMenu_GetTitle(_arg0));
8974
8975 wxPyEndAllowThreads(__tstate);
8976 if (PyErr_Occurred()) return NULL;
8977}{
8978#if wxUSE_UNICODE
8979 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
8980#else
8981 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8982#endif
8983}
8984{
8985 delete _result;
8986}
8987 return _resultobj;
8988}
8989
8990#define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
8991static PyObject *_wrap_wxMenu_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
8992 PyObject * _resultobj;
8993 wxMenu * _arg0;
8994 wxString * _arg1;
8995 PyObject * _argo0 = 0;
8996 PyObject * _obj1 = 0;
8997 char *_kwnames[] = { "self","title", NULL };
8998
8999 self = self;
9000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_SetTitle",_kwnames,&_argo0,&_obj1))
9001 return NULL;
9002 if (_argo0) {
9003 if (_argo0 == Py_None) { _arg0 = NULL; }
9004 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9005 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
9006 return NULL;
9007 }
9008 }
9009{
9010 _arg1 = wxString_in_helper(_obj1);
9011 if (_arg1 == NULL)
9012 return NULL;
9013}
9014{
9015 PyThreadState* __tstate = wxPyBeginAllowThreads();
9016 wxMenu_SetTitle(_arg0,*_arg1);
9017
9018 wxPyEndAllowThreads(__tstate);
9019 if (PyErr_Occurred()) return NULL;
9020} Py_INCREF(Py_None);
9021 _resultobj = Py_None;
9022{
9023 if (_obj1)
9024 delete _arg1;
9025}
9026 return _resultobj;
9027}
9028
9029#define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
9030static PyObject *_wrap_wxMenu_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
9031 PyObject * _resultobj;
9032 wxString * _result;
9033 wxMenu * _arg0;
9034 int _arg1;
9035 PyObject * _argo0 = 0;
9036 char *_kwnames[] = { "self","id", NULL };
9037
9038 self = self;
9039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_GetLabel",_kwnames,&_argo0,&_arg1))
9040 return NULL;
9041 if (_argo0) {
9042 if (_argo0 == Py_None) { _arg0 = NULL; }
9043 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9044 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
9045 return NULL;
9046 }
9047 }
9048{
9049 PyThreadState* __tstate = wxPyBeginAllowThreads();
9050 _result = new wxString (wxMenu_GetLabel(_arg0,_arg1));
9051
9052 wxPyEndAllowThreads(__tstate);
9053 if (PyErr_Occurred()) return NULL;
9054}{
9055#if wxUSE_UNICODE
9056 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
9057#else
9058 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
9059#endif
9060}
9061{
9062 delete _result;
9063}
9064 return _resultobj;
9065}
9066
9067#define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
9068static PyObject *_wrap_wxMenu_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
9069 PyObject * _resultobj;
9070 wxMenu * _arg0;
9071 int _arg1;
9072 wxString * _arg2;
9073 PyObject * _argo0 = 0;
9074 PyObject * _obj2 = 0;
9075 char *_kwnames[] = { "self","id","label", NULL };
9076
9077 self = self;
9078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenu_SetLabel",_kwnames,&_argo0,&_arg1,&_obj2))
9079 return NULL;
9080 if (_argo0) {
9081 if (_argo0 == Py_None) { _arg0 = NULL; }
9082 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9083 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
9084 return NULL;
9085 }
9086 }
9087{
9088 _arg2 = wxString_in_helper(_obj2);
9089 if (_arg2 == NULL)
9090 return NULL;
9091}
9092{
9093 PyThreadState* __tstate = wxPyBeginAllowThreads();
9094 wxMenu_SetLabel(_arg0,_arg1,*_arg2);
9095
9096 wxPyEndAllowThreads(__tstate);
9097 if (PyErr_Occurred()) return NULL;
9098} Py_INCREF(Py_None);
9099 _resultobj = Py_None;
9100{
9101 if (_obj2)
9102 delete _arg2;
9103}
9104 return _resultobj;
9105}
9106
9107#define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
9108static PyObject *_wrap_wxMenu_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
9109 PyObject * _resultobj;
9110 wxString * _result;
9111 wxMenu * _arg0;
9112 int _arg1;
9113 PyObject * _argo0 = 0;
9114 char *_kwnames[] = { "self","id", NULL };
9115
9116 self = self;
9117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_GetHelpString",_kwnames,&_argo0,&_arg1))
9118 return NULL;
9119 if (_argo0) {
9120 if (_argo0 == Py_None) { _arg0 = NULL; }
9121 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9122 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
9123 return NULL;
9124 }
9125 }
9126{
9127 PyThreadState* __tstate = wxPyBeginAllowThreads();
9128 _result = new wxString (wxMenu_GetHelpString(_arg0,_arg1));
9129
9130 wxPyEndAllowThreads(__tstate);
9131 if (PyErr_Occurred()) return NULL;
9132}{
9133#if wxUSE_UNICODE
9134 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
9135#else
9136 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
9137#endif
9138}
9139{
9140 delete _result;
9141}
9142 return _resultobj;
9143}
9144
9145#define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
9146static PyObject *_wrap_wxMenu_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
9147 PyObject * _resultobj;
9148 wxMenu * _arg0;
9149 int _arg1;
9150 wxString * _arg2;
9151 PyObject * _argo0 = 0;
9152 PyObject * _obj2 = 0;
9153 char *_kwnames[] = { "self","id","helpString", NULL };
9154
9155 self = self;
9156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenu_SetHelpString",_kwnames,&_argo0,&_arg1,&_obj2))
9157 return NULL;
9158 if (_argo0) {
9159 if (_argo0 == Py_None) { _arg0 = NULL; }
9160 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9161 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
9162 return NULL;
9163 }
9164 }
9165{
9166 _arg2 = wxString_in_helper(_obj2);
9167 if (_arg2 == NULL)
9168 return NULL;
9169}
9170{
9171 PyThreadState* __tstate = wxPyBeginAllowThreads();
9172 wxMenu_SetHelpString(_arg0,_arg1,*_arg2);
9173
9174 wxPyEndAllowThreads(__tstate);
9175 if (PyErr_Occurred()) return NULL;
9176} Py_INCREF(Py_None);
9177 _resultobj = Py_None;
9178{
9179 if (_obj2)
9180 delete _arg2;
9181}
9182 return _resultobj;
9183}
9184
9185#define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
9186static PyObject *_wrap_wxMenu_UpdateUI(PyObject *self, PyObject *args, PyObject *kwargs) {
9187 PyObject * _resultobj;
9188 wxMenu * _arg0;
9189 wxEvtHandler * _arg1 = (wxEvtHandler *) NULL;
9190 PyObject * _argo0 = 0;
9191 PyObject * _argo1 = 0;
9192 char *_kwnames[] = { "self","source", NULL };
9193
9194 self = self;
9195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxMenu_UpdateUI",_kwnames,&_argo0,&_argo1))
9196 return NULL;
9197 if (_argo0) {
9198 if (_argo0 == Py_None) { _arg0 = NULL; }
9199 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9200 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
9201 return NULL;
9202 }
9203 }
9204 if (_argo1) {
9205 if (_argo1 == Py_None) { _arg1 = NULL; }
9206 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
9207 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
9208 return NULL;
9209 }
9210 }
9211{
9212 PyThreadState* __tstate = wxPyBeginAllowThreads();
9213 wxMenu_UpdateUI(_arg0,_arg1);
9214
9215 wxPyEndAllowThreads(__tstate);
9216 if (PyErr_Occurred()) return NULL;
9217} Py_INCREF(Py_None);
9218 _resultobj = Py_None;
9219 return _resultobj;
9220}
9221
9222#define wxMenu_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
9223static PyObject *_wrap_wxMenu_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
9224 PyObject * _resultobj;
9225 bool _result;
9226 wxMenu * _arg0;
9227 int _arg1;
9228 PyObject * _argo0 = 0;
9229 char *_kwnames[] = { "self","id", NULL };
9230
9231 self = self;
9232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_Delete",_kwnames,&_argo0,&_arg1))
9233 return NULL;
9234 if (_argo0) {
9235 if (_argo0 == Py_None) { _arg0 = NULL; }
9236 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9237 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Delete. Expected _wxMenu_p.");
9238 return NULL;
9239 }
9240 }
9241{
9242 PyThreadState* __tstate = wxPyBeginAllowThreads();
9243 _result = (bool )wxMenu_Delete(_arg0,_arg1);
9244
9245 wxPyEndAllowThreads(__tstate);
9246 if (PyErr_Occurred()) return NULL;
9247} _resultobj = Py_BuildValue("i",_result);
9248 return _resultobj;
9249}
9250
9251#define wxMenu_DeleteItem(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
9252static PyObject *_wrap_wxMenu_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9253 PyObject * _resultobj;
9254 bool _result;
9255 wxMenu * _arg0;
9256 wxMenuItem * _arg1;
9257 PyObject * _argo0 = 0;
9258 PyObject * _argo1 = 0;
9259 char *_kwnames[] = { "self","item", NULL };
9260
9261 self = self;
9262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_DeleteItem",_kwnames,&_argo0,&_argo1))
9263 return NULL;
9264 if (_argo0) {
9265 if (_argo0 == Py_None) { _arg0 = NULL; }
9266 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9267 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_DeleteItem. Expected _wxMenu_p.");
9268 return NULL;
9269 }
9270 }
9271 if (_argo1) {
9272 if (_argo1 == Py_None) { _arg1 = NULL; }
9273 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenuItem_p")) {
9274 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_DeleteItem. Expected _wxMenuItem_p.");
9275 return NULL;
9276 }
9277 }
9278{
9279 PyThreadState* __tstate = wxPyBeginAllowThreads();
9280 _result = (bool )wxMenu_DeleteItem(_arg0,_arg1);
9281
9282 wxPyEndAllowThreads(__tstate);
9283 if (PyErr_Occurred()) return NULL;
9284} _resultobj = Py_BuildValue("i",_result);
9285 return _resultobj;
9286}
9287
9288#define wxMenu_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
9289static PyObject *_wrap_wxMenu_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
9290 PyObject * _resultobj;
9291 wxMenuItem * _result;
9292 wxMenu * _arg0;
9293 int _arg1;
9294 PyObject * _argo0 = 0;
9295 char *_kwnames[] = { "self","id", NULL };
9296
9297 self = self;
9298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_Remove",_kwnames,&_argo0,&_arg1))
9299 return NULL;
9300 if (_argo0) {
9301 if (_argo0 == Py_None) { _arg0 = NULL; }
9302 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9303 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Remove. Expected _wxMenu_p.");
9304 return NULL;
9305 }
9306 }
9307{
9308 PyThreadState* __tstate = wxPyBeginAllowThreads();
9309 _result = (wxMenuItem *)wxMenu_Remove(_arg0,_arg1);
9310
9311 wxPyEndAllowThreads(__tstate);
9312 if (PyErr_Occurred()) return NULL;
9313}{ _resultobj = wxPyMake_wxObject(_result); }
9314 return _resultobj;
9315}
9316
9317#define wxMenu_RemoveItem(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
9318static PyObject *_wrap_wxMenu_RemoveItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9319 PyObject * _resultobj;
9320 wxMenuItem * _result;
9321 wxMenu * _arg0;
9322 wxMenuItem * _arg1;
9323 PyObject * _argo0 = 0;
9324 PyObject * _argo1 = 0;
9325 char *_kwnames[] = { "self","item", NULL };
9326
9327 self = self;
9328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_RemoveItem",_kwnames,&_argo0,&_argo1))
9329 return NULL;
9330 if (_argo0) {
9331 if (_argo0 == Py_None) { _arg0 = NULL; }
9332 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9333 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_RemoveItem. Expected _wxMenu_p.");
9334 return NULL;
9335 }
9336 }
9337 if (_argo1) {
9338 if (_argo1 == Py_None) { _arg1 = NULL; }
9339 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenuItem_p")) {
9340 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_RemoveItem. Expected _wxMenuItem_p.");
9341 return NULL;
9342 }
9343 }
9344{
9345 PyThreadState* __tstate = wxPyBeginAllowThreads();
9346 _result = (wxMenuItem *)wxMenu_RemoveItem(_arg0,_arg1);
9347
9348 wxPyEndAllowThreads(__tstate);
9349 if (PyErr_Occurred()) return NULL;
9350}{ _resultobj = wxPyMake_wxObject(_result); }
9351 return _resultobj;
9352}
9353
9354static void wxMenu_Destroy(wxMenu *self) { delete self; }
9355static PyObject *_wrap_wxMenu_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
9356 PyObject * _resultobj;
9357 wxMenu * _arg0;
9358 PyObject * _argo0 = 0;
9359 char *_kwnames[] = { "self", NULL };
9360
9361 self = self;
9362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_Destroy",_kwnames,&_argo0))
9363 return NULL;
9364 if (_argo0) {
9365 if (_argo0 == Py_None) { _arg0 = NULL; }
9366 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9367 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_Destroy. Expected _wxMenu_p.");
9368 return NULL;
9369 }
9370 }
9371{
9372 PyThreadState* __tstate = wxPyBeginAllowThreads();
9373 wxMenu_Destroy(_arg0);
9374
9375 wxPyEndAllowThreads(__tstate);
9376 if (PyErr_Occurred()) return NULL;
9377} Py_INCREF(Py_None);
9378 _resultobj = Py_None;
9379 return _resultobj;
9380}
9381
9382#define wxMenu_DestroyId(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
9383static PyObject *_wrap_wxMenu_DestroyId(PyObject *self, PyObject *args, PyObject *kwargs) {
9384 PyObject * _resultobj;
9385 bool _result;
9386 wxMenu * _arg0;
9387 int _arg1;
9388 PyObject * _argo0 = 0;
9389 char *_kwnames[] = { "self","id", NULL };
9390
9391 self = self;
9392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_DestroyId",_kwnames,&_argo0,&_arg1))
9393 return NULL;
9394 if (_argo0) {
9395 if (_argo0 == Py_None) { _arg0 = NULL; }
9396 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9397 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_DestroyId. Expected _wxMenu_p.");
9398 return NULL;
9399 }
9400 }
9401{
9402 PyThreadState* __tstate = wxPyBeginAllowThreads();
9403 _result = (bool )wxMenu_DestroyId(_arg0,_arg1);
9404
9405 wxPyEndAllowThreads(__tstate);
9406 if (PyErr_Occurred()) return NULL;
9407} _resultobj = Py_BuildValue("i",_result);
9408 return _resultobj;
9409}
9410
9411#define wxMenu_DestroyItem(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
9412static PyObject *_wrap_wxMenu_DestroyItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9413 PyObject * _resultobj;
9414 bool _result;
9415 wxMenu * _arg0;
9416 wxMenuItem * _arg1;
9417 PyObject * _argo0 = 0;
9418 PyObject * _argo1 = 0;
9419 char *_kwnames[] = { "self","item", NULL };
9420
9421 self = self;
9422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_DestroyItem",_kwnames,&_argo0,&_argo1))
9423 return NULL;
9424 if (_argo0) {
9425 if (_argo0 == Py_None) { _arg0 = NULL; }
9426 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9427 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_DestroyItem. Expected _wxMenu_p.");
9428 return NULL;
9429 }
9430 }
9431 if (_argo1) {
9432 if (_argo1 == Py_None) { _arg1 = NULL; }
9433 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenuItem_p")) {
9434 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_DestroyItem. Expected _wxMenuItem_p.");
9435 return NULL;
9436 }
9437 }
9438{
9439 PyThreadState* __tstate = wxPyBeginAllowThreads();
9440 _result = (bool )wxMenu_DestroyItem(_arg0,_arg1);
9441
9442 wxPyEndAllowThreads(__tstate);
9443 if (PyErr_Occurred()) return NULL;
9444} _resultobj = Py_BuildValue("i",_result);
9445 return _resultobj;
9446}
9447
9448#define wxMenu_GetMenuItemCount(_swigobj) (_swigobj->GetMenuItemCount())
9449static PyObject *_wrap_wxMenu_GetMenuItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9450 PyObject * _resultobj;
9451 size_t _result;
9452 wxMenu * _arg0;
9453 PyObject * _argo0 = 0;
9454 char *_kwnames[] = { "self", NULL };
9455
9456 self = self;
9457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetMenuItemCount",_kwnames,&_argo0))
9458 return NULL;
9459 if (_argo0) {
9460 if (_argo0 == Py_None) { _arg0 = NULL; }
9461 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9462 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetMenuItemCount. Expected _wxMenu_p.");
9463 return NULL;
9464 }
9465 }
9466{
9467 PyThreadState* __tstate = wxPyBeginAllowThreads();
9468 _result = (size_t )wxMenu_GetMenuItemCount(_arg0);
9469
9470 wxPyEndAllowThreads(__tstate);
9471 if (PyErr_Occurred()) return NULL;
9472} _resultobj = Py_BuildValue("i",_result);
9473 return _resultobj;
9474}
9475
9476static PyObject * wxMenu_GetMenuItems(wxMenu *self) {
9477 wxMenuItemList& list = self->GetMenuItems();
9478 return wxPy_ConvertList(&list, "wxMenuItem");
9479 }
9480static PyObject *_wrap_wxMenu_GetMenuItems(PyObject *self, PyObject *args, PyObject *kwargs) {
9481 PyObject * _resultobj;
9482 PyObject * _result;
9483 wxMenu * _arg0;
9484 PyObject * _argo0 = 0;
9485 char *_kwnames[] = { "self", NULL };
9486
9487 self = self;
9488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetMenuItems",_kwnames,&_argo0))
9489 return NULL;
9490 if (_argo0) {
9491 if (_argo0 == Py_None) { _arg0 = NULL; }
9492 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9493 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetMenuItems. Expected _wxMenu_p.");
9494 return NULL;
9495 }
9496 }
9497{
9498 PyThreadState* __tstate = wxPyBeginAllowThreads();
9499 _result = (PyObject *)wxMenu_GetMenuItems(_arg0);
9500
9501 wxPyEndAllowThreads(__tstate);
9502 if (PyErr_Occurred()) return NULL;
9503}{
9504 _resultobj = _result;
9505}
9506 return _resultobj;
9507}
9508
9509#define wxMenu_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
9510static PyObject *_wrap_wxMenu_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
9511 PyObject * _resultobj;
9512 wxMenu * _arg0;
9513 wxEvtHandler * _arg1;
9514 PyObject * _argo0 = 0;
9515 PyObject * _argo1 = 0;
9516 char *_kwnames[] = { "self","handler", NULL };
9517
9518 self = self;
9519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_SetEventHandler",_kwnames,&_argo0,&_argo1))
9520 return NULL;
9521 if (_argo0) {
9522 if (_argo0 == Py_None) { _arg0 = NULL; }
9523 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9524 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetEventHandler. Expected _wxMenu_p.");
9525 return NULL;
9526 }
9527 }
9528 if (_argo1) {
9529 if (_argo1 == Py_None) { _arg1 = NULL; }
9530 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
9531 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_SetEventHandler. Expected _wxEvtHandler_p.");
9532 return NULL;
9533 }
9534 }
9535{
9536 PyThreadState* __tstate = wxPyBeginAllowThreads();
9537 wxMenu_SetEventHandler(_arg0,_arg1);
9538
9539 wxPyEndAllowThreads(__tstate);
9540 if (PyErr_Occurred()) return NULL;
9541} Py_INCREF(Py_None);
9542 _resultobj = Py_None;
9543 return _resultobj;
9544}
9545
9546#define wxMenu_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
9547static PyObject *_wrap_wxMenu_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
9548 PyObject * _resultobj;
9549 wxEvtHandler * _result;
9550 wxMenu * _arg0;
9551 PyObject * _argo0 = 0;
9552 char *_kwnames[] = { "self", NULL };
9553
9554 self = self;
9555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetEventHandler",_kwnames,&_argo0))
9556 return NULL;
9557 if (_argo0) {
9558 if (_argo0 == Py_None) { _arg0 = NULL; }
9559 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9560 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetEventHandler. Expected _wxMenu_p.");
9561 return NULL;
9562 }
9563 }
9564{
9565 PyThreadState* __tstate = wxPyBeginAllowThreads();
9566 _result = (wxEvtHandler *)wxMenu_GetEventHandler(_arg0);
9567
9568 wxPyEndAllowThreads(__tstate);
9569 if (PyErr_Occurred()) return NULL;
9570}{ _resultobj = wxPyMake_wxObject(_result); }
9571 return _resultobj;
9572}
9573
9574#define wxMenu_SetInvokingWindow(_swigobj,_swigarg0) (_swigobj->SetInvokingWindow(_swigarg0))
9575static PyObject *_wrap_wxMenu_SetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
9576 PyObject * _resultobj;
9577 wxMenu * _arg0;
9578 wxWindow * _arg1;
9579 PyObject * _argo0 = 0;
9580 PyObject * _argo1 = 0;
9581 char *_kwnames[] = { "self","win", NULL };
9582
9583 self = self;
9584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_SetInvokingWindow",_kwnames,&_argo0,&_argo1))
9585 return NULL;
9586 if (_argo0) {
9587 if (_argo0 == Py_None) { _arg0 = NULL; }
9588 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9589 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetInvokingWindow. Expected _wxMenu_p.");
9590 return NULL;
9591 }
9592 }
9593 if (_argo1) {
9594 if (_argo1 == Py_None) { _arg1 = NULL; }
9595 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
9596 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_SetInvokingWindow. Expected _wxWindow_p.");
9597 return NULL;
9598 }
9599 }
9600{
9601 PyThreadState* __tstate = wxPyBeginAllowThreads();
9602 wxMenu_SetInvokingWindow(_arg0,_arg1);
9603
9604 wxPyEndAllowThreads(__tstate);
9605 if (PyErr_Occurred()) return NULL;
9606} Py_INCREF(Py_None);
9607 _resultobj = Py_None;
9608 return _resultobj;
9609}
9610
9611#define wxMenu_GetInvokingWindow(_swigobj) (_swigobj->GetInvokingWindow())
9612static PyObject *_wrap_wxMenu_GetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
9613 PyObject * _resultobj;
9614 wxWindow * _result;
9615 wxMenu * _arg0;
9616 PyObject * _argo0 = 0;
9617 char *_kwnames[] = { "self", NULL };
9618
9619 self = self;
9620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetInvokingWindow",_kwnames,&_argo0))
9621 return NULL;
9622 if (_argo0) {
9623 if (_argo0 == Py_None) { _arg0 = NULL; }
9624 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9625 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetInvokingWindow. Expected _wxMenu_p.");
9626 return NULL;
9627 }
9628 }
9629{
9630 PyThreadState* __tstate = wxPyBeginAllowThreads();
9631 _result = (wxWindow *)wxMenu_GetInvokingWindow(_arg0);
9632
9633 wxPyEndAllowThreads(__tstate);
9634 if (PyErr_Occurred()) return NULL;
9635}{ _resultobj = wxPyMake_wxObject(_result); }
9636 return _resultobj;
9637}
9638
9639#define wxMenu_GetStyle(_swigobj) (_swigobj->GetStyle())
9640static PyObject *_wrap_wxMenu_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
9641 PyObject * _resultobj;
9642 long _result;
9643 wxMenu * _arg0;
9644 PyObject * _argo0 = 0;
9645 char *_kwnames[] = { "self", NULL };
9646
9647 self = self;
9648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetStyle",_kwnames,&_argo0))
9649 return NULL;
9650 if (_argo0) {
9651 if (_argo0 == Py_None) { _arg0 = NULL; }
9652 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9653 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetStyle. Expected _wxMenu_p.");
9654 return NULL;
9655 }
9656 }
9657{
9658 PyThreadState* __tstate = wxPyBeginAllowThreads();
9659 _result = (long )wxMenu_GetStyle(_arg0);
9660
9661 wxPyEndAllowThreads(__tstate);
9662 if (PyErr_Occurred()) return NULL;
9663} _resultobj = Py_BuildValue("l",_result);
9664 return _resultobj;
9665}
9666
9667#define wxMenu_IsAttached(_swigobj) (_swigobj->IsAttached())
9668static PyObject *_wrap_wxMenu_IsAttached(PyObject *self, PyObject *args, PyObject *kwargs) {
9669 PyObject * _resultobj;
9670 bool _result;
9671 wxMenu * _arg0;
9672 PyObject * _argo0 = 0;
9673 char *_kwnames[] = { "self", NULL };
9674
9675 self = self;
9676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_IsAttached",_kwnames,&_argo0))
9677 return NULL;
9678 if (_argo0) {
9679 if (_argo0 == Py_None) { _arg0 = NULL; }
9680 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9681 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_IsAttached. Expected _wxMenu_p.");
9682 return NULL;
9683 }
9684 }
9685{
9686 PyThreadState* __tstate = wxPyBeginAllowThreads();
9687 _result = (bool )wxMenu_IsAttached(_arg0);
9688
9689 wxPyEndAllowThreads(__tstate);
9690 if (PyErr_Occurred()) return NULL;
9691} _resultobj = Py_BuildValue("i",_result);
9692 return _resultobj;
9693}
9694
9695#define wxMenu_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
9696static PyObject *_wrap_wxMenu_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
9697 PyObject * _resultobj;
9698 wxMenu * _arg0;
9699 wxMenu * _arg1;
9700 PyObject * _argo0 = 0;
9701 PyObject * _argo1 = 0;
9702 char *_kwnames[] = { "self","parent", NULL };
9703
9704 self = self;
9705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_SetParent",_kwnames,&_argo0,&_argo1))
9706 return NULL;
9707 if (_argo0) {
9708 if (_argo0 == Py_None) { _arg0 = NULL; }
9709 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9710 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_SetParent. Expected _wxMenu_p.");
9711 return NULL;
9712 }
9713 }
9714 if (_argo1) {
9715 if (_argo1 == Py_None) { _arg1 = NULL; }
9716 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
9717 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenu_SetParent. Expected _wxMenu_p.");
9718 return NULL;
9719 }
9720 }
9721{
9722 PyThreadState* __tstate = wxPyBeginAllowThreads();
9723 wxMenu_SetParent(_arg0,_arg1);
9724
9725 wxPyEndAllowThreads(__tstate);
9726 if (PyErr_Occurred()) return NULL;
9727} Py_INCREF(Py_None);
9728 _resultobj = Py_None;
9729 return _resultobj;
9730}
9731
9732#define wxMenu_GetParent(_swigobj) (_swigobj->GetParent())
9733static PyObject *_wrap_wxMenu_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
9734 PyObject * _resultobj;
9735 wxMenu * _result;
9736 wxMenu * _arg0;
9737 PyObject * _argo0 = 0;
9738 char *_kwnames[] = { "self", NULL };
9739
9740 self = self;
9741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetParent",_kwnames,&_argo0))
9742 return NULL;
9743 if (_argo0) {
9744 if (_argo0 == Py_None) { _arg0 = NULL; }
9745 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
9746 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenu_GetParent. Expected _wxMenu_p.");
9747 return NULL;
9748 }
9749 }
9750{
9751 PyThreadState* __tstate = wxPyBeginAllowThreads();
9752 _result = (wxMenu *)wxMenu_GetParent(_arg0);
9753
9754 wxPyEndAllowThreads(__tstate);
9755 if (PyErr_Occurred()) return NULL;
9756}{ _resultobj = wxPyMake_wxObject(_result); }
9757 return _resultobj;
9758}
9759
9760static void *SwigwxMenuBarTowxWindow(void *ptr) {
9761 wxMenuBar *src;
9762 wxWindow *dest;
9763 src = (wxMenuBar *) ptr;
9764 dest = (wxWindow *) src;
9765 return (void *) dest;
9766}
9767
9768static void *SwigwxMenuBarTowxEvtHandler(void *ptr) {
9769 wxMenuBar *src;
9770 wxEvtHandler *dest;
9771 src = (wxMenuBar *) ptr;
9772 dest = (wxEvtHandler *) src;
9773 return (void *) dest;
9774}
9775
9776static void *SwigwxMenuBarTowxObject(void *ptr) {
9777 wxMenuBar *src;
9778 wxObject *dest;
9779 src = (wxMenuBar *) ptr;
9780 dest = (wxObject *) src;
9781 return (void *) dest;
9782}
9783
9784#define new_wxMenuBar(_swigarg0) (new wxMenuBar(_swigarg0))
9785static PyObject *_wrap_new_wxMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9786 PyObject * _resultobj;
9787 wxMenuBar * _result;
9788 long _arg0 = (long ) 0;
9789 char *_kwnames[] = { "style", NULL };
9790 char _ptemp[128];
9791
9792 self = self;
9793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|l:new_wxMenuBar",_kwnames,&_arg0))
9794 return NULL;
9795{
9796 PyThreadState* __tstate = wxPyBeginAllowThreads();
9797 _result = (wxMenuBar *)new_wxMenuBar(_arg0);
9798
9799 wxPyEndAllowThreads(__tstate);
9800 if (PyErr_Occurred()) return NULL;
9801} if (_result) {
9802 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuBar_p");
9803 _resultobj = Py_BuildValue("s",_ptemp);
9804 } else {
9805 Py_INCREF(Py_None);
9806 _resultobj = Py_None;
9807 }
9808 return _resultobj;
9809}
9810
9811#define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
9812static PyObject *_wrap_wxMenuBar_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
9813 PyObject * _resultobj;
9814 bool _result;
9815 wxMenuBar * _arg0;
9816 wxMenu * _arg1;
9817 wxString * _arg2;
9818 PyObject * _argo0 = 0;
9819 PyObject * _argo1 = 0;
9820 PyObject * _obj2 = 0;
9821 char *_kwnames[] = { "self","menu","title", NULL };
9822
9823 self = self;
9824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxMenuBar_Append",_kwnames,&_argo0,&_argo1,&_obj2))
9825 return NULL;
9826 if (_argo0) {
9827 if (_argo0 == Py_None) { _arg0 = NULL; }
9828 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9829 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
9830 return NULL;
9831 }
9832 }
9833 if (_argo1) {
9834 if (_argo1 == Py_None) { _arg1 = NULL; }
9835 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
9836 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
9837 return NULL;
9838 }
9839 }
9840{
9841 _arg2 = wxString_in_helper(_obj2);
9842 if (_arg2 == NULL)
9843 return NULL;
9844}
9845{
9846 PyThreadState* __tstate = wxPyBeginAllowThreads();
9847 _result = (bool )wxMenuBar_Append(_arg0,_arg1,*_arg2);
9848
9849 wxPyEndAllowThreads(__tstate);
9850 if (PyErr_Occurred()) return NULL;
9851} _resultobj = Py_BuildValue("i",_result);
9852{
9853 if (_obj2)
9854 delete _arg2;
9855}
9856 return _resultobj;
9857}
9858
9859#define wxMenuBar_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2))
9860static PyObject *_wrap_wxMenuBar_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
9861 PyObject * _resultobj;
9862 bool _result;
9863 wxMenuBar * _arg0;
9864 size_t _arg1;
9865 wxMenu * _arg2;
9866 wxString * _arg3;
9867 PyObject * _argo0 = 0;
9868 PyObject * _argo2 = 0;
9869 PyObject * _obj3 = 0;
9870 char *_kwnames[] = { "self","pos","menu","title", NULL };
9871
9872 self = self;
9873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO:wxMenuBar_Insert",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3))
9874 return NULL;
9875 if (_argo0) {
9876 if (_argo0 == Py_None) { _arg0 = NULL; }
9877 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9878 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Insert. Expected _wxMenuBar_p.");
9879 return NULL;
9880 }
9881 }
9882 if (_argo2) {
9883 if (_argo2 == Py_None) { _arg2 = NULL; }
9884 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxMenu_p")) {
9885 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxMenuBar_Insert. Expected _wxMenu_p.");
9886 return NULL;
9887 }
9888 }
9889{
9890 _arg3 = wxString_in_helper(_obj3);
9891 if (_arg3 == NULL)
9892 return NULL;
9893}
9894{
9895 PyThreadState* __tstate = wxPyBeginAllowThreads();
9896 _result = (bool )wxMenuBar_Insert(_arg0,_arg1,_arg2,*_arg3);
9897
9898 wxPyEndAllowThreads(__tstate);
9899 if (PyErr_Occurred()) return NULL;
9900} _resultobj = Py_BuildValue("i",_result);
9901{
9902 if (_obj3)
9903 delete _arg3;
9904}
9905 return _resultobj;
9906}
9907
9908#define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
9909static PyObject *_wrap_wxMenuBar_GetMenuCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9910 PyObject * _resultobj;
9911 size_t _result;
9912 wxMenuBar * _arg0;
9913 PyObject * _argo0 = 0;
9914 char *_kwnames[] = { "self", NULL };
9915
9916 self = self;
9917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuBar_GetMenuCount",_kwnames,&_argo0))
9918 return NULL;
9919 if (_argo0) {
9920 if (_argo0 == Py_None) { _arg0 = NULL; }
9921 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9922 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
9923 return NULL;
9924 }
9925 }
9926{
9927 PyThreadState* __tstate = wxPyBeginAllowThreads();
9928 _result = (size_t )wxMenuBar_GetMenuCount(_arg0);
9929
9930 wxPyEndAllowThreads(__tstate);
9931 if (PyErr_Occurred()) return NULL;
9932} _resultobj = Py_BuildValue("i",_result);
9933 return _resultobj;
9934}
9935
9936#define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
9937static PyObject *_wrap_wxMenuBar_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
9938 PyObject * _resultobj;
9939 wxMenu * _result;
9940 wxMenuBar * _arg0;
9941 size_t _arg1;
9942 PyObject * _argo0 = 0;
9943 char *_kwnames[] = { "self","pos", NULL };
9944
9945 self = self;
9946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_GetMenu",_kwnames,&_argo0,&_arg1))
9947 return NULL;
9948 if (_argo0) {
9949 if (_argo0 == Py_None) { _arg0 = NULL; }
9950 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9951 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
9952 return NULL;
9953 }
9954 }
9955{
9956 PyThreadState* __tstate = wxPyBeginAllowThreads();
9957 _result = (wxMenu *)wxMenuBar_GetMenu(_arg0,_arg1);
9958
9959 wxPyEndAllowThreads(__tstate);
9960 if (PyErr_Occurred()) return NULL;
9961}{ _resultobj = wxPyMake_wxObject(_result); }
9962 return _resultobj;
9963}
9964
9965#define wxMenuBar_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
9966static PyObject *_wrap_wxMenuBar_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
9967 PyObject * _resultobj;
9968 wxMenu * _result;
9969 wxMenuBar * _arg0;
9970 size_t _arg1;
9971 wxMenu * _arg2;
9972 wxString * _arg3;
9973 PyObject * _argo0 = 0;
9974 PyObject * _argo2 = 0;
9975 PyObject * _obj3 = 0;
9976 char *_kwnames[] = { "self","pos","menu","title", NULL };
9977
9978 self = self;
9979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO:wxMenuBar_Replace",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3))
9980 return NULL;
9981 if (_argo0) {
9982 if (_argo0 == Py_None) { _arg0 = NULL; }
9983 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
9984 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Replace. Expected _wxMenuBar_p.");
9985 return NULL;
9986 }
9987 }
9988 if (_argo2) {
9989 if (_argo2 == Py_None) { _arg2 = NULL; }
9990 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxMenu_p")) {
9991 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxMenuBar_Replace. Expected _wxMenu_p.");
9992 return NULL;
9993 }
9994 }
9995{
9996 _arg3 = wxString_in_helper(_obj3);
9997 if (_arg3 == NULL)
9998 return NULL;
9999}
10000{
10001 PyThreadState* __tstate = wxPyBeginAllowThreads();
10002 _result = (wxMenu *)wxMenuBar_Replace(_arg0,_arg1,_arg2,*_arg3);
10003
10004 wxPyEndAllowThreads(__tstate);
10005 if (PyErr_Occurred()) return NULL;
10006}{ _resultobj = wxPyMake_wxObject(_result); }
10007{
10008 if (_obj3)
10009 delete _arg3;
10010}
10011 return _resultobj;
10012}
10013
10014#define wxMenuBar_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
10015static PyObject *_wrap_wxMenuBar_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
10016 PyObject * _resultobj;
10017 wxMenu * _result;
10018 wxMenuBar * _arg0;
10019 size_t _arg1;
10020 PyObject * _argo0 = 0;
10021 char *_kwnames[] = { "self","pos", NULL };
10022
10023 self = self;
10024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_Remove",_kwnames,&_argo0,&_arg1))
10025 return NULL;
10026 if (_argo0) {
10027 if (_argo0 == Py_None) { _arg0 = NULL; }
10028 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10029 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Remove. Expected _wxMenuBar_p.");
10030 return NULL;
10031 }
10032 }
10033{
10034 PyThreadState* __tstate = wxPyBeginAllowThreads();
10035 _result = (wxMenu *)wxMenuBar_Remove(_arg0,_arg1);
10036
10037 wxPyEndAllowThreads(__tstate);
10038 if (PyErr_Occurred()) return NULL;
10039}{ _resultobj = wxPyMake_wxObject(_result); }
10040 return _resultobj;
10041}
10042
10043#define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
10044static PyObject *_wrap_wxMenuBar_EnableTop(PyObject *self, PyObject *args, PyObject *kwargs) {
10045 PyObject * _resultobj;
10046 wxMenuBar * _arg0;
10047 size_t _arg1;
10048 bool _arg2;
10049 PyObject * _argo0 = 0;
10050 int tempbool2;
10051 char *_kwnames[] = { "self","pos","enable", NULL };
10052
10053 self = self;
10054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxMenuBar_EnableTop",_kwnames,&_argo0,&_arg1,&tempbool2))
10055 return NULL;
10056 if (_argo0) {
10057 if (_argo0 == Py_None) { _arg0 = NULL; }
10058 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10059 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
10060 return NULL;
10061 }
10062 }
10063 _arg2 = (bool ) tempbool2;
10064{
10065 PyThreadState* __tstate = wxPyBeginAllowThreads();
10066 wxMenuBar_EnableTop(_arg0,_arg1,_arg2);
10067
10068 wxPyEndAllowThreads(__tstate);
10069 if (PyErr_Occurred()) return NULL;
10070} Py_INCREF(Py_None);
10071 _resultobj = Py_None;
10072 return _resultobj;
10073}
10074
10075#define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
10076static PyObject *_wrap_wxMenuBar_SetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
10077 PyObject * _resultobj;
10078 wxMenuBar * _arg0;
10079 size_t _arg1;
10080 wxString * _arg2;
10081 PyObject * _argo0 = 0;
10082 PyObject * _obj2 = 0;
10083 char *_kwnames[] = { "self","pos","label", NULL };
10084
10085 self = self;
10086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenuBar_SetLabelTop",_kwnames,&_argo0,&_arg1,&_obj2))
10087 return NULL;
10088 if (_argo0) {
10089 if (_argo0 == Py_None) { _arg0 = NULL; }
10090 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10091 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
10092 return NULL;
10093 }
10094 }
10095{
10096 _arg2 = wxString_in_helper(_obj2);
10097 if (_arg2 == NULL)
10098 return NULL;
10099}
10100{
10101 PyThreadState* __tstate = wxPyBeginAllowThreads();
10102 wxMenuBar_SetLabelTop(_arg0,_arg1,*_arg2);
10103
10104 wxPyEndAllowThreads(__tstate);
10105 if (PyErr_Occurred()) return NULL;
10106} Py_INCREF(Py_None);
10107 _resultobj = Py_None;
10108{
10109 if (_obj2)
10110 delete _arg2;
10111}
10112 return _resultobj;
10113}
10114
10115#define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
10116static PyObject *_wrap_wxMenuBar_GetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
10117 PyObject * _resultobj;
10118 wxString * _result;
10119 wxMenuBar * _arg0;
10120 size_t _arg1;
10121 PyObject * _argo0 = 0;
10122 char *_kwnames[] = { "self","pos", NULL };
10123
10124 self = self;
10125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_GetLabelTop",_kwnames,&_argo0,&_arg1))
10126 return NULL;
10127 if (_argo0) {
10128 if (_argo0 == Py_None) { _arg0 = NULL; }
10129 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10130 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
10131 return NULL;
10132 }
10133 }
10134{
10135 PyThreadState* __tstate = wxPyBeginAllowThreads();
10136 _result = new wxString (wxMenuBar_GetLabelTop(_arg0,_arg1));
10137
10138 wxPyEndAllowThreads(__tstate);
10139 if (PyErr_Occurred()) return NULL;
10140}{
10141#if wxUSE_UNICODE
10142 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
10143#else
10144 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
10145#endif
10146}
10147{
10148 delete _result;
10149}
10150 return _resultobj;
10151}
10152
10153#define wxMenuBar_FindMenu(_swigobj,_swigarg0) (_swigobj->FindMenu(_swigarg0))
10154static PyObject *_wrap_wxMenuBar_FindMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
10155 PyObject * _resultobj;
10156 int _result;
10157 wxMenuBar * _arg0;
10158 wxString * _arg1;
10159 PyObject * _argo0 = 0;
10160 PyObject * _obj1 = 0;
10161 char *_kwnames[] = { "self","title", NULL };
10162
10163 self = self;
10164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuBar_FindMenu",_kwnames,&_argo0,&_obj1))
10165 return NULL;
10166 if (_argo0) {
10167 if (_argo0 == Py_None) { _arg0 = NULL; }
10168 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10169 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_FindMenu. Expected _wxMenuBar_p.");
10170 return NULL;
10171 }
10172 }
10173{
10174 _arg1 = wxString_in_helper(_obj1);
10175 if (_arg1 == NULL)
10176 return NULL;
10177}
10178{
10179 PyThreadState* __tstate = wxPyBeginAllowThreads();
10180 _result = (int )wxMenuBar_FindMenu(_arg0,*_arg1);
10181
10182 wxPyEndAllowThreads(__tstate);
10183 if (PyErr_Occurred()) return NULL;
10184} _resultobj = Py_BuildValue("i",_result);
10185{
10186 if (_obj1)
10187 delete _arg1;
10188}
10189 return _resultobj;
10190}
10191
10192#define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
10193static PyObject *_wrap_wxMenuBar_FindMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
10194 PyObject * _resultobj;
10195 int _result;
10196 wxMenuBar * _arg0;
10197 wxString * _arg1;
10198 wxString * _arg2;
10199 PyObject * _argo0 = 0;
10200 PyObject * _obj1 = 0;
10201 PyObject * _obj2 = 0;
10202 char *_kwnames[] = { "self","menuString","itemString", NULL };
10203
10204 self = self;
10205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxMenuBar_FindMenuItem",_kwnames,&_argo0,&_obj1,&_obj2))
10206 return NULL;
10207 if (_argo0) {
10208 if (_argo0 == Py_None) { _arg0 = NULL; }
10209 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10210 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
10211 return NULL;
10212 }
10213 }
10214{
10215 _arg1 = wxString_in_helper(_obj1);
10216 if (_arg1 == NULL)
10217 return NULL;
10218}
10219{
10220 _arg2 = wxString_in_helper(_obj2);
10221 if (_arg2 == NULL)
10222 return NULL;
10223}
10224{
10225 PyThreadState* __tstate = wxPyBeginAllowThreads();
10226 _result = (int )wxMenuBar_FindMenuItem(_arg0,*_arg1,*_arg2);
10227
10228 wxPyEndAllowThreads(__tstate);
10229 if (PyErr_Occurred()) return NULL;
10230} _resultobj = Py_BuildValue("i",_result);
10231{
10232 if (_obj1)
10233 delete _arg1;
10234}
10235{
10236 if (_obj2)
10237 delete _arg2;
10238}
10239 return _resultobj;
10240}
10241
10242#define wxMenuBar_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
10243static PyObject *_wrap_wxMenuBar_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
10244 PyObject * _resultobj;
10245 wxMenuItem * _result;
10246 wxMenuBar * _arg0;
10247 int _arg1;
10248 PyObject * _argo0 = 0;
10249 char *_kwnames[] = { "self","id", NULL };
10250
10251 self = self;
10252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_FindItemById",_kwnames,&_argo0,&_arg1))
10253 return NULL;
10254 if (_argo0) {
10255 if (_argo0 == Py_None) { _arg0 = NULL; }
10256 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10257 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_FindItemById. Expected _wxMenuBar_p.");
10258 return NULL;
10259 }
10260 }
10261{
10262 PyThreadState* __tstate = wxPyBeginAllowThreads();
10263 _result = (wxMenuItem *)wxMenuBar_FindItemById(_arg0,_arg1);
10264
10265 wxPyEndAllowThreads(__tstate);
10266 if (PyErr_Occurred()) return NULL;
10267}{ _resultobj = wxPyMake_wxObject(_result); }
10268 return _resultobj;
10269}
10270
10271#define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
10272static PyObject *_wrap_wxMenuBar_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
10273 PyObject * _resultobj;
10274 wxMenuBar * _arg0;
10275 int _arg1;
10276 bool _arg2;
10277 PyObject * _argo0 = 0;
10278 int tempbool2;
10279 char *_kwnames[] = { "self","id","enable", NULL };
10280
10281 self = self;
10282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxMenuBar_Enable",_kwnames,&_argo0,&_arg1,&tempbool2))
10283 return NULL;
10284 if (_argo0) {
10285 if (_argo0 == Py_None) { _arg0 = NULL; }
10286 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10287 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
10288 return NULL;
10289 }
10290 }
10291 _arg2 = (bool ) tempbool2;
10292{
10293 PyThreadState* __tstate = wxPyBeginAllowThreads();
10294 wxMenuBar_Enable(_arg0,_arg1,_arg2);
10295
10296 wxPyEndAllowThreads(__tstate);
10297 if (PyErr_Occurred()) return NULL;
10298} Py_INCREF(Py_None);
10299 _resultobj = Py_None;
10300 return _resultobj;
10301}
10302
10303#define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
10304static PyObject *_wrap_wxMenuBar_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
10305 PyObject * _resultobj;
10306 wxMenuBar * _arg0;
10307 int _arg1;
10308 bool _arg2;
10309 PyObject * _argo0 = 0;
10310 int tempbool2;
10311 char *_kwnames[] = { "self","id","check", NULL };
10312
10313 self = self;
10314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxMenuBar_Check",_kwnames,&_argo0,&_arg1,&tempbool2))
10315 return NULL;
10316 if (_argo0) {
10317 if (_argo0 == Py_None) { _arg0 = NULL; }
10318 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10319 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
10320 return NULL;
10321 }
10322 }
10323 _arg2 = (bool ) tempbool2;
10324{
10325 PyThreadState* __tstate = wxPyBeginAllowThreads();
10326 wxMenuBar_Check(_arg0,_arg1,_arg2);
10327
10328 wxPyEndAllowThreads(__tstate);
10329 if (PyErr_Occurred()) return NULL;
10330} Py_INCREF(Py_None);
10331 _resultobj = Py_None;
10332 return _resultobj;
10333}
10334
10335#define wxMenuBar_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
10336static PyObject *_wrap_wxMenuBar_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
10337 PyObject * _resultobj;
10338 bool _result;
10339 wxMenuBar * _arg0;
10340 int _arg1;
10341 PyObject * _argo0 = 0;
10342 char *_kwnames[] = { "self","id", NULL };
10343
10344 self = self;
10345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_IsChecked",_kwnames,&_argo0,&_arg1))
10346 return NULL;
10347 if (_argo0) {
10348 if (_argo0 == Py_None) { _arg0 = NULL; }
10349 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10350 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_IsChecked. Expected _wxMenuBar_p.");
10351 return NULL;
10352 }
10353 }
10354{
10355 PyThreadState* __tstate = wxPyBeginAllowThreads();
10356 _result = (bool )wxMenuBar_IsChecked(_arg0,_arg1);
10357
10358 wxPyEndAllowThreads(__tstate);
10359 if (PyErr_Occurred()) return NULL;
10360} _resultobj = Py_BuildValue("i",_result);
10361 return _resultobj;
10362}
10363
10364#define wxMenuBar_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
10365static PyObject *_wrap_wxMenuBar_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
10366 PyObject * _resultobj;
10367 bool _result;
10368 wxMenuBar * _arg0;
10369 int _arg1;
10370 PyObject * _argo0 = 0;
10371 char *_kwnames[] = { "self","id", NULL };
10372
10373 self = self;
10374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_IsEnabled",_kwnames,&_argo0,&_arg1))
10375 return NULL;
10376 if (_argo0) {
10377 if (_argo0 == Py_None) { _arg0 = NULL; }
10378 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10379 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_IsEnabled. Expected _wxMenuBar_p.");
10380 return NULL;
10381 }
10382 }
10383{
10384 PyThreadState* __tstate = wxPyBeginAllowThreads();
10385 _result = (bool )wxMenuBar_IsEnabled(_arg0,_arg1);
10386
10387 wxPyEndAllowThreads(__tstate);
10388 if (PyErr_Occurred()) return NULL;
10389} _resultobj = Py_BuildValue("i",_result);
10390 return _resultobj;
10391}
10392
10393#define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
10394static PyObject *_wrap_wxMenuBar_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
10395 PyObject * _resultobj;
10396 wxMenuBar * _arg0;
10397 int _arg1;
10398 wxString * _arg2;
10399 PyObject * _argo0 = 0;
10400 PyObject * _obj2 = 0;
10401 char *_kwnames[] = { "self","id","label", NULL };
10402
10403 self = self;
10404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenuBar_SetLabel",_kwnames,&_argo0,&_arg1,&_obj2))
10405 return NULL;
10406 if (_argo0) {
10407 if (_argo0 == Py_None) { _arg0 = NULL; }
10408 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10409 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
10410 return NULL;
10411 }
10412 }
10413{
10414 _arg2 = wxString_in_helper(_obj2);
10415 if (_arg2 == NULL)
10416 return NULL;
10417}
10418{
10419 PyThreadState* __tstate = wxPyBeginAllowThreads();
10420 wxMenuBar_SetLabel(_arg0,_arg1,*_arg2);
10421
10422 wxPyEndAllowThreads(__tstate);
10423 if (PyErr_Occurred()) return NULL;
10424} Py_INCREF(Py_None);
10425 _resultobj = Py_None;
10426{
10427 if (_obj2)
10428 delete _arg2;
10429}
10430 return _resultobj;
10431}
10432
10433#define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
10434static PyObject *_wrap_wxMenuBar_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
10435 PyObject * _resultobj;
10436 wxString * _result;
10437 wxMenuBar * _arg0;
10438 int _arg1;
10439 PyObject * _argo0 = 0;
10440 char *_kwnames[] = { "self","id", NULL };
10441
10442 self = self;
10443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_GetLabel",_kwnames,&_argo0,&_arg1))
10444 return NULL;
10445 if (_argo0) {
10446 if (_argo0 == Py_None) { _arg0 = NULL; }
10447 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10448 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
10449 return NULL;
10450 }
10451 }
10452{
10453 PyThreadState* __tstate = wxPyBeginAllowThreads();
10454 _result = new wxString (wxMenuBar_GetLabel(_arg0,_arg1));
10455
10456 wxPyEndAllowThreads(__tstate);
10457 if (PyErr_Occurred()) return NULL;
10458}{
10459#if wxUSE_UNICODE
10460 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
10461#else
10462 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
10463#endif
10464}
10465{
10466 delete _result;
10467}
10468 return _resultobj;
10469}
10470
10471#define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
10472static PyObject *_wrap_wxMenuBar_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
10473 PyObject * _resultobj;
10474 wxMenuBar * _arg0;
10475 int _arg1;
10476 wxString * _arg2;
10477 PyObject * _argo0 = 0;
10478 PyObject * _obj2 = 0;
10479 char *_kwnames[] = { "self","id","helpString", NULL };
10480
10481 self = self;
10482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxMenuBar_SetHelpString",_kwnames,&_argo0,&_arg1,&_obj2))
10483 return NULL;
10484 if (_argo0) {
10485 if (_argo0 == Py_None) { _arg0 = NULL; }
10486 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10487 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
10488 return NULL;
10489 }
10490 }
10491{
10492 _arg2 = wxString_in_helper(_obj2);
10493 if (_arg2 == NULL)
10494 return NULL;
10495}
10496{
10497 PyThreadState* __tstate = wxPyBeginAllowThreads();
10498 wxMenuBar_SetHelpString(_arg0,_arg1,*_arg2);
10499
10500 wxPyEndAllowThreads(__tstate);
10501 if (PyErr_Occurred()) return NULL;
10502} Py_INCREF(Py_None);
10503 _resultobj = Py_None;
10504{
10505 if (_obj2)
10506 delete _arg2;
10507}
10508 return _resultobj;
10509}
10510
10511#define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
10512static PyObject *_wrap_wxMenuBar_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
10513 PyObject * _resultobj;
10514 wxString * _result;
10515 wxMenuBar * _arg0;
10516 int _arg1;
10517 PyObject * _argo0 = 0;
10518 char *_kwnames[] = { "self","id", NULL };
10519
10520 self = self;
10521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_GetHelpString",_kwnames,&_argo0,&_arg1))
10522 return NULL;
10523 if (_argo0) {
10524 if (_argo0 == Py_None) { _arg0 = NULL; }
10525 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuBar_p")) {
10526 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
10527 return NULL;
10528 }
10529 }
10530{
10531 PyThreadState* __tstate = wxPyBeginAllowThreads();
10532 _result = new wxString (wxMenuBar_GetHelpString(_arg0,_arg1));
10533
10534 wxPyEndAllowThreads(__tstate);
10535 if (PyErr_Occurred()) return NULL;
10536}{
10537#if wxUSE_UNICODE
10538 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
10539#else
10540 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
10541#endif
10542}
10543{
10544 delete _result;
10545}
10546 return _resultobj;
10547}
10548
10549static void *SwigwxMenuItemTowxObject(void *ptr) {
10550 wxMenuItem *src;
10551 wxObject *dest;
10552 src = (wxMenuItem *) ptr;
10553 dest = (wxObject *) src;
10554 return (void *) dest;
10555}
10556
10557#define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
10558static PyObject *_wrap_new_wxMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
10559 PyObject * _resultobj;
10560 wxMenuItem * _result;
10561 wxMenu * _arg0 = (wxMenu *) NULL;
10562 int _arg1 = (int ) wxID_SEPARATOR;
10563 wxString * _arg2 = (wxString *) &wxPyEmptyString;
10564 wxString * _arg3 = (wxString *) &wxPyEmptyString;
10565 wxItemKind _arg4 = (wxItemKind ) wxITEM_NORMAL;
10566 wxMenu * _arg5 = (wxMenu *) NULL;
10567 PyObject * _argo0 = 0;
10568 PyObject * _obj2 = 0;
10569 PyObject * _obj3 = 0;
10570 PyObject * _argo5 = 0;
10571 char *_kwnames[] = { "parentMenu","id","text","help","kind","subMenu", NULL };
10572 char _ptemp[128];
10573
10574 self = self;
10575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OiOOiO:new_wxMenuItem",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5))
10576 return NULL;
10577 if (_argo0) {
10578 if (_argo0 == Py_None) { _arg0 = NULL; }
10579 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenu_p")) {
10580 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
10581 return NULL;
10582 }
10583 }
10584 if (_obj2)
10585{
10586 _arg2 = wxString_in_helper(_obj2);
10587 if (_arg2 == NULL)
10588 return NULL;
10589}
10590 if (_obj3)
10591{
10592 _arg3 = wxString_in_helper(_obj3);
10593 if (_arg3 == NULL)
10594 return NULL;
10595}
10596 if (_argo5) {
10597 if (_argo5 == Py_None) { _arg5 = NULL; }
10598 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxMenu_p")) {
10599 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
10600 return NULL;
10601 }
10602 }
10603{
10604 PyThreadState* __tstate = wxPyBeginAllowThreads();
10605 _result = (wxMenuItem *)new_wxMenuItem(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
10606
10607 wxPyEndAllowThreads(__tstate);
10608 if (PyErr_Occurred()) return NULL;
10609} if (_result) {
10610 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuItem_p");
10611 _resultobj = Py_BuildValue("s",_ptemp);
10612 } else {
10613 Py_INCREF(Py_None);
10614 _resultobj = Py_None;
10615 }
10616{
10617 if (_obj2)
10618 delete _arg2;
10619}
10620{
10621 if (_obj3)
10622 delete _arg3;
10623}
10624 return _resultobj;
10625}
10626
10627#define wxMenuItem_GetMenu(_swigobj) (_swigobj->GetMenu())
10628static PyObject *_wrap_wxMenuItem_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
10629 PyObject * _resultobj;
10630 wxMenu * _result;
10631 wxMenuItem * _arg0;
10632 PyObject * _argo0 = 0;
10633 char *_kwnames[] = { "self", NULL };
10634
10635 self = self;
10636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetMenu",_kwnames,&_argo0))
10637 return NULL;
10638 if (_argo0) {
10639 if (_argo0 == Py_None) { _arg0 = NULL; }
10640 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
10641 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetMenu. Expected _wxMenuItem_p.");
10642 return NULL;
10643 }
10644 }
10645{
10646 PyThreadState* __tstate = wxPyBeginAllowThreads();
10647 _result = (wxMenu *)wxMenuItem_GetMenu(_arg0);
10648
10649 wxPyEndAllowThreads(__tstate);
10650 if (PyErr_Occurred()) return NULL;
10651}{ _resultobj = wxPyMake_wxObject(_result); }
10652 return _resultobj;
10653}
10654
10655#define wxMenuItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
10656static PyObject *_wrap_wxMenuItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
10657 PyObject * _resultobj;
10658 wxMenuItem * _arg0;
10659 int _arg1;
10660 PyObject * _argo0 = 0;
10661 char *_kwnames[] = { "self","id", NULL };
10662
10663 self = self;
10664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuItem_SetId",_kwnames,&_argo0,&_arg1))
10665 return NULL;
10666 if (_argo0) {
10667 if (_argo0 == Py_None) { _arg0 = NULL; }
10668 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
10669 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetId. Expected _wxMenuItem_p.");
10670 return NULL;
10671 }
10672 }
10673{
10674 PyThreadState* __tstate = wxPyBeginAllowThreads();
10675 wxMenuItem_SetId(_arg0,_arg1);
10676
10677 wxPyEndAllowThreads(__tstate);
10678 if (PyErr_Occurred()) return NULL;
10679} Py_INCREF(Py_None);
10680 _resultobj = Py_None;
10681 return _resultobj;
10682}
10683
10684#define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
10685static PyObject *_wrap_wxMenuItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
10686 PyObject * _resultobj;
10687 int _result;
10688 wxMenuItem * _arg0;
10689 PyObject * _argo0 = 0;
10690 char *_kwnames[] = { "self", NULL };
10691
10692 self = self;
10693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetId",_kwnames,&_argo0))
10694 return NULL;
10695 if (_argo0) {
10696 if (_argo0 == Py_None) { _arg0 = NULL; }
10697 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
10698 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
10699 return NULL;
10700 }
10701 }
10702{
10703 PyThreadState* __tstate = wxPyBeginAllowThreads();
10704 _result = (int )wxMenuItem_GetId(_arg0);
10705
10706 wxPyEndAllowThreads(__tstate);
10707 if (PyErr_Occurred()) return NULL;
10708} _resultobj = Py_BuildValue("i",_result);
10709 return _resultobj;
10710}
10711
10712#define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
10713static PyObject *_wrap_wxMenuItem_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
10714 PyObject * _resultobj;
10715 bool _result;
10716 wxMenuItem * _arg0;
10717 PyObject * _argo0 = 0;
10718 char *_kwnames[] = { "self", NULL };
10719
10720 self = self;
10721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsSeparator",_kwnames,&_argo0))
10722 return NULL;
10723 if (_argo0) {
10724 if (_argo0 == Py_None) { _arg0 = NULL; }
10725 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
10726 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
10727 return NULL;
10728 }
10729 }
10730{
10731 PyThreadState* __tstate = wxPyBeginAllowThreads();
10732 _result = (bool )wxMenuItem_IsSeparator(_arg0);
10733
10734 wxPyEndAllowThreads(__tstate);
10735 if (PyErr_Occurred()) return NULL;
10736} _resultobj = Py_BuildValue("i",_result);
10737 return _resultobj;
10738}
10739
10740#define wxMenuItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
10741static PyObject *_wrap_wxMenuItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
10742 PyObject * _resultobj;
10743 wxMenuItem * _arg0;
10744 wxString * _arg1;
10745 PyObject * _argo0 = 0;
10746 PyObject * _obj1 = 0;
10747 char *_kwnames[] = { "self","str", NULL };
10748
10749 self = self;
10750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetText",_kwnames,&_argo0,&_obj1))
10751 return NULL;
10752 if (_argo0) {
10753 if (_argo0 == Py_None) { _arg0 = NULL; }
10754 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
10755 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetText. Expected _wxMenuItem_p.");
10756 return NULL;
10757 }
10758 }
10759{
10760 _arg1 = wxString_in_helper(_obj1);
10761 if (_arg1 == NULL)
10762 return NULL;
10763}
10764{
10765 PyThreadState* __tstate = wxPyBeginAllowThreads();
10766 wxMenuItem_SetText(_arg0,*_arg1);
10767
10768 wxPyEndAllowThreads(__tstate);
10769 if (PyErr_Occurred()) return NULL;
10770} Py_INCREF(Py_None);
10771 _resultobj = Py_None;
10772{
10773 if (_obj1)
10774 delete _arg1;
10775}
10776 return _resultobj;
10777}
10778
10779#define wxMenuItem_GetLabel(_swigobj) (_swigobj->GetLabel())
10780static PyObject *_wrap_wxMenuItem_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
10781 PyObject * _resultobj;
10782 wxString * _result;
10783 wxMenuItem * _arg0;
10784 PyObject * _argo0 = 0;
10785 char *_kwnames[] = { "self", NULL };
10786
10787 self = self;
10788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetLabel",_kwnames,&_argo0))
10789 return NULL;
10790 if (_argo0) {
10791 if (_argo0 == Py_None) { _arg0 = NULL; }
10792 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
10793 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetLabel. Expected _wxMenuItem_p.");
10794 return NULL;
10795 }
10796 }
10797{
10798 PyThreadState* __tstate = wxPyBeginAllowThreads();
10799 _result = new wxString (wxMenuItem_GetLabel(_arg0));
10800
10801 wxPyEndAllowThreads(__tstate);
10802 if (PyErr_Occurred()) return NULL;
10803}{
10804#if wxUSE_UNICODE
10805 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
10806#else
10807 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
10808#endif
10809}
10810{
10811 delete _result;
10812}
10813 return _resultobj;
10814}
10815
10816#define wxMenuItem_GetText(_swigobj) (_swigobj->GetText())
10817static PyObject *_wrap_wxMenuItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
10818 PyObject * _resultobj;
10819 wxString * _result;
10820 wxMenuItem * _arg0;
10821 PyObject * _argo0 = 0;
10822 char *_kwnames[] = { "self", NULL };
10823
10824 self = self;
10825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetText",_kwnames,&_argo0))
10826 return NULL;
10827 if (_argo0) {
10828 if (_argo0 == Py_None) { _arg0 = NULL; }
10829 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
10830 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetText. Expected _wxMenuItem_p.");
10831 return NULL;
10832 }
10833 }
10834{
10835 PyThreadState* __tstate = wxPyBeginAllowThreads();
10836 const wxString & _result_ref = wxMenuItem_GetText(_arg0);
10837 _result = (wxString *) &_result_ref;
10838
10839 wxPyEndAllowThreads(__tstate);
10840 if (PyErr_Occurred()) return NULL;
10841}{
10842#if wxUSE_UNICODE
10843 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
10844#else
10845 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
10846#endif
10847}
10848 return _resultobj;
10849}
10850
10851#define wxMenuItem_GetKind(_swigobj) (_swigobj->GetKind())
10852static PyObject *_wrap_wxMenuItem_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
10853 PyObject * _resultobj;
10854 wxItemKind _result;
10855 wxMenuItem * _arg0;
10856 PyObject * _argo0 = 0;
10857 char *_kwnames[] = { "self", NULL };
10858
10859 self = self;
10860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetKind",_kwnames,&_argo0))
10861 return NULL;
10862 if (_argo0) {
10863 if (_argo0 == Py_None) { _arg0 = NULL; }
10864 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
10865 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetKind. Expected _wxMenuItem_p.");
10866 return NULL;
10867 }
10868 }
10869{
10870 PyThreadState* __tstate = wxPyBeginAllowThreads();
10871 _result = (wxItemKind )wxMenuItem_GetKind(_arg0);
10872
10873 wxPyEndAllowThreads(__tstate);
10874 if (PyErr_Occurred()) return NULL;
10875} _resultobj = Py_BuildValue("i",_result);
10876 return _resultobj;
10877}
10878
10879#define wxMenuItem_SetCheckable(_swigobj,_swigarg0) (_swigobj->SetCheckable(_swigarg0))
10880static PyObject *_wrap_wxMenuItem_SetCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
10881 PyObject * _resultobj;
10882 wxMenuItem * _arg0;
10883 bool _arg1;
10884 PyObject * _argo0 = 0;
10885 int tempbool1;
10886 char *_kwnames[] = { "self","checkable", NULL };
10887
10888 self = self;
10889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuItem_SetCheckable",_kwnames,&_argo0,&tempbool1))
10890 return NULL;
10891 if (_argo0) {
10892 if (_argo0 == Py_None) { _arg0 = NULL; }
10893 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
10894 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetCheckable. Expected _wxMenuItem_p.");
10895 return NULL;
10896 }
10897 }
10898 _arg1 = (bool ) tempbool1;
10899{
10900 PyThreadState* __tstate = wxPyBeginAllowThreads();
10901 wxMenuItem_SetCheckable(_arg0,_arg1);
10902
10903 wxPyEndAllowThreads(__tstate);
10904 if (PyErr_Occurred()) return NULL;
10905} Py_INCREF(Py_None);
10906 _resultobj = Py_None;
10907 return _resultobj;
10908}
10909
10910#define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
10911static PyObject *_wrap_wxMenuItem_IsCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
10912 PyObject * _resultobj;
10913 bool _result;
10914 wxMenuItem * _arg0;
10915 PyObject * _argo0 = 0;
10916 char *_kwnames[] = { "self", NULL };
10917
10918 self = self;
10919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsCheckable",_kwnames,&_argo0))
10920 return NULL;
10921 if (_argo0) {
10922 if (_argo0 == Py_None) { _arg0 = NULL; }
10923 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
10924 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
10925 return NULL;
10926 }
10927 }
10928{
10929 PyThreadState* __tstate = wxPyBeginAllowThreads();
10930 _result = (bool )wxMenuItem_IsCheckable(_arg0);
10931
10932 wxPyEndAllowThreads(__tstate);
10933 if (PyErr_Occurred()) return NULL;
10934} _resultobj = Py_BuildValue("i",_result);
10935 return _resultobj;
10936}
10937
10938#define wxMenuItem_IsSubMenu(_swigobj) (_swigobj->IsSubMenu())
10939static PyObject *_wrap_wxMenuItem_IsSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
10940 PyObject * _resultobj;
10941 bool _result;
10942 wxMenuItem * _arg0;
10943 PyObject * _argo0 = 0;
10944 char *_kwnames[] = { "self", NULL };
10945
10946 self = self;
10947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsSubMenu",_kwnames,&_argo0))
10948 return NULL;
10949 if (_argo0) {
10950 if (_argo0 == Py_None) { _arg0 = NULL; }
10951 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
10952 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsSubMenu. Expected _wxMenuItem_p.");
10953 return NULL;
10954 }
10955 }
10956{
10957 PyThreadState* __tstate = wxPyBeginAllowThreads();
10958 _result = (bool )wxMenuItem_IsSubMenu(_arg0);
10959
10960 wxPyEndAllowThreads(__tstate);
10961 if (PyErr_Occurred()) return NULL;
10962} _resultobj = Py_BuildValue("i",_result);
10963 return _resultobj;
10964}
10965
10966#define wxMenuItem_SetSubMenu(_swigobj,_swigarg0) (_swigobj->SetSubMenu(_swigarg0))
10967static PyObject *_wrap_wxMenuItem_SetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
10968 PyObject * _resultobj;
10969 wxMenuItem * _arg0;
10970 wxMenu * _arg1;
10971 PyObject * _argo0 = 0;
10972 PyObject * _argo1 = 0;
10973 char *_kwnames[] = { "self","menu", NULL };
10974
10975 self = self;
10976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetSubMenu",_kwnames,&_argo0,&_argo1))
10977 return NULL;
10978 if (_argo0) {
10979 if (_argo0 == Py_None) { _arg0 = NULL; }
10980 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
10981 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetSubMenu. Expected _wxMenuItem_p.");
10982 return NULL;
10983 }
10984 }
10985 if (_argo1) {
10986 if (_argo1 == Py_None) { _arg1 = NULL; }
10987 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
10988 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenuItem_SetSubMenu. Expected _wxMenu_p.");
10989 return NULL;
10990 }
10991 }
10992{
10993 PyThreadState* __tstate = wxPyBeginAllowThreads();
10994 wxMenuItem_SetSubMenu(_arg0,_arg1);
10995
10996 wxPyEndAllowThreads(__tstate);
10997 if (PyErr_Occurred()) return NULL;
10998} Py_INCREF(Py_None);
10999 _resultobj = Py_None;
11000 return _resultobj;
11001}
11002
11003#define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
11004static PyObject *_wrap_wxMenuItem_GetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
11005 PyObject * _resultobj;
11006 wxMenu * _result;
11007 wxMenuItem * _arg0;
11008 PyObject * _argo0 = 0;
11009 char *_kwnames[] = { "self", NULL };
11010
11011 self = self;
11012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetSubMenu",_kwnames,&_argo0))
11013 return NULL;
11014 if (_argo0) {
11015 if (_argo0 == Py_None) { _arg0 = NULL; }
11016 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11017 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
11018 return NULL;
11019 }
11020 }
11021{
11022 PyThreadState* __tstate = wxPyBeginAllowThreads();
11023 _result = (wxMenu *)wxMenuItem_GetSubMenu(_arg0);
11024
11025 wxPyEndAllowThreads(__tstate);
11026 if (PyErr_Occurred()) return NULL;
11027}{ _resultobj = wxPyMake_wxObject(_result); }
11028 return _resultobj;
11029}
11030
11031#define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
11032static PyObject *_wrap_wxMenuItem_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
11033 PyObject * _resultobj;
11034 wxMenuItem * _arg0;
11035 bool _arg1 = (bool ) TRUE;
11036 PyObject * _argo0 = 0;
11037 int tempbool1 = (int) TRUE;
11038 char *_kwnames[] = { "self","enable", NULL };
11039
11040 self = self;
11041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxMenuItem_Enable",_kwnames,&_argo0,&tempbool1))
11042 return NULL;
11043 if (_argo0) {
11044 if (_argo0 == Py_None) { _arg0 = NULL; }
11045 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11046 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
11047 return NULL;
11048 }
11049 }
11050 _arg1 = (bool ) tempbool1;
11051{
11052 PyThreadState* __tstate = wxPyBeginAllowThreads();
11053 wxMenuItem_Enable(_arg0,_arg1);
11054
11055 wxPyEndAllowThreads(__tstate);
11056 if (PyErr_Occurred()) return NULL;
11057} Py_INCREF(Py_None);
11058 _resultobj = Py_None;
11059 return _resultobj;
11060}
11061
11062#define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
11063static PyObject *_wrap_wxMenuItem_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
11064 PyObject * _resultobj;
11065 bool _result;
11066 wxMenuItem * _arg0;
11067 PyObject * _argo0 = 0;
11068 char *_kwnames[] = { "self", NULL };
11069
11070 self = self;
11071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsEnabled",_kwnames,&_argo0))
11072 return NULL;
11073 if (_argo0) {
11074 if (_argo0 == Py_None) { _arg0 = NULL; }
11075 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11076 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
11077 return NULL;
11078 }
11079 }
11080{
11081 PyThreadState* __tstate = wxPyBeginAllowThreads();
11082 _result = (bool )wxMenuItem_IsEnabled(_arg0);
11083
11084 wxPyEndAllowThreads(__tstate);
11085 if (PyErr_Occurred()) return NULL;
11086} _resultobj = Py_BuildValue("i",_result);
11087 return _resultobj;
11088}
11089
11090#define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
11091static PyObject *_wrap_wxMenuItem_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
11092 PyObject * _resultobj;
11093 wxMenuItem * _arg0;
11094 bool _arg1 = (bool ) TRUE;
11095 PyObject * _argo0 = 0;
11096 int tempbool1 = (int) TRUE;
11097 char *_kwnames[] = { "self","check", NULL };
11098
11099 self = self;
11100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxMenuItem_Check",_kwnames,&_argo0,&tempbool1))
11101 return NULL;
11102 if (_argo0) {
11103 if (_argo0 == Py_None) { _arg0 = NULL; }
11104 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11105 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
11106 return NULL;
11107 }
11108 }
11109 _arg1 = (bool ) tempbool1;
11110{
11111 PyThreadState* __tstate = wxPyBeginAllowThreads();
11112 wxMenuItem_Check(_arg0,_arg1);
11113
11114 wxPyEndAllowThreads(__tstate);
11115 if (PyErr_Occurred()) return NULL;
11116} Py_INCREF(Py_None);
11117 _resultobj = Py_None;
11118 return _resultobj;
11119}
11120
11121#define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
11122static PyObject *_wrap_wxMenuItem_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
11123 PyObject * _resultobj;
11124 bool _result;
11125 wxMenuItem * _arg0;
11126 PyObject * _argo0 = 0;
11127 char *_kwnames[] = { "self", NULL };
11128
11129 self = self;
11130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsChecked",_kwnames,&_argo0))
11131 return NULL;
11132 if (_argo0) {
11133 if (_argo0 == Py_None) { _arg0 = NULL; }
11134 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11135 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
11136 return NULL;
11137 }
11138 }
11139{
11140 PyThreadState* __tstate = wxPyBeginAllowThreads();
11141 _result = (bool )wxMenuItem_IsChecked(_arg0);
11142
11143 wxPyEndAllowThreads(__tstate);
11144 if (PyErr_Occurred()) return NULL;
11145} _resultobj = Py_BuildValue("i",_result);
11146 return _resultobj;
11147}
11148
11149#define wxMenuItem_Toggle(_swigobj) (_swigobj->Toggle())
11150static PyObject *_wrap_wxMenuItem_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
11151 PyObject * _resultobj;
11152 wxMenuItem * _arg0;
11153 PyObject * _argo0 = 0;
11154 char *_kwnames[] = { "self", NULL };
11155
11156 self = self;
11157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_Toggle",_kwnames,&_argo0))
11158 return NULL;
11159 if (_argo0) {
11160 if (_argo0 == Py_None) { _arg0 = NULL; }
11161 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11162 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_Toggle. Expected _wxMenuItem_p.");
11163 return NULL;
11164 }
11165 }
11166{
11167 PyThreadState* __tstate = wxPyBeginAllowThreads();
11168 wxMenuItem_Toggle(_arg0);
11169
11170 wxPyEndAllowThreads(__tstate);
11171 if (PyErr_Occurred()) return NULL;
11172} Py_INCREF(Py_None);
11173 _resultobj = Py_None;
11174 return _resultobj;
11175}
11176
11177#define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
11178static PyObject *_wrap_wxMenuItem_SetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
11179 PyObject * _resultobj;
11180 wxMenuItem * _arg0;
11181 wxString * _arg1;
11182 PyObject * _argo0 = 0;
11183 PyObject * _obj1 = 0;
11184 char *_kwnames[] = { "self","str", NULL };
11185
11186 self = self;
11187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetHelp",_kwnames,&_argo0,&_obj1))
11188 return NULL;
11189 if (_argo0) {
11190 if (_argo0 == Py_None) { _arg0 = NULL; }
11191 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11192 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
11193 return NULL;
11194 }
11195 }
11196{
11197 _arg1 = wxString_in_helper(_obj1);
11198 if (_arg1 == NULL)
11199 return NULL;
11200}
11201{
11202 PyThreadState* __tstate = wxPyBeginAllowThreads();
11203 wxMenuItem_SetHelp(_arg0,*_arg1);
11204
11205 wxPyEndAllowThreads(__tstate);
11206 if (PyErr_Occurred()) return NULL;
11207} Py_INCREF(Py_None);
11208 _resultobj = Py_None;
11209{
11210 if (_obj1)
11211 delete _arg1;
11212}
11213 return _resultobj;
11214}
11215
11216#define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
11217static PyObject *_wrap_wxMenuItem_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
11218 PyObject * _resultobj;
11219 wxString * _result;
11220 wxMenuItem * _arg0;
11221 PyObject * _argo0 = 0;
11222 char *_kwnames[] = { "self", NULL };
11223
11224 self = self;
11225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetHelp",_kwnames,&_argo0))
11226 return NULL;
11227 if (_argo0) {
11228 if (_argo0 == Py_None) { _arg0 = NULL; }
11229 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11230 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
11231 return NULL;
11232 }
11233 }
11234{
11235 PyThreadState* __tstate = wxPyBeginAllowThreads();
11236 const wxString & _result_ref = wxMenuItem_GetHelp(_arg0);
11237 _result = (wxString *) &_result_ref;
11238
11239 wxPyEndAllowThreads(__tstate);
11240 if (PyErr_Occurred()) return NULL;
11241}{
11242#if wxUSE_UNICODE
11243 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
11244#else
11245 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
11246#endif
11247}
11248 return _resultobj;
11249}
11250
11251#define wxMenuItem_GetAccel(_swigobj) (_swigobj->GetAccel())
11252static PyObject *_wrap_wxMenuItem_GetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
11253 PyObject * _resultobj;
11254 wxAcceleratorEntry * _result;
11255 wxMenuItem * _arg0;
11256 PyObject * _argo0 = 0;
11257 char *_kwnames[] = { "self", NULL };
11258 char _ptemp[128];
11259
11260 self = self;
11261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetAccel",_kwnames,&_argo0))
11262 return NULL;
11263 if (_argo0) {
11264 if (_argo0 == Py_None) { _arg0 = NULL; }
11265 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11266 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetAccel. Expected _wxMenuItem_p.");
11267 return NULL;
11268 }
11269 }
11270{
11271 PyThreadState* __tstate = wxPyBeginAllowThreads();
11272 _result = (wxAcceleratorEntry *)wxMenuItem_GetAccel(_arg0);
11273
11274 wxPyEndAllowThreads(__tstate);
11275 if (PyErr_Occurred()) return NULL;
11276} if (_result) {
11277 SWIG_MakePtr(_ptemp, (char *) _result,"_wxAcceleratorEntry_p");
11278 _resultobj = Py_BuildValue("s",_ptemp);
11279 } else {
11280 Py_INCREF(Py_None);
11281 _resultobj = Py_None;
11282 }
11283 return _resultobj;
11284}
11285
11286#define wxMenuItem_SetAccel(_swigobj,_swigarg0) (_swigobj->SetAccel(_swigarg0))
11287static PyObject *_wrap_wxMenuItem_SetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
11288 PyObject * _resultobj;
11289 wxMenuItem * _arg0;
11290 wxAcceleratorEntry * _arg1;
11291 PyObject * _argo0 = 0;
11292 PyObject * _argo1 = 0;
11293 char *_kwnames[] = { "self","accel", NULL };
11294
11295 self = self;
11296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetAccel",_kwnames,&_argo0,&_argo1))
11297 return NULL;
11298 if (_argo0) {
11299 if (_argo0 == Py_None) { _arg0 = NULL; }
11300 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11301 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetAccel. Expected _wxMenuItem_p.");
11302 return NULL;
11303 }
11304 }
11305 if (_argo1) {
11306 if (_argo1 == Py_None) { _arg1 = NULL; }
11307 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxAcceleratorEntry_p")) {
11308 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenuItem_SetAccel. Expected _wxAcceleratorEntry_p.");
11309 return NULL;
11310 }
11311 }
11312{
11313 PyThreadState* __tstate = wxPyBeginAllowThreads();
11314 wxMenuItem_SetAccel(_arg0,_arg1);
11315
11316 wxPyEndAllowThreads(__tstate);
11317 if (PyErr_Occurred()) return NULL;
11318} Py_INCREF(Py_None);
11319 _resultobj = Py_None;
11320 return _resultobj;
11321}
11322
11323static PyObject *_wrap_wxMenuItem_GetLabelFromText(PyObject *self, PyObject *args, PyObject *kwargs) {
11324 PyObject * _resultobj;
11325 wxString * _result;
11326 wxString * _arg0;
11327 PyObject * _obj0 = 0;
11328 char *_kwnames[] = { "text", NULL };
11329
11330 self = self;
11331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetLabelFromText",_kwnames,&_obj0))
11332 return NULL;
11333{
11334 _arg0 = wxString_in_helper(_obj0);
11335 if (_arg0 == NULL)
11336 return NULL;
11337}
11338{
11339 PyThreadState* __tstate = wxPyBeginAllowThreads();
11340 _result = new wxString (wxMenuItem::GetLabelFromText(*_arg0));
11341
11342 wxPyEndAllowThreads(__tstate);
11343 if (PyErr_Occurred()) return NULL;
11344}{
11345#if wxUSE_UNICODE
11346 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
11347#else
11348 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
11349#endif
11350}
11351{
11352 if (_obj0)
11353 delete _arg0;
11354}
11355{
11356 delete _result;
11357}
11358 return _resultobj;
11359}
11360
11361#define wxMenuItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
11362static PyObject *_wrap_wxMenuItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11363 PyObject * _resultobj;
11364 wxMenuItem * _arg0;
11365 wxFont * _arg1;
11366 PyObject * _argo0 = 0;
11367 PyObject * _argo1 = 0;
11368 char *_kwnames[] = { "self","font", NULL };
11369
11370 self = self;
11371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetFont",_kwnames,&_argo0,&_argo1))
11372 return NULL;
11373 if (_argo0) {
11374 if (_argo0 == Py_None) { _arg0 = NULL; }
11375 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11376 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetFont. Expected _wxMenuItem_p.");
11377 return NULL;
11378 }
11379 }
11380 if (_argo1) {
11381 if (_argo1 == Py_None) { _arg1 = NULL; }
11382 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
11383 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenuItem_SetFont. Expected _wxFont_p.");
11384 return NULL;
11385 }
11386 }
11387{
11388 PyThreadState* __tstate = wxPyBeginAllowThreads();
11389 wxMenuItem_SetFont(_arg0,*_arg1);
11390
11391 wxPyEndAllowThreads(__tstate);
11392 if (PyErr_Occurred()) return NULL;
11393} Py_INCREF(Py_None);
11394 _resultobj = Py_None;
11395 return _resultobj;
11396}
11397
11398#define wxMenuItem_GetFont(_swigobj) (_swigobj->GetFont())
11399static PyObject *_wrap_wxMenuItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11400 PyObject * _resultobj;
11401 wxFont * _result;
11402 wxMenuItem * _arg0;
11403 PyObject * _argo0 = 0;
11404 char *_kwnames[] = { "self", NULL };
11405 char _ptemp[128];
11406
11407 self = self;
11408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetFont",_kwnames,&_argo0))
11409 return NULL;
11410 if (_argo0) {
11411 if (_argo0 == Py_None) { _arg0 = NULL; }
11412 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11413 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetFont. Expected _wxMenuItem_p.");
11414 return NULL;
11415 }
11416 }
11417{
11418 PyThreadState* __tstate = wxPyBeginAllowThreads();
11419 _result = new wxFont (wxMenuItem_GetFont(_arg0));
11420
11421 wxPyEndAllowThreads(__tstate);
11422 if (PyErr_Occurred()) return NULL;
11423} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
11424 _resultobj = Py_BuildValue("s",_ptemp);
11425 return _resultobj;
11426}
11427
11428#define wxMenuItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
11429static PyObject *_wrap_wxMenuItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11430 PyObject * _resultobj;
11431 wxMenuItem * _arg0;
11432 wxColour * _arg1;
11433 PyObject * _argo0 = 0;
11434 wxColour temp;
11435 PyObject * _obj1 = 0;
11436 char *_kwnames[] = { "self","colText", NULL };
11437
11438 self = self;
11439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetTextColour",_kwnames,&_argo0,&_obj1))
11440 return NULL;
11441 if (_argo0) {
11442 if (_argo0 == Py_None) { _arg0 = NULL; }
11443 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11444 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetTextColour. Expected _wxMenuItem_p.");
11445 return NULL;
11446 }
11447 }
11448{
11449 _arg1 = &temp;
11450 if (! wxColour_helper(_obj1, &_arg1))
11451 return NULL;
11452}
11453{
11454 PyThreadState* __tstate = wxPyBeginAllowThreads();
11455 wxMenuItem_SetTextColour(_arg0,*_arg1);
11456
11457 wxPyEndAllowThreads(__tstate);
11458 if (PyErr_Occurred()) return NULL;
11459} Py_INCREF(Py_None);
11460 _resultobj = Py_None;
11461 return _resultobj;
11462}
11463
11464#define wxMenuItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
11465static PyObject *_wrap_wxMenuItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11466 PyObject * _resultobj;
11467 wxColour * _result;
11468 wxMenuItem * _arg0;
11469 PyObject * _argo0 = 0;
11470 char *_kwnames[] = { "self", NULL };
11471 char _ptemp[128];
11472
11473 self = self;
11474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetTextColour",_kwnames,&_argo0))
11475 return NULL;
11476 if (_argo0) {
11477 if (_argo0 == Py_None) { _arg0 = NULL; }
11478 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11479 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetTextColour. Expected _wxMenuItem_p.");
11480 return NULL;
11481 }
11482 }
11483{
11484 PyThreadState* __tstate = wxPyBeginAllowThreads();
11485 _result = new wxColour (wxMenuItem_GetTextColour(_arg0));
11486
11487 wxPyEndAllowThreads(__tstate);
11488 if (PyErr_Occurred()) return NULL;
11489} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
11490 _resultobj = Py_BuildValue("s",_ptemp);
11491 return _resultobj;
11492}
11493
11494#define wxMenuItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
11495static PyObject *_wrap_wxMenuItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11496 PyObject * _resultobj;
11497 wxMenuItem * _arg0;
11498 wxColour * _arg1;
11499 PyObject * _argo0 = 0;
11500 wxColour temp;
11501 PyObject * _obj1 = 0;
11502 char *_kwnames[] = { "self","colBack", NULL };
11503
11504 self = self;
11505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
11506 return NULL;
11507 if (_argo0) {
11508 if (_argo0 == Py_None) { _arg0 = NULL; }
11509 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11510 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetBackgroundColour. Expected _wxMenuItem_p.");
11511 return NULL;
11512 }
11513 }
11514{
11515 _arg1 = &temp;
11516 if (! wxColour_helper(_obj1, &_arg1))
11517 return NULL;
11518}
11519{
11520 PyThreadState* __tstate = wxPyBeginAllowThreads();
11521 wxMenuItem_SetBackgroundColour(_arg0,*_arg1);
11522
11523 wxPyEndAllowThreads(__tstate);
11524 if (PyErr_Occurred()) return NULL;
11525} Py_INCREF(Py_None);
11526 _resultobj = Py_None;
11527 return _resultobj;
11528}
11529
11530#define wxMenuItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
11531static PyObject *_wrap_wxMenuItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11532 PyObject * _resultobj;
11533 wxColour * _result;
11534 wxMenuItem * _arg0;
11535 PyObject * _argo0 = 0;
11536 char *_kwnames[] = { "self", NULL };
11537 char _ptemp[128];
11538
11539 self = self;
11540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetBackgroundColour",_kwnames,&_argo0))
11541 return NULL;
11542 if (_argo0) {
11543 if (_argo0 == Py_None) { _arg0 = NULL; }
11544 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11545 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetBackgroundColour. Expected _wxMenuItem_p.");
11546 return NULL;
11547 }
11548 }
11549{
11550 PyThreadState* __tstate = wxPyBeginAllowThreads();
11551 _result = new wxColour (wxMenuItem_GetBackgroundColour(_arg0));
11552
11553 wxPyEndAllowThreads(__tstate);
11554 if (PyErr_Occurred()) return NULL;
11555} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
11556 _resultobj = Py_BuildValue("s",_ptemp);
11557 return _resultobj;
11558}
11559
11560#define wxMenuItem_SetBitmaps(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBitmaps(_swigarg0,_swigarg1))
11561static PyObject *_wrap_wxMenuItem_SetBitmaps(PyObject *self, PyObject *args, PyObject *kwargs) {
11562 PyObject * _resultobj;
11563 wxMenuItem * _arg0;
11564 wxBitmap * _arg1;
11565 wxBitmap * _arg2 = (wxBitmap *) &wxNullBitmap;
11566 PyObject * _argo0 = 0;
11567 PyObject * _argo1 = 0;
11568 PyObject * _argo2 = 0;
11569 char *_kwnames[] = { "self","bmpChecked","bmpUnchecked", NULL };
11570
11571 self = self;
11572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxMenuItem_SetBitmaps",_kwnames,&_argo0,&_argo1,&_argo2))
11573 return NULL;
11574 if (_argo0) {
11575 if (_argo0 == Py_None) { _arg0 = NULL; }
11576 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11577 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetBitmaps. Expected _wxMenuItem_p.");
11578 return NULL;
11579 }
11580 }
11581 if (_argo1) {
11582 if (_argo1 == Py_None) { _arg1 = NULL; }
11583 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
11584 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenuItem_SetBitmaps. Expected _wxBitmap_p.");
11585 return NULL;
11586 }
11587 }
11588 if (_argo2) {
11589 if (_argo2 == Py_None) { _arg2 = NULL; }
11590 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) {
11591 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxMenuItem_SetBitmaps. Expected _wxBitmap_p.");
11592 return NULL;
11593 }
11594 }
11595{
11596 PyThreadState* __tstate = wxPyBeginAllowThreads();
11597 wxMenuItem_SetBitmaps(_arg0,*_arg1,*_arg2);
11598
11599 wxPyEndAllowThreads(__tstate);
11600 if (PyErr_Occurred()) return NULL;
11601} Py_INCREF(Py_None);
11602 _resultobj = Py_None;
11603 return _resultobj;
11604}
11605
11606#define wxMenuItem_SetMarginWidth(_swigobj,_swigarg0) (_swigobj->SetMarginWidth(_swigarg0))
11607static PyObject *_wrap_wxMenuItem_SetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
11608 PyObject * _resultobj;
11609 wxMenuItem * _arg0;
11610 int _arg1;
11611 PyObject * _argo0 = 0;
11612 char *_kwnames[] = { "self","nWidth", NULL };
11613
11614 self = self;
11615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuItem_SetMarginWidth",_kwnames,&_argo0,&_arg1))
11616 return NULL;
11617 if (_argo0) {
11618 if (_argo0 == Py_None) { _arg0 = NULL; }
11619 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11620 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetMarginWidth. Expected _wxMenuItem_p.");
11621 return NULL;
11622 }
11623 }
11624{
11625 PyThreadState* __tstate = wxPyBeginAllowThreads();
11626 wxMenuItem_SetMarginWidth(_arg0,_arg1);
11627
11628 wxPyEndAllowThreads(__tstate);
11629 if (PyErr_Occurred()) return NULL;
11630} Py_INCREF(Py_None);
11631 _resultobj = Py_None;
11632 return _resultobj;
11633}
11634
11635#define wxMenuItem_GetMarginWidth(_swigobj) (_swigobj->GetMarginWidth())
11636static PyObject *_wrap_wxMenuItem_GetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
11637 PyObject * _resultobj;
11638 int _result;
11639 wxMenuItem * _arg0;
11640 PyObject * _argo0 = 0;
11641 char *_kwnames[] = { "self", NULL };
11642
11643 self = self;
11644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetMarginWidth",_kwnames,&_argo0))
11645 return NULL;
11646 if (_argo0) {
11647 if (_argo0 == Py_None) { _arg0 = NULL; }
11648 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11649 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetMarginWidth. Expected _wxMenuItem_p.");
11650 return NULL;
11651 }
11652 }
11653{
11654 PyThreadState* __tstate = wxPyBeginAllowThreads();
11655 _result = (int )wxMenuItem_GetMarginWidth(_arg0);
11656
11657 wxPyEndAllowThreads(__tstate);
11658 if (PyErr_Occurred()) return NULL;
11659} _resultobj = Py_BuildValue("i",_result);
11660 return _resultobj;
11661}
11662
11663static PyObject *_wrap_wxMenuItem_GetDefaultMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
11664 PyObject * _resultobj;
11665 int _result;
11666 char *_kwnames[] = { NULL };
11667
11668 self = self;
11669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxMenuItem_GetDefaultMarginWidth",_kwnames))
11670 return NULL;
11671{
11672 PyThreadState* __tstate = wxPyBeginAllowThreads();
11673 _result = (int )wxMenuItem::GetDefaultMarginWidth();
11674
11675 wxPyEndAllowThreads(__tstate);
11676 if (PyErr_Occurred()) return NULL;
11677} _resultobj = Py_BuildValue("i",_result);
11678 return _resultobj;
11679}
11680
11681#define wxMenuItem_IsOwnerDrawn(_swigobj) (_swigobj->IsOwnerDrawn())
11682static PyObject *_wrap_wxMenuItem_IsOwnerDrawn(PyObject *self, PyObject *args, PyObject *kwargs) {
11683 PyObject * _resultobj;
11684 bool _result;
11685 wxMenuItem * _arg0;
11686 PyObject * _argo0 = 0;
11687 char *_kwnames[] = { "self", NULL };
11688
11689 self = self;
11690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_IsOwnerDrawn",_kwnames,&_argo0))
11691 return NULL;
11692 if (_argo0) {
11693 if (_argo0 == Py_None) { _arg0 = NULL; }
11694 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11695 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_IsOwnerDrawn. Expected _wxMenuItem_p.");
11696 return NULL;
11697 }
11698 }
11699{
11700 PyThreadState* __tstate = wxPyBeginAllowThreads();
11701 _result = (bool )wxMenuItem_IsOwnerDrawn(_arg0);
11702
11703 wxPyEndAllowThreads(__tstate);
11704 if (PyErr_Occurred()) return NULL;
11705} _resultobj = Py_BuildValue("i",_result);
11706 return _resultobj;
11707}
11708
11709#define wxMenuItem_ResetOwnerDrawn(_swigobj) (_swigobj->ResetOwnerDrawn())
11710static PyObject *_wrap_wxMenuItem_ResetOwnerDrawn(PyObject *self, PyObject *args, PyObject *kwargs) {
11711 PyObject * _resultobj;
11712 wxMenuItem * _arg0;
11713 PyObject * _argo0 = 0;
11714 char *_kwnames[] = { "self", NULL };
11715
11716 self = self;
11717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_ResetOwnerDrawn",_kwnames,&_argo0))
11718 return NULL;
11719 if (_argo0) {
11720 if (_argo0 == Py_None) { _arg0 = NULL; }
11721 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11722 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_ResetOwnerDrawn. Expected _wxMenuItem_p.");
11723 return NULL;
11724 }
11725 }
11726{
11727 PyThreadState* __tstate = wxPyBeginAllowThreads();
11728 wxMenuItem_ResetOwnerDrawn(_arg0);
11729
11730 wxPyEndAllowThreads(__tstate);
11731 if (PyErr_Occurred()) return NULL;
11732} Py_INCREF(Py_None);
11733 _resultobj = Py_None;
11734 return _resultobj;
11735}
11736
11737#define wxMenuItem_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
11738static PyObject *_wrap_wxMenuItem_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
11739 PyObject * _resultobj;
11740 wxMenuItem * _arg0;
11741 wxBitmap * _arg1;
11742 PyObject * _argo0 = 0;
11743 PyObject * _argo1 = 0;
11744 char *_kwnames[] = { "self","bitmap", NULL };
11745
11746 self = self;
11747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenuItem_SetBitmap",_kwnames,&_argo0,&_argo1))
11748 return NULL;
11749 if (_argo0) {
11750 if (_argo0 == Py_None) { _arg0 = NULL; }
11751 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11752 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_SetBitmap. Expected _wxMenuItem_p.");
11753 return NULL;
11754 }
11755 }
11756 if (_argo1) {
11757 if (_argo1 == Py_None) { _arg1 = NULL; }
11758 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
11759 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMenuItem_SetBitmap. Expected _wxBitmap_p.");
11760 return NULL;
11761 }
11762 }
11763{
11764 PyThreadState* __tstate = wxPyBeginAllowThreads();
11765 wxMenuItem_SetBitmap(_arg0,*_arg1);
11766
11767 wxPyEndAllowThreads(__tstate);
11768 if (PyErr_Occurred()) return NULL;
11769} Py_INCREF(Py_None);
11770 _resultobj = Py_None;
11771 return _resultobj;
11772}
11773
11774#define wxMenuItem_GetBitmap(_swigobj) (_swigobj->GetBitmap())
11775static PyObject *_wrap_wxMenuItem_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
11776 PyObject * _resultobj;
11777 wxBitmap * _result;
11778 wxMenuItem * _arg0;
11779 PyObject * _argo0 = 0;
11780 char *_kwnames[] = { "self", NULL };
11781 char _ptemp[128];
11782
11783 self = self;
11784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetBitmap",_kwnames,&_argo0))
11785 return NULL;
11786 if (_argo0) {
11787 if (_argo0 == Py_None) { _arg0 = NULL; }
11788 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMenuItem_p")) {
11789 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMenuItem_GetBitmap. Expected _wxMenuItem_p.");
11790 return NULL;
11791 }
11792 }
11793{
11794 PyThreadState* __tstate = wxPyBeginAllowThreads();
11795 const wxBitmap & _result_ref = wxMenuItem_GetBitmap(_arg0);
11796 _result = (wxBitmap *) &_result_ref;
11797
11798 wxPyEndAllowThreads(__tstate);
11799 if (PyErr_Occurred()) return NULL;
11800} if (_result) {
11801 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
11802 _resultobj = Py_BuildValue("s",_ptemp);
11803 } else {
11804 Py_INCREF(Py_None);
11805 _resultobj = Py_None;
11806 }
11807 return _resultobj;
11808}
11809
11810static PyMethodDef windowscMethods[] = {
11811 { "wxMenuItem_GetBitmap", (PyCFunction) _wrap_wxMenuItem_GetBitmap, METH_VARARGS | METH_KEYWORDS },
11812 { "wxMenuItem_SetBitmap", (PyCFunction) _wrap_wxMenuItem_SetBitmap, METH_VARARGS | METH_KEYWORDS },
11813 { "wxMenuItem_ResetOwnerDrawn", (PyCFunction) _wrap_wxMenuItem_ResetOwnerDrawn, METH_VARARGS | METH_KEYWORDS },
11814 { "wxMenuItem_IsOwnerDrawn", (PyCFunction) _wrap_wxMenuItem_IsOwnerDrawn, METH_VARARGS | METH_KEYWORDS },
11815 { "wxMenuItem_GetDefaultMarginWidth", (PyCFunction) _wrap_wxMenuItem_GetDefaultMarginWidth, METH_VARARGS | METH_KEYWORDS },
11816 { "wxMenuItem_GetMarginWidth", (PyCFunction) _wrap_wxMenuItem_GetMarginWidth, METH_VARARGS | METH_KEYWORDS },
11817 { "wxMenuItem_SetMarginWidth", (PyCFunction) _wrap_wxMenuItem_SetMarginWidth, METH_VARARGS | METH_KEYWORDS },
11818 { "wxMenuItem_SetBitmaps", (PyCFunction) _wrap_wxMenuItem_SetBitmaps, METH_VARARGS | METH_KEYWORDS },
11819 { "wxMenuItem_GetBackgroundColour", (PyCFunction) _wrap_wxMenuItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11820 { "wxMenuItem_SetBackgroundColour", (PyCFunction) _wrap_wxMenuItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11821 { "wxMenuItem_GetTextColour", (PyCFunction) _wrap_wxMenuItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
11822 { "wxMenuItem_SetTextColour", (PyCFunction) _wrap_wxMenuItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
11823 { "wxMenuItem_GetFont", (PyCFunction) _wrap_wxMenuItem_GetFont, METH_VARARGS | METH_KEYWORDS },
11824 { "wxMenuItem_SetFont", (PyCFunction) _wrap_wxMenuItem_SetFont, METH_VARARGS | METH_KEYWORDS },
11825 { "wxMenuItem_GetLabelFromText", (PyCFunction) _wrap_wxMenuItem_GetLabelFromText, METH_VARARGS | METH_KEYWORDS },
11826 { "wxMenuItem_SetAccel", (PyCFunction) _wrap_wxMenuItem_SetAccel, METH_VARARGS | METH_KEYWORDS },
11827 { "wxMenuItem_GetAccel", (PyCFunction) _wrap_wxMenuItem_GetAccel, METH_VARARGS | METH_KEYWORDS },
11828 { "wxMenuItem_GetHelp", (PyCFunction) _wrap_wxMenuItem_GetHelp, METH_VARARGS | METH_KEYWORDS },
11829 { "wxMenuItem_SetHelp", (PyCFunction) _wrap_wxMenuItem_SetHelp, METH_VARARGS | METH_KEYWORDS },
11830 { "wxMenuItem_Toggle", (PyCFunction) _wrap_wxMenuItem_Toggle, METH_VARARGS | METH_KEYWORDS },
11831 { "wxMenuItem_IsChecked", (PyCFunction) _wrap_wxMenuItem_IsChecked, METH_VARARGS | METH_KEYWORDS },
11832 { "wxMenuItem_Check", (PyCFunction) _wrap_wxMenuItem_Check, METH_VARARGS | METH_KEYWORDS },
11833 { "wxMenuItem_IsEnabled", (PyCFunction) _wrap_wxMenuItem_IsEnabled, METH_VARARGS | METH_KEYWORDS },
11834 { "wxMenuItem_Enable", (PyCFunction) _wrap_wxMenuItem_Enable, METH_VARARGS | METH_KEYWORDS },
11835 { "wxMenuItem_GetSubMenu", (PyCFunction) _wrap_wxMenuItem_GetSubMenu, METH_VARARGS | METH_KEYWORDS },
11836 { "wxMenuItem_SetSubMenu", (PyCFunction) _wrap_wxMenuItem_SetSubMenu, METH_VARARGS | METH_KEYWORDS },
11837 { "wxMenuItem_IsSubMenu", (PyCFunction) _wrap_wxMenuItem_IsSubMenu, METH_VARARGS | METH_KEYWORDS },
11838 { "wxMenuItem_IsCheckable", (PyCFunction) _wrap_wxMenuItem_IsCheckable, METH_VARARGS | METH_KEYWORDS },
11839 { "wxMenuItem_SetCheckable", (PyCFunction) _wrap_wxMenuItem_SetCheckable, METH_VARARGS | METH_KEYWORDS },
11840 { "wxMenuItem_GetKind", (PyCFunction) _wrap_wxMenuItem_GetKind, METH_VARARGS | METH_KEYWORDS },
11841 { "wxMenuItem_GetText", (PyCFunction) _wrap_wxMenuItem_GetText, METH_VARARGS | METH_KEYWORDS },
11842 { "wxMenuItem_GetLabel", (PyCFunction) _wrap_wxMenuItem_GetLabel, METH_VARARGS | METH_KEYWORDS },
11843 { "wxMenuItem_SetText", (PyCFunction) _wrap_wxMenuItem_SetText, METH_VARARGS | METH_KEYWORDS },
11844 { "wxMenuItem_IsSeparator", (PyCFunction) _wrap_wxMenuItem_IsSeparator, METH_VARARGS | METH_KEYWORDS },
11845 { "wxMenuItem_GetId", (PyCFunction) _wrap_wxMenuItem_GetId, METH_VARARGS | METH_KEYWORDS },
11846 { "wxMenuItem_SetId", (PyCFunction) _wrap_wxMenuItem_SetId, METH_VARARGS | METH_KEYWORDS },
11847 { "wxMenuItem_GetMenu", (PyCFunction) _wrap_wxMenuItem_GetMenu, METH_VARARGS | METH_KEYWORDS },
11848 { "new_wxMenuItem", (PyCFunction) _wrap_new_wxMenuItem, METH_VARARGS | METH_KEYWORDS },
11849 { "wxMenuBar_GetHelpString", (PyCFunction) _wrap_wxMenuBar_GetHelpString, METH_VARARGS | METH_KEYWORDS },
11850 { "wxMenuBar_SetHelpString", (PyCFunction) _wrap_wxMenuBar_SetHelpString, METH_VARARGS | METH_KEYWORDS },
11851 { "wxMenuBar_GetLabel", (PyCFunction) _wrap_wxMenuBar_GetLabel, METH_VARARGS | METH_KEYWORDS },
11852 { "wxMenuBar_SetLabel", (PyCFunction) _wrap_wxMenuBar_SetLabel, METH_VARARGS | METH_KEYWORDS },
11853 { "wxMenuBar_IsEnabled", (PyCFunction) _wrap_wxMenuBar_IsEnabled, METH_VARARGS | METH_KEYWORDS },
11854 { "wxMenuBar_IsChecked", (PyCFunction) _wrap_wxMenuBar_IsChecked, METH_VARARGS | METH_KEYWORDS },
11855 { "wxMenuBar_Check", (PyCFunction) _wrap_wxMenuBar_Check, METH_VARARGS | METH_KEYWORDS },
11856 { "wxMenuBar_Enable", (PyCFunction) _wrap_wxMenuBar_Enable, METH_VARARGS | METH_KEYWORDS },
11857 { "wxMenuBar_FindItemById", (PyCFunction) _wrap_wxMenuBar_FindItemById, METH_VARARGS | METH_KEYWORDS },
11858 { "wxMenuBar_FindMenuItem", (PyCFunction) _wrap_wxMenuBar_FindMenuItem, METH_VARARGS | METH_KEYWORDS },
11859 { "wxMenuBar_FindMenu", (PyCFunction) _wrap_wxMenuBar_FindMenu, METH_VARARGS | METH_KEYWORDS },
11860 { "wxMenuBar_GetLabelTop", (PyCFunction) _wrap_wxMenuBar_GetLabelTop, METH_VARARGS | METH_KEYWORDS },
11861 { "wxMenuBar_SetLabelTop", (PyCFunction) _wrap_wxMenuBar_SetLabelTop, METH_VARARGS | METH_KEYWORDS },
11862 { "wxMenuBar_EnableTop", (PyCFunction) _wrap_wxMenuBar_EnableTop, METH_VARARGS | METH_KEYWORDS },
11863 { "wxMenuBar_Remove", (PyCFunction) _wrap_wxMenuBar_Remove, METH_VARARGS | METH_KEYWORDS },
11864 { "wxMenuBar_Replace", (PyCFunction) _wrap_wxMenuBar_Replace, METH_VARARGS | METH_KEYWORDS },
11865 { "wxMenuBar_GetMenu", (PyCFunction) _wrap_wxMenuBar_GetMenu, METH_VARARGS | METH_KEYWORDS },
11866 { "wxMenuBar_GetMenuCount", (PyCFunction) _wrap_wxMenuBar_GetMenuCount, METH_VARARGS | METH_KEYWORDS },
11867 { "wxMenuBar_Insert", (PyCFunction) _wrap_wxMenuBar_Insert, METH_VARARGS | METH_KEYWORDS },
11868 { "wxMenuBar_Append", (PyCFunction) _wrap_wxMenuBar_Append, METH_VARARGS | METH_KEYWORDS },
11869 { "new_wxMenuBar", (PyCFunction) _wrap_new_wxMenuBar, METH_VARARGS | METH_KEYWORDS },
11870 { "wxMenu_GetParent", (PyCFunction) _wrap_wxMenu_GetParent, METH_VARARGS | METH_KEYWORDS },
11871 { "wxMenu_SetParent", (PyCFunction) _wrap_wxMenu_SetParent, METH_VARARGS | METH_KEYWORDS },
11872 { "wxMenu_IsAttached", (PyCFunction) _wrap_wxMenu_IsAttached, METH_VARARGS | METH_KEYWORDS },
11873 { "wxMenu_GetStyle", (PyCFunction) _wrap_wxMenu_GetStyle, METH_VARARGS | METH_KEYWORDS },
11874 { "wxMenu_GetInvokingWindow", (PyCFunction) _wrap_wxMenu_GetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
11875 { "wxMenu_SetInvokingWindow", (PyCFunction) _wrap_wxMenu_SetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
11876 { "wxMenu_GetEventHandler", (PyCFunction) _wrap_wxMenu_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
11877 { "wxMenu_SetEventHandler", (PyCFunction) _wrap_wxMenu_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
11878 { "wxMenu_GetMenuItems", (PyCFunction) _wrap_wxMenu_GetMenuItems, METH_VARARGS | METH_KEYWORDS },
11879 { "wxMenu_GetMenuItemCount", (PyCFunction) _wrap_wxMenu_GetMenuItemCount, METH_VARARGS | METH_KEYWORDS },
11880 { "wxMenu_DestroyItem", (PyCFunction) _wrap_wxMenu_DestroyItem, METH_VARARGS | METH_KEYWORDS },
11881 { "wxMenu_DestroyId", (PyCFunction) _wrap_wxMenu_DestroyId, METH_VARARGS | METH_KEYWORDS },
11882 { "wxMenu_Destroy", (PyCFunction) _wrap_wxMenu_Destroy, METH_VARARGS | METH_KEYWORDS },
11883 { "wxMenu_RemoveItem", (PyCFunction) _wrap_wxMenu_RemoveItem, METH_VARARGS | METH_KEYWORDS },
11884 { "wxMenu_Remove", (PyCFunction) _wrap_wxMenu_Remove, METH_VARARGS | METH_KEYWORDS },
11885 { "wxMenu_DeleteItem", (PyCFunction) _wrap_wxMenu_DeleteItem, METH_VARARGS | METH_KEYWORDS },
11886 { "wxMenu_Delete", (PyCFunction) _wrap_wxMenu_Delete, METH_VARARGS | METH_KEYWORDS },
11887 { "wxMenu_UpdateUI", (PyCFunction) _wrap_wxMenu_UpdateUI, METH_VARARGS | METH_KEYWORDS },
11888 { "wxMenu_SetHelpString", (PyCFunction) _wrap_wxMenu_SetHelpString, METH_VARARGS | METH_KEYWORDS },
11889 { "wxMenu_GetHelpString", (PyCFunction) _wrap_wxMenu_GetHelpString, METH_VARARGS | METH_KEYWORDS },
11890 { "wxMenu_SetLabel", (PyCFunction) _wrap_wxMenu_SetLabel, METH_VARARGS | METH_KEYWORDS },
11891 { "wxMenu_GetLabel", (PyCFunction) _wrap_wxMenu_GetLabel, METH_VARARGS | METH_KEYWORDS },
11892 { "wxMenu_SetTitle", (PyCFunction) _wrap_wxMenu_SetTitle, METH_VARARGS | METH_KEYWORDS },
11893 { "wxMenu_GetTitle", (PyCFunction) _wrap_wxMenu_GetTitle, METH_VARARGS | METH_KEYWORDS },
11894 { "wxMenu_FindItemById", (PyCFunction) _wrap_wxMenu_FindItemById, METH_VARARGS | METH_KEYWORDS },
11895 { "wxMenu_FindItem", (PyCFunction) _wrap_wxMenu_FindItem, METH_VARARGS | METH_KEYWORDS },
11896 { "wxMenu_IsEnabled", (PyCFunction) _wrap_wxMenu_IsEnabled, METH_VARARGS | METH_KEYWORDS },
11897 { "wxMenu_Enable", (PyCFunction) _wrap_wxMenu_Enable, METH_VARARGS | METH_KEYWORDS },
11898 { "wxMenu_IsChecked", (PyCFunction) _wrap_wxMenu_IsChecked, METH_VARARGS | METH_KEYWORDS },
11899 { "wxMenu_Check", (PyCFunction) _wrap_wxMenu_Check, METH_VARARGS | METH_KEYWORDS },
11900 { "wxMenu_Break", (PyCFunction) _wrap_wxMenu_Break, METH_VARARGS | METH_KEYWORDS },
11901 { "wxMenu_PrependItem", (PyCFunction) _wrap_wxMenu_PrependItem, METH_VARARGS | METH_KEYWORDS },
11902 { "wxMenu_PrependMenu", (PyCFunction) _wrap_wxMenu_PrependMenu, METH_VARARGS | METH_KEYWORDS },
11903 { "wxMenu_PrependRadioItem", (PyCFunction) _wrap_wxMenu_PrependRadioItem, METH_VARARGS | METH_KEYWORDS },
11904 { "wxMenu_PrependCheckItem", (PyCFunction) _wrap_wxMenu_PrependCheckItem, METH_VARARGS | METH_KEYWORDS },
11905 { "wxMenu_PrependSeparator", (PyCFunction) _wrap_wxMenu_PrependSeparator, METH_VARARGS | METH_KEYWORDS },
11906 { "wxMenu_Prepend", (PyCFunction) _wrap_wxMenu_Prepend, METH_VARARGS | METH_KEYWORDS },
11907 { "wxMenu_InsertItem", (PyCFunction) _wrap_wxMenu_InsertItem, METH_VARARGS | METH_KEYWORDS },
11908 { "wxMenu_InsertMenu", (PyCFunction) _wrap_wxMenu_InsertMenu, METH_VARARGS | METH_KEYWORDS },
11909 { "wxMenu_InsertRadioItem", (PyCFunction) _wrap_wxMenu_InsertRadioItem, METH_VARARGS | METH_KEYWORDS },
11910 { "wxMenu_InsertCheckItem", (PyCFunction) _wrap_wxMenu_InsertCheckItem, METH_VARARGS | METH_KEYWORDS },
11911 { "wxMenu_InsertSeparator", (PyCFunction) _wrap_wxMenu_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
11912 { "wxMenu_Insert", (PyCFunction) _wrap_wxMenu_Insert, METH_VARARGS | METH_KEYWORDS },
11913 { "wxMenu_AppendSeparator", (PyCFunction) _wrap_wxMenu_AppendSeparator, METH_VARARGS | METH_KEYWORDS },
11914 { "wxMenu_AppendRadioItem", (PyCFunction) _wrap_wxMenu_AppendRadioItem, METH_VARARGS | METH_KEYWORDS },
11915 { "wxMenu_AppendCheckItem", (PyCFunction) _wrap_wxMenu_AppendCheckItem, METH_VARARGS | METH_KEYWORDS },
11916 { "wxMenu_AppendItem", (PyCFunction) _wrap_wxMenu_AppendItem, METH_VARARGS | METH_KEYWORDS },
11917 { "wxMenu_AppendMenu", (PyCFunction) _wrap_wxMenu_AppendMenu, METH_VARARGS | METH_KEYWORDS },
11918 { "wxMenu_Append", (PyCFunction) _wrap_wxMenu_Append, METH_VARARGS | METH_KEYWORDS },
11919 { "new_wxMenu", (PyCFunction) _wrap_new_wxMenu, METH_VARARGS | METH_KEYWORDS },
11920 { "wxScrolledWindow_SetScrollRate", (PyCFunction) _wrap_wxScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
11921 { "wxScrolledWindow_Layout", (PyCFunction) _wrap_wxScrolledWindow_Layout, METH_VARARGS | METH_KEYWORDS },
11922 { "wxScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_wxScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
11923 { "wxScrolledWindow_GetScaleY", (PyCFunction) _wrap_wxScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
11924 { "wxScrolledWindow_GetScaleX", (PyCFunction) _wrap_wxScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
11925 { "wxScrolledWindow_SetScale", (PyCFunction) _wrap_wxScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
11926 { "wxScrolledWindow_CalcUnscrolledPosition2", (PyCFunction) _wrap_wxScrolledWindow_CalcUnscrolledPosition2, METH_VARARGS | METH_KEYWORDS },
11927 { "wxScrolledWindow_CalcUnscrolledPosition1", (PyCFunction) _wrap_wxScrolledWindow_CalcUnscrolledPosition1, METH_VARARGS | METH_KEYWORDS },
11928 { "wxScrolledWindow_CalcScrolledPosition2", (PyCFunction) _wrap_wxScrolledWindow_CalcScrolledPosition2, METH_VARARGS | METH_KEYWORDS },
11929 { "wxScrolledWindow_CalcScrolledPosition1", (PyCFunction) _wrap_wxScrolledWindow_CalcScrolledPosition1, METH_VARARGS | METH_KEYWORDS },
11930 { "wxScrolledWindow_GetViewStart", (PyCFunction) _wrap_wxScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
11931 { "wxScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_wxScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
11932 { "wxScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_wxScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
11933 { "wxScrolledWindow_SetScrollbars", (PyCFunction) _wrap_wxScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
11934 { "wxScrolledWindow_Scroll", (PyCFunction) _wrap_wxScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
11935 { "wxScrolledWindow_PrepareDC", (PyCFunction) _wrap_wxScrolledWindow_PrepareDC, METH_VARARGS | METH_KEYWORDS },
11936 { "wxScrolledWindow_IsRetained", (PyCFunction) _wrap_wxScrolledWindow_IsRetained, METH_VARARGS | METH_KEYWORDS },
11937 { "wxScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_wxScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
11938 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
11939 { "wxScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_wxScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
11940 { "wxScrolledWindow_EnableScrolling", (PyCFunction) _wrap_wxScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
11941 { "wxScrolledWindow_Create", (PyCFunction) _wrap_wxScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
11942 { "new_wxPreScrolledWindow", (PyCFunction) _wrap_new_wxPreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
11943 { "new_wxScrolledWindow", (PyCFunction) _wrap_new_wxScrolledWindow, METH_VARARGS | METH_KEYWORDS },
11944 { "wxPanel_InitDialog", (PyCFunction) _wrap_wxPanel_InitDialog, METH_VARARGS | METH_KEYWORDS },
11945 { "wxPanel_Create", (PyCFunction) _wrap_wxPanel_Create, METH_VARARGS | METH_KEYWORDS },
11946 { "new_wxPrePanel", (PyCFunction) _wrap_new_wxPrePanel, METH_VARARGS | METH_KEYWORDS },
11947 { "new_wxPanel", (PyCFunction) _wrap_new_wxPanel, METH_VARARGS | METH_KEYWORDS },
11948 { "wxWindow_HasCapture", (PyCFunction) _wrap_wxWindow_HasCapture, METH_VARARGS | METH_KEYWORDS },
11949 { "wxWindow_GetCapture", (PyCFunction) _wrap_wxWindow_GetCapture, METH_VARARGS | METH_KEYWORDS },
11950 { "wxWindow_ReleaseMouse", (PyCFunction) _wrap_wxWindow_ReleaseMouse, METH_VARARGS | METH_KEYWORDS },
11951 { "wxWindow_CaptureMouse", (PyCFunction) _wrap_wxWindow_CaptureMouse, METH_VARARGS | METH_KEYWORDS },
11952 { "wxWindow_WarpPointer", (PyCFunction) _wrap_wxWindow_WarpPointer, METH_VARARGS | METH_KEYWORDS },
11953 { "wxWindow_SetTmpDefaultItem", (PyCFunction) _wrap_wxWindow_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS },
11954 { "wxWindow_SetDefaultItem", (PyCFunction) _wrap_wxWindow_SetDefaultItem, METH_VARARGS | METH_KEYWORDS },
11955 { "wxWindow_GetDefaultItem", (PyCFunction) _wrap_wxWindow_GetDefaultItem, METH_VARARGS | METH_KEYWORDS },
11956 { "wxWindow_OnPaint", (PyCFunction) _wrap_wxWindow_OnPaint, METH_VARARGS | METH_KEYWORDS },
11957 { "wxWindow_GetAcceleratorTable", (PyCFunction) _wrap_wxWindow_GetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
11958 { "wxWindow_SetAcceleratorTable", (PyCFunction) _wrap_wxWindow_SetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
11959 { "wxWindow_PrevControlId", (PyCFunction) _wrap_wxWindow_PrevControlId, METH_VARARGS | METH_KEYWORDS },
11960 { "wxWindow_NextControlId", (PyCFunction) _wrap_wxWindow_NextControlId, METH_VARARGS | METH_KEYWORDS },
11961 { "wxWindow_NewControlId", (PyCFunction) _wrap_wxWindow_NewControlId, METH_VARARGS | METH_KEYWORDS },
11962 { "wxWindow_FindFocus", (PyCFunction) _wrap_wxWindow_FindFocus, METH_VARARGS | METH_KEYWORDS },
11963 { "wxWindow_PageDown", (PyCFunction) _wrap_wxWindow_PageDown, METH_VARARGS | METH_KEYWORDS },
11964 { "wxWindow_PageUp", (PyCFunction) _wrap_wxWindow_PageUp, METH_VARARGS | METH_KEYWORDS },
11965 { "wxWindow_LineDown", (PyCFunction) _wrap_wxWindow_LineDown, METH_VARARGS | METH_KEYWORDS },
11966 { "wxWindow_LineUp", (PyCFunction) _wrap_wxWindow_LineUp, METH_VARARGS | METH_KEYWORDS },
11967 { "wxWindow_ScrollPages", (PyCFunction) _wrap_wxWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
11968 { "wxWindow_ScrollLines", (PyCFunction) _wrap_wxWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
11969 { "wxWindow_SetHelpTextForId", (PyCFunction) _wrap_wxWindow_SetHelpTextForId, METH_VARARGS | METH_KEYWORDS },
11970 { "wxWindow_SetHelpText", (PyCFunction) _wrap_wxWindow_SetHelpText, METH_VARARGS | METH_KEYWORDS },
11971 { "wxWindow_GetHelpText", (PyCFunction) _wrap_wxWindow_GetHelpText, METH_VARARGS | METH_KEYWORDS },
11972 { "wxWindow_Update", (PyCFunction) _wrap_wxWindow_Update, METH_VARARGS | METH_KEYWORDS },
11973 { "wxWindow_Thaw", (PyCFunction) _wrap_wxWindow_Thaw, METH_VARARGS | METH_KEYWORDS },
11974 { "wxWindow_Freeze", (PyCFunction) _wrap_wxWindow_Freeze, METH_VARARGS | METH_KEYWORDS },
11975 { "wxWindow_GetCaret", (PyCFunction) _wrap_wxWindow_GetCaret, METH_VARARGS | METH_KEYWORDS },
11976 { "wxWindow_SetCaret", (PyCFunction) _wrap_wxWindow_SetCaret, METH_VARARGS | METH_KEYWORDS },
11977 { "wxWindow_GetMaxSize", (PyCFunction) _wrap_wxWindow_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
11978 { "wxWindow_GetBestSize", (PyCFunction) _wrap_wxWindow_GetBestSize, METH_VARARGS | METH_KEYWORDS },
11979 { "wxWindow_GetDropTarget", (PyCFunction) _wrap_wxWindow_GetDropTarget, METH_VARARGS | METH_KEYWORDS },
11980 { "wxWindow_SetDropTarget", (PyCFunction) _wrap_wxWindow_SetDropTarget, METH_VARARGS | METH_KEYWORDS },
11981 { "wxWindow_SetValidator", (PyCFunction) _wrap_wxWindow_SetValidator, METH_VARARGS | METH_KEYWORDS },
11982 { "wxWindow_GetValidator", (PyCFunction) _wrap_wxWindow_GetValidator, METH_VARARGS | METH_KEYWORDS },
11983 { "wxWindow_GetContainingSizer", (PyCFunction) _wrap_wxWindow_GetContainingSizer, METH_VARARGS | METH_KEYWORDS },
11984 { "wxWindow_SetContainingSizer", (PyCFunction) _wrap_wxWindow_SetContainingSizer, METH_VARARGS | METH_KEYWORDS },
11985 { "wxWindow_GetSizer", (PyCFunction) _wrap_wxWindow_GetSizer, METH_VARARGS | METH_KEYWORDS },
11986 { "wxWindow_SetSizerAndFit", (PyCFunction) _wrap_wxWindow_SetSizerAndFit, METH_VARARGS | METH_KEYWORDS },
11987 { "wxWindow_SetSizer", (PyCFunction) _wrap_wxWindow_SetSizer, METH_VARARGS | METH_KEYWORDS },
11988 { "wxWindow_GetToolTip", (PyCFunction) _wrap_wxWindow_GetToolTip, METH_VARARGS | METH_KEYWORDS },
11989 { "wxWindow_SetToolTip", (PyCFunction) _wrap_wxWindow_SetToolTip, METH_VARARGS | METH_KEYWORDS },
11990 { "wxWindow_SetToolTipString", (PyCFunction) _wrap_wxWindow_SetToolTipString, METH_VARARGS | METH_KEYWORDS },
11991 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction) _wrap_wxWindow_ConvertPixelSizeToDialog, METH_VARARGS | METH_KEYWORDS },
11992 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction) _wrap_wxWindow_ConvertPixelPointToDialog, METH_VARARGS | METH_KEYWORDS },
11993 { "wxWindow_DLG_SZE", (PyCFunction) _wrap_wxWindow_ConvertDialogSizeToPixels, METH_VARARGS | METH_KEYWORDS },
11994 { "wxWindow_DLG_PNT", (PyCFunction) _wrap_wxWindow_ConvertDialogPointToPixels, METH_VARARGS | METH_KEYWORDS },
11995 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction) _wrap_wxWindow_ConvertDialogSizeToPixels, METH_VARARGS | METH_KEYWORDS },
11996 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction) _wrap_wxWindow_ConvertDialogPointToPixels, METH_VARARGS | METH_KEYWORDS },
11997 { "wxWindow_Validate", (PyCFunction) _wrap_wxWindow_Validate, METH_VARARGS | METH_KEYWORDS },
11998 { "wxWindow_UpdateWindowUI", (PyCFunction) _wrap_wxWindow_UpdateWindowUI, METH_VARARGS | METH_KEYWORDS },
11999 { "wxWindow_TransferDataToWindow", (PyCFunction) _wrap_wxWindow_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
12000 { "wxWindow_TransferDataFromWindow", (PyCFunction) _wrap_wxWindow_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
12001 { "wxWindow_Show", (PyCFunction) _wrap_wxWindow_Show, METH_VARARGS | METH_KEYWORDS },
12002 { "wxWindow_SetTitle", (PyCFunction) _wrap_wxWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
12003 { "wxWindow_SetExtraStyle", (PyCFunction) _wrap_wxWindow_SetExtraStyle, METH_VARARGS | METH_KEYWORDS },
12004 { "wxWindow_SetEventHandler", (PyCFunction) _wrap_wxWindow_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
12005 { "wxWindow_GetCursor", (PyCFunction) _wrap_wxWindow_GetCursor, METH_VARARGS | METH_KEYWORDS },
12006 { "wxWindow_SetCursor", (PyCFunction) _wrap_wxWindow_SetCursor, METH_VARARGS | METH_KEYWORDS },
12007 { "wxWindow_SetClientSize", (PyCFunction) _wrap_wxWindow_SetClientSize, METH_VARARGS | METH_KEYWORDS },
12008 { "wxWindow_SetClientSizeWH", (PyCFunction) _wrap_wxWindow_SetClientSizeWH, METH_VARARGS | METH_KEYWORDS },
12009 { "wxWindow_GetVirtualSizeTuple", (PyCFunction) _wrap_wxWindow_GetVirtualSizeTuple, METH_VARARGS | METH_KEYWORDS },
12010 { "wxWindow_GetVirtualSize", (PyCFunction) _wrap_wxWindow_GetVirtualSize, METH_VARARGS | METH_KEYWORDS },
12011 { "wxWindow_SetVirtualSizeWH", (PyCFunction) _wrap_wxWindow_SetVirtualSizeWH, METH_VARARGS | METH_KEYWORDS },
12012 { "wxWindow_SetVirtualSize", (PyCFunction) _wrap_wxWindow_SetVirtualSize, METH_VARARGS | METH_KEYWORDS },
12013 { "wxWindow_SetVirtualSizeHints", (PyCFunction) _wrap_wxWindow_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS },
12014 { "wxWindow_SetSizeHints", (PyCFunction) _wrap_wxWindow_SetSizeHints, METH_VARARGS | METH_KEYWORDS },
12015 { "wxWindow_SetRect", (PyCFunction) _wrap_wxWindow_SetRect, METH_VARARGS | METH_KEYWORDS },
12016 { "wxWindow_SetPosition", (PyCFunction) _wrap_wxWindow_SetPosition, METH_VARARGS | METH_KEYWORDS },
12017 { "wxWindow_SetSize", (PyCFunction) _wrap_wxWindow_SetSize, METH_VARARGS | METH_KEYWORDS },
12018 { "wxWindow_SetDimensions", (PyCFunction) _wrap_wxWindow_SetDimensions, METH_VARARGS | METH_KEYWORDS },
12019 { "wxWindow_SetScrollPos", (PyCFunction) _wrap_wxWindow_SetScrollPos, METH_VARARGS | METH_KEYWORDS },
12020 { "wxWindow_SetScrollbar", (PyCFunction) _wrap_wxWindow_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
12021 { "wxWindow_SetName", (PyCFunction) _wrap_wxWindow_SetName, METH_VARARGS | METH_KEYWORDS },
12022 { "wxWindow_SetId", (PyCFunction) _wrap_wxWindow_SetId, METH_VARARGS | METH_KEYWORDS },
12023 { "wxWindow_SetForegroundColour", (PyCFunction) _wrap_wxWindow_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
12024 { "wxWindow_SetFont", (PyCFunction) _wrap_wxWindow_SetFont, METH_VARARGS | METH_KEYWORDS },
12025 { "wxWindow_AcceptsFocus", (PyCFunction) _wrap_wxWindow_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
12026 { "wxWindow_SetFocusFromKbd", (PyCFunction) _wrap_wxWindow_SetFocusFromKbd, METH_VARARGS | METH_KEYWORDS },
12027 { "wxWindow_SetFocus", (PyCFunction) _wrap_wxWindow_SetFocus, METH_VARARGS | METH_KEYWORDS },
12028 { "wxWindow_UnsetConstraints", (PyCFunction) _wrap_wxWindow_UnsetConstraints, METH_VARARGS | METH_KEYWORDS },
12029 { "wxWindow_SetConstraints", (PyCFunction) _wrap_wxWindow_SetConstraints, METH_VARARGS | METH_KEYWORDS },
12030 { "wxWindow_SetBackgroundColour", (PyCFunction) _wrap_wxWindow_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12031 { "wxWindow_GetAutoLayout", (PyCFunction) _wrap_wxWindow_GetAutoLayout, METH_VARARGS | METH_KEYWORDS },
12032 { "wxWindow_SetAutoLayout", (PyCFunction) _wrap_wxWindow_SetAutoLayout, METH_VARARGS | METH_KEYWORDS },
12033 { "wxWindow_ScrollWindow", (PyCFunction) _wrap_wxWindow_ScrollWindow, METH_VARARGS | METH_KEYWORDS },
12034 { "wxWindow_ScreenToClient", (PyCFunction) _wrap_wxWindow_ScreenToClient, METH_VARARGS | METH_KEYWORDS },
12035 { "wxWindow_ScreenToClientXY", (PyCFunction) _wrap_wxWindow_ScreenToClientXY, METH_VARARGS | METH_KEYWORDS },
12036 { "wxWindow_Reparent", (PyCFunction) _wrap_wxWindow_Reparent, METH_VARARGS | METH_KEYWORDS },
12037 { "wxWindow_RemoveChild", (PyCFunction) _wrap_wxWindow_RemoveChild, METH_VARARGS | METH_KEYWORDS },
12038 { "wxWindow_AddChild", (PyCFunction) _wrap_wxWindow_AddChild, METH_VARARGS | METH_KEYWORDS },
12039 { "wxWindow_RefreshRect", (PyCFunction) _wrap_wxWindow_RefreshRect, METH_VARARGS | METH_KEYWORDS },
12040 { "wxWindow_Refresh", (PyCFunction) _wrap_wxWindow_Refresh, METH_VARARGS | METH_KEYWORDS },
12041 { "wxWindow_Raise", (PyCFunction) _wrap_wxWindow_Raise, METH_VARARGS | METH_KEYWORDS },
12042 { "wxWindow_PopupMenu", (PyCFunction) _wrap_wxWindow_PopupMenu, METH_VARARGS | METH_KEYWORDS },
12043 { "wxWindow_PopupMenuXY", (PyCFunction) _wrap_wxWindow_PopupMenuXY, METH_VARARGS | METH_KEYWORDS },
12044 { "wxWindow_RemoveEventHandler", (PyCFunction) _wrap_wxWindow_RemoveEventHandler, METH_VARARGS | METH_KEYWORDS },
12045 { "wxWindow_PushEventHandler", (PyCFunction) _wrap_wxWindow_PushEventHandler, METH_VARARGS | METH_KEYWORDS },
12046 { "wxWindow_PopEventHandler", (PyCFunction) _wrap_wxWindow_PopEventHandler, METH_VARARGS | METH_KEYWORDS },
12047 { "wxWindow_Move", (PyCFunction) _wrap_wxWindow_Move, METH_VARARGS | METH_KEYWORDS },
12048 { "wxWindow_MoveXY", (PyCFunction) _wrap_wxWindow_MoveXY, METH_VARARGS | METH_KEYWORDS },
12049 { "wxWindow_MakeModal", (PyCFunction) _wrap_wxWindow_MakeModal, METH_VARARGS | METH_KEYWORDS },
12050 { "wxWindow_Lower", (PyCFunction) _wrap_wxWindow_Lower, METH_VARARGS | METH_KEYWORDS },
12051 { "wxWindow_LoadFromResource", (PyCFunction) _wrap_wxWindow_LoadFromResource, METH_VARARGS | METH_KEYWORDS },
12052 { "wxWindow_Layout", (PyCFunction) _wrap_wxWindow_Layout, METH_VARARGS | METH_KEYWORDS },
12053 { "wxWindow_IsTopLevel", (PyCFunction) _wrap_wxWindow_IsTopLevel, METH_VARARGS | METH_KEYWORDS },
12054 { "wxWindow_IsShown", (PyCFunction) _wrap_wxWindow_IsShown, METH_VARARGS | METH_KEYWORDS },
12055 { "wxWindow_IsRetained", (PyCFunction) _wrap_wxWindow_IsRetained, METH_VARARGS | METH_KEYWORDS },
12056 { "wxWindow_IsExposedRect", (PyCFunction) _wrap_wxWindow_IsExposedRect, METH_VARARGS | METH_KEYWORDS },
12057 { "wxWindow_IsExposedPoint", (PyCFunction) _wrap_wxWindow_IsExposedPoint, METH_VARARGS | METH_KEYWORDS },
12058 { "wxWindow_IsExposed", (PyCFunction) _wrap_wxWindow_IsExposed, METH_VARARGS | METH_KEYWORDS },
12059 { "wxWindow_IsEnabled", (PyCFunction) _wrap_wxWindow_IsEnabled, METH_VARARGS | METH_KEYWORDS },
12060 { "wxWindow_InitDialog", (PyCFunction) _wrap_wxWindow_InitDialog, METH_VARARGS | METH_KEYWORDS },
12061 { "wxWindow_HitTest", (PyCFunction) _wrap_wxWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
12062 { "wxWindow_Hide", (PyCFunction) _wrap_wxWindow_Hide, METH_VARARGS | METH_KEYWORDS },
12063 { "wxWindow_HasScrollbar", (PyCFunction) _wrap_wxWindow_HasScrollbar, METH_VARARGS | METH_KEYWORDS },
12064 { "wxWindow_SetWindowStyle", (PyCFunction) _wrap_wxWindow_SetWindowStyle, METH_VARARGS | METH_KEYWORDS },
12065 { "wxWindow_SetWindowStyleFlag", (PyCFunction) _wrap_wxWindow_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
12066 { "wxWindow_GetWindowStyleFlag", (PyCFunction) _wrap_wxWindow_GetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
12067 { "wxWindow_GetUpdateRegion", (PyCFunction) _wrap_wxWindow_GetUpdateRegion, METH_VARARGS | METH_KEYWORDS },
12068 { "wxWindow_GetTitle", (PyCFunction) _wrap_wxWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
12069 { "wxWindow_GetFullTextExtent", (PyCFunction) _wrap_wxWindow_GetFullTextExtent, METH_VARARGS | METH_KEYWORDS },
12070 { "wxWindow_GetTextExtent", (PyCFunction) _wrap_wxWindow_GetTextExtent, METH_VARARGS | METH_KEYWORDS },
12071 { "wxWindow_GetSize", (PyCFunction) _wrap_wxWindow_GetSize, METH_VARARGS | METH_KEYWORDS },
12072 { "wxWindow_GetSizeTuple", (PyCFunction) _wrap_wxWindow_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
12073 { "wxWindow_GetScrollRange", (PyCFunction) _wrap_wxWindow_GetScrollRange, METH_VARARGS | METH_KEYWORDS },
12074 { "wxWindow_GetScrollPos", (PyCFunction) _wrap_wxWindow_GetScrollPos, METH_VARARGS | METH_KEYWORDS },
12075 { "wxWindow_GetScrollThumb", (PyCFunction) _wrap_wxWindow_GetScrollThumb, METH_VARARGS | METH_KEYWORDS },
12076 { "wxWindow_GetRect", (PyCFunction) _wrap_wxWindow_GetRect, METH_VARARGS | METH_KEYWORDS },
12077 { "wxWindow_GetPosition", (PyCFunction) _wrap_wxWindow_GetPosition, METH_VARARGS | METH_KEYWORDS },
12078 { "wxWindow_GetPositionTuple", (PyCFunction) _wrap_wxWindow_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
12079 { "wxWindow_GetParent", (PyCFunction) _wrap_wxWindow_GetParent, METH_VARARGS | METH_KEYWORDS },
12080 { "wxWindow_GetName", (PyCFunction) _wrap_wxWindow_GetName, METH_VARARGS | METH_KEYWORDS },
12081 { "wxWindow_SetLabel", (PyCFunction) _wrap_wxWindow_SetLabel, METH_VARARGS | METH_KEYWORDS },
12082 { "wxWindow_GetLabel", (PyCFunction) _wrap_wxWindow_GetLabel, METH_VARARGS | METH_KEYWORDS },
12083 { "wxWindow_GetId", (PyCFunction) _wrap_wxWindow_GetId, METH_VARARGS | METH_KEYWORDS },
12084 { "wxWindow_GetHandle", (PyCFunction) _wrap_wxWindow_GetHandle, METH_VARARGS | METH_KEYWORDS },
12085 { "wxWindow_GetGrandParent", (PyCFunction) _wrap_wxWindow_GetGrandParent, METH_VARARGS | METH_KEYWORDS },
12086 { "wxWindow_GetForegroundColour", (PyCFunction) _wrap_wxWindow_GetForegroundColour, METH_VARARGS | METH_KEYWORDS },
12087 { "wxWindow_GetFont", (PyCFunction) _wrap_wxWindow_GetFont, METH_VARARGS | METH_KEYWORDS },
12088 { "wxWindow_GetEventHandler", (PyCFunction) _wrap_wxWindow_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
12089 { "wxWindow_GetConstraints", (PyCFunction) _wrap_wxWindow_GetConstraints, METH_VARARGS | METH_KEYWORDS },
12090 { "wxWindow_GetClientRect", (PyCFunction) _wrap_wxWindow_GetClientRect, METH_VARARGS | METH_KEYWORDS },
12091 { "wxWindow_GetClientAreaOrigin", (PyCFunction) _wrap_wxWindow_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
12092 { "wxWindow_GetClientSize", (PyCFunction) _wrap_wxWindow_GetClientSize, METH_VARARGS | METH_KEYWORDS },
12093 { "wxWindow_GetClientSizeTuple", (PyCFunction) _wrap_wxWindow_GetClientSizeTuple, METH_VARARGS | METH_KEYWORDS },
12094 { "wxWindow_GetCharWidth", (PyCFunction) _wrap_wxWindow_GetCharWidth, METH_VARARGS | METH_KEYWORDS },
12095 { "wxWindow_GetCharHeight", (PyCFunction) _wrap_wxWindow_GetCharHeight, METH_VARARGS | METH_KEYWORDS },
12096 { "wxWindow_GetChildren", (PyCFunction) _wrap_wxWindow_GetChildren, METH_VARARGS | METH_KEYWORDS },
12097 { "wxWindow_GetBorder", (PyCFunction) _wrap_wxWindow_GetBorder, METH_VARARGS | METH_KEYWORDS },
12098 { "wxWindow_GetBackgroundColour", (PyCFunction) _wrap_wxWindow_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12099 { "wxWindow_Fit", (PyCFunction) _wrap_wxWindow_Fit, METH_VARARGS | METH_KEYWORDS },
12100 { "wxWindow_FindWindowByName", (PyCFunction) _wrap_wxWindow_FindWindowByName, METH_VARARGS | METH_KEYWORDS },
12101 { "wxWindow_FindWindowById", (PyCFunction) _wrap_wxWindow_FindWindowById, METH_VARARGS | METH_KEYWORDS },
12102 { "wxWindow_Enable", (PyCFunction) _wrap_wxWindow_Enable, METH_VARARGS | METH_KEYWORDS },
12103 { "wxWindow_DragAcceptFiles", (PyCFunction) _wrap_wxWindow_DragAcceptFiles, METH_VARARGS | METH_KEYWORDS },
12104 { "wxWindow_IsBeingDeleted", (PyCFunction) _wrap_wxWindow_IsBeingDeleted, METH_VARARGS | METH_KEYWORDS },
12105 { "wxWindow_DestroyChildren", (PyCFunction) _wrap_wxWindow_DestroyChildren, METH_VARARGS | METH_KEYWORDS },
12106 { "wxWindow_Destroy", (PyCFunction) _wrap_wxWindow_Destroy, METH_VARARGS | METH_KEYWORDS },
12107 { "wxWindow_Close", (PyCFunction) _wrap_wxWindow_Close, METH_VARARGS | METH_KEYWORDS },
12108 { "wxWindow_ClientToScreen", (PyCFunction) _wrap_wxWindow_ClientToScreen, METH_VARARGS | METH_KEYWORDS },
12109 { "wxWindow_ClientToScreenXY", (PyCFunction) _wrap_wxWindow_ClientToScreenXY, METH_VARARGS | METH_KEYWORDS },
12110 { "wxWindow_Clear", (PyCFunction) _wrap_wxWindow_Clear, METH_VARARGS | METH_KEYWORDS },
12111 { "wxWindow_CenterOnScreen", (PyCFunction) _wrap_wxWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS },
12112 { "wxWindow_CentreOnScreen", (PyCFunction) _wrap_wxWindow_CentreOnScreen, METH_VARARGS | METH_KEYWORDS },
12113 { "wxWindow_CenterOnParent", (PyCFunction) _wrap_wxWindow_CenterOnParent, METH_VARARGS | METH_KEYWORDS },
12114 { "wxWindow_CentreOnParent", (PyCFunction) _wrap_wxWindow_CentreOnParent, METH_VARARGS | METH_KEYWORDS },
12115 { "wxWindow_Centre", (PyCFunction) _wrap_wxWindow_Centre, METH_VARARGS | METH_KEYWORDS },
12116 { "wxWindow_Center", (PyCFunction) _wrap_wxWindow_Center, METH_VARARGS | METH_KEYWORDS },
12117 { "wxWindow_Create", (PyCFunction) _wrap_wxWindow_Create, METH_VARARGS | METH_KEYWORDS },
12118 { "new_wxPreWindow", (PyCFunction) _wrap_new_wxPreWindow, METH_VARARGS | METH_KEYWORDS },
12119 { "new_wxWindow", (PyCFunction) _wrap_new_wxWindow, METH_VARARGS | METH_KEYWORDS },
12120 { "wxPyValidator__setCallbackInfo", (PyCFunction) _wrap_wxPyValidator__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
12121 { "new_wxPyValidator", (PyCFunction) _wrap_new_wxPyValidator, METH_VARARGS | METH_KEYWORDS },
12122 { "wxValidator_SetBellOnError", (PyCFunction) _wrap_wxValidator_SetBellOnError, METH_VARARGS | METH_KEYWORDS },
12123 { "wxValidator_IsSilent", (PyCFunction) _wrap_wxValidator_IsSilent, METH_VARARGS | METH_KEYWORDS },
12124 { "wxValidator_SetWindow", (PyCFunction) _wrap_wxValidator_SetWindow, METH_VARARGS | METH_KEYWORDS },
12125 { "wxValidator_GetWindow", (PyCFunction) _wrap_wxValidator_GetWindow, METH_VARARGS | METH_KEYWORDS },
12126 { "wxValidator_Clone", (PyCFunction) _wrap_wxValidator_Clone, METH_VARARGS | METH_KEYWORDS },
12127 { "new_wxValidator", (PyCFunction) _wrap_new_wxValidator, METH_VARARGS | METH_KEYWORDS },
12128 { "wxEvtHandler__setOORInfo", (PyCFunction) _wrap_wxEvtHandler__setOORInfo, METH_VARARGS | METH_KEYWORDS },
12129 { "wxEvtHandler_Disconnect", (PyCFunction) _wrap_wxEvtHandler_Disconnect, METH_VARARGS | METH_KEYWORDS },
12130 { "wxEvtHandler_Connect", (PyCFunction) _wrap_wxEvtHandler_Connect, METH_VARARGS | METH_KEYWORDS },
12131 { "wxEvtHandler_SetPreviousHandler", (PyCFunction) _wrap_wxEvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
12132 { "wxEvtHandler_SetNextHandler", (PyCFunction) _wrap_wxEvtHandler_SetNextHandler, METH_VARARGS | METH_KEYWORDS },
12133 { "wxEvtHandler_GetPreviousHandler", (PyCFunction) _wrap_wxEvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
12134 { "wxEvtHandler_GetNextHandler", (PyCFunction) _wrap_wxEvtHandler_GetNextHandler, METH_VARARGS | METH_KEYWORDS },
12135 { "wxEvtHandler_SetEvtHandlerEnabled", (PyCFunction) _wrap_wxEvtHandler_SetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
12136 { "wxEvtHandler_GetEvtHandlerEnabled", (PyCFunction) _wrap_wxEvtHandler_GetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
12137 { "wxEvtHandler_AddPendingEvent", (PyCFunction) _wrap_wxEvtHandler_AddPendingEvent, METH_VARARGS | METH_KEYWORDS },
12138 { "wxEvtHandler_ProcessEvent", (PyCFunction) _wrap_wxEvtHandler_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
12139 { "new_wxEvtHandler", (PyCFunction) _wrap_new_wxEvtHandler, METH_VARARGS | METH_KEYWORDS },
12140 { "wxFindWindowByLabel", (PyCFunction) _wrap_wxFindWindowByLabel, METH_VARARGS | METH_KEYWORDS },
12141 { "wxFindWindowByName", (PyCFunction) _wrap_wxFindWindowByName, METH_VARARGS | METH_KEYWORDS },
12142 { "wxFindWindowById", (PyCFunction) _wrap_wxFindWindowById, METH_VARARGS | METH_KEYWORDS },
12143 { "wxWindow_FromHWND", (PyCFunction) _wrap_wxWindow_FromHWND, METH_VARARGS | METH_KEYWORDS },
12144 { NULL, NULL }
12145};
12146#ifdef __cplusplus
12147}
12148#endif
12149/*
12150 * This table is used by the pointer type-checker
12151 */
12152static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
12153 { "_signed_long","_long",0},
12154 { "_wxPrintQuality","_wxCoord",0},
12155 { "_wxPrintQuality","_int",0},
12156 { "_wxPrintQuality","_signed_int",0},
12157 { "_wxPrintQuality","_unsigned_int",0},
12158 { "_wxPrintQuality","_wxWindowID",0},
12159 { "_wxPrintQuality","_uint",0},
12160 { "_wxPrintQuality","_EBool",0},
12161 { "_wxPrintQuality","_size_t",0},
12162 { "_wxPrintQuality","_time_t",0},
12163 { "_byte","_unsigned_char",0},
12164 { "_long","_unsigned_long",0},
12165 { "_long","_signed_long",0},
12166 { "_size_t","_wxCoord",0},
12167 { "_size_t","_wxPrintQuality",0},
12168 { "_size_t","_time_t",0},
12169 { "_size_t","_unsigned_int",0},
12170 { "_size_t","_int",0},
12171 { "_size_t","_wxWindowID",0},
12172 { "_size_t","_uint",0},
12173 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel},
12174 { "_uint","_wxCoord",0},
12175 { "_uint","_wxPrintQuality",0},
12176 { "_uint","_time_t",0},
12177 { "_uint","_size_t",0},
12178 { "_uint","_unsigned_int",0},
12179 { "_uint","_int",0},
12180 { "_uint","_wxWindowID",0},
12181 { "_wxChar","_char",0},
12182 { "_char","_wxChar",0},
12183 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
12184 { "_EBool","_wxCoord",0},
12185 { "_EBool","_wxPrintQuality",0},
12186 { "_EBool","_signed_int",0},
12187 { "_EBool","_int",0},
12188 { "_EBool","_wxWindowID",0},
12189 { "_unsigned_long","_long",0},
12190 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
12191 { "_signed_int","_wxCoord",0},
12192 { "_signed_int","_wxPrintQuality",0},
12193 { "_signed_int","_EBool",0},
12194 { "_signed_int","_wxWindowID",0},
12195 { "_signed_int","_int",0},
12196 { "_WXTYPE","_short",0},
12197 { "_WXTYPE","_signed_short",0},
12198 { "_WXTYPE","_unsigned_short",0},
12199 { "_unsigned_short","_WXTYPE",0},
12200 { "_unsigned_short","_short",0},
12201 { "_wxObject","_wxMenuItem",SwigwxMenuItemTowxObject},
12202 { "_wxObject","_wxMenuBar",SwigwxMenuBarTowxObject},
12203 { "_wxObject","_wxMenu",SwigwxMenuTowxObject},
12204 { "_wxObject","_wxScrolledWindow",SwigwxScrolledWindowTowxObject},
12205 { "_wxObject","_wxPanel",SwigwxPanelTowxObject},
12206 { "_wxObject","_wxWindow",SwigwxWindowTowxObject},
12207 { "_wxObject","_wxPyValidator",SwigwxPyValidatorTowxObject},
12208 { "_wxObject","_wxValidator",SwigwxValidatorTowxObject},
12209 { "_wxObject","_wxEvtHandler",SwigwxEvtHandlerTowxObject},
12210 { "_signed_short","_WXTYPE",0},
12211 { "_signed_short","_short",0},
12212 { "_unsigned_char","_byte",0},
12213 { "_unsigned_int","_wxCoord",0},
12214 { "_unsigned_int","_wxPrintQuality",0},
12215 { "_unsigned_int","_time_t",0},
12216 { "_unsigned_int","_size_t",0},
12217 { "_unsigned_int","_uint",0},
12218 { "_unsigned_int","_wxWindowID",0},
12219 { "_unsigned_int","_int",0},
12220 { "_short","_WXTYPE",0},
12221 { "_short","_unsigned_short",0},
12222 { "_short","_signed_short",0},
12223 { "_wxWindowID","_wxCoord",0},
12224 { "_wxWindowID","_wxPrintQuality",0},
12225 { "_wxWindowID","_time_t",0},
12226 { "_wxWindowID","_size_t",0},
12227 { "_wxWindowID","_EBool",0},
12228 { "_wxWindowID","_uint",0},
12229 { "_wxWindowID","_int",0},
12230 { "_wxWindowID","_signed_int",0},
12231 { "_wxWindowID","_unsigned_int",0},
12232 { "_int","_wxCoord",0},
12233 { "_int","_wxPrintQuality",0},
12234 { "_int","_time_t",0},
12235 { "_int","_size_t",0},
12236 { "_int","_EBool",0},
12237 { "_int","_uint",0},
12238 { "_int","_wxWindowID",0},
12239 { "_int","_unsigned_int",0},
12240 { "_int","_signed_int",0},
12241 { "_time_t","_wxCoord",0},
12242 { "_time_t","_wxPrintQuality",0},
12243 { "_time_t","_unsigned_int",0},
12244 { "_time_t","_int",0},
12245 { "_time_t","_wxWindowID",0},
12246 { "_time_t","_uint",0},
12247 { "_time_t","_size_t",0},
12248 { "_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator},
12249 { "_wxCoord","_int",0},
12250 { "_wxCoord","_signed_int",0},
12251 { "_wxCoord","_unsigned_int",0},
12252 { "_wxCoord","_wxWindowID",0},
12253 { "_wxCoord","_uint",0},
12254 { "_wxCoord","_EBool",0},
12255 { "_wxCoord","_size_t",0},
12256 { "_wxCoord","_time_t",0},
12257 { "_wxCoord","_wxPrintQuality",0},
12258 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler},
12259 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler},
12260 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler},
12261 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler},
12262 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler},
12263 { "_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler},
12264 { "_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler},
12265 { "_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow},
12266 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow},
12267 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow},
12268{0,0,0}};
12269
12270static PyObject *SWIG_globals;
12271#ifdef __cplusplus
12272extern "C"
12273#endif
12274SWIGEXPORT(void) initwindowsc() {
12275 PyObject *m, *d;
12276 SWIG_globals = SWIG_newvarlink();
12277 m = Py_InitModule("windowsc", windowscMethods);
12278 d = PyModule_GetDict(m);
12279{
12280 int i;
12281 for (i = 0; _swig_mapping[i].n1; i++)
12282 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
12283}
12284}