2 * FILE : msw/windows.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 810)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initwindowsc
54 #define SWIG_name "windowsc"
57 #include <wx/menuitem.h>
59 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
64 } else if (target
== Py_None
) {
68 if (!PyList_Check(target
)) {
70 target
= PyList_New(0);
71 PyList_Append(target
, o2
);
74 PyList_Append(target
,o
);
80 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
86 } else if (target
== Py_None
) {
90 if (!PyTuple_Check(target
)) {
92 target
= PyTuple_New(1);
93 PyTuple_SetItem(target
, 0, o2
);
96 PyTuple_SetItem(o3
, 0, o
);
99 target
= PySequence_Concat(o2
, o3
);
106 static char* wxStringErrorMsg
= "string type is required for parameter";
108 bool wxValidator_IsSilent() {
109 return wxValidator::IsSilent();
112 void wxValidator_SetBellOnError(int doIt
= TRUE
) {
113 wxValidator::SetBellOnError(doIt
);
116 class wxPyValidator
: public wxValidator
{
117 DECLARE_DYNAMIC_CLASS(wxPyValidator
);
121 // wxPyValidator(const wxPyValidator& other);
126 wxObject
* wxPyValidator::Clone() const {
127 wxPyValidator
* ptr
= NULL
;
128 wxPyValidator
* self
= (wxPyValidator
*)this;
130 bool doSave
= wxPyRestoreThread();
131 if (self
->m_myInst
.findCallback("Clone")) {
133 ro
= self
->m_myInst
.callCallbackObj(Py_BuildValue("()"));
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 wxWindow
* wxWindow_FromHWND(unsigned long hWnd
) {
169 wxWindow
* win
= new wxWindow
;
171 win
->SubclassWin(hWnd
);
175 int wxWindow_NewControlId() {
176 return wxWindow::NewControlId();
178 int wxWindow_NextControlId(int id
) {
179 return wxWindow::NextControlId(id
);
181 int wxWindow_PrevControlId(int id
) {
182 return wxWindow::PrevControlId(id
);
187 static PyObject
*_wrap_wxValidator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
188 PyObject
* _resultobj
;
190 char *_kwnames
[] = { NULL
};
193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxValidator_IsSilent",_kwnames
))
196 wxPy_BEGIN_ALLOW_THREADS
;
197 _result
= (bool )wxValidator_IsSilent();
199 wxPy_END_ALLOW_THREADS
;
200 } _resultobj
= Py_BuildValue("i",_result
);
204 static PyObject
*_wrap_wxValidator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
205 PyObject
* _resultobj
;
206 int _arg0
= (int ) TRUE
;
207 char *_kwnames
[] = { "doIt", NULL
};
210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxValidator_SetBellOnError",_kwnames
,&_arg0
))
213 wxPy_BEGIN_ALLOW_THREADS
;
214 wxValidator_SetBellOnError(_arg0
);
216 wxPy_END_ALLOW_THREADS
;
217 } Py_INCREF(Py_None
);
218 _resultobj
= Py_None
;
222 static PyObject
*_wrap_wxWindow_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
223 PyObject
* _resultobj
;
225 char *_kwnames
[] = { NULL
};
229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_FindFocus",_kwnames
))
232 wxPy_BEGIN_ALLOW_THREADS
;
233 _result
= (wxWindow
*)wxWindow_FindFocus();
235 wxPy_END_ALLOW_THREADS
;
237 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
238 _resultobj
= Py_BuildValue("s",_ptemp
);
241 _resultobj
= Py_None
;
246 static PyObject
*_wrap_wxWindow_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
247 PyObject
* _resultobj
;
250 char *_kwnames
[] = { "hWnd", NULL
};
254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxWindow_FromHWND",_kwnames
,&_arg0
))
257 wxPy_BEGIN_ALLOW_THREADS
;
258 _result
= (wxWindow
*)wxWindow_FromHWND(_arg0
);
260 wxPy_END_ALLOW_THREADS
;
262 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
263 _resultobj
= Py_BuildValue("s",_ptemp
);
266 _resultobj
= Py_None
;
271 static PyObject
*_wrap_wxWindow_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
272 PyObject
* _resultobj
;
274 char *_kwnames
[] = { NULL
};
277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_NewControlId",_kwnames
))
280 wxPy_BEGIN_ALLOW_THREADS
;
281 _result
= (int )wxWindow_NewControlId();
283 wxPy_END_ALLOW_THREADS
;
284 } _resultobj
= Py_BuildValue("i",_result
);
288 static PyObject
*_wrap_wxWindow_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
289 PyObject
* _resultobj
;
292 char *_kwnames
[] = { "id", NULL
};
295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_NextControlId",_kwnames
,&_arg0
))
298 wxPy_BEGIN_ALLOW_THREADS
;
299 _result
= (int )wxWindow_NextControlId(_arg0
);
301 wxPy_END_ALLOW_THREADS
;
302 } _resultobj
= Py_BuildValue("i",_result
);
306 static PyObject
*_wrap_wxWindow_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
307 PyObject
* _resultobj
;
310 char *_kwnames
[] = { "id", NULL
};
313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_PrevControlId",_kwnames
,&_arg0
))
316 wxPy_BEGIN_ALLOW_THREADS
;
317 _result
= (int )wxWindow_PrevControlId(_arg0
);
319 wxPy_END_ALLOW_THREADS
;
320 } _resultobj
= Py_BuildValue("i",_result
);
324 #define wxEvtHandler_ProcessEvent(_swigobj,_swigarg0) (_swigobj->ProcessEvent(_swigarg0))
325 static PyObject
*_wrap_wxEvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
326 PyObject
* _resultobj
;
328 wxEvtHandler
* _arg0
;
330 PyObject
* _argo0
= 0;
331 PyObject
* _argo1
= 0;
332 char *_kwnames
[] = { "self","event", NULL
};
335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_ProcessEvent",_kwnames
,&_argo0
,&_argo1
))
338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_ProcessEvent. Expected _wxEvtHandler_p.");
345 if (_argo1
== Py_None
) { _arg1
= NULL
; }
346 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_ProcessEvent. Expected _wxEvent_p.");
352 wxPy_BEGIN_ALLOW_THREADS
;
353 _result
= (bool )wxEvtHandler_ProcessEvent(_arg0
,*_arg1
);
355 wxPy_END_ALLOW_THREADS
;
356 } _resultobj
= Py_BuildValue("i",_result
);
360 #define wxEvtHandler_AddPendingEvent(_swigobj,_swigarg0) (_swigobj->AddPendingEvent(_swigarg0))
361 static PyObject
*_wrap_wxEvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
362 PyObject
* _resultobj
;
363 wxEvtHandler
* _arg0
;
365 PyObject
* _argo0
= 0;
366 PyObject
* _argo1
= 0;
367 char *_kwnames
[] = { "self","event", NULL
};
370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_AddPendingEvent",_kwnames
,&_argo0
,&_argo1
))
373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_AddPendingEvent. Expected _wxEvtHandler_p.");
380 if (_argo1
== Py_None
) { _arg1
= NULL
; }
381 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_AddPendingEvent. Expected _wxEvent_p.");
387 wxPy_BEGIN_ALLOW_THREADS
;
388 wxEvtHandler_AddPendingEvent(_arg0
,*_arg1
);
390 wxPy_END_ALLOW_THREADS
;
391 } Py_INCREF(Py_None
);
392 _resultobj
= Py_None
;
396 #define wxEvtHandler_GetEvtHandlerEnabled(_swigobj) (_swigobj->GetEvtHandlerEnabled())
397 static PyObject
*_wrap_wxEvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
398 PyObject
* _resultobj
;
400 wxEvtHandler
* _arg0
;
401 PyObject
* _argo0
= 0;
402 char *_kwnames
[] = { "self", NULL
};
405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetEvtHandlerEnabled",_kwnames
,&_argo0
))
408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
415 wxPy_BEGIN_ALLOW_THREADS
;
416 _result
= (bool )wxEvtHandler_GetEvtHandlerEnabled(_arg0
);
418 wxPy_END_ALLOW_THREADS
;
419 } _resultobj
= Py_BuildValue("i",_result
);
423 #define wxEvtHandler_SetEvtHandlerEnabled(_swigobj,_swigarg0) (_swigobj->SetEvtHandlerEnabled(_swigarg0))
424 static PyObject
*_wrap_wxEvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
425 PyObject
* _resultobj
;
426 wxEvtHandler
* _arg0
;
428 PyObject
* _argo0
= 0;
430 char *_kwnames
[] = { "self","enabled", NULL
};
433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxEvtHandler_SetEvtHandlerEnabled",_kwnames
,&_argo0
,&tempbool1
))
436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
442 _arg1
= (bool ) tempbool1
;
444 wxPy_BEGIN_ALLOW_THREADS
;
445 wxEvtHandler_SetEvtHandlerEnabled(_arg0
,_arg1
);
447 wxPy_END_ALLOW_THREADS
;
448 } Py_INCREF(Py_None
);
449 _resultobj
= Py_None
;
453 #define wxEvtHandler_GetNextHandler(_swigobj) (_swigobj->GetNextHandler())
454 static PyObject
*_wrap_wxEvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
455 PyObject
* _resultobj
;
456 wxEvtHandler
* _result
;
457 wxEvtHandler
* _arg0
;
458 PyObject
* _argo0
= 0;
459 char *_kwnames
[] = { "self", NULL
};
463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetNextHandler",_kwnames
,&_argo0
))
466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetNextHandler. Expected _wxEvtHandler_p.");
473 wxPy_BEGIN_ALLOW_THREADS
;
474 _result
= (wxEvtHandler
*)wxEvtHandler_GetNextHandler(_arg0
);
476 wxPy_END_ALLOW_THREADS
;
478 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
479 _resultobj
= Py_BuildValue("s",_ptemp
);
482 _resultobj
= Py_None
;
487 #define wxEvtHandler_GetPreviousHandler(_swigobj) (_swigobj->GetPreviousHandler())
488 static PyObject
*_wrap_wxEvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
489 PyObject
* _resultobj
;
490 wxEvtHandler
* _result
;
491 wxEvtHandler
* _arg0
;
492 PyObject
* _argo0
= 0;
493 char *_kwnames
[] = { "self", NULL
};
497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetPreviousHandler",_kwnames
,&_argo0
))
500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetPreviousHandler. Expected _wxEvtHandler_p.");
507 wxPy_BEGIN_ALLOW_THREADS
;
508 _result
= (wxEvtHandler
*)wxEvtHandler_GetPreviousHandler(_arg0
);
510 wxPy_END_ALLOW_THREADS
;
512 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
513 _resultobj
= Py_BuildValue("s",_ptemp
);
516 _resultobj
= Py_None
;
521 #define wxEvtHandler_SetNextHandler(_swigobj,_swigarg0) (_swigobj->SetNextHandler(_swigarg0))
522 static PyObject
*_wrap_wxEvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
523 PyObject
* _resultobj
;
524 wxEvtHandler
* _arg0
;
525 wxEvtHandler
* _arg1
;
526 PyObject
* _argo0
= 0;
527 PyObject
* _argo1
= 0;
528 char *_kwnames
[] = { "self","handler", NULL
};
531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetNextHandler",_kwnames
,&_argo0
,&_argo1
))
534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
541 if (_argo1
== Py_None
) { _arg1
= NULL
; }
542 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
548 wxPy_BEGIN_ALLOW_THREADS
;
549 wxEvtHandler_SetNextHandler(_arg0
,_arg1
);
551 wxPy_END_ALLOW_THREADS
;
552 } Py_INCREF(Py_None
);
553 _resultobj
= Py_None
;
557 #define wxEvtHandler_SetPreviousHandler(_swigobj,_swigarg0) (_swigobj->SetPreviousHandler(_swigarg0))
558 static PyObject
*_wrap_wxEvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
559 PyObject
* _resultobj
;
560 wxEvtHandler
* _arg0
;
561 wxEvtHandler
* _arg1
;
562 PyObject
* _argo0
= 0;
563 PyObject
* _argo1
= 0;
564 char *_kwnames
[] = { "self","handler", NULL
};
567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetPreviousHandler",_kwnames
,&_argo0
,&_argo1
))
570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
577 if (_argo1
== Py_None
) { _arg1
= NULL
; }
578 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
584 wxPy_BEGIN_ALLOW_THREADS
;
585 wxEvtHandler_SetPreviousHandler(_arg0
,_arg1
);
587 wxPy_END_ALLOW_THREADS
;
588 } Py_INCREF(Py_None
);
589 _resultobj
= Py_None
;
593 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
* func
) {
594 if (PyCallable_Check(func
)) {
595 self
->Connect(id
, lastId
, eventType
,
596 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
597 new wxPyCallback(func
));
600 static PyObject
*_wrap_wxEvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
601 PyObject
* _resultobj
;
602 wxEvtHandler
* _arg0
;
607 PyObject
* _argo0
= 0;
608 PyObject
* _obj4
= 0;
609 char *_kwnames
[] = { "self","id","lastId","eventType","func", NULL
};
612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiiO:wxEvtHandler_Connect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
625 wxPy_BEGIN_ALLOW_THREADS
;
626 wxEvtHandler_Connect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
628 wxPy_END_ALLOW_THREADS
;
629 } Py_INCREF(Py_None
);
630 _resultobj
= Py_None
;
634 static bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
) {
635 return self
->Disconnect(id
, lastId
, eventType
,
636 (wxObjectEventFunction
)
637 &wxPyCallback::EventThunker
);
639 static PyObject
*_wrap_wxEvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
640 PyObject
* _resultobj
;
642 wxEvtHandler
* _arg0
;
644 int _arg2
= (int ) -1;
645 wxEventType _arg3
= (wxEventType
) wxEVT_NULL
;
646 PyObject
* _argo0
= 0;
647 char *_kwnames
[] = { "self","id","lastId","eventType", NULL
};
650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxEvtHandler_Disconnect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Disconnect. Expected _wxEvtHandler_p.");
660 wxPy_BEGIN_ALLOW_THREADS
;
661 _result
= (bool )wxEvtHandler_Disconnect(_arg0
,_arg1
,_arg2
,_arg3
);
663 wxPy_END_ALLOW_THREADS
;
664 } _resultobj
= Py_BuildValue("i",_result
);
668 static void *SwigwxValidatorTowxEvtHandler(void *ptr
) {
671 src
= (wxValidator
*) ptr
;
672 dest
= (wxEvtHandler
*) src
;
673 return (void *) dest
;
676 #define new_wxValidator() (new wxValidator())
677 static PyObject
*_wrap_new_wxValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
678 PyObject
* _resultobj
;
679 wxValidator
* _result
;
680 char *_kwnames
[] = { NULL
};
684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxValidator",_kwnames
))
687 wxPy_BEGIN_ALLOW_THREADS
;
688 _result
= (wxValidator
*)new_wxValidator();
690 wxPy_END_ALLOW_THREADS
;
692 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
693 _resultobj
= Py_BuildValue("s",_ptemp
);
696 _resultobj
= Py_None
;
701 #define wxValidator_Clone(_swigobj) (_swigobj->Clone())
702 static PyObject
*_wrap_wxValidator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
703 PyObject
* _resultobj
;
704 wxValidator
* _result
;
706 PyObject
* _argo0
= 0;
707 char *_kwnames
[] = { "self", NULL
};
711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_Clone",_kwnames
,&_argo0
))
714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_Clone. Expected _wxValidator_p.");
721 wxPy_BEGIN_ALLOW_THREADS
;
722 _result
= (wxValidator
*)wxValidator_Clone(_arg0
);
724 wxPy_END_ALLOW_THREADS
;
726 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
727 _resultobj
= Py_BuildValue("s",_ptemp
);
730 _resultobj
= Py_None
;
735 #define wxValidator_GetWindow(_swigobj) (_swigobj->GetWindow())
736 static PyObject
*_wrap_wxValidator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
737 PyObject
* _resultobj
;
740 PyObject
* _argo0
= 0;
741 char *_kwnames
[] = { "self", NULL
};
745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_GetWindow",_kwnames
,&_argo0
))
748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_GetWindow. Expected _wxValidator_p.");
755 wxPy_BEGIN_ALLOW_THREADS
;
756 _result
= (wxWindow
*)wxValidator_GetWindow(_arg0
);
758 wxPy_END_ALLOW_THREADS
;
760 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
761 _resultobj
= Py_BuildValue("s",_ptemp
);
764 _resultobj
= Py_None
;
769 #define wxValidator_SetWindow(_swigobj,_swigarg0) (_swigobj->SetWindow(_swigarg0))
770 static PyObject
*_wrap_wxValidator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
771 PyObject
* _resultobj
;
774 PyObject
* _argo0
= 0;
775 PyObject
* _argo1
= 0;
776 char *_kwnames
[] = { "self","window", NULL
};
779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxValidator_SetWindow",_kwnames
,&_argo0
,&_argo1
))
782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_SetWindow. Expected _wxValidator_p.");
789 if (_argo1
== Py_None
) { _arg1
= NULL
; }
790 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxValidator_SetWindow. Expected _wxWindow_p.");
796 wxPy_BEGIN_ALLOW_THREADS
;
797 wxValidator_SetWindow(_arg0
,_arg1
);
799 wxPy_END_ALLOW_THREADS
;
800 } Py_INCREF(Py_None
);
801 _resultobj
= Py_None
;
805 static void *SwigwxPyValidatorTowxValidator(void *ptr
) {
808 src
= (wxPyValidator
*) ptr
;
809 dest
= (wxValidator
*) src
;
810 return (void *) dest
;
813 static void *SwigwxPyValidatorTowxEvtHandler(void *ptr
) {
816 src
= (wxPyValidator
*) ptr
;
817 dest
= (wxEvtHandler
*) src
;
818 return (void *) dest
;
821 #define new_wxPyValidator() (new wxPyValidator())
822 static PyObject
*_wrap_new_wxPyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
823 PyObject
* _resultobj
;
824 wxPyValidator
* _result
;
825 char *_kwnames
[] = { NULL
};
829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyValidator",_kwnames
))
832 wxPy_BEGIN_ALLOW_THREADS
;
833 _result
= (wxPyValidator
*)new_wxPyValidator();
835 wxPy_END_ALLOW_THREADS
;
837 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyValidator_p");
838 _resultobj
= Py_BuildValue("s",_ptemp
);
841 _resultobj
= Py_None
;
846 static void wxPyValidator_Destroy(wxPyValidator
*self
) { delete self
; }
847 static PyObject
*_wrap_wxPyValidator_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
848 PyObject
* _resultobj
;
849 wxPyValidator
* _arg0
;
850 PyObject
* _argo0
= 0;
851 char *_kwnames
[] = { "self", NULL
};
854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyValidator_Destroy",_kwnames
,&_argo0
))
857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyValidator_p")) {
859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyValidator_Destroy. Expected _wxPyValidator_p.");
864 wxPy_BEGIN_ALLOW_THREADS
;
865 wxPyValidator_Destroy(_arg0
);
867 wxPy_END_ALLOW_THREADS
;
868 } Py_INCREF(Py_None
);
869 _resultobj
= Py_None
;
873 #define wxPyValidator__setSelf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->_setSelf(_swigarg0,_swigarg1,_swigarg2))
874 static PyObject
*_wrap_wxPyValidator__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
875 PyObject
* _resultobj
;
876 wxPyValidator
* _arg0
;
879 int _arg3
= (int ) TRUE
;
880 PyObject
* _argo0
= 0;
881 PyObject
* _obj1
= 0;
882 PyObject
* _obj2
= 0;
883 char *_kwnames
[] = { "self","self","_class","incref", NULL
};
886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPyValidator__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
))
889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyValidator_p")) {
891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyValidator__setSelf. Expected _wxPyValidator_p.");
902 wxPy_BEGIN_ALLOW_THREADS
;
903 wxPyValidator__setSelf(_arg0
,_arg1
,_arg2
,_arg3
);
905 wxPy_END_ALLOW_THREADS
;
906 } Py_INCREF(Py_None
);
907 _resultobj
= Py_None
;
911 static void *SwigwxWindowTowxEvtHandler(void *ptr
) {
914 src
= (wxWindow
*) ptr
;
915 dest
= (wxEvtHandler
*) src
;
916 return (void *) dest
;
919 #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
920 static PyObject
*_wrap_new_wxWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
921 PyObject
* _resultobj
;
925 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
926 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
927 long _arg4
= (long ) 0;
928 char * _arg5
= (char *) "panel";
929 PyObject
* _argo0
= 0;
931 PyObject
* _obj2
= 0;
933 PyObject
* _obj3
= 0;
934 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
950 if (! wxPoint_helper(_obj2
, &_arg2
))
956 if (! wxSize_helper(_obj3
, &_arg3
))
960 wxPy_BEGIN_ALLOW_THREADS
;
961 _result
= (wxWindow
*)new_wxWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
963 wxPy_END_ALLOW_THREADS
;
965 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
966 _resultobj
= Py_BuildValue("s",_ptemp
);
969 _resultobj
= Py_None
;
974 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
975 static PyObject
*_wrap_wxWindow_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
976 PyObject
* _resultobj
;
978 PyObject
* _argo0
= 0;
979 char *_kwnames
[] = { "self", NULL
};
982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_CaptureMouse",_kwnames
,&_argo0
))
985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
992 wxPy_BEGIN_ALLOW_THREADS
;
993 wxWindow_CaptureMouse(_arg0
);
995 wxPy_END_ALLOW_THREADS
;
996 } Py_INCREF(Py_None
);
997 _resultobj
= Py_None
;
1001 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
1002 static PyObject
*_wrap_wxWindow_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1003 PyObject
* _resultobj
;
1005 int _arg1
= (int ) wxBOTH
;
1006 PyObject
* _argo0
= 0;
1007 char *_kwnames
[] = { "self","direction", NULL
};
1010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Center",_kwnames
,&_argo0
,&_arg1
))
1013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
1020 wxPy_BEGIN_ALLOW_THREADS
;
1021 wxWindow_Center(_arg0
,_arg1
);
1023 wxPy_END_ALLOW_THREADS
;
1024 } Py_INCREF(Py_None
);
1025 _resultobj
= Py_None
;
1029 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
1030 static PyObject
*_wrap_wxWindow_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1031 PyObject
* _resultobj
;
1033 int _arg1
= (int ) wxBOTH
;
1034 PyObject
* _argo0
= 0;
1035 char *_kwnames
[] = { "self","direction", NULL
};
1038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Centre",_kwnames
,&_argo0
,&_arg1
))
1041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
1048 wxPy_BEGIN_ALLOW_THREADS
;
1049 wxWindow_Centre(_arg0
,_arg1
);
1051 wxPy_END_ALLOW_THREADS
;
1052 } Py_INCREF(Py_None
);
1053 _resultobj
= Py_None
;
1057 #define wxWindow_CentreOnParent(_swigobj,_swigarg0) (_swigobj->CentreOnParent(_swigarg0))
1058 static PyObject
*_wrap_wxWindow_CentreOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1059 PyObject
* _resultobj
;
1061 int _arg1
= (int ) wxBOTH
;
1062 PyObject
* _argo0
= 0;
1063 char *_kwnames
[] = { "self","direction", NULL
};
1066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnParent",_kwnames
,&_argo0
,&_arg1
))
1069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnParent. Expected _wxWindow_p.");
1076 wxPy_BEGIN_ALLOW_THREADS
;
1077 wxWindow_CentreOnParent(_arg0
,_arg1
);
1079 wxPy_END_ALLOW_THREADS
;
1080 } Py_INCREF(Py_None
);
1081 _resultobj
= Py_None
;
1085 #define wxWindow_CenterOnParent(_swigobj,_swigarg0) (_swigobj->CenterOnParent(_swigarg0))
1086 static PyObject
*_wrap_wxWindow_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1087 PyObject
* _resultobj
;
1089 int _arg1
= (int ) wxBOTH
;
1090 PyObject
* _argo0
= 0;
1091 char *_kwnames
[] = { "self","direction", NULL
};
1094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnParent",_kwnames
,&_argo0
,&_arg1
))
1097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnParent. Expected _wxWindow_p.");
1104 wxPy_BEGIN_ALLOW_THREADS
;
1105 wxWindow_CenterOnParent(_arg0
,_arg1
);
1107 wxPy_END_ALLOW_THREADS
;
1108 } Py_INCREF(Py_None
);
1109 _resultobj
= Py_None
;
1113 #define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
1114 static PyObject
*_wrap_wxWindow_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1115 PyObject
* _resultobj
;
1119 PyObject
* _argo0
= 0;
1121 PyObject
* _obj1
= 0;
1123 PyObject
* _obj2
= 0;
1124 char *_kwnames
[] = { "self","x","y", NULL
};
1127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ClientToScreenXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
1137 temp
= (int) PyInt_AsLong(_obj1
);
1141 temp0
= (int) PyInt_AsLong(_obj2
);
1145 wxPy_BEGIN_ALLOW_THREADS
;
1146 wxWindow_ClientToScreenXY(_arg0
,_arg1
,_arg2
);
1148 wxPy_END_ALLOW_THREADS
;
1149 } Py_INCREF(Py_None
);
1150 _resultobj
= Py_None
;
1153 o
= PyInt_FromLong((long) (*_arg1
));
1154 _resultobj
= t_output_helper(_resultobj
, o
);
1158 o
= PyInt_FromLong((long) (*_arg2
));
1159 _resultobj
= t_output_helper(_resultobj
, o
);
1164 #define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
1165 static PyObject
*_wrap_wxWindow_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1166 PyObject
* _resultobj
;
1170 PyObject
* _argo0
= 0;
1172 PyObject
* _obj1
= 0;
1173 char *_kwnames
[] = { "self","pt", NULL
};
1177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ClientToScreen",_kwnames
,&_argo0
,&_obj1
))
1180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
1188 if (! wxPoint_helper(_obj1
, &_arg1
))
1192 wxPy_BEGIN_ALLOW_THREADS
;
1193 _result
= new wxPoint (wxWindow_ClientToScreen(_arg0
,*_arg1
));
1195 wxPy_END_ALLOW_THREADS
;
1196 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1197 _resultobj
= Py_BuildValue("s",_ptemp
);
1201 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
1202 static PyObject
*_wrap_wxWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1203 PyObject
* _resultobj
;
1206 int _arg1
= (int ) FALSE
;
1207 PyObject
* _argo0
= 0;
1208 char *_kwnames
[] = { "self","force", NULL
};
1211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Close",_kwnames
,&_argo0
,&_arg1
))
1214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
1221 wxPy_BEGIN_ALLOW_THREADS
;
1222 _result
= (bool )wxWindow_Close(_arg0
,_arg1
);
1224 wxPy_END_ALLOW_THREADS
;
1225 } _resultobj
= Py_BuildValue("i",_result
);
1229 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
1230 static PyObject
*_wrap_wxWindow_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1231 PyObject
* _resultobj
;
1234 PyObject
* _argo0
= 0;
1235 char *_kwnames
[] = { "self", NULL
};
1238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Destroy",_kwnames
,&_argo0
))
1241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
1248 wxPy_BEGIN_ALLOW_THREADS
;
1249 _result
= (bool )wxWindow_Destroy(_arg0
);
1251 wxPy_END_ALLOW_THREADS
;
1252 } _resultobj
= Py_BuildValue("i",_result
);
1256 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
1257 static PyObject
*_wrap_wxWindow_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1258 PyObject
* _resultobj
;
1260 PyObject
* _argo0
= 0;
1261 char *_kwnames
[] = { "self", NULL
};
1264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_DestroyChildren",_kwnames
,&_argo0
))
1267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
1274 wxPy_BEGIN_ALLOW_THREADS
;
1275 wxWindow_DestroyChildren(_arg0
);
1277 wxPy_END_ALLOW_THREADS
;
1278 } Py_INCREF(Py_None
);
1279 _resultobj
= Py_None
;
1283 #define wxWindow_DragAcceptFiles(_swigobj,_swigarg0) (_swigobj->DragAcceptFiles(_swigarg0))
1284 static PyObject
*_wrap_wxWindow_DragAcceptFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1285 PyObject
* _resultobj
;
1288 PyObject
* _argo0
= 0;
1290 char *_kwnames
[] = { "self","accept", NULL
};
1293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_DragAcceptFiles",_kwnames
,&_argo0
,&tempbool1
))
1296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DragAcceptFiles. Expected _wxWindow_p.");
1302 _arg1
= (bool ) tempbool1
;
1304 wxPy_BEGIN_ALLOW_THREADS
;
1305 wxWindow_DragAcceptFiles(_arg0
,_arg1
);
1307 wxPy_END_ALLOW_THREADS
;
1308 } Py_INCREF(Py_None
);
1309 _resultobj
= Py_None
;
1313 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
1314 static PyObject
*_wrap_wxWindow_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1315 PyObject
* _resultobj
;
1318 PyObject
* _argo0
= 0;
1320 char *_kwnames
[] = { "self","enable", NULL
};
1323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Enable",_kwnames
,&_argo0
,&tempbool1
))
1326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
1332 _arg1
= (bool ) tempbool1
;
1334 wxPy_BEGIN_ALLOW_THREADS
;
1335 wxWindow_Enable(_arg0
,_arg1
);
1337 wxPy_END_ALLOW_THREADS
;
1338 } Py_INCREF(Py_None
);
1339 _resultobj
= Py_None
;
1343 #define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1344 static PyObject
*_wrap_wxWindow_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1345 PyObject
* _resultobj
;
1349 PyObject
* _argo0
= 0;
1350 char *_kwnames
[] = { "self","id", NULL
};
1354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_FindWindowById",_kwnames
,&_argo0
,&_arg1
))
1357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
1364 wxPy_BEGIN_ALLOW_THREADS
;
1365 _result
= (wxWindow
*)wxWindow_FindWindowById(_arg0
,_arg1
);
1367 wxPy_END_ALLOW_THREADS
;
1369 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1370 _resultobj
= Py_BuildValue("s",_ptemp
);
1373 _resultobj
= Py_None
;
1378 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1379 static PyObject
*_wrap_wxWindow_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1380 PyObject
* _resultobj
;
1384 PyObject
* _argo0
= 0;
1385 PyObject
* _obj1
= 0;
1386 char *_kwnames
[] = { "self","name", NULL
};
1390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_FindWindowByName",_kwnames
,&_argo0
,&_obj1
))
1393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
1400 if (!PyString_Check(_obj1
)) {
1401 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1404 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1407 wxPy_BEGIN_ALLOW_THREADS
;
1408 _result
= (wxWindow
*)wxWindow_FindWindowByName(_arg0
,*_arg1
);
1410 wxPy_END_ALLOW_THREADS
;
1412 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1413 _resultobj
= Py_BuildValue("s",_ptemp
);
1416 _resultobj
= Py_None
;
1425 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
1426 static PyObject
*_wrap_wxWindow_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1427 PyObject
* _resultobj
;
1429 PyObject
* _argo0
= 0;
1430 char *_kwnames
[] = { "self", NULL
};
1433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Fit",_kwnames
,&_argo0
))
1436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
1443 wxPy_BEGIN_ALLOW_THREADS
;
1444 wxWindow_Fit(_arg0
);
1446 wxPy_END_ALLOW_THREADS
;
1447 } Py_INCREF(Py_None
);
1448 _resultobj
= Py_None
;
1452 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1453 static PyObject
*_wrap_wxWindow_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1454 PyObject
* _resultobj
;
1457 PyObject
* _argo0
= 0;
1458 char *_kwnames
[] = { "self", NULL
};
1462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBackgroundColour",_kwnames
,&_argo0
))
1465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
1472 wxPy_BEGIN_ALLOW_THREADS
;
1473 _result
= new wxColour (wxWindow_GetBackgroundColour(_arg0
));
1475 wxPy_END_ALLOW_THREADS
;
1476 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1477 _resultobj
= Py_BuildValue("s",_ptemp
);
1481 static PyObject
* wxWindow_GetChildren(wxWindow
*self
) {
1482 wxWindowList
& list
= self
->GetChildren();
1483 return wxPy_ConvertList(&list
, "wxWindow");
1485 static PyObject
*_wrap_wxWindow_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1486 PyObject
* _resultobj
;
1489 PyObject
* _argo0
= 0;
1490 char *_kwnames
[] = { "self", NULL
};
1493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetChildren",_kwnames
,&_argo0
))
1496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetChildren. Expected _wxWindow_p.");
1503 wxPy_BEGIN_ALLOW_THREADS
;
1504 _result
= (PyObject
*)wxWindow_GetChildren(_arg0
);
1506 wxPy_END_ALLOW_THREADS
;
1508 _resultobj
= _result
;
1513 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1514 static PyObject
*_wrap_wxWindow_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1515 PyObject
* _resultobj
;
1518 PyObject
* _argo0
= 0;
1519 char *_kwnames
[] = { "self", NULL
};
1522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharHeight",_kwnames
,&_argo0
))
1525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
1532 wxPy_BEGIN_ALLOW_THREADS
;
1533 _result
= (int )wxWindow_GetCharHeight(_arg0
);
1535 wxPy_END_ALLOW_THREADS
;
1536 } _resultobj
= Py_BuildValue("i",_result
);
1540 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1541 static PyObject
*_wrap_wxWindow_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1542 PyObject
* _resultobj
;
1545 PyObject
* _argo0
= 0;
1546 char *_kwnames
[] = { "self", NULL
};
1549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharWidth",_kwnames
,&_argo0
))
1552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
1559 wxPy_BEGIN_ALLOW_THREADS
;
1560 _result
= (int )wxWindow_GetCharWidth(_arg0
);
1562 wxPy_END_ALLOW_THREADS
;
1563 } _resultobj
= Py_BuildValue("i",_result
);
1567 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
1568 static PyObject
*_wrap_wxWindow_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1569 PyObject
* _resultobj
;
1575 PyObject
* _argo0
= 0;
1576 char *_kwnames
[] = { "self", NULL
};
1585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSizeTuple",_kwnames
,&_argo0
))
1588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
1595 wxPy_BEGIN_ALLOW_THREADS
;
1596 wxWindow_GetClientSizeTuple(_arg0
,_arg1
,_arg2
);
1598 wxPy_END_ALLOW_THREADS
;
1599 } Py_INCREF(Py_None
);
1600 _resultobj
= Py_None
;
1603 o
= PyInt_FromLong((long) (*_arg1
));
1604 _resultobj
= t_output_helper(_resultobj
, o
);
1608 o
= PyInt_FromLong((long) (*_arg2
));
1609 _resultobj
= t_output_helper(_resultobj
, o
);
1614 #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
1615 static PyObject
*_wrap_wxWindow_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1616 PyObject
* _resultobj
;
1619 PyObject
* _argo0
= 0;
1620 char *_kwnames
[] = { "self", NULL
};
1624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSize",_kwnames
,&_argo0
))
1627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
1634 wxPy_BEGIN_ALLOW_THREADS
;
1635 _result
= new wxSize (wxWindow_GetClientSize(_arg0
));
1637 wxPy_END_ALLOW_THREADS
;
1638 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1639 _resultobj
= Py_BuildValue("s",_ptemp
);
1643 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
1644 static PyObject
*_wrap_wxWindow_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1645 PyObject
* _resultobj
;
1646 wxLayoutConstraints
* _result
;
1648 PyObject
* _argo0
= 0;
1649 char *_kwnames
[] = { "self", NULL
};
1653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetConstraints",_kwnames
,&_argo0
))
1656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
1663 wxPy_BEGIN_ALLOW_THREADS
;
1664 _result
= (wxLayoutConstraints
*)wxWindow_GetConstraints(_arg0
);
1666 wxPy_END_ALLOW_THREADS
;
1668 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
1669 _resultobj
= Py_BuildValue("s",_ptemp
);
1672 _resultobj
= Py_None
;
1677 #define wxWindow_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
1678 static PyObject
*_wrap_wxWindow_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1679 PyObject
* _resultobj
;
1680 wxEvtHandler
* _result
;
1682 PyObject
* _argo0
= 0;
1683 char *_kwnames
[] = { "self", NULL
};
1687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetEventHandler",_kwnames
,&_argo0
))
1690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetEventHandler. Expected _wxWindow_p.");
1697 wxPy_BEGIN_ALLOW_THREADS
;
1698 _result
= (wxEvtHandler
*)wxWindow_GetEventHandler(_arg0
);
1700 wxPy_END_ALLOW_THREADS
;
1702 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
1703 _resultobj
= Py_BuildValue("s",_ptemp
);
1706 _resultobj
= Py_None
;
1711 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
1712 static PyObject
*_wrap_wxWindow_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1713 PyObject
* _resultobj
;
1716 PyObject
* _argo0
= 0;
1717 char *_kwnames
[] = { "self", NULL
};
1721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetFont",_kwnames
,&_argo0
))
1724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
1731 wxPy_BEGIN_ALLOW_THREADS
;
1732 wxFont
& _result_ref
= wxWindow_GetFont(_arg0
);
1733 _result
= (wxFont
*) &_result_ref
;
1735 wxPy_END_ALLOW_THREADS
;
1737 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1738 _resultobj
= Py_BuildValue("s",_ptemp
);
1741 _resultobj
= Py_None
;
1746 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
1747 static PyObject
*_wrap_wxWindow_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1748 PyObject
* _resultobj
;
1751 PyObject
* _argo0
= 0;
1752 char *_kwnames
[] = { "self", NULL
};
1756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetForegroundColour",_kwnames
,&_argo0
))
1759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
1766 wxPy_BEGIN_ALLOW_THREADS
;
1767 _result
= new wxColour (wxWindow_GetForegroundColour(_arg0
));
1769 wxPy_END_ALLOW_THREADS
;
1770 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1771 _resultobj
= Py_BuildValue("s",_ptemp
);
1775 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
1776 static PyObject
*_wrap_wxWindow_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1777 PyObject
* _resultobj
;
1780 PyObject
* _argo0
= 0;
1781 char *_kwnames
[] = { "self", NULL
};
1785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetGrandParent",_kwnames
,&_argo0
))
1788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
1795 wxPy_BEGIN_ALLOW_THREADS
;
1796 _result
= (wxWindow
*)wxWindow_GetGrandParent(_arg0
);
1798 wxPy_END_ALLOW_THREADS
;
1800 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1801 _resultobj
= Py_BuildValue("s",_ptemp
);
1804 _resultobj
= Py_None
;
1809 static long wxWindow_GetHandle(wxWindow
*self
) {
1810 return wxPyGetWinHandle(self
); //(long)self->GetHandle();
1812 static PyObject
*_wrap_wxWindow_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1813 PyObject
* _resultobj
;
1816 PyObject
* _argo0
= 0;
1817 char *_kwnames
[] = { "self", NULL
};
1820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetHandle",_kwnames
,&_argo0
))
1823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetHandle. Expected _wxWindow_p.");
1830 wxPy_BEGIN_ALLOW_THREADS
;
1831 _result
= (long )wxWindow_GetHandle(_arg0
);
1833 wxPy_END_ALLOW_THREADS
;
1834 } _resultobj
= Py_BuildValue("l",_result
);
1838 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
1839 static PyObject
*_wrap_wxWindow_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1840 PyObject
* _resultobj
;
1843 PyObject
* _argo0
= 0;
1844 char *_kwnames
[] = { "self", NULL
};
1847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetId",_kwnames
,&_argo0
))
1850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
1857 wxPy_BEGIN_ALLOW_THREADS
;
1858 _result
= (int )wxWindow_GetId(_arg0
);
1860 wxPy_END_ALLOW_THREADS
;
1861 } _resultobj
= Py_BuildValue("i",_result
);
1865 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
1866 static PyObject
*_wrap_wxWindow_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1867 PyObject
* _resultobj
;
1870 PyObject
* _argo0
= 0;
1871 char *_kwnames
[] = { "self", NULL
};
1874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetLabel",_kwnames
,&_argo0
))
1877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
1884 wxPy_BEGIN_ALLOW_THREADS
;
1885 _result
= new wxString (wxWindow_GetLabel(_arg0
));
1887 wxPy_END_ALLOW_THREADS
;
1889 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1897 #define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
1898 static PyObject
*_wrap_wxWindow_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1899 PyObject
* _resultobj
;
1902 PyObject
* _argo0
= 0;
1903 PyObject
* _obj1
= 0;
1904 char *_kwnames
[] = { "self","label", NULL
};
1907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetLabel",_kwnames
,&_argo0
,&_obj1
))
1910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
1917 if (!PyString_Check(_obj1
)) {
1918 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1921 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1924 wxPy_BEGIN_ALLOW_THREADS
;
1925 wxWindow_SetLabel(_arg0
,*_arg1
);
1927 wxPy_END_ALLOW_THREADS
;
1928 } Py_INCREF(Py_None
);
1929 _resultobj
= Py_None
;
1937 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
1938 static PyObject
*_wrap_wxWindow_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1939 PyObject
* _resultobj
;
1942 PyObject
* _argo0
= 0;
1943 char *_kwnames
[] = { "self", NULL
};
1946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetName",_kwnames
,&_argo0
))
1949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
1956 wxPy_BEGIN_ALLOW_THREADS
;
1957 _result
= new wxString (wxWindow_GetName(_arg0
));
1959 wxPy_END_ALLOW_THREADS
;
1961 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1969 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
1970 static PyObject
*_wrap_wxWindow_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1971 PyObject
* _resultobj
;
1974 PyObject
* _argo0
= 0;
1975 char *_kwnames
[] = { "self", NULL
};
1979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetParent",_kwnames
,&_argo0
))
1982 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1983 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
1989 wxPy_BEGIN_ALLOW_THREADS
;
1990 _result
= (wxWindow
*)wxWindow_GetParent(_arg0
);
1992 wxPy_END_ALLOW_THREADS
;
1994 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1995 _resultobj
= Py_BuildValue("s",_ptemp
);
1998 _resultobj
= Py_None
;
2003 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2004 static PyObject
*_wrap_wxWindow_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2005 PyObject
* _resultobj
;
2011 PyObject
* _argo0
= 0;
2012 char *_kwnames
[] = { "self", NULL
};
2021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPositionTuple",_kwnames
,&_argo0
))
2024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
2031 wxPy_BEGIN_ALLOW_THREADS
;
2032 wxWindow_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2034 wxPy_END_ALLOW_THREADS
;
2035 } Py_INCREF(Py_None
);
2036 _resultobj
= Py_None
;
2039 o
= PyInt_FromLong((long) (*_arg1
));
2040 _resultobj
= t_output_helper(_resultobj
, o
);
2044 o
= PyInt_FromLong((long) (*_arg2
));
2045 _resultobj
= t_output_helper(_resultobj
, o
);
2050 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
2051 static PyObject
*_wrap_wxWindow_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2052 PyObject
* _resultobj
;
2055 PyObject
* _argo0
= 0;
2056 char *_kwnames
[] = { "self", NULL
};
2060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPosition",_kwnames
,&_argo0
))
2063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
2070 wxPy_BEGIN_ALLOW_THREADS
;
2071 _result
= new wxPoint (wxWindow_GetPosition(_arg0
));
2073 wxPy_END_ALLOW_THREADS
;
2074 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2075 _resultobj
= Py_BuildValue("s",_ptemp
);
2079 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
2080 static PyObject
*_wrap_wxWindow_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2081 PyObject
* _resultobj
;
2084 PyObject
* _argo0
= 0;
2085 char *_kwnames
[] = { "self", NULL
};
2089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetRect",_kwnames
,&_argo0
))
2092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
2099 wxPy_BEGIN_ALLOW_THREADS
;
2100 _result
= new wxRect (wxWindow_GetRect(_arg0
));
2102 wxPy_END_ALLOW_THREADS
;
2103 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
2104 _resultobj
= Py_BuildValue("s",_ptemp
);
2108 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
2109 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2110 PyObject
* _resultobj
;
2114 PyObject
* _argo0
= 0;
2115 char *_kwnames
[] = { "self","orientation", NULL
};
2118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollThumb",_kwnames
,&_argo0
,&_arg1
))
2121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
2128 wxPy_BEGIN_ALLOW_THREADS
;
2129 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
2131 wxPy_END_ALLOW_THREADS
;
2132 } _resultobj
= Py_BuildValue("i",_result
);
2136 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
2137 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2138 PyObject
* _resultobj
;
2142 PyObject
* _argo0
= 0;
2143 char *_kwnames
[] = { "self","orientation", NULL
};
2146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollPos",_kwnames
,&_argo0
,&_arg1
))
2149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
2156 wxPy_BEGIN_ALLOW_THREADS
;
2157 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
2159 wxPy_END_ALLOW_THREADS
;
2160 } _resultobj
= Py_BuildValue("i",_result
);
2164 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
2165 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2166 PyObject
* _resultobj
;
2170 PyObject
* _argo0
= 0;
2171 char *_kwnames
[] = { "self","orientation", NULL
};
2174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollRange",_kwnames
,&_argo0
,&_arg1
))
2177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
2184 wxPy_BEGIN_ALLOW_THREADS
;
2185 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
2187 wxPy_END_ALLOW_THREADS
;
2188 } _resultobj
= Py_BuildValue("i",_result
);
2192 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2193 static PyObject
*_wrap_wxWindow_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2194 PyObject
* _resultobj
;
2200 PyObject
* _argo0
= 0;
2201 char *_kwnames
[] = { "self", NULL
};
2210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizeTuple",_kwnames
,&_argo0
))
2213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
2220 wxPy_BEGIN_ALLOW_THREADS
;
2221 wxWindow_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2223 wxPy_END_ALLOW_THREADS
;
2224 } Py_INCREF(Py_None
);
2225 _resultobj
= Py_None
;
2228 o
= PyInt_FromLong((long) (*_arg1
));
2229 _resultobj
= t_output_helper(_resultobj
, o
);
2233 o
= PyInt_FromLong((long) (*_arg2
));
2234 _resultobj
= t_output_helper(_resultobj
, o
);
2239 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
2240 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2241 PyObject
* _resultobj
;
2244 PyObject
* _argo0
= 0;
2245 char *_kwnames
[] = { "self", NULL
};
2249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSize",_kwnames
,&_argo0
))
2252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
2259 wxPy_BEGIN_ALLOW_THREADS
;
2260 _result
= new wxSize (wxWindow_GetSize(_arg0
));
2262 wxPy_END_ALLOW_THREADS
;
2263 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2264 _resultobj
= Py_BuildValue("s",_ptemp
);
2268 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
2269 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2270 PyObject
* _resultobj
;
2277 PyObject
* _argo0
= 0;
2278 PyObject
* _obj1
= 0;
2279 char *_kwnames
[] = { "self","string", NULL
};
2288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
2291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
2298 if (!PyString_Check(_obj1
)) {
2299 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2302 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2305 wxPy_BEGIN_ALLOW_THREADS
;
2306 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
2308 wxPy_END_ALLOW_THREADS
;
2309 } Py_INCREF(Py_None
);
2310 _resultobj
= Py_None
;
2313 o
= PyInt_FromLong((long) (*_arg2
));
2314 _resultobj
= t_output_helper(_resultobj
, o
);
2318 o
= PyInt_FromLong((long) (*_arg3
));
2319 _resultobj
= t_output_helper(_resultobj
, o
);
2328 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2329 static PyObject
*_wrap_wxWindow_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2330 PyObject
* _resultobj
;
2341 wxFont
* _arg6
= (wxFont
*) NULL
;
2342 PyObject
* _argo0
= 0;
2343 PyObject
* _obj1
= 0;
2344 PyObject
* _argo6
= 0;
2345 char *_kwnames
[] = { "self","string","font", NULL
};
2360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxWindow_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
2363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
2370 if (!PyString_Check(_obj1
)) {
2371 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2374 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2377 if (_argo6
== Py_None
) { _arg6
= NULL
; }
2378 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
2379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
2384 wxPy_BEGIN_ALLOW_THREADS
;
2385 wxWindow_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2387 wxPy_END_ALLOW_THREADS
;
2388 } Py_INCREF(Py_None
);
2389 _resultobj
= Py_None
;
2392 o
= PyInt_FromLong((long) (*_arg2
));
2393 _resultobj
= t_output_helper(_resultobj
, o
);
2397 o
= PyInt_FromLong((long) (*_arg3
));
2398 _resultobj
= t_output_helper(_resultobj
, o
);
2402 o
= PyInt_FromLong((long) (*_arg4
));
2403 _resultobj
= t_output_helper(_resultobj
, o
);
2407 o
= PyInt_FromLong((long) (*_arg5
));
2408 _resultobj
= t_output_helper(_resultobj
, o
);
2417 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
2418 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2419 PyObject
* _resultobj
;
2422 PyObject
* _argo0
= 0;
2423 char *_kwnames
[] = { "self", NULL
};
2426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetTitle",_kwnames
,&_argo0
))
2429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
2436 wxPy_BEGIN_ALLOW_THREADS
;
2437 _result
= new wxString (wxWindow_GetTitle(_arg0
));
2439 wxPy_END_ALLOW_THREADS
;
2441 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2449 #define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
2450 static PyObject
*_wrap_wxWindow_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2451 PyObject
* _resultobj
;
2454 PyObject
* _argo0
= 0;
2455 char *_kwnames
[] = { "self", NULL
};
2459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetUpdateRegion",_kwnames
,&_argo0
))
2462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
2469 wxPy_BEGIN_ALLOW_THREADS
;
2470 _result
= new wxRegion (wxWindow_GetUpdateRegion(_arg0
));
2472 wxPy_END_ALLOW_THREADS
;
2473 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRegion_p");
2474 _resultobj
= Py_BuildValue("s",_ptemp
);
2478 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
2479 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2480 PyObject
* _resultobj
;
2483 PyObject
* _argo0
= 0;
2484 char *_kwnames
[] = { "self", NULL
};
2487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetWindowStyleFlag",_kwnames
,&_argo0
))
2490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
2497 wxPy_BEGIN_ALLOW_THREADS
;
2498 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
2500 wxPy_END_ALLOW_THREADS
;
2501 } _resultobj
= Py_BuildValue("l",_result
);
2505 #define wxWindow_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
2506 static PyObject
*_wrap_wxWindow_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2507 PyObject
* _resultobj
;
2510 PyObject
* _argo0
= 0;
2511 char *_kwnames
[] = { "self","style", NULL
};
2514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
2517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetWindowStyleFlag. Expected _wxWindow_p.");
2524 wxPy_BEGIN_ALLOW_THREADS
;
2525 wxWindow_SetWindowStyleFlag(_arg0
,_arg1
);
2527 wxPy_END_ALLOW_THREADS
;
2528 } Py_INCREF(Py_None
);
2529 _resultobj
= Py_None
;
2533 #define wxWindow_SetWindowStyle(_swigobj,_swigarg0) (_swigobj->SetWindowStyle(_swigarg0))
2534 static PyObject
*_wrap_wxWindow_SetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2535 PyObject
* _resultobj
;
2538 PyObject
* _argo0
= 0;
2539 char *_kwnames
[] = { "self","style", NULL
};
2542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyle",_kwnames
,&_argo0
,&_arg1
))
2545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetWindowStyle. Expected _wxWindow_p.");
2552 wxPy_BEGIN_ALLOW_THREADS
;
2553 wxWindow_SetWindowStyle(_arg0
,_arg1
);
2555 wxPy_END_ALLOW_THREADS
;
2556 } Py_INCREF(Py_None
);
2557 _resultobj
= Py_None
;
2561 #define wxWindow_Hide(_swigobj) (_swigobj->Hide())
2562 static PyObject
*_wrap_wxWindow_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2563 PyObject
* _resultobj
;
2566 PyObject
* _argo0
= 0;
2567 char *_kwnames
[] = { "self", NULL
};
2570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Hide",_kwnames
,&_argo0
))
2573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
2580 wxPy_BEGIN_ALLOW_THREADS
;
2581 _result
= (bool )wxWindow_Hide(_arg0
);
2583 wxPy_END_ALLOW_THREADS
;
2584 } _resultobj
= Py_BuildValue("i",_result
);
2588 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
2589 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2590 PyObject
* _resultobj
;
2592 PyObject
* _argo0
= 0;
2593 char *_kwnames
[] = { "self", NULL
};
2596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_InitDialog",_kwnames
,&_argo0
))
2599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
2606 wxPy_BEGIN_ALLOW_THREADS
;
2607 wxWindow_InitDialog(_arg0
);
2609 wxPy_END_ALLOW_THREADS
;
2610 } Py_INCREF(Py_None
);
2611 _resultobj
= Py_None
;
2615 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
2616 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2617 PyObject
* _resultobj
;
2620 PyObject
* _argo0
= 0;
2621 char *_kwnames
[] = { "self", NULL
};
2624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsEnabled",_kwnames
,&_argo0
))
2627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
2634 wxPy_BEGIN_ALLOW_THREADS
;
2635 _result
= (bool )wxWindow_IsEnabled(_arg0
);
2637 wxPy_END_ALLOW_THREADS
;
2638 } _resultobj
= Py_BuildValue("i",_result
);
2642 #define wxWindow_IsExposed(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->IsExposed(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2643 static PyObject
*_wrap_wxWindow_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2644 PyObject
* _resultobj
;
2649 int _arg3
= (int ) 0;
2650 int _arg4
= (int ) 0;
2651 PyObject
* _argo0
= 0;
2652 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
2655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxWindow_IsExposed",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposed. Expected _wxWindow_p.");
2665 wxPy_BEGIN_ALLOW_THREADS
;
2666 _result
= (bool )wxWindow_IsExposed(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2668 wxPy_END_ALLOW_THREADS
;
2669 } _resultobj
= Py_BuildValue("i",_result
);
2673 #define wxWindow_IsExposedPoint(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
2674 static PyObject
*_wrap_wxWindow_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2675 PyObject
* _resultobj
;
2679 PyObject
* _argo0
= 0;
2681 PyObject
* _obj1
= 0;
2682 char *_kwnames
[] = { "self","pt", NULL
};
2685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedPoint",_kwnames
,&_argo0
,&_obj1
))
2688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedPoint. Expected _wxWindow_p.");
2696 if (! wxPoint_helper(_obj1
, &_arg1
))
2700 wxPy_BEGIN_ALLOW_THREADS
;
2701 _result
= (bool )wxWindow_IsExposedPoint(_arg0
,*_arg1
);
2703 wxPy_END_ALLOW_THREADS
;
2704 } _resultobj
= Py_BuildValue("i",_result
);
2708 #define wxWindow_IsExposedRect(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
2709 static PyObject
*_wrap_wxWindow_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2710 PyObject
* _resultobj
;
2714 PyObject
* _argo0
= 0;
2716 PyObject
* _obj1
= 0;
2717 char *_kwnames
[] = { "self","rect", NULL
};
2720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedRect",_kwnames
,&_argo0
,&_obj1
))
2723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedRect. Expected _wxWindow_p.");
2731 if (! wxRect_helper(_obj1
, &_arg1
))
2735 wxPy_BEGIN_ALLOW_THREADS
;
2736 _result
= (bool )wxWindow_IsExposedRect(_arg0
,*_arg1
);
2738 wxPy_END_ALLOW_THREADS
;
2739 } _resultobj
= Py_BuildValue("i",_result
);
2743 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
2744 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2745 PyObject
* _resultobj
;
2748 PyObject
* _argo0
= 0;
2749 char *_kwnames
[] = { "self", NULL
};
2752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsRetained",_kwnames
,&_argo0
))
2755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
2762 wxPy_BEGIN_ALLOW_THREADS
;
2763 _result
= (bool )wxWindow_IsRetained(_arg0
);
2765 wxPy_END_ALLOW_THREADS
;
2766 } _resultobj
= Py_BuildValue("i",_result
);
2770 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
2771 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2772 PyObject
* _resultobj
;
2775 PyObject
* _argo0
= 0;
2776 char *_kwnames
[] = { "self", NULL
};
2779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsShown",_kwnames
,&_argo0
))
2782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
2789 wxPy_BEGIN_ALLOW_THREADS
;
2790 _result
= (bool )wxWindow_IsShown(_arg0
);
2792 wxPy_END_ALLOW_THREADS
;
2793 } _resultobj
= Py_BuildValue("i",_result
);
2797 #define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
2798 static PyObject
*_wrap_wxWindow_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2799 PyObject
* _resultobj
;
2802 PyObject
* _argo0
= 0;
2803 char *_kwnames
[] = { "self", NULL
};
2806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsTopLevel",_kwnames
,&_argo0
))
2809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
2816 wxPy_BEGIN_ALLOW_THREADS
;
2817 _result
= (bool )wxWindow_IsTopLevel(_arg0
);
2819 wxPy_END_ALLOW_THREADS
;
2820 } _resultobj
= Py_BuildValue("i",_result
);
2824 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
2825 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2826 PyObject
* _resultobj
;
2828 PyObject
* _argo0
= 0;
2829 char *_kwnames
[] = { "self", NULL
};
2832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Layout",_kwnames
,&_argo0
))
2835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
2842 wxPy_BEGIN_ALLOW_THREADS
;
2843 wxWindow_Layout(_arg0
);
2845 wxPy_END_ALLOW_THREADS
;
2846 } Py_INCREF(Py_None
);
2847 _resultobj
= Py_None
;
2851 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
2852 static PyObject
*_wrap_wxWindow_LoadFromResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2853 PyObject
* _resultobj
;
2858 wxResourceTable
* _arg3
= (wxResourceTable
*) NULL
;
2859 PyObject
* _argo0
= 0;
2860 PyObject
* _argo1
= 0;
2861 PyObject
* _obj2
= 0;
2862 PyObject
* _argo3
= 0;
2863 char *_kwnames
[] = { "self","parent","resourceName","resourceTable", NULL
};
2866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|O:wxWindow_LoadFromResource",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_argo3
))
2869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
2876 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2877 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
2883 if (!PyString_Check(_obj2
)) {
2884 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2887 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2890 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2891 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxResourceTable_p")) {
2892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
2897 wxPy_BEGIN_ALLOW_THREADS
;
2898 _result
= (bool )wxWindow_LoadFromResource(_arg0
,_arg1
,*_arg2
,_arg3
);
2900 wxPy_END_ALLOW_THREADS
;
2901 } _resultobj
= Py_BuildValue("i",_result
);
2909 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
2910 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2911 PyObject
* _resultobj
;
2913 PyObject
* _argo0
= 0;
2914 char *_kwnames
[] = { "self", NULL
};
2917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Lower",_kwnames
,&_argo0
))
2920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
2927 wxPy_BEGIN_ALLOW_THREADS
;
2928 wxWindow_Lower(_arg0
);
2930 wxPy_END_ALLOW_THREADS
;
2931 } Py_INCREF(Py_None
);
2932 _resultobj
= Py_None
;
2936 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
2937 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2938 PyObject
* _resultobj
;
2941 PyObject
* _argo0
= 0;
2943 char *_kwnames
[] = { "self","flag", NULL
};
2946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_MakeModal",_kwnames
,&_argo0
,&tempbool1
))
2949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
2955 _arg1
= (bool ) tempbool1
;
2957 wxPy_BEGIN_ALLOW_THREADS
;
2958 wxWindow_MakeModal(_arg0
,_arg1
);
2960 wxPy_END_ALLOW_THREADS
;
2961 } Py_INCREF(Py_None
);
2962 _resultobj
= Py_None
;
2966 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2967 static PyObject
*_wrap_wxWindow_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2968 PyObject
* _resultobj
;
2972 PyObject
* _argo0
= 0;
2973 char *_kwnames
[] = { "self","x","y", NULL
};
2976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
2986 wxPy_BEGIN_ALLOW_THREADS
;
2987 wxWindow_MoveXY(_arg0
,_arg1
,_arg2
);
2989 wxPy_END_ALLOW_THREADS
;
2990 } Py_INCREF(Py_None
);
2991 _resultobj
= Py_None
;
2995 #define wxWindow_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2996 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2997 PyObject
* _resultobj
;
3000 PyObject
* _argo0
= 0;
3002 PyObject
* _obj1
= 0;
3003 char *_kwnames
[] = { "self","point", NULL
};
3006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Move",_kwnames
,&_argo0
,&_obj1
))
3009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
3017 if (! wxPoint_helper(_obj1
, &_arg1
))
3021 wxPy_BEGIN_ALLOW_THREADS
;
3022 wxWindow_Move(_arg0
,*_arg1
);
3024 wxPy_END_ALLOW_THREADS
;
3025 } Py_INCREF(Py_None
);
3026 _resultobj
= Py_None
;
3030 #define wxWindow_PopEventHandler(_swigobj,_swigarg0) (_swigobj->PopEventHandler(_swigarg0))
3031 static PyObject
*_wrap_wxWindow_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3032 PyObject
* _resultobj
;
3033 wxEvtHandler
* _result
;
3035 bool _arg1
= (bool ) FALSE
;
3036 PyObject
* _argo0
= 0;
3037 int tempbool1
= (int) FALSE
;
3038 char *_kwnames
[] = { "self","deleteHandler", NULL
};
3042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_PopEventHandler",_kwnames
,&_argo0
,&tempbool1
))
3045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopEventHandler. Expected _wxWindow_p.");
3051 _arg1
= (bool ) tempbool1
;
3053 wxPy_BEGIN_ALLOW_THREADS
;
3054 _result
= (wxEvtHandler
*)wxWindow_PopEventHandler(_arg0
,_arg1
);
3056 wxPy_END_ALLOW_THREADS
;
3058 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
3059 _resultobj
= Py_BuildValue("s",_ptemp
);
3062 _resultobj
= Py_None
;
3067 #define wxWindow_PushEventHandler(_swigobj,_swigarg0) (_swigobj->PushEventHandler(_swigarg0))
3068 static PyObject
*_wrap_wxWindow_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3069 PyObject
* _resultobj
;
3071 wxEvtHandler
* _arg1
;
3072 PyObject
* _argo0
= 0;
3073 PyObject
* _argo1
= 0;
3074 char *_kwnames
[] = { "self","handler", NULL
};
3077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_PushEventHandler",_kwnames
,&_argo0
,&_argo1
))
3080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PushEventHandler. Expected _wxWindow_p.");
3087 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3088 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PushEventHandler. Expected _wxEvtHandler_p.");
3094 wxPy_BEGIN_ALLOW_THREADS
;
3095 wxWindow_PushEventHandler(_arg0
,_arg1
);
3097 wxPy_END_ALLOW_THREADS
;
3098 } Py_INCREF(Py_None
);
3099 _resultobj
= Py_None
;
3103 #define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
3104 static PyObject
*_wrap_wxWindow_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3105 PyObject
* _resultobj
;
3111 PyObject
* _argo0
= 0;
3112 PyObject
* _argo1
= 0;
3113 char *_kwnames
[] = { "self","menu","x","y", NULL
};
3116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxWindow_PopupMenuXY",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
3126 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3127 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
3133 wxPy_BEGIN_ALLOW_THREADS
;
3134 _result
= (bool )wxWindow_PopupMenuXY(_arg0
,_arg1
,_arg2
,_arg3
);
3136 wxPy_END_ALLOW_THREADS
;
3137 } _resultobj
= Py_BuildValue("i",_result
);
3141 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
3142 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3143 PyObject
* _resultobj
;
3148 PyObject
* _argo0
= 0;
3149 PyObject
* _argo1
= 0;
3151 PyObject
* _obj2
= 0;
3152 char *_kwnames
[] = { "self","menu","pos", NULL
};
3155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_PopupMenu",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
3158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
3165 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3166 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
3173 if (! wxPoint_helper(_obj2
, &_arg2
))
3177 wxPy_BEGIN_ALLOW_THREADS
;
3178 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,*_arg2
);
3180 wxPy_END_ALLOW_THREADS
;
3181 } _resultobj
= Py_BuildValue("i",_result
);
3185 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
3186 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3187 PyObject
* _resultobj
;
3189 PyObject
* _argo0
= 0;
3190 char *_kwnames
[] = { "self", NULL
};
3193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Raise",_kwnames
,&_argo0
))
3196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
3203 wxPy_BEGIN_ALLOW_THREADS
;
3204 wxWindow_Raise(_arg0
);
3206 wxPy_END_ALLOW_THREADS
;
3207 } Py_INCREF(Py_None
);
3208 _resultobj
= Py_None
;
3212 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
3213 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3214 PyObject
* _resultobj
;
3216 bool _arg1
= (bool ) TRUE
;
3217 wxRect
* _arg2
= (wxRect
*) NULL
;
3218 PyObject
* _argo0
= 0;
3219 int tempbool1
= (int) TRUE
;
3221 PyObject
* _obj2
= 0;
3222 char *_kwnames
[] = { "self","eraseBackground","rect", NULL
};
3225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxWindow_Refresh",_kwnames
,&_argo0
,&tempbool1
,&_obj2
))
3228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
3234 _arg1
= (bool ) tempbool1
;
3238 if (! wxRect_helper(_obj2
, &_arg2
))
3242 wxPy_BEGIN_ALLOW_THREADS
;
3243 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
3245 wxPy_END_ALLOW_THREADS
;
3246 } Py_INCREF(Py_None
);
3247 _resultobj
= Py_None
;
3251 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
3252 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3253 PyObject
* _resultobj
;
3255 PyObject
* _argo0
= 0;
3256 char *_kwnames
[] = { "self", NULL
};
3259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_ReleaseMouse",_kwnames
,&_argo0
))
3262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
3269 wxPy_BEGIN_ALLOW_THREADS
;
3270 wxWindow_ReleaseMouse(_arg0
);
3272 wxPy_END_ALLOW_THREADS
;
3273 } Py_INCREF(Py_None
);
3274 _resultobj
= Py_None
;
3278 #define wxWindow_RemoveChild(_swigobj,_swigarg0) (_swigobj->RemoveChild(_swigarg0))
3279 static PyObject
*_wrap_wxWindow_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3280 PyObject
* _resultobj
;
3283 PyObject
* _argo0
= 0;
3284 PyObject
* _argo1
= 0;
3285 char *_kwnames
[] = { "self","child", NULL
};
3288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
3291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3298 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3299 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3305 wxPy_BEGIN_ALLOW_THREADS
;
3306 wxWindow_RemoveChild(_arg0
,_arg1
);
3308 wxPy_END_ALLOW_THREADS
;
3309 } Py_INCREF(Py_None
);
3310 _resultobj
= Py_None
;
3314 #define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
3315 static PyObject
*_wrap_wxWindow_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3316 PyObject
* _resultobj
;
3320 PyObject
* _argo0
= 0;
3321 PyObject
* _argo1
= 0;
3322 char *_kwnames
[] = { "self","newParent", NULL
};
3325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Reparent",_kwnames
,&_argo0
,&_argo1
))
3328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
3335 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3336 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
3342 wxPy_BEGIN_ALLOW_THREADS
;
3343 _result
= (bool )wxWindow_Reparent(_arg0
,_arg1
);
3345 wxPy_END_ALLOW_THREADS
;
3346 } _resultobj
= Py_BuildValue("i",_result
);
3350 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
3351 static PyObject
*_wrap_wxWindow_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3352 PyObject
* _resultobj
;
3356 PyObject
* _argo0
= 0;
3358 PyObject
* _obj1
= 0;
3360 PyObject
* _obj2
= 0;
3361 char *_kwnames
[] = { "self","x","y", NULL
};
3364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ScreenToClientXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
3374 temp
= (int) PyInt_AsLong(_obj1
);
3378 temp0
= (int) PyInt_AsLong(_obj2
);
3382 wxPy_BEGIN_ALLOW_THREADS
;
3383 wxWindow_ScreenToClientXY(_arg0
,_arg1
,_arg2
);
3385 wxPy_END_ALLOW_THREADS
;
3386 } Py_INCREF(Py_None
);
3387 _resultobj
= Py_None
;
3390 o
= PyInt_FromLong((long) (*_arg1
));
3391 _resultobj
= t_output_helper(_resultobj
, o
);
3395 o
= PyInt_FromLong((long) (*_arg2
));
3396 _resultobj
= t_output_helper(_resultobj
, o
);
3401 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
3402 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3403 PyObject
* _resultobj
;
3407 PyObject
* _argo0
= 0;
3409 PyObject
* _obj1
= 0;
3410 char *_kwnames
[] = { "self","pt", NULL
};
3414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ScreenToClient",_kwnames
,&_argo0
,&_obj1
))
3417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
3425 if (! wxPoint_helper(_obj1
, &_arg1
))
3429 wxPy_BEGIN_ALLOW_THREADS
;
3430 _result
= new wxPoint (wxWindow_ScreenToClient(_arg0
,*_arg1
));
3432 wxPy_END_ALLOW_THREADS
;
3433 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3434 _resultobj
= Py_BuildValue("s",_ptemp
);
3438 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
3439 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3440 PyObject
* _resultobj
;
3444 wxRect
* _arg3
= (wxRect
*) NULL
;
3445 PyObject
* _argo0
= 0;
3447 PyObject
* _obj3
= 0;
3448 char *_kwnames
[] = { "self","dx","dy","rect", NULL
};
3451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|O:wxWindow_ScrollWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
3463 if (! wxRect_helper(_obj3
, &_arg3
))
3467 wxPy_BEGIN_ALLOW_THREADS
;
3468 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
3470 wxPy_END_ALLOW_THREADS
;
3471 } Py_INCREF(Py_None
);
3472 _resultobj
= Py_None
;
3476 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
3477 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3478 PyObject
* _resultobj
;
3480 wxAcceleratorTable
* _arg1
;
3481 PyObject
* _argo0
= 0;
3482 PyObject
* _argo1
= 0;
3483 char *_kwnames
[] = { "self","accel", NULL
};
3486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetAcceleratorTable",_kwnames
,&_argo0
,&_argo1
))
3489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
3496 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3497 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
3498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
3503 wxPy_BEGIN_ALLOW_THREADS
;
3504 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
3506 wxPy_END_ALLOW_THREADS
;
3507 } Py_INCREF(Py_None
);
3508 _resultobj
= Py_None
;
3512 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
3513 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3514 PyObject
* _resultobj
;
3517 PyObject
* _argo0
= 0;
3519 char *_kwnames
[] = { "self","autoLayout", NULL
};
3522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetAutoLayout",_kwnames
,&_argo0
,&tempbool1
))
3525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
3531 _arg1
= (bool ) tempbool1
;
3533 wxPy_BEGIN_ALLOW_THREADS
;
3534 wxWindow_SetAutoLayout(_arg0
,_arg1
);
3536 wxPy_END_ALLOW_THREADS
;
3537 } Py_INCREF(Py_None
);
3538 _resultobj
= Py_None
;
3542 #define wxWindow_GetAutoLayout(_swigobj) (_swigobj->GetAutoLayout())
3543 static PyObject
*_wrap_wxWindow_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3544 PyObject
* _resultobj
;
3547 PyObject
* _argo0
= 0;
3548 char *_kwnames
[] = { "self", NULL
};
3551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAutoLayout",_kwnames
,&_argo0
))
3554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetAutoLayout. Expected _wxWindow_p.");
3561 wxPy_BEGIN_ALLOW_THREADS
;
3562 _result
= (bool )wxWindow_GetAutoLayout(_arg0
);
3564 wxPy_END_ALLOW_THREADS
;
3565 } _resultobj
= Py_BuildValue("i",_result
);
3569 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3570 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3571 PyObject
* _resultobj
;
3574 PyObject
* _argo0
= 0;
3576 PyObject
* _obj1
= 0;
3577 char *_kwnames
[] = { "self","colour", NULL
};
3580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
3591 if (! wxColour_helper(_obj1
, &_arg1
))
3595 wxPy_BEGIN_ALLOW_THREADS
;
3596 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
3598 wxPy_END_ALLOW_THREADS
;
3599 } Py_INCREF(Py_None
);
3600 _resultobj
= Py_None
;
3604 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
3605 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3606 PyObject
* _resultobj
;
3608 wxLayoutConstraints
* _arg1
;
3609 PyObject
* _argo0
= 0;
3610 PyObject
* _argo1
= 0;
3611 char *_kwnames
[] = { "self","constraints", NULL
};
3614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetConstraints",_kwnames
,&_argo0
,&_argo1
))
3617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
3624 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3625 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
3631 wxPy_BEGIN_ALLOW_THREADS
;
3632 wxWindow_SetConstraints(_arg0
,_arg1
);
3634 wxPy_END_ALLOW_THREADS
;
3635 } Py_INCREF(Py_None
);
3636 _resultobj
= Py_None
;
3640 #define wxWindow_UnsetConstraints(_swigobj,_swigarg0) (_swigobj->UnsetConstraints(_swigarg0))
3641 static PyObject
*_wrap_wxWindow_UnsetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3642 PyObject
* _resultobj
;
3644 wxLayoutConstraints
* _arg1
;
3645 PyObject
* _argo0
= 0;
3646 PyObject
* _argo1
= 0;
3647 char *_kwnames
[] = { "self","constraints", NULL
};
3650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_UnsetConstraints",_kwnames
,&_argo0
,&_argo1
))
3653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_UnsetConstraints. Expected _wxWindow_p.");
3660 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3661 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_UnsetConstraints. Expected _wxLayoutConstraints_p.");
3667 wxPy_BEGIN_ALLOW_THREADS
;
3668 wxWindow_UnsetConstraints(_arg0
,_arg1
);
3670 wxPy_END_ALLOW_THREADS
;
3671 } Py_INCREF(Py_None
);
3672 _resultobj
= Py_None
;
3676 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
3677 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3678 PyObject
* _resultobj
;
3680 PyObject
* _argo0
= 0;
3681 char *_kwnames
[] = { "self", NULL
};
3684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_SetFocus",_kwnames
,&_argo0
))
3687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
3694 wxPy_BEGIN_ALLOW_THREADS
;
3695 wxWindow_SetFocus(_arg0
);
3697 wxPy_END_ALLOW_THREADS
;
3698 } Py_INCREF(Py_None
);
3699 _resultobj
= Py_None
;
3703 #define wxWindow_AcceptsFocus(_swigobj) (_swigobj->AcceptsFocus())
3704 static PyObject
*_wrap_wxWindow_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3705 PyObject
* _resultobj
;
3708 PyObject
* _argo0
= 0;
3709 char *_kwnames
[] = { "self", NULL
};
3712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_AcceptsFocus",_kwnames
,&_argo0
))
3715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_AcceptsFocus. Expected _wxWindow_p.");
3722 wxPy_BEGIN_ALLOW_THREADS
;
3723 _result
= (bool )wxWindow_AcceptsFocus(_arg0
);
3725 wxPy_END_ALLOW_THREADS
;
3726 } _resultobj
= Py_BuildValue("i",_result
);
3730 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
3731 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3732 PyObject
* _resultobj
;
3735 PyObject
* _argo0
= 0;
3736 PyObject
* _argo1
= 0;
3737 char *_kwnames
[] = { "self","font", NULL
};
3740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetFont",_kwnames
,&_argo0
,&_argo1
))
3743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
3750 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3751 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
3752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
3757 wxPy_BEGIN_ALLOW_THREADS
;
3758 wxWindow_SetFont(_arg0
,*_arg1
);
3760 wxPy_END_ALLOW_THREADS
;
3761 } Py_INCREF(Py_None
);
3762 _resultobj
= Py_None
;
3766 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
3767 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3768 PyObject
* _resultobj
;
3771 PyObject
* _argo0
= 0;
3773 PyObject
* _obj1
= 0;
3774 char *_kwnames
[] = { "self","colour", NULL
};
3777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
3780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
3788 if (! wxColour_helper(_obj1
, &_arg1
))
3792 wxPy_BEGIN_ALLOW_THREADS
;
3793 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
3795 wxPy_END_ALLOW_THREADS
;
3796 } Py_INCREF(Py_None
);
3797 _resultobj
= Py_None
;
3801 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
3802 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3803 PyObject
* _resultobj
;
3806 PyObject
* _argo0
= 0;
3807 char *_kwnames
[] = { "self","id", NULL
};
3810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetId",_kwnames
,&_argo0
,&_arg1
))
3813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
3820 wxPy_BEGIN_ALLOW_THREADS
;
3821 wxWindow_SetId(_arg0
,_arg1
);
3823 wxPy_END_ALLOW_THREADS
;
3824 } Py_INCREF(Py_None
);
3825 _resultobj
= Py_None
;
3829 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
3830 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3831 PyObject
* _resultobj
;
3834 PyObject
* _argo0
= 0;
3835 PyObject
* _obj1
= 0;
3836 char *_kwnames
[] = { "self","name", NULL
};
3839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetName",_kwnames
,&_argo0
,&_obj1
))
3842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
3849 if (!PyString_Check(_obj1
)) {
3850 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3853 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3856 wxPy_BEGIN_ALLOW_THREADS
;
3857 wxWindow_SetName(_arg0
,*_arg1
);
3859 wxPy_END_ALLOW_THREADS
;
3860 } Py_INCREF(Py_None
);
3861 _resultobj
= Py_None
;
3869 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3870 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3871 PyObject
* _resultobj
;
3877 int _arg5
= (int ) TRUE
;
3878 PyObject
* _argo0
= 0;
3879 char *_kwnames
[] = { "self","orientation","position","thumbSize","range","refresh", NULL
};
3882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
3892 wxPy_BEGIN_ALLOW_THREADS
;
3893 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3895 wxPy_END_ALLOW_THREADS
;
3896 } Py_INCREF(Py_None
);
3897 _resultobj
= Py_None
;
3901 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
3902 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3903 PyObject
* _resultobj
;
3907 bool _arg3
= (bool ) TRUE
;
3908 PyObject
* _argo0
= 0;
3909 int tempbool3
= (int) TRUE
;
3910 char *_kwnames
[] = { "self","orientation","pos","refresh", NULL
};
3913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_SetScrollPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
3916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
3922 _arg3
= (bool ) tempbool3
;
3924 wxPy_BEGIN_ALLOW_THREADS
;
3925 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
3927 wxPy_END_ALLOW_THREADS
;
3928 } Py_INCREF(Py_None
);
3929 _resultobj
= Py_None
;
3933 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3934 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3935 PyObject
* _resultobj
;
3941 int _arg5
= (int ) wxSIZE_AUTO
;
3942 PyObject
* _argo0
= 0;
3943 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
3946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetDimensions",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
3956 wxPy_BEGIN_ALLOW_THREADS
;
3957 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3959 wxPy_END_ALLOW_THREADS
;
3960 } Py_INCREF(Py_None
);
3961 _resultobj
= Py_None
;
3965 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
3966 self
->SetSize(size
);
3968 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3969 PyObject
* _resultobj
;
3972 PyObject
* _argo0
= 0;
3974 PyObject
* _obj1
= 0;
3975 char *_kwnames
[] = { "self","size", NULL
};
3978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSize",_kwnames
,&_argo0
,&_obj1
))
3981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
3989 if (! wxSize_helper(_obj1
, &_arg1
))
3993 wxPy_BEGIN_ALLOW_THREADS
;
3994 wxWindow_SetSize(_arg0
,*_arg1
);
3996 wxPy_END_ALLOW_THREADS
;
3997 } Py_INCREF(Py_None
);
3998 _resultobj
= Py_None
;
4002 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
) {
4005 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4006 PyObject
* _resultobj
;
4009 PyObject
* _argo0
= 0;
4011 PyObject
* _obj1
= 0;
4012 char *_kwnames
[] = { "self","pos", NULL
};
4015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetPosition",_kwnames
,&_argo0
,&_obj1
))
4018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
4026 if (! wxPoint_helper(_obj1
, &_arg1
))
4030 wxPy_BEGIN_ALLOW_THREADS
;
4031 wxWindow_SetPosition(_arg0
,*_arg1
);
4033 wxPy_END_ALLOW_THREADS
;
4034 } Py_INCREF(Py_None
);
4035 _resultobj
= Py_None
;
4039 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4040 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4041 PyObject
* _resultobj
;
4043 int _arg1
= (int ) -1;
4044 int _arg2
= (int ) -1;
4045 int _arg3
= (int ) -1;
4046 int _arg4
= (int ) -1;
4047 int _arg5
= (int ) -1;
4048 int _arg6
= (int ) -1;
4049 PyObject
* _argo0
= 0;
4050 char *_kwnames
[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL
};
4053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iiiiii:wxWindow_SetSizeHints",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
4063 wxPy_BEGIN_ALLOW_THREADS
;
4064 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4066 wxPy_END_ALLOW_THREADS
;
4067 } Py_INCREF(Py_None
);
4068 _resultobj
= Py_None
;
4072 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
4073 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4074 PyObject
* _resultobj
;
4078 PyObject
* _argo0
= 0;
4079 char *_kwnames
[] = { "self","width","height", NULL
};
4082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_SetClientSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
4092 wxPy_BEGIN_ALLOW_THREADS
;
4093 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
4095 wxPy_END_ALLOW_THREADS
;
4096 } Py_INCREF(Py_None
);
4097 _resultobj
= Py_None
;
4101 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
4102 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4103 PyObject
* _resultobj
;
4106 PyObject
* _argo0
= 0;
4108 PyObject
* _obj1
= 0;
4109 char *_kwnames
[] = { "self","size", NULL
};
4112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetClientSize",_kwnames
,&_argo0
,&_obj1
))
4115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
4123 if (! wxSize_helper(_obj1
, &_arg1
))
4127 wxPy_BEGIN_ALLOW_THREADS
;
4128 wxWindow_SetClientSize(_arg0
,*_arg1
);
4130 wxPy_END_ALLOW_THREADS
;
4131 } Py_INCREF(Py_None
);
4132 _resultobj
= Py_None
;
4136 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
4137 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4138 PyObject
* _resultobj
;
4141 PyObject
* _argo0
= 0;
4142 PyObject
* _argo1
= 0;
4143 char *_kwnames
[] = { "self","cursor", NULL
};
4146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCursor",_kwnames
,&_argo0
,&_argo1
))
4149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
4156 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4157 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
4158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
4163 wxPy_BEGIN_ALLOW_THREADS
;
4164 wxWindow_SetCursor(_arg0
,*_arg1
);
4166 wxPy_END_ALLOW_THREADS
;
4167 } Py_INCREF(Py_None
);
4168 _resultobj
= Py_None
;
4172 #define wxWindow_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
4173 static PyObject
*_wrap_wxWindow_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4174 PyObject
* _resultobj
;
4176 wxEvtHandler
* _arg1
;
4177 PyObject
* _argo0
= 0;
4178 PyObject
* _argo1
= 0;
4179 char *_kwnames
[] = { "self","handler", NULL
};
4182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
4185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetEventHandler. Expected _wxWindow_p.");
4192 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4193 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetEventHandler. Expected _wxEvtHandler_p.");
4199 wxPy_BEGIN_ALLOW_THREADS
;
4200 wxWindow_SetEventHandler(_arg0
,_arg1
);
4202 wxPy_END_ALLOW_THREADS
;
4203 } Py_INCREF(Py_None
);
4204 _resultobj
= Py_None
;
4208 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4209 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4210 PyObject
* _resultobj
;
4213 PyObject
* _argo0
= 0;
4214 PyObject
* _obj1
= 0;
4215 char *_kwnames
[] = { "self","title", NULL
};
4218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
4228 if (!PyString_Check(_obj1
)) {
4229 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4232 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4235 wxPy_BEGIN_ALLOW_THREADS
;
4236 wxWindow_SetTitle(_arg0
,*_arg1
);
4238 wxPy_END_ALLOW_THREADS
;
4239 } Py_INCREF(Py_None
);
4240 _resultobj
= Py_None
;
4248 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4249 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4250 PyObject
* _resultobj
;
4254 PyObject
* _argo0
= 0;
4256 char *_kwnames
[] = { "self","show", NULL
};
4259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
4262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
4268 _arg1
= (bool ) tempbool1
;
4270 wxPy_BEGIN_ALLOW_THREADS
;
4271 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
4273 wxPy_END_ALLOW_THREADS
;
4274 } _resultobj
= Py_BuildValue("i",_result
);
4278 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
4279 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4280 PyObject
* _resultobj
;
4283 PyObject
* _argo0
= 0;
4284 char *_kwnames
[] = { "self", NULL
};
4287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataFromWindow",_kwnames
,&_argo0
))
4290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
4297 wxPy_BEGIN_ALLOW_THREADS
;
4298 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
4300 wxPy_END_ALLOW_THREADS
;
4301 } _resultobj
= Py_BuildValue("i",_result
);
4305 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
4306 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4307 PyObject
* _resultobj
;
4310 PyObject
* _argo0
= 0;
4311 char *_kwnames
[] = { "self", NULL
};
4314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataToWindow",_kwnames
,&_argo0
))
4317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
4324 wxPy_BEGIN_ALLOW_THREADS
;
4325 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
4327 wxPy_END_ALLOW_THREADS
;
4328 } _resultobj
= Py_BuildValue("i",_result
);
4332 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
4333 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4334 PyObject
* _resultobj
;
4337 PyObject
* _argo0
= 0;
4338 char *_kwnames
[] = { "self", NULL
};
4341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Validate",_kwnames
,&_argo0
))
4344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
4351 wxPy_BEGIN_ALLOW_THREADS
;
4352 _result
= (bool )wxWindow_Validate(_arg0
);
4354 wxPy_END_ALLOW_THREADS
;
4355 } _resultobj
= Py_BuildValue("i",_result
);
4359 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
4360 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4361 PyObject
* _resultobj
;
4365 PyObject
* _argo0
= 0;
4366 char *_kwnames
[] = { "self","x","y", NULL
};
4369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_WarpPointer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
4379 wxPy_BEGIN_ALLOW_THREADS
;
4380 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
4382 wxPy_END_ALLOW_THREADS
;
4383 } Py_INCREF(Py_None
);
4384 _resultobj
= Py_None
;
4388 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4389 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4390 PyObject
* _resultobj
;
4394 PyObject
* _argo0
= 0;
4396 PyObject
* _obj1
= 0;
4397 char *_kwnames
[] = { "self","pt", NULL
};
4401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames
,&_argo0
,&_obj1
))
4404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
4412 if (! wxPoint_helper(_obj1
, &_arg1
))
4416 wxPy_BEGIN_ALLOW_THREADS
;
4417 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
4419 wxPy_END_ALLOW_THREADS
;
4420 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4421 _resultobj
= Py_BuildValue("s",_ptemp
);
4425 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4426 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4427 PyObject
* _resultobj
;
4431 PyObject
* _argo0
= 0;
4433 PyObject
* _obj1
= 0;
4434 char *_kwnames
[] = { "self","sz", NULL
};
4438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames
,&_argo0
,&_obj1
))
4441 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4442 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
4449 if (! wxSize_helper(_obj1
, &_arg1
))
4453 wxPy_BEGIN_ALLOW_THREADS
;
4454 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
4456 wxPy_END_ALLOW_THREADS
;
4457 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4458 _resultobj
= Py_BuildValue("s",_ptemp
);
4462 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4463 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4464 PyObject
* _resultobj
;
4468 PyObject
* _argo0
= 0;
4470 PyObject
* _obj1
= 0;
4471 char *_kwnames
[] = { "self","pt", NULL
};
4475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames
,&_argo0
,&_obj1
))
4478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
4486 if (! wxPoint_helper(_obj1
, &_arg1
))
4490 wxPy_BEGIN_ALLOW_THREADS
;
4491 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
4493 wxPy_END_ALLOW_THREADS
;
4494 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4495 _resultobj
= Py_BuildValue("s",_ptemp
);
4499 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4500 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4501 PyObject
* _resultobj
;
4505 PyObject
* _argo0
= 0;
4507 PyObject
* _obj1
= 0;
4508 char *_kwnames
[] = { "self","sz", NULL
};
4512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames
,&_argo0
,&_obj1
))
4515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
4523 if (! wxSize_helper(_obj1
, &_arg1
))
4527 wxPy_BEGIN_ALLOW_THREADS
;
4528 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
4530 wxPy_END_ALLOW_THREADS
;
4531 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4532 _resultobj
= Py_BuildValue("s",_ptemp
);
4536 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4537 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4538 PyObject
* _resultobj
;
4541 PyObject
* _argo0
= 0;
4542 PyObject
* _obj1
= 0;
4543 char *_kwnames
[] = { "self","tip", NULL
};
4546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTipString",_kwnames
,&_argo0
,&_obj1
))
4549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
4556 if (!PyString_Check(_obj1
)) {
4557 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4560 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4563 wxPy_BEGIN_ALLOW_THREADS
;
4564 wxWindow_SetToolTipString(_arg0
,*_arg1
);
4566 wxPy_END_ALLOW_THREADS
;
4567 } Py_INCREF(Py_None
);
4568 _resultobj
= Py_None
;
4576 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4577 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4578 PyObject
* _resultobj
;
4581 PyObject
* _argo0
= 0;
4582 PyObject
* _argo1
= 0;
4583 char *_kwnames
[] = { "self","tooltip", NULL
};
4586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTip",_kwnames
,&_argo0
,&_argo1
))
4589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
4596 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4597 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolTip_p")) {
4598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
4603 wxPy_BEGIN_ALLOW_THREADS
;
4604 wxWindow_SetToolTip(_arg0
,_arg1
);
4606 wxPy_END_ALLOW_THREADS
;
4607 } Py_INCREF(Py_None
);
4608 _resultobj
= Py_None
;
4612 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
4613 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4614 PyObject
* _resultobj
;
4615 wxToolTip
* _result
;
4617 PyObject
* _argo0
= 0;
4618 char *_kwnames
[] = { "self", NULL
};
4622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetToolTip",_kwnames
,&_argo0
))
4625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
4632 wxPy_BEGIN_ALLOW_THREADS
;
4633 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
4635 wxPy_END_ALLOW_THREADS
;
4637 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
4638 _resultobj
= Py_BuildValue("s",_ptemp
);
4641 _resultobj
= Py_None
;
4646 #define wxWindow_SetSizer(_swigobj,_swigarg0) (_swigobj->SetSizer(_swigarg0))
4647 static PyObject
*_wrap_wxWindow_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4648 PyObject
* _resultobj
;
4651 PyObject
* _argo0
= 0;
4652 PyObject
* _argo1
= 0;
4653 char *_kwnames
[] = { "self","sizer", NULL
};
4656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSizer",_kwnames
,&_argo0
,&_argo1
))
4659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizer. Expected _wxWindow_p.");
4666 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4667 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
4668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSizer. Expected _wxSizer_p.");
4673 wxPy_BEGIN_ALLOW_THREADS
;
4674 wxWindow_SetSizer(_arg0
,_arg1
);
4676 wxPy_END_ALLOW_THREADS
;
4677 } Py_INCREF(Py_None
);
4678 _resultobj
= Py_None
;
4682 #define wxWindow_GetSizer(_swigobj) (_swigobj->GetSizer())
4683 static PyObject
*_wrap_wxWindow_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4684 PyObject
* _resultobj
;
4687 PyObject
* _argo0
= 0;
4688 char *_kwnames
[] = { "self", NULL
};
4692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizer",_kwnames
,&_argo0
))
4695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizer. Expected _wxWindow_p.");
4702 wxPy_BEGIN_ALLOW_THREADS
;
4703 _result
= (wxSizer
*)wxWindow_GetSizer(_arg0
);
4705 wxPy_END_ALLOW_THREADS
;
4707 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSizer_p");
4708 _resultobj
= Py_BuildValue("s",_ptemp
);
4711 _resultobj
= Py_None
;
4716 #define wxWindow_GetValidator(_swigobj) (_swigobj->GetValidator())
4717 static PyObject
*_wrap_wxWindow_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4718 PyObject
* _resultobj
;
4719 wxValidator
* _result
;
4721 PyObject
* _argo0
= 0;
4722 char *_kwnames
[] = { "self", NULL
};
4726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetValidator",_kwnames
,&_argo0
))
4729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetValidator. Expected _wxWindow_p.");
4736 wxPy_BEGIN_ALLOW_THREADS
;
4737 _result
= (wxValidator
*)wxWindow_GetValidator(_arg0
);
4739 wxPy_END_ALLOW_THREADS
;
4741 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
4742 _resultobj
= Py_BuildValue("s",_ptemp
);
4745 _resultobj
= Py_None
;
4750 #define wxWindow_SetValidator(_swigobj,_swigarg0) (_swigobj->SetValidator(_swigarg0))
4751 static PyObject
*_wrap_wxWindow_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4752 PyObject
* _resultobj
;
4754 wxValidator
* _arg1
;
4755 PyObject
* _argo0
= 0;
4756 PyObject
* _argo1
= 0;
4757 char *_kwnames
[] = { "self","validator", NULL
};
4760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetValidator",_kwnames
,&_argo0
,&_argo1
))
4763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetValidator. Expected _wxWindow_p.");
4770 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4771 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxValidator_p")) {
4772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetValidator. Expected _wxValidator_p.");
4777 wxPy_BEGIN_ALLOW_THREADS
;
4778 wxWindow_SetValidator(_arg0
,*_arg1
);
4780 wxPy_END_ALLOW_THREADS
;
4781 } Py_INCREF(Py_None
);
4782 _resultobj
= Py_None
;
4786 #define wxWindow_SetDropTarget(_swigobj,_swigarg0) (_swigobj->SetDropTarget(_swigarg0))
4787 static PyObject
*_wrap_wxWindow_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4788 PyObject
* _resultobj
;
4790 wxDropTarget
* _arg1
;
4791 PyObject
* _argo0
= 0;
4792 PyObject
* _argo1
= 0;
4793 char *_kwnames
[] = { "self","target", NULL
};
4796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetDropTarget",_kwnames
,&_argo0
,&_argo1
))
4799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDropTarget. Expected _wxWindow_p.");
4806 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4807 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDropTarget_p")) {
4808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetDropTarget. Expected _wxDropTarget_p.");
4813 wxPy_BEGIN_ALLOW_THREADS
;
4814 wxWindow_SetDropTarget(_arg0
,_arg1
);
4816 wxPy_END_ALLOW_THREADS
;
4817 } Py_INCREF(Py_None
);
4818 _resultobj
= Py_None
;
4822 #define wxWindow_GetDropTarget(_swigobj) (_swigobj->GetDropTarget())
4823 static PyObject
*_wrap_wxWindow_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4824 PyObject
* _resultobj
;
4825 wxDropTarget
* _result
;
4827 PyObject
* _argo0
= 0;
4828 char *_kwnames
[] = { "self", NULL
};
4832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetDropTarget",_kwnames
,&_argo0
))
4835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetDropTarget. Expected _wxWindow_p.");
4842 wxPy_BEGIN_ALLOW_THREADS
;
4843 _result
= (wxDropTarget
*)wxWindow_GetDropTarget(_arg0
);
4845 wxPy_END_ALLOW_THREADS
;
4847 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDropTarget_p");
4848 _resultobj
= Py_BuildValue("s",_ptemp
);
4851 _resultobj
= Py_None
;
4856 #define wxWindow_GetBestSize(_swigobj) (_swigobj->GetBestSize())
4857 static PyObject
*_wrap_wxWindow_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4858 PyObject
* _resultobj
;
4861 PyObject
* _argo0
= 0;
4862 char *_kwnames
[] = { "self", NULL
};
4866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBestSize",_kwnames
,&_argo0
))
4869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBestSize. Expected _wxWindow_p.");
4876 wxPy_BEGIN_ALLOW_THREADS
;
4877 _result
= new wxSize (wxWindow_GetBestSize(_arg0
));
4879 wxPy_END_ALLOW_THREADS
;
4880 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4881 _resultobj
= Py_BuildValue("s",_ptemp
);
4885 #define wxWindow_SetCaret(_swigobj,_swigarg0) (_swigobj->SetCaret(_swigarg0))
4886 static PyObject
*_wrap_wxWindow_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4887 PyObject
* _resultobj
;
4890 PyObject
* _argo0
= 0;
4891 PyObject
* _argo1
= 0;
4892 char *_kwnames
[] = { "self","caret", NULL
};
4895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCaret",_kwnames
,&_argo0
,&_argo1
))
4898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCaret. Expected _wxWindow_p.");
4905 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4906 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCaret_p")) {
4907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCaret. Expected _wxCaret_p.");
4912 wxPy_BEGIN_ALLOW_THREADS
;
4913 wxWindow_SetCaret(_arg0
,_arg1
);
4915 wxPy_END_ALLOW_THREADS
;
4916 } Py_INCREF(Py_None
);
4917 _resultobj
= Py_None
;
4921 #define wxWindow_GetCaret(_swigobj) (_swigobj->GetCaret())
4922 static PyObject
*_wrap_wxWindow_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4923 PyObject
* _resultobj
;
4926 PyObject
* _argo0
= 0;
4927 char *_kwnames
[] = { "self", NULL
};
4931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCaret",_kwnames
,&_argo0
))
4934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCaret. Expected _wxWindow_p.");
4941 wxPy_BEGIN_ALLOW_THREADS
;
4942 _result
= (wxCaret
*)wxWindow_GetCaret(_arg0
);
4944 wxPy_END_ALLOW_THREADS
;
4946 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
4947 _resultobj
= Py_BuildValue("s",_ptemp
);
4950 _resultobj
= Py_None
;
4955 static void *SwigwxPanelTowxWindow(void *ptr
) {
4958 src
= (wxPanel
*) ptr
;
4959 dest
= (wxWindow
*) src
;
4960 return (void *) dest
;
4963 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
4966 src
= (wxPanel
*) ptr
;
4967 dest
= (wxEvtHandler
*) src
;
4968 return (void *) dest
;
4971 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4972 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4973 PyObject
* _resultobj
;
4977 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
4978 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
4979 long _arg4
= (long ) wxTAB_TRAVERSAL
;
4980 char * _arg5
= (char *) "panel";
4981 PyObject
* _argo0
= 0;
4983 PyObject
* _obj2
= 0;
4985 PyObject
* _obj3
= 0;
4986 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
4990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxPanel",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
4993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
5002 if (! wxPoint_helper(_obj2
, &_arg2
))
5008 if (! wxSize_helper(_obj3
, &_arg3
))
5012 wxPy_BEGIN_ALLOW_THREADS
;
5013 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
5015 wxPy_END_ALLOW_THREADS
;
5017 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
5018 _resultobj
= Py_BuildValue("s",_ptemp
);
5021 _resultobj
= Py_None
;
5026 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
5027 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5028 PyObject
* _resultobj
;
5030 PyObject
* _argo0
= 0;
5031 char *_kwnames
[] = { "self", NULL
};
5034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_InitDialog",_kwnames
,&_argo0
))
5037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
5039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
5044 wxPy_BEGIN_ALLOW_THREADS
;
5045 wxPanel_InitDialog(_arg0
);
5047 wxPy_END_ALLOW_THREADS
;
5048 } Py_INCREF(Py_None
);
5049 _resultobj
= Py_None
;
5053 #define wxPanel_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
5054 static PyObject
*_wrap_wxPanel_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5055 PyObject
* _resultobj
;
5058 PyObject
* _argo0
= 0;
5059 char *_kwnames
[] = { "self", NULL
};
5063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_GetDefaultItem",_kwnames
,&_argo0
))
5066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
5068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_GetDefaultItem. Expected _wxPanel_p.");
5073 wxPy_BEGIN_ALLOW_THREADS
;
5074 _result
= (wxButton
*)wxPanel_GetDefaultItem(_arg0
);
5076 wxPy_END_ALLOW_THREADS
;
5078 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
5079 _resultobj
= Py_BuildValue("s",_ptemp
);
5082 _resultobj
= Py_None
;
5087 #define wxPanel_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
5088 static PyObject
*_wrap_wxPanel_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5089 PyObject
* _resultobj
;
5092 PyObject
* _argo0
= 0;
5093 PyObject
* _argo1
= 0;
5094 char *_kwnames
[] = { "self","btn", NULL
};
5097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPanel_SetDefaultItem",_kwnames
,&_argo0
,&_argo1
))
5100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
5102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_SetDefaultItem. Expected _wxPanel_p.");
5107 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5108 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxButton_p")) {
5109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPanel_SetDefaultItem. Expected _wxButton_p.");
5114 wxPy_BEGIN_ALLOW_THREADS
;
5115 wxPanel_SetDefaultItem(_arg0
,_arg1
);
5117 wxPy_END_ALLOW_THREADS
;
5118 } Py_INCREF(Py_None
);
5119 _resultobj
= Py_None
;
5123 static void *SwigwxDialogTowxPanel(void *ptr
) {
5126 src
= (wxDialog
*) ptr
;
5127 dest
= (wxPanel
*) src
;
5128 return (void *) dest
;
5131 static void *SwigwxDialogTowxWindow(void *ptr
) {
5134 src
= (wxDialog
*) ptr
;
5135 dest
= (wxWindow
*) src
;
5136 return (void *) dest
;
5139 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
5142 src
= (wxDialog
*) ptr
;
5143 dest
= (wxEvtHandler
*) src
;
5144 return (void *) dest
;
5147 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5148 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5149 PyObject
* _resultobj
;
5154 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
5155 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
5156 long _arg5
= (long ) wxDEFAULT_DIALOG_STYLE
;
5157 char * _arg6
= (char *) "dialogBox";
5158 PyObject
* _argo0
= 0;
5159 PyObject
* _obj2
= 0;
5161 PyObject
* _obj3
= 0;
5163 PyObject
* _obj4
= 0;
5164 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
5168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxDialog",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
5171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
5178 if (!PyString_Check(_obj2
)) {
5179 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5182 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5187 if (! wxPoint_helper(_obj3
, &_arg3
))
5193 if (! wxSize_helper(_obj4
, &_arg4
))
5197 wxPy_BEGIN_ALLOW_THREADS
;
5198 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
5200 wxPy_END_ALLOW_THREADS
;
5202 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
5203 _resultobj
= Py_BuildValue("s",_ptemp
);
5206 _resultobj
= Py_None
;
5215 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
5216 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5217 PyObject
* _resultobj
;
5219 int _arg1
= (int ) wxBOTH
;
5220 PyObject
* _argo0
= 0;
5221 char *_kwnames
[] = { "self","direction", NULL
};
5224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDialog_Centre",_kwnames
,&_argo0
,&_arg1
))
5227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
5234 wxPy_BEGIN_ALLOW_THREADS
;
5235 wxDialog_Centre(_arg0
,_arg1
);
5237 wxPy_END_ALLOW_THREADS
;
5238 } Py_INCREF(Py_None
);
5239 _resultobj
= Py_None
;
5243 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
5244 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5245 PyObject
* _resultobj
;
5248 PyObject
* _argo0
= 0;
5249 char *_kwnames
[] = { "self","retCode", NULL
};
5252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_EndModal",_kwnames
,&_argo0
,&_arg1
))
5255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
5262 wxPy_BEGIN_ALLOW_THREADS
;
5263 wxDialog_EndModal(_arg0
,_arg1
);
5265 wxPy_END_ALLOW_THREADS
;
5266 } Py_INCREF(Py_None
);
5267 _resultobj
= Py_None
;
5271 #define wxDialog_GetTitle(_swigobj) (_swigobj->GetTitle())
5272 static PyObject
*_wrap_wxDialog_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5273 PyObject
* _resultobj
;
5276 PyObject
* _argo0
= 0;
5277 char *_kwnames
[] = { "self", NULL
};
5280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetTitle",_kwnames
,&_argo0
))
5283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetTitle. Expected _wxDialog_p.");
5290 wxPy_BEGIN_ALLOW_THREADS
;
5291 _result
= new wxString (wxDialog_GetTitle(_arg0
));
5293 wxPy_END_ALLOW_THREADS
;
5295 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5303 #define wxDialog_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
5304 static PyObject
*_wrap_wxDialog_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5305 PyObject
* _resultobj
;
5308 PyObject
* _argo0
= 0;
5310 char *_kwnames
[] = { "self","iconize", NULL
};
5313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Iconize",_kwnames
,&_argo0
,&tempbool1
))
5316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Iconize. Expected _wxDialog_p.");
5322 _arg1
= (bool ) tempbool1
;
5324 wxPy_BEGIN_ALLOW_THREADS
;
5325 wxDialog_Iconize(_arg0
,_arg1
);
5327 wxPy_END_ALLOW_THREADS
;
5328 } Py_INCREF(Py_None
);
5329 _resultobj
= Py_None
;
5333 #define wxDialog_IsIconized(_swigobj) (_swigobj->IsIconized())
5334 static PyObject
*_wrap_wxDialog_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5335 PyObject
* _resultobj
;
5338 PyObject
* _argo0
= 0;
5339 char *_kwnames
[] = { "self", NULL
};
5342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsIconized",_kwnames
,&_argo0
))
5345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsIconized. Expected _wxDialog_p.");
5352 wxPy_BEGIN_ALLOW_THREADS
;
5353 _result
= (bool )wxDialog_IsIconized(_arg0
);
5355 wxPy_END_ALLOW_THREADS
;
5356 } _resultobj
= Py_BuildValue("i",_result
);
5360 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
5361 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5362 PyObject
* _resultobj
;
5365 PyObject
* _argo0
= 0;
5367 char *_kwnames
[] = { "self","flag", NULL
};
5370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetModal",_kwnames
,&_argo0
,&tempbool1
))
5373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
5379 _arg1
= (bool ) tempbool1
;
5381 wxPy_BEGIN_ALLOW_THREADS
;
5382 wxDialog_SetModal(_arg0
,_arg1
);
5384 wxPy_END_ALLOW_THREADS
;
5385 } Py_INCREF(Py_None
);
5386 _resultobj
= Py_None
;
5390 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
5391 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5392 PyObject
* _resultobj
;
5395 PyObject
* _argo0
= 0;
5396 char *_kwnames
[] = { "self", NULL
};
5399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsModal",_kwnames
,&_argo0
))
5402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
5409 wxPy_BEGIN_ALLOW_THREADS
;
5410 _result
= (bool )wxDialog_IsModal(_arg0
);
5412 wxPy_END_ALLOW_THREADS
;
5413 } _resultobj
= Py_BuildValue("i",_result
);
5417 #define wxDialog_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
5418 static PyObject
*_wrap_wxDialog_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5419 PyObject
* _resultobj
;
5422 PyObject
* _argo0
= 0;
5423 PyObject
* _obj1
= 0;
5424 char *_kwnames
[] = { "self","title", NULL
};
5427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDialog_SetTitle",_kwnames
,&_argo0
,&_obj1
))
5430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetTitle. Expected _wxDialog_p.");
5437 if (!PyString_Check(_obj1
)) {
5438 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5441 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5444 wxPy_BEGIN_ALLOW_THREADS
;
5445 wxDialog_SetTitle(_arg0
,*_arg1
);
5447 wxPy_END_ALLOW_THREADS
;
5448 } Py_INCREF(Py_None
);
5449 _resultobj
= Py_None
;
5457 #define wxDialog_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5458 static PyObject
*_wrap_wxDialog_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5459 PyObject
* _resultobj
;
5463 PyObject
* _argo0
= 0;
5465 char *_kwnames
[] = { "self","show", NULL
};
5468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Show",_kwnames
,&_argo0
,&tempbool1
))
5471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Show. Expected _wxDialog_p.");
5477 _arg1
= (bool ) tempbool1
;
5479 wxPy_BEGIN_ALLOW_THREADS
;
5480 _result
= (bool )wxDialog_Show(_arg0
,_arg1
);
5482 wxPy_END_ALLOW_THREADS
;
5483 } _resultobj
= Py_BuildValue("i",_result
);
5487 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
5488 static PyObject
*_wrap_wxDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5489 PyObject
* _resultobj
;
5492 PyObject
* _argo0
= 0;
5493 char *_kwnames
[] = { "self", NULL
};
5496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_ShowModal",_kwnames
,&_argo0
))
5499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
5506 wxPy_BEGIN_ALLOW_THREADS
;
5507 _result
= (int )wxDialog_ShowModal(_arg0
);
5509 wxPy_END_ALLOW_THREADS
;
5510 } _resultobj
= Py_BuildValue("i",_result
);
5514 #define wxDialog_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
5515 static PyObject
*_wrap_wxDialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5516 PyObject
* _resultobj
;
5519 PyObject
* _argo0
= 0;
5520 char *_kwnames
[] = { "self", NULL
};
5523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetReturnCode",_kwnames
,&_argo0
))
5526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetReturnCode. Expected _wxDialog_p.");
5533 wxPy_BEGIN_ALLOW_THREADS
;
5534 _result
= (int )wxDialog_GetReturnCode(_arg0
);
5536 wxPy_END_ALLOW_THREADS
;
5537 } _resultobj
= Py_BuildValue("i",_result
);
5541 #define wxDialog_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
5542 static PyObject
*_wrap_wxDialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5543 PyObject
* _resultobj
;
5546 PyObject
* _argo0
= 0;
5547 char *_kwnames
[] = { "self","retCode", NULL
};
5550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetReturnCode",_kwnames
,&_argo0
,&_arg1
))
5553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetReturnCode. Expected _wxDialog_p.");
5560 wxPy_BEGIN_ALLOW_THREADS
;
5561 wxDialog_SetReturnCode(_arg0
,_arg1
);
5563 wxPy_END_ALLOW_THREADS
;
5564 } Py_INCREF(Py_None
);
5565 _resultobj
= Py_None
;
5569 static void *SwigwxScrolledWindowTowxPanel(void *ptr
) {
5570 wxScrolledWindow
*src
;
5572 src
= (wxScrolledWindow
*) ptr
;
5573 dest
= (wxPanel
*) src
;
5574 return (void *) dest
;
5577 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
5578 wxScrolledWindow
*src
;
5580 src
= (wxScrolledWindow
*) ptr
;
5581 dest
= (wxWindow
*) src
;
5582 return (void *) dest
;
5585 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
5586 wxScrolledWindow
*src
;
5588 src
= (wxScrolledWindow
*) ptr
;
5589 dest
= (wxEvtHandler
*) src
;
5590 return (void *) dest
;
5593 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5594 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5595 PyObject
* _resultobj
;
5596 wxScrolledWindow
* _result
;
5598 wxWindowID _arg1
= (wxWindowID
) -1;
5599 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
5600 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
5601 long _arg4
= (long ) wxHSCROLL
|wxVSCROLL
;
5602 char * _arg5
= (char *) "scrolledWindow";
5603 PyObject
* _argo0
= 0;
5605 PyObject
* _obj2
= 0;
5607 PyObject
* _obj3
= 0;
5608 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
5612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxScrolledWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
5615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
5624 if (! wxPoint_helper(_obj2
, &_arg2
))
5630 if (! wxSize_helper(_obj3
, &_arg3
))
5634 wxPy_BEGIN_ALLOW_THREADS
;
5635 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
5637 wxPy_END_ALLOW_THREADS
;
5639 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
5640 _resultobj
= Py_BuildValue("s",_ptemp
);
5643 _resultobj
= Py_None
;
5648 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
5649 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5650 PyObject
* _resultobj
;
5651 wxScrolledWindow
* _arg0
;
5654 PyObject
* _argo0
= 0;
5657 char *_kwnames
[] = { "self","xScrolling","yScrolling", NULL
};
5660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_EnableScrolling",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
5663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
5669 _arg1
= (bool ) tempbool1
;
5670 _arg2
= (bool ) tempbool2
;
5672 wxPy_BEGIN_ALLOW_THREADS
;
5673 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
5675 wxPy_END_ALLOW_THREADS
;
5676 } Py_INCREF(Py_None
);
5677 _resultobj
= Py_None
;
5681 #define wxScrolledWindow_GetScrollPageSize(_swigobj,_swigarg0) (_swigobj->GetScrollPageSize(_swigarg0))
5682 static PyObject
*_wrap_wxScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5683 PyObject
* _resultobj
;
5685 wxScrolledWindow
* _arg0
;
5687 PyObject
* _argo0
= 0;
5688 char *_kwnames
[] = { "self","orient", NULL
};
5691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrolledWindow_GetScrollPageSize",_kwnames
,&_argo0
,&_arg1
))
5694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPageSize. Expected _wxScrolledWindow_p.");
5701 wxPy_BEGIN_ALLOW_THREADS
;
5702 _result
= (int )wxScrolledWindow_GetScrollPageSize(_arg0
,_arg1
);
5704 wxPy_END_ALLOW_THREADS
;
5705 } _resultobj
= Py_BuildValue("i",_result
);
5709 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
5710 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5711 PyObject
* _resultobj
;
5712 wxScrolledWindow
* _arg0
;
5717 PyObject
* _argo0
= 0;
5718 char *_kwnames
[] = { "self", NULL
};
5727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames
,&_argo0
))
5730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
5737 wxPy_BEGIN_ALLOW_THREADS
;
5738 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
5740 wxPy_END_ALLOW_THREADS
;
5741 } Py_INCREF(Py_None
);
5742 _resultobj
= Py_None
;
5745 o
= PyInt_FromLong((long) (*_arg1
));
5746 _resultobj
= t_output_helper(_resultobj
, o
);
5750 o
= PyInt_FromLong((long) (*_arg2
));
5751 _resultobj
= t_output_helper(_resultobj
, o
);
5756 #define wxScrolledWindow_GetTargetWindow(_swigobj) (_swigobj->GetTargetWindow())
5757 static PyObject
*_wrap_wxScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5758 PyObject
* _resultobj
;
5760 wxScrolledWindow
* _arg0
;
5761 PyObject
* _argo0
= 0;
5762 char *_kwnames
[] = { "self", NULL
};
5766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetTargetWindow",_kwnames
,&_argo0
))
5769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetTargetWindow. Expected _wxScrolledWindow_p.");
5776 wxPy_BEGIN_ALLOW_THREADS
;
5777 _result
= (wxWindow
*)wxScrolledWindow_GetTargetWindow(_arg0
);
5779 wxPy_END_ALLOW_THREADS
;
5781 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
5782 _resultobj
= Py_BuildValue("s",_ptemp
);
5785 _resultobj
= Py_None
;
5790 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
5791 static PyObject
*_wrap_wxScrolledWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5792 PyObject
* _resultobj
;
5793 wxScrolledWindow
* _arg0
;
5798 PyObject
* _argo0
= 0;
5799 char *_kwnames
[] = { "self", NULL
};
5808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetVirtualSize",_kwnames
,&_argo0
))
5811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
5818 wxPy_BEGIN_ALLOW_THREADS
;
5819 wxScrolledWindow_GetVirtualSize(_arg0
,_arg1
,_arg2
);
5821 wxPy_END_ALLOW_THREADS
;
5822 } Py_INCREF(Py_None
);
5823 _resultobj
= Py_None
;
5826 o
= PyInt_FromLong((long) (*_arg1
));
5827 _resultobj
= t_output_helper(_resultobj
, o
);
5831 o
= PyInt_FromLong((long) (*_arg2
));
5832 _resultobj
= t_output_helper(_resultobj
, o
);
5837 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
5838 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5839 PyObject
* _resultobj
;
5841 wxScrolledWindow
* _arg0
;
5842 PyObject
* _argo0
= 0;
5843 char *_kwnames
[] = { "self", NULL
};
5846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_IsRetained",_kwnames
,&_argo0
))
5849 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5850 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
5856 wxPy_BEGIN_ALLOW_THREADS
;
5857 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
5859 wxPy_END_ALLOW_THREADS
;
5860 } _resultobj
= Py_BuildValue("i",_result
);
5864 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
5865 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5866 PyObject
* _resultobj
;
5867 wxScrolledWindow
* _arg0
;
5869 PyObject
* _argo0
= 0;
5870 PyObject
* _argo1
= 0;
5871 char *_kwnames
[] = { "self","dc", NULL
};
5874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_PrepareDC",_kwnames
,&_argo0
,&_argo1
))
5877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
5884 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5885 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
5891 wxPy_BEGIN_ALLOW_THREADS
;
5892 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
5894 wxPy_END_ALLOW_THREADS
;
5895 } Py_INCREF(Py_None
);
5896 _resultobj
= Py_None
;
5900 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
5901 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5902 PyObject
* _resultobj
;
5903 wxScrolledWindow
* _arg0
;
5906 PyObject
* _argo0
= 0;
5907 char *_kwnames
[] = { "self","x","y", NULL
};
5910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_Scroll",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
5920 wxPy_BEGIN_ALLOW_THREADS
;
5921 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
5923 wxPy_END_ALLOW_THREADS
;
5924 } Py_INCREF(Py_None
);
5925 _resultobj
= Py_None
;
5929 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5930 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5931 PyObject
* _resultobj
;
5932 wxScrolledWindow
* _arg0
;
5937 int _arg5
= (int ) 0;
5938 int _arg6
= (int ) 0;
5939 int _arg7
= (int ) FALSE
;
5940 PyObject
* _argo0
= 0;
5941 char *_kwnames
[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos","noRefresh", NULL
};
5944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|iii:wxScrolledWindow_SetScrollbars",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&_arg7
))
5947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
5954 wxPy_BEGIN_ALLOW_THREADS
;
5955 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
5957 wxPy_END_ALLOW_THREADS
;
5958 } Py_INCREF(Py_None
);
5959 _resultobj
= Py_None
;
5963 #define wxScrolledWindow_SetScrollPageSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScrollPageSize(_swigarg0,_swigarg1))
5964 static PyObject
*_wrap_wxScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5965 PyObject
* _resultobj
;
5966 wxScrolledWindow
* _arg0
;
5969 PyObject
* _argo0
= 0;
5970 char *_kwnames
[] = { "self","orient","pageSize", NULL
};
5973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_SetScrollPageSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollPageSize. Expected _wxScrolledWindow_p.");
5983 wxPy_BEGIN_ALLOW_THREADS
;
5984 wxScrolledWindow_SetScrollPageSize(_arg0
,_arg1
,_arg2
);
5986 wxPy_END_ALLOW_THREADS
;
5987 } Py_INCREF(Py_None
);
5988 _resultobj
= Py_None
;
5992 #define wxScrolledWindow_SetTargetWindow(_swigobj,_swigarg0) (_swigobj->SetTargetWindow(_swigarg0))
5993 static PyObject
*_wrap_wxScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5994 PyObject
* _resultobj
;
5995 wxScrolledWindow
* _arg0
;
5997 PyObject
* _argo0
= 0;
5998 PyObject
* _argo1
= 0;
5999 char *_kwnames
[] = { "self","window", NULL
};
6002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_SetTargetWindow",_kwnames
,&_argo0
,&_argo1
))
6005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetTargetWindow. Expected _wxScrolledWindow_p.");
6012 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6013 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_SetTargetWindow. Expected _wxWindow_p.");
6019 wxPy_BEGIN_ALLOW_THREADS
;
6020 wxScrolledWindow_SetTargetWindow(_arg0
,_arg1
);
6022 wxPy_END_ALLOW_THREADS
;
6023 } Py_INCREF(Py_None
);
6024 _resultobj
= Py_None
;
6028 #define wxScrolledWindow_GetViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetViewStart(_swigarg0,_swigarg1))
6029 static PyObject
*_wrap_wxScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6030 PyObject
* _resultobj
;
6031 wxScrolledWindow
* _arg0
;
6036 PyObject
* _argo0
= 0;
6037 char *_kwnames
[] = { "self", NULL
};
6046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetViewStart",_kwnames
,&_argo0
))
6049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetViewStart. Expected _wxScrolledWindow_p.");
6056 wxPy_BEGIN_ALLOW_THREADS
;
6057 wxScrolledWindow_GetViewStart(_arg0
,_arg1
,_arg2
);
6059 wxPy_END_ALLOW_THREADS
;
6060 } Py_INCREF(Py_None
);
6061 _resultobj
= Py_None
;
6064 o
= PyInt_FromLong((long) (*_arg1
));
6065 _resultobj
= t_output_helper(_resultobj
, o
);
6069 o
= PyInt_FromLong((long) (*_arg2
));
6070 _resultobj
= t_output_helper(_resultobj
, o
);
6075 #define wxScrolledWindow_ViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->ViewStart(_swigarg0,_swigarg1))
6076 static PyObject
*_wrap_wxScrolledWindow_ViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6077 PyObject
* _resultobj
;
6078 wxScrolledWindow
* _arg0
;
6083 PyObject
* _argo0
= 0;
6084 char *_kwnames
[] = { "self", NULL
};
6093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_ViewStart",_kwnames
,&_argo0
))
6096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_ViewStart. Expected _wxScrolledWindow_p.");
6103 wxPy_BEGIN_ALLOW_THREADS
;
6104 wxScrolledWindow_ViewStart(_arg0
,_arg1
,_arg2
);
6106 wxPy_END_ALLOW_THREADS
;
6107 } Py_INCREF(Py_None
);
6108 _resultobj
= Py_None
;
6111 o
= PyInt_FromLong((long) (*_arg1
));
6112 _resultobj
= t_output_helper(_resultobj
, o
);
6116 o
= PyInt_FromLong((long) (*_arg2
));
6117 _resultobj
= t_output_helper(_resultobj
, o
);
6122 #define wxScrolledWindow_CalcScrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcScrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6123 static PyObject
*_wrap_wxScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6124 PyObject
* _resultobj
;
6125 wxScrolledWindow
* _arg0
;
6132 PyObject
* _argo0
= 0;
6133 char *_kwnames
[] = { "self","x","y", NULL
};
6142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcScrolledPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition. Expected _wxScrolledWindow_p.");
6152 wxPy_BEGIN_ALLOW_THREADS
;
6153 wxScrolledWindow_CalcScrolledPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6155 wxPy_END_ALLOW_THREADS
;
6156 } Py_INCREF(Py_None
);
6157 _resultobj
= Py_None
;
6160 o
= PyInt_FromLong((long) (*_arg3
));
6161 _resultobj
= t_output_helper(_resultobj
, o
);
6165 o
= PyInt_FromLong((long) (*_arg4
));
6166 _resultobj
= t_output_helper(_resultobj
, o
);
6171 #define wxScrolledWindow_CalcUnscrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcUnscrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6172 static PyObject
*_wrap_wxScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6173 PyObject
* _resultobj
;
6174 wxScrolledWindow
* _arg0
;
6181 PyObject
* _argo0
= 0;
6182 char *_kwnames
[] = { "self","x","y", NULL
};
6191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcUnscrolledPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition. Expected _wxScrolledWindow_p.");
6201 wxPy_BEGIN_ALLOW_THREADS
;
6202 wxScrolledWindow_CalcUnscrolledPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6204 wxPy_END_ALLOW_THREADS
;
6205 } Py_INCREF(Py_None
);
6206 _resultobj
= Py_None
;
6209 o
= PyInt_FromLong((long) (*_arg3
));
6210 _resultobj
= t_output_helper(_resultobj
, o
);
6214 o
= PyInt_FromLong((long) (*_arg4
));
6215 _resultobj
= t_output_helper(_resultobj
, o
);
6220 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
6223 src
= (wxMenu
*) ptr
;
6224 dest
= (wxEvtHandler
*) src
;
6225 return (void *) dest
;
6228 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
6229 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6230 PyObject
* _resultobj
;
6232 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
6233 long _arg1
= (long ) 0;
6234 PyObject
* _obj0
= 0;
6235 char *_kwnames
[] = { "title","style", NULL
};
6239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Ol:new_wxMenu",_kwnames
,&_obj0
,&_arg1
))
6243 if (!PyString_Check(_obj0
)) {
6244 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6247 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
6250 wxPy_BEGIN_ALLOW_THREADS
;
6251 _result
= (wxMenu
*)new_wxMenu(*_arg0
,_arg1
);
6253 wxPy_END_ALLOW_THREADS
;
6255 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
6256 _resultobj
= Py_BuildValue("s",_ptemp
);
6259 _resultobj
= Py_None
;
6268 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6269 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6270 PyObject
* _resultobj
;
6274 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
6275 int _arg4
= (int ) FALSE
;
6276 PyObject
* _argo0
= 0;
6277 PyObject
* _obj2
= 0;
6278 PyObject
* _obj3
= 0;
6279 char *_kwnames
[] = { "self","id","item","helpString","checkable", NULL
};
6282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Append",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
6285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
6292 if (!PyString_Check(_obj2
)) {
6293 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6296 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6300 if (!PyString_Check(_obj3
)) {
6301 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6304 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
6307 wxPy_BEGIN_ALLOW_THREADS
;
6308 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
6310 wxPy_END_ALLOW_THREADS
;
6311 } Py_INCREF(Py_None
);
6312 _resultobj
= Py_None
;
6324 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6325 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6326 PyObject
* _resultobj
;
6331 wxString
* _arg4
= (wxString
*) &wxPyEmptyStr
;
6332 PyObject
* _argo0
= 0;
6333 PyObject
* _obj2
= 0;
6334 PyObject
* _argo3
= 0;
6335 PyObject
* _obj4
= 0;
6336 char *_kwnames
[] = { "self","id","item","subMenu","helpString", NULL
};
6339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_AppendMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
6342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
6349 if (!PyString_Check(_obj2
)) {
6350 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6353 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6356 if (_argo3
== Py_None
) { _arg3
= NULL
; }
6357 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
6358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
6364 if (!PyString_Check(_obj4
)) {
6365 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6368 _arg4
= new wxString(PyString_AsString(_obj4
), PyString_Size(_obj4
));
6371 wxPy_BEGIN_ALLOW_THREADS
;
6372 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
6374 wxPy_END_ALLOW_THREADS
;
6375 } Py_INCREF(Py_None
);
6376 _resultobj
= Py_None
;
6388 #define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
6389 static PyObject
*_wrap_wxMenu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6390 PyObject
* _resultobj
;
6393 PyObject
* _argo0
= 0;
6394 PyObject
* _argo1
= 0;
6395 char *_kwnames
[] = { "self","item", NULL
};
6398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_AppendItem",_kwnames
,&_argo0
,&_argo1
))
6401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
6408 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6409 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
6410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
6415 wxPy_BEGIN_ALLOW_THREADS
;
6416 wxMenu_AppendItem(_arg0
,_arg1
);
6418 wxPy_END_ALLOW_THREADS
;
6419 } Py_INCREF(Py_None
);
6420 _resultobj
= Py_None
;
6424 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
6425 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6426 PyObject
* _resultobj
;
6428 PyObject
* _argo0
= 0;
6429 char *_kwnames
[] = { "self", NULL
};
6432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_AppendSeparator",_kwnames
,&_argo0
))
6435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
6442 wxPy_BEGIN_ALLOW_THREADS
;
6443 wxMenu_AppendSeparator(_arg0
);
6445 wxPy_END_ALLOW_THREADS
;
6446 } Py_INCREF(Py_None
);
6447 _resultobj
= Py_None
;
6451 #define wxMenu_Break(_swigobj) (_swigobj->Break())
6452 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6453 PyObject
* _resultobj
;
6455 PyObject
* _argo0
= 0;
6456 char *_kwnames
[] = { "self", NULL
};
6459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Break",_kwnames
,&_argo0
))
6462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
6469 wxPy_BEGIN_ALLOW_THREADS
;
6470 wxMenu_Break(_arg0
);
6472 wxPy_END_ALLOW_THREADS
;
6473 } Py_INCREF(Py_None
);
6474 _resultobj
= Py_None
;
6478 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
6479 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6480 PyObject
* _resultobj
;
6484 PyObject
* _argo0
= 0;
6486 char *_kwnames
[] = { "self","id","flag", NULL
};
6489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
6498 _arg2
= (bool ) tempbool2
;
6500 wxPy_BEGIN_ALLOW_THREADS
;
6501 wxMenu_Check(_arg0
,_arg1
,_arg2
);
6503 wxPy_END_ALLOW_THREADS
;
6504 } Py_INCREF(Py_None
);
6505 _resultobj
= Py_None
;
6509 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
6510 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6511 PyObject
* _resultobj
;
6515 PyObject
* _argo0
= 0;
6516 char *_kwnames
[] = { "self","id", NULL
};
6519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsChecked",_kwnames
,&_argo0
,&_arg1
))
6522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
6529 wxPy_BEGIN_ALLOW_THREADS
;
6530 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
6532 wxPy_END_ALLOW_THREADS
;
6533 } _resultobj
= Py_BuildValue("i",_result
);
6537 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
6538 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6539 PyObject
* _resultobj
;
6543 PyObject
* _argo0
= 0;
6545 char *_kwnames
[] = { "self","id","enable", NULL
};
6548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
6557 _arg2
= (bool ) tempbool2
;
6559 wxPy_BEGIN_ALLOW_THREADS
;
6560 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
6562 wxPy_END_ALLOW_THREADS
;
6563 } Py_INCREF(Py_None
);
6564 _resultobj
= Py_None
;
6568 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
6569 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6570 PyObject
* _resultobj
;
6574 PyObject
* _argo0
= 0;
6575 char *_kwnames
[] = { "self","id", NULL
};
6578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
6581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
6588 wxPy_BEGIN_ALLOW_THREADS
;
6589 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
6591 wxPy_END_ALLOW_THREADS
;
6592 } _resultobj
= Py_BuildValue("i",_result
);
6596 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
6597 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6598 PyObject
* _resultobj
;
6602 PyObject
* _argo0
= 0;
6603 PyObject
* _obj1
= 0;
6604 char *_kwnames
[] = { "self","itemString", NULL
};
6607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_FindItem",_kwnames
,&_argo0
,&_obj1
))
6610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
6617 if (!PyString_Check(_obj1
)) {
6618 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6621 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
6624 wxPy_BEGIN_ALLOW_THREADS
;
6625 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
6627 wxPy_END_ALLOW_THREADS
;
6628 } _resultobj
= Py_BuildValue("i",_result
);
6636 #define wxMenu_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
6637 static PyObject
*_wrap_wxMenu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6638 PyObject
* _resultobj
;
6639 wxMenuItem
* _result
;
6642 PyObject
* _argo0
= 0;
6643 char *_kwnames
[] = { "self","id", NULL
};
6647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_FindItemById",_kwnames
,&_argo0
,&_arg1
))
6650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemById. Expected _wxMenu_p.");
6657 wxPy_BEGIN_ALLOW_THREADS
;
6658 _result
= (wxMenuItem
*)wxMenu_FindItemById(_arg0
,_arg1
);
6660 wxPy_END_ALLOW_THREADS
;
6662 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
6663 _resultobj
= Py_BuildValue("s",_ptemp
);
6666 _resultobj
= Py_None
;
6671 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
6672 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6673 PyObject
* _resultobj
;
6676 PyObject
* _argo0
= 0;
6677 char *_kwnames
[] = { "self", NULL
};
6680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetTitle",_kwnames
,&_argo0
))
6683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
6690 wxPy_BEGIN_ALLOW_THREADS
;
6691 _result
= new wxString (wxMenu_GetTitle(_arg0
));
6693 wxPy_END_ALLOW_THREADS
;
6695 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6703 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
6704 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6705 PyObject
* _resultobj
;
6708 PyObject
* _argo0
= 0;
6709 PyObject
* _obj1
= 0;
6710 char *_kwnames
[] = { "self","title", NULL
};
6713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetTitle",_kwnames
,&_argo0
,&_obj1
))
6716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
6723 if (!PyString_Check(_obj1
)) {
6724 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6727 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
6730 wxPy_BEGIN_ALLOW_THREADS
;
6731 wxMenu_SetTitle(_arg0
,*_arg1
);
6733 wxPy_END_ALLOW_THREADS
;
6734 } Py_INCREF(Py_None
);
6735 _resultobj
= Py_None
;
6743 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
6744 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6745 PyObject
* _resultobj
;
6749 PyObject
* _argo0
= 0;
6750 char *_kwnames
[] = { "self","id", NULL
};
6753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetLabel",_kwnames
,&_argo0
,&_arg1
))
6756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
6763 wxPy_BEGIN_ALLOW_THREADS
;
6764 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
6766 wxPy_END_ALLOW_THREADS
;
6768 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6776 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
6777 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6778 PyObject
* _resultobj
;
6782 PyObject
* _argo0
= 0;
6783 PyObject
* _obj2
= 0;
6784 char *_kwnames
[] = { "self","id","label", NULL
};
6787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
6797 if (!PyString_Check(_obj2
)) {
6798 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6801 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6804 wxPy_BEGIN_ALLOW_THREADS
;
6805 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
6807 wxPy_END_ALLOW_THREADS
;
6808 } Py_INCREF(Py_None
);
6809 _resultobj
= Py_None
;
6817 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
6818 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6819 PyObject
* _resultobj
;
6823 PyObject
* _argo0
= 0;
6824 char *_kwnames
[] = { "self","id", NULL
};
6827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
6830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
6837 wxPy_BEGIN_ALLOW_THREADS
;
6838 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
6840 wxPy_END_ALLOW_THREADS
;
6842 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6850 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
6851 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6852 PyObject
* _resultobj
;
6856 PyObject
* _argo0
= 0;
6857 PyObject
* _obj2
= 0;
6858 char *_kwnames
[] = { "self","id","helpString", NULL
};
6861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6864 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6865 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
6871 if (!PyString_Check(_obj2
)) {
6872 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6875 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6878 wxPy_BEGIN_ALLOW_THREADS
;
6879 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
6881 wxPy_END_ALLOW_THREADS
;
6882 } Py_INCREF(Py_None
);
6883 _resultobj
= Py_None
;
6891 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
6892 static PyObject
*_wrap_wxMenu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6893 PyObject
* _resultobj
;
6895 wxEvtHandler
* _arg1
= (wxEvtHandler
*) NULL
;
6896 PyObject
* _argo0
= 0;
6897 PyObject
* _argo1
= 0;
6898 char *_kwnames
[] = { "self","source", NULL
};
6901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxMenu_UpdateUI",_kwnames
,&_argo0
,&_argo1
))
6904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
6911 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6912 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
6913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
6918 wxPy_BEGIN_ALLOW_THREADS
;
6919 wxMenu_UpdateUI(_arg0
,_arg1
);
6921 wxPy_END_ALLOW_THREADS
;
6922 } Py_INCREF(Py_None
);
6923 _resultobj
= Py_None
;
6927 #define wxMenu_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
6928 static PyObject
*_wrap_wxMenu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6929 PyObject
* _resultobj
;
6933 PyObject
* _argo0
= 0;
6934 char *_kwnames
[] = { "self","id", NULL
};
6937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Delete",_kwnames
,&_argo0
,&_arg1
))
6940 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6941 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Delete. Expected _wxMenu_p.");
6947 wxPy_BEGIN_ALLOW_THREADS
;
6948 _result
= (bool )wxMenu_Delete(_arg0
,_arg1
);
6950 wxPy_END_ALLOW_THREADS
;
6951 } _resultobj
= Py_BuildValue("i",_result
);
6955 #define wxMenu_DeleteItem(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
6956 static PyObject
*_wrap_wxMenu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6957 PyObject
* _resultobj
;
6961 PyObject
* _argo0
= 0;
6962 PyObject
* _argo1
= 0;
6963 char *_kwnames
[] = { "self","item", NULL
};
6966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DeleteItem",_kwnames
,&_argo0
,&_argo1
))
6969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DeleteItem. Expected _wxMenu_p.");
6976 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6977 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
6978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DeleteItem. Expected _wxMenuItem_p.");
6983 wxPy_BEGIN_ALLOW_THREADS
;
6984 _result
= (bool )wxMenu_DeleteItem(_arg0
,_arg1
);
6986 wxPy_END_ALLOW_THREADS
;
6987 } _resultobj
= Py_BuildValue("i",_result
);
6991 #define wxMenu_Insert(_swigobj,_swigarg0,_swigarg1) (_swigobj->Insert(_swigarg0,_swigarg1))
6992 static PyObject
*_wrap_wxMenu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6993 PyObject
* _resultobj
;
6998 PyObject
* _argo0
= 0;
6999 PyObject
* _argo2
= 0;
7000 char *_kwnames
[] = { "self","pos","item", NULL
};
7003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
7006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Insert. Expected _wxMenu_p.");
7013 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7014 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenuItem_p")) {
7015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenu_Insert. Expected _wxMenuItem_p.");
7020 wxPy_BEGIN_ALLOW_THREADS
;
7021 _result
= (bool )wxMenu_Insert(_arg0
,_arg1
,_arg2
);
7023 wxPy_END_ALLOW_THREADS
;
7024 } _resultobj
= Py_BuildValue("i",_result
);
7028 #define wxMenu_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
7029 static PyObject
*_wrap_wxMenu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7030 PyObject
* _resultobj
;
7031 wxMenuItem
* _result
;
7034 PyObject
* _argo0
= 0;
7035 char *_kwnames
[] = { "self","id", NULL
};
7039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Remove",_kwnames
,&_argo0
,&_arg1
))
7042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Remove. Expected _wxMenu_p.");
7049 wxPy_BEGIN_ALLOW_THREADS
;
7050 _result
= (wxMenuItem
*)wxMenu_Remove(_arg0
,_arg1
);
7052 wxPy_END_ALLOW_THREADS
;
7054 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
7055 _resultobj
= Py_BuildValue("s",_ptemp
);
7058 _resultobj
= Py_None
;
7063 #define wxMenu_RemoveItem(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
7064 static PyObject
*_wrap_wxMenu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7065 PyObject
* _resultobj
;
7066 wxMenuItem
* _result
;
7069 PyObject
* _argo0
= 0;
7070 PyObject
* _argo1
= 0;
7071 char *_kwnames
[] = { "self","item", NULL
};
7075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_RemoveItem",_kwnames
,&_argo0
,&_argo1
))
7078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_RemoveItem. Expected _wxMenu_p.");
7085 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7086 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
7087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_RemoveItem. Expected _wxMenuItem_p.");
7092 wxPy_BEGIN_ALLOW_THREADS
;
7093 _result
= (wxMenuItem
*)wxMenu_RemoveItem(_arg0
,_arg1
);
7095 wxPy_END_ALLOW_THREADS
;
7097 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
7098 _resultobj
= Py_BuildValue("s",_ptemp
);
7101 _resultobj
= Py_None
;
7106 static void wxMenu_Destroy(wxMenu
*self
) { delete self
; }
7107 static PyObject
*_wrap_wxMenu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7108 PyObject
* _resultobj
;
7110 PyObject
* _argo0
= 0;
7111 char *_kwnames
[] = { "self", NULL
};
7114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Destroy",_kwnames
,&_argo0
))
7117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Destroy. Expected _wxMenu_p.");
7124 wxPy_BEGIN_ALLOW_THREADS
;
7125 wxMenu_Destroy(_arg0
);
7127 wxPy_END_ALLOW_THREADS
;
7128 } Py_INCREF(Py_None
);
7129 _resultobj
= Py_None
;
7133 #define wxMenu_DestroyId(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
7134 static PyObject
*_wrap_wxMenu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7135 PyObject
* _resultobj
;
7139 PyObject
* _argo0
= 0;
7140 char *_kwnames
[] = { "self","id", NULL
};
7143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_DestroyId",_kwnames
,&_argo0
,&_arg1
))
7146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyId. Expected _wxMenu_p.");
7153 wxPy_BEGIN_ALLOW_THREADS
;
7154 _result
= (bool )wxMenu_DestroyId(_arg0
,_arg1
);
7156 wxPy_END_ALLOW_THREADS
;
7157 } _resultobj
= Py_BuildValue("i",_result
);
7161 #define wxMenu_DestroyItem(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
7162 static PyObject
*_wrap_wxMenu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7163 PyObject
* _resultobj
;
7167 PyObject
* _argo0
= 0;
7168 PyObject
* _argo1
= 0;
7169 char *_kwnames
[] = { "self","item", NULL
};
7172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DestroyItem",_kwnames
,&_argo0
,&_argo1
))
7175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyItem. Expected _wxMenu_p.");
7182 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7183 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
7184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DestroyItem. Expected _wxMenuItem_p.");
7189 wxPy_BEGIN_ALLOW_THREADS
;
7190 _result
= (bool )wxMenu_DestroyItem(_arg0
,_arg1
);
7192 wxPy_END_ALLOW_THREADS
;
7193 } _resultobj
= Py_BuildValue("i",_result
);
7197 #define wxMenu_GetMenuItemCount(_swigobj) (_swigobj->GetMenuItemCount())
7198 static PyObject
*_wrap_wxMenu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7199 PyObject
* _resultobj
;
7202 PyObject
* _argo0
= 0;
7203 char *_kwnames
[] = { "self", NULL
};
7206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItemCount",_kwnames
,&_argo0
))
7209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItemCount. Expected _wxMenu_p.");
7216 wxPy_BEGIN_ALLOW_THREADS
;
7217 _result
= (size_t )wxMenu_GetMenuItemCount(_arg0
);
7219 wxPy_END_ALLOW_THREADS
;
7220 } _resultobj
= Py_BuildValue("i",_result
);
7224 static PyObject
* wxMenu_GetMenuItems(wxMenu
*self
) {
7225 wxMenuItemList
& list
= self
->GetMenuItems();
7226 return wxPy_ConvertList(&list
, "wxMenuItem");
7228 static PyObject
*_wrap_wxMenu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7229 PyObject
* _resultobj
;
7232 PyObject
* _argo0
= 0;
7233 char *_kwnames
[] = { "self", NULL
};
7236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItems",_kwnames
,&_argo0
))
7239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItems. Expected _wxMenu_p.");
7246 wxPy_BEGIN_ALLOW_THREADS
;
7247 _result
= (PyObject
*)wxMenu_GetMenuItems(_arg0
);
7249 wxPy_END_ALLOW_THREADS
;
7251 _resultobj
= _result
;
7256 #define wxMenu_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
7257 static PyObject
*_wrap_wxMenu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7258 PyObject
* _resultobj
;
7260 wxEvtHandler
* _arg1
;
7261 PyObject
* _argo0
= 0;
7262 PyObject
* _argo1
= 0;
7263 char *_kwnames
[] = { "self","handler", NULL
};
7266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
7269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetEventHandler. Expected _wxMenu_p.");
7276 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7277 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
7278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetEventHandler. Expected _wxEvtHandler_p.");
7283 wxPy_BEGIN_ALLOW_THREADS
;
7284 wxMenu_SetEventHandler(_arg0
,_arg1
);
7286 wxPy_END_ALLOW_THREADS
;
7287 } Py_INCREF(Py_None
);
7288 _resultobj
= Py_None
;
7292 #define wxMenu_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
7293 static PyObject
*_wrap_wxMenu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7294 PyObject
* _resultobj
;
7295 wxEvtHandler
* _result
;
7297 PyObject
* _argo0
= 0;
7298 char *_kwnames
[] = { "self", NULL
};
7302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetEventHandler",_kwnames
,&_argo0
))
7305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetEventHandler. Expected _wxMenu_p.");
7312 wxPy_BEGIN_ALLOW_THREADS
;
7313 _result
= (wxEvtHandler
*)wxMenu_GetEventHandler(_arg0
);
7315 wxPy_END_ALLOW_THREADS
;
7317 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
7318 _resultobj
= Py_BuildValue("s",_ptemp
);
7321 _resultobj
= Py_None
;
7326 #define wxMenu_SetInvokingWindow(_swigobj,_swigarg0) (_swigobj->SetInvokingWindow(_swigarg0))
7327 static PyObject
*_wrap_wxMenu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7328 PyObject
* _resultobj
;
7331 PyObject
* _argo0
= 0;
7332 PyObject
* _argo1
= 0;
7333 char *_kwnames
[] = { "self","win", NULL
};
7336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetInvokingWindow",_kwnames
,&_argo0
,&_argo1
))
7339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetInvokingWindow. Expected _wxMenu_p.");
7346 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7347 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetInvokingWindow. Expected _wxWindow_p.");
7353 wxPy_BEGIN_ALLOW_THREADS
;
7354 wxMenu_SetInvokingWindow(_arg0
,_arg1
);
7356 wxPy_END_ALLOW_THREADS
;
7357 } Py_INCREF(Py_None
);
7358 _resultobj
= Py_None
;
7362 #define wxMenu_GetInvokingWindow(_swigobj) (_swigobj->GetInvokingWindow())
7363 static PyObject
*_wrap_wxMenu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7364 PyObject
* _resultobj
;
7367 PyObject
* _argo0
= 0;
7368 char *_kwnames
[] = { "self", NULL
};
7372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetInvokingWindow",_kwnames
,&_argo0
))
7375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetInvokingWindow. Expected _wxMenu_p.");
7382 wxPy_BEGIN_ALLOW_THREADS
;
7383 _result
= (wxWindow
*)wxMenu_GetInvokingWindow(_arg0
);
7385 wxPy_END_ALLOW_THREADS
;
7387 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
7388 _resultobj
= Py_BuildValue("s",_ptemp
);
7391 _resultobj
= Py_None
;
7396 #define wxMenu_GetStyle(_swigobj) (_swigobj->GetStyle())
7397 static PyObject
*_wrap_wxMenu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7398 PyObject
* _resultobj
;
7401 PyObject
* _argo0
= 0;
7402 char *_kwnames
[] = { "self", NULL
};
7405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetStyle",_kwnames
,&_argo0
))
7408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetStyle. Expected _wxMenu_p.");
7415 wxPy_BEGIN_ALLOW_THREADS
;
7416 _result
= (long )wxMenu_GetStyle(_arg0
);
7418 wxPy_END_ALLOW_THREADS
;
7419 } _resultobj
= Py_BuildValue("l",_result
);
7423 #define wxMenu_IsAttached(_swigobj) (_swigobj->IsAttached())
7424 static PyObject
*_wrap_wxMenu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7425 PyObject
* _resultobj
;
7428 PyObject
* _argo0
= 0;
7429 char *_kwnames
[] = { "self", NULL
};
7432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_IsAttached",_kwnames
,&_argo0
))
7435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsAttached. Expected _wxMenu_p.");
7442 wxPy_BEGIN_ALLOW_THREADS
;
7443 _result
= (bool )wxMenu_IsAttached(_arg0
);
7445 wxPy_END_ALLOW_THREADS
;
7446 } _resultobj
= Py_BuildValue("i",_result
);
7450 #define wxMenu_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
7451 static PyObject
*_wrap_wxMenu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7452 PyObject
* _resultobj
;
7455 PyObject
* _argo0
= 0;
7456 PyObject
* _argo1
= 0;
7457 char *_kwnames
[] = { "self","parent", NULL
};
7460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetParent",_kwnames
,&_argo0
,&_argo1
))
7463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetParent. Expected _wxMenu_p.");
7470 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7471 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
7472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetParent. Expected _wxMenu_p.");
7477 wxPy_BEGIN_ALLOW_THREADS
;
7478 wxMenu_SetParent(_arg0
,_arg1
);
7480 wxPy_END_ALLOW_THREADS
;
7481 } Py_INCREF(Py_None
);
7482 _resultobj
= Py_None
;
7486 #define wxMenu_GetParent(_swigobj) (_swigobj->GetParent())
7487 static PyObject
*_wrap_wxMenu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7488 PyObject
* _resultobj
;
7491 PyObject
* _argo0
= 0;
7492 char *_kwnames
[] = { "self", NULL
};
7496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetParent",_kwnames
,&_argo0
))
7499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetParent. Expected _wxMenu_p.");
7506 wxPy_BEGIN_ALLOW_THREADS
;
7507 _result
= (wxMenu
*)wxMenu_GetParent(_arg0
);
7509 wxPy_END_ALLOW_THREADS
;
7511 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7512 _resultobj
= Py_BuildValue("s",_ptemp
);
7515 _resultobj
= Py_None
;
7520 static void *SwigwxMenuBarTowxWindow(void *ptr
) {
7523 src
= (wxMenuBar
*) ptr
;
7524 dest
= (wxWindow
*) src
;
7525 return (void *) dest
;
7528 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
7531 src
= (wxMenuBar
*) ptr
;
7532 dest
= (wxEvtHandler
*) src
;
7533 return (void *) dest
;
7536 #define new_wxMenuBar() (new wxMenuBar())
7537 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7538 PyObject
* _resultobj
;
7539 wxMenuBar
* _result
;
7540 char *_kwnames
[] = { NULL
};
7544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMenuBar",_kwnames
))
7547 wxPy_BEGIN_ALLOW_THREADS
;
7548 _result
= (wxMenuBar
*)new_wxMenuBar();
7550 wxPy_END_ALLOW_THREADS
;
7552 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
7553 _resultobj
= Py_BuildValue("s",_ptemp
);
7556 _resultobj
= Py_None
;
7561 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
7562 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7563 PyObject
* _resultobj
;
7568 PyObject
* _argo0
= 0;
7569 PyObject
* _argo1
= 0;
7570 PyObject
* _obj2
= 0;
7571 char *_kwnames
[] = { "self","menu","title", NULL
};
7574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_Append",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
7584 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7585 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
7586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
7591 if (!PyString_Check(_obj2
)) {
7592 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7595 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7598 wxPy_BEGIN_ALLOW_THREADS
;
7599 _result
= (bool )wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
7601 wxPy_END_ALLOW_THREADS
;
7602 } _resultobj
= Py_BuildValue("i",_result
);
7610 #define wxMenuBar_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2))
7611 static PyObject
*_wrap_wxMenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7612 PyObject
* _resultobj
;
7618 PyObject
* _argo0
= 0;
7619 PyObject
* _argo2
= 0;
7620 PyObject
* _obj3
= 0;
7621 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
7624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
7627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Insert. Expected _wxMenuBar_p.");
7634 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7635 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
7636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Insert. Expected _wxMenu_p.");
7641 if (!PyString_Check(_obj3
)) {
7642 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7645 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
7648 wxPy_BEGIN_ALLOW_THREADS
;
7649 _result
= (bool )wxMenuBar_Insert(_arg0
,_arg1
,_arg2
,*_arg3
);
7651 wxPy_END_ALLOW_THREADS
;
7652 } _resultobj
= Py_BuildValue("i",_result
);
7660 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
7661 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7662 PyObject
* _resultobj
;
7665 PyObject
* _argo0
= 0;
7666 char *_kwnames
[] = { "self", NULL
};
7669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuBar_GetMenuCount",_kwnames
,&_argo0
))
7672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
7679 wxPy_BEGIN_ALLOW_THREADS
;
7680 _result
= (size_t )wxMenuBar_GetMenuCount(_arg0
);
7682 wxPy_END_ALLOW_THREADS
;
7683 } _resultobj
= Py_BuildValue("i",_result
);
7687 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
7688 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7689 PyObject
* _resultobj
;
7693 PyObject
* _argo0
= 0;
7694 char *_kwnames
[] = { "self","pos", NULL
};
7698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetMenu",_kwnames
,&_argo0
,&_arg1
))
7701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
7708 wxPy_BEGIN_ALLOW_THREADS
;
7709 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
7711 wxPy_END_ALLOW_THREADS
;
7713 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7714 _resultobj
= Py_BuildValue("s",_ptemp
);
7717 _resultobj
= Py_None
;
7722 #define wxMenuBar_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
7723 static PyObject
*_wrap_wxMenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7724 PyObject
* _resultobj
;
7730 PyObject
* _argo0
= 0;
7731 PyObject
* _argo2
= 0;
7732 PyObject
* _obj3
= 0;
7733 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
7737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
7740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Replace. Expected _wxMenuBar_p.");
7747 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7748 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
7749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Replace. Expected _wxMenu_p.");
7754 if (!PyString_Check(_obj3
)) {
7755 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7758 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
7761 wxPy_BEGIN_ALLOW_THREADS
;
7762 _result
= (wxMenu
*)wxMenuBar_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
7764 wxPy_END_ALLOW_THREADS
;
7766 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7767 _resultobj
= Py_BuildValue("s",_ptemp
);
7770 _resultobj
= Py_None
;
7779 #define wxMenuBar_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
7780 static PyObject
*_wrap_wxMenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7781 PyObject
* _resultobj
;
7785 PyObject
* _argo0
= 0;
7786 char *_kwnames
[] = { "self","pos", NULL
};
7790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_Remove",_kwnames
,&_argo0
,&_arg1
))
7793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Remove. Expected _wxMenuBar_p.");
7800 wxPy_BEGIN_ALLOW_THREADS
;
7801 _result
= (wxMenu
*)wxMenuBar_Remove(_arg0
,_arg1
);
7803 wxPy_END_ALLOW_THREADS
;
7805 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7806 _resultobj
= Py_BuildValue("s",_ptemp
);
7809 _resultobj
= Py_None
;
7814 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
7815 static PyObject
*_wrap_wxMenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7816 PyObject
* _resultobj
;
7820 PyObject
* _argo0
= 0;
7822 char *_kwnames
[] = { "self","pos","enable", NULL
};
7825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_EnableTop",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
7834 _arg2
= (bool ) tempbool2
;
7836 wxPy_BEGIN_ALLOW_THREADS
;
7837 wxMenuBar_EnableTop(_arg0
,_arg1
,_arg2
);
7839 wxPy_END_ALLOW_THREADS
;
7840 } Py_INCREF(Py_None
);
7841 _resultobj
= Py_None
;
7845 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
7846 static PyObject
*_wrap_wxMenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7847 PyObject
* _resultobj
;
7851 PyObject
* _argo0
= 0;
7852 PyObject
* _obj2
= 0;
7853 char *_kwnames
[] = { "self","pos","label", NULL
};
7856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabelTop",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
7859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
7866 if (!PyString_Check(_obj2
)) {
7867 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7870 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7873 wxPy_BEGIN_ALLOW_THREADS
;
7874 wxMenuBar_SetLabelTop(_arg0
,_arg1
,*_arg2
);
7876 wxPy_END_ALLOW_THREADS
;
7877 } Py_INCREF(Py_None
);
7878 _resultobj
= Py_None
;
7886 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
7887 static PyObject
*_wrap_wxMenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7888 PyObject
* _resultobj
;
7892 PyObject
* _argo0
= 0;
7893 char *_kwnames
[] = { "self","pos", NULL
};
7896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabelTop",_kwnames
,&_argo0
,&_arg1
))
7899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
7906 wxPy_BEGIN_ALLOW_THREADS
;
7907 _result
= new wxString (wxMenuBar_GetLabelTop(_arg0
,_arg1
));
7909 wxPy_END_ALLOW_THREADS
;
7911 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7919 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
7920 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7921 PyObject
* _resultobj
;
7926 PyObject
* _argo0
= 0;
7927 PyObject
* _obj1
= 0;
7928 PyObject
* _obj2
= 0;
7929 char *_kwnames
[] = { "self","menuString","itemString", NULL
};
7932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_FindMenuItem",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
7935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
7942 if (!PyString_Check(_obj1
)) {
7943 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7946 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
7949 if (!PyString_Check(_obj2
)) {
7950 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7953 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7956 wxPy_BEGIN_ALLOW_THREADS
;
7957 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
7959 wxPy_END_ALLOW_THREADS
;
7960 } _resultobj
= Py_BuildValue("i",_result
);
7972 #define wxMenuBar_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
7973 static PyObject
*_wrap_wxMenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7974 PyObject
* _resultobj
;
7975 wxMenuItem
* _result
;
7978 PyObject
* _argo0
= 0;
7979 char *_kwnames
[] = { "self","id", NULL
};
7983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_FindItemById",_kwnames
,&_argo0
,&_arg1
))
7986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemById. Expected _wxMenuBar_p.");
7993 wxPy_BEGIN_ALLOW_THREADS
;
7994 _result
= (wxMenuItem
*)wxMenuBar_FindItemById(_arg0
,_arg1
);
7996 wxPy_END_ALLOW_THREADS
;
7998 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
7999 _resultobj
= Py_BuildValue("s",_ptemp
);
8002 _resultobj
= Py_None
;
8007 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
8008 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8009 PyObject
* _resultobj
;
8013 PyObject
* _argo0
= 0;
8015 char *_kwnames
[] = { "self","id","enable", NULL
};
8018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8021 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8022 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
8027 _arg2
= (bool ) tempbool2
;
8029 wxPy_BEGIN_ALLOW_THREADS
;
8030 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
8032 wxPy_END_ALLOW_THREADS
;
8033 } Py_INCREF(Py_None
);
8034 _resultobj
= Py_None
;
8038 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
8039 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8040 PyObject
* _resultobj
;
8044 PyObject
* _argo0
= 0;
8046 char *_kwnames
[] = { "self","id","check", NULL
};
8049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
8058 _arg2
= (bool ) tempbool2
;
8060 wxPy_BEGIN_ALLOW_THREADS
;
8061 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
8063 wxPy_END_ALLOW_THREADS
;
8064 } Py_INCREF(Py_None
);
8065 _resultobj
= Py_None
;
8069 #define wxMenuBar_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
8070 static PyObject
*_wrap_wxMenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8071 PyObject
* _resultobj
;
8075 PyObject
* _argo0
= 0;
8076 char *_kwnames
[] = { "self","id", NULL
};
8079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsChecked",_kwnames
,&_argo0
,&_arg1
))
8082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsChecked. Expected _wxMenuBar_p.");
8089 wxPy_BEGIN_ALLOW_THREADS
;
8090 _result
= (bool )wxMenuBar_IsChecked(_arg0
,_arg1
);
8092 wxPy_END_ALLOW_THREADS
;
8093 } _resultobj
= Py_BuildValue("i",_result
);
8097 #define wxMenuBar_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
8098 static PyObject
*_wrap_wxMenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8099 PyObject
* _resultobj
;
8103 PyObject
* _argo0
= 0;
8104 char *_kwnames
[] = { "self","id", NULL
};
8107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
8110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsEnabled. Expected _wxMenuBar_p.");
8117 wxPy_BEGIN_ALLOW_THREADS
;
8118 _result
= (bool )wxMenuBar_IsEnabled(_arg0
,_arg1
);
8120 wxPy_END_ALLOW_THREADS
;
8121 } _resultobj
= Py_BuildValue("i",_result
);
8125 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
8126 static PyObject
*_wrap_wxMenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8127 PyObject
* _resultobj
;
8131 PyObject
* _argo0
= 0;
8132 PyObject
* _obj2
= 0;
8133 char *_kwnames
[] = { "self","id","label", NULL
};
8136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
8146 if (!PyString_Check(_obj2
)) {
8147 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8150 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
8153 wxPy_BEGIN_ALLOW_THREADS
;
8154 wxMenuBar_SetLabel(_arg0
,_arg1
,*_arg2
);
8156 wxPy_END_ALLOW_THREADS
;
8157 } Py_INCREF(Py_None
);
8158 _resultobj
= Py_None
;
8166 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
8167 static PyObject
*_wrap_wxMenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8168 PyObject
* _resultobj
;
8172 PyObject
* _argo0
= 0;
8173 char *_kwnames
[] = { "self","id", NULL
};
8176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabel",_kwnames
,&_argo0
,&_arg1
))
8179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
8186 wxPy_BEGIN_ALLOW_THREADS
;
8187 _result
= new wxString (wxMenuBar_GetLabel(_arg0
,_arg1
));
8189 wxPy_END_ALLOW_THREADS
;
8191 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8199 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
8200 static PyObject
*_wrap_wxMenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8201 PyObject
* _resultobj
;
8205 PyObject
* _argo0
= 0;
8206 PyObject
* _obj2
= 0;
8207 char *_kwnames
[] = { "self","id","helpString", NULL
};
8210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
8220 if (!PyString_Check(_obj2
)) {
8221 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8224 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
8227 wxPy_BEGIN_ALLOW_THREADS
;
8228 wxMenuBar_SetHelpString(_arg0
,_arg1
,*_arg2
);
8230 wxPy_END_ALLOW_THREADS
;
8231 } Py_INCREF(Py_None
);
8232 _resultobj
= Py_None
;
8240 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
8241 static PyObject
*_wrap_wxMenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8242 PyObject
* _resultobj
;
8246 PyObject
* _argo0
= 0;
8247 char *_kwnames
[] = { "self","id", NULL
};
8250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
8253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
8260 wxPy_BEGIN_ALLOW_THREADS
;
8261 _result
= new wxString (wxMenuBar_GetHelpString(_arg0
,_arg1
));
8263 wxPy_END_ALLOW_THREADS
;
8265 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8273 #define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8274 static PyObject
*_wrap_new_wxMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8275 PyObject
* _resultobj
;
8276 wxMenuItem
* _result
;
8277 wxMenu
* _arg0
= (wxMenu
*) NULL
;
8278 int _arg1
= (int ) wxID_SEPARATOR
;
8279 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
8280 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
8281 bool _arg4
= (bool ) FALSE
;
8282 wxMenu
* _arg5
= (wxMenu
*) NULL
;
8283 PyObject
* _argo0
= 0;
8284 PyObject
* _obj2
= 0;
8285 PyObject
* _obj3
= 0;
8286 int tempbool4
= (int) FALSE
;
8287 PyObject
* _argo5
= 0;
8288 char *_kwnames
[] = { "parentMenu","id","text","help","isCheckable","subMenu", NULL
};
8292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OiOOiO:new_wxMenuItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&tempbool4
,&_argo5
))
8295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
8303 if (!PyString_Check(_obj2
)) {
8304 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8307 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
8311 if (!PyString_Check(_obj3
)) {
8312 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8315 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
8317 _arg4
= (bool ) tempbool4
;
8319 if (_argo5
== Py_None
) { _arg5
= NULL
; }
8320 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxMenu_p")) {
8321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
8326 wxPy_BEGIN_ALLOW_THREADS
;
8327 _result
= (wxMenuItem
*)new_wxMenuItem(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
8329 wxPy_END_ALLOW_THREADS
;
8331 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
8332 _resultobj
= Py_BuildValue("s",_ptemp
);
8335 _resultobj
= Py_None
;
8348 #define wxMenuItem_GetMenu(_swigobj) (_swigobj->GetMenu())
8349 static PyObject
*_wrap_wxMenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8350 PyObject
* _resultobj
;
8353 PyObject
* _argo0
= 0;
8354 char *_kwnames
[] = { "self", NULL
};
8358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetMenu",_kwnames
,&_argo0
))
8361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMenu. Expected _wxMenuItem_p.");
8368 wxPy_BEGIN_ALLOW_THREADS
;
8369 _result
= (wxMenu
*)wxMenuItem_GetMenu(_arg0
);
8371 wxPy_END_ALLOW_THREADS
;
8373 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
8374 _resultobj
= Py_BuildValue("s",_ptemp
);
8377 _resultobj
= Py_None
;
8382 #define wxMenuItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
8383 static PyObject
*_wrap_wxMenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8384 PyObject
* _resultobj
;
8387 PyObject
* _argo0
= 0;
8388 char *_kwnames
[] = { "self","id", NULL
};
8391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetId",_kwnames
,&_argo0
,&_arg1
))
8394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetId. Expected _wxMenuItem_p.");
8401 wxPy_BEGIN_ALLOW_THREADS
;
8402 wxMenuItem_SetId(_arg0
,_arg1
);
8404 wxPy_END_ALLOW_THREADS
;
8405 } Py_INCREF(Py_None
);
8406 _resultobj
= Py_None
;
8410 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
8411 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8412 PyObject
* _resultobj
;
8415 PyObject
* _argo0
= 0;
8416 char *_kwnames
[] = { "self", NULL
};
8419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetId",_kwnames
,&_argo0
))
8422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
8429 wxPy_BEGIN_ALLOW_THREADS
;
8430 _result
= (int )wxMenuItem_GetId(_arg0
);
8432 wxPy_END_ALLOW_THREADS
;
8433 } _resultobj
= Py_BuildValue("i",_result
);
8437 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
8438 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8439 PyObject
* _resultobj
;
8442 PyObject
* _argo0
= 0;
8443 char *_kwnames
[] = { "self", NULL
};
8446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSeparator",_kwnames
,&_argo0
))
8449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
8456 wxPy_BEGIN_ALLOW_THREADS
;
8457 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
8459 wxPy_END_ALLOW_THREADS
;
8460 } _resultobj
= Py_BuildValue("i",_result
);
8464 #define wxMenuItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
8465 static PyObject
*_wrap_wxMenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8466 PyObject
* _resultobj
;
8469 PyObject
* _argo0
= 0;
8470 PyObject
* _obj1
= 0;
8471 char *_kwnames
[] = { "self","str", NULL
};
8474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetText",_kwnames
,&_argo0
,&_obj1
))
8477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetText. Expected _wxMenuItem_p.");
8484 if (!PyString_Check(_obj1
)) {
8485 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8488 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
8491 wxPy_BEGIN_ALLOW_THREADS
;
8492 wxMenuItem_SetText(_arg0
,*_arg1
);
8494 wxPy_END_ALLOW_THREADS
;
8495 } Py_INCREF(Py_None
);
8496 _resultobj
= Py_None
;
8504 #define wxMenuItem_GetLabel(_swigobj) (_swigobj->GetLabel())
8505 static PyObject
*_wrap_wxMenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8506 PyObject
* _resultobj
;
8509 PyObject
* _argo0
= 0;
8510 char *_kwnames
[] = { "self", NULL
};
8513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabel",_kwnames
,&_argo0
))
8516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetLabel. Expected _wxMenuItem_p.");
8523 wxPy_BEGIN_ALLOW_THREADS
;
8524 _result
= new wxString (wxMenuItem_GetLabel(_arg0
));
8526 wxPy_END_ALLOW_THREADS
;
8528 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8536 #define wxMenuItem_GetText(_swigobj) (_swigobj->GetText())
8537 static PyObject
*_wrap_wxMenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8538 PyObject
* _resultobj
;
8541 PyObject
* _argo0
= 0;
8542 char *_kwnames
[] = { "self", NULL
};
8545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetText",_kwnames
,&_argo0
))
8548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetText. Expected _wxMenuItem_p.");
8555 wxPy_BEGIN_ALLOW_THREADS
;
8556 const wxString
& _result_ref
= wxMenuItem_GetText(_arg0
);
8557 _result
= (wxString
*) &_result_ref
;
8559 wxPy_END_ALLOW_THREADS
;
8561 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8566 #define wxMenuItem_SetCheckable(_swigobj,_swigarg0) (_swigobj->SetCheckable(_swigarg0))
8567 static PyObject
*_wrap_wxMenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8568 PyObject
* _resultobj
;
8571 PyObject
* _argo0
= 0;
8573 char *_kwnames
[] = { "self","checkable", NULL
};
8576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetCheckable",_kwnames
,&_argo0
,&tempbool1
))
8579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetCheckable. Expected _wxMenuItem_p.");
8585 _arg1
= (bool ) tempbool1
;
8587 wxPy_BEGIN_ALLOW_THREADS
;
8588 wxMenuItem_SetCheckable(_arg0
,_arg1
);
8590 wxPy_END_ALLOW_THREADS
;
8591 } Py_INCREF(Py_None
);
8592 _resultobj
= Py_None
;
8596 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
8597 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8598 PyObject
* _resultobj
;
8601 PyObject
* _argo0
= 0;
8602 char *_kwnames
[] = { "self", NULL
};
8605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsCheckable",_kwnames
,&_argo0
))
8608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
8615 wxPy_BEGIN_ALLOW_THREADS
;
8616 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
8618 wxPy_END_ALLOW_THREADS
;
8619 } _resultobj
= Py_BuildValue("i",_result
);
8623 #define wxMenuItem_IsSubMenu(_swigobj) (_swigobj->IsSubMenu())
8624 static PyObject
*_wrap_wxMenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8625 PyObject
* _resultobj
;
8628 PyObject
* _argo0
= 0;
8629 char *_kwnames
[] = { "self", NULL
};
8632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSubMenu",_kwnames
,&_argo0
))
8635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSubMenu. Expected _wxMenuItem_p.");
8642 wxPy_BEGIN_ALLOW_THREADS
;
8643 _result
= (bool )wxMenuItem_IsSubMenu(_arg0
);
8645 wxPy_END_ALLOW_THREADS
;
8646 } _resultobj
= Py_BuildValue("i",_result
);
8650 #define wxMenuItem_SetSubMenu(_swigobj,_swigarg0) (_swigobj->SetSubMenu(_swigarg0))
8651 static PyObject
*_wrap_wxMenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8652 PyObject
* _resultobj
;
8655 PyObject
* _argo0
= 0;
8656 PyObject
* _argo1
= 0;
8657 char *_kwnames
[] = { "self","menu", NULL
};
8660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetSubMenu",_kwnames
,&_argo0
,&_argo1
))
8663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetSubMenu. Expected _wxMenuItem_p.");
8670 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8671 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
8672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetSubMenu. Expected _wxMenu_p.");
8677 wxPy_BEGIN_ALLOW_THREADS
;
8678 wxMenuItem_SetSubMenu(_arg0
,_arg1
);
8680 wxPy_END_ALLOW_THREADS
;
8681 } Py_INCREF(Py_None
);
8682 _resultobj
= Py_None
;
8686 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
8687 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8688 PyObject
* _resultobj
;
8691 PyObject
* _argo0
= 0;
8692 char *_kwnames
[] = { "self", NULL
};
8696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetSubMenu",_kwnames
,&_argo0
))
8699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
8706 wxPy_BEGIN_ALLOW_THREADS
;
8707 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
8709 wxPy_END_ALLOW_THREADS
;
8711 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
8712 _resultobj
= Py_BuildValue("s",_ptemp
);
8715 _resultobj
= Py_None
;
8720 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
8721 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8722 PyObject
* _resultobj
;
8724 bool _arg1
= (bool ) TRUE
;
8725 PyObject
* _argo0
= 0;
8726 int tempbool1
= (int) TRUE
;
8727 char *_kwnames
[] = { "self","enable", NULL
};
8730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Enable",_kwnames
,&_argo0
,&tempbool1
))
8733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
8739 _arg1
= (bool ) tempbool1
;
8741 wxPy_BEGIN_ALLOW_THREADS
;
8742 wxMenuItem_Enable(_arg0
,_arg1
);
8744 wxPy_END_ALLOW_THREADS
;
8745 } Py_INCREF(Py_None
);
8746 _resultobj
= Py_None
;
8750 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
8751 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8752 PyObject
* _resultobj
;
8755 PyObject
* _argo0
= 0;
8756 char *_kwnames
[] = { "self", NULL
};
8759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsEnabled",_kwnames
,&_argo0
))
8762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
8769 wxPy_BEGIN_ALLOW_THREADS
;
8770 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
8772 wxPy_END_ALLOW_THREADS
;
8773 } _resultobj
= Py_BuildValue("i",_result
);
8777 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
8778 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8779 PyObject
* _resultobj
;
8781 bool _arg1
= (bool ) TRUE
;
8782 PyObject
* _argo0
= 0;
8783 int tempbool1
= (int) TRUE
;
8784 char *_kwnames
[] = { "self","check", NULL
};
8787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Check",_kwnames
,&_argo0
,&tempbool1
))
8790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
8796 _arg1
= (bool ) tempbool1
;
8798 wxPy_BEGIN_ALLOW_THREADS
;
8799 wxMenuItem_Check(_arg0
,_arg1
);
8801 wxPy_END_ALLOW_THREADS
;
8802 } Py_INCREF(Py_None
);
8803 _resultobj
= Py_None
;
8807 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
8808 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8809 PyObject
* _resultobj
;
8812 PyObject
* _argo0
= 0;
8813 char *_kwnames
[] = { "self", NULL
};
8816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsChecked",_kwnames
,&_argo0
))
8819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
8826 wxPy_BEGIN_ALLOW_THREADS
;
8827 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
8829 wxPy_END_ALLOW_THREADS
;
8830 } _resultobj
= Py_BuildValue("i",_result
);
8834 #define wxMenuItem_Toggle(_swigobj) (_swigobj->Toggle())
8835 static PyObject
*_wrap_wxMenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8836 PyObject
* _resultobj
;
8838 PyObject
* _argo0
= 0;
8839 char *_kwnames
[] = { "self", NULL
};
8842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_Toggle",_kwnames
,&_argo0
))
8845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Toggle. Expected _wxMenuItem_p.");
8852 wxPy_BEGIN_ALLOW_THREADS
;
8853 wxMenuItem_Toggle(_arg0
);
8855 wxPy_END_ALLOW_THREADS
;
8856 } Py_INCREF(Py_None
);
8857 _resultobj
= Py_None
;
8861 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
8862 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8863 PyObject
* _resultobj
;
8866 PyObject
* _argo0
= 0;
8867 PyObject
* _obj1
= 0;
8868 char *_kwnames
[] = { "self","str", NULL
};
8871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetHelp",_kwnames
,&_argo0
,&_obj1
))
8874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
8881 if (!PyString_Check(_obj1
)) {
8882 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8885 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
8888 wxPy_BEGIN_ALLOW_THREADS
;
8889 wxMenuItem_SetHelp(_arg0
,*_arg1
);
8891 wxPy_END_ALLOW_THREADS
;
8892 } Py_INCREF(Py_None
);
8893 _resultobj
= Py_None
;
8901 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
8902 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8903 PyObject
* _resultobj
;
8906 PyObject
* _argo0
= 0;
8907 char *_kwnames
[] = { "self", NULL
};
8910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetHelp",_kwnames
,&_argo0
))
8913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
8920 wxPy_BEGIN_ALLOW_THREADS
;
8921 const wxString
& _result_ref
= wxMenuItem_GetHelp(_arg0
);
8922 _result
= (wxString
*) &_result_ref
;
8924 wxPy_END_ALLOW_THREADS
;
8926 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8931 #define wxMenuItem_GetAccel(_swigobj) (_swigobj->GetAccel())
8932 static PyObject
*_wrap_wxMenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8933 PyObject
* _resultobj
;
8934 wxAcceleratorEntry
* _result
;
8936 PyObject
* _argo0
= 0;
8937 char *_kwnames
[] = { "self", NULL
};
8941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetAccel",_kwnames
,&_argo0
))
8944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetAccel. Expected _wxMenuItem_p.");
8951 wxPy_BEGIN_ALLOW_THREADS
;
8952 _result
= (wxAcceleratorEntry
*)wxMenuItem_GetAccel(_arg0
);
8954 wxPy_END_ALLOW_THREADS
;
8956 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
8957 _resultobj
= Py_BuildValue("s",_ptemp
);
8960 _resultobj
= Py_None
;
8965 #define wxMenuItem_SetAccel(_swigobj,_swigarg0) (_swigobj->SetAccel(_swigarg0))
8966 static PyObject
*_wrap_wxMenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8967 PyObject
* _resultobj
;
8969 wxAcceleratorEntry
* _arg1
;
8970 PyObject
* _argo0
= 0;
8971 PyObject
* _argo1
= 0;
8972 char *_kwnames
[] = { "self","accel", NULL
};
8975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetAccel",_kwnames
,&_argo0
,&_argo1
))
8978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetAccel. Expected _wxMenuItem_p.");
8985 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8986 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorEntry_p")) {
8987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetAccel. Expected _wxAcceleratorEntry_p.");
8992 wxPy_BEGIN_ALLOW_THREADS
;
8993 wxMenuItem_SetAccel(_arg0
,_arg1
);
8995 wxPy_END_ALLOW_THREADS
;
8996 } Py_INCREF(Py_None
);
8997 _resultobj
= Py_None
;
9001 static PyMethodDef windowscMethods
[] = {
9002 { "wxMenuItem_SetAccel", (PyCFunction
) _wrap_wxMenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
9003 { "wxMenuItem_GetAccel", (PyCFunction
) _wrap_wxMenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
9004 { "wxMenuItem_GetHelp", (PyCFunction
) _wrap_wxMenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
9005 { "wxMenuItem_SetHelp", (PyCFunction
) _wrap_wxMenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
9006 { "wxMenuItem_Toggle", (PyCFunction
) _wrap_wxMenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
9007 { "wxMenuItem_IsChecked", (PyCFunction
) _wrap_wxMenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
9008 { "wxMenuItem_Check", (PyCFunction
) _wrap_wxMenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
9009 { "wxMenuItem_IsEnabled", (PyCFunction
) _wrap_wxMenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9010 { "wxMenuItem_Enable", (PyCFunction
) _wrap_wxMenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
9011 { "wxMenuItem_GetSubMenu", (PyCFunction
) _wrap_wxMenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
9012 { "wxMenuItem_SetSubMenu", (PyCFunction
) _wrap_wxMenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
9013 { "wxMenuItem_IsSubMenu", (PyCFunction
) _wrap_wxMenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
9014 { "wxMenuItem_IsCheckable", (PyCFunction
) _wrap_wxMenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
9015 { "wxMenuItem_SetCheckable", (PyCFunction
) _wrap_wxMenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
9016 { "wxMenuItem_GetText", (PyCFunction
) _wrap_wxMenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
9017 { "wxMenuItem_GetLabel", (PyCFunction
) _wrap_wxMenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9018 { "wxMenuItem_SetText", (PyCFunction
) _wrap_wxMenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
9019 { "wxMenuItem_IsSeparator", (PyCFunction
) _wrap_wxMenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
9020 { "wxMenuItem_GetId", (PyCFunction
) _wrap_wxMenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
9021 { "wxMenuItem_SetId", (PyCFunction
) _wrap_wxMenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
9022 { "wxMenuItem_GetMenu", (PyCFunction
) _wrap_wxMenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
9023 { "new_wxMenuItem", (PyCFunction
) _wrap_new_wxMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
9024 { "wxMenuBar_GetHelpString", (PyCFunction
) _wrap_wxMenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
9025 { "wxMenuBar_SetHelpString", (PyCFunction
) _wrap_wxMenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
9026 { "wxMenuBar_GetLabel", (PyCFunction
) _wrap_wxMenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9027 { "wxMenuBar_SetLabel", (PyCFunction
) _wrap_wxMenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9028 { "wxMenuBar_IsEnabled", (PyCFunction
) _wrap_wxMenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9029 { "wxMenuBar_IsChecked", (PyCFunction
) _wrap_wxMenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
9030 { "wxMenuBar_Check", (PyCFunction
) _wrap_wxMenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
9031 { "wxMenuBar_Enable", (PyCFunction
) _wrap_wxMenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
9032 { "wxMenuBar_FindItemById", (PyCFunction
) _wrap_wxMenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
9033 { "wxMenuBar_FindMenuItem", (PyCFunction
) _wrap_wxMenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
9034 { "wxMenuBar_GetLabelTop", (PyCFunction
) _wrap_wxMenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
9035 { "wxMenuBar_SetLabelTop", (PyCFunction
) _wrap_wxMenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
9036 { "wxMenuBar_EnableTop", (PyCFunction
) _wrap_wxMenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
9037 { "wxMenuBar_Remove", (PyCFunction
) _wrap_wxMenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
9038 { "wxMenuBar_Replace", (PyCFunction
) _wrap_wxMenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
9039 { "wxMenuBar_GetMenu", (PyCFunction
) _wrap_wxMenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
9040 { "wxMenuBar_GetMenuCount", (PyCFunction
) _wrap_wxMenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
9041 { "wxMenuBar_Insert", (PyCFunction
) _wrap_wxMenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
9042 { "wxMenuBar_Append", (PyCFunction
) _wrap_wxMenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
9043 { "new_wxMenuBar", (PyCFunction
) _wrap_new_wxMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
9044 { "wxMenu_GetParent", (PyCFunction
) _wrap_wxMenu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
9045 { "wxMenu_SetParent", (PyCFunction
) _wrap_wxMenu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
9046 { "wxMenu_IsAttached", (PyCFunction
) _wrap_wxMenu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
9047 { "wxMenu_GetStyle", (PyCFunction
) _wrap_wxMenu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
9048 { "wxMenu_GetInvokingWindow", (PyCFunction
) _wrap_wxMenu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
9049 { "wxMenu_SetInvokingWindow", (PyCFunction
) _wrap_wxMenu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
9050 { "wxMenu_GetEventHandler", (PyCFunction
) _wrap_wxMenu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9051 { "wxMenu_SetEventHandler", (PyCFunction
) _wrap_wxMenu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9052 { "wxMenu_GetMenuItems", (PyCFunction
) _wrap_wxMenu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
9053 { "wxMenu_GetMenuItemCount", (PyCFunction
) _wrap_wxMenu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
9054 { "wxMenu_DestroyItem", (PyCFunction
) _wrap_wxMenu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
9055 { "wxMenu_DestroyId", (PyCFunction
) _wrap_wxMenu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
9056 { "wxMenu_Destroy", (PyCFunction
) _wrap_wxMenu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
9057 { "wxMenu_RemoveItem", (PyCFunction
) _wrap_wxMenu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
9058 { "wxMenu_Remove", (PyCFunction
) _wrap_wxMenu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
9059 { "wxMenu_Insert", (PyCFunction
) _wrap_wxMenu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
9060 { "wxMenu_DeleteItem", (PyCFunction
) _wrap_wxMenu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
9061 { "wxMenu_Delete", (PyCFunction
) _wrap_wxMenu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
9062 { "wxMenu_UpdateUI", (PyCFunction
) _wrap_wxMenu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
9063 { "wxMenu_SetHelpString", (PyCFunction
) _wrap_wxMenu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
9064 { "wxMenu_GetHelpString", (PyCFunction
) _wrap_wxMenu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
9065 { "wxMenu_SetLabel", (PyCFunction
) _wrap_wxMenu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9066 { "wxMenu_GetLabel", (PyCFunction
) _wrap_wxMenu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9067 { "wxMenu_SetTitle", (PyCFunction
) _wrap_wxMenu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9068 { "wxMenu_GetTitle", (PyCFunction
) _wrap_wxMenu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9069 { "wxMenu_FindItemById", (PyCFunction
) _wrap_wxMenu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
9070 { "wxMenu_FindItem", (PyCFunction
) _wrap_wxMenu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
9071 { "wxMenu_IsEnabled", (PyCFunction
) _wrap_wxMenu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9072 { "wxMenu_Enable", (PyCFunction
) _wrap_wxMenu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
9073 { "wxMenu_IsChecked", (PyCFunction
) _wrap_wxMenu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
9074 { "wxMenu_Check", (PyCFunction
) _wrap_wxMenu_Check
, METH_VARARGS
| METH_KEYWORDS
},
9075 { "wxMenu_Break", (PyCFunction
) _wrap_wxMenu_Break
, METH_VARARGS
| METH_KEYWORDS
},
9076 { "wxMenu_AppendSeparator", (PyCFunction
) _wrap_wxMenu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
9077 { "wxMenu_AppendItem", (PyCFunction
) _wrap_wxMenu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
9078 { "wxMenu_AppendMenu", (PyCFunction
) _wrap_wxMenu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
9079 { "wxMenu_Append", (PyCFunction
) _wrap_wxMenu_Append
, METH_VARARGS
| METH_KEYWORDS
},
9080 { "new_wxMenu", (PyCFunction
) _wrap_new_wxMenu
, METH_VARARGS
| METH_KEYWORDS
},
9081 { "wxScrolledWindow_CalcUnscrolledPosition", (PyCFunction
) _wrap_wxScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
| METH_KEYWORDS
},
9082 { "wxScrolledWindow_CalcScrolledPosition", (PyCFunction
) _wrap_wxScrolledWindow_CalcScrolledPosition
, METH_VARARGS
| METH_KEYWORDS
},
9083 { "wxScrolledWindow_ViewStart", (PyCFunction
) _wrap_wxScrolledWindow_ViewStart
, METH_VARARGS
| METH_KEYWORDS
},
9084 { "wxScrolledWindow_GetViewStart", (PyCFunction
) _wrap_wxScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
9085 { "wxScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
9086 { "wxScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
9087 { "wxScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
9088 { "wxScrolledWindow_Scroll", (PyCFunction
) _wrap_wxScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
9089 { "wxScrolledWindow_PrepareDC", (PyCFunction
) _wrap_wxScrolledWindow_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
9090 { "wxScrolledWindow_IsRetained", (PyCFunction
) _wrap_wxScrolledWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
9091 { "wxScrolledWindow_GetVirtualSize", (PyCFunction
) _wrap_wxScrolledWindow_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
9092 { "wxScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
9093 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
9094 { "wxScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
9095 { "wxScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_wxScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
9096 { "new_wxScrolledWindow", (PyCFunction
) _wrap_new_wxScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
9097 { "wxDialog_SetReturnCode", (PyCFunction
) _wrap_wxDialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
9098 { "wxDialog_GetReturnCode", (PyCFunction
) _wrap_wxDialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
9099 { "wxDialog_ShowModal", (PyCFunction
) _wrap_wxDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
9100 { "wxDialog_Show", (PyCFunction
) _wrap_wxDialog_Show
, METH_VARARGS
| METH_KEYWORDS
},
9101 { "wxDialog_SetTitle", (PyCFunction
) _wrap_wxDialog_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9102 { "wxDialog_IsModal", (PyCFunction
) _wrap_wxDialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
9103 { "wxDialog_SetModal", (PyCFunction
) _wrap_wxDialog_SetModal
, METH_VARARGS
| METH_KEYWORDS
},
9104 { "wxDialog_IsIconized", (PyCFunction
) _wrap_wxDialog_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
9105 { "wxDialog_Iconize", (PyCFunction
) _wrap_wxDialog_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
9106 { "wxDialog_GetTitle", (PyCFunction
) _wrap_wxDialog_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9107 { "wxDialog_EndModal", (PyCFunction
) _wrap_wxDialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
9108 { "wxDialog_Centre", (PyCFunction
) _wrap_wxDialog_Centre
, METH_VARARGS
| METH_KEYWORDS
},
9109 { "new_wxDialog", (PyCFunction
) _wrap_new_wxDialog
, METH_VARARGS
| METH_KEYWORDS
},
9110 { "wxPanel_SetDefaultItem", (PyCFunction
) _wrap_wxPanel_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
9111 { "wxPanel_GetDefaultItem", (PyCFunction
) _wrap_wxPanel_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
9112 { "wxPanel_InitDialog", (PyCFunction
) _wrap_wxPanel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
9113 { "new_wxPanel", (PyCFunction
) _wrap_new_wxPanel
, METH_VARARGS
| METH_KEYWORDS
},
9114 { "wxWindow_GetCaret", (PyCFunction
) _wrap_wxWindow_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
9115 { "wxWindow_SetCaret", (PyCFunction
) _wrap_wxWindow_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
9116 { "wxWindow_GetBestSize", (PyCFunction
) _wrap_wxWindow_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
9117 { "wxWindow_GetDropTarget", (PyCFunction
) _wrap_wxWindow_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
9118 { "wxWindow_SetDropTarget", (PyCFunction
) _wrap_wxWindow_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
9119 { "wxWindow_SetValidator", (PyCFunction
) _wrap_wxWindow_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
9120 { "wxWindow_GetValidator", (PyCFunction
) _wrap_wxWindow_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
9121 { "wxWindow_GetSizer", (PyCFunction
) _wrap_wxWindow_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
9122 { "wxWindow_SetSizer", (PyCFunction
) _wrap_wxWindow_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
9123 { "wxWindow_GetToolTip", (PyCFunction
) _wrap_wxWindow_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
9124 { "wxWindow_SetToolTip", (PyCFunction
) _wrap_wxWindow_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
9125 { "wxWindow_SetToolTipString", (PyCFunction
) _wrap_wxWindow_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
9126 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
9127 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
9128 { "wxWindow_DLG_SZE", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
9129 { "wxWindow_DLG_PNT", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
9130 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
9131 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
9132 { "wxWindow_WarpPointer", (PyCFunction
) _wrap_wxWindow_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
9133 { "wxWindow_Validate", (PyCFunction
) _wrap_wxWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
},
9134 { "wxWindow_TransferDataToWindow", (PyCFunction
) _wrap_wxWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
9135 { "wxWindow_TransferDataFromWindow", (PyCFunction
) _wrap_wxWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
9136 { "wxWindow_Show", (PyCFunction
) _wrap_wxWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
9137 { "wxWindow_SetTitle", (PyCFunction
) _wrap_wxWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9138 { "wxWindow_SetEventHandler", (PyCFunction
) _wrap_wxWindow_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9139 { "wxWindow_SetCursor", (PyCFunction
) _wrap_wxWindow_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
9140 { "wxWindow_SetClientSize", (PyCFunction
) _wrap_wxWindow_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
9141 { "wxWindow_SetClientSizeWH", (PyCFunction
) _wrap_wxWindow_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
9142 { "wxWindow_SetSizeHints", (PyCFunction
) _wrap_wxWindow_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
9143 { "wxWindow_SetPosition", (PyCFunction
) _wrap_wxWindow_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
9144 { "wxWindow_SetSize", (PyCFunction
) _wrap_wxWindow_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
9145 { "wxWindow_SetDimensions", (PyCFunction
) _wrap_wxWindow_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
9146 { "wxWindow_SetScrollPos", (PyCFunction
) _wrap_wxWindow_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
9147 { "wxWindow_SetScrollbar", (PyCFunction
) _wrap_wxWindow_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
9148 { "wxWindow_SetName", (PyCFunction
) _wrap_wxWindow_SetName
, METH_VARARGS
| METH_KEYWORDS
},
9149 { "wxWindow_SetId", (PyCFunction
) _wrap_wxWindow_SetId
, METH_VARARGS
| METH_KEYWORDS
},
9150 { "wxWindow_SetForegroundColour", (PyCFunction
) _wrap_wxWindow_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9151 { "wxWindow_SetFont", (PyCFunction
) _wrap_wxWindow_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
9152 { "wxWindow_AcceptsFocus", (PyCFunction
) _wrap_wxWindow_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
9153 { "wxWindow_SetFocus", (PyCFunction
) _wrap_wxWindow_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
9154 { "wxWindow_UnsetConstraints", (PyCFunction
) _wrap_wxWindow_UnsetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
9155 { "wxWindow_SetConstraints", (PyCFunction
) _wrap_wxWindow_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
9156 { "wxWindow_SetBackgroundColour", (PyCFunction
) _wrap_wxWindow_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9157 { "wxWindow_GetAutoLayout", (PyCFunction
) _wrap_wxWindow_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
9158 { "wxWindow_SetAutoLayout", (PyCFunction
) _wrap_wxWindow_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
9159 { "wxWindow_SetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
9160 { "wxWindow_ScrollWindow", (PyCFunction
) _wrap_wxWindow_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
9161 { "wxWindow_ScreenToClient", (PyCFunction
) _wrap_wxWindow_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
9162 { "wxWindow_ScreenToClientXY", (PyCFunction
) _wrap_wxWindow_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
9163 { "wxWindow_Reparent", (PyCFunction
) _wrap_wxWindow_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
9164 { "wxWindow_RemoveChild", (PyCFunction
) _wrap_wxWindow_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
9165 { "wxWindow_ReleaseMouse", (PyCFunction
) _wrap_wxWindow_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
9166 { "wxWindow_Refresh", (PyCFunction
) _wrap_wxWindow_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
9167 { "wxWindow_Raise", (PyCFunction
) _wrap_wxWindow_Raise
, METH_VARARGS
| METH_KEYWORDS
},
9168 { "wxWindow_PopupMenu", (PyCFunction
) _wrap_wxWindow_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
9169 { "wxWindow_PopupMenuXY", (PyCFunction
) _wrap_wxWindow_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
9170 { "wxWindow_PushEventHandler", (PyCFunction
) _wrap_wxWindow_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9171 { "wxWindow_PopEventHandler", (PyCFunction
) _wrap_wxWindow_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9172 { "wxWindow_Move", (PyCFunction
) _wrap_wxWindow_Move
, METH_VARARGS
| METH_KEYWORDS
},
9173 { "wxWindow_MoveXY", (PyCFunction
) _wrap_wxWindow_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
9174 { "wxWindow_MakeModal", (PyCFunction
) _wrap_wxWindow_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
9175 { "wxWindow_Lower", (PyCFunction
) _wrap_wxWindow_Lower
, METH_VARARGS
| METH_KEYWORDS
},
9176 { "wxWindow_LoadFromResource", (PyCFunction
) _wrap_wxWindow_LoadFromResource
, METH_VARARGS
| METH_KEYWORDS
},
9177 { "wxWindow_Layout", (PyCFunction
) _wrap_wxWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
9178 { "wxWindow_IsTopLevel", (PyCFunction
) _wrap_wxWindow_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
9179 { "wxWindow_IsShown", (PyCFunction
) _wrap_wxWindow_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
9180 { "wxWindow_IsRetained", (PyCFunction
) _wrap_wxWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
9181 { "wxWindow_IsExposedRect", (PyCFunction
) _wrap_wxWindow_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
9182 { "wxWindow_IsExposedPoint", (PyCFunction
) _wrap_wxWindow_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
9183 { "wxWindow_IsExposed", (PyCFunction
) _wrap_wxWindow_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
9184 { "wxWindow_IsEnabled", (PyCFunction
) _wrap_wxWindow_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9185 { "wxWindow_InitDialog", (PyCFunction
) _wrap_wxWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
9186 { "wxWindow_Hide", (PyCFunction
) _wrap_wxWindow_Hide
, METH_VARARGS
| METH_KEYWORDS
},
9187 { "wxWindow_SetWindowStyle", (PyCFunction
) _wrap_wxWindow_SetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
9188 { "wxWindow_SetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
9189 { "wxWindow_GetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
9190 { "wxWindow_GetUpdateRegion", (PyCFunction
) _wrap_wxWindow_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
9191 { "wxWindow_GetTitle", (PyCFunction
) _wrap_wxWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9192 { "wxWindow_GetFullTextExtent", (PyCFunction
) _wrap_wxWindow_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
9193 { "wxWindow_GetTextExtent", (PyCFunction
) _wrap_wxWindow_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
9194 { "wxWindow_GetSize", (PyCFunction
) _wrap_wxWindow_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
9195 { "wxWindow_GetSizeTuple", (PyCFunction
) _wrap_wxWindow_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
9196 { "wxWindow_GetScrollRange", (PyCFunction
) _wrap_wxWindow_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
9197 { "wxWindow_GetScrollPos", (PyCFunction
) _wrap_wxWindow_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
9198 { "wxWindow_GetScrollThumb", (PyCFunction
) _wrap_wxWindow_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
9199 { "wxWindow_GetRect", (PyCFunction
) _wrap_wxWindow_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
9200 { "wxWindow_GetPosition", (PyCFunction
) _wrap_wxWindow_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
9201 { "wxWindow_GetPositionTuple", (PyCFunction
) _wrap_wxWindow_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
9202 { "wxWindow_GetParent", (PyCFunction
) _wrap_wxWindow_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
9203 { "wxWindow_GetName", (PyCFunction
) _wrap_wxWindow_GetName
, METH_VARARGS
| METH_KEYWORDS
},
9204 { "wxWindow_SetLabel", (PyCFunction
) _wrap_wxWindow_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9205 { "wxWindow_GetLabel", (PyCFunction
) _wrap_wxWindow_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9206 { "wxWindow_GetId", (PyCFunction
) _wrap_wxWindow_GetId
, METH_VARARGS
| METH_KEYWORDS
},
9207 { "wxWindow_GetHandle", (PyCFunction
) _wrap_wxWindow_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
9208 { "wxWindow_GetGrandParent", (PyCFunction
) _wrap_wxWindow_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
9209 { "wxWindow_GetForegroundColour", (PyCFunction
) _wrap_wxWindow_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9210 { "wxWindow_GetFont", (PyCFunction
) _wrap_wxWindow_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
9211 { "wxWindow_GetEventHandler", (PyCFunction
) _wrap_wxWindow_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9212 { "wxWindow_GetConstraints", (PyCFunction
) _wrap_wxWindow_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
9213 { "wxWindow_GetClientSize", (PyCFunction
) _wrap_wxWindow_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
9214 { "wxWindow_GetClientSizeTuple", (PyCFunction
) _wrap_wxWindow_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
9215 { "wxWindow_GetCharWidth", (PyCFunction
) _wrap_wxWindow_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
9216 { "wxWindow_GetCharHeight", (PyCFunction
) _wrap_wxWindow_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
9217 { "wxWindow_GetChildren", (PyCFunction
) _wrap_wxWindow_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
9218 { "wxWindow_GetBackgroundColour", (PyCFunction
) _wrap_wxWindow_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9219 { "wxWindow_Fit", (PyCFunction
) _wrap_wxWindow_Fit
, METH_VARARGS
| METH_KEYWORDS
},
9220 { "wxWindow_FindWindowByName", (PyCFunction
) _wrap_wxWindow_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
9221 { "wxWindow_FindWindowById", (PyCFunction
) _wrap_wxWindow_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
9222 { "wxWindow_Enable", (PyCFunction
) _wrap_wxWindow_Enable
, METH_VARARGS
| METH_KEYWORDS
},
9223 { "wxWindow_DragAcceptFiles", (PyCFunction
) _wrap_wxWindow_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
},
9224 { "wxWindow_DestroyChildren", (PyCFunction
) _wrap_wxWindow_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
9225 { "wxWindow_Destroy", (PyCFunction
) _wrap_wxWindow_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
9226 { "wxWindow_Close", (PyCFunction
) _wrap_wxWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
9227 { "wxWindow_ClientToScreen", (PyCFunction
) _wrap_wxWindow_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
9228 { "wxWindow_ClientToScreenXY", (PyCFunction
) _wrap_wxWindow_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
9229 { "wxWindow_CenterOnParent", (PyCFunction
) _wrap_wxWindow_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
9230 { "wxWindow_CentreOnParent", (PyCFunction
) _wrap_wxWindow_CentreOnParent
, METH_VARARGS
| METH_KEYWORDS
},
9231 { "wxWindow_Centre", (PyCFunction
) _wrap_wxWindow_Centre
, METH_VARARGS
| METH_KEYWORDS
},
9232 { "wxWindow_Center", (PyCFunction
) _wrap_wxWindow_Center
, METH_VARARGS
| METH_KEYWORDS
},
9233 { "wxWindow_CaptureMouse", (PyCFunction
) _wrap_wxWindow_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
9234 { "new_wxWindow", (PyCFunction
) _wrap_new_wxWindow
, METH_VARARGS
| METH_KEYWORDS
},
9235 { "wxPyValidator__setSelf", (PyCFunction
) _wrap_wxPyValidator__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
9236 { "wxPyValidator_Destroy", (PyCFunction
) _wrap_wxPyValidator_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
9237 { "new_wxPyValidator", (PyCFunction
) _wrap_new_wxPyValidator
, METH_VARARGS
| METH_KEYWORDS
},
9238 { "wxValidator_SetWindow", (PyCFunction
) _wrap_wxValidator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
9239 { "wxValidator_GetWindow", (PyCFunction
) _wrap_wxValidator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
9240 { "wxValidator_Clone", (PyCFunction
) _wrap_wxValidator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
9241 { "new_wxValidator", (PyCFunction
) _wrap_new_wxValidator
, METH_VARARGS
| METH_KEYWORDS
},
9242 { "wxEvtHandler_Disconnect", (PyCFunction
) _wrap_wxEvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
9243 { "wxEvtHandler_Connect", (PyCFunction
) _wrap_wxEvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
9244 { "wxEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
9245 { "wxEvtHandler_SetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
9246 { "wxEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
9247 { "wxEvtHandler_GetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
9248 { "wxEvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9249 { "wxEvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9250 { "wxEvtHandler_AddPendingEvent", (PyCFunction
) _wrap_wxEvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
9251 { "wxEvtHandler_ProcessEvent", (PyCFunction
) _wrap_wxEvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
9252 { "wxWindow_PrevControlId", (PyCFunction
) _wrap_wxWindow_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
9253 { "wxWindow_NextControlId", (PyCFunction
) _wrap_wxWindow_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
9254 { "wxWindow_NewControlId", (PyCFunction
) _wrap_wxWindow_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
9255 { "wxWindow_FromHWND", (PyCFunction
) _wrap_wxWindow_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
9256 { "wxWindow_FindFocus", (PyCFunction
) _wrap_wxWindow_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
9257 { "wxValidator_SetBellOnError", (PyCFunction
) _wrap_wxValidator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
9258 { "wxValidator_IsSilent", (PyCFunction
) _wrap_wxValidator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
9265 * This table is used by the pointer type-checker
9267 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
9268 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
9269 { "_signed_long","_long",0},
9270 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
9271 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
9272 { "_wxPrintQuality","_wxCoord",0},
9273 { "_wxPrintQuality","_int",0},
9274 { "_wxPrintQuality","_signed_int",0},
9275 { "_wxPrintQuality","_unsigned_int",0},
9276 { "_wxPrintQuality","_wxWindowID",0},
9277 { "_wxPrintQuality","_uint",0},
9278 { "_wxPrintQuality","_EBool",0},
9279 { "_wxPrintQuality","_size_t",0},
9280 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
9281 { "_class_wxRegionIterator","_wxRegionIterator",0},
9282 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
9283 { "_class_wxMenuBar","_wxMenuBar",0},
9284 { "_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
9285 { "_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
9286 { "_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
9287 { "_class_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
9288 { "_class_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
9289 { "_class_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
9290 { "_class_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
9291 { "_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
9292 { "_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
9293 { "_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
9294 { "_class_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
9295 { "_class_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
9296 { "_class_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
9297 { "_class_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
9298 { "_class_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler
},
9299 { "_class_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
9300 { "_class_wxEvtHandler","_wxEvtHandler",0},
9301 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
9302 { "_wxCursor","_class_wxCursor",0},
9303 { "_wxMask","_class_wxMask",0},
9304 { "_wxPen","_class_wxPen",0},
9305 { "_byte","_unsigned_char",0},
9306 { "_wxDataObject","_class_wxDataObject",0},
9307 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
9308 { "_wxPyDropSource","_class_wxPyDropSource",0},
9309 { "_long","_unsigned_long",0},
9310 { "_long","_signed_long",0},
9311 { "_wxImageList","_class_wxImageList",0},
9312 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
9313 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
9314 { "_class_wxClipboard","_wxClipboard",0},
9315 { "_wxDC","_class_wxDC",0},
9316 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
9317 { "_size_t","_wxCoord",0},
9318 { "_size_t","_wxPrintQuality",0},
9319 { "_size_t","_unsigned_int",0},
9320 { "_size_t","_int",0},
9321 { "_size_t","_wxWindowID",0},
9322 { "_size_t","_uint",0},
9323 { "_class_wxRealPoint","_wxRealPoint",0},
9324 { "_wxPrinterDC","_class_wxPrinterDC",0},
9325 { "_class_wxMenuItem","_wxMenuItem",0},
9326 { "_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
9327 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
9328 { "_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
9329 { "_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
9330 { "_wxPanel","_class_wxPanel",0},
9331 { "_class_wxMask","_wxMask",0},
9332 { "_wxTextDataObject","_class_wxTextDataObject",0},
9333 { "_wxColour","_class_wxColour",0},
9334 { "_class_wxDialog","_wxDialog",0},
9335 { "_class_wxFileDataObject","_wxFileDataObject",0},
9336 { "_class_wxDataObject","_wxDataObject",0},
9337 { "_wxBrush","_class_wxBrush",0},
9338 { "_wxDataFormat","_class_wxDataFormat",0},
9339 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
9340 { "_uint","_wxCoord",0},
9341 { "_uint","_wxPrintQuality",0},
9342 { "_uint","_size_t",0},
9343 { "_uint","_unsigned_int",0},
9344 { "_uint","_int",0},
9345 { "_uint","_wxWindowID",0},
9346 { "_wxChar","_char",0},
9347 { "_wxPyValidator","_class_wxPyValidator",0},
9348 { "_wxRect","_class_wxRect",0},
9349 { "_wxPoint","_class_wxPoint",0},
9350 { "_char","_wxChar",0},
9351 { "_wxBitmap","_class_wxBitmap",0},
9352 { "_wxWindowDC","_class_wxWindowDC",0},
9353 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
9354 { "_class_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator
},
9355 { "_class_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
9356 { "_class_wxValidator","_wxValidator",0},
9357 { "_wxDropTarget","_class_wxDropTarget",0},
9358 { "_EBool","_wxCoord",0},
9359 { "_EBool","_wxPrintQuality",0},
9360 { "_EBool","_signed_int",0},
9361 { "_EBool","_int",0},
9362 { "_EBool","_wxWindowID",0},
9363 { "_class_wxRegion","_wxRegion",0},
9364 { "_class_wxDataFormat","_wxDataFormat",0},
9365 { "_wxFont","_class_wxFont",0},
9366 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
9367 { "_unsigned_long","_long",0},
9368 { "_class_wxRect","_wxRect",0},
9369 { "_class_wxDC","_wxDC",0},
9370 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
9371 { "_class_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
9372 { "_class_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
9373 { "_class_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
9374 { "_class_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
9375 { "_class_wxPanel","_wxPanel",0},
9376 { "_signed_int","_wxCoord",0},
9377 { "_signed_int","_wxPrintQuality",0},
9378 { "_signed_int","_EBool",0},
9379 { "_signed_int","_wxWindowID",0},
9380 { "_signed_int","_int",0},
9381 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
9382 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
9383 { "_class_wxTextDataObject","_wxTextDataObject",0},
9384 { "_wxMenu","_class_wxMenu",0},
9385 { "_wxScreenDC","_class_wxScreenDC",0},
9386 { "_WXTYPE","_short",0},
9387 { "_WXTYPE","_signed_short",0},
9388 { "_WXTYPE","_unsigned_short",0},
9389 { "_class_wxDropTarget","_wxDropTarget",0},
9390 { "_class_wxBrush","_wxBrush",0},
9391 { "_unsigned_short","_WXTYPE",0},
9392 { "_unsigned_short","_short",0},
9393 { "_class_wxWindow","_class_wxMenuBar",SwigwxMenuBarTowxWindow
},
9394 { "_class_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
9395 { "_class_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
9396 { "_class_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
9397 { "_class_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
9398 { "_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
9399 { "_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
9400 { "_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
9401 { "_class_wxWindow","_wxWindow",0},
9402 { "_class_wxFont","_wxFont",0},
9403 { "_wxClipboard","_class_wxClipboard",0},
9404 { "_class_wxPyValidator","_wxPyValidator",0},
9405 { "_wxBusyInfo","_class_wxBusyInfo",0},
9406 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
9407 { "_wxClientDC","_class_wxClientDC",0},
9408 { "_class_wxPoint","_wxPoint",0},
9409 { "_wxRealPoint","_class_wxRealPoint",0},
9410 { "_signed_short","_WXTYPE",0},
9411 { "_signed_short","_short",0},
9412 { "_wxMemoryDC","_class_wxMemoryDC",0},
9413 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
9414 { "_wxPaintDC","_class_wxPaintDC",0},
9415 { "_class_wxWindowDC","_wxWindowDC",0},
9416 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
9417 { "_class_wxCursor","_wxCursor",0},
9418 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
9419 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
9420 { "_unsigned_char","_byte",0},
9421 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
9422 { "_class_wxMenu","_wxMenu",0},
9423 { "_unsigned_int","_wxCoord",0},
9424 { "_unsigned_int","_wxPrintQuality",0},
9425 { "_unsigned_int","_size_t",0},
9426 { "_unsigned_int","_uint",0},
9427 { "_unsigned_int","_wxWindowID",0},
9428 { "_unsigned_int","_int",0},
9429 { "_wxIcon","_class_wxIcon",0},
9430 { "_wxDialog","_class_wxDialog",0},
9431 { "_class_wxPen","_wxPen",0},
9432 { "_short","_WXTYPE",0},
9433 { "_short","_unsigned_short",0},
9434 { "_short","_signed_short",0},
9435 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
9436 { "_class_wxPyDropSource","_wxPyDropSource",0},
9437 { "_class_wxImageList","_wxImageList",0},
9438 { "_wxWindowID","_wxCoord",0},
9439 { "_wxWindowID","_wxPrintQuality",0},
9440 { "_wxWindowID","_size_t",0},
9441 { "_wxWindowID","_EBool",0},
9442 { "_wxWindowID","_uint",0},
9443 { "_wxWindowID","_int",0},
9444 { "_wxWindowID","_signed_int",0},
9445 { "_wxWindowID","_unsigned_int",0},
9446 { "_int","_wxCoord",0},
9447 { "_int","_wxPrintQuality",0},
9448 { "_int","_size_t",0},
9449 { "_int","_EBool",0},
9450 { "_int","_uint",0},
9451 { "_int","_wxWindowID",0},
9452 { "_int","_unsigned_int",0},
9453 { "_int","_signed_int",0},
9454 { "_wxSize","_class_wxSize",0},
9455 { "_wxRegionIterator","_class_wxRegionIterator",0},
9456 { "_class_wxPrinterDC","_wxPrinterDC",0},
9457 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
9458 { "_class_wxPaintDC","_wxPaintDC",0},
9459 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
9460 { "_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator
},
9461 { "_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
9462 { "_wxValidator","_class_wxValidator",0},
9463 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
9464 { "_class_wxIcon","_wxIcon",0},
9465 { "_class_wxColour","_wxColour",0},
9466 { "_class_wxScreenDC","_wxScreenDC",0},
9467 { "_wxPalette","_class_wxPalette",0},
9468 { "_wxCoord","_int",0},
9469 { "_wxCoord","_signed_int",0},
9470 { "_wxCoord","_unsigned_int",0},
9471 { "_wxCoord","_wxWindowID",0},
9472 { "_wxCoord","_uint",0},
9473 { "_wxCoord","_EBool",0},
9474 { "_wxCoord","_size_t",0},
9475 { "_wxCoord","_wxPrintQuality",0},
9476 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
9477 { "_wxRegion","_class_wxRegion",0},
9478 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
9479 { "_class_wxBusyInfo","_wxBusyInfo",0},
9480 { "_class_wxClientDC","_wxClientDC",0},
9481 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
9482 { "_class_wxSize","_wxSize",0},
9483 { "_class_wxBitmap","_wxBitmap",0},
9484 { "_class_wxMemoryDC","_wxMemoryDC",0},
9485 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
9486 { "_wxMenuBar","_class_wxMenuBar",0},
9487 { "_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
9488 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
9489 { "_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
9490 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
9491 { "_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
9492 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
9493 { "_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
9494 { "_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
9495 { "_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
9496 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
9497 { "_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
9498 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
9499 { "_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
9500 { "_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
9501 { "_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler
},
9502 { "_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
9503 { "_wxEvtHandler","_class_wxEvtHandler",0},
9504 { "_wxMenuItem","_class_wxMenuItem",0},
9505 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
9506 { "_class_wxPalette","_wxPalette",0},
9507 { "_wxFileDataObject","_class_wxFileDataObject",0},
9508 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
9509 { "_wxWindow","_class_wxMenuBar",SwigwxMenuBarTowxWindow
},
9510 { "_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
9511 { "_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
9512 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
9513 { "_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
9514 { "_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
9515 { "_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
9516 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
9517 { "_wxWindow","_class_wxWindow",0},
9520 static PyObject
*SWIG_globals
;
9524 SWIGEXPORT(void) initwindowsc() {
9526 SWIG_globals
= SWIG_newvarlink();
9527 m
= Py_InitModule("windowsc", windowscMethods
);
9528 d
= PyModule_GetDict(m
);
9531 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
9532 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);