2 * FILE : gtk/windows.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 810)
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.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initwindowsc
54 #define SWIG_name "windowsc"
57 #include <wx/menuitem.h>
59 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
64 } else if (target
== Py_None
) {
68 if (!PyList_Check(target
)) {
70 target
= PyList_New(0);
71 PyList_Append(target
, o2
);
74 PyList_Append(target
,o
);
80 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
86 } else if (target
== Py_None
) {
90 if (!PyTuple_Check(target
)) {
92 target
= PyTuple_New(1);
93 PyTuple_SetItem(target
, 0, o2
);
96 PyTuple_SetItem(o3
, 0, o
);
99 target
= PySequence_Concat(o2
, o3
);
106 static char* wxStringErrorMsg
= "string type is required for parameter";
108 bool wxValidator_IsSilent() {
109 return wxValidator::IsSilent();
112 void wxValidator_SetBellOnError(int doIt
= TRUE
) {
113 wxValidator::SetBellOnError(doIt
);
116 class wxPyValidator
: public wxValidator
{
117 DECLARE_DYNAMIC_CLASS(wxPyValidator
);
121 // wxPyValidator(const wxPyValidator& other);
126 wxObject
* wxPyValidator::Clone() const {
127 wxPyValidator
* ptr
= NULL
;
128 wxPyValidator
* self
= (wxPyValidator
*)this;
130 bool doSave
= wxPyRestoreThread();
131 if (self
->m_myInst
.findCallback("Clone")) {
133 ro
= self
->m_myInst
.callCallbackObj(Py_BuildValue("()"));
134 SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxPyValidator_p");
136 // This is very dangerous!!! But is the only way I could find
137 // to squash a memory leak. Currently it is okay, but if the
138 // validator architecture in wxWindows ever changes, problems
142 wxPySaveThread(doSave
);
147 DEC_PYCALLBACK_BOOL_WXWIN(Validate
);
148 DEC_PYCALLBACK_BOOL_(TransferToWindow
);
149 DEC_PYCALLBACK_BOOL_(TransferFromWindow
);
155 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
156 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
157 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
159 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
164 static PyObject
*_wrap_wxValidator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
165 PyObject
* _resultobj
;
167 char *_kwnames
[] = { NULL
};
170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxValidator_IsSilent",_kwnames
))
173 wxPy_BEGIN_ALLOW_THREADS
;
174 _result
= (bool )wxValidator_IsSilent();
176 wxPy_END_ALLOW_THREADS
;
177 } _resultobj
= Py_BuildValue("i",_result
);
181 static PyObject
*_wrap_wxValidator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
182 PyObject
* _resultobj
;
183 int _arg0
= (int ) TRUE
;
184 char *_kwnames
[] = { "doIt", NULL
};
187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxValidator_SetBellOnError",_kwnames
,&_arg0
))
190 wxPy_BEGIN_ALLOW_THREADS
;
191 wxValidator_SetBellOnError(_arg0
);
193 wxPy_END_ALLOW_THREADS
;
194 } Py_INCREF(Py_None
);
195 _resultobj
= Py_None
;
199 #define wxEvtHandler_ProcessEvent(_swigobj,_swigarg0) (_swigobj->ProcessEvent(_swigarg0))
200 static PyObject
*_wrap_wxEvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
201 PyObject
* _resultobj
;
203 wxEvtHandler
* _arg0
;
205 PyObject
* _argo0
= 0;
206 PyObject
* _argo1
= 0;
207 char *_kwnames
[] = { "self","event", NULL
};
210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_ProcessEvent",_kwnames
,&_argo0
,&_argo1
))
213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_ProcessEvent. Expected _wxEvtHandler_p.");
220 if (_argo1
== Py_None
) { _arg1
= NULL
; }
221 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_ProcessEvent. Expected _wxEvent_p.");
227 wxPy_BEGIN_ALLOW_THREADS
;
228 _result
= (bool )wxEvtHandler_ProcessEvent(_arg0
,*_arg1
);
230 wxPy_END_ALLOW_THREADS
;
231 } _resultobj
= Py_BuildValue("i",_result
);
235 #define wxEvtHandler_GetEvtHandlerEnabled(_swigobj) (_swigobj->GetEvtHandlerEnabled())
236 static PyObject
*_wrap_wxEvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
237 PyObject
* _resultobj
;
239 wxEvtHandler
* _arg0
;
240 PyObject
* _argo0
= 0;
241 char *_kwnames
[] = { "self", NULL
};
244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetEvtHandlerEnabled",_kwnames
,&_argo0
))
247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
254 wxPy_BEGIN_ALLOW_THREADS
;
255 _result
= (bool )wxEvtHandler_GetEvtHandlerEnabled(_arg0
);
257 wxPy_END_ALLOW_THREADS
;
258 } _resultobj
= Py_BuildValue("i",_result
);
262 #define wxEvtHandler_SetEvtHandlerEnabled(_swigobj,_swigarg0) (_swigobj->SetEvtHandlerEnabled(_swigarg0))
263 static PyObject
*_wrap_wxEvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
264 PyObject
* _resultobj
;
265 wxEvtHandler
* _arg0
;
267 PyObject
* _argo0
= 0;
269 char *_kwnames
[] = { "self","enabled", NULL
};
272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxEvtHandler_SetEvtHandlerEnabled",_kwnames
,&_argo0
,&tempbool1
))
275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
281 _arg1
= (bool ) tempbool1
;
283 wxPy_BEGIN_ALLOW_THREADS
;
284 wxEvtHandler_SetEvtHandlerEnabled(_arg0
,_arg1
);
286 wxPy_END_ALLOW_THREADS
;
287 } Py_INCREF(Py_None
);
288 _resultobj
= Py_None
;
292 #define wxEvtHandler_GetNextHandler(_swigobj) (_swigobj->GetNextHandler())
293 static PyObject
*_wrap_wxEvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
294 PyObject
* _resultobj
;
295 wxEvtHandler
* _result
;
296 wxEvtHandler
* _arg0
;
297 PyObject
* _argo0
= 0;
298 char *_kwnames
[] = { "self", NULL
};
302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetNextHandler",_kwnames
,&_argo0
))
305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetNextHandler. Expected _wxEvtHandler_p.");
312 wxPy_BEGIN_ALLOW_THREADS
;
313 _result
= (wxEvtHandler
*)wxEvtHandler_GetNextHandler(_arg0
);
315 wxPy_END_ALLOW_THREADS
;
317 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
318 _resultobj
= Py_BuildValue("s",_ptemp
);
321 _resultobj
= Py_None
;
326 #define wxEvtHandler_GetPreviousHandler(_swigobj) (_swigobj->GetPreviousHandler())
327 static PyObject
*_wrap_wxEvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
328 PyObject
* _resultobj
;
329 wxEvtHandler
* _result
;
330 wxEvtHandler
* _arg0
;
331 PyObject
* _argo0
= 0;
332 char *_kwnames
[] = { "self", NULL
};
336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetPreviousHandler",_kwnames
,&_argo0
))
339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetPreviousHandler. Expected _wxEvtHandler_p.");
346 wxPy_BEGIN_ALLOW_THREADS
;
347 _result
= (wxEvtHandler
*)wxEvtHandler_GetPreviousHandler(_arg0
);
349 wxPy_END_ALLOW_THREADS
;
351 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
352 _resultobj
= Py_BuildValue("s",_ptemp
);
355 _resultobj
= Py_None
;
360 #define wxEvtHandler_SetNextHandler(_swigobj,_swigarg0) (_swigobj->SetNextHandler(_swigarg0))
361 static PyObject
*_wrap_wxEvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
362 PyObject
* _resultobj
;
363 wxEvtHandler
* _arg0
;
364 wxEvtHandler
* _arg1
;
365 PyObject
* _argo0
= 0;
366 PyObject
* _argo1
= 0;
367 char *_kwnames
[] = { "self","handler", NULL
};
370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetNextHandler",_kwnames
,&_argo0
,&_argo1
))
373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
380 if (_argo1
== Py_None
) { _arg1
= NULL
; }
381 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
387 wxPy_BEGIN_ALLOW_THREADS
;
388 wxEvtHandler_SetNextHandler(_arg0
,_arg1
);
390 wxPy_END_ALLOW_THREADS
;
391 } Py_INCREF(Py_None
);
392 _resultobj
= Py_None
;
396 #define wxEvtHandler_SetPreviousHandler(_swigobj,_swigarg0) (_swigobj->SetPreviousHandler(_swigarg0))
397 static PyObject
*_wrap_wxEvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
398 PyObject
* _resultobj
;
399 wxEvtHandler
* _arg0
;
400 wxEvtHandler
* _arg1
;
401 PyObject
* _argo0
= 0;
402 PyObject
* _argo1
= 0;
403 char *_kwnames
[] = { "self","handler", NULL
};
406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetPreviousHandler",_kwnames
,&_argo0
,&_argo1
))
409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
416 if (_argo1
== Py_None
) { _arg1
= NULL
; }
417 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
423 wxPy_BEGIN_ALLOW_THREADS
;
424 wxEvtHandler_SetPreviousHandler(_arg0
,_arg1
);
426 wxPy_END_ALLOW_THREADS
;
427 } Py_INCREF(Py_None
);
428 _resultobj
= Py_None
;
432 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
* func
) {
433 if (PyCallable_Check(func
)) {
434 self
->Connect(id
, lastId
, eventType
,
435 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
436 new wxPyCallback(func
));
439 static PyObject
*_wrap_wxEvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
440 PyObject
* _resultobj
;
441 wxEvtHandler
* _arg0
;
446 PyObject
* _argo0
= 0;
447 PyObject
* _obj4
= 0;
448 char *_kwnames
[] = { "self","id","lastId","eventType","func", NULL
};
451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiiO:wxEvtHandler_Connect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
464 wxPy_BEGIN_ALLOW_THREADS
;
465 wxEvtHandler_Connect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
467 wxPy_END_ALLOW_THREADS
;
468 } Py_INCREF(Py_None
);
469 _resultobj
= Py_None
;
473 static void *SwigwxValidatorTowxEvtHandler(void *ptr
) {
476 src
= (wxValidator
*) ptr
;
477 dest
= (wxEvtHandler
*) src
;
478 return (void *) dest
;
481 #define new_wxValidator() (new wxValidator())
482 static PyObject
*_wrap_new_wxValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
483 PyObject
* _resultobj
;
484 wxValidator
* _result
;
485 char *_kwnames
[] = { NULL
};
489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxValidator",_kwnames
))
492 wxPy_BEGIN_ALLOW_THREADS
;
493 _result
= (wxValidator
*)new_wxValidator();
495 wxPy_END_ALLOW_THREADS
;
497 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
498 _resultobj
= Py_BuildValue("s",_ptemp
);
501 _resultobj
= Py_None
;
506 #define wxValidator_Clone(_swigobj) (_swigobj->Clone())
507 static PyObject
*_wrap_wxValidator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
508 PyObject
* _resultobj
;
509 wxValidator
* _result
;
511 PyObject
* _argo0
= 0;
512 char *_kwnames
[] = { "self", NULL
};
516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_Clone",_kwnames
,&_argo0
))
519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_Clone. Expected _wxValidator_p.");
526 wxPy_BEGIN_ALLOW_THREADS
;
527 _result
= (wxValidator
*)wxValidator_Clone(_arg0
);
529 wxPy_END_ALLOW_THREADS
;
531 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
532 _resultobj
= Py_BuildValue("s",_ptemp
);
535 _resultobj
= Py_None
;
540 #define wxValidator_GetWindow(_swigobj) (_swigobj->GetWindow())
541 static PyObject
*_wrap_wxValidator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
542 PyObject
* _resultobj
;
545 PyObject
* _argo0
= 0;
546 char *_kwnames
[] = { "self", NULL
};
550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_GetWindow",_kwnames
,&_argo0
))
553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_GetWindow. Expected _wxValidator_p.");
560 wxPy_BEGIN_ALLOW_THREADS
;
561 _result
= (wxWindow
*)wxValidator_GetWindow(_arg0
);
563 wxPy_END_ALLOW_THREADS
;
565 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
566 _resultobj
= Py_BuildValue("s",_ptemp
);
569 _resultobj
= Py_None
;
574 #define wxValidator_SetWindow(_swigobj,_swigarg0) (_swigobj->SetWindow(_swigarg0))
575 static PyObject
*_wrap_wxValidator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
576 PyObject
* _resultobj
;
579 PyObject
* _argo0
= 0;
580 PyObject
* _argo1
= 0;
581 char *_kwnames
[] = { "self","window", NULL
};
584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxValidator_SetWindow",_kwnames
,&_argo0
,&_argo1
))
587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_SetWindow. Expected _wxValidator_p.");
594 if (_argo1
== Py_None
) { _arg1
= NULL
; }
595 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxValidator_SetWindow. Expected _wxWindow_p.");
601 wxPy_BEGIN_ALLOW_THREADS
;
602 wxValidator_SetWindow(_arg0
,_arg1
);
604 wxPy_END_ALLOW_THREADS
;
605 } Py_INCREF(Py_None
);
606 _resultobj
= Py_None
;
610 static void *SwigwxPyValidatorTowxValidator(void *ptr
) {
613 src
= (wxPyValidator
*) ptr
;
614 dest
= (wxValidator
*) src
;
615 return (void *) dest
;
618 static void *SwigwxPyValidatorTowxEvtHandler(void *ptr
) {
621 src
= (wxPyValidator
*) ptr
;
622 dest
= (wxEvtHandler
*) src
;
623 return (void *) dest
;
626 #define new_wxPyValidator() (new wxPyValidator())
627 static PyObject
*_wrap_new_wxPyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
628 PyObject
* _resultobj
;
629 wxPyValidator
* _result
;
630 char *_kwnames
[] = { NULL
};
634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyValidator",_kwnames
))
637 wxPy_BEGIN_ALLOW_THREADS
;
638 _result
= (wxPyValidator
*)new_wxPyValidator();
640 wxPy_END_ALLOW_THREADS
;
642 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyValidator_p");
643 _resultobj
= Py_BuildValue("s",_ptemp
);
646 _resultobj
= Py_None
;
651 static void wxPyValidator_Destroy(wxPyValidator
*self
) { delete self
; }
652 static PyObject
*_wrap_wxPyValidator_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
653 PyObject
* _resultobj
;
654 wxPyValidator
* _arg0
;
655 PyObject
* _argo0
= 0;
656 char *_kwnames
[] = { "self", NULL
};
659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyValidator_Destroy",_kwnames
,&_argo0
))
662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyValidator_p")) {
664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyValidator_Destroy. Expected _wxPyValidator_p.");
669 wxPy_BEGIN_ALLOW_THREADS
;
670 wxPyValidator_Destroy(_arg0
);
672 wxPy_END_ALLOW_THREADS
;
673 } Py_INCREF(Py_None
);
674 _resultobj
= Py_None
;
678 #define wxPyValidator__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
679 static PyObject
*_wrap_wxPyValidator__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
680 PyObject
* _resultobj
;
681 wxPyValidator
* _arg0
;
683 int _arg2
= (int ) TRUE
;
684 PyObject
* _argo0
= 0;
685 PyObject
* _obj1
= 0;
686 char *_kwnames
[] = { "self","self","incref", NULL
};
689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyValidator__setSelf",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyValidator_p")) {
694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyValidator__setSelf. Expected _wxPyValidator_p.");
702 wxPy_BEGIN_ALLOW_THREADS
;
703 wxPyValidator__setSelf(_arg0
,_arg1
,_arg2
);
705 wxPy_END_ALLOW_THREADS
;
706 } Py_INCREF(Py_None
);
707 _resultobj
= Py_None
;
711 static void *SwigwxWindowTowxEvtHandler(void *ptr
) {
714 src
= (wxWindow
*) ptr
;
715 dest
= (wxEvtHandler
*) src
;
716 return (void *) dest
;
719 #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
720 static PyObject
*_wrap_new_wxWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
721 PyObject
* _resultobj
;
725 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
726 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
727 long _arg4
= (long ) 0;
728 char * _arg5
= (char *) "panel";
729 PyObject
* _argo0
= 0;
731 PyObject
* _obj2
= 0;
733 PyObject
* _obj3
= 0;
734 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
750 if (! wxPoint_helper(_obj2
, &_arg2
))
756 if (! wxSize_helper(_obj3
, &_arg3
))
760 wxPy_BEGIN_ALLOW_THREADS
;
761 _result
= (wxWindow
*)new_wxWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
763 wxPy_END_ALLOW_THREADS
;
765 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
766 _resultobj
= Py_BuildValue("s",_ptemp
);
769 _resultobj
= Py_None
;
774 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
775 static PyObject
*_wrap_wxWindow_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
776 PyObject
* _resultobj
;
778 PyObject
* _argo0
= 0;
779 char *_kwnames
[] = { "self", NULL
};
782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_CaptureMouse",_kwnames
,&_argo0
))
785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
792 wxPy_BEGIN_ALLOW_THREADS
;
793 wxWindow_CaptureMouse(_arg0
);
795 wxPy_END_ALLOW_THREADS
;
796 } Py_INCREF(Py_None
);
797 _resultobj
= Py_None
;
801 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
802 static PyObject
*_wrap_wxWindow_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
803 PyObject
* _resultobj
;
805 int _arg1
= (int ) wxBOTH
;
806 PyObject
* _argo0
= 0;
807 char *_kwnames
[] = { "self","direction", NULL
};
810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Center",_kwnames
,&_argo0
,&_arg1
))
813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
820 wxPy_BEGIN_ALLOW_THREADS
;
821 wxWindow_Center(_arg0
,_arg1
);
823 wxPy_END_ALLOW_THREADS
;
824 } Py_INCREF(Py_None
);
825 _resultobj
= Py_None
;
829 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
830 static PyObject
*_wrap_wxWindow_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
831 PyObject
* _resultobj
;
833 int _arg1
= (int ) wxBOTH
;
834 PyObject
* _argo0
= 0;
835 char *_kwnames
[] = { "self","direction", NULL
};
838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Centre",_kwnames
,&_argo0
,&_arg1
))
841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
848 wxPy_BEGIN_ALLOW_THREADS
;
849 wxWindow_Centre(_arg0
,_arg1
);
851 wxPy_END_ALLOW_THREADS
;
852 } Py_INCREF(Py_None
);
853 _resultobj
= Py_None
;
857 #define wxWindow_CentreOnParent(_swigobj,_swigarg0) (_swigobj->CentreOnParent(_swigarg0))
858 static PyObject
*_wrap_wxWindow_CentreOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
859 PyObject
* _resultobj
;
861 int _arg1
= (int ) wxBOTH
;
862 PyObject
* _argo0
= 0;
863 char *_kwnames
[] = { "self","direction", NULL
};
866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnParent",_kwnames
,&_argo0
,&_arg1
))
869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnParent. Expected _wxWindow_p.");
876 wxPy_BEGIN_ALLOW_THREADS
;
877 wxWindow_CentreOnParent(_arg0
,_arg1
);
879 wxPy_END_ALLOW_THREADS
;
880 } Py_INCREF(Py_None
);
881 _resultobj
= Py_None
;
885 #define wxWindow_CenterOnParent(_swigobj,_swigarg0) (_swigobj->CenterOnParent(_swigarg0))
886 static PyObject
*_wrap_wxWindow_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
887 PyObject
* _resultobj
;
889 int _arg1
= (int ) wxBOTH
;
890 PyObject
* _argo0
= 0;
891 char *_kwnames
[] = { "self","direction", NULL
};
894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnParent",_kwnames
,&_argo0
,&_arg1
))
897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnParent. Expected _wxWindow_p.");
904 wxPy_BEGIN_ALLOW_THREADS
;
905 wxWindow_CenterOnParent(_arg0
,_arg1
);
907 wxPy_END_ALLOW_THREADS
;
908 } Py_INCREF(Py_None
);
909 _resultobj
= Py_None
;
913 #define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
914 static PyObject
*_wrap_wxWindow_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
915 PyObject
* _resultobj
;
919 PyObject
* _argo0
= 0;
921 PyObject
* _obj1
= 0;
923 PyObject
* _obj2
= 0;
924 char *_kwnames
[] = { "self","x","y", NULL
};
927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ClientToScreenXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
937 temp
= (int) PyInt_AsLong(_obj1
);
941 temp0
= (int) PyInt_AsLong(_obj2
);
945 wxPy_BEGIN_ALLOW_THREADS
;
946 wxWindow_ClientToScreenXY(_arg0
,_arg1
,_arg2
);
948 wxPy_END_ALLOW_THREADS
;
949 } Py_INCREF(Py_None
);
950 _resultobj
= Py_None
;
953 o
= PyInt_FromLong((long) (*_arg1
));
954 _resultobj
= t_output_helper(_resultobj
, o
);
958 o
= PyInt_FromLong((long) (*_arg2
));
959 _resultobj
= t_output_helper(_resultobj
, o
);
964 #define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
965 static PyObject
*_wrap_wxWindow_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
966 PyObject
* _resultobj
;
970 PyObject
* _argo0
= 0;
972 PyObject
* _obj1
= 0;
973 char *_kwnames
[] = { "self","pt", NULL
};
977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ClientToScreen",_kwnames
,&_argo0
,&_obj1
))
980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
988 if (! wxPoint_helper(_obj1
, &_arg1
))
992 wxPy_BEGIN_ALLOW_THREADS
;
993 _result
= new wxPoint (wxWindow_ClientToScreen(_arg0
,*_arg1
));
995 wxPy_END_ALLOW_THREADS
;
996 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
997 _resultobj
= Py_BuildValue("s",_ptemp
);
1001 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
1002 static PyObject
*_wrap_wxWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1003 PyObject
* _resultobj
;
1006 int _arg1
= (int ) FALSE
;
1007 PyObject
* _argo0
= 0;
1008 char *_kwnames
[] = { "self","force", NULL
};
1011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Close",_kwnames
,&_argo0
,&_arg1
))
1014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
1021 wxPy_BEGIN_ALLOW_THREADS
;
1022 _result
= (bool )wxWindow_Close(_arg0
,_arg1
);
1024 wxPy_END_ALLOW_THREADS
;
1025 } _resultobj
= Py_BuildValue("i",_result
);
1029 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
1030 static PyObject
*_wrap_wxWindow_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1031 PyObject
* _resultobj
;
1034 PyObject
* _argo0
= 0;
1035 char *_kwnames
[] = { "self", NULL
};
1038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Destroy",_kwnames
,&_argo0
))
1041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
1048 wxPy_BEGIN_ALLOW_THREADS
;
1049 _result
= (bool )wxWindow_Destroy(_arg0
);
1051 wxPy_END_ALLOW_THREADS
;
1052 } _resultobj
= Py_BuildValue("i",_result
);
1056 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
1057 static PyObject
*_wrap_wxWindow_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1058 PyObject
* _resultobj
;
1060 PyObject
* _argo0
= 0;
1061 char *_kwnames
[] = { "self", NULL
};
1064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_DestroyChildren",_kwnames
,&_argo0
))
1067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
1074 wxPy_BEGIN_ALLOW_THREADS
;
1075 wxWindow_DestroyChildren(_arg0
);
1077 wxPy_END_ALLOW_THREADS
;
1078 } Py_INCREF(Py_None
);
1079 _resultobj
= Py_None
;
1083 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
1084 static PyObject
*_wrap_wxWindow_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1085 PyObject
* _resultobj
;
1088 PyObject
* _argo0
= 0;
1090 char *_kwnames
[] = { "self","enable", NULL
};
1093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Enable",_kwnames
,&_argo0
,&tempbool1
))
1096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
1102 _arg1
= (bool ) tempbool1
;
1104 wxPy_BEGIN_ALLOW_THREADS
;
1105 wxWindow_Enable(_arg0
,_arg1
);
1107 wxPy_END_ALLOW_THREADS
;
1108 } Py_INCREF(Py_None
);
1109 _resultobj
= Py_None
;
1113 #define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1114 static PyObject
*_wrap_wxWindow_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1115 PyObject
* _resultobj
;
1119 PyObject
* _argo0
= 0;
1120 char *_kwnames
[] = { "self","id", NULL
};
1124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_FindWindowById",_kwnames
,&_argo0
,&_arg1
))
1127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
1134 wxPy_BEGIN_ALLOW_THREADS
;
1135 _result
= (wxWindow
*)wxWindow_FindWindowById(_arg0
,_arg1
);
1137 wxPy_END_ALLOW_THREADS
;
1139 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1140 _resultobj
= Py_BuildValue("s",_ptemp
);
1143 _resultobj
= Py_None
;
1148 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1149 static PyObject
*_wrap_wxWindow_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1150 PyObject
* _resultobj
;
1154 PyObject
* _argo0
= 0;
1155 PyObject
* _obj1
= 0;
1156 char *_kwnames
[] = { "self","name", NULL
};
1160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_FindWindowByName",_kwnames
,&_argo0
,&_obj1
))
1163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
1170 if (!PyString_Check(_obj1
)) {
1171 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1174 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1177 wxPy_BEGIN_ALLOW_THREADS
;
1178 _result
= (wxWindow
*)wxWindow_FindWindowByName(_arg0
,*_arg1
);
1180 wxPy_END_ALLOW_THREADS
;
1182 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1183 _resultobj
= Py_BuildValue("s",_ptemp
);
1186 _resultobj
= Py_None
;
1195 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
1196 static PyObject
*_wrap_wxWindow_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1197 PyObject
* _resultobj
;
1199 PyObject
* _argo0
= 0;
1200 char *_kwnames
[] = { "self", NULL
};
1203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Fit",_kwnames
,&_argo0
))
1206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
1213 wxPy_BEGIN_ALLOW_THREADS
;
1214 wxWindow_Fit(_arg0
);
1216 wxPy_END_ALLOW_THREADS
;
1217 } Py_INCREF(Py_None
);
1218 _resultobj
= Py_None
;
1222 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1223 static PyObject
*_wrap_wxWindow_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1224 PyObject
* _resultobj
;
1227 PyObject
* _argo0
= 0;
1228 char *_kwnames
[] = { "self", NULL
};
1232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBackgroundColour",_kwnames
,&_argo0
))
1235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
1242 wxPy_BEGIN_ALLOW_THREADS
;
1243 _result
= new wxColour (wxWindow_GetBackgroundColour(_arg0
));
1245 wxPy_END_ALLOW_THREADS
;
1246 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1247 _resultobj
= Py_BuildValue("s",_ptemp
);
1251 static PyObject
* wxWindow_GetChildren(wxWindow
*self
) {
1252 wxWindowList
& list
= self
->GetChildren();
1253 return wxPy_ConvertList(&list
, "wxWindow");
1255 static PyObject
*_wrap_wxWindow_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1256 PyObject
* _resultobj
;
1259 PyObject
* _argo0
= 0;
1260 char *_kwnames
[] = { "self", NULL
};
1263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetChildren",_kwnames
,&_argo0
))
1266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetChildren. Expected _wxWindow_p.");
1273 wxPy_BEGIN_ALLOW_THREADS
;
1274 _result
= (PyObject
*)wxWindow_GetChildren(_arg0
);
1276 wxPy_END_ALLOW_THREADS
;
1278 _resultobj
= _result
;
1283 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1284 static PyObject
*_wrap_wxWindow_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1285 PyObject
* _resultobj
;
1288 PyObject
* _argo0
= 0;
1289 char *_kwnames
[] = { "self", NULL
};
1292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharHeight",_kwnames
,&_argo0
))
1295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
1302 wxPy_BEGIN_ALLOW_THREADS
;
1303 _result
= (int )wxWindow_GetCharHeight(_arg0
);
1305 wxPy_END_ALLOW_THREADS
;
1306 } _resultobj
= Py_BuildValue("i",_result
);
1310 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1311 static PyObject
*_wrap_wxWindow_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1312 PyObject
* _resultobj
;
1315 PyObject
* _argo0
= 0;
1316 char *_kwnames
[] = { "self", NULL
};
1319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharWidth",_kwnames
,&_argo0
))
1322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
1329 wxPy_BEGIN_ALLOW_THREADS
;
1330 _result
= (int )wxWindow_GetCharWidth(_arg0
);
1332 wxPy_END_ALLOW_THREADS
;
1333 } _resultobj
= Py_BuildValue("i",_result
);
1337 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
1338 static PyObject
*_wrap_wxWindow_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1339 PyObject
* _resultobj
;
1345 PyObject
* _argo0
= 0;
1346 char *_kwnames
[] = { "self", NULL
};
1355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSizeTuple",_kwnames
,&_argo0
))
1358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
1365 wxPy_BEGIN_ALLOW_THREADS
;
1366 wxWindow_GetClientSizeTuple(_arg0
,_arg1
,_arg2
);
1368 wxPy_END_ALLOW_THREADS
;
1369 } Py_INCREF(Py_None
);
1370 _resultobj
= Py_None
;
1373 o
= PyInt_FromLong((long) (*_arg1
));
1374 _resultobj
= t_output_helper(_resultobj
, o
);
1378 o
= PyInt_FromLong((long) (*_arg2
));
1379 _resultobj
= t_output_helper(_resultobj
, o
);
1384 #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
1385 static PyObject
*_wrap_wxWindow_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1386 PyObject
* _resultobj
;
1389 PyObject
* _argo0
= 0;
1390 char *_kwnames
[] = { "self", NULL
};
1394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSize",_kwnames
,&_argo0
))
1397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
1404 wxPy_BEGIN_ALLOW_THREADS
;
1405 _result
= new wxSize (wxWindow_GetClientSize(_arg0
));
1407 wxPy_END_ALLOW_THREADS
;
1408 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1409 _resultobj
= Py_BuildValue("s",_ptemp
);
1413 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
1414 static PyObject
*_wrap_wxWindow_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1415 PyObject
* _resultobj
;
1416 wxLayoutConstraints
* _result
;
1418 PyObject
* _argo0
= 0;
1419 char *_kwnames
[] = { "self", NULL
};
1423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetConstraints",_kwnames
,&_argo0
))
1426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
1433 wxPy_BEGIN_ALLOW_THREADS
;
1434 _result
= (wxLayoutConstraints
*)wxWindow_GetConstraints(_arg0
);
1436 wxPy_END_ALLOW_THREADS
;
1438 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
1439 _resultobj
= Py_BuildValue("s",_ptemp
);
1442 _resultobj
= Py_None
;
1447 #define wxWindow_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
1448 static PyObject
*_wrap_wxWindow_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1449 PyObject
* _resultobj
;
1450 wxEvtHandler
* _result
;
1452 PyObject
* _argo0
= 0;
1453 char *_kwnames
[] = { "self", NULL
};
1457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetEventHandler",_kwnames
,&_argo0
))
1460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetEventHandler. Expected _wxWindow_p.");
1467 wxPy_BEGIN_ALLOW_THREADS
;
1468 _result
= (wxEvtHandler
*)wxWindow_GetEventHandler(_arg0
);
1470 wxPy_END_ALLOW_THREADS
;
1472 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
1473 _resultobj
= Py_BuildValue("s",_ptemp
);
1476 _resultobj
= Py_None
;
1481 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
1482 static PyObject
*_wrap_wxWindow_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1483 PyObject
* _resultobj
;
1486 PyObject
* _argo0
= 0;
1487 char *_kwnames
[] = { "self", NULL
};
1491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetFont",_kwnames
,&_argo0
))
1494 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1495 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
1501 wxPy_BEGIN_ALLOW_THREADS
;
1502 wxFont
& _result_ref
= wxWindow_GetFont(_arg0
);
1503 _result
= (wxFont
*) &_result_ref
;
1505 wxPy_END_ALLOW_THREADS
;
1507 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1508 _resultobj
= Py_BuildValue("s",_ptemp
);
1511 _resultobj
= Py_None
;
1516 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
1517 static PyObject
*_wrap_wxWindow_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1518 PyObject
* _resultobj
;
1521 PyObject
* _argo0
= 0;
1522 char *_kwnames
[] = { "self", NULL
};
1526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetForegroundColour",_kwnames
,&_argo0
))
1529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
1536 wxPy_BEGIN_ALLOW_THREADS
;
1537 _result
= new wxColour (wxWindow_GetForegroundColour(_arg0
));
1539 wxPy_END_ALLOW_THREADS
;
1540 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1541 _resultobj
= Py_BuildValue("s",_ptemp
);
1545 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
1546 static PyObject
*_wrap_wxWindow_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1547 PyObject
* _resultobj
;
1550 PyObject
* _argo0
= 0;
1551 char *_kwnames
[] = { "self", NULL
};
1555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetGrandParent",_kwnames
,&_argo0
))
1558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
1565 wxPy_BEGIN_ALLOW_THREADS
;
1566 _result
= (wxWindow
*)wxWindow_GetGrandParent(_arg0
);
1568 wxPy_END_ALLOW_THREADS
;
1570 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1571 _resultobj
= Py_BuildValue("s",_ptemp
);
1574 _resultobj
= Py_None
;
1579 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
1580 static PyObject
*_wrap_wxWindow_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1581 PyObject
* _resultobj
;
1584 PyObject
* _argo0
= 0;
1585 char *_kwnames
[] = { "self", NULL
};
1588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetId",_kwnames
,&_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_GetId. Expected _wxWindow_p.");
1598 wxPy_BEGIN_ALLOW_THREADS
;
1599 _result
= (int )wxWindow_GetId(_arg0
);
1601 wxPy_END_ALLOW_THREADS
;
1602 } _resultobj
= Py_BuildValue("i",_result
);
1606 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
1607 static PyObject
*_wrap_wxWindow_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1608 PyObject
* _resultobj
;
1611 PyObject
* _argo0
= 0;
1612 char *_kwnames
[] = { "self", NULL
};
1615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetLabel",_kwnames
,&_argo0
))
1618 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1619 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
1625 wxPy_BEGIN_ALLOW_THREADS
;
1626 _result
= new wxString (wxWindow_GetLabel(_arg0
));
1628 wxPy_END_ALLOW_THREADS
;
1630 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1638 #define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
1639 static PyObject
*_wrap_wxWindow_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1640 PyObject
* _resultobj
;
1643 PyObject
* _argo0
= 0;
1644 PyObject
* _obj1
= 0;
1645 char *_kwnames
[] = { "self","label", NULL
};
1648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetLabel",_kwnames
,&_argo0
,&_obj1
))
1651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
1658 if (!PyString_Check(_obj1
)) {
1659 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1662 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1665 wxPy_BEGIN_ALLOW_THREADS
;
1666 wxWindow_SetLabel(_arg0
,*_arg1
);
1668 wxPy_END_ALLOW_THREADS
;
1669 } Py_INCREF(Py_None
);
1670 _resultobj
= Py_None
;
1678 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
1679 static PyObject
*_wrap_wxWindow_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1680 PyObject
* _resultobj
;
1683 PyObject
* _argo0
= 0;
1684 char *_kwnames
[] = { "self", NULL
};
1687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetName",_kwnames
,&_argo0
))
1690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
1697 wxPy_BEGIN_ALLOW_THREADS
;
1698 _result
= new wxString (wxWindow_GetName(_arg0
));
1700 wxPy_END_ALLOW_THREADS
;
1702 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1710 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
1711 static PyObject
*_wrap_wxWindow_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1712 PyObject
* _resultobj
;
1715 PyObject
* _argo0
= 0;
1716 char *_kwnames
[] = { "self", NULL
};
1720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetParent",_kwnames
,&_argo0
))
1723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
1730 wxPy_BEGIN_ALLOW_THREADS
;
1731 _result
= (wxWindow
*)wxWindow_GetParent(_arg0
);
1733 wxPy_END_ALLOW_THREADS
;
1735 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1736 _resultobj
= Py_BuildValue("s",_ptemp
);
1739 _resultobj
= Py_None
;
1744 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
1745 static PyObject
*_wrap_wxWindow_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1746 PyObject
* _resultobj
;
1752 PyObject
* _argo0
= 0;
1753 char *_kwnames
[] = { "self", NULL
};
1762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPositionTuple",_kwnames
,&_argo0
))
1765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
1772 wxPy_BEGIN_ALLOW_THREADS
;
1773 wxWindow_GetPositionTuple(_arg0
,_arg1
,_arg2
);
1775 wxPy_END_ALLOW_THREADS
;
1776 } Py_INCREF(Py_None
);
1777 _resultobj
= Py_None
;
1780 o
= PyInt_FromLong((long) (*_arg1
));
1781 _resultobj
= t_output_helper(_resultobj
, o
);
1785 o
= PyInt_FromLong((long) (*_arg2
));
1786 _resultobj
= t_output_helper(_resultobj
, o
);
1791 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
1792 static PyObject
*_wrap_wxWindow_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1793 PyObject
* _resultobj
;
1796 PyObject
* _argo0
= 0;
1797 char *_kwnames
[] = { "self", NULL
};
1801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPosition",_kwnames
,&_argo0
))
1804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
1811 wxPy_BEGIN_ALLOW_THREADS
;
1812 _result
= new wxPoint (wxWindow_GetPosition(_arg0
));
1814 wxPy_END_ALLOW_THREADS
;
1815 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1816 _resultobj
= Py_BuildValue("s",_ptemp
);
1820 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
1821 static PyObject
*_wrap_wxWindow_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1822 PyObject
* _resultobj
;
1825 PyObject
* _argo0
= 0;
1826 char *_kwnames
[] = { "self", NULL
};
1830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetRect",_kwnames
,&_argo0
))
1833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
1840 wxPy_BEGIN_ALLOW_THREADS
;
1841 _result
= new wxRect (wxWindow_GetRect(_arg0
));
1843 wxPy_END_ALLOW_THREADS
;
1844 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1845 _resultobj
= Py_BuildValue("s",_ptemp
);
1849 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
1850 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1851 PyObject
* _resultobj
;
1855 PyObject
* _argo0
= 0;
1856 char *_kwnames
[] = { "self","orientation", NULL
};
1859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollThumb",_kwnames
,&_argo0
,&_arg1
))
1862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
1869 wxPy_BEGIN_ALLOW_THREADS
;
1870 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
1872 wxPy_END_ALLOW_THREADS
;
1873 } _resultobj
= Py_BuildValue("i",_result
);
1877 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
1878 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1879 PyObject
* _resultobj
;
1883 PyObject
* _argo0
= 0;
1884 char *_kwnames
[] = { "self","orientation", NULL
};
1887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollPos",_kwnames
,&_argo0
,&_arg1
))
1890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
1897 wxPy_BEGIN_ALLOW_THREADS
;
1898 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
1900 wxPy_END_ALLOW_THREADS
;
1901 } _resultobj
= Py_BuildValue("i",_result
);
1905 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
1906 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1907 PyObject
* _resultobj
;
1911 PyObject
* _argo0
= 0;
1912 char *_kwnames
[] = { "self","orientation", NULL
};
1915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollRange",_kwnames
,&_argo0
,&_arg1
))
1918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
1925 wxPy_BEGIN_ALLOW_THREADS
;
1926 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
1928 wxPy_END_ALLOW_THREADS
;
1929 } _resultobj
= Py_BuildValue("i",_result
);
1933 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
1934 static PyObject
*_wrap_wxWindow_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1935 PyObject
* _resultobj
;
1941 PyObject
* _argo0
= 0;
1942 char *_kwnames
[] = { "self", NULL
};
1951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizeTuple",_kwnames
,&_argo0
))
1954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
1961 wxPy_BEGIN_ALLOW_THREADS
;
1962 wxWindow_GetSizeTuple(_arg0
,_arg1
,_arg2
);
1964 wxPy_END_ALLOW_THREADS
;
1965 } Py_INCREF(Py_None
);
1966 _resultobj
= Py_None
;
1969 o
= PyInt_FromLong((long) (*_arg1
));
1970 _resultobj
= t_output_helper(_resultobj
, o
);
1974 o
= PyInt_FromLong((long) (*_arg2
));
1975 _resultobj
= t_output_helper(_resultobj
, o
);
1980 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
1981 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1982 PyObject
* _resultobj
;
1985 PyObject
* _argo0
= 0;
1986 char *_kwnames
[] = { "self", NULL
};
1990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSize",_kwnames
,&_argo0
))
1993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
2000 wxPy_BEGIN_ALLOW_THREADS
;
2001 _result
= new wxSize (wxWindow_GetSize(_arg0
));
2003 wxPy_END_ALLOW_THREADS
;
2004 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2005 _resultobj
= Py_BuildValue("s",_ptemp
);
2009 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
2010 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2011 PyObject
* _resultobj
;
2018 PyObject
* _argo0
= 0;
2019 PyObject
* _obj1
= 0;
2020 char *_kwnames
[] = { "self","string", NULL
};
2029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
2032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
2039 if (!PyString_Check(_obj1
)) {
2040 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2043 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2046 wxPy_BEGIN_ALLOW_THREADS
;
2047 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
2049 wxPy_END_ALLOW_THREADS
;
2050 } Py_INCREF(Py_None
);
2051 _resultobj
= Py_None
;
2054 o
= PyInt_FromLong((long) (*_arg2
));
2055 _resultobj
= t_output_helper(_resultobj
, o
);
2059 o
= PyInt_FromLong((long) (*_arg3
));
2060 _resultobj
= t_output_helper(_resultobj
, o
);
2069 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2070 static PyObject
*_wrap_wxWindow_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2071 PyObject
* _resultobj
;
2082 wxFont
* _arg6
= (wxFont
*) NULL
;
2083 PyObject
* _argo0
= 0;
2084 PyObject
* _obj1
= 0;
2085 PyObject
* _argo6
= 0;
2086 char *_kwnames
[] = { "self","string","font", NULL
};
2101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxWindow_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
2104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
2111 if (!PyString_Check(_obj1
)) {
2112 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2115 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2118 if (_argo6
== Py_None
) { _arg6
= NULL
; }
2119 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
2120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
2125 wxPy_BEGIN_ALLOW_THREADS
;
2126 wxWindow_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2128 wxPy_END_ALLOW_THREADS
;
2129 } Py_INCREF(Py_None
);
2130 _resultobj
= Py_None
;
2133 o
= PyInt_FromLong((long) (*_arg2
));
2134 _resultobj
= t_output_helper(_resultobj
, o
);
2138 o
= PyInt_FromLong((long) (*_arg3
));
2139 _resultobj
= t_output_helper(_resultobj
, o
);
2143 o
= PyInt_FromLong((long) (*_arg4
));
2144 _resultobj
= t_output_helper(_resultobj
, o
);
2148 o
= PyInt_FromLong((long) (*_arg5
));
2149 _resultobj
= t_output_helper(_resultobj
, o
);
2158 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
2159 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2160 PyObject
* _resultobj
;
2163 PyObject
* _argo0
= 0;
2164 char *_kwnames
[] = { "self", NULL
};
2167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetTitle",_kwnames
,&_argo0
))
2170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
2177 wxPy_BEGIN_ALLOW_THREADS
;
2178 _result
= new wxString (wxWindow_GetTitle(_arg0
));
2180 wxPy_END_ALLOW_THREADS
;
2182 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2190 #define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
2191 static PyObject
*_wrap_wxWindow_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2192 PyObject
* _resultobj
;
2195 PyObject
* _argo0
= 0;
2196 char *_kwnames
[] = { "self", NULL
};
2200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetUpdateRegion",_kwnames
,&_argo0
))
2203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
2210 wxPy_BEGIN_ALLOW_THREADS
;
2211 _result
= new wxRegion (wxWindow_GetUpdateRegion(_arg0
));
2213 wxPy_END_ALLOW_THREADS
;
2214 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRegion_p");
2215 _resultobj
= Py_BuildValue("s",_ptemp
);
2219 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
2220 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2221 PyObject
* _resultobj
;
2224 PyObject
* _argo0
= 0;
2225 char *_kwnames
[] = { "self", NULL
};
2228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetWindowStyleFlag",_kwnames
,&_argo0
))
2231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
2238 wxPy_BEGIN_ALLOW_THREADS
;
2239 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
2241 wxPy_END_ALLOW_THREADS
;
2242 } _resultobj
= Py_BuildValue("l",_result
);
2246 #define wxWindow_Hide(_swigobj) (_swigobj->Hide())
2247 static PyObject
*_wrap_wxWindow_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2248 PyObject
* _resultobj
;
2251 PyObject
* _argo0
= 0;
2252 char *_kwnames
[] = { "self", NULL
};
2255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Hide",_kwnames
,&_argo0
))
2258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
2265 wxPy_BEGIN_ALLOW_THREADS
;
2266 _result
= (bool )wxWindow_Hide(_arg0
);
2268 wxPy_END_ALLOW_THREADS
;
2269 } _resultobj
= Py_BuildValue("i",_result
);
2273 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
2274 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2275 PyObject
* _resultobj
;
2277 PyObject
* _argo0
= 0;
2278 char *_kwnames
[] = { "self", NULL
};
2281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_InitDialog",_kwnames
,&_argo0
))
2284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
2291 wxPy_BEGIN_ALLOW_THREADS
;
2292 wxWindow_InitDialog(_arg0
);
2294 wxPy_END_ALLOW_THREADS
;
2295 } Py_INCREF(Py_None
);
2296 _resultobj
= Py_None
;
2300 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
2301 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2302 PyObject
* _resultobj
;
2305 PyObject
* _argo0
= 0;
2306 char *_kwnames
[] = { "self", NULL
};
2309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsEnabled",_kwnames
,&_argo0
))
2312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
2319 wxPy_BEGIN_ALLOW_THREADS
;
2320 _result
= (bool )wxWindow_IsEnabled(_arg0
);
2322 wxPy_END_ALLOW_THREADS
;
2323 } _resultobj
= Py_BuildValue("i",_result
);
2327 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
2328 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2329 PyObject
* _resultobj
;
2332 PyObject
* _argo0
= 0;
2333 char *_kwnames
[] = { "self", NULL
};
2336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsRetained",_kwnames
,&_argo0
))
2339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
2346 wxPy_BEGIN_ALLOW_THREADS
;
2347 _result
= (bool )wxWindow_IsRetained(_arg0
);
2349 wxPy_END_ALLOW_THREADS
;
2350 } _resultobj
= Py_BuildValue("i",_result
);
2354 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
2355 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2356 PyObject
* _resultobj
;
2359 PyObject
* _argo0
= 0;
2360 char *_kwnames
[] = { "self", NULL
};
2363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsShown",_kwnames
,&_argo0
))
2366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
2373 wxPy_BEGIN_ALLOW_THREADS
;
2374 _result
= (bool )wxWindow_IsShown(_arg0
);
2376 wxPy_END_ALLOW_THREADS
;
2377 } _resultobj
= Py_BuildValue("i",_result
);
2381 #define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
2382 static PyObject
*_wrap_wxWindow_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2383 PyObject
* _resultobj
;
2386 PyObject
* _argo0
= 0;
2387 char *_kwnames
[] = { "self", NULL
};
2390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsTopLevel",_kwnames
,&_argo0
))
2393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
2400 wxPy_BEGIN_ALLOW_THREADS
;
2401 _result
= (bool )wxWindow_IsTopLevel(_arg0
);
2403 wxPy_END_ALLOW_THREADS
;
2404 } _resultobj
= Py_BuildValue("i",_result
);
2408 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
2409 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2410 PyObject
* _resultobj
;
2412 PyObject
* _argo0
= 0;
2413 char *_kwnames
[] = { "self", NULL
};
2416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Layout",_kwnames
,&_argo0
))
2419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
2426 wxPy_BEGIN_ALLOW_THREADS
;
2427 wxWindow_Layout(_arg0
);
2429 wxPy_END_ALLOW_THREADS
;
2430 } Py_INCREF(Py_None
);
2431 _resultobj
= Py_None
;
2435 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
2436 static PyObject
*_wrap_wxWindow_LoadFromResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2437 PyObject
* _resultobj
;
2442 wxResourceTable
* _arg3
= (wxResourceTable
*) NULL
;
2443 PyObject
* _argo0
= 0;
2444 PyObject
* _argo1
= 0;
2445 PyObject
* _obj2
= 0;
2446 PyObject
* _argo3
= 0;
2447 char *_kwnames
[] = { "self","parent","resourceName","resourceTable", NULL
};
2450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|O:wxWindow_LoadFromResource",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_argo3
))
2453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
2460 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2461 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
2467 if (!PyString_Check(_obj2
)) {
2468 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2471 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2474 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2475 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxResourceTable_p")) {
2476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
2481 wxPy_BEGIN_ALLOW_THREADS
;
2482 _result
= (bool )wxWindow_LoadFromResource(_arg0
,_arg1
,*_arg2
,_arg3
);
2484 wxPy_END_ALLOW_THREADS
;
2485 } _resultobj
= Py_BuildValue("i",_result
);
2493 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
2494 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2495 PyObject
* _resultobj
;
2497 PyObject
* _argo0
= 0;
2498 char *_kwnames
[] = { "self", NULL
};
2501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Lower",_kwnames
,&_argo0
))
2504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
2511 wxPy_BEGIN_ALLOW_THREADS
;
2512 wxWindow_Lower(_arg0
);
2514 wxPy_END_ALLOW_THREADS
;
2515 } Py_INCREF(Py_None
);
2516 _resultobj
= Py_None
;
2520 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
2521 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2522 PyObject
* _resultobj
;
2525 PyObject
* _argo0
= 0;
2527 char *_kwnames
[] = { "self","flag", NULL
};
2530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_MakeModal",_kwnames
,&_argo0
,&tempbool1
))
2533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
2539 _arg1
= (bool ) tempbool1
;
2541 wxPy_BEGIN_ALLOW_THREADS
;
2542 wxWindow_MakeModal(_arg0
,_arg1
);
2544 wxPy_END_ALLOW_THREADS
;
2545 } Py_INCREF(Py_None
);
2546 _resultobj
= Py_None
;
2550 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2551 static PyObject
*_wrap_wxWindow_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2552 PyObject
* _resultobj
;
2556 PyObject
* _argo0
= 0;
2557 char *_kwnames
[] = { "self","x","y", NULL
};
2560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
2570 wxPy_BEGIN_ALLOW_THREADS
;
2571 wxWindow_MoveXY(_arg0
,_arg1
,_arg2
);
2573 wxPy_END_ALLOW_THREADS
;
2574 } Py_INCREF(Py_None
);
2575 _resultobj
= Py_None
;
2579 #define wxWindow_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2580 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2581 PyObject
* _resultobj
;
2584 PyObject
* _argo0
= 0;
2586 PyObject
* _obj1
= 0;
2587 char *_kwnames
[] = { "self","point", NULL
};
2590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Move",_kwnames
,&_argo0
,&_obj1
))
2593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
2601 if (! wxPoint_helper(_obj1
, &_arg1
))
2605 wxPy_BEGIN_ALLOW_THREADS
;
2606 wxWindow_Move(_arg0
,*_arg1
);
2608 wxPy_END_ALLOW_THREADS
;
2609 } Py_INCREF(Py_None
);
2610 _resultobj
= Py_None
;
2614 #define wxWindow_PopEventHandler(_swigobj,_swigarg0) (_swigobj->PopEventHandler(_swigarg0))
2615 static PyObject
*_wrap_wxWindow_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2616 PyObject
* _resultobj
;
2617 wxEvtHandler
* _result
;
2619 bool _arg1
= (bool ) FALSE
;
2620 PyObject
* _argo0
= 0;
2621 int tempbool1
= (int) FALSE
;
2622 char *_kwnames
[] = { "self","deleteHandler", NULL
};
2626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_PopEventHandler",_kwnames
,&_argo0
,&tempbool1
))
2629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopEventHandler. Expected _wxWindow_p.");
2635 _arg1
= (bool ) tempbool1
;
2637 wxPy_BEGIN_ALLOW_THREADS
;
2638 _result
= (wxEvtHandler
*)wxWindow_PopEventHandler(_arg0
,_arg1
);
2640 wxPy_END_ALLOW_THREADS
;
2642 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
2643 _resultobj
= Py_BuildValue("s",_ptemp
);
2646 _resultobj
= Py_None
;
2651 #define wxWindow_PushEventHandler(_swigobj,_swigarg0) (_swigobj->PushEventHandler(_swigarg0))
2652 static PyObject
*_wrap_wxWindow_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2653 PyObject
* _resultobj
;
2655 wxEvtHandler
* _arg1
;
2656 PyObject
* _argo0
= 0;
2657 PyObject
* _argo1
= 0;
2658 char *_kwnames
[] = { "self","handler", NULL
};
2661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_PushEventHandler",_kwnames
,&_argo0
,&_argo1
))
2664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PushEventHandler. Expected _wxWindow_p.");
2671 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2672 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
2673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PushEventHandler. Expected _wxEvtHandler_p.");
2678 wxPy_BEGIN_ALLOW_THREADS
;
2679 wxWindow_PushEventHandler(_arg0
,_arg1
);
2681 wxPy_END_ALLOW_THREADS
;
2682 } Py_INCREF(Py_None
);
2683 _resultobj
= Py_None
;
2687 #define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
2688 static PyObject
*_wrap_wxWindow_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2689 PyObject
* _resultobj
;
2695 PyObject
* _argo0
= 0;
2696 PyObject
* _argo1
= 0;
2697 char *_kwnames
[] = { "self","menu","x","y", NULL
};
2700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxWindow_PopupMenuXY",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
2703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
2710 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2711 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
2712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
2717 wxPy_BEGIN_ALLOW_THREADS
;
2718 _result
= (bool )wxWindow_PopupMenuXY(_arg0
,_arg1
,_arg2
,_arg3
);
2720 wxPy_END_ALLOW_THREADS
;
2721 } _resultobj
= Py_BuildValue("i",_result
);
2725 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
2726 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2727 PyObject
* _resultobj
;
2732 PyObject
* _argo0
= 0;
2733 PyObject
* _argo1
= 0;
2735 PyObject
* _obj2
= 0;
2736 char *_kwnames
[] = { "self","menu","pos", NULL
};
2739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_PopupMenu",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
2742 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2743 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
2749 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2750 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
2751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
2757 if (! wxPoint_helper(_obj2
, &_arg2
))
2761 wxPy_BEGIN_ALLOW_THREADS
;
2762 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,*_arg2
);
2764 wxPy_END_ALLOW_THREADS
;
2765 } _resultobj
= Py_BuildValue("i",_result
);
2769 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
2770 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2771 PyObject
* _resultobj
;
2773 PyObject
* _argo0
= 0;
2774 char *_kwnames
[] = { "self", NULL
};
2777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Raise",_kwnames
,&_argo0
))
2780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
2787 wxPy_BEGIN_ALLOW_THREADS
;
2788 wxWindow_Raise(_arg0
);
2790 wxPy_END_ALLOW_THREADS
;
2791 } Py_INCREF(Py_None
);
2792 _resultobj
= Py_None
;
2796 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
2797 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2798 PyObject
* _resultobj
;
2800 bool _arg1
= (bool ) TRUE
;
2801 wxRect
* _arg2
= (wxRect
*) NULL
;
2802 PyObject
* _argo0
= 0;
2803 int tempbool1
= (int) TRUE
;
2805 PyObject
* _obj2
= 0;
2806 char *_kwnames
[] = { "self","eraseBackground","rect", NULL
};
2809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxWindow_Refresh",_kwnames
,&_argo0
,&tempbool1
,&_obj2
))
2812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
2818 _arg1
= (bool ) tempbool1
;
2822 if (! wxRect_helper(_obj2
, &_arg2
))
2826 wxPy_BEGIN_ALLOW_THREADS
;
2827 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
2829 wxPy_END_ALLOW_THREADS
;
2830 } Py_INCREF(Py_None
);
2831 _resultobj
= Py_None
;
2835 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
2836 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2837 PyObject
* _resultobj
;
2839 PyObject
* _argo0
= 0;
2840 char *_kwnames
[] = { "self", NULL
};
2843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_ReleaseMouse",_kwnames
,&_argo0
))
2846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
2853 wxPy_BEGIN_ALLOW_THREADS
;
2854 wxWindow_ReleaseMouse(_arg0
);
2856 wxPy_END_ALLOW_THREADS
;
2857 } Py_INCREF(Py_None
);
2858 _resultobj
= Py_None
;
2862 #define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
2863 static PyObject
*_wrap_wxWindow_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2864 PyObject
* _resultobj
;
2868 PyObject
* _argo0
= 0;
2869 PyObject
* _argo1
= 0;
2870 char *_kwnames
[] = { "self","newParent", NULL
};
2873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Reparent",_kwnames
,&_argo0
,&_argo1
))
2876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
2883 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2884 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
2890 wxPy_BEGIN_ALLOW_THREADS
;
2891 _result
= (bool )wxWindow_Reparent(_arg0
,_arg1
);
2893 wxPy_END_ALLOW_THREADS
;
2894 } _resultobj
= Py_BuildValue("i",_result
);
2898 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
2899 static PyObject
*_wrap_wxWindow_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2900 PyObject
* _resultobj
;
2904 PyObject
* _argo0
= 0;
2906 PyObject
* _obj1
= 0;
2908 PyObject
* _obj2
= 0;
2909 char *_kwnames
[] = { "self","x","y", NULL
};
2912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ScreenToClientXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
2922 temp
= (int) PyInt_AsLong(_obj1
);
2926 temp0
= (int) PyInt_AsLong(_obj2
);
2930 wxPy_BEGIN_ALLOW_THREADS
;
2931 wxWindow_ScreenToClientXY(_arg0
,_arg1
,_arg2
);
2933 wxPy_END_ALLOW_THREADS
;
2934 } Py_INCREF(Py_None
);
2935 _resultobj
= Py_None
;
2938 o
= PyInt_FromLong((long) (*_arg1
));
2939 _resultobj
= t_output_helper(_resultobj
, o
);
2943 o
= PyInt_FromLong((long) (*_arg2
));
2944 _resultobj
= t_output_helper(_resultobj
, o
);
2949 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
2950 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2951 PyObject
* _resultobj
;
2955 PyObject
* _argo0
= 0;
2957 PyObject
* _obj1
= 0;
2958 char *_kwnames
[] = { "self","pt", NULL
};
2962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ScreenToClient",_kwnames
,&_argo0
,&_obj1
))
2965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
2973 if (! wxPoint_helper(_obj1
, &_arg1
))
2977 wxPy_BEGIN_ALLOW_THREADS
;
2978 _result
= new wxPoint (wxWindow_ScreenToClient(_arg0
,*_arg1
));
2980 wxPy_END_ALLOW_THREADS
;
2981 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2982 _resultobj
= Py_BuildValue("s",_ptemp
);
2986 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
2987 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2988 PyObject
* _resultobj
;
2992 wxRect
* _arg3
= (wxRect
*) NULL
;
2993 PyObject
* _argo0
= 0;
2995 PyObject
* _obj3
= 0;
2996 char *_kwnames
[] = { "self","dx","dy","rect", NULL
};
2999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|O:wxWindow_ScrollWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
3011 if (! wxRect_helper(_obj3
, &_arg3
))
3015 wxPy_BEGIN_ALLOW_THREADS
;
3016 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
3018 wxPy_END_ALLOW_THREADS
;
3019 } Py_INCREF(Py_None
);
3020 _resultobj
= Py_None
;
3024 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
3025 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3026 PyObject
* _resultobj
;
3028 wxAcceleratorTable
* _arg1
;
3029 PyObject
* _argo0
= 0;
3030 PyObject
* _argo1
= 0;
3031 char *_kwnames
[] = { "self","accel", NULL
};
3034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetAcceleratorTable",_kwnames
,&_argo0
,&_argo1
))
3037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
3044 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3045 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
3046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
3051 wxPy_BEGIN_ALLOW_THREADS
;
3052 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
3054 wxPy_END_ALLOW_THREADS
;
3055 } Py_INCREF(Py_None
);
3056 _resultobj
= Py_None
;
3060 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
3061 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3062 PyObject
* _resultobj
;
3065 PyObject
* _argo0
= 0;
3067 char *_kwnames
[] = { "self","autoLayout", NULL
};
3070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetAutoLayout",_kwnames
,&_argo0
,&tempbool1
))
3073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
3079 _arg1
= (bool ) tempbool1
;
3081 wxPy_BEGIN_ALLOW_THREADS
;
3082 wxWindow_SetAutoLayout(_arg0
,_arg1
);
3084 wxPy_END_ALLOW_THREADS
;
3085 } Py_INCREF(Py_None
);
3086 _resultobj
= Py_None
;
3090 #define wxWindow_GetAutoLayout(_swigobj) (_swigobj->GetAutoLayout())
3091 static PyObject
*_wrap_wxWindow_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3092 PyObject
* _resultobj
;
3095 PyObject
* _argo0
= 0;
3096 char *_kwnames
[] = { "self", NULL
};
3099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAutoLayout",_kwnames
,&_argo0
))
3102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetAutoLayout. Expected _wxWindow_p.");
3109 wxPy_BEGIN_ALLOW_THREADS
;
3110 _result
= (bool )wxWindow_GetAutoLayout(_arg0
);
3112 wxPy_END_ALLOW_THREADS
;
3113 } _resultobj
= Py_BuildValue("i",_result
);
3117 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3118 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3119 PyObject
* _resultobj
;
3122 PyObject
* _argo0
= 0;
3123 PyObject
* _argo1
= 0;
3124 char *_kwnames
[] = { "self","colour", NULL
};
3127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetBackgroundColour",_kwnames
,&_argo0
,&_argo1
))
3130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
3137 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3138 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
3139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetBackgroundColour. Expected _wxColour_p.");
3144 wxPy_BEGIN_ALLOW_THREADS
;
3145 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
3147 wxPy_END_ALLOW_THREADS
;
3148 } Py_INCREF(Py_None
);
3149 _resultobj
= Py_None
;
3153 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
3154 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3155 PyObject
* _resultobj
;
3157 wxLayoutConstraints
* _arg1
;
3158 PyObject
* _argo0
= 0;
3159 PyObject
* _argo1
= 0;
3160 char *_kwnames
[] = { "self","constraints", NULL
};
3163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetConstraints",_kwnames
,&_argo0
,&_argo1
))
3166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
3173 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3174 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
3180 wxPy_BEGIN_ALLOW_THREADS
;
3181 wxWindow_SetConstraints(_arg0
,_arg1
);
3183 wxPy_END_ALLOW_THREADS
;
3184 } Py_INCREF(Py_None
);
3185 _resultobj
= Py_None
;
3189 #define wxWindow_UnsetConstraints(_swigobj,_swigarg0) (_swigobj->UnsetConstraints(_swigarg0))
3190 static PyObject
*_wrap_wxWindow_UnsetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3191 PyObject
* _resultobj
;
3193 wxLayoutConstraints
* _arg1
;
3194 PyObject
* _argo0
= 0;
3195 PyObject
* _argo1
= 0;
3196 char *_kwnames
[] = { "self","constraints", NULL
};
3199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_UnsetConstraints",_kwnames
,&_argo0
,&_argo1
))
3202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_UnsetConstraints. Expected _wxWindow_p.");
3209 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3210 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_UnsetConstraints. Expected _wxLayoutConstraints_p.");
3216 wxPy_BEGIN_ALLOW_THREADS
;
3217 wxWindow_UnsetConstraints(_arg0
,_arg1
);
3219 wxPy_END_ALLOW_THREADS
;
3220 } Py_INCREF(Py_None
);
3221 _resultobj
= Py_None
;
3225 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
3226 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3227 PyObject
* _resultobj
;
3229 PyObject
* _argo0
= 0;
3230 char *_kwnames
[] = { "self", NULL
};
3233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_SetFocus",_kwnames
,&_argo0
))
3236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
3243 wxPy_BEGIN_ALLOW_THREADS
;
3244 wxWindow_SetFocus(_arg0
);
3246 wxPy_END_ALLOW_THREADS
;
3247 } Py_INCREF(Py_None
);
3248 _resultobj
= Py_None
;
3252 #define wxWindow_AcceptsFocus(_swigobj) (_swigobj->AcceptsFocus())
3253 static PyObject
*_wrap_wxWindow_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3254 PyObject
* _resultobj
;
3257 PyObject
* _argo0
= 0;
3258 char *_kwnames
[] = { "self", NULL
};
3261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_AcceptsFocus",_kwnames
,&_argo0
))
3264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_AcceptsFocus. Expected _wxWindow_p.");
3271 wxPy_BEGIN_ALLOW_THREADS
;
3272 _result
= (bool )wxWindow_AcceptsFocus(_arg0
);
3274 wxPy_END_ALLOW_THREADS
;
3275 } _resultobj
= Py_BuildValue("i",_result
);
3279 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
3280 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3281 PyObject
* _resultobj
;
3284 PyObject
* _argo0
= 0;
3285 PyObject
* _argo1
= 0;
3286 char *_kwnames
[] = { "self","font", NULL
};
3289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetFont",_kwnames
,&_argo0
,&_argo1
))
3292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
3299 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3300 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
3301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
3306 wxPy_BEGIN_ALLOW_THREADS
;
3307 wxWindow_SetFont(_arg0
,*_arg1
);
3309 wxPy_END_ALLOW_THREADS
;
3310 } Py_INCREF(Py_None
);
3311 _resultobj
= Py_None
;
3315 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
3316 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3317 PyObject
* _resultobj
;
3320 PyObject
* _argo0
= 0;
3321 PyObject
* _argo1
= 0;
3322 char *_kwnames
[] = { "self","colour", NULL
};
3325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetForegroundColour",_kwnames
,&_argo0
,&_argo1
))
3328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
3335 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3336 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
3337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetForegroundColour. Expected _wxColour_p.");
3342 wxPy_BEGIN_ALLOW_THREADS
;
3343 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
3345 wxPy_END_ALLOW_THREADS
;
3346 } Py_INCREF(Py_None
);
3347 _resultobj
= Py_None
;
3351 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
3352 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3353 PyObject
* _resultobj
;
3356 PyObject
* _argo0
= 0;
3357 char *_kwnames
[] = { "self","id", NULL
};
3360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetId",_kwnames
,&_argo0
,&_arg1
))
3363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
3370 wxPy_BEGIN_ALLOW_THREADS
;
3371 wxWindow_SetId(_arg0
,_arg1
);
3373 wxPy_END_ALLOW_THREADS
;
3374 } Py_INCREF(Py_None
);
3375 _resultobj
= Py_None
;
3379 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
3380 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3381 PyObject
* _resultobj
;
3384 PyObject
* _argo0
= 0;
3385 PyObject
* _obj1
= 0;
3386 char *_kwnames
[] = { "self","name", NULL
};
3389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetName",_kwnames
,&_argo0
,&_obj1
))
3392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
3399 if (!PyString_Check(_obj1
)) {
3400 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3403 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3406 wxPy_BEGIN_ALLOW_THREADS
;
3407 wxWindow_SetName(_arg0
,*_arg1
);
3409 wxPy_END_ALLOW_THREADS
;
3410 } Py_INCREF(Py_None
);
3411 _resultobj
= Py_None
;
3419 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3420 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3421 PyObject
* _resultobj
;
3427 bool _arg5
= (bool ) TRUE
;
3428 PyObject
* _argo0
= 0;
3429 int tempbool5
= (int) TRUE
;
3430 char *_kwnames
[] = { "self","orientation","position","thumbSize","range","refresh", NULL
};
3433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
3436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
3442 _arg5
= (bool ) tempbool5
;
3444 wxPy_BEGIN_ALLOW_THREADS
;
3445 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3447 wxPy_END_ALLOW_THREADS
;
3448 } Py_INCREF(Py_None
);
3449 _resultobj
= Py_None
;
3453 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
3454 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3455 PyObject
* _resultobj
;
3459 bool _arg3
= (bool ) TRUE
;
3460 PyObject
* _argo0
= 0;
3461 int tempbool3
= (int) TRUE
;
3462 char *_kwnames
[] = { "self","orientation","pos","refresh", NULL
};
3465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_SetScrollPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
3468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
3474 _arg3
= (bool ) tempbool3
;
3476 wxPy_BEGIN_ALLOW_THREADS
;
3477 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
3479 wxPy_END_ALLOW_THREADS
;
3480 } Py_INCREF(Py_None
);
3481 _resultobj
= Py_None
;
3485 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3486 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3487 PyObject
* _resultobj
;
3493 int _arg5
= (int ) wxSIZE_AUTO
;
3494 PyObject
* _argo0
= 0;
3495 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
3498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetDimensions",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
3508 wxPy_BEGIN_ALLOW_THREADS
;
3509 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3511 wxPy_END_ALLOW_THREADS
;
3512 } Py_INCREF(Py_None
);
3513 _resultobj
= Py_None
;
3517 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
3518 self
->SetSize(size
.x
, size
.y
);
3520 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3521 PyObject
* _resultobj
;
3524 PyObject
* _argo0
= 0;
3526 PyObject
* _obj1
= 0;
3527 char *_kwnames
[] = { "self","size", NULL
};
3530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSize",_kwnames
,&_argo0
,&_obj1
))
3533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
3541 if (! wxSize_helper(_obj1
, &_arg1
))
3545 wxPy_BEGIN_ALLOW_THREADS
;
3546 wxWindow_SetSize(_arg0
,*_arg1
);
3548 wxPy_END_ALLOW_THREADS
;
3549 } Py_INCREF(Py_None
);
3550 _resultobj
= Py_None
;
3554 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
) {
3555 self
->SetSize(pos
.x
, pos
.y
, -1, -1);
3557 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3558 PyObject
* _resultobj
;
3561 PyObject
* _argo0
= 0;
3563 PyObject
* _obj1
= 0;
3564 char *_kwnames
[] = { "self","pos", NULL
};
3567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetPosition",_kwnames
,&_argo0
,&_obj1
))
3570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
3578 if (! wxPoint_helper(_obj1
, &_arg1
))
3582 wxPy_BEGIN_ALLOW_THREADS
;
3583 wxWindow_SetPosition(_arg0
,*_arg1
);
3585 wxPy_END_ALLOW_THREADS
;
3586 } Py_INCREF(Py_None
);
3587 _resultobj
= Py_None
;
3591 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3592 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3593 PyObject
* _resultobj
;
3595 int _arg1
= (int ) -1;
3596 int _arg2
= (int ) -1;
3597 int _arg3
= (int ) -1;
3598 int _arg4
= (int ) -1;
3599 int _arg5
= (int ) -1;
3600 int _arg6
= (int ) -1;
3601 PyObject
* _argo0
= 0;
3602 char *_kwnames
[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL
};
3605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iiiiii:wxWindow_SetSizeHints",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
3615 wxPy_BEGIN_ALLOW_THREADS
;
3616 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3618 wxPy_END_ALLOW_THREADS
;
3619 } Py_INCREF(Py_None
);
3620 _resultobj
= Py_None
;
3624 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
3625 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3626 PyObject
* _resultobj
;
3630 PyObject
* _argo0
= 0;
3631 char *_kwnames
[] = { "self","width","height", NULL
};
3634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_SetClientSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
3644 wxPy_BEGIN_ALLOW_THREADS
;
3645 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
3647 wxPy_END_ALLOW_THREADS
;
3648 } Py_INCREF(Py_None
);
3649 _resultobj
= Py_None
;
3653 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
3654 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3655 PyObject
* _resultobj
;
3658 PyObject
* _argo0
= 0;
3660 PyObject
* _obj1
= 0;
3661 char *_kwnames
[] = { "self","size", NULL
};
3664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetClientSize",_kwnames
,&_argo0
,&_obj1
))
3667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
3675 if (! wxSize_helper(_obj1
, &_arg1
))
3679 wxPy_BEGIN_ALLOW_THREADS
;
3680 wxWindow_SetClientSize(_arg0
,*_arg1
);
3682 wxPy_END_ALLOW_THREADS
;
3683 } Py_INCREF(Py_None
);
3684 _resultobj
= Py_None
;
3688 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
3689 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3690 PyObject
* _resultobj
;
3693 PyObject
* _argo0
= 0;
3694 PyObject
* _argo1
= 0;
3695 char *_kwnames
[] = { "self","cursor", NULL
};
3698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCursor",_kwnames
,&_argo0
,&_argo1
))
3701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
3708 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3709 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
3715 wxPy_BEGIN_ALLOW_THREADS
;
3716 wxWindow_SetCursor(_arg0
,*_arg1
);
3718 wxPy_END_ALLOW_THREADS
;
3719 } Py_INCREF(Py_None
);
3720 _resultobj
= Py_None
;
3724 #define wxWindow_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
3725 static PyObject
*_wrap_wxWindow_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3726 PyObject
* _resultobj
;
3728 wxEvtHandler
* _arg1
;
3729 PyObject
* _argo0
= 0;
3730 PyObject
* _argo1
= 0;
3731 char *_kwnames
[] = { "self","handler", NULL
};
3734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
3737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetEventHandler. Expected _wxWindow_p.");
3744 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3745 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetEventHandler. Expected _wxEvtHandler_p.");
3751 wxPy_BEGIN_ALLOW_THREADS
;
3752 wxWindow_SetEventHandler(_arg0
,_arg1
);
3754 wxPy_END_ALLOW_THREADS
;
3755 } Py_INCREF(Py_None
);
3756 _resultobj
= Py_None
;
3760 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
3761 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3762 PyObject
* _resultobj
;
3765 PyObject
* _argo0
= 0;
3766 PyObject
* _obj1
= 0;
3767 char *_kwnames
[] = { "self","title", NULL
};
3770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
3773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
3780 if (!PyString_Check(_obj1
)) {
3781 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3784 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3787 wxPy_BEGIN_ALLOW_THREADS
;
3788 wxWindow_SetTitle(_arg0
,*_arg1
);
3790 wxPy_END_ALLOW_THREADS
;
3791 } Py_INCREF(Py_None
);
3792 _resultobj
= Py_None
;
3800 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3801 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3802 PyObject
* _resultobj
;
3806 PyObject
* _argo0
= 0;
3808 char *_kwnames
[] = { "self","show", NULL
};
3811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
3814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
3820 _arg1
= (bool ) tempbool1
;
3822 wxPy_BEGIN_ALLOW_THREADS
;
3823 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
3825 wxPy_END_ALLOW_THREADS
;
3826 } _resultobj
= Py_BuildValue("i",_result
);
3830 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
3831 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3832 PyObject
* _resultobj
;
3835 PyObject
* _argo0
= 0;
3836 char *_kwnames
[] = { "self", NULL
};
3839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataFromWindow",_kwnames
,&_argo0
))
3842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
3849 wxPy_BEGIN_ALLOW_THREADS
;
3850 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
3852 wxPy_END_ALLOW_THREADS
;
3853 } _resultobj
= Py_BuildValue("i",_result
);
3857 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
3858 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3859 PyObject
* _resultobj
;
3862 PyObject
* _argo0
= 0;
3863 char *_kwnames
[] = { "self", NULL
};
3866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataToWindow",_kwnames
,&_argo0
))
3869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
3876 wxPy_BEGIN_ALLOW_THREADS
;
3877 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
3879 wxPy_END_ALLOW_THREADS
;
3880 } _resultobj
= Py_BuildValue("i",_result
);
3884 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
3885 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3886 PyObject
* _resultobj
;
3889 PyObject
* _argo0
= 0;
3890 char *_kwnames
[] = { "self", NULL
};
3893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Validate",_kwnames
,&_argo0
))
3896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
3903 wxPy_BEGIN_ALLOW_THREADS
;
3904 _result
= (bool )wxWindow_Validate(_arg0
);
3906 wxPy_END_ALLOW_THREADS
;
3907 } _resultobj
= Py_BuildValue("i",_result
);
3911 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
3912 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3913 PyObject
* _resultobj
;
3917 PyObject
* _argo0
= 0;
3918 char *_kwnames
[] = { "self","x","y", NULL
};
3921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_WarpPointer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
3931 wxPy_BEGIN_ALLOW_THREADS
;
3932 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
3934 wxPy_END_ALLOW_THREADS
;
3935 } Py_INCREF(Py_None
);
3936 _resultobj
= Py_None
;
3940 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
3941 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3942 PyObject
* _resultobj
;
3946 PyObject
* _argo0
= 0;
3948 PyObject
* _obj1
= 0;
3949 char *_kwnames
[] = { "self","pt", NULL
};
3953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames
,&_argo0
,&_obj1
))
3956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
3964 if (! wxPoint_helper(_obj1
, &_arg1
))
3968 wxPy_BEGIN_ALLOW_THREADS
;
3969 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
3971 wxPy_END_ALLOW_THREADS
;
3972 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3973 _resultobj
= Py_BuildValue("s",_ptemp
);
3977 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
3978 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3979 PyObject
* _resultobj
;
3983 PyObject
* _argo0
= 0;
3985 PyObject
* _obj1
= 0;
3986 char *_kwnames
[] = { "self","sz", NULL
};
3990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames
,&_argo0
,&_obj1
))
3993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
4001 if (! wxSize_helper(_obj1
, &_arg1
))
4005 wxPy_BEGIN_ALLOW_THREADS
;
4006 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
4008 wxPy_END_ALLOW_THREADS
;
4009 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4010 _resultobj
= Py_BuildValue("s",_ptemp
);
4014 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4015 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4016 PyObject
* _resultobj
;
4020 PyObject
* _argo0
= 0;
4022 PyObject
* _obj1
= 0;
4023 char *_kwnames
[] = { "self","pt", NULL
};
4027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames
,&_argo0
,&_obj1
))
4030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
4038 if (! wxPoint_helper(_obj1
, &_arg1
))
4042 wxPy_BEGIN_ALLOW_THREADS
;
4043 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
4045 wxPy_END_ALLOW_THREADS
;
4046 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4047 _resultobj
= Py_BuildValue("s",_ptemp
);
4051 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4052 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4053 PyObject
* _resultobj
;
4057 PyObject
* _argo0
= 0;
4059 PyObject
* _obj1
= 0;
4060 char *_kwnames
[] = { "self","sz", NULL
};
4064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames
,&_argo0
,&_obj1
))
4067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
4075 if (! wxSize_helper(_obj1
, &_arg1
))
4079 wxPy_BEGIN_ALLOW_THREADS
;
4080 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
4082 wxPy_END_ALLOW_THREADS
;
4083 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4084 _resultobj
= Py_BuildValue("s",_ptemp
);
4088 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4089 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4090 PyObject
* _resultobj
;
4093 PyObject
* _argo0
= 0;
4094 PyObject
* _obj1
= 0;
4095 char *_kwnames
[] = { "self","tip", NULL
};
4098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTipString",_kwnames
,&_argo0
,&_obj1
))
4101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
4108 if (!PyString_Check(_obj1
)) {
4109 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4112 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4115 wxPy_BEGIN_ALLOW_THREADS
;
4116 wxWindow_SetToolTipString(_arg0
,*_arg1
);
4118 wxPy_END_ALLOW_THREADS
;
4119 } Py_INCREF(Py_None
);
4120 _resultobj
= Py_None
;
4128 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4129 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4130 PyObject
* _resultobj
;
4133 PyObject
* _argo0
= 0;
4134 PyObject
* _argo1
= 0;
4135 char *_kwnames
[] = { "self","tooltip", NULL
};
4138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTip",_kwnames
,&_argo0
,&_argo1
))
4141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
4148 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4149 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolTip_p")) {
4150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
4155 wxPy_BEGIN_ALLOW_THREADS
;
4156 wxWindow_SetToolTip(_arg0
,_arg1
);
4158 wxPy_END_ALLOW_THREADS
;
4159 } Py_INCREF(Py_None
);
4160 _resultobj
= Py_None
;
4164 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
4165 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4166 PyObject
* _resultobj
;
4167 wxToolTip
* _result
;
4169 PyObject
* _argo0
= 0;
4170 char *_kwnames
[] = { "self", NULL
};
4174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetToolTip",_kwnames
,&_argo0
))
4177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
4184 wxPy_BEGIN_ALLOW_THREADS
;
4185 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
4187 wxPy_END_ALLOW_THREADS
;
4189 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
4190 _resultobj
= Py_BuildValue("s",_ptemp
);
4193 _resultobj
= Py_None
;
4198 #define wxWindow_SetSizer(_swigobj,_swigarg0) (_swigobj->SetSizer(_swigarg0))
4199 static PyObject
*_wrap_wxWindow_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4200 PyObject
* _resultobj
;
4203 PyObject
* _argo0
= 0;
4204 PyObject
* _argo1
= 0;
4205 char *_kwnames
[] = { "self","sizer", NULL
};
4208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSizer",_kwnames
,&_argo0
,&_argo1
))
4211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizer. Expected _wxWindow_p.");
4218 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4219 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
4220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSizer. Expected _wxSizer_p.");
4225 wxPy_BEGIN_ALLOW_THREADS
;
4226 wxWindow_SetSizer(_arg0
,_arg1
);
4228 wxPy_END_ALLOW_THREADS
;
4229 } Py_INCREF(Py_None
);
4230 _resultobj
= Py_None
;
4234 #define wxWindow_GetValidator(_swigobj) (_swigobj->GetValidator())
4235 static PyObject
*_wrap_wxWindow_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4236 PyObject
* _resultobj
;
4237 wxValidator
* _result
;
4239 PyObject
* _argo0
= 0;
4240 char *_kwnames
[] = { "self", NULL
};
4244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetValidator",_kwnames
,&_argo0
))
4247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetValidator. Expected _wxWindow_p.");
4254 wxPy_BEGIN_ALLOW_THREADS
;
4255 _result
= (wxValidator
*)wxWindow_GetValidator(_arg0
);
4257 wxPy_END_ALLOW_THREADS
;
4259 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
4260 _resultobj
= Py_BuildValue("s",_ptemp
);
4263 _resultobj
= Py_None
;
4268 #define wxWindow_SetValidator(_swigobj,_swigarg0) (_swigobj->SetValidator(_swigarg0))
4269 static PyObject
*_wrap_wxWindow_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4270 PyObject
* _resultobj
;
4272 wxValidator
* _arg1
;
4273 PyObject
* _argo0
= 0;
4274 PyObject
* _argo1
= 0;
4275 char *_kwnames
[] = { "self","validator", NULL
};
4278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetValidator",_kwnames
,&_argo0
,&_argo1
))
4281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetValidator. Expected _wxWindow_p.");
4288 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4289 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxValidator_p")) {
4290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetValidator. Expected _wxValidator_p.");
4295 wxPy_BEGIN_ALLOW_THREADS
;
4296 wxWindow_SetValidator(_arg0
,*_arg1
);
4298 wxPy_END_ALLOW_THREADS
;
4299 } Py_INCREF(Py_None
);
4300 _resultobj
= Py_None
;
4304 static void *SwigwxPanelTowxWindow(void *ptr
) {
4307 src
= (wxPanel
*) ptr
;
4308 dest
= (wxWindow
*) src
;
4309 return (void *) dest
;
4312 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
4315 src
= (wxPanel
*) ptr
;
4316 dest
= (wxEvtHandler
*) src
;
4317 return (void *) dest
;
4320 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4321 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4322 PyObject
* _resultobj
;
4326 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
4327 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
4328 long _arg4
= (long ) wxTAB_TRAVERSAL
;
4329 char * _arg5
= (char *) "panel";
4330 PyObject
* _argo0
= 0;
4332 PyObject
* _obj2
= 0;
4334 PyObject
* _obj3
= 0;
4335 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
4339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxPanel",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
4342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
4351 if (! wxPoint_helper(_obj2
, &_arg2
))
4357 if (! wxSize_helper(_obj3
, &_arg3
))
4361 wxPy_BEGIN_ALLOW_THREADS
;
4362 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
4364 wxPy_END_ALLOW_THREADS
;
4366 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
4367 _resultobj
= Py_BuildValue("s",_ptemp
);
4370 _resultobj
= Py_None
;
4375 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
4376 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4377 PyObject
* _resultobj
;
4379 PyObject
* _argo0
= 0;
4380 char *_kwnames
[] = { "self", NULL
};
4383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_InitDialog",_kwnames
,&_argo0
))
4386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
4388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
4393 wxPy_BEGIN_ALLOW_THREADS
;
4394 wxPanel_InitDialog(_arg0
);
4396 wxPy_END_ALLOW_THREADS
;
4397 } Py_INCREF(Py_None
);
4398 _resultobj
= Py_None
;
4402 #define wxPanel_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
4403 static PyObject
*_wrap_wxPanel_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4404 PyObject
* _resultobj
;
4407 PyObject
* _argo0
= 0;
4408 char *_kwnames
[] = { "self", NULL
};
4412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_GetDefaultItem",_kwnames
,&_argo0
))
4415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
4417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_GetDefaultItem. Expected _wxPanel_p.");
4422 wxPy_BEGIN_ALLOW_THREADS
;
4423 _result
= (wxButton
*)wxPanel_GetDefaultItem(_arg0
);
4425 wxPy_END_ALLOW_THREADS
;
4427 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
4428 _resultobj
= Py_BuildValue("s",_ptemp
);
4431 _resultobj
= Py_None
;
4436 #define wxPanel_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
4437 static PyObject
*_wrap_wxPanel_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4438 PyObject
* _resultobj
;
4441 PyObject
* _argo0
= 0;
4442 PyObject
* _argo1
= 0;
4443 char *_kwnames
[] = { "self","btn", NULL
};
4446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPanel_SetDefaultItem",_kwnames
,&_argo0
,&_argo1
))
4449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
4451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_SetDefaultItem. Expected _wxPanel_p.");
4456 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4457 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxButton_p")) {
4458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPanel_SetDefaultItem. Expected _wxButton_p.");
4463 wxPy_BEGIN_ALLOW_THREADS
;
4464 wxPanel_SetDefaultItem(_arg0
,_arg1
);
4466 wxPy_END_ALLOW_THREADS
;
4467 } Py_INCREF(Py_None
);
4468 _resultobj
= Py_None
;
4472 static void *SwigwxDialogTowxPanel(void *ptr
) {
4475 src
= (wxDialog
*) ptr
;
4476 dest
= (wxPanel
*) src
;
4477 return (void *) dest
;
4480 static void *SwigwxDialogTowxWindow(void *ptr
) {
4483 src
= (wxDialog
*) ptr
;
4484 dest
= (wxWindow
*) src
;
4485 return (void *) dest
;
4488 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
4491 src
= (wxDialog
*) ptr
;
4492 dest
= (wxEvtHandler
*) src
;
4493 return (void *) dest
;
4496 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4497 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4498 PyObject
* _resultobj
;
4503 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
4504 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
4505 long _arg5
= (long ) wxDEFAULT_DIALOG_STYLE
;
4506 char * _arg6
= (char *) "dialogBox";
4507 PyObject
* _argo0
= 0;
4508 PyObject
* _obj2
= 0;
4510 PyObject
* _obj3
= 0;
4512 PyObject
* _obj4
= 0;
4513 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
4517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxDialog",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
4527 if (!PyString_Check(_obj2
)) {
4528 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4531 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4536 if (! wxPoint_helper(_obj3
, &_arg3
))
4542 if (! wxSize_helper(_obj4
, &_arg4
))
4546 wxPy_BEGIN_ALLOW_THREADS
;
4547 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4549 wxPy_END_ALLOW_THREADS
;
4551 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
4552 _resultobj
= Py_BuildValue("s",_ptemp
);
4555 _resultobj
= Py_None
;
4564 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
4565 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4566 PyObject
* _resultobj
;
4568 int _arg1
= (int ) wxBOTH
;
4569 PyObject
* _argo0
= 0;
4570 char *_kwnames
[] = { "self","direction", NULL
};
4573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDialog_Centre",_kwnames
,&_argo0
,&_arg1
))
4576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
4583 wxPy_BEGIN_ALLOW_THREADS
;
4584 wxDialog_Centre(_arg0
,_arg1
);
4586 wxPy_END_ALLOW_THREADS
;
4587 } Py_INCREF(Py_None
);
4588 _resultobj
= Py_None
;
4592 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
4593 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4594 PyObject
* _resultobj
;
4597 PyObject
* _argo0
= 0;
4598 char *_kwnames
[] = { "self","retCode", NULL
};
4601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_EndModal",_kwnames
,&_argo0
,&_arg1
))
4604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
4611 wxPy_BEGIN_ALLOW_THREADS
;
4612 wxDialog_EndModal(_arg0
,_arg1
);
4614 wxPy_END_ALLOW_THREADS
;
4615 } Py_INCREF(Py_None
);
4616 _resultobj
= Py_None
;
4620 #define wxDialog_GetTitle(_swigobj) (_swigobj->GetTitle())
4621 static PyObject
*_wrap_wxDialog_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4622 PyObject
* _resultobj
;
4625 PyObject
* _argo0
= 0;
4626 char *_kwnames
[] = { "self", NULL
};
4629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetTitle",_kwnames
,&_argo0
))
4632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetTitle. Expected _wxDialog_p.");
4639 wxPy_BEGIN_ALLOW_THREADS
;
4640 _result
= new wxString (wxDialog_GetTitle(_arg0
));
4642 wxPy_END_ALLOW_THREADS
;
4644 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
4652 #define wxDialog_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
4653 static PyObject
*_wrap_wxDialog_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4654 PyObject
* _resultobj
;
4657 PyObject
* _argo0
= 0;
4659 char *_kwnames
[] = { "self","iconize", NULL
};
4662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Iconize",_kwnames
,&_argo0
,&tempbool1
))
4665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Iconize. Expected _wxDialog_p.");
4671 _arg1
= (bool ) tempbool1
;
4673 wxPy_BEGIN_ALLOW_THREADS
;
4674 wxDialog_Iconize(_arg0
,_arg1
);
4676 wxPy_END_ALLOW_THREADS
;
4677 } Py_INCREF(Py_None
);
4678 _resultobj
= Py_None
;
4682 #define wxDialog_IsIconized(_swigobj) (_swigobj->IsIconized())
4683 static PyObject
*_wrap_wxDialog_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4684 PyObject
* _resultobj
;
4687 PyObject
* _argo0
= 0;
4688 char *_kwnames
[] = { "self", NULL
};
4691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsIconized",_kwnames
,&_argo0
))
4694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsIconized. Expected _wxDialog_p.");
4701 wxPy_BEGIN_ALLOW_THREADS
;
4702 _result
= (bool )wxDialog_IsIconized(_arg0
);
4704 wxPy_END_ALLOW_THREADS
;
4705 } _resultobj
= Py_BuildValue("i",_result
);
4709 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
4710 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4711 PyObject
* _resultobj
;
4714 PyObject
* _argo0
= 0;
4716 char *_kwnames
[] = { "self","flag", NULL
};
4719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetModal",_kwnames
,&_argo0
,&tempbool1
))
4722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
4728 _arg1
= (bool ) tempbool1
;
4730 wxPy_BEGIN_ALLOW_THREADS
;
4731 wxDialog_SetModal(_arg0
,_arg1
);
4733 wxPy_END_ALLOW_THREADS
;
4734 } Py_INCREF(Py_None
);
4735 _resultobj
= Py_None
;
4739 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
4740 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4741 PyObject
* _resultobj
;
4744 PyObject
* _argo0
= 0;
4745 char *_kwnames
[] = { "self", NULL
};
4748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsModal",_kwnames
,&_argo0
))
4751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
4758 wxPy_BEGIN_ALLOW_THREADS
;
4759 _result
= (bool )wxDialog_IsModal(_arg0
);
4761 wxPy_END_ALLOW_THREADS
;
4762 } _resultobj
= Py_BuildValue("i",_result
);
4766 #define wxDialog_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4767 static PyObject
*_wrap_wxDialog_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4768 PyObject
* _resultobj
;
4771 PyObject
* _argo0
= 0;
4772 PyObject
* _obj1
= 0;
4773 char *_kwnames
[] = { "self","title", NULL
};
4776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDialog_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetTitle. Expected _wxDialog_p.");
4786 if (!PyString_Check(_obj1
)) {
4787 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4790 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4793 wxPy_BEGIN_ALLOW_THREADS
;
4794 wxDialog_SetTitle(_arg0
,*_arg1
);
4796 wxPy_END_ALLOW_THREADS
;
4797 } Py_INCREF(Py_None
);
4798 _resultobj
= Py_None
;
4806 #define wxDialog_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4807 static PyObject
*_wrap_wxDialog_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4808 PyObject
* _resultobj
;
4812 PyObject
* _argo0
= 0;
4814 char *_kwnames
[] = { "self","show", NULL
};
4817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Show",_kwnames
,&_argo0
,&tempbool1
))
4820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Show. Expected _wxDialog_p.");
4826 _arg1
= (bool ) tempbool1
;
4828 wxPy_BEGIN_ALLOW_THREADS
;
4829 _result
= (bool )wxDialog_Show(_arg0
,_arg1
);
4831 wxPy_END_ALLOW_THREADS
;
4832 } _resultobj
= Py_BuildValue("i",_result
);
4836 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
4837 static PyObject
*_wrap_wxDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4838 PyObject
* _resultobj
;
4841 PyObject
* _argo0
= 0;
4842 char *_kwnames
[] = { "self", NULL
};
4845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_ShowModal",_kwnames
,&_argo0
))
4848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
4855 wxPy_BEGIN_ALLOW_THREADS
;
4856 _result
= (int )wxDialog_ShowModal(_arg0
);
4858 wxPy_END_ALLOW_THREADS
;
4859 } _resultobj
= Py_BuildValue("i",_result
);
4863 #define wxDialog_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
4864 static PyObject
*_wrap_wxDialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4865 PyObject
* _resultobj
;
4868 PyObject
* _argo0
= 0;
4869 char *_kwnames
[] = { "self", NULL
};
4872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetReturnCode",_kwnames
,&_argo0
))
4875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetReturnCode. Expected _wxDialog_p.");
4882 wxPy_BEGIN_ALLOW_THREADS
;
4883 _result
= (int )wxDialog_GetReturnCode(_arg0
);
4885 wxPy_END_ALLOW_THREADS
;
4886 } _resultobj
= Py_BuildValue("i",_result
);
4890 #define wxDialog_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
4891 static PyObject
*_wrap_wxDialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4892 PyObject
* _resultobj
;
4895 PyObject
* _argo0
= 0;
4896 char *_kwnames
[] = { "self","retCode", NULL
};
4899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetReturnCode",_kwnames
,&_argo0
,&_arg1
))
4902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetReturnCode. Expected _wxDialog_p.");
4909 wxPy_BEGIN_ALLOW_THREADS
;
4910 wxDialog_SetReturnCode(_arg0
,_arg1
);
4912 wxPy_END_ALLOW_THREADS
;
4913 } Py_INCREF(Py_None
);
4914 _resultobj
= Py_None
;
4918 static void *SwigwxScrolledWindowTowxPanel(void *ptr
) {
4919 wxScrolledWindow
*src
;
4921 src
= (wxScrolledWindow
*) ptr
;
4922 dest
= (wxPanel
*) src
;
4923 return (void *) dest
;
4926 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
4927 wxScrolledWindow
*src
;
4929 src
= (wxScrolledWindow
*) ptr
;
4930 dest
= (wxWindow
*) src
;
4931 return (void *) dest
;
4934 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
4935 wxScrolledWindow
*src
;
4937 src
= (wxScrolledWindow
*) ptr
;
4938 dest
= (wxEvtHandler
*) src
;
4939 return (void *) dest
;
4942 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4943 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4944 PyObject
* _resultobj
;
4945 wxScrolledWindow
* _result
;
4947 wxWindowID _arg1
= (wxWindowID
) -1;
4948 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
4949 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
4950 long _arg4
= (long ) wxHSCROLL
|wxVSCROLL
;
4951 char * _arg5
= (char *) "scrolledWindow";
4952 PyObject
* _argo0
= 0;
4954 PyObject
* _obj2
= 0;
4956 PyObject
* _obj3
= 0;
4957 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
4961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxScrolledWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
4964 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4965 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
4973 if (! wxPoint_helper(_obj2
, &_arg2
))
4979 if (! wxSize_helper(_obj3
, &_arg3
))
4983 wxPy_BEGIN_ALLOW_THREADS
;
4984 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
4986 wxPy_END_ALLOW_THREADS
;
4988 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
4989 _resultobj
= Py_BuildValue("s",_ptemp
);
4992 _resultobj
= Py_None
;
4997 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
4998 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4999 PyObject
* _resultobj
;
5000 wxScrolledWindow
* _arg0
;
5003 PyObject
* _argo0
= 0;
5006 char *_kwnames
[] = { "self","xScrolling","yScrolling", NULL
};
5009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_EnableScrolling",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
5012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
5018 _arg1
= (bool ) tempbool1
;
5019 _arg2
= (bool ) tempbool2
;
5021 wxPy_BEGIN_ALLOW_THREADS
;
5022 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
5024 wxPy_END_ALLOW_THREADS
;
5025 } Py_INCREF(Py_None
);
5026 _resultobj
= Py_None
;
5030 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
5031 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5032 PyObject
* _resultobj
;
5033 wxScrolledWindow
* _arg0
;
5038 PyObject
* _argo0
= 0;
5039 char *_kwnames
[] = { "self", NULL
};
5048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames
,&_argo0
))
5051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
5058 wxPy_BEGIN_ALLOW_THREADS
;
5059 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
5061 wxPy_END_ALLOW_THREADS
;
5062 } Py_INCREF(Py_None
);
5063 _resultobj
= Py_None
;
5066 o
= PyInt_FromLong((long) (*_arg1
));
5067 _resultobj
= t_output_helper(_resultobj
, o
);
5071 o
= PyInt_FromLong((long) (*_arg2
));
5072 _resultobj
= t_output_helper(_resultobj
, o
);
5077 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
5078 static PyObject
*_wrap_wxScrolledWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5079 PyObject
* _resultobj
;
5080 wxScrolledWindow
* _arg0
;
5085 PyObject
* _argo0
= 0;
5086 char *_kwnames
[] = { "self", NULL
};
5095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetVirtualSize",_kwnames
,&_argo0
))
5098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
5105 wxPy_BEGIN_ALLOW_THREADS
;
5106 wxScrolledWindow_GetVirtualSize(_arg0
,_arg1
,_arg2
);
5108 wxPy_END_ALLOW_THREADS
;
5109 } Py_INCREF(Py_None
);
5110 _resultobj
= Py_None
;
5113 o
= PyInt_FromLong((long) (*_arg1
));
5114 _resultobj
= t_output_helper(_resultobj
, o
);
5118 o
= PyInt_FromLong((long) (*_arg2
));
5119 _resultobj
= t_output_helper(_resultobj
, o
);
5124 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
5125 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5126 PyObject
* _resultobj
;
5128 wxScrolledWindow
* _arg0
;
5129 PyObject
* _argo0
= 0;
5130 char *_kwnames
[] = { "self", NULL
};
5133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_IsRetained",_kwnames
,&_argo0
))
5136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
5143 wxPy_BEGIN_ALLOW_THREADS
;
5144 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
5146 wxPy_END_ALLOW_THREADS
;
5147 } _resultobj
= Py_BuildValue("i",_result
);
5151 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
5152 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5153 PyObject
* _resultobj
;
5154 wxScrolledWindow
* _arg0
;
5156 PyObject
* _argo0
= 0;
5157 PyObject
* _argo1
= 0;
5158 char *_kwnames
[] = { "self","dc", NULL
};
5161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_PrepareDC",_kwnames
,&_argo0
,&_argo1
))
5164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
5171 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5172 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
5178 wxPy_BEGIN_ALLOW_THREADS
;
5179 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
5181 wxPy_END_ALLOW_THREADS
;
5182 } Py_INCREF(Py_None
);
5183 _resultobj
= Py_None
;
5187 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
5188 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5189 PyObject
* _resultobj
;
5190 wxScrolledWindow
* _arg0
;
5193 PyObject
* _argo0
= 0;
5194 char *_kwnames
[] = { "self","x","y", NULL
};
5197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_Scroll",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
5207 wxPy_BEGIN_ALLOW_THREADS
;
5208 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
5210 wxPy_END_ALLOW_THREADS
;
5211 } Py_INCREF(Py_None
);
5212 _resultobj
= Py_None
;
5216 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5217 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5218 PyObject
* _resultobj
;
5219 wxScrolledWindow
* _arg0
;
5224 int _arg5
= (int ) 0;
5225 int _arg6
= (int ) 0;
5226 PyObject
* _argo0
= 0;
5227 char *_kwnames
[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos", NULL
};
5230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|ii:wxScrolledWindow_SetScrollbars",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
5233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
5240 wxPy_BEGIN_ALLOW_THREADS
;
5241 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
5243 wxPy_END_ALLOW_THREADS
;
5244 } Py_INCREF(Py_None
);
5245 _resultobj
= Py_None
;
5249 #define wxScrolledWindow_ViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->ViewStart(_swigarg0,_swigarg1))
5250 static PyObject
*_wrap_wxScrolledWindow_ViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5251 PyObject
* _resultobj
;
5252 wxScrolledWindow
* _arg0
;
5257 PyObject
* _argo0
= 0;
5258 char *_kwnames
[] = { "self", NULL
};
5267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_ViewStart",_kwnames
,&_argo0
))
5270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_ViewStart. Expected _wxScrolledWindow_p.");
5277 wxPy_BEGIN_ALLOW_THREADS
;
5278 wxScrolledWindow_ViewStart(_arg0
,_arg1
,_arg2
);
5280 wxPy_END_ALLOW_THREADS
;
5281 } Py_INCREF(Py_None
);
5282 _resultobj
= Py_None
;
5285 o
= PyInt_FromLong((long) (*_arg1
));
5286 _resultobj
= t_output_helper(_resultobj
, o
);
5290 o
= PyInt_FromLong((long) (*_arg2
));
5291 _resultobj
= t_output_helper(_resultobj
, o
);
5296 #define wxScrolledWindow_CalcScrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcScrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5297 static PyObject
*_wrap_wxScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5298 PyObject
* _resultobj
;
5299 wxScrolledWindow
* _arg0
;
5306 PyObject
* _argo0
= 0;
5307 char *_kwnames
[] = { "self","x","y", NULL
};
5316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcScrolledPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition. Expected _wxScrolledWindow_p.");
5326 wxPy_BEGIN_ALLOW_THREADS
;
5327 wxScrolledWindow_CalcScrolledPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5329 wxPy_END_ALLOW_THREADS
;
5330 } Py_INCREF(Py_None
);
5331 _resultobj
= Py_None
;
5334 o
= PyInt_FromLong((long) (*_arg3
));
5335 _resultobj
= t_output_helper(_resultobj
, o
);
5339 o
= PyInt_FromLong((long) (*_arg4
));
5340 _resultobj
= t_output_helper(_resultobj
, o
);
5345 #define wxScrolledWindow_CalcUnscrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcUnscrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5346 static PyObject
*_wrap_wxScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5347 PyObject
* _resultobj
;
5348 wxScrolledWindow
* _arg0
;
5355 PyObject
* _argo0
= 0;
5356 char *_kwnames
[] = { "self","x","y", NULL
};
5365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcUnscrolledPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition. Expected _wxScrolledWindow_p.");
5375 wxPy_BEGIN_ALLOW_THREADS
;
5376 wxScrolledWindow_CalcUnscrolledPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5378 wxPy_END_ALLOW_THREADS
;
5379 } Py_INCREF(Py_None
);
5380 _resultobj
= Py_None
;
5383 o
= PyInt_FromLong((long) (*_arg3
));
5384 _resultobj
= t_output_helper(_resultobj
, o
);
5388 o
= PyInt_FromLong((long) (*_arg4
));
5389 _resultobj
= t_output_helper(_resultobj
, o
);
5394 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
5397 src
= (wxMenu
*) ptr
;
5398 dest
= (wxEvtHandler
*) src
;
5399 return (void *) dest
;
5402 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
5403 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5404 PyObject
* _resultobj
;
5406 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
5407 long _arg1
= (long ) 0;
5408 PyObject
* _obj0
= 0;
5409 char *_kwnames
[] = { "title","style", NULL
};
5413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Ol:new_wxMenu",_kwnames
,&_obj0
,&_arg1
))
5417 if (!PyString_Check(_obj0
)) {
5418 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5421 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
5424 wxPy_BEGIN_ALLOW_THREADS
;
5425 _result
= (wxMenu
*)new_wxMenu(*_arg0
,_arg1
);
5427 wxPy_END_ALLOW_THREADS
;
5429 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
5430 _resultobj
= Py_BuildValue("s",_ptemp
);
5433 _resultobj
= Py_None
;
5442 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5443 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5444 PyObject
* _resultobj
;
5448 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
5449 int _arg4
= (int ) FALSE
;
5450 PyObject
* _argo0
= 0;
5451 PyObject
* _obj2
= 0;
5452 PyObject
* _obj3
= 0;
5453 char *_kwnames
[] = { "self","id","item","helpString","checkable", NULL
};
5456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Append",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
5459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
5466 if (!PyString_Check(_obj2
)) {
5467 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5470 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5474 if (!PyString_Check(_obj3
)) {
5475 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5478 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
5481 wxPy_BEGIN_ALLOW_THREADS
;
5482 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
5484 wxPy_END_ALLOW_THREADS
;
5485 } Py_INCREF(Py_None
);
5486 _resultobj
= Py_None
;
5498 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5499 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5500 PyObject
* _resultobj
;
5505 wxString
* _arg4
= (wxString
*) &wxPyEmptyStr
;
5506 PyObject
* _argo0
= 0;
5507 PyObject
* _obj2
= 0;
5508 PyObject
* _argo3
= 0;
5509 PyObject
* _obj4
= 0;
5510 char *_kwnames
[] = { "self","id","item","subMenu","helpString", NULL
};
5513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_AppendMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
5516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
5523 if (!PyString_Check(_obj2
)) {
5524 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5527 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5530 if (_argo3
== Py_None
) { _arg3
= NULL
; }
5531 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
5532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
5538 if (!PyString_Check(_obj4
)) {
5539 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5542 _arg4
= new wxString(PyString_AsString(_obj4
), PyString_Size(_obj4
));
5545 wxPy_BEGIN_ALLOW_THREADS
;
5546 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
5548 wxPy_END_ALLOW_THREADS
;
5549 } Py_INCREF(Py_None
);
5550 _resultobj
= Py_None
;
5562 #define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
5563 static PyObject
*_wrap_wxMenu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5564 PyObject
* _resultobj
;
5567 PyObject
* _argo0
= 0;
5568 PyObject
* _argo1
= 0;
5569 char *_kwnames
[] = { "self","item", NULL
};
5572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_AppendItem",_kwnames
,&_argo0
,&_argo1
))
5575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
5582 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5583 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
5584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
5589 wxPy_BEGIN_ALLOW_THREADS
;
5590 wxMenu_AppendItem(_arg0
,_arg1
);
5592 wxPy_END_ALLOW_THREADS
;
5593 } Py_INCREF(Py_None
);
5594 _resultobj
= Py_None
;
5598 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
5599 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5600 PyObject
* _resultobj
;
5602 PyObject
* _argo0
= 0;
5603 char *_kwnames
[] = { "self", NULL
};
5606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_AppendSeparator",_kwnames
,&_argo0
))
5609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
5616 wxPy_BEGIN_ALLOW_THREADS
;
5617 wxMenu_AppendSeparator(_arg0
);
5619 wxPy_END_ALLOW_THREADS
;
5620 } Py_INCREF(Py_None
);
5621 _resultobj
= Py_None
;
5625 #define wxMenu_Break(_swigobj) (_swigobj->Break())
5626 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5627 PyObject
* _resultobj
;
5629 PyObject
* _argo0
= 0;
5630 char *_kwnames
[] = { "self", NULL
};
5633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Break",_kwnames
,&_argo0
))
5636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
5643 wxPy_BEGIN_ALLOW_THREADS
;
5644 wxMenu_Break(_arg0
);
5646 wxPy_END_ALLOW_THREADS
;
5647 } Py_INCREF(Py_None
);
5648 _resultobj
= Py_None
;
5652 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
5653 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5654 PyObject
* _resultobj
;
5658 PyObject
* _argo0
= 0;
5660 char *_kwnames
[] = { "self","id","flag", NULL
};
5663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
5672 _arg2
= (bool ) tempbool2
;
5674 wxPy_BEGIN_ALLOW_THREADS
;
5675 wxMenu_Check(_arg0
,_arg1
,_arg2
);
5677 wxPy_END_ALLOW_THREADS
;
5678 } Py_INCREF(Py_None
);
5679 _resultobj
= Py_None
;
5683 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
5684 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5685 PyObject
* _resultobj
;
5689 PyObject
* _argo0
= 0;
5691 char *_kwnames
[] = { "self","id","enable", NULL
};
5694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
5703 _arg2
= (bool ) tempbool2
;
5705 wxPy_BEGIN_ALLOW_THREADS
;
5706 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
5708 wxPy_END_ALLOW_THREADS
;
5709 } Py_INCREF(Py_None
);
5710 _resultobj
= Py_None
;
5714 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
5715 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5716 PyObject
* _resultobj
;
5720 PyObject
* _argo0
= 0;
5721 PyObject
* _obj1
= 0;
5722 char *_kwnames
[] = { "self","itemString", NULL
};
5725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_FindItem",_kwnames
,&_argo0
,&_obj1
))
5728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
5735 if (!PyString_Check(_obj1
)) {
5736 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5739 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5742 wxPy_BEGIN_ALLOW_THREADS
;
5743 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
5745 wxPy_END_ALLOW_THREADS
;
5746 } _resultobj
= Py_BuildValue("i",_result
);
5754 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
5755 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5756 PyObject
* _resultobj
;
5759 PyObject
* _argo0
= 0;
5760 char *_kwnames
[] = { "self", NULL
};
5763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetTitle",_kwnames
,&_argo0
))
5766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
5773 wxPy_BEGIN_ALLOW_THREADS
;
5774 _result
= new wxString (wxMenu_GetTitle(_arg0
));
5776 wxPy_END_ALLOW_THREADS
;
5778 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5786 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
5787 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5788 PyObject
* _resultobj
;
5791 PyObject
* _argo0
= 0;
5792 PyObject
* _obj1
= 0;
5793 char *_kwnames
[] = { "self","title", NULL
};
5796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetTitle",_kwnames
,&_argo0
,&_obj1
))
5799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
5806 if (!PyString_Check(_obj1
)) {
5807 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5810 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5813 wxPy_BEGIN_ALLOW_THREADS
;
5814 wxMenu_SetTitle(_arg0
,*_arg1
);
5816 wxPy_END_ALLOW_THREADS
;
5817 } Py_INCREF(Py_None
);
5818 _resultobj
= Py_None
;
5826 #define wxMenu_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
5827 static PyObject
*_wrap_wxMenu_FindItemForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5828 PyObject
* _resultobj
;
5829 wxMenuItem
* _result
;
5832 PyObject
* _argo0
= 0;
5833 char *_kwnames
[] = { "self","id", NULL
};
5837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_FindItemForId",_kwnames
,&_argo0
,&_arg1
))
5840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemForId. Expected _wxMenu_p.");
5847 wxPy_BEGIN_ALLOW_THREADS
;
5848 _result
= (wxMenuItem
*)wxMenu_FindItemForId(_arg0
,_arg1
);
5850 wxPy_END_ALLOW_THREADS
;
5852 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
5853 _resultobj
= Py_BuildValue("s",_ptemp
);
5856 _resultobj
= Py_None
;
5861 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
5862 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5863 PyObject
* _resultobj
;
5867 PyObject
* _argo0
= 0;
5868 char *_kwnames
[] = { "self","id", NULL
};
5871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
5874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
5881 wxPy_BEGIN_ALLOW_THREADS
;
5882 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
5884 wxPy_END_ALLOW_THREADS
;
5886 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5894 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
5895 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5896 PyObject
* _resultobj
;
5900 PyObject
* _argo0
= 0;
5901 char *_kwnames
[] = { "self","id", NULL
};
5904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetLabel",_kwnames
,&_argo0
,&_arg1
))
5907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
5914 wxPy_BEGIN_ALLOW_THREADS
;
5915 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
5917 wxPy_END_ALLOW_THREADS
;
5919 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5927 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
5928 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5929 PyObject
* _resultobj
;
5933 PyObject
* _argo0
= 0;
5934 PyObject
* _obj2
= 0;
5935 char *_kwnames
[] = { "self","id","helpString", NULL
};
5938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
5948 if (!PyString_Check(_obj2
)) {
5949 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5952 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5955 wxPy_BEGIN_ALLOW_THREADS
;
5956 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
5958 wxPy_END_ALLOW_THREADS
;
5959 } Py_INCREF(Py_None
);
5960 _resultobj
= Py_None
;
5968 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
5969 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5970 PyObject
* _resultobj
;
5974 PyObject
* _argo0
= 0;
5975 char *_kwnames
[] = { "self","id", NULL
};
5978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsChecked",_kwnames
,&_argo0
,&_arg1
))
5981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
5988 wxPy_BEGIN_ALLOW_THREADS
;
5989 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
5991 wxPy_END_ALLOW_THREADS
;
5992 } _resultobj
= Py_BuildValue("i",_result
);
5996 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
5997 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5998 PyObject
* _resultobj
;
6002 PyObject
* _argo0
= 0;
6003 char *_kwnames
[] = { "self","id", NULL
};
6006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
6009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
6016 wxPy_BEGIN_ALLOW_THREADS
;
6017 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
6019 wxPy_END_ALLOW_THREADS
;
6020 } _resultobj
= Py_BuildValue("i",_result
);
6024 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
6025 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6026 PyObject
* _resultobj
;
6030 PyObject
* _argo0
= 0;
6031 PyObject
* _obj2
= 0;
6032 char *_kwnames
[] = { "self","id","label", NULL
};
6035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
6045 if (!PyString_Check(_obj2
)) {
6046 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6049 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6052 wxPy_BEGIN_ALLOW_THREADS
;
6053 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
6055 wxPy_END_ALLOW_THREADS
;
6056 } Py_INCREF(Py_None
);
6057 _resultobj
= Py_None
;
6065 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
6066 static PyObject
*_wrap_wxMenu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6067 PyObject
* _resultobj
;
6069 wxEvtHandler
* _arg1
= (wxEvtHandler
*) NULL
;
6070 PyObject
* _argo0
= 0;
6071 PyObject
* _argo1
= 0;
6072 char *_kwnames
[] = { "self","source", NULL
};
6075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxMenu_UpdateUI",_kwnames
,&_argo0
,&_argo1
))
6078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
6085 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6086 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
6087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
6092 wxPy_BEGIN_ALLOW_THREADS
;
6093 wxMenu_UpdateUI(_arg0
,_arg1
);
6095 wxPy_END_ALLOW_THREADS
;
6096 } Py_INCREF(Py_None
);
6097 _resultobj
= Py_None
;
6101 static void wxMenu_Destroy(wxMenu
*self
) {
6104 static PyObject
*_wrap_wxMenu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6105 PyObject
* _resultobj
;
6107 PyObject
* _argo0
= 0;
6108 char *_kwnames
[] = { "self", NULL
};
6111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Destroy",_kwnames
,&_argo0
))
6114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Destroy. Expected _wxMenu_p.");
6121 wxPy_BEGIN_ALLOW_THREADS
;
6122 wxMenu_Destroy(_arg0
);
6124 wxPy_END_ALLOW_THREADS
;
6125 } Py_INCREF(Py_None
);
6126 _resultobj
= Py_None
;
6130 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
6133 src
= (wxMenuBar
*) ptr
;
6134 dest
= (wxEvtHandler
*) src
;
6135 return (void *) dest
;
6138 #define new_wxMenuBar() (new wxMenuBar())
6139 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6140 PyObject
* _resultobj
;
6141 wxMenuBar
* _result
;
6142 char *_kwnames
[] = { NULL
};
6146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMenuBar",_kwnames
))
6149 wxPy_BEGIN_ALLOW_THREADS
;
6150 _result
= (wxMenuBar
*)new_wxMenuBar();
6152 wxPy_END_ALLOW_THREADS
;
6154 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
6155 _resultobj
= Py_BuildValue("s",_ptemp
);
6158 _resultobj
= Py_None
;
6163 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
6164 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6165 PyObject
* _resultobj
;
6169 PyObject
* _argo0
= 0;
6170 PyObject
* _argo1
= 0;
6171 PyObject
* _obj2
= 0;
6172 char *_kwnames
[] = { "self","menu","title", NULL
};
6175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_Append",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
6178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
6185 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6186 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
6187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
6192 if (!PyString_Check(_obj2
)) {
6193 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6196 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6199 wxPy_BEGIN_ALLOW_THREADS
;
6200 wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
6202 wxPy_END_ALLOW_THREADS
;
6203 } Py_INCREF(Py_None
);
6204 _resultobj
= Py_None
;
6212 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
6213 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6214 PyObject
* _resultobj
;
6218 PyObject
* _argo0
= 0;
6220 char *_kwnames
[] = { "self","id","flag", NULL
};
6223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
6232 _arg2
= (bool ) tempbool2
;
6234 wxPy_BEGIN_ALLOW_THREADS
;
6235 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
6237 wxPy_END_ALLOW_THREADS
;
6238 } Py_INCREF(Py_None
);
6239 _resultobj
= Py_None
;
6243 #define wxMenuBar_Checked(_swigobj,_swigarg0) (_swigobj->Checked(_swigarg0))
6244 static PyObject
*_wrap_wxMenuBar_Checked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6245 PyObject
* _resultobj
;
6249 PyObject
* _argo0
= 0;
6250 char *_kwnames
[] = { "self","id", NULL
};
6253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_Checked",_kwnames
,&_argo0
,&_arg1
))
6256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Checked. Expected _wxMenuBar_p.");
6263 wxPy_BEGIN_ALLOW_THREADS
;
6264 _result
= (bool )wxMenuBar_Checked(_arg0
,_arg1
);
6266 wxPy_END_ALLOW_THREADS
;
6267 } _resultobj
= Py_BuildValue("i",_result
);
6271 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
6272 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6273 PyObject
* _resultobj
;
6277 PyObject
* _argo0
= 0;
6279 char *_kwnames
[] = { "self","id","enable", NULL
};
6282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
6291 _arg2
= (bool ) tempbool2
;
6293 wxPy_BEGIN_ALLOW_THREADS
;
6294 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
6296 wxPy_END_ALLOW_THREADS
;
6297 } Py_INCREF(Py_None
);
6298 _resultobj
= Py_None
;
6302 #define wxMenuBar_Enabled(_swigobj,_swigarg0) (_swigobj->Enabled(_swigarg0))
6303 static PyObject
*_wrap_wxMenuBar_Enabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6304 PyObject
* _resultobj
;
6308 PyObject
* _argo0
= 0;
6309 char *_kwnames
[] = { "self","id", NULL
};
6312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_Enabled",_kwnames
,&_argo0
,&_arg1
))
6315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enabled. Expected _wxMenuBar_p.");
6322 wxPy_BEGIN_ALLOW_THREADS
;
6323 _result
= (bool )wxMenuBar_Enabled(_arg0
,_arg1
);
6325 wxPy_END_ALLOW_THREADS
;
6326 } _resultobj
= Py_BuildValue("i",_result
);
6330 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
6331 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6332 PyObject
* _resultobj
;
6337 PyObject
* _argo0
= 0;
6338 PyObject
* _obj1
= 0;
6339 PyObject
* _obj2
= 0;
6340 char *_kwnames
[] = { "self","menuString","itemString", NULL
};
6343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_FindMenuItem",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
6353 if (!PyString_Check(_obj1
)) {
6354 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6357 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
6360 if (!PyString_Check(_obj2
)) {
6361 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6364 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6367 wxPy_BEGIN_ALLOW_THREADS
;
6368 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
6370 wxPy_END_ALLOW_THREADS
;
6371 } _resultobj
= Py_BuildValue("i",_result
);
6383 #define wxMenuBar_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
6384 static PyObject
*_wrap_wxMenuBar_FindItemForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6385 PyObject
* _resultobj
;
6386 wxMenuItem
* _result
;
6389 PyObject
* _argo0
= 0;
6390 char *_kwnames
[] = { "self","id", NULL
};
6394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_FindItemForId",_kwnames
,&_argo0
,&_arg1
))
6397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemForId. Expected _wxMenuBar_p.");
6404 wxPy_BEGIN_ALLOW_THREADS
;
6405 _result
= (wxMenuItem
*)wxMenuBar_FindItemForId(_arg0
,_arg1
);
6407 wxPy_END_ALLOW_THREADS
;
6409 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
6410 _resultobj
= Py_BuildValue("s",_ptemp
);
6413 _resultobj
= Py_None
;
6418 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
6419 static PyObject
*_wrap_wxMenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6420 PyObject
* _resultobj
;
6424 PyObject
* _argo0
= 0;
6425 PyObject
* _obj2
= 0;
6426 char *_kwnames
[] = { "self","id","label", NULL
};
6429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
6439 if (!PyString_Check(_obj2
)) {
6440 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6443 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6446 wxPy_BEGIN_ALLOW_THREADS
;
6447 wxMenuBar_SetLabel(_arg0
,_arg1
,*_arg2
);
6449 wxPy_END_ALLOW_THREADS
;
6450 } Py_INCREF(Py_None
);
6451 _resultobj
= Py_None
;
6459 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
6460 static PyObject
*_wrap_wxMenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6461 PyObject
* _resultobj
;
6465 PyObject
* _argo0
= 0;
6467 char *_kwnames
[] = { "self","pos","enable", NULL
};
6470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_EnableTop",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
6479 _arg2
= (bool ) tempbool2
;
6481 wxPy_BEGIN_ALLOW_THREADS
;
6482 wxMenuBar_EnableTop(_arg0
,_arg1
,_arg2
);
6484 wxPy_END_ALLOW_THREADS
;
6485 } Py_INCREF(Py_None
);
6486 _resultobj
= Py_None
;
6490 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
6491 static PyObject
*_wrap_wxMenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6492 PyObject
* _resultobj
;
6496 PyObject
* _argo0
= 0;
6497 char *_kwnames
[] = { "self","id", NULL
};
6500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
6503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
6510 wxPy_BEGIN_ALLOW_THREADS
;
6511 _result
= new wxString (wxMenuBar_GetHelpString(_arg0
,_arg1
));
6513 wxPy_END_ALLOW_THREADS
;
6515 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
6523 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
6524 static PyObject
*_wrap_wxMenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6525 PyObject
* _resultobj
;
6529 PyObject
* _argo0
= 0;
6530 char *_kwnames
[] = { "self","id", NULL
};
6533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabel",_kwnames
,&_argo0
,&_arg1
))
6536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
6543 wxPy_BEGIN_ALLOW_THREADS
;
6544 _result
= new wxString (wxMenuBar_GetLabel(_arg0
,_arg1
));
6546 wxPy_END_ALLOW_THREADS
;
6548 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
6556 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
6557 static PyObject
*_wrap_wxMenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6558 PyObject
* _resultobj
;
6562 PyObject
* _argo0
= 0;
6563 PyObject
* _obj2
= 0;
6564 char *_kwnames
[] = { "self","id","helpString", NULL
};
6567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
6577 if (!PyString_Check(_obj2
)) {
6578 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6581 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6584 wxPy_BEGIN_ALLOW_THREADS
;
6585 wxMenuBar_SetHelpString(_arg0
,_arg1
,*_arg2
);
6587 wxPy_END_ALLOW_THREADS
;
6588 } Py_INCREF(Py_None
);
6589 _resultobj
= Py_None
;
6597 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
6598 static PyObject
*_wrap_wxMenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6599 PyObject
* _resultobj
;
6603 PyObject
* _argo0
= 0;
6604 char *_kwnames
[] = { "self","pos", NULL
};
6607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabelTop",_kwnames
,&_argo0
,&_arg1
))
6610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
6617 wxPy_BEGIN_ALLOW_THREADS
;
6618 _result
= new wxString (wxMenuBar_GetLabelTop(_arg0
,_arg1
));
6620 wxPy_END_ALLOW_THREADS
;
6622 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
6630 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
6631 static PyObject
*_wrap_wxMenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6632 PyObject
* _resultobj
;
6636 PyObject
* _argo0
= 0;
6637 PyObject
* _obj2
= 0;
6638 char *_kwnames
[] = { "self","pos","label", NULL
};
6641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabelTop",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
6651 if (!PyString_Check(_obj2
)) {
6652 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6655 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6658 wxPy_BEGIN_ALLOW_THREADS
;
6659 wxMenuBar_SetLabelTop(_arg0
,_arg1
,*_arg2
);
6661 wxPy_END_ALLOW_THREADS
;
6662 } Py_INCREF(Py_None
);
6663 _resultobj
= Py_None
;
6671 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
6672 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6673 PyObject
* _resultobj
;
6676 PyObject
* _argo0
= 0;
6677 char *_kwnames
[] = { "self", NULL
};
6680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuBar_GetMenuCount",_kwnames
,&_argo0
))
6683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
6690 wxPy_BEGIN_ALLOW_THREADS
;
6691 _result
= (int )wxMenuBar_GetMenuCount(_arg0
);
6693 wxPy_END_ALLOW_THREADS
;
6694 } _resultobj
= Py_BuildValue("i",_result
);
6698 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
6699 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6700 PyObject
* _resultobj
;
6704 PyObject
* _argo0
= 0;
6705 char *_kwnames
[] = { "self","i", NULL
};
6709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetMenu",_kwnames
,&_argo0
,&_arg1
))
6712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
6719 wxPy_BEGIN_ALLOW_THREADS
;
6720 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
6722 wxPy_END_ALLOW_THREADS
;
6724 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
6725 _resultobj
= Py_BuildValue("s",_ptemp
);
6728 _resultobj
= Py_None
;
6733 #define wxMenuBar_Refresh(_swigobj) (_swigobj->Refresh())
6734 static PyObject
*_wrap_wxMenuBar_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6735 PyObject
* _resultobj
;
6737 PyObject
* _argo0
= 0;
6738 char *_kwnames
[] = { "self", NULL
};
6741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuBar_Refresh",_kwnames
,&_argo0
))
6744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Refresh. Expected _wxMenuBar_p.");
6751 wxPy_BEGIN_ALLOW_THREADS
;
6752 wxMenuBar_Refresh(_arg0
);
6754 wxPy_END_ALLOW_THREADS
;
6755 } Py_INCREF(Py_None
);
6756 _resultobj
= Py_None
;
6760 #define new_wxMenuItem() (new wxMenuItem())
6761 static PyObject
*_wrap_new_wxMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6762 PyObject
* _resultobj
;
6763 wxMenuItem
* _result
;
6764 char *_kwnames
[] = { NULL
};
6768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMenuItem",_kwnames
))
6771 wxPy_BEGIN_ALLOW_THREADS
;
6772 _result
= (wxMenuItem
*)new_wxMenuItem();
6774 wxPy_END_ALLOW_THREADS
;
6776 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
6777 _resultobj
= Py_BuildValue("s",_ptemp
);
6780 _resultobj
= Py_None
;
6785 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
6786 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6787 PyObject
* _resultobj
;
6790 PyObject
* _argo0
= 0;
6791 char *_kwnames
[] = { "self", NULL
};
6794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSeparator",_kwnames
,&_argo0
))
6797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
6804 wxPy_BEGIN_ALLOW_THREADS
;
6805 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
6807 wxPy_END_ALLOW_THREADS
;
6808 } _resultobj
= Py_BuildValue("i",_result
);
6812 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
6813 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6814 PyObject
* _resultobj
;
6817 PyObject
* _argo0
= 0;
6818 char *_kwnames
[] = { "self", NULL
};
6821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsEnabled",_kwnames
,&_argo0
))
6824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
6831 wxPy_BEGIN_ALLOW_THREADS
;
6832 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
6834 wxPy_END_ALLOW_THREADS
;
6835 } _resultobj
= Py_BuildValue("i",_result
);
6839 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
6840 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6841 PyObject
* _resultobj
;
6844 PyObject
* _argo0
= 0;
6845 char *_kwnames
[] = { "self", NULL
};
6848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsChecked",_kwnames
,&_argo0
))
6851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
6858 wxPy_BEGIN_ALLOW_THREADS
;
6859 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
6861 wxPy_END_ALLOW_THREADS
;
6862 } _resultobj
= Py_BuildValue("i",_result
);
6866 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
6867 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6868 PyObject
* _resultobj
;
6871 PyObject
* _argo0
= 0;
6872 char *_kwnames
[] = { "self", NULL
};
6875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsCheckable",_kwnames
,&_argo0
))
6878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
6885 wxPy_BEGIN_ALLOW_THREADS
;
6886 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
6888 wxPy_END_ALLOW_THREADS
;
6889 } _resultobj
= Py_BuildValue("i",_result
);
6893 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
6894 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6895 PyObject
* _resultobj
;
6898 PyObject
* _argo0
= 0;
6899 char *_kwnames
[] = { "self", NULL
};
6902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetId",_kwnames
,&_argo0
))
6905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
6912 wxPy_BEGIN_ALLOW_THREADS
;
6913 _result
= (int )wxMenuItem_GetId(_arg0
);
6915 wxPy_END_ALLOW_THREADS
;
6916 } _resultobj
= Py_BuildValue("i",_result
);
6920 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
6921 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6922 PyObject
* _resultobj
;
6925 PyObject
* _argo0
= 0;
6926 char *_kwnames
[] = { "self", NULL
};
6930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetSubMenu",_kwnames
,&_argo0
))
6933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
6940 wxPy_BEGIN_ALLOW_THREADS
;
6941 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
6943 wxPy_END_ALLOW_THREADS
;
6945 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
6946 _resultobj
= Py_BuildValue("s",_ptemp
);
6949 _resultobj
= Py_None
;
6954 #define wxMenuItem_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
6955 static PyObject
*_wrap_wxMenuItem_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6956 PyObject
* _resultobj
;
6959 PyObject
* _argo0
= 0;
6960 PyObject
* _obj1
= 0;
6961 char *_kwnames
[] = { "self","strName", NULL
};
6964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetName",_kwnames
,&_argo0
,&_obj1
))
6967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetName. Expected _wxMenuItem_p.");
6974 if (!PyString_Check(_obj1
)) {
6975 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6978 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
6981 wxPy_BEGIN_ALLOW_THREADS
;
6982 wxMenuItem_SetName(_arg0
,*_arg1
);
6984 wxPy_END_ALLOW_THREADS
;
6985 } Py_INCREF(Py_None
);
6986 _resultobj
= Py_None
;
6994 #define wxMenuItem_GetName(_swigobj) (_swigobj->GetName())
6995 static PyObject
*_wrap_wxMenuItem_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6996 PyObject
* _resultobj
;
6999 PyObject
* _argo0
= 0;
7000 char *_kwnames
[] = { "self", NULL
};
7003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetName",_kwnames
,&_argo0
))
7006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetName. Expected _wxMenuItem_p.");
7013 wxPy_BEGIN_ALLOW_THREADS
;
7014 _result
= new wxString (wxMenuItem_GetName(_arg0
));
7016 wxPy_END_ALLOW_THREADS
;
7018 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
7026 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
7027 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7028 PyObject
* _resultobj
;
7031 PyObject
* _argo0
= 0;
7032 char *_kwnames
[] = { "self", NULL
};
7035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetHelp",_kwnames
,&_argo0
))
7038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
7045 wxPy_BEGIN_ALLOW_THREADS
;
7046 _result
= new wxString (wxMenuItem_GetHelp(_arg0
));
7048 wxPy_END_ALLOW_THREADS
;
7050 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
7058 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
7059 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7060 PyObject
* _resultobj
;
7063 PyObject
* _argo0
= 0;
7064 PyObject
* _obj1
= 0;
7065 char *_kwnames
[] = { "self","strHelp", NULL
};
7068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetHelp",_kwnames
,&_argo0
,&_obj1
))
7071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
7078 if (!PyString_Check(_obj1
)) {
7079 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7082 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
7085 wxPy_BEGIN_ALLOW_THREADS
;
7086 wxMenuItem_SetHelp(_arg0
,*_arg1
);
7088 wxPy_END_ALLOW_THREADS
;
7089 } Py_INCREF(Py_None
);
7090 _resultobj
= Py_None
;
7098 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
7099 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7100 PyObject
* _resultobj
;
7102 bool _arg1
= (bool ) TRUE
;
7103 PyObject
* _argo0
= 0;
7104 int tempbool1
= (int) TRUE
;
7105 char *_kwnames
[] = { "self","bDoEnable", NULL
};
7108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Enable",_kwnames
,&_argo0
,&tempbool1
))
7111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
7117 _arg1
= (bool ) tempbool1
;
7119 wxPy_BEGIN_ALLOW_THREADS
;
7120 wxMenuItem_Enable(_arg0
,_arg1
);
7122 wxPy_END_ALLOW_THREADS
;
7123 } Py_INCREF(Py_None
);
7124 _resultobj
= Py_None
;
7128 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
7129 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7130 PyObject
* _resultobj
;
7132 bool _arg1
= (bool ) TRUE
;
7133 PyObject
* _argo0
= 0;
7134 int tempbool1
= (int) TRUE
;
7135 char *_kwnames
[] = { "self","bDoCheck", NULL
};
7138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Check",_kwnames
,&_argo0
,&tempbool1
))
7141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
7143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
7147 _arg1
= (bool ) tempbool1
;
7149 wxPy_BEGIN_ALLOW_THREADS
;
7150 wxMenuItem_Check(_arg0
,_arg1
);
7152 wxPy_END_ALLOW_THREADS
;
7153 } Py_INCREF(Py_None
);
7154 _resultobj
= Py_None
;
7158 static PyMethodDef windowscMethods
[] = {
7159 { "wxMenuItem_Check", (PyCFunction
) _wrap_wxMenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
7160 { "wxMenuItem_Enable", (PyCFunction
) _wrap_wxMenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
7161 { "wxMenuItem_SetHelp", (PyCFunction
) _wrap_wxMenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
7162 { "wxMenuItem_GetHelp", (PyCFunction
) _wrap_wxMenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
7163 { "wxMenuItem_GetName", (PyCFunction
) _wrap_wxMenuItem_GetName
, METH_VARARGS
| METH_KEYWORDS
},
7164 { "wxMenuItem_SetName", (PyCFunction
) _wrap_wxMenuItem_SetName
, METH_VARARGS
| METH_KEYWORDS
},
7165 { "wxMenuItem_GetSubMenu", (PyCFunction
) _wrap_wxMenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
7166 { "wxMenuItem_GetId", (PyCFunction
) _wrap_wxMenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
7167 { "wxMenuItem_IsCheckable", (PyCFunction
) _wrap_wxMenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
7168 { "wxMenuItem_IsChecked", (PyCFunction
) _wrap_wxMenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
7169 { "wxMenuItem_IsEnabled", (PyCFunction
) _wrap_wxMenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
7170 { "wxMenuItem_IsSeparator", (PyCFunction
) _wrap_wxMenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
7171 { "new_wxMenuItem", (PyCFunction
) _wrap_new_wxMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
7172 { "wxMenuBar_Refresh", (PyCFunction
) _wrap_wxMenuBar_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
7173 { "wxMenuBar_GetMenu", (PyCFunction
) _wrap_wxMenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
7174 { "wxMenuBar_GetMenuCount", (PyCFunction
) _wrap_wxMenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
7175 { "wxMenuBar_SetLabelTop", (PyCFunction
) _wrap_wxMenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
7176 { "wxMenuBar_GetLabelTop", (PyCFunction
) _wrap_wxMenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
7177 { "wxMenuBar_SetHelpString", (PyCFunction
) _wrap_wxMenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
7178 { "wxMenuBar_GetLabel", (PyCFunction
) _wrap_wxMenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
7179 { "wxMenuBar_GetHelpString", (PyCFunction
) _wrap_wxMenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
7180 { "wxMenuBar_EnableTop", (PyCFunction
) _wrap_wxMenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
7181 { "wxMenuBar_SetLabel", (PyCFunction
) _wrap_wxMenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
7182 { "wxMenuBar_FindItemForId", (PyCFunction
) _wrap_wxMenuBar_FindItemForId
, METH_VARARGS
| METH_KEYWORDS
},
7183 { "wxMenuBar_FindMenuItem", (PyCFunction
) _wrap_wxMenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
7184 { "wxMenuBar_Enabled", (PyCFunction
) _wrap_wxMenuBar_Enabled
, METH_VARARGS
| METH_KEYWORDS
},
7185 { "wxMenuBar_Enable", (PyCFunction
) _wrap_wxMenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
7186 { "wxMenuBar_Checked", (PyCFunction
) _wrap_wxMenuBar_Checked
, METH_VARARGS
| METH_KEYWORDS
},
7187 { "wxMenuBar_Check", (PyCFunction
) _wrap_wxMenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
7188 { "wxMenuBar_Append", (PyCFunction
) _wrap_wxMenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
7189 { "new_wxMenuBar", (PyCFunction
) _wrap_new_wxMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
7190 { "wxMenu_Destroy", (PyCFunction
) _wrap_wxMenu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
7191 { "wxMenu_UpdateUI", (PyCFunction
) _wrap_wxMenu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
7192 { "wxMenu_SetLabel", (PyCFunction
) _wrap_wxMenu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
7193 { "wxMenu_IsEnabled", (PyCFunction
) _wrap_wxMenu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
7194 { "wxMenu_IsChecked", (PyCFunction
) _wrap_wxMenu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
7195 { "wxMenu_SetHelpString", (PyCFunction
) _wrap_wxMenu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
7196 { "wxMenu_GetLabel", (PyCFunction
) _wrap_wxMenu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
7197 { "wxMenu_GetHelpString", (PyCFunction
) _wrap_wxMenu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
7198 { "wxMenu_FindItemForId", (PyCFunction
) _wrap_wxMenu_FindItemForId
, METH_VARARGS
| METH_KEYWORDS
},
7199 { "wxMenu_SetTitle", (PyCFunction
) _wrap_wxMenu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
7200 { "wxMenu_GetTitle", (PyCFunction
) _wrap_wxMenu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
7201 { "wxMenu_FindItem", (PyCFunction
) _wrap_wxMenu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
7202 { "wxMenu_Enable", (PyCFunction
) _wrap_wxMenu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
7203 { "wxMenu_Check", (PyCFunction
) _wrap_wxMenu_Check
, METH_VARARGS
| METH_KEYWORDS
},
7204 { "wxMenu_Break", (PyCFunction
) _wrap_wxMenu_Break
, METH_VARARGS
| METH_KEYWORDS
},
7205 { "wxMenu_AppendSeparator", (PyCFunction
) _wrap_wxMenu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
7206 { "wxMenu_AppendItem", (PyCFunction
) _wrap_wxMenu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
7207 { "wxMenu_AppendMenu", (PyCFunction
) _wrap_wxMenu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
7208 { "wxMenu_Append", (PyCFunction
) _wrap_wxMenu_Append
, METH_VARARGS
| METH_KEYWORDS
},
7209 { "new_wxMenu", (PyCFunction
) _wrap_new_wxMenu
, METH_VARARGS
| METH_KEYWORDS
},
7210 { "wxScrolledWindow_CalcUnscrolledPosition", (PyCFunction
) _wrap_wxScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
| METH_KEYWORDS
},
7211 { "wxScrolledWindow_CalcScrolledPosition", (PyCFunction
) _wrap_wxScrolledWindow_CalcScrolledPosition
, METH_VARARGS
| METH_KEYWORDS
},
7212 { "wxScrolledWindow_ViewStart", (PyCFunction
) _wrap_wxScrolledWindow_ViewStart
, METH_VARARGS
| METH_KEYWORDS
},
7213 { "wxScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
7214 { "wxScrolledWindow_Scroll", (PyCFunction
) _wrap_wxScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
7215 { "wxScrolledWindow_PrepareDC", (PyCFunction
) _wrap_wxScrolledWindow_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
7216 { "wxScrolledWindow_IsRetained", (PyCFunction
) _wrap_wxScrolledWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
7217 { "wxScrolledWindow_GetVirtualSize", (PyCFunction
) _wrap_wxScrolledWindow_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
7218 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
7219 { "wxScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_wxScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
7220 { "new_wxScrolledWindow", (PyCFunction
) _wrap_new_wxScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
7221 { "wxDialog_SetReturnCode", (PyCFunction
) _wrap_wxDialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
7222 { "wxDialog_GetReturnCode", (PyCFunction
) _wrap_wxDialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
7223 { "wxDialog_ShowModal", (PyCFunction
) _wrap_wxDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
7224 { "wxDialog_Show", (PyCFunction
) _wrap_wxDialog_Show
, METH_VARARGS
| METH_KEYWORDS
},
7225 { "wxDialog_SetTitle", (PyCFunction
) _wrap_wxDialog_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
7226 { "wxDialog_IsModal", (PyCFunction
) _wrap_wxDialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
7227 { "wxDialog_SetModal", (PyCFunction
) _wrap_wxDialog_SetModal
, METH_VARARGS
| METH_KEYWORDS
},
7228 { "wxDialog_IsIconized", (PyCFunction
) _wrap_wxDialog_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
7229 { "wxDialog_Iconize", (PyCFunction
) _wrap_wxDialog_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
7230 { "wxDialog_GetTitle", (PyCFunction
) _wrap_wxDialog_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
7231 { "wxDialog_EndModal", (PyCFunction
) _wrap_wxDialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
7232 { "wxDialog_Centre", (PyCFunction
) _wrap_wxDialog_Centre
, METH_VARARGS
| METH_KEYWORDS
},
7233 { "new_wxDialog", (PyCFunction
) _wrap_new_wxDialog
, METH_VARARGS
| METH_KEYWORDS
},
7234 { "wxPanel_SetDefaultItem", (PyCFunction
) _wrap_wxPanel_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
7235 { "wxPanel_GetDefaultItem", (PyCFunction
) _wrap_wxPanel_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
7236 { "wxPanel_InitDialog", (PyCFunction
) _wrap_wxPanel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
7237 { "new_wxPanel", (PyCFunction
) _wrap_new_wxPanel
, METH_VARARGS
| METH_KEYWORDS
},
7238 { "wxWindow_SetValidator", (PyCFunction
) _wrap_wxWindow_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
7239 { "wxWindow_GetValidator", (PyCFunction
) _wrap_wxWindow_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
7240 { "wxWindow_SetSizer", (PyCFunction
) _wrap_wxWindow_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
7241 { "wxWindow_GetToolTip", (PyCFunction
) _wrap_wxWindow_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
7242 { "wxWindow_SetToolTip", (PyCFunction
) _wrap_wxWindow_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
7243 { "wxWindow_SetToolTipString", (PyCFunction
) _wrap_wxWindow_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
7244 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
7245 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
7246 { "wxWindow_DLG_SZE", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
7247 { "wxWindow_DLG_PNT", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
7248 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
7249 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
7250 { "wxWindow_WarpPointer", (PyCFunction
) _wrap_wxWindow_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
7251 { "wxWindow_Validate", (PyCFunction
) _wrap_wxWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
},
7252 { "wxWindow_TransferDataToWindow", (PyCFunction
) _wrap_wxWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
7253 { "wxWindow_TransferDataFromWindow", (PyCFunction
) _wrap_wxWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
7254 { "wxWindow_Show", (PyCFunction
) _wrap_wxWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
7255 { "wxWindow_SetTitle", (PyCFunction
) _wrap_wxWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
7256 { "wxWindow_SetEventHandler", (PyCFunction
) _wrap_wxWindow_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
7257 { "wxWindow_SetCursor", (PyCFunction
) _wrap_wxWindow_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
7258 { "wxWindow_SetClientSize", (PyCFunction
) _wrap_wxWindow_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
7259 { "wxWindow_SetClientSizeWH", (PyCFunction
) _wrap_wxWindow_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
7260 { "wxWindow_SetSizeHints", (PyCFunction
) _wrap_wxWindow_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
7261 { "wxWindow_SetPosition", (PyCFunction
) _wrap_wxWindow_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7262 { "wxWindow_SetSize", (PyCFunction
) _wrap_wxWindow_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
7263 { "wxWindow_SetDimensions", (PyCFunction
) _wrap_wxWindow_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
7264 { "wxWindow_SetScrollPos", (PyCFunction
) _wrap_wxWindow_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
7265 { "wxWindow_SetScrollbar", (PyCFunction
) _wrap_wxWindow_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
7266 { "wxWindow_SetName", (PyCFunction
) _wrap_wxWindow_SetName
, METH_VARARGS
| METH_KEYWORDS
},
7267 { "wxWindow_SetId", (PyCFunction
) _wrap_wxWindow_SetId
, METH_VARARGS
| METH_KEYWORDS
},
7268 { "wxWindow_SetForegroundColour", (PyCFunction
) _wrap_wxWindow_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7269 { "wxWindow_SetFont", (PyCFunction
) _wrap_wxWindow_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
7270 { "wxWindow_AcceptsFocus", (PyCFunction
) _wrap_wxWindow_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
7271 { "wxWindow_SetFocus", (PyCFunction
) _wrap_wxWindow_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
7272 { "wxWindow_UnsetConstraints", (PyCFunction
) _wrap_wxWindow_UnsetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
7273 { "wxWindow_SetConstraints", (PyCFunction
) _wrap_wxWindow_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
7274 { "wxWindow_SetBackgroundColour", (PyCFunction
) _wrap_wxWindow_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7275 { "wxWindow_GetAutoLayout", (PyCFunction
) _wrap_wxWindow_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
7276 { "wxWindow_SetAutoLayout", (PyCFunction
) _wrap_wxWindow_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
7277 { "wxWindow_SetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
7278 { "wxWindow_ScrollWindow", (PyCFunction
) _wrap_wxWindow_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
7279 { "wxWindow_ScreenToClient", (PyCFunction
) _wrap_wxWindow_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
7280 { "wxWindow_ScreenToClientXY", (PyCFunction
) _wrap_wxWindow_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
7281 { "wxWindow_Reparent", (PyCFunction
) _wrap_wxWindow_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
7282 { "wxWindow_ReleaseMouse", (PyCFunction
) _wrap_wxWindow_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
7283 { "wxWindow_Refresh", (PyCFunction
) _wrap_wxWindow_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
7284 { "wxWindow_Raise", (PyCFunction
) _wrap_wxWindow_Raise
, METH_VARARGS
| METH_KEYWORDS
},
7285 { "wxWindow_PopupMenu", (PyCFunction
) _wrap_wxWindow_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
7286 { "wxWindow_PopupMenuXY", (PyCFunction
) _wrap_wxWindow_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
7287 { "wxWindow_PushEventHandler", (PyCFunction
) _wrap_wxWindow_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
7288 { "wxWindow_PopEventHandler", (PyCFunction
) _wrap_wxWindow_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
7289 { "wxWindow_Move", (PyCFunction
) _wrap_wxWindow_Move
, METH_VARARGS
| METH_KEYWORDS
},
7290 { "wxWindow_MoveXY", (PyCFunction
) _wrap_wxWindow_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
7291 { "wxWindow_MakeModal", (PyCFunction
) _wrap_wxWindow_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
7292 { "wxWindow_Lower", (PyCFunction
) _wrap_wxWindow_Lower
, METH_VARARGS
| METH_KEYWORDS
},
7293 { "wxWindow_LoadFromResource", (PyCFunction
) _wrap_wxWindow_LoadFromResource
, METH_VARARGS
| METH_KEYWORDS
},
7294 { "wxWindow_Layout", (PyCFunction
) _wrap_wxWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
7295 { "wxWindow_IsTopLevel", (PyCFunction
) _wrap_wxWindow_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
7296 { "wxWindow_IsShown", (PyCFunction
) _wrap_wxWindow_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
7297 { "wxWindow_IsRetained", (PyCFunction
) _wrap_wxWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
7298 { "wxWindow_IsEnabled", (PyCFunction
) _wrap_wxWindow_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
7299 { "wxWindow_InitDialog", (PyCFunction
) _wrap_wxWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
7300 { "wxWindow_Hide", (PyCFunction
) _wrap_wxWindow_Hide
, METH_VARARGS
| METH_KEYWORDS
},
7301 { "wxWindow_GetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
7302 { "wxWindow_GetUpdateRegion", (PyCFunction
) _wrap_wxWindow_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
7303 { "wxWindow_GetTitle", (PyCFunction
) _wrap_wxWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
7304 { "wxWindow_GetFullTextExtent", (PyCFunction
) _wrap_wxWindow_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
7305 { "wxWindow_GetTextExtent", (PyCFunction
) _wrap_wxWindow_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
7306 { "wxWindow_GetSize", (PyCFunction
) _wrap_wxWindow_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
7307 { "wxWindow_GetSizeTuple", (PyCFunction
) _wrap_wxWindow_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
7308 { "wxWindow_GetScrollRange", (PyCFunction
) _wrap_wxWindow_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
7309 { "wxWindow_GetScrollPos", (PyCFunction
) _wrap_wxWindow_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
7310 { "wxWindow_GetScrollThumb", (PyCFunction
) _wrap_wxWindow_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
7311 { "wxWindow_GetRect", (PyCFunction
) _wrap_wxWindow_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
7312 { "wxWindow_GetPosition", (PyCFunction
) _wrap_wxWindow_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7313 { "wxWindow_GetPositionTuple", (PyCFunction
) _wrap_wxWindow_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
7314 { "wxWindow_GetParent", (PyCFunction
) _wrap_wxWindow_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
7315 { "wxWindow_GetName", (PyCFunction
) _wrap_wxWindow_GetName
, METH_VARARGS
| METH_KEYWORDS
},
7316 { "wxWindow_SetLabel", (PyCFunction
) _wrap_wxWindow_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
7317 { "wxWindow_GetLabel", (PyCFunction
) _wrap_wxWindow_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
7318 { "wxWindow_GetId", (PyCFunction
) _wrap_wxWindow_GetId
, METH_VARARGS
| METH_KEYWORDS
},
7319 { "wxWindow_GetGrandParent", (PyCFunction
) _wrap_wxWindow_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
7320 { "wxWindow_GetForegroundColour", (PyCFunction
) _wrap_wxWindow_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7321 { "wxWindow_GetFont", (PyCFunction
) _wrap_wxWindow_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
7322 { "wxWindow_GetEventHandler", (PyCFunction
) _wrap_wxWindow_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
7323 { "wxWindow_GetConstraints", (PyCFunction
) _wrap_wxWindow_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
7324 { "wxWindow_GetClientSize", (PyCFunction
) _wrap_wxWindow_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
7325 { "wxWindow_GetClientSizeTuple", (PyCFunction
) _wrap_wxWindow_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
7326 { "wxWindow_GetCharWidth", (PyCFunction
) _wrap_wxWindow_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
7327 { "wxWindow_GetCharHeight", (PyCFunction
) _wrap_wxWindow_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
7328 { "wxWindow_GetChildren", (PyCFunction
) _wrap_wxWindow_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
7329 { "wxWindow_GetBackgroundColour", (PyCFunction
) _wrap_wxWindow_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7330 { "wxWindow_Fit", (PyCFunction
) _wrap_wxWindow_Fit
, METH_VARARGS
| METH_KEYWORDS
},
7331 { "wxWindow_FindWindowByName", (PyCFunction
) _wrap_wxWindow_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
7332 { "wxWindow_FindWindowById", (PyCFunction
) _wrap_wxWindow_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
7333 { "wxWindow_Enable", (PyCFunction
) _wrap_wxWindow_Enable
, METH_VARARGS
| METH_KEYWORDS
},
7334 { "wxWindow_DestroyChildren", (PyCFunction
) _wrap_wxWindow_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
7335 { "wxWindow_Destroy", (PyCFunction
) _wrap_wxWindow_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
7336 { "wxWindow_Close", (PyCFunction
) _wrap_wxWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
7337 { "wxWindow_ClientToScreen", (PyCFunction
) _wrap_wxWindow_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
7338 { "wxWindow_ClientToScreenXY", (PyCFunction
) _wrap_wxWindow_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
7339 { "wxWindow_CenterOnParent", (PyCFunction
) _wrap_wxWindow_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
7340 { "wxWindow_CentreOnParent", (PyCFunction
) _wrap_wxWindow_CentreOnParent
, METH_VARARGS
| METH_KEYWORDS
},
7341 { "wxWindow_Centre", (PyCFunction
) _wrap_wxWindow_Centre
, METH_VARARGS
| METH_KEYWORDS
},
7342 { "wxWindow_Center", (PyCFunction
) _wrap_wxWindow_Center
, METH_VARARGS
| METH_KEYWORDS
},
7343 { "wxWindow_CaptureMouse", (PyCFunction
) _wrap_wxWindow_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
7344 { "new_wxWindow", (PyCFunction
) _wrap_new_wxWindow
, METH_VARARGS
| METH_KEYWORDS
},
7345 { "wxPyValidator__setSelf", (PyCFunction
) _wrap_wxPyValidator__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
7346 { "wxPyValidator_Destroy", (PyCFunction
) _wrap_wxPyValidator_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
7347 { "new_wxPyValidator", (PyCFunction
) _wrap_new_wxPyValidator
, METH_VARARGS
| METH_KEYWORDS
},
7348 { "wxValidator_SetWindow", (PyCFunction
) _wrap_wxValidator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
7349 { "wxValidator_GetWindow", (PyCFunction
) _wrap_wxValidator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
7350 { "wxValidator_Clone", (PyCFunction
) _wrap_wxValidator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
7351 { "new_wxValidator", (PyCFunction
) _wrap_new_wxValidator
, METH_VARARGS
| METH_KEYWORDS
},
7352 { "wxEvtHandler_Connect", (PyCFunction
) _wrap_wxEvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
7353 { "wxEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
7354 { "wxEvtHandler_SetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
7355 { "wxEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
7356 { "wxEvtHandler_GetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
7357 { "wxEvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
7358 { "wxEvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
7359 { "wxEvtHandler_ProcessEvent", (PyCFunction
) _wrap_wxEvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
7360 { "wxValidator_SetBellOnError", (PyCFunction
) _wrap_wxValidator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
7361 { "wxValidator_IsSilent", (PyCFunction
) _wrap_wxValidator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
7368 * This table is used by the pointer type-checker
7370 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
7371 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
7372 { "_signed_long","_long",0},
7373 { "_wxPrintQuality","_int",0},
7374 { "_wxPrintQuality","_signed_int",0},
7375 { "_wxPrintQuality","_unsigned_int",0},
7376 { "_wxPrintQuality","_wxWindowID",0},
7377 { "_wxPrintQuality","_uint",0},
7378 { "_wxPrintQuality","_EBool",0},
7379 { "_wxPrintQuality","_size_t",0},
7380 { "_class_wxRegionIterator","_wxRegionIterator",0},
7381 { "_class_wxMenuBar","_wxMenuBar",0},
7382 { "_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
7383 { "_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
7384 { "_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
7385 { "_class_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
7386 { "_class_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
7387 { "_class_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
7388 { "_class_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
7389 { "_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
7390 { "_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
7391 { "_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
7392 { "_class_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
7393 { "_class_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
7394 { "_class_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
7395 { "_class_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
7396 { "_class_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler
},
7397 { "_class_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
7398 { "_class_wxEvtHandler","_wxEvtHandler",0},
7399 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
7400 { "_wxCursor","_class_wxCursor",0},
7401 { "_wxMask","_class_wxMask",0},
7402 { "_wxPen","_class_wxPen",0},
7403 { "_byte","_unsigned_char",0},
7404 { "_long","_wxDash",0},
7405 { "_long","_unsigned_long",0},
7406 { "_long","_signed_long",0},
7407 { "_wxImageList","_class_wxImageList",0},
7408 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
7409 { "_wxDC","_class_wxDC",0},
7410 { "_size_t","_wxPrintQuality",0},
7411 { "_size_t","_unsigned_int",0},
7412 { "_size_t","_int",0},
7413 { "_size_t","_wxWindowID",0},
7414 { "_size_t","_uint",0},
7415 { "_class_wxRealPoint","_wxRealPoint",0},
7416 { "_class_wxMenuItem","_wxMenuItem",0},
7417 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
7418 { "_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
7419 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
7420 { "_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
7421 { "_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
7422 { "_wxPanel","_class_wxPanel",0},
7423 { "_class_wxMask","_wxMask",0},
7424 { "_wxColour","_class_wxColour",0},
7425 { "_class_wxDialog","_wxDialog",0},
7426 { "_wxBrush","_class_wxBrush",0},
7427 { "_uint","_wxPrintQuality",0},
7428 { "_uint","_size_t",0},
7429 { "_uint","_unsigned_int",0},
7430 { "_uint","_int",0},
7431 { "_uint","_wxWindowID",0},
7432 { "_wxPyValidator","_class_wxPyValidator",0},
7433 { "_wxRect","_class_wxRect",0},
7434 { "_wxPoint","_class_wxPoint",0},
7435 { "_wxBitmap","_class_wxBitmap",0},
7436 { "_wxPyTimer","_class_wxPyTimer",0},
7437 { "_wxWindowDC","_class_wxWindowDC",0},
7438 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
7439 { "_class_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator
},
7440 { "_class_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
7441 { "_class_wxValidator","_wxValidator",0},
7442 { "_EBool","_wxPrintQuality",0},
7443 { "_EBool","_signed_int",0},
7444 { "_EBool","_int",0},
7445 { "_EBool","_wxWindowID",0},
7446 { "_class_wxRegion","_wxRegion",0},
7447 { "_wxFont","_class_wxFont",0},
7448 { "_unsigned_long","_wxDash",0},
7449 { "_unsigned_long","_long",0},
7450 { "_class_wxRect","_wxRect",0},
7451 { "_class_wxDC","_wxDC",0},
7452 { "_class_wxPyTimer","_wxPyTimer",0},
7453 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
7454 { "_class_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
7455 { "_class_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
7456 { "_class_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
7457 { "_class_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
7458 { "_class_wxPanel","_wxPanel",0},
7459 { "_signed_int","_wxPrintQuality",0},
7460 { "_signed_int","_EBool",0},
7461 { "_signed_int","_wxWindowID",0},
7462 { "_signed_int","_int",0},
7463 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
7464 { "_wxMenu","_class_wxMenu",0},
7465 { "_wxScreenDC","_class_wxScreenDC",0},
7466 { "_WXTYPE","_short",0},
7467 { "_WXTYPE","_signed_short",0},
7468 { "_WXTYPE","_unsigned_short",0},
7469 { "_class_wxBrush","_wxBrush",0},
7470 { "_unsigned_short","_WXTYPE",0},
7471 { "_unsigned_short","_short",0},
7472 { "_class_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
7473 { "_class_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
7474 { "_class_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
7475 { "_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
7476 { "_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
7477 { "_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
7478 { "_class_wxWindow","_wxWindow",0},
7479 { "_class_wxFont","_wxFont",0},
7480 { "_class_wxPyValidator","_wxPyValidator",0},
7481 { "_wxClientDC","_class_wxClientDC",0},
7482 { "_class_wxPoint","_wxPoint",0},
7483 { "_wxRealPoint","_class_wxRealPoint",0},
7484 { "_signed_short","_WXTYPE",0},
7485 { "_signed_short","_short",0},
7486 { "_wxMemoryDC","_class_wxMemoryDC",0},
7487 { "_wxPaintDC","_class_wxPaintDC",0},
7488 { "_class_wxWindowDC","_wxWindowDC",0},
7489 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
7490 { "_class_wxCursor","_wxCursor",0},
7491 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
7492 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
7493 { "_unsigned_char","_byte",0},
7494 { "_class_wxMenu","_wxMenu",0},
7495 { "_unsigned_int","_wxPrintQuality",0},
7496 { "_unsigned_int","_size_t",0},
7497 { "_unsigned_int","_uint",0},
7498 { "_unsigned_int","_wxWindowID",0},
7499 { "_unsigned_int","_int",0},
7500 { "_wxIcon","_class_wxIcon",0},
7501 { "_wxDialog","_class_wxDialog",0},
7502 { "_class_wxPen","_wxPen",0},
7503 { "_short","_WXTYPE",0},
7504 { "_short","_unsigned_short",0},
7505 { "_short","_signed_short",0},
7506 { "_class_wxImageList","_wxImageList",0},
7507 { "_wxWindowID","_wxPrintQuality",0},
7508 { "_wxWindowID","_size_t",0},
7509 { "_wxWindowID","_EBool",0},
7510 { "_wxWindowID","_uint",0},
7511 { "_wxWindowID","_int",0},
7512 { "_wxWindowID","_signed_int",0},
7513 { "_wxWindowID","_unsigned_int",0},
7514 { "_int","_wxPrintQuality",0},
7515 { "_int","_size_t",0},
7516 { "_int","_EBool",0},
7517 { "_int","_uint",0},
7518 { "_int","_wxWindowID",0},
7519 { "_int","_unsigned_int",0},
7520 { "_int","_signed_int",0},
7521 { "_wxSize","_class_wxSize",0},
7522 { "_wxRegionIterator","_class_wxRegionIterator",0},
7523 { "_class_wxPaintDC","_wxPaintDC",0},
7524 { "_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator
},
7525 { "_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
7526 { "_wxValidator","_class_wxValidator",0},
7527 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
7528 { "_class_wxIcon","_wxIcon",0},
7529 { "_class_wxColour","_wxColour",0},
7530 { "_class_wxScreenDC","_wxScreenDC",0},
7531 { "_wxPalette","_class_wxPalette",0},
7532 { "_wxRegion","_class_wxRegion",0},
7533 { "_class_wxClientDC","_wxClientDC",0},
7534 { "_class_wxSize","_wxSize",0},
7535 { "_class_wxBitmap","_wxBitmap",0},
7536 { "_class_wxMemoryDC","_wxMemoryDC",0},
7537 { "_wxMenuBar","_class_wxMenuBar",0},
7538 { "_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
7539 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
7540 { "_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
7541 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
7542 { "_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
7543 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
7544 { "_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
7545 { "_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
7546 { "_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
7547 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
7548 { "_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
7549 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
7550 { "_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
7551 { "_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
7552 { "_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler
},
7553 { "_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
7554 { "_wxEvtHandler","_class_wxEvtHandler",0},
7555 { "_wxMenuItem","_class_wxMenuItem",0},
7556 { "_wxDash","_unsigned_long",0},
7557 { "_wxDash","_long",0},
7558 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
7559 { "_class_wxPalette","_wxPalette",0},
7560 { "_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
7561 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
7562 { "_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
7563 { "_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
7564 { "_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
7565 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
7566 { "_wxWindow","_class_wxWindow",0},
7569 static PyObject
*SWIG_globals
;
7573 SWIGEXPORT(void) initwindowsc() {
7575 SWIG_globals
= SWIG_newvarlink();
7576 m
= Py_InitModule("windowsc", windowscMethods
);
7577 d
= PyModule_GetDict(m
);
7580 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
7581 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);