2 * FILE : src/gtk/windows.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
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
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initwindowsc
56 #define SWIG_name "windowsc"
59 #include <wx/menuitem.h>
61 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
65 } else if (target
== Py_None
) {
69 if (!PyList_Check(target
)) {
71 target
= PyList_New(0);
72 PyList_Append(target
, o2
);
75 PyList_Append(target
,o
);
81 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
87 } else if (target
== Py_None
) {
91 if (!PyTuple_Check(target
)) {
93 target
= PyTuple_New(1);
94 PyTuple_SetItem(target
, 0, o2
);
97 PyTuple_SetItem(o3
, 0, o
);
100 target
= PySequence_Concat(o2
, o3
);
107 static char* wxStringErrorMsg
= "string type is required for parameter";
109 static wxString
wxPyEmptyStr("");
111 bool wxValidator_IsSilent() {
112 return wxValidator::IsSilent();
115 void wxValidator_SetBellOnError(int doIt
= TRUE
) {
116 wxValidator::SetBellOnError(doIt
);
119 class wxPyValidator
: public wxValidator
{
120 DECLARE_DYNAMIC_CLASS(wxPyValidator
);
124 // wxPyValidator(const wxPyValidator& other);
129 wxObject
* wxPyValidator::Clone() const {
130 wxPyValidator
* ptr
= NULL
;
131 wxPyValidator
* self
= (wxPyValidator
*)this;
133 bool doSave
= wxPyRestoreThread();
134 if (self
->m_myInst
.findCallback("Clone")) {
136 ro
= self
->m_myInst
.callCallbackObj(Py_BuildValue("()"));
138 SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxPyValidator_p");
142 // This is very dangerous!!! But is the only way I could find
143 // to squash a memory leak. Currently it is okay, but if the
144 // validator architecture in wxWindows ever changes, problems
148 wxPySaveThread(doSave
);
152 DEC_PYCALLBACK_BOOL_WXWIN(Validate
);
153 DEC_PYCALLBACK_BOOL_(TransferToWindow
);
154 DEC_PYCALLBACK_BOOL_(TransferFromWindow
);
160 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
161 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
162 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
164 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
167 wxWindow
* wxWindow_FindFocus() {
168 return wxWindow::FindFocus();
171 int wxWindow_NewControlId() {
172 return wxWindow::NewControlId();
174 int wxWindow_NextControlId(int id
) {
175 return wxWindow::NextControlId(id
);
177 int wxWindow_PrevControlId(int id
) {
178 return wxWindow::PrevControlId(id
);
183 static PyObject
*_wrap_wxValidator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
184 PyObject
* _resultobj
;
186 char *_kwnames
[] = { NULL
};
189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxValidator_IsSilent",_kwnames
))
192 wxPy_BEGIN_ALLOW_THREADS
;
193 _result
= (bool )wxValidator_IsSilent();
195 wxPy_END_ALLOW_THREADS
;
196 } _resultobj
= Py_BuildValue("i",_result
);
200 static PyObject
*_wrap_wxValidator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
201 PyObject
* _resultobj
;
202 int _arg0
= (int ) TRUE
;
203 char *_kwnames
[] = { "doIt", NULL
};
206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxValidator_SetBellOnError",_kwnames
,&_arg0
))
209 wxPy_BEGIN_ALLOW_THREADS
;
210 wxValidator_SetBellOnError(_arg0
);
212 wxPy_END_ALLOW_THREADS
;
213 } Py_INCREF(Py_None
);
214 _resultobj
= Py_None
;
218 static PyObject
*_wrap_wxWindow_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
219 PyObject
* _resultobj
;
221 char *_kwnames
[] = { NULL
};
225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_FindFocus",_kwnames
))
228 wxPy_BEGIN_ALLOW_THREADS
;
229 _result
= (wxWindow
*)wxWindow_FindFocus();
231 wxPy_END_ALLOW_THREADS
;
233 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
234 _resultobj
= Py_BuildValue("s",_ptemp
);
237 _resultobj
= Py_None
;
242 static PyObject
*_wrap_wxWindow_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
243 PyObject
* _resultobj
;
245 char *_kwnames
[] = { NULL
};
248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_NewControlId",_kwnames
))
251 wxPy_BEGIN_ALLOW_THREADS
;
252 _result
= (int )wxWindow_NewControlId();
254 wxPy_END_ALLOW_THREADS
;
255 } _resultobj
= Py_BuildValue("i",_result
);
259 static PyObject
*_wrap_wxWindow_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
260 PyObject
* _resultobj
;
263 char *_kwnames
[] = { "id", NULL
};
266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_NextControlId",_kwnames
,&_arg0
))
269 wxPy_BEGIN_ALLOW_THREADS
;
270 _result
= (int )wxWindow_NextControlId(_arg0
);
272 wxPy_END_ALLOW_THREADS
;
273 } _resultobj
= Py_BuildValue("i",_result
);
277 static PyObject
*_wrap_wxWindow_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
278 PyObject
* _resultobj
;
281 char *_kwnames
[] = { "id", NULL
};
284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_PrevControlId",_kwnames
,&_arg0
))
287 wxPy_BEGIN_ALLOW_THREADS
;
288 _result
= (int )wxWindow_PrevControlId(_arg0
);
290 wxPy_END_ALLOW_THREADS
;
291 } _resultobj
= Py_BuildValue("i",_result
);
295 #define new_wxEvtHandler() (new wxEvtHandler())
296 static PyObject
*_wrap_new_wxEvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
297 PyObject
* _resultobj
;
298 wxEvtHandler
* _result
;
299 char *_kwnames
[] = { NULL
};
303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxEvtHandler",_kwnames
))
306 wxPy_BEGIN_ALLOW_THREADS
;
307 _result
= (wxEvtHandler
*)new_wxEvtHandler();
309 wxPy_END_ALLOW_THREADS
;
311 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
312 _resultobj
= Py_BuildValue("s",_ptemp
);
315 _resultobj
= Py_None
;
320 #define wxEvtHandler_ProcessEvent(_swigobj,_swigarg0) (_swigobj->ProcessEvent(_swigarg0))
321 static PyObject
*_wrap_wxEvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
322 PyObject
* _resultobj
;
324 wxEvtHandler
* _arg0
;
326 PyObject
* _argo0
= 0;
327 PyObject
* _argo1
= 0;
328 char *_kwnames
[] = { "self","event", NULL
};
331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_ProcessEvent",_kwnames
,&_argo0
,&_argo1
))
334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_ProcessEvent. Expected _wxEvtHandler_p.");
341 if (_argo1
== Py_None
) { _arg1
= NULL
; }
342 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_ProcessEvent. Expected _wxEvent_p.");
348 wxPy_BEGIN_ALLOW_THREADS
;
349 _result
= (bool )wxEvtHandler_ProcessEvent(_arg0
,*_arg1
);
351 wxPy_END_ALLOW_THREADS
;
352 } _resultobj
= Py_BuildValue("i",_result
);
356 #define wxEvtHandler_AddPendingEvent(_swigobj,_swigarg0) (_swigobj->AddPendingEvent(_swigarg0))
357 static PyObject
*_wrap_wxEvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
358 PyObject
* _resultobj
;
359 wxEvtHandler
* _arg0
;
361 PyObject
* _argo0
= 0;
362 PyObject
* _argo1
= 0;
363 char *_kwnames
[] = { "self","event", NULL
};
366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_AddPendingEvent",_kwnames
,&_argo0
,&_argo1
))
369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_AddPendingEvent. Expected _wxEvtHandler_p.");
376 if (_argo1
== Py_None
) { _arg1
= NULL
; }
377 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_AddPendingEvent. Expected _wxEvent_p.");
383 wxPy_BEGIN_ALLOW_THREADS
;
384 wxEvtHandler_AddPendingEvent(_arg0
,*_arg1
);
386 wxPy_END_ALLOW_THREADS
;
387 } Py_INCREF(Py_None
);
388 _resultobj
= Py_None
;
392 #define wxEvtHandler_GetEvtHandlerEnabled(_swigobj) (_swigobj->GetEvtHandlerEnabled())
393 static PyObject
*_wrap_wxEvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
394 PyObject
* _resultobj
;
396 wxEvtHandler
* _arg0
;
397 PyObject
* _argo0
= 0;
398 char *_kwnames
[] = { "self", NULL
};
401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetEvtHandlerEnabled",_kwnames
,&_argo0
))
404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
411 wxPy_BEGIN_ALLOW_THREADS
;
412 _result
= (bool )wxEvtHandler_GetEvtHandlerEnabled(_arg0
);
414 wxPy_END_ALLOW_THREADS
;
415 } _resultobj
= Py_BuildValue("i",_result
);
419 #define wxEvtHandler_SetEvtHandlerEnabled(_swigobj,_swigarg0) (_swigobj->SetEvtHandlerEnabled(_swigarg0))
420 static PyObject
*_wrap_wxEvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
421 PyObject
* _resultobj
;
422 wxEvtHandler
* _arg0
;
424 PyObject
* _argo0
= 0;
426 char *_kwnames
[] = { "self","enabled", NULL
};
429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxEvtHandler_SetEvtHandlerEnabled",_kwnames
,&_argo0
,&tempbool1
))
432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
438 _arg1
= (bool ) tempbool1
;
440 wxPy_BEGIN_ALLOW_THREADS
;
441 wxEvtHandler_SetEvtHandlerEnabled(_arg0
,_arg1
);
443 wxPy_END_ALLOW_THREADS
;
444 } Py_INCREF(Py_None
);
445 _resultobj
= Py_None
;
449 #define wxEvtHandler_GetNextHandler(_swigobj) (_swigobj->GetNextHandler())
450 static PyObject
*_wrap_wxEvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
451 PyObject
* _resultobj
;
452 wxEvtHandler
* _result
;
453 wxEvtHandler
* _arg0
;
454 PyObject
* _argo0
= 0;
455 char *_kwnames
[] = { "self", NULL
};
459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetNextHandler",_kwnames
,&_argo0
))
462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetNextHandler. Expected _wxEvtHandler_p.");
469 wxPy_BEGIN_ALLOW_THREADS
;
470 _result
= (wxEvtHandler
*)wxEvtHandler_GetNextHandler(_arg0
);
472 wxPy_END_ALLOW_THREADS
;
474 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
475 _resultobj
= Py_BuildValue("s",_ptemp
);
478 _resultobj
= Py_None
;
483 #define wxEvtHandler_GetPreviousHandler(_swigobj) (_swigobj->GetPreviousHandler())
484 static PyObject
*_wrap_wxEvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
485 PyObject
* _resultobj
;
486 wxEvtHandler
* _result
;
487 wxEvtHandler
* _arg0
;
488 PyObject
* _argo0
= 0;
489 char *_kwnames
[] = { "self", NULL
};
493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetPreviousHandler",_kwnames
,&_argo0
))
496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetPreviousHandler. Expected _wxEvtHandler_p.");
503 wxPy_BEGIN_ALLOW_THREADS
;
504 _result
= (wxEvtHandler
*)wxEvtHandler_GetPreviousHandler(_arg0
);
506 wxPy_END_ALLOW_THREADS
;
508 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
509 _resultobj
= Py_BuildValue("s",_ptemp
);
512 _resultobj
= Py_None
;
517 #define wxEvtHandler_SetNextHandler(_swigobj,_swigarg0) (_swigobj->SetNextHandler(_swigarg0))
518 static PyObject
*_wrap_wxEvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
519 PyObject
* _resultobj
;
520 wxEvtHandler
* _arg0
;
521 wxEvtHandler
* _arg1
;
522 PyObject
* _argo0
= 0;
523 PyObject
* _argo1
= 0;
524 char *_kwnames
[] = { "self","handler", NULL
};
527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetNextHandler",_kwnames
,&_argo0
,&_argo1
))
530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
537 if (_argo1
== Py_None
) { _arg1
= NULL
; }
538 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
544 wxPy_BEGIN_ALLOW_THREADS
;
545 wxEvtHandler_SetNextHandler(_arg0
,_arg1
);
547 wxPy_END_ALLOW_THREADS
;
548 } Py_INCREF(Py_None
);
549 _resultobj
= Py_None
;
553 #define wxEvtHandler_SetPreviousHandler(_swigobj,_swigarg0) (_swigobj->SetPreviousHandler(_swigarg0))
554 static PyObject
*_wrap_wxEvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
555 PyObject
* _resultobj
;
556 wxEvtHandler
* _arg0
;
557 wxEvtHandler
* _arg1
;
558 PyObject
* _argo0
= 0;
559 PyObject
* _argo1
= 0;
560 char *_kwnames
[] = { "self","handler", NULL
};
563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetPreviousHandler",_kwnames
,&_argo0
,&_argo1
))
566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
573 if (_argo1
== Py_None
) { _arg1
= NULL
; }
574 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
580 wxPy_BEGIN_ALLOW_THREADS
;
581 wxEvtHandler_SetPreviousHandler(_arg0
,_arg1
);
583 wxPy_END_ALLOW_THREADS
;
584 } Py_INCREF(Py_None
);
585 _resultobj
= Py_None
;
589 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
* func
) {
590 if (PyCallable_Check(func
)) {
591 self
->Connect(id
, lastId
, eventType
,
592 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
593 new wxPyCallback(func
));
596 static PyObject
*_wrap_wxEvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
597 PyObject
* _resultobj
;
598 wxEvtHandler
* _arg0
;
603 PyObject
* _argo0
= 0;
604 PyObject
* _obj4
= 0;
605 char *_kwnames
[] = { "self","id","lastId","eventType","func", NULL
};
608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiiO:wxEvtHandler_Connect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
621 wxPy_BEGIN_ALLOW_THREADS
;
622 wxEvtHandler_Connect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
624 wxPy_END_ALLOW_THREADS
;
625 } Py_INCREF(Py_None
);
626 _resultobj
= Py_None
;
630 static bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
) {
631 return self
->Disconnect(id
, lastId
, eventType
,
632 (wxObjectEventFunction
)
633 &wxPyCallback::EventThunker
);
635 static PyObject
*_wrap_wxEvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
636 PyObject
* _resultobj
;
638 wxEvtHandler
* _arg0
;
640 int _arg2
= (int ) -1;
641 wxEventType _arg3
= (wxEventType
) wxEVT_NULL
;
642 PyObject
* _argo0
= 0;
643 char *_kwnames
[] = { "self","id","lastId","eventType", NULL
};
646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxEvtHandler_Disconnect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Disconnect. Expected _wxEvtHandler_p.");
656 wxPy_BEGIN_ALLOW_THREADS
;
657 _result
= (bool )wxEvtHandler_Disconnect(_arg0
,_arg1
,_arg2
,_arg3
);
659 wxPy_END_ALLOW_THREADS
;
660 } _resultobj
= Py_BuildValue("i",_result
);
664 static void *SwigwxValidatorTowxEvtHandler(void *ptr
) {
667 src
= (wxValidator
*) ptr
;
668 dest
= (wxEvtHandler
*) src
;
669 return (void *) dest
;
672 #define new_wxValidator() (new wxValidator())
673 static PyObject
*_wrap_new_wxValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
674 PyObject
* _resultobj
;
675 wxValidator
* _result
;
676 char *_kwnames
[] = { NULL
};
680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxValidator",_kwnames
))
683 wxPy_BEGIN_ALLOW_THREADS
;
684 _result
= (wxValidator
*)new_wxValidator();
686 wxPy_END_ALLOW_THREADS
;
688 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
689 _resultobj
= Py_BuildValue("s",_ptemp
);
692 _resultobj
= Py_None
;
697 #define wxValidator_Clone(_swigobj) (_swigobj->Clone())
698 static PyObject
*_wrap_wxValidator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
699 PyObject
* _resultobj
;
700 wxValidator
* _result
;
702 PyObject
* _argo0
= 0;
703 char *_kwnames
[] = { "self", NULL
};
707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_Clone",_kwnames
,&_argo0
))
710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_Clone. Expected _wxValidator_p.");
717 wxPy_BEGIN_ALLOW_THREADS
;
718 _result
= (wxValidator
*)wxValidator_Clone(_arg0
);
720 wxPy_END_ALLOW_THREADS
;
722 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
723 _resultobj
= Py_BuildValue("s",_ptemp
);
726 _resultobj
= Py_None
;
731 #define wxValidator_GetWindow(_swigobj) (_swigobj->GetWindow())
732 static PyObject
*_wrap_wxValidator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
733 PyObject
* _resultobj
;
736 PyObject
* _argo0
= 0;
737 char *_kwnames
[] = { "self", NULL
};
741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_GetWindow",_kwnames
,&_argo0
))
744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_GetWindow. Expected _wxValidator_p.");
751 wxPy_BEGIN_ALLOW_THREADS
;
752 _result
= (wxWindow
*)wxValidator_GetWindow(_arg0
);
754 wxPy_END_ALLOW_THREADS
;
756 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
757 _resultobj
= Py_BuildValue("s",_ptemp
);
760 _resultobj
= Py_None
;
765 #define wxValidator_SetWindow(_swigobj,_swigarg0) (_swigobj->SetWindow(_swigarg0))
766 static PyObject
*_wrap_wxValidator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
767 PyObject
* _resultobj
;
770 PyObject
* _argo0
= 0;
771 PyObject
* _argo1
= 0;
772 char *_kwnames
[] = { "self","window", NULL
};
775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxValidator_SetWindow",_kwnames
,&_argo0
,&_argo1
))
778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_SetWindow. Expected _wxValidator_p.");
785 if (_argo1
== Py_None
) { _arg1
= NULL
; }
786 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxValidator_SetWindow. Expected _wxWindow_p.");
792 wxPy_BEGIN_ALLOW_THREADS
;
793 wxValidator_SetWindow(_arg0
,_arg1
);
795 wxPy_END_ALLOW_THREADS
;
796 } Py_INCREF(Py_None
);
797 _resultobj
= Py_None
;
801 static void *SwigwxPyValidatorTowxValidator(void *ptr
) {
804 src
= (wxPyValidator
*) ptr
;
805 dest
= (wxValidator
*) src
;
806 return (void *) dest
;
809 static void *SwigwxPyValidatorTowxEvtHandler(void *ptr
) {
812 src
= (wxPyValidator
*) ptr
;
813 dest
= (wxEvtHandler
*) src
;
814 return (void *) dest
;
817 #define new_wxPyValidator() (new wxPyValidator())
818 static PyObject
*_wrap_new_wxPyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
819 PyObject
* _resultobj
;
820 wxPyValidator
* _result
;
821 char *_kwnames
[] = { NULL
};
825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyValidator",_kwnames
))
828 wxPy_BEGIN_ALLOW_THREADS
;
829 _result
= (wxPyValidator
*)new_wxPyValidator();
831 wxPy_END_ALLOW_THREADS
;
833 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyValidator_p");
834 _resultobj
= Py_BuildValue("s",_ptemp
);
837 _resultobj
= Py_None
;
842 static void wxPyValidator_Destroy(wxPyValidator
*self
) { delete self
; }
843 static PyObject
*_wrap_wxPyValidator_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
844 PyObject
* _resultobj
;
845 wxPyValidator
* _arg0
;
846 PyObject
* _argo0
= 0;
847 char *_kwnames
[] = { "self", NULL
};
850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyValidator_Destroy",_kwnames
,&_argo0
))
853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyValidator_p")) {
855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyValidator_Destroy. Expected _wxPyValidator_p.");
860 wxPy_BEGIN_ALLOW_THREADS
;
861 wxPyValidator_Destroy(_arg0
);
863 wxPy_END_ALLOW_THREADS
;
864 } Py_INCREF(Py_None
);
865 _resultobj
= Py_None
;
869 #define wxPyValidator__setSelf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->_setSelf(_swigarg0,_swigarg1,_swigarg2))
870 static PyObject
*_wrap_wxPyValidator__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
871 PyObject
* _resultobj
;
872 wxPyValidator
* _arg0
;
875 int _arg3
= (int ) TRUE
;
876 PyObject
* _argo0
= 0;
877 PyObject
* _obj1
= 0;
878 PyObject
* _obj2
= 0;
879 char *_kwnames
[] = { "self","self","_class","incref", NULL
};
882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPyValidator__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
))
885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyValidator_p")) {
887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyValidator__setSelf. Expected _wxPyValidator_p.");
898 wxPy_BEGIN_ALLOW_THREADS
;
899 wxPyValidator__setSelf(_arg0
,_arg1
,_arg2
,_arg3
);
901 wxPy_END_ALLOW_THREADS
;
902 } Py_INCREF(Py_None
);
903 _resultobj
= Py_None
;
907 static void *SwigwxWindowTowxEvtHandler(void *ptr
) {
910 src
= (wxWindow
*) ptr
;
911 dest
= (wxEvtHandler
*) src
;
912 return (void *) dest
;
915 #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
916 static PyObject
*_wrap_new_wxWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
917 PyObject
* _resultobj
;
921 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
922 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
923 long _arg4
= (long ) 0;
924 char * _arg5
= (char *) "panel";
925 PyObject
* _argo0
= 0;
927 PyObject
* _obj2
= 0;
929 PyObject
* _obj3
= 0;
930 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
946 if (! wxPoint_helper(_obj2
, &_arg2
))
952 if (! wxSize_helper(_obj3
, &_arg3
))
956 wxPy_BEGIN_ALLOW_THREADS
;
957 _result
= (wxWindow
*)new_wxWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
959 wxPy_END_ALLOW_THREADS
;
961 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
962 _resultobj
= Py_BuildValue("s",_ptemp
);
965 _resultobj
= Py_None
;
970 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
971 static PyObject
*_wrap_wxWindow_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
972 PyObject
* _resultobj
;
974 PyObject
* _argo0
= 0;
975 char *_kwnames
[] = { "self", NULL
};
978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_CaptureMouse",_kwnames
,&_argo0
))
981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
988 wxPy_BEGIN_ALLOW_THREADS
;
989 wxWindow_CaptureMouse(_arg0
);
991 wxPy_END_ALLOW_THREADS
;
992 } Py_INCREF(Py_None
);
993 _resultobj
= Py_None
;
997 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
998 static PyObject
*_wrap_wxWindow_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
999 PyObject
* _resultobj
;
1001 int _arg1
= (int ) wxBOTH
;
1002 PyObject
* _argo0
= 0;
1003 char *_kwnames
[] = { "self","direction", NULL
};
1006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Center",_kwnames
,&_argo0
,&_arg1
))
1009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
1016 wxPy_BEGIN_ALLOW_THREADS
;
1017 wxWindow_Center(_arg0
,_arg1
);
1019 wxPy_END_ALLOW_THREADS
;
1020 } Py_INCREF(Py_None
);
1021 _resultobj
= Py_None
;
1025 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
1026 static PyObject
*_wrap_wxWindow_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1027 PyObject
* _resultobj
;
1029 int _arg1
= (int ) wxBOTH
;
1030 PyObject
* _argo0
= 0;
1031 char *_kwnames
[] = { "self","direction", NULL
};
1034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Centre",_kwnames
,&_argo0
,&_arg1
))
1037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
1044 wxPy_BEGIN_ALLOW_THREADS
;
1045 wxWindow_Centre(_arg0
,_arg1
);
1047 wxPy_END_ALLOW_THREADS
;
1048 } Py_INCREF(Py_None
);
1049 _resultobj
= Py_None
;
1053 #define wxWindow_CentreOnParent(_swigobj,_swigarg0) (_swigobj->CentreOnParent(_swigarg0))
1054 static PyObject
*_wrap_wxWindow_CentreOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1055 PyObject
* _resultobj
;
1057 int _arg1
= (int ) wxBOTH
;
1058 PyObject
* _argo0
= 0;
1059 char *_kwnames
[] = { "self","direction", NULL
};
1062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnParent",_kwnames
,&_argo0
,&_arg1
))
1065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnParent. Expected _wxWindow_p.");
1072 wxPy_BEGIN_ALLOW_THREADS
;
1073 wxWindow_CentreOnParent(_arg0
,_arg1
);
1075 wxPy_END_ALLOW_THREADS
;
1076 } Py_INCREF(Py_None
);
1077 _resultobj
= Py_None
;
1081 #define wxWindow_CenterOnParent(_swigobj,_swigarg0) (_swigobj->CenterOnParent(_swigarg0))
1082 static PyObject
*_wrap_wxWindow_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1083 PyObject
* _resultobj
;
1085 int _arg1
= (int ) wxBOTH
;
1086 PyObject
* _argo0
= 0;
1087 char *_kwnames
[] = { "self","direction", NULL
};
1090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnParent",_kwnames
,&_argo0
,&_arg1
))
1093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnParent. Expected _wxWindow_p.");
1100 wxPy_BEGIN_ALLOW_THREADS
;
1101 wxWindow_CenterOnParent(_arg0
,_arg1
);
1103 wxPy_END_ALLOW_THREADS
;
1104 } Py_INCREF(Py_None
);
1105 _resultobj
= Py_None
;
1109 #define wxWindow_CentreOnScreen(_swigobj,_swigarg0) (_swigobj->CentreOnScreen(_swigarg0))
1110 static PyObject
*_wrap_wxWindow_CentreOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1111 PyObject
* _resultobj
;
1113 int _arg1
= (int ) wxBOTH
;
1114 PyObject
* _argo0
= 0;
1115 char *_kwnames
[] = { "self","direction", NULL
};
1118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnScreen",_kwnames
,&_argo0
,&_arg1
))
1121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnScreen. Expected _wxWindow_p.");
1128 wxPy_BEGIN_ALLOW_THREADS
;
1129 wxWindow_CentreOnScreen(_arg0
,_arg1
);
1131 wxPy_END_ALLOW_THREADS
;
1132 } Py_INCREF(Py_None
);
1133 _resultobj
= Py_None
;
1137 #define wxWindow_CenterOnScreen(_swigobj,_swigarg0) (_swigobj->CenterOnScreen(_swigarg0))
1138 static PyObject
*_wrap_wxWindow_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1139 PyObject
* _resultobj
;
1141 int _arg1
= (int ) wxBOTH
;
1142 PyObject
* _argo0
= 0;
1143 char *_kwnames
[] = { "self","direction", NULL
};
1146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnScreen",_kwnames
,&_argo0
,&_arg1
))
1149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnScreen. Expected _wxWindow_p.");
1156 wxPy_BEGIN_ALLOW_THREADS
;
1157 wxWindow_CenterOnScreen(_arg0
,_arg1
);
1159 wxPy_END_ALLOW_THREADS
;
1160 } Py_INCREF(Py_None
);
1161 _resultobj
= Py_None
;
1165 #define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
1166 static PyObject
*_wrap_wxWindow_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1167 PyObject
* _resultobj
;
1171 PyObject
* _argo0
= 0;
1173 PyObject
* _obj1
= 0;
1175 PyObject
* _obj2
= 0;
1176 char *_kwnames
[] = { "self","x","y", NULL
};
1179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ClientToScreenXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1182 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1183 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
1189 temp
= (int) PyInt_AsLong(_obj1
);
1193 temp0
= (int) PyInt_AsLong(_obj2
);
1197 wxPy_BEGIN_ALLOW_THREADS
;
1198 wxWindow_ClientToScreenXY(_arg0
,_arg1
,_arg2
);
1200 wxPy_END_ALLOW_THREADS
;
1201 } Py_INCREF(Py_None
);
1202 _resultobj
= Py_None
;
1205 o
= PyInt_FromLong((long) (*_arg1
));
1206 _resultobj
= t_output_helper(_resultobj
, o
);
1210 o
= PyInt_FromLong((long) (*_arg2
));
1211 _resultobj
= t_output_helper(_resultobj
, o
);
1216 #define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
1217 static PyObject
*_wrap_wxWindow_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1218 PyObject
* _resultobj
;
1222 PyObject
* _argo0
= 0;
1224 PyObject
* _obj1
= 0;
1225 char *_kwnames
[] = { "self","pt", NULL
};
1229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ClientToScreen",_kwnames
,&_argo0
,&_obj1
))
1232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
1240 if (! wxPoint_helper(_obj1
, &_arg1
))
1244 wxPy_BEGIN_ALLOW_THREADS
;
1245 _result
= new wxPoint (wxWindow_ClientToScreen(_arg0
,*_arg1
));
1247 wxPy_END_ALLOW_THREADS
;
1248 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1249 _resultobj
= Py_BuildValue("s",_ptemp
);
1253 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
1254 static PyObject
*_wrap_wxWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1255 PyObject
* _resultobj
;
1258 int _arg1
= (int ) FALSE
;
1259 PyObject
* _argo0
= 0;
1260 char *_kwnames
[] = { "self","force", NULL
};
1263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Close",_kwnames
,&_argo0
,&_arg1
))
1266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
1273 wxPy_BEGIN_ALLOW_THREADS
;
1274 _result
= (bool )wxWindow_Close(_arg0
,_arg1
);
1276 wxPy_END_ALLOW_THREADS
;
1277 } _resultobj
= Py_BuildValue("i",_result
);
1281 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
1282 static PyObject
*_wrap_wxWindow_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1283 PyObject
* _resultobj
;
1286 PyObject
* _argo0
= 0;
1287 char *_kwnames
[] = { "self", NULL
};
1290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Destroy",_kwnames
,&_argo0
))
1293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
1300 wxPy_BEGIN_ALLOW_THREADS
;
1301 _result
= (bool )wxWindow_Destroy(_arg0
);
1303 wxPy_END_ALLOW_THREADS
;
1304 } _resultobj
= Py_BuildValue("i",_result
);
1308 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
1309 static PyObject
*_wrap_wxWindow_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1310 PyObject
* _resultobj
;
1312 PyObject
* _argo0
= 0;
1313 char *_kwnames
[] = { "self", NULL
};
1316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_DestroyChildren",_kwnames
,&_argo0
))
1319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
1326 wxPy_BEGIN_ALLOW_THREADS
;
1327 wxWindow_DestroyChildren(_arg0
);
1329 wxPy_END_ALLOW_THREADS
;
1330 } Py_INCREF(Py_None
);
1331 _resultobj
= Py_None
;
1335 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
1336 static PyObject
*_wrap_wxWindow_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1337 PyObject
* _resultobj
;
1340 PyObject
* _argo0
= 0;
1342 char *_kwnames
[] = { "self","enable", NULL
};
1345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Enable",_kwnames
,&_argo0
,&tempbool1
))
1348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
1354 _arg1
= (bool ) tempbool1
;
1356 wxPy_BEGIN_ALLOW_THREADS
;
1357 wxWindow_Enable(_arg0
,_arg1
);
1359 wxPy_END_ALLOW_THREADS
;
1360 } Py_INCREF(Py_None
);
1361 _resultobj
= Py_None
;
1365 #define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1366 static PyObject
*_wrap_wxWindow_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1367 PyObject
* _resultobj
;
1371 PyObject
* _argo0
= 0;
1372 char *_kwnames
[] = { "self","id", NULL
};
1376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_FindWindowById",_kwnames
,&_argo0
,&_arg1
))
1379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
1386 wxPy_BEGIN_ALLOW_THREADS
;
1387 _result
= (wxWindow
*)wxWindow_FindWindowById(_arg0
,_arg1
);
1389 wxPy_END_ALLOW_THREADS
;
1391 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1392 _resultobj
= Py_BuildValue("s",_ptemp
);
1395 _resultobj
= Py_None
;
1400 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1401 static PyObject
*_wrap_wxWindow_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1402 PyObject
* _resultobj
;
1406 PyObject
* _argo0
= 0;
1407 PyObject
* _obj1
= 0;
1408 char *_kwnames
[] = { "self","name", NULL
};
1412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_FindWindowByName",_kwnames
,&_argo0
,&_obj1
))
1415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
1422 #if PYTHON_API_VERSION >= 1009
1423 char* tmpPtr
; int tmpSize
;
1424 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1425 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1428 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1430 _arg1
= new wxString(tmpPtr
, tmpSize
);
1432 if (!PyString_Check(_obj1
)) {
1433 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1436 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1440 wxPy_BEGIN_ALLOW_THREADS
;
1441 _result
= (wxWindow
*)wxWindow_FindWindowByName(_arg0
,*_arg1
);
1443 wxPy_END_ALLOW_THREADS
;
1445 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1446 _resultobj
= Py_BuildValue("s",_ptemp
);
1449 _resultobj
= Py_None
;
1458 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
1459 static PyObject
*_wrap_wxWindow_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1460 PyObject
* _resultobj
;
1462 PyObject
* _argo0
= 0;
1463 char *_kwnames
[] = { "self", NULL
};
1466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Fit",_kwnames
,&_argo0
))
1469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
1476 wxPy_BEGIN_ALLOW_THREADS
;
1477 wxWindow_Fit(_arg0
);
1479 wxPy_END_ALLOW_THREADS
;
1480 } Py_INCREF(Py_None
);
1481 _resultobj
= Py_None
;
1485 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1486 static PyObject
*_wrap_wxWindow_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1487 PyObject
* _resultobj
;
1490 PyObject
* _argo0
= 0;
1491 char *_kwnames
[] = { "self", NULL
};
1495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBackgroundColour",_kwnames
,&_argo0
))
1498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
1505 wxPy_BEGIN_ALLOW_THREADS
;
1506 _result
= new wxColour (wxWindow_GetBackgroundColour(_arg0
));
1508 wxPy_END_ALLOW_THREADS
;
1509 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1510 _resultobj
= Py_BuildValue("s",_ptemp
);
1514 static PyObject
* wxWindow_GetChildren(wxWindow
*self
) {
1515 wxWindowList
& list
= self
->GetChildren();
1516 return wxPy_ConvertList(&list
, "wxWindow");
1518 static PyObject
*_wrap_wxWindow_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1519 PyObject
* _resultobj
;
1522 PyObject
* _argo0
= 0;
1523 char *_kwnames
[] = { "self", NULL
};
1526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetChildren",_kwnames
,&_argo0
))
1529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetChildren. Expected _wxWindow_p.");
1536 wxPy_BEGIN_ALLOW_THREADS
;
1537 _result
= (PyObject
*)wxWindow_GetChildren(_arg0
);
1539 wxPy_END_ALLOW_THREADS
;
1541 _resultobj
= _result
;
1546 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1547 static PyObject
*_wrap_wxWindow_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1548 PyObject
* _resultobj
;
1551 PyObject
* _argo0
= 0;
1552 char *_kwnames
[] = { "self", NULL
};
1555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharHeight",_kwnames
,&_argo0
))
1558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
1565 wxPy_BEGIN_ALLOW_THREADS
;
1566 _result
= (int )wxWindow_GetCharHeight(_arg0
);
1568 wxPy_END_ALLOW_THREADS
;
1569 } _resultobj
= Py_BuildValue("i",_result
);
1573 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1574 static PyObject
*_wrap_wxWindow_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1575 PyObject
* _resultobj
;
1578 PyObject
* _argo0
= 0;
1579 char *_kwnames
[] = { "self", NULL
};
1582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharWidth",_kwnames
,&_argo0
))
1585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
1592 wxPy_BEGIN_ALLOW_THREADS
;
1593 _result
= (int )wxWindow_GetCharWidth(_arg0
);
1595 wxPy_END_ALLOW_THREADS
;
1596 } _resultobj
= Py_BuildValue("i",_result
);
1600 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
1601 static PyObject
*_wrap_wxWindow_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1602 PyObject
* _resultobj
;
1608 PyObject
* _argo0
= 0;
1609 char *_kwnames
[] = { "self", NULL
};
1618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSizeTuple",_kwnames
,&_argo0
))
1621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
1628 wxPy_BEGIN_ALLOW_THREADS
;
1629 wxWindow_GetClientSizeTuple(_arg0
,_arg1
,_arg2
);
1631 wxPy_END_ALLOW_THREADS
;
1632 } Py_INCREF(Py_None
);
1633 _resultobj
= Py_None
;
1636 o
= PyInt_FromLong((long) (*_arg1
));
1637 _resultobj
= t_output_helper(_resultobj
, o
);
1641 o
= PyInt_FromLong((long) (*_arg2
));
1642 _resultobj
= t_output_helper(_resultobj
, o
);
1647 #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
1648 static PyObject
*_wrap_wxWindow_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1649 PyObject
* _resultobj
;
1652 PyObject
* _argo0
= 0;
1653 char *_kwnames
[] = { "self", NULL
};
1657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSize",_kwnames
,&_argo0
))
1660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
1667 wxPy_BEGIN_ALLOW_THREADS
;
1668 _result
= new wxSize (wxWindow_GetClientSize(_arg0
));
1670 wxPy_END_ALLOW_THREADS
;
1671 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1672 _resultobj
= Py_BuildValue("s",_ptemp
);
1676 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
1677 static PyObject
*_wrap_wxWindow_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1678 PyObject
* _resultobj
;
1679 wxLayoutConstraints
* _result
;
1681 PyObject
* _argo0
= 0;
1682 char *_kwnames
[] = { "self", NULL
};
1686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetConstraints",_kwnames
,&_argo0
))
1689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
1696 wxPy_BEGIN_ALLOW_THREADS
;
1697 _result
= (wxLayoutConstraints
*)wxWindow_GetConstraints(_arg0
);
1699 wxPy_END_ALLOW_THREADS
;
1701 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
1702 _resultobj
= Py_BuildValue("s",_ptemp
);
1705 _resultobj
= Py_None
;
1710 #define wxWindow_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
1711 static PyObject
*_wrap_wxWindow_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1712 PyObject
* _resultobj
;
1713 wxEvtHandler
* _result
;
1715 PyObject
* _argo0
= 0;
1716 char *_kwnames
[] = { "self", NULL
};
1720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetEventHandler",_kwnames
,&_argo0
))
1723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetEventHandler. Expected _wxWindow_p.");
1730 wxPy_BEGIN_ALLOW_THREADS
;
1731 _result
= (wxEvtHandler
*)wxWindow_GetEventHandler(_arg0
);
1733 wxPy_END_ALLOW_THREADS
;
1735 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
1736 _resultobj
= Py_BuildValue("s",_ptemp
);
1739 _resultobj
= Py_None
;
1744 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
1745 static PyObject
*_wrap_wxWindow_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1746 PyObject
* _resultobj
;
1749 PyObject
* _argo0
= 0;
1750 char *_kwnames
[] = { "self", NULL
};
1754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetFont",_kwnames
,&_argo0
))
1757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
1764 wxPy_BEGIN_ALLOW_THREADS
;
1765 wxFont
& _result_ref
= wxWindow_GetFont(_arg0
);
1766 _result
= (wxFont
*) &_result_ref
;
1768 wxPy_END_ALLOW_THREADS
;
1770 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1771 _resultobj
= Py_BuildValue("s",_ptemp
);
1774 _resultobj
= Py_None
;
1779 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
1780 static PyObject
*_wrap_wxWindow_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1781 PyObject
* _resultobj
;
1784 PyObject
* _argo0
= 0;
1785 char *_kwnames
[] = { "self", NULL
};
1789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetForegroundColour",_kwnames
,&_argo0
))
1792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
1799 wxPy_BEGIN_ALLOW_THREADS
;
1800 _result
= new wxColour (wxWindow_GetForegroundColour(_arg0
));
1802 wxPy_END_ALLOW_THREADS
;
1803 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1804 _resultobj
= Py_BuildValue("s",_ptemp
);
1808 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
1809 static PyObject
*_wrap_wxWindow_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1810 PyObject
* _resultobj
;
1813 PyObject
* _argo0
= 0;
1814 char *_kwnames
[] = { "self", NULL
};
1818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetGrandParent",_kwnames
,&_argo0
))
1821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
1828 wxPy_BEGIN_ALLOW_THREADS
;
1829 _result
= (wxWindow
*)wxWindow_GetGrandParent(_arg0
);
1831 wxPy_END_ALLOW_THREADS
;
1833 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1834 _resultobj
= Py_BuildValue("s",_ptemp
);
1837 _resultobj
= Py_None
;
1842 static long wxWindow_GetHandle(wxWindow
*self
) {
1843 return wxPyGetWinHandle(self
); //(long)self->GetHandle();
1845 static PyObject
*_wrap_wxWindow_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1846 PyObject
* _resultobj
;
1849 PyObject
* _argo0
= 0;
1850 char *_kwnames
[] = { "self", NULL
};
1853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetHandle",_kwnames
,&_argo0
))
1856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetHandle. Expected _wxWindow_p.");
1863 wxPy_BEGIN_ALLOW_THREADS
;
1864 _result
= (long )wxWindow_GetHandle(_arg0
);
1866 wxPy_END_ALLOW_THREADS
;
1867 } _resultobj
= Py_BuildValue("l",_result
);
1871 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
1872 static PyObject
*_wrap_wxWindow_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1873 PyObject
* _resultobj
;
1876 PyObject
* _argo0
= 0;
1877 char *_kwnames
[] = { "self", NULL
};
1880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetId",_kwnames
,&_argo0
))
1883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
1890 wxPy_BEGIN_ALLOW_THREADS
;
1891 _result
= (int )wxWindow_GetId(_arg0
);
1893 wxPy_END_ALLOW_THREADS
;
1894 } _resultobj
= Py_BuildValue("i",_result
);
1898 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
1899 static PyObject
*_wrap_wxWindow_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1900 PyObject
* _resultobj
;
1903 PyObject
* _argo0
= 0;
1904 char *_kwnames
[] = { "self", NULL
};
1907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetLabel",_kwnames
,&_argo0
))
1910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
1917 wxPy_BEGIN_ALLOW_THREADS
;
1918 _result
= new wxString (wxWindow_GetLabel(_arg0
));
1920 wxPy_END_ALLOW_THREADS
;
1922 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1930 #define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
1931 static PyObject
*_wrap_wxWindow_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1932 PyObject
* _resultobj
;
1935 PyObject
* _argo0
= 0;
1936 PyObject
* _obj1
= 0;
1937 char *_kwnames
[] = { "self","label", NULL
};
1940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetLabel",_kwnames
,&_argo0
,&_obj1
))
1943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
1950 #if PYTHON_API_VERSION >= 1009
1951 char* tmpPtr
; int tmpSize
;
1952 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1953 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1956 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1958 _arg1
= new wxString(tmpPtr
, tmpSize
);
1960 if (!PyString_Check(_obj1
)) {
1961 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1964 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1968 wxPy_BEGIN_ALLOW_THREADS
;
1969 wxWindow_SetLabel(_arg0
,*_arg1
);
1971 wxPy_END_ALLOW_THREADS
;
1972 } Py_INCREF(Py_None
);
1973 _resultobj
= Py_None
;
1981 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
1982 static PyObject
*_wrap_wxWindow_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1983 PyObject
* _resultobj
;
1986 PyObject
* _argo0
= 0;
1987 char *_kwnames
[] = { "self", NULL
};
1990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetName",_kwnames
,&_argo0
))
1993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
2000 wxPy_BEGIN_ALLOW_THREADS
;
2001 _result
= new wxString (wxWindow_GetName(_arg0
));
2003 wxPy_END_ALLOW_THREADS
;
2005 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2013 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
2014 static PyObject
*_wrap_wxWindow_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2015 PyObject
* _resultobj
;
2018 PyObject
* _argo0
= 0;
2019 char *_kwnames
[] = { "self", NULL
};
2023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetParent",_kwnames
,&_argo0
))
2026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
2033 wxPy_BEGIN_ALLOW_THREADS
;
2034 _result
= (wxWindow
*)wxWindow_GetParent(_arg0
);
2036 wxPy_END_ALLOW_THREADS
;
2038 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
2039 _resultobj
= Py_BuildValue("s",_ptemp
);
2042 _resultobj
= Py_None
;
2047 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2048 static PyObject
*_wrap_wxWindow_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2049 PyObject
* _resultobj
;
2055 PyObject
* _argo0
= 0;
2056 char *_kwnames
[] = { "self", NULL
};
2065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPositionTuple",_kwnames
,&_argo0
))
2068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
2075 wxPy_BEGIN_ALLOW_THREADS
;
2076 wxWindow_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2078 wxPy_END_ALLOW_THREADS
;
2079 } Py_INCREF(Py_None
);
2080 _resultobj
= Py_None
;
2083 o
= PyInt_FromLong((long) (*_arg1
));
2084 _resultobj
= t_output_helper(_resultobj
, o
);
2088 o
= PyInt_FromLong((long) (*_arg2
));
2089 _resultobj
= t_output_helper(_resultobj
, o
);
2094 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
2095 static PyObject
*_wrap_wxWindow_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2096 PyObject
* _resultobj
;
2099 PyObject
* _argo0
= 0;
2100 char *_kwnames
[] = { "self", NULL
};
2104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPosition",_kwnames
,&_argo0
))
2107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
2114 wxPy_BEGIN_ALLOW_THREADS
;
2115 _result
= new wxPoint (wxWindow_GetPosition(_arg0
));
2117 wxPy_END_ALLOW_THREADS
;
2118 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2119 _resultobj
= Py_BuildValue("s",_ptemp
);
2123 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
2124 static PyObject
*_wrap_wxWindow_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2125 PyObject
* _resultobj
;
2128 PyObject
* _argo0
= 0;
2129 char *_kwnames
[] = { "self", NULL
};
2133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetRect",_kwnames
,&_argo0
))
2136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
2143 wxPy_BEGIN_ALLOW_THREADS
;
2144 _result
= new wxRect (wxWindow_GetRect(_arg0
));
2146 wxPy_END_ALLOW_THREADS
;
2147 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
2148 _resultobj
= Py_BuildValue("s",_ptemp
);
2152 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
2153 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2154 PyObject
* _resultobj
;
2158 PyObject
* _argo0
= 0;
2159 char *_kwnames
[] = { "self","orientation", NULL
};
2162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollThumb",_kwnames
,&_argo0
,&_arg1
))
2165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
2172 wxPy_BEGIN_ALLOW_THREADS
;
2173 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
2175 wxPy_END_ALLOW_THREADS
;
2176 } _resultobj
= Py_BuildValue("i",_result
);
2180 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
2181 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2182 PyObject
* _resultobj
;
2186 PyObject
* _argo0
= 0;
2187 char *_kwnames
[] = { "self","orientation", NULL
};
2190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollPos",_kwnames
,&_argo0
,&_arg1
))
2193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
2200 wxPy_BEGIN_ALLOW_THREADS
;
2201 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
2203 wxPy_END_ALLOW_THREADS
;
2204 } _resultobj
= Py_BuildValue("i",_result
);
2208 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
2209 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2210 PyObject
* _resultobj
;
2214 PyObject
* _argo0
= 0;
2215 char *_kwnames
[] = { "self","orientation", NULL
};
2218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollRange",_kwnames
,&_argo0
,&_arg1
))
2221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
2228 wxPy_BEGIN_ALLOW_THREADS
;
2229 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
2231 wxPy_END_ALLOW_THREADS
;
2232 } _resultobj
= Py_BuildValue("i",_result
);
2236 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2237 static PyObject
*_wrap_wxWindow_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2238 PyObject
* _resultobj
;
2244 PyObject
* _argo0
= 0;
2245 char *_kwnames
[] = { "self", NULL
};
2254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizeTuple",_kwnames
,&_argo0
))
2257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
2264 wxPy_BEGIN_ALLOW_THREADS
;
2265 wxWindow_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2267 wxPy_END_ALLOW_THREADS
;
2268 } Py_INCREF(Py_None
);
2269 _resultobj
= Py_None
;
2272 o
= PyInt_FromLong((long) (*_arg1
));
2273 _resultobj
= t_output_helper(_resultobj
, o
);
2277 o
= PyInt_FromLong((long) (*_arg2
));
2278 _resultobj
= t_output_helper(_resultobj
, o
);
2283 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
2284 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2285 PyObject
* _resultobj
;
2288 PyObject
* _argo0
= 0;
2289 char *_kwnames
[] = { "self", NULL
};
2293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSize",_kwnames
,&_argo0
))
2296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
2303 wxPy_BEGIN_ALLOW_THREADS
;
2304 _result
= new wxSize (wxWindow_GetSize(_arg0
));
2306 wxPy_END_ALLOW_THREADS
;
2307 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2308 _resultobj
= Py_BuildValue("s",_ptemp
);
2312 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
2313 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2314 PyObject
* _resultobj
;
2321 PyObject
* _argo0
= 0;
2322 PyObject
* _obj1
= 0;
2323 char *_kwnames
[] = { "self","string", NULL
};
2332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
2335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
2342 #if PYTHON_API_VERSION >= 1009
2343 char* tmpPtr
; int tmpSize
;
2344 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2345 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2348 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2350 _arg1
= new wxString(tmpPtr
, tmpSize
);
2352 if (!PyString_Check(_obj1
)) {
2353 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2356 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2360 wxPy_BEGIN_ALLOW_THREADS
;
2361 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
2363 wxPy_END_ALLOW_THREADS
;
2364 } Py_INCREF(Py_None
);
2365 _resultobj
= Py_None
;
2368 o
= PyInt_FromLong((long) (*_arg2
));
2369 _resultobj
= t_output_helper(_resultobj
, o
);
2373 o
= PyInt_FromLong((long) (*_arg3
));
2374 _resultobj
= t_output_helper(_resultobj
, o
);
2383 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2384 static PyObject
*_wrap_wxWindow_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2385 PyObject
* _resultobj
;
2396 wxFont
* _arg6
= (wxFont
*) NULL
;
2397 PyObject
* _argo0
= 0;
2398 PyObject
* _obj1
= 0;
2399 PyObject
* _argo6
= 0;
2400 char *_kwnames
[] = { "self","string","font", NULL
};
2415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxWindow_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
2418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
2425 #if PYTHON_API_VERSION >= 1009
2426 char* tmpPtr
; int tmpSize
;
2427 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2428 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2431 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2433 _arg1
= new wxString(tmpPtr
, tmpSize
);
2435 if (!PyString_Check(_obj1
)) {
2436 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2439 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2443 if (_argo6
== Py_None
) { _arg6
= NULL
; }
2444 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
2445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
2450 wxPy_BEGIN_ALLOW_THREADS
;
2451 wxWindow_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2453 wxPy_END_ALLOW_THREADS
;
2454 } Py_INCREF(Py_None
);
2455 _resultobj
= Py_None
;
2458 o
= PyInt_FromLong((long) (*_arg2
));
2459 _resultobj
= t_output_helper(_resultobj
, o
);
2463 o
= PyInt_FromLong((long) (*_arg3
));
2464 _resultobj
= t_output_helper(_resultobj
, o
);
2468 o
= PyInt_FromLong((long) (*_arg4
));
2469 _resultobj
= t_output_helper(_resultobj
, o
);
2473 o
= PyInt_FromLong((long) (*_arg5
));
2474 _resultobj
= t_output_helper(_resultobj
, o
);
2483 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
2484 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2485 PyObject
* _resultobj
;
2488 PyObject
* _argo0
= 0;
2489 char *_kwnames
[] = { "self", NULL
};
2492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetTitle",_kwnames
,&_argo0
))
2495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
2502 wxPy_BEGIN_ALLOW_THREADS
;
2503 _result
= new wxString (wxWindow_GetTitle(_arg0
));
2505 wxPy_END_ALLOW_THREADS
;
2507 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2515 #define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
2516 static PyObject
*_wrap_wxWindow_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2517 PyObject
* _resultobj
;
2520 PyObject
* _argo0
= 0;
2521 char *_kwnames
[] = { "self", NULL
};
2525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetUpdateRegion",_kwnames
,&_argo0
))
2528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
2535 wxPy_BEGIN_ALLOW_THREADS
;
2536 _result
= new wxRegion (wxWindow_GetUpdateRegion(_arg0
));
2538 wxPy_END_ALLOW_THREADS
;
2539 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRegion_p");
2540 _resultobj
= Py_BuildValue("s",_ptemp
);
2544 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
2545 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2546 PyObject
* _resultobj
;
2549 PyObject
* _argo0
= 0;
2550 char *_kwnames
[] = { "self", NULL
};
2553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetWindowStyleFlag",_kwnames
,&_argo0
))
2556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
2563 wxPy_BEGIN_ALLOW_THREADS
;
2564 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
2566 wxPy_END_ALLOW_THREADS
;
2567 } _resultobj
= Py_BuildValue("l",_result
);
2571 #define wxWindow_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
2572 static PyObject
*_wrap_wxWindow_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2573 PyObject
* _resultobj
;
2576 PyObject
* _argo0
= 0;
2577 char *_kwnames
[] = { "self","style", NULL
};
2580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
2583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetWindowStyleFlag. Expected _wxWindow_p.");
2590 wxPy_BEGIN_ALLOW_THREADS
;
2591 wxWindow_SetWindowStyleFlag(_arg0
,_arg1
);
2593 wxPy_END_ALLOW_THREADS
;
2594 } Py_INCREF(Py_None
);
2595 _resultobj
= Py_None
;
2599 #define wxWindow_SetWindowStyle(_swigobj,_swigarg0) (_swigobj->SetWindowStyle(_swigarg0))
2600 static PyObject
*_wrap_wxWindow_SetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2601 PyObject
* _resultobj
;
2604 PyObject
* _argo0
= 0;
2605 char *_kwnames
[] = { "self","style", NULL
};
2608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyle",_kwnames
,&_argo0
,&_arg1
))
2611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetWindowStyle. Expected _wxWindow_p.");
2618 wxPy_BEGIN_ALLOW_THREADS
;
2619 wxWindow_SetWindowStyle(_arg0
,_arg1
);
2621 wxPy_END_ALLOW_THREADS
;
2622 } Py_INCREF(Py_None
);
2623 _resultobj
= Py_None
;
2627 #define wxWindow_Hide(_swigobj) (_swigobj->Hide())
2628 static PyObject
*_wrap_wxWindow_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2629 PyObject
* _resultobj
;
2632 PyObject
* _argo0
= 0;
2633 char *_kwnames
[] = { "self", NULL
};
2636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Hide",_kwnames
,&_argo0
))
2639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
2646 wxPy_BEGIN_ALLOW_THREADS
;
2647 _result
= (bool )wxWindow_Hide(_arg0
);
2649 wxPy_END_ALLOW_THREADS
;
2650 } _resultobj
= Py_BuildValue("i",_result
);
2654 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
2655 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2656 PyObject
* _resultobj
;
2658 PyObject
* _argo0
= 0;
2659 char *_kwnames
[] = { "self", NULL
};
2662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_InitDialog",_kwnames
,&_argo0
))
2665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
2672 wxPy_BEGIN_ALLOW_THREADS
;
2673 wxWindow_InitDialog(_arg0
);
2675 wxPy_END_ALLOW_THREADS
;
2676 } Py_INCREF(Py_None
);
2677 _resultobj
= Py_None
;
2681 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
2682 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2683 PyObject
* _resultobj
;
2686 PyObject
* _argo0
= 0;
2687 char *_kwnames
[] = { "self", NULL
};
2690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsEnabled",_kwnames
,&_argo0
))
2693 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2694 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
2700 wxPy_BEGIN_ALLOW_THREADS
;
2701 _result
= (bool )wxWindow_IsEnabled(_arg0
);
2703 wxPy_END_ALLOW_THREADS
;
2704 } _resultobj
= Py_BuildValue("i",_result
);
2708 #define wxWindow_IsExposed(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->IsExposed(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2709 static PyObject
*_wrap_wxWindow_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2710 PyObject
* _resultobj
;
2715 int _arg3
= (int ) 0;
2716 int _arg4
= (int ) 0;
2717 PyObject
* _argo0
= 0;
2718 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
2721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxWindow_IsExposed",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposed. Expected _wxWindow_p.");
2731 wxPy_BEGIN_ALLOW_THREADS
;
2732 _result
= (bool )wxWindow_IsExposed(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2734 wxPy_END_ALLOW_THREADS
;
2735 } _resultobj
= Py_BuildValue("i",_result
);
2739 #define wxWindow_IsExposedPoint(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
2740 static PyObject
*_wrap_wxWindow_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2741 PyObject
* _resultobj
;
2745 PyObject
* _argo0
= 0;
2747 PyObject
* _obj1
= 0;
2748 char *_kwnames
[] = { "self","pt", NULL
};
2751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedPoint",_kwnames
,&_argo0
,&_obj1
))
2754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedPoint. Expected _wxWindow_p.");
2762 if (! wxPoint_helper(_obj1
, &_arg1
))
2766 wxPy_BEGIN_ALLOW_THREADS
;
2767 _result
= (bool )wxWindow_IsExposedPoint(_arg0
,*_arg1
);
2769 wxPy_END_ALLOW_THREADS
;
2770 } _resultobj
= Py_BuildValue("i",_result
);
2774 #define wxWindow_IsExposedRect(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
2775 static PyObject
*_wrap_wxWindow_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2776 PyObject
* _resultobj
;
2780 PyObject
* _argo0
= 0;
2782 PyObject
* _obj1
= 0;
2783 char *_kwnames
[] = { "self","rect", NULL
};
2786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedRect",_kwnames
,&_argo0
,&_obj1
))
2789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedRect. Expected _wxWindow_p.");
2797 if (! wxRect_helper(_obj1
, &_arg1
))
2801 wxPy_BEGIN_ALLOW_THREADS
;
2802 _result
= (bool )wxWindow_IsExposedRect(_arg0
,*_arg1
);
2804 wxPy_END_ALLOW_THREADS
;
2805 } _resultobj
= Py_BuildValue("i",_result
);
2809 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
2810 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2811 PyObject
* _resultobj
;
2814 PyObject
* _argo0
= 0;
2815 char *_kwnames
[] = { "self", NULL
};
2818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsRetained",_kwnames
,&_argo0
))
2821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
2828 wxPy_BEGIN_ALLOW_THREADS
;
2829 _result
= (bool )wxWindow_IsRetained(_arg0
);
2831 wxPy_END_ALLOW_THREADS
;
2832 } _resultobj
= Py_BuildValue("i",_result
);
2836 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
2837 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2838 PyObject
* _resultobj
;
2841 PyObject
* _argo0
= 0;
2842 char *_kwnames
[] = { "self", NULL
};
2845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsShown",_kwnames
,&_argo0
))
2848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
2855 wxPy_BEGIN_ALLOW_THREADS
;
2856 _result
= (bool )wxWindow_IsShown(_arg0
);
2858 wxPy_END_ALLOW_THREADS
;
2859 } _resultobj
= Py_BuildValue("i",_result
);
2863 #define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
2864 static PyObject
*_wrap_wxWindow_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2865 PyObject
* _resultobj
;
2868 PyObject
* _argo0
= 0;
2869 char *_kwnames
[] = { "self", NULL
};
2872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsTopLevel",_kwnames
,&_argo0
))
2875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
2882 wxPy_BEGIN_ALLOW_THREADS
;
2883 _result
= (bool )wxWindow_IsTopLevel(_arg0
);
2885 wxPy_END_ALLOW_THREADS
;
2886 } _resultobj
= Py_BuildValue("i",_result
);
2890 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
2891 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2892 PyObject
* _resultobj
;
2894 PyObject
* _argo0
= 0;
2895 char *_kwnames
[] = { "self", NULL
};
2898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Layout",_kwnames
,&_argo0
))
2901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
2908 wxPy_BEGIN_ALLOW_THREADS
;
2909 wxWindow_Layout(_arg0
);
2911 wxPy_END_ALLOW_THREADS
;
2912 } Py_INCREF(Py_None
);
2913 _resultobj
= Py_None
;
2917 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
2918 static PyObject
*_wrap_wxWindow_LoadFromResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2919 PyObject
* _resultobj
;
2924 wxResourceTable
* _arg3
= (wxResourceTable
*) NULL
;
2925 PyObject
* _argo0
= 0;
2926 PyObject
* _argo1
= 0;
2927 PyObject
* _obj2
= 0;
2928 PyObject
* _argo3
= 0;
2929 char *_kwnames
[] = { "self","parent","resourceName","resourceTable", NULL
};
2932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|O:wxWindow_LoadFromResource",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_argo3
))
2935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
2942 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2943 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
2949 #if PYTHON_API_VERSION >= 1009
2950 char* tmpPtr
; int tmpSize
;
2951 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2952 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2955 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2957 _arg2
= new wxString(tmpPtr
, tmpSize
);
2959 if (!PyString_Check(_obj2
)) {
2960 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2963 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2967 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2968 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxResourceTable_p")) {
2969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
2974 wxPy_BEGIN_ALLOW_THREADS
;
2975 _result
= (bool )wxWindow_LoadFromResource(_arg0
,_arg1
,*_arg2
,_arg3
);
2977 wxPy_END_ALLOW_THREADS
;
2978 } _resultobj
= Py_BuildValue("i",_result
);
2986 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
2987 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2988 PyObject
* _resultobj
;
2990 PyObject
* _argo0
= 0;
2991 char *_kwnames
[] = { "self", NULL
};
2994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Lower",_kwnames
,&_argo0
))
2997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
3004 wxPy_BEGIN_ALLOW_THREADS
;
3005 wxWindow_Lower(_arg0
);
3007 wxPy_END_ALLOW_THREADS
;
3008 } Py_INCREF(Py_None
);
3009 _resultobj
= Py_None
;
3013 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
3014 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3015 PyObject
* _resultobj
;
3018 PyObject
* _argo0
= 0;
3020 char *_kwnames
[] = { "self","flag", NULL
};
3023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_MakeModal",_kwnames
,&_argo0
,&tempbool1
))
3026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
3032 _arg1
= (bool ) tempbool1
;
3034 wxPy_BEGIN_ALLOW_THREADS
;
3035 wxWindow_MakeModal(_arg0
,_arg1
);
3037 wxPy_END_ALLOW_THREADS
;
3038 } Py_INCREF(Py_None
);
3039 _resultobj
= Py_None
;
3043 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
3044 static PyObject
*_wrap_wxWindow_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3045 PyObject
* _resultobj
;
3049 PyObject
* _argo0
= 0;
3050 char *_kwnames
[] = { "self","x","y", NULL
};
3053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
3063 wxPy_BEGIN_ALLOW_THREADS
;
3064 wxWindow_MoveXY(_arg0
,_arg1
,_arg2
);
3066 wxPy_END_ALLOW_THREADS
;
3067 } Py_INCREF(Py_None
);
3068 _resultobj
= Py_None
;
3072 #define wxWindow_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3073 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3074 PyObject
* _resultobj
;
3077 PyObject
* _argo0
= 0;
3079 PyObject
* _obj1
= 0;
3080 char *_kwnames
[] = { "self","point", NULL
};
3083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Move",_kwnames
,&_argo0
,&_obj1
))
3086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
3094 if (! wxPoint_helper(_obj1
, &_arg1
))
3098 wxPy_BEGIN_ALLOW_THREADS
;
3099 wxWindow_Move(_arg0
,*_arg1
);
3101 wxPy_END_ALLOW_THREADS
;
3102 } Py_INCREF(Py_None
);
3103 _resultobj
= Py_None
;
3107 #define wxWindow_PopEventHandler(_swigobj,_swigarg0) (_swigobj->PopEventHandler(_swigarg0))
3108 static PyObject
*_wrap_wxWindow_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3109 PyObject
* _resultobj
;
3110 wxEvtHandler
* _result
;
3112 bool _arg1
= (bool ) FALSE
;
3113 PyObject
* _argo0
= 0;
3114 int tempbool1
= (int) FALSE
;
3115 char *_kwnames
[] = { "self","deleteHandler", NULL
};
3119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_PopEventHandler",_kwnames
,&_argo0
,&tempbool1
))
3122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopEventHandler. Expected _wxWindow_p.");
3128 _arg1
= (bool ) tempbool1
;
3130 wxPy_BEGIN_ALLOW_THREADS
;
3131 _result
= (wxEvtHandler
*)wxWindow_PopEventHandler(_arg0
,_arg1
);
3133 wxPy_END_ALLOW_THREADS
;
3135 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
3136 _resultobj
= Py_BuildValue("s",_ptemp
);
3139 _resultobj
= Py_None
;
3144 #define wxWindow_PushEventHandler(_swigobj,_swigarg0) (_swigobj->PushEventHandler(_swigarg0))
3145 static PyObject
*_wrap_wxWindow_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3146 PyObject
* _resultobj
;
3148 wxEvtHandler
* _arg1
;
3149 PyObject
* _argo0
= 0;
3150 PyObject
* _argo1
= 0;
3151 char *_kwnames
[] = { "self","handler", NULL
};
3154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_PushEventHandler",_kwnames
,&_argo0
,&_argo1
))
3157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PushEventHandler. Expected _wxWindow_p.");
3164 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3165 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PushEventHandler. Expected _wxEvtHandler_p.");
3171 wxPy_BEGIN_ALLOW_THREADS
;
3172 wxWindow_PushEventHandler(_arg0
,_arg1
);
3174 wxPy_END_ALLOW_THREADS
;
3175 } Py_INCREF(Py_None
);
3176 _resultobj
= Py_None
;
3180 #define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
3181 static PyObject
*_wrap_wxWindow_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3182 PyObject
* _resultobj
;
3188 PyObject
* _argo0
= 0;
3189 PyObject
* _argo1
= 0;
3190 char *_kwnames
[] = { "self","menu","x","y", NULL
};
3193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxWindow_PopupMenuXY",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
3203 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3204 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
3210 wxPy_BEGIN_ALLOW_THREADS
;
3211 _result
= (bool )wxWindow_PopupMenuXY(_arg0
,_arg1
,_arg2
,_arg3
);
3213 wxPy_END_ALLOW_THREADS
;
3214 } _resultobj
= Py_BuildValue("i",_result
);
3218 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
3219 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3220 PyObject
* _resultobj
;
3225 PyObject
* _argo0
= 0;
3226 PyObject
* _argo1
= 0;
3228 PyObject
* _obj2
= 0;
3229 char *_kwnames
[] = { "self","menu","pos", NULL
};
3232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_PopupMenu",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
3235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
3242 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3243 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
3250 if (! wxPoint_helper(_obj2
, &_arg2
))
3254 wxPy_BEGIN_ALLOW_THREADS
;
3255 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,*_arg2
);
3257 wxPy_END_ALLOW_THREADS
;
3258 } _resultobj
= Py_BuildValue("i",_result
);
3262 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
3263 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3264 PyObject
* _resultobj
;
3266 PyObject
* _argo0
= 0;
3267 char *_kwnames
[] = { "self", NULL
};
3270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Raise",_kwnames
,&_argo0
))
3273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
3280 wxPy_BEGIN_ALLOW_THREADS
;
3281 wxWindow_Raise(_arg0
);
3283 wxPy_END_ALLOW_THREADS
;
3284 } Py_INCREF(Py_None
);
3285 _resultobj
= Py_None
;
3289 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
3290 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3291 PyObject
* _resultobj
;
3293 bool _arg1
= (bool ) TRUE
;
3294 wxRect
* _arg2
= (wxRect
*) NULL
;
3295 PyObject
* _argo0
= 0;
3296 int tempbool1
= (int) TRUE
;
3298 PyObject
* _obj2
= 0;
3299 char *_kwnames
[] = { "self","eraseBackground","rect", NULL
};
3302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxWindow_Refresh",_kwnames
,&_argo0
,&tempbool1
,&_obj2
))
3305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
3311 _arg1
= (bool ) tempbool1
;
3315 if (! wxRect_helper(_obj2
, &_arg2
))
3319 wxPy_BEGIN_ALLOW_THREADS
;
3320 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
3322 wxPy_END_ALLOW_THREADS
;
3323 } Py_INCREF(Py_None
);
3324 _resultobj
= Py_None
;
3328 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
3329 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3330 PyObject
* _resultobj
;
3332 PyObject
* _argo0
= 0;
3333 char *_kwnames
[] = { "self", NULL
};
3336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_ReleaseMouse",_kwnames
,&_argo0
))
3339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
3346 wxPy_BEGIN_ALLOW_THREADS
;
3347 wxWindow_ReleaseMouse(_arg0
);
3349 wxPy_END_ALLOW_THREADS
;
3350 } Py_INCREF(Py_None
);
3351 _resultobj
= Py_None
;
3355 #define wxWindow_RemoveChild(_swigobj,_swigarg0) (_swigobj->RemoveChild(_swigarg0))
3356 static PyObject
*_wrap_wxWindow_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3357 PyObject
* _resultobj
;
3360 PyObject
* _argo0
= 0;
3361 PyObject
* _argo1
= 0;
3362 char *_kwnames
[] = { "self","child", NULL
};
3365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
3368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3375 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3376 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3382 wxPy_BEGIN_ALLOW_THREADS
;
3383 wxWindow_RemoveChild(_arg0
,_arg1
);
3385 wxPy_END_ALLOW_THREADS
;
3386 } Py_INCREF(Py_None
);
3387 _resultobj
= Py_None
;
3391 #define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
3392 static PyObject
*_wrap_wxWindow_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3393 PyObject
* _resultobj
;
3397 PyObject
* _argo0
= 0;
3398 PyObject
* _argo1
= 0;
3399 char *_kwnames
[] = { "self","newParent", NULL
};
3402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Reparent",_kwnames
,&_argo0
,&_argo1
))
3405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
3412 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3413 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
3419 wxPy_BEGIN_ALLOW_THREADS
;
3420 _result
= (bool )wxWindow_Reparent(_arg0
,_arg1
);
3422 wxPy_END_ALLOW_THREADS
;
3423 } _resultobj
= Py_BuildValue("i",_result
);
3427 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
3428 static PyObject
*_wrap_wxWindow_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3429 PyObject
* _resultobj
;
3433 PyObject
* _argo0
= 0;
3435 PyObject
* _obj1
= 0;
3437 PyObject
* _obj2
= 0;
3438 char *_kwnames
[] = { "self","x","y", NULL
};
3441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ScreenToClientXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
3451 temp
= (int) PyInt_AsLong(_obj1
);
3455 temp0
= (int) PyInt_AsLong(_obj2
);
3459 wxPy_BEGIN_ALLOW_THREADS
;
3460 wxWindow_ScreenToClientXY(_arg0
,_arg1
,_arg2
);
3462 wxPy_END_ALLOW_THREADS
;
3463 } Py_INCREF(Py_None
);
3464 _resultobj
= Py_None
;
3467 o
= PyInt_FromLong((long) (*_arg1
));
3468 _resultobj
= t_output_helper(_resultobj
, o
);
3472 o
= PyInt_FromLong((long) (*_arg2
));
3473 _resultobj
= t_output_helper(_resultobj
, o
);
3478 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
3479 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3480 PyObject
* _resultobj
;
3484 PyObject
* _argo0
= 0;
3486 PyObject
* _obj1
= 0;
3487 char *_kwnames
[] = { "self","pt", NULL
};
3491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ScreenToClient",_kwnames
,&_argo0
,&_obj1
))
3494 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3495 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
3502 if (! wxPoint_helper(_obj1
, &_arg1
))
3506 wxPy_BEGIN_ALLOW_THREADS
;
3507 _result
= new wxPoint (wxWindow_ScreenToClient(_arg0
,*_arg1
));
3509 wxPy_END_ALLOW_THREADS
;
3510 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3511 _resultobj
= Py_BuildValue("s",_ptemp
);
3515 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
3516 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3517 PyObject
* _resultobj
;
3521 wxRect
* _arg3
= (wxRect
*) NULL
;
3522 PyObject
* _argo0
= 0;
3524 PyObject
* _obj3
= 0;
3525 char *_kwnames
[] = { "self","dx","dy","rect", NULL
};
3528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|O:wxWindow_ScrollWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
3540 if (! wxRect_helper(_obj3
, &_arg3
))
3544 wxPy_BEGIN_ALLOW_THREADS
;
3545 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
3547 wxPy_END_ALLOW_THREADS
;
3548 } Py_INCREF(Py_None
);
3549 _resultobj
= Py_None
;
3553 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
3554 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3555 PyObject
* _resultobj
;
3557 wxAcceleratorTable
* _arg1
;
3558 PyObject
* _argo0
= 0;
3559 PyObject
* _argo1
= 0;
3560 char *_kwnames
[] = { "self","accel", NULL
};
3563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetAcceleratorTable",_kwnames
,&_argo0
,&_argo1
))
3566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
3573 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3574 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
3575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
3580 wxPy_BEGIN_ALLOW_THREADS
;
3581 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
3583 wxPy_END_ALLOW_THREADS
;
3584 } Py_INCREF(Py_None
);
3585 _resultobj
= Py_None
;
3589 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
3590 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3591 PyObject
* _resultobj
;
3594 PyObject
* _argo0
= 0;
3596 char *_kwnames
[] = { "self","autoLayout", NULL
};
3599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetAutoLayout",_kwnames
,&_argo0
,&tempbool1
))
3602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
3608 _arg1
= (bool ) tempbool1
;
3610 wxPy_BEGIN_ALLOW_THREADS
;
3611 wxWindow_SetAutoLayout(_arg0
,_arg1
);
3613 wxPy_END_ALLOW_THREADS
;
3614 } Py_INCREF(Py_None
);
3615 _resultobj
= Py_None
;
3619 #define wxWindow_GetAutoLayout(_swigobj) (_swigobj->GetAutoLayout())
3620 static PyObject
*_wrap_wxWindow_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3621 PyObject
* _resultobj
;
3624 PyObject
* _argo0
= 0;
3625 char *_kwnames
[] = { "self", NULL
};
3628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAutoLayout",_kwnames
,&_argo0
))
3631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetAutoLayout. Expected _wxWindow_p.");
3638 wxPy_BEGIN_ALLOW_THREADS
;
3639 _result
= (bool )wxWindow_GetAutoLayout(_arg0
);
3641 wxPy_END_ALLOW_THREADS
;
3642 } _resultobj
= Py_BuildValue("i",_result
);
3646 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3647 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3648 PyObject
* _resultobj
;
3651 PyObject
* _argo0
= 0;
3653 PyObject
* _obj1
= 0;
3654 char *_kwnames
[] = { "self","colour", NULL
};
3657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
3668 if (! wxColour_helper(_obj1
, &_arg1
))
3672 wxPy_BEGIN_ALLOW_THREADS
;
3673 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
3675 wxPy_END_ALLOW_THREADS
;
3676 } Py_INCREF(Py_None
);
3677 _resultobj
= Py_None
;
3681 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
3682 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3683 PyObject
* _resultobj
;
3685 wxLayoutConstraints
* _arg1
;
3686 PyObject
* _argo0
= 0;
3687 PyObject
* _argo1
= 0;
3688 char *_kwnames
[] = { "self","constraints", NULL
};
3691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetConstraints",_kwnames
,&_argo0
,&_argo1
))
3694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
3701 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3702 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
3708 wxPy_BEGIN_ALLOW_THREADS
;
3709 wxWindow_SetConstraints(_arg0
,_arg1
);
3711 wxPy_END_ALLOW_THREADS
;
3712 } Py_INCREF(Py_None
);
3713 _resultobj
= Py_None
;
3717 #define wxWindow_UnsetConstraints(_swigobj,_swigarg0) (_swigobj->UnsetConstraints(_swigarg0))
3718 static PyObject
*_wrap_wxWindow_UnsetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3719 PyObject
* _resultobj
;
3721 wxLayoutConstraints
* _arg1
;
3722 PyObject
* _argo0
= 0;
3723 PyObject
* _argo1
= 0;
3724 char *_kwnames
[] = { "self","constraints", NULL
};
3727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_UnsetConstraints",_kwnames
,&_argo0
,&_argo1
))
3730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_UnsetConstraints. Expected _wxWindow_p.");
3737 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3738 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_UnsetConstraints. Expected _wxLayoutConstraints_p.");
3744 wxPy_BEGIN_ALLOW_THREADS
;
3745 wxWindow_UnsetConstraints(_arg0
,_arg1
);
3747 wxPy_END_ALLOW_THREADS
;
3748 } Py_INCREF(Py_None
);
3749 _resultobj
= Py_None
;
3753 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
3754 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3755 PyObject
* _resultobj
;
3757 PyObject
* _argo0
= 0;
3758 char *_kwnames
[] = { "self", NULL
};
3761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_SetFocus",_kwnames
,&_argo0
))
3764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
3771 wxPy_BEGIN_ALLOW_THREADS
;
3772 wxWindow_SetFocus(_arg0
);
3774 wxPy_END_ALLOW_THREADS
;
3775 } Py_INCREF(Py_None
);
3776 _resultobj
= Py_None
;
3780 #define wxWindow_AcceptsFocus(_swigobj) (_swigobj->AcceptsFocus())
3781 static PyObject
*_wrap_wxWindow_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3782 PyObject
* _resultobj
;
3785 PyObject
* _argo0
= 0;
3786 char *_kwnames
[] = { "self", NULL
};
3789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_AcceptsFocus",_kwnames
,&_argo0
))
3792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_AcceptsFocus. Expected _wxWindow_p.");
3799 wxPy_BEGIN_ALLOW_THREADS
;
3800 _result
= (bool )wxWindow_AcceptsFocus(_arg0
);
3802 wxPy_END_ALLOW_THREADS
;
3803 } _resultobj
= Py_BuildValue("i",_result
);
3807 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
3808 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3809 PyObject
* _resultobj
;
3812 PyObject
* _argo0
= 0;
3813 PyObject
* _argo1
= 0;
3814 char *_kwnames
[] = { "self","font", NULL
};
3817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetFont",_kwnames
,&_argo0
,&_argo1
))
3820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
3827 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3828 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
3829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
3834 wxPy_BEGIN_ALLOW_THREADS
;
3835 wxWindow_SetFont(_arg0
,*_arg1
);
3837 wxPy_END_ALLOW_THREADS
;
3838 } Py_INCREF(Py_None
);
3839 _resultobj
= Py_None
;
3843 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
3844 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3845 PyObject
* _resultobj
;
3848 PyObject
* _argo0
= 0;
3850 PyObject
* _obj1
= 0;
3851 char *_kwnames
[] = { "self","colour", NULL
};
3854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
3857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
3865 if (! wxColour_helper(_obj1
, &_arg1
))
3869 wxPy_BEGIN_ALLOW_THREADS
;
3870 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
3872 wxPy_END_ALLOW_THREADS
;
3873 } Py_INCREF(Py_None
);
3874 _resultobj
= Py_None
;
3878 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
3879 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3880 PyObject
* _resultobj
;
3883 PyObject
* _argo0
= 0;
3884 char *_kwnames
[] = { "self","id", NULL
};
3887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetId",_kwnames
,&_argo0
,&_arg1
))
3890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
3897 wxPy_BEGIN_ALLOW_THREADS
;
3898 wxWindow_SetId(_arg0
,_arg1
);
3900 wxPy_END_ALLOW_THREADS
;
3901 } Py_INCREF(Py_None
);
3902 _resultobj
= Py_None
;
3906 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
3907 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3908 PyObject
* _resultobj
;
3911 PyObject
* _argo0
= 0;
3912 PyObject
* _obj1
= 0;
3913 char *_kwnames
[] = { "self","name", NULL
};
3916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetName",_kwnames
,&_argo0
,&_obj1
))
3919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
3926 #if PYTHON_API_VERSION >= 1009
3927 char* tmpPtr
; int tmpSize
;
3928 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3929 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
3932 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3934 _arg1
= new wxString(tmpPtr
, tmpSize
);
3936 if (!PyString_Check(_obj1
)) {
3937 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3940 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3944 wxPy_BEGIN_ALLOW_THREADS
;
3945 wxWindow_SetName(_arg0
,*_arg1
);
3947 wxPy_END_ALLOW_THREADS
;
3948 } Py_INCREF(Py_None
);
3949 _resultobj
= Py_None
;
3957 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3958 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3959 PyObject
* _resultobj
;
3965 int _arg5
= (int ) TRUE
;
3966 PyObject
* _argo0
= 0;
3967 char *_kwnames
[] = { "self","orientation","position","thumbSize","range","refresh", NULL
};
3970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
3980 wxPy_BEGIN_ALLOW_THREADS
;
3981 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3983 wxPy_END_ALLOW_THREADS
;
3984 } Py_INCREF(Py_None
);
3985 _resultobj
= Py_None
;
3989 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
3990 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3991 PyObject
* _resultobj
;
3995 bool _arg3
= (bool ) TRUE
;
3996 PyObject
* _argo0
= 0;
3997 int tempbool3
= (int) TRUE
;
3998 char *_kwnames
[] = { "self","orientation","pos","refresh", NULL
};
4001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_SetScrollPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
4004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
4010 _arg3
= (bool ) tempbool3
;
4012 wxPy_BEGIN_ALLOW_THREADS
;
4013 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
4015 wxPy_END_ALLOW_THREADS
;
4016 } Py_INCREF(Py_None
);
4017 _resultobj
= Py_None
;
4021 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4022 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4023 PyObject
* _resultobj
;
4029 int _arg5
= (int ) wxSIZE_AUTO
;
4030 PyObject
* _argo0
= 0;
4031 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
4034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetDimensions",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
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_SetDimensions. Expected _wxWindow_p.");
4044 wxPy_BEGIN_ALLOW_THREADS
;
4045 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4047 wxPy_END_ALLOW_THREADS
;
4048 } Py_INCREF(Py_None
);
4049 _resultobj
= Py_None
;
4053 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
4054 self
->SetSize(size
);
4056 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4057 PyObject
* _resultobj
;
4060 PyObject
* _argo0
= 0;
4062 PyObject
* _obj1
= 0;
4063 char *_kwnames
[] = { "self","size", NULL
};
4066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSize",_kwnames
,&_argo0
,&_obj1
))
4069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
4077 if (! wxSize_helper(_obj1
, &_arg1
))
4081 wxPy_BEGIN_ALLOW_THREADS
;
4082 wxWindow_SetSize(_arg0
,*_arg1
);
4084 wxPy_END_ALLOW_THREADS
;
4085 } Py_INCREF(Py_None
);
4086 _resultobj
= Py_None
;
4090 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
) {
4093 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4094 PyObject
* _resultobj
;
4097 PyObject
* _argo0
= 0;
4099 PyObject
* _obj1
= 0;
4100 char *_kwnames
[] = { "self","pos", NULL
};
4103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetPosition",_kwnames
,&_argo0
,&_obj1
))
4106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
4114 if (! wxPoint_helper(_obj1
, &_arg1
))
4118 wxPy_BEGIN_ALLOW_THREADS
;
4119 wxWindow_SetPosition(_arg0
,*_arg1
);
4121 wxPy_END_ALLOW_THREADS
;
4122 } Py_INCREF(Py_None
);
4123 _resultobj
= Py_None
;
4127 static void wxWindow_SetRect(wxWindow
*self
,const wxRect
& rect
,int sizeFlags
) {
4128 self
->SetSize(rect
, sizeFlags
);
4130 static PyObject
*_wrap_wxWindow_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4131 PyObject
* _resultobj
;
4134 int _arg2
= (int ) wxSIZE_AUTO
;
4135 PyObject
* _argo0
= 0;
4137 PyObject
* _obj1
= 0;
4138 char *_kwnames
[] = { "self","rect","sizeFlags", NULL
};
4141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetRect",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetRect. Expected _wxWindow_p.");
4152 if (! wxRect_helper(_obj1
, &_arg1
))
4156 wxPy_BEGIN_ALLOW_THREADS
;
4157 wxWindow_SetRect(_arg0
,*_arg1
,_arg2
);
4159 wxPy_END_ALLOW_THREADS
;
4160 } Py_INCREF(Py_None
);
4161 _resultobj
= Py_None
;
4165 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4166 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4167 PyObject
* _resultobj
;
4169 int _arg1
= (int ) -1;
4170 int _arg2
= (int ) -1;
4171 int _arg3
= (int ) -1;
4172 int _arg4
= (int ) -1;
4173 int _arg5
= (int ) -1;
4174 int _arg6
= (int ) -1;
4175 PyObject
* _argo0
= 0;
4176 char *_kwnames
[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL
};
4179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iiiiii:wxWindow_SetSizeHints",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4182 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4183 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
4189 wxPy_BEGIN_ALLOW_THREADS
;
4190 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4192 wxPy_END_ALLOW_THREADS
;
4193 } Py_INCREF(Py_None
);
4194 _resultobj
= Py_None
;
4198 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
4199 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4200 PyObject
* _resultobj
;
4204 PyObject
* _argo0
= 0;
4205 char *_kwnames
[] = { "self","width","height", NULL
};
4208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_SetClientSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
4218 wxPy_BEGIN_ALLOW_THREADS
;
4219 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
4221 wxPy_END_ALLOW_THREADS
;
4222 } Py_INCREF(Py_None
);
4223 _resultobj
= Py_None
;
4227 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
4228 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4229 PyObject
* _resultobj
;
4232 PyObject
* _argo0
= 0;
4234 PyObject
* _obj1
= 0;
4235 char *_kwnames
[] = { "self","size", NULL
};
4238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetClientSize",_kwnames
,&_argo0
,&_obj1
))
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_SetClientSize. Expected _wxWindow_p.");
4249 if (! wxSize_helper(_obj1
, &_arg1
))
4253 wxPy_BEGIN_ALLOW_THREADS
;
4254 wxWindow_SetClientSize(_arg0
,*_arg1
);
4256 wxPy_END_ALLOW_THREADS
;
4257 } Py_INCREF(Py_None
);
4258 _resultobj
= Py_None
;
4262 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
4263 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4264 PyObject
* _resultobj
;
4267 PyObject
* _argo0
= 0;
4268 PyObject
* _argo1
= 0;
4269 char *_kwnames
[] = { "self","cursor", NULL
};
4272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCursor",_kwnames
,&_argo0
,&_argo1
))
4275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
4282 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4283 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
4284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
4289 wxPy_BEGIN_ALLOW_THREADS
;
4290 wxWindow_SetCursor(_arg0
,*_arg1
);
4292 wxPy_END_ALLOW_THREADS
;
4293 } Py_INCREF(Py_None
);
4294 _resultobj
= Py_None
;
4298 #define wxWindow_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
4299 static PyObject
*_wrap_wxWindow_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4300 PyObject
* _resultobj
;
4302 wxEvtHandler
* _arg1
;
4303 PyObject
* _argo0
= 0;
4304 PyObject
* _argo1
= 0;
4305 char *_kwnames
[] = { "self","handler", NULL
};
4308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
4311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetEventHandler. Expected _wxWindow_p.");
4318 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4319 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetEventHandler. Expected _wxEvtHandler_p.");
4325 wxPy_BEGIN_ALLOW_THREADS
;
4326 wxWindow_SetEventHandler(_arg0
,_arg1
);
4328 wxPy_END_ALLOW_THREADS
;
4329 } Py_INCREF(Py_None
);
4330 _resultobj
= Py_None
;
4334 #define wxWindow_SetExtraStyle(_swigobj,_swigarg0) (_swigobj->SetExtraStyle(_swigarg0))
4335 static PyObject
*_wrap_wxWindow_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4336 PyObject
* _resultobj
;
4339 PyObject
* _argo0
= 0;
4340 char *_kwnames
[] = { "self","exStyle", NULL
};
4343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetExtraStyle",_kwnames
,&_argo0
,&_arg1
))
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_SetExtraStyle. Expected _wxWindow_p.");
4353 wxPy_BEGIN_ALLOW_THREADS
;
4354 wxWindow_SetExtraStyle(_arg0
,_arg1
);
4356 wxPy_END_ALLOW_THREADS
;
4357 } Py_INCREF(Py_None
);
4358 _resultobj
= Py_None
;
4362 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4363 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4364 PyObject
* _resultobj
;
4367 PyObject
* _argo0
= 0;
4368 PyObject
* _obj1
= 0;
4369 char *_kwnames
[] = { "self","title", NULL
};
4372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
4382 #if PYTHON_API_VERSION >= 1009
4383 char* tmpPtr
; int tmpSize
;
4384 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4385 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
4388 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4390 _arg1
= new wxString(tmpPtr
, tmpSize
);
4392 if (!PyString_Check(_obj1
)) {
4393 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4396 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4400 wxPy_BEGIN_ALLOW_THREADS
;
4401 wxWindow_SetTitle(_arg0
,*_arg1
);
4403 wxPy_END_ALLOW_THREADS
;
4404 } Py_INCREF(Py_None
);
4405 _resultobj
= Py_None
;
4413 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4414 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4415 PyObject
* _resultobj
;
4419 PyObject
* _argo0
= 0;
4421 char *_kwnames
[] = { "self","show", NULL
};
4424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
4427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
4433 _arg1
= (bool ) tempbool1
;
4435 wxPy_BEGIN_ALLOW_THREADS
;
4436 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
4438 wxPy_END_ALLOW_THREADS
;
4439 } _resultobj
= Py_BuildValue("i",_result
);
4443 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
4444 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4445 PyObject
* _resultobj
;
4448 PyObject
* _argo0
= 0;
4449 char *_kwnames
[] = { "self", NULL
};
4452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataFromWindow",_kwnames
,&_argo0
))
4455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
4462 wxPy_BEGIN_ALLOW_THREADS
;
4463 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
4465 wxPy_END_ALLOW_THREADS
;
4466 } _resultobj
= Py_BuildValue("i",_result
);
4470 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
4471 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4472 PyObject
* _resultobj
;
4475 PyObject
* _argo0
= 0;
4476 char *_kwnames
[] = { "self", NULL
};
4479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataToWindow",_kwnames
,&_argo0
))
4482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
4489 wxPy_BEGIN_ALLOW_THREADS
;
4490 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
4492 wxPy_END_ALLOW_THREADS
;
4493 } _resultobj
= Py_BuildValue("i",_result
);
4497 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
4498 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4499 PyObject
* _resultobj
;
4502 PyObject
* _argo0
= 0;
4503 char *_kwnames
[] = { "self", NULL
};
4506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Validate",_kwnames
,&_argo0
))
4509 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4510 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
4516 wxPy_BEGIN_ALLOW_THREADS
;
4517 _result
= (bool )wxWindow_Validate(_arg0
);
4519 wxPy_END_ALLOW_THREADS
;
4520 } _resultobj
= Py_BuildValue("i",_result
);
4524 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
4525 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4526 PyObject
* _resultobj
;
4530 PyObject
* _argo0
= 0;
4531 char *_kwnames
[] = { "self","x","y", NULL
};
4534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_WarpPointer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
4544 wxPy_BEGIN_ALLOW_THREADS
;
4545 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
4547 wxPy_END_ALLOW_THREADS
;
4548 } Py_INCREF(Py_None
);
4549 _resultobj
= Py_None
;
4553 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4554 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4555 PyObject
* _resultobj
;
4559 PyObject
* _argo0
= 0;
4561 PyObject
* _obj1
= 0;
4562 char *_kwnames
[] = { "self","pt", NULL
};
4566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames
,&_argo0
,&_obj1
))
4569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
4577 if (! wxPoint_helper(_obj1
, &_arg1
))
4581 wxPy_BEGIN_ALLOW_THREADS
;
4582 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
4584 wxPy_END_ALLOW_THREADS
;
4585 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4586 _resultobj
= Py_BuildValue("s",_ptemp
);
4590 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4591 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4592 PyObject
* _resultobj
;
4596 PyObject
* _argo0
= 0;
4598 PyObject
* _obj1
= 0;
4599 char *_kwnames
[] = { "self","sz", NULL
};
4603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames
,&_argo0
,&_obj1
))
4606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
4614 if (! wxSize_helper(_obj1
, &_arg1
))
4618 wxPy_BEGIN_ALLOW_THREADS
;
4619 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
4621 wxPy_END_ALLOW_THREADS
;
4622 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4623 _resultobj
= Py_BuildValue("s",_ptemp
);
4627 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4628 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4629 PyObject
* _resultobj
;
4633 PyObject
* _argo0
= 0;
4635 PyObject
* _obj1
= 0;
4636 char *_kwnames
[] = { "self","pt", NULL
};
4640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames
,&_argo0
,&_obj1
))
4643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
4651 if (! wxPoint_helper(_obj1
, &_arg1
))
4655 wxPy_BEGIN_ALLOW_THREADS
;
4656 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
4658 wxPy_END_ALLOW_THREADS
;
4659 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4660 _resultobj
= Py_BuildValue("s",_ptemp
);
4664 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4665 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4666 PyObject
* _resultobj
;
4670 PyObject
* _argo0
= 0;
4672 PyObject
* _obj1
= 0;
4673 char *_kwnames
[] = { "self","sz", NULL
};
4677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames
,&_argo0
,&_obj1
))
4680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
4688 if (! wxSize_helper(_obj1
, &_arg1
))
4692 wxPy_BEGIN_ALLOW_THREADS
;
4693 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
4695 wxPy_END_ALLOW_THREADS
;
4696 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4697 _resultobj
= Py_BuildValue("s",_ptemp
);
4701 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4702 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4703 PyObject
* _resultobj
;
4706 PyObject
* _argo0
= 0;
4707 PyObject
* _obj1
= 0;
4708 char *_kwnames
[] = { "self","tip", NULL
};
4711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTipString",_kwnames
,&_argo0
,&_obj1
))
4714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
4721 #if PYTHON_API_VERSION >= 1009
4722 char* tmpPtr
; int tmpSize
;
4723 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4724 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
4727 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4729 _arg1
= new wxString(tmpPtr
, tmpSize
);
4731 if (!PyString_Check(_obj1
)) {
4732 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4735 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4739 wxPy_BEGIN_ALLOW_THREADS
;
4740 wxWindow_SetToolTipString(_arg0
,*_arg1
);
4742 wxPy_END_ALLOW_THREADS
;
4743 } Py_INCREF(Py_None
);
4744 _resultobj
= Py_None
;
4752 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4753 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4754 PyObject
* _resultobj
;
4757 PyObject
* _argo0
= 0;
4758 PyObject
* _argo1
= 0;
4759 char *_kwnames
[] = { "self","tooltip", NULL
};
4762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTip",_kwnames
,&_argo0
,&_argo1
))
4765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
4772 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4773 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolTip_p")) {
4774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
4779 wxPy_BEGIN_ALLOW_THREADS
;
4780 wxWindow_SetToolTip(_arg0
,_arg1
);
4782 wxPy_END_ALLOW_THREADS
;
4783 } Py_INCREF(Py_None
);
4784 _resultobj
= Py_None
;
4788 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
4789 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4790 PyObject
* _resultobj
;
4791 wxToolTip
* _result
;
4793 PyObject
* _argo0
= 0;
4794 char *_kwnames
[] = { "self", NULL
};
4798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetToolTip",_kwnames
,&_argo0
))
4801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
4808 wxPy_BEGIN_ALLOW_THREADS
;
4809 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
4811 wxPy_END_ALLOW_THREADS
;
4813 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
4814 _resultobj
= Py_BuildValue("s",_ptemp
);
4817 _resultobj
= Py_None
;
4822 #define wxWindow_SetSizer(_swigobj,_swigarg0) (_swigobj->SetSizer(_swigarg0))
4823 static PyObject
*_wrap_wxWindow_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4824 PyObject
* _resultobj
;
4827 PyObject
* _argo0
= 0;
4828 PyObject
* _argo1
= 0;
4829 char *_kwnames
[] = { "self","sizer", NULL
};
4832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSizer",_kwnames
,&_argo0
,&_argo1
))
4835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizer. Expected _wxWindow_p.");
4842 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4843 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
4844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSizer. Expected _wxSizer_p.");
4849 wxPy_BEGIN_ALLOW_THREADS
;
4850 wxWindow_SetSizer(_arg0
,_arg1
);
4852 wxPy_END_ALLOW_THREADS
;
4853 } Py_INCREF(Py_None
);
4854 _resultobj
= Py_None
;
4858 #define wxWindow_GetSizer(_swigobj) (_swigobj->GetSizer())
4859 static PyObject
*_wrap_wxWindow_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4860 PyObject
* _resultobj
;
4863 PyObject
* _argo0
= 0;
4864 char *_kwnames
[] = { "self", NULL
};
4868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizer",_kwnames
,&_argo0
))
4871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizer. Expected _wxWindow_p.");
4878 wxPy_BEGIN_ALLOW_THREADS
;
4879 _result
= (wxSizer
*)wxWindow_GetSizer(_arg0
);
4881 wxPy_END_ALLOW_THREADS
;
4883 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSizer_p");
4884 _resultobj
= Py_BuildValue("s",_ptemp
);
4887 _resultobj
= Py_None
;
4892 #define wxWindow_GetValidator(_swigobj) (_swigobj->GetValidator())
4893 static PyObject
*_wrap_wxWindow_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4894 PyObject
* _resultobj
;
4895 wxValidator
* _result
;
4897 PyObject
* _argo0
= 0;
4898 char *_kwnames
[] = { "self", NULL
};
4902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetValidator",_kwnames
,&_argo0
))
4905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetValidator. Expected _wxWindow_p.");
4912 wxPy_BEGIN_ALLOW_THREADS
;
4913 _result
= (wxValidator
*)wxWindow_GetValidator(_arg0
);
4915 wxPy_END_ALLOW_THREADS
;
4917 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
4918 _resultobj
= Py_BuildValue("s",_ptemp
);
4921 _resultobj
= Py_None
;
4926 #define wxWindow_SetValidator(_swigobj,_swigarg0) (_swigobj->SetValidator(_swigarg0))
4927 static PyObject
*_wrap_wxWindow_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4928 PyObject
* _resultobj
;
4930 wxValidator
* _arg1
;
4931 PyObject
* _argo0
= 0;
4932 PyObject
* _argo1
= 0;
4933 char *_kwnames
[] = { "self","validator", NULL
};
4936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetValidator",_kwnames
,&_argo0
,&_argo1
))
4939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetValidator. Expected _wxWindow_p.");
4946 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4947 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxValidator_p")) {
4948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetValidator. Expected _wxValidator_p.");
4953 wxPy_BEGIN_ALLOW_THREADS
;
4954 wxWindow_SetValidator(_arg0
,*_arg1
);
4956 wxPy_END_ALLOW_THREADS
;
4957 } Py_INCREF(Py_None
);
4958 _resultobj
= Py_None
;
4962 #define wxWindow_SetDropTarget(_swigobj,_swigarg0) (_swigobj->SetDropTarget(_swigarg0))
4963 static PyObject
*_wrap_wxWindow_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4964 PyObject
* _resultobj
;
4966 wxDropTarget
* _arg1
;
4967 PyObject
* _argo0
= 0;
4968 PyObject
* _argo1
= 0;
4969 char *_kwnames
[] = { "self","target", NULL
};
4972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetDropTarget",_kwnames
,&_argo0
,&_argo1
))
4975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDropTarget. Expected _wxWindow_p.");
4982 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4983 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDropTarget_p")) {
4984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetDropTarget. Expected _wxDropTarget_p.");
4989 wxPy_BEGIN_ALLOW_THREADS
;
4990 wxWindow_SetDropTarget(_arg0
,_arg1
);
4992 wxPy_END_ALLOW_THREADS
;
4993 } Py_INCREF(Py_None
);
4994 _resultobj
= Py_None
;
4998 #define wxWindow_GetDropTarget(_swigobj) (_swigobj->GetDropTarget())
4999 static PyObject
*_wrap_wxWindow_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5000 PyObject
* _resultobj
;
5001 wxDropTarget
* _result
;
5003 PyObject
* _argo0
= 0;
5004 char *_kwnames
[] = { "self", NULL
};
5008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetDropTarget",_kwnames
,&_argo0
))
5011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetDropTarget. Expected _wxWindow_p.");
5018 wxPy_BEGIN_ALLOW_THREADS
;
5019 _result
= (wxDropTarget
*)wxWindow_GetDropTarget(_arg0
);
5021 wxPy_END_ALLOW_THREADS
;
5023 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDropTarget_p");
5024 _resultobj
= Py_BuildValue("s",_ptemp
);
5027 _resultobj
= Py_None
;
5032 #define wxWindow_GetBestSize(_swigobj) (_swigobj->GetBestSize())
5033 static PyObject
*_wrap_wxWindow_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5034 PyObject
* _resultobj
;
5037 PyObject
* _argo0
= 0;
5038 char *_kwnames
[] = { "self", NULL
};
5042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBestSize",_kwnames
,&_argo0
))
5045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBestSize. Expected _wxWindow_p.");
5052 wxPy_BEGIN_ALLOW_THREADS
;
5053 _result
= new wxSize (wxWindow_GetBestSize(_arg0
));
5055 wxPy_END_ALLOW_THREADS
;
5056 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5057 _resultobj
= Py_BuildValue("s",_ptemp
);
5061 #define wxWindow_SetCaret(_swigobj,_swigarg0) (_swigobj->SetCaret(_swigarg0))
5062 static PyObject
*_wrap_wxWindow_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5063 PyObject
* _resultobj
;
5066 PyObject
* _argo0
= 0;
5067 PyObject
* _argo1
= 0;
5068 char *_kwnames
[] = { "self","caret", NULL
};
5071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCaret",_kwnames
,&_argo0
,&_argo1
))
5074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCaret. Expected _wxWindow_p.");
5081 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5082 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCaret_p")) {
5083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCaret. Expected _wxCaret_p.");
5088 wxPy_BEGIN_ALLOW_THREADS
;
5089 wxWindow_SetCaret(_arg0
,_arg1
);
5091 wxPy_END_ALLOW_THREADS
;
5092 } Py_INCREF(Py_None
);
5093 _resultobj
= Py_None
;
5097 #define wxWindow_GetCaret(_swigobj) (_swigobj->GetCaret())
5098 static PyObject
*_wrap_wxWindow_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5099 PyObject
* _resultobj
;
5102 PyObject
* _argo0
= 0;
5103 char *_kwnames
[] = { "self", NULL
};
5107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCaret",_kwnames
,&_argo0
))
5110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCaret. Expected _wxWindow_p.");
5117 wxPy_BEGIN_ALLOW_THREADS
;
5118 _result
= (wxCaret
*)wxWindow_GetCaret(_arg0
);
5120 wxPy_END_ALLOW_THREADS
;
5122 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
5123 _resultobj
= Py_BuildValue("s",_ptemp
);
5126 _resultobj
= Py_None
;
5131 static void *SwigwxPanelTowxWindow(void *ptr
) {
5134 src
= (wxPanel
*) ptr
;
5135 dest
= (wxWindow
*) src
;
5136 return (void *) dest
;
5139 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
5142 src
= (wxPanel
*) ptr
;
5143 dest
= (wxEvtHandler
*) src
;
5144 return (void *) dest
;
5147 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5148 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5149 PyObject
* _resultobj
;
5153 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5154 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5155 long _arg4
= (long ) wxTAB_TRAVERSAL
;
5156 char * _arg5
= (char *) "panel";
5157 PyObject
* _argo0
= 0;
5159 PyObject
* _obj2
= 0;
5161 PyObject
* _obj3
= 0;
5162 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
5166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxPanel",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
5169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
5178 if (! wxPoint_helper(_obj2
, &_arg2
))
5184 if (! wxSize_helper(_obj3
, &_arg3
))
5188 wxPy_BEGIN_ALLOW_THREADS
;
5189 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
5191 wxPy_END_ALLOW_THREADS
;
5193 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
5194 _resultobj
= Py_BuildValue("s",_ptemp
);
5197 _resultobj
= Py_None
;
5202 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
5203 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5204 PyObject
* _resultobj
;
5206 PyObject
* _argo0
= 0;
5207 char *_kwnames
[] = { "self", NULL
};
5210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_InitDialog",_kwnames
,&_argo0
))
5213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
5215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
5220 wxPy_BEGIN_ALLOW_THREADS
;
5221 wxPanel_InitDialog(_arg0
);
5223 wxPy_END_ALLOW_THREADS
;
5224 } Py_INCREF(Py_None
);
5225 _resultobj
= Py_None
;
5229 #define wxPanel_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
5230 static PyObject
*_wrap_wxPanel_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5231 PyObject
* _resultobj
;
5234 PyObject
* _argo0
= 0;
5235 char *_kwnames
[] = { "self", NULL
};
5239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_GetDefaultItem",_kwnames
,&_argo0
))
5242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
5244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_GetDefaultItem. Expected _wxPanel_p.");
5249 wxPy_BEGIN_ALLOW_THREADS
;
5250 _result
= (wxButton
*)wxPanel_GetDefaultItem(_arg0
);
5252 wxPy_END_ALLOW_THREADS
;
5254 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
5255 _resultobj
= Py_BuildValue("s",_ptemp
);
5258 _resultobj
= Py_None
;
5263 #define wxPanel_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
5264 static PyObject
*_wrap_wxPanel_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5265 PyObject
* _resultobj
;
5268 PyObject
* _argo0
= 0;
5269 PyObject
* _argo1
= 0;
5270 char *_kwnames
[] = { "self","btn", NULL
};
5273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPanel_SetDefaultItem",_kwnames
,&_argo0
,&_argo1
))
5276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
5278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_SetDefaultItem. Expected _wxPanel_p.");
5283 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5284 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxButton_p")) {
5285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPanel_SetDefaultItem. Expected _wxButton_p.");
5290 wxPy_BEGIN_ALLOW_THREADS
;
5291 wxPanel_SetDefaultItem(_arg0
,_arg1
);
5293 wxPy_END_ALLOW_THREADS
;
5294 } Py_INCREF(Py_None
);
5295 _resultobj
= Py_None
;
5299 static void *SwigwxDialogTowxPanel(void *ptr
) {
5302 src
= (wxDialog
*) ptr
;
5303 dest
= (wxPanel
*) src
;
5304 return (void *) dest
;
5307 static void *SwigwxDialogTowxWindow(void *ptr
) {
5310 src
= (wxDialog
*) ptr
;
5311 dest
= (wxWindow
*) src
;
5312 return (void *) dest
;
5315 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
5318 src
= (wxDialog
*) ptr
;
5319 dest
= (wxEvtHandler
*) src
;
5320 return (void *) dest
;
5323 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5324 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5325 PyObject
* _resultobj
;
5330 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5331 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5332 long _arg5
= (long ) wxDEFAULT_DIALOG_STYLE
;
5333 char * _arg6
= (char *) "dialogBox";
5334 PyObject
* _argo0
= 0;
5335 PyObject
* _obj2
= 0;
5337 PyObject
* _obj3
= 0;
5339 PyObject
* _obj4
= 0;
5340 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
5344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxDialog",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
5347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
5354 #if PYTHON_API_VERSION >= 1009
5355 char* tmpPtr
; int tmpSize
;
5356 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5357 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5360 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5362 _arg2
= new wxString(tmpPtr
, tmpSize
);
5364 if (!PyString_Check(_obj2
)) {
5365 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5368 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5374 if (! wxPoint_helper(_obj3
, &_arg3
))
5380 if (! wxSize_helper(_obj4
, &_arg4
))
5384 wxPy_BEGIN_ALLOW_THREADS
;
5385 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
5387 wxPy_END_ALLOW_THREADS
;
5389 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
5390 _resultobj
= Py_BuildValue("s",_ptemp
);
5393 _resultobj
= Py_None
;
5402 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
5403 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5404 PyObject
* _resultobj
;
5406 int _arg1
= (int ) wxBOTH
;
5407 PyObject
* _argo0
= 0;
5408 char *_kwnames
[] = { "self","direction", NULL
};
5411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDialog_Centre",_kwnames
,&_argo0
,&_arg1
))
5414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
5421 wxPy_BEGIN_ALLOW_THREADS
;
5422 wxDialog_Centre(_arg0
,_arg1
);
5424 wxPy_END_ALLOW_THREADS
;
5425 } Py_INCREF(Py_None
);
5426 _resultobj
= Py_None
;
5430 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
5431 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5432 PyObject
* _resultobj
;
5435 PyObject
* _argo0
= 0;
5436 char *_kwnames
[] = { "self","retCode", NULL
};
5439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_EndModal",_kwnames
,&_argo0
,&_arg1
))
5442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
5449 wxPy_BEGIN_ALLOW_THREADS
;
5450 wxDialog_EndModal(_arg0
,_arg1
);
5452 wxPy_END_ALLOW_THREADS
;
5453 } Py_INCREF(Py_None
);
5454 _resultobj
= Py_None
;
5458 #define wxDialog_GetTitle(_swigobj) (_swigobj->GetTitle())
5459 static PyObject
*_wrap_wxDialog_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5460 PyObject
* _resultobj
;
5463 PyObject
* _argo0
= 0;
5464 char *_kwnames
[] = { "self", NULL
};
5467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetTitle",_kwnames
,&_argo0
))
5470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetTitle. Expected _wxDialog_p.");
5477 wxPy_BEGIN_ALLOW_THREADS
;
5478 _result
= new wxString (wxDialog_GetTitle(_arg0
));
5480 wxPy_END_ALLOW_THREADS
;
5482 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5490 #define wxDialog_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
5491 static PyObject
*_wrap_wxDialog_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5492 PyObject
* _resultobj
;
5495 PyObject
* _argo0
= 0;
5497 char *_kwnames
[] = { "self","iconize", NULL
};
5500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Iconize",_kwnames
,&_argo0
,&tempbool1
))
5503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Iconize. Expected _wxDialog_p.");
5509 _arg1
= (bool ) tempbool1
;
5511 wxPy_BEGIN_ALLOW_THREADS
;
5512 wxDialog_Iconize(_arg0
,_arg1
);
5514 wxPy_END_ALLOW_THREADS
;
5515 } Py_INCREF(Py_None
);
5516 _resultobj
= Py_None
;
5520 #define wxDialog_IsIconized(_swigobj) (_swigobj->IsIconized())
5521 static PyObject
*_wrap_wxDialog_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5522 PyObject
* _resultobj
;
5525 PyObject
* _argo0
= 0;
5526 char *_kwnames
[] = { "self", NULL
};
5529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsIconized",_kwnames
,&_argo0
))
5532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsIconized. Expected _wxDialog_p.");
5539 wxPy_BEGIN_ALLOW_THREADS
;
5540 _result
= (bool )wxDialog_IsIconized(_arg0
);
5542 wxPy_END_ALLOW_THREADS
;
5543 } _resultobj
= Py_BuildValue("i",_result
);
5547 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
5548 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5549 PyObject
* _resultobj
;
5552 PyObject
* _argo0
= 0;
5554 char *_kwnames
[] = { "self","flag", NULL
};
5557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetModal",_kwnames
,&_argo0
,&tempbool1
))
5560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
5566 _arg1
= (bool ) tempbool1
;
5568 wxPy_BEGIN_ALLOW_THREADS
;
5569 wxDialog_SetModal(_arg0
,_arg1
);
5571 wxPy_END_ALLOW_THREADS
;
5572 } Py_INCREF(Py_None
);
5573 _resultobj
= Py_None
;
5577 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
5578 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5579 PyObject
* _resultobj
;
5582 PyObject
* _argo0
= 0;
5583 char *_kwnames
[] = { "self", NULL
};
5586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsModal",_kwnames
,&_argo0
))
5589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
5596 wxPy_BEGIN_ALLOW_THREADS
;
5597 _result
= (bool )wxDialog_IsModal(_arg0
);
5599 wxPy_END_ALLOW_THREADS
;
5600 } _resultobj
= Py_BuildValue("i",_result
);
5604 #define wxDialog_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
5605 static PyObject
*_wrap_wxDialog_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5606 PyObject
* _resultobj
;
5609 PyObject
* _argo0
= 0;
5610 PyObject
* _obj1
= 0;
5611 char *_kwnames
[] = { "self","title", NULL
};
5614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDialog_SetTitle",_kwnames
,&_argo0
,&_obj1
))
5617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetTitle. Expected _wxDialog_p.");
5624 #if PYTHON_API_VERSION >= 1009
5625 char* tmpPtr
; int tmpSize
;
5626 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5627 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5630 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5632 _arg1
= new wxString(tmpPtr
, tmpSize
);
5634 if (!PyString_Check(_obj1
)) {
5635 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5638 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5642 wxPy_BEGIN_ALLOW_THREADS
;
5643 wxDialog_SetTitle(_arg0
,*_arg1
);
5645 wxPy_END_ALLOW_THREADS
;
5646 } Py_INCREF(Py_None
);
5647 _resultobj
= Py_None
;
5655 #define wxDialog_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5656 static PyObject
*_wrap_wxDialog_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5657 PyObject
* _resultobj
;
5661 PyObject
* _argo0
= 0;
5663 char *_kwnames
[] = { "self","show", NULL
};
5666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Show",_kwnames
,&_argo0
,&tempbool1
))
5669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Show. Expected _wxDialog_p.");
5675 _arg1
= (bool ) tempbool1
;
5677 wxPy_BEGIN_ALLOW_THREADS
;
5678 _result
= (bool )wxDialog_Show(_arg0
,_arg1
);
5680 wxPy_END_ALLOW_THREADS
;
5681 } _resultobj
= Py_BuildValue("i",_result
);
5685 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
5686 static PyObject
*_wrap_wxDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5687 PyObject
* _resultobj
;
5690 PyObject
* _argo0
= 0;
5691 char *_kwnames
[] = { "self", NULL
};
5694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_ShowModal",_kwnames
,&_argo0
))
5697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
5704 wxPy_BEGIN_ALLOW_THREADS
;
5705 _result
= (int )wxDialog_ShowModal(_arg0
);
5707 wxPy_END_ALLOW_THREADS
;
5708 } _resultobj
= Py_BuildValue("i",_result
);
5712 #define wxDialog_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
5713 static PyObject
*_wrap_wxDialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5714 PyObject
* _resultobj
;
5717 PyObject
* _argo0
= 0;
5718 char *_kwnames
[] = { "self", NULL
};
5721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetReturnCode",_kwnames
,&_argo0
))
5724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetReturnCode. Expected _wxDialog_p.");
5731 wxPy_BEGIN_ALLOW_THREADS
;
5732 _result
= (int )wxDialog_GetReturnCode(_arg0
);
5734 wxPy_END_ALLOW_THREADS
;
5735 } _resultobj
= Py_BuildValue("i",_result
);
5739 #define wxDialog_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
5740 static PyObject
*_wrap_wxDialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5741 PyObject
* _resultobj
;
5744 PyObject
* _argo0
= 0;
5745 char *_kwnames
[] = { "self","retCode", NULL
};
5748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetReturnCode",_kwnames
,&_argo0
,&_arg1
))
5751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetReturnCode. Expected _wxDialog_p.");
5758 wxPy_BEGIN_ALLOW_THREADS
;
5759 wxDialog_SetReturnCode(_arg0
,_arg1
);
5761 wxPy_END_ALLOW_THREADS
;
5762 } Py_INCREF(Py_None
);
5763 _resultobj
= Py_None
;
5767 static void *SwigwxScrolledWindowTowxPanel(void *ptr
) {
5768 wxScrolledWindow
*src
;
5770 src
= (wxScrolledWindow
*) ptr
;
5771 dest
= (wxPanel
*) src
;
5772 return (void *) dest
;
5775 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
5776 wxScrolledWindow
*src
;
5778 src
= (wxScrolledWindow
*) ptr
;
5779 dest
= (wxWindow
*) src
;
5780 return (void *) dest
;
5783 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
5784 wxScrolledWindow
*src
;
5786 src
= (wxScrolledWindow
*) ptr
;
5787 dest
= (wxEvtHandler
*) src
;
5788 return (void *) dest
;
5791 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5792 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5793 PyObject
* _resultobj
;
5794 wxScrolledWindow
* _result
;
5796 wxWindowID _arg1
= (wxWindowID
) -1;
5797 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5798 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5799 long _arg4
= (long ) wxHSCROLL
|wxVSCROLL
;
5800 char * _arg5
= (char *) "scrolledWindow";
5801 PyObject
* _argo0
= 0;
5803 PyObject
* _obj2
= 0;
5805 PyObject
* _obj3
= 0;
5806 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
5810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxScrolledWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
5813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
5822 if (! wxPoint_helper(_obj2
, &_arg2
))
5828 if (! wxSize_helper(_obj3
, &_arg3
))
5832 wxPy_BEGIN_ALLOW_THREADS
;
5833 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
5835 wxPy_END_ALLOW_THREADS
;
5837 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
5838 _resultobj
= Py_BuildValue("s",_ptemp
);
5841 _resultobj
= Py_None
;
5846 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
5847 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5848 PyObject
* _resultobj
;
5849 wxScrolledWindow
* _arg0
;
5852 PyObject
* _argo0
= 0;
5855 char *_kwnames
[] = { "self","xScrolling","yScrolling", NULL
};
5858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_EnableScrolling",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
5861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
5867 _arg1
= (bool ) tempbool1
;
5868 _arg2
= (bool ) tempbool2
;
5870 wxPy_BEGIN_ALLOW_THREADS
;
5871 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
5873 wxPy_END_ALLOW_THREADS
;
5874 } Py_INCREF(Py_None
);
5875 _resultobj
= Py_None
;
5879 #define wxScrolledWindow_GetScrollPageSize(_swigobj,_swigarg0) (_swigobj->GetScrollPageSize(_swigarg0))
5880 static PyObject
*_wrap_wxScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5881 PyObject
* _resultobj
;
5883 wxScrolledWindow
* _arg0
;
5885 PyObject
* _argo0
= 0;
5886 char *_kwnames
[] = { "self","orient", NULL
};
5889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrolledWindow_GetScrollPageSize",_kwnames
,&_argo0
,&_arg1
))
5892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPageSize. Expected _wxScrolledWindow_p.");
5899 wxPy_BEGIN_ALLOW_THREADS
;
5900 _result
= (int )wxScrolledWindow_GetScrollPageSize(_arg0
,_arg1
);
5902 wxPy_END_ALLOW_THREADS
;
5903 } _resultobj
= Py_BuildValue("i",_result
);
5907 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
5908 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5909 PyObject
* _resultobj
;
5910 wxScrolledWindow
* _arg0
;
5915 PyObject
* _argo0
= 0;
5916 char *_kwnames
[] = { "self", NULL
};
5925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames
,&_argo0
))
5928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
5935 wxPy_BEGIN_ALLOW_THREADS
;
5936 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
5938 wxPy_END_ALLOW_THREADS
;
5939 } Py_INCREF(Py_None
);
5940 _resultobj
= Py_None
;
5943 o
= PyInt_FromLong((long) (*_arg1
));
5944 _resultobj
= t_output_helper(_resultobj
, o
);
5948 o
= PyInt_FromLong((long) (*_arg2
));
5949 _resultobj
= t_output_helper(_resultobj
, o
);
5954 #define wxScrolledWindow_GetTargetWindow(_swigobj) (_swigobj->GetTargetWindow())
5955 static PyObject
*_wrap_wxScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5956 PyObject
* _resultobj
;
5958 wxScrolledWindow
* _arg0
;
5959 PyObject
* _argo0
= 0;
5960 char *_kwnames
[] = { "self", NULL
};
5964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetTargetWindow",_kwnames
,&_argo0
))
5967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetTargetWindow. Expected _wxScrolledWindow_p.");
5974 wxPy_BEGIN_ALLOW_THREADS
;
5975 _result
= (wxWindow
*)wxScrolledWindow_GetTargetWindow(_arg0
);
5977 wxPy_END_ALLOW_THREADS
;
5979 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
5980 _resultobj
= Py_BuildValue("s",_ptemp
);
5983 _resultobj
= Py_None
;
5988 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
5989 static PyObject
*_wrap_wxScrolledWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5990 PyObject
* _resultobj
;
5991 wxScrolledWindow
* _arg0
;
5996 PyObject
* _argo0
= 0;
5997 char *_kwnames
[] = { "self", NULL
};
6006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetVirtualSize",_kwnames
,&_argo0
))
6009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
6016 wxPy_BEGIN_ALLOW_THREADS
;
6017 wxScrolledWindow_GetVirtualSize(_arg0
,_arg1
,_arg2
);
6019 wxPy_END_ALLOW_THREADS
;
6020 } Py_INCREF(Py_None
);
6021 _resultobj
= Py_None
;
6024 o
= PyInt_FromLong((long) (*_arg1
));
6025 _resultobj
= t_output_helper(_resultobj
, o
);
6029 o
= PyInt_FromLong((long) (*_arg2
));
6030 _resultobj
= t_output_helper(_resultobj
, o
);
6035 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
6036 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6037 PyObject
* _resultobj
;
6039 wxScrolledWindow
* _arg0
;
6040 PyObject
* _argo0
= 0;
6041 char *_kwnames
[] = { "self", NULL
};
6044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_IsRetained",_kwnames
,&_argo0
))
6047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
6054 wxPy_BEGIN_ALLOW_THREADS
;
6055 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
6057 wxPy_END_ALLOW_THREADS
;
6058 } _resultobj
= Py_BuildValue("i",_result
);
6062 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
6063 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6064 PyObject
* _resultobj
;
6065 wxScrolledWindow
* _arg0
;
6067 PyObject
* _argo0
= 0;
6068 PyObject
* _argo1
= 0;
6069 char *_kwnames
[] = { "self","dc", NULL
};
6072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_PrepareDC",_kwnames
,&_argo0
,&_argo1
))
6075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
6082 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6083 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
6089 wxPy_BEGIN_ALLOW_THREADS
;
6090 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
6092 wxPy_END_ALLOW_THREADS
;
6093 } Py_INCREF(Py_None
);
6094 _resultobj
= Py_None
;
6098 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
6099 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6100 PyObject
* _resultobj
;
6101 wxScrolledWindow
* _arg0
;
6104 PyObject
* _argo0
= 0;
6105 char *_kwnames
[] = { "self","x","y", NULL
};
6108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_Scroll",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
6118 wxPy_BEGIN_ALLOW_THREADS
;
6119 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
6121 wxPy_END_ALLOW_THREADS
;
6122 } Py_INCREF(Py_None
);
6123 _resultobj
= Py_None
;
6127 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6128 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6129 PyObject
* _resultobj
;
6130 wxScrolledWindow
* _arg0
;
6135 int _arg5
= (int ) 0;
6136 int _arg6
= (int ) 0;
6137 int _arg7
= (int ) FALSE
;
6138 PyObject
* _argo0
= 0;
6139 char *_kwnames
[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos","noRefresh", NULL
};
6142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|iii:wxScrolledWindow_SetScrollbars",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&_arg7
))
6145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
6152 wxPy_BEGIN_ALLOW_THREADS
;
6153 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
6155 wxPy_END_ALLOW_THREADS
;
6156 } Py_INCREF(Py_None
);
6157 _resultobj
= Py_None
;
6161 #define wxScrolledWindow_SetScrollPageSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScrollPageSize(_swigarg0,_swigarg1))
6162 static PyObject
*_wrap_wxScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6163 PyObject
* _resultobj
;
6164 wxScrolledWindow
* _arg0
;
6167 PyObject
* _argo0
= 0;
6168 char *_kwnames
[] = { "self","orient","pageSize", NULL
};
6171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_SetScrollPageSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollPageSize. Expected _wxScrolledWindow_p.");
6181 wxPy_BEGIN_ALLOW_THREADS
;
6182 wxScrolledWindow_SetScrollPageSize(_arg0
,_arg1
,_arg2
);
6184 wxPy_END_ALLOW_THREADS
;
6185 } Py_INCREF(Py_None
);
6186 _resultobj
= Py_None
;
6190 #define wxScrolledWindow_SetTargetWindow(_swigobj,_swigarg0) (_swigobj->SetTargetWindow(_swigarg0))
6191 static PyObject
*_wrap_wxScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6192 PyObject
* _resultobj
;
6193 wxScrolledWindow
* _arg0
;
6195 PyObject
* _argo0
= 0;
6196 PyObject
* _argo1
= 0;
6197 char *_kwnames
[] = { "self","window", NULL
};
6200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_SetTargetWindow",_kwnames
,&_argo0
,&_argo1
))
6203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetTargetWindow. Expected _wxScrolledWindow_p.");
6210 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6211 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_SetTargetWindow. Expected _wxWindow_p.");
6217 wxPy_BEGIN_ALLOW_THREADS
;
6218 wxScrolledWindow_SetTargetWindow(_arg0
,_arg1
);
6220 wxPy_END_ALLOW_THREADS
;
6221 } Py_INCREF(Py_None
);
6222 _resultobj
= Py_None
;
6226 #define wxScrolledWindow_GetViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetViewStart(_swigarg0,_swigarg1))
6227 static PyObject
*_wrap_wxScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6228 PyObject
* _resultobj
;
6229 wxScrolledWindow
* _arg0
;
6234 PyObject
* _argo0
= 0;
6235 char *_kwnames
[] = { "self", NULL
};
6244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetViewStart",_kwnames
,&_argo0
))
6247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetViewStart. Expected _wxScrolledWindow_p.");
6254 wxPy_BEGIN_ALLOW_THREADS
;
6255 wxScrolledWindow_GetViewStart(_arg0
,_arg1
,_arg2
);
6257 wxPy_END_ALLOW_THREADS
;
6258 } Py_INCREF(Py_None
);
6259 _resultobj
= Py_None
;
6262 o
= PyInt_FromLong((long) (*_arg1
));
6263 _resultobj
= t_output_helper(_resultobj
, o
);
6267 o
= PyInt_FromLong((long) (*_arg2
));
6268 _resultobj
= t_output_helper(_resultobj
, o
);
6273 #define wxScrolledWindow_ViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->ViewStart(_swigarg0,_swigarg1))
6274 static PyObject
*_wrap_wxScrolledWindow_ViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6275 PyObject
* _resultobj
;
6276 wxScrolledWindow
* _arg0
;
6281 PyObject
* _argo0
= 0;
6282 char *_kwnames
[] = { "self", NULL
};
6291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_ViewStart",_kwnames
,&_argo0
))
6294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_ViewStart. Expected _wxScrolledWindow_p.");
6301 wxPy_BEGIN_ALLOW_THREADS
;
6302 wxScrolledWindow_ViewStart(_arg0
,_arg1
,_arg2
);
6304 wxPy_END_ALLOW_THREADS
;
6305 } Py_INCREF(Py_None
);
6306 _resultobj
= Py_None
;
6309 o
= PyInt_FromLong((long) (*_arg1
));
6310 _resultobj
= t_output_helper(_resultobj
, o
);
6314 o
= PyInt_FromLong((long) (*_arg2
));
6315 _resultobj
= t_output_helper(_resultobj
, o
);
6320 #define wxScrolledWindow_CalcScrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcScrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6321 static PyObject
*_wrap_wxScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6322 PyObject
* _resultobj
;
6323 wxScrolledWindow
* _arg0
;
6330 PyObject
* _argo0
= 0;
6331 char *_kwnames
[] = { "self","x","y", NULL
};
6340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcScrolledPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition. Expected _wxScrolledWindow_p.");
6350 wxPy_BEGIN_ALLOW_THREADS
;
6351 wxScrolledWindow_CalcScrolledPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6353 wxPy_END_ALLOW_THREADS
;
6354 } Py_INCREF(Py_None
);
6355 _resultobj
= Py_None
;
6358 o
= PyInt_FromLong((long) (*_arg3
));
6359 _resultobj
= t_output_helper(_resultobj
, o
);
6363 o
= PyInt_FromLong((long) (*_arg4
));
6364 _resultobj
= t_output_helper(_resultobj
, o
);
6369 #define wxScrolledWindow_CalcUnscrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcUnscrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6370 static PyObject
*_wrap_wxScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6371 PyObject
* _resultobj
;
6372 wxScrolledWindow
* _arg0
;
6379 PyObject
* _argo0
= 0;
6380 char *_kwnames
[] = { "self","x","y", NULL
};
6389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcUnscrolledPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition. Expected _wxScrolledWindow_p.");
6399 wxPy_BEGIN_ALLOW_THREADS
;
6400 wxScrolledWindow_CalcUnscrolledPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6402 wxPy_END_ALLOW_THREADS
;
6403 } Py_INCREF(Py_None
);
6404 _resultobj
= Py_None
;
6407 o
= PyInt_FromLong((long) (*_arg3
));
6408 _resultobj
= t_output_helper(_resultobj
, o
);
6412 o
= PyInt_FromLong((long) (*_arg4
));
6413 _resultobj
= t_output_helper(_resultobj
, o
);
6418 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
6421 src
= (wxMenu
*) ptr
;
6422 dest
= (wxEvtHandler
*) src
;
6423 return (void *) dest
;
6426 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
6427 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6428 PyObject
* _resultobj
;
6430 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
6431 long _arg1
= (long ) 0;
6432 PyObject
* _obj0
= 0;
6433 char *_kwnames
[] = { "title","style", NULL
};
6437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Ol:new_wxMenu",_kwnames
,&_obj0
,&_arg1
))
6441 #if PYTHON_API_VERSION >= 1009
6442 char* tmpPtr
; int tmpSize
;
6443 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
6444 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
6447 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
6449 _arg0
= new wxString(tmpPtr
, tmpSize
);
6451 if (!PyString_Check(_obj0
)) {
6452 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6455 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
6459 wxPy_BEGIN_ALLOW_THREADS
;
6460 _result
= (wxMenu
*)new_wxMenu(*_arg0
,_arg1
);
6462 wxPy_END_ALLOW_THREADS
;
6464 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
6465 _resultobj
= Py_BuildValue("s",_ptemp
);
6468 _resultobj
= Py_None
;
6477 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6478 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6479 PyObject
* _resultobj
;
6483 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
6484 int _arg4
= (int ) FALSE
;
6485 PyObject
* _argo0
= 0;
6486 PyObject
* _obj2
= 0;
6487 PyObject
* _obj3
= 0;
6488 char *_kwnames
[] = { "self","id","item","helpString","checkable", NULL
};
6491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Append",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
6494 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6495 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
6501 #if PYTHON_API_VERSION >= 1009
6502 char* tmpPtr
; int tmpSize
;
6503 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6504 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
6507 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6509 _arg2
= new wxString(tmpPtr
, tmpSize
);
6511 if (!PyString_Check(_obj2
)) {
6512 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6515 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6520 #if PYTHON_API_VERSION >= 1009
6521 char* tmpPtr
; int tmpSize
;
6522 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
6523 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
6526 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
6528 _arg3
= new wxString(tmpPtr
, tmpSize
);
6530 if (!PyString_Check(_obj3
)) {
6531 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6534 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
6538 wxPy_BEGIN_ALLOW_THREADS
;
6539 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
6541 wxPy_END_ALLOW_THREADS
;
6542 } Py_INCREF(Py_None
);
6543 _resultobj
= Py_None
;
6555 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6556 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6557 PyObject
* _resultobj
;
6562 wxString
* _arg4
= (wxString
*) &wxPyEmptyStr
;
6563 PyObject
* _argo0
= 0;
6564 PyObject
* _obj2
= 0;
6565 PyObject
* _argo3
= 0;
6566 PyObject
* _obj4
= 0;
6567 char *_kwnames
[] = { "self","id","item","subMenu","helpString", NULL
};
6570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_AppendMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
6573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
6580 #if PYTHON_API_VERSION >= 1009
6581 char* tmpPtr
; int tmpSize
;
6582 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6583 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
6586 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6588 _arg2
= new wxString(tmpPtr
, tmpSize
);
6590 if (!PyString_Check(_obj2
)) {
6591 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6594 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6598 if (_argo3
== Py_None
) { _arg3
= NULL
; }
6599 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
6600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
6606 #if PYTHON_API_VERSION >= 1009
6607 char* tmpPtr
; int tmpSize
;
6608 if (!PyString_Check(_obj4
) && !PyUnicode_Check(_obj4
)) {
6609 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
6612 if (PyString_AsStringAndSize(_obj4
, &tmpPtr
, &tmpSize
) == -1)
6614 _arg4
= new wxString(tmpPtr
, tmpSize
);
6616 if (!PyString_Check(_obj4
)) {
6617 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6620 _arg4
= new wxString(PyString_AS_STRING(_obj4
), PyString_GET_SIZE(_obj4
));
6624 wxPy_BEGIN_ALLOW_THREADS
;
6625 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
6627 wxPy_END_ALLOW_THREADS
;
6628 } Py_INCREF(Py_None
);
6629 _resultobj
= Py_None
;
6641 #define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
6642 static PyObject
*_wrap_wxMenu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6643 PyObject
* _resultobj
;
6646 PyObject
* _argo0
= 0;
6647 PyObject
* _argo1
= 0;
6648 char *_kwnames
[] = { "self","item", NULL
};
6651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_AppendItem",_kwnames
,&_argo0
,&_argo1
))
6654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
6661 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6662 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
6663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
6668 wxPy_BEGIN_ALLOW_THREADS
;
6669 wxMenu_AppendItem(_arg0
,_arg1
);
6671 wxPy_END_ALLOW_THREADS
;
6672 } Py_INCREF(Py_None
);
6673 _resultobj
= Py_None
;
6677 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
6678 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6679 PyObject
* _resultobj
;
6681 PyObject
* _argo0
= 0;
6682 char *_kwnames
[] = { "self", NULL
};
6685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_AppendSeparator",_kwnames
,&_argo0
))
6688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
6695 wxPy_BEGIN_ALLOW_THREADS
;
6696 wxMenu_AppendSeparator(_arg0
);
6698 wxPy_END_ALLOW_THREADS
;
6699 } Py_INCREF(Py_None
);
6700 _resultobj
= Py_None
;
6704 #define wxMenu_Break(_swigobj) (_swigobj->Break())
6705 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6706 PyObject
* _resultobj
;
6708 PyObject
* _argo0
= 0;
6709 char *_kwnames
[] = { "self", NULL
};
6712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Break",_kwnames
,&_argo0
))
6715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
6722 wxPy_BEGIN_ALLOW_THREADS
;
6723 wxMenu_Break(_arg0
);
6725 wxPy_END_ALLOW_THREADS
;
6726 } Py_INCREF(Py_None
);
6727 _resultobj
= Py_None
;
6731 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
6732 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6733 PyObject
* _resultobj
;
6737 PyObject
* _argo0
= 0;
6739 char *_kwnames
[] = { "self","id","flag", NULL
};
6742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
6751 _arg2
= (bool ) tempbool2
;
6753 wxPy_BEGIN_ALLOW_THREADS
;
6754 wxMenu_Check(_arg0
,_arg1
,_arg2
);
6756 wxPy_END_ALLOW_THREADS
;
6757 } Py_INCREF(Py_None
);
6758 _resultobj
= Py_None
;
6762 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
6763 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6764 PyObject
* _resultobj
;
6768 PyObject
* _argo0
= 0;
6769 char *_kwnames
[] = { "self","id", NULL
};
6772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsChecked",_kwnames
,&_argo0
,&_arg1
))
6775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
6782 wxPy_BEGIN_ALLOW_THREADS
;
6783 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
6785 wxPy_END_ALLOW_THREADS
;
6786 } _resultobj
= Py_BuildValue("i",_result
);
6790 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
6791 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6792 PyObject
* _resultobj
;
6796 PyObject
* _argo0
= 0;
6798 char *_kwnames
[] = { "self","id","enable", NULL
};
6801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
6810 _arg2
= (bool ) tempbool2
;
6812 wxPy_BEGIN_ALLOW_THREADS
;
6813 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
6815 wxPy_END_ALLOW_THREADS
;
6816 } Py_INCREF(Py_None
);
6817 _resultobj
= Py_None
;
6821 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
6822 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6823 PyObject
* _resultobj
;
6827 PyObject
* _argo0
= 0;
6828 char *_kwnames
[] = { "self","id", NULL
};
6831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
6834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
6841 wxPy_BEGIN_ALLOW_THREADS
;
6842 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
6844 wxPy_END_ALLOW_THREADS
;
6845 } _resultobj
= Py_BuildValue("i",_result
);
6849 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
6850 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6851 PyObject
* _resultobj
;
6855 PyObject
* _argo0
= 0;
6856 PyObject
* _obj1
= 0;
6857 char *_kwnames
[] = { "self","itemString", NULL
};
6860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_FindItem",_kwnames
,&_argo0
,&_obj1
))
6863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
6870 #if PYTHON_API_VERSION >= 1009
6871 char* tmpPtr
; int tmpSize
;
6872 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6873 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
6876 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6878 _arg1
= new wxString(tmpPtr
, tmpSize
);
6880 if (!PyString_Check(_obj1
)) {
6881 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6884 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6888 wxPy_BEGIN_ALLOW_THREADS
;
6889 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
6891 wxPy_END_ALLOW_THREADS
;
6892 } _resultobj
= Py_BuildValue("i",_result
);
6900 #define wxMenu_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
6901 static PyObject
*_wrap_wxMenu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6902 PyObject
* _resultobj
;
6903 wxMenuItem
* _result
;
6906 PyObject
* _argo0
= 0;
6907 char *_kwnames
[] = { "self","id", NULL
};
6911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_FindItemById",_kwnames
,&_argo0
,&_arg1
))
6914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemById. Expected _wxMenu_p.");
6921 wxPy_BEGIN_ALLOW_THREADS
;
6922 _result
= (wxMenuItem
*)wxMenu_FindItemById(_arg0
,_arg1
);
6924 wxPy_END_ALLOW_THREADS
;
6926 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
6927 _resultobj
= Py_BuildValue("s",_ptemp
);
6930 _resultobj
= Py_None
;
6935 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
6936 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6937 PyObject
* _resultobj
;
6940 PyObject
* _argo0
= 0;
6941 char *_kwnames
[] = { "self", NULL
};
6944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetTitle",_kwnames
,&_argo0
))
6947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
6954 wxPy_BEGIN_ALLOW_THREADS
;
6955 _result
= new wxString (wxMenu_GetTitle(_arg0
));
6957 wxPy_END_ALLOW_THREADS
;
6959 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6967 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
6968 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6969 PyObject
* _resultobj
;
6972 PyObject
* _argo0
= 0;
6973 PyObject
* _obj1
= 0;
6974 char *_kwnames
[] = { "self","title", NULL
};
6977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetTitle",_kwnames
,&_argo0
,&_obj1
))
6980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
6987 #if PYTHON_API_VERSION >= 1009
6988 char* tmpPtr
; int tmpSize
;
6989 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6990 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
6993 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6995 _arg1
= new wxString(tmpPtr
, tmpSize
);
6997 if (!PyString_Check(_obj1
)) {
6998 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7001 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7005 wxPy_BEGIN_ALLOW_THREADS
;
7006 wxMenu_SetTitle(_arg0
,*_arg1
);
7008 wxPy_END_ALLOW_THREADS
;
7009 } Py_INCREF(Py_None
);
7010 _resultobj
= Py_None
;
7018 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
7019 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7020 PyObject
* _resultobj
;
7024 PyObject
* _argo0
= 0;
7025 char *_kwnames
[] = { "self","id", NULL
};
7028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetLabel",_kwnames
,&_argo0
,&_arg1
))
7031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
7038 wxPy_BEGIN_ALLOW_THREADS
;
7039 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
7041 wxPy_END_ALLOW_THREADS
;
7043 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7051 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
7052 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7053 PyObject
* _resultobj
;
7057 PyObject
* _argo0
= 0;
7058 PyObject
* _obj2
= 0;
7059 char *_kwnames
[] = { "self","id","label", NULL
};
7062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
7065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
7072 #if PYTHON_API_VERSION >= 1009
7073 char* tmpPtr
; int tmpSize
;
7074 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
7075 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
7078 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
7080 _arg2
= new wxString(tmpPtr
, tmpSize
);
7082 if (!PyString_Check(_obj2
)) {
7083 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7086 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
7090 wxPy_BEGIN_ALLOW_THREADS
;
7091 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
7093 wxPy_END_ALLOW_THREADS
;
7094 } Py_INCREF(Py_None
);
7095 _resultobj
= Py_None
;
7103 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
7104 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7105 PyObject
* _resultobj
;
7109 PyObject
* _argo0
= 0;
7110 char *_kwnames
[] = { "self","id", NULL
};
7113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
7116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
7123 wxPy_BEGIN_ALLOW_THREADS
;
7124 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
7126 wxPy_END_ALLOW_THREADS
;
7128 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7136 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
7137 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7138 PyObject
* _resultobj
;
7142 PyObject
* _argo0
= 0;
7143 PyObject
* _obj2
= 0;
7144 char *_kwnames
[] = { "self","id","helpString", NULL
};
7147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
7150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
7157 #if PYTHON_API_VERSION >= 1009
7158 char* tmpPtr
; int tmpSize
;
7159 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
7160 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
7163 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
7165 _arg2
= new wxString(tmpPtr
, tmpSize
);
7167 if (!PyString_Check(_obj2
)) {
7168 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7171 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
7175 wxPy_BEGIN_ALLOW_THREADS
;
7176 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
7178 wxPy_END_ALLOW_THREADS
;
7179 } Py_INCREF(Py_None
);
7180 _resultobj
= Py_None
;
7188 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
7189 static PyObject
*_wrap_wxMenu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7190 PyObject
* _resultobj
;
7192 wxEvtHandler
* _arg1
= (wxEvtHandler
*) NULL
;
7193 PyObject
* _argo0
= 0;
7194 PyObject
* _argo1
= 0;
7195 char *_kwnames
[] = { "self","source", NULL
};
7198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxMenu_UpdateUI",_kwnames
,&_argo0
,&_argo1
))
7201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
7208 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7209 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
7210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
7215 wxPy_BEGIN_ALLOW_THREADS
;
7216 wxMenu_UpdateUI(_arg0
,_arg1
);
7218 wxPy_END_ALLOW_THREADS
;
7219 } Py_INCREF(Py_None
);
7220 _resultobj
= Py_None
;
7224 #define wxMenu_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
7225 static PyObject
*_wrap_wxMenu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7226 PyObject
* _resultobj
;
7230 PyObject
* _argo0
= 0;
7231 char *_kwnames
[] = { "self","id", NULL
};
7234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Delete",_kwnames
,&_argo0
,&_arg1
))
7237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Delete. Expected _wxMenu_p.");
7244 wxPy_BEGIN_ALLOW_THREADS
;
7245 _result
= (bool )wxMenu_Delete(_arg0
,_arg1
);
7247 wxPy_END_ALLOW_THREADS
;
7248 } _resultobj
= Py_BuildValue("i",_result
);
7252 #define wxMenu_DeleteItem(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
7253 static PyObject
*_wrap_wxMenu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7254 PyObject
* _resultobj
;
7258 PyObject
* _argo0
= 0;
7259 PyObject
* _argo1
= 0;
7260 char *_kwnames
[] = { "self","item", NULL
};
7263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DeleteItem",_kwnames
,&_argo0
,&_argo1
))
7266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DeleteItem. Expected _wxMenu_p.");
7273 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7274 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
7275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DeleteItem. Expected _wxMenuItem_p.");
7280 wxPy_BEGIN_ALLOW_THREADS
;
7281 _result
= (bool )wxMenu_DeleteItem(_arg0
,_arg1
);
7283 wxPy_END_ALLOW_THREADS
;
7284 } _resultobj
= Py_BuildValue("i",_result
);
7288 #define wxMenu_Insert(_swigobj,_swigarg0,_swigarg1) (_swigobj->Insert(_swigarg0,_swigarg1))
7289 static PyObject
*_wrap_wxMenu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7290 PyObject
* _resultobj
;
7295 PyObject
* _argo0
= 0;
7296 PyObject
* _argo2
= 0;
7297 char *_kwnames
[] = { "self","pos","item", NULL
};
7300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
7303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Insert. Expected _wxMenu_p.");
7310 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7311 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenuItem_p")) {
7312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenu_Insert. Expected _wxMenuItem_p.");
7317 wxPy_BEGIN_ALLOW_THREADS
;
7318 _result
= (bool )wxMenu_Insert(_arg0
,_arg1
,_arg2
);
7320 wxPy_END_ALLOW_THREADS
;
7321 } _resultobj
= Py_BuildValue("i",_result
);
7325 #define wxMenu_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
7326 static PyObject
*_wrap_wxMenu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7327 PyObject
* _resultobj
;
7328 wxMenuItem
* _result
;
7331 PyObject
* _argo0
= 0;
7332 char *_kwnames
[] = { "self","id", NULL
};
7336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Remove",_kwnames
,&_argo0
,&_arg1
))
7339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Remove. Expected _wxMenu_p.");
7346 wxPy_BEGIN_ALLOW_THREADS
;
7347 _result
= (wxMenuItem
*)wxMenu_Remove(_arg0
,_arg1
);
7349 wxPy_END_ALLOW_THREADS
;
7351 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
7352 _resultobj
= Py_BuildValue("s",_ptemp
);
7355 _resultobj
= Py_None
;
7360 #define wxMenu_RemoveItem(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
7361 static PyObject
*_wrap_wxMenu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7362 PyObject
* _resultobj
;
7363 wxMenuItem
* _result
;
7366 PyObject
* _argo0
= 0;
7367 PyObject
* _argo1
= 0;
7368 char *_kwnames
[] = { "self","item", NULL
};
7372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_RemoveItem",_kwnames
,&_argo0
,&_argo1
))
7375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_RemoveItem. Expected _wxMenu_p.");
7382 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7383 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
7384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_RemoveItem. Expected _wxMenuItem_p.");
7389 wxPy_BEGIN_ALLOW_THREADS
;
7390 _result
= (wxMenuItem
*)wxMenu_RemoveItem(_arg0
,_arg1
);
7392 wxPy_END_ALLOW_THREADS
;
7394 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
7395 _resultobj
= Py_BuildValue("s",_ptemp
);
7398 _resultobj
= Py_None
;
7403 static void wxMenu_Destroy(wxMenu
*self
) { delete self
; }
7404 static PyObject
*_wrap_wxMenu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7405 PyObject
* _resultobj
;
7407 PyObject
* _argo0
= 0;
7408 char *_kwnames
[] = { "self", NULL
};
7411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Destroy",_kwnames
,&_argo0
))
7414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Destroy. Expected _wxMenu_p.");
7421 wxPy_BEGIN_ALLOW_THREADS
;
7422 wxMenu_Destroy(_arg0
);
7424 wxPy_END_ALLOW_THREADS
;
7425 } Py_INCREF(Py_None
);
7426 _resultobj
= Py_None
;
7430 #define wxMenu_DestroyId(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
7431 static PyObject
*_wrap_wxMenu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7432 PyObject
* _resultobj
;
7436 PyObject
* _argo0
= 0;
7437 char *_kwnames
[] = { "self","id", NULL
};
7440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_DestroyId",_kwnames
,&_argo0
,&_arg1
))
7443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyId. Expected _wxMenu_p.");
7450 wxPy_BEGIN_ALLOW_THREADS
;
7451 _result
= (bool )wxMenu_DestroyId(_arg0
,_arg1
);
7453 wxPy_END_ALLOW_THREADS
;
7454 } _resultobj
= Py_BuildValue("i",_result
);
7458 #define wxMenu_DestroyItem(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
7459 static PyObject
*_wrap_wxMenu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7460 PyObject
* _resultobj
;
7464 PyObject
* _argo0
= 0;
7465 PyObject
* _argo1
= 0;
7466 char *_kwnames
[] = { "self","item", NULL
};
7469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DestroyItem",_kwnames
,&_argo0
,&_argo1
))
7472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyItem. Expected _wxMenu_p.");
7479 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7480 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
7481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DestroyItem. Expected _wxMenuItem_p.");
7486 wxPy_BEGIN_ALLOW_THREADS
;
7487 _result
= (bool )wxMenu_DestroyItem(_arg0
,_arg1
);
7489 wxPy_END_ALLOW_THREADS
;
7490 } _resultobj
= Py_BuildValue("i",_result
);
7494 #define wxMenu_GetMenuItemCount(_swigobj) (_swigobj->GetMenuItemCount())
7495 static PyObject
*_wrap_wxMenu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7496 PyObject
* _resultobj
;
7499 PyObject
* _argo0
= 0;
7500 char *_kwnames
[] = { "self", NULL
};
7503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItemCount",_kwnames
,&_argo0
))
7506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItemCount. Expected _wxMenu_p.");
7513 wxPy_BEGIN_ALLOW_THREADS
;
7514 _result
= (size_t )wxMenu_GetMenuItemCount(_arg0
);
7516 wxPy_END_ALLOW_THREADS
;
7517 } _resultobj
= Py_BuildValue("i",_result
);
7521 static PyObject
* wxMenu_GetMenuItems(wxMenu
*self
) {
7522 wxMenuItemList
& list
= self
->GetMenuItems();
7523 return wxPy_ConvertList(&list
, "wxMenuItem");
7525 static PyObject
*_wrap_wxMenu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7526 PyObject
* _resultobj
;
7529 PyObject
* _argo0
= 0;
7530 char *_kwnames
[] = { "self", NULL
};
7533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItems",_kwnames
,&_argo0
))
7536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItems. Expected _wxMenu_p.");
7543 wxPy_BEGIN_ALLOW_THREADS
;
7544 _result
= (PyObject
*)wxMenu_GetMenuItems(_arg0
);
7546 wxPy_END_ALLOW_THREADS
;
7548 _resultobj
= _result
;
7553 #define wxMenu_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
7554 static PyObject
*_wrap_wxMenu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7555 PyObject
* _resultobj
;
7557 wxEvtHandler
* _arg1
;
7558 PyObject
* _argo0
= 0;
7559 PyObject
* _argo1
= 0;
7560 char *_kwnames
[] = { "self","handler", NULL
};
7563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
7566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetEventHandler. Expected _wxMenu_p.");
7573 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7574 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
7575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetEventHandler. Expected _wxEvtHandler_p.");
7580 wxPy_BEGIN_ALLOW_THREADS
;
7581 wxMenu_SetEventHandler(_arg0
,_arg1
);
7583 wxPy_END_ALLOW_THREADS
;
7584 } Py_INCREF(Py_None
);
7585 _resultobj
= Py_None
;
7589 #define wxMenu_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
7590 static PyObject
*_wrap_wxMenu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7591 PyObject
* _resultobj
;
7592 wxEvtHandler
* _result
;
7594 PyObject
* _argo0
= 0;
7595 char *_kwnames
[] = { "self", NULL
};
7599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetEventHandler",_kwnames
,&_argo0
))
7602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetEventHandler. Expected _wxMenu_p.");
7609 wxPy_BEGIN_ALLOW_THREADS
;
7610 _result
= (wxEvtHandler
*)wxMenu_GetEventHandler(_arg0
);
7612 wxPy_END_ALLOW_THREADS
;
7614 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
7615 _resultobj
= Py_BuildValue("s",_ptemp
);
7618 _resultobj
= Py_None
;
7623 #define wxMenu_SetInvokingWindow(_swigobj,_swigarg0) (_swigobj->SetInvokingWindow(_swigarg0))
7624 static PyObject
*_wrap_wxMenu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7625 PyObject
* _resultobj
;
7628 PyObject
* _argo0
= 0;
7629 PyObject
* _argo1
= 0;
7630 char *_kwnames
[] = { "self","win", NULL
};
7633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetInvokingWindow",_kwnames
,&_argo0
,&_argo1
))
7636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetInvokingWindow. Expected _wxMenu_p.");
7643 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7644 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetInvokingWindow. Expected _wxWindow_p.");
7650 wxPy_BEGIN_ALLOW_THREADS
;
7651 wxMenu_SetInvokingWindow(_arg0
,_arg1
);
7653 wxPy_END_ALLOW_THREADS
;
7654 } Py_INCREF(Py_None
);
7655 _resultobj
= Py_None
;
7659 #define wxMenu_GetInvokingWindow(_swigobj) (_swigobj->GetInvokingWindow())
7660 static PyObject
*_wrap_wxMenu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7661 PyObject
* _resultobj
;
7664 PyObject
* _argo0
= 0;
7665 char *_kwnames
[] = { "self", NULL
};
7669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetInvokingWindow",_kwnames
,&_argo0
))
7672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetInvokingWindow. Expected _wxMenu_p.");
7679 wxPy_BEGIN_ALLOW_THREADS
;
7680 _result
= (wxWindow
*)wxMenu_GetInvokingWindow(_arg0
);
7682 wxPy_END_ALLOW_THREADS
;
7684 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
7685 _resultobj
= Py_BuildValue("s",_ptemp
);
7688 _resultobj
= Py_None
;
7693 #define wxMenu_GetStyle(_swigobj) (_swigobj->GetStyle())
7694 static PyObject
*_wrap_wxMenu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7695 PyObject
* _resultobj
;
7698 PyObject
* _argo0
= 0;
7699 char *_kwnames
[] = { "self", NULL
};
7702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetStyle",_kwnames
,&_argo0
))
7705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetStyle. Expected _wxMenu_p.");
7712 wxPy_BEGIN_ALLOW_THREADS
;
7713 _result
= (long )wxMenu_GetStyle(_arg0
);
7715 wxPy_END_ALLOW_THREADS
;
7716 } _resultobj
= Py_BuildValue("l",_result
);
7720 #define wxMenu_IsAttached(_swigobj) (_swigobj->IsAttached())
7721 static PyObject
*_wrap_wxMenu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7722 PyObject
* _resultobj
;
7725 PyObject
* _argo0
= 0;
7726 char *_kwnames
[] = { "self", NULL
};
7729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_IsAttached",_kwnames
,&_argo0
))
7732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsAttached. Expected _wxMenu_p.");
7739 wxPy_BEGIN_ALLOW_THREADS
;
7740 _result
= (bool )wxMenu_IsAttached(_arg0
);
7742 wxPy_END_ALLOW_THREADS
;
7743 } _resultobj
= Py_BuildValue("i",_result
);
7747 #define wxMenu_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
7748 static PyObject
*_wrap_wxMenu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7749 PyObject
* _resultobj
;
7752 PyObject
* _argo0
= 0;
7753 PyObject
* _argo1
= 0;
7754 char *_kwnames
[] = { "self","parent", NULL
};
7757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetParent",_kwnames
,&_argo0
,&_argo1
))
7760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetParent. Expected _wxMenu_p.");
7767 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7768 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
7769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetParent. Expected _wxMenu_p.");
7774 wxPy_BEGIN_ALLOW_THREADS
;
7775 wxMenu_SetParent(_arg0
,_arg1
);
7777 wxPy_END_ALLOW_THREADS
;
7778 } Py_INCREF(Py_None
);
7779 _resultobj
= Py_None
;
7783 #define wxMenu_GetParent(_swigobj) (_swigobj->GetParent())
7784 static PyObject
*_wrap_wxMenu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7785 PyObject
* _resultobj
;
7788 PyObject
* _argo0
= 0;
7789 char *_kwnames
[] = { "self", NULL
};
7793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetParent",_kwnames
,&_argo0
))
7796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetParent. Expected _wxMenu_p.");
7803 wxPy_BEGIN_ALLOW_THREADS
;
7804 _result
= (wxMenu
*)wxMenu_GetParent(_arg0
);
7806 wxPy_END_ALLOW_THREADS
;
7808 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7809 _resultobj
= Py_BuildValue("s",_ptemp
);
7812 _resultobj
= Py_None
;
7817 static void *SwigwxMenuBarTowxWindow(void *ptr
) {
7820 src
= (wxMenuBar
*) ptr
;
7821 dest
= (wxWindow
*) src
;
7822 return (void *) dest
;
7825 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
7828 src
= (wxMenuBar
*) ptr
;
7829 dest
= (wxEvtHandler
*) src
;
7830 return (void *) dest
;
7833 #define new_wxMenuBar(_swigarg0) (new wxMenuBar(_swigarg0))
7834 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7835 PyObject
* _resultobj
;
7836 wxMenuBar
* _result
;
7837 long _arg0
= (long ) 0;
7838 char *_kwnames
[] = { "style", NULL
};
7842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:new_wxMenuBar",_kwnames
,&_arg0
))
7845 wxPy_BEGIN_ALLOW_THREADS
;
7846 _result
= (wxMenuBar
*)new_wxMenuBar(_arg0
);
7848 wxPy_END_ALLOW_THREADS
;
7850 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
7851 _resultobj
= Py_BuildValue("s",_ptemp
);
7854 _resultobj
= Py_None
;
7859 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
7860 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7861 PyObject
* _resultobj
;
7866 PyObject
* _argo0
= 0;
7867 PyObject
* _argo1
= 0;
7868 PyObject
* _obj2
= 0;
7869 char *_kwnames
[] = { "self","menu","title", NULL
};
7872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_Append",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
7882 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7883 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
7884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
7889 #if PYTHON_API_VERSION >= 1009
7890 char* tmpPtr
; int tmpSize
;
7891 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
7892 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
7895 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
7897 _arg2
= new wxString(tmpPtr
, tmpSize
);
7899 if (!PyString_Check(_obj2
)) {
7900 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7903 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
7907 wxPy_BEGIN_ALLOW_THREADS
;
7908 _result
= (bool )wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
7910 wxPy_END_ALLOW_THREADS
;
7911 } _resultobj
= Py_BuildValue("i",_result
);
7919 #define wxMenuBar_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2))
7920 static PyObject
*_wrap_wxMenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7921 PyObject
* _resultobj
;
7927 PyObject
* _argo0
= 0;
7928 PyObject
* _argo2
= 0;
7929 PyObject
* _obj3
= 0;
7930 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
7933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
7936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Insert. Expected _wxMenuBar_p.");
7943 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7944 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
7945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Insert. Expected _wxMenu_p.");
7950 #if PYTHON_API_VERSION >= 1009
7951 char* tmpPtr
; int tmpSize
;
7952 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
7953 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
7956 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
7958 _arg3
= new wxString(tmpPtr
, tmpSize
);
7960 if (!PyString_Check(_obj3
)) {
7961 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7964 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
7968 wxPy_BEGIN_ALLOW_THREADS
;
7969 _result
= (bool )wxMenuBar_Insert(_arg0
,_arg1
,_arg2
,*_arg3
);
7971 wxPy_END_ALLOW_THREADS
;
7972 } _resultobj
= Py_BuildValue("i",_result
);
7980 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
7981 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7982 PyObject
* _resultobj
;
7985 PyObject
* _argo0
= 0;
7986 char *_kwnames
[] = { "self", NULL
};
7989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuBar_GetMenuCount",_kwnames
,&_argo0
))
7992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
7999 wxPy_BEGIN_ALLOW_THREADS
;
8000 _result
= (size_t )wxMenuBar_GetMenuCount(_arg0
);
8002 wxPy_END_ALLOW_THREADS
;
8003 } _resultobj
= Py_BuildValue("i",_result
);
8007 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
8008 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8009 PyObject
* _resultobj
;
8013 PyObject
* _argo0
= 0;
8014 char *_kwnames
[] = { "self","pos", NULL
};
8018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetMenu",_kwnames
,&_argo0
,&_arg1
))
8021 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8022 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
8028 wxPy_BEGIN_ALLOW_THREADS
;
8029 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
8031 wxPy_END_ALLOW_THREADS
;
8033 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
8034 _resultobj
= Py_BuildValue("s",_ptemp
);
8037 _resultobj
= Py_None
;
8042 #define wxMenuBar_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
8043 static PyObject
*_wrap_wxMenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8044 PyObject
* _resultobj
;
8050 PyObject
* _argo0
= 0;
8051 PyObject
* _argo2
= 0;
8052 PyObject
* _obj3
= 0;
8053 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
8057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
8060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Replace. Expected _wxMenuBar_p.");
8067 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8068 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
8069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Replace. Expected _wxMenu_p.");
8074 #if PYTHON_API_VERSION >= 1009
8075 char* tmpPtr
; int tmpSize
;
8076 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
8077 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
8080 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
8082 _arg3
= new wxString(tmpPtr
, tmpSize
);
8084 if (!PyString_Check(_obj3
)) {
8085 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8088 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
8092 wxPy_BEGIN_ALLOW_THREADS
;
8093 _result
= (wxMenu
*)wxMenuBar_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
8095 wxPy_END_ALLOW_THREADS
;
8097 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
8098 _resultobj
= Py_BuildValue("s",_ptemp
);
8101 _resultobj
= Py_None
;
8110 #define wxMenuBar_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
8111 static PyObject
*_wrap_wxMenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8112 PyObject
* _resultobj
;
8116 PyObject
* _argo0
= 0;
8117 char *_kwnames
[] = { "self","pos", NULL
};
8121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_Remove",_kwnames
,&_argo0
,&_arg1
))
8124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Remove. Expected _wxMenuBar_p.");
8131 wxPy_BEGIN_ALLOW_THREADS
;
8132 _result
= (wxMenu
*)wxMenuBar_Remove(_arg0
,_arg1
);
8134 wxPy_END_ALLOW_THREADS
;
8136 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
8137 _resultobj
= Py_BuildValue("s",_ptemp
);
8140 _resultobj
= Py_None
;
8145 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
8146 static PyObject
*_wrap_wxMenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8147 PyObject
* _resultobj
;
8151 PyObject
* _argo0
= 0;
8153 char *_kwnames
[] = { "self","pos","enable", NULL
};
8156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_EnableTop",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
8165 _arg2
= (bool ) tempbool2
;
8167 wxPy_BEGIN_ALLOW_THREADS
;
8168 wxMenuBar_EnableTop(_arg0
,_arg1
,_arg2
);
8170 wxPy_END_ALLOW_THREADS
;
8171 } Py_INCREF(Py_None
);
8172 _resultobj
= Py_None
;
8176 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
8177 static PyObject
*_wrap_wxMenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8178 PyObject
* _resultobj
;
8182 PyObject
* _argo0
= 0;
8183 PyObject
* _obj2
= 0;
8184 char *_kwnames
[] = { "self","pos","label", NULL
};
8187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabelTop",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
8197 #if PYTHON_API_VERSION >= 1009
8198 char* tmpPtr
; int tmpSize
;
8199 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8200 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
8203 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8205 _arg2
= new wxString(tmpPtr
, tmpSize
);
8207 if (!PyString_Check(_obj2
)) {
8208 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8211 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8215 wxPy_BEGIN_ALLOW_THREADS
;
8216 wxMenuBar_SetLabelTop(_arg0
,_arg1
,*_arg2
);
8218 wxPy_END_ALLOW_THREADS
;
8219 } Py_INCREF(Py_None
);
8220 _resultobj
= Py_None
;
8228 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
8229 static PyObject
*_wrap_wxMenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8230 PyObject
* _resultobj
;
8234 PyObject
* _argo0
= 0;
8235 char *_kwnames
[] = { "self","pos", NULL
};
8238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabelTop",_kwnames
,&_argo0
,&_arg1
))
8241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
8248 wxPy_BEGIN_ALLOW_THREADS
;
8249 _result
= new wxString (wxMenuBar_GetLabelTop(_arg0
,_arg1
));
8251 wxPy_END_ALLOW_THREADS
;
8253 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8261 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
8262 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8263 PyObject
* _resultobj
;
8268 PyObject
* _argo0
= 0;
8269 PyObject
* _obj1
= 0;
8270 PyObject
* _obj2
= 0;
8271 char *_kwnames
[] = { "self","menuString","itemString", NULL
};
8274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_FindMenuItem",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
8284 #if PYTHON_API_VERSION >= 1009
8285 char* tmpPtr
; int tmpSize
;
8286 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8287 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
8290 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8292 _arg1
= new wxString(tmpPtr
, tmpSize
);
8294 if (!PyString_Check(_obj1
)) {
8295 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8298 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8302 #if PYTHON_API_VERSION >= 1009
8303 char* tmpPtr
; int tmpSize
;
8304 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8305 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
8308 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8310 _arg2
= new wxString(tmpPtr
, tmpSize
);
8312 if (!PyString_Check(_obj2
)) {
8313 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8316 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8320 wxPy_BEGIN_ALLOW_THREADS
;
8321 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
8323 wxPy_END_ALLOW_THREADS
;
8324 } _resultobj
= Py_BuildValue("i",_result
);
8336 #define wxMenuBar_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
8337 static PyObject
*_wrap_wxMenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8338 PyObject
* _resultobj
;
8339 wxMenuItem
* _result
;
8342 PyObject
* _argo0
= 0;
8343 char *_kwnames
[] = { "self","id", NULL
};
8347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_FindItemById",_kwnames
,&_argo0
,&_arg1
))
8350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemById. Expected _wxMenuBar_p.");
8357 wxPy_BEGIN_ALLOW_THREADS
;
8358 _result
= (wxMenuItem
*)wxMenuBar_FindItemById(_arg0
,_arg1
);
8360 wxPy_END_ALLOW_THREADS
;
8362 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
8363 _resultobj
= Py_BuildValue("s",_ptemp
);
8366 _resultobj
= Py_None
;
8371 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
8372 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8373 PyObject
* _resultobj
;
8377 PyObject
* _argo0
= 0;
8379 char *_kwnames
[] = { "self","id","enable", NULL
};
8382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
8391 _arg2
= (bool ) tempbool2
;
8393 wxPy_BEGIN_ALLOW_THREADS
;
8394 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
8396 wxPy_END_ALLOW_THREADS
;
8397 } Py_INCREF(Py_None
);
8398 _resultobj
= Py_None
;
8402 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
8403 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8404 PyObject
* _resultobj
;
8408 PyObject
* _argo0
= 0;
8410 char *_kwnames
[] = { "self","id","check", NULL
};
8413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
8422 _arg2
= (bool ) tempbool2
;
8424 wxPy_BEGIN_ALLOW_THREADS
;
8425 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
8427 wxPy_END_ALLOW_THREADS
;
8428 } Py_INCREF(Py_None
);
8429 _resultobj
= Py_None
;
8433 #define wxMenuBar_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
8434 static PyObject
*_wrap_wxMenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8435 PyObject
* _resultobj
;
8439 PyObject
* _argo0
= 0;
8440 char *_kwnames
[] = { "self","id", NULL
};
8443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsChecked",_kwnames
,&_argo0
,&_arg1
))
8446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsChecked. Expected _wxMenuBar_p.");
8453 wxPy_BEGIN_ALLOW_THREADS
;
8454 _result
= (bool )wxMenuBar_IsChecked(_arg0
,_arg1
);
8456 wxPy_END_ALLOW_THREADS
;
8457 } _resultobj
= Py_BuildValue("i",_result
);
8461 #define wxMenuBar_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
8462 static PyObject
*_wrap_wxMenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8463 PyObject
* _resultobj
;
8467 PyObject
* _argo0
= 0;
8468 char *_kwnames
[] = { "self","id", NULL
};
8471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
8474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsEnabled. Expected _wxMenuBar_p.");
8481 wxPy_BEGIN_ALLOW_THREADS
;
8482 _result
= (bool )wxMenuBar_IsEnabled(_arg0
,_arg1
);
8484 wxPy_END_ALLOW_THREADS
;
8485 } _resultobj
= Py_BuildValue("i",_result
);
8489 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
8490 static PyObject
*_wrap_wxMenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8491 PyObject
* _resultobj
;
8495 PyObject
* _argo0
= 0;
8496 PyObject
* _obj2
= 0;
8497 char *_kwnames
[] = { "self","id","label", NULL
};
8500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
8510 #if PYTHON_API_VERSION >= 1009
8511 char* tmpPtr
; int tmpSize
;
8512 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8513 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
8516 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8518 _arg2
= new wxString(tmpPtr
, tmpSize
);
8520 if (!PyString_Check(_obj2
)) {
8521 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8524 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8528 wxPy_BEGIN_ALLOW_THREADS
;
8529 wxMenuBar_SetLabel(_arg0
,_arg1
,*_arg2
);
8531 wxPy_END_ALLOW_THREADS
;
8532 } Py_INCREF(Py_None
);
8533 _resultobj
= Py_None
;
8541 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
8542 static PyObject
*_wrap_wxMenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8543 PyObject
* _resultobj
;
8547 PyObject
* _argo0
= 0;
8548 char *_kwnames
[] = { "self","id", NULL
};
8551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabel",_kwnames
,&_argo0
,&_arg1
))
8554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
8561 wxPy_BEGIN_ALLOW_THREADS
;
8562 _result
= new wxString (wxMenuBar_GetLabel(_arg0
,_arg1
));
8564 wxPy_END_ALLOW_THREADS
;
8566 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8574 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
8575 static PyObject
*_wrap_wxMenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8576 PyObject
* _resultobj
;
8580 PyObject
* _argo0
= 0;
8581 PyObject
* _obj2
= 0;
8582 char *_kwnames
[] = { "self","id","helpString", NULL
};
8585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
8595 #if PYTHON_API_VERSION >= 1009
8596 char* tmpPtr
; int tmpSize
;
8597 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8598 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
8601 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8603 _arg2
= new wxString(tmpPtr
, tmpSize
);
8605 if (!PyString_Check(_obj2
)) {
8606 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8609 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8613 wxPy_BEGIN_ALLOW_THREADS
;
8614 wxMenuBar_SetHelpString(_arg0
,_arg1
,*_arg2
);
8616 wxPy_END_ALLOW_THREADS
;
8617 } Py_INCREF(Py_None
);
8618 _resultobj
= Py_None
;
8626 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
8627 static PyObject
*_wrap_wxMenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8628 PyObject
* _resultobj
;
8632 PyObject
* _argo0
= 0;
8633 char *_kwnames
[] = { "self","id", NULL
};
8636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
8639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
8646 wxPy_BEGIN_ALLOW_THREADS
;
8647 _result
= new wxString (wxMenuBar_GetHelpString(_arg0
,_arg1
));
8649 wxPy_END_ALLOW_THREADS
;
8651 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8659 #define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8660 static PyObject
*_wrap_new_wxMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8661 PyObject
* _resultobj
;
8662 wxMenuItem
* _result
;
8663 wxMenu
* _arg0
= (wxMenu
*) NULL
;
8664 int _arg1
= (int ) wxID_SEPARATOR
;
8665 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
8666 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
8667 bool _arg4
= (bool ) FALSE
;
8668 wxMenu
* _arg5
= (wxMenu
*) NULL
;
8669 PyObject
* _argo0
= 0;
8670 PyObject
* _obj2
= 0;
8671 PyObject
* _obj3
= 0;
8672 int tempbool4
= (int) FALSE
;
8673 PyObject
* _argo5
= 0;
8674 char *_kwnames
[] = { "parentMenu","id","text","help","isCheckable","subMenu", NULL
};
8678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OiOOiO:new_wxMenuItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&tempbool4
,&_argo5
))
8681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
8689 #if PYTHON_API_VERSION >= 1009
8690 char* tmpPtr
; int tmpSize
;
8691 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8692 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
8695 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8697 _arg2
= new wxString(tmpPtr
, tmpSize
);
8699 if (!PyString_Check(_obj2
)) {
8700 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8703 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8708 #if PYTHON_API_VERSION >= 1009
8709 char* tmpPtr
; int tmpSize
;
8710 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
8711 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
8714 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
8716 _arg3
= new wxString(tmpPtr
, tmpSize
);
8718 if (!PyString_Check(_obj3
)) {
8719 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8722 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
8725 _arg4
= (bool ) tempbool4
;
8727 if (_argo5
== Py_None
) { _arg5
= NULL
; }
8728 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxMenu_p")) {
8729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
8734 wxPy_BEGIN_ALLOW_THREADS
;
8735 _result
= (wxMenuItem
*)new_wxMenuItem(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
8737 wxPy_END_ALLOW_THREADS
;
8739 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
8740 _resultobj
= Py_BuildValue("s",_ptemp
);
8743 _resultobj
= Py_None
;
8756 #define wxMenuItem_GetMenu(_swigobj) (_swigobj->GetMenu())
8757 static PyObject
*_wrap_wxMenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8758 PyObject
* _resultobj
;
8761 PyObject
* _argo0
= 0;
8762 char *_kwnames
[] = { "self", NULL
};
8766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetMenu",_kwnames
,&_argo0
))
8769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMenu. Expected _wxMenuItem_p.");
8776 wxPy_BEGIN_ALLOW_THREADS
;
8777 _result
= (wxMenu
*)wxMenuItem_GetMenu(_arg0
);
8779 wxPy_END_ALLOW_THREADS
;
8781 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
8782 _resultobj
= Py_BuildValue("s",_ptemp
);
8785 _resultobj
= Py_None
;
8790 #define wxMenuItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
8791 static PyObject
*_wrap_wxMenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8792 PyObject
* _resultobj
;
8795 PyObject
* _argo0
= 0;
8796 char *_kwnames
[] = { "self","id", NULL
};
8799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetId",_kwnames
,&_argo0
,&_arg1
))
8802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetId. Expected _wxMenuItem_p.");
8809 wxPy_BEGIN_ALLOW_THREADS
;
8810 wxMenuItem_SetId(_arg0
,_arg1
);
8812 wxPy_END_ALLOW_THREADS
;
8813 } Py_INCREF(Py_None
);
8814 _resultobj
= Py_None
;
8818 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
8819 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8820 PyObject
* _resultobj
;
8823 PyObject
* _argo0
= 0;
8824 char *_kwnames
[] = { "self", NULL
};
8827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetId",_kwnames
,&_argo0
))
8830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
8837 wxPy_BEGIN_ALLOW_THREADS
;
8838 _result
= (int )wxMenuItem_GetId(_arg0
);
8840 wxPy_END_ALLOW_THREADS
;
8841 } _resultobj
= Py_BuildValue("i",_result
);
8845 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
8846 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8847 PyObject
* _resultobj
;
8850 PyObject
* _argo0
= 0;
8851 char *_kwnames
[] = { "self", NULL
};
8854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSeparator",_kwnames
,&_argo0
))
8857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
8864 wxPy_BEGIN_ALLOW_THREADS
;
8865 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
8867 wxPy_END_ALLOW_THREADS
;
8868 } _resultobj
= Py_BuildValue("i",_result
);
8872 #define wxMenuItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
8873 static PyObject
*_wrap_wxMenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8874 PyObject
* _resultobj
;
8877 PyObject
* _argo0
= 0;
8878 PyObject
* _obj1
= 0;
8879 char *_kwnames
[] = { "self","str", NULL
};
8882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetText",_kwnames
,&_argo0
,&_obj1
))
8885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetText. Expected _wxMenuItem_p.");
8892 #if PYTHON_API_VERSION >= 1009
8893 char* tmpPtr
; int tmpSize
;
8894 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8895 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
8898 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8900 _arg1
= new wxString(tmpPtr
, tmpSize
);
8902 if (!PyString_Check(_obj1
)) {
8903 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8906 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8910 wxPy_BEGIN_ALLOW_THREADS
;
8911 wxMenuItem_SetText(_arg0
,*_arg1
);
8913 wxPy_END_ALLOW_THREADS
;
8914 } Py_INCREF(Py_None
);
8915 _resultobj
= Py_None
;
8923 #define wxMenuItem_GetLabel(_swigobj) (_swigobj->GetLabel())
8924 static PyObject
*_wrap_wxMenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8925 PyObject
* _resultobj
;
8928 PyObject
* _argo0
= 0;
8929 char *_kwnames
[] = { "self", NULL
};
8932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabel",_kwnames
,&_argo0
))
8935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetLabel. Expected _wxMenuItem_p.");
8942 wxPy_BEGIN_ALLOW_THREADS
;
8943 _result
= new wxString (wxMenuItem_GetLabel(_arg0
));
8945 wxPy_END_ALLOW_THREADS
;
8947 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8955 #define wxMenuItem_GetText(_swigobj) (_swigobj->GetText())
8956 static PyObject
*_wrap_wxMenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8957 PyObject
* _resultobj
;
8960 PyObject
* _argo0
= 0;
8961 char *_kwnames
[] = { "self", NULL
};
8964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetText",_kwnames
,&_argo0
))
8967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetText. Expected _wxMenuItem_p.");
8974 wxPy_BEGIN_ALLOW_THREADS
;
8975 const wxString
& _result_ref
= wxMenuItem_GetText(_arg0
);
8976 _result
= (wxString
*) &_result_ref
;
8978 wxPy_END_ALLOW_THREADS
;
8980 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8985 #define wxMenuItem_SetCheckable(_swigobj,_swigarg0) (_swigobj->SetCheckable(_swigarg0))
8986 static PyObject
*_wrap_wxMenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8987 PyObject
* _resultobj
;
8990 PyObject
* _argo0
= 0;
8992 char *_kwnames
[] = { "self","checkable", NULL
};
8995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetCheckable",_kwnames
,&_argo0
,&tempbool1
))
8998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetCheckable. Expected _wxMenuItem_p.");
9004 _arg1
= (bool ) tempbool1
;
9006 wxPy_BEGIN_ALLOW_THREADS
;
9007 wxMenuItem_SetCheckable(_arg0
,_arg1
);
9009 wxPy_END_ALLOW_THREADS
;
9010 } Py_INCREF(Py_None
);
9011 _resultobj
= Py_None
;
9015 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
9016 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9017 PyObject
* _resultobj
;
9020 PyObject
* _argo0
= 0;
9021 char *_kwnames
[] = { "self", NULL
};
9024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsCheckable",_kwnames
,&_argo0
))
9027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
9034 wxPy_BEGIN_ALLOW_THREADS
;
9035 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
9037 wxPy_END_ALLOW_THREADS
;
9038 } _resultobj
= Py_BuildValue("i",_result
);
9042 #define wxMenuItem_IsSubMenu(_swigobj) (_swigobj->IsSubMenu())
9043 static PyObject
*_wrap_wxMenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9044 PyObject
* _resultobj
;
9047 PyObject
* _argo0
= 0;
9048 char *_kwnames
[] = { "self", NULL
};
9051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSubMenu",_kwnames
,&_argo0
))
9054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSubMenu. Expected _wxMenuItem_p.");
9061 wxPy_BEGIN_ALLOW_THREADS
;
9062 _result
= (bool )wxMenuItem_IsSubMenu(_arg0
);
9064 wxPy_END_ALLOW_THREADS
;
9065 } _resultobj
= Py_BuildValue("i",_result
);
9069 #define wxMenuItem_SetSubMenu(_swigobj,_swigarg0) (_swigobj->SetSubMenu(_swigarg0))
9070 static PyObject
*_wrap_wxMenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9071 PyObject
* _resultobj
;
9074 PyObject
* _argo0
= 0;
9075 PyObject
* _argo1
= 0;
9076 char *_kwnames
[] = { "self","menu", NULL
};
9079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetSubMenu",_kwnames
,&_argo0
,&_argo1
))
9082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetSubMenu. Expected _wxMenuItem_p.");
9089 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9090 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetSubMenu. Expected _wxMenu_p.");
9096 wxPy_BEGIN_ALLOW_THREADS
;
9097 wxMenuItem_SetSubMenu(_arg0
,_arg1
);
9099 wxPy_END_ALLOW_THREADS
;
9100 } Py_INCREF(Py_None
);
9101 _resultobj
= Py_None
;
9105 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
9106 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9107 PyObject
* _resultobj
;
9110 PyObject
* _argo0
= 0;
9111 char *_kwnames
[] = { "self", NULL
};
9115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetSubMenu",_kwnames
,&_argo0
))
9118 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9119 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
9125 wxPy_BEGIN_ALLOW_THREADS
;
9126 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
9128 wxPy_END_ALLOW_THREADS
;
9130 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
9131 _resultobj
= Py_BuildValue("s",_ptemp
);
9134 _resultobj
= Py_None
;
9139 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
9140 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9141 PyObject
* _resultobj
;
9143 bool _arg1
= (bool ) TRUE
;
9144 PyObject
* _argo0
= 0;
9145 int tempbool1
= (int) TRUE
;
9146 char *_kwnames
[] = { "self","enable", NULL
};
9149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Enable",_kwnames
,&_argo0
,&tempbool1
))
9152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
9158 _arg1
= (bool ) tempbool1
;
9160 wxPy_BEGIN_ALLOW_THREADS
;
9161 wxMenuItem_Enable(_arg0
,_arg1
);
9163 wxPy_END_ALLOW_THREADS
;
9164 } Py_INCREF(Py_None
);
9165 _resultobj
= Py_None
;
9169 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
9170 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9171 PyObject
* _resultobj
;
9174 PyObject
* _argo0
= 0;
9175 char *_kwnames
[] = { "self", NULL
};
9178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsEnabled",_kwnames
,&_argo0
))
9181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
9188 wxPy_BEGIN_ALLOW_THREADS
;
9189 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
9191 wxPy_END_ALLOW_THREADS
;
9192 } _resultobj
= Py_BuildValue("i",_result
);
9196 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
9197 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9198 PyObject
* _resultobj
;
9200 bool _arg1
= (bool ) TRUE
;
9201 PyObject
* _argo0
= 0;
9202 int tempbool1
= (int) TRUE
;
9203 char *_kwnames
[] = { "self","check", NULL
};
9206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Check",_kwnames
,&_argo0
,&tempbool1
))
9209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
9215 _arg1
= (bool ) tempbool1
;
9217 wxPy_BEGIN_ALLOW_THREADS
;
9218 wxMenuItem_Check(_arg0
,_arg1
);
9220 wxPy_END_ALLOW_THREADS
;
9221 } Py_INCREF(Py_None
);
9222 _resultobj
= Py_None
;
9226 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
9227 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9228 PyObject
* _resultobj
;
9231 PyObject
* _argo0
= 0;
9232 char *_kwnames
[] = { "self", NULL
};
9235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsChecked",_kwnames
,&_argo0
))
9238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
9245 wxPy_BEGIN_ALLOW_THREADS
;
9246 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
9248 wxPy_END_ALLOW_THREADS
;
9249 } _resultobj
= Py_BuildValue("i",_result
);
9253 #define wxMenuItem_Toggle(_swigobj) (_swigobj->Toggle())
9254 static PyObject
*_wrap_wxMenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9255 PyObject
* _resultobj
;
9257 PyObject
* _argo0
= 0;
9258 char *_kwnames
[] = { "self", NULL
};
9261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_Toggle",_kwnames
,&_argo0
))
9264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Toggle. Expected _wxMenuItem_p.");
9271 wxPy_BEGIN_ALLOW_THREADS
;
9272 wxMenuItem_Toggle(_arg0
);
9274 wxPy_END_ALLOW_THREADS
;
9275 } Py_INCREF(Py_None
);
9276 _resultobj
= Py_None
;
9280 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
9281 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9282 PyObject
* _resultobj
;
9285 PyObject
* _argo0
= 0;
9286 PyObject
* _obj1
= 0;
9287 char *_kwnames
[] = { "self","str", NULL
};
9290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetHelp",_kwnames
,&_argo0
,&_obj1
))
9293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
9300 #if PYTHON_API_VERSION >= 1009
9301 char* tmpPtr
; int tmpSize
;
9302 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9303 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
9306 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9308 _arg1
= new wxString(tmpPtr
, tmpSize
);
9310 if (!PyString_Check(_obj1
)) {
9311 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9314 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9318 wxPy_BEGIN_ALLOW_THREADS
;
9319 wxMenuItem_SetHelp(_arg0
,*_arg1
);
9321 wxPy_END_ALLOW_THREADS
;
9322 } Py_INCREF(Py_None
);
9323 _resultobj
= Py_None
;
9331 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
9332 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9333 PyObject
* _resultobj
;
9336 PyObject
* _argo0
= 0;
9337 char *_kwnames
[] = { "self", NULL
};
9340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetHelp",_kwnames
,&_argo0
))
9343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
9350 wxPy_BEGIN_ALLOW_THREADS
;
9351 const wxString
& _result_ref
= wxMenuItem_GetHelp(_arg0
);
9352 _result
= (wxString
*) &_result_ref
;
9354 wxPy_END_ALLOW_THREADS
;
9356 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9361 #define wxMenuItem_GetAccel(_swigobj) (_swigobj->GetAccel())
9362 static PyObject
*_wrap_wxMenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9363 PyObject
* _resultobj
;
9364 wxAcceleratorEntry
* _result
;
9366 PyObject
* _argo0
= 0;
9367 char *_kwnames
[] = { "self", NULL
};
9371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetAccel",_kwnames
,&_argo0
))
9374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetAccel. Expected _wxMenuItem_p.");
9381 wxPy_BEGIN_ALLOW_THREADS
;
9382 _result
= (wxAcceleratorEntry
*)wxMenuItem_GetAccel(_arg0
);
9384 wxPy_END_ALLOW_THREADS
;
9386 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
9387 _resultobj
= Py_BuildValue("s",_ptemp
);
9390 _resultobj
= Py_None
;
9395 #define wxMenuItem_SetAccel(_swigobj,_swigarg0) (_swigobj->SetAccel(_swigarg0))
9396 static PyObject
*_wrap_wxMenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9397 PyObject
* _resultobj
;
9399 wxAcceleratorEntry
* _arg1
;
9400 PyObject
* _argo0
= 0;
9401 PyObject
* _argo1
= 0;
9402 char *_kwnames
[] = { "self","accel", NULL
};
9405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetAccel",_kwnames
,&_argo0
,&_argo1
))
9408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetAccel. Expected _wxMenuItem_p.");
9415 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9416 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorEntry_p")) {
9417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetAccel. Expected _wxAcceleratorEntry_p.");
9422 wxPy_BEGIN_ALLOW_THREADS
;
9423 wxMenuItem_SetAccel(_arg0
,_arg1
);
9425 wxPy_END_ALLOW_THREADS
;
9426 } Py_INCREF(Py_None
);
9427 _resultobj
= Py_None
;
9431 static PyObject
*_wrap_wxMenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9432 PyObject
* _resultobj
;
9435 PyObject
* _obj0
= 0;
9436 char *_kwnames
[] = { "text", NULL
};
9439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabelFromText",_kwnames
,&_obj0
))
9442 #if PYTHON_API_VERSION >= 1009
9443 char* tmpPtr
; int tmpSize
;
9444 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
9445 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
9448 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
9450 _arg0
= new wxString(tmpPtr
, tmpSize
);
9452 if (!PyString_Check(_obj0
)) {
9453 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9456 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
9460 wxPy_BEGIN_ALLOW_THREADS
;
9461 _result
= new wxString (wxMenuItem::GetLabelFromText(*_arg0
));
9463 wxPy_END_ALLOW_THREADS
;
9465 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9477 static PyMethodDef windowscMethods
[] = {
9478 { "wxMenuItem_GetLabelFromText", (PyCFunction
) _wrap_wxMenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
9479 { "wxMenuItem_SetAccel", (PyCFunction
) _wrap_wxMenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
9480 { "wxMenuItem_GetAccel", (PyCFunction
) _wrap_wxMenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
9481 { "wxMenuItem_GetHelp", (PyCFunction
) _wrap_wxMenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
9482 { "wxMenuItem_SetHelp", (PyCFunction
) _wrap_wxMenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
9483 { "wxMenuItem_Toggle", (PyCFunction
) _wrap_wxMenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
9484 { "wxMenuItem_IsChecked", (PyCFunction
) _wrap_wxMenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
9485 { "wxMenuItem_Check", (PyCFunction
) _wrap_wxMenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
9486 { "wxMenuItem_IsEnabled", (PyCFunction
) _wrap_wxMenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9487 { "wxMenuItem_Enable", (PyCFunction
) _wrap_wxMenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
9488 { "wxMenuItem_GetSubMenu", (PyCFunction
) _wrap_wxMenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
9489 { "wxMenuItem_SetSubMenu", (PyCFunction
) _wrap_wxMenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
9490 { "wxMenuItem_IsSubMenu", (PyCFunction
) _wrap_wxMenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
9491 { "wxMenuItem_IsCheckable", (PyCFunction
) _wrap_wxMenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
9492 { "wxMenuItem_SetCheckable", (PyCFunction
) _wrap_wxMenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
9493 { "wxMenuItem_GetText", (PyCFunction
) _wrap_wxMenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
9494 { "wxMenuItem_GetLabel", (PyCFunction
) _wrap_wxMenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9495 { "wxMenuItem_SetText", (PyCFunction
) _wrap_wxMenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
9496 { "wxMenuItem_IsSeparator", (PyCFunction
) _wrap_wxMenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
9497 { "wxMenuItem_GetId", (PyCFunction
) _wrap_wxMenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
9498 { "wxMenuItem_SetId", (PyCFunction
) _wrap_wxMenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
9499 { "wxMenuItem_GetMenu", (PyCFunction
) _wrap_wxMenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
9500 { "new_wxMenuItem", (PyCFunction
) _wrap_new_wxMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
9501 { "wxMenuBar_GetHelpString", (PyCFunction
) _wrap_wxMenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
9502 { "wxMenuBar_SetHelpString", (PyCFunction
) _wrap_wxMenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
9503 { "wxMenuBar_GetLabel", (PyCFunction
) _wrap_wxMenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9504 { "wxMenuBar_SetLabel", (PyCFunction
) _wrap_wxMenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9505 { "wxMenuBar_IsEnabled", (PyCFunction
) _wrap_wxMenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9506 { "wxMenuBar_IsChecked", (PyCFunction
) _wrap_wxMenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
9507 { "wxMenuBar_Check", (PyCFunction
) _wrap_wxMenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
9508 { "wxMenuBar_Enable", (PyCFunction
) _wrap_wxMenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
9509 { "wxMenuBar_FindItemById", (PyCFunction
) _wrap_wxMenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
9510 { "wxMenuBar_FindMenuItem", (PyCFunction
) _wrap_wxMenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
9511 { "wxMenuBar_GetLabelTop", (PyCFunction
) _wrap_wxMenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
9512 { "wxMenuBar_SetLabelTop", (PyCFunction
) _wrap_wxMenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
9513 { "wxMenuBar_EnableTop", (PyCFunction
) _wrap_wxMenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
9514 { "wxMenuBar_Remove", (PyCFunction
) _wrap_wxMenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
9515 { "wxMenuBar_Replace", (PyCFunction
) _wrap_wxMenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
9516 { "wxMenuBar_GetMenu", (PyCFunction
) _wrap_wxMenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
9517 { "wxMenuBar_GetMenuCount", (PyCFunction
) _wrap_wxMenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
9518 { "wxMenuBar_Insert", (PyCFunction
) _wrap_wxMenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
9519 { "wxMenuBar_Append", (PyCFunction
) _wrap_wxMenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
9520 { "new_wxMenuBar", (PyCFunction
) _wrap_new_wxMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
9521 { "wxMenu_GetParent", (PyCFunction
) _wrap_wxMenu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
9522 { "wxMenu_SetParent", (PyCFunction
) _wrap_wxMenu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
9523 { "wxMenu_IsAttached", (PyCFunction
) _wrap_wxMenu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
9524 { "wxMenu_GetStyle", (PyCFunction
) _wrap_wxMenu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
9525 { "wxMenu_GetInvokingWindow", (PyCFunction
) _wrap_wxMenu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
9526 { "wxMenu_SetInvokingWindow", (PyCFunction
) _wrap_wxMenu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
9527 { "wxMenu_GetEventHandler", (PyCFunction
) _wrap_wxMenu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9528 { "wxMenu_SetEventHandler", (PyCFunction
) _wrap_wxMenu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9529 { "wxMenu_GetMenuItems", (PyCFunction
) _wrap_wxMenu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
9530 { "wxMenu_GetMenuItemCount", (PyCFunction
) _wrap_wxMenu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
9531 { "wxMenu_DestroyItem", (PyCFunction
) _wrap_wxMenu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
9532 { "wxMenu_DestroyId", (PyCFunction
) _wrap_wxMenu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
9533 { "wxMenu_Destroy", (PyCFunction
) _wrap_wxMenu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
9534 { "wxMenu_RemoveItem", (PyCFunction
) _wrap_wxMenu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
9535 { "wxMenu_Remove", (PyCFunction
) _wrap_wxMenu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
9536 { "wxMenu_Insert", (PyCFunction
) _wrap_wxMenu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
9537 { "wxMenu_DeleteItem", (PyCFunction
) _wrap_wxMenu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
9538 { "wxMenu_Delete", (PyCFunction
) _wrap_wxMenu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
9539 { "wxMenu_UpdateUI", (PyCFunction
) _wrap_wxMenu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
9540 { "wxMenu_SetHelpString", (PyCFunction
) _wrap_wxMenu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
9541 { "wxMenu_GetHelpString", (PyCFunction
) _wrap_wxMenu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
9542 { "wxMenu_SetLabel", (PyCFunction
) _wrap_wxMenu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9543 { "wxMenu_GetLabel", (PyCFunction
) _wrap_wxMenu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9544 { "wxMenu_SetTitle", (PyCFunction
) _wrap_wxMenu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9545 { "wxMenu_GetTitle", (PyCFunction
) _wrap_wxMenu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9546 { "wxMenu_FindItemById", (PyCFunction
) _wrap_wxMenu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
9547 { "wxMenu_FindItem", (PyCFunction
) _wrap_wxMenu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
9548 { "wxMenu_IsEnabled", (PyCFunction
) _wrap_wxMenu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9549 { "wxMenu_Enable", (PyCFunction
) _wrap_wxMenu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
9550 { "wxMenu_IsChecked", (PyCFunction
) _wrap_wxMenu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
9551 { "wxMenu_Check", (PyCFunction
) _wrap_wxMenu_Check
, METH_VARARGS
| METH_KEYWORDS
},
9552 { "wxMenu_Break", (PyCFunction
) _wrap_wxMenu_Break
, METH_VARARGS
| METH_KEYWORDS
},
9553 { "wxMenu_AppendSeparator", (PyCFunction
) _wrap_wxMenu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
9554 { "wxMenu_AppendItem", (PyCFunction
) _wrap_wxMenu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
9555 { "wxMenu_AppendMenu", (PyCFunction
) _wrap_wxMenu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
9556 { "wxMenu_Append", (PyCFunction
) _wrap_wxMenu_Append
, METH_VARARGS
| METH_KEYWORDS
},
9557 { "new_wxMenu", (PyCFunction
) _wrap_new_wxMenu
, METH_VARARGS
| METH_KEYWORDS
},
9558 { "wxScrolledWindow_CalcUnscrolledPosition", (PyCFunction
) _wrap_wxScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
| METH_KEYWORDS
},
9559 { "wxScrolledWindow_CalcScrolledPosition", (PyCFunction
) _wrap_wxScrolledWindow_CalcScrolledPosition
, METH_VARARGS
| METH_KEYWORDS
},
9560 { "wxScrolledWindow_ViewStart", (PyCFunction
) _wrap_wxScrolledWindow_ViewStart
, METH_VARARGS
| METH_KEYWORDS
},
9561 { "wxScrolledWindow_GetViewStart", (PyCFunction
) _wrap_wxScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
9562 { "wxScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
9563 { "wxScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
9564 { "wxScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
9565 { "wxScrolledWindow_Scroll", (PyCFunction
) _wrap_wxScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
9566 { "wxScrolledWindow_PrepareDC", (PyCFunction
) _wrap_wxScrolledWindow_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
9567 { "wxScrolledWindow_IsRetained", (PyCFunction
) _wrap_wxScrolledWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
9568 { "wxScrolledWindow_GetVirtualSize", (PyCFunction
) _wrap_wxScrolledWindow_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
9569 { "wxScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
9570 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
9571 { "wxScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
9572 { "wxScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_wxScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
9573 { "new_wxScrolledWindow", (PyCFunction
) _wrap_new_wxScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
9574 { "wxDialog_SetReturnCode", (PyCFunction
) _wrap_wxDialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
9575 { "wxDialog_GetReturnCode", (PyCFunction
) _wrap_wxDialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
9576 { "wxDialog_ShowModal", (PyCFunction
) _wrap_wxDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
9577 { "wxDialog_Show", (PyCFunction
) _wrap_wxDialog_Show
, METH_VARARGS
| METH_KEYWORDS
},
9578 { "wxDialog_SetTitle", (PyCFunction
) _wrap_wxDialog_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9579 { "wxDialog_IsModal", (PyCFunction
) _wrap_wxDialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
9580 { "wxDialog_SetModal", (PyCFunction
) _wrap_wxDialog_SetModal
, METH_VARARGS
| METH_KEYWORDS
},
9581 { "wxDialog_IsIconized", (PyCFunction
) _wrap_wxDialog_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
9582 { "wxDialog_Iconize", (PyCFunction
) _wrap_wxDialog_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
9583 { "wxDialog_GetTitle", (PyCFunction
) _wrap_wxDialog_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9584 { "wxDialog_EndModal", (PyCFunction
) _wrap_wxDialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
9585 { "wxDialog_Centre", (PyCFunction
) _wrap_wxDialog_Centre
, METH_VARARGS
| METH_KEYWORDS
},
9586 { "new_wxDialog", (PyCFunction
) _wrap_new_wxDialog
, METH_VARARGS
| METH_KEYWORDS
},
9587 { "wxPanel_SetDefaultItem", (PyCFunction
) _wrap_wxPanel_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
9588 { "wxPanel_GetDefaultItem", (PyCFunction
) _wrap_wxPanel_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
9589 { "wxPanel_InitDialog", (PyCFunction
) _wrap_wxPanel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
9590 { "new_wxPanel", (PyCFunction
) _wrap_new_wxPanel
, METH_VARARGS
| METH_KEYWORDS
},
9591 { "wxWindow_GetCaret", (PyCFunction
) _wrap_wxWindow_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
9592 { "wxWindow_SetCaret", (PyCFunction
) _wrap_wxWindow_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
9593 { "wxWindow_GetBestSize", (PyCFunction
) _wrap_wxWindow_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
9594 { "wxWindow_GetDropTarget", (PyCFunction
) _wrap_wxWindow_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
9595 { "wxWindow_SetDropTarget", (PyCFunction
) _wrap_wxWindow_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
9596 { "wxWindow_SetValidator", (PyCFunction
) _wrap_wxWindow_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
9597 { "wxWindow_GetValidator", (PyCFunction
) _wrap_wxWindow_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
9598 { "wxWindow_GetSizer", (PyCFunction
) _wrap_wxWindow_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
9599 { "wxWindow_SetSizer", (PyCFunction
) _wrap_wxWindow_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
9600 { "wxWindow_GetToolTip", (PyCFunction
) _wrap_wxWindow_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
9601 { "wxWindow_SetToolTip", (PyCFunction
) _wrap_wxWindow_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
9602 { "wxWindow_SetToolTipString", (PyCFunction
) _wrap_wxWindow_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
9603 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
9604 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
9605 { "wxWindow_DLG_SZE", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
9606 { "wxWindow_DLG_PNT", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
9607 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
9608 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
9609 { "wxWindow_WarpPointer", (PyCFunction
) _wrap_wxWindow_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
9610 { "wxWindow_Validate", (PyCFunction
) _wrap_wxWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
},
9611 { "wxWindow_TransferDataToWindow", (PyCFunction
) _wrap_wxWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
9612 { "wxWindow_TransferDataFromWindow", (PyCFunction
) _wrap_wxWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
9613 { "wxWindow_Show", (PyCFunction
) _wrap_wxWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
9614 { "wxWindow_SetTitle", (PyCFunction
) _wrap_wxWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9615 { "wxWindow_SetExtraStyle", (PyCFunction
) _wrap_wxWindow_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
9616 { "wxWindow_SetEventHandler", (PyCFunction
) _wrap_wxWindow_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9617 { "wxWindow_SetCursor", (PyCFunction
) _wrap_wxWindow_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
9618 { "wxWindow_SetClientSize", (PyCFunction
) _wrap_wxWindow_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
9619 { "wxWindow_SetClientSizeWH", (PyCFunction
) _wrap_wxWindow_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
9620 { "wxWindow_SetSizeHints", (PyCFunction
) _wrap_wxWindow_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
9621 { "wxWindow_SetRect", (PyCFunction
) _wrap_wxWindow_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
9622 { "wxWindow_SetPosition", (PyCFunction
) _wrap_wxWindow_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
9623 { "wxWindow_SetSize", (PyCFunction
) _wrap_wxWindow_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
9624 { "wxWindow_SetDimensions", (PyCFunction
) _wrap_wxWindow_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
9625 { "wxWindow_SetScrollPos", (PyCFunction
) _wrap_wxWindow_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
9626 { "wxWindow_SetScrollbar", (PyCFunction
) _wrap_wxWindow_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
9627 { "wxWindow_SetName", (PyCFunction
) _wrap_wxWindow_SetName
, METH_VARARGS
| METH_KEYWORDS
},
9628 { "wxWindow_SetId", (PyCFunction
) _wrap_wxWindow_SetId
, METH_VARARGS
| METH_KEYWORDS
},
9629 { "wxWindow_SetForegroundColour", (PyCFunction
) _wrap_wxWindow_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9630 { "wxWindow_SetFont", (PyCFunction
) _wrap_wxWindow_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
9631 { "wxWindow_AcceptsFocus", (PyCFunction
) _wrap_wxWindow_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
9632 { "wxWindow_SetFocus", (PyCFunction
) _wrap_wxWindow_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
9633 { "wxWindow_UnsetConstraints", (PyCFunction
) _wrap_wxWindow_UnsetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
9634 { "wxWindow_SetConstraints", (PyCFunction
) _wrap_wxWindow_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
9635 { "wxWindow_SetBackgroundColour", (PyCFunction
) _wrap_wxWindow_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9636 { "wxWindow_GetAutoLayout", (PyCFunction
) _wrap_wxWindow_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
9637 { "wxWindow_SetAutoLayout", (PyCFunction
) _wrap_wxWindow_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
9638 { "wxWindow_SetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
9639 { "wxWindow_ScrollWindow", (PyCFunction
) _wrap_wxWindow_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
9640 { "wxWindow_ScreenToClient", (PyCFunction
) _wrap_wxWindow_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
9641 { "wxWindow_ScreenToClientXY", (PyCFunction
) _wrap_wxWindow_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
9642 { "wxWindow_Reparent", (PyCFunction
) _wrap_wxWindow_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
9643 { "wxWindow_RemoveChild", (PyCFunction
) _wrap_wxWindow_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
9644 { "wxWindow_ReleaseMouse", (PyCFunction
) _wrap_wxWindow_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
9645 { "wxWindow_Refresh", (PyCFunction
) _wrap_wxWindow_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
9646 { "wxWindow_Raise", (PyCFunction
) _wrap_wxWindow_Raise
, METH_VARARGS
| METH_KEYWORDS
},
9647 { "wxWindow_PopupMenu", (PyCFunction
) _wrap_wxWindow_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
9648 { "wxWindow_PopupMenuXY", (PyCFunction
) _wrap_wxWindow_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
9649 { "wxWindow_PushEventHandler", (PyCFunction
) _wrap_wxWindow_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9650 { "wxWindow_PopEventHandler", (PyCFunction
) _wrap_wxWindow_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9651 { "wxWindow_Move", (PyCFunction
) _wrap_wxWindow_Move
, METH_VARARGS
| METH_KEYWORDS
},
9652 { "wxWindow_MoveXY", (PyCFunction
) _wrap_wxWindow_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
9653 { "wxWindow_MakeModal", (PyCFunction
) _wrap_wxWindow_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
9654 { "wxWindow_Lower", (PyCFunction
) _wrap_wxWindow_Lower
, METH_VARARGS
| METH_KEYWORDS
},
9655 { "wxWindow_LoadFromResource", (PyCFunction
) _wrap_wxWindow_LoadFromResource
, METH_VARARGS
| METH_KEYWORDS
},
9656 { "wxWindow_Layout", (PyCFunction
) _wrap_wxWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
9657 { "wxWindow_IsTopLevel", (PyCFunction
) _wrap_wxWindow_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
9658 { "wxWindow_IsShown", (PyCFunction
) _wrap_wxWindow_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
9659 { "wxWindow_IsRetained", (PyCFunction
) _wrap_wxWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
9660 { "wxWindow_IsExposedRect", (PyCFunction
) _wrap_wxWindow_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
9661 { "wxWindow_IsExposedPoint", (PyCFunction
) _wrap_wxWindow_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
9662 { "wxWindow_IsExposed", (PyCFunction
) _wrap_wxWindow_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
9663 { "wxWindow_IsEnabled", (PyCFunction
) _wrap_wxWindow_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9664 { "wxWindow_InitDialog", (PyCFunction
) _wrap_wxWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
9665 { "wxWindow_Hide", (PyCFunction
) _wrap_wxWindow_Hide
, METH_VARARGS
| METH_KEYWORDS
},
9666 { "wxWindow_SetWindowStyle", (PyCFunction
) _wrap_wxWindow_SetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
9667 { "wxWindow_SetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
9668 { "wxWindow_GetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
9669 { "wxWindow_GetUpdateRegion", (PyCFunction
) _wrap_wxWindow_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
9670 { "wxWindow_GetTitle", (PyCFunction
) _wrap_wxWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9671 { "wxWindow_GetFullTextExtent", (PyCFunction
) _wrap_wxWindow_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
9672 { "wxWindow_GetTextExtent", (PyCFunction
) _wrap_wxWindow_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
9673 { "wxWindow_GetSize", (PyCFunction
) _wrap_wxWindow_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
9674 { "wxWindow_GetSizeTuple", (PyCFunction
) _wrap_wxWindow_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
9675 { "wxWindow_GetScrollRange", (PyCFunction
) _wrap_wxWindow_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
9676 { "wxWindow_GetScrollPos", (PyCFunction
) _wrap_wxWindow_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
9677 { "wxWindow_GetScrollThumb", (PyCFunction
) _wrap_wxWindow_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
9678 { "wxWindow_GetRect", (PyCFunction
) _wrap_wxWindow_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
9679 { "wxWindow_GetPosition", (PyCFunction
) _wrap_wxWindow_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
9680 { "wxWindow_GetPositionTuple", (PyCFunction
) _wrap_wxWindow_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
9681 { "wxWindow_GetParent", (PyCFunction
) _wrap_wxWindow_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
9682 { "wxWindow_GetName", (PyCFunction
) _wrap_wxWindow_GetName
, METH_VARARGS
| METH_KEYWORDS
},
9683 { "wxWindow_SetLabel", (PyCFunction
) _wrap_wxWindow_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9684 { "wxWindow_GetLabel", (PyCFunction
) _wrap_wxWindow_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9685 { "wxWindow_GetId", (PyCFunction
) _wrap_wxWindow_GetId
, METH_VARARGS
| METH_KEYWORDS
},
9686 { "wxWindow_GetHandle", (PyCFunction
) _wrap_wxWindow_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
9687 { "wxWindow_GetGrandParent", (PyCFunction
) _wrap_wxWindow_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
9688 { "wxWindow_GetForegroundColour", (PyCFunction
) _wrap_wxWindow_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9689 { "wxWindow_GetFont", (PyCFunction
) _wrap_wxWindow_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
9690 { "wxWindow_GetEventHandler", (PyCFunction
) _wrap_wxWindow_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9691 { "wxWindow_GetConstraints", (PyCFunction
) _wrap_wxWindow_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
9692 { "wxWindow_GetClientSize", (PyCFunction
) _wrap_wxWindow_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
9693 { "wxWindow_GetClientSizeTuple", (PyCFunction
) _wrap_wxWindow_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
9694 { "wxWindow_GetCharWidth", (PyCFunction
) _wrap_wxWindow_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
9695 { "wxWindow_GetCharHeight", (PyCFunction
) _wrap_wxWindow_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
9696 { "wxWindow_GetChildren", (PyCFunction
) _wrap_wxWindow_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
9697 { "wxWindow_GetBackgroundColour", (PyCFunction
) _wrap_wxWindow_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9698 { "wxWindow_Fit", (PyCFunction
) _wrap_wxWindow_Fit
, METH_VARARGS
| METH_KEYWORDS
},
9699 { "wxWindow_FindWindowByName", (PyCFunction
) _wrap_wxWindow_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
9700 { "wxWindow_FindWindowById", (PyCFunction
) _wrap_wxWindow_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
9701 { "wxWindow_Enable", (PyCFunction
) _wrap_wxWindow_Enable
, METH_VARARGS
| METH_KEYWORDS
},
9702 { "wxWindow_DestroyChildren", (PyCFunction
) _wrap_wxWindow_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
9703 { "wxWindow_Destroy", (PyCFunction
) _wrap_wxWindow_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
9704 { "wxWindow_Close", (PyCFunction
) _wrap_wxWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
9705 { "wxWindow_ClientToScreen", (PyCFunction
) _wrap_wxWindow_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
9706 { "wxWindow_ClientToScreenXY", (PyCFunction
) _wrap_wxWindow_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
9707 { "wxWindow_CenterOnScreen", (PyCFunction
) _wrap_wxWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
9708 { "wxWindow_CentreOnScreen", (PyCFunction
) _wrap_wxWindow_CentreOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
9709 { "wxWindow_CenterOnParent", (PyCFunction
) _wrap_wxWindow_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
9710 { "wxWindow_CentreOnParent", (PyCFunction
) _wrap_wxWindow_CentreOnParent
, METH_VARARGS
| METH_KEYWORDS
},
9711 { "wxWindow_Centre", (PyCFunction
) _wrap_wxWindow_Centre
, METH_VARARGS
| METH_KEYWORDS
},
9712 { "wxWindow_Center", (PyCFunction
) _wrap_wxWindow_Center
, METH_VARARGS
| METH_KEYWORDS
},
9713 { "wxWindow_CaptureMouse", (PyCFunction
) _wrap_wxWindow_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
9714 { "new_wxWindow", (PyCFunction
) _wrap_new_wxWindow
, METH_VARARGS
| METH_KEYWORDS
},
9715 { "wxPyValidator__setSelf", (PyCFunction
) _wrap_wxPyValidator__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
9716 { "wxPyValidator_Destroy", (PyCFunction
) _wrap_wxPyValidator_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
9717 { "new_wxPyValidator", (PyCFunction
) _wrap_new_wxPyValidator
, METH_VARARGS
| METH_KEYWORDS
},
9718 { "wxValidator_SetWindow", (PyCFunction
) _wrap_wxValidator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
9719 { "wxValidator_GetWindow", (PyCFunction
) _wrap_wxValidator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
9720 { "wxValidator_Clone", (PyCFunction
) _wrap_wxValidator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
9721 { "new_wxValidator", (PyCFunction
) _wrap_new_wxValidator
, METH_VARARGS
| METH_KEYWORDS
},
9722 { "wxEvtHandler_Disconnect", (PyCFunction
) _wrap_wxEvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
9723 { "wxEvtHandler_Connect", (PyCFunction
) _wrap_wxEvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
9724 { "wxEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
9725 { "wxEvtHandler_SetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
9726 { "wxEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
9727 { "wxEvtHandler_GetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
9728 { "wxEvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9729 { "wxEvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9730 { "wxEvtHandler_AddPendingEvent", (PyCFunction
) _wrap_wxEvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
9731 { "wxEvtHandler_ProcessEvent", (PyCFunction
) _wrap_wxEvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
9732 { "new_wxEvtHandler", (PyCFunction
) _wrap_new_wxEvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
9733 { "wxWindow_PrevControlId", (PyCFunction
) _wrap_wxWindow_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
9734 { "wxWindow_NextControlId", (PyCFunction
) _wrap_wxWindow_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
9735 { "wxWindow_NewControlId", (PyCFunction
) _wrap_wxWindow_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
9736 { "wxWindow_FindFocus", (PyCFunction
) _wrap_wxWindow_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
9737 { "wxValidator_SetBellOnError", (PyCFunction
) _wrap_wxValidator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
9738 { "wxValidator_IsSilent", (PyCFunction
) _wrap_wxValidator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
9745 * This table is used by the pointer type-checker
9747 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
9748 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
9749 { "_signed_long","_long",0},
9750 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
9751 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
9752 { "_wxPrintQuality","_wxCoord",0},
9753 { "_wxPrintQuality","_int",0},
9754 { "_wxPrintQuality","_signed_int",0},
9755 { "_wxPrintQuality","_unsigned_int",0},
9756 { "_wxPrintQuality","_wxWindowID",0},
9757 { "_wxPrintQuality","_uint",0},
9758 { "_wxPrintQuality","_EBool",0},
9759 { "_wxPrintQuality","_size_t",0},
9760 { "_wxPrintQuality","_time_t",0},
9761 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
9762 { "_class_wxRegionIterator","_wxRegionIterator",0},
9763 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
9764 { "_class_wxMenuBar","_wxMenuBar",0},
9765 { "_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
9766 { "_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
9767 { "_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
9768 { "_class_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
9769 { "_class_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
9770 { "_class_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
9771 { "_class_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
9772 { "_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
9773 { "_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
9774 { "_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
9775 { "_class_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
9776 { "_class_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
9777 { "_class_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
9778 { "_class_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
9779 { "_class_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler
},
9780 { "_class_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
9781 { "_class_wxEvtHandler","_wxEvtHandler",0},
9782 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
9783 { "_wxCursor","_class_wxCursor",0},
9784 { "_wxMask","_class_wxMask",0},
9785 { "_wxPen","_class_wxPen",0},
9786 { "_byte","_unsigned_char",0},
9787 { "_wxDataObject","_class_wxDataObject",0},
9788 { "_wxColourDatabase","_class_wxColourDatabase",0},
9789 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
9790 { "_wxPyDropSource","_class_wxPyDropSource",0},
9791 { "_long","_unsigned_long",0},
9792 { "_long","_signed_long",0},
9793 { "_wxImageList","_class_wxImageList",0},
9794 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
9795 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
9796 { "_class_wxClipboard","_wxClipboard",0},
9797 { "_wxDC","_class_wxDC",0},
9798 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
9799 { "_size_t","_wxCoord",0},
9800 { "_size_t","_wxPrintQuality",0},
9801 { "_size_t","_time_t",0},
9802 { "_size_t","_unsigned_int",0},
9803 { "_size_t","_int",0},
9804 { "_size_t","_wxWindowID",0},
9805 { "_size_t","_uint",0},
9806 { "_class_wxRealPoint","_wxRealPoint",0},
9807 { "_class_wxMenuItem","_wxMenuItem",0},
9808 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
9809 { "_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
9810 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
9811 { "_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
9812 { "_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
9813 { "_wxPanel","_class_wxPanel",0},
9814 { "_class_wxMask","_wxMask",0},
9815 { "_wxTextDataObject","_class_wxTextDataObject",0},
9816 { "_wxColour","_class_wxColour",0},
9817 { "_class_wxDialog","_wxDialog",0},
9818 { "_class_wxFileDataObject","_wxFileDataObject",0},
9819 { "_class_wxDataObject","_wxDataObject",0},
9820 { "_wxBrush","_class_wxBrush",0},
9821 { "_wxDataFormat","_class_wxDataFormat",0},
9822 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
9823 { "_uint","_wxCoord",0},
9824 { "_uint","_wxPrintQuality",0},
9825 { "_uint","_time_t",0},
9826 { "_uint","_size_t",0},
9827 { "_uint","_unsigned_int",0},
9828 { "_uint","_int",0},
9829 { "_uint","_wxWindowID",0},
9830 { "_wxChar","_char",0},
9831 { "_wxPyValidator","_class_wxPyValidator",0},
9832 { "_wxRect","_class_wxRect",0},
9833 { "_wxPoint","_class_wxPoint",0},
9834 { "_char","_wxChar",0},
9835 { "_wxBitmap","_class_wxBitmap",0},
9836 { "_wxPenList","_class_wxPenList",0},
9837 { "_wxWindowDC","_class_wxWindowDC",0},
9838 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
9839 { "_class_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator
},
9840 { "_class_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
9841 { "_class_wxValidator","_wxValidator",0},
9842 { "_wxDropTarget","_class_wxDropTarget",0},
9843 { "_class_wxColourDatabase","_wxColourDatabase",0},
9844 { "_EBool","_wxCoord",0},
9845 { "_EBool","_wxPrintQuality",0},
9846 { "_EBool","_signed_int",0},
9847 { "_EBool","_int",0},
9848 { "_EBool","_wxWindowID",0},
9849 { "_class_wxRegion","_wxRegion",0},
9850 { "_class_wxDataFormat","_wxDataFormat",0},
9851 { "_wxFont","_class_wxFont",0},
9852 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
9853 { "_unsigned_long","_long",0},
9854 { "_class_wxRect","_wxRect",0},
9855 { "_class_wxDC","_wxDC",0},
9856 { "_class_wxBrushList","_wxBrushList",0},
9857 { "_class_wxPenList","_wxPenList",0},
9858 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
9859 { "_class_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
9860 { "_class_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
9861 { "_class_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
9862 { "_class_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
9863 { "_class_wxPanel","_wxPanel",0},
9864 { "_signed_int","_wxCoord",0},
9865 { "_signed_int","_wxPrintQuality",0},
9866 { "_signed_int","_EBool",0},
9867 { "_signed_int","_wxWindowID",0},
9868 { "_signed_int","_int",0},
9869 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
9870 { "_class_wxTextDataObject","_wxTextDataObject",0},
9871 { "_wxMenu","_class_wxMenu",0},
9872 { "_wxScreenDC","_class_wxScreenDC",0},
9873 { "_WXTYPE","_short",0},
9874 { "_WXTYPE","_signed_short",0},
9875 { "_WXTYPE","_unsigned_short",0},
9876 { "_class_wxDropTarget","_wxDropTarget",0},
9877 { "_class_wxBrush","_wxBrush",0},
9878 { "_unsigned_short","_WXTYPE",0},
9879 { "_unsigned_short","_short",0},
9880 { "_class_wxWindow","_class_wxMenuBar",SwigwxMenuBarTowxWindow
},
9881 { "_class_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
9882 { "_class_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
9883 { "_class_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
9884 { "_class_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
9885 { "_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
9886 { "_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
9887 { "_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
9888 { "_class_wxWindow","_wxWindow",0},
9889 { "_class_wxFont","_wxFont",0},
9890 { "_wxClipboard","_class_wxClipboard",0},
9891 { "_class_wxPyValidator","_wxPyValidator",0},
9892 { "_wxBusyInfo","_class_wxBusyInfo",0},
9893 { "_wxFontList","_class_wxFontList",0},
9894 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
9895 { "_wxClientDC","_class_wxClientDC",0},
9896 { "_class_wxPoint","_wxPoint",0},
9897 { "_wxRealPoint","_class_wxRealPoint",0},
9898 { "_signed_short","_WXTYPE",0},
9899 { "_signed_short","_short",0},
9900 { "_wxMemoryDC","_class_wxMemoryDC",0},
9901 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
9902 { "_wxPaintDC","_class_wxPaintDC",0},
9903 { "_class_wxWindowDC","_wxWindowDC",0},
9904 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
9905 { "_class_wxCursor","_wxCursor",0},
9906 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
9907 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
9908 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
9909 { "_unsigned_char","_byte",0},
9910 { "_class_wxMenu","_wxMenu",0},
9911 { "_unsigned_int","_wxCoord",0},
9912 { "_unsigned_int","_wxPrintQuality",0},
9913 { "_unsigned_int","_time_t",0},
9914 { "_unsigned_int","_size_t",0},
9915 { "_unsigned_int","_uint",0},
9916 { "_unsigned_int","_wxWindowID",0},
9917 { "_unsigned_int","_int",0},
9918 { "_wxIcon","_class_wxIcon",0},
9919 { "_wxDialog","_class_wxDialog",0},
9920 { "_class_wxPen","_wxPen",0},
9921 { "_short","_WXTYPE",0},
9922 { "_short","_unsigned_short",0},
9923 { "_short","_signed_short",0},
9924 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
9925 { "_class_wxPyDropSource","_wxPyDropSource",0},
9926 { "_class_wxImageList","_wxImageList",0},
9927 { "_wxWindowID","_wxCoord",0},
9928 { "_wxWindowID","_wxPrintQuality",0},
9929 { "_wxWindowID","_time_t",0},
9930 { "_wxWindowID","_size_t",0},
9931 { "_wxWindowID","_EBool",0},
9932 { "_wxWindowID","_uint",0},
9933 { "_wxWindowID","_int",0},
9934 { "_wxWindowID","_signed_int",0},
9935 { "_wxWindowID","_unsigned_int",0},
9936 { "_int","_wxCoord",0},
9937 { "_int","_wxPrintQuality",0},
9938 { "_int","_time_t",0},
9939 { "_int","_size_t",0},
9940 { "_int","_EBool",0},
9941 { "_int","_uint",0},
9942 { "_int","_wxWindowID",0},
9943 { "_int","_unsigned_int",0},
9944 { "_int","_signed_int",0},
9945 { "_time_t","_wxCoord",0},
9946 { "_time_t","_wxPrintQuality",0},
9947 { "_time_t","_unsigned_int",0},
9948 { "_time_t","_int",0},
9949 { "_time_t","_wxWindowID",0},
9950 { "_time_t","_uint",0},
9951 { "_time_t","_size_t",0},
9952 { "_wxSize","_class_wxSize",0},
9953 { "_wxRegionIterator","_class_wxRegionIterator",0},
9954 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
9955 { "_class_wxPaintDC","_wxPaintDC",0},
9956 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
9957 { "_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator
},
9958 { "_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
9959 { "_wxValidator","_class_wxValidator",0},
9960 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
9961 { "_class_wxIcon","_wxIcon",0},
9962 { "_class_wxColour","_wxColour",0},
9963 { "_class_wxScreenDC","_wxScreenDC",0},
9964 { "_wxPalette","_class_wxPalette",0},
9965 { "_wxCoord","_int",0},
9966 { "_wxCoord","_signed_int",0},
9967 { "_wxCoord","_unsigned_int",0},
9968 { "_wxCoord","_wxWindowID",0},
9969 { "_wxCoord","_uint",0},
9970 { "_wxCoord","_EBool",0},
9971 { "_wxCoord","_size_t",0},
9972 { "_wxCoord","_time_t",0},
9973 { "_wxCoord","_wxPrintQuality",0},
9974 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
9975 { "_wxRegion","_class_wxRegion",0},
9976 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
9977 { "_class_wxBusyInfo","_wxBusyInfo",0},
9978 { "_class_wxFontList","_wxFontList",0},
9979 { "_class_wxClientDC","_wxClientDC",0},
9980 { "_wxBrushList","_class_wxBrushList",0},
9981 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
9982 { "_class_wxSize","_wxSize",0},
9983 { "_class_wxBitmap","_wxBitmap",0},
9984 { "_class_wxMemoryDC","_wxMemoryDC",0},
9985 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
9986 { "_wxMenuBar","_class_wxMenuBar",0},
9987 { "_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
9988 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
9989 { "_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
9990 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
9991 { "_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
9992 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
9993 { "_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
9994 { "_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
9995 { "_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
9996 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
9997 { "_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
9998 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
9999 { "_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
10000 { "_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
10001 { "_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler
},
10002 { "_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
10003 { "_wxEvtHandler","_class_wxEvtHandler",0},
10004 { "_wxMenuItem","_class_wxMenuItem",0},
10005 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
10006 { "_class_wxPalette","_wxPalette",0},
10007 { "_wxFileDataObject","_class_wxFileDataObject",0},
10008 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
10009 { "_wxWindow","_class_wxMenuBar",SwigwxMenuBarTowxWindow
},
10010 { "_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
10011 { "_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
10012 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
10013 { "_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
10014 { "_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
10015 { "_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
10016 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
10017 { "_wxWindow","_class_wxWindow",0},
10020 static PyObject
*SWIG_globals
;
10024 SWIGEXPORT(void) initwindowsc() {
10026 SWIG_globals
= SWIG_newvarlink();
10027 m
= Py_InitModule("windowsc", windowscMethods
);
10028 d
= PyModule_GetDict(m
);
10031 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
10032 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);