2 * FILE : src/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
44 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
48 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
49 extern PyObject
*SWIG_newvarlink(void);
53 #define SWIG_init initwindowsc
55 #define SWIG_name "windowsc"
58 #include <wx/menuitem.h>
60 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("()"));
135 SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxPyValidator_p");
139 // This is very dangerous!!! But is the only way I could find
140 // to squash a memory leak. Currently it is okay, but if the
141 // validator architecture in wxWindows ever changes, problems
145 wxPySaveThread(doSave
);
149 DEC_PYCALLBACK_BOOL_WXWIN(Validate
);
150 DEC_PYCALLBACK_BOOL_(TransferToWindow
);
151 DEC_PYCALLBACK_BOOL_(TransferFromWindow
);
157 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
158 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
159 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
161 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
164 wxWindow
* wxWindow_FindFocus() {
165 return wxWindow::FindFocus();
168 int wxWindow_NewControlId() {
169 return wxWindow::NewControlId();
171 int wxWindow_NextControlId(int id
) {
172 return wxWindow::NextControlId(id
);
174 int wxWindow_PrevControlId(int id
) {
175 return wxWindow::PrevControlId(id
);
180 static PyObject
*_wrap_wxValidator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
181 PyObject
* _resultobj
;
183 char *_kwnames
[] = { NULL
};
186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxValidator_IsSilent",_kwnames
))
189 wxPy_BEGIN_ALLOW_THREADS
;
190 _result
= (bool )wxValidator_IsSilent();
192 wxPy_END_ALLOW_THREADS
;
193 } _resultobj
= Py_BuildValue("i",_result
);
197 static PyObject
*_wrap_wxValidator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
198 PyObject
* _resultobj
;
199 int _arg0
= (int ) TRUE
;
200 char *_kwnames
[] = { "doIt", NULL
};
203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxValidator_SetBellOnError",_kwnames
,&_arg0
))
206 wxPy_BEGIN_ALLOW_THREADS
;
207 wxValidator_SetBellOnError(_arg0
);
209 wxPy_END_ALLOW_THREADS
;
210 } Py_INCREF(Py_None
);
211 _resultobj
= Py_None
;
215 static PyObject
*_wrap_wxWindow_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
216 PyObject
* _resultobj
;
218 char *_kwnames
[] = { NULL
};
222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_FindFocus",_kwnames
))
225 wxPy_BEGIN_ALLOW_THREADS
;
226 _result
= (wxWindow
*)wxWindow_FindFocus();
228 wxPy_END_ALLOW_THREADS
;
230 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
231 _resultobj
= Py_BuildValue("s",_ptemp
);
234 _resultobj
= Py_None
;
239 static PyObject
*_wrap_wxWindow_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
240 PyObject
* _resultobj
;
242 char *_kwnames
[] = { NULL
};
245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_NewControlId",_kwnames
))
248 wxPy_BEGIN_ALLOW_THREADS
;
249 _result
= (int )wxWindow_NewControlId();
251 wxPy_END_ALLOW_THREADS
;
252 } _resultobj
= Py_BuildValue("i",_result
);
256 static PyObject
*_wrap_wxWindow_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
257 PyObject
* _resultobj
;
260 char *_kwnames
[] = { "id", NULL
};
263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_NextControlId",_kwnames
,&_arg0
))
266 wxPy_BEGIN_ALLOW_THREADS
;
267 _result
= (int )wxWindow_NextControlId(_arg0
);
269 wxPy_END_ALLOW_THREADS
;
270 } _resultobj
= Py_BuildValue("i",_result
);
274 static PyObject
*_wrap_wxWindow_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
275 PyObject
* _resultobj
;
278 char *_kwnames
[] = { "id", NULL
};
281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_PrevControlId",_kwnames
,&_arg0
))
284 wxPy_BEGIN_ALLOW_THREADS
;
285 _result
= (int )wxWindow_PrevControlId(_arg0
);
287 wxPy_END_ALLOW_THREADS
;
288 } _resultobj
= Py_BuildValue("i",_result
);
292 #define new_wxEvtHandler() (new wxEvtHandler())
293 static PyObject
*_wrap_new_wxEvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
294 PyObject
* _resultobj
;
295 wxEvtHandler
* _result
;
296 char *_kwnames
[] = { NULL
};
300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxEvtHandler",_kwnames
))
303 wxPy_BEGIN_ALLOW_THREADS
;
304 _result
= (wxEvtHandler
*)new_wxEvtHandler();
306 wxPy_END_ALLOW_THREADS
;
308 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
309 _resultobj
= Py_BuildValue("s",_ptemp
);
312 _resultobj
= Py_None
;
317 #define wxEvtHandler_ProcessEvent(_swigobj,_swigarg0) (_swigobj->ProcessEvent(_swigarg0))
318 static PyObject
*_wrap_wxEvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
319 PyObject
* _resultobj
;
321 wxEvtHandler
* _arg0
;
323 PyObject
* _argo0
= 0;
324 PyObject
* _argo1
= 0;
325 char *_kwnames
[] = { "self","event", NULL
};
328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_ProcessEvent",_kwnames
,&_argo0
,&_argo1
))
331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_ProcessEvent. Expected _wxEvtHandler_p.");
338 if (_argo1
== Py_None
) { _arg1
= NULL
; }
339 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_ProcessEvent. Expected _wxEvent_p.");
345 wxPy_BEGIN_ALLOW_THREADS
;
346 _result
= (bool )wxEvtHandler_ProcessEvent(_arg0
,*_arg1
);
348 wxPy_END_ALLOW_THREADS
;
349 } _resultobj
= Py_BuildValue("i",_result
);
353 #define wxEvtHandler_AddPendingEvent(_swigobj,_swigarg0) (_swigobj->AddPendingEvent(_swigarg0))
354 static PyObject
*_wrap_wxEvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
355 PyObject
* _resultobj
;
356 wxEvtHandler
* _arg0
;
358 PyObject
* _argo0
= 0;
359 PyObject
* _argo1
= 0;
360 char *_kwnames
[] = { "self","event", NULL
};
363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_AddPendingEvent",_kwnames
,&_argo0
,&_argo1
))
366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_AddPendingEvent. Expected _wxEvtHandler_p.");
373 if (_argo1
== Py_None
) { _arg1
= NULL
; }
374 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_AddPendingEvent. Expected _wxEvent_p.");
380 wxPy_BEGIN_ALLOW_THREADS
;
381 wxEvtHandler_AddPendingEvent(_arg0
,*_arg1
);
383 wxPy_END_ALLOW_THREADS
;
384 } Py_INCREF(Py_None
);
385 _resultobj
= Py_None
;
389 #define wxEvtHandler_GetEvtHandlerEnabled(_swigobj) (_swigobj->GetEvtHandlerEnabled())
390 static PyObject
*_wrap_wxEvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
391 PyObject
* _resultobj
;
393 wxEvtHandler
* _arg0
;
394 PyObject
* _argo0
= 0;
395 char *_kwnames
[] = { "self", NULL
};
398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetEvtHandlerEnabled",_kwnames
,&_argo0
))
401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
408 wxPy_BEGIN_ALLOW_THREADS
;
409 _result
= (bool )wxEvtHandler_GetEvtHandlerEnabled(_arg0
);
411 wxPy_END_ALLOW_THREADS
;
412 } _resultobj
= Py_BuildValue("i",_result
);
416 #define wxEvtHandler_SetEvtHandlerEnabled(_swigobj,_swigarg0) (_swigobj->SetEvtHandlerEnabled(_swigarg0))
417 static PyObject
*_wrap_wxEvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
418 PyObject
* _resultobj
;
419 wxEvtHandler
* _arg0
;
421 PyObject
* _argo0
= 0;
423 char *_kwnames
[] = { "self","enabled", NULL
};
426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxEvtHandler_SetEvtHandlerEnabled",_kwnames
,&_argo0
,&tempbool1
))
429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
435 _arg1
= (bool ) tempbool1
;
437 wxPy_BEGIN_ALLOW_THREADS
;
438 wxEvtHandler_SetEvtHandlerEnabled(_arg0
,_arg1
);
440 wxPy_END_ALLOW_THREADS
;
441 } Py_INCREF(Py_None
);
442 _resultobj
= Py_None
;
446 #define wxEvtHandler_GetNextHandler(_swigobj) (_swigobj->GetNextHandler())
447 static PyObject
*_wrap_wxEvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
448 PyObject
* _resultobj
;
449 wxEvtHandler
* _result
;
450 wxEvtHandler
* _arg0
;
451 PyObject
* _argo0
= 0;
452 char *_kwnames
[] = { "self", NULL
};
456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetNextHandler",_kwnames
,&_argo0
))
459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetNextHandler. Expected _wxEvtHandler_p.");
466 wxPy_BEGIN_ALLOW_THREADS
;
467 _result
= (wxEvtHandler
*)wxEvtHandler_GetNextHandler(_arg0
);
469 wxPy_END_ALLOW_THREADS
;
471 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
472 _resultobj
= Py_BuildValue("s",_ptemp
);
475 _resultobj
= Py_None
;
480 #define wxEvtHandler_GetPreviousHandler(_swigobj) (_swigobj->GetPreviousHandler())
481 static PyObject
*_wrap_wxEvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
482 PyObject
* _resultobj
;
483 wxEvtHandler
* _result
;
484 wxEvtHandler
* _arg0
;
485 PyObject
* _argo0
= 0;
486 char *_kwnames
[] = { "self", NULL
};
490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetPreviousHandler",_kwnames
,&_argo0
))
493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetPreviousHandler. Expected _wxEvtHandler_p.");
500 wxPy_BEGIN_ALLOW_THREADS
;
501 _result
= (wxEvtHandler
*)wxEvtHandler_GetPreviousHandler(_arg0
);
503 wxPy_END_ALLOW_THREADS
;
505 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
506 _resultobj
= Py_BuildValue("s",_ptemp
);
509 _resultobj
= Py_None
;
514 #define wxEvtHandler_SetNextHandler(_swigobj,_swigarg0) (_swigobj->SetNextHandler(_swigarg0))
515 static PyObject
*_wrap_wxEvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
516 PyObject
* _resultobj
;
517 wxEvtHandler
* _arg0
;
518 wxEvtHandler
* _arg1
;
519 PyObject
* _argo0
= 0;
520 PyObject
* _argo1
= 0;
521 char *_kwnames
[] = { "self","handler", NULL
};
524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetNextHandler",_kwnames
,&_argo0
,&_argo1
))
527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
534 if (_argo1
== Py_None
) { _arg1
= NULL
; }
535 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
541 wxPy_BEGIN_ALLOW_THREADS
;
542 wxEvtHandler_SetNextHandler(_arg0
,_arg1
);
544 wxPy_END_ALLOW_THREADS
;
545 } Py_INCREF(Py_None
);
546 _resultobj
= Py_None
;
550 #define wxEvtHandler_SetPreviousHandler(_swigobj,_swigarg0) (_swigobj->SetPreviousHandler(_swigarg0))
551 static PyObject
*_wrap_wxEvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
552 PyObject
* _resultobj
;
553 wxEvtHandler
* _arg0
;
554 wxEvtHandler
* _arg1
;
555 PyObject
* _argo0
= 0;
556 PyObject
* _argo1
= 0;
557 char *_kwnames
[] = { "self","handler", NULL
};
560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetPreviousHandler",_kwnames
,&_argo0
,&_argo1
))
563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
570 if (_argo1
== Py_None
) { _arg1
= NULL
; }
571 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
577 wxPy_BEGIN_ALLOW_THREADS
;
578 wxEvtHandler_SetPreviousHandler(_arg0
,_arg1
);
580 wxPy_END_ALLOW_THREADS
;
581 } Py_INCREF(Py_None
);
582 _resultobj
= Py_None
;
586 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
* func
) {
587 if (PyCallable_Check(func
)) {
588 self
->Connect(id
, lastId
, eventType
,
589 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
590 new wxPyCallback(func
));
593 static PyObject
*_wrap_wxEvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
594 PyObject
* _resultobj
;
595 wxEvtHandler
* _arg0
;
600 PyObject
* _argo0
= 0;
601 PyObject
* _obj4
= 0;
602 char *_kwnames
[] = { "self","id","lastId","eventType","func", NULL
};
605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiiO:wxEvtHandler_Connect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
618 wxPy_BEGIN_ALLOW_THREADS
;
619 wxEvtHandler_Connect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
621 wxPy_END_ALLOW_THREADS
;
622 } Py_INCREF(Py_None
);
623 _resultobj
= Py_None
;
627 static bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
) {
628 return self
->Disconnect(id
, lastId
, eventType
,
629 (wxObjectEventFunction
)
630 &wxPyCallback::EventThunker
);
632 static PyObject
*_wrap_wxEvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
633 PyObject
* _resultobj
;
635 wxEvtHandler
* _arg0
;
637 int _arg2
= (int ) -1;
638 wxEventType _arg3
= (wxEventType
) wxEVT_NULL
;
639 PyObject
* _argo0
= 0;
640 char *_kwnames
[] = { "self","id","lastId","eventType", NULL
};
643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxEvtHandler_Disconnect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Disconnect. Expected _wxEvtHandler_p.");
653 wxPy_BEGIN_ALLOW_THREADS
;
654 _result
= (bool )wxEvtHandler_Disconnect(_arg0
,_arg1
,_arg2
,_arg3
);
656 wxPy_END_ALLOW_THREADS
;
657 } _resultobj
= Py_BuildValue("i",_result
);
661 static void *SwigwxValidatorTowxEvtHandler(void *ptr
) {
664 src
= (wxValidator
*) ptr
;
665 dest
= (wxEvtHandler
*) src
;
666 return (void *) dest
;
669 #define new_wxValidator() (new wxValidator())
670 static PyObject
*_wrap_new_wxValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
671 PyObject
* _resultobj
;
672 wxValidator
* _result
;
673 char *_kwnames
[] = { NULL
};
677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxValidator",_kwnames
))
680 wxPy_BEGIN_ALLOW_THREADS
;
681 _result
= (wxValidator
*)new_wxValidator();
683 wxPy_END_ALLOW_THREADS
;
685 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
686 _resultobj
= Py_BuildValue("s",_ptemp
);
689 _resultobj
= Py_None
;
694 #define wxValidator_Clone(_swigobj) (_swigobj->Clone())
695 static PyObject
*_wrap_wxValidator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
696 PyObject
* _resultobj
;
697 wxValidator
* _result
;
699 PyObject
* _argo0
= 0;
700 char *_kwnames
[] = { "self", NULL
};
704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_Clone",_kwnames
,&_argo0
))
707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_Clone. Expected _wxValidator_p.");
714 wxPy_BEGIN_ALLOW_THREADS
;
715 _result
= (wxValidator
*)wxValidator_Clone(_arg0
);
717 wxPy_END_ALLOW_THREADS
;
719 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
720 _resultobj
= Py_BuildValue("s",_ptemp
);
723 _resultobj
= Py_None
;
728 #define wxValidator_GetWindow(_swigobj) (_swigobj->GetWindow())
729 static PyObject
*_wrap_wxValidator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
730 PyObject
* _resultobj
;
733 PyObject
* _argo0
= 0;
734 char *_kwnames
[] = { "self", NULL
};
738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_GetWindow",_kwnames
,&_argo0
))
741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_GetWindow. Expected _wxValidator_p.");
748 wxPy_BEGIN_ALLOW_THREADS
;
749 _result
= (wxWindow
*)wxValidator_GetWindow(_arg0
);
751 wxPy_END_ALLOW_THREADS
;
753 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
754 _resultobj
= Py_BuildValue("s",_ptemp
);
757 _resultobj
= Py_None
;
762 #define wxValidator_SetWindow(_swigobj,_swigarg0) (_swigobj->SetWindow(_swigarg0))
763 static PyObject
*_wrap_wxValidator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
764 PyObject
* _resultobj
;
767 PyObject
* _argo0
= 0;
768 PyObject
* _argo1
= 0;
769 char *_kwnames
[] = { "self","window", NULL
};
772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxValidator_SetWindow",_kwnames
,&_argo0
,&_argo1
))
775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_SetWindow. Expected _wxValidator_p.");
782 if (_argo1
== Py_None
) { _arg1
= NULL
; }
783 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxValidator_SetWindow. Expected _wxWindow_p.");
789 wxPy_BEGIN_ALLOW_THREADS
;
790 wxValidator_SetWindow(_arg0
,_arg1
);
792 wxPy_END_ALLOW_THREADS
;
793 } Py_INCREF(Py_None
);
794 _resultobj
= Py_None
;
798 static void *SwigwxPyValidatorTowxValidator(void *ptr
) {
801 src
= (wxPyValidator
*) ptr
;
802 dest
= (wxValidator
*) src
;
803 return (void *) dest
;
806 static void *SwigwxPyValidatorTowxEvtHandler(void *ptr
) {
809 src
= (wxPyValidator
*) ptr
;
810 dest
= (wxEvtHandler
*) src
;
811 return (void *) dest
;
814 #define new_wxPyValidator() (new wxPyValidator())
815 static PyObject
*_wrap_new_wxPyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
816 PyObject
* _resultobj
;
817 wxPyValidator
* _result
;
818 char *_kwnames
[] = { NULL
};
822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyValidator",_kwnames
))
825 wxPy_BEGIN_ALLOW_THREADS
;
826 _result
= (wxPyValidator
*)new_wxPyValidator();
828 wxPy_END_ALLOW_THREADS
;
830 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyValidator_p");
831 _resultobj
= Py_BuildValue("s",_ptemp
);
834 _resultobj
= Py_None
;
839 static void wxPyValidator_Destroy(wxPyValidator
*self
) { delete self
; }
840 static PyObject
*_wrap_wxPyValidator_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
841 PyObject
* _resultobj
;
842 wxPyValidator
* _arg0
;
843 PyObject
* _argo0
= 0;
844 char *_kwnames
[] = { "self", NULL
};
847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyValidator_Destroy",_kwnames
,&_argo0
))
850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyValidator_p")) {
852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyValidator_Destroy. Expected _wxPyValidator_p.");
857 wxPy_BEGIN_ALLOW_THREADS
;
858 wxPyValidator_Destroy(_arg0
);
860 wxPy_END_ALLOW_THREADS
;
861 } Py_INCREF(Py_None
);
862 _resultobj
= Py_None
;
866 #define wxPyValidator__setSelf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->_setSelf(_swigarg0,_swigarg1,_swigarg2))
867 static PyObject
*_wrap_wxPyValidator__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
868 PyObject
* _resultobj
;
869 wxPyValidator
* _arg0
;
872 int _arg3
= (int ) TRUE
;
873 PyObject
* _argo0
= 0;
874 PyObject
* _obj1
= 0;
875 PyObject
* _obj2
= 0;
876 char *_kwnames
[] = { "self","self","_class","incref", NULL
};
879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPyValidator__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
))
882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyValidator_p")) {
884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyValidator__setSelf. Expected _wxPyValidator_p.");
895 wxPy_BEGIN_ALLOW_THREADS
;
896 wxPyValidator__setSelf(_arg0
,_arg1
,_arg2
,_arg3
);
898 wxPy_END_ALLOW_THREADS
;
899 } Py_INCREF(Py_None
);
900 _resultobj
= Py_None
;
904 static void *SwigwxWindowTowxEvtHandler(void *ptr
) {
907 src
= (wxWindow
*) ptr
;
908 dest
= (wxEvtHandler
*) src
;
909 return (void *) dest
;
912 #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
913 static PyObject
*_wrap_new_wxWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
914 PyObject
* _resultobj
;
918 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
919 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
920 long _arg4
= (long ) 0;
921 char * _arg5
= (char *) "panel";
922 PyObject
* _argo0
= 0;
924 PyObject
* _obj2
= 0;
926 PyObject
* _obj3
= 0;
927 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
943 if (! wxPoint_helper(_obj2
, &_arg2
))
949 if (! wxSize_helper(_obj3
, &_arg3
))
953 wxPy_BEGIN_ALLOW_THREADS
;
954 _result
= (wxWindow
*)new_wxWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
956 wxPy_END_ALLOW_THREADS
;
958 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
959 _resultobj
= Py_BuildValue("s",_ptemp
);
962 _resultobj
= Py_None
;
967 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
968 static PyObject
*_wrap_wxWindow_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
969 PyObject
* _resultobj
;
971 PyObject
* _argo0
= 0;
972 char *_kwnames
[] = { "self", NULL
};
975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_CaptureMouse",_kwnames
,&_argo0
))
978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
985 wxPy_BEGIN_ALLOW_THREADS
;
986 wxWindow_CaptureMouse(_arg0
);
988 wxPy_END_ALLOW_THREADS
;
989 } Py_INCREF(Py_None
);
990 _resultobj
= Py_None
;
994 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
995 static PyObject
*_wrap_wxWindow_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
996 PyObject
* _resultobj
;
998 int _arg1
= (int ) wxBOTH
;
999 PyObject
* _argo0
= 0;
1000 char *_kwnames
[] = { "self","direction", NULL
};
1003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Center",_kwnames
,&_argo0
,&_arg1
))
1006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
1013 wxPy_BEGIN_ALLOW_THREADS
;
1014 wxWindow_Center(_arg0
,_arg1
);
1016 wxPy_END_ALLOW_THREADS
;
1017 } Py_INCREF(Py_None
);
1018 _resultobj
= Py_None
;
1022 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
1023 static PyObject
*_wrap_wxWindow_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1024 PyObject
* _resultobj
;
1026 int _arg1
= (int ) wxBOTH
;
1027 PyObject
* _argo0
= 0;
1028 char *_kwnames
[] = { "self","direction", NULL
};
1031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Centre",_kwnames
,&_argo0
,&_arg1
))
1034 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1035 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
1041 wxPy_BEGIN_ALLOW_THREADS
;
1042 wxWindow_Centre(_arg0
,_arg1
);
1044 wxPy_END_ALLOW_THREADS
;
1045 } Py_INCREF(Py_None
);
1046 _resultobj
= Py_None
;
1050 #define wxWindow_CentreOnParent(_swigobj,_swigarg0) (_swigobj->CentreOnParent(_swigarg0))
1051 static PyObject
*_wrap_wxWindow_CentreOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1052 PyObject
* _resultobj
;
1054 int _arg1
= (int ) wxBOTH
;
1055 PyObject
* _argo0
= 0;
1056 char *_kwnames
[] = { "self","direction", NULL
};
1059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnParent",_kwnames
,&_argo0
,&_arg1
))
1062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnParent. Expected _wxWindow_p.");
1069 wxPy_BEGIN_ALLOW_THREADS
;
1070 wxWindow_CentreOnParent(_arg0
,_arg1
);
1072 wxPy_END_ALLOW_THREADS
;
1073 } Py_INCREF(Py_None
);
1074 _resultobj
= Py_None
;
1078 #define wxWindow_CenterOnParent(_swigobj,_swigarg0) (_swigobj->CenterOnParent(_swigarg0))
1079 static PyObject
*_wrap_wxWindow_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1080 PyObject
* _resultobj
;
1082 int _arg1
= (int ) wxBOTH
;
1083 PyObject
* _argo0
= 0;
1084 char *_kwnames
[] = { "self","direction", NULL
};
1087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnParent",_kwnames
,&_argo0
,&_arg1
))
1090 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1091 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnParent. Expected _wxWindow_p.");
1097 wxPy_BEGIN_ALLOW_THREADS
;
1098 wxWindow_CenterOnParent(_arg0
,_arg1
);
1100 wxPy_END_ALLOW_THREADS
;
1101 } Py_INCREF(Py_None
);
1102 _resultobj
= Py_None
;
1106 #define wxWindow_CentreOnScreen(_swigobj,_swigarg0) (_swigobj->CentreOnScreen(_swigarg0))
1107 static PyObject
*_wrap_wxWindow_CentreOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1108 PyObject
* _resultobj
;
1110 int _arg1
= (int ) wxBOTH
;
1111 PyObject
* _argo0
= 0;
1112 char *_kwnames
[] = { "self","direction", NULL
};
1115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnScreen",_kwnames
,&_argo0
,&_arg1
))
1118 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1119 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnScreen. Expected _wxWindow_p.");
1125 wxPy_BEGIN_ALLOW_THREADS
;
1126 wxWindow_CentreOnScreen(_arg0
,_arg1
);
1128 wxPy_END_ALLOW_THREADS
;
1129 } Py_INCREF(Py_None
);
1130 _resultobj
= Py_None
;
1134 #define wxWindow_CenterOnScreen(_swigobj,_swigarg0) (_swigobj->CenterOnScreen(_swigarg0))
1135 static PyObject
*_wrap_wxWindow_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1136 PyObject
* _resultobj
;
1138 int _arg1
= (int ) wxBOTH
;
1139 PyObject
* _argo0
= 0;
1140 char *_kwnames
[] = { "self","direction", NULL
};
1143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnScreen",_kwnames
,&_argo0
,&_arg1
))
1146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnScreen. Expected _wxWindow_p.");
1153 wxPy_BEGIN_ALLOW_THREADS
;
1154 wxWindow_CenterOnScreen(_arg0
,_arg1
);
1156 wxPy_END_ALLOW_THREADS
;
1157 } Py_INCREF(Py_None
);
1158 _resultobj
= Py_None
;
1162 #define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
1163 static PyObject
*_wrap_wxWindow_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1164 PyObject
* _resultobj
;
1168 PyObject
* _argo0
= 0;
1170 PyObject
* _obj1
= 0;
1172 PyObject
* _obj2
= 0;
1173 char *_kwnames
[] = { "self","x","y", NULL
};
1176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ClientToScreenXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
1186 temp
= (int) PyInt_AsLong(_obj1
);
1190 temp0
= (int) PyInt_AsLong(_obj2
);
1194 wxPy_BEGIN_ALLOW_THREADS
;
1195 wxWindow_ClientToScreenXY(_arg0
,_arg1
,_arg2
);
1197 wxPy_END_ALLOW_THREADS
;
1198 } Py_INCREF(Py_None
);
1199 _resultobj
= Py_None
;
1202 o
= PyInt_FromLong((long) (*_arg1
));
1203 _resultobj
= t_output_helper(_resultobj
, o
);
1207 o
= PyInt_FromLong((long) (*_arg2
));
1208 _resultobj
= t_output_helper(_resultobj
, o
);
1213 #define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
1214 static PyObject
*_wrap_wxWindow_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1215 PyObject
* _resultobj
;
1219 PyObject
* _argo0
= 0;
1221 PyObject
* _obj1
= 0;
1222 char *_kwnames
[] = { "self","pt", NULL
};
1226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ClientToScreen",_kwnames
,&_argo0
,&_obj1
))
1229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
1237 if (! wxPoint_helper(_obj1
, &_arg1
))
1241 wxPy_BEGIN_ALLOW_THREADS
;
1242 _result
= new wxPoint (wxWindow_ClientToScreen(_arg0
,*_arg1
));
1244 wxPy_END_ALLOW_THREADS
;
1245 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1246 _resultobj
= Py_BuildValue("s",_ptemp
);
1250 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
1251 static PyObject
*_wrap_wxWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1252 PyObject
* _resultobj
;
1255 int _arg1
= (int ) FALSE
;
1256 PyObject
* _argo0
= 0;
1257 char *_kwnames
[] = { "self","force", NULL
};
1260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Close",_kwnames
,&_argo0
,&_arg1
))
1263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
1270 wxPy_BEGIN_ALLOW_THREADS
;
1271 _result
= (bool )wxWindow_Close(_arg0
,_arg1
);
1273 wxPy_END_ALLOW_THREADS
;
1274 } _resultobj
= Py_BuildValue("i",_result
);
1278 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
1279 static PyObject
*_wrap_wxWindow_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1280 PyObject
* _resultobj
;
1283 PyObject
* _argo0
= 0;
1284 char *_kwnames
[] = { "self", NULL
};
1287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Destroy",_kwnames
,&_argo0
))
1290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
1297 wxPy_BEGIN_ALLOW_THREADS
;
1298 _result
= (bool )wxWindow_Destroy(_arg0
);
1300 wxPy_END_ALLOW_THREADS
;
1301 } _resultobj
= Py_BuildValue("i",_result
);
1305 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
1306 static PyObject
*_wrap_wxWindow_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1307 PyObject
* _resultobj
;
1309 PyObject
* _argo0
= 0;
1310 char *_kwnames
[] = { "self", NULL
};
1313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_DestroyChildren",_kwnames
,&_argo0
))
1316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
1323 wxPy_BEGIN_ALLOW_THREADS
;
1324 wxWindow_DestroyChildren(_arg0
);
1326 wxPy_END_ALLOW_THREADS
;
1327 } Py_INCREF(Py_None
);
1328 _resultobj
= Py_None
;
1332 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
1333 static PyObject
*_wrap_wxWindow_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1334 PyObject
* _resultobj
;
1337 PyObject
* _argo0
= 0;
1339 char *_kwnames
[] = { "self","enable", NULL
};
1342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Enable",_kwnames
,&_argo0
,&tempbool1
))
1345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
1351 _arg1
= (bool ) tempbool1
;
1353 wxPy_BEGIN_ALLOW_THREADS
;
1354 wxWindow_Enable(_arg0
,_arg1
);
1356 wxPy_END_ALLOW_THREADS
;
1357 } Py_INCREF(Py_None
);
1358 _resultobj
= Py_None
;
1362 #define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1363 static PyObject
*_wrap_wxWindow_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1364 PyObject
* _resultobj
;
1368 PyObject
* _argo0
= 0;
1369 char *_kwnames
[] = { "self","id", NULL
};
1373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_FindWindowById",_kwnames
,&_argo0
,&_arg1
))
1376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
1383 wxPy_BEGIN_ALLOW_THREADS
;
1384 _result
= (wxWindow
*)wxWindow_FindWindowById(_arg0
,_arg1
);
1386 wxPy_END_ALLOW_THREADS
;
1388 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1389 _resultobj
= Py_BuildValue("s",_ptemp
);
1392 _resultobj
= Py_None
;
1397 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1398 static PyObject
*_wrap_wxWindow_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1399 PyObject
* _resultobj
;
1403 PyObject
* _argo0
= 0;
1404 PyObject
* _obj1
= 0;
1405 char *_kwnames
[] = { "self","name", NULL
};
1409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_FindWindowByName",_kwnames
,&_argo0
,&_obj1
))
1412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
1419 if (!PyString_Check(_obj1
)) {
1420 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1423 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1426 wxPy_BEGIN_ALLOW_THREADS
;
1427 _result
= (wxWindow
*)wxWindow_FindWindowByName(_arg0
,*_arg1
);
1429 wxPy_END_ALLOW_THREADS
;
1431 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1432 _resultobj
= Py_BuildValue("s",_ptemp
);
1435 _resultobj
= Py_None
;
1444 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
1445 static PyObject
*_wrap_wxWindow_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1446 PyObject
* _resultobj
;
1448 PyObject
* _argo0
= 0;
1449 char *_kwnames
[] = { "self", NULL
};
1452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Fit",_kwnames
,&_argo0
))
1455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
1462 wxPy_BEGIN_ALLOW_THREADS
;
1463 wxWindow_Fit(_arg0
);
1465 wxPy_END_ALLOW_THREADS
;
1466 } Py_INCREF(Py_None
);
1467 _resultobj
= Py_None
;
1471 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1472 static PyObject
*_wrap_wxWindow_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1473 PyObject
* _resultobj
;
1476 PyObject
* _argo0
= 0;
1477 char *_kwnames
[] = { "self", NULL
};
1481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBackgroundColour",_kwnames
,&_argo0
))
1484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
1491 wxPy_BEGIN_ALLOW_THREADS
;
1492 _result
= new wxColour (wxWindow_GetBackgroundColour(_arg0
));
1494 wxPy_END_ALLOW_THREADS
;
1495 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1496 _resultobj
= Py_BuildValue("s",_ptemp
);
1500 static PyObject
* wxWindow_GetChildren(wxWindow
*self
) {
1501 wxWindowList
& list
= self
->GetChildren();
1502 return wxPy_ConvertList(&list
, "wxWindow");
1504 static PyObject
*_wrap_wxWindow_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1505 PyObject
* _resultobj
;
1508 PyObject
* _argo0
= 0;
1509 char *_kwnames
[] = { "self", NULL
};
1512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetChildren",_kwnames
,&_argo0
))
1515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetChildren. Expected _wxWindow_p.");
1522 wxPy_BEGIN_ALLOW_THREADS
;
1523 _result
= (PyObject
*)wxWindow_GetChildren(_arg0
);
1525 wxPy_END_ALLOW_THREADS
;
1527 _resultobj
= _result
;
1532 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1533 static PyObject
*_wrap_wxWindow_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1534 PyObject
* _resultobj
;
1537 PyObject
* _argo0
= 0;
1538 char *_kwnames
[] = { "self", NULL
};
1541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharHeight",_kwnames
,&_argo0
))
1544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
1551 wxPy_BEGIN_ALLOW_THREADS
;
1552 _result
= (int )wxWindow_GetCharHeight(_arg0
);
1554 wxPy_END_ALLOW_THREADS
;
1555 } _resultobj
= Py_BuildValue("i",_result
);
1559 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1560 static PyObject
*_wrap_wxWindow_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1561 PyObject
* _resultobj
;
1564 PyObject
* _argo0
= 0;
1565 char *_kwnames
[] = { "self", NULL
};
1568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharWidth",_kwnames
,&_argo0
))
1571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
1578 wxPy_BEGIN_ALLOW_THREADS
;
1579 _result
= (int )wxWindow_GetCharWidth(_arg0
);
1581 wxPy_END_ALLOW_THREADS
;
1582 } _resultobj
= Py_BuildValue("i",_result
);
1586 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
1587 static PyObject
*_wrap_wxWindow_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1588 PyObject
* _resultobj
;
1594 PyObject
* _argo0
= 0;
1595 char *_kwnames
[] = { "self", NULL
};
1604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSizeTuple",_kwnames
,&_argo0
))
1607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
1614 wxPy_BEGIN_ALLOW_THREADS
;
1615 wxWindow_GetClientSizeTuple(_arg0
,_arg1
,_arg2
);
1617 wxPy_END_ALLOW_THREADS
;
1618 } Py_INCREF(Py_None
);
1619 _resultobj
= Py_None
;
1622 o
= PyInt_FromLong((long) (*_arg1
));
1623 _resultobj
= t_output_helper(_resultobj
, o
);
1627 o
= PyInt_FromLong((long) (*_arg2
));
1628 _resultobj
= t_output_helper(_resultobj
, o
);
1633 #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
1634 static PyObject
*_wrap_wxWindow_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1635 PyObject
* _resultobj
;
1638 PyObject
* _argo0
= 0;
1639 char *_kwnames
[] = { "self", NULL
};
1643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSize",_kwnames
,&_argo0
))
1646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
1653 wxPy_BEGIN_ALLOW_THREADS
;
1654 _result
= new wxSize (wxWindow_GetClientSize(_arg0
));
1656 wxPy_END_ALLOW_THREADS
;
1657 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1658 _resultobj
= Py_BuildValue("s",_ptemp
);
1662 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
1663 static PyObject
*_wrap_wxWindow_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1664 PyObject
* _resultobj
;
1665 wxLayoutConstraints
* _result
;
1667 PyObject
* _argo0
= 0;
1668 char *_kwnames
[] = { "self", NULL
};
1672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetConstraints",_kwnames
,&_argo0
))
1675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
1682 wxPy_BEGIN_ALLOW_THREADS
;
1683 _result
= (wxLayoutConstraints
*)wxWindow_GetConstraints(_arg0
);
1685 wxPy_END_ALLOW_THREADS
;
1687 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
1688 _resultobj
= Py_BuildValue("s",_ptemp
);
1691 _resultobj
= Py_None
;
1696 #define wxWindow_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
1697 static PyObject
*_wrap_wxWindow_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1698 PyObject
* _resultobj
;
1699 wxEvtHandler
* _result
;
1701 PyObject
* _argo0
= 0;
1702 char *_kwnames
[] = { "self", NULL
};
1706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetEventHandler",_kwnames
,&_argo0
))
1709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetEventHandler. Expected _wxWindow_p.");
1716 wxPy_BEGIN_ALLOW_THREADS
;
1717 _result
= (wxEvtHandler
*)wxWindow_GetEventHandler(_arg0
);
1719 wxPy_END_ALLOW_THREADS
;
1721 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
1722 _resultobj
= Py_BuildValue("s",_ptemp
);
1725 _resultobj
= Py_None
;
1730 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
1731 static PyObject
*_wrap_wxWindow_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1732 PyObject
* _resultobj
;
1735 PyObject
* _argo0
= 0;
1736 char *_kwnames
[] = { "self", NULL
};
1740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetFont",_kwnames
,&_argo0
))
1743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
1750 wxPy_BEGIN_ALLOW_THREADS
;
1751 wxFont
& _result_ref
= wxWindow_GetFont(_arg0
);
1752 _result
= (wxFont
*) &_result_ref
;
1754 wxPy_END_ALLOW_THREADS
;
1756 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1757 _resultobj
= Py_BuildValue("s",_ptemp
);
1760 _resultobj
= Py_None
;
1765 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
1766 static PyObject
*_wrap_wxWindow_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1767 PyObject
* _resultobj
;
1770 PyObject
* _argo0
= 0;
1771 char *_kwnames
[] = { "self", NULL
};
1775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetForegroundColour",_kwnames
,&_argo0
))
1778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
1785 wxPy_BEGIN_ALLOW_THREADS
;
1786 _result
= new wxColour (wxWindow_GetForegroundColour(_arg0
));
1788 wxPy_END_ALLOW_THREADS
;
1789 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1790 _resultobj
= Py_BuildValue("s",_ptemp
);
1794 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
1795 static PyObject
*_wrap_wxWindow_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1796 PyObject
* _resultobj
;
1799 PyObject
* _argo0
= 0;
1800 char *_kwnames
[] = { "self", NULL
};
1804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetGrandParent",_kwnames
,&_argo0
))
1807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
1814 wxPy_BEGIN_ALLOW_THREADS
;
1815 _result
= (wxWindow
*)wxWindow_GetGrandParent(_arg0
);
1817 wxPy_END_ALLOW_THREADS
;
1819 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1820 _resultobj
= Py_BuildValue("s",_ptemp
);
1823 _resultobj
= Py_None
;
1828 static long wxWindow_GetHandle(wxWindow
*self
) {
1829 return wxPyGetWinHandle(self
); //(long)self->GetHandle();
1831 static PyObject
*_wrap_wxWindow_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1832 PyObject
* _resultobj
;
1835 PyObject
* _argo0
= 0;
1836 char *_kwnames
[] = { "self", NULL
};
1839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetHandle",_kwnames
,&_argo0
))
1842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetHandle. Expected _wxWindow_p.");
1849 wxPy_BEGIN_ALLOW_THREADS
;
1850 _result
= (long )wxWindow_GetHandle(_arg0
);
1852 wxPy_END_ALLOW_THREADS
;
1853 } _resultobj
= Py_BuildValue("l",_result
);
1857 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
1858 static PyObject
*_wrap_wxWindow_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1859 PyObject
* _resultobj
;
1862 PyObject
* _argo0
= 0;
1863 char *_kwnames
[] = { "self", NULL
};
1866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetId",_kwnames
,&_argo0
))
1869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
1876 wxPy_BEGIN_ALLOW_THREADS
;
1877 _result
= (int )wxWindow_GetId(_arg0
);
1879 wxPy_END_ALLOW_THREADS
;
1880 } _resultobj
= Py_BuildValue("i",_result
);
1884 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
1885 static PyObject
*_wrap_wxWindow_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1886 PyObject
* _resultobj
;
1889 PyObject
* _argo0
= 0;
1890 char *_kwnames
[] = { "self", NULL
};
1893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetLabel",_kwnames
,&_argo0
))
1896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
1903 wxPy_BEGIN_ALLOW_THREADS
;
1904 _result
= new wxString (wxWindow_GetLabel(_arg0
));
1906 wxPy_END_ALLOW_THREADS
;
1908 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1916 #define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
1917 static PyObject
*_wrap_wxWindow_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1918 PyObject
* _resultobj
;
1921 PyObject
* _argo0
= 0;
1922 PyObject
* _obj1
= 0;
1923 char *_kwnames
[] = { "self","label", NULL
};
1926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetLabel",_kwnames
,&_argo0
,&_obj1
))
1929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
1936 if (!PyString_Check(_obj1
)) {
1937 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1940 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1943 wxPy_BEGIN_ALLOW_THREADS
;
1944 wxWindow_SetLabel(_arg0
,*_arg1
);
1946 wxPy_END_ALLOW_THREADS
;
1947 } Py_INCREF(Py_None
);
1948 _resultobj
= Py_None
;
1956 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
1957 static PyObject
*_wrap_wxWindow_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1958 PyObject
* _resultobj
;
1961 PyObject
* _argo0
= 0;
1962 char *_kwnames
[] = { "self", NULL
};
1965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetName",_kwnames
,&_argo0
))
1968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
1975 wxPy_BEGIN_ALLOW_THREADS
;
1976 _result
= new wxString (wxWindow_GetName(_arg0
));
1978 wxPy_END_ALLOW_THREADS
;
1980 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1988 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
1989 static PyObject
*_wrap_wxWindow_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1990 PyObject
* _resultobj
;
1993 PyObject
* _argo0
= 0;
1994 char *_kwnames
[] = { "self", NULL
};
1998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetParent",_kwnames
,&_argo0
))
2001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
2008 wxPy_BEGIN_ALLOW_THREADS
;
2009 _result
= (wxWindow
*)wxWindow_GetParent(_arg0
);
2011 wxPy_END_ALLOW_THREADS
;
2013 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
2014 _resultobj
= Py_BuildValue("s",_ptemp
);
2017 _resultobj
= Py_None
;
2022 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2023 static PyObject
*_wrap_wxWindow_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2024 PyObject
* _resultobj
;
2030 PyObject
* _argo0
= 0;
2031 char *_kwnames
[] = { "self", NULL
};
2040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPositionTuple",_kwnames
,&_argo0
))
2043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
2050 wxPy_BEGIN_ALLOW_THREADS
;
2051 wxWindow_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2053 wxPy_END_ALLOW_THREADS
;
2054 } Py_INCREF(Py_None
);
2055 _resultobj
= Py_None
;
2058 o
= PyInt_FromLong((long) (*_arg1
));
2059 _resultobj
= t_output_helper(_resultobj
, o
);
2063 o
= PyInt_FromLong((long) (*_arg2
));
2064 _resultobj
= t_output_helper(_resultobj
, o
);
2069 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
2070 static PyObject
*_wrap_wxWindow_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2071 PyObject
* _resultobj
;
2074 PyObject
* _argo0
= 0;
2075 char *_kwnames
[] = { "self", NULL
};
2079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPosition",_kwnames
,&_argo0
))
2082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
2089 wxPy_BEGIN_ALLOW_THREADS
;
2090 _result
= new wxPoint (wxWindow_GetPosition(_arg0
));
2092 wxPy_END_ALLOW_THREADS
;
2093 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2094 _resultobj
= Py_BuildValue("s",_ptemp
);
2098 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
2099 static PyObject
*_wrap_wxWindow_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2100 PyObject
* _resultobj
;
2103 PyObject
* _argo0
= 0;
2104 char *_kwnames
[] = { "self", NULL
};
2108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetRect",_kwnames
,&_argo0
))
2111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
2118 wxPy_BEGIN_ALLOW_THREADS
;
2119 _result
= new wxRect (wxWindow_GetRect(_arg0
));
2121 wxPy_END_ALLOW_THREADS
;
2122 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
2123 _resultobj
= Py_BuildValue("s",_ptemp
);
2127 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
2128 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2129 PyObject
* _resultobj
;
2133 PyObject
* _argo0
= 0;
2134 char *_kwnames
[] = { "self","orientation", NULL
};
2137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollThumb",_kwnames
,&_argo0
,&_arg1
))
2140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
2147 wxPy_BEGIN_ALLOW_THREADS
;
2148 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
2150 wxPy_END_ALLOW_THREADS
;
2151 } _resultobj
= Py_BuildValue("i",_result
);
2155 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
2156 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2157 PyObject
* _resultobj
;
2161 PyObject
* _argo0
= 0;
2162 char *_kwnames
[] = { "self","orientation", NULL
};
2165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollPos",_kwnames
,&_argo0
,&_arg1
))
2168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
2175 wxPy_BEGIN_ALLOW_THREADS
;
2176 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
2178 wxPy_END_ALLOW_THREADS
;
2179 } _resultobj
= Py_BuildValue("i",_result
);
2183 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
2184 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2185 PyObject
* _resultobj
;
2189 PyObject
* _argo0
= 0;
2190 char *_kwnames
[] = { "self","orientation", NULL
};
2193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollRange",_kwnames
,&_argo0
,&_arg1
))
2196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
2203 wxPy_BEGIN_ALLOW_THREADS
;
2204 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
2206 wxPy_END_ALLOW_THREADS
;
2207 } _resultobj
= Py_BuildValue("i",_result
);
2211 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2212 static PyObject
*_wrap_wxWindow_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2213 PyObject
* _resultobj
;
2219 PyObject
* _argo0
= 0;
2220 char *_kwnames
[] = { "self", NULL
};
2229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizeTuple",_kwnames
,&_argo0
))
2232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
2239 wxPy_BEGIN_ALLOW_THREADS
;
2240 wxWindow_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2242 wxPy_END_ALLOW_THREADS
;
2243 } Py_INCREF(Py_None
);
2244 _resultobj
= Py_None
;
2247 o
= PyInt_FromLong((long) (*_arg1
));
2248 _resultobj
= t_output_helper(_resultobj
, o
);
2252 o
= PyInt_FromLong((long) (*_arg2
));
2253 _resultobj
= t_output_helper(_resultobj
, o
);
2258 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
2259 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2260 PyObject
* _resultobj
;
2263 PyObject
* _argo0
= 0;
2264 char *_kwnames
[] = { "self", NULL
};
2268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSize",_kwnames
,&_argo0
))
2271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
2278 wxPy_BEGIN_ALLOW_THREADS
;
2279 _result
= new wxSize (wxWindow_GetSize(_arg0
));
2281 wxPy_END_ALLOW_THREADS
;
2282 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2283 _resultobj
= Py_BuildValue("s",_ptemp
);
2287 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
2288 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2289 PyObject
* _resultobj
;
2296 PyObject
* _argo0
= 0;
2297 PyObject
* _obj1
= 0;
2298 char *_kwnames
[] = { "self","string", NULL
};
2307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
2310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
2317 if (!PyString_Check(_obj1
)) {
2318 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2321 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2324 wxPy_BEGIN_ALLOW_THREADS
;
2325 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
2327 wxPy_END_ALLOW_THREADS
;
2328 } Py_INCREF(Py_None
);
2329 _resultobj
= Py_None
;
2332 o
= PyInt_FromLong((long) (*_arg2
));
2333 _resultobj
= t_output_helper(_resultobj
, o
);
2337 o
= PyInt_FromLong((long) (*_arg3
));
2338 _resultobj
= t_output_helper(_resultobj
, o
);
2347 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2348 static PyObject
*_wrap_wxWindow_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2349 PyObject
* _resultobj
;
2360 wxFont
* _arg6
= (wxFont
*) NULL
;
2361 PyObject
* _argo0
= 0;
2362 PyObject
* _obj1
= 0;
2363 PyObject
* _argo6
= 0;
2364 char *_kwnames
[] = { "self","string","font", NULL
};
2379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxWindow_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
2382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
2389 if (!PyString_Check(_obj1
)) {
2390 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2393 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2396 if (_argo6
== Py_None
) { _arg6
= NULL
; }
2397 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
2398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
2403 wxPy_BEGIN_ALLOW_THREADS
;
2404 wxWindow_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2406 wxPy_END_ALLOW_THREADS
;
2407 } Py_INCREF(Py_None
);
2408 _resultobj
= Py_None
;
2411 o
= PyInt_FromLong((long) (*_arg2
));
2412 _resultobj
= t_output_helper(_resultobj
, o
);
2416 o
= PyInt_FromLong((long) (*_arg3
));
2417 _resultobj
= t_output_helper(_resultobj
, o
);
2421 o
= PyInt_FromLong((long) (*_arg4
));
2422 _resultobj
= t_output_helper(_resultobj
, o
);
2426 o
= PyInt_FromLong((long) (*_arg5
));
2427 _resultobj
= t_output_helper(_resultobj
, o
);
2436 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
2437 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2438 PyObject
* _resultobj
;
2441 PyObject
* _argo0
= 0;
2442 char *_kwnames
[] = { "self", NULL
};
2445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetTitle",_kwnames
,&_argo0
))
2448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
2455 wxPy_BEGIN_ALLOW_THREADS
;
2456 _result
= new wxString (wxWindow_GetTitle(_arg0
));
2458 wxPy_END_ALLOW_THREADS
;
2460 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2468 #define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
2469 static PyObject
*_wrap_wxWindow_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2470 PyObject
* _resultobj
;
2473 PyObject
* _argo0
= 0;
2474 char *_kwnames
[] = { "self", NULL
};
2478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetUpdateRegion",_kwnames
,&_argo0
))
2481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
2488 wxPy_BEGIN_ALLOW_THREADS
;
2489 _result
= new wxRegion (wxWindow_GetUpdateRegion(_arg0
));
2491 wxPy_END_ALLOW_THREADS
;
2492 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRegion_p");
2493 _resultobj
= Py_BuildValue("s",_ptemp
);
2497 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
2498 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2499 PyObject
* _resultobj
;
2502 PyObject
* _argo0
= 0;
2503 char *_kwnames
[] = { "self", NULL
};
2506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetWindowStyleFlag",_kwnames
,&_argo0
))
2509 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2510 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
2516 wxPy_BEGIN_ALLOW_THREADS
;
2517 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
2519 wxPy_END_ALLOW_THREADS
;
2520 } _resultobj
= Py_BuildValue("l",_result
);
2524 #define wxWindow_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
2525 static PyObject
*_wrap_wxWindow_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2526 PyObject
* _resultobj
;
2529 PyObject
* _argo0
= 0;
2530 char *_kwnames
[] = { "self","style", NULL
};
2533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
2536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetWindowStyleFlag. Expected _wxWindow_p.");
2543 wxPy_BEGIN_ALLOW_THREADS
;
2544 wxWindow_SetWindowStyleFlag(_arg0
,_arg1
);
2546 wxPy_END_ALLOW_THREADS
;
2547 } Py_INCREF(Py_None
);
2548 _resultobj
= Py_None
;
2552 #define wxWindow_SetWindowStyle(_swigobj,_swigarg0) (_swigobj->SetWindowStyle(_swigarg0))
2553 static PyObject
*_wrap_wxWindow_SetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2554 PyObject
* _resultobj
;
2557 PyObject
* _argo0
= 0;
2558 char *_kwnames
[] = { "self","style", NULL
};
2561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyle",_kwnames
,&_argo0
,&_arg1
))
2564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetWindowStyle. Expected _wxWindow_p.");
2571 wxPy_BEGIN_ALLOW_THREADS
;
2572 wxWindow_SetWindowStyle(_arg0
,_arg1
);
2574 wxPy_END_ALLOW_THREADS
;
2575 } Py_INCREF(Py_None
);
2576 _resultobj
= Py_None
;
2580 #define wxWindow_Hide(_swigobj) (_swigobj->Hide())
2581 static PyObject
*_wrap_wxWindow_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2582 PyObject
* _resultobj
;
2585 PyObject
* _argo0
= 0;
2586 char *_kwnames
[] = { "self", NULL
};
2589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Hide",_kwnames
,&_argo0
))
2592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
2599 wxPy_BEGIN_ALLOW_THREADS
;
2600 _result
= (bool )wxWindow_Hide(_arg0
);
2602 wxPy_END_ALLOW_THREADS
;
2603 } _resultobj
= Py_BuildValue("i",_result
);
2607 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
2608 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2609 PyObject
* _resultobj
;
2611 PyObject
* _argo0
= 0;
2612 char *_kwnames
[] = { "self", NULL
};
2615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_InitDialog",_kwnames
,&_argo0
))
2618 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2619 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
2625 wxPy_BEGIN_ALLOW_THREADS
;
2626 wxWindow_InitDialog(_arg0
);
2628 wxPy_END_ALLOW_THREADS
;
2629 } Py_INCREF(Py_None
);
2630 _resultobj
= Py_None
;
2634 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
2635 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2636 PyObject
* _resultobj
;
2639 PyObject
* _argo0
= 0;
2640 char *_kwnames
[] = { "self", NULL
};
2643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsEnabled",_kwnames
,&_argo0
))
2646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
2653 wxPy_BEGIN_ALLOW_THREADS
;
2654 _result
= (bool )wxWindow_IsEnabled(_arg0
);
2656 wxPy_END_ALLOW_THREADS
;
2657 } _resultobj
= Py_BuildValue("i",_result
);
2661 #define wxWindow_IsExposed(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->IsExposed(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2662 static PyObject
*_wrap_wxWindow_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2663 PyObject
* _resultobj
;
2668 int _arg3
= (int ) 0;
2669 int _arg4
= (int ) 0;
2670 PyObject
* _argo0
= 0;
2671 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
2674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxWindow_IsExposed",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposed. Expected _wxWindow_p.");
2684 wxPy_BEGIN_ALLOW_THREADS
;
2685 _result
= (bool )wxWindow_IsExposed(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2687 wxPy_END_ALLOW_THREADS
;
2688 } _resultobj
= Py_BuildValue("i",_result
);
2692 #define wxWindow_IsExposedPoint(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
2693 static PyObject
*_wrap_wxWindow_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2694 PyObject
* _resultobj
;
2698 PyObject
* _argo0
= 0;
2700 PyObject
* _obj1
= 0;
2701 char *_kwnames
[] = { "self","pt", NULL
};
2704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedPoint",_kwnames
,&_argo0
,&_obj1
))
2707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedPoint. Expected _wxWindow_p.");
2715 if (! wxPoint_helper(_obj1
, &_arg1
))
2719 wxPy_BEGIN_ALLOW_THREADS
;
2720 _result
= (bool )wxWindow_IsExposedPoint(_arg0
,*_arg1
);
2722 wxPy_END_ALLOW_THREADS
;
2723 } _resultobj
= Py_BuildValue("i",_result
);
2727 #define wxWindow_IsExposedRect(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
2728 static PyObject
*_wrap_wxWindow_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2729 PyObject
* _resultobj
;
2733 PyObject
* _argo0
= 0;
2735 PyObject
* _obj1
= 0;
2736 char *_kwnames
[] = { "self","rect", NULL
};
2739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedRect",_kwnames
,&_argo0
,&_obj1
))
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_IsExposedRect. Expected _wxWindow_p.");
2750 if (! wxRect_helper(_obj1
, &_arg1
))
2754 wxPy_BEGIN_ALLOW_THREADS
;
2755 _result
= (bool )wxWindow_IsExposedRect(_arg0
,*_arg1
);
2757 wxPy_END_ALLOW_THREADS
;
2758 } _resultobj
= Py_BuildValue("i",_result
);
2762 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
2763 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2764 PyObject
* _resultobj
;
2767 PyObject
* _argo0
= 0;
2768 char *_kwnames
[] = { "self", NULL
};
2771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsRetained",_kwnames
,&_argo0
))
2774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
2781 wxPy_BEGIN_ALLOW_THREADS
;
2782 _result
= (bool )wxWindow_IsRetained(_arg0
);
2784 wxPy_END_ALLOW_THREADS
;
2785 } _resultobj
= Py_BuildValue("i",_result
);
2789 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
2790 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2791 PyObject
* _resultobj
;
2794 PyObject
* _argo0
= 0;
2795 char *_kwnames
[] = { "self", NULL
};
2798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsShown",_kwnames
,&_argo0
))
2801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
2808 wxPy_BEGIN_ALLOW_THREADS
;
2809 _result
= (bool )wxWindow_IsShown(_arg0
);
2811 wxPy_END_ALLOW_THREADS
;
2812 } _resultobj
= Py_BuildValue("i",_result
);
2816 #define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
2817 static PyObject
*_wrap_wxWindow_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2818 PyObject
* _resultobj
;
2821 PyObject
* _argo0
= 0;
2822 char *_kwnames
[] = { "self", NULL
};
2825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsTopLevel",_kwnames
,&_argo0
))
2828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
2835 wxPy_BEGIN_ALLOW_THREADS
;
2836 _result
= (bool )wxWindow_IsTopLevel(_arg0
);
2838 wxPy_END_ALLOW_THREADS
;
2839 } _resultobj
= Py_BuildValue("i",_result
);
2843 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
2844 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2845 PyObject
* _resultobj
;
2847 PyObject
* _argo0
= 0;
2848 char *_kwnames
[] = { "self", NULL
};
2851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Layout",_kwnames
,&_argo0
))
2854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
2861 wxPy_BEGIN_ALLOW_THREADS
;
2862 wxWindow_Layout(_arg0
);
2864 wxPy_END_ALLOW_THREADS
;
2865 } Py_INCREF(Py_None
);
2866 _resultobj
= Py_None
;
2870 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
2871 static PyObject
*_wrap_wxWindow_LoadFromResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2872 PyObject
* _resultobj
;
2877 wxResourceTable
* _arg3
= (wxResourceTable
*) NULL
;
2878 PyObject
* _argo0
= 0;
2879 PyObject
* _argo1
= 0;
2880 PyObject
* _obj2
= 0;
2881 PyObject
* _argo3
= 0;
2882 char *_kwnames
[] = { "self","parent","resourceName","resourceTable", NULL
};
2885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|O:wxWindow_LoadFromResource",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_argo3
))
2888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
2895 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2896 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
2902 if (!PyString_Check(_obj2
)) {
2903 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2906 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2909 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2910 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxResourceTable_p")) {
2911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
2916 wxPy_BEGIN_ALLOW_THREADS
;
2917 _result
= (bool )wxWindow_LoadFromResource(_arg0
,_arg1
,*_arg2
,_arg3
);
2919 wxPy_END_ALLOW_THREADS
;
2920 } _resultobj
= Py_BuildValue("i",_result
);
2928 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
2929 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2930 PyObject
* _resultobj
;
2932 PyObject
* _argo0
= 0;
2933 char *_kwnames
[] = { "self", NULL
};
2936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Lower",_kwnames
,&_argo0
))
2939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
2946 wxPy_BEGIN_ALLOW_THREADS
;
2947 wxWindow_Lower(_arg0
);
2949 wxPy_END_ALLOW_THREADS
;
2950 } Py_INCREF(Py_None
);
2951 _resultobj
= Py_None
;
2955 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
2956 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2957 PyObject
* _resultobj
;
2960 PyObject
* _argo0
= 0;
2962 char *_kwnames
[] = { "self","flag", NULL
};
2965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_MakeModal",_kwnames
,&_argo0
,&tempbool1
))
2968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
2974 _arg1
= (bool ) tempbool1
;
2976 wxPy_BEGIN_ALLOW_THREADS
;
2977 wxWindow_MakeModal(_arg0
,_arg1
);
2979 wxPy_END_ALLOW_THREADS
;
2980 } Py_INCREF(Py_None
);
2981 _resultobj
= Py_None
;
2985 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2986 static PyObject
*_wrap_wxWindow_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2987 PyObject
* _resultobj
;
2991 PyObject
* _argo0
= 0;
2992 char *_kwnames
[] = { "self","x","y", NULL
};
2995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
3005 wxPy_BEGIN_ALLOW_THREADS
;
3006 wxWindow_MoveXY(_arg0
,_arg1
,_arg2
);
3008 wxPy_END_ALLOW_THREADS
;
3009 } Py_INCREF(Py_None
);
3010 _resultobj
= Py_None
;
3014 #define wxWindow_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3015 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3016 PyObject
* _resultobj
;
3019 PyObject
* _argo0
= 0;
3021 PyObject
* _obj1
= 0;
3022 char *_kwnames
[] = { "self","point", NULL
};
3025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Move",_kwnames
,&_argo0
,&_obj1
))
3028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
3036 if (! wxPoint_helper(_obj1
, &_arg1
))
3040 wxPy_BEGIN_ALLOW_THREADS
;
3041 wxWindow_Move(_arg0
,*_arg1
);
3043 wxPy_END_ALLOW_THREADS
;
3044 } Py_INCREF(Py_None
);
3045 _resultobj
= Py_None
;
3049 #define wxWindow_PopEventHandler(_swigobj,_swigarg0) (_swigobj->PopEventHandler(_swigarg0))
3050 static PyObject
*_wrap_wxWindow_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3051 PyObject
* _resultobj
;
3052 wxEvtHandler
* _result
;
3054 bool _arg1
= (bool ) FALSE
;
3055 PyObject
* _argo0
= 0;
3056 int tempbool1
= (int) FALSE
;
3057 char *_kwnames
[] = { "self","deleteHandler", NULL
};
3061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_PopEventHandler",_kwnames
,&_argo0
,&tempbool1
))
3064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopEventHandler. Expected _wxWindow_p.");
3070 _arg1
= (bool ) tempbool1
;
3072 wxPy_BEGIN_ALLOW_THREADS
;
3073 _result
= (wxEvtHandler
*)wxWindow_PopEventHandler(_arg0
,_arg1
);
3075 wxPy_END_ALLOW_THREADS
;
3077 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
3078 _resultobj
= Py_BuildValue("s",_ptemp
);
3081 _resultobj
= Py_None
;
3086 #define wxWindow_PushEventHandler(_swigobj,_swigarg0) (_swigobj->PushEventHandler(_swigarg0))
3087 static PyObject
*_wrap_wxWindow_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3088 PyObject
* _resultobj
;
3090 wxEvtHandler
* _arg1
;
3091 PyObject
* _argo0
= 0;
3092 PyObject
* _argo1
= 0;
3093 char *_kwnames
[] = { "self","handler", NULL
};
3096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_PushEventHandler",_kwnames
,&_argo0
,&_argo1
))
3099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PushEventHandler. Expected _wxWindow_p.");
3106 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3107 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PushEventHandler. Expected _wxEvtHandler_p.");
3113 wxPy_BEGIN_ALLOW_THREADS
;
3114 wxWindow_PushEventHandler(_arg0
,_arg1
);
3116 wxPy_END_ALLOW_THREADS
;
3117 } Py_INCREF(Py_None
);
3118 _resultobj
= Py_None
;
3122 #define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
3123 static PyObject
*_wrap_wxWindow_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3124 PyObject
* _resultobj
;
3130 PyObject
* _argo0
= 0;
3131 PyObject
* _argo1
= 0;
3132 char *_kwnames
[] = { "self","menu","x","y", NULL
};
3135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxWindow_PopupMenuXY",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
3145 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3146 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
3152 wxPy_BEGIN_ALLOW_THREADS
;
3153 _result
= (bool )wxWindow_PopupMenuXY(_arg0
,_arg1
,_arg2
,_arg3
);
3155 wxPy_END_ALLOW_THREADS
;
3156 } _resultobj
= Py_BuildValue("i",_result
);
3160 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
3161 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3162 PyObject
* _resultobj
;
3167 PyObject
* _argo0
= 0;
3168 PyObject
* _argo1
= 0;
3170 PyObject
* _obj2
= 0;
3171 char *_kwnames
[] = { "self","menu","pos", NULL
};
3174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_PopupMenu",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
3177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
3184 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3185 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
3192 if (! wxPoint_helper(_obj2
, &_arg2
))
3196 wxPy_BEGIN_ALLOW_THREADS
;
3197 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,*_arg2
);
3199 wxPy_END_ALLOW_THREADS
;
3200 } _resultobj
= Py_BuildValue("i",_result
);
3204 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
3205 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3206 PyObject
* _resultobj
;
3208 PyObject
* _argo0
= 0;
3209 char *_kwnames
[] = { "self", NULL
};
3212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Raise",_kwnames
,&_argo0
))
3215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
3222 wxPy_BEGIN_ALLOW_THREADS
;
3223 wxWindow_Raise(_arg0
);
3225 wxPy_END_ALLOW_THREADS
;
3226 } Py_INCREF(Py_None
);
3227 _resultobj
= Py_None
;
3231 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
3232 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3233 PyObject
* _resultobj
;
3235 bool _arg1
= (bool ) TRUE
;
3236 wxRect
* _arg2
= (wxRect
*) NULL
;
3237 PyObject
* _argo0
= 0;
3238 int tempbool1
= (int) TRUE
;
3240 PyObject
* _obj2
= 0;
3241 char *_kwnames
[] = { "self","eraseBackground","rect", NULL
};
3244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxWindow_Refresh",_kwnames
,&_argo0
,&tempbool1
,&_obj2
))
3247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
3253 _arg1
= (bool ) tempbool1
;
3257 if (! wxRect_helper(_obj2
, &_arg2
))
3261 wxPy_BEGIN_ALLOW_THREADS
;
3262 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
3264 wxPy_END_ALLOW_THREADS
;
3265 } Py_INCREF(Py_None
);
3266 _resultobj
= Py_None
;
3270 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
3271 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3272 PyObject
* _resultobj
;
3274 PyObject
* _argo0
= 0;
3275 char *_kwnames
[] = { "self", NULL
};
3278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_ReleaseMouse",_kwnames
,&_argo0
))
3281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
3288 wxPy_BEGIN_ALLOW_THREADS
;
3289 wxWindow_ReleaseMouse(_arg0
);
3291 wxPy_END_ALLOW_THREADS
;
3292 } Py_INCREF(Py_None
);
3293 _resultobj
= Py_None
;
3297 #define wxWindow_RemoveChild(_swigobj,_swigarg0) (_swigobj->RemoveChild(_swigarg0))
3298 static PyObject
*_wrap_wxWindow_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3299 PyObject
* _resultobj
;
3302 PyObject
* _argo0
= 0;
3303 PyObject
* _argo1
= 0;
3304 char *_kwnames
[] = { "self","child", NULL
};
3307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
3310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3317 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3318 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3324 wxPy_BEGIN_ALLOW_THREADS
;
3325 wxWindow_RemoveChild(_arg0
,_arg1
);
3327 wxPy_END_ALLOW_THREADS
;
3328 } Py_INCREF(Py_None
);
3329 _resultobj
= Py_None
;
3333 #define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
3334 static PyObject
*_wrap_wxWindow_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3335 PyObject
* _resultobj
;
3339 PyObject
* _argo0
= 0;
3340 PyObject
* _argo1
= 0;
3341 char *_kwnames
[] = { "self","newParent", NULL
};
3344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Reparent",_kwnames
,&_argo0
,&_argo1
))
3347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
3354 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3355 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
3361 wxPy_BEGIN_ALLOW_THREADS
;
3362 _result
= (bool )wxWindow_Reparent(_arg0
,_arg1
);
3364 wxPy_END_ALLOW_THREADS
;
3365 } _resultobj
= Py_BuildValue("i",_result
);
3369 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
3370 static PyObject
*_wrap_wxWindow_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3371 PyObject
* _resultobj
;
3375 PyObject
* _argo0
= 0;
3377 PyObject
* _obj1
= 0;
3379 PyObject
* _obj2
= 0;
3380 char *_kwnames
[] = { "self","x","y", NULL
};
3383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ScreenToClientXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
3393 temp
= (int) PyInt_AsLong(_obj1
);
3397 temp0
= (int) PyInt_AsLong(_obj2
);
3401 wxPy_BEGIN_ALLOW_THREADS
;
3402 wxWindow_ScreenToClientXY(_arg0
,_arg1
,_arg2
);
3404 wxPy_END_ALLOW_THREADS
;
3405 } Py_INCREF(Py_None
);
3406 _resultobj
= Py_None
;
3409 o
= PyInt_FromLong((long) (*_arg1
));
3410 _resultobj
= t_output_helper(_resultobj
, o
);
3414 o
= PyInt_FromLong((long) (*_arg2
));
3415 _resultobj
= t_output_helper(_resultobj
, o
);
3420 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
3421 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3422 PyObject
* _resultobj
;
3426 PyObject
* _argo0
= 0;
3428 PyObject
* _obj1
= 0;
3429 char *_kwnames
[] = { "self","pt", NULL
};
3433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ScreenToClient",_kwnames
,&_argo0
,&_obj1
))
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_ScreenToClient. Expected _wxWindow_p.");
3444 if (! wxPoint_helper(_obj1
, &_arg1
))
3448 wxPy_BEGIN_ALLOW_THREADS
;
3449 _result
= new wxPoint (wxWindow_ScreenToClient(_arg0
,*_arg1
));
3451 wxPy_END_ALLOW_THREADS
;
3452 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3453 _resultobj
= Py_BuildValue("s",_ptemp
);
3457 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
3458 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3459 PyObject
* _resultobj
;
3463 wxRect
* _arg3
= (wxRect
*) NULL
;
3464 PyObject
* _argo0
= 0;
3466 PyObject
* _obj3
= 0;
3467 char *_kwnames
[] = { "self","dx","dy","rect", NULL
};
3470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|O:wxWindow_ScrollWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
3482 if (! wxRect_helper(_obj3
, &_arg3
))
3486 wxPy_BEGIN_ALLOW_THREADS
;
3487 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
3489 wxPy_END_ALLOW_THREADS
;
3490 } Py_INCREF(Py_None
);
3491 _resultobj
= Py_None
;
3495 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
3496 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3497 PyObject
* _resultobj
;
3499 wxAcceleratorTable
* _arg1
;
3500 PyObject
* _argo0
= 0;
3501 PyObject
* _argo1
= 0;
3502 char *_kwnames
[] = { "self","accel", NULL
};
3505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetAcceleratorTable",_kwnames
,&_argo0
,&_argo1
))
3508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
3515 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3516 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
3517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
3522 wxPy_BEGIN_ALLOW_THREADS
;
3523 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
3525 wxPy_END_ALLOW_THREADS
;
3526 } Py_INCREF(Py_None
);
3527 _resultobj
= Py_None
;
3531 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
3532 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3533 PyObject
* _resultobj
;
3536 PyObject
* _argo0
= 0;
3538 char *_kwnames
[] = { "self","autoLayout", NULL
};
3541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetAutoLayout",_kwnames
,&_argo0
,&tempbool1
))
3544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
3550 _arg1
= (bool ) tempbool1
;
3552 wxPy_BEGIN_ALLOW_THREADS
;
3553 wxWindow_SetAutoLayout(_arg0
,_arg1
);
3555 wxPy_END_ALLOW_THREADS
;
3556 } Py_INCREF(Py_None
);
3557 _resultobj
= Py_None
;
3561 #define wxWindow_GetAutoLayout(_swigobj) (_swigobj->GetAutoLayout())
3562 static PyObject
*_wrap_wxWindow_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3563 PyObject
* _resultobj
;
3566 PyObject
* _argo0
= 0;
3567 char *_kwnames
[] = { "self", NULL
};
3570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAutoLayout",_kwnames
,&_argo0
))
3573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetAutoLayout. Expected _wxWindow_p.");
3580 wxPy_BEGIN_ALLOW_THREADS
;
3581 _result
= (bool )wxWindow_GetAutoLayout(_arg0
);
3583 wxPy_END_ALLOW_THREADS
;
3584 } _resultobj
= Py_BuildValue("i",_result
);
3588 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3589 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3590 PyObject
* _resultobj
;
3593 PyObject
* _argo0
= 0;
3595 PyObject
* _obj1
= 0;
3596 char *_kwnames
[] = { "self","colour", NULL
};
3599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
3610 if (! wxColour_helper(_obj1
, &_arg1
))
3614 wxPy_BEGIN_ALLOW_THREADS
;
3615 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
3617 wxPy_END_ALLOW_THREADS
;
3618 } Py_INCREF(Py_None
);
3619 _resultobj
= Py_None
;
3623 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
3624 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3625 PyObject
* _resultobj
;
3627 wxLayoutConstraints
* _arg1
;
3628 PyObject
* _argo0
= 0;
3629 PyObject
* _argo1
= 0;
3630 char *_kwnames
[] = { "self","constraints", NULL
};
3633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetConstraints",_kwnames
,&_argo0
,&_argo1
))
3636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
3643 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3644 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
3650 wxPy_BEGIN_ALLOW_THREADS
;
3651 wxWindow_SetConstraints(_arg0
,_arg1
);
3653 wxPy_END_ALLOW_THREADS
;
3654 } Py_INCREF(Py_None
);
3655 _resultobj
= Py_None
;
3659 #define wxWindow_UnsetConstraints(_swigobj,_swigarg0) (_swigobj->UnsetConstraints(_swigarg0))
3660 static PyObject
*_wrap_wxWindow_UnsetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3661 PyObject
* _resultobj
;
3663 wxLayoutConstraints
* _arg1
;
3664 PyObject
* _argo0
= 0;
3665 PyObject
* _argo1
= 0;
3666 char *_kwnames
[] = { "self","constraints", NULL
};
3669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_UnsetConstraints",_kwnames
,&_argo0
,&_argo1
))
3672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_UnsetConstraints. Expected _wxWindow_p.");
3679 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3680 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_UnsetConstraints. Expected _wxLayoutConstraints_p.");
3686 wxPy_BEGIN_ALLOW_THREADS
;
3687 wxWindow_UnsetConstraints(_arg0
,_arg1
);
3689 wxPy_END_ALLOW_THREADS
;
3690 } Py_INCREF(Py_None
);
3691 _resultobj
= Py_None
;
3695 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
3696 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3697 PyObject
* _resultobj
;
3699 PyObject
* _argo0
= 0;
3700 char *_kwnames
[] = { "self", NULL
};
3703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_SetFocus",_kwnames
,&_argo0
))
3706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
3713 wxPy_BEGIN_ALLOW_THREADS
;
3714 wxWindow_SetFocus(_arg0
);
3716 wxPy_END_ALLOW_THREADS
;
3717 } Py_INCREF(Py_None
);
3718 _resultobj
= Py_None
;
3722 #define wxWindow_AcceptsFocus(_swigobj) (_swigobj->AcceptsFocus())
3723 static PyObject
*_wrap_wxWindow_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3724 PyObject
* _resultobj
;
3727 PyObject
* _argo0
= 0;
3728 char *_kwnames
[] = { "self", NULL
};
3731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_AcceptsFocus",_kwnames
,&_argo0
))
3734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_AcceptsFocus. Expected _wxWindow_p.");
3741 wxPy_BEGIN_ALLOW_THREADS
;
3742 _result
= (bool )wxWindow_AcceptsFocus(_arg0
);
3744 wxPy_END_ALLOW_THREADS
;
3745 } _resultobj
= Py_BuildValue("i",_result
);
3749 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
3750 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3751 PyObject
* _resultobj
;
3754 PyObject
* _argo0
= 0;
3755 PyObject
* _argo1
= 0;
3756 char *_kwnames
[] = { "self","font", NULL
};
3759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetFont",_kwnames
,&_argo0
,&_argo1
))
3762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
3769 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3770 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
3771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
3776 wxPy_BEGIN_ALLOW_THREADS
;
3777 wxWindow_SetFont(_arg0
,*_arg1
);
3779 wxPy_END_ALLOW_THREADS
;
3780 } Py_INCREF(Py_None
);
3781 _resultobj
= Py_None
;
3785 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
3786 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3787 PyObject
* _resultobj
;
3790 PyObject
* _argo0
= 0;
3792 PyObject
* _obj1
= 0;
3793 char *_kwnames
[] = { "self","colour", NULL
};
3796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
3799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
3807 if (! wxColour_helper(_obj1
, &_arg1
))
3811 wxPy_BEGIN_ALLOW_THREADS
;
3812 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
3814 wxPy_END_ALLOW_THREADS
;
3815 } Py_INCREF(Py_None
);
3816 _resultobj
= Py_None
;
3820 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
3821 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3822 PyObject
* _resultobj
;
3825 PyObject
* _argo0
= 0;
3826 char *_kwnames
[] = { "self","id", NULL
};
3829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetId",_kwnames
,&_argo0
,&_arg1
))
3832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
3839 wxPy_BEGIN_ALLOW_THREADS
;
3840 wxWindow_SetId(_arg0
,_arg1
);
3842 wxPy_END_ALLOW_THREADS
;
3843 } Py_INCREF(Py_None
);
3844 _resultobj
= Py_None
;
3848 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
3849 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3850 PyObject
* _resultobj
;
3853 PyObject
* _argo0
= 0;
3854 PyObject
* _obj1
= 0;
3855 char *_kwnames
[] = { "self","name", NULL
};
3858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetName",_kwnames
,&_argo0
,&_obj1
))
3861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
3868 if (!PyString_Check(_obj1
)) {
3869 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3872 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3875 wxPy_BEGIN_ALLOW_THREADS
;
3876 wxWindow_SetName(_arg0
,*_arg1
);
3878 wxPy_END_ALLOW_THREADS
;
3879 } Py_INCREF(Py_None
);
3880 _resultobj
= Py_None
;
3888 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3889 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3890 PyObject
* _resultobj
;
3896 int _arg5
= (int ) TRUE
;
3897 PyObject
* _argo0
= 0;
3898 char *_kwnames
[] = { "self","orientation","position","thumbSize","range","refresh", NULL
};
3901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
3911 wxPy_BEGIN_ALLOW_THREADS
;
3912 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3914 wxPy_END_ALLOW_THREADS
;
3915 } Py_INCREF(Py_None
);
3916 _resultobj
= Py_None
;
3920 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
3921 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3922 PyObject
* _resultobj
;
3926 bool _arg3
= (bool ) TRUE
;
3927 PyObject
* _argo0
= 0;
3928 int tempbool3
= (int) TRUE
;
3929 char *_kwnames
[] = { "self","orientation","pos","refresh", NULL
};
3932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_SetScrollPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
3935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
3941 _arg3
= (bool ) tempbool3
;
3943 wxPy_BEGIN_ALLOW_THREADS
;
3944 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
3946 wxPy_END_ALLOW_THREADS
;
3947 } Py_INCREF(Py_None
);
3948 _resultobj
= Py_None
;
3952 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3953 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3954 PyObject
* _resultobj
;
3960 int _arg5
= (int ) wxSIZE_AUTO
;
3961 PyObject
* _argo0
= 0;
3962 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
3965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetDimensions",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
3975 wxPy_BEGIN_ALLOW_THREADS
;
3976 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3978 wxPy_END_ALLOW_THREADS
;
3979 } Py_INCREF(Py_None
);
3980 _resultobj
= Py_None
;
3984 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
3985 self
->SetSize(size
);
3987 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3988 PyObject
* _resultobj
;
3991 PyObject
* _argo0
= 0;
3993 PyObject
* _obj1
= 0;
3994 char *_kwnames
[] = { "self","size", NULL
};
3997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSize",_kwnames
,&_argo0
,&_obj1
))
4000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
4008 if (! wxSize_helper(_obj1
, &_arg1
))
4012 wxPy_BEGIN_ALLOW_THREADS
;
4013 wxWindow_SetSize(_arg0
,*_arg1
);
4015 wxPy_END_ALLOW_THREADS
;
4016 } Py_INCREF(Py_None
);
4017 _resultobj
= Py_None
;
4021 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
) {
4024 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4025 PyObject
* _resultobj
;
4028 PyObject
* _argo0
= 0;
4030 PyObject
* _obj1
= 0;
4031 char *_kwnames
[] = { "self","pos", NULL
};
4034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetPosition",_kwnames
,&_argo0
,&_obj1
))
4037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
4045 if (! wxPoint_helper(_obj1
, &_arg1
))
4049 wxPy_BEGIN_ALLOW_THREADS
;
4050 wxWindow_SetPosition(_arg0
,*_arg1
);
4052 wxPy_END_ALLOW_THREADS
;
4053 } Py_INCREF(Py_None
);
4054 _resultobj
= Py_None
;
4058 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4059 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4060 PyObject
* _resultobj
;
4062 int _arg1
= (int ) -1;
4063 int _arg2
= (int ) -1;
4064 int _arg3
= (int ) -1;
4065 int _arg4
= (int ) -1;
4066 int _arg5
= (int ) -1;
4067 int _arg6
= (int ) -1;
4068 PyObject
* _argo0
= 0;
4069 char *_kwnames
[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL
};
4072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iiiiii:wxWindow_SetSizeHints",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
4082 wxPy_BEGIN_ALLOW_THREADS
;
4083 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4085 wxPy_END_ALLOW_THREADS
;
4086 } Py_INCREF(Py_None
);
4087 _resultobj
= Py_None
;
4091 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
4092 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4093 PyObject
* _resultobj
;
4097 PyObject
* _argo0
= 0;
4098 char *_kwnames
[] = { "self","width","height", NULL
};
4101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_SetClientSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
4111 wxPy_BEGIN_ALLOW_THREADS
;
4112 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
4114 wxPy_END_ALLOW_THREADS
;
4115 } Py_INCREF(Py_None
);
4116 _resultobj
= Py_None
;
4120 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
4121 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4122 PyObject
* _resultobj
;
4125 PyObject
* _argo0
= 0;
4127 PyObject
* _obj1
= 0;
4128 char *_kwnames
[] = { "self","size", NULL
};
4131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetClientSize",_kwnames
,&_argo0
,&_obj1
))
4134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
4142 if (! wxSize_helper(_obj1
, &_arg1
))
4146 wxPy_BEGIN_ALLOW_THREADS
;
4147 wxWindow_SetClientSize(_arg0
,*_arg1
);
4149 wxPy_END_ALLOW_THREADS
;
4150 } Py_INCREF(Py_None
);
4151 _resultobj
= Py_None
;
4155 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
4156 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4157 PyObject
* _resultobj
;
4160 PyObject
* _argo0
= 0;
4161 PyObject
* _argo1
= 0;
4162 char *_kwnames
[] = { "self","cursor", NULL
};
4165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCursor",_kwnames
,&_argo0
,&_argo1
))
4168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
4175 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4176 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
4177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
4182 wxPy_BEGIN_ALLOW_THREADS
;
4183 wxWindow_SetCursor(_arg0
,*_arg1
);
4185 wxPy_END_ALLOW_THREADS
;
4186 } Py_INCREF(Py_None
);
4187 _resultobj
= Py_None
;
4191 #define wxWindow_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
4192 static PyObject
*_wrap_wxWindow_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4193 PyObject
* _resultobj
;
4195 wxEvtHandler
* _arg1
;
4196 PyObject
* _argo0
= 0;
4197 PyObject
* _argo1
= 0;
4198 char *_kwnames
[] = { "self","handler", NULL
};
4201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
4204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetEventHandler. Expected _wxWindow_p.");
4211 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4212 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetEventHandler. Expected _wxEvtHandler_p.");
4218 wxPy_BEGIN_ALLOW_THREADS
;
4219 wxWindow_SetEventHandler(_arg0
,_arg1
);
4221 wxPy_END_ALLOW_THREADS
;
4222 } Py_INCREF(Py_None
);
4223 _resultobj
= Py_None
;
4227 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4228 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4229 PyObject
* _resultobj
;
4232 PyObject
* _argo0
= 0;
4233 PyObject
* _obj1
= 0;
4234 char *_kwnames
[] = { "self","title", NULL
};
4237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
4247 if (!PyString_Check(_obj1
)) {
4248 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4251 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4254 wxPy_BEGIN_ALLOW_THREADS
;
4255 wxWindow_SetTitle(_arg0
,*_arg1
);
4257 wxPy_END_ALLOW_THREADS
;
4258 } Py_INCREF(Py_None
);
4259 _resultobj
= Py_None
;
4267 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4268 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4269 PyObject
* _resultobj
;
4273 PyObject
* _argo0
= 0;
4275 char *_kwnames
[] = { "self","show", NULL
};
4278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
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_Show. Expected _wxWindow_p.");
4287 _arg1
= (bool ) tempbool1
;
4289 wxPy_BEGIN_ALLOW_THREADS
;
4290 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
4292 wxPy_END_ALLOW_THREADS
;
4293 } _resultobj
= Py_BuildValue("i",_result
);
4297 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
4298 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4299 PyObject
* _resultobj
;
4302 PyObject
* _argo0
= 0;
4303 char *_kwnames
[] = { "self", NULL
};
4306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataFromWindow",_kwnames
,&_argo0
))
4309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
4316 wxPy_BEGIN_ALLOW_THREADS
;
4317 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
4319 wxPy_END_ALLOW_THREADS
;
4320 } _resultobj
= Py_BuildValue("i",_result
);
4324 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
4325 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4326 PyObject
* _resultobj
;
4329 PyObject
* _argo0
= 0;
4330 char *_kwnames
[] = { "self", NULL
};
4333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataToWindow",_kwnames
,&_argo0
))
4336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
4343 wxPy_BEGIN_ALLOW_THREADS
;
4344 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
4346 wxPy_END_ALLOW_THREADS
;
4347 } _resultobj
= Py_BuildValue("i",_result
);
4351 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
4352 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4353 PyObject
* _resultobj
;
4356 PyObject
* _argo0
= 0;
4357 char *_kwnames
[] = { "self", NULL
};
4360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Validate",_kwnames
,&_argo0
))
4363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
4370 wxPy_BEGIN_ALLOW_THREADS
;
4371 _result
= (bool )wxWindow_Validate(_arg0
);
4373 wxPy_END_ALLOW_THREADS
;
4374 } _resultobj
= Py_BuildValue("i",_result
);
4378 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
4379 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4380 PyObject
* _resultobj
;
4384 PyObject
* _argo0
= 0;
4385 char *_kwnames
[] = { "self","x","y", NULL
};
4388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_WarpPointer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
4398 wxPy_BEGIN_ALLOW_THREADS
;
4399 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
4401 wxPy_END_ALLOW_THREADS
;
4402 } Py_INCREF(Py_None
);
4403 _resultobj
= Py_None
;
4407 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4408 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4409 PyObject
* _resultobj
;
4413 PyObject
* _argo0
= 0;
4415 PyObject
* _obj1
= 0;
4416 char *_kwnames
[] = { "self","pt", NULL
};
4420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames
,&_argo0
,&_obj1
))
4423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
4431 if (! wxPoint_helper(_obj1
, &_arg1
))
4435 wxPy_BEGIN_ALLOW_THREADS
;
4436 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
4438 wxPy_END_ALLOW_THREADS
;
4439 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4440 _resultobj
= Py_BuildValue("s",_ptemp
);
4444 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4445 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4446 PyObject
* _resultobj
;
4450 PyObject
* _argo0
= 0;
4452 PyObject
* _obj1
= 0;
4453 char *_kwnames
[] = { "self","sz", NULL
};
4457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames
,&_argo0
,&_obj1
))
4460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
4468 if (! wxSize_helper(_obj1
, &_arg1
))
4472 wxPy_BEGIN_ALLOW_THREADS
;
4473 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
4475 wxPy_END_ALLOW_THREADS
;
4476 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4477 _resultobj
= Py_BuildValue("s",_ptemp
);
4481 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4482 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4483 PyObject
* _resultobj
;
4487 PyObject
* _argo0
= 0;
4489 PyObject
* _obj1
= 0;
4490 char *_kwnames
[] = { "self","pt", NULL
};
4494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames
,&_argo0
,&_obj1
))
4497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
4505 if (! wxPoint_helper(_obj1
, &_arg1
))
4509 wxPy_BEGIN_ALLOW_THREADS
;
4510 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
4512 wxPy_END_ALLOW_THREADS
;
4513 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4514 _resultobj
= Py_BuildValue("s",_ptemp
);
4518 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4519 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4520 PyObject
* _resultobj
;
4524 PyObject
* _argo0
= 0;
4526 PyObject
* _obj1
= 0;
4527 char *_kwnames
[] = { "self","sz", NULL
};
4531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames
,&_argo0
,&_obj1
))
4534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
4542 if (! wxSize_helper(_obj1
, &_arg1
))
4546 wxPy_BEGIN_ALLOW_THREADS
;
4547 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
4549 wxPy_END_ALLOW_THREADS
;
4550 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4551 _resultobj
= Py_BuildValue("s",_ptemp
);
4555 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4556 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4557 PyObject
* _resultobj
;
4560 PyObject
* _argo0
= 0;
4561 PyObject
* _obj1
= 0;
4562 char *_kwnames
[] = { "self","tip", NULL
};
4565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTipString",_kwnames
,&_argo0
,&_obj1
))
4568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
4575 if (!PyString_Check(_obj1
)) {
4576 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4579 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4582 wxPy_BEGIN_ALLOW_THREADS
;
4583 wxWindow_SetToolTipString(_arg0
,*_arg1
);
4585 wxPy_END_ALLOW_THREADS
;
4586 } Py_INCREF(Py_None
);
4587 _resultobj
= Py_None
;
4595 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4596 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4597 PyObject
* _resultobj
;
4600 PyObject
* _argo0
= 0;
4601 PyObject
* _argo1
= 0;
4602 char *_kwnames
[] = { "self","tooltip", NULL
};
4605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTip",_kwnames
,&_argo0
,&_argo1
))
4608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
4615 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4616 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolTip_p")) {
4617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
4622 wxPy_BEGIN_ALLOW_THREADS
;
4623 wxWindow_SetToolTip(_arg0
,_arg1
);
4625 wxPy_END_ALLOW_THREADS
;
4626 } Py_INCREF(Py_None
);
4627 _resultobj
= Py_None
;
4631 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
4632 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4633 PyObject
* _resultobj
;
4634 wxToolTip
* _result
;
4636 PyObject
* _argo0
= 0;
4637 char *_kwnames
[] = { "self", NULL
};
4641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetToolTip",_kwnames
,&_argo0
))
4644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
4651 wxPy_BEGIN_ALLOW_THREADS
;
4652 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
4654 wxPy_END_ALLOW_THREADS
;
4656 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
4657 _resultobj
= Py_BuildValue("s",_ptemp
);
4660 _resultobj
= Py_None
;
4665 #define wxWindow_SetSizer(_swigobj,_swigarg0) (_swigobj->SetSizer(_swigarg0))
4666 static PyObject
*_wrap_wxWindow_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4667 PyObject
* _resultobj
;
4670 PyObject
* _argo0
= 0;
4671 PyObject
* _argo1
= 0;
4672 char *_kwnames
[] = { "self","sizer", NULL
};
4675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSizer",_kwnames
,&_argo0
,&_argo1
))
4678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizer. Expected _wxWindow_p.");
4685 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4686 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
4687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSizer. Expected _wxSizer_p.");
4692 wxPy_BEGIN_ALLOW_THREADS
;
4693 wxWindow_SetSizer(_arg0
,_arg1
);
4695 wxPy_END_ALLOW_THREADS
;
4696 } Py_INCREF(Py_None
);
4697 _resultobj
= Py_None
;
4701 #define wxWindow_GetSizer(_swigobj) (_swigobj->GetSizer())
4702 static PyObject
*_wrap_wxWindow_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4703 PyObject
* _resultobj
;
4706 PyObject
* _argo0
= 0;
4707 char *_kwnames
[] = { "self", NULL
};
4711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizer",_kwnames
,&_argo0
))
4714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizer. Expected _wxWindow_p.");
4721 wxPy_BEGIN_ALLOW_THREADS
;
4722 _result
= (wxSizer
*)wxWindow_GetSizer(_arg0
);
4724 wxPy_END_ALLOW_THREADS
;
4726 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSizer_p");
4727 _resultobj
= Py_BuildValue("s",_ptemp
);
4730 _resultobj
= Py_None
;
4735 #define wxWindow_GetValidator(_swigobj) (_swigobj->GetValidator())
4736 static PyObject
*_wrap_wxWindow_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4737 PyObject
* _resultobj
;
4738 wxValidator
* _result
;
4740 PyObject
* _argo0
= 0;
4741 char *_kwnames
[] = { "self", NULL
};
4745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetValidator",_kwnames
,&_argo0
))
4748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetValidator. Expected _wxWindow_p.");
4755 wxPy_BEGIN_ALLOW_THREADS
;
4756 _result
= (wxValidator
*)wxWindow_GetValidator(_arg0
);
4758 wxPy_END_ALLOW_THREADS
;
4760 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
4761 _resultobj
= Py_BuildValue("s",_ptemp
);
4764 _resultobj
= Py_None
;
4769 #define wxWindow_SetValidator(_swigobj,_swigarg0) (_swigobj->SetValidator(_swigarg0))
4770 static PyObject
*_wrap_wxWindow_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4771 PyObject
* _resultobj
;
4773 wxValidator
* _arg1
;
4774 PyObject
* _argo0
= 0;
4775 PyObject
* _argo1
= 0;
4776 char *_kwnames
[] = { "self","validator", NULL
};
4779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetValidator",_kwnames
,&_argo0
,&_argo1
))
4782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetValidator. Expected _wxWindow_p.");
4789 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4790 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxValidator_p")) {
4791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetValidator. Expected _wxValidator_p.");
4796 wxPy_BEGIN_ALLOW_THREADS
;
4797 wxWindow_SetValidator(_arg0
,*_arg1
);
4799 wxPy_END_ALLOW_THREADS
;
4800 } Py_INCREF(Py_None
);
4801 _resultobj
= Py_None
;
4805 #define wxWindow_SetDropTarget(_swigobj,_swigarg0) (_swigobj->SetDropTarget(_swigarg0))
4806 static PyObject
*_wrap_wxWindow_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4807 PyObject
* _resultobj
;
4809 wxDropTarget
* _arg1
;
4810 PyObject
* _argo0
= 0;
4811 PyObject
* _argo1
= 0;
4812 char *_kwnames
[] = { "self","target", NULL
};
4815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetDropTarget",_kwnames
,&_argo0
,&_argo1
))
4818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDropTarget. Expected _wxWindow_p.");
4825 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4826 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDropTarget_p")) {
4827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetDropTarget. Expected _wxDropTarget_p.");
4832 wxPy_BEGIN_ALLOW_THREADS
;
4833 wxWindow_SetDropTarget(_arg0
,_arg1
);
4835 wxPy_END_ALLOW_THREADS
;
4836 } Py_INCREF(Py_None
);
4837 _resultobj
= Py_None
;
4841 #define wxWindow_GetDropTarget(_swigobj) (_swigobj->GetDropTarget())
4842 static PyObject
*_wrap_wxWindow_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4843 PyObject
* _resultobj
;
4844 wxDropTarget
* _result
;
4846 PyObject
* _argo0
= 0;
4847 char *_kwnames
[] = { "self", NULL
};
4851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetDropTarget",_kwnames
,&_argo0
))
4854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetDropTarget. Expected _wxWindow_p.");
4861 wxPy_BEGIN_ALLOW_THREADS
;
4862 _result
= (wxDropTarget
*)wxWindow_GetDropTarget(_arg0
);
4864 wxPy_END_ALLOW_THREADS
;
4866 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDropTarget_p");
4867 _resultobj
= Py_BuildValue("s",_ptemp
);
4870 _resultobj
= Py_None
;
4875 #define wxWindow_GetBestSize(_swigobj) (_swigobj->GetBestSize())
4876 static PyObject
*_wrap_wxWindow_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4877 PyObject
* _resultobj
;
4880 PyObject
* _argo0
= 0;
4881 char *_kwnames
[] = { "self", NULL
};
4885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBestSize",_kwnames
,&_argo0
))
4888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBestSize. Expected _wxWindow_p.");
4895 wxPy_BEGIN_ALLOW_THREADS
;
4896 _result
= new wxSize (wxWindow_GetBestSize(_arg0
));
4898 wxPy_END_ALLOW_THREADS
;
4899 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4900 _resultobj
= Py_BuildValue("s",_ptemp
);
4904 #define wxWindow_SetCaret(_swigobj,_swigarg0) (_swigobj->SetCaret(_swigarg0))
4905 static PyObject
*_wrap_wxWindow_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4906 PyObject
* _resultobj
;
4909 PyObject
* _argo0
= 0;
4910 PyObject
* _argo1
= 0;
4911 char *_kwnames
[] = { "self","caret", NULL
};
4914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCaret",_kwnames
,&_argo0
,&_argo1
))
4917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCaret. Expected _wxWindow_p.");
4924 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4925 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCaret_p")) {
4926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCaret. Expected _wxCaret_p.");
4931 wxPy_BEGIN_ALLOW_THREADS
;
4932 wxWindow_SetCaret(_arg0
,_arg1
);
4934 wxPy_END_ALLOW_THREADS
;
4935 } Py_INCREF(Py_None
);
4936 _resultobj
= Py_None
;
4940 #define wxWindow_GetCaret(_swigobj) (_swigobj->GetCaret())
4941 static PyObject
*_wrap_wxWindow_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4942 PyObject
* _resultobj
;
4945 PyObject
* _argo0
= 0;
4946 char *_kwnames
[] = { "self", NULL
};
4950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCaret",_kwnames
,&_argo0
))
4953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCaret. Expected _wxWindow_p.");
4960 wxPy_BEGIN_ALLOW_THREADS
;
4961 _result
= (wxCaret
*)wxWindow_GetCaret(_arg0
);
4963 wxPy_END_ALLOW_THREADS
;
4965 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
4966 _resultobj
= Py_BuildValue("s",_ptemp
);
4969 _resultobj
= Py_None
;
4974 static void *SwigwxPanelTowxWindow(void *ptr
) {
4977 src
= (wxPanel
*) ptr
;
4978 dest
= (wxWindow
*) src
;
4979 return (void *) dest
;
4982 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
4985 src
= (wxPanel
*) ptr
;
4986 dest
= (wxEvtHandler
*) src
;
4987 return (void *) dest
;
4990 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4991 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4992 PyObject
* _resultobj
;
4996 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
4997 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
4998 long _arg4
= (long ) wxTAB_TRAVERSAL
;
4999 char * _arg5
= (char *) "panel";
5000 PyObject
* _argo0
= 0;
5002 PyObject
* _obj2
= 0;
5004 PyObject
* _obj3
= 0;
5005 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
5009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxPanel",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
5012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
5021 if (! wxPoint_helper(_obj2
, &_arg2
))
5027 if (! wxSize_helper(_obj3
, &_arg3
))
5031 wxPy_BEGIN_ALLOW_THREADS
;
5032 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
5034 wxPy_END_ALLOW_THREADS
;
5036 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
5037 _resultobj
= Py_BuildValue("s",_ptemp
);
5040 _resultobj
= Py_None
;
5045 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
5046 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5047 PyObject
* _resultobj
;
5049 PyObject
* _argo0
= 0;
5050 char *_kwnames
[] = { "self", NULL
};
5053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_InitDialog",_kwnames
,&_argo0
))
5056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
5058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
5063 wxPy_BEGIN_ALLOW_THREADS
;
5064 wxPanel_InitDialog(_arg0
);
5066 wxPy_END_ALLOW_THREADS
;
5067 } Py_INCREF(Py_None
);
5068 _resultobj
= Py_None
;
5072 #define wxPanel_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
5073 static PyObject
*_wrap_wxPanel_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5074 PyObject
* _resultobj
;
5077 PyObject
* _argo0
= 0;
5078 char *_kwnames
[] = { "self", NULL
};
5082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_GetDefaultItem",_kwnames
,&_argo0
))
5085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
5087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_GetDefaultItem. Expected _wxPanel_p.");
5092 wxPy_BEGIN_ALLOW_THREADS
;
5093 _result
= (wxButton
*)wxPanel_GetDefaultItem(_arg0
);
5095 wxPy_END_ALLOW_THREADS
;
5097 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
5098 _resultobj
= Py_BuildValue("s",_ptemp
);
5101 _resultobj
= Py_None
;
5106 #define wxPanel_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
5107 static PyObject
*_wrap_wxPanel_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5108 PyObject
* _resultobj
;
5111 PyObject
* _argo0
= 0;
5112 PyObject
* _argo1
= 0;
5113 char *_kwnames
[] = { "self","btn", NULL
};
5116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPanel_SetDefaultItem",_kwnames
,&_argo0
,&_argo1
))
5119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
5121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_SetDefaultItem. Expected _wxPanel_p.");
5126 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5127 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxButton_p")) {
5128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPanel_SetDefaultItem. Expected _wxButton_p.");
5133 wxPy_BEGIN_ALLOW_THREADS
;
5134 wxPanel_SetDefaultItem(_arg0
,_arg1
);
5136 wxPy_END_ALLOW_THREADS
;
5137 } Py_INCREF(Py_None
);
5138 _resultobj
= Py_None
;
5142 static void *SwigwxDialogTowxPanel(void *ptr
) {
5145 src
= (wxDialog
*) ptr
;
5146 dest
= (wxPanel
*) src
;
5147 return (void *) dest
;
5150 static void *SwigwxDialogTowxWindow(void *ptr
) {
5153 src
= (wxDialog
*) ptr
;
5154 dest
= (wxWindow
*) src
;
5155 return (void *) dest
;
5158 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
5161 src
= (wxDialog
*) ptr
;
5162 dest
= (wxEvtHandler
*) src
;
5163 return (void *) dest
;
5166 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5167 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5168 PyObject
* _resultobj
;
5173 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
5174 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
5175 long _arg5
= (long ) wxDEFAULT_DIALOG_STYLE
;
5176 char * _arg6
= (char *) "dialogBox";
5177 PyObject
* _argo0
= 0;
5178 PyObject
* _obj2
= 0;
5180 PyObject
* _obj3
= 0;
5182 PyObject
* _obj4
= 0;
5183 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
5187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxDialog",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
5190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
5197 if (!PyString_Check(_obj2
)) {
5198 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5201 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5206 if (! wxPoint_helper(_obj3
, &_arg3
))
5212 if (! wxSize_helper(_obj4
, &_arg4
))
5216 wxPy_BEGIN_ALLOW_THREADS
;
5217 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
5219 wxPy_END_ALLOW_THREADS
;
5221 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
5222 _resultobj
= Py_BuildValue("s",_ptemp
);
5225 _resultobj
= Py_None
;
5234 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
5235 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5236 PyObject
* _resultobj
;
5238 int _arg1
= (int ) wxBOTH
;
5239 PyObject
* _argo0
= 0;
5240 char *_kwnames
[] = { "self","direction", NULL
};
5243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDialog_Centre",_kwnames
,&_argo0
,&_arg1
))
5246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
5253 wxPy_BEGIN_ALLOW_THREADS
;
5254 wxDialog_Centre(_arg0
,_arg1
);
5256 wxPy_END_ALLOW_THREADS
;
5257 } Py_INCREF(Py_None
);
5258 _resultobj
= Py_None
;
5262 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
5263 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5264 PyObject
* _resultobj
;
5267 PyObject
* _argo0
= 0;
5268 char *_kwnames
[] = { "self","retCode", NULL
};
5271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_EndModal",_kwnames
,&_argo0
,&_arg1
))
5274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
5281 wxPy_BEGIN_ALLOW_THREADS
;
5282 wxDialog_EndModal(_arg0
,_arg1
);
5284 wxPy_END_ALLOW_THREADS
;
5285 } Py_INCREF(Py_None
);
5286 _resultobj
= Py_None
;
5290 #define wxDialog_GetTitle(_swigobj) (_swigobj->GetTitle())
5291 static PyObject
*_wrap_wxDialog_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5292 PyObject
* _resultobj
;
5295 PyObject
* _argo0
= 0;
5296 char *_kwnames
[] = { "self", NULL
};
5299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetTitle",_kwnames
,&_argo0
))
5302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetTitle. Expected _wxDialog_p.");
5309 wxPy_BEGIN_ALLOW_THREADS
;
5310 _result
= new wxString (wxDialog_GetTitle(_arg0
));
5312 wxPy_END_ALLOW_THREADS
;
5314 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5322 #define wxDialog_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
5323 static PyObject
*_wrap_wxDialog_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5324 PyObject
* _resultobj
;
5327 PyObject
* _argo0
= 0;
5329 char *_kwnames
[] = { "self","iconize", NULL
};
5332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Iconize",_kwnames
,&_argo0
,&tempbool1
))
5335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Iconize. Expected _wxDialog_p.");
5341 _arg1
= (bool ) tempbool1
;
5343 wxPy_BEGIN_ALLOW_THREADS
;
5344 wxDialog_Iconize(_arg0
,_arg1
);
5346 wxPy_END_ALLOW_THREADS
;
5347 } Py_INCREF(Py_None
);
5348 _resultobj
= Py_None
;
5352 #define wxDialog_IsIconized(_swigobj) (_swigobj->IsIconized())
5353 static PyObject
*_wrap_wxDialog_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5354 PyObject
* _resultobj
;
5357 PyObject
* _argo0
= 0;
5358 char *_kwnames
[] = { "self", NULL
};
5361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsIconized",_kwnames
,&_argo0
))
5364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsIconized. Expected _wxDialog_p.");
5371 wxPy_BEGIN_ALLOW_THREADS
;
5372 _result
= (bool )wxDialog_IsIconized(_arg0
);
5374 wxPy_END_ALLOW_THREADS
;
5375 } _resultobj
= Py_BuildValue("i",_result
);
5379 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
5380 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5381 PyObject
* _resultobj
;
5384 PyObject
* _argo0
= 0;
5386 char *_kwnames
[] = { "self","flag", NULL
};
5389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetModal",_kwnames
,&_argo0
,&tempbool1
))
5392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
5398 _arg1
= (bool ) tempbool1
;
5400 wxPy_BEGIN_ALLOW_THREADS
;
5401 wxDialog_SetModal(_arg0
,_arg1
);
5403 wxPy_END_ALLOW_THREADS
;
5404 } Py_INCREF(Py_None
);
5405 _resultobj
= Py_None
;
5409 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
5410 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5411 PyObject
* _resultobj
;
5414 PyObject
* _argo0
= 0;
5415 char *_kwnames
[] = { "self", NULL
};
5418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsModal",_kwnames
,&_argo0
))
5421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
5428 wxPy_BEGIN_ALLOW_THREADS
;
5429 _result
= (bool )wxDialog_IsModal(_arg0
);
5431 wxPy_END_ALLOW_THREADS
;
5432 } _resultobj
= Py_BuildValue("i",_result
);
5436 #define wxDialog_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
5437 static PyObject
*_wrap_wxDialog_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5438 PyObject
* _resultobj
;
5441 PyObject
* _argo0
= 0;
5442 PyObject
* _obj1
= 0;
5443 char *_kwnames
[] = { "self","title", NULL
};
5446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDialog_SetTitle",_kwnames
,&_argo0
,&_obj1
))
5449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetTitle. Expected _wxDialog_p.");
5456 if (!PyString_Check(_obj1
)) {
5457 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5460 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5463 wxPy_BEGIN_ALLOW_THREADS
;
5464 wxDialog_SetTitle(_arg0
,*_arg1
);
5466 wxPy_END_ALLOW_THREADS
;
5467 } Py_INCREF(Py_None
);
5468 _resultobj
= Py_None
;
5476 #define wxDialog_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5477 static PyObject
*_wrap_wxDialog_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5478 PyObject
* _resultobj
;
5482 PyObject
* _argo0
= 0;
5484 char *_kwnames
[] = { "self","show", NULL
};
5487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Show",_kwnames
,&_argo0
,&tempbool1
))
5490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Show. Expected _wxDialog_p.");
5496 _arg1
= (bool ) tempbool1
;
5498 wxPy_BEGIN_ALLOW_THREADS
;
5499 _result
= (bool )wxDialog_Show(_arg0
,_arg1
);
5501 wxPy_END_ALLOW_THREADS
;
5502 } _resultobj
= Py_BuildValue("i",_result
);
5506 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
5507 static PyObject
*_wrap_wxDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5508 PyObject
* _resultobj
;
5511 PyObject
* _argo0
= 0;
5512 char *_kwnames
[] = { "self", NULL
};
5515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_ShowModal",_kwnames
,&_argo0
))
5518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
5525 wxPy_BEGIN_ALLOW_THREADS
;
5526 _result
= (int )wxDialog_ShowModal(_arg0
);
5528 wxPy_END_ALLOW_THREADS
;
5529 } _resultobj
= Py_BuildValue("i",_result
);
5533 #define wxDialog_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
5534 static PyObject
*_wrap_wxDialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5535 PyObject
* _resultobj
;
5538 PyObject
* _argo0
= 0;
5539 char *_kwnames
[] = { "self", NULL
};
5542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetReturnCode",_kwnames
,&_argo0
))
5545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetReturnCode. Expected _wxDialog_p.");
5552 wxPy_BEGIN_ALLOW_THREADS
;
5553 _result
= (int )wxDialog_GetReturnCode(_arg0
);
5555 wxPy_END_ALLOW_THREADS
;
5556 } _resultobj
= Py_BuildValue("i",_result
);
5560 #define wxDialog_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
5561 static PyObject
*_wrap_wxDialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5562 PyObject
* _resultobj
;
5565 PyObject
* _argo0
= 0;
5566 char *_kwnames
[] = { "self","retCode", NULL
};
5569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetReturnCode",_kwnames
,&_argo0
,&_arg1
))
5572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetReturnCode. Expected _wxDialog_p.");
5579 wxPy_BEGIN_ALLOW_THREADS
;
5580 wxDialog_SetReturnCode(_arg0
,_arg1
);
5582 wxPy_END_ALLOW_THREADS
;
5583 } Py_INCREF(Py_None
);
5584 _resultobj
= Py_None
;
5588 static void *SwigwxScrolledWindowTowxPanel(void *ptr
) {
5589 wxScrolledWindow
*src
;
5591 src
= (wxScrolledWindow
*) ptr
;
5592 dest
= (wxPanel
*) src
;
5593 return (void *) dest
;
5596 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
5597 wxScrolledWindow
*src
;
5599 src
= (wxScrolledWindow
*) ptr
;
5600 dest
= (wxWindow
*) src
;
5601 return (void *) dest
;
5604 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
5605 wxScrolledWindow
*src
;
5607 src
= (wxScrolledWindow
*) ptr
;
5608 dest
= (wxEvtHandler
*) src
;
5609 return (void *) dest
;
5612 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5613 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5614 PyObject
* _resultobj
;
5615 wxScrolledWindow
* _result
;
5617 wxWindowID _arg1
= (wxWindowID
) -1;
5618 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
5619 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
5620 long _arg4
= (long ) wxHSCROLL
|wxVSCROLL
;
5621 char * _arg5
= (char *) "scrolledWindow";
5622 PyObject
* _argo0
= 0;
5624 PyObject
* _obj2
= 0;
5626 PyObject
* _obj3
= 0;
5627 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
5631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxScrolledWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
5634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
5643 if (! wxPoint_helper(_obj2
, &_arg2
))
5649 if (! wxSize_helper(_obj3
, &_arg3
))
5653 wxPy_BEGIN_ALLOW_THREADS
;
5654 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
5656 wxPy_END_ALLOW_THREADS
;
5658 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
5659 _resultobj
= Py_BuildValue("s",_ptemp
);
5662 _resultobj
= Py_None
;
5667 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
5668 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5669 PyObject
* _resultobj
;
5670 wxScrolledWindow
* _arg0
;
5673 PyObject
* _argo0
= 0;
5676 char *_kwnames
[] = { "self","xScrolling","yScrolling", NULL
};
5679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_EnableScrolling",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
5682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
5688 _arg1
= (bool ) tempbool1
;
5689 _arg2
= (bool ) tempbool2
;
5691 wxPy_BEGIN_ALLOW_THREADS
;
5692 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
5694 wxPy_END_ALLOW_THREADS
;
5695 } Py_INCREF(Py_None
);
5696 _resultobj
= Py_None
;
5700 #define wxScrolledWindow_GetScrollPageSize(_swigobj,_swigarg0) (_swigobj->GetScrollPageSize(_swigarg0))
5701 static PyObject
*_wrap_wxScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5702 PyObject
* _resultobj
;
5704 wxScrolledWindow
* _arg0
;
5706 PyObject
* _argo0
= 0;
5707 char *_kwnames
[] = { "self","orient", NULL
};
5710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrolledWindow_GetScrollPageSize",_kwnames
,&_argo0
,&_arg1
))
5713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPageSize. Expected _wxScrolledWindow_p.");
5720 wxPy_BEGIN_ALLOW_THREADS
;
5721 _result
= (int )wxScrolledWindow_GetScrollPageSize(_arg0
,_arg1
);
5723 wxPy_END_ALLOW_THREADS
;
5724 } _resultobj
= Py_BuildValue("i",_result
);
5728 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
5729 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5730 PyObject
* _resultobj
;
5731 wxScrolledWindow
* _arg0
;
5736 PyObject
* _argo0
= 0;
5737 char *_kwnames
[] = { "self", NULL
};
5746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames
,&_argo0
))
5749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
5756 wxPy_BEGIN_ALLOW_THREADS
;
5757 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
5759 wxPy_END_ALLOW_THREADS
;
5760 } Py_INCREF(Py_None
);
5761 _resultobj
= Py_None
;
5764 o
= PyInt_FromLong((long) (*_arg1
));
5765 _resultobj
= t_output_helper(_resultobj
, o
);
5769 o
= PyInt_FromLong((long) (*_arg2
));
5770 _resultobj
= t_output_helper(_resultobj
, o
);
5775 #define wxScrolledWindow_GetTargetWindow(_swigobj) (_swigobj->GetTargetWindow())
5776 static PyObject
*_wrap_wxScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5777 PyObject
* _resultobj
;
5779 wxScrolledWindow
* _arg0
;
5780 PyObject
* _argo0
= 0;
5781 char *_kwnames
[] = { "self", NULL
};
5785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetTargetWindow",_kwnames
,&_argo0
))
5788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetTargetWindow. Expected _wxScrolledWindow_p.");
5795 wxPy_BEGIN_ALLOW_THREADS
;
5796 _result
= (wxWindow
*)wxScrolledWindow_GetTargetWindow(_arg0
);
5798 wxPy_END_ALLOW_THREADS
;
5800 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
5801 _resultobj
= Py_BuildValue("s",_ptemp
);
5804 _resultobj
= Py_None
;
5809 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
5810 static PyObject
*_wrap_wxScrolledWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5811 PyObject
* _resultobj
;
5812 wxScrolledWindow
* _arg0
;
5817 PyObject
* _argo0
= 0;
5818 char *_kwnames
[] = { "self", NULL
};
5827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetVirtualSize",_kwnames
,&_argo0
))
5830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
5837 wxPy_BEGIN_ALLOW_THREADS
;
5838 wxScrolledWindow_GetVirtualSize(_arg0
,_arg1
,_arg2
);
5840 wxPy_END_ALLOW_THREADS
;
5841 } Py_INCREF(Py_None
);
5842 _resultobj
= Py_None
;
5845 o
= PyInt_FromLong((long) (*_arg1
));
5846 _resultobj
= t_output_helper(_resultobj
, o
);
5850 o
= PyInt_FromLong((long) (*_arg2
));
5851 _resultobj
= t_output_helper(_resultobj
, o
);
5856 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
5857 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5858 PyObject
* _resultobj
;
5860 wxScrolledWindow
* _arg0
;
5861 PyObject
* _argo0
= 0;
5862 char *_kwnames
[] = { "self", NULL
};
5865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_IsRetained",_kwnames
,&_argo0
))
5868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
5875 wxPy_BEGIN_ALLOW_THREADS
;
5876 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
5878 wxPy_END_ALLOW_THREADS
;
5879 } _resultobj
= Py_BuildValue("i",_result
);
5883 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
5884 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5885 PyObject
* _resultobj
;
5886 wxScrolledWindow
* _arg0
;
5888 PyObject
* _argo0
= 0;
5889 PyObject
* _argo1
= 0;
5890 char *_kwnames
[] = { "self","dc", NULL
};
5893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_PrepareDC",_kwnames
,&_argo0
,&_argo1
))
5896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
5903 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5904 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
5910 wxPy_BEGIN_ALLOW_THREADS
;
5911 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
5913 wxPy_END_ALLOW_THREADS
;
5914 } Py_INCREF(Py_None
);
5915 _resultobj
= Py_None
;
5919 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
5920 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5921 PyObject
* _resultobj
;
5922 wxScrolledWindow
* _arg0
;
5925 PyObject
* _argo0
= 0;
5926 char *_kwnames
[] = { "self","x","y", NULL
};
5929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_Scroll",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
5939 wxPy_BEGIN_ALLOW_THREADS
;
5940 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
5942 wxPy_END_ALLOW_THREADS
;
5943 } Py_INCREF(Py_None
);
5944 _resultobj
= Py_None
;
5948 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5949 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5950 PyObject
* _resultobj
;
5951 wxScrolledWindow
* _arg0
;
5956 int _arg5
= (int ) 0;
5957 int _arg6
= (int ) 0;
5958 int _arg7
= (int ) FALSE
;
5959 PyObject
* _argo0
= 0;
5960 char *_kwnames
[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos","noRefresh", NULL
};
5963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|iii:wxScrolledWindow_SetScrollbars",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&_arg7
))
5966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
5973 wxPy_BEGIN_ALLOW_THREADS
;
5974 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
5976 wxPy_END_ALLOW_THREADS
;
5977 } Py_INCREF(Py_None
);
5978 _resultobj
= Py_None
;
5982 #define wxScrolledWindow_SetScrollPageSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScrollPageSize(_swigarg0,_swigarg1))
5983 static PyObject
*_wrap_wxScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5984 PyObject
* _resultobj
;
5985 wxScrolledWindow
* _arg0
;
5988 PyObject
* _argo0
= 0;
5989 char *_kwnames
[] = { "self","orient","pageSize", NULL
};
5992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_SetScrollPageSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollPageSize. Expected _wxScrolledWindow_p.");
6002 wxPy_BEGIN_ALLOW_THREADS
;
6003 wxScrolledWindow_SetScrollPageSize(_arg0
,_arg1
,_arg2
);
6005 wxPy_END_ALLOW_THREADS
;
6006 } Py_INCREF(Py_None
);
6007 _resultobj
= Py_None
;
6011 #define wxScrolledWindow_SetTargetWindow(_swigobj,_swigarg0) (_swigobj->SetTargetWindow(_swigarg0))
6012 static PyObject
*_wrap_wxScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6013 PyObject
* _resultobj
;
6014 wxScrolledWindow
* _arg0
;
6016 PyObject
* _argo0
= 0;
6017 PyObject
* _argo1
= 0;
6018 char *_kwnames
[] = { "self","window", NULL
};
6021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_SetTargetWindow",_kwnames
,&_argo0
,&_argo1
))
6024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetTargetWindow. Expected _wxScrolledWindow_p.");
6031 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6032 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_SetTargetWindow. Expected _wxWindow_p.");
6038 wxPy_BEGIN_ALLOW_THREADS
;
6039 wxScrolledWindow_SetTargetWindow(_arg0
,_arg1
);
6041 wxPy_END_ALLOW_THREADS
;
6042 } Py_INCREF(Py_None
);
6043 _resultobj
= Py_None
;
6047 #define wxScrolledWindow_GetViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetViewStart(_swigarg0,_swigarg1))
6048 static PyObject
*_wrap_wxScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6049 PyObject
* _resultobj
;
6050 wxScrolledWindow
* _arg0
;
6055 PyObject
* _argo0
= 0;
6056 char *_kwnames
[] = { "self", NULL
};
6065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetViewStart",_kwnames
,&_argo0
))
6068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetViewStart. Expected _wxScrolledWindow_p.");
6075 wxPy_BEGIN_ALLOW_THREADS
;
6076 wxScrolledWindow_GetViewStart(_arg0
,_arg1
,_arg2
);
6078 wxPy_END_ALLOW_THREADS
;
6079 } Py_INCREF(Py_None
);
6080 _resultobj
= Py_None
;
6083 o
= PyInt_FromLong((long) (*_arg1
));
6084 _resultobj
= t_output_helper(_resultobj
, o
);
6088 o
= PyInt_FromLong((long) (*_arg2
));
6089 _resultobj
= t_output_helper(_resultobj
, o
);
6094 #define wxScrolledWindow_ViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->ViewStart(_swigarg0,_swigarg1))
6095 static PyObject
*_wrap_wxScrolledWindow_ViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6096 PyObject
* _resultobj
;
6097 wxScrolledWindow
* _arg0
;
6102 PyObject
* _argo0
= 0;
6103 char *_kwnames
[] = { "self", NULL
};
6112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_ViewStart",_kwnames
,&_argo0
))
6115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_ViewStart. Expected _wxScrolledWindow_p.");
6122 wxPy_BEGIN_ALLOW_THREADS
;
6123 wxScrolledWindow_ViewStart(_arg0
,_arg1
,_arg2
);
6125 wxPy_END_ALLOW_THREADS
;
6126 } Py_INCREF(Py_None
);
6127 _resultobj
= Py_None
;
6130 o
= PyInt_FromLong((long) (*_arg1
));
6131 _resultobj
= t_output_helper(_resultobj
, o
);
6135 o
= PyInt_FromLong((long) (*_arg2
));
6136 _resultobj
= t_output_helper(_resultobj
, o
);
6141 #define wxScrolledWindow_CalcScrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcScrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6142 static PyObject
*_wrap_wxScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6143 PyObject
* _resultobj
;
6144 wxScrolledWindow
* _arg0
;
6151 PyObject
* _argo0
= 0;
6152 char *_kwnames
[] = { "self","x","y", NULL
};
6161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcScrolledPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition. Expected _wxScrolledWindow_p.");
6171 wxPy_BEGIN_ALLOW_THREADS
;
6172 wxScrolledWindow_CalcScrolledPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6174 wxPy_END_ALLOW_THREADS
;
6175 } Py_INCREF(Py_None
);
6176 _resultobj
= Py_None
;
6179 o
= PyInt_FromLong((long) (*_arg3
));
6180 _resultobj
= t_output_helper(_resultobj
, o
);
6184 o
= PyInt_FromLong((long) (*_arg4
));
6185 _resultobj
= t_output_helper(_resultobj
, o
);
6190 #define wxScrolledWindow_CalcUnscrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcUnscrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6191 static PyObject
*_wrap_wxScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6192 PyObject
* _resultobj
;
6193 wxScrolledWindow
* _arg0
;
6200 PyObject
* _argo0
= 0;
6201 char *_kwnames
[] = { "self","x","y", NULL
};
6210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcUnscrolledPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition. Expected _wxScrolledWindow_p.");
6220 wxPy_BEGIN_ALLOW_THREADS
;
6221 wxScrolledWindow_CalcUnscrolledPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6223 wxPy_END_ALLOW_THREADS
;
6224 } Py_INCREF(Py_None
);
6225 _resultobj
= Py_None
;
6228 o
= PyInt_FromLong((long) (*_arg3
));
6229 _resultobj
= t_output_helper(_resultobj
, o
);
6233 o
= PyInt_FromLong((long) (*_arg4
));
6234 _resultobj
= t_output_helper(_resultobj
, o
);
6239 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
6242 src
= (wxMenu
*) ptr
;
6243 dest
= (wxEvtHandler
*) src
;
6244 return (void *) dest
;
6247 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
6248 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6249 PyObject
* _resultobj
;
6251 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
6252 long _arg1
= (long ) 0;
6253 PyObject
* _obj0
= 0;
6254 char *_kwnames
[] = { "title","style", NULL
};
6258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Ol:new_wxMenu",_kwnames
,&_obj0
,&_arg1
))
6262 if (!PyString_Check(_obj0
)) {
6263 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6266 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
6269 wxPy_BEGIN_ALLOW_THREADS
;
6270 _result
= (wxMenu
*)new_wxMenu(*_arg0
,_arg1
);
6272 wxPy_END_ALLOW_THREADS
;
6274 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
6275 _resultobj
= Py_BuildValue("s",_ptemp
);
6278 _resultobj
= Py_None
;
6287 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6288 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6289 PyObject
* _resultobj
;
6293 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
6294 int _arg4
= (int ) FALSE
;
6295 PyObject
* _argo0
= 0;
6296 PyObject
* _obj2
= 0;
6297 PyObject
* _obj3
= 0;
6298 char *_kwnames
[] = { "self","id","item","helpString","checkable", NULL
};
6301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Append",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
6304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
6311 if (!PyString_Check(_obj2
)) {
6312 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6315 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6319 if (!PyString_Check(_obj3
)) {
6320 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6323 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
6326 wxPy_BEGIN_ALLOW_THREADS
;
6327 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
6329 wxPy_END_ALLOW_THREADS
;
6330 } Py_INCREF(Py_None
);
6331 _resultobj
= Py_None
;
6343 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6344 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6345 PyObject
* _resultobj
;
6350 wxString
* _arg4
= (wxString
*) &wxPyEmptyStr
;
6351 PyObject
* _argo0
= 0;
6352 PyObject
* _obj2
= 0;
6353 PyObject
* _argo3
= 0;
6354 PyObject
* _obj4
= 0;
6355 char *_kwnames
[] = { "self","id","item","subMenu","helpString", NULL
};
6358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_AppendMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
6361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
6368 if (!PyString_Check(_obj2
)) {
6369 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6372 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6375 if (_argo3
== Py_None
) { _arg3
= NULL
; }
6376 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
6377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
6383 if (!PyString_Check(_obj4
)) {
6384 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6387 _arg4
= new wxString(PyString_AsString(_obj4
), PyString_Size(_obj4
));
6390 wxPy_BEGIN_ALLOW_THREADS
;
6391 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
6393 wxPy_END_ALLOW_THREADS
;
6394 } Py_INCREF(Py_None
);
6395 _resultobj
= Py_None
;
6407 #define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
6408 static PyObject
*_wrap_wxMenu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6409 PyObject
* _resultobj
;
6412 PyObject
* _argo0
= 0;
6413 PyObject
* _argo1
= 0;
6414 char *_kwnames
[] = { "self","item", NULL
};
6417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_AppendItem",_kwnames
,&_argo0
,&_argo1
))
6420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
6427 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6428 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
6429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
6434 wxPy_BEGIN_ALLOW_THREADS
;
6435 wxMenu_AppendItem(_arg0
,_arg1
);
6437 wxPy_END_ALLOW_THREADS
;
6438 } Py_INCREF(Py_None
);
6439 _resultobj
= Py_None
;
6443 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
6444 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6445 PyObject
* _resultobj
;
6447 PyObject
* _argo0
= 0;
6448 char *_kwnames
[] = { "self", NULL
};
6451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_AppendSeparator",_kwnames
,&_argo0
))
6454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
6461 wxPy_BEGIN_ALLOW_THREADS
;
6462 wxMenu_AppendSeparator(_arg0
);
6464 wxPy_END_ALLOW_THREADS
;
6465 } Py_INCREF(Py_None
);
6466 _resultobj
= Py_None
;
6470 #define wxMenu_Break(_swigobj) (_swigobj->Break())
6471 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6472 PyObject
* _resultobj
;
6474 PyObject
* _argo0
= 0;
6475 char *_kwnames
[] = { "self", NULL
};
6478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Break",_kwnames
,&_argo0
))
6481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
6488 wxPy_BEGIN_ALLOW_THREADS
;
6489 wxMenu_Break(_arg0
);
6491 wxPy_END_ALLOW_THREADS
;
6492 } Py_INCREF(Py_None
);
6493 _resultobj
= Py_None
;
6497 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
6498 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6499 PyObject
* _resultobj
;
6503 PyObject
* _argo0
= 0;
6505 char *_kwnames
[] = { "self","id","flag", NULL
};
6508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
6517 _arg2
= (bool ) tempbool2
;
6519 wxPy_BEGIN_ALLOW_THREADS
;
6520 wxMenu_Check(_arg0
,_arg1
,_arg2
);
6522 wxPy_END_ALLOW_THREADS
;
6523 } Py_INCREF(Py_None
);
6524 _resultobj
= Py_None
;
6528 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
6529 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6530 PyObject
* _resultobj
;
6534 PyObject
* _argo0
= 0;
6535 char *_kwnames
[] = { "self","id", NULL
};
6538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsChecked",_kwnames
,&_argo0
,&_arg1
))
6541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
6548 wxPy_BEGIN_ALLOW_THREADS
;
6549 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
6551 wxPy_END_ALLOW_THREADS
;
6552 } _resultobj
= Py_BuildValue("i",_result
);
6556 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
6557 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6558 PyObject
* _resultobj
;
6562 PyObject
* _argo0
= 0;
6564 char *_kwnames
[] = { "self","id","enable", NULL
};
6567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
6576 _arg2
= (bool ) tempbool2
;
6578 wxPy_BEGIN_ALLOW_THREADS
;
6579 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
6581 wxPy_END_ALLOW_THREADS
;
6582 } Py_INCREF(Py_None
);
6583 _resultobj
= Py_None
;
6587 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
6588 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6589 PyObject
* _resultobj
;
6593 PyObject
* _argo0
= 0;
6594 char *_kwnames
[] = { "self","id", NULL
};
6597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
6600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
6607 wxPy_BEGIN_ALLOW_THREADS
;
6608 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
6610 wxPy_END_ALLOW_THREADS
;
6611 } _resultobj
= Py_BuildValue("i",_result
);
6615 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
6616 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6617 PyObject
* _resultobj
;
6621 PyObject
* _argo0
= 0;
6622 PyObject
* _obj1
= 0;
6623 char *_kwnames
[] = { "self","itemString", NULL
};
6626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_FindItem",_kwnames
,&_argo0
,&_obj1
))
6629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
6636 if (!PyString_Check(_obj1
)) {
6637 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6640 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
6643 wxPy_BEGIN_ALLOW_THREADS
;
6644 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
6646 wxPy_END_ALLOW_THREADS
;
6647 } _resultobj
= Py_BuildValue("i",_result
);
6655 #define wxMenu_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
6656 static PyObject
*_wrap_wxMenu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6657 PyObject
* _resultobj
;
6658 wxMenuItem
* _result
;
6661 PyObject
* _argo0
= 0;
6662 char *_kwnames
[] = { "self","id", NULL
};
6666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_FindItemById",_kwnames
,&_argo0
,&_arg1
))
6669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemById. Expected _wxMenu_p.");
6676 wxPy_BEGIN_ALLOW_THREADS
;
6677 _result
= (wxMenuItem
*)wxMenu_FindItemById(_arg0
,_arg1
);
6679 wxPy_END_ALLOW_THREADS
;
6681 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
6682 _resultobj
= Py_BuildValue("s",_ptemp
);
6685 _resultobj
= Py_None
;
6690 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
6691 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6692 PyObject
* _resultobj
;
6695 PyObject
* _argo0
= 0;
6696 char *_kwnames
[] = { "self", NULL
};
6699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetTitle",_kwnames
,&_argo0
))
6702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
6709 wxPy_BEGIN_ALLOW_THREADS
;
6710 _result
= new wxString (wxMenu_GetTitle(_arg0
));
6712 wxPy_END_ALLOW_THREADS
;
6714 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6722 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
6723 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6724 PyObject
* _resultobj
;
6727 PyObject
* _argo0
= 0;
6728 PyObject
* _obj1
= 0;
6729 char *_kwnames
[] = { "self","title", NULL
};
6732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetTitle",_kwnames
,&_argo0
,&_obj1
))
6735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
6742 if (!PyString_Check(_obj1
)) {
6743 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6746 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
6749 wxPy_BEGIN_ALLOW_THREADS
;
6750 wxMenu_SetTitle(_arg0
,*_arg1
);
6752 wxPy_END_ALLOW_THREADS
;
6753 } Py_INCREF(Py_None
);
6754 _resultobj
= Py_None
;
6762 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
6763 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6764 PyObject
* _resultobj
;
6768 PyObject
* _argo0
= 0;
6769 char *_kwnames
[] = { "self","id", NULL
};
6772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetLabel",_kwnames
,&_argo0
,&_arg1
))
6775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
6782 wxPy_BEGIN_ALLOW_THREADS
;
6783 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
6785 wxPy_END_ALLOW_THREADS
;
6787 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6795 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
6796 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6797 PyObject
* _resultobj
;
6801 PyObject
* _argo0
= 0;
6802 PyObject
* _obj2
= 0;
6803 char *_kwnames
[] = { "self","id","label", NULL
};
6806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
6816 if (!PyString_Check(_obj2
)) {
6817 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6820 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6823 wxPy_BEGIN_ALLOW_THREADS
;
6824 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
6826 wxPy_END_ALLOW_THREADS
;
6827 } Py_INCREF(Py_None
);
6828 _resultobj
= Py_None
;
6836 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
6837 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6838 PyObject
* _resultobj
;
6842 PyObject
* _argo0
= 0;
6843 char *_kwnames
[] = { "self","id", NULL
};
6846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
6849 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6850 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
6856 wxPy_BEGIN_ALLOW_THREADS
;
6857 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
6859 wxPy_END_ALLOW_THREADS
;
6861 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6869 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
6870 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6871 PyObject
* _resultobj
;
6875 PyObject
* _argo0
= 0;
6876 PyObject
* _obj2
= 0;
6877 char *_kwnames
[] = { "self","id","helpString", NULL
};
6880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
6890 if (!PyString_Check(_obj2
)) {
6891 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6894 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6897 wxPy_BEGIN_ALLOW_THREADS
;
6898 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
6900 wxPy_END_ALLOW_THREADS
;
6901 } Py_INCREF(Py_None
);
6902 _resultobj
= Py_None
;
6910 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
6911 static PyObject
*_wrap_wxMenu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6912 PyObject
* _resultobj
;
6914 wxEvtHandler
* _arg1
= (wxEvtHandler
*) NULL
;
6915 PyObject
* _argo0
= 0;
6916 PyObject
* _argo1
= 0;
6917 char *_kwnames
[] = { "self","source", NULL
};
6920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxMenu_UpdateUI",_kwnames
,&_argo0
,&_argo1
))
6923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
6930 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6931 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
6932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
6937 wxPy_BEGIN_ALLOW_THREADS
;
6938 wxMenu_UpdateUI(_arg0
,_arg1
);
6940 wxPy_END_ALLOW_THREADS
;
6941 } Py_INCREF(Py_None
);
6942 _resultobj
= Py_None
;
6946 #define wxMenu_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
6947 static PyObject
*_wrap_wxMenu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6948 PyObject
* _resultobj
;
6952 PyObject
* _argo0
= 0;
6953 char *_kwnames
[] = { "self","id", NULL
};
6956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Delete",_kwnames
,&_argo0
,&_arg1
))
6959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Delete. Expected _wxMenu_p.");
6966 wxPy_BEGIN_ALLOW_THREADS
;
6967 _result
= (bool )wxMenu_Delete(_arg0
,_arg1
);
6969 wxPy_END_ALLOW_THREADS
;
6970 } _resultobj
= Py_BuildValue("i",_result
);
6974 #define wxMenu_DeleteItem(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
6975 static PyObject
*_wrap_wxMenu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6976 PyObject
* _resultobj
;
6980 PyObject
* _argo0
= 0;
6981 PyObject
* _argo1
= 0;
6982 char *_kwnames
[] = { "self","item", NULL
};
6985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DeleteItem",_kwnames
,&_argo0
,&_argo1
))
6988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DeleteItem. Expected _wxMenu_p.");
6995 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6996 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
6997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DeleteItem. Expected _wxMenuItem_p.");
7002 wxPy_BEGIN_ALLOW_THREADS
;
7003 _result
= (bool )wxMenu_DeleteItem(_arg0
,_arg1
);
7005 wxPy_END_ALLOW_THREADS
;
7006 } _resultobj
= Py_BuildValue("i",_result
);
7010 #define wxMenu_Insert(_swigobj,_swigarg0,_swigarg1) (_swigobj->Insert(_swigarg0,_swigarg1))
7011 static PyObject
*_wrap_wxMenu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7012 PyObject
* _resultobj
;
7017 PyObject
* _argo0
= 0;
7018 PyObject
* _argo2
= 0;
7019 char *_kwnames
[] = { "self","pos","item", NULL
};
7022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
7025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Insert. Expected _wxMenu_p.");
7032 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7033 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenuItem_p")) {
7034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenu_Insert. Expected _wxMenuItem_p.");
7039 wxPy_BEGIN_ALLOW_THREADS
;
7040 _result
= (bool )wxMenu_Insert(_arg0
,_arg1
,_arg2
);
7042 wxPy_END_ALLOW_THREADS
;
7043 } _resultobj
= Py_BuildValue("i",_result
);
7047 #define wxMenu_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
7048 static PyObject
*_wrap_wxMenu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7049 PyObject
* _resultobj
;
7050 wxMenuItem
* _result
;
7053 PyObject
* _argo0
= 0;
7054 char *_kwnames
[] = { "self","id", NULL
};
7058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Remove",_kwnames
,&_argo0
,&_arg1
))
7061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Remove. Expected _wxMenu_p.");
7068 wxPy_BEGIN_ALLOW_THREADS
;
7069 _result
= (wxMenuItem
*)wxMenu_Remove(_arg0
,_arg1
);
7071 wxPy_END_ALLOW_THREADS
;
7073 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
7074 _resultobj
= Py_BuildValue("s",_ptemp
);
7077 _resultobj
= Py_None
;
7082 #define wxMenu_RemoveItem(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
7083 static PyObject
*_wrap_wxMenu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7084 PyObject
* _resultobj
;
7085 wxMenuItem
* _result
;
7088 PyObject
* _argo0
= 0;
7089 PyObject
* _argo1
= 0;
7090 char *_kwnames
[] = { "self","item", NULL
};
7094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_RemoveItem",_kwnames
,&_argo0
,&_argo1
))
7097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_RemoveItem. Expected _wxMenu_p.");
7104 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7105 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
7106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_RemoveItem. Expected _wxMenuItem_p.");
7111 wxPy_BEGIN_ALLOW_THREADS
;
7112 _result
= (wxMenuItem
*)wxMenu_RemoveItem(_arg0
,_arg1
);
7114 wxPy_END_ALLOW_THREADS
;
7116 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
7117 _resultobj
= Py_BuildValue("s",_ptemp
);
7120 _resultobj
= Py_None
;
7125 static void wxMenu_Destroy(wxMenu
*self
) { delete self
; }
7126 static PyObject
*_wrap_wxMenu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7127 PyObject
* _resultobj
;
7129 PyObject
* _argo0
= 0;
7130 char *_kwnames
[] = { "self", NULL
};
7133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Destroy",_kwnames
,&_argo0
))
7136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Destroy. Expected _wxMenu_p.");
7143 wxPy_BEGIN_ALLOW_THREADS
;
7144 wxMenu_Destroy(_arg0
);
7146 wxPy_END_ALLOW_THREADS
;
7147 } Py_INCREF(Py_None
);
7148 _resultobj
= Py_None
;
7152 #define wxMenu_DestroyId(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
7153 static PyObject
*_wrap_wxMenu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7154 PyObject
* _resultobj
;
7158 PyObject
* _argo0
= 0;
7159 char *_kwnames
[] = { "self","id", NULL
};
7162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_DestroyId",_kwnames
,&_argo0
,&_arg1
))
7165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyId. Expected _wxMenu_p.");
7172 wxPy_BEGIN_ALLOW_THREADS
;
7173 _result
= (bool )wxMenu_DestroyId(_arg0
,_arg1
);
7175 wxPy_END_ALLOW_THREADS
;
7176 } _resultobj
= Py_BuildValue("i",_result
);
7180 #define wxMenu_DestroyItem(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
7181 static PyObject
*_wrap_wxMenu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7182 PyObject
* _resultobj
;
7186 PyObject
* _argo0
= 0;
7187 PyObject
* _argo1
= 0;
7188 char *_kwnames
[] = { "self","item", NULL
};
7191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DestroyItem",_kwnames
,&_argo0
,&_argo1
))
7194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyItem. Expected _wxMenu_p.");
7201 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7202 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
7203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DestroyItem. Expected _wxMenuItem_p.");
7208 wxPy_BEGIN_ALLOW_THREADS
;
7209 _result
= (bool )wxMenu_DestroyItem(_arg0
,_arg1
);
7211 wxPy_END_ALLOW_THREADS
;
7212 } _resultobj
= Py_BuildValue("i",_result
);
7216 #define wxMenu_GetMenuItemCount(_swigobj) (_swigobj->GetMenuItemCount())
7217 static PyObject
*_wrap_wxMenu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7218 PyObject
* _resultobj
;
7221 PyObject
* _argo0
= 0;
7222 char *_kwnames
[] = { "self", NULL
};
7225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItemCount",_kwnames
,&_argo0
))
7228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItemCount. Expected _wxMenu_p.");
7235 wxPy_BEGIN_ALLOW_THREADS
;
7236 _result
= (size_t )wxMenu_GetMenuItemCount(_arg0
);
7238 wxPy_END_ALLOW_THREADS
;
7239 } _resultobj
= Py_BuildValue("i",_result
);
7243 static PyObject
* wxMenu_GetMenuItems(wxMenu
*self
) {
7244 wxMenuItemList
& list
= self
->GetMenuItems();
7245 return wxPy_ConvertList(&list
, "wxMenuItem");
7247 static PyObject
*_wrap_wxMenu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7248 PyObject
* _resultobj
;
7251 PyObject
* _argo0
= 0;
7252 char *_kwnames
[] = { "self", NULL
};
7255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItems",_kwnames
,&_argo0
))
7258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItems. Expected _wxMenu_p.");
7265 wxPy_BEGIN_ALLOW_THREADS
;
7266 _result
= (PyObject
*)wxMenu_GetMenuItems(_arg0
);
7268 wxPy_END_ALLOW_THREADS
;
7270 _resultobj
= _result
;
7275 #define wxMenu_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
7276 static PyObject
*_wrap_wxMenu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7277 PyObject
* _resultobj
;
7279 wxEvtHandler
* _arg1
;
7280 PyObject
* _argo0
= 0;
7281 PyObject
* _argo1
= 0;
7282 char *_kwnames
[] = { "self","handler", NULL
};
7285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
7288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetEventHandler. Expected _wxMenu_p.");
7295 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7296 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
7297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetEventHandler. Expected _wxEvtHandler_p.");
7302 wxPy_BEGIN_ALLOW_THREADS
;
7303 wxMenu_SetEventHandler(_arg0
,_arg1
);
7305 wxPy_END_ALLOW_THREADS
;
7306 } Py_INCREF(Py_None
);
7307 _resultobj
= Py_None
;
7311 #define wxMenu_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
7312 static PyObject
*_wrap_wxMenu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7313 PyObject
* _resultobj
;
7314 wxEvtHandler
* _result
;
7316 PyObject
* _argo0
= 0;
7317 char *_kwnames
[] = { "self", NULL
};
7321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetEventHandler",_kwnames
,&_argo0
))
7324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetEventHandler. Expected _wxMenu_p.");
7331 wxPy_BEGIN_ALLOW_THREADS
;
7332 _result
= (wxEvtHandler
*)wxMenu_GetEventHandler(_arg0
);
7334 wxPy_END_ALLOW_THREADS
;
7336 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
7337 _resultobj
= Py_BuildValue("s",_ptemp
);
7340 _resultobj
= Py_None
;
7345 #define wxMenu_SetInvokingWindow(_swigobj,_swigarg0) (_swigobj->SetInvokingWindow(_swigarg0))
7346 static PyObject
*_wrap_wxMenu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7347 PyObject
* _resultobj
;
7350 PyObject
* _argo0
= 0;
7351 PyObject
* _argo1
= 0;
7352 char *_kwnames
[] = { "self","win", NULL
};
7355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetInvokingWindow",_kwnames
,&_argo0
,&_argo1
))
7358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetInvokingWindow. Expected _wxMenu_p.");
7365 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7366 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetInvokingWindow. Expected _wxWindow_p.");
7372 wxPy_BEGIN_ALLOW_THREADS
;
7373 wxMenu_SetInvokingWindow(_arg0
,_arg1
);
7375 wxPy_END_ALLOW_THREADS
;
7376 } Py_INCREF(Py_None
);
7377 _resultobj
= Py_None
;
7381 #define wxMenu_GetInvokingWindow(_swigobj) (_swigobj->GetInvokingWindow())
7382 static PyObject
*_wrap_wxMenu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7383 PyObject
* _resultobj
;
7386 PyObject
* _argo0
= 0;
7387 char *_kwnames
[] = { "self", NULL
};
7391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetInvokingWindow",_kwnames
,&_argo0
))
7394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetInvokingWindow. Expected _wxMenu_p.");
7401 wxPy_BEGIN_ALLOW_THREADS
;
7402 _result
= (wxWindow
*)wxMenu_GetInvokingWindow(_arg0
);
7404 wxPy_END_ALLOW_THREADS
;
7406 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
7407 _resultobj
= Py_BuildValue("s",_ptemp
);
7410 _resultobj
= Py_None
;
7415 #define wxMenu_GetStyle(_swigobj) (_swigobj->GetStyle())
7416 static PyObject
*_wrap_wxMenu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7417 PyObject
* _resultobj
;
7420 PyObject
* _argo0
= 0;
7421 char *_kwnames
[] = { "self", NULL
};
7424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetStyle",_kwnames
,&_argo0
))
7427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetStyle. Expected _wxMenu_p.");
7434 wxPy_BEGIN_ALLOW_THREADS
;
7435 _result
= (long )wxMenu_GetStyle(_arg0
);
7437 wxPy_END_ALLOW_THREADS
;
7438 } _resultobj
= Py_BuildValue("l",_result
);
7442 #define wxMenu_IsAttached(_swigobj) (_swigobj->IsAttached())
7443 static PyObject
*_wrap_wxMenu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7444 PyObject
* _resultobj
;
7447 PyObject
* _argo0
= 0;
7448 char *_kwnames
[] = { "self", NULL
};
7451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_IsAttached",_kwnames
,&_argo0
))
7454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsAttached. Expected _wxMenu_p.");
7461 wxPy_BEGIN_ALLOW_THREADS
;
7462 _result
= (bool )wxMenu_IsAttached(_arg0
);
7464 wxPy_END_ALLOW_THREADS
;
7465 } _resultobj
= Py_BuildValue("i",_result
);
7469 #define wxMenu_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
7470 static PyObject
*_wrap_wxMenu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7471 PyObject
* _resultobj
;
7474 PyObject
* _argo0
= 0;
7475 PyObject
* _argo1
= 0;
7476 char *_kwnames
[] = { "self","parent", NULL
};
7479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetParent",_kwnames
,&_argo0
,&_argo1
))
7482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetParent. Expected _wxMenu_p.");
7489 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7490 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
7491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetParent. Expected _wxMenu_p.");
7496 wxPy_BEGIN_ALLOW_THREADS
;
7497 wxMenu_SetParent(_arg0
,_arg1
);
7499 wxPy_END_ALLOW_THREADS
;
7500 } Py_INCREF(Py_None
);
7501 _resultobj
= Py_None
;
7505 #define wxMenu_GetParent(_swigobj) (_swigobj->GetParent())
7506 static PyObject
*_wrap_wxMenu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7507 PyObject
* _resultobj
;
7510 PyObject
* _argo0
= 0;
7511 char *_kwnames
[] = { "self", NULL
};
7515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetParent",_kwnames
,&_argo0
))
7518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetParent. Expected _wxMenu_p.");
7525 wxPy_BEGIN_ALLOW_THREADS
;
7526 _result
= (wxMenu
*)wxMenu_GetParent(_arg0
);
7528 wxPy_END_ALLOW_THREADS
;
7530 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7531 _resultobj
= Py_BuildValue("s",_ptemp
);
7534 _resultobj
= Py_None
;
7539 static void *SwigwxMenuBarTowxWindow(void *ptr
) {
7542 src
= (wxMenuBar
*) ptr
;
7543 dest
= (wxWindow
*) src
;
7544 return (void *) dest
;
7547 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
7550 src
= (wxMenuBar
*) ptr
;
7551 dest
= (wxEvtHandler
*) src
;
7552 return (void *) dest
;
7555 #define new_wxMenuBar(_swigarg0) (new wxMenuBar(_swigarg0))
7556 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7557 PyObject
* _resultobj
;
7558 wxMenuBar
* _result
;
7559 long _arg0
= (long ) 0;
7560 char *_kwnames
[] = { "style", NULL
};
7564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:new_wxMenuBar",_kwnames
,&_arg0
))
7567 wxPy_BEGIN_ALLOW_THREADS
;
7568 _result
= (wxMenuBar
*)new_wxMenuBar(_arg0
);
7570 wxPy_END_ALLOW_THREADS
;
7572 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
7573 _resultobj
= Py_BuildValue("s",_ptemp
);
7576 _resultobj
= Py_None
;
7581 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
7582 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7583 PyObject
* _resultobj
;
7588 PyObject
* _argo0
= 0;
7589 PyObject
* _argo1
= 0;
7590 PyObject
* _obj2
= 0;
7591 char *_kwnames
[] = { "self","menu","title", NULL
};
7594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_Append",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
7604 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7605 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
7606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
7611 if (!PyString_Check(_obj2
)) {
7612 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7615 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7618 wxPy_BEGIN_ALLOW_THREADS
;
7619 _result
= (bool )wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
7621 wxPy_END_ALLOW_THREADS
;
7622 } _resultobj
= Py_BuildValue("i",_result
);
7630 #define wxMenuBar_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2))
7631 static PyObject
*_wrap_wxMenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7632 PyObject
* _resultobj
;
7638 PyObject
* _argo0
= 0;
7639 PyObject
* _argo2
= 0;
7640 PyObject
* _obj3
= 0;
7641 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
7644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
7647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Insert. Expected _wxMenuBar_p.");
7654 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7655 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
7656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Insert. Expected _wxMenu_p.");
7661 if (!PyString_Check(_obj3
)) {
7662 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7665 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
7668 wxPy_BEGIN_ALLOW_THREADS
;
7669 _result
= (bool )wxMenuBar_Insert(_arg0
,_arg1
,_arg2
,*_arg3
);
7671 wxPy_END_ALLOW_THREADS
;
7672 } _resultobj
= Py_BuildValue("i",_result
);
7680 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
7681 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7682 PyObject
* _resultobj
;
7685 PyObject
* _argo0
= 0;
7686 char *_kwnames
[] = { "self", NULL
};
7689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuBar_GetMenuCount",_kwnames
,&_argo0
))
7692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
7699 wxPy_BEGIN_ALLOW_THREADS
;
7700 _result
= (size_t )wxMenuBar_GetMenuCount(_arg0
);
7702 wxPy_END_ALLOW_THREADS
;
7703 } _resultobj
= Py_BuildValue("i",_result
);
7707 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
7708 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7709 PyObject
* _resultobj
;
7713 PyObject
* _argo0
= 0;
7714 char *_kwnames
[] = { "self","pos", NULL
};
7718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetMenu",_kwnames
,&_argo0
,&_arg1
))
7721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
7728 wxPy_BEGIN_ALLOW_THREADS
;
7729 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
7731 wxPy_END_ALLOW_THREADS
;
7733 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7734 _resultobj
= Py_BuildValue("s",_ptemp
);
7737 _resultobj
= Py_None
;
7742 #define wxMenuBar_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
7743 static PyObject
*_wrap_wxMenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7744 PyObject
* _resultobj
;
7750 PyObject
* _argo0
= 0;
7751 PyObject
* _argo2
= 0;
7752 PyObject
* _obj3
= 0;
7753 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
7757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
7760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Replace. Expected _wxMenuBar_p.");
7767 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7768 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
7769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Replace. Expected _wxMenu_p.");
7774 if (!PyString_Check(_obj3
)) {
7775 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7778 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
7781 wxPy_BEGIN_ALLOW_THREADS
;
7782 _result
= (wxMenu
*)wxMenuBar_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
7784 wxPy_END_ALLOW_THREADS
;
7786 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7787 _resultobj
= Py_BuildValue("s",_ptemp
);
7790 _resultobj
= Py_None
;
7799 #define wxMenuBar_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
7800 static PyObject
*_wrap_wxMenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7801 PyObject
* _resultobj
;
7805 PyObject
* _argo0
= 0;
7806 char *_kwnames
[] = { "self","pos", NULL
};
7810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_Remove",_kwnames
,&_argo0
,&_arg1
))
7813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Remove. Expected _wxMenuBar_p.");
7820 wxPy_BEGIN_ALLOW_THREADS
;
7821 _result
= (wxMenu
*)wxMenuBar_Remove(_arg0
,_arg1
);
7823 wxPy_END_ALLOW_THREADS
;
7825 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7826 _resultobj
= Py_BuildValue("s",_ptemp
);
7829 _resultobj
= Py_None
;
7834 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
7835 static PyObject
*_wrap_wxMenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7836 PyObject
* _resultobj
;
7840 PyObject
* _argo0
= 0;
7842 char *_kwnames
[] = { "self","pos","enable", NULL
};
7845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_EnableTop",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
7854 _arg2
= (bool ) tempbool2
;
7856 wxPy_BEGIN_ALLOW_THREADS
;
7857 wxMenuBar_EnableTop(_arg0
,_arg1
,_arg2
);
7859 wxPy_END_ALLOW_THREADS
;
7860 } Py_INCREF(Py_None
);
7861 _resultobj
= Py_None
;
7865 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
7866 static PyObject
*_wrap_wxMenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7867 PyObject
* _resultobj
;
7871 PyObject
* _argo0
= 0;
7872 PyObject
* _obj2
= 0;
7873 char *_kwnames
[] = { "self","pos","label", NULL
};
7876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabelTop",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
7879 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7880 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
7886 if (!PyString_Check(_obj2
)) {
7887 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7890 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7893 wxPy_BEGIN_ALLOW_THREADS
;
7894 wxMenuBar_SetLabelTop(_arg0
,_arg1
,*_arg2
);
7896 wxPy_END_ALLOW_THREADS
;
7897 } Py_INCREF(Py_None
);
7898 _resultobj
= Py_None
;
7906 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
7907 static PyObject
*_wrap_wxMenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7908 PyObject
* _resultobj
;
7912 PyObject
* _argo0
= 0;
7913 char *_kwnames
[] = { "self","pos", NULL
};
7916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabelTop",_kwnames
,&_argo0
,&_arg1
))
7919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
7926 wxPy_BEGIN_ALLOW_THREADS
;
7927 _result
= new wxString (wxMenuBar_GetLabelTop(_arg0
,_arg1
));
7929 wxPy_END_ALLOW_THREADS
;
7931 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7939 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
7940 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7941 PyObject
* _resultobj
;
7946 PyObject
* _argo0
= 0;
7947 PyObject
* _obj1
= 0;
7948 PyObject
* _obj2
= 0;
7949 char *_kwnames
[] = { "self","menuString","itemString", NULL
};
7952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_FindMenuItem",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
7955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
7962 if (!PyString_Check(_obj1
)) {
7963 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7966 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
7969 if (!PyString_Check(_obj2
)) {
7970 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7973 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7976 wxPy_BEGIN_ALLOW_THREADS
;
7977 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
7979 wxPy_END_ALLOW_THREADS
;
7980 } _resultobj
= Py_BuildValue("i",_result
);
7992 #define wxMenuBar_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
7993 static PyObject
*_wrap_wxMenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7994 PyObject
* _resultobj
;
7995 wxMenuItem
* _result
;
7998 PyObject
* _argo0
= 0;
7999 char *_kwnames
[] = { "self","id", NULL
};
8003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_FindItemById",_kwnames
,&_argo0
,&_arg1
))
8006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemById. Expected _wxMenuBar_p.");
8013 wxPy_BEGIN_ALLOW_THREADS
;
8014 _result
= (wxMenuItem
*)wxMenuBar_FindItemById(_arg0
,_arg1
);
8016 wxPy_END_ALLOW_THREADS
;
8018 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
8019 _resultobj
= Py_BuildValue("s",_ptemp
);
8022 _resultobj
= Py_None
;
8027 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
8028 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8029 PyObject
* _resultobj
;
8033 PyObject
* _argo0
= 0;
8035 char *_kwnames
[] = { "self","id","enable", NULL
};
8038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
8047 _arg2
= (bool ) tempbool2
;
8049 wxPy_BEGIN_ALLOW_THREADS
;
8050 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
8052 wxPy_END_ALLOW_THREADS
;
8053 } Py_INCREF(Py_None
);
8054 _resultobj
= Py_None
;
8058 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
8059 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8060 PyObject
* _resultobj
;
8064 PyObject
* _argo0
= 0;
8066 char *_kwnames
[] = { "self","id","check", NULL
};
8069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
8078 _arg2
= (bool ) tempbool2
;
8080 wxPy_BEGIN_ALLOW_THREADS
;
8081 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
8083 wxPy_END_ALLOW_THREADS
;
8084 } Py_INCREF(Py_None
);
8085 _resultobj
= Py_None
;
8089 #define wxMenuBar_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
8090 static PyObject
*_wrap_wxMenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8091 PyObject
* _resultobj
;
8095 PyObject
* _argo0
= 0;
8096 char *_kwnames
[] = { "self","id", NULL
};
8099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsChecked",_kwnames
,&_argo0
,&_arg1
))
8102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsChecked. Expected _wxMenuBar_p.");
8109 wxPy_BEGIN_ALLOW_THREADS
;
8110 _result
= (bool )wxMenuBar_IsChecked(_arg0
,_arg1
);
8112 wxPy_END_ALLOW_THREADS
;
8113 } _resultobj
= Py_BuildValue("i",_result
);
8117 #define wxMenuBar_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
8118 static PyObject
*_wrap_wxMenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8119 PyObject
* _resultobj
;
8123 PyObject
* _argo0
= 0;
8124 char *_kwnames
[] = { "self","id", NULL
};
8127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
8130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsEnabled. Expected _wxMenuBar_p.");
8137 wxPy_BEGIN_ALLOW_THREADS
;
8138 _result
= (bool )wxMenuBar_IsEnabled(_arg0
,_arg1
);
8140 wxPy_END_ALLOW_THREADS
;
8141 } _resultobj
= Py_BuildValue("i",_result
);
8145 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
8146 static PyObject
*_wrap_wxMenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8147 PyObject
* _resultobj
;
8151 PyObject
* _argo0
= 0;
8152 PyObject
* _obj2
= 0;
8153 char *_kwnames
[] = { "self","id","label", NULL
};
8156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
8166 if (!PyString_Check(_obj2
)) {
8167 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8170 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
8173 wxPy_BEGIN_ALLOW_THREADS
;
8174 wxMenuBar_SetLabel(_arg0
,_arg1
,*_arg2
);
8176 wxPy_END_ALLOW_THREADS
;
8177 } Py_INCREF(Py_None
);
8178 _resultobj
= Py_None
;
8186 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
8187 static PyObject
*_wrap_wxMenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8188 PyObject
* _resultobj
;
8192 PyObject
* _argo0
= 0;
8193 char *_kwnames
[] = { "self","id", NULL
};
8196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabel",_kwnames
,&_argo0
,&_arg1
))
8199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
8206 wxPy_BEGIN_ALLOW_THREADS
;
8207 _result
= new wxString (wxMenuBar_GetLabel(_arg0
,_arg1
));
8209 wxPy_END_ALLOW_THREADS
;
8211 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8219 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
8220 static PyObject
*_wrap_wxMenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8221 PyObject
* _resultobj
;
8225 PyObject
* _argo0
= 0;
8226 PyObject
* _obj2
= 0;
8227 char *_kwnames
[] = { "self","id","helpString", NULL
};
8230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
8240 if (!PyString_Check(_obj2
)) {
8241 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8244 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
8247 wxPy_BEGIN_ALLOW_THREADS
;
8248 wxMenuBar_SetHelpString(_arg0
,_arg1
,*_arg2
);
8250 wxPy_END_ALLOW_THREADS
;
8251 } Py_INCREF(Py_None
);
8252 _resultobj
= Py_None
;
8260 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
8261 static PyObject
*_wrap_wxMenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8262 PyObject
* _resultobj
;
8266 PyObject
* _argo0
= 0;
8267 char *_kwnames
[] = { "self","id", NULL
};
8270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
8273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
8280 wxPy_BEGIN_ALLOW_THREADS
;
8281 _result
= new wxString (wxMenuBar_GetHelpString(_arg0
,_arg1
));
8283 wxPy_END_ALLOW_THREADS
;
8285 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8293 #define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8294 static PyObject
*_wrap_new_wxMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8295 PyObject
* _resultobj
;
8296 wxMenuItem
* _result
;
8297 wxMenu
* _arg0
= (wxMenu
*) NULL
;
8298 int _arg1
= (int ) wxID_SEPARATOR
;
8299 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
8300 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
8301 bool _arg4
= (bool ) FALSE
;
8302 wxMenu
* _arg5
= (wxMenu
*) NULL
;
8303 PyObject
* _argo0
= 0;
8304 PyObject
* _obj2
= 0;
8305 PyObject
* _obj3
= 0;
8306 int tempbool4
= (int) FALSE
;
8307 PyObject
* _argo5
= 0;
8308 char *_kwnames
[] = { "parentMenu","id","text","help","isCheckable","subMenu", NULL
};
8312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OiOOiO:new_wxMenuItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&tempbool4
,&_argo5
))
8315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
8323 if (!PyString_Check(_obj2
)) {
8324 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8327 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
8331 if (!PyString_Check(_obj3
)) {
8332 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8335 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
8337 _arg4
= (bool ) tempbool4
;
8339 if (_argo5
== Py_None
) { _arg5
= NULL
; }
8340 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxMenu_p")) {
8341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
8346 wxPy_BEGIN_ALLOW_THREADS
;
8347 _result
= (wxMenuItem
*)new_wxMenuItem(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
8349 wxPy_END_ALLOW_THREADS
;
8351 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
8352 _resultobj
= Py_BuildValue("s",_ptemp
);
8355 _resultobj
= Py_None
;
8368 #define wxMenuItem_GetMenu(_swigobj) (_swigobj->GetMenu())
8369 static PyObject
*_wrap_wxMenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8370 PyObject
* _resultobj
;
8373 PyObject
* _argo0
= 0;
8374 char *_kwnames
[] = { "self", NULL
};
8378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetMenu",_kwnames
,&_argo0
))
8381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMenu. Expected _wxMenuItem_p.");
8388 wxPy_BEGIN_ALLOW_THREADS
;
8389 _result
= (wxMenu
*)wxMenuItem_GetMenu(_arg0
);
8391 wxPy_END_ALLOW_THREADS
;
8393 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
8394 _resultobj
= Py_BuildValue("s",_ptemp
);
8397 _resultobj
= Py_None
;
8402 #define wxMenuItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
8403 static PyObject
*_wrap_wxMenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8404 PyObject
* _resultobj
;
8407 PyObject
* _argo0
= 0;
8408 char *_kwnames
[] = { "self","id", NULL
};
8411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetId",_kwnames
,&_argo0
,&_arg1
))
8414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetId. Expected _wxMenuItem_p.");
8421 wxPy_BEGIN_ALLOW_THREADS
;
8422 wxMenuItem_SetId(_arg0
,_arg1
);
8424 wxPy_END_ALLOW_THREADS
;
8425 } Py_INCREF(Py_None
);
8426 _resultobj
= Py_None
;
8430 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
8431 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8432 PyObject
* _resultobj
;
8435 PyObject
* _argo0
= 0;
8436 char *_kwnames
[] = { "self", NULL
};
8439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetId",_kwnames
,&_argo0
))
8442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
8449 wxPy_BEGIN_ALLOW_THREADS
;
8450 _result
= (int )wxMenuItem_GetId(_arg0
);
8452 wxPy_END_ALLOW_THREADS
;
8453 } _resultobj
= Py_BuildValue("i",_result
);
8457 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
8458 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8459 PyObject
* _resultobj
;
8462 PyObject
* _argo0
= 0;
8463 char *_kwnames
[] = { "self", NULL
};
8466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSeparator",_kwnames
,&_argo0
))
8469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
8476 wxPy_BEGIN_ALLOW_THREADS
;
8477 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
8479 wxPy_END_ALLOW_THREADS
;
8480 } _resultobj
= Py_BuildValue("i",_result
);
8484 #define wxMenuItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
8485 static PyObject
*_wrap_wxMenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8486 PyObject
* _resultobj
;
8489 PyObject
* _argo0
= 0;
8490 PyObject
* _obj1
= 0;
8491 char *_kwnames
[] = { "self","str", NULL
};
8494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetText",_kwnames
,&_argo0
,&_obj1
))
8497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetText. Expected _wxMenuItem_p.");
8504 if (!PyString_Check(_obj1
)) {
8505 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8508 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
8511 wxPy_BEGIN_ALLOW_THREADS
;
8512 wxMenuItem_SetText(_arg0
,*_arg1
);
8514 wxPy_END_ALLOW_THREADS
;
8515 } Py_INCREF(Py_None
);
8516 _resultobj
= Py_None
;
8524 #define wxMenuItem_GetLabel(_swigobj) (_swigobj->GetLabel())
8525 static PyObject
*_wrap_wxMenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8526 PyObject
* _resultobj
;
8529 PyObject
* _argo0
= 0;
8530 char *_kwnames
[] = { "self", NULL
};
8533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabel",_kwnames
,&_argo0
))
8536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetLabel. Expected _wxMenuItem_p.");
8543 wxPy_BEGIN_ALLOW_THREADS
;
8544 _result
= new wxString (wxMenuItem_GetLabel(_arg0
));
8546 wxPy_END_ALLOW_THREADS
;
8548 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8556 #define wxMenuItem_GetText(_swigobj) (_swigobj->GetText())
8557 static PyObject
*_wrap_wxMenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8558 PyObject
* _resultobj
;
8561 PyObject
* _argo0
= 0;
8562 char *_kwnames
[] = { "self", NULL
};
8565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetText",_kwnames
,&_argo0
))
8568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetText. Expected _wxMenuItem_p.");
8575 wxPy_BEGIN_ALLOW_THREADS
;
8576 const wxString
& _result_ref
= wxMenuItem_GetText(_arg0
);
8577 _result
= (wxString
*) &_result_ref
;
8579 wxPy_END_ALLOW_THREADS
;
8581 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8586 #define wxMenuItem_SetCheckable(_swigobj,_swigarg0) (_swigobj->SetCheckable(_swigarg0))
8587 static PyObject
*_wrap_wxMenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8588 PyObject
* _resultobj
;
8591 PyObject
* _argo0
= 0;
8593 char *_kwnames
[] = { "self","checkable", NULL
};
8596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetCheckable",_kwnames
,&_argo0
,&tempbool1
))
8599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetCheckable. Expected _wxMenuItem_p.");
8605 _arg1
= (bool ) tempbool1
;
8607 wxPy_BEGIN_ALLOW_THREADS
;
8608 wxMenuItem_SetCheckable(_arg0
,_arg1
);
8610 wxPy_END_ALLOW_THREADS
;
8611 } Py_INCREF(Py_None
);
8612 _resultobj
= Py_None
;
8616 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
8617 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8618 PyObject
* _resultobj
;
8621 PyObject
* _argo0
= 0;
8622 char *_kwnames
[] = { "self", NULL
};
8625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsCheckable",_kwnames
,&_argo0
))
8628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
8635 wxPy_BEGIN_ALLOW_THREADS
;
8636 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
8638 wxPy_END_ALLOW_THREADS
;
8639 } _resultobj
= Py_BuildValue("i",_result
);
8643 #define wxMenuItem_IsSubMenu(_swigobj) (_swigobj->IsSubMenu())
8644 static PyObject
*_wrap_wxMenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8645 PyObject
* _resultobj
;
8648 PyObject
* _argo0
= 0;
8649 char *_kwnames
[] = { "self", NULL
};
8652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSubMenu",_kwnames
,&_argo0
))
8655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSubMenu. Expected _wxMenuItem_p.");
8662 wxPy_BEGIN_ALLOW_THREADS
;
8663 _result
= (bool )wxMenuItem_IsSubMenu(_arg0
);
8665 wxPy_END_ALLOW_THREADS
;
8666 } _resultobj
= Py_BuildValue("i",_result
);
8670 #define wxMenuItem_SetSubMenu(_swigobj,_swigarg0) (_swigobj->SetSubMenu(_swigarg0))
8671 static PyObject
*_wrap_wxMenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8672 PyObject
* _resultobj
;
8675 PyObject
* _argo0
= 0;
8676 PyObject
* _argo1
= 0;
8677 char *_kwnames
[] = { "self","menu", NULL
};
8680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetSubMenu",_kwnames
,&_argo0
,&_argo1
))
8683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetSubMenu. Expected _wxMenuItem_p.");
8690 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8691 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
8692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetSubMenu. Expected _wxMenu_p.");
8697 wxPy_BEGIN_ALLOW_THREADS
;
8698 wxMenuItem_SetSubMenu(_arg0
,_arg1
);
8700 wxPy_END_ALLOW_THREADS
;
8701 } Py_INCREF(Py_None
);
8702 _resultobj
= Py_None
;
8706 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
8707 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8708 PyObject
* _resultobj
;
8711 PyObject
* _argo0
= 0;
8712 char *_kwnames
[] = { "self", NULL
};
8716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetSubMenu",_kwnames
,&_argo0
))
8719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
8726 wxPy_BEGIN_ALLOW_THREADS
;
8727 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
8729 wxPy_END_ALLOW_THREADS
;
8731 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
8732 _resultobj
= Py_BuildValue("s",_ptemp
);
8735 _resultobj
= Py_None
;
8740 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
8741 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8742 PyObject
* _resultobj
;
8744 bool _arg1
= (bool ) TRUE
;
8745 PyObject
* _argo0
= 0;
8746 int tempbool1
= (int) TRUE
;
8747 char *_kwnames
[] = { "self","enable", NULL
};
8750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Enable",_kwnames
,&_argo0
,&tempbool1
))
8753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
8759 _arg1
= (bool ) tempbool1
;
8761 wxPy_BEGIN_ALLOW_THREADS
;
8762 wxMenuItem_Enable(_arg0
,_arg1
);
8764 wxPy_END_ALLOW_THREADS
;
8765 } Py_INCREF(Py_None
);
8766 _resultobj
= Py_None
;
8770 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
8771 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8772 PyObject
* _resultobj
;
8775 PyObject
* _argo0
= 0;
8776 char *_kwnames
[] = { "self", NULL
};
8779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsEnabled",_kwnames
,&_argo0
))
8782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
8789 wxPy_BEGIN_ALLOW_THREADS
;
8790 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
8792 wxPy_END_ALLOW_THREADS
;
8793 } _resultobj
= Py_BuildValue("i",_result
);
8797 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
8798 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8799 PyObject
* _resultobj
;
8801 bool _arg1
= (bool ) TRUE
;
8802 PyObject
* _argo0
= 0;
8803 int tempbool1
= (int) TRUE
;
8804 char *_kwnames
[] = { "self","check", NULL
};
8807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Check",_kwnames
,&_argo0
,&tempbool1
))
8810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
8816 _arg1
= (bool ) tempbool1
;
8818 wxPy_BEGIN_ALLOW_THREADS
;
8819 wxMenuItem_Check(_arg0
,_arg1
);
8821 wxPy_END_ALLOW_THREADS
;
8822 } Py_INCREF(Py_None
);
8823 _resultobj
= Py_None
;
8827 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
8828 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8829 PyObject
* _resultobj
;
8832 PyObject
* _argo0
= 0;
8833 char *_kwnames
[] = { "self", NULL
};
8836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsChecked",_kwnames
,&_argo0
))
8839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
8846 wxPy_BEGIN_ALLOW_THREADS
;
8847 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
8849 wxPy_END_ALLOW_THREADS
;
8850 } _resultobj
= Py_BuildValue("i",_result
);
8854 #define wxMenuItem_Toggle(_swigobj) (_swigobj->Toggle())
8855 static PyObject
*_wrap_wxMenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8856 PyObject
* _resultobj
;
8858 PyObject
* _argo0
= 0;
8859 char *_kwnames
[] = { "self", NULL
};
8862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_Toggle",_kwnames
,&_argo0
))
8865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Toggle. Expected _wxMenuItem_p.");
8872 wxPy_BEGIN_ALLOW_THREADS
;
8873 wxMenuItem_Toggle(_arg0
);
8875 wxPy_END_ALLOW_THREADS
;
8876 } Py_INCREF(Py_None
);
8877 _resultobj
= Py_None
;
8881 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
8882 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8883 PyObject
* _resultobj
;
8886 PyObject
* _argo0
= 0;
8887 PyObject
* _obj1
= 0;
8888 char *_kwnames
[] = { "self","str", NULL
};
8891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetHelp",_kwnames
,&_argo0
,&_obj1
))
8894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
8901 if (!PyString_Check(_obj1
)) {
8902 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8905 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
8908 wxPy_BEGIN_ALLOW_THREADS
;
8909 wxMenuItem_SetHelp(_arg0
,*_arg1
);
8911 wxPy_END_ALLOW_THREADS
;
8912 } Py_INCREF(Py_None
);
8913 _resultobj
= Py_None
;
8921 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
8922 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8923 PyObject
* _resultobj
;
8926 PyObject
* _argo0
= 0;
8927 char *_kwnames
[] = { "self", NULL
};
8930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetHelp",_kwnames
,&_argo0
))
8933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
8940 wxPy_BEGIN_ALLOW_THREADS
;
8941 const wxString
& _result_ref
= wxMenuItem_GetHelp(_arg0
);
8942 _result
= (wxString
*) &_result_ref
;
8944 wxPy_END_ALLOW_THREADS
;
8946 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8951 #define wxMenuItem_GetAccel(_swigobj) (_swigobj->GetAccel())
8952 static PyObject
*_wrap_wxMenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8953 PyObject
* _resultobj
;
8954 wxAcceleratorEntry
* _result
;
8956 PyObject
* _argo0
= 0;
8957 char *_kwnames
[] = { "self", NULL
};
8961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetAccel",_kwnames
,&_argo0
))
8964 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8965 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetAccel. Expected _wxMenuItem_p.");
8971 wxPy_BEGIN_ALLOW_THREADS
;
8972 _result
= (wxAcceleratorEntry
*)wxMenuItem_GetAccel(_arg0
);
8974 wxPy_END_ALLOW_THREADS
;
8976 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
8977 _resultobj
= Py_BuildValue("s",_ptemp
);
8980 _resultobj
= Py_None
;
8985 #define wxMenuItem_SetAccel(_swigobj,_swigarg0) (_swigobj->SetAccel(_swigarg0))
8986 static PyObject
*_wrap_wxMenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8987 PyObject
* _resultobj
;
8989 wxAcceleratorEntry
* _arg1
;
8990 PyObject
* _argo0
= 0;
8991 PyObject
* _argo1
= 0;
8992 char *_kwnames
[] = { "self","accel", NULL
};
8995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetAccel",_kwnames
,&_argo0
,&_argo1
))
8998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetAccel. Expected _wxMenuItem_p.");
9005 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9006 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorEntry_p")) {
9007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetAccel. Expected _wxAcceleratorEntry_p.");
9012 wxPy_BEGIN_ALLOW_THREADS
;
9013 wxMenuItem_SetAccel(_arg0
,_arg1
);
9015 wxPy_END_ALLOW_THREADS
;
9016 } Py_INCREF(Py_None
);
9017 _resultobj
= Py_None
;
9021 static PyMethodDef windowscMethods
[] = {
9022 { "wxMenuItem_SetAccel", (PyCFunction
) _wrap_wxMenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
9023 { "wxMenuItem_GetAccel", (PyCFunction
) _wrap_wxMenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
9024 { "wxMenuItem_GetHelp", (PyCFunction
) _wrap_wxMenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
9025 { "wxMenuItem_SetHelp", (PyCFunction
) _wrap_wxMenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
9026 { "wxMenuItem_Toggle", (PyCFunction
) _wrap_wxMenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
9027 { "wxMenuItem_IsChecked", (PyCFunction
) _wrap_wxMenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
9028 { "wxMenuItem_Check", (PyCFunction
) _wrap_wxMenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
9029 { "wxMenuItem_IsEnabled", (PyCFunction
) _wrap_wxMenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9030 { "wxMenuItem_Enable", (PyCFunction
) _wrap_wxMenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
9031 { "wxMenuItem_GetSubMenu", (PyCFunction
) _wrap_wxMenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
9032 { "wxMenuItem_SetSubMenu", (PyCFunction
) _wrap_wxMenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
9033 { "wxMenuItem_IsSubMenu", (PyCFunction
) _wrap_wxMenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
9034 { "wxMenuItem_IsCheckable", (PyCFunction
) _wrap_wxMenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
9035 { "wxMenuItem_SetCheckable", (PyCFunction
) _wrap_wxMenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
9036 { "wxMenuItem_GetText", (PyCFunction
) _wrap_wxMenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
9037 { "wxMenuItem_GetLabel", (PyCFunction
) _wrap_wxMenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9038 { "wxMenuItem_SetText", (PyCFunction
) _wrap_wxMenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
9039 { "wxMenuItem_IsSeparator", (PyCFunction
) _wrap_wxMenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
9040 { "wxMenuItem_GetId", (PyCFunction
) _wrap_wxMenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
9041 { "wxMenuItem_SetId", (PyCFunction
) _wrap_wxMenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
9042 { "wxMenuItem_GetMenu", (PyCFunction
) _wrap_wxMenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
9043 { "new_wxMenuItem", (PyCFunction
) _wrap_new_wxMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
9044 { "wxMenuBar_GetHelpString", (PyCFunction
) _wrap_wxMenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
9045 { "wxMenuBar_SetHelpString", (PyCFunction
) _wrap_wxMenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
9046 { "wxMenuBar_GetLabel", (PyCFunction
) _wrap_wxMenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9047 { "wxMenuBar_SetLabel", (PyCFunction
) _wrap_wxMenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9048 { "wxMenuBar_IsEnabled", (PyCFunction
) _wrap_wxMenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9049 { "wxMenuBar_IsChecked", (PyCFunction
) _wrap_wxMenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
9050 { "wxMenuBar_Check", (PyCFunction
) _wrap_wxMenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
9051 { "wxMenuBar_Enable", (PyCFunction
) _wrap_wxMenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
9052 { "wxMenuBar_FindItemById", (PyCFunction
) _wrap_wxMenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
9053 { "wxMenuBar_FindMenuItem", (PyCFunction
) _wrap_wxMenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
9054 { "wxMenuBar_GetLabelTop", (PyCFunction
) _wrap_wxMenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
9055 { "wxMenuBar_SetLabelTop", (PyCFunction
) _wrap_wxMenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
9056 { "wxMenuBar_EnableTop", (PyCFunction
) _wrap_wxMenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
9057 { "wxMenuBar_Remove", (PyCFunction
) _wrap_wxMenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
9058 { "wxMenuBar_Replace", (PyCFunction
) _wrap_wxMenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
9059 { "wxMenuBar_GetMenu", (PyCFunction
) _wrap_wxMenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
9060 { "wxMenuBar_GetMenuCount", (PyCFunction
) _wrap_wxMenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
9061 { "wxMenuBar_Insert", (PyCFunction
) _wrap_wxMenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
9062 { "wxMenuBar_Append", (PyCFunction
) _wrap_wxMenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
9063 { "new_wxMenuBar", (PyCFunction
) _wrap_new_wxMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
9064 { "wxMenu_GetParent", (PyCFunction
) _wrap_wxMenu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
9065 { "wxMenu_SetParent", (PyCFunction
) _wrap_wxMenu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
9066 { "wxMenu_IsAttached", (PyCFunction
) _wrap_wxMenu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
9067 { "wxMenu_GetStyle", (PyCFunction
) _wrap_wxMenu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
9068 { "wxMenu_GetInvokingWindow", (PyCFunction
) _wrap_wxMenu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
9069 { "wxMenu_SetInvokingWindow", (PyCFunction
) _wrap_wxMenu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
9070 { "wxMenu_GetEventHandler", (PyCFunction
) _wrap_wxMenu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9071 { "wxMenu_SetEventHandler", (PyCFunction
) _wrap_wxMenu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9072 { "wxMenu_GetMenuItems", (PyCFunction
) _wrap_wxMenu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
9073 { "wxMenu_GetMenuItemCount", (PyCFunction
) _wrap_wxMenu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
9074 { "wxMenu_DestroyItem", (PyCFunction
) _wrap_wxMenu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
9075 { "wxMenu_DestroyId", (PyCFunction
) _wrap_wxMenu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
9076 { "wxMenu_Destroy", (PyCFunction
) _wrap_wxMenu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
9077 { "wxMenu_RemoveItem", (PyCFunction
) _wrap_wxMenu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
9078 { "wxMenu_Remove", (PyCFunction
) _wrap_wxMenu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
9079 { "wxMenu_Insert", (PyCFunction
) _wrap_wxMenu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
9080 { "wxMenu_DeleteItem", (PyCFunction
) _wrap_wxMenu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
9081 { "wxMenu_Delete", (PyCFunction
) _wrap_wxMenu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
9082 { "wxMenu_UpdateUI", (PyCFunction
) _wrap_wxMenu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
9083 { "wxMenu_SetHelpString", (PyCFunction
) _wrap_wxMenu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
9084 { "wxMenu_GetHelpString", (PyCFunction
) _wrap_wxMenu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
9085 { "wxMenu_SetLabel", (PyCFunction
) _wrap_wxMenu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9086 { "wxMenu_GetLabel", (PyCFunction
) _wrap_wxMenu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9087 { "wxMenu_SetTitle", (PyCFunction
) _wrap_wxMenu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9088 { "wxMenu_GetTitle", (PyCFunction
) _wrap_wxMenu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9089 { "wxMenu_FindItemById", (PyCFunction
) _wrap_wxMenu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
9090 { "wxMenu_FindItem", (PyCFunction
) _wrap_wxMenu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
9091 { "wxMenu_IsEnabled", (PyCFunction
) _wrap_wxMenu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9092 { "wxMenu_Enable", (PyCFunction
) _wrap_wxMenu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
9093 { "wxMenu_IsChecked", (PyCFunction
) _wrap_wxMenu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
9094 { "wxMenu_Check", (PyCFunction
) _wrap_wxMenu_Check
, METH_VARARGS
| METH_KEYWORDS
},
9095 { "wxMenu_Break", (PyCFunction
) _wrap_wxMenu_Break
, METH_VARARGS
| METH_KEYWORDS
},
9096 { "wxMenu_AppendSeparator", (PyCFunction
) _wrap_wxMenu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
9097 { "wxMenu_AppendItem", (PyCFunction
) _wrap_wxMenu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
9098 { "wxMenu_AppendMenu", (PyCFunction
) _wrap_wxMenu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
9099 { "wxMenu_Append", (PyCFunction
) _wrap_wxMenu_Append
, METH_VARARGS
| METH_KEYWORDS
},
9100 { "new_wxMenu", (PyCFunction
) _wrap_new_wxMenu
, METH_VARARGS
| METH_KEYWORDS
},
9101 { "wxScrolledWindow_CalcUnscrolledPosition", (PyCFunction
) _wrap_wxScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
| METH_KEYWORDS
},
9102 { "wxScrolledWindow_CalcScrolledPosition", (PyCFunction
) _wrap_wxScrolledWindow_CalcScrolledPosition
, METH_VARARGS
| METH_KEYWORDS
},
9103 { "wxScrolledWindow_ViewStart", (PyCFunction
) _wrap_wxScrolledWindow_ViewStart
, METH_VARARGS
| METH_KEYWORDS
},
9104 { "wxScrolledWindow_GetViewStart", (PyCFunction
) _wrap_wxScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
9105 { "wxScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
9106 { "wxScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
9107 { "wxScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
9108 { "wxScrolledWindow_Scroll", (PyCFunction
) _wrap_wxScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
9109 { "wxScrolledWindow_PrepareDC", (PyCFunction
) _wrap_wxScrolledWindow_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
9110 { "wxScrolledWindow_IsRetained", (PyCFunction
) _wrap_wxScrolledWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
9111 { "wxScrolledWindow_GetVirtualSize", (PyCFunction
) _wrap_wxScrolledWindow_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
9112 { "wxScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
9113 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
9114 { "wxScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
9115 { "wxScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_wxScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
9116 { "new_wxScrolledWindow", (PyCFunction
) _wrap_new_wxScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
9117 { "wxDialog_SetReturnCode", (PyCFunction
) _wrap_wxDialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
9118 { "wxDialog_GetReturnCode", (PyCFunction
) _wrap_wxDialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
9119 { "wxDialog_ShowModal", (PyCFunction
) _wrap_wxDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
9120 { "wxDialog_Show", (PyCFunction
) _wrap_wxDialog_Show
, METH_VARARGS
| METH_KEYWORDS
},
9121 { "wxDialog_SetTitle", (PyCFunction
) _wrap_wxDialog_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9122 { "wxDialog_IsModal", (PyCFunction
) _wrap_wxDialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
9123 { "wxDialog_SetModal", (PyCFunction
) _wrap_wxDialog_SetModal
, METH_VARARGS
| METH_KEYWORDS
},
9124 { "wxDialog_IsIconized", (PyCFunction
) _wrap_wxDialog_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
9125 { "wxDialog_Iconize", (PyCFunction
) _wrap_wxDialog_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
9126 { "wxDialog_GetTitle", (PyCFunction
) _wrap_wxDialog_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9127 { "wxDialog_EndModal", (PyCFunction
) _wrap_wxDialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
9128 { "wxDialog_Centre", (PyCFunction
) _wrap_wxDialog_Centre
, METH_VARARGS
| METH_KEYWORDS
},
9129 { "new_wxDialog", (PyCFunction
) _wrap_new_wxDialog
, METH_VARARGS
| METH_KEYWORDS
},
9130 { "wxPanel_SetDefaultItem", (PyCFunction
) _wrap_wxPanel_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
9131 { "wxPanel_GetDefaultItem", (PyCFunction
) _wrap_wxPanel_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
9132 { "wxPanel_InitDialog", (PyCFunction
) _wrap_wxPanel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
9133 { "new_wxPanel", (PyCFunction
) _wrap_new_wxPanel
, METH_VARARGS
| METH_KEYWORDS
},
9134 { "wxWindow_GetCaret", (PyCFunction
) _wrap_wxWindow_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
9135 { "wxWindow_SetCaret", (PyCFunction
) _wrap_wxWindow_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
9136 { "wxWindow_GetBestSize", (PyCFunction
) _wrap_wxWindow_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
9137 { "wxWindow_GetDropTarget", (PyCFunction
) _wrap_wxWindow_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
9138 { "wxWindow_SetDropTarget", (PyCFunction
) _wrap_wxWindow_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
9139 { "wxWindow_SetValidator", (PyCFunction
) _wrap_wxWindow_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
9140 { "wxWindow_GetValidator", (PyCFunction
) _wrap_wxWindow_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
9141 { "wxWindow_GetSizer", (PyCFunction
) _wrap_wxWindow_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
9142 { "wxWindow_SetSizer", (PyCFunction
) _wrap_wxWindow_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
9143 { "wxWindow_GetToolTip", (PyCFunction
) _wrap_wxWindow_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
9144 { "wxWindow_SetToolTip", (PyCFunction
) _wrap_wxWindow_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
9145 { "wxWindow_SetToolTipString", (PyCFunction
) _wrap_wxWindow_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
9146 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
9147 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
9148 { "wxWindow_DLG_SZE", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
9149 { "wxWindow_DLG_PNT", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
9150 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
9151 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
9152 { "wxWindow_WarpPointer", (PyCFunction
) _wrap_wxWindow_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
9153 { "wxWindow_Validate", (PyCFunction
) _wrap_wxWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
},
9154 { "wxWindow_TransferDataToWindow", (PyCFunction
) _wrap_wxWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
9155 { "wxWindow_TransferDataFromWindow", (PyCFunction
) _wrap_wxWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
9156 { "wxWindow_Show", (PyCFunction
) _wrap_wxWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
9157 { "wxWindow_SetTitle", (PyCFunction
) _wrap_wxWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9158 { "wxWindow_SetEventHandler", (PyCFunction
) _wrap_wxWindow_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9159 { "wxWindow_SetCursor", (PyCFunction
) _wrap_wxWindow_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
9160 { "wxWindow_SetClientSize", (PyCFunction
) _wrap_wxWindow_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
9161 { "wxWindow_SetClientSizeWH", (PyCFunction
) _wrap_wxWindow_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
9162 { "wxWindow_SetSizeHints", (PyCFunction
) _wrap_wxWindow_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
9163 { "wxWindow_SetPosition", (PyCFunction
) _wrap_wxWindow_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
9164 { "wxWindow_SetSize", (PyCFunction
) _wrap_wxWindow_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
9165 { "wxWindow_SetDimensions", (PyCFunction
) _wrap_wxWindow_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
9166 { "wxWindow_SetScrollPos", (PyCFunction
) _wrap_wxWindow_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
9167 { "wxWindow_SetScrollbar", (PyCFunction
) _wrap_wxWindow_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
9168 { "wxWindow_SetName", (PyCFunction
) _wrap_wxWindow_SetName
, METH_VARARGS
| METH_KEYWORDS
},
9169 { "wxWindow_SetId", (PyCFunction
) _wrap_wxWindow_SetId
, METH_VARARGS
| METH_KEYWORDS
},
9170 { "wxWindow_SetForegroundColour", (PyCFunction
) _wrap_wxWindow_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9171 { "wxWindow_SetFont", (PyCFunction
) _wrap_wxWindow_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
9172 { "wxWindow_AcceptsFocus", (PyCFunction
) _wrap_wxWindow_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
9173 { "wxWindow_SetFocus", (PyCFunction
) _wrap_wxWindow_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
9174 { "wxWindow_UnsetConstraints", (PyCFunction
) _wrap_wxWindow_UnsetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
9175 { "wxWindow_SetConstraints", (PyCFunction
) _wrap_wxWindow_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
9176 { "wxWindow_SetBackgroundColour", (PyCFunction
) _wrap_wxWindow_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9177 { "wxWindow_GetAutoLayout", (PyCFunction
) _wrap_wxWindow_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
9178 { "wxWindow_SetAutoLayout", (PyCFunction
) _wrap_wxWindow_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
9179 { "wxWindow_SetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
9180 { "wxWindow_ScrollWindow", (PyCFunction
) _wrap_wxWindow_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
9181 { "wxWindow_ScreenToClient", (PyCFunction
) _wrap_wxWindow_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
9182 { "wxWindow_ScreenToClientXY", (PyCFunction
) _wrap_wxWindow_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
9183 { "wxWindow_Reparent", (PyCFunction
) _wrap_wxWindow_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
9184 { "wxWindow_RemoveChild", (PyCFunction
) _wrap_wxWindow_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
9185 { "wxWindow_ReleaseMouse", (PyCFunction
) _wrap_wxWindow_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
9186 { "wxWindow_Refresh", (PyCFunction
) _wrap_wxWindow_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
9187 { "wxWindow_Raise", (PyCFunction
) _wrap_wxWindow_Raise
, METH_VARARGS
| METH_KEYWORDS
},
9188 { "wxWindow_PopupMenu", (PyCFunction
) _wrap_wxWindow_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
9189 { "wxWindow_PopupMenuXY", (PyCFunction
) _wrap_wxWindow_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
9190 { "wxWindow_PushEventHandler", (PyCFunction
) _wrap_wxWindow_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9191 { "wxWindow_PopEventHandler", (PyCFunction
) _wrap_wxWindow_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9192 { "wxWindow_Move", (PyCFunction
) _wrap_wxWindow_Move
, METH_VARARGS
| METH_KEYWORDS
},
9193 { "wxWindow_MoveXY", (PyCFunction
) _wrap_wxWindow_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
9194 { "wxWindow_MakeModal", (PyCFunction
) _wrap_wxWindow_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
9195 { "wxWindow_Lower", (PyCFunction
) _wrap_wxWindow_Lower
, METH_VARARGS
| METH_KEYWORDS
},
9196 { "wxWindow_LoadFromResource", (PyCFunction
) _wrap_wxWindow_LoadFromResource
, METH_VARARGS
| METH_KEYWORDS
},
9197 { "wxWindow_Layout", (PyCFunction
) _wrap_wxWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
9198 { "wxWindow_IsTopLevel", (PyCFunction
) _wrap_wxWindow_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
9199 { "wxWindow_IsShown", (PyCFunction
) _wrap_wxWindow_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
9200 { "wxWindow_IsRetained", (PyCFunction
) _wrap_wxWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
9201 { "wxWindow_IsExposedRect", (PyCFunction
) _wrap_wxWindow_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
9202 { "wxWindow_IsExposedPoint", (PyCFunction
) _wrap_wxWindow_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
9203 { "wxWindow_IsExposed", (PyCFunction
) _wrap_wxWindow_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
9204 { "wxWindow_IsEnabled", (PyCFunction
) _wrap_wxWindow_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9205 { "wxWindow_InitDialog", (PyCFunction
) _wrap_wxWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
9206 { "wxWindow_Hide", (PyCFunction
) _wrap_wxWindow_Hide
, METH_VARARGS
| METH_KEYWORDS
},
9207 { "wxWindow_SetWindowStyle", (PyCFunction
) _wrap_wxWindow_SetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
9208 { "wxWindow_SetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
9209 { "wxWindow_GetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
9210 { "wxWindow_GetUpdateRegion", (PyCFunction
) _wrap_wxWindow_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
9211 { "wxWindow_GetTitle", (PyCFunction
) _wrap_wxWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9212 { "wxWindow_GetFullTextExtent", (PyCFunction
) _wrap_wxWindow_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
9213 { "wxWindow_GetTextExtent", (PyCFunction
) _wrap_wxWindow_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
9214 { "wxWindow_GetSize", (PyCFunction
) _wrap_wxWindow_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
9215 { "wxWindow_GetSizeTuple", (PyCFunction
) _wrap_wxWindow_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
9216 { "wxWindow_GetScrollRange", (PyCFunction
) _wrap_wxWindow_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
9217 { "wxWindow_GetScrollPos", (PyCFunction
) _wrap_wxWindow_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
9218 { "wxWindow_GetScrollThumb", (PyCFunction
) _wrap_wxWindow_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
9219 { "wxWindow_GetRect", (PyCFunction
) _wrap_wxWindow_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
9220 { "wxWindow_GetPosition", (PyCFunction
) _wrap_wxWindow_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
9221 { "wxWindow_GetPositionTuple", (PyCFunction
) _wrap_wxWindow_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
9222 { "wxWindow_GetParent", (PyCFunction
) _wrap_wxWindow_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
9223 { "wxWindow_GetName", (PyCFunction
) _wrap_wxWindow_GetName
, METH_VARARGS
| METH_KEYWORDS
},
9224 { "wxWindow_SetLabel", (PyCFunction
) _wrap_wxWindow_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9225 { "wxWindow_GetLabel", (PyCFunction
) _wrap_wxWindow_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9226 { "wxWindow_GetId", (PyCFunction
) _wrap_wxWindow_GetId
, METH_VARARGS
| METH_KEYWORDS
},
9227 { "wxWindow_GetHandle", (PyCFunction
) _wrap_wxWindow_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
9228 { "wxWindow_GetGrandParent", (PyCFunction
) _wrap_wxWindow_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
9229 { "wxWindow_GetForegroundColour", (PyCFunction
) _wrap_wxWindow_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9230 { "wxWindow_GetFont", (PyCFunction
) _wrap_wxWindow_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
9231 { "wxWindow_GetEventHandler", (PyCFunction
) _wrap_wxWindow_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9232 { "wxWindow_GetConstraints", (PyCFunction
) _wrap_wxWindow_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
9233 { "wxWindow_GetClientSize", (PyCFunction
) _wrap_wxWindow_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
9234 { "wxWindow_GetClientSizeTuple", (PyCFunction
) _wrap_wxWindow_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
9235 { "wxWindow_GetCharWidth", (PyCFunction
) _wrap_wxWindow_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
9236 { "wxWindow_GetCharHeight", (PyCFunction
) _wrap_wxWindow_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
9237 { "wxWindow_GetChildren", (PyCFunction
) _wrap_wxWindow_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
9238 { "wxWindow_GetBackgroundColour", (PyCFunction
) _wrap_wxWindow_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9239 { "wxWindow_Fit", (PyCFunction
) _wrap_wxWindow_Fit
, METH_VARARGS
| METH_KEYWORDS
},
9240 { "wxWindow_FindWindowByName", (PyCFunction
) _wrap_wxWindow_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
9241 { "wxWindow_FindWindowById", (PyCFunction
) _wrap_wxWindow_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
9242 { "wxWindow_Enable", (PyCFunction
) _wrap_wxWindow_Enable
, METH_VARARGS
| METH_KEYWORDS
},
9243 { "wxWindow_DestroyChildren", (PyCFunction
) _wrap_wxWindow_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
9244 { "wxWindow_Destroy", (PyCFunction
) _wrap_wxWindow_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
9245 { "wxWindow_Close", (PyCFunction
) _wrap_wxWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
9246 { "wxWindow_ClientToScreen", (PyCFunction
) _wrap_wxWindow_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
9247 { "wxWindow_ClientToScreenXY", (PyCFunction
) _wrap_wxWindow_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
9248 { "wxWindow_CenterOnScreen", (PyCFunction
) _wrap_wxWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
9249 { "wxWindow_CentreOnScreen", (PyCFunction
) _wrap_wxWindow_CentreOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
9250 { "wxWindow_CenterOnParent", (PyCFunction
) _wrap_wxWindow_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
9251 { "wxWindow_CentreOnParent", (PyCFunction
) _wrap_wxWindow_CentreOnParent
, METH_VARARGS
| METH_KEYWORDS
},
9252 { "wxWindow_Centre", (PyCFunction
) _wrap_wxWindow_Centre
, METH_VARARGS
| METH_KEYWORDS
},
9253 { "wxWindow_Center", (PyCFunction
) _wrap_wxWindow_Center
, METH_VARARGS
| METH_KEYWORDS
},
9254 { "wxWindow_CaptureMouse", (PyCFunction
) _wrap_wxWindow_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
9255 { "new_wxWindow", (PyCFunction
) _wrap_new_wxWindow
, METH_VARARGS
| METH_KEYWORDS
},
9256 { "wxPyValidator__setSelf", (PyCFunction
) _wrap_wxPyValidator__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
9257 { "wxPyValidator_Destroy", (PyCFunction
) _wrap_wxPyValidator_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
9258 { "new_wxPyValidator", (PyCFunction
) _wrap_new_wxPyValidator
, METH_VARARGS
| METH_KEYWORDS
},
9259 { "wxValidator_SetWindow", (PyCFunction
) _wrap_wxValidator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
9260 { "wxValidator_GetWindow", (PyCFunction
) _wrap_wxValidator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
9261 { "wxValidator_Clone", (PyCFunction
) _wrap_wxValidator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
9262 { "new_wxValidator", (PyCFunction
) _wrap_new_wxValidator
, METH_VARARGS
| METH_KEYWORDS
},
9263 { "wxEvtHandler_Disconnect", (PyCFunction
) _wrap_wxEvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
9264 { "wxEvtHandler_Connect", (PyCFunction
) _wrap_wxEvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
9265 { "wxEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
9266 { "wxEvtHandler_SetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
9267 { "wxEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
9268 { "wxEvtHandler_GetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
9269 { "wxEvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9270 { "wxEvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9271 { "wxEvtHandler_AddPendingEvent", (PyCFunction
) _wrap_wxEvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
9272 { "wxEvtHandler_ProcessEvent", (PyCFunction
) _wrap_wxEvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
9273 { "new_wxEvtHandler", (PyCFunction
) _wrap_new_wxEvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
9274 { "wxWindow_PrevControlId", (PyCFunction
) _wrap_wxWindow_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
9275 { "wxWindow_NextControlId", (PyCFunction
) _wrap_wxWindow_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
9276 { "wxWindow_NewControlId", (PyCFunction
) _wrap_wxWindow_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
9277 { "wxWindow_FindFocus", (PyCFunction
) _wrap_wxWindow_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
9278 { "wxValidator_SetBellOnError", (PyCFunction
) _wrap_wxValidator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
9279 { "wxValidator_IsSilent", (PyCFunction
) _wrap_wxValidator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
9286 * This table is used by the pointer type-checker
9288 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
9289 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
9290 { "_signed_long","_long",0},
9291 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
9292 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
9293 { "_wxPrintQuality","_wxCoord",0},
9294 { "_wxPrintQuality","_int",0},
9295 { "_wxPrintQuality","_signed_int",0},
9296 { "_wxPrintQuality","_unsigned_int",0},
9297 { "_wxPrintQuality","_wxWindowID",0},
9298 { "_wxPrintQuality","_uint",0},
9299 { "_wxPrintQuality","_EBool",0},
9300 { "_wxPrintQuality","_size_t",0},
9301 { "_wxPrintQuality","_time_t",0},
9302 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
9303 { "_class_wxRegionIterator","_wxRegionIterator",0},
9304 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
9305 { "_class_wxMenuBar","_wxMenuBar",0},
9306 { "_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
9307 { "_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
9308 { "_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
9309 { "_class_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
9310 { "_class_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
9311 { "_class_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
9312 { "_class_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
9313 { "_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
9314 { "_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
9315 { "_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
9316 { "_class_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
9317 { "_class_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
9318 { "_class_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
9319 { "_class_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
9320 { "_class_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler
},
9321 { "_class_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
9322 { "_class_wxEvtHandler","_wxEvtHandler",0},
9323 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
9324 { "_wxCursor","_class_wxCursor",0},
9325 { "_wxMask","_class_wxMask",0},
9326 { "_wxPen","_class_wxPen",0},
9327 { "_byte","_unsigned_char",0},
9328 { "_wxDataObject","_class_wxDataObject",0},
9329 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
9330 { "_wxPyDropSource","_class_wxPyDropSource",0},
9331 { "_long","_unsigned_long",0},
9332 { "_long","_signed_long",0},
9333 { "_wxImageList","_class_wxImageList",0},
9334 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
9335 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
9336 { "_class_wxClipboard","_wxClipboard",0},
9337 { "_wxDC","_class_wxDC",0},
9338 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
9339 { "_size_t","_wxCoord",0},
9340 { "_size_t","_wxPrintQuality",0},
9341 { "_size_t","_time_t",0},
9342 { "_size_t","_unsigned_int",0},
9343 { "_size_t","_int",0},
9344 { "_size_t","_wxWindowID",0},
9345 { "_size_t","_uint",0},
9346 { "_class_wxRealPoint","_wxRealPoint",0},
9347 { "_class_wxMenuItem","_wxMenuItem",0},
9348 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
9349 { "_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
9350 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
9351 { "_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
9352 { "_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
9353 { "_wxPanel","_class_wxPanel",0},
9354 { "_class_wxMask","_wxMask",0},
9355 { "_wxTextDataObject","_class_wxTextDataObject",0},
9356 { "_wxColour","_class_wxColour",0},
9357 { "_class_wxDialog","_wxDialog",0},
9358 { "_class_wxFileDataObject","_wxFileDataObject",0},
9359 { "_class_wxDataObject","_wxDataObject",0},
9360 { "_wxBrush","_class_wxBrush",0},
9361 { "_wxDataFormat","_class_wxDataFormat",0},
9362 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
9363 { "_uint","_wxCoord",0},
9364 { "_uint","_wxPrintQuality",0},
9365 { "_uint","_time_t",0},
9366 { "_uint","_size_t",0},
9367 { "_uint","_unsigned_int",0},
9368 { "_uint","_int",0},
9369 { "_uint","_wxWindowID",0},
9370 { "_wxChar","_char",0},
9371 { "_wxPyValidator","_class_wxPyValidator",0},
9372 { "_wxRect","_class_wxRect",0},
9373 { "_wxPoint","_class_wxPoint",0},
9374 { "_char","_wxChar",0},
9375 { "_wxBitmap","_class_wxBitmap",0},
9376 { "_wxWindowDC","_class_wxWindowDC",0},
9377 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
9378 { "_class_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator
},
9379 { "_class_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
9380 { "_class_wxValidator","_wxValidator",0},
9381 { "_wxDropTarget","_class_wxDropTarget",0},
9382 { "_EBool","_wxCoord",0},
9383 { "_EBool","_wxPrintQuality",0},
9384 { "_EBool","_signed_int",0},
9385 { "_EBool","_int",0},
9386 { "_EBool","_wxWindowID",0},
9387 { "_class_wxRegion","_wxRegion",0},
9388 { "_class_wxDataFormat","_wxDataFormat",0},
9389 { "_wxFont","_class_wxFont",0},
9390 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
9391 { "_unsigned_long","_long",0},
9392 { "_class_wxRect","_wxRect",0},
9393 { "_class_wxDC","_wxDC",0},
9394 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
9395 { "_class_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
9396 { "_class_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
9397 { "_class_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
9398 { "_class_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
9399 { "_class_wxPanel","_wxPanel",0},
9400 { "_signed_int","_wxCoord",0},
9401 { "_signed_int","_wxPrintQuality",0},
9402 { "_signed_int","_EBool",0},
9403 { "_signed_int","_wxWindowID",0},
9404 { "_signed_int","_int",0},
9405 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
9406 { "_class_wxTextDataObject","_wxTextDataObject",0},
9407 { "_wxMenu","_class_wxMenu",0},
9408 { "_wxScreenDC","_class_wxScreenDC",0},
9409 { "_WXTYPE","_short",0},
9410 { "_WXTYPE","_signed_short",0},
9411 { "_WXTYPE","_unsigned_short",0},
9412 { "_class_wxDropTarget","_wxDropTarget",0},
9413 { "_class_wxBrush","_wxBrush",0},
9414 { "_unsigned_short","_WXTYPE",0},
9415 { "_unsigned_short","_short",0},
9416 { "_class_wxWindow","_class_wxMenuBar",SwigwxMenuBarTowxWindow
},
9417 { "_class_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
9418 { "_class_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
9419 { "_class_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
9420 { "_class_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
9421 { "_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
9422 { "_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
9423 { "_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
9424 { "_class_wxWindow","_wxWindow",0},
9425 { "_class_wxFont","_wxFont",0},
9426 { "_wxClipboard","_class_wxClipboard",0},
9427 { "_class_wxPyValidator","_wxPyValidator",0},
9428 { "_wxBusyInfo","_class_wxBusyInfo",0},
9429 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
9430 { "_wxClientDC","_class_wxClientDC",0},
9431 { "_class_wxPoint","_wxPoint",0},
9432 { "_wxRealPoint","_class_wxRealPoint",0},
9433 { "_signed_short","_WXTYPE",0},
9434 { "_signed_short","_short",0},
9435 { "_wxMemoryDC","_class_wxMemoryDC",0},
9436 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
9437 { "_wxPaintDC","_class_wxPaintDC",0},
9438 { "_class_wxWindowDC","_wxWindowDC",0},
9439 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
9440 { "_class_wxCursor","_wxCursor",0},
9441 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
9442 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
9443 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
9444 { "_unsigned_char","_byte",0},
9445 { "_class_wxMenu","_wxMenu",0},
9446 { "_unsigned_int","_wxCoord",0},
9447 { "_unsigned_int","_wxPrintQuality",0},
9448 { "_unsigned_int","_time_t",0},
9449 { "_unsigned_int","_size_t",0},
9450 { "_unsigned_int","_uint",0},
9451 { "_unsigned_int","_wxWindowID",0},
9452 { "_unsigned_int","_int",0},
9453 { "_wxIcon","_class_wxIcon",0},
9454 { "_wxDialog","_class_wxDialog",0},
9455 { "_class_wxPen","_wxPen",0},
9456 { "_short","_WXTYPE",0},
9457 { "_short","_unsigned_short",0},
9458 { "_short","_signed_short",0},
9459 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
9460 { "_class_wxPyDropSource","_wxPyDropSource",0},
9461 { "_class_wxImageList","_wxImageList",0},
9462 { "_wxWindowID","_wxCoord",0},
9463 { "_wxWindowID","_wxPrintQuality",0},
9464 { "_wxWindowID","_time_t",0},
9465 { "_wxWindowID","_size_t",0},
9466 { "_wxWindowID","_EBool",0},
9467 { "_wxWindowID","_uint",0},
9468 { "_wxWindowID","_int",0},
9469 { "_wxWindowID","_signed_int",0},
9470 { "_wxWindowID","_unsigned_int",0},
9471 { "_int","_wxCoord",0},
9472 { "_int","_wxPrintQuality",0},
9473 { "_int","_time_t",0},
9474 { "_int","_size_t",0},
9475 { "_int","_EBool",0},
9476 { "_int","_uint",0},
9477 { "_int","_wxWindowID",0},
9478 { "_int","_unsigned_int",0},
9479 { "_int","_signed_int",0},
9480 { "_time_t","_wxCoord",0},
9481 { "_time_t","_wxPrintQuality",0},
9482 { "_time_t","_unsigned_int",0},
9483 { "_time_t","_int",0},
9484 { "_time_t","_wxWindowID",0},
9485 { "_time_t","_uint",0},
9486 { "_time_t","_size_t",0},
9487 { "_wxSize","_class_wxSize",0},
9488 { "_wxRegionIterator","_class_wxRegionIterator",0},
9489 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
9490 { "_class_wxPaintDC","_wxPaintDC",0},
9491 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
9492 { "_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator
},
9493 { "_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
9494 { "_wxValidator","_class_wxValidator",0},
9495 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
9496 { "_class_wxIcon","_wxIcon",0},
9497 { "_class_wxColour","_wxColour",0},
9498 { "_class_wxScreenDC","_wxScreenDC",0},
9499 { "_wxPalette","_class_wxPalette",0},
9500 { "_wxCoord","_int",0},
9501 { "_wxCoord","_signed_int",0},
9502 { "_wxCoord","_unsigned_int",0},
9503 { "_wxCoord","_wxWindowID",0},
9504 { "_wxCoord","_uint",0},
9505 { "_wxCoord","_EBool",0},
9506 { "_wxCoord","_size_t",0},
9507 { "_wxCoord","_time_t",0},
9508 { "_wxCoord","_wxPrintQuality",0},
9509 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
9510 { "_wxRegion","_class_wxRegion",0},
9511 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
9512 { "_class_wxBusyInfo","_wxBusyInfo",0},
9513 { "_class_wxClientDC","_wxClientDC",0},
9514 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
9515 { "_class_wxSize","_wxSize",0},
9516 { "_class_wxBitmap","_wxBitmap",0},
9517 { "_class_wxMemoryDC","_wxMemoryDC",0},
9518 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
9519 { "_wxMenuBar","_class_wxMenuBar",0},
9520 { "_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
9521 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
9522 { "_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
9523 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
9524 { "_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
9525 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
9526 { "_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
9527 { "_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
9528 { "_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
9529 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
9530 { "_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
9531 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
9532 { "_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
9533 { "_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
9534 { "_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler
},
9535 { "_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
9536 { "_wxEvtHandler","_class_wxEvtHandler",0},
9537 { "_wxMenuItem","_class_wxMenuItem",0},
9538 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
9539 { "_class_wxPalette","_wxPalette",0},
9540 { "_wxFileDataObject","_class_wxFileDataObject",0},
9541 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
9542 { "_wxWindow","_class_wxMenuBar",SwigwxMenuBarTowxWindow
},
9543 { "_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
9544 { "_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
9545 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
9546 { "_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
9547 { "_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
9548 { "_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
9549 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
9550 { "_wxWindow","_class_wxWindow",0},
9553 static PyObject
*SWIG_globals
;
9557 SWIGEXPORT(void) initwindowsc() {
9559 SWIG_globals
= SWIG_newvarlink();
9560 m
= Py_InitModule("windowsc", windowscMethods
);
9561 d
= PyModule_GetDict(m
);
9564 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
9565 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);