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 const char * wxEvtHandler_GetClassName(wxEvtHandler
*self
) {
665 return self
->GetClassInfo()->GetClassName();
667 static PyObject
*_wrap_wxEvtHandler_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
668 PyObject
* _resultobj
;
670 wxEvtHandler
* _arg0
;
671 PyObject
* _argo0
= 0;
672 char *_kwnames
[] = { "self", NULL
};
675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetClassName",_kwnames
,&_argo0
))
678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetClassName. Expected _wxEvtHandler_p.");
685 wxPy_BEGIN_ALLOW_THREADS
;
686 _result
= (char *)wxEvtHandler_GetClassName(_arg0
);
688 wxPy_END_ALLOW_THREADS
;
689 } _resultobj
= Py_BuildValue("s", _result
);
693 static void *SwigwxValidatorTowxEvtHandler(void *ptr
) {
696 src
= (wxValidator
*) ptr
;
697 dest
= (wxEvtHandler
*) src
;
698 return (void *) dest
;
701 #define new_wxValidator() (new wxValidator())
702 static PyObject
*_wrap_new_wxValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
703 PyObject
* _resultobj
;
704 wxValidator
* _result
;
705 char *_kwnames
[] = { NULL
};
709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxValidator",_kwnames
))
712 wxPy_BEGIN_ALLOW_THREADS
;
713 _result
= (wxValidator
*)new_wxValidator();
715 wxPy_END_ALLOW_THREADS
;
717 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
718 _resultobj
= Py_BuildValue("s",_ptemp
);
721 _resultobj
= Py_None
;
726 #define wxValidator_Clone(_swigobj) (_swigobj->Clone())
727 static PyObject
*_wrap_wxValidator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
728 PyObject
* _resultobj
;
729 wxValidator
* _result
;
731 PyObject
* _argo0
= 0;
732 char *_kwnames
[] = { "self", NULL
};
736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_Clone",_kwnames
,&_argo0
))
739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_Clone. Expected _wxValidator_p.");
746 wxPy_BEGIN_ALLOW_THREADS
;
747 _result
= (wxValidator
*)wxValidator_Clone(_arg0
);
749 wxPy_END_ALLOW_THREADS
;
751 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
752 _resultobj
= Py_BuildValue("s",_ptemp
);
755 _resultobj
= Py_None
;
760 #define wxValidator_GetWindow(_swigobj) (_swigobj->GetWindow())
761 static PyObject
*_wrap_wxValidator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
762 PyObject
* _resultobj
;
765 PyObject
* _argo0
= 0;
766 char *_kwnames
[] = { "self", NULL
};
770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_GetWindow",_kwnames
,&_argo0
))
773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_GetWindow. Expected _wxValidator_p.");
780 wxPy_BEGIN_ALLOW_THREADS
;
781 _result
= (wxWindow
*)wxValidator_GetWindow(_arg0
);
783 wxPy_END_ALLOW_THREADS
;
785 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
786 _resultobj
= Py_BuildValue("s",_ptemp
);
789 _resultobj
= Py_None
;
794 #define wxValidator_SetWindow(_swigobj,_swigarg0) (_swigobj->SetWindow(_swigarg0))
795 static PyObject
*_wrap_wxValidator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
796 PyObject
* _resultobj
;
799 PyObject
* _argo0
= 0;
800 PyObject
* _argo1
= 0;
801 char *_kwnames
[] = { "self","window", NULL
};
804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxValidator_SetWindow",_kwnames
,&_argo0
,&_argo1
))
807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_SetWindow. Expected _wxValidator_p.");
814 if (_argo1
== Py_None
) { _arg1
= NULL
; }
815 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxValidator_SetWindow. Expected _wxWindow_p.");
821 wxPy_BEGIN_ALLOW_THREADS
;
822 wxValidator_SetWindow(_arg0
,_arg1
);
824 wxPy_END_ALLOW_THREADS
;
825 } Py_INCREF(Py_None
);
826 _resultobj
= Py_None
;
830 static void *SwigwxPyValidatorTowxValidator(void *ptr
) {
833 src
= (wxPyValidator
*) ptr
;
834 dest
= (wxValidator
*) src
;
835 return (void *) dest
;
838 static void *SwigwxPyValidatorTowxEvtHandler(void *ptr
) {
841 src
= (wxPyValidator
*) ptr
;
842 dest
= (wxEvtHandler
*) src
;
843 return (void *) dest
;
846 #define new_wxPyValidator() (new wxPyValidator())
847 static PyObject
*_wrap_new_wxPyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
848 PyObject
* _resultobj
;
849 wxPyValidator
* _result
;
850 char *_kwnames
[] = { NULL
};
854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyValidator",_kwnames
))
857 wxPy_BEGIN_ALLOW_THREADS
;
858 _result
= (wxPyValidator
*)new_wxPyValidator();
860 wxPy_END_ALLOW_THREADS
;
862 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyValidator_p");
863 _resultobj
= Py_BuildValue("s",_ptemp
);
866 _resultobj
= Py_None
;
871 static void wxPyValidator_Destroy(wxPyValidator
*self
) { delete self
; }
872 static PyObject
*_wrap_wxPyValidator_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
873 PyObject
* _resultobj
;
874 wxPyValidator
* _arg0
;
875 PyObject
* _argo0
= 0;
876 char *_kwnames
[] = { "self", NULL
};
879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyValidator_Destroy",_kwnames
,&_argo0
))
882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyValidator_p")) {
884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyValidator_Destroy. Expected _wxPyValidator_p.");
889 wxPy_BEGIN_ALLOW_THREADS
;
890 wxPyValidator_Destroy(_arg0
);
892 wxPy_END_ALLOW_THREADS
;
893 } Py_INCREF(Py_None
);
894 _resultobj
= Py_None
;
898 #define wxPyValidator__setSelf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->_setSelf(_swigarg0,_swigarg1,_swigarg2))
899 static PyObject
*_wrap_wxPyValidator__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
900 PyObject
* _resultobj
;
901 wxPyValidator
* _arg0
;
904 int _arg3
= (int ) TRUE
;
905 PyObject
* _argo0
= 0;
906 PyObject
* _obj1
= 0;
907 PyObject
* _obj2
= 0;
908 char *_kwnames
[] = { "self","self","_class","incref", NULL
};
911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPyValidator__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
))
914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyValidator_p")) {
916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyValidator__setSelf. Expected _wxPyValidator_p.");
927 wxPy_BEGIN_ALLOW_THREADS
;
928 wxPyValidator__setSelf(_arg0
,_arg1
,_arg2
,_arg3
);
930 wxPy_END_ALLOW_THREADS
;
931 } Py_INCREF(Py_None
);
932 _resultobj
= Py_None
;
936 static void *SwigwxWindowTowxEvtHandler(void *ptr
) {
939 src
= (wxWindow
*) ptr
;
940 dest
= (wxEvtHandler
*) src
;
941 return (void *) dest
;
944 #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
945 static PyObject
*_wrap_new_wxWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
946 PyObject
* _resultobj
;
950 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
951 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
952 long _arg4
= (long ) 0;
953 char * _arg5
= (char *) "panel";
954 PyObject
* _argo0
= 0;
956 PyObject
* _obj2
= 0;
958 PyObject
* _obj3
= 0;
959 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
975 if (! wxPoint_helper(_obj2
, &_arg2
))
981 if (! wxSize_helper(_obj3
, &_arg3
))
985 wxPy_BEGIN_ALLOW_THREADS
;
986 _result
= (wxWindow
*)new_wxWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
988 wxPy_END_ALLOW_THREADS
;
990 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
991 _resultobj
= Py_BuildValue("s",_ptemp
);
994 _resultobj
= Py_None
;
999 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
1000 static PyObject
*_wrap_wxWindow_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1001 PyObject
* _resultobj
;
1003 PyObject
* _argo0
= 0;
1004 char *_kwnames
[] = { "self", NULL
};
1007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_CaptureMouse",_kwnames
,&_argo0
))
1010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
1017 wxPy_BEGIN_ALLOW_THREADS
;
1018 wxWindow_CaptureMouse(_arg0
);
1020 wxPy_END_ALLOW_THREADS
;
1021 } Py_INCREF(Py_None
);
1022 _resultobj
= Py_None
;
1026 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
1027 static PyObject
*_wrap_wxWindow_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1028 PyObject
* _resultobj
;
1030 int _arg1
= (int ) wxBOTH
;
1031 PyObject
* _argo0
= 0;
1032 char *_kwnames
[] = { "self","direction", NULL
};
1035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Center",_kwnames
,&_argo0
,&_arg1
))
1038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
1045 wxPy_BEGIN_ALLOW_THREADS
;
1046 wxWindow_Center(_arg0
,_arg1
);
1048 wxPy_END_ALLOW_THREADS
;
1049 } Py_INCREF(Py_None
);
1050 _resultobj
= Py_None
;
1054 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
1055 static PyObject
*_wrap_wxWindow_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1056 PyObject
* _resultobj
;
1058 int _arg1
= (int ) wxBOTH
;
1059 PyObject
* _argo0
= 0;
1060 char *_kwnames
[] = { "self","direction", NULL
};
1063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Centre",_kwnames
,&_argo0
,&_arg1
))
1066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
1073 wxPy_BEGIN_ALLOW_THREADS
;
1074 wxWindow_Centre(_arg0
,_arg1
);
1076 wxPy_END_ALLOW_THREADS
;
1077 } Py_INCREF(Py_None
);
1078 _resultobj
= Py_None
;
1082 #define wxWindow_CentreOnParent(_swigobj,_swigarg0) (_swigobj->CentreOnParent(_swigarg0))
1083 static PyObject
*_wrap_wxWindow_CentreOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1084 PyObject
* _resultobj
;
1086 int _arg1
= (int ) wxBOTH
;
1087 PyObject
* _argo0
= 0;
1088 char *_kwnames
[] = { "self","direction", NULL
};
1091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnParent",_kwnames
,&_argo0
,&_arg1
))
1094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnParent. Expected _wxWindow_p.");
1101 wxPy_BEGIN_ALLOW_THREADS
;
1102 wxWindow_CentreOnParent(_arg0
,_arg1
);
1104 wxPy_END_ALLOW_THREADS
;
1105 } Py_INCREF(Py_None
);
1106 _resultobj
= Py_None
;
1110 #define wxWindow_CenterOnParent(_swigobj,_swigarg0) (_swigobj->CenterOnParent(_swigarg0))
1111 static PyObject
*_wrap_wxWindow_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1112 PyObject
* _resultobj
;
1114 int _arg1
= (int ) wxBOTH
;
1115 PyObject
* _argo0
= 0;
1116 char *_kwnames
[] = { "self","direction", NULL
};
1119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnParent",_kwnames
,&_argo0
,&_arg1
))
1122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnParent. Expected _wxWindow_p.");
1129 wxPy_BEGIN_ALLOW_THREADS
;
1130 wxWindow_CenterOnParent(_arg0
,_arg1
);
1132 wxPy_END_ALLOW_THREADS
;
1133 } Py_INCREF(Py_None
);
1134 _resultobj
= Py_None
;
1138 #define wxWindow_CentreOnScreen(_swigobj,_swigarg0) (_swigobj->CentreOnScreen(_swigarg0))
1139 static PyObject
*_wrap_wxWindow_CentreOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1140 PyObject
* _resultobj
;
1142 int _arg1
= (int ) wxBOTH
;
1143 PyObject
* _argo0
= 0;
1144 char *_kwnames
[] = { "self","direction", NULL
};
1147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnScreen",_kwnames
,&_argo0
,&_arg1
))
1150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnScreen. Expected _wxWindow_p.");
1157 wxPy_BEGIN_ALLOW_THREADS
;
1158 wxWindow_CentreOnScreen(_arg0
,_arg1
);
1160 wxPy_END_ALLOW_THREADS
;
1161 } Py_INCREF(Py_None
);
1162 _resultobj
= Py_None
;
1166 #define wxWindow_CenterOnScreen(_swigobj,_swigarg0) (_swigobj->CenterOnScreen(_swigarg0))
1167 static PyObject
*_wrap_wxWindow_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1168 PyObject
* _resultobj
;
1170 int _arg1
= (int ) wxBOTH
;
1171 PyObject
* _argo0
= 0;
1172 char *_kwnames
[] = { "self","direction", NULL
};
1175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnScreen",_kwnames
,&_argo0
,&_arg1
))
1178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnScreen. Expected _wxWindow_p.");
1185 wxPy_BEGIN_ALLOW_THREADS
;
1186 wxWindow_CenterOnScreen(_arg0
,_arg1
);
1188 wxPy_END_ALLOW_THREADS
;
1189 } Py_INCREF(Py_None
);
1190 _resultobj
= Py_None
;
1194 #define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
1195 static PyObject
*_wrap_wxWindow_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1196 PyObject
* _resultobj
;
1200 PyObject
* _argo0
= 0;
1202 PyObject
* _obj1
= 0;
1204 PyObject
* _obj2
= 0;
1205 char *_kwnames
[] = { "self","x","y", NULL
};
1208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ClientToScreenXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
1218 temp
= (int) PyInt_AsLong(_obj1
);
1222 temp0
= (int) PyInt_AsLong(_obj2
);
1226 wxPy_BEGIN_ALLOW_THREADS
;
1227 wxWindow_ClientToScreenXY(_arg0
,_arg1
,_arg2
);
1229 wxPy_END_ALLOW_THREADS
;
1230 } Py_INCREF(Py_None
);
1231 _resultobj
= Py_None
;
1234 o
= PyInt_FromLong((long) (*_arg1
));
1235 _resultobj
= t_output_helper(_resultobj
, o
);
1239 o
= PyInt_FromLong((long) (*_arg2
));
1240 _resultobj
= t_output_helper(_resultobj
, o
);
1245 #define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
1246 static PyObject
*_wrap_wxWindow_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1247 PyObject
* _resultobj
;
1251 PyObject
* _argo0
= 0;
1253 PyObject
* _obj1
= 0;
1254 char *_kwnames
[] = { "self","pt", NULL
};
1258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ClientToScreen",_kwnames
,&_argo0
,&_obj1
))
1261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
1269 if (! wxPoint_helper(_obj1
, &_arg1
))
1273 wxPy_BEGIN_ALLOW_THREADS
;
1274 _result
= new wxPoint (wxWindow_ClientToScreen(_arg0
,*_arg1
));
1276 wxPy_END_ALLOW_THREADS
;
1277 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1278 _resultobj
= Py_BuildValue("s",_ptemp
);
1282 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
1283 static PyObject
*_wrap_wxWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1284 PyObject
* _resultobj
;
1287 int _arg1
= (int ) FALSE
;
1288 PyObject
* _argo0
= 0;
1289 char *_kwnames
[] = { "self","force", NULL
};
1292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Close",_kwnames
,&_argo0
,&_arg1
))
1295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
1302 wxPy_BEGIN_ALLOW_THREADS
;
1303 _result
= (bool )wxWindow_Close(_arg0
,_arg1
);
1305 wxPy_END_ALLOW_THREADS
;
1306 } _resultobj
= Py_BuildValue("i",_result
);
1310 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
1311 static PyObject
*_wrap_wxWindow_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1312 PyObject
* _resultobj
;
1315 PyObject
* _argo0
= 0;
1316 char *_kwnames
[] = { "self", NULL
};
1319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Destroy",_kwnames
,&_argo0
))
1322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
1329 wxPy_BEGIN_ALLOW_THREADS
;
1330 _result
= (bool )wxWindow_Destroy(_arg0
);
1332 wxPy_END_ALLOW_THREADS
;
1333 } _resultobj
= Py_BuildValue("i",_result
);
1337 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
1338 static PyObject
*_wrap_wxWindow_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1339 PyObject
* _resultobj
;
1341 PyObject
* _argo0
= 0;
1342 char *_kwnames
[] = { "self", NULL
};
1345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_DestroyChildren",_kwnames
,&_argo0
))
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_DestroyChildren. Expected _wxWindow_p.");
1355 wxPy_BEGIN_ALLOW_THREADS
;
1356 wxWindow_DestroyChildren(_arg0
);
1358 wxPy_END_ALLOW_THREADS
;
1359 } Py_INCREF(Py_None
);
1360 _resultobj
= Py_None
;
1364 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
1365 static PyObject
*_wrap_wxWindow_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1366 PyObject
* _resultobj
;
1369 PyObject
* _argo0
= 0;
1371 char *_kwnames
[] = { "self","enable", NULL
};
1374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Enable",_kwnames
,&_argo0
,&tempbool1
))
1377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
1383 _arg1
= (bool ) tempbool1
;
1385 wxPy_BEGIN_ALLOW_THREADS
;
1386 wxWindow_Enable(_arg0
,_arg1
);
1388 wxPy_END_ALLOW_THREADS
;
1389 } Py_INCREF(Py_None
);
1390 _resultobj
= Py_None
;
1394 #define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1395 static PyObject
*_wrap_wxWindow_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1396 PyObject
* _resultobj
;
1400 PyObject
* _argo0
= 0;
1401 char *_kwnames
[] = { "self","id", NULL
};
1405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_FindWindowById",_kwnames
,&_argo0
,&_arg1
))
1408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
1415 wxPy_BEGIN_ALLOW_THREADS
;
1416 _result
= (wxWindow
*)wxWindow_FindWindowById(_arg0
,_arg1
);
1418 wxPy_END_ALLOW_THREADS
;
1420 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1421 _resultobj
= Py_BuildValue("s",_ptemp
);
1424 _resultobj
= Py_None
;
1429 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1430 static PyObject
*_wrap_wxWindow_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1431 PyObject
* _resultobj
;
1435 PyObject
* _argo0
= 0;
1436 PyObject
* _obj1
= 0;
1437 char *_kwnames
[] = { "self","name", NULL
};
1441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_FindWindowByName",_kwnames
,&_argo0
,&_obj1
))
1444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
1451 #if PYTHON_API_VERSION >= 1009
1452 char* tmpPtr
; int tmpSize
;
1453 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1454 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1457 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1459 _arg1
= new wxString(tmpPtr
, tmpSize
);
1461 if (!PyString_Check(_obj1
)) {
1462 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1465 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1469 wxPy_BEGIN_ALLOW_THREADS
;
1470 _result
= (wxWindow
*)wxWindow_FindWindowByName(_arg0
,*_arg1
);
1472 wxPy_END_ALLOW_THREADS
;
1474 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1475 _resultobj
= Py_BuildValue("s",_ptemp
);
1478 _resultobj
= Py_None
;
1487 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
1488 static PyObject
*_wrap_wxWindow_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1489 PyObject
* _resultobj
;
1491 PyObject
* _argo0
= 0;
1492 char *_kwnames
[] = { "self", NULL
};
1495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Fit",_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_Fit. Expected _wxWindow_p.");
1505 wxPy_BEGIN_ALLOW_THREADS
;
1506 wxWindow_Fit(_arg0
);
1508 wxPy_END_ALLOW_THREADS
;
1509 } Py_INCREF(Py_None
);
1510 _resultobj
= Py_None
;
1514 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1515 static PyObject
*_wrap_wxWindow_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1516 PyObject
* _resultobj
;
1519 PyObject
* _argo0
= 0;
1520 char *_kwnames
[] = { "self", NULL
};
1524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBackgroundColour",_kwnames
,&_argo0
))
1527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
1534 wxPy_BEGIN_ALLOW_THREADS
;
1535 _result
= new wxColour (wxWindow_GetBackgroundColour(_arg0
));
1537 wxPy_END_ALLOW_THREADS
;
1538 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1539 _resultobj
= Py_BuildValue("s",_ptemp
);
1543 static PyObject
* wxWindow_GetChildren(wxWindow
*self
) {
1544 wxWindowList
& list
= self
->GetChildren();
1545 return wxPy_ConvertList(&list
, "wxWindow");
1547 static PyObject
*_wrap_wxWindow_GetChildren(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_GetChildren",_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_GetChildren. Expected _wxWindow_p.");
1565 wxPy_BEGIN_ALLOW_THREADS
;
1566 _result
= (PyObject
*)wxWindow_GetChildren(_arg0
);
1568 wxPy_END_ALLOW_THREADS
;
1570 _resultobj
= _result
;
1575 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1576 static PyObject
*_wrap_wxWindow_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1577 PyObject
* _resultobj
;
1580 PyObject
* _argo0
= 0;
1581 char *_kwnames
[] = { "self", NULL
};
1584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharHeight",_kwnames
,&_argo0
))
1587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
1594 wxPy_BEGIN_ALLOW_THREADS
;
1595 _result
= (int )wxWindow_GetCharHeight(_arg0
);
1597 wxPy_END_ALLOW_THREADS
;
1598 } _resultobj
= Py_BuildValue("i",_result
);
1602 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1603 static PyObject
*_wrap_wxWindow_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1604 PyObject
* _resultobj
;
1607 PyObject
* _argo0
= 0;
1608 char *_kwnames
[] = { "self", NULL
};
1611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharWidth",_kwnames
,&_argo0
))
1614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
1621 wxPy_BEGIN_ALLOW_THREADS
;
1622 _result
= (int )wxWindow_GetCharWidth(_arg0
);
1624 wxPy_END_ALLOW_THREADS
;
1625 } _resultobj
= Py_BuildValue("i",_result
);
1629 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
1630 static PyObject
*_wrap_wxWindow_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1631 PyObject
* _resultobj
;
1637 PyObject
* _argo0
= 0;
1638 char *_kwnames
[] = { "self", NULL
};
1647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSizeTuple",_kwnames
,&_argo0
))
1650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
1657 wxPy_BEGIN_ALLOW_THREADS
;
1658 wxWindow_GetClientSizeTuple(_arg0
,_arg1
,_arg2
);
1660 wxPy_END_ALLOW_THREADS
;
1661 } Py_INCREF(Py_None
);
1662 _resultobj
= Py_None
;
1665 o
= PyInt_FromLong((long) (*_arg1
));
1666 _resultobj
= t_output_helper(_resultobj
, o
);
1670 o
= PyInt_FromLong((long) (*_arg2
));
1671 _resultobj
= t_output_helper(_resultobj
, o
);
1676 #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
1677 static PyObject
*_wrap_wxWindow_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1678 PyObject
* _resultobj
;
1681 PyObject
* _argo0
= 0;
1682 char *_kwnames
[] = { "self", NULL
};
1686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSize",_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_GetClientSize. Expected _wxWindow_p.");
1696 wxPy_BEGIN_ALLOW_THREADS
;
1697 _result
= new wxSize (wxWindow_GetClientSize(_arg0
));
1699 wxPy_END_ALLOW_THREADS
;
1700 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1701 _resultobj
= Py_BuildValue("s",_ptemp
);
1705 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
1706 static PyObject
*_wrap_wxWindow_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1707 PyObject
* _resultobj
;
1708 wxLayoutConstraints
* _result
;
1710 PyObject
* _argo0
= 0;
1711 char *_kwnames
[] = { "self", NULL
};
1715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetConstraints",_kwnames
,&_argo0
))
1718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
1725 wxPy_BEGIN_ALLOW_THREADS
;
1726 _result
= (wxLayoutConstraints
*)wxWindow_GetConstraints(_arg0
);
1728 wxPy_END_ALLOW_THREADS
;
1730 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
1731 _resultobj
= Py_BuildValue("s",_ptemp
);
1734 _resultobj
= Py_None
;
1739 #define wxWindow_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
1740 static PyObject
*_wrap_wxWindow_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1741 PyObject
* _resultobj
;
1742 wxEvtHandler
* _result
;
1744 PyObject
* _argo0
= 0;
1745 char *_kwnames
[] = { "self", NULL
};
1749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetEventHandler",_kwnames
,&_argo0
))
1752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetEventHandler. Expected _wxWindow_p.");
1759 wxPy_BEGIN_ALLOW_THREADS
;
1760 _result
= (wxEvtHandler
*)wxWindow_GetEventHandler(_arg0
);
1762 wxPy_END_ALLOW_THREADS
;
1764 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
1765 _resultobj
= Py_BuildValue("s",_ptemp
);
1768 _resultobj
= Py_None
;
1773 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
1774 static PyObject
*_wrap_wxWindow_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1775 PyObject
* _resultobj
;
1778 PyObject
* _argo0
= 0;
1779 char *_kwnames
[] = { "self", NULL
};
1783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetFont",_kwnames
,&_argo0
))
1786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
1793 wxPy_BEGIN_ALLOW_THREADS
;
1794 wxFont
& _result_ref
= wxWindow_GetFont(_arg0
);
1795 _result
= (wxFont
*) &_result_ref
;
1797 wxPy_END_ALLOW_THREADS
;
1799 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1800 _resultobj
= Py_BuildValue("s",_ptemp
);
1803 _resultobj
= Py_None
;
1808 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
1809 static PyObject
*_wrap_wxWindow_GetForegroundColour(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_GetForegroundColour",_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_GetForegroundColour. Expected _wxWindow_p.");
1828 wxPy_BEGIN_ALLOW_THREADS
;
1829 _result
= new wxColour (wxWindow_GetForegroundColour(_arg0
));
1831 wxPy_END_ALLOW_THREADS
;
1832 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1833 _resultobj
= Py_BuildValue("s",_ptemp
);
1837 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
1838 static PyObject
*_wrap_wxWindow_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1839 PyObject
* _resultobj
;
1842 PyObject
* _argo0
= 0;
1843 char *_kwnames
[] = { "self", NULL
};
1847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetGrandParent",_kwnames
,&_argo0
))
1850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
1857 wxPy_BEGIN_ALLOW_THREADS
;
1858 _result
= (wxWindow
*)wxWindow_GetGrandParent(_arg0
);
1860 wxPy_END_ALLOW_THREADS
;
1862 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1863 _resultobj
= Py_BuildValue("s",_ptemp
);
1866 _resultobj
= Py_None
;
1871 static long wxWindow_GetHandle(wxWindow
*self
) {
1872 return wxPyGetWinHandle(self
); //(long)self->GetHandle();
1874 static PyObject
*_wrap_wxWindow_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1875 PyObject
* _resultobj
;
1878 PyObject
* _argo0
= 0;
1879 char *_kwnames
[] = { "self", NULL
};
1882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetHandle",_kwnames
,&_argo0
))
1885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetHandle. Expected _wxWindow_p.");
1892 wxPy_BEGIN_ALLOW_THREADS
;
1893 _result
= (long )wxWindow_GetHandle(_arg0
);
1895 wxPy_END_ALLOW_THREADS
;
1896 } _resultobj
= Py_BuildValue("l",_result
);
1900 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
1901 static PyObject
*_wrap_wxWindow_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1902 PyObject
* _resultobj
;
1905 PyObject
* _argo0
= 0;
1906 char *_kwnames
[] = { "self", NULL
};
1909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetId",_kwnames
,&_argo0
))
1912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
1919 wxPy_BEGIN_ALLOW_THREADS
;
1920 _result
= (int )wxWindow_GetId(_arg0
);
1922 wxPy_END_ALLOW_THREADS
;
1923 } _resultobj
= Py_BuildValue("i",_result
);
1927 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
1928 static PyObject
*_wrap_wxWindow_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1929 PyObject
* _resultobj
;
1932 PyObject
* _argo0
= 0;
1933 char *_kwnames
[] = { "self", NULL
};
1936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetLabel",_kwnames
,&_argo0
))
1939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
1946 wxPy_BEGIN_ALLOW_THREADS
;
1947 _result
= new wxString (wxWindow_GetLabel(_arg0
));
1949 wxPy_END_ALLOW_THREADS
;
1951 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1959 #define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
1960 static PyObject
*_wrap_wxWindow_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1961 PyObject
* _resultobj
;
1964 PyObject
* _argo0
= 0;
1965 PyObject
* _obj1
= 0;
1966 char *_kwnames
[] = { "self","label", NULL
};
1969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetLabel",_kwnames
,&_argo0
,&_obj1
))
1972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
1979 #if PYTHON_API_VERSION >= 1009
1980 char* tmpPtr
; int tmpSize
;
1981 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1982 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1985 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1987 _arg1
= new wxString(tmpPtr
, tmpSize
);
1989 if (!PyString_Check(_obj1
)) {
1990 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1993 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1997 wxPy_BEGIN_ALLOW_THREADS
;
1998 wxWindow_SetLabel(_arg0
,*_arg1
);
2000 wxPy_END_ALLOW_THREADS
;
2001 } Py_INCREF(Py_None
);
2002 _resultobj
= Py_None
;
2010 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
2011 static PyObject
*_wrap_wxWindow_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2012 PyObject
* _resultobj
;
2015 PyObject
* _argo0
= 0;
2016 char *_kwnames
[] = { "self", NULL
};
2019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetName",_kwnames
,&_argo0
))
2022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
2029 wxPy_BEGIN_ALLOW_THREADS
;
2030 _result
= new wxString (wxWindow_GetName(_arg0
));
2032 wxPy_END_ALLOW_THREADS
;
2034 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2042 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
2043 static PyObject
*_wrap_wxWindow_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2044 PyObject
* _resultobj
;
2047 PyObject
* _argo0
= 0;
2048 char *_kwnames
[] = { "self", NULL
};
2052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetParent",_kwnames
,&_argo0
))
2055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
2062 wxPy_BEGIN_ALLOW_THREADS
;
2063 _result
= (wxWindow
*)wxWindow_GetParent(_arg0
);
2065 wxPy_END_ALLOW_THREADS
;
2067 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
2068 _resultobj
= Py_BuildValue("s",_ptemp
);
2071 _resultobj
= Py_None
;
2076 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2077 static PyObject
*_wrap_wxWindow_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2078 PyObject
* _resultobj
;
2084 PyObject
* _argo0
= 0;
2085 char *_kwnames
[] = { "self", NULL
};
2094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPositionTuple",_kwnames
,&_argo0
))
2097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
2104 wxPy_BEGIN_ALLOW_THREADS
;
2105 wxWindow_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2107 wxPy_END_ALLOW_THREADS
;
2108 } Py_INCREF(Py_None
);
2109 _resultobj
= Py_None
;
2112 o
= PyInt_FromLong((long) (*_arg1
));
2113 _resultobj
= t_output_helper(_resultobj
, o
);
2117 o
= PyInt_FromLong((long) (*_arg2
));
2118 _resultobj
= t_output_helper(_resultobj
, o
);
2123 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
2124 static PyObject
*_wrap_wxWindow_GetPosition(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_GetPosition",_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_GetPosition. Expected _wxWindow_p.");
2143 wxPy_BEGIN_ALLOW_THREADS
;
2144 _result
= new wxPoint (wxWindow_GetPosition(_arg0
));
2146 wxPy_END_ALLOW_THREADS
;
2147 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2148 _resultobj
= Py_BuildValue("s",_ptemp
);
2152 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
2153 static PyObject
*_wrap_wxWindow_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2154 PyObject
* _resultobj
;
2157 PyObject
* _argo0
= 0;
2158 char *_kwnames
[] = { "self", NULL
};
2162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetRect",_kwnames
,&_argo0
))
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_GetRect. Expected _wxWindow_p.");
2172 wxPy_BEGIN_ALLOW_THREADS
;
2173 _result
= new wxRect (wxWindow_GetRect(_arg0
));
2175 wxPy_END_ALLOW_THREADS
;
2176 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
2177 _resultobj
= Py_BuildValue("s",_ptemp
);
2181 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
2182 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2183 PyObject
* _resultobj
;
2187 PyObject
* _argo0
= 0;
2188 char *_kwnames
[] = { "self","orientation", NULL
};
2191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollThumb",_kwnames
,&_argo0
,&_arg1
))
2194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
2201 wxPy_BEGIN_ALLOW_THREADS
;
2202 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
2204 wxPy_END_ALLOW_THREADS
;
2205 } _resultobj
= Py_BuildValue("i",_result
);
2209 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
2210 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2211 PyObject
* _resultobj
;
2215 PyObject
* _argo0
= 0;
2216 char *_kwnames
[] = { "self","orientation", NULL
};
2219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollPos",_kwnames
,&_argo0
,&_arg1
))
2222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
2229 wxPy_BEGIN_ALLOW_THREADS
;
2230 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
2232 wxPy_END_ALLOW_THREADS
;
2233 } _resultobj
= Py_BuildValue("i",_result
);
2237 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
2238 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2239 PyObject
* _resultobj
;
2243 PyObject
* _argo0
= 0;
2244 char *_kwnames
[] = { "self","orientation", NULL
};
2247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollRange",_kwnames
,&_argo0
,&_arg1
))
2250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
2257 wxPy_BEGIN_ALLOW_THREADS
;
2258 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
2260 wxPy_END_ALLOW_THREADS
;
2261 } _resultobj
= Py_BuildValue("i",_result
);
2265 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2266 static PyObject
*_wrap_wxWindow_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2267 PyObject
* _resultobj
;
2273 PyObject
* _argo0
= 0;
2274 char *_kwnames
[] = { "self", NULL
};
2283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizeTuple",_kwnames
,&_argo0
))
2286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
2293 wxPy_BEGIN_ALLOW_THREADS
;
2294 wxWindow_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2296 wxPy_END_ALLOW_THREADS
;
2297 } Py_INCREF(Py_None
);
2298 _resultobj
= Py_None
;
2301 o
= PyInt_FromLong((long) (*_arg1
));
2302 _resultobj
= t_output_helper(_resultobj
, o
);
2306 o
= PyInt_FromLong((long) (*_arg2
));
2307 _resultobj
= t_output_helper(_resultobj
, o
);
2312 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
2313 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2314 PyObject
* _resultobj
;
2317 PyObject
* _argo0
= 0;
2318 char *_kwnames
[] = { "self", NULL
};
2322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSize",_kwnames
,&_argo0
))
2325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
2332 wxPy_BEGIN_ALLOW_THREADS
;
2333 _result
= new wxSize (wxWindow_GetSize(_arg0
));
2335 wxPy_END_ALLOW_THREADS
;
2336 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2337 _resultobj
= Py_BuildValue("s",_ptemp
);
2341 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
2342 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2343 PyObject
* _resultobj
;
2350 PyObject
* _argo0
= 0;
2351 PyObject
* _obj1
= 0;
2352 char *_kwnames
[] = { "self","string", NULL
};
2361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
2364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
2371 #if PYTHON_API_VERSION >= 1009
2372 char* tmpPtr
; int tmpSize
;
2373 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2374 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2377 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2379 _arg1
= new wxString(tmpPtr
, tmpSize
);
2381 if (!PyString_Check(_obj1
)) {
2382 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2385 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2389 wxPy_BEGIN_ALLOW_THREADS
;
2390 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
2392 wxPy_END_ALLOW_THREADS
;
2393 } Py_INCREF(Py_None
);
2394 _resultobj
= Py_None
;
2397 o
= PyInt_FromLong((long) (*_arg2
));
2398 _resultobj
= t_output_helper(_resultobj
, o
);
2402 o
= PyInt_FromLong((long) (*_arg3
));
2403 _resultobj
= t_output_helper(_resultobj
, o
);
2412 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2413 static PyObject
*_wrap_wxWindow_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2414 PyObject
* _resultobj
;
2425 wxFont
* _arg6
= (wxFont
*) NULL
;
2426 PyObject
* _argo0
= 0;
2427 PyObject
* _obj1
= 0;
2428 PyObject
* _argo6
= 0;
2429 char *_kwnames
[] = { "self","string","font", NULL
};
2444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxWindow_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
2447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
2454 #if PYTHON_API_VERSION >= 1009
2455 char* tmpPtr
; int tmpSize
;
2456 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2457 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2460 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2462 _arg1
= new wxString(tmpPtr
, tmpSize
);
2464 if (!PyString_Check(_obj1
)) {
2465 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2468 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2472 if (_argo6
== Py_None
) { _arg6
= NULL
; }
2473 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
2474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
2479 wxPy_BEGIN_ALLOW_THREADS
;
2480 wxWindow_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2482 wxPy_END_ALLOW_THREADS
;
2483 } Py_INCREF(Py_None
);
2484 _resultobj
= Py_None
;
2487 o
= PyInt_FromLong((long) (*_arg2
));
2488 _resultobj
= t_output_helper(_resultobj
, o
);
2492 o
= PyInt_FromLong((long) (*_arg3
));
2493 _resultobj
= t_output_helper(_resultobj
, o
);
2497 o
= PyInt_FromLong((long) (*_arg4
));
2498 _resultobj
= t_output_helper(_resultobj
, o
);
2502 o
= PyInt_FromLong((long) (*_arg5
));
2503 _resultobj
= t_output_helper(_resultobj
, o
);
2512 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
2513 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2514 PyObject
* _resultobj
;
2517 PyObject
* _argo0
= 0;
2518 char *_kwnames
[] = { "self", NULL
};
2521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetTitle",_kwnames
,&_argo0
))
2524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
2531 wxPy_BEGIN_ALLOW_THREADS
;
2532 _result
= new wxString (wxWindow_GetTitle(_arg0
));
2534 wxPy_END_ALLOW_THREADS
;
2536 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2544 #define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
2545 static PyObject
*_wrap_wxWindow_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2546 PyObject
* _resultobj
;
2549 PyObject
* _argo0
= 0;
2550 char *_kwnames
[] = { "self", NULL
};
2554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetUpdateRegion",_kwnames
,&_argo0
))
2557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
2564 wxPy_BEGIN_ALLOW_THREADS
;
2565 _result
= new wxRegion (wxWindow_GetUpdateRegion(_arg0
));
2567 wxPy_END_ALLOW_THREADS
;
2568 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRegion_p");
2569 _resultobj
= Py_BuildValue("s",_ptemp
);
2573 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
2574 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2575 PyObject
* _resultobj
;
2578 PyObject
* _argo0
= 0;
2579 char *_kwnames
[] = { "self", NULL
};
2582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetWindowStyleFlag",_kwnames
,&_argo0
))
2585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
2592 wxPy_BEGIN_ALLOW_THREADS
;
2593 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
2595 wxPy_END_ALLOW_THREADS
;
2596 } _resultobj
= Py_BuildValue("l",_result
);
2600 #define wxWindow_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
2601 static PyObject
*_wrap_wxWindow_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2602 PyObject
* _resultobj
;
2605 PyObject
* _argo0
= 0;
2606 char *_kwnames
[] = { "self","style", NULL
};
2609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
2612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetWindowStyleFlag. Expected _wxWindow_p.");
2619 wxPy_BEGIN_ALLOW_THREADS
;
2620 wxWindow_SetWindowStyleFlag(_arg0
,_arg1
);
2622 wxPy_END_ALLOW_THREADS
;
2623 } Py_INCREF(Py_None
);
2624 _resultobj
= Py_None
;
2628 #define wxWindow_SetWindowStyle(_swigobj,_swigarg0) (_swigobj->SetWindowStyle(_swigarg0))
2629 static PyObject
*_wrap_wxWindow_SetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2630 PyObject
* _resultobj
;
2633 PyObject
* _argo0
= 0;
2634 char *_kwnames
[] = { "self","style", NULL
};
2637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyle",_kwnames
,&_argo0
,&_arg1
))
2640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetWindowStyle. Expected _wxWindow_p.");
2647 wxPy_BEGIN_ALLOW_THREADS
;
2648 wxWindow_SetWindowStyle(_arg0
,_arg1
);
2650 wxPy_END_ALLOW_THREADS
;
2651 } Py_INCREF(Py_None
);
2652 _resultobj
= Py_None
;
2656 #define wxWindow_Hide(_swigobj) (_swigobj->Hide())
2657 static PyObject
*_wrap_wxWindow_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2658 PyObject
* _resultobj
;
2661 PyObject
* _argo0
= 0;
2662 char *_kwnames
[] = { "self", NULL
};
2665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Hide",_kwnames
,&_argo0
))
2668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
2675 wxPy_BEGIN_ALLOW_THREADS
;
2676 _result
= (bool )wxWindow_Hide(_arg0
);
2678 wxPy_END_ALLOW_THREADS
;
2679 } _resultobj
= Py_BuildValue("i",_result
);
2683 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
2684 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2685 PyObject
* _resultobj
;
2687 PyObject
* _argo0
= 0;
2688 char *_kwnames
[] = { "self", NULL
};
2691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_InitDialog",_kwnames
,&_argo0
))
2694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
2701 wxPy_BEGIN_ALLOW_THREADS
;
2702 wxWindow_InitDialog(_arg0
);
2704 wxPy_END_ALLOW_THREADS
;
2705 } Py_INCREF(Py_None
);
2706 _resultobj
= Py_None
;
2710 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
2711 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2712 PyObject
* _resultobj
;
2715 PyObject
* _argo0
= 0;
2716 char *_kwnames
[] = { "self", NULL
};
2719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsEnabled",_kwnames
,&_argo0
))
2722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
2729 wxPy_BEGIN_ALLOW_THREADS
;
2730 _result
= (bool )wxWindow_IsEnabled(_arg0
);
2732 wxPy_END_ALLOW_THREADS
;
2733 } _resultobj
= Py_BuildValue("i",_result
);
2737 #define wxWindow_IsExposed(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->IsExposed(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2738 static PyObject
*_wrap_wxWindow_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2739 PyObject
* _resultobj
;
2744 int _arg3
= (int ) 0;
2745 int _arg4
= (int ) 0;
2746 PyObject
* _argo0
= 0;
2747 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
2750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxWindow_IsExposed",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposed. Expected _wxWindow_p.");
2760 wxPy_BEGIN_ALLOW_THREADS
;
2761 _result
= (bool )wxWindow_IsExposed(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2763 wxPy_END_ALLOW_THREADS
;
2764 } _resultobj
= Py_BuildValue("i",_result
);
2768 #define wxWindow_IsExposedPoint(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
2769 static PyObject
*_wrap_wxWindow_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2770 PyObject
* _resultobj
;
2774 PyObject
* _argo0
= 0;
2776 PyObject
* _obj1
= 0;
2777 char *_kwnames
[] = { "self","pt", NULL
};
2780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedPoint",_kwnames
,&_argo0
,&_obj1
))
2783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedPoint. Expected _wxWindow_p.");
2791 if (! wxPoint_helper(_obj1
, &_arg1
))
2795 wxPy_BEGIN_ALLOW_THREADS
;
2796 _result
= (bool )wxWindow_IsExposedPoint(_arg0
,*_arg1
);
2798 wxPy_END_ALLOW_THREADS
;
2799 } _resultobj
= Py_BuildValue("i",_result
);
2803 #define wxWindow_IsExposedRect(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
2804 static PyObject
*_wrap_wxWindow_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2805 PyObject
* _resultobj
;
2809 PyObject
* _argo0
= 0;
2811 PyObject
* _obj1
= 0;
2812 char *_kwnames
[] = { "self","rect", NULL
};
2815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedRect",_kwnames
,&_argo0
,&_obj1
))
2818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedRect. Expected _wxWindow_p.");
2826 if (! wxRect_helper(_obj1
, &_arg1
))
2830 wxPy_BEGIN_ALLOW_THREADS
;
2831 _result
= (bool )wxWindow_IsExposedRect(_arg0
,*_arg1
);
2833 wxPy_END_ALLOW_THREADS
;
2834 } _resultobj
= Py_BuildValue("i",_result
);
2838 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
2839 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2840 PyObject
* _resultobj
;
2843 PyObject
* _argo0
= 0;
2844 char *_kwnames
[] = { "self", NULL
};
2847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsRetained",_kwnames
,&_argo0
))
2850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
2857 wxPy_BEGIN_ALLOW_THREADS
;
2858 _result
= (bool )wxWindow_IsRetained(_arg0
);
2860 wxPy_END_ALLOW_THREADS
;
2861 } _resultobj
= Py_BuildValue("i",_result
);
2865 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
2866 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2867 PyObject
* _resultobj
;
2870 PyObject
* _argo0
= 0;
2871 char *_kwnames
[] = { "self", NULL
};
2874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsShown",_kwnames
,&_argo0
))
2877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
2884 wxPy_BEGIN_ALLOW_THREADS
;
2885 _result
= (bool )wxWindow_IsShown(_arg0
);
2887 wxPy_END_ALLOW_THREADS
;
2888 } _resultobj
= Py_BuildValue("i",_result
);
2892 #define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
2893 static PyObject
*_wrap_wxWindow_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2894 PyObject
* _resultobj
;
2897 PyObject
* _argo0
= 0;
2898 char *_kwnames
[] = { "self", NULL
};
2901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsTopLevel",_kwnames
,&_argo0
))
2904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
2911 wxPy_BEGIN_ALLOW_THREADS
;
2912 _result
= (bool )wxWindow_IsTopLevel(_arg0
);
2914 wxPy_END_ALLOW_THREADS
;
2915 } _resultobj
= Py_BuildValue("i",_result
);
2919 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
2920 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2921 PyObject
* _resultobj
;
2923 PyObject
* _argo0
= 0;
2924 char *_kwnames
[] = { "self", NULL
};
2927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Layout",_kwnames
,&_argo0
))
2930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
2937 wxPy_BEGIN_ALLOW_THREADS
;
2938 wxWindow_Layout(_arg0
);
2940 wxPy_END_ALLOW_THREADS
;
2941 } Py_INCREF(Py_None
);
2942 _resultobj
= Py_None
;
2946 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
2947 static PyObject
*_wrap_wxWindow_LoadFromResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2948 PyObject
* _resultobj
;
2953 wxResourceTable
* _arg3
= (wxResourceTable
*) NULL
;
2954 PyObject
* _argo0
= 0;
2955 PyObject
* _argo1
= 0;
2956 PyObject
* _obj2
= 0;
2957 PyObject
* _argo3
= 0;
2958 char *_kwnames
[] = { "self","parent","resourceName","resourceTable", NULL
};
2961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|O:wxWindow_LoadFromResource",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_argo3
))
2964 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2965 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
2971 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2972 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
2978 #if PYTHON_API_VERSION >= 1009
2979 char* tmpPtr
; int tmpSize
;
2980 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2981 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2984 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2986 _arg2
= new wxString(tmpPtr
, tmpSize
);
2988 if (!PyString_Check(_obj2
)) {
2989 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2992 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2996 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2997 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxResourceTable_p")) {
2998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
3003 wxPy_BEGIN_ALLOW_THREADS
;
3004 _result
= (bool )wxWindow_LoadFromResource(_arg0
,_arg1
,*_arg2
,_arg3
);
3006 wxPy_END_ALLOW_THREADS
;
3007 } _resultobj
= Py_BuildValue("i",_result
);
3015 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
3016 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3017 PyObject
* _resultobj
;
3019 PyObject
* _argo0
= 0;
3020 char *_kwnames
[] = { "self", NULL
};
3023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Lower",_kwnames
,&_argo0
))
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_Lower. Expected _wxWindow_p.");
3033 wxPy_BEGIN_ALLOW_THREADS
;
3034 wxWindow_Lower(_arg0
);
3036 wxPy_END_ALLOW_THREADS
;
3037 } Py_INCREF(Py_None
);
3038 _resultobj
= Py_None
;
3042 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
3043 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3044 PyObject
* _resultobj
;
3047 PyObject
* _argo0
= 0;
3049 char *_kwnames
[] = { "self","flag", NULL
};
3052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_MakeModal",_kwnames
,&_argo0
,&tempbool1
))
3055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
3061 _arg1
= (bool ) tempbool1
;
3063 wxPy_BEGIN_ALLOW_THREADS
;
3064 wxWindow_MakeModal(_arg0
,_arg1
);
3066 wxPy_END_ALLOW_THREADS
;
3067 } Py_INCREF(Py_None
);
3068 _resultobj
= Py_None
;
3072 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
3073 static PyObject
*_wrap_wxWindow_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3074 PyObject
* _resultobj
;
3078 PyObject
* _argo0
= 0;
3079 char *_kwnames
[] = { "self","x","y", NULL
};
3082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
3092 wxPy_BEGIN_ALLOW_THREADS
;
3093 wxWindow_MoveXY(_arg0
,_arg1
,_arg2
);
3095 wxPy_END_ALLOW_THREADS
;
3096 } Py_INCREF(Py_None
);
3097 _resultobj
= Py_None
;
3101 #define wxWindow_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3102 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3103 PyObject
* _resultobj
;
3106 PyObject
* _argo0
= 0;
3108 PyObject
* _obj1
= 0;
3109 char *_kwnames
[] = { "self","point", NULL
};
3112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Move",_kwnames
,&_argo0
,&_obj1
))
3115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
3123 if (! wxPoint_helper(_obj1
, &_arg1
))
3127 wxPy_BEGIN_ALLOW_THREADS
;
3128 wxWindow_Move(_arg0
,*_arg1
);
3130 wxPy_END_ALLOW_THREADS
;
3131 } Py_INCREF(Py_None
);
3132 _resultobj
= Py_None
;
3136 #define wxWindow_PopEventHandler(_swigobj,_swigarg0) (_swigobj->PopEventHandler(_swigarg0))
3137 static PyObject
*_wrap_wxWindow_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3138 PyObject
* _resultobj
;
3139 wxEvtHandler
* _result
;
3141 bool _arg1
= (bool ) FALSE
;
3142 PyObject
* _argo0
= 0;
3143 int tempbool1
= (int) FALSE
;
3144 char *_kwnames
[] = { "self","deleteHandler", NULL
};
3148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_PopEventHandler",_kwnames
,&_argo0
,&tempbool1
))
3151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopEventHandler. Expected _wxWindow_p.");
3157 _arg1
= (bool ) tempbool1
;
3159 wxPy_BEGIN_ALLOW_THREADS
;
3160 _result
= (wxEvtHandler
*)wxWindow_PopEventHandler(_arg0
,_arg1
);
3162 wxPy_END_ALLOW_THREADS
;
3164 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
3165 _resultobj
= Py_BuildValue("s",_ptemp
);
3168 _resultobj
= Py_None
;
3173 #define wxWindow_PushEventHandler(_swigobj,_swigarg0) (_swigobj->PushEventHandler(_swigarg0))
3174 static PyObject
*_wrap_wxWindow_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3175 PyObject
* _resultobj
;
3177 wxEvtHandler
* _arg1
;
3178 PyObject
* _argo0
= 0;
3179 PyObject
* _argo1
= 0;
3180 char *_kwnames
[] = { "self","handler", NULL
};
3183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_PushEventHandler",_kwnames
,&_argo0
,&_argo1
))
3186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PushEventHandler. Expected _wxWindow_p.");
3193 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3194 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PushEventHandler. Expected _wxEvtHandler_p.");
3200 wxPy_BEGIN_ALLOW_THREADS
;
3201 wxWindow_PushEventHandler(_arg0
,_arg1
);
3203 wxPy_END_ALLOW_THREADS
;
3204 } Py_INCREF(Py_None
);
3205 _resultobj
= Py_None
;
3209 #define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
3210 static PyObject
*_wrap_wxWindow_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3211 PyObject
* _resultobj
;
3217 PyObject
* _argo0
= 0;
3218 PyObject
* _argo1
= 0;
3219 char *_kwnames
[] = { "self","menu","x","y", NULL
};
3222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxWindow_PopupMenuXY",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
3232 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3233 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
3239 wxPy_BEGIN_ALLOW_THREADS
;
3240 _result
= (bool )wxWindow_PopupMenuXY(_arg0
,_arg1
,_arg2
,_arg3
);
3242 wxPy_END_ALLOW_THREADS
;
3243 } _resultobj
= Py_BuildValue("i",_result
);
3247 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
3248 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3249 PyObject
* _resultobj
;
3254 PyObject
* _argo0
= 0;
3255 PyObject
* _argo1
= 0;
3257 PyObject
* _obj2
= 0;
3258 char *_kwnames
[] = { "self","menu","pos", NULL
};
3261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_PopupMenu",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
3264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
3271 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3272 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
3279 if (! wxPoint_helper(_obj2
, &_arg2
))
3283 wxPy_BEGIN_ALLOW_THREADS
;
3284 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,*_arg2
);
3286 wxPy_END_ALLOW_THREADS
;
3287 } _resultobj
= Py_BuildValue("i",_result
);
3291 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
3292 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3293 PyObject
* _resultobj
;
3295 PyObject
* _argo0
= 0;
3296 char *_kwnames
[] = { "self", NULL
};
3299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Raise",_kwnames
,&_argo0
))
3302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
3309 wxPy_BEGIN_ALLOW_THREADS
;
3310 wxWindow_Raise(_arg0
);
3312 wxPy_END_ALLOW_THREADS
;
3313 } Py_INCREF(Py_None
);
3314 _resultobj
= Py_None
;
3318 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
3319 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3320 PyObject
* _resultobj
;
3322 bool _arg1
= (bool ) TRUE
;
3323 wxRect
* _arg2
= (wxRect
*) NULL
;
3324 PyObject
* _argo0
= 0;
3325 int tempbool1
= (int) TRUE
;
3327 PyObject
* _obj2
= 0;
3328 char *_kwnames
[] = { "self","eraseBackground","rect", NULL
};
3331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxWindow_Refresh",_kwnames
,&_argo0
,&tempbool1
,&_obj2
))
3334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
3340 _arg1
= (bool ) tempbool1
;
3344 if (! wxRect_helper(_obj2
, &_arg2
))
3348 wxPy_BEGIN_ALLOW_THREADS
;
3349 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
3351 wxPy_END_ALLOW_THREADS
;
3352 } Py_INCREF(Py_None
);
3353 _resultobj
= Py_None
;
3357 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
3358 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3359 PyObject
* _resultobj
;
3361 PyObject
* _argo0
= 0;
3362 char *_kwnames
[] = { "self", NULL
};
3365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_ReleaseMouse",_kwnames
,&_argo0
))
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_ReleaseMouse. Expected _wxWindow_p.");
3375 wxPy_BEGIN_ALLOW_THREADS
;
3376 wxWindow_ReleaseMouse(_arg0
);
3378 wxPy_END_ALLOW_THREADS
;
3379 } Py_INCREF(Py_None
);
3380 _resultobj
= Py_None
;
3384 #define wxWindow_RemoveChild(_swigobj,_swigarg0) (_swigobj->RemoveChild(_swigarg0))
3385 static PyObject
*_wrap_wxWindow_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3386 PyObject
* _resultobj
;
3389 PyObject
* _argo0
= 0;
3390 PyObject
* _argo1
= 0;
3391 char *_kwnames
[] = { "self","child", NULL
};
3394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
3397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3404 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3405 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3411 wxPy_BEGIN_ALLOW_THREADS
;
3412 wxWindow_RemoveChild(_arg0
,_arg1
);
3414 wxPy_END_ALLOW_THREADS
;
3415 } Py_INCREF(Py_None
);
3416 _resultobj
= Py_None
;
3420 #define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
3421 static PyObject
*_wrap_wxWindow_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3422 PyObject
* _resultobj
;
3426 PyObject
* _argo0
= 0;
3427 PyObject
* _argo1
= 0;
3428 char *_kwnames
[] = { "self","newParent", NULL
};
3431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Reparent",_kwnames
,&_argo0
,&_argo1
))
3434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
3441 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3442 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
3448 wxPy_BEGIN_ALLOW_THREADS
;
3449 _result
= (bool )wxWindow_Reparent(_arg0
,_arg1
);
3451 wxPy_END_ALLOW_THREADS
;
3452 } _resultobj
= Py_BuildValue("i",_result
);
3456 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
3457 static PyObject
*_wrap_wxWindow_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3458 PyObject
* _resultobj
;
3462 PyObject
* _argo0
= 0;
3464 PyObject
* _obj1
= 0;
3466 PyObject
* _obj2
= 0;
3467 char *_kwnames
[] = { "self","x","y", NULL
};
3470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ScreenToClientXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
3480 temp
= (int) PyInt_AsLong(_obj1
);
3484 temp0
= (int) PyInt_AsLong(_obj2
);
3488 wxPy_BEGIN_ALLOW_THREADS
;
3489 wxWindow_ScreenToClientXY(_arg0
,_arg1
,_arg2
);
3491 wxPy_END_ALLOW_THREADS
;
3492 } Py_INCREF(Py_None
);
3493 _resultobj
= Py_None
;
3496 o
= PyInt_FromLong((long) (*_arg1
));
3497 _resultobj
= t_output_helper(_resultobj
, o
);
3501 o
= PyInt_FromLong((long) (*_arg2
));
3502 _resultobj
= t_output_helper(_resultobj
, o
);
3507 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
3508 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3509 PyObject
* _resultobj
;
3513 PyObject
* _argo0
= 0;
3515 PyObject
* _obj1
= 0;
3516 char *_kwnames
[] = { "self","pt", NULL
};
3520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ScreenToClient",_kwnames
,&_argo0
,&_obj1
))
3523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
3531 if (! wxPoint_helper(_obj1
, &_arg1
))
3535 wxPy_BEGIN_ALLOW_THREADS
;
3536 _result
= new wxPoint (wxWindow_ScreenToClient(_arg0
,*_arg1
));
3538 wxPy_END_ALLOW_THREADS
;
3539 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3540 _resultobj
= Py_BuildValue("s",_ptemp
);
3544 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
3545 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3546 PyObject
* _resultobj
;
3550 wxRect
* _arg3
= (wxRect
*) NULL
;
3551 PyObject
* _argo0
= 0;
3553 PyObject
* _obj3
= 0;
3554 char *_kwnames
[] = { "self","dx","dy","rect", NULL
};
3557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|O:wxWindow_ScrollWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
3569 if (! wxRect_helper(_obj3
, &_arg3
))
3573 wxPy_BEGIN_ALLOW_THREADS
;
3574 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
3576 wxPy_END_ALLOW_THREADS
;
3577 } Py_INCREF(Py_None
);
3578 _resultobj
= Py_None
;
3582 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
3583 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3584 PyObject
* _resultobj
;
3586 wxAcceleratorTable
* _arg1
;
3587 PyObject
* _argo0
= 0;
3588 PyObject
* _argo1
= 0;
3589 char *_kwnames
[] = { "self","accel", NULL
};
3592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetAcceleratorTable",_kwnames
,&_argo0
,&_argo1
))
3595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
3602 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3603 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
3604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
3609 wxPy_BEGIN_ALLOW_THREADS
;
3610 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
3612 wxPy_END_ALLOW_THREADS
;
3613 } Py_INCREF(Py_None
);
3614 _resultobj
= Py_None
;
3618 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
3619 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3620 PyObject
* _resultobj
;
3623 PyObject
* _argo0
= 0;
3625 char *_kwnames
[] = { "self","autoLayout", NULL
};
3628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetAutoLayout",_kwnames
,&_argo0
,&tempbool1
))
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_SetAutoLayout. Expected _wxWindow_p.");
3637 _arg1
= (bool ) tempbool1
;
3639 wxPy_BEGIN_ALLOW_THREADS
;
3640 wxWindow_SetAutoLayout(_arg0
,_arg1
);
3642 wxPy_END_ALLOW_THREADS
;
3643 } Py_INCREF(Py_None
);
3644 _resultobj
= Py_None
;
3648 #define wxWindow_GetAutoLayout(_swigobj) (_swigobj->GetAutoLayout())
3649 static PyObject
*_wrap_wxWindow_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3650 PyObject
* _resultobj
;
3653 PyObject
* _argo0
= 0;
3654 char *_kwnames
[] = { "self", NULL
};
3657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAutoLayout",_kwnames
,&_argo0
))
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_GetAutoLayout. Expected _wxWindow_p.");
3667 wxPy_BEGIN_ALLOW_THREADS
;
3668 _result
= (bool )wxWindow_GetAutoLayout(_arg0
);
3670 wxPy_END_ALLOW_THREADS
;
3671 } _resultobj
= Py_BuildValue("i",_result
);
3675 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3676 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3677 PyObject
* _resultobj
;
3680 PyObject
* _argo0
= 0;
3682 PyObject
* _obj1
= 0;
3683 char *_kwnames
[] = { "self","colour", NULL
};
3686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
3697 if (! wxColour_helper(_obj1
, &_arg1
))
3701 wxPy_BEGIN_ALLOW_THREADS
;
3702 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
3704 wxPy_END_ALLOW_THREADS
;
3705 } Py_INCREF(Py_None
);
3706 _resultobj
= Py_None
;
3710 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
3711 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3712 PyObject
* _resultobj
;
3714 wxLayoutConstraints
* _arg1
;
3715 PyObject
* _argo0
= 0;
3716 PyObject
* _argo1
= 0;
3717 char *_kwnames
[] = { "self","constraints", NULL
};
3720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetConstraints",_kwnames
,&_argo0
,&_argo1
))
3723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
3730 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3731 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
3737 wxPy_BEGIN_ALLOW_THREADS
;
3738 wxWindow_SetConstraints(_arg0
,_arg1
);
3740 wxPy_END_ALLOW_THREADS
;
3741 } Py_INCREF(Py_None
);
3742 _resultobj
= Py_None
;
3746 #define wxWindow_UnsetConstraints(_swigobj,_swigarg0) (_swigobj->UnsetConstraints(_swigarg0))
3747 static PyObject
*_wrap_wxWindow_UnsetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3748 PyObject
* _resultobj
;
3750 wxLayoutConstraints
* _arg1
;
3751 PyObject
* _argo0
= 0;
3752 PyObject
* _argo1
= 0;
3753 char *_kwnames
[] = { "self","constraints", NULL
};
3756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_UnsetConstraints",_kwnames
,&_argo0
,&_argo1
))
3759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_UnsetConstraints. Expected _wxWindow_p.");
3766 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3767 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_UnsetConstraints. Expected _wxLayoutConstraints_p.");
3773 wxPy_BEGIN_ALLOW_THREADS
;
3774 wxWindow_UnsetConstraints(_arg0
,_arg1
);
3776 wxPy_END_ALLOW_THREADS
;
3777 } Py_INCREF(Py_None
);
3778 _resultobj
= Py_None
;
3782 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
3783 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3784 PyObject
* _resultobj
;
3786 PyObject
* _argo0
= 0;
3787 char *_kwnames
[] = { "self", NULL
};
3790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_SetFocus",_kwnames
,&_argo0
))
3793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
3800 wxPy_BEGIN_ALLOW_THREADS
;
3801 wxWindow_SetFocus(_arg0
);
3803 wxPy_END_ALLOW_THREADS
;
3804 } Py_INCREF(Py_None
);
3805 _resultobj
= Py_None
;
3809 #define wxWindow_AcceptsFocus(_swigobj) (_swigobj->AcceptsFocus())
3810 static PyObject
*_wrap_wxWindow_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3811 PyObject
* _resultobj
;
3814 PyObject
* _argo0
= 0;
3815 char *_kwnames
[] = { "self", NULL
};
3818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_AcceptsFocus",_kwnames
,&_argo0
))
3821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_AcceptsFocus. Expected _wxWindow_p.");
3828 wxPy_BEGIN_ALLOW_THREADS
;
3829 _result
= (bool )wxWindow_AcceptsFocus(_arg0
);
3831 wxPy_END_ALLOW_THREADS
;
3832 } _resultobj
= Py_BuildValue("i",_result
);
3836 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
3837 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3838 PyObject
* _resultobj
;
3841 PyObject
* _argo0
= 0;
3842 PyObject
* _argo1
= 0;
3843 char *_kwnames
[] = { "self","font", NULL
};
3846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetFont",_kwnames
,&_argo0
,&_argo1
))
3849 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3850 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
3856 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3857 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
3858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
3863 wxPy_BEGIN_ALLOW_THREADS
;
3864 wxWindow_SetFont(_arg0
,*_arg1
);
3866 wxPy_END_ALLOW_THREADS
;
3867 } Py_INCREF(Py_None
);
3868 _resultobj
= Py_None
;
3872 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
3873 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3874 PyObject
* _resultobj
;
3877 PyObject
* _argo0
= 0;
3879 PyObject
* _obj1
= 0;
3880 char *_kwnames
[] = { "self","colour", NULL
};
3883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
3886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
3894 if (! wxColour_helper(_obj1
, &_arg1
))
3898 wxPy_BEGIN_ALLOW_THREADS
;
3899 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
3901 wxPy_END_ALLOW_THREADS
;
3902 } Py_INCREF(Py_None
);
3903 _resultobj
= Py_None
;
3907 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
3908 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3909 PyObject
* _resultobj
;
3912 PyObject
* _argo0
= 0;
3913 char *_kwnames
[] = { "self","id", NULL
};
3916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetId",_kwnames
,&_argo0
,&_arg1
))
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_SetId. Expected _wxWindow_p.");
3926 wxPy_BEGIN_ALLOW_THREADS
;
3927 wxWindow_SetId(_arg0
,_arg1
);
3929 wxPy_END_ALLOW_THREADS
;
3930 } Py_INCREF(Py_None
);
3931 _resultobj
= Py_None
;
3935 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
3936 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3937 PyObject
* _resultobj
;
3940 PyObject
* _argo0
= 0;
3941 PyObject
* _obj1
= 0;
3942 char *_kwnames
[] = { "self","name", NULL
};
3945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetName",_kwnames
,&_argo0
,&_obj1
))
3948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
3955 #if PYTHON_API_VERSION >= 1009
3956 char* tmpPtr
; int tmpSize
;
3957 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3958 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
3961 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3963 _arg1
= new wxString(tmpPtr
, tmpSize
);
3965 if (!PyString_Check(_obj1
)) {
3966 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3969 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3973 wxPy_BEGIN_ALLOW_THREADS
;
3974 wxWindow_SetName(_arg0
,*_arg1
);
3976 wxPy_END_ALLOW_THREADS
;
3977 } Py_INCREF(Py_None
);
3978 _resultobj
= Py_None
;
3986 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3987 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3988 PyObject
* _resultobj
;
3994 int _arg5
= (int ) TRUE
;
3995 PyObject
* _argo0
= 0;
3996 char *_kwnames
[] = { "self","orientation","position","thumbSize","range","refresh", NULL
};
3999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
4009 wxPy_BEGIN_ALLOW_THREADS
;
4010 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4012 wxPy_END_ALLOW_THREADS
;
4013 } Py_INCREF(Py_None
);
4014 _resultobj
= Py_None
;
4018 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
4019 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4020 PyObject
* _resultobj
;
4024 bool _arg3
= (bool ) TRUE
;
4025 PyObject
* _argo0
= 0;
4026 int tempbool3
= (int) TRUE
;
4027 char *_kwnames
[] = { "self","orientation","pos","refresh", NULL
};
4030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_SetScrollPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
4033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
4039 _arg3
= (bool ) tempbool3
;
4041 wxPy_BEGIN_ALLOW_THREADS
;
4042 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
4044 wxPy_END_ALLOW_THREADS
;
4045 } Py_INCREF(Py_None
);
4046 _resultobj
= Py_None
;
4050 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4051 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4052 PyObject
* _resultobj
;
4058 int _arg5
= (int ) wxSIZE_AUTO
;
4059 PyObject
* _argo0
= 0;
4060 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
4063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetDimensions",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
4073 wxPy_BEGIN_ALLOW_THREADS
;
4074 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4076 wxPy_END_ALLOW_THREADS
;
4077 } Py_INCREF(Py_None
);
4078 _resultobj
= Py_None
;
4082 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
4083 self
->SetSize(size
);
4085 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4086 PyObject
* _resultobj
;
4089 PyObject
* _argo0
= 0;
4091 PyObject
* _obj1
= 0;
4092 char *_kwnames
[] = { "self","size", NULL
};
4095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSize",_kwnames
,&_argo0
,&_obj1
))
4098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
4106 if (! wxSize_helper(_obj1
, &_arg1
))
4110 wxPy_BEGIN_ALLOW_THREADS
;
4111 wxWindow_SetSize(_arg0
,*_arg1
);
4113 wxPy_END_ALLOW_THREADS
;
4114 } Py_INCREF(Py_None
);
4115 _resultobj
= Py_None
;
4119 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
) {
4122 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4123 PyObject
* _resultobj
;
4126 PyObject
* _argo0
= 0;
4128 PyObject
* _obj1
= 0;
4129 char *_kwnames
[] = { "self","pos", NULL
};
4132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetPosition",_kwnames
,&_argo0
,&_obj1
))
4135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
4143 if (! wxPoint_helper(_obj1
, &_arg1
))
4147 wxPy_BEGIN_ALLOW_THREADS
;
4148 wxWindow_SetPosition(_arg0
,*_arg1
);
4150 wxPy_END_ALLOW_THREADS
;
4151 } Py_INCREF(Py_None
);
4152 _resultobj
= Py_None
;
4156 static void wxWindow_SetRect(wxWindow
*self
,const wxRect
& rect
,int sizeFlags
) {
4157 self
->SetSize(rect
, sizeFlags
);
4159 static PyObject
*_wrap_wxWindow_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4160 PyObject
* _resultobj
;
4163 int _arg2
= (int ) wxSIZE_AUTO
;
4164 PyObject
* _argo0
= 0;
4166 PyObject
* _obj1
= 0;
4167 char *_kwnames
[] = { "self","rect","sizeFlags", NULL
};
4170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetRect",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetRect. Expected _wxWindow_p.");
4181 if (! wxRect_helper(_obj1
, &_arg1
))
4185 wxPy_BEGIN_ALLOW_THREADS
;
4186 wxWindow_SetRect(_arg0
,*_arg1
,_arg2
);
4188 wxPy_END_ALLOW_THREADS
;
4189 } Py_INCREF(Py_None
);
4190 _resultobj
= Py_None
;
4194 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4195 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4196 PyObject
* _resultobj
;
4198 int _arg1
= (int ) -1;
4199 int _arg2
= (int ) -1;
4200 int _arg3
= (int ) -1;
4201 int _arg4
= (int ) -1;
4202 int _arg5
= (int ) -1;
4203 int _arg6
= (int ) -1;
4204 PyObject
* _argo0
= 0;
4205 char *_kwnames
[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL
};
4208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iiiiii:wxWindow_SetSizeHints",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
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_SetSizeHints. Expected _wxWindow_p.");
4218 wxPy_BEGIN_ALLOW_THREADS
;
4219 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4221 wxPy_END_ALLOW_THREADS
;
4222 } Py_INCREF(Py_None
);
4223 _resultobj
= Py_None
;
4227 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
4228 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4229 PyObject
* _resultobj
;
4233 PyObject
* _argo0
= 0;
4234 char *_kwnames
[] = { "self","width","height", NULL
};
4237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_SetClientSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
4247 wxPy_BEGIN_ALLOW_THREADS
;
4248 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
4250 wxPy_END_ALLOW_THREADS
;
4251 } Py_INCREF(Py_None
);
4252 _resultobj
= Py_None
;
4256 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
4257 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4258 PyObject
* _resultobj
;
4261 PyObject
* _argo0
= 0;
4263 PyObject
* _obj1
= 0;
4264 char *_kwnames
[] = { "self","size", NULL
};
4267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetClientSize",_kwnames
,&_argo0
,&_obj1
))
4270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
4278 if (! wxSize_helper(_obj1
, &_arg1
))
4282 wxPy_BEGIN_ALLOW_THREADS
;
4283 wxWindow_SetClientSize(_arg0
,*_arg1
);
4285 wxPy_END_ALLOW_THREADS
;
4286 } Py_INCREF(Py_None
);
4287 _resultobj
= Py_None
;
4291 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
4292 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4293 PyObject
* _resultobj
;
4296 PyObject
* _argo0
= 0;
4297 PyObject
* _argo1
= 0;
4298 char *_kwnames
[] = { "self","cursor", NULL
};
4301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCursor",_kwnames
,&_argo0
,&_argo1
))
4304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
4311 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4312 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
4313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
4318 wxPy_BEGIN_ALLOW_THREADS
;
4319 wxWindow_SetCursor(_arg0
,*_arg1
);
4321 wxPy_END_ALLOW_THREADS
;
4322 } Py_INCREF(Py_None
);
4323 _resultobj
= Py_None
;
4327 #define wxWindow_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
4328 static PyObject
*_wrap_wxWindow_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4329 PyObject
* _resultobj
;
4331 wxEvtHandler
* _arg1
;
4332 PyObject
* _argo0
= 0;
4333 PyObject
* _argo1
= 0;
4334 char *_kwnames
[] = { "self","handler", NULL
};
4337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
4340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetEventHandler. Expected _wxWindow_p.");
4347 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4348 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetEventHandler. Expected _wxEvtHandler_p.");
4354 wxPy_BEGIN_ALLOW_THREADS
;
4355 wxWindow_SetEventHandler(_arg0
,_arg1
);
4357 wxPy_END_ALLOW_THREADS
;
4358 } Py_INCREF(Py_None
);
4359 _resultobj
= Py_None
;
4363 #define wxWindow_SetExtraStyle(_swigobj,_swigarg0) (_swigobj->SetExtraStyle(_swigarg0))
4364 static PyObject
*_wrap_wxWindow_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4365 PyObject
* _resultobj
;
4368 PyObject
* _argo0
= 0;
4369 char *_kwnames
[] = { "self","exStyle", NULL
};
4372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetExtraStyle",_kwnames
,&_argo0
,&_arg1
))
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_SetExtraStyle. Expected _wxWindow_p.");
4382 wxPy_BEGIN_ALLOW_THREADS
;
4383 wxWindow_SetExtraStyle(_arg0
,_arg1
);
4385 wxPy_END_ALLOW_THREADS
;
4386 } Py_INCREF(Py_None
);
4387 _resultobj
= Py_None
;
4391 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4392 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4393 PyObject
* _resultobj
;
4396 PyObject
* _argo0
= 0;
4397 PyObject
* _obj1
= 0;
4398 char *_kwnames
[] = { "self","title", NULL
};
4401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
4411 #if PYTHON_API_VERSION >= 1009
4412 char* tmpPtr
; int tmpSize
;
4413 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4414 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
4417 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4419 _arg1
= new wxString(tmpPtr
, tmpSize
);
4421 if (!PyString_Check(_obj1
)) {
4422 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4425 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4429 wxPy_BEGIN_ALLOW_THREADS
;
4430 wxWindow_SetTitle(_arg0
,*_arg1
);
4432 wxPy_END_ALLOW_THREADS
;
4433 } Py_INCREF(Py_None
);
4434 _resultobj
= Py_None
;
4442 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4443 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4444 PyObject
* _resultobj
;
4448 PyObject
* _argo0
= 0;
4450 char *_kwnames
[] = { "self","show", NULL
};
4453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
4456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
4462 _arg1
= (bool ) tempbool1
;
4464 wxPy_BEGIN_ALLOW_THREADS
;
4465 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
4467 wxPy_END_ALLOW_THREADS
;
4468 } _resultobj
= Py_BuildValue("i",_result
);
4472 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
4473 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4474 PyObject
* _resultobj
;
4477 PyObject
* _argo0
= 0;
4478 char *_kwnames
[] = { "self", NULL
};
4481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataFromWindow",_kwnames
,&_argo0
))
4484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
4491 wxPy_BEGIN_ALLOW_THREADS
;
4492 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
4494 wxPy_END_ALLOW_THREADS
;
4495 } _resultobj
= Py_BuildValue("i",_result
);
4499 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
4500 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4501 PyObject
* _resultobj
;
4504 PyObject
* _argo0
= 0;
4505 char *_kwnames
[] = { "self", NULL
};
4508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataToWindow",_kwnames
,&_argo0
))
4511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
4518 wxPy_BEGIN_ALLOW_THREADS
;
4519 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
4521 wxPy_END_ALLOW_THREADS
;
4522 } _resultobj
= Py_BuildValue("i",_result
);
4526 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
4527 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4528 PyObject
* _resultobj
;
4531 PyObject
* _argo0
= 0;
4532 char *_kwnames
[] = { "self", NULL
};
4535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Validate",_kwnames
,&_argo0
))
4538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
4545 wxPy_BEGIN_ALLOW_THREADS
;
4546 _result
= (bool )wxWindow_Validate(_arg0
);
4548 wxPy_END_ALLOW_THREADS
;
4549 } _resultobj
= Py_BuildValue("i",_result
);
4553 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
4554 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4555 PyObject
* _resultobj
;
4559 PyObject
* _argo0
= 0;
4560 char *_kwnames
[] = { "self","x","y", NULL
};
4563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_WarpPointer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
4573 wxPy_BEGIN_ALLOW_THREADS
;
4574 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
4576 wxPy_END_ALLOW_THREADS
;
4577 } Py_INCREF(Py_None
);
4578 _resultobj
= Py_None
;
4582 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4583 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4584 PyObject
* _resultobj
;
4588 PyObject
* _argo0
= 0;
4590 PyObject
* _obj1
= 0;
4591 char *_kwnames
[] = { "self","pt", NULL
};
4595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames
,&_argo0
,&_obj1
))
4598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
4606 if (! wxPoint_helper(_obj1
, &_arg1
))
4610 wxPy_BEGIN_ALLOW_THREADS
;
4611 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
4613 wxPy_END_ALLOW_THREADS
;
4614 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4615 _resultobj
= Py_BuildValue("s",_ptemp
);
4619 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4620 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4621 PyObject
* _resultobj
;
4625 PyObject
* _argo0
= 0;
4627 PyObject
* _obj1
= 0;
4628 char *_kwnames
[] = { "self","sz", NULL
};
4632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames
,&_argo0
,&_obj1
))
4635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
4643 if (! wxSize_helper(_obj1
, &_arg1
))
4647 wxPy_BEGIN_ALLOW_THREADS
;
4648 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
4650 wxPy_END_ALLOW_THREADS
;
4651 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4652 _resultobj
= Py_BuildValue("s",_ptemp
);
4656 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4657 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4658 PyObject
* _resultobj
;
4662 PyObject
* _argo0
= 0;
4664 PyObject
* _obj1
= 0;
4665 char *_kwnames
[] = { "self","pt", NULL
};
4669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames
,&_argo0
,&_obj1
))
4672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
4680 if (! wxPoint_helper(_obj1
, &_arg1
))
4684 wxPy_BEGIN_ALLOW_THREADS
;
4685 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
4687 wxPy_END_ALLOW_THREADS
;
4688 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4689 _resultobj
= Py_BuildValue("s",_ptemp
);
4693 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4694 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4695 PyObject
* _resultobj
;
4699 PyObject
* _argo0
= 0;
4701 PyObject
* _obj1
= 0;
4702 char *_kwnames
[] = { "self","sz", NULL
};
4706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames
,&_argo0
,&_obj1
))
4709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
4717 if (! wxSize_helper(_obj1
, &_arg1
))
4721 wxPy_BEGIN_ALLOW_THREADS
;
4722 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
4724 wxPy_END_ALLOW_THREADS
;
4725 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4726 _resultobj
= Py_BuildValue("s",_ptemp
);
4730 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4731 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4732 PyObject
* _resultobj
;
4735 PyObject
* _argo0
= 0;
4736 PyObject
* _obj1
= 0;
4737 char *_kwnames
[] = { "self","tip", NULL
};
4740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTipString",_kwnames
,&_argo0
,&_obj1
))
4743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
4750 #if PYTHON_API_VERSION >= 1009
4751 char* tmpPtr
; int tmpSize
;
4752 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4753 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
4756 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4758 _arg1
= new wxString(tmpPtr
, tmpSize
);
4760 if (!PyString_Check(_obj1
)) {
4761 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4764 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4768 wxPy_BEGIN_ALLOW_THREADS
;
4769 wxWindow_SetToolTipString(_arg0
,*_arg1
);
4771 wxPy_END_ALLOW_THREADS
;
4772 } Py_INCREF(Py_None
);
4773 _resultobj
= Py_None
;
4781 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4782 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4783 PyObject
* _resultobj
;
4786 PyObject
* _argo0
= 0;
4787 PyObject
* _argo1
= 0;
4788 char *_kwnames
[] = { "self","tooltip", NULL
};
4791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTip",_kwnames
,&_argo0
,&_argo1
))
4794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
4801 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4802 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolTip_p")) {
4803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
4808 wxPy_BEGIN_ALLOW_THREADS
;
4809 wxWindow_SetToolTip(_arg0
,_arg1
);
4811 wxPy_END_ALLOW_THREADS
;
4812 } Py_INCREF(Py_None
);
4813 _resultobj
= Py_None
;
4817 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
4818 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4819 PyObject
* _resultobj
;
4820 wxToolTip
* _result
;
4822 PyObject
* _argo0
= 0;
4823 char *_kwnames
[] = { "self", NULL
};
4827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetToolTip",_kwnames
,&_argo0
))
4830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
4837 wxPy_BEGIN_ALLOW_THREADS
;
4838 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
4840 wxPy_END_ALLOW_THREADS
;
4842 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
4843 _resultobj
= Py_BuildValue("s",_ptemp
);
4846 _resultobj
= Py_None
;
4851 #define wxWindow_SetSizer(_swigobj,_swigarg0) (_swigobj->SetSizer(_swigarg0))
4852 static PyObject
*_wrap_wxWindow_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4853 PyObject
* _resultobj
;
4856 PyObject
* _argo0
= 0;
4857 PyObject
* _argo1
= 0;
4858 char *_kwnames
[] = { "self","sizer", NULL
};
4861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSizer",_kwnames
,&_argo0
,&_argo1
))
4864 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4865 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizer. Expected _wxWindow_p.");
4871 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4872 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
4873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSizer. Expected _wxSizer_p.");
4878 wxPy_BEGIN_ALLOW_THREADS
;
4879 wxWindow_SetSizer(_arg0
,_arg1
);
4881 wxPy_END_ALLOW_THREADS
;
4882 } Py_INCREF(Py_None
);
4883 _resultobj
= Py_None
;
4887 #define wxWindow_GetSizer(_swigobj) (_swigobj->GetSizer())
4888 static PyObject
*_wrap_wxWindow_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4889 PyObject
* _resultobj
;
4892 PyObject
* _argo0
= 0;
4893 char *_kwnames
[] = { "self", NULL
};
4897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizer",_kwnames
,&_argo0
))
4900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizer. Expected _wxWindow_p.");
4907 wxPy_BEGIN_ALLOW_THREADS
;
4908 _result
= (wxSizer
*)wxWindow_GetSizer(_arg0
);
4910 wxPy_END_ALLOW_THREADS
;
4912 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSizer_p");
4913 _resultobj
= Py_BuildValue("s",_ptemp
);
4916 _resultobj
= Py_None
;
4921 #define wxWindow_GetValidator(_swigobj) (_swigobj->GetValidator())
4922 static PyObject
*_wrap_wxWindow_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4923 PyObject
* _resultobj
;
4924 wxValidator
* _result
;
4926 PyObject
* _argo0
= 0;
4927 char *_kwnames
[] = { "self", NULL
};
4931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetValidator",_kwnames
,&_argo0
))
4934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetValidator. Expected _wxWindow_p.");
4941 wxPy_BEGIN_ALLOW_THREADS
;
4942 _result
= (wxValidator
*)wxWindow_GetValidator(_arg0
);
4944 wxPy_END_ALLOW_THREADS
;
4946 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
4947 _resultobj
= Py_BuildValue("s",_ptemp
);
4950 _resultobj
= Py_None
;
4955 #define wxWindow_SetValidator(_swigobj,_swigarg0) (_swigobj->SetValidator(_swigarg0))
4956 static PyObject
*_wrap_wxWindow_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4957 PyObject
* _resultobj
;
4959 wxValidator
* _arg1
;
4960 PyObject
* _argo0
= 0;
4961 PyObject
* _argo1
= 0;
4962 char *_kwnames
[] = { "self","validator", NULL
};
4965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetValidator",_kwnames
,&_argo0
,&_argo1
))
4968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetValidator. Expected _wxWindow_p.");
4975 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4976 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxValidator_p")) {
4977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetValidator. Expected _wxValidator_p.");
4982 wxPy_BEGIN_ALLOW_THREADS
;
4983 wxWindow_SetValidator(_arg0
,*_arg1
);
4985 wxPy_END_ALLOW_THREADS
;
4986 } Py_INCREF(Py_None
);
4987 _resultobj
= Py_None
;
4991 #define wxWindow_SetDropTarget(_swigobj,_swigarg0) (_swigobj->SetDropTarget(_swigarg0))
4992 static PyObject
*_wrap_wxWindow_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4993 PyObject
* _resultobj
;
4995 wxDropTarget
* _arg1
;
4996 PyObject
* _argo0
= 0;
4997 PyObject
* _argo1
= 0;
4998 char *_kwnames
[] = { "self","target", NULL
};
5001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetDropTarget",_kwnames
,&_argo0
,&_argo1
))
5004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDropTarget. Expected _wxWindow_p.");
5011 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5012 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDropTarget_p")) {
5013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetDropTarget. Expected _wxDropTarget_p.");
5018 wxPy_BEGIN_ALLOW_THREADS
;
5019 wxWindow_SetDropTarget(_arg0
,_arg1
);
5021 wxPy_END_ALLOW_THREADS
;
5022 } Py_INCREF(Py_None
);
5023 _resultobj
= Py_None
;
5027 #define wxWindow_GetDropTarget(_swigobj) (_swigobj->GetDropTarget())
5028 static PyObject
*_wrap_wxWindow_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5029 PyObject
* _resultobj
;
5030 wxDropTarget
* _result
;
5032 PyObject
* _argo0
= 0;
5033 char *_kwnames
[] = { "self", NULL
};
5037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetDropTarget",_kwnames
,&_argo0
))
5040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetDropTarget. Expected _wxWindow_p.");
5047 wxPy_BEGIN_ALLOW_THREADS
;
5048 _result
= (wxDropTarget
*)wxWindow_GetDropTarget(_arg0
);
5050 wxPy_END_ALLOW_THREADS
;
5052 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDropTarget_p");
5053 _resultobj
= Py_BuildValue("s",_ptemp
);
5056 _resultobj
= Py_None
;
5061 #define wxWindow_GetBestSize(_swigobj) (_swigobj->GetBestSize())
5062 static PyObject
*_wrap_wxWindow_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5063 PyObject
* _resultobj
;
5066 PyObject
* _argo0
= 0;
5067 char *_kwnames
[] = { "self", NULL
};
5071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBestSize",_kwnames
,&_argo0
))
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_GetBestSize. Expected _wxWindow_p.");
5081 wxPy_BEGIN_ALLOW_THREADS
;
5082 _result
= new wxSize (wxWindow_GetBestSize(_arg0
));
5084 wxPy_END_ALLOW_THREADS
;
5085 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5086 _resultobj
= Py_BuildValue("s",_ptemp
);
5090 #define wxWindow_SetCaret(_swigobj,_swigarg0) (_swigobj->SetCaret(_swigarg0))
5091 static PyObject
*_wrap_wxWindow_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5092 PyObject
* _resultobj
;
5095 PyObject
* _argo0
= 0;
5096 PyObject
* _argo1
= 0;
5097 char *_kwnames
[] = { "self","caret", NULL
};
5100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCaret",_kwnames
,&_argo0
,&_argo1
))
5103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCaret. Expected _wxWindow_p.");
5110 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5111 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCaret_p")) {
5112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCaret. Expected _wxCaret_p.");
5117 wxPy_BEGIN_ALLOW_THREADS
;
5118 wxWindow_SetCaret(_arg0
,_arg1
);
5120 wxPy_END_ALLOW_THREADS
;
5121 } Py_INCREF(Py_None
);
5122 _resultobj
= Py_None
;
5126 #define wxWindow_GetCaret(_swigobj) (_swigobj->GetCaret())
5127 static PyObject
*_wrap_wxWindow_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5128 PyObject
* _resultobj
;
5131 PyObject
* _argo0
= 0;
5132 char *_kwnames
[] = { "self", NULL
};
5136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCaret",_kwnames
,&_argo0
))
5139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCaret. Expected _wxWindow_p.");
5146 wxPy_BEGIN_ALLOW_THREADS
;
5147 _result
= (wxCaret
*)wxWindow_GetCaret(_arg0
);
5149 wxPy_END_ALLOW_THREADS
;
5151 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
5152 _resultobj
= Py_BuildValue("s",_ptemp
);
5155 _resultobj
= Py_None
;
5160 static void *SwigwxPanelTowxWindow(void *ptr
) {
5163 src
= (wxPanel
*) ptr
;
5164 dest
= (wxWindow
*) src
;
5165 return (void *) dest
;
5168 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
5171 src
= (wxPanel
*) ptr
;
5172 dest
= (wxEvtHandler
*) src
;
5173 return (void *) dest
;
5176 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5177 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5178 PyObject
* _resultobj
;
5182 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5183 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5184 long _arg4
= (long ) wxTAB_TRAVERSAL
;
5185 char * _arg5
= (char *) "panel";
5186 PyObject
* _argo0
= 0;
5188 PyObject
* _obj2
= 0;
5190 PyObject
* _obj3
= 0;
5191 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
5195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxPanel",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
5198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
5207 if (! wxPoint_helper(_obj2
, &_arg2
))
5213 if (! wxSize_helper(_obj3
, &_arg3
))
5217 wxPy_BEGIN_ALLOW_THREADS
;
5218 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
5220 wxPy_END_ALLOW_THREADS
;
5222 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
5223 _resultobj
= Py_BuildValue("s",_ptemp
);
5226 _resultobj
= Py_None
;
5231 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
5232 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5233 PyObject
* _resultobj
;
5235 PyObject
* _argo0
= 0;
5236 char *_kwnames
[] = { "self", NULL
};
5239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_InitDialog",_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_InitDialog. Expected _wxPanel_p.");
5249 wxPy_BEGIN_ALLOW_THREADS
;
5250 wxPanel_InitDialog(_arg0
);
5252 wxPy_END_ALLOW_THREADS
;
5253 } Py_INCREF(Py_None
);
5254 _resultobj
= Py_None
;
5258 #define wxPanel_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
5259 static PyObject
*_wrap_wxPanel_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5260 PyObject
* _resultobj
;
5263 PyObject
* _argo0
= 0;
5264 char *_kwnames
[] = { "self", NULL
};
5268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_GetDefaultItem",_kwnames
,&_argo0
))
5271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
5273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_GetDefaultItem. Expected _wxPanel_p.");
5278 wxPy_BEGIN_ALLOW_THREADS
;
5279 _result
= (wxButton
*)wxPanel_GetDefaultItem(_arg0
);
5281 wxPy_END_ALLOW_THREADS
;
5283 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
5284 _resultobj
= Py_BuildValue("s",_ptemp
);
5287 _resultobj
= Py_None
;
5292 #define wxPanel_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
5293 static PyObject
*_wrap_wxPanel_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5294 PyObject
* _resultobj
;
5297 PyObject
* _argo0
= 0;
5298 PyObject
* _argo1
= 0;
5299 char *_kwnames
[] = { "self","btn", NULL
};
5302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPanel_SetDefaultItem",_kwnames
,&_argo0
,&_argo1
))
5305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
5307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_SetDefaultItem. Expected _wxPanel_p.");
5312 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5313 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxButton_p")) {
5314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPanel_SetDefaultItem. Expected _wxButton_p.");
5319 wxPy_BEGIN_ALLOW_THREADS
;
5320 wxPanel_SetDefaultItem(_arg0
,_arg1
);
5322 wxPy_END_ALLOW_THREADS
;
5323 } Py_INCREF(Py_None
);
5324 _resultobj
= Py_None
;
5328 static void *SwigwxDialogTowxPanel(void *ptr
) {
5331 src
= (wxDialog
*) ptr
;
5332 dest
= (wxPanel
*) src
;
5333 return (void *) dest
;
5336 static void *SwigwxDialogTowxWindow(void *ptr
) {
5339 src
= (wxDialog
*) ptr
;
5340 dest
= (wxWindow
*) src
;
5341 return (void *) dest
;
5344 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
5347 src
= (wxDialog
*) ptr
;
5348 dest
= (wxEvtHandler
*) src
;
5349 return (void *) dest
;
5352 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5353 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5354 PyObject
* _resultobj
;
5359 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5360 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5361 long _arg5
= (long ) wxDEFAULT_DIALOG_STYLE
;
5362 char * _arg6
= (char *) "dialogBox";
5363 PyObject
* _argo0
= 0;
5364 PyObject
* _obj2
= 0;
5366 PyObject
* _obj3
= 0;
5368 PyObject
* _obj4
= 0;
5369 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
5373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxDialog",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
5376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
5383 #if PYTHON_API_VERSION >= 1009
5384 char* tmpPtr
; int tmpSize
;
5385 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5386 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5389 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5391 _arg2
= new wxString(tmpPtr
, tmpSize
);
5393 if (!PyString_Check(_obj2
)) {
5394 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5397 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5403 if (! wxPoint_helper(_obj3
, &_arg3
))
5409 if (! wxSize_helper(_obj4
, &_arg4
))
5413 wxPy_BEGIN_ALLOW_THREADS
;
5414 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
5416 wxPy_END_ALLOW_THREADS
;
5418 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
5419 _resultobj
= Py_BuildValue("s",_ptemp
);
5422 _resultobj
= Py_None
;
5431 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
5432 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5433 PyObject
* _resultobj
;
5435 int _arg1
= (int ) wxBOTH
;
5436 PyObject
* _argo0
= 0;
5437 char *_kwnames
[] = { "self","direction", NULL
};
5440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDialog_Centre",_kwnames
,&_argo0
,&_arg1
))
5443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
5450 wxPy_BEGIN_ALLOW_THREADS
;
5451 wxDialog_Centre(_arg0
,_arg1
);
5453 wxPy_END_ALLOW_THREADS
;
5454 } Py_INCREF(Py_None
);
5455 _resultobj
= Py_None
;
5459 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
5460 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5461 PyObject
* _resultobj
;
5464 PyObject
* _argo0
= 0;
5465 char *_kwnames
[] = { "self","retCode", NULL
};
5468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_EndModal",_kwnames
,&_argo0
,&_arg1
))
5471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
5478 wxPy_BEGIN_ALLOW_THREADS
;
5479 wxDialog_EndModal(_arg0
,_arg1
);
5481 wxPy_END_ALLOW_THREADS
;
5482 } Py_INCREF(Py_None
);
5483 _resultobj
= Py_None
;
5487 #define wxDialog_GetTitle(_swigobj) (_swigobj->GetTitle())
5488 static PyObject
*_wrap_wxDialog_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5489 PyObject
* _resultobj
;
5492 PyObject
* _argo0
= 0;
5493 char *_kwnames
[] = { "self", NULL
};
5496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetTitle",_kwnames
,&_argo0
))
5499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetTitle. Expected _wxDialog_p.");
5506 wxPy_BEGIN_ALLOW_THREADS
;
5507 _result
= new wxString (wxDialog_GetTitle(_arg0
));
5509 wxPy_END_ALLOW_THREADS
;
5511 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5519 #define wxDialog_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
5520 static PyObject
*_wrap_wxDialog_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5521 PyObject
* _resultobj
;
5524 PyObject
* _argo0
= 0;
5526 char *_kwnames
[] = { "self","iconize", NULL
};
5529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Iconize",_kwnames
,&_argo0
,&tempbool1
))
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_Iconize. Expected _wxDialog_p.");
5538 _arg1
= (bool ) tempbool1
;
5540 wxPy_BEGIN_ALLOW_THREADS
;
5541 wxDialog_Iconize(_arg0
,_arg1
);
5543 wxPy_END_ALLOW_THREADS
;
5544 } Py_INCREF(Py_None
);
5545 _resultobj
= Py_None
;
5549 #define wxDialog_IsIconized(_swigobj) (_swigobj->IsIconized())
5550 static PyObject
*_wrap_wxDialog_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5551 PyObject
* _resultobj
;
5554 PyObject
* _argo0
= 0;
5555 char *_kwnames
[] = { "self", NULL
};
5558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsIconized",_kwnames
,&_argo0
))
5561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsIconized. Expected _wxDialog_p.");
5568 wxPy_BEGIN_ALLOW_THREADS
;
5569 _result
= (bool )wxDialog_IsIconized(_arg0
);
5571 wxPy_END_ALLOW_THREADS
;
5572 } _resultobj
= Py_BuildValue("i",_result
);
5576 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
5577 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5578 PyObject
* _resultobj
;
5581 PyObject
* _argo0
= 0;
5583 char *_kwnames
[] = { "self","flag", NULL
};
5586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetModal",_kwnames
,&_argo0
,&tempbool1
))
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_SetModal. Expected _wxDialog_p.");
5595 _arg1
= (bool ) tempbool1
;
5597 wxPy_BEGIN_ALLOW_THREADS
;
5598 wxDialog_SetModal(_arg0
,_arg1
);
5600 wxPy_END_ALLOW_THREADS
;
5601 } Py_INCREF(Py_None
);
5602 _resultobj
= Py_None
;
5606 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
5607 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5608 PyObject
* _resultobj
;
5611 PyObject
* _argo0
= 0;
5612 char *_kwnames
[] = { "self", NULL
};
5615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsModal",_kwnames
,&_argo0
))
5618 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5619 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
5625 wxPy_BEGIN_ALLOW_THREADS
;
5626 _result
= (bool )wxDialog_IsModal(_arg0
);
5628 wxPy_END_ALLOW_THREADS
;
5629 } _resultobj
= Py_BuildValue("i",_result
);
5633 #define wxDialog_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
5634 static PyObject
*_wrap_wxDialog_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5635 PyObject
* _resultobj
;
5638 PyObject
* _argo0
= 0;
5639 PyObject
* _obj1
= 0;
5640 char *_kwnames
[] = { "self","title", NULL
};
5643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDialog_SetTitle",_kwnames
,&_argo0
,&_obj1
))
5646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetTitle. Expected _wxDialog_p.");
5653 #if PYTHON_API_VERSION >= 1009
5654 char* tmpPtr
; int tmpSize
;
5655 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5656 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5659 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5661 _arg1
= new wxString(tmpPtr
, tmpSize
);
5663 if (!PyString_Check(_obj1
)) {
5664 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5667 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5671 wxPy_BEGIN_ALLOW_THREADS
;
5672 wxDialog_SetTitle(_arg0
,*_arg1
);
5674 wxPy_END_ALLOW_THREADS
;
5675 } Py_INCREF(Py_None
);
5676 _resultobj
= Py_None
;
5684 #define wxDialog_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5685 static PyObject
*_wrap_wxDialog_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5686 PyObject
* _resultobj
;
5690 PyObject
* _argo0
= 0;
5692 char *_kwnames
[] = { "self","show", NULL
};
5695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Show",_kwnames
,&_argo0
,&tempbool1
))
5698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Show. Expected _wxDialog_p.");
5704 _arg1
= (bool ) tempbool1
;
5706 wxPy_BEGIN_ALLOW_THREADS
;
5707 _result
= (bool )wxDialog_Show(_arg0
,_arg1
);
5709 wxPy_END_ALLOW_THREADS
;
5710 } _resultobj
= Py_BuildValue("i",_result
);
5714 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
5715 static PyObject
*_wrap_wxDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5716 PyObject
* _resultobj
;
5719 PyObject
* _argo0
= 0;
5720 char *_kwnames
[] = { "self", NULL
};
5723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_ShowModal",_kwnames
,&_argo0
))
5726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
5733 wxPy_BEGIN_ALLOW_THREADS
;
5734 _result
= (int )wxDialog_ShowModal(_arg0
);
5736 wxPy_END_ALLOW_THREADS
;
5737 } _resultobj
= Py_BuildValue("i",_result
);
5741 #define wxDialog_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
5742 static PyObject
*_wrap_wxDialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5743 PyObject
* _resultobj
;
5746 PyObject
* _argo0
= 0;
5747 char *_kwnames
[] = { "self", NULL
};
5750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetReturnCode",_kwnames
,&_argo0
))
5753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetReturnCode. Expected _wxDialog_p.");
5760 wxPy_BEGIN_ALLOW_THREADS
;
5761 _result
= (int )wxDialog_GetReturnCode(_arg0
);
5763 wxPy_END_ALLOW_THREADS
;
5764 } _resultobj
= Py_BuildValue("i",_result
);
5768 #define wxDialog_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
5769 static PyObject
*_wrap_wxDialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5770 PyObject
* _resultobj
;
5773 PyObject
* _argo0
= 0;
5774 char *_kwnames
[] = { "self","retCode", NULL
};
5777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetReturnCode",_kwnames
,&_argo0
,&_arg1
))
5780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetReturnCode. Expected _wxDialog_p.");
5787 wxPy_BEGIN_ALLOW_THREADS
;
5788 wxDialog_SetReturnCode(_arg0
,_arg1
);
5790 wxPy_END_ALLOW_THREADS
;
5791 } Py_INCREF(Py_None
);
5792 _resultobj
= Py_None
;
5796 #define wxDialog_CreateTextSizer(_swigobj,_swigarg0) (_swigobj->CreateTextSizer(_swigarg0))
5797 static PyObject
*_wrap_wxDialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5798 PyObject
* _resultobj
;
5802 PyObject
* _argo0
= 0;
5803 PyObject
* _obj1
= 0;
5804 char *_kwnames
[] = { "self","message", NULL
};
5808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDialog_CreateTextSizer",_kwnames
,&_argo0
,&_obj1
))
5811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_CreateTextSizer. Expected _wxDialog_p.");
5818 #if PYTHON_API_VERSION >= 1009
5819 char* tmpPtr
; int tmpSize
;
5820 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5821 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5824 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5826 _arg1
= new wxString(tmpPtr
, tmpSize
);
5828 if (!PyString_Check(_obj1
)) {
5829 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5832 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5836 wxPy_BEGIN_ALLOW_THREADS
;
5837 _result
= (wxSizer
*)wxDialog_CreateTextSizer(_arg0
,*_arg1
);
5839 wxPy_END_ALLOW_THREADS
;
5841 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSizer_p");
5842 _resultobj
= Py_BuildValue("s",_ptemp
);
5845 _resultobj
= Py_None
;
5854 #define wxDialog_CreateButtonSizer(_swigobj,_swigarg0) (_swigobj->CreateButtonSizer(_swigarg0))
5855 static PyObject
*_wrap_wxDialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5856 PyObject
* _resultobj
;
5860 PyObject
* _argo0
= 0;
5861 char *_kwnames
[] = { "self","flags", NULL
};
5865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDialog_CreateButtonSizer",_kwnames
,&_argo0
,&_arg1
))
5868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_CreateButtonSizer. Expected _wxDialog_p.");
5875 wxPy_BEGIN_ALLOW_THREADS
;
5876 _result
= (wxSizer
*)wxDialog_CreateButtonSizer(_arg0
,_arg1
);
5878 wxPy_END_ALLOW_THREADS
;
5880 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSizer_p");
5881 _resultobj
= Py_BuildValue("s",_ptemp
);
5884 _resultobj
= Py_None
;
5889 static void *SwigwxScrolledWindowTowxPanel(void *ptr
) {
5890 wxScrolledWindow
*src
;
5892 src
= (wxScrolledWindow
*) ptr
;
5893 dest
= (wxPanel
*) src
;
5894 return (void *) dest
;
5897 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
5898 wxScrolledWindow
*src
;
5900 src
= (wxScrolledWindow
*) ptr
;
5901 dest
= (wxWindow
*) src
;
5902 return (void *) dest
;
5905 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
5906 wxScrolledWindow
*src
;
5908 src
= (wxScrolledWindow
*) ptr
;
5909 dest
= (wxEvtHandler
*) src
;
5910 return (void *) dest
;
5913 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5914 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5915 PyObject
* _resultobj
;
5916 wxScrolledWindow
* _result
;
5918 wxWindowID _arg1
= (wxWindowID
) -1;
5919 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5920 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5921 long _arg4
= (long ) wxHSCROLL
|wxVSCROLL
;
5922 char * _arg5
= (char *) "scrolledWindow";
5923 PyObject
* _argo0
= 0;
5925 PyObject
* _obj2
= 0;
5927 PyObject
* _obj3
= 0;
5928 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
5932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxScrolledWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
5935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
5944 if (! wxPoint_helper(_obj2
, &_arg2
))
5950 if (! wxSize_helper(_obj3
, &_arg3
))
5954 wxPy_BEGIN_ALLOW_THREADS
;
5955 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
5957 wxPy_END_ALLOW_THREADS
;
5959 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
5960 _resultobj
= Py_BuildValue("s",_ptemp
);
5963 _resultobj
= Py_None
;
5968 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
5969 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5970 PyObject
* _resultobj
;
5971 wxScrolledWindow
* _arg0
;
5974 PyObject
* _argo0
= 0;
5977 char *_kwnames
[] = { "self","xScrolling","yScrolling", NULL
};
5980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_EnableScrolling",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
5983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
5989 _arg1
= (bool ) tempbool1
;
5990 _arg2
= (bool ) tempbool2
;
5992 wxPy_BEGIN_ALLOW_THREADS
;
5993 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
5995 wxPy_END_ALLOW_THREADS
;
5996 } Py_INCREF(Py_None
);
5997 _resultobj
= Py_None
;
6001 #define wxScrolledWindow_GetScrollPageSize(_swigobj,_swigarg0) (_swigobj->GetScrollPageSize(_swigarg0))
6002 static PyObject
*_wrap_wxScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6003 PyObject
* _resultobj
;
6005 wxScrolledWindow
* _arg0
;
6007 PyObject
* _argo0
= 0;
6008 char *_kwnames
[] = { "self","orient", NULL
};
6011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrolledWindow_GetScrollPageSize",_kwnames
,&_argo0
,&_arg1
))
6014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPageSize. Expected _wxScrolledWindow_p.");
6021 wxPy_BEGIN_ALLOW_THREADS
;
6022 _result
= (int )wxScrolledWindow_GetScrollPageSize(_arg0
,_arg1
);
6024 wxPy_END_ALLOW_THREADS
;
6025 } _resultobj
= Py_BuildValue("i",_result
);
6029 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
6030 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6031 PyObject
* _resultobj
;
6032 wxScrolledWindow
* _arg0
;
6037 PyObject
* _argo0
= 0;
6038 char *_kwnames
[] = { "self", NULL
};
6047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames
,&_argo0
))
6050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
6057 wxPy_BEGIN_ALLOW_THREADS
;
6058 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
6060 wxPy_END_ALLOW_THREADS
;
6061 } Py_INCREF(Py_None
);
6062 _resultobj
= Py_None
;
6065 o
= PyInt_FromLong((long) (*_arg1
));
6066 _resultobj
= t_output_helper(_resultobj
, o
);
6070 o
= PyInt_FromLong((long) (*_arg2
));
6071 _resultobj
= t_output_helper(_resultobj
, o
);
6076 #define wxScrolledWindow_GetTargetWindow(_swigobj) (_swigobj->GetTargetWindow())
6077 static PyObject
*_wrap_wxScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6078 PyObject
* _resultobj
;
6080 wxScrolledWindow
* _arg0
;
6081 PyObject
* _argo0
= 0;
6082 char *_kwnames
[] = { "self", NULL
};
6086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetTargetWindow",_kwnames
,&_argo0
))
6089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetTargetWindow. Expected _wxScrolledWindow_p.");
6096 wxPy_BEGIN_ALLOW_THREADS
;
6097 _result
= (wxWindow
*)wxScrolledWindow_GetTargetWindow(_arg0
);
6099 wxPy_END_ALLOW_THREADS
;
6101 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
6102 _resultobj
= Py_BuildValue("s",_ptemp
);
6105 _resultobj
= Py_None
;
6110 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
6111 static PyObject
*_wrap_wxScrolledWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6112 PyObject
* _resultobj
;
6113 wxScrolledWindow
* _arg0
;
6118 PyObject
* _argo0
= 0;
6119 char *_kwnames
[] = { "self", NULL
};
6128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetVirtualSize",_kwnames
,&_argo0
))
6131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
6138 wxPy_BEGIN_ALLOW_THREADS
;
6139 wxScrolledWindow_GetVirtualSize(_arg0
,_arg1
,_arg2
);
6141 wxPy_END_ALLOW_THREADS
;
6142 } Py_INCREF(Py_None
);
6143 _resultobj
= Py_None
;
6146 o
= PyInt_FromLong((long) (*_arg1
));
6147 _resultobj
= t_output_helper(_resultobj
, o
);
6151 o
= PyInt_FromLong((long) (*_arg2
));
6152 _resultobj
= t_output_helper(_resultobj
, o
);
6157 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
6158 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6159 PyObject
* _resultobj
;
6161 wxScrolledWindow
* _arg0
;
6162 PyObject
* _argo0
= 0;
6163 char *_kwnames
[] = { "self", NULL
};
6166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_IsRetained",_kwnames
,&_argo0
))
6169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
6176 wxPy_BEGIN_ALLOW_THREADS
;
6177 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
6179 wxPy_END_ALLOW_THREADS
;
6180 } _resultobj
= Py_BuildValue("i",_result
);
6184 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
6185 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6186 PyObject
* _resultobj
;
6187 wxScrolledWindow
* _arg0
;
6189 PyObject
* _argo0
= 0;
6190 PyObject
* _argo1
= 0;
6191 char *_kwnames
[] = { "self","dc", NULL
};
6194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_PrepareDC",_kwnames
,&_argo0
,&_argo1
))
6197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
6204 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6205 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
6211 wxPy_BEGIN_ALLOW_THREADS
;
6212 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
6214 wxPy_END_ALLOW_THREADS
;
6215 } Py_INCREF(Py_None
);
6216 _resultobj
= Py_None
;
6220 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
6221 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6222 PyObject
* _resultobj
;
6223 wxScrolledWindow
* _arg0
;
6226 PyObject
* _argo0
= 0;
6227 char *_kwnames
[] = { "self","x","y", NULL
};
6230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_Scroll",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
6240 wxPy_BEGIN_ALLOW_THREADS
;
6241 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
6243 wxPy_END_ALLOW_THREADS
;
6244 } Py_INCREF(Py_None
);
6245 _resultobj
= Py_None
;
6249 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6250 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6251 PyObject
* _resultobj
;
6252 wxScrolledWindow
* _arg0
;
6257 int _arg5
= (int ) 0;
6258 int _arg6
= (int ) 0;
6259 int _arg7
= (int ) FALSE
;
6260 PyObject
* _argo0
= 0;
6261 char *_kwnames
[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos","noRefresh", NULL
};
6264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|iii:wxScrolledWindow_SetScrollbars",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&_arg7
))
6267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
6274 wxPy_BEGIN_ALLOW_THREADS
;
6275 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
6277 wxPy_END_ALLOW_THREADS
;
6278 } Py_INCREF(Py_None
);
6279 _resultobj
= Py_None
;
6283 #define wxScrolledWindow_SetScrollPageSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScrollPageSize(_swigarg0,_swigarg1))
6284 static PyObject
*_wrap_wxScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6285 PyObject
* _resultobj
;
6286 wxScrolledWindow
* _arg0
;
6289 PyObject
* _argo0
= 0;
6290 char *_kwnames
[] = { "self","orient","pageSize", NULL
};
6293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_SetScrollPageSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollPageSize. Expected _wxScrolledWindow_p.");
6303 wxPy_BEGIN_ALLOW_THREADS
;
6304 wxScrolledWindow_SetScrollPageSize(_arg0
,_arg1
,_arg2
);
6306 wxPy_END_ALLOW_THREADS
;
6307 } Py_INCREF(Py_None
);
6308 _resultobj
= Py_None
;
6312 #define wxScrolledWindow_SetTargetWindow(_swigobj,_swigarg0) (_swigobj->SetTargetWindow(_swigarg0))
6313 static PyObject
*_wrap_wxScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6314 PyObject
* _resultobj
;
6315 wxScrolledWindow
* _arg0
;
6317 PyObject
* _argo0
= 0;
6318 PyObject
* _argo1
= 0;
6319 char *_kwnames
[] = { "self","window", NULL
};
6322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_SetTargetWindow",_kwnames
,&_argo0
,&_argo1
))
6325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetTargetWindow. Expected _wxScrolledWindow_p.");
6332 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6333 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_SetTargetWindow. Expected _wxWindow_p.");
6339 wxPy_BEGIN_ALLOW_THREADS
;
6340 wxScrolledWindow_SetTargetWindow(_arg0
,_arg1
);
6342 wxPy_END_ALLOW_THREADS
;
6343 } Py_INCREF(Py_None
);
6344 _resultobj
= Py_None
;
6348 #define wxScrolledWindow_GetViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetViewStart(_swigarg0,_swigarg1))
6349 static PyObject
*_wrap_wxScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6350 PyObject
* _resultobj
;
6351 wxScrolledWindow
* _arg0
;
6356 PyObject
* _argo0
= 0;
6357 char *_kwnames
[] = { "self", NULL
};
6366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetViewStart",_kwnames
,&_argo0
))
6369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetViewStart. Expected _wxScrolledWindow_p.");
6376 wxPy_BEGIN_ALLOW_THREADS
;
6377 wxScrolledWindow_GetViewStart(_arg0
,_arg1
,_arg2
);
6379 wxPy_END_ALLOW_THREADS
;
6380 } Py_INCREF(Py_None
);
6381 _resultobj
= Py_None
;
6384 o
= PyInt_FromLong((long) (*_arg1
));
6385 _resultobj
= t_output_helper(_resultobj
, o
);
6389 o
= PyInt_FromLong((long) (*_arg2
));
6390 _resultobj
= t_output_helper(_resultobj
, o
);
6395 #define wxScrolledWindow_ViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->ViewStart(_swigarg0,_swigarg1))
6396 static PyObject
*_wrap_wxScrolledWindow_ViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6397 PyObject
* _resultobj
;
6398 wxScrolledWindow
* _arg0
;
6403 PyObject
* _argo0
= 0;
6404 char *_kwnames
[] = { "self", NULL
};
6413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_ViewStart",_kwnames
,&_argo0
))
6416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_ViewStart. Expected _wxScrolledWindow_p.");
6423 wxPy_BEGIN_ALLOW_THREADS
;
6424 wxScrolledWindow_ViewStart(_arg0
,_arg1
,_arg2
);
6426 wxPy_END_ALLOW_THREADS
;
6427 } Py_INCREF(Py_None
);
6428 _resultobj
= Py_None
;
6431 o
= PyInt_FromLong((long) (*_arg1
));
6432 _resultobj
= t_output_helper(_resultobj
, o
);
6436 o
= PyInt_FromLong((long) (*_arg2
));
6437 _resultobj
= t_output_helper(_resultobj
, o
);
6442 #define wxScrolledWindow_CalcScrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcScrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6443 static PyObject
*_wrap_wxScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6444 PyObject
* _resultobj
;
6445 wxScrolledWindow
* _arg0
;
6452 PyObject
* _argo0
= 0;
6453 char *_kwnames
[] = { "self","x","y", NULL
};
6462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcScrolledPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition. Expected _wxScrolledWindow_p.");
6472 wxPy_BEGIN_ALLOW_THREADS
;
6473 wxScrolledWindow_CalcScrolledPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6475 wxPy_END_ALLOW_THREADS
;
6476 } Py_INCREF(Py_None
);
6477 _resultobj
= Py_None
;
6480 o
= PyInt_FromLong((long) (*_arg3
));
6481 _resultobj
= t_output_helper(_resultobj
, o
);
6485 o
= PyInt_FromLong((long) (*_arg4
));
6486 _resultobj
= t_output_helper(_resultobj
, o
);
6491 #define wxScrolledWindow_CalcUnscrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcUnscrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6492 static PyObject
*_wrap_wxScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6493 PyObject
* _resultobj
;
6494 wxScrolledWindow
* _arg0
;
6501 PyObject
* _argo0
= 0;
6502 char *_kwnames
[] = { "self","x","y", NULL
};
6511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcUnscrolledPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition. Expected _wxScrolledWindow_p.");
6521 wxPy_BEGIN_ALLOW_THREADS
;
6522 wxScrolledWindow_CalcUnscrolledPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6524 wxPy_END_ALLOW_THREADS
;
6525 } Py_INCREF(Py_None
);
6526 _resultobj
= Py_None
;
6529 o
= PyInt_FromLong((long) (*_arg3
));
6530 _resultobj
= t_output_helper(_resultobj
, o
);
6534 o
= PyInt_FromLong((long) (*_arg4
));
6535 _resultobj
= t_output_helper(_resultobj
, o
);
6540 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
6543 src
= (wxMenu
*) ptr
;
6544 dest
= (wxEvtHandler
*) src
;
6545 return (void *) dest
;
6548 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
6549 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6550 PyObject
* _resultobj
;
6552 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
6553 long _arg1
= (long ) 0;
6554 PyObject
* _obj0
= 0;
6555 char *_kwnames
[] = { "title","style", NULL
};
6559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Ol:new_wxMenu",_kwnames
,&_obj0
,&_arg1
))
6563 #if PYTHON_API_VERSION >= 1009
6564 char* tmpPtr
; int tmpSize
;
6565 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
6566 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
6569 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
6571 _arg0
= new wxString(tmpPtr
, tmpSize
);
6573 if (!PyString_Check(_obj0
)) {
6574 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6577 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
6581 wxPy_BEGIN_ALLOW_THREADS
;
6582 _result
= (wxMenu
*)new_wxMenu(*_arg0
,_arg1
);
6584 wxPy_END_ALLOW_THREADS
;
6586 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
6587 _resultobj
= Py_BuildValue("s",_ptemp
);
6590 _resultobj
= Py_None
;
6599 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6600 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6601 PyObject
* _resultobj
;
6605 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
6606 int _arg4
= (int ) FALSE
;
6607 PyObject
* _argo0
= 0;
6608 PyObject
* _obj2
= 0;
6609 PyObject
* _obj3
= 0;
6610 char *_kwnames
[] = { "self","id","item","helpString","checkable", NULL
};
6613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Append",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
6616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
6623 #if PYTHON_API_VERSION >= 1009
6624 char* tmpPtr
; int tmpSize
;
6625 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6626 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
6629 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6631 _arg2
= new wxString(tmpPtr
, tmpSize
);
6633 if (!PyString_Check(_obj2
)) {
6634 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6637 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6642 #if PYTHON_API_VERSION >= 1009
6643 char* tmpPtr
; int tmpSize
;
6644 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
6645 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
6648 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
6650 _arg3
= new wxString(tmpPtr
, tmpSize
);
6652 if (!PyString_Check(_obj3
)) {
6653 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6656 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
6660 wxPy_BEGIN_ALLOW_THREADS
;
6661 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
6663 wxPy_END_ALLOW_THREADS
;
6664 } Py_INCREF(Py_None
);
6665 _resultobj
= Py_None
;
6677 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6678 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6679 PyObject
* _resultobj
;
6684 wxString
* _arg4
= (wxString
*) &wxPyEmptyStr
;
6685 PyObject
* _argo0
= 0;
6686 PyObject
* _obj2
= 0;
6687 PyObject
* _argo3
= 0;
6688 PyObject
* _obj4
= 0;
6689 char *_kwnames
[] = { "self","id","item","subMenu","helpString", NULL
};
6692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_AppendMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
6695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
6702 #if PYTHON_API_VERSION >= 1009
6703 char* tmpPtr
; int tmpSize
;
6704 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6705 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
6708 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6710 _arg2
= new wxString(tmpPtr
, tmpSize
);
6712 if (!PyString_Check(_obj2
)) {
6713 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6716 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6720 if (_argo3
== Py_None
) { _arg3
= NULL
; }
6721 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
6722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
6728 #if PYTHON_API_VERSION >= 1009
6729 char* tmpPtr
; int tmpSize
;
6730 if (!PyString_Check(_obj4
) && !PyUnicode_Check(_obj4
)) {
6731 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
6734 if (PyString_AsStringAndSize(_obj4
, &tmpPtr
, &tmpSize
) == -1)
6736 _arg4
= new wxString(tmpPtr
, tmpSize
);
6738 if (!PyString_Check(_obj4
)) {
6739 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6742 _arg4
= new wxString(PyString_AS_STRING(_obj4
), PyString_GET_SIZE(_obj4
));
6746 wxPy_BEGIN_ALLOW_THREADS
;
6747 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
6749 wxPy_END_ALLOW_THREADS
;
6750 } Py_INCREF(Py_None
);
6751 _resultobj
= Py_None
;
6763 #define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
6764 static PyObject
*_wrap_wxMenu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6765 PyObject
* _resultobj
;
6768 PyObject
* _argo0
= 0;
6769 PyObject
* _argo1
= 0;
6770 char *_kwnames
[] = { "self","item", NULL
};
6773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_AppendItem",_kwnames
,&_argo0
,&_argo1
))
6776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
6783 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6784 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
6785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
6790 wxPy_BEGIN_ALLOW_THREADS
;
6791 wxMenu_AppendItem(_arg0
,_arg1
);
6793 wxPy_END_ALLOW_THREADS
;
6794 } Py_INCREF(Py_None
);
6795 _resultobj
= Py_None
;
6799 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
6800 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6801 PyObject
* _resultobj
;
6803 PyObject
* _argo0
= 0;
6804 char *_kwnames
[] = { "self", NULL
};
6807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_AppendSeparator",_kwnames
,&_argo0
))
6810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
6817 wxPy_BEGIN_ALLOW_THREADS
;
6818 wxMenu_AppendSeparator(_arg0
);
6820 wxPy_END_ALLOW_THREADS
;
6821 } Py_INCREF(Py_None
);
6822 _resultobj
= Py_None
;
6826 #define wxMenu_Break(_swigobj) (_swigobj->Break())
6827 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6828 PyObject
* _resultobj
;
6830 PyObject
* _argo0
= 0;
6831 char *_kwnames
[] = { "self", NULL
};
6834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Break",_kwnames
,&_argo0
))
6837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
6844 wxPy_BEGIN_ALLOW_THREADS
;
6845 wxMenu_Break(_arg0
);
6847 wxPy_END_ALLOW_THREADS
;
6848 } Py_INCREF(Py_None
);
6849 _resultobj
= Py_None
;
6853 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
6854 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6855 PyObject
* _resultobj
;
6859 PyObject
* _argo0
= 0;
6861 char *_kwnames
[] = { "self","id","flag", NULL
};
6864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6867 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6868 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
6873 _arg2
= (bool ) tempbool2
;
6875 wxPy_BEGIN_ALLOW_THREADS
;
6876 wxMenu_Check(_arg0
,_arg1
,_arg2
);
6878 wxPy_END_ALLOW_THREADS
;
6879 } Py_INCREF(Py_None
);
6880 _resultobj
= Py_None
;
6884 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
6885 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6886 PyObject
* _resultobj
;
6890 PyObject
* _argo0
= 0;
6891 char *_kwnames
[] = { "self","id", NULL
};
6894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsChecked",_kwnames
,&_argo0
,&_arg1
))
6897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
6904 wxPy_BEGIN_ALLOW_THREADS
;
6905 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
6907 wxPy_END_ALLOW_THREADS
;
6908 } _resultobj
= Py_BuildValue("i",_result
);
6912 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
6913 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6914 PyObject
* _resultobj
;
6918 PyObject
* _argo0
= 0;
6920 char *_kwnames
[] = { "self","id","enable", NULL
};
6923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
6932 _arg2
= (bool ) tempbool2
;
6934 wxPy_BEGIN_ALLOW_THREADS
;
6935 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
6937 wxPy_END_ALLOW_THREADS
;
6938 } Py_INCREF(Py_None
);
6939 _resultobj
= Py_None
;
6943 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
6944 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6945 PyObject
* _resultobj
;
6949 PyObject
* _argo0
= 0;
6950 char *_kwnames
[] = { "self","id", NULL
};
6953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
6956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
6963 wxPy_BEGIN_ALLOW_THREADS
;
6964 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
6966 wxPy_END_ALLOW_THREADS
;
6967 } _resultobj
= Py_BuildValue("i",_result
);
6971 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
6972 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6973 PyObject
* _resultobj
;
6977 PyObject
* _argo0
= 0;
6978 PyObject
* _obj1
= 0;
6979 char *_kwnames
[] = { "self","itemString", NULL
};
6982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_FindItem",_kwnames
,&_argo0
,&_obj1
))
6985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
6992 #if PYTHON_API_VERSION >= 1009
6993 char* tmpPtr
; int tmpSize
;
6994 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6995 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
6998 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7000 _arg1
= new wxString(tmpPtr
, tmpSize
);
7002 if (!PyString_Check(_obj1
)) {
7003 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7006 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7010 wxPy_BEGIN_ALLOW_THREADS
;
7011 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
7013 wxPy_END_ALLOW_THREADS
;
7014 } _resultobj
= Py_BuildValue("i",_result
);
7022 #define wxMenu_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
7023 static PyObject
*_wrap_wxMenu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7024 PyObject
* _resultobj
;
7025 wxMenuItem
* _result
;
7028 PyObject
* _argo0
= 0;
7029 char *_kwnames
[] = { "self","id", NULL
};
7033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_FindItemById",_kwnames
,&_argo0
,&_arg1
))
7036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemById. Expected _wxMenu_p.");
7043 wxPy_BEGIN_ALLOW_THREADS
;
7044 _result
= (wxMenuItem
*)wxMenu_FindItemById(_arg0
,_arg1
);
7046 wxPy_END_ALLOW_THREADS
;
7048 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
7049 _resultobj
= Py_BuildValue("s",_ptemp
);
7052 _resultobj
= Py_None
;
7057 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
7058 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7059 PyObject
* _resultobj
;
7062 PyObject
* _argo0
= 0;
7063 char *_kwnames
[] = { "self", NULL
};
7066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetTitle",_kwnames
,&_argo0
))
7069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
7076 wxPy_BEGIN_ALLOW_THREADS
;
7077 _result
= new wxString (wxMenu_GetTitle(_arg0
));
7079 wxPy_END_ALLOW_THREADS
;
7081 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7089 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
7090 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7091 PyObject
* _resultobj
;
7094 PyObject
* _argo0
= 0;
7095 PyObject
* _obj1
= 0;
7096 char *_kwnames
[] = { "self","title", NULL
};
7099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetTitle",_kwnames
,&_argo0
,&_obj1
))
7102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
7109 #if PYTHON_API_VERSION >= 1009
7110 char* tmpPtr
; int tmpSize
;
7111 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7112 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
7115 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7117 _arg1
= new wxString(tmpPtr
, tmpSize
);
7119 if (!PyString_Check(_obj1
)) {
7120 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7123 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7127 wxPy_BEGIN_ALLOW_THREADS
;
7128 wxMenu_SetTitle(_arg0
,*_arg1
);
7130 wxPy_END_ALLOW_THREADS
;
7131 } Py_INCREF(Py_None
);
7132 _resultobj
= Py_None
;
7140 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
7141 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7142 PyObject
* _resultobj
;
7146 PyObject
* _argo0
= 0;
7147 char *_kwnames
[] = { "self","id", NULL
};
7150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetLabel",_kwnames
,&_argo0
,&_arg1
))
7153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
7160 wxPy_BEGIN_ALLOW_THREADS
;
7161 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
7163 wxPy_END_ALLOW_THREADS
;
7165 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7173 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
7174 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7175 PyObject
* _resultobj
;
7179 PyObject
* _argo0
= 0;
7180 PyObject
* _obj2
= 0;
7181 char *_kwnames
[] = { "self","id","label", NULL
};
7184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
7187 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7188 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
7194 #if PYTHON_API_VERSION >= 1009
7195 char* tmpPtr
; int tmpSize
;
7196 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
7197 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
7200 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
7202 _arg2
= new wxString(tmpPtr
, tmpSize
);
7204 if (!PyString_Check(_obj2
)) {
7205 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7208 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
7212 wxPy_BEGIN_ALLOW_THREADS
;
7213 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
7215 wxPy_END_ALLOW_THREADS
;
7216 } Py_INCREF(Py_None
);
7217 _resultobj
= Py_None
;
7225 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
7226 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7227 PyObject
* _resultobj
;
7231 PyObject
* _argo0
= 0;
7232 char *_kwnames
[] = { "self","id", NULL
};
7235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
7238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
7245 wxPy_BEGIN_ALLOW_THREADS
;
7246 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
7248 wxPy_END_ALLOW_THREADS
;
7250 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7258 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
7259 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7260 PyObject
* _resultobj
;
7264 PyObject
* _argo0
= 0;
7265 PyObject
* _obj2
= 0;
7266 char *_kwnames
[] = { "self","id","helpString", NULL
};
7269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
7272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
7279 #if PYTHON_API_VERSION >= 1009
7280 char* tmpPtr
; int tmpSize
;
7281 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
7282 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
7285 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
7287 _arg2
= new wxString(tmpPtr
, tmpSize
);
7289 if (!PyString_Check(_obj2
)) {
7290 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7293 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
7297 wxPy_BEGIN_ALLOW_THREADS
;
7298 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
7300 wxPy_END_ALLOW_THREADS
;
7301 } Py_INCREF(Py_None
);
7302 _resultobj
= Py_None
;
7310 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
7311 static PyObject
*_wrap_wxMenu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7312 PyObject
* _resultobj
;
7314 wxEvtHandler
* _arg1
= (wxEvtHandler
*) NULL
;
7315 PyObject
* _argo0
= 0;
7316 PyObject
* _argo1
= 0;
7317 char *_kwnames
[] = { "self","source", NULL
};
7320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxMenu_UpdateUI",_kwnames
,&_argo0
,&_argo1
))
7323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
7330 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7331 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
7332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
7337 wxPy_BEGIN_ALLOW_THREADS
;
7338 wxMenu_UpdateUI(_arg0
,_arg1
);
7340 wxPy_END_ALLOW_THREADS
;
7341 } Py_INCREF(Py_None
);
7342 _resultobj
= Py_None
;
7346 #define wxMenu_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
7347 static PyObject
*_wrap_wxMenu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7348 PyObject
* _resultobj
;
7352 PyObject
* _argo0
= 0;
7353 char *_kwnames
[] = { "self","id", NULL
};
7356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Delete",_kwnames
,&_argo0
,&_arg1
))
7359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Delete. Expected _wxMenu_p.");
7366 wxPy_BEGIN_ALLOW_THREADS
;
7367 _result
= (bool )wxMenu_Delete(_arg0
,_arg1
);
7369 wxPy_END_ALLOW_THREADS
;
7370 } _resultobj
= Py_BuildValue("i",_result
);
7374 #define wxMenu_DeleteItem(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
7375 static PyObject
*_wrap_wxMenu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7376 PyObject
* _resultobj
;
7380 PyObject
* _argo0
= 0;
7381 PyObject
* _argo1
= 0;
7382 char *_kwnames
[] = { "self","item", NULL
};
7385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DeleteItem",_kwnames
,&_argo0
,&_argo1
))
7388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DeleteItem. Expected _wxMenu_p.");
7395 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7396 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
7397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DeleteItem. Expected _wxMenuItem_p.");
7402 wxPy_BEGIN_ALLOW_THREADS
;
7403 _result
= (bool )wxMenu_DeleteItem(_arg0
,_arg1
);
7405 wxPy_END_ALLOW_THREADS
;
7406 } _resultobj
= Py_BuildValue("i",_result
);
7410 #define wxMenu_Insert(_swigobj,_swigarg0,_swigarg1) (_swigobj->Insert(_swigarg0,_swigarg1))
7411 static PyObject
*_wrap_wxMenu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7412 PyObject
* _resultobj
;
7417 PyObject
* _argo0
= 0;
7418 PyObject
* _argo2
= 0;
7419 char *_kwnames
[] = { "self","pos","item", NULL
};
7422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
7425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Insert. Expected _wxMenu_p.");
7432 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7433 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenuItem_p")) {
7434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenu_Insert. Expected _wxMenuItem_p.");
7439 wxPy_BEGIN_ALLOW_THREADS
;
7440 _result
= (bool )wxMenu_Insert(_arg0
,_arg1
,_arg2
);
7442 wxPy_END_ALLOW_THREADS
;
7443 } _resultobj
= Py_BuildValue("i",_result
);
7447 #define wxMenu_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
7448 static PyObject
*_wrap_wxMenu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7449 PyObject
* _resultobj
;
7450 wxMenuItem
* _result
;
7453 PyObject
* _argo0
= 0;
7454 char *_kwnames
[] = { "self","id", NULL
};
7458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Remove",_kwnames
,&_argo0
,&_arg1
))
7461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Remove. Expected _wxMenu_p.");
7468 wxPy_BEGIN_ALLOW_THREADS
;
7469 _result
= (wxMenuItem
*)wxMenu_Remove(_arg0
,_arg1
);
7471 wxPy_END_ALLOW_THREADS
;
7473 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
7474 _resultobj
= Py_BuildValue("s",_ptemp
);
7477 _resultobj
= Py_None
;
7482 #define wxMenu_RemoveItem(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
7483 static PyObject
*_wrap_wxMenu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7484 PyObject
* _resultobj
;
7485 wxMenuItem
* _result
;
7488 PyObject
* _argo0
= 0;
7489 PyObject
* _argo1
= 0;
7490 char *_kwnames
[] = { "self","item", NULL
};
7494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_RemoveItem",_kwnames
,&_argo0
,&_argo1
))
7497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_RemoveItem. Expected _wxMenu_p.");
7504 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7505 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
7506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_RemoveItem. Expected _wxMenuItem_p.");
7511 wxPy_BEGIN_ALLOW_THREADS
;
7512 _result
= (wxMenuItem
*)wxMenu_RemoveItem(_arg0
,_arg1
);
7514 wxPy_END_ALLOW_THREADS
;
7516 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
7517 _resultobj
= Py_BuildValue("s",_ptemp
);
7520 _resultobj
= Py_None
;
7525 static void wxMenu_Destroy(wxMenu
*self
) { delete self
; }
7526 static PyObject
*_wrap_wxMenu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7527 PyObject
* _resultobj
;
7529 PyObject
* _argo0
= 0;
7530 char *_kwnames
[] = { "self", NULL
};
7533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Destroy",_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_Destroy. Expected _wxMenu_p.");
7543 wxPy_BEGIN_ALLOW_THREADS
;
7544 wxMenu_Destroy(_arg0
);
7546 wxPy_END_ALLOW_THREADS
;
7547 } Py_INCREF(Py_None
);
7548 _resultobj
= Py_None
;
7552 #define wxMenu_DestroyId(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
7553 static PyObject
*_wrap_wxMenu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7554 PyObject
* _resultobj
;
7558 PyObject
* _argo0
= 0;
7559 char *_kwnames
[] = { "self","id", NULL
};
7562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_DestroyId",_kwnames
,&_argo0
,&_arg1
))
7565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyId. Expected _wxMenu_p.");
7572 wxPy_BEGIN_ALLOW_THREADS
;
7573 _result
= (bool )wxMenu_DestroyId(_arg0
,_arg1
);
7575 wxPy_END_ALLOW_THREADS
;
7576 } _resultobj
= Py_BuildValue("i",_result
);
7580 #define wxMenu_DestroyItem(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
7581 static PyObject
*_wrap_wxMenu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7582 PyObject
* _resultobj
;
7586 PyObject
* _argo0
= 0;
7587 PyObject
* _argo1
= 0;
7588 char *_kwnames
[] = { "self","item", NULL
};
7591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DestroyItem",_kwnames
,&_argo0
,&_argo1
))
7594 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7595 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyItem. Expected _wxMenu_p.");
7601 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7602 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
7603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DestroyItem. Expected _wxMenuItem_p.");
7608 wxPy_BEGIN_ALLOW_THREADS
;
7609 _result
= (bool )wxMenu_DestroyItem(_arg0
,_arg1
);
7611 wxPy_END_ALLOW_THREADS
;
7612 } _resultobj
= Py_BuildValue("i",_result
);
7616 #define wxMenu_GetMenuItemCount(_swigobj) (_swigobj->GetMenuItemCount())
7617 static PyObject
*_wrap_wxMenu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7618 PyObject
* _resultobj
;
7621 PyObject
* _argo0
= 0;
7622 char *_kwnames
[] = { "self", NULL
};
7625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItemCount",_kwnames
,&_argo0
))
7628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItemCount. Expected _wxMenu_p.");
7635 wxPy_BEGIN_ALLOW_THREADS
;
7636 _result
= (size_t )wxMenu_GetMenuItemCount(_arg0
);
7638 wxPy_END_ALLOW_THREADS
;
7639 } _resultobj
= Py_BuildValue("i",_result
);
7643 static PyObject
* wxMenu_GetMenuItems(wxMenu
*self
) {
7644 wxMenuItemList
& list
= self
->GetMenuItems();
7645 return wxPy_ConvertList(&list
, "wxMenuItem");
7647 static PyObject
*_wrap_wxMenu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7648 PyObject
* _resultobj
;
7651 PyObject
* _argo0
= 0;
7652 char *_kwnames
[] = { "self", NULL
};
7655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItems",_kwnames
,&_argo0
))
7658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItems. Expected _wxMenu_p.");
7665 wxPy_BEGIN_ALLOW_THREADS
;
7666 _result
= (PyObject
*)wxMenu_GetMenuItems(_arg0
);
7668 wxPy_END_ALLOW_THREADS
;
7670 _resultobj
= _result
;
7675 #define wxMenu_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
7676 static PyObject
*_wrap_wxMenu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7677 PyObject
* _resultobj
;
7679 wxEvtHandler
* _arg1
;
7680 PyObject
* _argo0
= 0;
7681 PyObject
* _argo1
= 0;
7682 char *_kwnames
[] = { "self","handler", NULL
};
7685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
7688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetEventHandler. Expected _wxMenu_p.");
7695 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7696 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
7697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetEventHandler. Expected _wxEvtHandler_p.");
7702 wxPy_BEGIN_ALLOW_THREADS
;
7703 wxMenu_SetEventHandler(_arg0
,_arg1
);
7705 wxPy_END_ALLOW_THREADS
;
7706 } Py_INCREF(Py_None
);
7707 _resultobj
= Py_None
;
7711 #define wxMenu_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
7712 static PyObject
*_wrap_wxMenu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7713 PyObject
* _resultobj
;
7714 wxEvtHandler
* _result
;
7716 PyObject
* _argo0
= 0;
7717 char *_kwnames
[] = { "self", NULL
};
7721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetEventHandler",_kwnames
,&_argo0
))
7724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetEventHandler. Expected _wxMenu_p.");
7731 wxPy_BEGIN_ALLOW_THREADS
;
7732 _result
= (wxEvtHandler
*)wxMenu_GetEventHandler(_arg0
);
7734 wxPy_END_ALLOW_THREADS
;
7736 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
7737 _resultobj
= Py_BuildValue("s",_ptemp
);
7740 _resultobj
= Py_None
;
7745 #define wxMenu_SetInvokingWindow(_swigobj,_swigarg0) (_swigobj->SetInvokingWindow(_swigarg0))
7746 static PyObject
*_wrap_wxMenu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7747 PyObject
* _resultobj
;
7750 PyObject
* _argo0
= 0;
7751 PyObject
* _argo1
= 0;
7752 char *_kwnames
[] = { "self","win", NULL
};
7755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetInvokingWindow",_kwnames
,&_argo0
,&_argo1
))
7758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetInvokingWindow. Expected _wxMenu_p.");
7765 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7766 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetInvokingWindow. Expected _wxWindow_p.");
7772 wxPy_BEGIN_ALLOW_THREADS
;
7773 wxMenu_SetInvokingWindow(_arg0
,_arg1
);
7775 wxPy_END_ALLOW_THREADS
;
7776 } Py_INCREF(Py_None
);
7777 _resultobj
= Py_None
;
7781 #define wxMenu_GetInvokingWindow(_swigobj) (_swigobj->GetInvokingWindow())
7782 static PyObject
*_wrap_wxMenu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7783 PyObject
* _resultobj
;
7786 PyObject
* _argo0
= 0;
7787 char *_kwnames
[] = { "self", NULL
};
7791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetInvokingWindow",_kwnames
,&_argo0
))
7794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetInvokingWindow. Expected _wxMenu_p.");
7801 wxPy_BEGIN_ALLOW_THREADS
;
7802 _result
= (wxWindow
*)wxMenu_GetInvokingWindow(_arg0
);
7804 wxPy_END_ALLOW_THREADS
;
7806 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
7807 _resultobj
= Py_BuildValue("s",_ptemp
);
7810 _resultobj
= Py_None
;
7815 #define wxMenu_GetStyle(_swigobj) (_swigobj->GetStyle())
7816 static PyObject
*_wrap_wxMenu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7817 PyObject
* _resultobj
;
7820 PyObject
* _argo0
= 0;
7821 char *_kwnames
[] = { "self", NULL
};
7824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetStyle",_kwnames
,&_argo0
))
7827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetStyle. Expected _wxMenu_p.");
7834 wxPy_BEGIN_ALLOW_THREADS
;
7835 _result
= (long )wxMenu_GetStyle(_arg0
);
7837 wxPy_END_ALLOW_THREADS
;
7838 } _resultobj
= Py_BuildValue("l",_result
);
7842 #define wxMenu_IsAttached(_swigobj) (_swigobj->IsAttached())
7843 static PyObject
*_wrap_wxMenu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7844 PyObject
* _resultobj
;
7847 PyObject
* _argo0
= 0;
7848 char *_kwnames
[] = { "self", NULL
};
7851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_IsAttached",_kwnames
,&_argo0
))
7854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsAttached. Expected _wxMenu_p.");
7861 wxPy_BEGIN_ALLOW_THREADS
;
7862 _result
= (bool )wxMenu_IsAttached(_arg0
);
7864 wxPy_END_ALLOW_THREADS
;
7865 } _resultobj
= Py_BuildValue("i",_result
);
7869 #define wxMenu_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
7870 static PyObject
*_wrap_wxMenu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7871 PyObject
* _resultobj
;
7874 PyObject
* _argo0
= 0;
7875 PyObject
* _argo1
= 0;
7876 char *_kwnames
[] = { "self","parent", NULL
};
7879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetParent",_kwnames
,&_argo0
,&_argo1
))
7882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetParent. Expected _wxMenu_p.");
7889 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7890 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
7891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetParent. Expected _wxMenu_p.");
7896 wxPy_BEGIN_ALLOW_THREADS
;
7897 wxMenu_SetParent(_arg0
,_arg1
);
7899 wxPy_END_ALLOW_THREADS
;
7900 } Py_INCREF(Py_None
);
7901 _resultobj
= Py_None
;
7905 #define wxMenu_GetParent(_swigobj) (_swigobj->GetParent())
7906 static PyObject
*_wrap_wxMenu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7907 PyObject
* _resultobj
;
7910 PyObject
* _argo0
= 0;
7911 char *_kwnames
[] = { "self", NULL
};
7915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetParent",_kwnames
,&_argo0
))
7918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetParent. Expected _wxMenu_p.");
7925 wxPy_BEGIN_ALLOW_THREADS
;
7926 _result
= (wxMenu
*)wxMenu_GetParent(_arg0
);
7928 wxPy_END_ALLOW_THREADS
;
7930 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7931 _resultobj
= Py_BuildValue("s",_ptemp
);
7934 _resultobj
= Py_None
;
7939 static void *SwigwxMenuBarTowxWindow(void *ptr
) {
7942 src
= (wxMenuBar
*) ptr
;
7943 dest
= (wxWindow
*) src
;
7944 return (void *) dest
;
7947 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
7950 src
= (wxMenuBar
*) ptr
;
7951 dest
= (wxEvtHandler
*) src
;
7952 return (void *) dest
;
7955 #define new_wxMenuBar(_swigarg0) (new wxMenuBar(_swigarg0))
7956 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7957 PyObject
* _resultobj
;
7958 wxMenuBar
* _result
;
7959 long _arg0
= (long ) 0;
7960 char *_kwnames
[] = { "style", NULL
};
7964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:new_wxMenuBar",_kwnames
,&_arg0
))
7967 wxPy_BEGIN_ALLOW_THREADS
;
7968 _result
= (wxMenuBar
*)new_wxMenuBar(_arg0
);
7970 wxPy_END_ALLOW_THREADS
;
7972 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
7973 _resultobj
= Py_BuildValue("s",_ptemp
);
7976 _resultobj
= Py_None
;
7981 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
7982 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7983 PyObject
* _resultobj
;
7988 PyObject
* _argo0
= 0;
7989 PyObject
* _argo1
= 0;
7990 PyObject
* _obj2
= 0;
7991 char *_kwnames
[] = { "self","menu","title", NULL
};
7994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_Append",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
8004 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8005 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
8006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
8011 #if PYTHON_API_VERSION >= 1009
8012 char* tmpPtr
; int tmpSize
;
8013 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8014 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
8017 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8019 _arg2
= new wxString(tmpPtr
, tmpSize
);
8021 if (!PyString_Check(_obj2
)) {
8022 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8025 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8029 wxPy_BEGIN_ALLOW_THREADS
;
8030 _result
= (bool )wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
8032 wxPy_END_ALLOW_THREADS
;
8033 } _resultobj
= Py_BuildValue("i",_result
);
8041 #define wxMenuBar_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2))
8042 static PyObject
*_wrap_wxMenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8043 PyObject
* _resultobj
;
8049 PyObject
* _argo0
= 0;
8050 PyObject
* _argo2
= 0;
8051 PyObject
* _obj3
= 0;
8052 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
8055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
8058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Insert. Expected _wxMenuBar_p.");
8065 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8066 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
8067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Insert. Expected _wxMenu_p.");
8072 #if PYTHON_API_VERSION >= 1009
8073 char* tmpPtr
; int tmpSize
;
8074 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
8075 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
8078 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
8080 _arg3
= new wxString(tmpPtr
, tmpSize
);
8082 if (!PyString_Check(_obj3
)) {
8083 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8086 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
8090 wxPy_BEGIN_ALLOW_THREADS
;
8091 _result
= (bool )wxMenuBar_Insert(_arg0
,_arg1
,_arg2
,*_arg3
);
8093 wxPy_END_ALLOW_THREADS
;
8094 } _resultobj
= Py_BuildValue("i",_result
);
8102 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
8103 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8104 PyObject
* _resultobj
;
8107 PyObject
* _argo0
= 0;
8108 char *_kwnames
[] = { "self", NULL
};
8111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuBar_GetMenuCount",_kwnames
,&_argo0
))
8114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
8121 wxPy_BEGIN_ALLOW_THREADS
;
8122 _result
= (size_t )wxMenuBar_GetMenuCount(_arg0
);
8124 wxPy_END_ALLOW_THREADS
;
8125 } _resultobj
= Py_BuildValue("i",_result
);
8129 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
8130 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8131 PyObject
* _resultobj
;
8135 PyObject
* _argo0
= 0;
8136 char *_kwnames
[] = { "self","pos", NULL
};
8140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetMenu",_kwnames
,&_argo0
,&_arg1
))
8143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
8150 wxPy_BEGIN_ALLOW_THREADS
;
8151 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
8153 wxPy_END_ALLOW_THREADS
;
8155 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
8156 _resultobj
= Py_BuildValue("s",_ptemp
);
8159 _resultobj
= Py_None
;
8164 #define wxMenuBar_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
8165 static PyObject
*_wrap_wxMenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8166 PyObject
* _resultobj
;
8172 PyObject
* _argo0
= 0;
8173 PyObject
* _argo2
= 0;
8174 PyObject
* _obj3
= 0;
8175 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
8179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
8182 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8183 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Replace. Expected _wxMenuBar_p.");
8189 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8190 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
8191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Replace. Expected _wxMenu_p.");
8196 #if PYTHON_API_VERSION >= 1009
8197 char* tmpPtr
; int tmpSize
;
8198 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
8199 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
8202 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
8204 _arg3
= new wxString(tmpPtr
, tmpSize
);
8206 if (!PyString_Check(_obj3
)) {
8207 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8210 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
8214 wxPy_BEGIN_ALLOW_THREADS
;
8215 _result
= (wxMenu
*)wxMenuBar_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
8217 wxPy_END_ALLOW_THREADS
;
8219 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
8220 _resultobj
= Py_BuildValue("s",_ptemp
);
8223 _resultobj
= Py_None
;
8232 #define wxMenuBar_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
8233 static PyObject
*_wrap_wxMenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8234 PyObject
* _resultobj
;
8238 PyObject
* _argo0
= 0;
8239 char *_kwnames
[] = { "self","pos", NULL
};
8243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_Remove",_kwnames
,&_argo0
,&_arg1
))
8246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Remove. Expected _wxMenuBar_p.");
8253 wxPy_BEGIN_ALLOW_THREADS
;
8254 _result
= (wxMenu
*)wxMenuBar_Remove(_arg0
,_arg1
);
8256 wxPy_END_ALLOW_THREADS
;
8258 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
8259 _resultobj
= Py_BuildValue("s",_ptemp
);
8262 _resultobj
= Py_None
;
8267 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
8268 static PyObject
*_wrap_wxMenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8269 PyObject
* _resultobj
;
8273 PyObject
* _argo0
= 0;
8275 char *_kwnames
[] = { "self","pos","enable", NULL
};
8278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_EnableTop",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
8287 _arg2
= (bool ) tempbool2
;
8289 wxPy_BEGIN_ALLOW_THREADS
;
8290 wxMenuBar_EnableTop(_arg0
,_arg1
,_arg2
);
8292 wxPy_END_ALLOW_THREADS
;
8293 } Py_INCREF(Py_None
);
8294 _resultobj
= Py_None
;
8298 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
8299 static PyObject
*_wrap_wxMenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8300 PyObject
* _resultobj
;
8304 PyObject
* _argo0
= 0;
8305 PyObject
* _obj2
= 0;
8306 char *_kwnames
[] = { "self","pos","label", NULL
};
8309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabelTop",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
8319 #if PYTHON_API_VERSION >= 1009
8320 char* tmpPtr
; int tmpSize
;
8321 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8322 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
8325 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8327 _arg2
= new wxString(tmpPtr
, tmpSize
);
8329 if (!PyString_Check(_obj2
)) {
8330 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8333 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8337 wxPy_BEGIN_ALLOW_THREADS
;
8338 wxMenuBar_SetLabelTop(_arg0
,_arg1
,*_arg2
);
8340 wxPy_END_ALLOW_THREADS
;
8341 } Py_INCREF(Py_None
);
8342 _resultobj
= Py_None
;
8350 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
8351 static PyObject
*_wrap_wxMenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8352 PyObject
* _resultobj
;
8356 PyObject
* _argo0
= 0;
8357 char *_kwnames
[] = { "self","pos", NULL
};
8360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabelTop",_kwnames
,&_argo0
,&_arg1
))
8363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
8370 wxPy_BEGIN_ALLOW_THREADS
;
8371 _result
= new wxString (wxMenuBar_GetLabelTop(_arg0
,_arg1
));
8373 wxPy_END_ALLOW_THREADS
;
8375 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8383 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
8384 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8385 PyObject
* _resultobj
;
8390 PyObject
* _argo0
= 0;
8391 PyObject
* _obj1
= 0;
8392 PyObject
* _obj2
= 0;
8393 char *_kwnames
[] = { "self","menuString","itemString", NULL
};
8396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_FindMenuItem",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
8406 #if PYTHON_API_VERSION >= 1009
8407 char* tmpPtr
; int tmpSize
;
8408 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8409 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
8412 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8414 _arg1
= new wxString(tmpPtr
, tmpSize
);
8416 if (!PyString_Check(_obj1
)) {
8417 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8420 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8424 #if PYTHON_API_VERSION >= 1009
8425 char* tmpPtr
; int tmpSize
;
8426 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8427 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
8430 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8432 _arg2
= new wxString(tmpPtr
, tmpSize
);
8434 if (!PyString_Check(_obj2
)) {
8435 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8438 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8442 wxPy_BEGIN_ALLOW_THREADS
;
8443 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
8445 wxPy_END_ALLOW_THREADS
;
8446 } _resultobj
= Py_BuildValue("i",_result
);
8458 #define wxMenuBar_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
8459 static PyObject
*_wrap_wxMenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8460 PyObject
* _resultobj
;
8461 wxMenuItem
* _result
;
8464 PyObject
* _argo0
= 0;
8465 char *_kwnames
[] = { "self","id", NULL
};
8469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_FindItemById",_kwnames
,&_argo0
,&_arg1
))
8472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemById. Expected _wxMenuBar_p.");
8479 wxPy_BEGIN_ALLOW_THREADS
;
8480 _result
= (wxMenuItem
*)wxMenuBar_FindItemById(_arg0
,_arg1
);
8482 wxPy_END_ALLOW_THREADS
;
8484 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
8485 _resultobj
= Py_BuildValue("s",_ptemp
);
8488 _resultobj
= Py_None
;
8493 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
8494 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8495 PyObject
* _resultobj
;
8499 PyObject
* _argo0
= 0;
8501 char *_kwnames
[] = { "self","id","enable", NULL
};
8504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8507 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8508 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
8513 _arg2
= (bool ) tempbool2
;
8515 wxPy_BEGIN_ALLOW_THREADS
;
8516 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
8518 wxPy_END_ALLOW_THREADS
;
8519 } Py_INCREF(Py_None
);
8520 _resultobj
= Py_None
;
8524 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
8525 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8526 PyObject
* _resultobj
;
8530 PyObject
* _argo0
= 0;
8532 char *_kwnames
[] = { "self","id","check", NULL
};
8535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
8544 _arg2
= (bool ) tempbool2
;
8546 wxPy_BEGIN_ALLOW_THREADS
;
8547 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
8549 wxPy_END_ALLOW_THREADS
;
8550 } Py_INCREF(Py_None
);
8551 _resultobj
= Py_None
;
8555 #define wxMenuBar_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
8556 static PyObject
*_wrap_wxMenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8557 PyObject
* _resultobj
;
8561 PyObject
* _argo0
= 0;
8562 char *_kwnames
[] = { "self","id", NULL
};
8565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsChecked",_kwnames
,&_argo0
,&_arg1
))
8568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsChecked. Expected _wxMenuBar_p.");
8575 wxPy_BEGIN_ALLOW_THREADS
;
8576 _result
= (bool )wxMenuBar_IsChecked(_arg0
,_arg1
);
8578 wxPy_END_ALLOW_THREADS
;
8579 } _resultobj
= Py_BuildValue("i",_result
);
8583 #define wxMenuBar_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
8584 static PyObject
*_wrap_wxMenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8585 PyObject
* _resultobj
;
8589 PyObject
* _argo0
= 0;
8590 char *_kwnames
[] = { "self","id", NULL
};
8593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
8596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsEnabled. Expected _wxMenuBar_p.");
8603 wxPy_BEGIN_ALLOW_THREADS
;
8604 _result
= (bool )wxMenuBar_IsEnabled(_arg0
,_arg1
);
8606 wxPy_END_ALLOW_THREADS
;
8607 } _resultobj
= Py_BuildValue("i",_result
);
8611 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
8612 static PyObject
*_wrap_wxMenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8613 PyObject
* _resultobj
;
8617 PyObject
* _argo0
= 0;
8618 PyObject
* _obj2
= 0;
8619 char *_kwnames
[] = { "self","id","label", NULL
};
8622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
8632 #if PYTHON_API_VERSION >= 1009
8633 char* tmpPtr
; int tmpSize
;
8634 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8635 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
8638 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8640 _arg2
= new wxString(tmpPtr
, tmpSize
);
8642 if (!PyString_Check(_obj2
)) {
8643 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8646 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8650 wxPy_BEGIN_ALLOW_THREADS
;
8651 wxMenuBar_SetLabel(_arg0
,_arg1
,*_arg2
);
8653 wxPy_END_ALLOW_THREADS
;
8654 } Py_INCREF(Py_None
);
8655 _resultobj
= Py_None
;
8663 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
8664 static PyObject
*_wrap_wxMenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8665 PyObject
* _resultobj
;
8669 PyObject
* _argo0
= 0;
8670 char *_kwnames
[] = { "self","id", NULL
};
8673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabel",_kwnames
,&_argo0
,&_arg1
))
8676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
8683 wxPy_BEGIN_ALLOW_THREADS
;
8684 _result
= new wxString (wxMenuBar_GetLabel(_arg0
,_arg1
));
8686 wxPy_END_ALLOW_THREADS
;
8688 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8696 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
8697 static PyObject
*_wrap_wxMenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8698 PyObject
* _resultobj
;
8702 PyObject
* _argo0
= 0;
8703 PyObject
* _obj2
= 0;
8704 char *_kwnames
[] = { "self","id","helpString", NULL
};
8707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
8717 #if PYTHON_API_VERSION >= 1009
8718 char* tmpPtr
; int tmpSize
;
8719 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8720 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
8723 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8725 _arg2
= new wxString(tmpPtr
, tmpSize
);
8727 if (!PyString_Check(_obj2
)) {
8728 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8731 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8735 wxPy_BEGIN_ALLOW_THREADS
;
8736 wxMenuBar_SetHelpString(_arg0
,_arg1
,*_arg2
);
8738 wxPy_END_ALLOW_THREADS
;
8739 } Py_INCREF(Py_None
);
8740 _resultobj
= Py_None
;
8748 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
8749 static PyObject
*_wrap_wxMenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8750 PyObject
* _resultobj
;
8754 PyObject
* _argo0
= 0;
8755 char *_kwnames
[] = { "self","id", NULL
};
8758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
8761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
8768 wxPy_BEGIN_ALLOW_THREADS
;
8769 _result
= new wxString (wxMenuBar_GetHelpString(_arg0
,_arg1
));
8771 wxPy_END_ALLOW_THREADS
;
8773 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8781 #define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8782 static PyObject
*_wrap_new_wxMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8783 PyObject
* _resultobj
;
8784 wxMenuItem
* _result
;
8785 wxMenu
* _arg0
= (wxMenu
*) NULL
;
8786 int _arg1
= (int ) wxID_SEPARATOR
;
8787 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
8788 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
8789 bool _arg4
= (bool ) FALSE
;
8790 wxMenu
* _arg5
= (wxMenu
*) NULL
;
8791 PyObject
* _argo0
= 0;
8792 PyObject
* _obj2
= 0;
8793 PyObject
* _obj3
= 0;
8794 int tempbool4
= (int) FALSE
;
8795 PyObject
* _argo5
= 0;
8796 char *_kwnames
[] = { "parentMenu","id","text","help","isCheckable","subMenu", NULL
};
8800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OiOOiO:new_wxMenuItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&tempbool4
,&_argo5
))
8803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
8811 #if PYTHON_API_VERSION >= 1009
8812 char* tmpPtr
; int tmpSize
;
8813 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8814 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
8817 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8819 _arg2
= new wxString(tmpPtr
, tmpSize
);
8821 if (!PyString_Check(_obj2
)) {
8822 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8825 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8830 #if PYTHON_API_VERSION >= 1009
8831 char* tmpPtr
; int tmpSize
;
8832 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
8833 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
8836 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
8838 _arg3
= new wxString(tmpPtr
, tmpSize
);
8840 if (!PyString_Check(_obj3
)) {
8841 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8844 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
8847 _arg4
= (bool ) tempbool4
;
8849 if (_argo5
== Py_None
) { _arg5
= NULL
; }
8850 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxMenu_p")) {
8851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
8856 wxPy_BEGIN_ALLOW_THREADS
;
8857 _result
= (wxMenuItem
*)new_wxMenuItem(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
8859 wxPy_END_ALLOW_THREADS
;
8861 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
8862 _resultobj
= Py_BuildValue("s",_ptemp
);
8865 _resultobj
= Py_None
;
8878 #define wxMenuItem_GetMenu(_swigobj) (_swigobj->GetMenu())
8879 static PyObject
*_wrap_wxMenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8880 PyObject
* _resultobj
;
8883 PyObject
* _argo0
= 0;
8884 char *_kwnames
[] = { "self", NULL
};
8888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetMenu",_kwnames
,&_argo0
))
8891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMenu. Expected _wxMenuItem_p.");
8898 wxPy_BEGIN_ALLOW_THREADS
;
8899 _result
= (wxMenu
*)wxMenuItem_GetMenu(_arg0
);
8901 wxPy_END_ALLOW_THREADS
;
8903 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
8904 _resultobj
= Py_BuildValue("s",_ptemp
);
8907 _resultobj
= Py_None
;
8912 #define wxMenuItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
8913 static PyObject
*_wrap_wxMenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8914 PyObject
* _resultobj
;
8917 PyObject
* _argo0
= 0;
8918 char *_kwnames
[] = { "self","id", NULL
};
8921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetId",_kwnames
,&_argo0
,&_arg1
))
8924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetId. Expected _wxMenuItem_p.");
8931 wxPy_BEGIN_ALLOW_THREADS
;
8932 wxMenuItem_SetId(_arg0
,_arg1
);
8934 wxPy_END_ALLOW_THREADS
;
8935 } Py_INCREF(Py_None
);
8936 _resultobj
= Py_None
;
8940 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
8941 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8942 PyObject
* _resultobj
;
8945 PyObject
* _argo0
= 0;
8946 char *_kwnames
[] = { "self", NULL
};
8949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetId",_kwnames
,&_argo0
))
8952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
8959 wxPy_BEGIN_ALLOW_THREADS
;
8960 _result
= (int )wxMenuItem_GetId(_arg0
);
8962 wxPy_END_ALLOW_THREADS
;
8963 } _resultobj
= Py_BuildValue("i",_result
);
8967 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
8968 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8969 PyObject
* _resultobj
;
8972 PyObject
* _argo0
= 0;
8973 char *_kwnames
[] = { "self", NULL
};
8976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSeparator",_kwnames
,&_argo0
))
8979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
8986 wxPy_BEGIN_ALLOW_THREADS
;
8987 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
8989 wxPy_END_ALLOW_THREADS
;
8990 } _resultobj
= Py_BuildValue("i",_result
);
8994 #define wxMenuItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
8995 static PyObject
*_wrap_wxMenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8996 PyObject
* _resultobj
;
8999 PyObject
* _argo0
= 0;
9000 PyObject
* _obj1
= 0;
9001 char *_kwnames
[] = { "self","str", NULL
};
9004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetText",_kwnames
,&_argo0
,&_obj1
))
9007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetText. Expected _wxMenuItem_p.");
9014 #if PYTHON_API_VERSION >= 1009
9015 char* tmpPtr
; int tmpSize
;
9016 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9017 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
9020 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9022 _arg1
= new wxString(tmpPtr
, tmpSize
);
9024 if (!PyString_Check(_obj1
)) {
9025 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9028 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9032 wxPy_BEGIN_ALLOW_THREADS
;
9033 wxMenuItem_SetText(_arg0
,*_arg1
);
9035 wxPy_END_ALLOW_THREADS
;
9036 } Py_INCREF(Py_None
);
9037 _resultobj
= Py_None
;
9045 #define wxMenuItem_GetLabel(_swigobj) (_swigobj->GetLabel())
9046 static PyObject
*_wrap_wxMenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9047 PyObject
* _resultobj
;
9050 PyObject
* _argo0
= 0;
9051 char *_kwnames
[] = { "self", NULL
};
9054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabel",_kwnames
,&_argo0
))
9057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetLabel. Expected _wxMenuItem_p.");
9064 wxPy_BEGIN_ALLOW_THREADS
;
9065 _result
= new wxString (wxMenuItem_GetLabel(_arg0
));
9067 wxPy_END_ALLOW_THREADS
;
9069 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9077 #define wxMenuItem_GetText(_swigobj) (_swigobj->GetText())
9078 static PyObject
*_wrap_wxMenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9079 PyObject
* _resultobj
;
9082 PyObject
* _argo0
= 0;
9083 char *_kwnames
[] = { "self", NULL
};
9086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetText",_kwnames
,&_argo0
))
9089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetText. Expected _wxMenuItem_p.");
9096 wxPy_BEGIN_ALLOW_THREADS
;
9097 const wxString
& _result_ref
= wxMenuItem_GetText(_arg0
);
9098 _result
= (wxString
*) &_result_ref
;
9100 wxPy_END_ALLOW_THREADS
;
9102 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9107 #define wxMenuItem_SetCheckable(_swigobj,_swigarg0) (_swigobj->SetCheckable(_swigarg0))
9108 static PyObject
*_wrap_wxMenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9109 PyObject
* _resultobj
;
9112 PyObject
* _argo0
= 0;
9114 char *_kwnames
[] = { "self","checkable", NULL
};
9117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetCheckable",_kwnames
,&_argo0
,&tempbool1
))
9120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetCheckable. Expected _wxMenuItem_p.");
9126 _arg1
= (bool ) tempbool1
;
9128 wxPy_BEGIN_ALLOW_THREADS
;
9129 wxMenuItem_SetCheckable(_arg0
,_arg1
);
9131 wxPy_END_ALLOW_THREADS
;
9132 } Py_INCREF(Py_None
);
9133 _resultobj
= Py_None
;
9137 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
9138 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9139 PyObject
* _resultobj
;
9142 PyObject
* _argo0
= 0;
9143 char *_kwnames
[] = { "self", NULL
};
9146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsCheckable",_kwnames
,&_argo0
))
9149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
9156 wxPy_BEGIN_ALLOW_THREADS
;
9157 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
9159 wxPy_END_ALLOW_THREADS
;
9160 } _resultobj
= Py_BuildValue("i",_result
);
9164 #define wxMenuItem_IsSubMenu(_swigobj) (_swigobj->IsSubMenu())
9165 static PyObject
*_wrap_wxMenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9166 PyObject
* _resultobj
;
9169 PyObject
* _argo0
= 0;
9170 char *_kwnames
[] = { "self", NULL
};
9173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSubMenu",_kwnames
,&_argo0
))
9176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSubMenu. Expected _wxMenuItem_p.");
9183 wxPy_BEGIN_ALLOW_THREADS
;
9184 _result
= (bool )wxMenuItem_IsSubMenu(_arg0
);
9186 wxPy_END_ALLOW_THREADS
;
9187 } _resultobj
= Py_BuildValue("i",_result
);
9191 #define wxMenuItem_SetSubMenu(_swigobj,_swigarg0) (_swigobj->SetSubMenu(_swigarg0))
9192 static PyObject
*_wrap_wxMenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9193 PyObject
* _resultobj
;
9196 PyObject
* _argo0
= 0;
9197 PyObject
* _argo1
= 0;
9198 char *_kwnames
[] = { "self","menu", NULL
};
9201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetSubMenu",_kwnames
,&_argo0
,&_argo1
))
9204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetSubMenu. Expected _wxMenuItem_p.");
9211 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9212 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetSubMenu. Expected _wxMenu_p.");
9218 wxPy_BEGIN_ALLOW_THREADS
;
9219 wxMenuItem_SetSubMenu(_arg0
,_arg1
);
9221 wxPy_END_ALLOW_THREADS
;
9222 } Py_INCREF(Py_None
);
9223 _resultobj
= Py_None
;
9227 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
9228 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9229 PyObject
* _resultobj
;
9232 PyObject
* _argo0
= 0;
9233 char *_kwnames
[] = { "self", NULL
};
9237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetSubMenu",_kwnames
,&_argo0
))
9240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
9247 wxPy_BEGIN_ALLOW_THREADS
;
9248 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
9250 wxPy_END_ALLOW_THREADS
;
9252 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
9253 _resultobj
= Py_BuildValue("s",_ptemp
);
9256 _resultobj
= Py_None
;
9261 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
9262 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9263 PyObject
* _resultobj
;
9265 bool _arg1
= (bool ) TRUE
;
9266 PyObject
* _argo0
= 0;
9267 int tempbool1
= (int) TRUE
;
9268 char *_kwnames
[] = { "self","enable", NULL
};
9271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Enable",_kwnames
,&_argo0
,&tempbool1
))
9274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
9280 _arg1
= (bool ) tempbool1
;
9282 wxPy_BEGIN_ALLOW_THREADS
;
9283 wxMenuItem_Enable(_arg0
,_arg1
);
9285 wxPy_END_ALLOW_THREADS
;
9286 } Py_INCREF(Py_None
);
9287 _resultobj
= Py_None
;
9291 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
9292 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9293 PyObject
* _resultobj
;
9296 PyObject
* _argo0
= 0;
9297 char *_kwnames
[] = { "self", NULL
};
9300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsEnabled",_kwnames
,&_argo0
))
9303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
9310 wxPy_BEGIN_ALLOW_THREADS
;
9311 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
9313 wxPy_END_ALLOW_THREADS
;
9314 } _resultobj
= Py_BuildValue("i",_result
);
9318 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
9319 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9320 PyObject
* _resultobj
;
9322 bool _arg1
= (bool ) TRUE
;
9323 PyObject
* _argo0
= 0;
9324 int tempbool1
= (int) TRUE
;
9325 char *_kwnames
[] = { "self","check", NULL
};
9328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Check",_kwnames
,&_argo0
,&tempbool1
))
9331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
9337 _arg1
= (bool ) tempbool1
;
9339 wxPy_BEGIN_ALLOW_THREADS
;
9340 wxMenuItem_Check(_arg0
,_arg1
);
9342 wxPy_END_ALLOW_THREADS
;
9343 } Py_INCREF(Py_None
);
9344 _resultobj
= Py_None
;
9348 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
9349 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9350 PyObject
* _resultobj
;
9353 PyObject
* _argo0
= 0;
9354 char *_kwnames
[] = { "self", NULL
};
9357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsChecked",_kwnames
,&_argo0
))
9360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
9367 wxPy_BEGIN_ALLOW_THREADS
;
9368 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
9370 wxPy_END_ALLOW_THREADS
;
9371 } _resultobj
= Py_BuildValue("i",_result
);
9375 #define wxMenuItem_Toggle(_swigobj) (_swigobj->Toggle())
9376 static PyObject
*_wrap_wxMenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9377 PyObject
* _resultobj
;
9379 PyObject
* _argo0
= 0;
9380 char *_kwnames
[] = { "self", NULL
};
9383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_Toggle",_kwnames
,&_argo0
))
9386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Toggle. Expected _wxMenuItem_p.");
9393 wxPy_BEGIN_ALLOW_THREADS
;
9394 wxMenuItem_Toggle(_arg0
);
9396 wxPy_END_ALLOW_THREADS
;
9397 } Py_INCREF(Py_None
);
9398 _resultobj
= Py_None
;
9402 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
9403 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9404 PyObject
* _resultobj
;
9407 PyObject
* _argo0
= 0;
9408 PyObject
* _obj1
= 0;
9409 char *_kwnames
[] = { "self","str", NULL
};
9412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetHelp",_kwnames
,&_argo0
,&_obj1
))
9415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
9422 #if PYTHON_API_VERSION >= 1009
9423 char* tmpPtr
; int tmpSize
;
9424 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9425 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
9428 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9430 _arg1
= new wxString(tmpPtr
, tmpSize
);
9432 if (!PyString_Check(_obj1
)) {
9433 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9436 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9440 wxPy_BEGIN_ALLOW_THREADS
;
9441 wxMenuItem_SetHelp(_arg0
,*_arg1
);
9443 wxPy_END_ALLOW_THREADS
;
9444 } Py_INCREF(Py_None
);
9445 _resultobj
= Py_None
;
9453 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
9454 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9455 PyObject
* _resultobj
;
9458 PyObject
* _argo0
= 0;
9459 char *_kwnames
[] = { "self", NULL
};
9462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetHelp",_kwnames
,&_argo0
))
9465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
9472 wxPy_BEGIN_ALLOW_THREADS
;
9473 const wxString
& _result_ref
= wxMenuItem_GetHelp(_arg0
);
9474 _result
= (wxString
*) &_result_ref
;
9476 wxPy_END_ALLOW_THREADS
;
9478 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9483 #define wxMenuItem_GetAccel(_swigobj) (_swigobj->GetAccel())
9484 static PyObject
*_wrap_wxMenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9485 PyObject
* _resultobj
;
9486 wxAcceleratorEntry
* _result
;
9488 PyObject
* _argo0
= 0;
9489 char *_kwnames
[] = { "self", NULL
};
9493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetAccel",_kwnames
,&_argo0
))
9496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetAccel. Expected _wxMenuItem_p.");
9503 wxPy_BEGIN_ALLOW_THREADS
;
9504 _result
= (wxAcceleratorEntry
*)wxMenuItem_GetAccel(_arg0
);
9506 wxPy_END_ALLOW_THREADS
;
9508 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
9509 _resultobj
= Py_BuildValue("s",_ptemp
);
9512 _resultobj
= Py_None
;
9517 #define wxMenuItem_SetAccel(_swigobj,_swigarg0) (_swigobj->SetAccel(_swigarg0))
9518 static PyObject
*_wrap_wxMenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9519 PyObject
* _resultobj
;
9521 wxAcceleratorEntry
* _arg1
;
9522 PyObject
* _argo0
= 0;
9523 PyObject
* _argo1
= 0;
9524 char *_kwnames
[] = { "self","accel", NULL
};
9527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetAccel",_kwnames
,&_argo0
,&_argo1
))
9530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetAccel. Expected _wxMenuItem_p.");
9537 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9538 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorEntry_p")) {
9539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetAccel. Expected _wxAcceleratorEntry_p.");
9544 wxPy_BEGIN_ALLOW_THREADS
;
9545 wxMenuItem_SetAccel(_arg0
,_arg1
);
9547 wxPy_END_ALLOW_THREADS
;
9548 } Py_INCREF(Py_None
);
9549 _resultobj
= Py_None
;
9553 static PyObject
*_wrap_wxMenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9554 PyObject
* _resultobj
;
9557 PyObject
* _obj0
= 0;
9558 char *_kwnames
[] = { "text", NULL
};
9561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabelFromText",_kwnames
,&_obj0
))
9564 #if PYTHON_API_VERSION >= 1009
9565 char* tmpPtr
; int tmpSize
;
9566 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
9567 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
9570 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
9572 _arg0
= new wxString(tmpPtr
, tmpSize
);
9574 if (!PyString_Check(_obj0
)) {
9575 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9578 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
9582 wxPy_BEGIN_ALLOW_THREADS
;
9583 _result
= new wxString (wxMenuItem::GetLabelFromText(*_arg0
));
9585 wxPy_END_ALLOW_THREADS
;
9587 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9599 static PyMethodDef windowscMethods
[] = {
9600 { "wxMenuItem_GetLabelFromText", (PyCFunction
) _wrap_wxMenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
9601 { "wxMenuItem_SetAccel", (PyCFunction
) _wrap_wxMenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
9602 { "wxMenuItem_GetAccel", (PyCFunction
) _wrap_wxMenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
9603 { "wxMenuItem_GetHelp", (PyCFunction
) _wrap_wxMenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
9604 { "wxMenuItem_SetHelp", (PyCFunction
) _wrap_wxMenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
9605 { "wxMenuItem_Toggle", (PyCFunction
) _wrap_wxMenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
9606 { "wxMenuItem_IsChecked", (PyCFunction
) _wrap_wxMenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
9607 { "wxMenuItem_Check", (PyCFunction
) _wrap_wxMenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
9608 { "wxMenuItem_IsEnabled", (PyCFunction
) _wrap_wxMenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9609 { "wxMenuItem_Enable", (PyCFunction
) _wrap_wxMenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
9610 { "wxMenuItem_GetSubMenu", (PyCFunction
) _wrap_wxMenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
9611 { "wxMenuItem_SetSubMenu", (PyCFunction
) _wrap_wxMenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
9612 { "wxMenuItem_IsSubMenu", (PyCFunction
) _wrap_wxMenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
9613 { "wxMenuItem_IsCheckable", (PyCFunction
) _wrap_wxMenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
9614 { "wxMenuItem_SetCheckable", (PyCFunction
) _wrap_wxMenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
9615 { "wxMenuItem_GetText", (PyCFunction
) _wrap_wxMenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
9616 { "wxMenuItem_GetLabel", (PyCFunction
) _wrap_wxMenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9617 { "wxMenuItem_SetText", (PyCFunction
) _wrap_wxMenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
9618 { "wxMenuItem_IsSeparator", (PyCFunction
) _wrap_wxMenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
9619 { "wxMenuItem_GetId", (PyCFunction
) _wrap_wxMenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
9620 { "wxMenuItem_SetId", (PyCFunction
) _wrap_wxMenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
9621 { "wxMenuItem_GetMenu", (PyCFunction
) _wrap_wxMenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
9622 { "new_wxMenuItem", (PyCFunction
) _wrap_new_wxMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
9623 { "wxMenuBar_GetHelpString", (PyCFunction
) _wrap_wxMenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
9624 { "wxMenuBar_SetHelpString", (PyCFunction
) _wrap_wxMenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
9625 { "wxMenuBar_GetLabel", (PyCFunction
) _wrap_wxMenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9626 { "wxMenuBar_SetLabel", (PyCFunction
) _wrap_wxMenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9627 { "wxMenuBar_IsEnabled", (PyCFunction
) _wrap_wxMenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9628 { "wxMenuBar_IsChecked", (PyCFunction
) _wrap_wxMenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
9629 { "wxMenuBar_Check", (PyCFunction
) _wrap_wxMenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
9630 { "wxMenuBar_Enable", (PyCFunction
) _wrap_wxMenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
9631 { "wxMenuBar_FindItemById", (PyCFunction
) _wrap_wxMenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
9632 { "wxMenuBar_FindMenuItem", (PyCFunction
) _wrap_wxMenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
9633 { "wxMenuBar_GetLabelTop", (PyCFunction
) _wrap_wxMenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
9634 { "wxMenuBar_SetLabelTop", (PyCFunction
) _wrap_wxMenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
9635 { "wxMenuBar_EnableTop", (PyCFunction
) _wrap_wxMenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
9636 { "wxMenuBar_Remove", (PyCFunction
) _wrap_wxMenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
9637 { "wxMenuBar_Replace", (PyCFunction
) _wrap_wxMenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
9638 { "wxMenuBar_GetMenu", (PyCFunction
) _wrap_wxMenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
9639 { "wxMenuBar_GetMenuCount", (PyCFunction
) _wrap_wxMenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
9640 { "wxMenuBar_Insert", (PyCFunction
) _wrap_wxMenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
9641 { "wxMenuBar_Append", (PyCFunction
) _wrap_wxMenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
9642 { "new_wxMenuBar", (PyCFunction
) _wrap_new_wxMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
9643 { "wxMenu_GetParent", (PyCFunction
) _wrap_wxMenu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
9644 { "wxMenu_SetParent", (PyCFunction
) _wrap_wxMenu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
9645 { "wxMenu_IsAttached", (PyCFunction
) _wrap_wxMenu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
9646 { "wxMenu_GetStyle", (PyCFunction
) _wrap_wxMenu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
9647 { "wxMenu_GetInvokingWindow", (PyCFunction
) _wrap_wxMenu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
9648 { "wxMenu_SetInvokingWindow", (PyCFunction
) _wrap_wxMenu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
9649 { "wxMenu_GetEventHandler", (PyCFunction
) _wrap_wxMenu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9650 { "wxMenu_SetEventHandler", (PyCFunction
) _wrap_wxMenu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9651 { "wxMenu_GetMenuItems", (PyCFunction
) _wrap_wxMenu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
9652 { "wxMenu_GetMenuItemCount", (PyCFunction
) _wrap_wxMenu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
9653 { "wxMenu_DestroyItem", (PyCFunction
) _wrap_wxMenu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
9654 { "wxMenu_DestroyId", (PyCFunction
) _wrap_wxMenu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
9655 { "wxMenu_Destroy", (PyCFunction
) _wrap_wxMenu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
9656 { "wxMenu_RemoveItem", (PyCFunction
) _wrap_wxMenu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
9657 { "wxMenu_Remove", (PyCFunction
) _wrap_wxMenu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
9658 { "wxMenu_Insert", (PyCFunction
) _wrap_wxMenu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
9659 { "wxMenu_DeleteItem", (PyCFunction
) _wrap_wxMenu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
9660 { "wxMenu_Delete", (PyCFunction
) _wrap_wxMenu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
9661 { "wxMenu_UpdateUI", (PyCFunction
) _wrap_wxMenu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
9662 { "wxMenu_SetHelpString", (PyCFunction
) _wrap_wxMenu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
9663 { "wxMenu_GetHelpString", (PyCFunction
) _wrap_wxMenu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
9664 { "wxMenu_SetLabel", (PyCFunction
) _wrap_wxMenu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9665 { "wxMenu_GetLabel", (PyCFunction
) _wrap_wxMenu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9666 { "wxMenu_SetTitle", (PyCFunction
) _wrap_wxMenu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9667 { "wxMenu_GetTitle", (PyCFunction
) _wrap_wxMenu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9668 { "wxMenu_FindItemById", (PyCFunction
) _wrap_wxMenu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
9669 { "wxMenu_FindItem", (PyCFunction
) _wrap_wxMenu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
9670 { "wxMenu_IsEnabled", (PyCFunction
) _wrap_wxMenu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9671 { "wxMenu_Enable", (PyCFunction
) _wrap_wxMenu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
9672 { "wxMenu_IsChecked", (PyCFunction
) _wrap_wxMenu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
9673 { "wxMenu_Check", (PyCFunction
) _wrap_wxMenu_Check
, METH_VARARGS
| METH_KEYWORDS
},
9674 { "wxMenu_Break", (PyCFunction
) _wrap_wxMenu_Break
, METH_VARARGS
| METH_KEYWORDS
},
9675 { "wxMenu_AppendSeparator", (PyCFunction
) _wrap_wxMenu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
9676 { "wxMenu_AppendItem", (PyCFunction
) _wrap_wxMenu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
9677 { "wxMenu_AppendMenu", (PyCFunction
) _wrap_wxMenu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
9678 { "wxMenu_Append", (PyCFunction
) _wrap_wxMenu_Append
, METH_VARARGS
| METH_KEYWORDS
},
9679 { "new_wxMenu", (PyCFunction
) _wrap_new_wxMenu
, METH_VARARGS
| METH_KEYWORDS
},
9680 { "wxScrolledWindow_CalcUnscrolledPosition", (PyCFunction
) _wrap_wxScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
| METH_KEYWORDS
},
9681 { "wxScrolledWindow_CalcScrolledPosition", (PyCFunction
) _wrap_wxScrolledWindow_CalcScrolledPosition
, METH_VARARGS
| METH_KEYWORDS
},
9682 { "wxScrolledWindow_ViewStart", (PyCFunction
) _wrap_wxScrolledWindow_ViewStart
, METH_VARARGS
| METH_KEYWORDS
},
9683 { "wxScrolledWindow_GetViewStart", (PyCFunction
) _wrap_wxScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
9684 { "wxScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
9685 { "wxScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
9686 { "wxScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
9687 { "wxScrolledWindow_Scroll", (PyCFunction
) _wrap_wxScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
9688 { "wxScrolledWindow_PrepareDC", (PyCFunction
) _wrap_wxScrolledWindow_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
9689 { "wxScrolledWindow_IsRetained", (PyCFunction
) _wrap_wxScrolledWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
9690 { "wxScrolledWindow_GetVirtualSize", (PyCFunction
) _wrap_wxScrolledWindow_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
9691 { "wxScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
9692 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
9693 { "wxScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
9694 { "wxScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_wxScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
9695 { "new_wxScrolledWindow", (PyCFunction
) _wrap_new_wxScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
9696 { "wxDialog_CreateButtonSizer", (PyCFunction
) _wrap_wxDialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
9697 { "wxDialog_CreateTextSizer", (PyCFunction
) _wrap_wxDialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
9698 { "wxDialog_SetReturnCode", (PyCFunction
) _wrap_wxDialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
9699 { "wxDialog_GetReturnCode", (PyCFunction
) _wrap_wxDialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
9700 { "wxDialog_ShowModal", (PyCFunction
) _wrap_wxDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
9701 { "wxDialog_Show", (PyCFunction
) _wrap_wxDialog_Show
, METH_VARARGS
| METH_KEYWORDS
},
9702 { "wxDialog_SetTitle", (PyCFunction
) _wrap_wxDialog_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9703 { "wxDialog_IsModal", (PyCFunction
) _wrap_wxDialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
9704 { "wxDialog_SetModal", (PyCFunction
) _wrap_wxDialog_SetModal
, METH_VARARGS
| METH_KEYWORDS
},
9705 { "wxDialog_IsIconized", (PyCFunction
) _wrap_wxDialog_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
9706 { "wxDialog_Iconize", (PyCFunction
) _wrap_wxDialog_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
9707 { "wxDialog_GetTitle", (PyCFunction
) _wrap_wxDialog_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9708 { "wxDialog_EndModal", (PyCFunction
) _wrap_wxDialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
9709 { "wxDialog_Centre", (PyCFunction
) _wrap_wxDialog_Centre
, METH_VARARGS
| METH_KEYWORDS
},
9710 { "new_wxDialog", (PyCFunction
) _wrap_new_wxDialog
, METH_VARARGS
| METH_KEYWORDS
},
9711 { "wxPanel_SetDefaultItem", (PyCFunction
) _wrap_wxPanel_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
9712 { "wxPanel_GetDefaultItem", (PyCFunction
) _wrap_wxPanel_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
9713 { "wxPanel_InitDialog", (PyCFunction
) _wrap_wxPanel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
9714 { "new_wxPanel", (PyCFunction
) _wrap_new_wxPanel
, METH_VARARGS
| METH_KEYWORDS
},
9715 { "wxWindow_GetCaret", (PyCFunction
) _wrap_wxWindow_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
9716 { "wxWindow_SetCaret", (PyCFunction
) _wrap_wxWindow_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
9717 { "wxWindow_GetBestSize", (PyCFunction
) _wrap_wxWindow_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
9718 { "wxWindow_GetDropTarget", (PyCFunction
) _wrap_wxWindow_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
9719 { "wxWindow_SetDropTarget", (PyCFunction
) _wrap_wxWindow_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
9720 { "wxWindow_SetValidator", (PyCFunction
) _wrap_wxWindow_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
9721 { "wxWindow_GetValidator", (PyCFunction
) _wrap_wxWindow_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
9722 { "wxWindow_GetSizer", (PyCFunction
) _wrap_wxWindow_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
9723 { "wxWindow_SetSizer", (PyCFunction
) _wrap_wxWindow_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
9724 { "wxWindow_GetToolTip", (PyCFunction
) _wrap_wxWindow_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
9725 { "wxWindow_SetToolTip", (PyCFunction
) _wrap_wxWindow_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
9726 { "wxWindow_SetToolTipString", (PyCFunction
) _wrap_wxWindow_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
9727 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
9728 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
9729 { "wxWindow_DLG_SZE", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
9730 { "wxWindow_DLG_PNT", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
9731 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
9732 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
9733 { "wxWindow_WarpPointer", (PyCFunction
) _wrap_wxWindow_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
9734 { "wxWindow_Validate", (PyCFunction
) _wrap_wxWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
},
9735 { "wxWindow_TransferDataToWindow", (PyCFunction
) _wrap_wxWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
9736 { "wxWindow_TransferDataFromWindow", (PyCFunction
) _wrap_wxWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
9737 { "wxWindow_Show", (PyCFunction
) _wrap_wxWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
9738 { "wxWindow_SetTitle", (PyCFunction
) _wrap_wxWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9739 { "wxWindow_SetExtraStyle", (PyCFunction
) _wrap_wxWindow_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
9740 { "wxWindow_SetEventHandler", (PyCFunction
) _wrap_wxWindow_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9741 { "wxWindow_SetCursor", (PyCFunction
) _wrap_wxWindow_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
9742 { "wxWindow_SetClientSize", (PyCFunction
) _wrap_wxWindow_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
9743 { "wxWindow_SetClientSizeWH", (PyCFunction
) _wrap_wxWindow_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
9744 { "wxWindow_SetSizeHints", (PyCFunction
) _wrap_wxWindow_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
9745 { "wxWindow_SetRect", (PyCFunction
) _wrap_wxWindow_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
9746 { "wxWindow_SetPosition", (PyCFunction
) _wrap_wxWindow_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
9747 { "wxWindow_SetSize", (PyCFunction
) _wrap_wxWindow_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
9748 { "wxWindow_SetDimensions", (PyCFunction
) _wrap_wxWindow_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
9749 { "wxWindow_SetScrollPos", (PyCFunction
) _wrap_wxWindow_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
9750 { "wxWindow_SetScrollbar", (PyCFunction
) _wrap_wxWindow_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
9751 { "wxWindow_SetName", (PyCFunction
) _wrap_wxWindow_SetName
, METH_VARARGS
| METH_KEYWORDS
},
9752 { "wxWindow_SetId", (PyCFunction
) _wrap_wxWindow_SetId
, METH_VARARGS
| METH_KEYWORDS
},
9753 { "wxWindow_SetForegroundColour", (PyCFunction
) _wrap_wxWindow_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9754 { "wxWindow_SetFont", (PyCFunction
) _wrap_wxWindow_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
9755 { "wxWindow_AcceptsFocus", (PyCFunction
) _wrap_wxWindow_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
9756 { "wxWindow_SetFocus", (PyCFunction
) _wrap_wxWindow_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
9757 { "wxWindow_UnsetConstraints", (PyCFunction
) _wrap_wxWindow_UnsetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
9758 { "wxWindow_SetConstraints", (PyCFunction
) _wrap_wxWindow_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
9759 { "wxWindow_SetBackgroundColour", (PyCFunction
) _wrap_wxWindow_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9760 { "wxWindow_GetAutoLayout", (PyCFunction
) _wrap_wxWindow_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
9761 { "wxWindow_SetAutoLayout", (PyCFunction
) _wrap_wxWindow_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
9762 { "wxWindow_SetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
9763 { "wxWindow_ScrollWindow", (PyCFunction
) _wrap_wxWindow_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
9764 { "wxWindow_ScreenToClient", (PyCFunction
) _wrap_wxWindow_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
9765 { "wxWindow_ScreenToClientXY", (PyCFunction
) _wrap_wxWindow_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
9766 { "wxWindow_Reparent", (PyCFunction
) _wrap_wxWindow_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
9767 { "wxWindow_RemoveChild", (PyCFunction
) _wrap_wxWindow_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
9768 { "wxWindow_ReleaseMouse", (PyCFunction
) _wrap_wxWindow_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
9769 { "wxWindow_Refresh", (PyCFunction
) _wrap_wxWindow_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
9770 { "wxWindow_Raise", (PyCFunction
) _wrap_wxWindow_Raise
, METH_VARARGS
| METH_KEYWORDS
},
9771 { "wxWindow_PopupMenu", (PyCFunction
) _wrap_wxWindow_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
9772 { "wxWindow_PopupMenuXY", (PyCFunction
) _wrap_wxWindow_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
9773 { "wxWindow_PushEventHandler", (PyCFunction
) _wrap_wxWindow_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9774 { "wxWindow_PopEventHandler", (PyCFunction
) _wrap_wxWindow_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9775 { "wxWindow_Move", (PyCFunction
) _wrap_wxWindow_Move
, METH_VARARGS
| METH_KEYWORDS
},
9776 { "wxWindow_MoveXY", (PyCFunction
) _wrap_wxWindow_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
9777 { "wxWindow_MakeModal", (PyCFunction
) _wrap_wxWindow_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
9778 { "wxWindow_Lower", (PyCFunction
) _wrap_wxWindow_Lower
, METH_VARARGS
| METH_KEYWORDS
},
9779 { "wxWindow_LoadFromResource", (PyCFunction
) _wrap_wxWindow_LoadFromResource
, METH_VARARGS
| METH_KEYWORDS
},
9780 { "wxWindow_Layout", (PyCFunction
) _wrap_wxWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
9781 { "wxWindow_IsTopLevel", (PyCFunction
) _wrap_wxWindow_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
9782 { "wxWindow_IsShown", (PyCFunction
) _wrap_wxWindow_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
9783 { "wxWindow_IsRetained", (PyCFunction
) _wrap_wxWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
9784 { "wxWindow_IsExposedRect", (PyCFunction
) _wrap_wxWindow_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
9785 { "wxWindow_IsExposedPoint", (PyCFunction
) _wrap_wxWindow_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
9786 { "wxWindow_IsExposed", (PyCFunction
) _wrap_wxWindow_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
9787 { "wxWindow_IsEnabled", (PyCFunction
) _wrap_wxWindow_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9788 { "wxWindow_InitDialog", (PyCFunction
) _wrap_wxWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
9789 { "wxWindow_Hide", (PyCFunction
) _wrap_wxWindow_Hide
, METH_VARARGS
| METH_KEYWORDS
},
9790 { "wxWindow_SetWindowStyle", (PyCFunction
) _wrap_wxWindow_SetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
9791 { "wxWindow_SetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
9792 { "wxWindow_GetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
9793 { "wxWindow_GetUpdateRegion", (PyCFunction
) _wrap_wxWindow_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
9794 { "wxWindow_GetTitle", (PyCFunction
) _wrap_wxWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9795 { "wxWindow_GetFullTextExtent", (PyCFunction
) _wrap_wxWindow_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
9796 { "wxWindow_GetTextExtent", (PyCFunction
) _wrap_wxWindow_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
9797 { "wxWindow_GetSize", (PyCFunction
) _wrap_wxWindow_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
9798 { "wxWindow_GetSizeTuple", (PyCFunction
) _wrap_wxWindow_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
9799 { "wxWindow_GetScrollRange", (PyCFunction
) _wrap_wxWindow_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
9800 { "wxWindow_GetScrollPos", (PyCFunction
) _wrap_wxWindow_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
9801 { "wxWindow_GetScrollThumb", (PyCFunction
) _wrap_wxWindow_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
9802 { "wxWindow_GetRect", (PyCFunction
) _wrap_wxWindow_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
9803 { "wxWindow_GetPosition", (PyCFunction
) _wrap_wxWindow_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
9804 { "wxWindow_GetPositionTuple", (PyCFunction
) _wrap_wxWindow_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
9805 { "wxWindow_GetParent", (PyCFunction
) _wrap_wxWindow_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
9806 { "wxWindow_GetName", (PyCFunction
) _wrap_wxWindow_GetName
, METH_VARARGS
| METH_KEYWORDS
},
9807 { "wxWindow_SetLabel", (PyCFunction
) _wrap_wxWindow_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9808 { "wxWindow_GetLabel", (PyCFunction
) _wrap_wxWindow_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9809 { "wxWindow_GetId", (PyCFunction
) _wrap_wxWindow_GetId
, METH_VARARGS
| METH_KEYWORDS
},
9810 { "wxWindow_GetHandle", (PyCFunction
) _wrap_wxWindow_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
9811 { "wxWindow_GetGrandParent", (PyCFunction
) _wrap_wxWindow_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
9812 { "wxWindow_GetForegroundColour", (PyCFunction
) _wrap_wxWindow_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9813 { "wxWindow_GetFont", (PyCFunction
) _wrap_wxWindow_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
9814 { "wxWindow_GetEventHandler", (PyCFunction
) _wrap_wxWindow_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9815 { "wxWindow_GetConstraints", (PyCFunction
) _wrap_wxWindow_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
9816 { "wxWindow_GetClientSize", (PyCFunction
) _wrap_wxWindow_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
9817 { "wxWindow_GetClientSizeTuple", (PyCFunction
) _wrap_wxWindow_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
9818 { "wxWindow_GetCharWidth", (PyCFunction
) _wrap_wxWindow_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
9819 { "wxWindow_GetCharHeight", (PyCFunction
) _wrap_wxWindow_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
9820 { "wxWindow_GetChildren", (PyCFunction
) _wrap_wxWindow_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
9821 { "wxWindow_GetBackgroundColour", (PyCFunction
) _wrap_wxWindow_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9822 { "wxWindow_Fit", (PyCFunction
) _wrap_wxWindow_Fit
, METH_VARARGS
| METH_KEYWORDS
},
9823 { "wxWindow_FindWindowByName", (PyCFunction
) _wrap_wxWindow_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
9824 { "wxWindow_FindWindowById", (PyCFunction
) _wrap_wxWindow_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
9825 { "wxWindow_Enable", (PyCFunction
) _wrap_wxWindow_Enable
, METH_VARARGS
| METH_KEYWORDS
},
9826 { "wxWindow_DestroyChildren", (PyCFunction
) _wrap_wxWindow_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
9827 { "wxWindow_Destroy", (PyCFunction
) _wrap_wxWindow_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
9828 { "wxWindow_Close", (PyCFunction
) _wrap_wxWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
9829 { "wxWindow_ClientToScreen", (PyCFunction
) _wrap_wxWindow_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
9830 { "wxWindow_ClientToScreenXY", (PyCFunction
) _wrap_wxWindow_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
9831 { "wxWindow_CenterOnScreen", (PyCFunction
) _wrap_wxWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
9832 { "wxWindow_CentreOnScreen", (PyCFunction
) _wrap_wxWindow_CentreOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
9833 { "wxWindow_CenterOnParent", (PyCFunction
) _wrap_wxWindow_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
9834 { "wxWindow_CentreOnParent", (PyCFunction
) _wrap_wxWindow_CentreOnParent
, METH_VARARGS
| METH_KEYWORDS
},
9835 { "wxWindow_Centre", (PyCFunction
) _wrap_wxWindow_Centre
, METH_VARARGS
| METH_KEYWORDS
},
9836 { "wxWindow_Center", (PyCFunction
) _wrap_wxWindow_Center
, METH_VARARGS
| METH_KEYWORDS
},
9837 { "wxWindow_CaptureMouse", (PyCFunction
) _wrap_wxWindow_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
9838 { "new_wxWindow", (PyCFunction
) _wrap_new_wxWindow
, METH_VARARGS
| METH_KEYWORDS
},
9839 { "wxPyValidator__setSelf", (PyCFunction
) _wrap_wxPyValidator__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
9840 { "wxPyValidator_Destroy", (PyCFunction
) _wrap_wxPyValidator_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
9841 { "new_wxPyValidator", (PyCFunction
) _wrap_new_wxPyValidator
, METH_VARARGS
| METH_KEYWORDS
},
9842 { "wxValidator_SetWindow", (PyCFunction
) _wrap_wxValidator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
9843 { "wxValidator_GetWindow", (PyCFunction
) _wrap_wxValidator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
9844 { "wxValidator_Clone", (PyCFunction
) _wrap_wxValidator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
9845 { "new_wxValidator", (PyCFunction
) _wrap_new_wxValidator
, METH_VARARGS
| METH_KEYWORDS
},
9846 { "wxEvtHandler_GetClassName", (PyCFunction
) _wrap_wxEvtHandler_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
9847 { "wxEvtHandler_Disconnect", (PyCFunction
) _wrap_wxEvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
9848 { "wxEvtHandler_Connect", (PyCFunction
) _wrap_wxEvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
9849 { "wxEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
9850 { "wxEvtHandler_SetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
9851 { "wxEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
9852 { "wxEvtHandler_GetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
9853 { "wxEvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9854 { "wxEvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9855 { "wxEvtHandler_AddPendingEvent", (PyCFunction
) _wrap_wxEvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
9856 { "wxEvtHandler_ProcessEvent", (PyCFunction
) _wrap_wxEvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
9857 { "new_wxEvtHandler", (PyCFunction
) _wrap_new_wxEvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
9858 { "wxWindow_PrevControlId", (PyCFunction
) _wrap_wxWindow_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
9859 { "wxWindow_NextControlId", (PyCFunction
) _wrap_wxWindow_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
9860 { "wxWindow_NewControlId", (PyCFunction
) _wrap_wxWindow_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
9861 { "wxWindow_FindFocus", (PyCFunction
) _wrap_wxWindow_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
9862 { "wxValidator_SetBellOnError", (PyCFunction
) _wrap_wxValidator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
9863 { "wxValidator_IsSilent", (PyCFunction
) _wrap_wxValidator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
9870 * This table is used by the pointer type-checker
9872 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
9873 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
9874 { "_signed_long","_long",0},
9875 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
9876 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
9877 { "_wxPrintQuality","_wxCoord",0},
9878 { "_wxPrintQuality","_int",0},
9879 { "_wxPrintQuality","_signed_int",0},
9880 { "_wxPrintQuality","_unsigned_int",0},
9881 { "_wxPrintQuality","_wxWindowID",0},
9882 { "_wxPrintQuality","_uint",0},
9883 { "_wxPrintQuality","_EBool",0},
9884 { "_wxPrintQuality","_size_t",0},
9885 { "_wxPrintQuality","_time_t",0},
9886 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
9887 { "_class_wxRegionIterator","_wxRegionIterator",0},
9888 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
9889 { "_class_wxMenuBar","_wxMenuBar",0},
9890 { "_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
9891 { "_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
9892 { "_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
9893 { "_class_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
9894 { "_class_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
9895 { "_class_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
9896 { "_class_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
9897 { "_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
9898 { "_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
9899 { "_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
9900 { "_class_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
9901 { "_class_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
9902 { "_class_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
9903 { "_class_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
9904 { "_class_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler
},
9905 { "_class_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
9906 { "_class_wxEvtHandler","_wxEvtHandler",0},
9907 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
9908 { "_wxCursor","_class_wxCursor",0},
9909 { "_wxMask","_class_wxMask",0},
9910 { "_wxPen","_class_wxPen",0},
9911 { "_byte","_unsigned_char",0},
9912 { "_wxDataObject","_class_wxDataObject",0},
9913 { "_wxColourDatabase","_class_wxColourDatabase",0},
9914 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
9915 { "_wxPyDropSource","_class_wxPyDropSource",0},
9916 { "_long","_unsigned_long",0},
9917 { "_long","_signed_long",0},
9918 { "_wxImageList","_class_wxImageList",0},
9919 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
9920 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
9921 { "_class_wxClipboard","_wxClipboard",0},
9922 { "_wxDC","_class_wxDC",0},
9923 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
9924 { "_size_t","_wxCoord",0},
9925 { "_size_t","_wxPrintQuality",0},
9926 { "_size_t","_time_t",0},
9927 { "_size_t","_unsigned_int",0},
9928 { "_size_t","_int",0},
9929 { "_size_t","_wxWindowID",0},
9930 { "_size_t","_uint",0},
9931 { "_class_wxRealPoint","_wxRealPoint",0},
9932 { "_class_wxMenuItem","_wxMenuItem",0},
9933 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
9934 { "_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
9935 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
9936 { "_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
9937 { "_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
9938 { "_wxPanel","_class_wxPanel",0},
9939 { "_class_wxMask","_wxMask",0},
9940 { "_wxTextDataObject","_class_wxTextDataObject",0},
9941 { "_wxColour","_class_wxColour",0},
9942 { "_class_wxDialog","_wxDialog",0},
9943 { "_class_wxFileDataObject","_wxFileDataObject",0},
9944 { "_class_wxDataObject","_wxDataObject",0},
9945 { "_wxBrush","_class_wxBrush",0},
9946 { "_wxDataFormat","_class_wxDataFormat",0},
9947 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
9948 { "_uint","_wxCoord",0},
9949 { "_uint","_wxPrintQuality",0},
9950 { "_uint","_time_t",0},
9951 { "_uint","_size_t",0},
9952 { "_uint","_unsigned_int",0},
9953 { "_uint","_int",0},
9954 { "_uint","_wxWindowID",0},
9955 { "_wxChar","_char",0},
9956 { "_wxPyValidator","_class_wxPyValidator",0},
9957 { "_wxRect","_class_wxRect",0},
9958 { "_wxPoint","_class_wxPoint",0},
9959 { "_char","_wxChar",0},
9960 { "_wxBitmap","_class_wxBitmap",0},
9961 { "_wxPenList","_class_wxPenList",0},
9962 { "_wxWindowDC","_class_wxWindowDC",0},
9963 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
9964 { "_class_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator
},
9965 { "_class_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
9966 { "_class_wxValidator","_wxValidator",0},
9967 { "_wxDropTarget","_class_wxDropTarget",0},
9968 { "_class_wxColourDatabase","_wxColourDatabase",0},
9969 { "_EBool","_wxCoord",0},
9970 { "_EBool","_wxPrintQuality",0},
9971 { "_EBool","_signed_int",0},
9972 { "_EBool","_int",0},
9973 { "_EBool","_wxWindowID",0},
9974 { "_class_wxRegion","_wxRegion",0},
9975 { "_class_wxDataFormat","_wxDataFormat",0},
9976 { "_wxFont","_class_wxFont",0},
9977 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
9978 { "_unsigned_long","_long",0},
9979 { "_class_wxRect","_wxRect",0},
9980 { "_class_wxDC","_wxDC",0},
9981 { "_class_wxBrushList","_wxBrushList",0},
9982 { "_class_wxPenList","_wxPenList",0},
9983 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
9984 { "_class_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
9985 { "_class_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
9986 { "_class_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
9987 { "_class_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
9988 { "_class_wxPanel","_wxPanel",0},
9989 { "_signed_int","_wxCoord",0},
9990 { "_signed_int","_wxPrintQuality",0},
9991 { "_signed_int","_EBool",0},
9992 { "_signed_int","_wxWindowID",0},
9993 { "_signed_int","_int",0},
9994 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
9995 { "_class_wxTextDataObject","_wxTextDataObject",0},
9996 { "_wxMenu","_class_wxMenu",0},
9997 { "_wxScreenDC","_class_wxScreenDC",0},
9998 { "_WXTYPE","_short",0},
9999 { "_WXTYPE","_signed_short",0},
10000 { "_WXTYPE","_unsigned_short",0},
10001 { "_class_wxDropTarget","_wxDropTarget",0},
10002 { "_class_wxBrush","_wxBrush",0},
10003 { "_unsigned_short","_WXTYPE",0},
10004 { "_unsigned_short","_short",0},
10005 { "_class_wxWindow","_class_wxMenuBar",SwigwxMenuBarTowxWindow
},
10006 { "_class_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
10007 { "_class_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
10008 { "_class_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
10009 { "_class_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
10010 { "_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
10011 { "_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
10012 { "_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
10013 { "_class_wxWindow","_wxWindow",0},
10014 { "_class_wxFont","_wxFont",0},
10015 { "_wxClipboard","_class_wxClipboard",0},
10016 { "_class_wxPyValidator","_wxPyValidator",0},
10017 { "_wxBusyInfo","_class_wxBusyInfo",0},
10018 { "_wxFontList","_class_wxFontList",0},
10019 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
10020 { "_wxClientDC","_class_wxClientDC",0},
10021 { "_class_wxPoint","_wxPoint",0},
10022 { "_wxRealPoint","_class_wxRealPoint",0},
10023 { "_signed_short","_WXTYPE",0},
10024 { "_signed_short","_short",0},
10025 { "_wxMemoryDC","_class_wxMemoryDC",0},
10026 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
10027 { "_wxPaintDC","_class_wxPaintDC",0},
10028 { "_class_wxWindowDC","_wxWindowDC",0},
10029 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
10030 { "_class_wxCursor","_wxCursor",0},
10031 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
10032 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
10033 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
10034 { "_unsigned_char","_byte",0},
10035 { "_class_wxMenu","_wxMenu",0},
10036 { "_unsigned_int","_wxCoord",0},
10037 { "_unsigned_int","_wxPrintQuality",0},
10038 { "_unsigned_int","_time_t",0},
10039 { "_unsigned_int","_size_t",0},
10040 { "_unsigned_int","_uint",0},
10041 { "_unsigned_int","_wxWindowID",0},
10042 { "_unsigned_int","_int",0},
10043 { "_wxIcon","_class_wxIcon",0},
10044 { "_wxDialog","_class_wxDialog",0},
10045 { "_class_wxPen","_wxPen",0},
10046 { "_short","_WXTYPE",0},
10047 { "_short","_unsigned_short",0},
10048 { "_short","_signed_short",0},
10049 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
10050 { "_class_wxPyDropSource","_wxPyDropSource",0},
10051 { "_class_wxImageList","_wxImageList",0},
10052 { "_wxWindowID","_wxCoord",0},
10053 { "_wxWindowID","_wxPrintQuality",0},
10054 { "_wxWindowID","_time_t",0},
10055 { "_wxWindowID","_size_t",0},
10056 { "_wxWindowID","_EBool",0},
10057 { "_wxWindowID","_uint",0},
10058 { "_wxWindowID","_int",0},
10059 { "_wxWindowID","_signed_int",0},
10060 { "_wxWindowID","_unsigned_int",0},
10061 { "_int","_wxCoord",0},
10062 { "_int","_wxPrintQuality",0},
10063 { "_int","_time_t",0},
10064 { "_int","_size_t",0},
10065 { "_int","_EBool",0},
10066 { "_int","_uint",0},
10067 { "_int","_wxWindowID",0},
10068 { "_int","_unsigned_int",0},
10069 { "_int","_signed_int",0},
10070 { "_time_t","_wxCoord",0},
10071 { "_time_t","_wxPrintQuality",0},
10072 { "_time_t","_unsigned_int",0},
10073 { "_time_t","_int",0},
10074 { "_time_t","_wxWindowID",0},
10075 { "_time_t","_uint",0},
10076 { "_time_t","_size_t",0},
10077 { "_wxSize","_class_wxSize",0},
10078 { "_wxRegionIterator","_class_wxRegionIterator",0},
10079 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
10080 { "_class_wxPaintDC","_wxPaintDC",0},
10081 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
10082 { "_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator
},
10083 { "_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
10084 { "_wxValidator","_class_wxValidator",0},
10085 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
10086 { "_class_wxIcon","_wxIcon",0},
10087 { "_class_wxColour","_wxColour",0},
10088 { "_class_wxScreenDC","_wxScreenDC",0},
10089 { "_wxPalette","_class_wxPalette",0},
10090 { "_wxCoord","_int",0},
10091 { "_wxCoord","_signed_int",0},
10092 { "_wxCoord","_unsigned_int",0},
10093 { "_wxCoord","_wxWindowID",0},
10094 { "_wxCoord","_uint",0},
10095 { "_wxCoord","_EBool",0},
10096 { "_wxCoord","_size_t",0},
10097 { "_wxCoord","_time_t",0},
10098 { "_wxCoord","_wxPrintQuality",0},
10099 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
10100 { "_wxRegion","_class_wxRegion",0},
10101 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
10102 { "_class_wxBusyInfo","_wxBusyInfo",0},
10103 { "_class_wxFontList","_wxFontList",0},
10104 { "_class_wxClientDC","_wxClientDC",0},
10105 { "_wxBrushList","_class_wxBrushList",0},
10106 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
10107 { "_class_wxSize","_wxSize",0},
10108 { "_class_wxBitmap","_wxBitmap",0},
10109 { "_class_wxMemoryDC","_wxMemoryDC",0},
10110 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
10111 { "_wxMenuBar","_class_wxMenuBar",0},
10112 { "_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
10113 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
10114 { "_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
10115 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
10116 { "_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
10117 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
10118 { "_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
10119 { "_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
10120 { "_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
10121 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
10122 { "_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
10123 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
10124 { "_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
10125 { "_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
10126 { "_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler
},
10127 { "_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
10128 { "_wxEvtHandler","_class_wxEvtHandler",0},
10129 { "_wxMenuItem","_class_wxMenuItem",0},
10130 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
10131 { "_class_wxPalette","_wxPalette",0},
10132 { "_wxFileDataObject","_class_wxFileDataObject",0},
10133 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
10134 { "_wxWindow","_class_wxMenuBar",SwigwxMenuBarTowxWindow
},
10135 { "_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
10136 { "_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
10137 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
10138 { "_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
10139 { "_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
10140 { "_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
10141 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
10142 { "_wxWindow","_class_wxWindow",0},
10145 static PyObject
*SWIG_globals
;
10149 SWIGEXPORT(void) initwindowsc() {
10151 SWIG_globals
= SWIG_newvarlink();
10152 m
= Py_InitModule("windowsc", windowscMethods
);
10153 d
= PyModule_GetDict(m
);
10156 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
10157 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);