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_CentreOnScreen(_swigobj,_swigarg0) (_swigobj->CentreOnScreen(_swigarg0))
1114 static PyObject
*_wrap_wxWindow_CentreOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1115 PyObject
* _resultobj
;
1117 int _arg1
= (int ) wxBOTH
;
1118 PyObject
* _argo0
= 0;
1119 char *_kwnames
[] = { "self","direction", NULL
};
1122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnScreen",_kwnames
,&_argo0
,&_arg1
))
1125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnScreen. Expected _wxWindow_p.");
1132 wxPy_BEGIN_ALLOW_THREADS
;
1133 wxWindow_CentreOnScreen(_arg0
,_arg1
);
1135 wxPy_END_ALLOW_THREADS
;
1136 } Py_INCREF(Py_None
);
1137 _resultobj
= Py_None
;
1141 #define wxWindow_CenterOnScreen(_swigobj,_swigarg0) (_swigobj->CenterOnScreen(_swigarg0))
1142 static PyObject
*_wrap_wxWindow_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1143 PyObject
* _resultobj
;
1145 int _arg1
= (int ) wxBOTH
;
1146 PyObject
* _argo0
= 0;
1147 char *_kwnames
[] = { "self","direction", NULL
};
1150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnScreen",_kwnames
,&_argo0
,&_arg1
))
1153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnScreen. Expected _wxWindow_p.");
1160 wxPy_BEGIN_ALLOW_THREADS
;
1161 wxWindow_CenterOnScreen(_arg0
,_arg1
);
1163 wxPy_END_ALLOW_THREADS
;
1164 } Py_INCREF(Py_None
);
1165 _resultobj
= Py_None
;
1169 #define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
1170 static PyObject
*_wrap_wxWindow_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1171 PyObject
* _resultobj
;
1175 PyObject
* _argo0
= 0;
1177 PyObject
* _obj1
= 0;
1179 PyObject
* _obj2
= 0;
1180 char *_kwnames
[] = { "self","x","y", NULL
};
1183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ClientToScreenXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
1193 temp
= (int) PyInt_AsLong(_obj1
);
1197 temp0
= (int) PyInt_AsLong(_obj2
);
1201 wxPy_BEGIN_ALLOW_THREADS
;
1202 wxWindow_ClientToScreenXY(_arg0
,_arg1
,_arg2
);
1204 wxPy_END_ALLOW_THREADS
;
1205 } Py_INCREF(Py_None
);
1206 _resultobj
= Py_None
;
1209 o
= PyInt_FromLong((long) (*_arg1
));
1210 _resultobj
= t_output_helper(_resultobj
, o
);
1214 o
= PyInt_FromLong((long) (*_arg2
));
1215 _resultobj
= t_output_helper(_resultobj
, o
);
1220 #define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
1221 static PyObject
*_wrap_wxWindow_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1222 PyObject
* _resultobj
;
1226 PyObject
* _argo0
= 0;
1228 PyObject
* _obj1
= 0;
1229 char *_kwnames
[] = { "self","pt", NULL
};
1233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ClientToScreen",_kwnames
,&_argo0
,&_obj1
))
1236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
1244 if (! wxPoint_helper(_obj1
, &_arg1
))
1248 wxPy_BEGIN_ALLOW_THREADS
;
1249 _result
= new wxPoint (wxWindow_ClientToScreen(_arg0
,*_arg1
));
1251 wxPy_END_ALLOW_THREADS
;
1252 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1253 _resultobj
= Py_BuildValue("s",_ptemp
);
1257 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
1258 static PyObject
*_wrap_wxWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1259 PyObject
* _resultobj
;
1262 int _arg1
= (int ) FALSE
;
1263 PyObject
* _argo0
= 0;
1264 char *_kwnames
[] = { "self","force", NULL
};
1267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Close",_kwnames
,&_argo0
,&_arg1
))
1270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
1277 wxPy_BEGIN_ALLOW_THREADS
;
1278 _result
= (bool )wxWindow_Close(_arg0
,_arg1
);
1280 wxPy_END_ALLOW_THREADS
;
1281 } _resultobj
= Py_BuildValue("i",_result
);
1285 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
1286 static PyObject
*_wrap_wxWindow_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1287 PyObject
* _resultobj
;
1290 PyObject
* _argo0
= 0;
1291 char *_kwnames
[] = { "self", NULL
};
1294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Destroy",_kwnames
,&_argo0
))
1297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
1304 wxPy_BEGIN_ALLOW_THREADS
;
1305 _result
= (bool )wxWindow_Destroy(_arg0
);
1307 wxPy_END_ALLOW_THREADS
;
1308 } _resultobj
= Py_BuildValue("i",_result
);
1312 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
1313 static PyObject
*_wrap_wxWindow_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1314 PyObject
* _resultobj
;
1316 PyObject
* _argo0
= 0;
1317 char *_kwnames
[] = { "self", NULL
};
1320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_DestroyChildren",_kwnames
,&_argo0
))
1323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
1330 wxPy_BEGIN_ALLOW_THREADS
;
1331 wxWindow_DestroyChildren(_arg0
);
1333 wxPy_END_ALLOW_THREADS
;
1334 } Py_INCREF(Py_None
);
1335 _resultobj
= Py_None
;
1339 #define wxWindow_DragAcceptFiles(_swigobj,_swigarg0) (_swigobj->DragAcceptFiles(_swigarg0))
1340 static PyObject
*_wrap_wxWindow_DragAcceptFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1341 PyObject
* _resultobj
;
1344 PyObject
* _argo0
= 0;
1346 char *_kwnames
[] = { "self","accept", NULL
};
1349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_DragAcceptFiles",_kwnames
,&_argo0
,&tempbool1
))
1352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DragAcceptFiles. Expected _wxWindow_p.");
1358 _arg1
= (bool ) tempbool1
;
1360 wxPy_BEGIN_ALLOW_THREADS
;
1361 wxWindow_DragAcceptFiles(_arg0
,_arg1
);
1363 wxPy_END_ALLOW_THREADS
;
1364 } Py_INCREF(Py_None
);
1365 _resultobj
= Py_None
;
1369 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
1370 static PyObject
*_wrap_wxWindow_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1371 PyObject
* _resultobj
;
1374 PyObject
* _argo0
= 0;
1376 char *_kwnames
[] = { "self","enable", NULL
};
1379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Enable",_kwnames
,&_argo0
,&tempbool1
))
1382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
1388 _arg1
= (bool ) tempbool1
;
1390 wxPy_BEGIN_ALLOW_THREADS
;
1391 wxWindow_Enable(_arg0
,_arg1
);
1393 wxPy_END_ALLOW_THREADS
;
1394 } Py_INCREF(Py_None
);
1395 _resultobj
= Py_None
;
1399 #define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1400 static PyObject
*_wrap_wxWindow_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1401 PyObject
* _resultobj
;
1405 PyObject
* _argo0
= 0;
1406 char *_kwnames
[] = { "self","id", NULL
};
1410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_FindWindowById",_kwnames
,&_argo0
,&_arg1
))
1413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
1420 wxPy_BEGIN_ALLOW_THREADS
;
1421 _result
= (wxWindow
*)wxWindow_FindWindowById(_arg0
,_arg1
);
1423 wxPy_END_ALLOW_THREADS
;
1425 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1426 _resultobj
= Py_BuildValue("s",_ptemp
);
1429 _resultobj
= Py_None
;
1434 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1435 static PyObject
*_wrap_wxWindow_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1436 PyObject
* _resultobj
;
1440 PyObject
* _argo0
= 0;
1441 PyObject
* _obj1
= 0;
1442 char *_kwnames
[] = { "self","name", NULL
};
1446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_FindWindowByName",_kwnames
,&_argo0
,&_obj1
))
1449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
1456 if (!PyString_Check(_obj1
)) {
1457 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1460 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1463 wxPy_BEGIN_ALLOW_THREADS
;
1464 _result
= (wxWindow
*)wxWindow_FindWindowByName(_arg0
,*_arg1
);
1466 wxPy_END_ALLOW_THREADS
;
1468 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1469 _resultobj
= Py_BuildValue("s",_ptemp
);
1472 _resultobj
= Py_None
;
1481 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
1482 static PyObject
*_wrap_wxWindow_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1483 PyObject
* _resultobj
;
1485 PyObject
* _argo0
= 0;
1486 char *_kwnames
[] = { "self", NULL
};
1489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Fit",_kwnames
,&_argo0
))
1492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
1499 wxPy_BEGIN_ALLOW_THREADS
;
1500 wxWindow_Fit(_arg0
);
1502 wxPy_END_ALLOW_THREADS
;
1503 } Py_INCREF(Py_None
);
1504 _resultobj
= Py_None
;
1508 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1509 static PyObject
*_wrap_wxWindow_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1510 PyObject
* _resultobj
;
1513 PyObject
* _argo0
= 0;
1514 char *_kwnames
[] = { "self", NULL
};
1518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBackgroundColour",_kwnames
,&_argo0
))
1521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
1528 wxPy_BEGIN_ALLOW_THREADS
;
1529 _result
= new wxColour (wxWindow_GetBackgroundColour(_arg0
));
1531 wxPy_END_ALLOW_THREADS
;
1532 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1533 _resultobj
= Py_BuildValue("s",_ptemp
);
1537 static PyObject
* wxWindow_GetChildren(wxWindow
*self
) {
1538 wxWindowList
& list
= self
->GetChildren();
1539 return wxPy_ConvertList(&list
, "wxWindow");
1541 static PyObject
*_wrap_wxWindow_GetChildren(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_GetChildren",_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_GetChildren. Expected _wxWindow_p.");
1559 wxPy_BEGIN_ALLOW_THREADS
;
1560 _result
= (PyObject
*)wxWindow_GetChildren(_arg0
);
1562 wxPy_END_ALLOW_THREADS
;
1564 _resultobj
= _result
;
1569 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1570 static PyObject
*_wrap_wxWindow_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1571 PyObject
* _resultobj
;
1574 PyObject
* _argo0
= 0;
1575 char *_kwnames
[] = { "self", NULL
};
1578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharHeight",_kwnames
,&_argo0
))
1581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
1588 wxPy_BEGIN_ALLOW_THREADS
;
1589 _result
= (int )wxWindow_GetCharHeight(_arg0
);
1591 wxPy_END_ALLOW_THREADS
;
1592 } _resultobj
= Py_BuildValue("i",_result
);
1596 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1597 static PyObject
*_wrap_wxWindow_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1598 PyObject
* _resultobj
;
1601 PyObject
* _argo0
= 0;
1602 char *_kwnames
[] = { "self", NULL
};
1605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharWidth",_kwnames
,&_argo0
))
1608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
1615 wxPy_BEGIN_ALLOW_THREADS
;
1616 _result
= (int )wxWindow_GetCharWidth(_arg0
);
1618 wxPy_END_ALLOW_THREADS
;
1619 } _resultobj
= Py_BuildValue("i",_result
);
1623 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
1624 static PyObject
*_wrap_wxWindow_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1625 PyObject
* _resultobj
;
1631 PyObject
* _argo0
= 0;
1632 char *_kwnames
[] = { "self", NULL
};
1641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSizeTuple",_kwnames
,&_argo0
))
1644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
1651 wxPy_BEGIN_ALLOW_THREADS
;
1652 wxWindow_GetClientSizeTuple(_arg0
,_arg1
,_arg2
);
1654 wxPy_END_ALLOW_THREADS
;
1655 } Py_INCREF(Py_None
);
1656 _resultobj
= Py_None
;
1659 o
= PyInt_FromLong((long) (*_arg1
));
1660 _resultobj
= t_output_helper(_resultobj
, o
);
1664 o
= PyInt_FromLong((long) (*_arg2
));
1665 _resultobj
= t_output_helper(_resultobj
, o
);
1670 #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
1671 static PyObject
*_wrap_wxWindow_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1672 PyObject
* _resultobj
;
1675 PyObject
* _argo0
= 0;
1676 char *_kwnames
[] = { "self", NULL
};
1680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSize",_kwnames
,&_argo0
))
1683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
1690 wxPy_BEGIN_ALLOW_THREADS
;
1691 _result
= new wxSize (wxWindow_GetClientSize(_arg0
));
1693 wxPy_END_ALLOW_THREADS
;
1694 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1695 _resultobj
= Py_BuildValue("s",_ptemp
);
1699 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
1700 static PyObject
*_wrap_wxWindow_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1701 PyObject
* _resultobj
;
1702 wxLayoutConstraints
* _result
;
1704 PyObject
* _argo0
= 0;
1705 char *_kwnames
[] = { "self", NULL
};
1709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetConstraints",_kwnames
,&_argo0
))
1712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
1719 wxPy_BEGIN_ALLOW_THREADS
;
1720 _result
= (wxLayoutConstraints
*)wxWindow_GetConstraints(_arg0
);
1722 wxPy_END_ALLOW_THREADS
;
1724 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
1725 _resultobj
= Py_BuildValue("s",_ptemp
);
1728 _resultobj
= Py_None
;
1733 #define wxWindow_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
1734 static PyObject
*_wrap_wxWindow_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1735 PyObject
* _resultobj
;
1736 wxEvtHandler
* _result
;
1738 PyObject
* _argo0
= 0;
1739 char *_kwnames
[] = { "self", NULL
};
1743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetEventHandler",_kwnames
,&_argo0
))
1746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetEventHandler. Expected _wxWindow_p.");
1753 wxPy_BEGIN_ALLOW_THREADS
;
1754 _result
= (wxEvtHandler
*)wxWindow_GetEventHandler(_arg0
);
1756 wxPy_END_ALLOW_THREADS
;
1758 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
1759 _resultobj
= Py_BuildValue("s",_ptemp
);
1762 _resultobj
= Py_None
;
1767 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
1768 static PyObject
*_wrap_wxWindow_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1769 PyObject
* _resultobj
;
1772 PyObject
* _argo0
= 0;
1773 char *_kwnames
[] = { "self", NULL
};
1777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetFont",_kwnames
,&_argo0
))
1780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
1787 wxPy_BEGIN_ALLOW_THREADS
;
1788 wxFont
& _result_ref
= wxWindow_GetFont(_arg0
);
1789 _result
= (wxFont
*) &_result_ref
;
1791 wxPy_END_ALLOW_THREADS
;
1793 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1794 _resultobj
= Py_BuildValue("s",_ptemp
);
1797 _resultobj
= Py_None
;
1802 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
1803 static PyObject
*_wrap_wxWindow_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1804 PyObject
* _resultobj
;
1807 PyObject
* _argo0
= 0;
1808 char *_kwnames
[] = { "self", NULL
};
1812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetForegroundColour",_kwnames
,&_argo0
))
1815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
1822 wxPy_BEGIN_ALLOW_THREADS
;
1823 _result
= new wxColour (wxWindow_GetForegroundColour(_arg0
));
1825 wxPy_END_ALLOW_THREADS
;
1826 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1827 _resultobj
= Py_BuildValue("s",_ptemp
);
1831 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
1832 static PyObject
*_wrap_wxWindow_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1833 PyObject
* _resultobj
;
1836 PyObject
* _argo0
= 0;
1837 char *_kwnames
[] = { "self", NULL
};
1841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetGrandParent",_kwnames
,&_argo0
))
1844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
1851 wxPy_BEGIN_ALLOW_THREADS
;
1852 _result
= (wxWindow
*)wxWindow_GetGrandParent(_arg0
);
1854 wxPy_END_ALLOW_THREADS
;
1856 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1857 _resultobj
= Py_BuildValue("s",_ptemp
);
1860 _resultobj
= Py_None
;
1865 static long wxWindow_GetHandle(wxWindow
*self
) {
1866 return wxPyGetWinHandle(self
); //(long)self->GetHandle();
1868 static PyObject
*_wrap_wxWindow_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1869 PyObject
* _resultobj
;
1872 PyObject
* _argo0
= 0;
1873 char *_kwnames
[] = { "self", NULL
};
1876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetHandle",_kwnames
,&_argo0
))
1879 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1880 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetHandle. Expected _wxWindow_p.");
1886 wxPy_BEGIN_ALLOW_THREADS
;
1887 _result
= (long )wxWindow_GetHandle(_arg0
);
1889 wxPy_END_ALLOW_THREADS
;
1890 } _resultobj
= Py_BuildValue("l",_result
);
1894 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
1895 static PyObject
*_wrap_wxWindow_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1896 PyObject
* _resultobj
;
1899 PyObject
* _argo0
= 0;
1900 char *_kwnames
[] = { "self", NULL
};
1903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetId",_kwnames
,&_argo0
))
1906 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1907 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
1913 wxPy_BEGIN_ALLOW_THREADS
;
1914 _result
= (int )wxWindow_GetId(_arg0
);
1916 wxPy_END_ALLOW_THREADS
;
1917 } _resultobj
= Py_BuildValue("i",_result
);
1921 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
1922 static PyObject
*_wrap_wxWindow_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1923 PyObject
* _resultobj
;
1926 PyObject
* _argo0
= 0;
1927 char *_kwnames
[] = { "self", NULL
};
1930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetLabel",_kwnames
,&_argo0
))
1933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
1940 wxPy_BEGIN_ALLOW_THREADS
;
1941 _result
= new wxString (wxWindow_GetLabel(_arg0
));
1943 wxPy_END_ALLOW_THREADS
;
1945 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1953 #define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
1954 static PyObject
*_wrap_wxWindow_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1955 PyObject
* _resultobj
;
1958 PyObject
* _argo0
= 0;
1959 PyObject
* _obj1
= 0;
1960 char *_kwnames
[] = { "self","label", NULL
};
1963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetLabel",_kwnames
,&_argo0
,&_obj1
))
1966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
1973 if (!PyString_Check(_obj1
)) {
1974 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1977 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1980 wxPy_BEGIN_ALLOW_THREADS
;
1981 wxWindow_SetLabel(_arg0
,*_arg1
);
1983 wxPy_END_ALLOW_THREADS
;
1984 } Py_INCREF(Py_None
);
1985 _resultobj
= Py_None
;
1993 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
1994 static PyObject
*_wrap_wxWindow_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1995 PyObject
* _resultobj
;
1998 PyObject
* _argo0
= 0;
1999 char *_kwnames
[] = { "self", NULL
};
2002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetName",_kwnames
,&_argo0
))
2005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
2012 wxPy_BEGIN_ALLOW_THREADS
;
2013 _result
= new wxString (wxWindow_GetName(_arg0
));
2015 wxPy_END_ALLOW_THREADS
;
2017 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2025 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
2026 static PyObject
*_wrap_wxWindow_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2027 PyObject
* _resultobj
;
2030 PyObject
* _argo0
= 0;
2031 char *_kwnames
[] = { "self", NULL
};
2035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetParent",_kwnames
,&_argo0
))
2038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
2045 wxPy_BEGIN_ALLOW_THREADS
;
2046 _result
= (wxWindow
*)wxWindow_GetParent(_arg0
);
2048 wxPy_END_ALLOW_THREADS
;
2050 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
2051 _resultobj
= Py_BuildValue("s",_ptemp
);
2054 _resultobj
= Py_None
;
2059 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2060 static PyObject
*_wrap_wxWindow_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2061 PyObject
* _resultobj
;
2067 PyObject
* _argo0
= 0;
2068 char *_kwnames
[] = { "self", NULL
};
2077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPositionTuple",_kwnames
,&_argo0
))
2080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
2087 wxPy_BEGIN_ALLOW_THREADS
;
2088 wxWindow_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2090 wxPy_END_ALLOW_THREADS
;
2091 } Py_INCREF(Py_None
);
2092 _resultobj
= Py_None
;
2095 o
= PyInt_FromLong((long) (*_arg1
));
2096 _resultobj
= t_output_helper(_resultobj
, o
);
2100 o
= PyInt_FromLong((long) (*_arg2
));
2101 _resultobj
= t_output_helper(_resultobj
, o
);
2106 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
2107 static PyObject
*_wrap_wxWindow_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2108 PyObject
* _resultobj
;
2111 PyObject
* _argo0
= 0;
2112 char *_kwnames
[] = { "self", NULL
};
2116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPosition",_kwnames
,&_argo0
))
2119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
2126 wxPy_BEGIN_ALLOW_THREADS
;
2127 _result
= new wxPoint (wxWindow_GetPosition(_arg0
));
2129 wxPy_END_ALLOW_THREADS
;
2130 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2131 _resultobj
= Py_BuildValue("s",_ptemp
);
2135 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
2136 static PyObject
*_wrap_wxWindow_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2137 PyObject
* _resultobj
;
2140 PyObject
* _argo0
= 0;
2141 char *_kwnames
[] = { "self", NULL
};
2145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetRect",_kwnames
,&_argo0
))
2148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
2155 wxPy_BEGIN_ALLOW_THREADS
;
2156 _result
= new wxRect (wxWindow_GetRect(_arg0
));
2158 wxPy_END_ALLOW_THREADS
;
2159 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
2160 _resultobj
= Py_BuildValue("s",_ptemp
);
2164 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
2165 static PyObject
*_wrap_wxWindow_GetScrollThumb(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_GetScrollThumb",_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_GetScrollThumb. Expected _wxWindow_p.");
2184 wxPy_BEGIN_ALLOW_THREADS
;
2185 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
2187 wxPy_END_ALLOW_THREADS
;
2188 } _resultobj
= Py_BuildValue("i",_result
);
2192 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
2193 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2194 PyObject
* _resultobj
;
2198 PyObject
* _argo0
= 0;
2199 char *_kwnames
[] = { "self","orientation", NULL
};
2202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollPos",_kwnames
,&_argo0
,&_arg1
))
2205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
2212 wxPy_BEGIN_ALLOW_THREADS
;
2213 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
2215 wxPy_END_ALLOW_THREADS
;
2216 } _resultobj
= Py_BuildValue("i",_result
);
2220 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
2221 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2222 PyObject
* _resultobj
;
2226 PyObject
* _argo0
= 0;
2227 char *_kwnames
[] = { "self","orientation", NULL
};
2230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollRange",_kwnames
,&_argo0
,&_arg1
))
2233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
2240 wxPy_BEGIN_ALLOW_THREADS
;
2241 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
2243 wxPy_END_ALLOW_THREADS
;
2244 } _resultobj
= Py_BuildValue("i",_result
);
2248 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2249 static PyObject
*_wrap_wxWindow_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2250 PyObject
* _resultobj
;
2256 PyObject
* _argo0
= 0;
2257 char *_kwnames
[] = { "self", NULL
};
2266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizeTuple",_kwnames
,&_argo0
))
2269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
2276 wxPy_BEGIN_ALLOW_THREADS
;
2277 wxWindow_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2279 wxPy_END_ALLOW_THREADS
;
2280 } Py_INCREF(Py_None
);
2281 _resultobj
= Py_None
;
2284 o
= PyInt_FromLong((long) (*_arg1
));
2285 _resultobj
= t_output_helper(_resultobj
, o
);
2289 o
= PyInt_FromLong((long) (*_arg2
));
2290 _resultobj
= t_output_helper(_resultobj
, o
);
2295 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
2296 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2297 PyObject
* _resultobj
;
2300 PyObject
* _argo0
= 0;
2301 char *_kwnames
[] = { "self", NULL
};
2305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSize",_kwnames
,&_argo0
))
2308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
2315 wxPy_BEGIN_ALLOW_THREADS
;
2316 _result
= new wxSize (wxWindow_GetSize(_arg0
));
2318 wxPy_END_ALLOW_THREADS
;
2319 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2320 _resultobj
= Py_BuildValue("s",_ptemp
);
2324 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
2325 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2326 PyObject
* _resultobj
;
2333 PyObject
* _argo0
= 0;
2334 PyObject
* _obj1
= 0;
2335 char *_kwnames
[] = { "self","string", NULL
};
2344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
2347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
2354 if (!PyString_Check(_obj1
)) {
2355 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2358 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2361 wxPy_BEGIN_ALLOW_THREADS
;
2362 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
2364 wxPy_END_ALLOW_THREADS
;
2365 } Py_INCREF(Py_None
);
2366 _resultobj
= Py_None
;
2369 o
= PyInt_FromLong((long) (*_arg2
));
2370 _resultobj
= t_output_helper(_resultobj
, o
);
2374 o
= PyInt_FromLong((long) (*_arg3
));
2375 _resultobj
= t_output_helper(_resultobj
, o
);
2384 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2385 static PyObject
*_wrap_wxWindow_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2386 PyObject
* _resultobj
;
2397 wxFont
* _arg6
= (wxFont
*) NULL
;
2398 PyObject
* _argo0
= 0;
2399 PyObject
* _obj1
= 0;
2400 PyObject
* _argo6
= 0;
2401 char *_kwnames
[] = { "self","string","font", NULL
};
2416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxWindow_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
2419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
2426 if (!PyString_Check(_obj1
)) {
2427 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2430 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2433 if (_argo6
== Py_None
) { _arg6
= NULL
; }
2434 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
2435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
2440 wxPy_BEGIN_ALLOW_THREADS
;
2441 wxWindow_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2443 wxPy_END_ALLOW_THREADS
;
2444 } Py_INCREF(Py_None
);
2445 _resultobj
= Py_None
;
2448 o
= PyInt_FromLong((long) (*_arg2
));
2449 _resultobj
= t_output_helper(_resultobj
, o
);
2453 o
= PyInt_FromLong((long) (*_arg3
));
2454 _resultobj
= t_output_helper(_resultobj
, o
);
2458 o
= PyInt_FromLong((long) (*_arg4
));
2459 _resultobj
= t_output_helper(_resultobj
, o
);
2463 o
= PyInt_FromLong((long) (*_arg5
));
2464 _resultobj
= t_output_helper(_resultobj
, o
);
2473 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
2474 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2475 PyObject
* _resultobj
;
2478 PyObject
* _argo0
= 0;
2479 char *_kwnames
[] = { "self", NULL
};
2482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetTitle",_kwnames
,&_argo0
))
2485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
2492 wxPy_BEGIN_ALLOW_THREADS
;
2493 _result
= new wxString (wxWindow_GetTitle(_arg0
));
2495 wxPy_END_ALLOW_THREADS
;
2497 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2505 #define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
2506 static PyObject
*_wrap_wxWindow_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2507 PyObject
* _resultobj
;
2510 PyObject
* _argo0
= 0;
2511 char *_kwnames
[] = { "self", NULL
};
2515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetUpdateRegion",_kwnames
,&_argo0
))
2518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
2525 wxPy_BEGIN_ALLOW_THREADS
;
2526 _result
= new wxRegion (wxWindow_GetUpdateRegion(_arg0
));
2528 wxPy_END_ALLOW_THREADS
;
2529 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRegion_p");
2530 _resultobj
= Py_BuildValue("s",_ptemp
);
2534 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
2535 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2536 PyObject
* _resultobj
;
2539 PyObject
* _argo0
= 0;
2540 char *_kwnames
[] = { "self", NULL
};
2543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetWindowStyleFlag",_kwnames
,&_argo0
))
2546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
2553 wxPy_BEGIN_ALLOW_THREADS
;
2554 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
2556 wxPy_END_ALLOW_THREADS
;
2557 } _resultobj
= Py_BuildValue("l",_result
);
2561 #define wxWindow_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
2562 static PyObject
*_wrap_wxWindow_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2563 PyObject
* _resultobj
;
2566 PyObject
* _argo0
= 0;
2567 char *_kwnames
[] = { "self","style", NULL
};
2570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
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_SetWindowStyleFlag. Expected _wxWindow_p.");
2580 wxPy_BEGIN_ALLOW_THREADS
;
2581 wxWindow_SetWindowStyleFlag(_arg0
,_arg1
);
2583 wxPy_END_ALLOW_THREADS
;
2584 } Py_INCREF(Py_None
);
2585 _resultobj
= Py_None
;
2589 #define wxWindow_SetWindowStyle(_swigobj,_swigarg0) (_swigobj->SetWindowStyle(_swigarg0))
2590 static PyObject
*_wrap_wxWindow_SetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2591 PyObject
* _resultobj
;
2594 PyObject
* _argo0
= 0;
2595 char *_kwnames
[] = { "self","style", NULL
};
2598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyle",_kwnames
,&_argo0
,&_arg1
))
2601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetWindowStyle. Expected _wxWindow_p.");
2608 wxPy_BEGIN_ALLOW_THREADS
;
2609 wxWindow_SetWindowStyle(_arg0
,_arg1
);
2611 wxPy_END_ALLOW_THREADS
;
2612 } Py_INCREF(Py_None
);
2613 _resultobj
= Py_None
;
2617 #define wxWindow_Hide(_swigobj) (_swigobj->Hide())
2618 static PyObject
*_wrap_wxWindow_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2619 PyObject
* _resultobj
;
2622 PyObject
* _argo0
= 0;
2623 char *_kwnames
[] = { "self", NULL
};
2626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Hide",_kwnames
,&_argo0
))
2629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
2636 wxPy_BEGIN_ALLOW_THREADS
;
2637 _result
= (bool )wxWindow_Hide(_arg0
);
2639 wxPy_END_ALLOW_THREADS
;
2640 } _resultobj
= Py_BuildValue("i",_result
);
2644 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
2645 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2646 PyObject
* _resultobj
;
2648 PyObject
* _argo0
= 0;
2649 char *_kwnames
[] = { "self", NULL
};
2652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_InitDialog",_kwnames
,&_argo0
))
2655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
2662 wxPy_BEGIN_ALLOW_THREADS
;
2663 wxWindow_InitDialog(_arg0
);
2665 wxPy_END_ALLOW_THREADS
;
2666 } Py_INCREF(Py_None
);
2667 _resultobj
= Py_None
;
2671 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
2672 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2673 PyObject
* _resultobj
;
2676 PyObject
* _argo0
= 0;
2677 char *_kwnames
[] = { "self", NULL
};
2680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsEnabled",_kwnames
,&_argo0
))
2683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
2690 wxPy_BEGIN_ALLOW_THREADS
;
2691 _result
= (bool )wxWindow_IsEnabled(_arg0
);
2693 wxPy_END_ALLOW_THREADS
;
2694 } _resultobj
= Py_BuildValue("i",_result
);
2698 #define wxWindow_IsExposed(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->IsExposed(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2699 static PyObject
*_wrap_wxWindow_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2700 PyObject
* _resultobj
;
2705 int _arg3
= (int ) 0;
2706 int _arg4
= (int ) 0;
2707 PyObject
* _argo0
= 0;
2708 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
2711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxWindow_IsExposed",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposed. Expected _wxWindow_p.");
2721 wxPy_BEGIN_ALLOW_THREADS
;
2722 _result
= (bool )wxWindow_IsExposed(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2724 wxPy_END_ALLOW_THREADS
;
2725 } _resultobj
= Py_BuildValue("i",_result
);
2729 #define wxWindow_IsExposedPoint(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
2730 static PyObject
*_wrap_wxWindow_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2731 PyObject
* _resultobj
;
2735 PyObject
* _argo0
= 0;
2737 PyObject
* _obj1
= 0;
2738 char *_kwnames
[] = { "self","pt", NULL
};
2741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedPoint",_kwnames
,&_argo0
,&_obj1
))
2744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedPoint. Expected _wxWindow_p.");
2752 if (! wxPoint_helper(_obj1
, &_arg1
))
2756 wxPy_BEGIN_ALLOW_THREADS
;
2757 _result
= (bool )wxWindow_IsExposedPoint(_arg0
,*_arg1
);
2759 wxPy_END_ALLOW_THREADS
;
2760 } _resultobj
= Py_BuildValue("i",_result
);
2764 #define wxWindow_IsExposedRect(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
2765 static PyObject
*_wrap_wxWindow_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2766 PyObject
* _resultobj
;
2770 PyObject
* _argo0
= 0;
2772 PyObject
* _obj1
= 0;
2773 char *_kwnames
[] = { "self","rect", NULL
};
2776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedRect",_kwnames
,&_argo0
,&_obj1
))
2779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedRect. Expected _wxWindow_p.");
2787 if (! wxRect_helper(_obj1
, &_arg1
))
2791 wxPy_BEGIN_ALLOW_THREADS
;
2792 _result
= (bool )wxWindow_IsExposedRect(_arg0
,*_arg1
);
2794 wxPy_END_ALLOW_THREADS
;
2795 } _resultobj
= Py_BuildValue("i",_result
);
2799 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
2800 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2801 PyObject
* _resultobj
;
2804 PyObject
* _argo0
= 0;
2805 char *_kwnames
[] = { "self", NULL
};
2808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsRetained",_kwnames
,&_argo0
))
2811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
2818 wxPy_BEGIN_ALLOW_THREADS
;
2819 _result
= (bool )wxWindow_IsRetained(_arg0
);
2821 wxPy_END_ALLOW_THREADS
;
2822 } _resultobj
= Py_BuildValue("i",_result
);
2826 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
2827 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2828 PyObject
* _resultobj
;
2831 PyObject
* _argo0
= 0;
2832 char *_kwnames
[] = { "self", NULL
};
2835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsShown",_kwnames
,&_argo0
))
2838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
2845 wxPy_BEGIN_ALLOW_THREADS
;
2846 _result
= (bool )wxWindow_IsShown(_arg0
);
2848 wxPy_END_ALLOW_THREADS
;
2849 } _resultobj
= Py_BuildValue("i",_result
);
2853 #define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
2854 static PyObject
*_wrap_wxWindow_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2855 PyObject
* _resultobj
;
2858 PyObject
* _argo0
= 0;
2859 char *_kwnames
[] = { "self", NULL
};
2862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsTopLevel",_kwnames
,&_argo0
))
2865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
2872 wxPy_BEGIN_ALLOW_THREADS
;
2873 _result
= (bool )wxWindow_IsTopLevel(_arg0
);
2875 wxPy_END_ALLOW_THREADS
;
2876 } _resultobj
= Py_BuildValue("i",_result
);
2880 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
2881 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2882 PyObject
* _resultobj
;
2884 PyObject
* _argo0
= 0;
2885 char *_kwnames
[] = { "self", NULL
};
2888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Layout",_kwnames
,&_argo0
))
2891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
2898 wxPy_BEGIN_ALLOW_THREADS
;
2899 wxWindow_Layout(_arg0
);
2901 wxPy_END_ALLOW_THREADS
;
2902 } Py_INCREF(Py_None
);
2903 _resultobj
= Py_None
;
2907 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
2908 static PyObject
*_wrap_wxWindow_LoadFromResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2909 PyObject
* _resultobj
;
2914 wxResourceTable
* _arg3
= (wxResourceTable
*) NULL
;
2915 PyObject
* _argo0
= 0;
2916 PyObject
* _argo1
= 0;
2917 PyObject
* _obj2
= 0;
2918 PyObject
* _argo3
= 0;
2919 char *_kwnames
[] = { "self","parent","resourceName","resourceTable", NULL
};
2922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|O:wxWindow_LoadFromResource",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_argo3
))
2925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
2932 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2933 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
2939 if (!PyString_Check(_obj2
)) {
2940 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2943 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2946 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2947 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxResourceTable_p")) {
2948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
2953 wxPy_BEGIN_ALLOW_THREADS
;
2954 _result
= (bool )wxWindow_LoadFromResource(_arg0
,_arg1
,*_arg2
,_arg3
);
2956 wxPy_END_ALLOW_THREADS
;
2957 } _resultobj
= Py_BuildValue("i",_result
);
2965 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
2966 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2967 PyObject
* _resultobj
;
2969 PyObject
* _argo0
= 0;
2970 char *_kwnames
[] = { "self", NULL
};
2973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Lower",_kwnames
,&_argo0
))
2976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
2983 wxPy_BEGIN_ALLOW_THREADS
;
2984 wxWindow_Lower(_arg0
);
2986 wxPy_END_ALLOW_THREADS
;
2987 } Py_INCREF(Py_None
);
2988 _resultobj
= Py_None
;
2992 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
2993 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2994 PyObject
* _resultobj
;
2997 PyObject
* _argo0
= 0;
2999 char *_kwnames
[] = { "self","flag", NULL
};
3002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_MakeModal",_kwnames
,&_argo0
,&tempbool1
))
3005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
3011 _arg1
= (bool ) tempbool1
;
3013 wxPy_BEGIN_ALLOW_THREADS
;
3014 wxWindow_MakeModal(_arg0
,_arg1
);
3016 wxPy_END_ALLOW_THREADS
;
3017 } Py_INCREF(Py_None
);
3018 _resultobj
= Py_None
;
3022 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
3023 static PyObject
*_wrap_wxWindow_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3024 PyObject
* _resultobj
;
3028 PyObject
* _argo0
= 0;
3029 char *_kwnames
[] = { "self","x","y", NULL
};
3032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
3042 wxPy_BEGIN_ALLOW_THREADS
;
3043 wxWindow_MoveXY(_arg0
,_arg1
,_arg2
);
3045 wxPy_END_ALLOW_THREADS
;
3046 } Py_INCREF(Py_None
);
3047 _resultobj
= Py_None
;
3051 #define wxWindow_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3052 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3053 PyObject
* _resultobj
;
3056 PyObject
* _argo0
= 0;
3058 PyObject
* _obj1
= 0;
3059 char *_kwnames
[] = { "self","point", NULL
};
3062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Move",_kwnames
,&_argo0
,&_obj1
))
3065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
3073 if (! wxPoint_helper(_obj1
, &_arg1
))
3077 wxPy_BEGIN_ALLOW_THREADS
;
3078 wxWindow_Move(_arg0
,*_arg1
);
3080 wxPy_END_ALLOW_THREADS
;
3081 } Py_INCREF(Py_None
);
3082 _resultobj
= Py_None
;
3086 #define wxWindow_PopEventHandler(_swigobj,_swigarg0) (_swigobj->PopEventHandler(_swigarg0))
3087 static PyObject
*_wrap_wxWindow_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3088 PyObject
* _resultobj
;
3089 wxEvtHandler
* _result
;
3091 bool _arg1
= (bool ) FALSE
;
3092 PyObject
* _argo0
= 0;
3093 int tempbool1
= (int) FALSE
;
3094 char *_kwnames
[] = { "self","deleteHandler", NULL
};
3098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_PopEventHandler",_kwnames
,&_argo0
,&tempbool1
))
3101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopEventHandler. Expected _wxWindow_p.");
3107 _arg1
= (bool ) tempbool1
;
3109 wxPy_BEGIN_ALLOW_THREADS
;
3110 _result
= (wxEvtHandler
*)wxWindow_PopEventHandler(_arg0
,_arg1
);
3112 wxPy_END_ALLOW_THREADS
;
3114 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
3115 _resultobj
= Py_BuildValue("s",_ptemp
);
3118 _resultobj
= Py_None
;
3123 #define wxWindow_PushEventHandler(_swigobj,_swigarg0) (_swigobj->PushEventHandler(_swigarg0))
3124 static PyObject
*_wrap_wxWindow_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3125 PyObject
* _resultobj
;
3127 wxEvtHandler
* _arg1
;
3128 PyObject
* _argo0
= 0;
3129 PyObject
* _argo1
= 0;
3130 char *_kwnames
[] = { "self","handler", NULL
};
3133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_PushEventHandler",_kwnames
,&_argo0
,&_argo1
))
3136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PushEventHandler. Expected _wxWindow_p.");
3143 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3144 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PushEventHandler. Expected _wxEvtHandler_p.");
3150 wxPy_BEGIN_ALLOW_THREADS
;
3151 wxWindow_PushEventHandler(_arg0
,_arg1
);
3153 wxPy_END_ALLOW_THREADS
;
3154 } Py_INCREF(Py_None
);
3155 _resultobj
= Py_None
;
3159 #define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
3160 static PyObject
*_wrap_wxWindow_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3161 PyObject
* _resultobj
;
3167 PyObject
* _argo0
= 0;
3168 PyObject
* _argo1
= 0;
3169 char *_kwnames
[] = { "self","menu","x","y", NULL
};
3172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxWindow_PopupMenuXY",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
3182 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3183 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
3189 wxPy_BEGIN_ALLOW_THREADS
;
3190 _result
= (bool )wxWindow_PopupMenuXY(_arg0
,_arg1
,_arg2
,_arg3
);
3192 wxPy_END_ALLOW_THREADS
;
3193 } _resultobj
= Py_BuildValue("i",_result
);
3197 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
3198 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3199 PyObject
* _resultobj
;
3204 PyObject
* _argo0
= 0;
3205 PyObject
* _argo1
= 0;
3207 PyObject
* _obj2
= 0;
3208 char *_kwnames
[] = { "self","menu","pos", NULL
};
3211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_PopupMenu",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
3214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
3221 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3222 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
3229 if (! wxPoint_helper(_obj2
, &_arg2
))
3233 wxPy_BEGIN_ALLOW_THREADS
;
3234 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,*_arg2
);
3236 wxPy_END_ALLOW_THREADS
;
3237 } _resultobj
= Py_BuildValue("i",_result
);
3241 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
3242 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3243 PyObject
* _resultobj
;
3245 PyObject
* _argo0
= 0;
3246 char *_kwnames
[] = { "self", NULL
};
3249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Raise",_kwnames
,&_argo0
))
3252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
3259 wxPy_BEGIN_ALLOW_THREADS
;
3260 wxWindow_Raise(_arg0
);
3262 wxPy_END_ALLOW_THREADS
;
3263 } Py_INCREF(Py_None
);
3264 _resultobj
= Py_None
;
3268 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
3269 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3270 PyObject
* _resultobj
;
3272 bool _arg1
= (bool ) TRUE
;
3273 wxRect
* _arg2
= (wxRect
*) NULL
;
3274 PyObject
* _argo0
= 0;
3275 int tempbool1
= (int) TRUE
;
3277 PyObject
* _obj2
= 0;
3278 char *_kwnames
[] = { "self","eraseBackground","rect", NULL
};
3281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxWindow_Refresh",_kwnames
,&_argo0
,&tempbool1
,&_obj2
))
3284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
3290 _arg1
= (bool ) tempbool1
;
3294 if (! wxRect_helper(_obj2
, &_arg2
))
3298 wxPy_BEGIN_ALLOW_THREADS
;
3299 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
3301 wxPy_END_ALLOW_THREADS
;
3302 } Py_INCREF(Py_None
);
3303 _resultobj
= Py_None
;
3307 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
3308 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3309 PyObject
* _resultobj
;
3311 PyObject
* _argo0
= 0;
3312 char *_kwnames
[] = { "self", NULL
};
3315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_ReleaseMouse",_kwnames
,&_argo0
))
3318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
3325 wxPy_BEGIN_ALLOW_THREADS
;
3326 wxWindow_ReleaseMouse(_arg0
);
3328 wxPy_END_ALLOW_THREADS
;
3329 } Py_INCREF(Py_None
);
3330 _resultobj
= Py_None
;
3334 #define wxWindow_RemoveChild(_swigobj,_swigarg0) (_swigobj->RemoveChild(_swigarg0))
3335 static PyObject
*_wrap_wxWindow_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3336 PyObject
* _resultobj
;
3339 PyObject
* _argo0
= 0;
3340 PyObject
* _argo1
= 0;
3341 char *_kwnames
[] = { "self","child", NULL
};
3344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
3347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3354 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3355 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3361 wxPy_BEGIN_ALLOW_THREADS
;
3362 wxWindow_RemoveChild(_arg0
,_arg1
);
3364 wxPy_END_ALLOW_THREADS
;
3365 } Py_INCREF(Py_None
);
3366 _resultobj
= Py_None
;
3370 #define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
3371 static PyObject
*_wrap_wxWindow_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3372 PyObject
* _resultobj
;
3376 PyObject
* _argo0
= 0;
3377 PyObject
* _argo1
= 0;
3378 char *_kwnames
[] = { "self","newParent", NULL
};
3381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Reparent",_kwnames
,&_argo0
,&_argo1
))
3384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
3391 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3392 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
3398 wxPy_BEGIN_ALLOW_THREADS
;
3399 _result
= (bool )wxWindow_Reparent(_arg0
,_arg1
);
3401 wxPy_END_ALLOW_THREADS
;
3402 } _resultobj
= Py_BuildValue("i",_result
);
3406 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
3407 static PyObject
*_wrap_wxWindow_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3408 PyObject
* _resultobj
;
3412 PyObject
* _argo0
= 0;
3414 PyObject
* _obj1
= 0;
3416 PyObject
* _obj2
= 0;
3417 char *_kwnames
[] = { "self","x","y", NULL
};
3420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ScreenToClientXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
3430 temp
= (int) PyInt_AsLong(_obj1
);
3434 temp0
= (int) PyInt_AsLong(_obj2
);
3438 wxPy_BEGIN_ALLOW_THREADS
;
3439 wxWindow_ScreenToClientXY(_arg0
,_arg1
,_arg2
);
3441 wxPy_END_ALLOW_THREADS
;
3442 } Py_INCREF(Py_None
);
3443 _resultobj
= Py_None
;
3446 o
= PyInt_FromLong((long) (*_arg1
));
3447 _resultobj
= t_output_helper(_resultobj
, o
);
3451 o
= PyInt_FromLong((long) (*_arg2
));
3452 _resultobj
= t_output_helper(_resultobj
, o
);
3457 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
3458 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3459 PyObject
* _resultobj
;
3463 PyObject
* _argo0
= 0;
3465 PyObject
* _obj1
= 0;
3466 char *_kwnames
[] = { "self","pt", NULL
};
3470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ScreenToClient",_kwnames
,&_argo0
,&_obj1
))
3473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
3481 if (! wxPoint_helper(_obj1
, &_arg1
))
3485 wxPy_BEGIN_ALLOW_THREADS
;
3486 _result
= new wxPoint (wxWindow_ScreenToClient(_arg0
,*_arg1
));
3488 wxPy_END_ALLOW_THREADS
;
3489 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3490 _resultobj
= Py_BuildValue("s",_ptemp
);
3494 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
3495 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3496 PyObject
* _resultobj
;
3500 wxRect
* _arg3
= (wxRect
*) NULL
;
3501 PyObject
* _argo0
= 0;
3503 PyObject
* _obj3
= 0;
3504 char *_kwnames
[] = { "self","dx","dy","rect", NULL
};
3507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|O:wxWindow_ScrollWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
3519 if (! wxRect_helper(_obj3
, &_arg3
))
3523 wxPy_BEGIN_ALLOW_THREADS
;
3524 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
3526 wxPy_END_ALLOW_THREADS
;
3527 } Py_INCREF(Py_None
);
3528 _resultobj
= Py_None
;
3532 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
3533 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3534 PyObject
* _resultobj
;
3536 wxAcceleratorTable
* _arg1
;
3537 PyObject
* _argo0
= 0;
3538 PyObject
* _argo1
= 0;
3539 char *_kwnames
[] = { "self","accel", NULL
};
3542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetAcceleratorTable",_kwnames
,&_argo0
,&_argo1
))
3545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
3552 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3553 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
3554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
3559 wxPy_BEGIN_ALLOW_THREADS
;
3560 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
3562 wxPy_END_ALLOW_THREADS
;
3563 } Py_INCREF(Py_None
);
3564 _resultobj
= Py_None
;
3568 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
3569 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3570 PyObject
* _resultobj
;
3573 PyObject
* _argo0
= 0;
3575 char *_kwnames
[] = { "self","autoLayout", NULL
};
3578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetAutoLayout",_kwnames
,&_argo0
,&tempbool1
))
3581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
3587 _arg1
= (bool ) tempbool1
;
3589 wxPy_BEGIN_ALLOW_THREADS
;
3590 wxWindow_SetAutoLayout(_arg0
,_arg1
);
3592 wxPy_END_ALLOW_THREADS
;
3593 } Py_INCREF(Py_None
);
3594 _resultobj
= Py_None
;
3598 #define wxWindow_GetAutoLayout(_swigobj) (_swigobj->GetAutoLayout())
3599 static PyObject
*_wrap_wxWindow_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3600 PyObject
* _resultobj
;
3603 PyObject
* _argo0
= 0;
3604 char *_kwnames
[] = { "self", NULL
};
3607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAutoLayout",_kwnames
,&_argo0
))
3610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetAutoLayout. Expected _wxWindow_p.");
3617 wxPy_BEGIN_ALLOW_THREADS
;
3618 _result
= (bool )wxWindow_GetAutoLayout(_arg0
);
3620 wxPy_END_ALLOW_THREADS
;
3621 } _resultobj
= Py_BuildValue("i",_result
);
3625 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3626 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3627 PyObject
* _resultobj
;
3630 PyObject
* _argo0
= 0;
3632 PyObject
* _obj1
= 0;
3633 char *_kwnames
[] = { "self","colour", NULL
};
3636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
3647 if (! wxColour_helper(_obj1
, &_arg1
))
3651 wxPy_BEGIN_ALLOW_THREADS
;
3652 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
3654 wxPy_END_ALLOW_THREADS
;
3655 } Py_INCREF(Py_None
);
3656 _resultobj
= Py_None
;
3660 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
3661 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3662 PyObject
* _resultobj
;
3664 wxLayoutConstraints
* _arg1
;
3665 PyObject
* _argo0
= 0;
3666 PyObject
* _argo1
= 0;
3667 char *_kwnames
[] = { "self","constraints", NULL
};
3670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetConstraints",_kwnames
,&_argo0
,&_argo1
))
3673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
3680 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3681 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
3687 wxPy_BEGIN_ALLOW_THREADS
;
3688 wxWindow_SetConstraints(_arg0
,_arg1
);
3690 wxPy_END_ALLOW_THREADS
;
3691 } Py_INCREF(Py_None
);
3692 _resultobj
= Py_None
;
3696 #define wxWindow_UnsetConstraints(_swigobj,_swigarg0) (_swigobj->UnsetConstraints(_swigarg0))
3697 static PyObject
*_wrap_wxWindow_UnsetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3698 PyObject
* _resultobj
;
3700 wxLayoutConstraints
* _arg1
;
3701 PyObject
* _argo0
= 0;
3702 PyObject
* _argo1
= 0;
3703 char *_kwnames
[] = { "self","constraints", NULL
};
3706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_UnsetConstraints",_kwnames
,&_argo0
,&_argo1
))
3709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_UnsetConstraints. Expected _wxWindow_p.");
3716 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3717 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_UnsetConstraints. Expected _wxLayoutConstraints_p.");
3723 wxPy_BEGIN_ALLOW_THREADS
;
3724 wxWindow_UnsetConstraints(_arg0
,_arg1
);
3726 wxPy_END_ALLOW_THREADS
;
3727 } Py_INCREF(Py_None
);
3728 _resultobj
= Py_None
;
3732 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
3733 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3734 PyObject
* _resultobj
;
3736 PyObject
* _argo0
= 0;
3737 char *_kwnames
[] = { "self", NULL
};
3740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_SetFocus",_kwnames
,&_argo0
))
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_SetFocus. Expected _wxWindow_p.");
3750 wxPy_BEGIN_ALLOW_THREADS
;
3751 wxWindow_SetFocus(_arg0
);
3753 wxPy_END_ALLOW_THREADS
;
3754 } Py_INCREF(Py_None
);
3755 _resultobj
= Py_None
;
3759 #define wxWindow_AcceptsFocus(_swigobj) (_swigobj->AcceptsFocus())
3760 static PyObject
*_wrap_wxWindow_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3761 PyObject
* _resultobj
;
3764 PyObject
* _argo0
= 0;
3765 char *_kwnames
[] = { "self", NULL
};
3768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_AcceptsFocus",_kwnames
,&_argo0
))
3771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_AcceptsFocus. Expected _wxWindow_p.");
3778 wxPy_BEGIN_ALLOW_THREADS
;
3779 _result
= (bool )wxWindow_AcceptsFocus(_arg0
);
3781 wxPy_END_ALLOW_THREADS
;
3782 } _resultobj
= Py_BuildValue("i",_result
);
3786 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
3787 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3788 PyObject
* _resultobj
;
3791 PyObject
* _argo0
= 0;
3792 PyObject
* _argo1
= 0;
3793 char *_kwnames
[] = { "self","font", NULL
};
3796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetFont",_kwnames
,&_argo0
,&_argo1
))
3799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
3806 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3807 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
3808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
3813 wxPy_BEGIN_ALLOW_THREADS
;
3814 wxWindow_SetFont(_arg0
,*_arg1
);
3816 wxPy_END_ALLOW_THREADS
;
3817 } Py_INCREF(Py_None
);
3818 _resultobj
= Py_None
;
3822 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
3823 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3824 PyObject
* _resultobj
;
3827 PyObject
* _argo0
= 0;
3829 PyObject
* _obj1
= 0;
3830 char *_kwnames
[] = { "self","colour", NULL
};
3833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
3836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
3844 if (! wxColour_helper(_obj1
, &_arg1
))
3848 wxPy_BEGIN_ALLOW_THREADS
;
3849 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
3851 wxPy_END_ALLOW_THREADS
;
3852 } Py_INCREF(Py_None
);
3853 _resultobj
= Py_None
;
3857 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
3858 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3859 PyObject
* _resultobj
;
3862 PyObject
* _argo0
= 0;
3863 char *_kwnames
[] = { "self","id", NULL
};
3866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetId",_kwnames
,&_argo0
,&_arg1
))
3869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
3876 wxPy_BEGIN_ALLOW_THREADS
;
3877 wxWindow_SetId(_arg0
,_arg1
);
3879 wxPy_END_ALLOW_THREADS
;
3880 } Py_INCREF(Py_None
);
3881 _resultobj
= Py_None
;
3885 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
3886 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3887 PyObject
* _resultobj
;
3890 PyObject
* _argo0
= 0;
3891 PyObject
* _obj1
= 0;
3892 char *_kwnames
[] = { "self","name", NULL
};
3895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetName",_kwnames
,&_argo0
,&_obj1
))
3898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
3905 if (!PyString_Check(_obj1
)) {
3906 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3909 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3912 wxPy_BEGIN_ALLOW_THREADS
;
3913 wxWindow_SetName(_arg0
,*_arg1
);
3915 wxPy_END_ALLOW_THREADS
;
3916 } Py_INCREF(Py_None
);
3917 _resultobj
= Py_None
;
3925 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3926 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3927 PyObject
* _resultobj
;
3933 int _arg5
= (int ) TRUE
;
3934 PyObject
* _argo0
= 0;
3935 char *_kwnames
[] = { "self","orientation","position","thumbSize","range","refresh", NULL
};
3938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
3948 wxPy_BEGIN_ALLOW_THREADS
;
3949 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3951 wxPy_END_ALLOW_THREADS
;
3952 } Py_INCREF(Py_None
);
3953 _resultobj
= Py_None
;
3957 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
3958 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3959 PyObject
* _resultobj
;
3963 bool _arg3
= (bool ) TRUE
;
3964 PyObject
* _argo0
= 0;
3965 int tempbool3
= (int) TRUE
;
3966 char *_kwnames
[] = { "self","orientation","pos","refresh", NULL
};
3969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_SetScrollPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
3972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
3978 _arg3
= (bool ) tempbool3
;
3980 wxPy_BEGIN_ALLOW_THREADS
;
3981 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
3983 wxPy_END_ALLOW_THREADS
;
3984 } Py_INCREF(Py_None
);
3985 _resultobj
= Py_None
;
3989 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3990 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3991 PyObject
* _resultobj
;
3997 int _arg5
= (int ) wxSIZE_AUTO
;
3998 PyObject
* _argo0
= 0;
3999 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
4002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetDimensions",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
4012 wxPy_BEGIN_ALLOW_THREADS
;
4013 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4015 wxPy_END_ALLOW_THREADS
;
4016 } Py_INCREF(Py_None
);
4017 _resultobj
= Py_None
;
4021 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
4022 self
->SetSize(size
);
4024 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4025 PyObject
* _resultobj
;
4028 PyObject
* _argo0
= 0;
4030 PyObject
* _obj1
= 0;
4031 char *_kwnames
[] = { "self","size", NULL
};
4034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSize",_kwnames
,&_argo0
,&_obj1
))
4037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
4045 if (! wxSize_helper(_obj1
, &_arg1
))
4049 wxPy_BEGIN_ALLOW_THREADS
;
4050 wxWindow_SetSize(_arg0
,*_arg1
);
4052 wxPy_END_ALLOW_THREADS
;
4053 } Py_INCREF(Py_None
);
4054 _resultobj
= Py_None
;
4058 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
) {
4061 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4062 PyObject
* _resultobj
;
4065 PyObject
* _argo0
= 0;
4067 PyObject
* _obj1
= 0;
4068 char *_kwnames
[] = { "self","pos", NULL
};
4071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetPosition",_kwnames
,&_argo0
,&_obj1
))
4074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
4082 if (! wxPoint_helper(_obj1
, &_arg1
))
4086 wxPy_BEGIN_ALLOW_THREADS
;
4087 wxWindow_SetPosition(_arg0
,*_arg1
);
4089 wxPy_END_ALLOW_THREADS
;
4090 } Py_INCREF(Py_None
);
4091 _resultobj
= Py_None
;
4095 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4096 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4097 PyObject
* _resultobj
;
4099 int _arg1
= (int ) -1;
4100 int _arg2
= (int ) -1;
4101 int _arg3
= (int ) -1;
4102 int _arg4
= (int ) -1;
4103 int _arg5
= (int ) -1;
4104 int _arg6
= (int ) -1;
4105 PyObject
* _argo0
= 0;
4106 char *_kwnames
[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL
};
4109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iiiiii:wxWindow_SetSizeHints",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
4119 wxPy_BEGIN_ALLOW_THREADS
;
4120 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4122 wxPy_END_ALLOW_THREADS
;
4123 } Py_INCREF(Py_None
);
4124 _resultobj
= Py_None
;
4128 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
4129 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4130 PyObject
* _resultobj
;
4134 PyObject
* _argo0
= 0;
4135 char *_kwnames
[] = { "self","width","height", NULL
};
4138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_SetClientSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
4148 wxPy_BEGIN_ALLOW_THREADS
;
4149 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
4151 wxPy_END_ALLOW_THREADS
;
4152 } Py_INCREF(Py_None
);
4153 _resultobj
= Py_None
;
4157 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
4158 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4159 PyObject
* _resultobj
;
4162 PyObject
* _argo0
= 0;
4164 PyObject
* _obj1
= 0;
4165 char *_kwnames
[] = { "self","size", NULL
};
4168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetClientSize",_kwnames
,&_argo0
,&_obj1
))
4171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
4179 if (! wxSize_helper(_obj1
, &_arg1
))
4183 wxPy_BEGIN_ALLOW_THREADS
;
4184 wxWindow_SetClientSize(_arg0
,*_arg1
);
4186 wxPy_END_ALLOW_THREADS
;
4187 } Py_INCREF(Py_None
);
4188 _resultobj
= Py_None
;
4192 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
4193 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4194 PyObject
* _resultobj
;
4197 PyObject
* _argo0
= 0;
4198 PyObject
* _argo1
= 0;
4199 char *_kwnames
[] = { "self","cursor", NULL
};
4202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCursor",_kwnames
,&_argo0
,&_argo1
))
4205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
4212 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4213 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
4214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
4219 wxPy_BEGIN_ALLOW_THREADS
;
4220 wxWindow_SetCursor(_arg0
,*_arg1
);
4222 wxPy_END_ALLOW_THREADS
;
4223 } Py_INCREF(Py_None
);
4224 _resultobj
= Py_None
;
4228 #define wxWindow_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
4229 static PyObject
*_wrap_wxWindow_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4230 PyObject
* _resultobj
;
4232 wxEvtHandler
* _arg1
;
4233 PyObject
* _argo0
= 0;
4234 PyObject
* _argo1
= 0;
4235 char *_kwnames
[] = { "self","handler", NULL
};
4238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
4241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetEventHandler. Expected _wxWindow_p.");
4248 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4249 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetEventHandler. Expected _wxEvtHandler_p.");
4255 wxPy_BEGIN_ALLOW_THREADS
;
4256 wxWindow_SetEventHandler(_arg0
,_arg1
);
4258 wxPy_END_ALLOW_THREADS
;
4259 } Py_INCREF(Py_None
);
4260 _resultobj
= Py_None
;
4264 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4265 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4266 PyObject
* _resultobj
;
4269 PyObject
* _argo0
= 0;
4270 PyObject
* _obj1
= 0;
4271 char *_kwnames
[] = { "self","title", NULL
};
4274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
4284 if (!PyString_Check(_obj1
)) {
4285 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4288 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4291 wxPy_BEGIN_ALLOW_THREADS
;
4292 wxWindow_SetTitle(_arg0
,*_arg1
);
4294 wxPy_END_ALLOW_THREADS
;
4295 } Py_INCREF(Py_None
);
4296 _resultobj
= Py_None
;
4304 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4305 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4306 PyObject
* _resultobj
;
4310 PyObject
* _argo0
= 0;
4312 char *_kwnames
[] = { "self","show", NULL
};
4315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
4318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
4324 _arg1
= (bool ) tempbool1
;
4326 wxPy_BEGIN_ALLOW_THREADS
;
4327 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
4329 wxPy_END_ALLOW_THREADS
;
4330 } _resultobj
= Py_BuildValue("i",_result
);
4334 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
4335 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4336 PyObject
* _resultobj
;
4339 PyObject
* _argo0
= 0;
4340 char *_kwnames
[] = { "self", NULL
};
4343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataFromWindow",_kwnames
,&_argo0
))
4346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
4353 wxPy_BEGIN_ALLOW_THREADS
;
4354 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
4356 wxPy_END_ALLOW_THREADS
;
4357 } _resultobj
= Py_BuildValue("i",_result
);
4361 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
4362 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4363 PyObject
* _resultobj
;
4366 PyObject
* _argo0
= 0;
4367 char *_kwnames
[] = { "self", NULL
};
4370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataToWindow",_kwnames
,&_argo0
))
4373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
4380 wxPy_BEGIN_ALLOW_THREADS
;
4381 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
4383 wxPy_END_ALLOW_THREADS
;
4384 } _resultobj
= Py_BuildValue("i",_result
);
4388 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
4389 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4390 PyObject
* _resultobj
;
4393 PyObject
* _argo0
= 0;
4394 char *_kwnames
[] = { "self", NULL
};
4397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Validate",_kwnames
,&_argo0
))
4400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
4407 wxPy_BEGIN_ALLOW_THREADS
;
4408 _result
= (bool )wxWindow_Validate(_arg0
);
4410 wxPy_END_ALLOW_THREADS
;
4411 } _resultobj
= Py_BuildValue("i",_result
);
4415 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
4416 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4417 PyObject
* _resultobj
;
4421 PyObject
* _argo0
= 0;
4422 char *_kwnames
[] = { "self","x","y", NULL
};
4425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_WarpPointer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
4435 wxPy_BEGIN_ALLOW_THREADS
;
4436 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
4438 wxPy_END_ALLOW_THREADS
;
4439 } Py_INCREF(Py_None
);
4440 _resultobj
= Py_None
;
4444 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4445 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4446 PyObject
* _resultobj
;
4450 PyObject
* _argo0
= 0;
4452 PyObject
* _obj1
= 0;
4453 char *_kwnames
[] = { "self","pt", NULL
};
4457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames
,&_argo0
,&_obj1
))
4460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
4468 if (! wxPoint_helper(_obj1
, &_arg1
))
4472 wxPy_BEGIN_ALLOW_THREADS
;
4473 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
4475 wxPy_END_ALLOW_THREADS
;
4476 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4477 _resultobj
= Py_BuildValue("s",_ptemp
);
4481 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4482 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4483 PyObject
* _resultobj
;
4487 PyObject
* _argo0
= 0;
4489 PyObject
* _obj1
= 0;
4490 char *_kwnames
[] = { "self","sz", NULL
};
4494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames
,&_argo0
,&_obj1
))
4497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
4505 if (! wxSize_helper(_obj1
, &_arg1
))
4509 wxPy_BEGIN_ALLOW_THREADS
;
4510 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
4512 wxPy_END_ALLOW_THREADS
;
4513 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4514 _resultobj
= Py_BuildValue("s",_ptemp
);
4518 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4519 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4520 PyObject
* _resultobj
;
4524 PyObject
* _argo0
= 0;
4526 PyObject
* _obj1
= 0;
4527 char *_kwnames
[] = { "self","pt", NULL
};
4531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames
,&_argo0
,&_obj1
))
4534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
4542 if (! wxPoint_helper(_obj1
, &_arg1
))
4546 wxPy_BEGIN_ALLOW_THREADS
;
4547 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
4549 wxPy_END_ALLOW_THREADS
;
4550 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4551 _resultobj
= Py_BuildValue("s",_ptemp
);
4555 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4556 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4557 PyObject
* _resultobj
;
4561 PyObject
* _argo0
= 0;
4563 PyObject
* _obj1
= 0;
4564 char *_kwnames
[] = { "self","sz", NULL
};
4568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames
,&_argo0
,&_obj1
))
4571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
4579 if (! wxSize_helper(_obj1
, &_arg1
))
4583 wxPy_BEGIN_ALLOW_THREADS
;
4584 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
4586 wxPy_END_ALLOW_THREADS
;
4587 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4588 _resultobj
= Py_BuildValue("s",_ptemp
);
4592 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4593 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4594 PyObject
* _resultobj
;
4597 PyObject
* _argo0
= 0;
4598 PyObject
* _obj1
= 0;
4599 char *_kwnames
[] = { "self","tip", NULL
};
4602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTipString",_kwnames
,&_argo0
,&_obj1
))
4605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
4612 if (!PyString_Check(_obj1
)) {
4613 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4616 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4619 wxPy_BEGIN_ALLOW_THREADS
;
4620 wxWindow_SetToolTipString(_arg0
,*_arg1
);
4622 wxPy_END_ALLOW_THREADS
;
4623 } Py_INCREF(Py_None
);
4624 _resultobj
= Py_None
;
4632 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4633 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4634 PyObject
* _resultobj
;
4637 PyObject
* _argo0
= 0;
4638 PyObject
* _argo1
= 0;
4639 char *_kwnames
[] = { "self","tooltip", NULL
};
4642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTip",_kwnames
,&_argo0
,&_argo1
))
4645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
4652 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4653 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolTip_p")) {
4654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
4659 wxPy_BEGIN_ALLOW_THREADS
;
4660 wxWindow_SetToolTip(_arg0
,_arg1
);
4662 wxPy_END_ALLOW_THREADS
;
4663 } Py_INCREF(Py_None
);
4664 _resultobj
= Py_None
;
4668 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
4669 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4670 PyObject
* _resultobj
;
4671 wxToolTip
* _result
;
4673 PyObject
* _argo0
= 0;
4674 char *_kwnames
[] = { "self", NULL
};
4678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetToolTip",_kwnames
,&_argo0
))
4681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
4688 wxPy_BEGIN_ALLOW_THREADS
;
4689 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
4691 wxPy_END_ALLOW_THREADS
;
4693 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
4694 _resultobj
= Py_BuildValue("s",_ptemp
);
4697 _resultobj
= Py_None
;
4702 #define wxWindow_SetSizer(_swigobj,_swigarg0) (_swigobj->SetSizer(_swigarg0))
4703 static PyObject
*_wrap_wxWindow_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4704 PyObject
* _resultobj
;
4707 PyObject
* _argo0
= 0;
4708 PyObject
* _argo1
= 0;
4709 char *_kwnames
[] = { "self","sizer", NULL
};
4712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSizer",_kwnames
,&_argo0
,&_argo1
))
4715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizer. Expected _wxWindow_p.");
4722 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4723 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
4724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSizer. Expected _wxSizer_p.");
4729 wxPy_BEGIN_ALLOW_THREADS
;
4730 wxWindow_SetSizer(_arg0
,_arg1
);
4732 wxPy_END_ALLOW_THREADS
;
4733 } Py_INCREF(Py_None
);
4734 _resultobj
= Py_None
;
4738 #define wxWindow_GetSizer(_swigobj) (_swigobj->GetSizer())
4739 static PyObject
*_wrap_wxWindow_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4740 PyObject
* _resultobj
;
4743 PyObject
* _argo0
= 0;
4744 char *_kwnames
[] = { "self", NULL
};
4748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizer",_kwnames
,&_argo0
))
4751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizer. Expected _wxWindow_p.");
4758 wxPy_BEGIN_ALLOW_THREADS
;
4759 _result
= (wxSizer
*)wxWindow_GetSizer(_arg0
);
4761 wxPy_END_ALLOW_THREADS
;
4763 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSizer_p");
4764 _resultobj
= Py_BuildValue("s",_ptemp
);
4767 _resultobj
= Py_None
;
4772 #define wxWindow_GetValidator(_swigobj) (_swigobj->GetValidator())
4773 static PyObject
*_wrap_wxWindow_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4774 PyObject
* _resultobj
;
4775 wxValidator
* _result
;
4777 PyObject
* _argo0
= 0;
4778 char *_kwnames
[] = { "self", NULL
};
4782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetValidator",_kwnames
,&_argo0
))
4785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetValidator. Expected _wxWindow_p.");
4792 wxPy_BEGIN_ALLOW_THREADS
;
4793 _result
= (wxValidator
*)wxWindow_GetValidator(_arg0
);
4795 wxPy_END_ALLOW_THREADS
;
4797 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
4798 _resultobj
= Py_BuildValue("s",_ptemp
);
4801 _resultobj
= Py_None
;
4806 #define wxWindow_SetValidator(_swigobj,_swigarg0) (_swigobj->SetValidator(_swigarg0))
4807 static PyObject
*_wrap_wxWindow_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4808 PyObject
* _resultobj
;
4810 wxValidator
* _arg1
;
4811 PyObject
* _argo0
= 0;
4812 PyObject
* _argo1
= 0;
4813 char *_kwnames
[] = { "self","validator", NULL
};
4816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetValidator",_kwnames
,&_argo0
,&_argo1
))
4819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetValidator. Expected _wxWindow_p.");
4826 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4827 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxValidator_p")) {
4828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetValidator. Expected _wxValidator_p.");
4833 wxPy_BEGIN_ALLOW_THREADS
;
4834 wxWindow_SetValidator(_arg0
,*_arg1
);
4836 wxPy_END_ALLOW_THREADS
;
4837 } Py_INCREF(Py_None
);
4838 _resultobj
= Py_None
;
4842 #define wxWindow_SetDropTarget(_swigobj,_swigarg0) (_swigobj->SetDropTarget(_swigarg0))
4843 static PyObject
*_wrap_wxWindow_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4844 PyObject
* _resultobj
;
4846 wxDropTarget
* _arg1
;
4847 PyObject
* _argo0
= 0;
4848 PyObject
* _argo1
= 0;
4849 char *_kwnames
[] = { "self","target", NULL
};
4852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetDropTarget",_kwnames
,&_argo0
,&_argo1
))
4855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDropTarget. Expected _wxWindow_p.");
4862 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4863 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDropTarget_p")) {
4864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetDropTarget. Expected _wxDropTarget_p.");
4869 wxPy_BEGIN_ALLOW_THREADS
;
4870 wxWindow_SetDropTarget(_arg0
,_arg1
);
4872 wxPy_END_ALLOW_THREADS
;
4873 } Py_INCREF(Py_None
);
4874 _resultobj
= Py_None
;
4878 #define wxWindow_GetDropTarget(_swigobj) (_swigobj->GetDropTarget())
4879 static PyObject
*_wrap_wxWindow_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4880 PyObject
* _resultobj
;
4881 wxDropTarget
* _result
;
4883 PyObject
* _argo0
= 0;
4884 char *_kwnames
[] = { "self", NULL
};
4888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetDropTarget",_kwnames
,&_argo0
))
4891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetDropTarget. Expected _wxWindow_p.");
4898 wxPy_BEGIN_ALLOW_THREADS
;
4899 _result
= (wxDropTarget
*)wxWindow_GetDropTarget(_arg0
);
4901 wxPy_END_ALLOW_THREADS
;
4903 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDropTarget_p");
4904 _resultobj
= Py_BuildValue("s",_ptemp
);
4907 _resultobj
= Py_None
;
4912 #define wxWindow_GetBestSize(_swigobj) (_swigobj->GetBestSize())
4913 static PyObject
*_wrap_wxWindow_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4914 PyObject
* _resultobj
;
4917 PyObject
* _argo0
= 0;
4918 char *_kwnames
[] = { "self", NULL
};
4922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBestSize",_kwnames
,&_argo0
))
4925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBestSize. Expected _wxWindow_p.");
4932 wxPy_BEGIN_ALLOW_THREADS
;
4933 _result
= new wxSize (wxWindow_GetBestSize(_arg0
));
4935 wxPy_END_ALLOW_THREADS
;
4936 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4937 _resultobj
= Py_BuildValue("s",_ptemp
);
4941 #define wxWindow_SetCaret(_swigobj,_swigarg0) (_swigobj->SetCaret(_swigarg0))
4942 static PyObject
*_wrap_wxWindow_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4943 PyObject
* _resultobj
;
4946 PyObject
* _argo0
= 0;
4947 PyObject
* _argo1
= 0;
4948 char *_kwnames
[] = { "self","caret", NULL
};
4951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCaret",_kwnames
,&_argo0
,&_argo1
))
4954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCaret. Expected _wxWindow_p.");
4961 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4962 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCaret_p")) {
4963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCaret. Expected _wxCaret_p.");
4968 wxPy_BEGIN_ALLOW_THREADS
;
4969 wxWindow_SetCaret(_arg0
,_arg1
);
4971 wxPy_END_ALLOW_THREADS
;
4972 } Py_INCREF(Py_None
);
4973 _resultobj
= Py_None
;
4977 #define wxWindow_GetCaret(_swigobj) (_swigobj->GetCaret())
4978 static PyObject
*_wrap_wxWindow_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4979 PyObject
* _resultobj
;
4982 PyObject
* _argo0
= 0;
4983 char *_kwnames
[] = { "self", NULL
};
4987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCaret",_kwnames
,&_argo0
))
4990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCaret. Expected _wxWindow_p.");
4997 wxPy_BEGIN_ALLOW_THREADS
;
4998 _result
= (wxCaret
*)wxWindow_GetCaret(_arg0
);
5000 wxPy_END_ALLOW_THREADS
;
5002 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
5003 _resultobj
= Py_BuildValue("s",_ptemp
);
5006 _resultobj
= Py_None
;
5011 static void *SwigwxPanelTowxWindow(void *ptr
) {
5014 src
= (wxPanel
*) ptr
;
5015 dest
= (wxWindow
*) src
;
5016 return (void *) dest
;
5019 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
5022 src
= (wxPanel
*) ptr
;
5023 dest
= (wxEvtHandler
*) src
;
5024 return (void *) dest
;
5027 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5028 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5029 PyObject
* _resultobj
;
5033 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
5034 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
5035 long _arg4
= (long ) wxTAB_TRAVERSAL
;
5036 char * _arg5
= (char *) "panel";
5037 PyObject
* _argo0
= 0;
5039 PyObject
* _obj2
= 0;
5041 PyObject
* _obj3
= 0;
5042 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
5046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxPanel",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
5049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
5058 if (! wxPoint_helper(_obj2
, &_arg2
))
5064 if (! wxSize_helper(_obj3
, &_arg3
))
5068 wxPy_BEGIN_ALLOW_THREADS
;
5069 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
5071 wxPy_END_ALLOW_THREADS
;
5073 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
5074 _resultobj
= Py_BuildValue("s",_ptemp
);
5077 _resultobj
= Py_None
;
5082 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
5083 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5084 PyObject
* _resultobj
;
5086 PyObject
* _argo0
= 0;
5087 char *_kwnames
[] = { "self", NULL
};
5090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_InitDialog",_kwnames
,&_argo0
))
5093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
5095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
5100 wxPy_BEGIN_ALLOW_THREADS
;
5101 wxPanel_InitDialog(_arg0
);
5103 wxPy_END_ALLOW_THREADS
;
5104 } Py_INCREF(Py_None
);
5105 _resultobj
= Py_None
;
5109 #define wxPanel_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
5110 static PyObject
*_wrap_wxPanel_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5111 PyObject
* _resultobj
;
5114 PyObject
* _argo0
= 0;
5115 char *_kwnames
[] = { "self", NULL
};
5119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_GetDefaultItem",_kwnames
,&_argo0
))
5122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
5124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_GetDefaultItem. Expected _wxPanel_p.");
5129 wxPy_BEGIN_ALLOW_THREADS
;
5130 _result
= (wxButton
*)wxPanel_GetDefaultItem(_arg0
);
5132 wxPy_END_ALLOW_THREADS
;
5134 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
5135 _resultobj
= Py_BuildValue("s",_ptemp
);
5138 _resultobj
= Py_None
;
5143 #define wxPanel_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
5144 static PyObject
*_wrap_wxPanel_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5145 PyObject
* _resultobj
;
5148 PyObject
* _argo0
= 0;
5149 PyObject
* _argo1
= 0;
5150 char *_kwnames
[] = { "self","btn", NULL
};
5153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPanel_SetDefaultItem",_kwnames
,&_argo0
,&_argo1
))
5156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
5158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_SetDefaultItem. Expected _wxPanel_p.");
5163 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5164 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxButton_p")) {
5165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPanel_SetDefaultItem. Expected _wxButton_p.");
5170 wxPy_BEGIN_ALLOW_THREADS
;
5171 wxPanel_SetDefaultItem(_arg0
,_arg1
);
5173 wxPy_END_ALLOW_THREADS
;
5174 } Py_INCREF(Py_None
);
5175 _resultobj
= Py_None
;
5179 static void *SwigwxDialogTowxPanel(void *ptr
) {
5182 src
= (wxDialog
*) ptr
;
5183 dest
= (wxPanel
*) src
;
5184 return (void *) dest
;
5187 static void *SwigwxDialogTowxWindow(void *ptr
) {
5190 src
= (wxDialog
*) ptr
;
5191 dest
= (wxWindow
*) src
;
5192 return (void *) dest
;
5195 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
5198 src
= (wxDialog
*) ptr
;
5199 dest
= (wxEvtHandler
*) src
;
5200 return (void *) dest
;
5203 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5204 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5205 PyObject
* _resultobj
;
5210 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
5211 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
5212 long _arg5
= (long ) wxDEFAULT_DIALOG_STYLE
;
5213 char * _arg6
= (char *) "dialogBox";
5214 PyObject
* _argo0
= 0;
5215 PyObject
* _obj2
= 0;
5217 PyObject
* _obj3
= 0;
5219 PyObject
* _obj4
= 0;
5220 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
5224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxDialog",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
5227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
5234 if (!PyString_Check(_obj2
)) {
5235 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5238 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5243 if (! wxPoint_helper(_obj3
, &_arg3
))
5249 if (! wxSize_helper(_obj4
, &_arg4
))
5253 wxPy_BEGIN_ALLOW_THREADS
;
5254 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
5256 wxPy_END_ALLOW_THREADS
;
5258 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
5259 _resultobj
= Py_BuildValue("s",_ptemp
);
5262 _resultobj
= Py_None
;
5271 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
5272 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5273 PyObject
* _resultobj
;
5275 int _arg1
= (int ) wxBOTH
;
5276 PyObject
* _argo0
= 0;
5277 char *_kwnames
[] = { "self","direction", NULL
};
5280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDialog_Centre",_kwnames
,&_argo0
,&_arg1
))
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_Centre. Expected _wxDialog_p.");
5290 wxPy_BEGIN_ALLOW_THREADS
;
5291 wxDialog_Centre(_arg0
,_arg1
);
5293 wxPy_END_ALLOW_THREADS
;
5294 } Py_INCREF(Py_None
);
5295 _resultobj
= Py_None
;
5299 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
5300 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5301 PyObject
* _resultobj
;
5304 PyObject
* _argo0
= 0;
5305 char *_kwnames
[] = { "self","retCode", NULL
};
5308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_EndModal",_kwnames
,&_argo0
,&_arg1
))
5311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
5318 wxPy_BEGIN_ALLOW_THREADS
;
5319 wxDialog_EndModal(_arg0
,_arg1
);
5321 wxPy_END_ALLOW_THREADS
;
5322 } Py_INCREF(Py_None
);
5323 _resultobj
= Py_None
;
5327 #define wxDialog_GetTitle(_swigobj) (_swigobj->GetTitle())
5328 static PyObject
*_wrap_wxDialog_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5329 PyObject
* _resultobj
;
5332 PyObject
* _argo0
= 0;
5333 char *_kwnames
[] = { "self", NULL
};
5336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetTitle",_kwnames
,&_argo0
))
5339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetTitle. Expected _wxDialog_p.");
5346 wxPy_BEGIN_ALLOW_THREADS
;
5347 _result
= new wxString (wxDialog_GetTitle(_arg0
));
5349 wxPy_END_ALLOW_THREADS
;
5351 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5359 #define wxDialog_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
5360 static PyObject
*_wrap_wxDialog_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5361 PyObject
* _resultobj
;
5364 PyObject
* _argo0
= 0;
5366 char *_kwnames
[] = { "self","iconize", NULL
};
5369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Iconize",_kwnames
,&_argo0
,&tempbool1
))
5372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Iconize. Expected _wxDialog_p.");
5378 _arg1
= (bool ) tempbool1
;
5380 wxPy_BEGIN_ALLOW_THREADS
;
5381 wxDialog_Iconize(_arg0
,_arg1
);
5383 wxPy_END_ALLOW_THREADS
;
5384 } Py_INCREF(Py_None
);
5385 _resultobj
= Py_None
;
5389 #define wxDialog_IsIconized(_swigobj) (_swigobj->IsIconized())
5390 static PyObject
*_wrap_wxDialog_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5391 PyObject
* _resultobj
;
5394 PyObject
* _argo0
= 0;
5395 char *_kwnames
[] = { "self", NULL
};
5398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsIconized",_kwnames
,&_argo0
))
5401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsIconized. Expected _wxDialog_p.");
5408 wxPy_BEGIN_ALLOW_THREADS
;
5409 _result
= (bool )wxDialog_IsIconized(_arg0
);
5411 wxPy_END_ALLOW_THREADS
;
5412 } _resultobj
= Py_BuildValue("i",_result
);
5416 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
5417 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5418 PyObject
* _resultobj
;
5421 PyObject
* _argo0
= 0;
5423 char *_kwnames
[] = { "self","flag", NULL
};
5426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetModal",_kwnames
,&_argo0
,&tempbool1
))
5429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
5435 _arg1
= (bool ) tempbool1
;
5437 wxPy_BEGIN_ALLOW_THREADS
;
5438 wxDialog_SetModal(_arg0
,_arg1
);
5440 wxPy_END_ALLOW_THREADS
;
5441 } Py_INCREF(Py_None
);
5442 _resultobj
= Py_None
;
5446 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
5447 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5448 PyObject
* _resultobj
;
5451 PyObject
* _argo0
= 0;
5452 char *_kwnames
[] = { "self", NULL
};
5455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsModal",_kwnames
,&_argo0
))
5458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
5465 wxPy_BEGIN_ALLOW_THREADS
;
5466 _result
= (bool )wxDialog_IsModal(_arg0
);
5468 wxPy_END_ALLOW_THREADS
;
5469 } _resultobj
= Py_BuildValue("i",_result
);
5473 #define wxDialog_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
5474 static PyObject
*_wrap_wxDialog_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5475 PyObject
* _resultobj
;
5478 PyObject
* _argo0
= 0;
5479 PyObject
* _obj1
= 0;
5480 char *_kwnames
[] = { "self","title", NULL
};
5483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDialog_SetTitle",_kwnames
,&_argo0
,&_obj1
))
5486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetTitle. Expected _wxDialog_p.");
5493 if (!PyString_Check(_obj1
)) {
5494 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5497 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5500 wxPy_BEGIN_ALLOW_THREADS
;
5501 wxDialog_SetTitle(_arg0
,*_arg1
);
5503 wxPy_END_ALLOW_THREADS
;
5504 } Py_INCREF(Py_None
);
5505 _resultobj
= Py_None
;
5513 #define wxDialog_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5514 static PyObject
*_wrap_wxDialog_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5515 PyObject
* _resultobj
;
5519 PyObject
* _argo0
= 0;
5521 char *_kwnames
[] = { "self","show", NULL
};
5524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Show",_kwnames
,&_argo0
,&tempbool1
))
5527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Show. Expected _wxDialog_p.");
5533 _arg1
= (bool ) tempbool1
;
5535 wxPy_BEGIN_ALLOW_THREADS
;
5536 _result
= (bool )wxDialog_Show(_arg0
,_arg1
);
5538 wxPy_END_ALLOW_THREADS
;
5539 } _resultobj
= Py_BuildValue("i",_result
);
5543 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
5544 static PyObject
*_wrap_wxDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5545 PyObject
* _resultobj
;
5548 PyObject
* _argo0
= 0;
5549 char *_kwnames
[] = { "self", NULL
};
5552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_ShowModal",_kwnames
,&_argo0
))
5555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
5562 wxPy_BEGIN_ALLOW_THREADS
;
5563 _result
= (int )wxDialog_ShowModal(_arg0
);
5565 wxPy_END_ALLOW_THREADS
;
5566 } _resultobj
= Py_BuildValue("i",_result
);
5570 #define wxDialog_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
5571 static PyObject
*_wrap_wxDialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5572 PyObject
* _resultobj
;
5575 PyObject
* _argo0
= 0;
5576 char *_kwnames
[] = { "self", NULL
};
5579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetReturnCode",_kwnames
,&_argo0
))
5582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetReturnCode. Expected _wxDialog_p.");
5589 wxPy_BEGIN_ALLOW_THREADS
;
5590 _result
= (int )wxDialog_GetReturnCode(_arg0
);
5592 wxPy_END_ALLOW_THREADS
;
5593 } _resultobj
= Py_BuildValue("i",_result
);
5597 #define wxDialog_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
5598 static PyObject
*_wrap_wxDialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5599 PyObject
* _resultobj
;
5602 PyObject
* _argo0
= 0;
5603 char *_kwnames
[] = { "self","retCode", NULL
};
5606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetReturnCode",_kwnames
,&_argo0
,&_arg1
))
5609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetReturnCode. Expected _wxDialog_p.");
5616 wxPy_BEGIN_ALLOW_THREADS
;
5617 wxDialog_SetReturnCode(_arg0
,_arg1
);
5619 wxPy_END_ALLOW_THREADS
;
5620 } Py_INCREF(Py_None
);
5621 _resultobj
= Py_None
;
5625 static void *SwigwxScrolledWindowTowxPanel(void *ptr
) {
5626 wxScrolledWindow
*src
;
5628 src
= (wxScrolledWindow
*) ptr
;
5629 dest
= (wxPanel
*) src
;
5630 return (void *) dest
;
5633 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
5634 wxScrolledWindow
*src
;
5636 src
= (wxScrolledWindow
*) ptr
;
5637 dest
= (wxWindow
*) src
;
5638 return (void *) dest
;
5641 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
5642 wxScrolledWindow
*src
;
5644 src
= (wxScrolledWindow
*) ptr
;
5645 dest
= (wxEvtHandler
*) src
;
5646 return (void *) dest
;
5649 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5650 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5651 PyObject
* _resultobj
;
5652 wxScrolledWindow
* _result
;
5654 wxWindowID _arg1
= (wxWindowID
) -1;
5655 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
5656 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
5657 long _arg4
= (long ) wxHSCROLL
|wxVSCROLL
;
5658 char * _arg5
= (char *) "scrolledWindow";
5659 PyObject
* _argo0
= 0;
5661 PyObject
* _obj2
= 0;
5663 PyObject
* _obj3
= 0;
5664 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
5668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxScrolledWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
5671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
5680 if (! wxPoint_helper(_obj2
, &_arg2
))
5686 if (! wxSize_helper(_obj3
, &_arg3
))
5690 wxPy_BEGIN_ALLOW_THREADS
;
5691 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
5693 wxPy_END_ALLOW_THREADS
;
5695 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
5696 _resultobj
= Py_BuildValue("s",_ptemp
);
5699 _resultobj
= Py_None
;
5704 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
5705 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5706 PyObject
* _resultobj
;
5707 wxScrolledWindow
* _arg0
;
5710 PyObject
* _argo0
= 0;
5713 char *_kwnames
[] = { "self","xScrolling","yScrolling", NULL
};
5716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_EnableScrolling",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
5719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
5725 _arg1
= (bool ) tempbool1
;
5726 _arg2
= (bool ) tempbool2
;
5728 wxPy_BEGIN_ALLOW_THREADS
;
5729 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
5731 wxPy_END_ALLOW_THREADS
;
5732 } Py_INCREF(Py_None
);
5733 _resultobj
= Py_None
;
5737 #define wxScrolledWindow_GetScrollPageSize(_swigobj,_swigarg0) (_swigobj->GetScrollPageSize(_swigarg0))
5738 static PyObject
*_wrap_wxScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5739 PyObject
* _resultobj
;
5741 wxScrolledWindow
* _arg0
;
5743 PyObject
* _argo0
= 0;
5744 char *_kwnames
[] = { "self","orient", NULL
};
5747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrolledWindow_GetScrollPageSize",_kwnames
,&_argo0
,&_arg1
))
5750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPageSize. Expected _wxScrolledWindow_p.");
5757 wxPy_BEGIN_ALLOW_THREADS
;
5758 _result
= (int )wxScrolledWindow_GetScrollPageSize(_arg0
,_arg1
);
5760 wxPy_END_ALLOW_THREADS
;
5761 } _resultobj
= Py_BuildValue("i",_result
);
5765 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
5766 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5767 PyObject
* _resultobj
;
5768 wxScrolledWindow
* _arg0
;
5773 PyObject
* _argo0
= 0;
5774 char *_kwnames
[] = { "self", NULL
};
5783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames
,&_argo0
))
5786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
5793 wxPy_BEGIN_ALLOW_THREADS
;
5794 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
5796 wxPy_END_ALLOW_THREADS
;
5797 } Py_INCREF(Py_None
);
5798 _resultobj
= Py_None
;
5801 o
= PyInt_FromLong((long) (*_arg1
));
5802 _resultobj
= t_output_helper(_resultobj
, o
);
5806 o
= PyInt_FromLong((long) (*_arg2
));
5807 _resultobj
= t_output_helper(_resultobj
, o
);
5812 #define wxScrolledWindow_GetTargetWindow(_swigobj) (_swigobj->GetTargetWindow())
5813 static PyObject
*_wrap_wxScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5814 PyObject
* _resultobj
;
5816 wxScrolledWindow
* _arg0
;
5817 PyObject
* _argo0
= 0;
5818 char *_kwnames
[] = { "self", NULL
};
5822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetTargetWindow",_kwnames
,&_argo0
))
5825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetTargetWindow. Expected _wxScrolledWindow_p.");
5832 wxPy_BEGIN_ALLOW_THREADS
;
5833 _result
= (wxWindow
*)wxScrolledWindow_GetTargetWindow(_arg0
);
5835 wxPy_END_ALLOW_THREADS
;
5837 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
5838 _resultobj
= Py_BuildValue("s",_ptemp
);
5841 _resultobj
= Py_None
;
5846 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
5847 static PyObject
*_wrap_wxScrolledWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5848 PyObject
* _resultobj
;
5849 wxScrolledWindow
* _arg0
;
5854 PyObject
* _argo0
= 0;
5855 char *_kwnames
[] = { "self", NULL
};
5864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetVirtualSize",_kwnames
,&_argo0
))
5867 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5868 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
5874 wxPy_BEGIN_ALLOW_THREADS
;
5875 wxScrolledWindow_GetVirtualSize(_arg0
,_arg1
,_arg2
);
5877 wxPy_END_ALLOW_THREADS
;
5878 } Py_INCREF(Py_None
);
5879 _resultobj
= Py_None
;
5882 o
= PyInt_FromLong((long) (*_arg1
));
5883 _resultobj
= t_output_helper(_resultobj
, o
);
5887 o
= PyInt_FromLong((long) (*_arg2
));
5888 _resultobj
= t_output_helper(_resultobj
, o
);
5893 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
5894 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5895 PyObject
* _resultobj
;
5897 wxScrolledWindow
* _arg0
;
5898 PyObject
* _argo0
= 0;
5899 char *_kwnames
[] = { "self", NULL
};
5902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_IsRetained",_kwnames
,&_argo0
))
5905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
5912 wxPy_BEGIN_ALLOW_THREADS
;
5913 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
5915 wxPy_END_ALLOW_THREADS
;
5916 } _resultobj
= Py_BuildValue("i",_result
);
5920 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
5921 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5922 PyObject
* _resultobj
;
5923 wxScrolledWindow
* _arg0
;
5925 PyObject
* _argo0
= 0;
5926 PyObject
* _argo1
= 0;
5927 char *_kwnames
[] = { "self","dc", NULL
};
5930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_PrepareDC",_kwnames
,&_argo0
,&_argo1
))
5933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
5940 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5941 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
5947 wxPy_BEGIN_ALLOW_THREADS
;
5948 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
5950 wxPy_END_ALLOW_THREADS
;
5951 } Py_INCREF(Py_None
);
5952 _resultobj
= Py_None
;
5956 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
5957 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5958 PyObject
* _resultobj
;
5959 wxScrolledWindow
* _arg0
;
5962 PyObject
* _argo0
= 0;
5963 char *_kwnames
[] = { "self","x","y", NULL
};
5966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_Scroll",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
5976 wxPy_BEGIN_ALLOW_THREADS
;
5977 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
5979 wxPy_END_ALLOW_THREADS
;
5980 } Py_INCREF(Py_None
);
5981 _resultobj
= Py_None
;
5985 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5986 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5987 PyObject
* _resultobj
;
5988 wxScrolledWindow
* _arg0
;
5993 int _arg5
= (int ) 0;
5994 int _arg6
= (int ) 0;
5995 int _arg7
= (int ) FALSE
;
5996 PyObject
* _argo0
= 0;
5997 char *_kwnames
[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos","noRefresh", NULL
};
6000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|iii:wxScrolledWindow_SetScrollbars",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&_arg7
))
6003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
6010 wxPy_BEGIN_ALLOW_THREADS
;
6011 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
6013 wxPy_END_ALLOW_THREADS
;
6014 } Py_INCREF(Py_None
);
6015 _resultobj
= Py_None
;
6019 #define wxScrolledWindow_SetScrollPageSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScrollPageSize(_swigarg0,_swigarg1))
6020 static PyObject
*_wrap_wxScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6021 PyObject
* _resultobj
;
6022 wxScrolledWindow
* _arg0
;
6025 PyObject
* _argo0
= 0;
6026 char *_kwnames
[] = { "self","orient","pageSize", NULL
};
6029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_SetScrollPageSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollPageSize. Expected _wxScrolledWindow_p.");
6039 wxPy_BEGIN_ALLOW_THREADS
;
6040 wxScrolledWindow_SetScrollPageSize(_arg0
,_arg1
,_arg2
);
6042 wxPy_END_ALLOW_THREADS
;
6043 } Py_INCREF(Py_None
);
6044 _resultobj
= Py_None
;
6048 #define wxScrolledWindow_SetTargetWindow(_swigobj,_swigarg0) (_swigobj->SetTargetWindow(_swigarg0))
6049 static PyObject
*_wrap_wxScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6050 PyObject
* _resultobj
;
6051 wxScrolledWindow
* _arg0
;
6053 PyObject
* _argo0
= 0;
6054 PyObject
* _argo1
= 0;
6055 char *_kwnames
[] = { "self","window", NULL
};
6058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_SetTargetWindow",_kwnames
,&_argo0
,&_argo1
))
6061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetTargetWindow. Expected _wxScrolledWindow_p.");
6068 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6069 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_SetTargetWindow. Expected _wxWindow_p.");
6075 wxPy_BEGIN_ALLOW_THREADS
;
6076 wxScrolledWindow_SetTargetWindow(_arg0
,_arg1
);
6078 wxPy_END_ALLOW_THREADS
;
6079 } Py_INCREF(Py_None
);
6080 _resultobj
= Py_None
;
6084 #define wxScrolledWindow_GetViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetViewStart(_swigarg0,_swigarg1))
6085 static PyObject
*_wrap_wxScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6086 PyObject
* _resultobj
;
6087 wxScrolledWindow
* _arg0
;
6092 PyObject
* _argo0
= 0;
6093 char *_kwnames
[] = { "self", NULL
};
6102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetViewStart",_kwnames
,&_argo0
))
6105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetViewStart. Expected _wxScrolledWindow_p.");
6112 wxPy_BEGIN_ALLOW_THREADS
;
6113 wxScrolledWindow_GetViewStart(_arg0
,_arg1
,_arg2
);
6115 wxPy_END_ALLOW_THREADS
;
6116 } Py_INCREF(Py_None
);
6117 _resultobj
= Py_None
;
6120 o
= PyInt_FromLong((long) (*_arg1
));
6121 _resultobj
= t_output_helper(_resultobj
, o
);
6125 o
= PyInt_FromLong((long) (*_arg2
));
6126 _resultobj
= t_output_helper(_resultobj
, o
);
6131 #define wxScrolledWindow_ViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->ViewStart(_swigarg0,_swigarg1))
6132 static PyObject
*_wrap_wxScrolledWindow_ViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6133 PyObject
* _resultobj
;
6134 wxScrolledWindow
* _arg0
;
6139 PyObject
* _argo0
= 0;
6140 char *_kwnames
[] = { "self", NULL
};
6149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_ViewStart",_kwnames
,&_argo0
))
6152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_ViewStart. Expected _wxScrolledWindow_p.");
6159 wxPy_BEGIN_ALLOW_THREADS
;
6160 wxScrolledWindow_ViewStart(_arg0
,_arg1
,_arg2
);
6162 wxPy_END_ALLOW_THREADS
;
6163 } Py_INCREF(Py_None
);
6164 _resultobj
= Py_None
;
6167 o
= PyInt_FromLong((long) (*_arg1
));
6168 _resultobj
= t_output_helper(_resultobj
, o
);
6172 o
= PyInt_FromLong((long) (*_arg2
));
6173 _resultobj
= t_output_helper(_resultobj
, o
);
6178 #define wxScrolledWindow_CalcScrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcScrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6179 static PyObject
*_wrap_wxScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6180 PyObject
* _resultobj
;
6181 wxScrolledWindow
* _arg0
;
6188 PyObject
* _argo0
= 0;
6189 char *_kwnames
[] = { "self","x","y", NULL
};
6198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcScrolledPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition. Expected _wxScrolledWindow_p.");
6208 wxPy_BEGIN_ALLOW_THREADS
;
6209 wxScrolledWindow_CalcScrolledPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6211 wxPy_END_ALLOW_THREADS
;
6212 } Py_INCREF(Py_None
);
6213 _resultobj
= Py_None
;
6216 o
= PyInt_FromLong((long) (*_arg3
));
6217 _resultobj
= t_output_helper(_resultobj
, o
);
6221 o
= PyInt_FromLong((long) (*_arg4
));
6222 _resultobj
= t_output_helper(_resultobj
, o
);
6227 #define wxScrolledWindow_CalcUnscrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcUnscrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6228 static PyObject
*_wrap_wxScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6229 PyObject
* _resultobj
;
6230 wxScrolledWindow
* _arg0
;
6237 PyObject
* _argo0
= 0;
6238 char *_kwnames
[] = { "self","x","y", NULL
};
6247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcUnscrolledPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition. Expected _wxScrolledWindow_p.");
6257 wxPy_BEGIN_ALLOW_THREADS
;
6258 wxScrolledWindow_CalcUnscrolledPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6260 wxPy_END_ALLOW_THREADS
;
6261 } Py_INCREF(Py_None
);
6262 _resultobj
= Py_None
;
6265 o
= PyInt_FromLong((long) (*_arg3
));
6266 _resultobj
= t_output_helper(_resultobj
, o
);
6270 o
= PyInt_FromLong((long) (*_arg4
));
6271 _resultobj
= t_output_helper(_resultobj
, o
);
6276 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
6279 src
= (wxMenu
*) ptr
;
6280 dest
= (wxEvtHandler
*) src
;
6281 return (void *) dest
;
6284 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
6285 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6286 PyObject
* _resultobj
;
6288 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
6289 long _arg1
= (long ) 0;
6290 PyObject
* _obj0
= 0;
6291 char *_kwnames
[] = { "title","style", NULL
};
6295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Ol:new_wxMenu",_kwnames
,&_obj0
,&_arg1
))
6299 if (!PyString_Check(_obj0
)) {
6300 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6303 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
6306 wxPy_BEGIN_ALLOW_THREADS
;
6307 _result
= (wxMenu
*)new_wxMenu(*_arg0
,_arg1
);
6309 wxPy_END_ALLOW_THREADS
;
6311 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
6312 _resultobj
= Py_BuildValue("s",_ptemp
);
6315 _resultobj
= Py_None
;
6324 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6325 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6326 PyObject
* _resultobj
;
6330 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
6331 int _arg4
= (int ) FALSE
;
6332 PyObject
* _argo0
= 0;
6333 PyObject
* _obj2
= 0;
6334 PyObject
* _obj3
= 0;
6335 char *_kwnames
[] = { "self","id","item","helpString","checkable", NULL
};
6338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Append",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
6341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
6348 if (!PyString_Check(_obj2
)) {
6349 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6352 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6356 if (!PyString_Check(_obj3
)) {
6357 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6360 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
6363 wxPy_BEGIN_ALLOW_THREADS
;
6364 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
6366 wxPy_END_ALLOW_THREADS
;
6367 } Py_INCREF(Py_None
);
6368 _resultobj
= Py_None
;
6380 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6381 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6382 PyObject
* _resultobj
;
6387 wxString
* _arg4
= (wxString
*) &wxPyEmptyStr
;
6388 PyObject
* _argo0
= 0;
6389 PyObject
* _obj2
= 0;
6390 PyObject
* _argo3
= 0;
6391 PyObject
* _obj4
= 0;
6392 char *_kwnames
[] = { "self","id","item","subMenu","helpString", NULL
};
6395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_AppendMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
6398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
6405 if (!PyString_Check(_obj2
)) {
6406 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6409 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6412 if (_argo3
== Py_None
) { _arg3
= NULL
; }
6413 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
6414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
6420 if (!PyString_Check(_obj4
)) {
6421 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6424 _arg4
= new wxString(PyString_AsString(_obj4
), PyString_Size(_obj4
));
6427 wxPy_BEGIN_ALLOW_THREADS
;
6428 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
6430 wxPy_END_ALLOW_THREADS
;
6431 } Py_INCREF(Py_None
);
6432 _resultobj
= Py_None
;
6444 #define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
6445 static PyObject
*_wrap_wxMenu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6446 PyObject
* _resultobj
;
6449 PyObject
* _argo0
= 0;
6450 PyObject
* _argo1
= 0;
6451 char *_kwnames
[] = { "self","item", NULL
};
6454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_AppendItem",_kwnames
,&_argo0
,&_argo1
))
6457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
6464 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6465 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
6466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
6471 wxPy_BEGIN_ALLOW_THREADS
;
6472 wxMenu_AppendItem(_arg0
,_arg1
);
6474 wxPy_END_ALLOW_THREADS
;
6475 } Py_INCREF(Py_None
);
6476 _resultobj
= Py_None
;
6480 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
6481 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6482 PyObject
* _resultobj
;
6484 PyObject
* _argo0
= 0;
6485 char *_kwnames
[] = { "self", NULL
};
6488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_AppendSeparator",_kwnames
,&_argo0
))
6491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
6498 wxPy_BEGIN_ALLOW_THREADS
;
6499 wxMenu_AppendSeparator(_arg0
);
6501 wxPy_END_ALLOW_THREADS
;
6502 } Py_INCREF(Py_None
);
6503 _resultobj
= Py_None
;
6507 #define wxMenu_Break(_swigobj) (_swigobj->Break())
6508 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6509 PyObject
* _resultobj
;
6511 PyObject
* _argo0
= 0;
6512 char *_kwnames
[] = { "self", NULL
};
6515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Break",_kwnames
,&_argo0
))
6518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
6525 wxPy_BEGIN_ALLOW_THREADS
;
6526 wxMenu_Break(_arg0
);
6528 wxPy_END_ALLOW_THREADS
;
6529 } Py_INCREF(Py_None
);
6530 _resultobj
= Py_None
;
6534 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
6535 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6536 PyObject
* _resultobj
;
6540 PyObject
* _argo0
= 0;
6542 char *_kwnames
[] = { "self","id","flag", NULL
};
6545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
6554 _arg2
= (bool ) tempbool2
;
6556 wxPy_BEGIN_ALLOW_THREADS
;
6557 wxMenu_Check(_arg0
,_arg1
,_arg2
);
6559 wxPy_END_ALLOW_THREADS
;
6560 } Py_INCREF(Py_None
);
6561 _resultobj
= Py_None
;
6565 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
6566 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6567 PyObject
* _resultobj
;
6571 PyObject
* _argo0
= 0;
6572 char *_kwnames
[] = { "self","id", NULL
};
6575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsChecked",_kwnames
,&_argo0
,&_arg1
))
6578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
6585 wxPy_BEGIN_ALLOW_THREADS
;
6586 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
6588 wxPy_END_ALLOW_THREADS
;
6589 } _resultobj
= Py_BuildValue("i",_result
);
6593 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
6594 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6595 PyObject
* _resultobj
;
6599 PyObject
* _argo0
= 0;
6601 char *_kwnames
[] = { "self","id","enable", NULL
};
6604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
6613 _arg2
= (bool ) tempbool2
;
6615 wxPy_BEGIN_ALLOW_THREADS
;
6616 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
6618 wxPy_END_ALLOW_THREADS
;
6619 } Py_INCREF(Py_None
);
6620 _resultobj
= Py_None
;
6624 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
6625 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6626 PyObject
* _resultobj
;
6630 PyObject
* _argo0
= 0;
6631 char *_kwnames
[] = { "self","id", NULL
};
6634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
6637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
6644 wxPy_BEGIN_ALLOW_THREADS
;
6645 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
6647 wxPy_END_ALLOW_THREADS
;
6648 } _resultobj
= Py_BuildValue("i",_result
);
6652 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
6653 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6654 PyObject
* _resultobj
;
6658 PyObject
* _argo0
= 0;
6659 PyObject
* _obj1
= 0;
6660 char *_kwnames
[] = { "self","itemString", NULL
};
6663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_FindItem",_kwnames
,&_argo0
,&_obj1
))
6666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
6673 if (!PyString_Check(_obj1
)) {
6674 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6677 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
6680 wxPy_BEGIN_ALLOW_THREADS
;
6681 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
6683 wxPy_END_ALLOW_THREADS
;
6684 } _resultobj
= Py_BuildValue("i",_result
);
6692 #define wxMenu_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
6693 static PyObject
*_wrap_wxMenu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6694 PyObject
* _resultobj
;
6695 wxMenuItem
* _result
;
6698 PyObject
* _argo0
= 0;
6699 char *_kwnames
[] = { "self","id", NULL
};
6703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_FindItemById",_kwnames
,&_argo0
,&_arg1
))
6706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemById. Expected _wxMenu_p.");
6713 wxPy_BEGIN_ALLOW_THREADS
;
6714 _result
= (wxMenuItem
*)wxMenu_FindItemById(_arg0
,_arg1
);
6716 wxPy_END_ALLOW_THREADS
;
6718 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
6719 _resultobj
= Py_BuildValue("s",_ptemp
);
6722 _resultobj
= Py_None
;
6727 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
6728 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6729 PyObject
* _resultobj
;
6732 PyObject
* _argo0
= 0;
6733 char *_kwnames
[] = { "self", NULL
};
6736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetTitle",_kwnames
,&_argo0
))
6739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
6746 wxPy_BEGIN_ALLOW_THREADS
;
6747 _result
= new wxString (wxMenu_GetTitle(_arg0
));
6749 wxPy_END_ALLOW_THREADS
;
6751 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6759 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
6760 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6761 PyObject
* _resultobj
;
6764 PyObject
* _argo0
= 0;
6765 PyObject
* _obj1
= 0;
6766 char *_kwnames
[] = { "self","title", NULL
};
6769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetTitle",_kwnames
,&_argo0
,&_obj1
))
6772 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6773 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
6779 if (!PyString_Check(_obj1
)) {
6780 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6783 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
6786 wxPy_BEGIN_ALLOW_THREADS
;
6787 wxMenu_SetTitle(_arg0
,*_arg1
);
6789 wxPy_END_ALLOW_THREADS
;
6790 } Py_INCREF(Py_None
);
6791 _resultobj
= Py_None
;
6799 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
6800 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6801 PyObject
* _resultobj
;
6805 PyObject
* _argo0
= 0;
6806 char *_kwnames
[] = { "self","id", NULL
};
6809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetLabel",_kwnames
,&_argo0
,&_arg1
))
6812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
6819 wxPy_BEGIN_ALLOW_THREADS
;
6820 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
6822 wxPy_END_ALLOW_THREADS
;
6824 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6832 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
6833 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6834 PyObject
* _resultobj
;
6838 PyObject
* _argo0
= 0;
6839 PyObject
* _obj2
= 0;
6840 char *_kwnames
[] = { "self","id","label", NULL
};
6843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
6853 if (!PyString_Check(_obj2
)) {
6854 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6857 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6860 wxPy_BEGIN_ALLOW_THREADS
;
6861 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
6863 wxPy_END_ALLOW_THREADS
;
6864 } Py_INCREF(Py_None
);
6865 _resultobj
= Py_None
;
6873 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
6874 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6875 PyObject
* _resultobj
;
6879 PyObject
* _argo0
= 0;
6880 char *_kwnames
[] = { "self","id", NULL
};
6883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
6886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
6893 wxPy_BEGIN_ALLOW_THREADS
;
6894 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
6896 wxPy_END_ALLOW_THREADS
;
6898 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6906 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
6907 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6908 PyObject
* _resultobj
;
6912 PyObject
* _argo0
= 0;
6913 PyObject
* _obj2
= 0;
6914 char *_kwnames
[] = { "self","id","helpString", NULL
};
6917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
6927 if (!PyString_Check(_obj2
)) {
6928 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6931 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6934 wxPy_BEGIN_ALLOW_THREADS
;
6935 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
6937 wxPy_END_ALLOW_THREADS
;
6938 } Py_INCREF(Py_None
);
6939 _resultobj
= Py_None
;
6947 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
6948 static PyObject
*_wrap_wxMenu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6949 PyObject
* _resultobj
;
6951 wxEvtHandler
* _arg1
= (wxEvtHandler
*) NULL
;
6952 PyObject
* _argo0
= 0;
6953 PyObject
* _argo1
= 0;
6954 char *_kwnames
[] = { "self","source", NULL
};
6957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxMenu_UpdateUI",_kwnames
,&_argo0
,&_argo1
))
6960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
6967 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6968 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
6969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
6974 wxPy_BEGIN_ALLOW_THREADS
;
6975 wxMenu_UpdateUI(_arg0
,_arg1
);
6977 wxPy_END_ALLOW_THREADS
;
6978 } Py_INCREF(Py_None
);
6979 _resultobj
= Py_None
;
6983 #define wxMenu_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
6984 static PyObject
*_wrap_wxMenu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6985 PyObject
* _resultobj
;
6989 PyObject
* _argo0
= 0;
6990 char *_kwnames
[] = { "self","id", NULL
};
6993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Delete",_kwnames
,&_argo0
,&_arg1
))
6996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Delete. Expected _wxMenu_p.");
7003 wxPy_BEGIN_ALLOW_THREADS
;
7004 _result
= (bool )wxMenu_Delete(_arg0
,_arg1
);
7006 wxPy_END_ALLOW_THREADS
;
7007 } _resultobj
= Py_BuildValue("i",_result
);
7011 #define wxMenu_DeleteItem(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
7012 static PyObject
*_wrap_wxMenu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7013 PyObject
* _resultobj
;
7017 PyObject
* _argo0
= 0;
7018 PyObject
* _argo1
= 0;
7019 char *_kwnames
[] = { "self","item", NULL
};
7022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DeleteItem",_kwnames
,&_argo0
,&_argo1
))
7025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DeleteItem. Expected _wxMenu_p.");
7032 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7033 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
7034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DeleteItem. Expected _wxMenuItem_p.");
7039 wxPy_BEGIN_ALLOW_THREADS
;
7040 _result
= (bool )wxMenu_DeleteItem(_arg0
,_arg1
);
7042 wxPy_END_ALLOW_THREADS
;
7043 } _resultobj
= Py_BuildValue("i",_result
);
7047 #define wxMenu_Insert(_swigobj,_swigarg0,_swigarg1) (_swigobj->Insert(_swigarg0,_swigarg1))
7048 static PyObject
*_wrap_wxMenu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7049 PyObject
* _resultobj
;
7054 PyObject
* _argo0
= 0;
7055 PyObject
* _argo2
= 0;
7056 char *_kwnames
[] = { "self","pos","item", NULL
};
7059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
7062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Insert. Expected _wxMenu_p.");
7069 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7070 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenuItem_p")) {
7071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenu_Insert. Expected _wxMenuItem_p.");
7076 wxPy_BEGIN_ALLOW_THREADS
;
7077 _result
= (bool )wxMenu_Insert(_arg0
,_arg1
,_arg2
);
7079 wxPy_END_ALLOW_THREADS
;
7080 } _resultobj
= Py_BuildValue("i",_result
);
7084 #define wxMenu_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
7085 static PyObject
*_wrap_wxMenu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7086 PyObject
* _resultobj
;
7087 wxMenuItem
* _result
;
7090 PyObject
* _argo0
= 0;
7091 char *_kwnames
[] = { "self","id", NULL
};
7095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Remove",_kwnames
,&_argo0
,&_arg1
))
7098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Remove. Expected _wxMenu_p.");
7105 wxPy_BEGIN_ALLOW_THREADS
;
7106 _result
= (wxMenuItem
*)wxMenu_Remove(_arg0
,_arg1
);
7108 wxPy_END_ALLOW_THREADS
;
7110 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
7111 _resultobj
= Py_BuildValue("s",_ptemp
);
7114 _resultobj
= Py_None
;
7119 #define wxMenu_RemoveItem(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
7120 static PyObject
*_wrap_wxMenu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7121 PyObject
* _resultobj
;
7122 wxMenuItem
* _result
;
7125 PyObject
* _argo0
= 0;
7126 PyObject
* _argo1
= 0;
7127 char *_kwnames
[] = { "self","item", NULL
};
7131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_RemoveItem",_kwnames
,&_argo0
,&_argo1
))
7134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_RemoveItem. Expected _wxMenu_p.");
7141 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7142 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
7143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_RemoveItem. Expected _wxMenuItem_p.");
7148 wxPy_BEGIN_ALLOW_THREADS
;
7149 _result
= (wxMenuItem
*)wxMenu_RemoveItem(_arg0
,_arg1
);
7151 wxPy_END_ALLOW_THREADS
;
7153 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
7154 _resultobj
= Py_BuildValue("s",_ptemp
);
7157 _resultobj
= Py_None
;
7162 static void wxMenu_Destroy(wxMenu
*self
) { delete self
; }
7163 static PyObject
*_wrap_wxMenu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7164 PyObject
* _resultobj
;
7166 PyObject
* _argo0
= 0;
7167 char *_kwnames
[] = { "self", NULL
};
7170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Destroy",_kwnames
,&_argo0
))
7173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Destroy. Expected _wxMenu_p.");
7180 wxPy_BEGIN_ALLOW_THREADS
;
7181 wxMenu_Destroy(_arg0
);
7183 wxPy_END_ALLOW_THREADS
;
7184 } Py_INCREF(Py_None
);
7185 _resultobj
= Py_None
;
7189 #define wxMenu_DestroyId(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
7190 static PyObject
*_wrap_wxMenu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7191 PyObject
* _resultobj
;
7195 PyObject
* _argo0
= 0;
7196 char *_kwnames
[] = { "self","id", NULL
};
7199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_DestroyId",_kwnames
,&_argo0
,&_arg1
))
7202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyId. Expected _wxMenu_p.");
7209 wxPy_BEGIN_ALLOW_THREADS
;
7210 _result
= (bool )wxMenu_DestroyId(_arg0
,_arg1
);
7212 wxPy_END_ALLOW_THREADS
;
7213 } _resultobj
= Py_BuildValue("i",_result
);
7217 #define wxMenu_DestroyItem(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
7218 static PyObject
*_wrap_wxMenu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7219 PyObject
* _resultobj
;
7223 PyObject
* _argo0
= 0;
7224 PyObject
* _argo1
= 0;
7225 char *_kwnames
[] = { "self","item", NULL
};
7228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DestroyItem",_kwnames
,&_argo0
,&_argo1
))
7231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyItem. Expected _wxMenu_p.");
7238 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7239 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
7240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DestroyItem. Expected _wxMenuItem_p.");
7245 wxPy_BEGIN_ALLOW_THREADS
;
7246 _result
= (bool )wxMenu_DestroyItem(_arg0
,_arg1
);
7248 wxPy_END_ALLOW_THREADS
;
7249 } _resultobj
= Py_BuildValue("i",_result
);
7253 #define wxMenu_GetMenuItemCount(_swigobj) (_swigobj->GetMenuItemCount())
7254 static PyObject
*_wrap_wxMenu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7255 PyObject
* _resultobj
;
7258 PyObject
* _argo0
= 0;
7259 char *_kwnames
[] = { "self", NULL
};
7262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItemCount",_kwnames
,&_argo0
))
7265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItemCount. Expected _wxMenu_p.");
7272 wxPy_BEGIN_ALLOW_THREADS
;
7273 _result
= (size_t )wxMenu_GetMenuItemCount(_arg0
);
7275 wxPy_END_ALLOW_THREADS
;
7276 } _resultobj
= Py_BuildValue("i",_result
);
7280 static PyObject
* wxMenu_GetMenuItems(wxMenu
*self
) {
7281 wxMenuItemList
& list
= self
->GetMenuItems();
7282 return wxPy_ConvertList(&list
, "wxMenuItem");
7284 static PyObject
*_wrap_wxMenu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7285 PyObject
* _resultobj
;
7288 PyObject
* _argo0
= 0;
7289 char *_kwnames
[] = { "self", NULL
};
7292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItems",_kwnames
,&_argo0
))
7295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItems. Expected _wxMenu_p.");
7302 wxPy_BEGIN_ALLOW_THREADS
;
7303 _result
= (PyObject
*)wxMenu_GetMenuItems(_arg0
);
7305 wxPy_END_ALLOW_THREADS
;
7307 _resultobj
= _result
;
7312 #define wxMenu_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
7313 static PyObject
*_wrap_wxMenu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7314 PyObject
* _resultobj
;
7316 wxEvtHandler
* _arg1
;
7317 PyObject
* _argo0
= 0;
7318 PyObject
* _argo1
= 0;
7319 char *_kwnames
[] = { "self","handler", NULL
};
7322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
7325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetEventHandler. Expected _wxMenu_p.");
7332 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7333 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
7334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetEventHandler. Expected _wxEvtHandler_p.");
7339 wxPy_BEGIN_ALLOW_THREADS
;
7340 wxMenu_SetEventHandler(_arg0
,_arg1
);
7342 wxPy_END_ALLOW_THREADS
;
7343 } Py_INCREF(Py_None
);
7344 _resultobj
= Py_None
;
7348 #define wxMenu_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
7349 static PyObject
*_wrap_wxMenu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7350 PyObject
* _resultobj
;
7351 wxEvtHandler
* _result
;
7353 PyObject
* _argo0
= 0;
7354 char *_kwnames
[] = { "self", NULL
};
7358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetEventHandler",_kwnames
,&_argo0
))
7361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetEventHandler. Expected _wxMenu_p.");
7368 wxPy_BEGIN_ALLOW_THREADS
;
7369 _result
= (wxEvtHandler
*)wxMenu_GetEventHandler(_arg0
);
7371 wxPy_END_ALLOW_THREADS
;
7373 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
7374 _resultobj
= Py_BuildValue("s",_ptemp
);
7377 _resultobj
= Py_None
;
7382 #define wxMenu_SetInvokingWindow(_swigobj,_swigarg0) (_swigobj->SetInvokingWindow(_swigarg0))
7383 static PyObject
*_wrap_wxMenu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7384 PyObject
* _resultobj
;
7387 PyObject
* _argo0
= 0;
7388 PyObject
* _argo1
= 0;
7389 char *_kwnames
[] = { "self","win", NULL
};
7392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetInvokingWindow",_kwnames
,&_argo0
,&_argo1
))
7395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetInvokingWindow. Expected _wxMenu_p.");
7402 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7403 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetInvokingWindow. Expected _wxWindow_p.");
7409 wxPy_BEGIN_ALLOW_THREADS
;
7410 wxMenu_SetInvokingWindow(_arg0
,_arg1
);
7412 wxPy_END_ALLOW_THREADS
;
7413 } Py_INCREF(Py_None
);
7414 _resultobj
= Py_None
;
7418 #define wxMenu_GetInvokingWindow(_swigobj) (_swigobj->GetInvokingWindow())
7419 static PyObject
*_wrap_wxMenu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7420 PyObject
* _resultobj
;
7423 PyObject
* _argo0
= 0;
7424 char *_kwnames
[] = { "self", NULL
};
7428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetInvokingWindow",_kwnames
,&_argo0
))
7431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetInvokingWindow. Expected _wxMenu_p.");
7438 wxPy_BEGIN_ALLOW_THREADS
;
7439 _result
= (wxWindow
*)wxMenu_GetInvokingWindow(_arg0
);
7441 wxPy_END_ALLOW_THREADS
;
7443 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
7444 _resultobj
= Py_BuildValue("s",_ptemp
);
7447 _resultobj
= Py_None
;
7452 #define wxMenu_GetStyle(_swigobj) (_swigobj->GetStyle())
7453 static PyObject
*_wrap_wxMenu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7454 PyObject
* _resultobj
;
7457 PyObject
* _argo0
= 0;
7458 char *_kwnames
[] = { "self", NULL
};
7461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetStyle",_kwnames
,&_argo0
))
7464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetStyle. Expected _wxMenu_p.");
7471 wxPy_BEGIN_ALLOW_THREADS
;
7472 _result
= (long )wxMenu_GetStyle(_arg0
);
7474 wxPy_END_ALLOW_THREADS
;
7475 } _resultobj
= Py_BuildValue("l",_result
);
7479 #define wxMenu_IsAttached(_swigobj) (_swigobj->IsAttached())
7480 static PyObject
*_wrap_wxMenu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7481 PyObject
* _resultobj
;
7484 PyObject
* _argo0
= 0;
7485 char *_kwnames
[] = { "self", NULL
};
7488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_IsAttached",_kwnames
,&_argo0
))
7491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsAttached. Expected _wxMenu_p.");
7498 wxPy_BEGIN_ALLOW_THREADS
;
7499 _result
= (bool )wxMenu_IsAttached(_arg0
);
7501 wxPy_END_ALLOW_THREADS
;
7502 } _resultobj
= Py_BuildValue("i",_result
);
7506 #define wxMenu_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
7507 static PyObject
*_wrap_wxMenu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7508 PyObject
* _resultobj
;
7511 PyObject
* _argo0
= 0;
7512 PyObject
* _argo1
= 0;
7513 char *_kwnames
[] = { "self","parent", NULL
};
7516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetParent",_kwnames
,&_argo0
,&_argo1
))
7519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetParent. Expected _wxMenu_p.");
7526 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7527 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
7528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetParent. Expected _wxMenu_p.");
7533 wxPy_BEGIN_ALLOW_THREADS
;
7534 wxMenu_SetParent(_arg0
,_arg1
);
7536 wxPy_END_ALLOW_THREADS
;
7537 } Py_INCREF(Py_None
);
7538 _resultobj
= Py_None
;
7542 #define wxMenu_GetParent(_swigobj) (_swigobj->GetParent())
7543 static PyObject
*_wrap_wxMenu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7544 PyObject
* _resultobj
;
7547 PyObject
* _argo0
= 0;
7548 char *_kwnames
[] = { "self", NULL
};
7552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetParent",_kwnames
,&_argo0
))
7555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetParent. Expected _wxMenu_p.");
7562 wxPy_BEGIN_ALLOW_THREADS
;
7563 _result
= (wxMenu
*)wxMenu_GetParent(_arg0
);
7565 wxPy_END_ALLOW_THREADS
;
7567 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7568 _resultobj
= Py_BuildValue("s",_ptemp
);
7571 _resultobj
= Py_None
;
7576 static void *SwigwxMenuBarTowxWindow(void *ptr
) {
7579 src
= (wxMenuBar
*) ptr
;
7580 dest
= (wxWindow
*) src
;
7581 return (void *) dest
;
7584 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
7587 src
= (wxMenuBar
*) ptr
;
7588 dest
= (wxEvtHandler
*) src
;
7589 return (void *) dest
;
7592 #define new_wxMenuBar() (new wxMenuBar())
7593 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7594 PyObject
* _resultobj
;
7595 wxMenuBar
* _result
;
7596 char *_kwnames
[] = { NULL
};
7600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMenuBar",_kwnames
))
7603 wxPy_BEGIN_ALLOW_THREADS
;
7604 _result
= (wxMenuBar
*)new_wxMenuBar();
7606 wxPy_END_ALLOW_THREADS
;
7608 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
7609 _resultobj
= Py_BuildValue("s",_ptemp
);
7612 _resultobj
= Py_None
;
7617 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
7618 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7619 PyObject
* _resultobj
;
7624 PyObject
* _argo0
= 0;
7625 PyObject
* _argo1
= 0;
7626 PyObject
* _obj2
= 0;
7627 char *_kwnames
[] = { "self","menu","title", NULL
};
7630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_Append",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
7640 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7641 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
7642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
7647 if (!PyString_Check(_obj2
)) {
7648 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7651 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7654 wxPy_BEGIN_ALLOW_THREADS
;
7655 _result
= (bool )wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
7657 wxPy_END_ALLOW_THREADS
;
7658 } _resultobj
= Py_BuildValue("i",_result
);
7666 #define wxMenuBar_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2))
7667 static PyObject
*_wrap_wxMenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7668 PyObject
* _resultobj
;
7674 PyObject
* _argo0
= 0;
7675 PyObject
* _argo2
= 0;
7676 PyObject
* _obj3
= 0;
7677 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
7680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
7683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Insert. Expected _wxMenuBar_p.");
7690 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7691 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
7692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Insert. Expected _wxMenu_p.");
7697 if (!PyString_Check(_obj3
)) {
7698 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7701 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
7704 wxPy_BEGIN_ALLOW_THREADS
;
7705 _result
= (bool )wxMenuBar_Insert(_arg0
,_arg1
,_arg2
,*_arg3
);
7707 wxPy_END_ALLOW_THREADS
;
7708 } _resultobj
= Py_BuildValue("i",_result
);
7716 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
7717 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7718 PyObject
* _resultobj
;
7721 PyObject
* _argo0
= 0;
7722 char *_kwnames
[] = { "self", NULL
};
7725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuBar_GetMenuCount",_kwnames
,&_argo0
))
7728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
7735 wxPy_BEGIN_ALLOW_THREADS
;
7736 _result
= (size_t )wxMenuBar_GetMenuCount(_arg0
);
7738 wxPy_END_ALLOW_THREADS
;
7739 } _resultobj
= Py_BuildValue("i",_result
);
7743 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
7744 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7745 PyObject
* _resultobj
;
7749 PyObject
* _argo0
= 0;
7750 char *_kwnames
[] = { "self","pos", NULL
};
7754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetMenu",_kwnames
,&_argo0
,&_arg1
))
7757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
7764 wxPy_BEGIN_ALLOW_THREADS
;
7765 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
7767 wxPy_END_ALLOW_THREADS
;
7769 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7770 _resultobj
= Py_BuildValue("s",_ptemp
);
7773 _resultobj
= Py_None
;
7778 #define wxMenuBar_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
7779 static PyObject
*_wrap_wxMenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7780 PyObject
* _resultobj
;
7786 PyObject
* _argo0
= 0;
7787 PyObject
* _argo2
= 0;
7788 PyObject
* _obj3
= 0;
7789 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
7793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
7796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Replace. Expected _wxMenuBar_p.");
7803 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7804 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
7805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Replace. Expected _wxMenu_p.");
7810 if (!PyString_Check(_obj3
)) {
7811 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7814 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
7817 wxPy_BEGIN_ALLOW_THREADS
;
7818 _result
= (wxMenu
*)wxMenuBar_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
7820 wxPy_END_ALLOW_THREADS
;
7822 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7823 _resultobj
= Py_BuildValue("s",_ptemp
);
7826 _resultobj
= Py_None
;
7835 #define wxMenuBar_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
7836 static PyObject
*_wrap_wxMenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7837 PyObject
* _resultobj
;
7841 PyObject
* _argo0
= 0;
7842 char *_kwnames
[] = { "self","pos", NULL
};
7846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_Remove",_kwnames
,&_argo0
,&_arg1
))
7849 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7850 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Remove. Expected _wxMenuBar_p.");
7856 wxPy_BEGIN_ALLOW_THREADS
;
7857 _result
= (wxMenu
*)wxMenuBar_Remove(_arg0
,_arg1
);
7859 wxPy_END_ALLOW_THREADS
;
7861 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7862 _resultobj
= Py_BuildValue("s",_ptemp
);
7865 _resultobj
= Py_None
;
7870 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
7871 static PyObject
*_wrap_wxMenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7872 PyObject
* _resultobj
;
7876 PyObject
* _argo0
= 0;
7878 char *_kwnames
[] = { "self","pos","enable", NULL
};
7881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_EnableTop",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
7890 _arg2
= (bool ) tempbool2
;
7892 wxPy_BEGIN_ALLOW_THREADS
;
7893 wxMenuBar_EnableTop(_arg0
,_arg1
,_arg2
);
7895 wxPy_END_ALLOW_THREADS
;
7896 } Py_INCREF(Py_None
);
7897 _resultobj
= Py_None
;
7901 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
7902 static PyObject
*_wrap_wxMenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7903 PyObject
* _resultobj
;
7907 PyObject
* _argo0
= 0;
7908 PyObject
* _obj2
= 0;
7909 char *_kwnames
[] = { "self","pos","label", NULL
};
7912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabelTop",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
7915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
7922 if (!PyString_Check(_obj2
)) {
7923 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7926 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7929 wxPy_BEGIN_ALLOW_THREADS
;
7930 wxMenuBar_SetLabelTop(_arg0
,_arg1
,*_arg2
);
7932 wxPy_END_ALLOW_THREADS
;
7933 } Py_INCREF(Py_None
);
7934 _resultobj
= Py_None
;
7942 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
7943 static PyObject
*_wrap_wxMenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7944 PyObject
* _resultobj
;
7948 PyObject
* _argo0
= 0;
7949 char *_kwnames
[] = { "self","pos", NULL
};
7952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabelTop",_kwnames
,&_argo0
,&_arg1
))
7955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
7962 wxPy_BEGIN_ALLOW_THREADS
;
7963 _result
= new wxString (wxMenuBar_GetLabelTop(_arg0
,_arg1
));
7965 wxPy_END_ALLOW_THREADS
;
7967 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7975 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
7976 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7977 PyObject
* _resultobj
;
7982 PyObject
* _argo0
= 0;
7983 PyObject
* _obj1
= 0;
7984 PyObject
* _obj2
= 0;
7985 char *_kwnames
[] = { "self","menuString","itemString", NULL
};
7988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_FindMenuItem",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
7991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
7998 if (!PyString_Check(_obj1
)) {
7999 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8002 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
8005 if (!PyString_Check(_obj2
)) {
8006 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8009 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
8012 wxPy_BEGIN_ALLOW_THREADS
;
8013 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
8015 wxPy_END_ALLOW_THREADS
;
8016 } _resultobj
= Py_BuildValue("i",_result
);
8028 #define wxMenuBar_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
8029 static PyObject
*_wrap_wxMenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8030 PyObject
* _resultobj
;
8031 wxMenuItem
* _result
;
8034 PyObject
* _argo0
= 0;
8035 char *_kwnames
[] = { "self","id", NULL
};
8039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_FindItemById",_kwnames
,&_argo0
,&_arg1
))
8042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemById. Expected _wxMenuBar_p.");
8049 wxPy_BEGIN_ALLOW_THREADS
;
8050 _result
= (wxMenuItem
*)wxMenuBar_FindItemById(_arg0
,_arg1
);
8052 wxPy_END_ALLOW_THREADS
;
8054 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
8055 _resultobj
= Py_BuildValue("s",_ptemp
);
8058 _resultobj
= Py_None
;
8063 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
8064 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8065 PyObject
* _resultobj
;
8069 PyObject
* _argo0
= 0;
8071 char *_kwnames
[] = { "self","id","enable", NULL
};
8074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
8083 _arg2
= (bool ) tempbool2
;
8085 wxPy_BEGIN_ALLOW_THREADS
;
8086 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
8088 wxPy_END_ALLOW_THREADS
;
8089 } Py_INCREF(Py_None
);
8090 _resultobj
= Py_None
;
8094 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
8095 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8096 PyObject
* _resultobj
;
8100 PyObject
* _argo0
= 0;
8102 char *_kwnames
[] = { "self","id","check", NULL
};
8105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
8114 _arg2
= (bool ) tempbool2
;
8116 wxPy_BEGIN_ALLOW_THREADS
;
8117 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
8119 wxPy_END_ALLOW_THREADS
;
8120 } Py_INCREF(Py_None
);
8121 _resultobj
= Py_None
;
8125 #define wxMenuBar_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
8126 static PyObject
*_wrap_wxMenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8127 PyObject
* _resultobj
;
8131 PyObject
* _argo0
= 0;
8132 char *_kwnames
[] = { "self","id", NULL
};
8135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsChecked",_kwnames
,&_argo0
,&_arg1
))
8138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsChecked. Expected _wxMenuBar_p.");
8145 wxPy_BEGIN_ALLOW_THREADS
;
8146 _result
= (bool )wxMenuBar_IsChecked(_arg0
,_arg1
);
8148 wxPy_END_ALLOW_THREADS
;
8149 } _resultobj
= Py_BuildValue("i",_result
);
8153 #define wxMenuBar_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
8154 static PyObject
*_wrap_wxMenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8155 PyObject
* _resultobj
;
8159 PyObject
* _argo0
= 0;
8160 char *_kwnames
[] = { "self","id", NULL
};
8163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
8166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsEnabled. Expected _wxMenuBar_p.");
8173 wxPy_BEGIN_ALLOW_THREADS
;
8174 _result
= (bool )wxMenuBar_IsEnabled(_arg0
,_arg1
);
8176 wxPy_END_ALLOW_THREADS
;
8177 } _resultobj
= Py_BuildValue("i",_result
);
8181 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
8182 static PyObject
*_wrap_wxMenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8183 PyObject
* _resultobj
;
8187 PyObject
* _argo0
= 0;
8188 PyObject
* _obj2
= 0;
8189 char *_kwnames
[] = { "self","id","label", NULL
};
8192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
8202 if (!PyString_Check(_obj2
)) {
8203 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8206 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
8209 wxPy_BEGIN_ALLOW_THREADS
;
8210 wxMenuBar_SetLabel(_arg0
,_arg1
,*_arg2
);
8212 wxPy_END_ALLOW_THREADS
;
8213 } Py_INCREF(Py_None
);
8214 _resultobj
= Py_None
;
8222 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
8223 static PyObject
*_wrap_wxMenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8224 PyObject
* _resultobj
;
8228 PyObject
* _argo0
= 0;
8229 char *_kwnames
[] = { "self","id", NULL
};
8232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabel",_kwnames
,&_argo0
,&_arg1
))
8235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
8242 wxPy_BEGIN_ALLOW_THREADS
;
8243 _result
= new wxString (wxMenuBar_GetLabel(_arg0
,_arg1
));
8245 wxPy_END_ALLOW_THREADS
;
8247 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8255 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
8256 static PyObject
*_wrap_wxMenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8257 PyObject
* _resultobj
;
8261 PyObject
* _argo0
= 0;
8262 PyObject
* _obj2
= 0;
8263 char *_kwnames
[] = { "self","id","helpString", NULL
};
8266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
8276 if (!PyString_Check(_obj2
)) {
8277 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8280 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
8283 wxPy_BEGIN_ALLOW_THREADS
;
8284 wxMenuBar_SetHelpString(_arg0
,_arg1
,*_arg2
);
8286 wxPy_END_ALLOW_THREADS
;
8287 } Py_INCREF(Py_None
);
8288 _resultobj
= Py_None
;
8296 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
8297 static PyObject
*_wrap_wxMenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8298 PyObject
* _resultobj
;
8302 PyObject
* _argo0
= 0;
8303 char *_kwnames
[] = { "self","id", NULL
};
8306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
8309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
8316 wxPy_BEGIN_ALLOW_THREADS
;
8317 _result
= new wxString (wxMenuBar_GetHelpString(_arg0
,_arg1
));
8319 wxPy_END_ALLOW_THREADS
;
8321 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8329 #define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8330 static PyObject
*_wrap_new_wxMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8331 PyObject
* _resultobj
;
8332 wxMenuItem
* _result
;
8333 wxMenu
* _arg0
= (wxMenu
*) NULL
;
8334 int _arg1
= (int ) wxID_SEPARATOR
;
8335 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
8336 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
8337 bool _arg4
= (bool ) FALSE
;
8338 wxMenu
* _arg5
= (wxMenu
*) NULL
;
8339 PyObject
* _argo0
= 0;
8340 PyObject
* _obj2
= 0;
8341 PyObject
* _obj3
= 0;
8342 int tempbool4
= (int) FALSE
;
8343 PyObject
* _argo5
= 0;
8344 char *_kwnames
[] = { "parentMenu","id","text","help","isCheckable","subMenu", NULL
};
8348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OiOOiO:new_wxMenuItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&tempbool4
,&_argo5
))
8351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
8359 if (!PyString_Check(_obj2
)) {
8360 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8363 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
8367 if (!PyString_Check(_obj3
)) {
8368 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8371 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
8373 _arg4
= (bool ) tempbool4
;
8375 if (_argo5
== Py_None
) { _arg5
= NULL
; }
8376 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxMenu_p")) {
8377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
8382 wxPy_BEGIN_ALLOW_THREADS
;
8383 _result
= (wxMenuItem
*)new_wxMenuItem(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
8385 wxPy_END_ALLOW_THREADS
;
8387 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
8388 _resultobj
= Py_BuildValue("s",_ptemp
);
8391 _resultobj
= Py_None
;
8404 #define wxMenuItem_GetMenu(_swigobj) (_swigobj->GetMenu())
8405 static PyObject
*_wrap_wxMenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8406 PyObject
* _resultobj
;
8409 PyObject
* _argo0
= 0;
8410 char *_kwnames
[] = { "self", NULL
};
8414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetMenu",_kwnames
,&_argo0
))
8417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMenu. Expected _wxMenuItem_p.");
8424 wxPy_BEGIN_ALLOW_THREADS
;
8425 _result
= (wxMenu
*)wxMenuItem_GetMenu(_arg0
);
8427 wxPy_END_ALLOW_THREADS
;
8429 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
8430 _resultobj
= Py_BuildValue("s",_ptemp
);
8433 _resultobj
= Py_None
;
8438 #define wxMenuItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
8439 static PyObject
*_wrap_wxMenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8440 PyObject
* _resultobj
;
8443 PyObject
* _argo0
= 0;
8444 char *_kwnames
[] = { "self","id", NULL
};
8447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetId",_kwnames
,&_argo0
,&_arg1
))
8450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetId. Expected _wxMenuItem_p.");
8457 wxPy_BEGIN_ALLOW_THREADS
;
8458 wxMenuItem_SetId(_arg0
,_arg1
);
8460 wxPy_END_ALLOW_THREADS
;
8461 } Py_INCREF(Py_None
);
8462 _resultobj
= Py_None
;
8466 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
8467 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8468 PyObject
* _resultobj
;
8471 PyObject
* _argo0
= 0;
8472 char *_kwnames
[] = { "self", NULL
};
8475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetId",_kwnames
,&_argo0
))
8478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
8485 wxPy_BEGIN_ALLOW_THREADS
;
8486 _result
= (int )wxMenuItem_GetId(_arg0
);
8488 wxPy_END_ALLOW_THREADS
;
8489 } _resultobj
= Py_BuildValue("i",_result
);
8493 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
8494 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8495 PyObject
* _resultobj
;
8498 PyObject
* _argo0
= 0;
8499 char *_kwnames
[] = { "self", NULL
};
8502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSeparator",_kwnames
,&_argo0
))
8505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
8512 wxPy_BEGIN_ALLOW_THREADS
;
8513 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
8515 wxPy_END_ALLOW_THREADS
;
8516 } _resultobj
= Py_BuildValue("i",_result
);
8520 #define wxMenuItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
8521 static PyObject
*_wrap_wxMenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8522 PyObject
* _resultobj
;
8525 PyObject
* _argo0
= 0;
8526 PyObject
* _obj1
= 0;
8527 char *_kwnames
[] = { "self","str", NULL
};
8530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetText",_kwnames
,&_argo0
,&_obj1
))
8533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetText. Expected _wxMenuItem_p.");
8540 if (!PyString_Check(_obj1
)) {
8541 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8544 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
8547 wxPy_BEGIN_ALLOW_THREADS
;
8548 wxMenuItem_SetText(_arg0
,*_arg1
);
8550 wxPy_END_ALLOW_THREADS
;
8551 } Py_INCREF(Py_None
);
8552 _resultobj
= Py_None
;
8560 #define wxMenuItem_GetLabel(_swigobj) (_swigobj->GetLabel())
8561 static PyObject
*_wrap_wxMenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8562 PyObject
* _resultobj
;
8565 PyObject
* _argo0
= 0;
8566 char *_kwnames
[] = { "self", NULL
};
8569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabel",_kwnames
,&_argo0
))
8572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetLabel. Expected _wxMenuItem_p.");
8579 wxPy_BEGIN_ALLOW_THREADS
;
8580 _result
= new wxString (wxMenuItem_GetLabel(_arg0
));
8582 wxPy_END_ALLOW_THREADS
;
8584 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8592 #define wxMenuItem_GetText(_swigobj) (_swigobj->GetText())
8593 static PyObject
*_wrap_wxMenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8594 PyObject
* _resultobj
;
8597 PyObject
* _argo0
= 0;
8598 char *_kwnames
[] = { "self", NULL
};
8601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetText",_kwnames
,&_argo0
))
8604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetText. Expected _wxMenuItem_p.");
8611 wxPy_BEGIN_ALLOW_THREADS
;
8612 const wxString
& _result_ref
= wxMenuItem_GetText(_arg0
);
8613 _result
= (wxString
*) &_result_ref
;
8615 wxPy_END_ALLOW_THREADS
;
8617 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8622 #define wxMenuItem_SetCheckable(_swigobj,_swigarg0) (_swigobj->SetCheckable(_swigarg0))
8623 static PyObject
*_wrap_wxMenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8624 PyObject
* _resultobj
;
8627 PyObject
* _argo0
= 0;
8629 char *_kwnames
[] = { "self","checkable", NULL
};
8632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetCheckable",_kwnames
,&_argo0
,&tempbool1
))
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_SetCheckable. Expected _wxMenuItem_p.");
8641 _arg1
= (bool ) tempbool1
;
8643 wxPy_BEGIN_ALLOW_THREADS
;
8644 wxMenuItem_SetCheckable(_arg0
,_arg1
);
8646 wxPy_END_ALLOW_THREADS
;
8647 } Py_INCREF(Py_None
);
8648 _resultobj
= Py_None
;
8652 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
8653 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8654 PyObject
* _resultobj
;
8657 PyObject
* _argo0
= 0;
8658 char *_kwnames
[] = { "self", NULL
};
8661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsCheckable",_kwnames
,&_argo0
))
8664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
8671 wxPy_BEGIN_ALLOW_THREADS
;
8672 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
8674 wxPy_END_ALLOW_THREADS
;
8675 } _resultobj
= Py_BuildValue("i",_result
);
8679 #define wxMenuItem_IsSubMenu(_swigobj) (_swigobj->IsSubMenu())
8680 static PyObject
*_wrap_wxMenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8681 PyObject
* _resultobj
;
8684 PyObject
* _argo0
= 0;
8685 char *_kwnames
[] = { "self", NULL
};
8688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSubMenu",_kwnames
,&_argo0
))
8691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSubMenu. Expected _wxMenuItem_p.");
8698 wxPy_BEGIN_ALLOW_THREADS
;
8699 _result
= (bool )wxMenuItem_IsSubMenu(_arg0
);
8701 wxPy_END_ALLOW_THREADS
;
8702 } _resultobj
= Py_BuildValue("i",_result
);
8706 #define wxMenuItem_SetSubMenu(_swigobj,_swigarg0) (_swigobj->SetSubMenu(_swigarg0))
8707 static PyObject
*_wrap_wxMenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8708 PyObject
* _resultobj
;
8711 PyObject
* _argo0
= 0;
8712 PyObject
* _argo1
= 0;
8713 char *_kwnames
[] = { "self","menu", NULL
};
8716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetSubMenu",_kwnames
,&_argo0
,&_argo1
))
8719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetSubMenu. Expected _wxMenuItem_p.");
8726 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8727 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
8728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetSubMenu. Expected _wxMenu_p.");
8733 wxPy_BEGIN_ALLOW_THREADS
;
8734 wxMenuItem_SetSubMenu(_arg0
,_arg1
);
8736 wxPy_END_ALLOW_THREADS
;
8737 } Py_INCREF(Py_None
);
8738 _resultobj
= Py_None
;
8742 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
8743 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8744 PyObject
* _resultobj
;
8747 PyObject
* _argo0
= 0;
8748 char *_kwnames
[] = { "self", NULL
};
8752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetSubMenu",_kwnames
,&_argo0
))
8755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
8762 wxPy_BEGIN_ALLOW_THREADS
;
8763 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
8765 wxPy_END_ALLOW_THREADS
;
8767 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
8768 _resultobj
= Py_BuildValue("s",_ptemp
);
8771 _resultobj
= Py_None
;
8776 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
8777 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8778 PyObject
* _resultobj
;
8780 bool _arg1
= (bool ) TRUE
;
8781 PyObject
* _argo0
= 0;
8782 int tempbool1
= (int) TRUE
;
8783 char *_kwnames
[] = { "self","enable", NULL
};
8786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Enable",_kwnames
,&_argo0
,&tempbool1
))
8789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
8795 _arg1
= (bool ) tempbool1
;
8797 wxPy_BEGIN_ALLOW_THREADS
;
8798 wxMenuItem_Enable(_arg0
,_arg1
);
8800 wxPy_END_ALLOW_THREADS
;
8801 } Py_INCREF(Py_None
);
8802 _resultobj
= Py_None
;
8806 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
8807 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8808 PyObject
* _resultobj
;
8811 PyObject
* _argo0
= 0;
8812 char *_kwnames
[] = { "self", NULL
};
8815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsEnabled",_kwnames
,&_argo0
))
8818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
8825 wxPy_BEGIN_ALLOW_THREADS
;
8826 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
8828 wxPy_END_ALLOW_THREADS
;
8829 } _resultobj
= Py_BuildValue("i",_result
);
8833 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
8834 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8835 PyObject
* _resultobj
;
8837 bool _arg1
= (bool ) TRUE
;
8838 PyObject
* _argo0
= 0;
8839 int tempbool1
= (int) TRUE
;
8840 char *_kwnames
[] = { "self","check", NULL
};
8843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Check",_kwnames
,&_argo0
,&tempbool1
))
8846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
8852 _arg1
= (bool ) tempbool1
;
8854 wxPy_BEGIN_ALLOW_THREADS
;
8855 wxMenuItem_Check(_arg0
,_arg1
);
8857 wxPy_END_ALLOW_THREADS
;
8858 } Py_INCREF(Py_None
);
8859 _resultobj
= Py_None
;
8863 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
8864 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8865 PyObject
* _resultobj
;
8868 PyObject
* _argo0
= 0;
8869 char *_kwnames
[] = { "self", NULL
};
8872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsChecked",_kwnames
,&_argo0
))
8875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
8882 wxPy_BEGIN_ALLOW_THREADS
;
8883 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
8885 wxPy_END_ALLOW_THREADS
;
8886 } _resultobj
= Py_BuildValue("i",_result
);
8890 #define wxMenuItem_Toggle(_swigobj) (_swigobj->Toggle())
8891 static PyObject
*_wrap_wxMenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8892 PyObject
* _resultobj
;
8894 PyObject
* _argo0
= 0;
8895 char *_kwnames
[] = { "self", NULL
};
8898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_Toggle",_kwnames
,&_argo0
))
8901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Toggle. Expected _wxMenuItem_p.");
8908 wxPy_BEGIN_ALLOW_THREADS
;
8909 wxMenuItem_Toggle(_arg0
);
8911 wxPy_END_ALLOW_THREADS
;
8912 } Py_INCREF(Py_None
);
8913 _resultobj
= Py_None
;
8917 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
8918 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8919 PyObject
* _resultobj
;
8922 PyObject
* _argo0
= 0;
8923 PyObject
* _obj1
= 0;
8924 char *_kwnames
[] = { "self","str", NULL
};
8927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetHelp",_kwnames
,&_argo0
,&_obj1
))
8930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
8937 if (!PyString_Check(_obj1
)) {
8938 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8941 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
8944 wxPy_BEGIN_ALLOW_THREADS
;
8945 wxMenuItem_SetHelp(_arg0
,*_arg1
);
8947 wxPy_END_ALLOW_THREADS
;
8948 } Py_INCREF(Py_None
);
8949 _resultobj
= Py_None
;
8957 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
8958 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8959 PyObject
* _resultobj
;
8962 PyObject
* _argo0
= 0;
8963 char *_kwnames
[] = { "self", NULL
};
8966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetHelp",_kwnames
,&_argo0
))
8969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
8976 wxPy_BEGIN_ALLOW_THREADS
;
8977 const wxString
& _result_ref
= wxMenuItem_GetHelp(_arg0
);
8978 _result
= (wxString
*) &_result_ref
;
8980 wxPy_END_ALLOW_THREADS
;
8982 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8987 #define wxMenuItem_GetAccel(_swigobj) (_swigobj->GetAccel())
8988 static PyObject
*_wrap_wxMenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8989 PyObject
* _resultobj
;
8990 wxAcceleratorEntry
* _result
;
8992 PyObject
* _argo0
= 0;
8993 char *_kwnames
[] = { "self", NULL
};
8997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetAccel",_kwnames
,&_argo0
))
9000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetAccel. Expected _wxMenuItem_p.");
9007 wxPy_BEGIN_ALLOW_THREADS
;
9008 _result
= (wxAcceleratorEntry
*)wxMenuItem_GetAccel(_arg0
);
9010 wxPy_END_ALLOW_THREADS
;
9012 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
9013 _resultobj
= Py_BuildValue("s",_ptemp
);
9016 _resultobj
= Py_None
;
9021 #define wxMenuItem_SetAccel(_swigobj,_swigarg0) (_swigobj->SetAccel(_swigarg0))
9022 static PyObject
*_wrap_wxMenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9023 PyObject
* _resultobj
;
9025 wxAcceleratorEntry
* _arg1
;
9026 PyObject
* _argo0
= 0;
9027 PyObject
* _argo1
= 0;
9028 char *_kwnames
[] = { "self","accel", NULL
};
9031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetAccel",_kwnames
,&_argo0
,&_argo1
))
9034 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9035 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetAccel. Expected _wxMenuItem_p.");
9041 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9042 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorEntry_p")) {
9043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetAccel. Expected _wxAcceleratorEntry_p.");
9048 wxPy_BEGIN_ALLOW_THREADS
;
9049 wxMenuItem_SetAccel(_arg0
,_arg1
);
9051 wxPy_END_ALLOW_THREADS
;
9052 } Py_INCREF(Py_None
);
9053 _resultobj
= Py_None
;
9057 static PyMethodDef windowscMethods
[] = {
9058 { "wxMenuItem_SetAccel", (PyCFunction
) _wrap_wxMenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
9059 { "wxMenuItem_GetAccel", (PyCFunction
) _wrap_wxMenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
9060 { "wxMenuItem_GetHelp", (PyCFunction
) _wrap_wxMenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
9061 { "wxMenuItem_SetHelp", (PyCFunction
) _wrap_wxMenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
9062 { "wxMenuItem_Toggle", (PyCFunction
) _wrap_wxMenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
9063 { "wxMenuItem_IsChecked", (PyCFunction
) _wrap_wxMenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
9064 { "wxMenuItem_Check", (PyCFunction
) _wrap_wxMenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
9065 { "wxMenuItem_IsEnabled", (PyCFunction
) _wrap_wxMenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9066 { "wxMenuItem_Enable", (PyCFunction
) _wrap_wxMenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
9067 { "wxMenuItem_GetSubMenu", (PyCFunction
) _wrap_wxMenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
9068 { "wxMenuItem_SetSubMenu", (PyCFunction
) _wrap_wxMenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
9069 { "wxMenuItem_IsSubMenu", (PyCFunction
) _wrap_wxMenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
9070 { "wxMenuItem_IsCheckable", (PyCFunction
) _wrap_wxMenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
9071 { "wxMenuItem_SetCheckable", (PyCFunction
) _wrap_wxMenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
9072 { "wxMenuItem_GetText", (PyCFunction
) _wrap_wxMenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
9073 { "wxMenuItem_GetLabel", (PyCFunction
) _wrap_wxMenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9074 { "wxMenuItem_SetText", (PyCFunction
) _wrap_wxMenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
9075 { "wxMenuItem_IsSeparator", (PyCFunction
) _wrap_wxMenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
9076 { "wxMenuItem_GetId", (PyCFunction
) _wrap_wxMenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
9077 { "wxMenuItem_SetId", (PyCFunction
) _wrap_wxMenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
9078 { "wxMenuItem_GetMenu", (PyCFunction
) _wrap_wxMenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
9079 { "new_wxMenuItem", (PyCFunction
) _wrap_new_wxMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
9080 { "wxMenuBar_GetHelpString", (PyCFunction
) _wrap_wxMenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
9081 { "wxMenuBar_SetHelpString", (PyCFunction
) _wrap_wxMenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
9082 { "wxMenuBar_GetLabel", (PyCFunction
) _wrap_wxMenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9083 { "wxMenuBar_SetLabel", (PyCFunction
) _wrap_wxMenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9084 { "wxMenuBar_IsEnabled", (PyCFunction
) _wrap_wxMenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9085 { "wxMenuBar_IsChecked", (PyCFunction
) _wrap_wxMenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
9086 { "wxMenuBar_Check", (PyCFunction
) _wrap_wxMenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
9087 { "wxMenuBar_Enable", (PyCFunction
) _wrap_wxMenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
9088 { "wxMenuBar_FindItemById", (PyCFunction
) _wrap_wxMenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
9089 { "wxMenuBar_FindMenuItem", (PyCFunction
) _wrap_wxMenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
9090 { "wxMenuBar_GetLabelTop", (PyCFunction
) _wrap_wxMenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
9091 { "wxMenuBar_SetLabelTop", (PyCFunction
) _wrap_wxMenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
9092 { "wxMenuBar_EnableTop", (PyCFunction
) _wrap_wxMenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
9093 { "wxMenuBar_Remove", (PyCFunction
) _wrap_wxMenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
9094 { "wxMenuBar_Replace", (PyCFunction
) _wrap_wxMenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
9095 { "wxMenuBar_GetMenu", (PyCFunction
) _wrap_wxMenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
9096 { "wxMenuBar_GetMenuCount", (PyCFunction
) _wrap_wxMenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
9097 { "wxMenuBar_Insert", (PyCFunction
) _wrap_wxMenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
9098 { "wxMenuBar_Append", (PyCFunction
) _wrap_wxMenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
9099 { "new_wxMenuBar", (PyCFunction
) _wrap_new_wxMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
9100 { "wxMenu_GetParent", (PyCFunction
) _wrap_wxMenu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
9101 { "wxMenu_SetParent", (PyCFunction
) _wrap_wxMenu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
9102 { "wxMenu_IsAttached", (PyCFunction
) _wrap_wxMenu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
9103 { "wxMenu_GetStyle", (PyCFunction
) _wrap_wxMenu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
9104 { "wxMenu_GetInvokingWindow", (PyCFunction
) _wrap_wxMenu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
9105 { "wxMenu_SetInvokingWindow", (PyCFunction
) _wrap_wxMenu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
9106 { "wxMenu_GetEventHandler", (PyCFunction
) _wrap_wxMenu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9107 { "wxMenu_SetEventHandler", (PyCFunction
) _wrap_wxMenu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9108 { "wxMenu_GetMenuItems", (PyCFunction
) _wrap_wxMenu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
9109 { "wxMenu_GetMenuItemCount", (PyCFunction
) _wrap_wxMenu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
9110 { "wxMenu_DestroyItem", (PyCFunction
) _wrap_wxMenu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
9111 { "wxMenu_DestroyId", (PyCFunction
) _wrap_wxMenu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
9112 { "wxMenu_Destroy", (PyCFunction
) _wrap_wxMenu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
9113 { "wxMenu_RemoveItem", (PyCFunction
) _wrap_wxMenu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
9114 { "wxMenu_Remove", (PyCFunction
) _wrap_wxMenu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
9115 { "wxMenu_Insert", (PyCFunction
) _wrap_wxMenu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
9116 { "wxMenu_DeleteItem", (PyCFunction
) _wrap_wxMenu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
9117 { "wxMenu_Delete", (PyCFunction
) _wrap_wxMenu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
9118 { "wxMenu_UpdateUI", (PyCFunction
) _wrap_wxMenu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
9119 { "wxMenu_SetHelpString", (PyCFunction
) _wrap_wxMenu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
9120 { "wxMenu_GetHelpString", (PyCFunction
) _wrap_wxMenu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
9121 { "wxMenu_SetLabel", (PyCFunction
) _wrap_wxMenu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9122 { "wxMenu_GetLabel", (PyCFunction
) _wrap_wxMenu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9123 { "wxMenu_SetTitle", (PyCFunction
) _wrap_wxMenu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9124 { "wxMenu_GetTitle", (PyCFunction
) _wrap_wxMenu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9125 { "wxMenu_FindItemById", (PyCFunction
) _wrap_wxMenu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
9126 { "wxMenu_FindItem", (PyCFunction
) _wrap_wxMenu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
9127 { "wxMenu_IsEnabled", (PyCFunction
) _wrap_wxMenu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9128 { "wxMenu_Enable", (PyCFunction
) _wrap_wxMenu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
9129 { "wxMenu_IsChecked", (PyCFunction
) _wrap_wxMenu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
9130 { "wxMenu_Check", (PyCFunction
) _wrap_wxMenu_Check
, METH_VARARGS
| METH_KEYWORDS
},
9131 { "wxMenu_Break", (PyCFunction
) _wrap_wxMenu_Break
, METH_VARARGS
| METH_KEYWORDS
},
9132 { "wxMenu_AppendSeparator", (PyCFunction
) _wrap_wxMenu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
9133 { "wxMenu_AppendItem", (PyCFunction
) _wrap_wxMenu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
9134 { "wxMenu_AppendMenu", (PyCFunction
) _wrap_wxMenu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
9135 { "wxMenu_Append", (PyCFunction
) _wrap_wxMenu_Append
, METH_VARARGS
| METH_KEYWORDS
},
9136 { "new_wxMenu", (PyCFunction
) _wrap_new_wxMenu
, METH_VARARGS
| METH_KEYWORDS
},
9137 { "wxScrolledWindow_CalcUnscrolledPosition", (PyCFunction
) _wrap_wxScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
| METH_KEYWORDS
},
9138 { "wxScrolledWindow_CalcScrolledPosition", (PyCFunction
) _wrap_wxScrolledWindow_CalcScrolledPosition
, METH_VARARGS
| METH_KEYWORDS
},
9139 { "wxScrolledWindow_ViewStart", (PyCFunction
) _wrap_wxScrolledWindow_ViewStart
, METH_VARARGS
| METH_KEYWORDS
},
9140 { "wxScrolledWindow_GetViewStart", (PyCFunction
) _wrap_wxScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
9141 { "wxScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
9142 { "wxScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
9143 { "wxScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
9144 { "wxScrolledWindow_Scroll", (PyCFunction
) _wrap_wxScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
9145 { "wxScrolledWindow_PrepareDC", (PyCFunction
) _wrap_wxScrolledWindow_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
9146 { "wxScrolledWindow_IsRetained", (PyCFunction
) _wrap_wxScrolledWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
9147 { "wxScrolledWindow_GetVirtualSize", (PyCFunction
) _wrap_wxScrolledWindow_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
9148 { "wxScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
9149 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
9150 { "wxScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
9151 { "wxScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_wxScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
9152 { "new_wxScrolledWindow", (PyCFunction
) _wrap_new_wxScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
9153 { "wxDialog_SetReturnCode", (PyCFunction
) _wrap_wxDialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
9154 { "wxDialog_GetReturnCode", (PyCFunction
) _wrap_wxDialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
9155 { "wxDialog_ShowModal", (PyCFunction
) _wrap_wxDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
9156 { "wxDialog_Show", (PyCFunction
) _wrap_wxDialog_Show
, METH_VARARGS
| METH_KEYWORDS
},
9157 { "wxDialog_SetTitle", (PyCFunction
) _wrap_wxDialog_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9158 { "wxDialog_IsModal", (PyCFunction
) _wrap_wxDialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
9159 { "wxDialog_SetModal", (PyCFunction
) _wrap_wxDialog_SetModal
, METH_VARARGS
| METH_KEYWORDS
},
9160 { "wxDialog_IsIconized", (PyCFunction
) _wrap_wxDialog_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
9161 { "wxDialog_Iconize", (PyCFunction
) _wrap_wxDialog_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
9162 { "wxDialog_GetTitle", (PyCFunction
) _wrap_wxDialog_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9163 { "wxDialog_EndModal", (PyCFunction
) _wrap_wxDialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
9164 { "wxDialog_Centre", (PyCFunction
) _wrap_wxDialog_Centre
, METH_VARARGS
| METH_KEYWORDS
},
9165 { "new_wxDialog", (PyCFunction
) _wrap_new_wxDialog
, METH_VARARGS
| METH_KEYWORDS
},
9166 { "wxPanel_SetDefaultItem", (PyCFunction
) _wrap_wxPanel_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
9167 { "wxPanel_GetDefaultItem", (PyCFunction
) _wrap_wxPanel_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
9168 { "wxPanel_InitDialog", (PyCFunction
) _wrap_wxPanel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
9169 { "new_wxPanel", (PyCFunction
) _wrap_new_wxPanel
, METH_VARARGS
| METH_KEYWORDS
},
9170 { "wxWindow_GetCaret", (PyCFunction
) _wrap_wxWindow_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
9171 { "wxWindow_SetCaret", (PyCFunction
) _wrap_wxWindow_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
9172 { "wxWindow_GetBestSize", (PyCFunction
) _wrap_wxWindow_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
9173 { "wxWindow_GetDropTarget", (PyCFunction
) _wrap_wxWindow_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
9174 { "wxWindow_SetDropTarget", (PyCFunction
) _wrap_wxWindow_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
9175 { "wxWindow_SetValidator", (PyCFunction
) _wrap_wxWindow_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
9176 { "wxWindow_GetValidator", (PyCFunction
) _wrap_wxWindow_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
9177 { "wxWindow_GetSizer", (PyCFunction
) _wrap_wxWindow_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
9178 { "wxWindow_SetSizer", (PyCFunction
) _wrap_wxWindow_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
9179 { "wxWindow_GetToolTip", (PyCFunction
) _wrap_wxWindow_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
9180 { "wxWindow_SetToolTip", (PyCFunction
) _wrap_wxWindow_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
9181 { "wxWindow_SetToolTipString", (PyCFunction
) _wrap_wxWindow_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
9182 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
9183 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
9184 { "wxWindow_DLG_SZE", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
9185 { "wxWindow_DLG_PNT", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
9186 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
9187 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
9188 { "wxWindow_WarpPointer", (PyCFunction
) _wrap_wxWindow_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
9189 { "wxWindow_Validate", (PyCFunction
) _wrap_wxWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
},
9190 { "wxWindow_TransferDataToWindow", (PyCFunction
) _wrap_wxWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
9191 { "wxWindow_TransferDataFromWindow", (PyCFunction
) _wrap_wxWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
9192 { "wxWindow_Show", (PyCFunction
) _wrap_wxWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
9193 { "wxWindow_SetTitle", (PyCFunction
) _wrap_wxWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9194 { "wxWindow_SetEventHandler", (PyCFunction
) _wrap_wxWindow_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9195 { "wxWindow_SetCursor", (PyCFunction
) _wrap_wxWindow_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
9196 { "wxWindow_SetClientSize", (PyCFunction
) _wrap_wxWindow_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
9197 { "wxWindow_SetClientSizeWH", (PyCFunction
) _wrap_wxWindow_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
9198 { "wxWindow_SetSizeHints", (PyCFunction
) _wrap_wxWindow_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
9199 { "wxWindow_SetPosition", (PyCFunction
) _wrap_wxWindow_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
9200 { "wxWindow_SetSize", (PyCFunction
) _wrap_wxWindow_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
9201 { "wxWindow_SetDimensions", (PyCFunction
) _wrap_wxWindow_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
9202 { "wxWindow_SetScrollPos", (PyCFunction
) _wrap_wxWindow_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
9203 { "wxWindow_SetScrollbar", (PyCFunction
) _wrap_wxWindow_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
9204 { "wxWindow_SetName", (PyCFunction
) _wrap_wxWindow_SetName
, METH_VARARGS
| METH_KEYWORDS
},
9205 { "wxWindow_SetId", (PyCFunction
) _wrap_wxWindow_SetId
, METH_VARARGS
| METH_KEYWORDS
},
9206 { "wxWindow_SetForegroundColour", (PyCFunction
) _wrap_wxWindow_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9207 { "wxWindow_SetFont", (PyCFunction
) _wrap_wxWindow_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
9208 { "wxWindow_AcceptsFocus", (PyCFunction
) _wrap_wxWindow_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
9209 { "wxWindow_SetFocus", (PyCFunction
) _wrap_wxWindow_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
9210 { "wxWindow_UnsetConstraints", (PyCFunction
) _wrap_wxWindow_UnsetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
9211 { "wxWindow_SetConstraints", (PyCFunction
) _wrap_wxWindow_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
9212 { "wxWindow_SetBackgroundColour", (PyCFunction
) _wrap_wxWindow_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9213 { "wxWindow_GetAutoLayout", (PyCFunction
) _wrap_wxWindow_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
9214 { "wxWindow_SetAutoLayout", (PyCFunction
) _wrap_wxWindow_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
9215 { "wxWindow_SetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
9216 { "wxWindow_ScrollWindow", (PyCFunction
) _wrap_wxWindow_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
9217 { "wxWindow_ScreenToClient", (PyCFunction
) _wrap_wxWindow_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
9218 { "wxWindow_ScreenToClientXY", (PyCFunction
) _wrap_wxWindow_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
9219 { "wxWindow_Reparent", (PyCFunction
) _wrap_wxWindow_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
9220 { "wxWindow_RemoveChild", (PyCFunction
) _wrap_wxWindow_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
9221 { "wxWindow_ReleaseMouse", (PyCFunction
) _wrap_wxWindow_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
9222 { "wxWindow_Refresh", (PyCFunction
) _wrap_wxWindow_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
9223 { "wxWindow_Raise", (PyCFunction
) _wrap_wxWindow_Raise
, METH_VARARGS
| METH_KEYWORDS
},
9224 { "wxWindow_PopupMenu", (PyCFunction
) _wrap_wxWindow_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
9225 { "wxWindow_PopupMenuXY", (PyCFunction
) _wrap_wxWindow_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
9226 { "wxWindow_PushEventHandler", (PyCFunction
) _wrap_wxWindow_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9227 { "wxWindow_PopEventHandler", (PyCFunction
) _wrap_wxWindow_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9228 { "wxWindow_Move", (PyCFunction
) _wrap_wxWindow_Move
, METH_VARARGS
| METH_KEYWORDS
},
9229 { "wxWindow_MoveXY", (PyCFunction
) _wrap_wxWindow_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
9230 { "wxWindow_MakeModal", (PyCFunction
) _wrap_wxWindow_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
9231 { "wxWindow_Lower", (PyCFunction
) _wrap_wxWindow_Lower
, METH_VARARGS
| METH_KEYWORDS
},
9232 { "wxWindow_LoadFromResource", (PyCFunction
) _wrap_wxWindow_LoadFromResource
, METH_VARARGS
| METH_KEYWORDS
},
9233 { "wxWindow_Layout", (PyCFunction
) _wrap_wxWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
9234 { "wxWindow_IsTopLevel", (PyCFunction
) _wrap_wxWindow_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
9235 { "wxWindow_IsShown", (PyCFunction
) _wrap_wxWindow_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
9236 { "wxWindow_IsRetained", (PyCFunction
) _wrap_wxWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
9237 { "wxWindow_IsExposedRect", (PyCFunction
) _wrap_wxWindow_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
9238 { "wxWindow_IsExposedPoint", (PyCFunction
) _wrap_wxWindow_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
9239 { "wxWindow_IsExposed", (PyCFunction
) _wrap_wxWindow_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
9240 { "wxWindow_IsEnabled", (PyCFunction
) _wrap_wxWindow_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9241 { "wxWindow_InitDialog", (PyCFunction
) _wrap_wxWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
9242 { "wxWindow_Hide", (PyCFunction
) _wrap_wxWindow_Hide
, METH_VARARGS
| METH_KEYWORDS
},
9243 { "wxWindow_SetWindowStyle", (PyCFunction
) _wrap_wxWindow_SetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
9244 { "wxWindow_SetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
9245 { "wxWindow_GetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
9246 { "wxWindow_GetUpdateRegion", (PyCFunction
) _wrap_wxWindow_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
9247 { "wxWindow_GetTitle", (PyCFunction
) _wrap_wxWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9248 { "wxWindow_GetFullTextExtent", (PyCFunction
) _wrap_wxWindow_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
9249 { "wxWindow_GetTextExtent", (PyCFunction
) _wrap_wxWindow_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
9250 { "wxWindow_GetSize", (PyCFunction
) _wrap_wxWindow_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
9251 { "wxWindow_GetSizeTuple", (PyCFunction
) _wrap_wxWindow_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
9252 { "wxWindow_GetScrollRange", (PyCFunction
) _wrap_wxWindow_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
9253 { "wxWindow_GetScrollPos", (PyCFunction
) _wrap_wxWindow_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
9254 { "wxWindow_GetScrollThumb", (PyCFunction
) _wrap_wxWindow_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
9255 { "wxWindow_GetRect", (PyCFunction
) _wrap_wxWindow_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
9256 { "wxWindow_GetPosition", (PyCFunction
) _wrap_wxWindow_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
9257 { "wxWindow_GetPositionTuple", (PyCFunction
) _wrap_wxWindow_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
9258 { "wxWindow_GetParent", (PyCFunction
) _wrap_wxWindow_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
9259 { "wxWindow_GetName", (PyCFunction
) _wrap_wxWindow_GetName
, METH_VARARGS
| METH_KEYWORDS
},
9260 { "wxWindow_SetLabel", (PyCFunction
) _wrap_wxWindow_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9261 { "wxWindow_GetLabel", (PyCFunction
) _wrap_wxWindow_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9262 { "wxWindow_GetId", (PyCFunction
) _wrap_wxWindow_GetId
, METH_VARARGS
| METH_KEYWORDS
},
9263 { "wxWindow_GetHandle", (PyCFunction
) _wrap_wxWindow_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
9264 { "wxWindow_GetGrandParent", (PyCFunction
) _wrap_wxWindow_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
9265 { "wxWindow_GetForegroundColour", (PyCFunction
) _wrap_wxWindow_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9266 { "wxWindow_GetFont", (PyCFunction
) _wrap_wxWindow_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
9267 { "wxWindow_GetEventHandler", (PyCFunction
) _wrap_wxWindow_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9268 { "wxWindow_GetConstraints", (PyCFunction
) _wrap_wxWindow_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
9269 { "wxWindow_GetClientSize", (PyCFunction
) _wrap_wxWindow_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
9270 { "wxWindow_GetClientSizeTuple", (PyCFunction
) _wrap_wxWindow_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
9271 { "wxWindow_GetCharWidth", (PyCFunction
) _wrap_wxWindow_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
9272 { "wxWindow_GetCharHeight", (PyCFunction
) _wrap_wxWindow_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
9273 { "wxWindow_GetChildren", (PyCFunction
) _wrap_wxWindow_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
9274 { "wxWindow_GetBackgroundColour", (PyCFunction
) _wrap_wxWindow_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9275 { "wxWindow_Fit", (PyCFunction
) _wrap_wxWindow_Fit
, METH_VARARGS
| METH_KEYWORDS
},
9276 { "wxWindow_FindWindowByName", (PyCFunction
) _wrap_wxWindow_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
9277 { "wxWindow_FindWindowById", (PyCFunction
) _wrap_wxWindow_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
9278 { "wxWindow_Enable", (PyCFunction
) _wrap_wxWindow_Enable
, METH_VARARGS
| METH_KEYWORDS
},
9279 { "wxWindow_DragAcceptFiles", (PyCFunction
) _wrap_wxWindow_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
},
9280 { "wxWindow_DestroyChildren", (PyCFunction
) _wrap_wxWindow_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
9281 { "wxWindow_Destroy", (PyCFunction
) _wrap_wxWindow_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
9282 { "wxWindow_Close", (PyCFunction
) _wrap_wxWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
9283 { "wxWindow_ClientToScreen", (PyCFunction
) _wrap_wxWindow_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
9284 { "wxWindow_ClientToScreenXY", (PyCFunction
) _wrap_wxWindow_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
9285 { "wxWindow_CenterOnScreen", (PyCFunction
) _wrap_wxWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
9286 { "wxWindow_CentreOnScreen", (PyCFunction
) _wrap_wxWindow_CentreOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
9287 { "wxWindow_CenterOnParent", (PyCFunction
) _wrap_wxWindow_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
9288 { "wxWindow_CentreOnParent", (PyCFunction
) _wrap_wxWindow_CentreOnParent
, METH_VARARGS
| METH_KEYWORDS
},
9289 { "wxWindow_Centre", (PyCFunction
) _wrap_wxWindow_Centre
, METH_VARARGS
| METH_KEYWORDS
},
9290 { "wxWindow_Center", (PyCFunction
) _wrap_wxWindow_Center
, METH_VARARGS
| METH_KEYWORDS
},
9291 { "wxWindow_CaptureMouse", (PyCFunction
) _wrap_wxWindow_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
9292 { "new_wxWindow", (PyCFunction
) _wrap_new_wxWindow
, METH_VARARGS
| METH_KEYWORDS
},
9293 { "wxPyValidator__setSelf", (PyCFunction
) _wrap_wxPyValidator__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
9294 { "wxPyValidator_Destroy", (PyCFunction
) _wrap_wxPyValidator_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
9295 { "new_wxPyValidator", (PyCFunction
) _wrap_new_wxPyValidator
, METH_VARARGS
| METH_KEYWORDS
},
9296 { "wxValidator_SetWindow", (PyCFunction
) _wrap_wxValidator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
9297 { "wxValidator_GetWindow", (PyCFunction
) _wrap_wxValidator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
9298 { "wxValidator_Clone", (PyCFunction
) _wrap_wxValidator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
9299 { "new_wxValidator", (PyCFunction
) _wrap_new_wxValidator
, METH_VARARGS
| METH_KEYWORDS
},
9300 { "wxEvtHandler_Disconnect", (PyCFunction
) _wrap_wxEvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
9301 { "wxEvtHandler_Connect", (PyCFunction
) _wrap_wxEvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
9302 { "wxEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
9303 { "wxEvtHandler_SetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
9304 { "wxEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
9305 { "wxEvtHandler_GetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
9306 { "wxEvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9307 { "wxEvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9308 { "wxEvtHandler_AddPendingEvent", (PyCFunction
) _wrap_wxEvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
9309 { "wxEvtHandler_ProcessEvent", (PyCFunction
) _wrap_wxEvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
9310 { "wxWindow_PrevControlId", (PyCFunction
) _wrap_wxWindow_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
9311 { "wxWindow_NextControlId", (PyCFunction
) _wrap_wxWindow_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
9312 { "wxWindow_NewControlId", (PyCFunction
) _wrap_wxWindow_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
9313 { "wxWindow_FromHWND", (PyCFunction
) _wrap_wxWindow_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
9314 { "wxWindow_FindFocus", (PyCFunction
) _wrap_wxWindow_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
9315 { "wxValidator_SetBellOnError", (PyCFunction
) _wrap_wxValidator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
9316 { "wxValidator_IsSilent", (PyCFunction
) _wrap_wxValidator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
9323 * This table is used by the pointer type-checker
9325 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
9326 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
9327 { "_signed_long","_long",0},
9328 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
9329 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
9330 { "_wxPrintQuality","_wxCoord",0},
9331 { "_wxPrintQuality","_int",0},
9332 { "_wxPrintQuality","_signed_int",0},
9333 { "_wxPrintQuality","_unsigned_int",0},
9334 { "_wxPrintQuality","_wxWindowID",0},
9335 { "_wxPrintQuality","_uint",0},
9336 { "_wxPrintQuality","_EBool",0},
9337 { "_wxPrintQuality","_size_t",0},
9338 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
9339 { "_class_wxRegionIterator","_wxRegionIterator",0},
9340 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
9341 { "_class_wxMenuBar","_wxMenuBar",0},
9342 { "_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
9343 { "_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
9344 { "_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
9345 { "_class_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
9346 { "_class_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
9347 { "_class_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
9348 { "_class_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
9349 { "_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
9350 { "_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
9351 { "_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
9352 { "_class_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
9353 { "_class_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
9354 { "_class_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
9355 { "_class_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
9356 { "_class_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler
},
9357 { "_class_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
9358 { "_class_wxEvtHandler","_wxEvtHandler",0},
9359 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
9360 { "_wxCursor","_class_wxCursor",0},
9361 { "_wxMask","_class_wxMask",0},
9362 { "_wxPen","_class_wxPen",0},
9363 { "_byte","_unsigned_char",0},
9364 { "_wxDataObject","_class_wxDataObject",0},
9365 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
9366 { "_wxPyDropSource","_class_wxPyDropSource",0},
9367 { "_long","_unsigned_long",0},
9368 { "_long","_signed_long",0},
9369 { "_wxImageList","_class_wxImageList",0},
9370 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
9371 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
9372 { "_class_wxClipboard","_wxClipboard",0},
9373 { "_wxDC","_class_wxDC",0},
9374 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
9375 { "_size_t","_wxCoord",0},
9376 { "_size_t","_wxPrintQuality",0},
9377 { "_size_t","_unsigned_int",0},
9378 { "_size_t","_int",0},
9379 { "_size_t","_wxWindowID",0},
9380 { "_size_t","_uint",0},
9381 { "_class_wxRealPoint","_wxRealPoint",0},
9382 { "_wxPrinterDC","_class_wxPrinterDC",0},
9383 { "_class_wxMenuItem","_wxMenuItem",0},
9384 { "_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
9385 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
9386 { "_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
9387 { "_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
9388 { "_wxPanel","_class_wxPanel",0},
9389 { "_class_wxMask","_wxMask",0},
9390 { "_wxTextDataObject","_class_wxTextDataObject",0},
9391 { "_wxColour","_class_wxColour",0},
9392 { "_class_wxDialog","_wxDialog",0},
9393 { "_class_wxFileDataObject","_wxFileDataObject",0},
9394 { "_class_wxDataObject","_wxDataObject",0},
9395 { "_wxBrush","_class_wxBrush",0},
9396 { "_wxDataFormat","_class_wxDataFormat",0},
9397 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
9398 { "_uint","_wxCoord",0},
9399 { "_uint","_wxPrintQuality",0},
9400 { "_uint","_size_t",0},
9401 { "_uint","_unsigned_int",0},
9402 { "_uint","_int",0},
9403 { "_uint","_wxWindowID",0},
9404 { "_wxChar","_char",0},
9405 { "_wxPyValidator","_class_wxPyValidator",0},
9406 { "_wxRect","_class_wxRect",0},
9407 { "_wxPoint","_class_wxPoint",0},
9408 { "_char","_wxChar",0},
9409 { "_wxBitmap","_class_wxBitmap",0},
9410 { "_wxWindowDC","_class_wxWindowDC",0},
9411 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
9412 { "_class_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator
},
9413 { "_class_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
9414 { "_class_wxValidator","_wxValidator",0},
9415 { "_wxDropTarget","_class_wxDropTarget",0},
9416 { "_EBool","_wxCoord",0},
9417 { "_EBool","_wxPrintQuality",0},
9418 { "_EBool","_signed_int",0},
9419 { "_EBool","_int",0},
9420 { "_EBool","_wxWindowID",0},
9421 { "_class_wxRegion","_wxRegion",0},
9422 { "_class_wxDataFormat","_wxDataFormat",0},
9423 { "_wxFont","_class_wxFont",0},
9424 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
9425 { "_unsigned_long","_long",0},
9426 { "_class_wxRect","_wxRect",0},
9427 { "_class_wxDC","_wxDC",0},
9428 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
9429 { "_class_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
9430 { "_class_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
9431 { "_class_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
9432 { "_class_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
9433 { "_class_wxPanel","_wxPanel",0},
9434 { "_signed_int","_wxCoord",0},
9435 { "_signed_int","_wxPrintQuality",0},
9436 { "_signed_int","_EBool",0},
9437 { "_signed_int","_wxWindowID",0},
9438 { "_signed_int","_int",0},
9439 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
9440 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
9441 { "_class_wxTextDataObject","_wxTextDataObject",0},
9442 { "_wxMenu","_class_wxMenu",0},
9443 { "_wxScreenDC","_class_wxScreenDC",0},
9444 { "_WXTYPE","_short",0},
9445 { "_WXTYPE","_signed_short",0},
9446 { "_WXTYPE","_unsigned_short",0},
9447 { "_class_wxDropTarget","_wxDropTarget",0},
9448 { "_class_wxBrush","_wxBrush",0},
9449 { "_unsigned_short","_WXTYPE",0},
9450 { "_unsigned_short","_short",0},
9451 { "_class_wxWindow","_class_wxMenuBar",SwigwxMenuBarTowxWindow
},
9452 { "_class_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
9453 { "_class_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
9454 { "_class_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
9455 { "_class_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
9456 { "_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
9457 { "_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
9458 { "_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
9459 { "_class_wxWindow","_wxWindow",0},
9460 { "_class_wxFont","_wxFont",0},
9461 { "_wxClipboard","_class_wxClipboard",0},
9462 { "_class_wxPyValidator","_wxPyValidator",0},
9463 { "_wxBusyInfo","_class_wxBusyInfo",0},
9464 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
9465 { "_wxClientDC","_class_wxClientDC",0},
9466 { "_class_wxPoint","_wxPoint",0},
9467 { "_wxRealPoint","_class_wxRealPoint",0},
9468 { "_signed_short","_WXTYPE",0},
9469 { "_signed_short","_short",0},
9470 { "_wxMemoryDC","_class_wxMemoryDC",0},
9471 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
9472 { "_wxPaintDC","_class_wxPaintDC",0},
9473 { "_class_wxWindowDC","_wxWindowDC",0},
9474 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
9475 { "_class_wxCursor","_wxCursor",0},
9476 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
9477 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
9478 { "_unsigned_char","_byte",0},
9479 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
9480 { "_class_wxMenu","_wxMenu",0},
9481 { "_unsigned_int","_wxCoord",0},
9482 { "_unsigned_int","_wxPrintQuality",0},
9483 { "_unsigned_int","_size_t",0},
9484 { "_unsigned_int","_uint",0},
9485 { "_unsigned_int","_wxWindowID",0},
9486 { "_unsigned_int","_int",0},
9487 { "_wxIcon","_class_wxIcon",0},
9488 { "_wxDialog","_class_wxDialog",0},
9489 { "_class_wxPen","_wxPen",0},
9490 { "_short","_WXTYPE",0},
9491 { "_short","_unsigned_short",0},
9492 { "_short","_signed_short",0},
9493 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
9494 { "_class_wxPyDropSource","_wxPyDropSource",0},
9495 { "_class_wxImageList","_wxImageList",0},
9496 { "_wxWindowID","_wxCoord",0},
9497 { "_wxWindowID","_wxPrintQuality",0},
9498 { "_wxWindowID","_size_t",0},
9499 { "_wxWindowID","_EBool",0},
9500 { "_wxWindowID","_uint",0},
9501 { "_wxWindowID","_int",0},
9502 { "_wxWindowID","_signed_int",0},
9503 { "_wxWindowID","_unsigned_int",0},
9504 { "_int","_wxCoord",0},
9505 { "_int","_wxPrintQuality",0},
9506 { "_int","_size_t",0},
9507 { "_int","_EBool",0},
9508 { "_int","_uint",0},
9509 { "_int","_wxWindowID",0},
9510 { "_int","_unsigned_int",0},
9511 { "_int","_signed_int",0},
9512 { "_wxSize","_class_wxSize",0},
9513 { "_wxRegionIterator","_class_wxRegionIterator",0},
9514 { "_class_wxPrinterDC","_wxPrinterDC",0},
9515 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
9516 { "_class_wxPaintDC","_wxPaintDC",0},
9517 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
9518 { "_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator
},
9519 { "_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
9520 { "_wxValidator","_class_wxValidator",0},
9521 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
9522 { "_class_wxIcon","_wxIcon",0},
9523 { "_class_wxColour","_wxColour",0},
9524 { "_class_wxScreenDC","_wxScreenDC",0},
9525 { "_wxPalette","_class_wxPalette",0},
9526 { "_wxCoord","_int",0},
9527 { "_wxCoord","_signed_int",0},
9528 { "_wxCoord","_unsigned_int",0},
9529 { "_wxCoord","_wxWindowID",0},
9530 { "_wxCoord","_uint",0},
9531 { "_wxCoord","_EBool",0},
9532 { "_wxCoord","_size_t",0},
9533 { "_wxCoord","_wxPrintQuality",0},
9534 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
9535 { "_wxRegion","_class_wxRegion",0},
9536 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
9537 { "_class_wxBusyInfo","_wxBusyInfo",0},
9538 { "_class_wxClientDC","_wxClientDC",0},
9539 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
9540 { "_class_wxSize","_wxSize",0},
9541 { "_class_wxBitmap","_wxBitmap",0},
9542 { "_class_wxMemoryDC","_wxMemoryDC",0},
9543 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
9544 { "_wxMenuBar","_class_wxMenuBar",0},
9545 { "_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
9546 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
9547 { "_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
9548 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
9549 { "_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
9550 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
9551 { "_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
9552 { "_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
9553 { "_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
9554 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
9555 { "_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
9556 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
9557 { "_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
9558 { "_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
9559 { "_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler
},
9560 { "_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
9561 { "_wxEvtHandler","_class_wxEvtHandler",0},
9562 { "_wxMenuItem","_class_wxMenuItem",0},
9563 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
9564 { "_class_wxPalette","_wxPalette",0},
9565 { "_wxFileDataObject","_class_wxFileDataObject",0},
9566 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
9567 { "_wxWindow","_class_wxMenuBar",SwigwxMenuBarTowxWindow
},
9568 { "_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
9569 { "_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
9570 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
9571 { "_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
9572 { "_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
9573 { "_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
9574 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
9575 { "_wxWindow","_class_wxWindow",0},
9578 static PyObject
*SWIG_globals
;
9582 SWIGEXPORT(void) initwindowsc() {
9584 SWIG_globals
= SWIG_newvarlink();
9585 m
= Py_InitModule("windowsc", windowscMethods
);
9586 d
= PyModule_GetDict(m
);
9589 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
9590 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);