2 * FILE : gtk/windows.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 810)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initwindowsc
54 #define SWIG_name "windowsc"
57 #include <wx/menuitem.h>
59 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
64 } else if (target
== Py_None
) {
68 if (!PyList_Check(target
)) {
70 target
= PyList_New(0);
71 PyList_Append(target
, o2
);
74 PyList_Append(target
,o
);
80 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
86 } else if (target
== Py_None
) {
90 if (!PyTuple_Check(target
)) {
92 target
= PyTuple_New(1);
93 PyTuple_SetItem(target
, 0, o2
);
96 PyTuple_SetItem(o3
, 0, o
);
99 target
= PySequence_Concat(o2
, o3
);
106 static char* wxStringErrorMsg
= "string type is required for parameter";
108 bool wxValidator_IsSilent() {
109 return wxValidator::IsSilent();
112 void wxValidator_SetBellOnError(int doIt
= TRUE
) {
113 wxValidator::SetBellOnError(doIt
);
116 class wxPyValidator
: public wxValidator
{
117 DECLARE_DYNAMIC_CLASS(wxPyValidator
);
121 // wxPyValidator(const wxPyValidator& other);
126 wxObject
* wxPyValidator::Clone() const {
127 wxPyValidator
* ptr
= NULL
;
128 wxPyValidator
* self
= (wxPyValidator
*)this;
130 bool doSave
= wxPyRestoreThread();
131 if (self
->m_myInst
.findCallback("Clone")) {
133 ro
= self
->m_myInst
.callCallbackObj(Py_BuildValue("()"));
135 SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxPyValidator_p");
139 // This is very dangerous!!! But is the only way I could find
140 // to squash a memory leak. Currently it is okay, but if the
141 // validator architecture in wxWindows ever changes, problems
145 wxPySaveThread(doSave
);
149 DEC_PYCALLBACK_BOOL_WXWIN(Validate
);
150 DEC_PYCALLBACK_BOOL_(TransferToWindow
);
151 DEC_PYCALLBACK_BOOL_(TransferFromWindow
);
157 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
158 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
159 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
161 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
164 int wxWindow_NewControlId() {
165 return wxWindow::NewControlId();
167 int wxWindow_NextControlId(int id
) {
168 return wxWindow::NextControlId(id
);
170 int wxWindow_PrevControlId(int id
) {
171 return wxWindow::PrevControlId(id
);
176 static PyObject
*_wrap_wxValidator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
177 PyObject
* _resultobj
;
179 char *_kwnames
[] = { NULL
};
182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxValidator_IsSilent",_kwnames
))
185 wxPy_BEGIN_ALLOW_THREADS
;
186 _result
= (bool )wxValidator_IsSilent();
188 wxPy_END_ALLOW_THREADS
;
189 } _resultobj
= Py_BuildValue("i",_result
);
193 static PyObject
*_wrap_wxValidator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
194 PyObject
* _resultobj
;
195 int _arg0
= (int ) TRUE
;
196 char *_kwnames
[] = { "doIt", NULL
};
199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxValidator_SetBellOnError",_kwnames
,&_arg0
))
202 wxPy_BEGIN_ALLOW_THREADS
;
203 wxValidator_SetBellOnError(_arg0
);
205 wxPy_END_ALLOW_THREADS
;
206 } Py_INCREF(Py_None
);
207 _resultobj
= Py_None
;
211 static PyObject
*_wrap_wxWindow_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
212 PyObject
* _resultobj
;
214 char *_kwnames
[] = { NULL
};
217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_NewControlId",_kwnames
))
220 wxPy_BEGIN_ALLOW_THREADS
;
221 _result
= (int )wxWindow_NewControlId();
223 wxPy_END_ALLOW_THREADS
;
224 } _resultobj
= Py_BuildValue("i",_result
);
228 static PyObject
*_wrap_wxWindow_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
229 PyObject
* _resultobj
;
232 char *_kwnames
[] = { "id", NULL
};
235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_NextControlId",_kwnames
,&_arg0
))
238 wxPy_BEGIN_ALLOW_THREADS
;
239 _result
= (int )wxWindow_NextControlId(_arg0
);
241 wxPy_END_ALLOW_THREADS
;
242 } _resultobj
= Py_BuildValue("i",_result
);
246 static PyObject
*_wrap_wxWindow_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
247 PyObject
* _resultobj
;
250 char *_kwnames
[] = { "id", NULL
};
253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_PrevControlId",_kwnames
,&_arg0
))
256 wxPy_BEGIN_ALLOW_THREADS
;
257 _result
= (int )wxWindow_PrevControlId(_arg0
);
259 wxPy_END_ALLOW_THREADS
;
260 } _resultobj
= Py_BuildValue("i",_result
);
264 #define wxEvtHandler_ProcessEvent(_swigobj,_swigarg0) (_swigobj->ProcessEvent(_swigarg0))
265 static PyObject
*_wrap_wxEvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
266 PyObject
* _resultobj
;
268 wxEvtHandler
* _arg0
;
270 PyObject
* _argo0
= 0;
271 PyObject
* _argo1
= 0;
272 char *_kwnames
[] = { "self","event", NULL
};
275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_ProcessEvent",_kwnames
,&_argo0
,&_argo1
))
278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_ProcessEvent. Expected _wxEvtHandler_p.");
285 if (_argo1
== Py_None
) { _arg1
= NULL
; }
286 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_ProcessEvent. Expected _wxEvent_p.");
292 wxPy_BEGIN_ALLOW_THREADS
;
293 _result
= (bool )wxEvtHandler_ProcessEvent(_arg0
,*_arg1
);
295 wxPy_END_ALLOW_THREADS
;
296 } _resultobj
= Py_BuildValue("i",_result
);
300 #define wxEvtHandler_AddPendingEvent(_swigobj,_swigarg0) (_swigobj->AddPendingEvent(_swigarg0))
301 static PyObject
*_wrap_wxEvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
302 PyObject
* _resultobj
;
303 wxEvtHandler
* _arg0
;
305 PyObject
* _argo0
= 0;
306 PyObject
* _argo1
= 0;
307 char *_kwnames
[] = { "self","event", NULL
};
310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_AddPendingEvent",_kwnames
,&_argo0
,&_argo1
))
313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_AddPendingEvent. Expected _wxEvtHandler_p.");
320 if (_argo1
== Py_None
) { _arg1
= NULL
; }
321 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_AddPendingEvent. Expected _wxEvent_p.");
327 wxPy_BEGIN_ALLOW_THREADS
;
328 wxEvtHandler_AddPendingEvent(_arg0
,*_arg1
);
330 wxPy_END_ALLOW_THREADS
;
331 } Py_INCREF(Py_None
);
332 _resultobj
= Py_None
;
336 #define wxEvtHandler_GetEvtHandlerEnabled(_swigobj) (_swigobj->GetEvtHandlerEnabled())
337 static PyObject
*_wrap_wxEvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
338 PyObject
* _resultobj
;
340 wxEvtHandler
* _arg0
;
341 PyObject
* _argo0
= 0;
342 char *_kwnames
[] = { "self", NULL
};
345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetEvtHandlerEnabled",_kwnames
,&_argo0
))
348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
355 wxPy_BEGIN_ALLOW_THREADS
;
356 _result
= (bool )wxEvtHandler_GetEvtHandlerEnabled(_arg0
);
358 wxPy_END_ALLOW_THREADS
;
359 } _resultobj
= Py_BuildValue("i",_result
);
363 #define wxEvtHandler_SetEvtHandlerEnabled(_swigobj,_swigarg0) (_swigobj->SetEvtHandlerEnabled(_swigarg0))
364 static PyObject
*_wrap_wxEvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
365 PyObject
* _resultobj
;
366 wxEvtHandler
* _arg0
;
368 PyObject
* _argo0
= 0;
370 char *_kwnames
[] = { "self","enabled", NULL
};
373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxEvtHandler_SetEvtHandlerEnabled",_kwnames
,&_argo0
,&tempbool1
))
376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
382 _arg1
= (bool ) tempbool1
;
384 wxPy_BEGIN_ALLOW_THREADS
;
385 wxEvtHandler_SetEvtHandlerEnabled(_arg0
,_arg1
);
387 wxPy_END_ALLOW_THREADS
;
388 } Py_INCREF(Py_None
);
389 _resultobj
= Py_None
;
393 #define wxEvtHandler_GetNextHandler(_swigobj) (_swigobj->GetNextHandler())
394 static PyObject
*_wrap_wxEvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
395 PyObject
* _resultobj
;
396 wxEvtHandler
* _result
;
397 wxEvtHandler
* _arg0
;
398 PyObject
* _argo0
= 0;
399 char *_kwnames
[] = { "self", NULL
};
403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetNextHandler",_kwnames
,&_argo0
))
406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetNextHandler. Expected _wxEvtHandler_p.");
413 wxPy_BEGIN_ALLOW_THREADS
;
414 _result
= (wxEvtHandler
*)wxEvtHandler_GetNextHandler(_arg0
);
416 wxPy_END_ALLOW_THREADS
;
418 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
419 _resultobj
= Py_BuildValue("s",_ptemp
);
422 _resultobj
= Py_None
;
427 #define wxEvtHandler_GetPreviousHandler(_swigobj) (_swigobj->GetPreviousHandler())
428 static PyObject
*_wrap_wxEvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
429 PyObject
* _resultobj
;
430 wxEvtHandler
* _result
;
431 wxEvtHandler
* _arg0
;
432 PyObject
* _argo0
= 0;
433 char *_kwnames
[] = { "self", NULL
};
437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetPreviousHandler",_kwnames
,&_argo0
))
440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetPreviousHandler. Expected _wxEvtHandler_p.");
447 wxPy_BEGIN_ALLOW_THREADS
;
448 _result
= (wxEvtHandler
*)wxEvtHandler_GetPreviousHandler(_arg0
);
450 wxPy_END_ALLOW_THREADS
;
452 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
453 _resultobj
= Py_BuildValue("s",_ptemp
);
456 _resultobj
= Py_None
;
461 #define wxEvtHandler_SetNextHandler(_swigobj,_swigarg0) (_swigobj->SetNextHandler(_swigarg0))
462 static PyObject
*_wrap_wxEvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
463 PyObject
* _resultobj
;
464 wxEvtHandler
* _arg0
;
465 wxEvtHandler
* _arg1
;
466 PyObject
* _argo0
= 0;
467 PyObject
* _argo1
= 0;
468 char *_kwnames
[] = { "self","handler", NULL
};
471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetNextHandler",_kwnames
,&_argo0
,&_argo1
))
474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
481 if (_argo1
== Py_None
) { _arg1
= NULL
; }
482 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
488 wxPy_BEGIN_ALLOW_THREADS
;
489 wxEvtHandler_SetNextHandler(_arg0
,_arg1
);
491 wxPy_END_ALLOW_THREADS
;
492 } Py_INCREF(Py_None
);
493 _resultobj
= Py_None
;
497 #define wxEvtHandler_SetPreviousHandler(_swigobj,_swigarg0) (_swigobj->SetPreviousHandler(_swigarg0))
498 static PyObject
*_wrap_wxEvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
499 PyObject
* _resultobj
;
500 wxEvtHandler
* _arg0
;
501 wxEvtHandler
* _arg1
;
502 PyObject
* _argo0
= 0;
503 PyObject
* _argo1
= 0;
504 char *_kwnames
[] = { "self","handler", NULL
};
507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetPreviousHandler",_kwnames
,&_argo0
,&_argo1
))
510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
517 if (_argo1
== Py_None
) { _arg1
= NULL
; }
518 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
524 wxPy_BEGIN_ALLOW_THREADS
;
525 wxEvtHandler_SetPreviousHandler(_arg0
,_arg1
);
527 wxPy_END_ALLOW_THREADS
;
528 } Py_INCREF(Py_None
);
529 _resultobj
= Py_None
;
533 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
* func
) {
534 if (PyCallable_Check(func
)) {
535 self
->Connect(id
, lastId
, eventType
,
536 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
537 new wxPyCallback(func
));
540 static PyObject
*_wrap_wxEvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
541 PyObject
* _resultobj
;
542 wxEvtHandler
* _arg0
;
547 PyObject
* _argo0
= 0;
548 PyObject
* _obj4
= 0;
549 char *_kwnames
[] = { "self","id","lastId","eventType","func", NULL
};
552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiiO:wxEvtHandler_Connect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
565 wxPy_BEGIN_ALLOW_THREADS
;
566 wxEvtHandler_Connect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
568 wxPy_END_ALLOW_THREADS
;
569 } Py_INCREF(Py_None
);
570 _resultobj
= Py_None
;
574 static bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
) {
575 return self
->Disconnect(id
, lastId
, eventType
,
576 (wxObjectEventFunction
)
577 &wxPyCallback::EventThunker
);
579 static PyObject
*_wrap_wxEvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
580 PyObject
* _resultobj
;
582 wxEvtHandler
* _arg0
;
584 int _arg2
= (int ) -1;
585 wxEventType _arg3
= (wxEventType
) wxEVT_NULL
;
586 PyObject
* _argo0
= 0;
587 char *_kwnames
[] = { "self","id","lastId","eventType", NULL
};
590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxEvtHandler_Disconnect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Disconnect. Expected _wxEvtHandler_p.");
600 wxPy_BEGIN_ALLOW_THREADS
;
601 _result
= (bool )wxEvtHandler_Disconnect(_arg0
,_arg1
,_arg2
,_arg3
);
603 wxPy_END_ALLOW_THREADS
;
604 } _resultobj
= Py_BuildValue("i",_result
);
608 static void *SwigwxValidatorTowxEvtHandler(void *ptr
) {
611 src
= (wxValidator
*) ptr
;
612 dest
= (wxEvtHandler
*) src
;
613 return (void *) dest
;
616 #define new_wxValidator() (new wxValidator())
617 static PyObject
*_wrap_new_wxValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
618 PyObject
* _resultobj
;
619 wxValidator
* _result
;
620 char *_kwnames
[] = { NULL
};
624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxValidator",_kwnames
))
627 wxPy_BEGIN_ALLOW_THREADS
;
628 _result
= (wxValidator
*)new_wxValidator();
630 wxPy_END_ALLOW_THREADS
;
632 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
633 _resultobj
= Py_BuildValue("s",_ptemp
);
636 _resultobj
= Py_None
;
641 #define wxValidator_Clone(_swigobj) (_swigobj->Clone())
642 static PyObject
*_wrap_wxValidator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
643 PyObject
* _resultobj
;
644 wxValidator
* _result
;
646 PyObject
* _argo0
= 0;
647 char *_kwnames
[] = { "self", NULL
};
651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_Clone",_kwnames
,&_argo0
))
654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_Clone. Expected _wxValidator_p.");
661 wxPy_BEGIN_ALLOW_THREADS
;
662 _result
= (wxValidator
*)wxValidator_Clone(_arg0
);
664 wxPy_END_ALLOW_THREADS
;
666 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
667 _resultobj
= Py_BuildValue("s",_ptemp
);
670 _resultobj
= Py_None
;
675 #define wxValidator_GetWindow(_swigobj) (_swigobj->GetWindow())
676 static PyObject
*_wrap_wxValidator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
677 PyObject
* _resultobj
;
680 PyObject
* _argo0
= 0;
681 char *_kwnames
[] = { "self", NULL
};
685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_GetWindow",_kwnames
,&_argo0
))
688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_GetWindow. Expected _wxValidator_p.");
695 wxPy_BEGIN_ALLOW_THREADS
;
696 _result
= (wxWindow
*)wxValidator_GetWindow(_arg0
);
698 wxPy_END_ALLOW_THREADS
;
700 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
701 _resultobj
= Py_BuildValue("s",_ptemp
);
704 _resultobj
= Py_None
;
709 #define wxValidator_SetWindow(_swigobj,_swigarg0) (_swigobj->SetWindow(_swigarg0))
710 static PyObject
*_wrap_wxValidator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
711 PyObject
* _resultobj
;
714 PyObject
* _argo0
= 0;
715 PyObject
* _argo1
= 0;
716 char *_kwnames
[] = { "self","window", NULL
};
719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxValidator_SetWindow",_kwnames
,&_argo0
,&_argo1
))
722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_SetWindow. Expected _wxValidator_p.");
729 if (_argo1
== Py_None
) { _arg1
= NULL
; }
730 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxValidator_SetWindow. Expected _wxWindow_p.");
736 wxPy_BEGIN_ALLOW_THREADS
;
737 wxValidator_SetWindow(_arg0
,_arg1
);
739 wxPy_END_ALLOW_THREADS
;
740 } Py_INCREF(Py_None
);
741 _resultobj
= Py_None
;
745 static void *SwigwxPyValidatorTowxValidator(void *ptr
) {
748 src
= (wxPyValidator
*) ptr
;
749 dest
= (wxValidator
*) src
;
750 return (void *) dest
;
753 static void *SwigwxPyValidatorTowxEvtHandler(void *ptr
) {
756 src
= (wxPyValidator
*) ptr
;
757 dest
= (wxEvtHandler
*) src
;
758 return (void *) dest
;
761 #define new_wxPyValidator() (new wxPyValidator())
762 static PyObject
*_wrap_new_wxPyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
763 PyObject
* _resultobj
;
764 wxPyValidator
* _result
;
765 char *_kwnames
[] = { NULL
};
769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyValidator",_kwnames
))
772 wxPy_BEGIN_ALLOW_THREADS
;
773 _result
= (wxPyValidator
*)new_wxPyValidator();
775 wxPy_END_ALLOW_THREADS
;
777 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyValidator_p");
778 _resultobj
= Py_BuildValue("s",_ptemp
);
781 _resultobj
= Py_None
;
786 static void wxPyValidator_Destroy(wxPyValidator
*self
) { delete self
; }
787 static PyObject
*_wrap_wxPyValidator_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
788 PyObject
* _resultobj
;
789 wxPyValidator
* _arg0
;
790 PyObject
* _argo0
= 0;
791 char *_kwnames
[] = { "self", NULL
};
794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyValidator_Destroy",_kwnames
,&_argo0
))
797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyValidator_p")) {
799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyValidator_Destroy. Expected _wxPyValidator_p.");
804 wxPy_BEGIN_ALLOW_THREADS
;
805 wxPyValidator_Destroy(_arg0
);
807 wxPy_END_ALLOW_THREADS
;
808 } Py_INCREF(Py_None
);
809 _resultobj
= Py_None
;
813 #define wxPyValidator__setSelf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->_setSelf(_swigarg0,_swigarg1,_swigarg2))
814 static PyObject
*_wrap_wxPyValidator__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
815 PyObject
* _resultobj
;
816 wxPyValidator
* _arg0
;
819 int _arg3
= (int ) TRUE
;
820 PyObject
* _argo0
= 0;
821 PyObject
* _obj1
= 0;
822 PyObject
* _obj2
= 0;
823 char *_kwnames
[] = { "self","self","_class","incref", NULL
};
826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPyValidator__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
))
829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyValidator_p")) {
831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyValidator__setSelf. Expected _wxPyValidator_p.");
842 wxPy_BEGIN_ALLOW_THREADS
;
843 wxPyValidator__setSelf(_arg0
,_arg1
,_arg2
,_arg3
);
845 wxPy_END_ALLOW_THREADS
;
846 } Py_INCREF(Py_None
);
847 _resultobj
= Py_None
;
851 static void *SwigwxWindowTowxEvtHandler(void *ptr
) {
854 src
= (wxWindow
*) ptr
;
855 dest
= (wxEvtHandler
*) src
;
856 return (void *) dest
;
859 #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
860 static PyObject
*_wrap_new_wxWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
861 PyObject
* _resultobj
;
865 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
866 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
867 long _arg4
= (long ) 0;
868 char * _arg5
= (char *) "panel";
869 PyObject
* _argo0
= 0;
871 PyObject
* _obj2
= 0;
873 PyObject
* _obj3
= 0;
874 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
890 if (! wxPoint_helper(_obj2
, &_arg2
))
896 if (! wxSize_helper(_obj3
, &_arg3
))
900 wxPy_BEGIN_ALLOW_THREADS
;
901 _result
= (wxWindow
*)new_wxWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
903 wxPy_END_ALLOW_THREADS
;
905 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
906 _resultobj
= Py_BuildValue("s",_ptemp
);
909 _resultobj
= Py_None
;
914 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
915 static PyObject
*_wrap_wxWindow_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
916 PyObject
* _resultobj
;
918 PyObject
* _argo0
= 0;
919 char *_kwnames
[] = { "self", NULL
};
922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_CaptureMouse",_kwnames
,&_argo0
))
925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
932 wxPy_BEGIN_ALLOW_THREADS
;
933 wxWindow_CaptureMouse(_arg0
);
935 wxPy_END_ALLOW_THREADS
;
936 } Py_INCREF(Py_None
);
937 _resultobj
= Py_None
;
941 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
942 static PyObject
*_wrap_wxWindow_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
943 PyObject
* _resultobj
;
945 int _arg1
= (int ) wxBOTH
;
946 PyObject
* _argo0
= 0;
947 char *_kwnames
[] = { "self","direction", NULL
};
950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Center",_kwnames
,&_argo0
,&_arg1
))
953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
960 wxPy_BEGIN_ALLOW_THREADS
;
961 wxWindow_Center(_arg0
,_arg1
);
963 wxPy_END_ALLOW_THREADS
;
964 } Py_INCREF(Py_None
);
965 _resultobj
= Py_None
;
969 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
970 static PyObject
*_wrap_wxWindow_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
971 PyObject
* _resultobj
;
973 int _arg1
= (int ) wxBOTH
;
974 PyObject
* _argo0
= 0;
975 char *_kwnames
[] = { "self","direction", NULL
};
978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Centre",_kwnames
,&_argo0
,&_arg1
))
981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
988 wxPy_BEGIN_ALLOW_THREADS
;
989 wxWindow_Centre(_arg0
,_arg1
);
991 wxPy_END_ALLOW_THREADS
;
992 } Py_INCREF(Py_None
);
993 _resultobj
= Py_None
;
997 #define wxWindow_CentreOnParent(_swigobj,_swigarg0) (_swigobj->CentreOnParent(_swigarg0))
998 static PyObject
*_wrap_wxWindow_CentreOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
999 PyObject
* _resultobj
;
1001 int _arg1
= (int ) wxBOTH
;
1002 PyObject
* _argo0
= 0;
1003 char *_kwnames
[] = { "self","direction", NULL
};
1006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnParent",_kwnames
,&_argo0
,&_arg1
))
1009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnParent. Expected _wxWindow_p.");
1016 wxPy_BEGIN_ALLOW_THREADS
;
1017 wxWindow_CentreOnParent(_arg0
,_arg1
);
1019 wxPy_END_ALLOW_THREADS
;
1020 } Py_INCREF(Py_None
);
1021 _resultobj
= Py_None
;
1025 #define wxWindow_CenterOnParent(_swigobj,_swigarg0) (_swigobj->CenterOnParent(_swigarg0))
1026 static PyObject
*_wrap_wxWindow_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1027 PyObject
* _resultobj
;
1029 int _arg1
= (int ) wxBOTH
;
1030 PyObject
* _argo0
= 0;
1031 char *_kwnames
[] = { "self","direction", NULL
};
1034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnParent",_kwnames
,&_argo0
,&_arg1
))
1037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnParent. Expected _wxWindow_p.");
1044 wxPy_BEGIN_ALLOW_THREADS
;
1045 wxWindow_CenterOnParent(_arg0
,_arg1
);
1047 wxPy_END_ALLOW_THREADS
;
1048 } Py_INCREF(Py_None
);
1049 _resultobj
= Py_None
;
1053 #define wxWindow_CentreOnScreen(_swigobj,_swigarg0) (_swigobj->CentreOnScreen(_swigarg0))
1054 static PyObject
*_wrap_wxWindow_CentreOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1055 PyObject
* _resultobj
;
1057 int _arg1
= (int ) wxBOTH
;
1058 PyObject
* _argo0
= 0;
1059 char *_kwnames
[] = { "self","direction", NULL
};
1062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnScreen",_kwnames
,&_argo0
,&_arg1
))
1065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnScreen. Expected _wxWindow_p.");
1072 wxPy_BEGIN_ALLOW_THREADS
;
1073 wxWindow_CentreOnScreen(_arg0
,_arg1
);
1075 wxPy_END_ALLOW_THREADS
;
1076 } Py_INCREF(Py_None
);
1077 _resultobj
= Py_None
;
1081 #define wxWindow_CenterOnScreen(_swigobj,_swigarg0) (_swigobj->CenterOnScreen(_swigarg0))
1082 static PyObject
*_wrap_wxWindow_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1083 PyObject
* _resultobj
;
1085 int _arg1
= (int ) wxBOTH
;
1086 PyObject
* _argo0
= 0;
1087 char *_kwnames
[] = { "self","direction", NULL
};
1090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnScreen",_kwnames
,&_argo0
,&_arg1
))
1093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnScreen. Expected _wxWindow_p.");
1100 wxPy_BEGIN_ALLOW_THREADS
;
1101 wxWindow_CenterOnScreen(_arg0
,_arg1
);
1103 wxPy_END_ALLOW_THREADS
;
1104 } Py_INCREF(Py_None
);
1105 _resultobj
= Py_None
;
1109 #define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
1110 static PyObject
*_wrap_wxWindow_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1111 PyObject
* _resultobj
;
1115 PyObject
* _argo0
= 0;
1117 PyObject
* _obj1
= 0;
1119 PyObject
* _obj2
= 0;
1120 char *_kwnames
[] = { "self","x","y", NULL
};
1123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ClientToScreenXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
1133 temp
= (int) PyInt_AsLong(_obj1
);
1137 temp0
= (int) PyInt_AsLong(_obj2
);
1141 wxPy_BEGIN_ALLOW_THREADS
;
1142 wxWindow_ClientToScreenXY(_arg0
,_arg1
,_arg2
);
1144 wxPy_END_ALLOW_THREADS
;
1145 } Py_INCREF(Py_None
);
1146 _resultobj
= Py_None
;
1149 o
= PyInt_FromLong((long) (*_arg1
));
1150 _resultobj
= t_output_helper(_resultobj
, o
);
1154 o
= PyInt_FromLong((long) (*_arg2
));
1155 _resultobj
= t_output_helper(_resultobj
, o
);
1160 #define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
1161 static PyObject
*_wrap_wxWindow_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1162 PyObject
* _resultobj
;
1166 PyObject
* _argo0
= 0;
1168 PyObject
* _obj1
= 0;
1169 char *_kwnames
[] = { "self","pt", NULL
};
1173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ClientToScreen",_kwnames
,&_argo0
,&_obj1
))
1176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
1184 if (! wxPoint_helper(_obj1
, &_arg1
))
1188 wxPy_BEGIN_ALLOW_THREADS
;
1189 _result
= new wxPoint (wxWindow_ClientToScreen(_arg0
,*_arg1
));
1191 wxPy_END_ALLOW_THREADS
;
1192 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1193 _resultobj
= Py_BuildValue("s",_ptemp
);
1197 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
1198 static PyObject
*_wrap_wxWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1199 PyObject
* _resultobj
;
1202 int _arg1
= (int ) FALSE
;
1203 PyObject
* _argo0
= 0;
1204 char *_kwnames
[] = { "self","force", NULL
};
1207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Close",_kwnames
,&_argo0
,&_arg1
))
1210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
1217 wxPy_BEGIN_ALLOW_THREADS
;
1218 _result
= (bool )wxWindow_Close(_arg0
,_arg1
);
1220 wxPy_END_ALLOW_THREADS
;
1221 } _resultobj
= Py_BuildValue("i",_result
);
1225 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
1226 static PyObject
*_wrap_wxWindow_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1227 PyObject
* _resultobj
;
1230 PyObject
* _argo0
= 0;
1231 char *_kwnames
[] = { "self", NULL
};
1234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Destroy",_kwnames
,&_argo0
))
1237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
1244 wxPy_BEGIN_ALLOW_THREADS
;
1245 _result
= (bool )wxWindow_Destroy(_arg0
);
1247 wxPy_END_ALLOW_THREADS
;
1248 } _resultobj
= Py_BuildValue("i",_result
);
1252 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
1253 static PyObject
*_wrap_wxWindow_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1254 PyObject
* _resultobj
;
1256 PyObject
* _argo0
= 0;
1257 char *_kwnames
[] = { "self", NULL
};
1260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_DestroyChildren",_kwnames
,&_argo0
))
1263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
1270 wxPy_BEGIN_ALLOW_THREADS
;
1271 wxWindow_DestroyChildren(_arg0
);
1273 wxPy_END_ALLOW_THREADS
;
1274 } Py_INCREF(Py_None
);
1275 _resultobj
= Py_None
;
1279 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
1280 static PyObject
*_wrap_wxWindow_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1281 PyObject
* _resultobj
;
1284 PyObject
* _argo0
= 0;
1286 char *_kwnames
[] = { "self","enable", NULL
};
1289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Enable",_kwnames
,&_argo0
,&tempbool1
))
1292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
1298 _arg1
= (bool ) tempbool1
;
1300 wxPy_BEGIN_ALLOW_THREADS
;
1301 wxWindow_Enable(_arg0
,_arg1
);
1303 wxPy_END_ALLOW_THREADS
;
1304 } Py_INCREF(Py_None
);
1305 _resultobj
= Py_None
;
1309 #define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1310 static PyObject
*_wrap_wxWindow_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1311 PyObject
* _resultobj
;
1315 PyObject
* _argo0
= 0;
1316 char *_kwnames
[] = { "self","id", NULL
};
1320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_FindWindowById",_kwnames
,&_argo0
,&_arg1
))
1323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
1330 wxPy_BEGIN_ALLOW_THREADS
;
1331 _result
= (wxWindow
*)wxWindow_FindWindowById(_arg0
,_arg1
);
1333 wxPy_END_ALLOW_THREADS
;
1335 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1336 _resultobj
= Py_BuildValue("s",_ptemp
);
1339 _resultobj
= Py_None
;
1344 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1345 static PyObject
*_wrap_wxWindow_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1346 PyObject
* _resultobj
;
1350 PyObject
* _argo0
= 0;
1351 PyObject
* _obj1
= 0;
1352 char *_kwnames
[] = { "self","name", NULL
};
1356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_FindWindowByName",_kwnames
,&_argo0
,&_obj1
))
1359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
1366 if (!PyString_Check(_obj1
)) {
1367 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1370 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1373 wxPy_BEGIN_ALLOW_THREADS
;
1374 _result
= (wxWindow
*)wxWindow_FindWindowByName(_arg0
,*_arg1
);
1376 wxPy_END_ALLOW_THREADS
;
1378 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1379 _resultobj
= Py_BuildValue("s",_ptemp
);
1382 _resultobj
= Py_None
;
1391 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
1392 static PyObject
*_wrap_wxWindow_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1393 PyObject
* _resultobj
;
1395 PyObject
* _argo0
= 0;
1396 char *_kwnames
[] = { "self", NULL
};
1399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Fit",_kwnames
,&_argo0
))
1402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
1409 wxPy_BEGIN_ALLOW_THREADS
;
1410 wxWindow_Fit(_arg0
);
1412 wxPy_END_ALLOW_THREADS
;
1413 } Py_INCREF(Py_None
);
1414 _resultobj
= Py_None
;
1418 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1419 static PyObject
*_wrap_wxWindow_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1420 PyObject
* _resultobj
;
1423 PyObject
* _argo0
= 0;
1424 char *_kwnames
[] = { "self", NULL
};
1428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBackgroundColour",_kwnames
,&_argo0
))
1431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
1438 wxPy_BEGIN_ALLOW_THREADS
;
1439 _result
= new wxColour (wxWindow_GetBackgroundColour(_arg0
));
1441 wxPy_END_ALLOW_THREADS
;
1442 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1443 _resultobj
= Py_BuildValue("s",_ptemp
);
1447 static PyObject
* wxWindow_GetChildren(wxWindow
*self
) {
1448 wxWindowList
& list
= self
->GetChildren();
1449 return wxPy_ConvertList(&list
, "wxWindow");
1451 static PyObject
*_wrap_wxWindow_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1452 PyObject
* _resultobj
;
1455 PyObject
* _argo0
= 0;
1456 char *_kwnames
[] = { "self", NULL
};
1459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetChildren",_kwnames
,&_argo0
))
1462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetChildren. Expected _wxWindow_p.");
1469 wxPy_BEGIN_ALLOW_THREADS
;
1470 _result
= (PyObject
*)wxWindow_GetChildren(_arg0
);
1472 wxPy_END_ALLOW_THREADS
;
1474 _resultobj
= _result
;
1479 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1480 static PyObject
*_wrap_wxWindow_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1481 PyObject
* _resultobj
;
1484 PyObject
* _argo0
= 0;
1485 char *_kwnames
[] = { "self", NULL
};
1488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharHeight",_kwnames
,&_argo0
))
1491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
1498 wxPy_BEGIN_ALLOW_THREADS
;
1499 _result
= (int )wxWindow_GetCharHeight(_arg0
);
1501 wxPy_END_ALLOW_THREADS
;
1502 } _resultobj
= Py_BuildValue("i",_result
);
1506 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1507 static PyObject
*_wrap_wxWindow_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1508 PyObject
* _resultobj
;
1511 PyObject
* _argo0
= 0;
1512 char *_kwnames
[] = { "self", NULL
};
1515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharWidth",_kwnames
,&_argo0
))
1518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
1525 wxPy_BEGIN_ALLOW_THREADS
;
1526 _result
= (int )wxWindow_GetCharWidth(_arg0
);
1528 wxPy_END_ALLOW_THREADS
;
1529 } _resultobj
= Py_BuildValue("i",_result
);
1533 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
1534 static PyObject
*_wrap_wxWindow_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1535 PyObject
* _resultobj
;
1541 PyObject
* _argo0
= 0;
1542 char *_kwnames
[] = { "self", NULL
};
1551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSizeTuple",_kwnames
,&_argo0
))
1554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
1561 wxPy_BEGIN_ALLOW_THREADS
;
1562 wxWindow_GetClientSizeTuple(_arg0
,_arg1
,_arg2
);
1564 wxPy_END_ALLOW_THREADS
;
1565 } Py_INCREF(Py_None
);
1566 _resultobj
= Py_None
;
1569 o
= PyInt_FromLong((long) (*_arg1
));
1570 _resultobj
= t_output_helper(_resultobj
, o
);
1574 o
= PyInt_FromLong((long) (*_arg2
));
1575 _resultobj
= t_output_helper(_resultobj
, o
);
1580 #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
1581 static PyObject
*_wrap_wxWindow_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1582 PyObject
* _resultobj
;
1585 PyObject
* _argo0
= 0;
1586 char *_kwnames
[] = { "self", NULL
};
1590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSize",_kwnames
,&_argo0
))
1593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
1600 wxPy_BEGIN_ALLOW_THREADS
;
1601 _result
= new wxSize (wxWindow_GetClientSize(_arg0
));
1603 wxPy_END_ALLOW_THREADS
;
1604 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1605 _resultobj
= Py_BuildValue("s",_ptemp
);
1609 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
1610 static PyObject
*_wrap_wxWindow_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1611 PyObject
* _resultobj
;
1612 wxLayoutConstraints
* _result
;
1614 PyObject
* _argo0
= 0;
1615 char *_kwnames
[] = { "self", NULL
};
1619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetConstraints",_kwnames
,&_argo0
))
1622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
1629 wxPy_BEGIN_ALLOW_THREADS
;
1630 _result
= (wxLayoutConstraints
*)wxWindow_GetConstraints(_arg0
);
1632 wxPy_END_ALLOW_THREADS
;
1634 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
1635 _resultobj
= Py_BuildValue("s",_ptemp
);
1638 _resultobj
= Py_None
;
1643 #define wxWindow_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
1644 static PyObject
*_wrap_wxWindow_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1645 PyObject
* _resultobj
;
1646 wxEvtHandler
* _result
;
1648 PyObject
* _argo0
= 0;
1649 char *_kwnames
[] = { "self", NULL
};
1653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetEventHandler",_kwnames
,&_argo0
))
1656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetEventHandler. Expected _wxWindow_p.");
1663 wxPy_BEGIN_ALLOW_THREADS
;
1664 _result
= (wxEvtHandler
*)wxWindow_GetEventHandler(_arg0
);
1666 wxPy_END_ALLOW_THREADS
;
1668 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
1669 _resultobj
= Py_BuildValue("s",_ptemp
);
1672 _resultobj
= Py_None
;
1677 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
1678 static PyObject
*_wrap_wxWindow_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1679 PyObject
* _resultobj
;
1682 PyObject
* _argo0
= 0;
1683 char *_kwnames
[] = { "self", NULL
};
1687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetFont",_kwnames
,&_argo0
))
1690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
1697 wxPy_BEGIN_ALLOW_THREADS
;
1698 wxFont
& _result_ref
= wxWindow_GetFont(_arg0
);
1699 _result
= (wxFont
*) &_result_ref
;
1701 wxPy_END_ALLOW_THREADS
;
1703 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1704 _resultobj
= Py_BuildValue("s",_ptemp
);
1707 _resultobj
= Py_None
;
1712 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
1713 static PyObject
*_wrap_wxWindow_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1714 PyObject
* _resultobj
;
1717 PyObject
* _argo0
= 0;
1718 char *_kwnames
[] = { "self", NULL
};
1722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetForegroundColour",_kwnames
,&_argo0
))
1725 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1726 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
1732 wxPy_BEGIN_ALLOW_THREADS
;
1733 _result
= new wxColour (wxWindow_GetForegroundColour(_arg0
));
1735 wxPy_END_ALLOW_THREADS
;
1736 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1737 _resultobj
= Py_BuildValue("s",_ptemp
);
1741 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
1742 static PyObject
*_wrap_wxWindow_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1743 PyObject
* _resultobj
;
1746 PyObject
* _argo0
= 0;
1747 char *_kwnames
[] = { "self", NULL
};
1751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetGrandParent",_kwnames
,&_argo0
))
1754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
1761 wxPy_BEGIN_ALLOW_THREADS
;
1762 _result
= (wxWindow
*)wxWindow_GetGrandParent(_arg0
);
1764 wxPy_END_ALLOW_THREADS
;
1766 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1767 _resultobj
= Py_BuildValue("s",_ptemp
);
1770 _resultobj
= Py_None
;
1775 static long wxWindow_GetHandle(wxWindow
*self
) {
1776 return wxPyGetWinHandle(self
); //(long)self->GetHandle();
1778 static PyObject
*_wrap_wxWindow_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1779 PyObject
* _resultobj
;
1782 PyObject
* _argo0
= 0;
1783 char *_kwnames
[] = { "self", NULL
};
1786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetHandle",_kwnames
,&_argo0
))
1789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetHandle. Expected _wxWindow_p.");
1796 wxPy_BEGIN_ALLOW_THREADS
;
1797 _result
= (long )wxWindow_GetHandle(_arg0
);
1799 wxPy_END_ALLOW_THREADS
;
1800 } _resultobj
= Py_BuildValue("l",_result
);
1804 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
1805 static PyObject
*_wrap_wxWindow_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1806 PyObject
* _resultobj
;
1809 PyObject
* _argo0
= 0;
1810 char *_kwnames
[] = { "self", NULL
};
1813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetId",_kwnames
,&_argo0
))
1816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
1823 wxPy_BEGIN_ALLOW_THREADS
;
1824 _result
= (int )wxWindow_GetId(_arg0
);
1826 wxPy_END_ALLOW_THREADS
;
1827 } _resultobj
= Py_BuildValue("i",_result
);
1831 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
1832 static PyObject
*_wrap_wxWindow_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1833 PyObject
* _resultobj
;
1836 PyObject
* _argo0
= 0;
1837 char *_kwnames
[] = { "self", NULL
};
1840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetLabel",_kwnames
,&_argo0
))
1843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
1850 wxPy_BEGIN_ALLOW_THREADS
;
1851 _result
= new wxString (wxWindow_GetLabel(_arg0
));
1853 wxPy_END_ALLOW_THREADS
;
1855 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1863 #define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
1864 static PyObject
*_wrap_wxWindow_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1865 PyObject
* _resultobj
;
1868 PyObject
* _argo0
= 0;
1869 PyObject
* _obj1
= 0;
1870 char *_kwnames
[] = { "self","label", NULL
};
1873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetLabel",_kwnames
,&_argo0
,&_obj1
))
1876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
1883 if (!PyString_Check(_obj1
)) {
1884 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1887 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1890 wxPy_BEGIN_ALLOW_THREADS
;
1891 wxWindow_SetLabel(_arg0
,*_arg1
);
1893 wxPy_END_ALLOW_THREADS
;
1894 } Py_INCREF(Py_None
);
1895 _resultobj
= Py_None
;
1903 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
1904 static PyObject
*_wrap_wxWindow_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1905 PyObject
* _resultobj
;
1908 PyObject
* _argo0
= 0;
1909 char *_kwnames
[] = { "self", NULL
};
1912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetName",_kwnames
,&_argo0
))
1915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
1922 wxPy_BEGIN_ALLOW_THREADS
;
1923 _result
= new wxString (wxWindow_GetName(_arg0
));
1925 wxPy_END_ALLOW_THREADS
;
1927 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1935 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
1936 static PyObject
*_wrap_wxWindow_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1937 PyObject
* _resultobj
;
1940 PyObject
* _argo0
= 0;
1941 char *_kwnames
[] = { "self", NULL
};
1945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetParent",_kwnames
,&_argo0
))
1948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
1955 wxPy_BEGIN_ALLOW_THREADS
;
1956 _result
= (wxWindow
*)wxWindow_GetParent(_arg0
);
1958 wxPy_END_ALLOW_THREADS
;
1960 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1961 _resultobj
= Py_BuildValue("s",_ptemp
);
1964 _resultobj
= Py_None
;
1969 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
1970 static PyObject
*_wrap_wxWindow_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1971 PyObject
* _resultobj
;
1977 PyObject
* _argo0
= 0;
1978 char *_kwnames
[] = { "self", NULL
};
1987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPositionTuple",_kwnames
,&_argo0
))
1990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
1997 wxPy_BEGIN_ALLOW_THREADS
;
1998 wxWindow_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2000 wxPy_END_ALLOW_THREADS
;
2001 } Py_INCREF(Py_None
);
2002 _resultobj
= Py_None
;
2005 o
= PyInt_FromLong((long) (*_arg1
));
2006 _resultobj
= t_output_helper(_resultobj
, o
);
2010 o
= PyInt_FromLong((long) (*_arg2
));
2011 _resultobj
= t_output_helper(_resultobj
, o
);
2016 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
2017 static PyObject
*_wrap_wxWindow_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2018 PyObject
* _resultobj
;
2021 PyObject
* _argo0
= 0;
2022 char *_kwnames
[] = { "self", NULL
};
2026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPosition",_kwnames
,&_argo0
))
2029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
2036 wxPy_BEGIN_ALLOW_THREADS
;
2037 _result
= new wxPoint (wxWindow_GetPosition(_arg0
));
2039 wxPy_END_ALLOW_THREADS
;
2040 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2041 _resultobj
= Py_BuildValue("s",_ptemp
);
2045 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
2046 static PyObject
*_wrap_wxWindow_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2047 PyObject
* _resultobj
;
2050 PyObject
* _argo0
= 0;
2051 char *_kwnames
[] = { "self", NULL
};
2055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetRect",_kwnames
,&_argo0
))
2058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
2065 wxPy_BEGIN_ALLOW_THREADS
;
2066 _result
= new wxRect (wxWindow_GetRect(_arg0
));
2068 wxPy_END_ALLOW_THREADS
;
2069 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
2070 _resultobj
= Py_BuildValue("s",_ptemp
);
2074 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
2075 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2076 PyObject
* _resultobj
;
2080 PyObject
* _argo0
= 0;
2081 char *_kwnames
[] = { "self","orientation", NULL
};
2084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollThumb",_kwnames
,&_argo0
,&_arg1
))
2087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
2094 wxPy_BEGIN_ALLOW_THREADS
;
2095 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
2097 wxPy_END_ALLOW_THREADS
;
2098 } _resultobj
= Py_BuildValue("i",_result
);
2102 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
2103 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2104 PyObject
* _resultobj
;
2108 PyObject
* _argo0
= 0;
2109 char *_kwnames
[] = { "self","orientation", NULL
};
2112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollPos",_kwnames
,&_argo0
,&_arg1
))
2115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
2122 wxPy_BEGIN_ALLOW_THREADS
;
2123 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
2125 wxPy_END_ALLOW_THREADS
;
2126 } _resultobj
= Py_BuildValue("i",_result
);
2130 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
2131 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2132 PyObject
* _resultobj
;
2136 PyObject
* _argo0
= 0;
2137 char *_kwnames
[] = { "self","orientation", NULL
};
2140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollRange",_kwnames
,&_argo0
,&_arg1
))
2143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
2150 wxPy_BEGIN_ALLOW_THREADS
;
2151 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
2153 wxPy_END_ALLOW_THREADS
;
2154 } _resultobj
= Py_BuildValue("i",_result
);
2158 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2159 static PyObject
*_wrap_wxWindow_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2160 PyObject
* _resultobj
;
2166 PyObject
* _argo0
= 0;
2167 char *_kwnames
[] = { "self", NULL
};
2176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizeTuple",_kwnames
,&_argo0
))
2179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
2186 wxPy_BEGIN_ALLOW_THREADS
;
2187 wxWindow_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2189 wxPy_END_ALLOW_THREADS
;
2190 } Py_INCREF(Py_None
);
2191 _resultobj
= Py_None
;
2194 o
= PyInt_FromLong((long) (*_arg1
));
2195 _resultobj
= t_output_helper(_resultobj
, o
);
2199 o
= PyInt_FromLong((long) (*_arg2
));
2200 _resultobj
= t_output_helper(_resultobj
, o
);
2205 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
2206 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2207 PyObject
* _resultobj
;
2210 PyObject
* _argo0
= 0;
2211 char *_kwnames
[] = { "self", NULL
};
2215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSize",_kwnames
,&_argo0
))
2218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
2225 wxPy_BEGIN_ALLOW_THREADS
;
2226 _result
= new wxSize (wxWindow_GetSize(_arg0
));
2228 wxPy_END_ALLOW_THREADS
;
2229 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2230 _resultobj
= Py_BuildValue("s",_ptemp
);
2234 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
2235 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2236 PyObject
* _resultobj
;
2243 PyObject
* _argo0
= 0;
2244 PyObject
* _obj1
= 0;
2245 char *_kwnames
[] = { "self","string", NULL
};
2254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
2257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
2264 if (!PyString_Check(_obj1
)) {
2265 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2268 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2271 wxPy_BEGIN_ALLOW_THREADS
;
2272 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
2274 wxPy_END_ALLOW_THREADS
;
2275 } Py_INCREF(Py_None
);
2276 _resultobj
= Py_None
;
2279 o
= PyInt_FromLong((long) (*_arg2
));
2280 _resultobj
= t_output_helper(_resultobj
, o
);
2284 o
= PyInt_FromLong((long) (*_arg3
));
2285 _resultobj
= t_output_helper(_resultobj
, o
);
2294 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2295 static PyObject
*_wrap_wxWindow_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2296 PyObject
* _resultobj
;
2307 wxFont
* _arg6
= (wxFont
*) NULL
;
2308 PyObject
* _argo0
= 0;
2309 PyObject
* _obj1
= 0;
2310 PyObject
* _argo6
= 0;
2311 char *_kwnames
[] = { "self","string","font", NULL
};
2326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxWindow_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
2329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
2336 if (!PyString_Check(_obj1
)) {
2337 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2340 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2343 if (_argo6
== Py_None
) { _arg6
= NULL
; }
2344 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
2345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
2350 wxPy_BEGIN_ALLOW_THREADS
;
2351 wxWindow_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2353 wxPy_END_ALLOW_THREADS
;
2354 } Py_INCREF(Py_None
);
2355 _resultobj
= Py_None
;
2358 o
= PyInt_FromLong((long) (*_arg2
));
2359 _resultobj
= t_output_helper(_resultobj
, o
);
2363 o
= PyInt_FromLong((long) (*_arg3
));
2364 _resultobj
= t_output_helper(_resultobj
, o
);
2368 o
= PyInt_FromLong((long) (*_arg4
));
2369 _resultobj
= t_output_helper(_resultobj
, o
);
2373 o
= PyInt_FromLong((long) (*_arg5
));
2374 _resultobj
= t_output_helper(_resultobj
, o
);
2383 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
2384 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2385 PyObject
* _resultobj
;
2388 PyObject
* _argo0
= 0;
2389 char *_kwnames
[] = { "self", NULL
};
2392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetTitle",_kwnames
,&_argo0
))
2395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
2402 wxPy_BEGIN_ALLOW_THREADS
;
2403 _result
= new wxString (wxWindow_GetTitle(_arg0
));
2405 wxPy_END_ALLOW_THREADS
;
2407 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2415 #define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
2416 static PyObject
*_wrap_wxWindow_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2417 PyObject
* _resultobj
;
2420 PyObject
* _argo0
= 0;
2421 char *_kwnames
[] = { "self", NULL
};
2425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetUpdateRegion",_kwnames
,&_argo0
))
2428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
2435 wxPy_BEGIN_ALLOW_THREADS
;
2436 _result
= new wxRegion (wxWindow_GetUpdateRegion(_arg0
));
2438 wxPy_END_ALLOW_THREADS
;
2439 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRegion_p");
2440 _resultobj
= Py_BuildValue("s",_ptemp
);
2444 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
2445 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2446 PyObject
* _resultobj
;
2449 PyObject
* _argo0
= 0;
2450 char *_kwnames
[] = { "self", NULL
};
2453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetWindowStyleFlag",_kwnames
,&_argo0
))
2456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
2463 wxPy_BEGIN_ALLOW_THREADS
;
2464 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
2466 wxPy_END_ALLOW_THREADS
;
2467 } _resultobj
= Py_BuildValue("l",_result
);
2471 #define wxWindow_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
2472 static PyObject
*_wrap_wxWindow_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2473 PyObject
* _resultobj
;
2476 PyObject
* _argo0
= 0;
2477 char *_kwnames
[] = { "self","style", NULL
};
2480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
2483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetWindowStyleFlag. Expected _wxWindow_p.");
2490 wxPy_BEGIN_ALLOW_THREADS
;
2491 wxWindow_SetWindowStyleFlag(_arg0
,_arg1
);
2493 wxPy_END_ALLOW_THREADS
;
2494 } Py_INCREF(Py_None
);
2495 _resultobj
= Py_None
;
2499 #define wxWindow_SetWindowStyle(_swigobj,_swigarg0) (_swigobj->SetWindowStyle(_swigarg0))
2500 static PyObject
*_wrap_wxWindow_SetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2501 PyObject
* _resultobj
;
2504 PyObject
* _argo0
= 0;
2505 char *_kwnames
[] = { "self","style", NULL
};
2508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyle",_kwnames
,&_argo0
,&_arg1
))
2511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetWindowStyle. Expected _wxWindow_p.");
2518 wxPy_BEGIN_ALLOW_THREADS
;
2519 wxWindow_SetWindowStyle(_arg0
,_arg1
);
2521 wxPy_END_ALLOW_THREADS
;
2522 } Py_INCREF(Py_None
);
2523 _resultobj
= Py_None
;
2527 #define wxWindow_Hide(_swigobj) (_swigobj->Hide())
2528 static PyObject
*_wrap_wxWindow_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2529 PyObject
* _resultobj
;
2532 PyObject
* _argo0
= 0;
2533 char *_kwnames
[] = { "self", NULL
};
2536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Hide",_kwnames
,&_argo0
))
2539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
2546 wxPy_BEGIN_ALLOW_THREADS
;
2547 _result
= (bool )wxWindow_Hide(_arg0
);
2549 wxPy_END_ALLOW_THREADS
;
2550 } _resultobj
= Py_BuildValue("i",_result
);
2554 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
2555 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2556 PyObject
* _resultobj
;
2558 PyObject
* _argo0
= 0;
2559 char *_kwnames
[] = { "self", NULL
};
2562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_InitDialog",_kwnames
,&_argo0
))
2565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
2572 wxPy_BEGIN_ALLOW_THREADS
;
2573 wxWindow_InitDialog(_arg0
);
2575 wxPy_END_ALLOW_THREADS
;
2576 } Py_INCREF(Py_None
);
2577 _resultobj
= Py_None
;
2581 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
2582 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2583 PyObject
* _resultobj
;
2586 PyObject
* _argo0
= 0;
2587 char *_kwnames
[] = { "self", NULL
};
2590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsEnabled",_kwnames
,&_argo0
))
2593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
2600 wxPy_BEGIN_ALLOW_THREADS
;
2601 _result
= (bool )wxWindow_IsEnabled(_arg0
);
2603 wxPy_END_ALLOW_THREADS
;
2604 } _resultobj
= Py_BuildValue("i",_result
);
2608 #define wxWindow_IsExposed(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->IsExposed(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2609 static PyObject
*_wrap_wxWindow_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2610 PyObject
* _resultobj
;
2615 int _arg3
= (int ) 0;
2616 int _arg4
= (int ) 0;
2617 PyObject
* _argo0
= 0;
2618 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
2621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxWindow_IsExposed",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposed. Expected _wxWindow_p.");
2631 wxPy_BEGIN_ALLOW_THREADS
;
2632 _result
= (bool )wxWindow_IsExposed(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2634 wxPy_END_ALLOW_THREADS
;
2635 } _resultobj
= Py_BuildValue("i",_result
);
2639 #define wxWindow_IsExposedPoint(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
2640 static PyObject
*_wrap_wxWindow_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2641 PyObject
* _resultobj
;
2645 PyObject
* _argo0
= 0;
2647 PyObject
* _obj1
= 0;
2648 char *_kwnames
[] = { "self","pt", NULL
};
2651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedPoint",_kwnames
,&_argo0
,&_obj1
))
2654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedPoint. Expected _wxWindow_p.");
2662 if (! wxPoint_helper(_obj1
, &_arg1
))
2666 wxPy_BEGIN_ALLOW_THREADS
;
2667 _result
= (bool )wxWindow_IsExposedPoint(_arg0
,*_arg1
);
2669 wxPy_END_ALLOW_THREADS
;
2670 } _resultobj
= Py_BuildValue("i",_result
);
2674 #define wxWindow_IsExposedRect(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
2675 static PyObject
*_wrap_wxWindow_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2676 PyObject
* _resultobj
;
2680 PyObject
* _argo0
= 0;
2682 PyObject
* _obj1
= 0;
2683 char *_kwnames
[] = { "self","rect", NULL
};
2686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedRect",_kwnames
,&_argo0
,&_obj1
))
2689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedRect. Expected _wxWindow_p.");
2697 if (! wxRect_helper(_obj1
, &_arg1
))
2701 wxPy_BEGIN_ALLOW_THREADS
;
2702 _result
= (bool )wxWindow_IsExposedRect(_arg0
,*_arg1
);
2704 wxPy_END_ALLOW_THREADS
;
2705 } _resultobj
= Py_BuildValue("i",_result
);
2709 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
2710 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2711 PyObject
* _resultobj
;
2714 PyObject
* _argo0
= 0;
2715 char *_kwnames
[] = { "self", NULL
};
2718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsRetained",_kwnames
,&_argo0
))
2721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
2728 wxPy_BEGIN_ALLOW_THREADS
;
2729 _result
= (bool )wxWindow_IsRetained(_arg0
);
2731 wxPy_END_ALLOW_THREADS
;
2732 } _resultobj
= Py_BuildValue("i",_result
);
2736 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
2737 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2738 PyObject
* _resultobj
;
2741 PyObject
* _argo0
= 0;
2742 char *_kwnames
[] = { "self", NULL
};
2745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsShown",_kwnames
,&_argo0
))
2748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
2755 wxPy_BEGIN_ALLOW_THREADS
;
2756 _result
= (bool )wxWindow_IsShown(_arg0
);
2758 wxPy_END_ALLOW_THREADS
;
2759 } _resultobj
= Py_BuildValue("i",_result
);
2763 #define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
2764 static PyObject
*_wrap_wxWindow_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2765 PyObject
* _resultobj
;
2768 PyObject
* _argo0
= 0;
2769 char *_kwnames
[] = { "self", NULL
};
2772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsTopLevel",_kwnames
,&_argo0
))
2775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
2782 wxPy_BEGIN_ALLOW_THREADS
;
2783 _result
= (bool )wxWindow_IsTopLevel(_arg0
);
2785 wxPy_END_ALLOW_THREADS
;
2786 } _resultobj
= Py_BuildValue("i",_result
);
2790 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
2791 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2792 PyObject
* _resultobj
;
2794 PyObject
* _argo0
= 0;
2795 char *_kwnames
[] = { "self", NULL
};
2798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Layout",_kwnames
,&_argo0
))
2801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
2808 wxPy_BEGIN_ALLOW_THREADS
;
2809 wxWindow_Layout(_arg0
);
2811 wxPy_END_ALLOW_THREADS
;
2812 } Py_INCREF(Py_None
);
2813 _resultobj
= Py_None
;
2817 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
2818 static PyObject
*_wrap_wxWindow_LoadFromResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2819 PyObject
* _resultobj
;
2824 wxResourceTable
* _arg3
= (wxResourceTable
*) NULL
;
2825 PyObject
* _argo0
= 0;
2826 PyObject
* _argo1
= 0;
2827 PyObject
* _obj2
= 0;
2828 PyObject
* _argo3
= 0;
2829 char *_kwnames
[] = { "self","parent","resourceName","resourceTable", NULL
};
2832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|O:wxWindow_LoadFromResource",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_argo3
))
2835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
2842 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2843 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
2849 if (!PyString_Check(_obj2
)) {
2850 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2853 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2856 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2857 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxResourceTable_p")) {
2858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
2863 wxPy_BEGIN_ALLOW_THREADS
;
2864 _result
= (bool )wxWindow_LoadFromResource(_arg0
,_arg1
,*_arg2
,_arg3
);
2866 wxPy_END_ALLOW_THREADS
;
2867 } _resultobj
= Py_BuildValue("i",_result
);
2875 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
2876 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2877 PyObject
* _resultobj
;
2879 PyObject
* _argo0
= 0;
2880 char *_kwnames
[] = { "self", NULL
};
2883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Lower",_kwnames
,&_argo0
))
2886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
2893 wxPy_BEGIN_ALLOW_THREADS
;
2894 wxWindow_Lower(_arg0
);
2896 wxPy_END_ALLOW_THREADS
;
2897 } Py_INCREF(Py_None
);
2898 _resultobj
= Py_None
;
2902 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
2903 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2904 PyObject
* _resultobj
;
2907 PyObject
* _argo0
= 0;
2909 char *_kwnames
[] = { "self","flag", NULL
};
2912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_MakeModal",_kwnames
,&_argo0
,&tempbool1
))
2915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
2921 _arg1
= (bool ) tempbool1
;
2923 wxPy_BEGIN_ALLOW_THREADS
;
2924 wxWindow_MakeModal(_arg0
,_arg1
);
2926 wxPy_END_ALLOW_THREADS
;
2927 } Py_INCREF(Py_None
);
2928 _resultobj
= Py_None
;
2932 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2933 static PyObject
*_wrap_wxWindow_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2934 PyObject
* _resultobj
;
2938 PyObject
* _argo0
= 0;
2939 char *_kwnames
[] = { "self","x","y", NULL
};
2942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
2952 wxPy_BEGIN_ALLOW_THREADS
;
2953 wxWindow_MoveXY(_arg0
,_arg1
,_arg2
);
2955 wxPy_END_ALLOW_THREADS
;
2956 } Py_INCREF(Py_None
);
2957 _resultobj
= Py_None
;
2961 #define wxWindow_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2962 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2963 PyObject
* _resultobj
;
2966 PyObject
* _argo0
= 0;
2968 PyObject
* _obj1
= 0;
2969 char *_kwnames
[] = { "self","point", NULL
};
2972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Move",_kwnames
,&_argo0
,&_obj1
))
2975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
2983 if (! wxPoint_helper(_obj1
, &_arg1
))
2987 wxPy_BEGIN_ALLOW_THREADS
;
2988 wxWindow_Move(_arg0
,*_arg1
);
2990 wxPy_END_ALLOW_THREADS
;
2991 } Py_INCREF(Py_None
);
2992 _resultobj
= Py_None
;
2996 #define wxWindow_PopEventHandler(_swigobj,_swigarg0) (_swigobj->PopEventHandler(_swigarg0))
2997 static PyObject
*_wrap_wxWindow_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2998 PyObject
* _resultobj
;
2999 wxEvtHandler
* _result
;
3001 bool _arg1
= (bool ) FALSE
;
3002 PyObject
* _argo0
= 0;
3003 int tempbool1
= (int) FALSE
;
3004 char *_kwnames
[] = { "self","deleteHandler", NULL
};
3008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_PopEventHandler",_kwnames
,&_argo0
,&tempbool1
))
3011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopEventHandler. Expected _wxWindow_p.");
3017 _arg1
= (bool ) tempbool1
;
3019 wxPy_BEGIN_ALLOW_THREADS
;
3020 _result
= (wxEvtHandler
*)wxWindow_PopEventHandler(_arg0
,_arg1
);
3022 wxPy_END_ALLOW_THREADS
;
3024 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
3025 _resultobj
= Py_BuildValue("s",_ptemp
);
3028 _resultobj
= Py_None
;
3033 #define wxWindow_PushEventHandler(_swigobj,_swigarg0) (_swigobj->PushEventHandler(_swigarg0))
3034 static PyObject
*_wrap_wxWindow_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3035 PyObject
* _resultobj
;
3037 wxEvtHandler
* _arg1
;
3038 PyObject
* _argo0
= 0;
3039 PyObject
* _argo1
= 0;
3040 char *_kwnames
[] = { "self","handler", NULL
};
3043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_PushEventHandler",_kwnames
,&_argo0
,&_argo1
))
3046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PushEventHandler. Expected _wxWindow_p.");
3053 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3054 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PushEventHandler. Expected _wxEvtHandler_p.");
3060 wxPy_BEGIN_ALLOW_THREADS
;
3061 wxWindow_PushEventHandler(_arg0
,_arg1
);
3063 wxPy_END_ALLOW_THREADS
;
3064 } Py_INCREF(Py_None
);
3065 _resultobj
= Py_None
;
3069 #define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
3070 static PyObject
*_wrap_wxWindow_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3071 PyObject
* _resultobj
;
3077 PyObject
* _argo0
= 0;
3078 PyObject
* _argo1
= 0;
3079 char *_kwnames
[] = { "self","menu","x","y", NULL
};
3082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxWindow_PopupMenuXY",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
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_PopupMenuXY. Expected _wxWindow_p.");
3092 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3093 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
3099 wxPy_BEGIN_ALLOW_THREADS
;
3100 _result
= (bool )wxWindow_PopupMenuXY(_arg0
,_arg1
,_arg2
,_arg3
);
3102 wxPy_END_ALLOW_THREADS
;
3103 } _resultobj
= Py_BuildValue("i",_result
);
3107 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
3108 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3109 PyObject
* _resultobj
;
3114 PyObject
* _argo0
= 0;
3115 PyObject
* _argo1
= 0;
3117 PyObject
* _obj2
= 0;
3118 char *_kwnames
[] = { "self","menu","pos", NULL
};
3121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_PopupMenu",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
3124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
3131 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3132 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
3139 if (! wxPoint_helper(_obj2
, &_arg2
))
3143 wxPy_BEGIN_ALLOW_THREADS
;
3144 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,*_arg2
);
3146 wxPy_END_ALLOW_THREADS
;
3147 } _resultobj
= Py_BuildValue("i",_result
);
3151 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
3152 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3153 PyObject
* _resultobj
;
3155 PyObject
* _argo0
= 0;
3156 char *_kwnames
[] = { "self", NULL
};
3159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Raise",_kwnames
,&_argo0
))
3162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
3169 wxPy_BEGIN_ALLOW_THREADS
;
3170 wxWindow_Raise(_arg0
);
3172 wxPy_END_ALLOW_THREADS
;
3173 } Py_INCREF(Py_None
);
3174 _resultobj
= Py_None
;
3178 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
3179 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3180 PyObject
* _resultobj
;
3182 bool _arg1
= (bool ) TRUE
;
3183 wxRect
* _arg2
= (wxRect
*) NULL
;
3184 PyObject
* _argo0
= 0;
3185 int tempbool1
= (int) TRUE
;
3187 PyObject
* _obj2
= 0;
3188 char *_kwnames
[] = { "self","eraseBackground","rect", NULL
};
3191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxWindow_Refresh",_kwnames
,&_argo0
,&tempbool1
,&_obj2
))
3194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
3200 _arg1
= (bool ) tempbool1
;
3204 if (! wxRect_helper(_obj2
, &_arg2
))
3208 wxPy_BEGIN_ALLOW_THREADS
;
3209 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
3211 wxPy_END_ALLOW_THREADS
;
3212 } Py_INCREF(Py_None
);
3213 _resultobj
= Py_None
;
3217 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
3218 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3219 PyObject
* _resultobj
;
3221 PyObject
* _argo0
= 0;
3222 char *_kwnames
[] = { "self", NULL
};
3225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_ReleaseMouse",_kwnames
,&_argo0
))
3228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
3235 wxPy_BEGIN_ALLOW_THREADS
;
3236 wxWindow_ReleaseMouse(_arg0
);
3238 wxPy_END_ALLOW_THREADS
;
3239 } Py_INCREF(Py_None
);
3240 _resultobj
= Py_None
;
3244 #define wxWindow_RemoveChild(_swigobj,_swigarg0) (_swigobj->RemoveChild(_swigarg0))
3245 static PyObject
*_wrap_wxWindow_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3246 PyObject
* _resultobj
;
3249 PyObject
* _argo0
= 0;
3250 PyObject
* _argo1
= 0;
3251 char *_kwnames
[] = { "self","child", NULL
};
3254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
3257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3264 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3265 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3271 wxPy_BEGIN_ALLOW_THREADS
;
3272 wxWindow_RemoveChild(_arg0
,_arg1
);
3274 wxPy_END_ALLOW_THREADS
;
3275 } Py_INCREF(Py_None
);
3276 _resultobj
= Py_None
;
3280 #define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
3281 static PyObject
*_wrap_wxWindow_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3282 PyObject
* _resultobj
;
3286 PyObject
* _argo0
= 0;
3287 PyObject
* _argo1
= 0;
3288 char *_kwnames
[] = { "self","newParent", NULL
};
3291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Reparent",_kwnames
,&_argo0
,&_argo1
))
3294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
3301 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3302 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
3308 wxPy_BEGIN_ALLOW_THREADS
;
3309 _result
= (bool )wxWindow_Reparent(_arg0
,_arg1
);
3311 wxPy_END_ALLOW_THREADS
;
3312 } _resultobj
= Py_BuildValue("i",_result
);
3316 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
3317 static PyObject
*_wrap_wxWindow_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3318 PyObject
* _resultobj
;
3322 PyObject
* _argo0
= 0;
3324 PyObject
* _obj1
= 0;
3326 PyObject
* _obj2
= 0;
3327 char *_kwnames
[] = { "self","x","y", NULL
};
3330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ScreenToClientXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
3340 temp
= (int) PyInt_AsLong(_obj1
);
3344 temp0
= (int) PyInt_AsLong(_obj2
);
3348 wxPy_BEGIN_ALLOW_THREADS
;
3349 wxWindow_ScreenToClientXY(_arg0
,_arg1
,_arg2
);
3351 wxPy_END_ALLOW_THREADS
;
3352 } Py_INCREF(Py_None
);
3353 _resultobj
= Py_None
;
3356 o
= PyInt_FromLong((long) (*_arg1
));
3357 _resultobj
= t_output_helper(_resultobj
, o
);
3361 o
= PyInt_FromLong((long) (*_arg2
));
3362 _resultobj
= t_output_helper(_resultobj
, o
);
3367 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
3368 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3369 PyObject
* _resultobj
;
3373 PyObject
* _argo0
= 0;
3375 PyObject
* _obj1
= 0;
3376 char *_kwnames
[] = { "self","pt", NULL
};
3380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ScreenToClient",_kwnames
,&_argo0
,&_obj1
))
3383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
3391 if (! wxPoint_helper(_obj1
, &_arg1
))
3395 wxPy_BEGIN_ALLOW_THREADS
;
3396 _result
= new wxPoint (wxWindow_ScreenToClient(_arg0
,*_arg1
));
3398 wxPy_END_ALLOW_THREADS
;
3399 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3400 _resultobj
= Py_BuildValue("s",_ptemp
);
3404 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
3405 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3406 PyObject
* _resultobj
;
3410 wxRect
* _arg3
= (wxRect
*) NULL
;
3411 PyObject
* _argo0
= 0;
3413 PyObject
* _obj3
= 0;
3414 char *_kwnames
[] = { "self","dx","dy","rect", NULL
};
3417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|O:wxWindow_ScrollWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
3429 if (! wxRect_helper(_obj3
, &_arg3
))
3433 wxPy_BEGIN_ALLOW_THREADS
;
3434 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
3436 wxPy_END_ALLOW_THREADS
;
3437 } Py_INCREF(Py_None
);
3438 _resultobj
= Py_None
;
3442 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
3443 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3444 PyObject
* _resultobj
;
3446 wxAcceleratorTable
* _arg1
;
3447 PyObject
* _argo0
= 0;
3448 PyObject
* _argo1
= 0;
3449 char *_kwnames
[] = { "self","accel", NULL
};
3452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetAcceleratorTable",_kwnames
,&_argo0
,&_argo1
))
3455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
3462 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3463 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
3464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
3469 wxPy_BEGIN_ALLOW_THREADS
;
3470 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
3472 wxPy_END_ALLOW_THREADS
;
3473 } Py_INCREF(Py_None
);
3474 _resultobj
= Py_None
;
3478 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
3479 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3480 PyObject
* _resultobj
;
3483 PyObject
* _argo0
= 0;
3485 char *_kwnames
[] = { "self","autoLayout", NULL
};
3488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetAutoLayout",_kwnames
,&_argo0
,&tempbool1
))
3491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
3497 _arg1
= (bool ) tempbool1
;
3499 wxPy_BEGIN_ALLOW_THREADS
;
3500 wxWindow_SetAutoLayout(_arg0
,_arg1
);
3502 wxPy_END_ALLOW_THREADS
;
3503 } Py_INCREF(Py_None
);
3504 _resultobj
= Py_None
;
3508 #define wxWindow_GetAutoLayout(_swigobj) (_swigobj->GetAutoLayout())
3509 static PyObject
*_wrap_wxWindow_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3510 PyObject
* _resultobj
;
3513 PyObject
* _argo0
= 0;
3514 char *_kwnames
[] = { "self", NULL
};
3517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAutoLayout",_kwnames
,&_argo0
))
3520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetAutoLayout. Expected _wxWindow_p.");
3527 wxPy_BEGIN_ALLOW_THREADS
;
3528 _result
= (bool )wxWindow_GetAutoLayout(_arg0
);
3530 wxPy_END_ALLOW_THREADS
;
3531 } _resultobj
= Py_BuildValue("i",_result
);
3535 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3536 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3537 PyObject
* _resultobj
;
3540 PyObject
* _argo0
= 0;
3542 PyObject
* _obj1
= 0;
3543 char *_kwnames
[] = { "self","colour", NULL
};
3546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
3557 if (! wxColour_helper(_obj1
, &_arg1
))
3561 wxPy_BEGIN_ALLOW_THREADS
;
3562 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
3564 wxPy_END_ALLOW_THREADS
;
3565 } Py_INCREF(Py_None
);
3566 _resultobj
= Py_None
;
3570 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
3571 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3572 PyObject
* _resultobj
;
3574 wxLayoutConstraints
* _arg1
;
3575 PyObject
* _argo0
= 0;
3576 PyObject
* _argo1
= 0;
3577 char *_kwnames
[] = { "self","constraints", NULL
};
3580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetConstraints",_kwnames
,&_argo0
,&_argo1
))
3583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
3590 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3591 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
3597 wxPy_BEGIN_ALLOW_THREADS
;
3598 wxWindow_SetConstraints(_arg0
,_arg1
);
3600 wxPy_END_ALLOW_THREADS
;
3601 } Py_INCREF(Py_None
);
3602 _resultobj
= Py_None
;
3606 #define wxWindow_UnsetConstraints(_swigobj,_swigarg0) (_swigobj->UnsetConstraints(_swigarg0))
3607 static PyObject
*_wrap_wxWindow_UnsetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3608 PyObject
* _resultobj
;
3610 wxLayoutConstraints
* _arg1
;
3611 PyObject
* _argo0
= 0;
3612 PyObject
* _argo1
= 0;
3613 char *_kwnames
[] = { "self","constraints", NULL
};
3616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_UnsetConstraints",_kwnames
,&_argo0
,&_argo1
))
3619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_UnsetConstraints. Expected _wxWindow_p.");
3626 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3627 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_UnsetConstraints. Expected _wxLayoutConstraints_p.");
3633 wxPy_BEGIN_ALLOW_THREADS
;
3634 wxWindow_UnsetConstraints(_arg0
,_arg1
);
3636 wxPy_END_ALLOW_THREADS
;
3637 } Py_INCREF(Py_None
);
3638 _resultobj
= Py_None
;
3642 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
3643 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3644 PyObject
* _resultobj
;
3646 PyObject
* _argo0
= 0;
3647 char *_kwnames
[] = { "self", NULL
};
3650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_SetFocus",_kwnames
,&_argo0
))
3653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
3660 wxPy_BEGIN_ALLOW_THREADS
;
3661 wxWindow_SetFocus(_arg0
);
3663 wxPy_END_ALLOW_THREADS
;
3664 } Py_INCREF(Py_None
);
3665 _resultobj
= Py_None
;
3669 #define wxWindow_AcceptsFocus(_swigobj) (_swigobj->AcceptsFocus())
3670 static PyObject
*_wrap_wxWindow_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3671 PyObject
* _resultobj
;
3674 PyObject
* _argo0
= 0;
3675 char *_kwnames
[] = { "self", NULL
};
3678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_AcceptsFocus",_kwnames
,&_argo0
))
3681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_AcceptsFocus. Expected _wxWindow_p.");
3688 wxPy_BEGIN_ALLOW_THREADS
;
3689 _result
= (bool )wxWindow_AcceptsFocus(_arg0
);
3691 wxPy_END_ALLOW_THREADS
;
3692 } _resultobj
= Py_BuildValue("i",_result
);
3696 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
3697 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3698 PyObject
* _resultobj
;
3701 PyObject
* _argo0
= 0;
3702 PyObject
* _argo1
= 0;
3703 char *_kwnames
[] = { "self","font", NULL
};
3706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetFont",_kwnames
,&_argo0
,&_argo1
))
3709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
3716 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3717 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
3718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
3723 wxPy_BEGIN_ALLOW_THREADS
;
3724 wxWindow_SetFont(_arg0
,*_arg1
);
3726 wxPy_END_ALLOW_THREADS
;
3727 } Py_INCREF(Py_None
);
3728 _resultobj
= Py_None
;
3732 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
3733 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3734 PyObject
* _resultobj
;
3737 PyObject
* _argo0
= 0;
3739 PyObject
* _obj1
= 0;
3740 char *_kwnames
[] = { "self","colour", NULL
};
3743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
3746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
3754 if (! wxColour_helper(_obj1
, &_arg1
))
3758 wxPy_BEGIN_ALLOW_THREADS
;
3759 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
3761 wxPy_END_ALLOW_THREADS
;
3762 } Py_INCREF(Py_None
);
3763 _resultobj
= Py_None
;
3767 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
3768 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3769 PyObject
* _resultobj
;
3772 PyObject
* _argo0
= 0;
3773 char *_kwnames
[] = { "self","id", NULL
};
3776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetId",_kwnames
,&_argo0
,&_arg1
))
3779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
3786 wxPy_BEGIN_ALLOW_THREADS
;
3787 wxWindow_SetId(_arg0
,_arg1
);
3789 wxPy_END_ALLOW_THREADS
;
3790 } Py_INCREF(Py_None
);
3791 _resultobj
= Py_None
;
3795 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
3796 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3797 PyObject
* _resultobj
;
3800 PyObject
* _argo0
= 0;
3801 PyObject
* _obj1
= 0;
3802 char *_kwnames
[] = { "self","name", NULL
};
3805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetName",_kwnames
,&_argo0
,&_obj1
))
3808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
3815 if (!PyString_Check(_obj1
)) {
3816 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3819 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3822 wxPy_BEGIN_ALLOW_THREADS
;
3823 wxWindow_SetName(_arg0
,*_arg1
);
3825 wxPy_END_ALLOW_THREADS
;
3826 } Py_INCREF(Py_None
);
3827 _resultobj
= Py_None
;
3835 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3836 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3837 PyObject
* _resultobj
;
3843 int _arg5
= (int ) TRUE
;
3844 PyObject
* _argo0
= 0;
3845 char *_kwnames
[] = { "self","orientation","position","thumbSize","range","refresh", NULL
};
3848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
3858 wxPy_BEGIN_ALLOW_THREADS
;
3859 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3861 wxPy_END_ALLOW_THREADS
;
3862 } Py_INCREF(Py_None
);
3863 _resultobj
= Py_None
;
3867 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
3868 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3869 PyObject
* _resultobj
;
3873 bool _arg3
= (bool ) TRUE
;
3874 PyObject
* _argo0
= 0;
3875 int tempbool3
= (int) TRUE
;
3876 char *_kwnames
[] = { "self","orientation","pos","refresh", NULL
};
3879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_SetScrollPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
3882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
3888 _arg3
= (bool ) tempbool3
;
3890 wxPy_BEGIN_ALLOW_THREADS
;
3891 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
3893 wxPy_END_ALLOW_THREADS
;
3894 } Py_INCREF(Py_None
);
3895 _resultobj
= Py_None
;
3899 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3900 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3901 PyObject
* _resultobj
;
3907 int _arg5
= (int ) wxSIZE_AUTO
;
3908 PyObject
* _argo0
= 0;
3909 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
3912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetDimensions",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
3922 wxPy_BEGIN_ALLOW_THREADS
;
3923 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3925 wxPy_END_ALLOW_THREADS
;
3926 } Py_INCREF(Py_None
);
3927 _resultobj
= Py_None
;
3931 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
3932 self
->SetSize(size
);
3934 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3935 PyObject
* _resultobj
;
3938 PyObject
* _argo0
= 0;
3940 PyObject
* _obj1
= 0;
3941 char *_kwnames
[] = { "self","size", NULL
};
3944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSize",_kwnames
,&_argo0
,&_obj1
))
3947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
3955 if (! wxSize_helper(_obj1
, &_arg1
))
3959 wxPy_BEGIN_ALLOW_THREADS
;
3960 wxWindow_SetSize(_arg0
,*_arg1
);
3962 wxPy_END_ALLOW_THREADS
;
3963 } Py_INCREF(Py_None
);
3964 _resultobj
= Py_None
;
3968 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
) {
3971 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3972 PyObject
* _resultobj
;
3975 PyObject
* _argo0
= 0;
3977 PyObject
* _obj1
= 0;
3978 char *_kwnames
[] = { "self","pos", NULL
};
3981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetPosition",_kwnames
,&_argo0
,&_obj1
))
3984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
3992 if (! wxPoint_helper(_obj1
, &_arg1
))
3996 wxPy_BEGIN_ALLOW_THREADS
;
3997 wxWindow_SetPosition(_arg0
,*_arg1
);
3999 wxPy_END_ALLOW_THREADS
;
4000 } Py_INCREF(Py_None
);
4001 _resultobj
= Py_None
;
4005 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4006 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4007 PyObject
* _resultobj
;
4009 int _arg1
= (int ) -1;
4010 int _arg2
= (int ) -1;
4011 int _arg3
= (int ) -1;
4012 int _arg4
= (int ) -1;
4013 int _arg5
= (int ) -1;
4014 int _arg6
= (int ) -1;
4015 PyObject
* _argo0
= 0;
4016 char *_kwnames
[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL
};
4019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iiiiii:wxWindow_SetSizeHints",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
4029 wxPy_BEGIN_ALLOW_THREADS
;
4030 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4032 wxPy_END_ALLOW_THREADS
;
4033 } Py_INCREF(Py_None
);
4034 _resultobj
= Py_None
;
4038 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
4039 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4040 PyObject
* _resultobj
;
4044 PyObject
* _argo0
= 0;
4045 char *_kwnames
[] = { "self","width","height", NULL
};
4048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_SetClientSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
4058 wxPy_BEGIN_ALLOW_THREADS
;
4059 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
4061 wxPy_END_ALLOW_THREADS
;
4062 } Py_INCREF(Py_None
);
4063 _resultobj
= Py_None
;
4067 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
4068 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4069 PyObject
* _resultobj
;
4072 PyObject
* _argo0
= 0;
4074 PyObject
* _obj1
= 0;
4075 char *_kwnames
[] = { "self","size", NULL
};
4078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetClientSize",_kwnames
,&_argo0
,&_obj1
))
4081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
4089 if (! wxSize_helper(_obj1
, &_arg1
))
4093 wxPy_BEGIN_ALLOW_THREADS
;
4094 wxWindow_SetClientSize(_arg0
,*_arg1
);
4096 wxPy_END_ALLOW_THREADS
;
4097 } Py_INCREF(Py_None
);
4098 _resultobj
= Py_None
;
4102 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
4103 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4104 PyObject
* _resultobj
;
4107 PyObject
* _argo0
= 0;
4108 PyObject
* _argo1
= 0;
4109 char *_kwnames
[] = { "self","cursor", NULL
};
4112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCursor",_kwnames
,&_argo0
,&_argo1
))
4115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
4122 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4123 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
4124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
4129 wxPy_BEGIN_ALLOW_THREADS
;
4130 wxWindow_SetCursor(_arg0
,*_arg1
);
4132 wxPy_END_ALLOW_THREADS
;
4133 } Py_INCREF(Py_None
);
4134 _resultobj
= Py_None
;
4138 #define wxWindow_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
4139 static PyObject
*_wrap_wxWindow_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4140 PyObject
* _resultobj
;
4142 wxEvtHandler
* _arg1
;
4143 PyObject
* _argo0
= 0;
4144 PyObject
* _argo1
= 0;
4145 char *_kwnames
[] = { "self","handler", NULL
};
4148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
4151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetEventHandler. Expected _wxWindow_p.");
4158 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4159 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetEventHandler. Expected _wxEvtHandler_p.");
4165 wxPy_BEGIN_ALLOW_THREADS
;
4166 wxWindow_SetEventHandler(_arg0
,_arg1
);
4168 wxPy_END_ALLOW_THREADS
;
4169 } Py_INCREF(Py_None
);
4170 _resultobj
= Py_None
;
4174 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4175 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4176 PyObject
* _resultobj
;
4179 PyObject
* _argo0
= 0;
4180 PyObject
* _obj1
= 0;
4181 char *_kwnames
[] = { "self","title", NULL
};
4184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4187 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4188 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
4194 if (!PyString_Check(_obj1
)) {
4195 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4198 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4201 wxPy_BEGIN_ALLOW_THREADS
;
4202 wxWindow_SetTitle(_arg0
,*_arg1
);
4204 wxPy_END_ALLOW_THREADS
;
4205 } Py_INCREF(Py_None
);
4206 _resultobj
= Py_None
;
4214 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4215 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4216 PyObject
* _resultobj
;
4220 PyObject
* _argo0
= 0;
4222 char *_kwnames
[] = { "self","show", NULL
};
4225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
4228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
4234 _arg1
= (bool ) tempbool1
;
4236 wxPy_BEGIN_ALLOW_THREADS
;
4237 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
4239 wxPy_END_ALLOW_THREADS
;
4240 } _resultobj
= Py_BuildValue("i",_result
);
4244 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
4245 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4246 PyObject
* _resultobj
;
4249 PyObject
* _argo0
= 0;
4250 char *_kwnames
[] = { "self", NULL
};
4253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataFromWindow",_kwnames
,&_argo0
))
4256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
4263 wxPy_BEGIN_ALLOW_THREADS
;
4264 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
4266 wxPy_END_ALLOW_THREADS
;
4267 } _resultobj
= Py_BuildValue("i",_result
);
4271 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
4272 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4273 PyObject
* _resultobj
;
4276 PyObject
* _argo0
= 0;
4277 char *_kwnames
[] = { "self", NULL
};
4280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataToWindow",_kwnames
,&_argo0
))
4283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
4290 wxPy_BEGIN_ALLOW_THREADS
;
4291 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
4293 wxPy_END_ALLOW_THREADS
;
4294 } _resultobj
= Py_BuildValue("i",_result
);
4298 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
4299 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4300 PyObject
* _resultobj
;
4303 PyObject
* _argo0
= 0;
4304 char *_kwnames
[] = { "self", NULL
};
4307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Validate",_kwnames
,&_argo0
))
4310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
4317 wxPy_BEGIN_ALLOW_THREADS
;
4318 _result
= (bool )wxWindow_Validate(_arg0
);
4320 wxPy_END_ALLOW_THREADS
;
4321 } _resultobj
= Py_BuildValue("i",_result
);
4325 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
4326 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4327 PyObject
* _resultobj
;
4331 PyObject
* _argo0
= 0;
4332 char *_kwnames
[] = { "self","x","y", NULL
};
4335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_WarpPointer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
4345 wxPy_BEGIN_ALLOW_THREADS
;
4346 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
4348 wxPy_END_ALLOW_THREADS
;
4349 } Py_INCREF(Py_None
);
4350 _resultobj
= Py_None
;
4354 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4355 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4356 PyObject
* _resultobj
;
4360 PyObject
* _argo0
= 0;
4362 PyObject
* _obj1
= 0;
4363 char *_kwnames
[] = { "self","pt", NULL
};
4367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames
,&_argo0
,&_obj1
))
4370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
4378 if (! wxPoint_helper(_obj1
, &_arg1
))
4382 wxPy_BEGIN_ALLOW_THREADS
;
4383 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
4385 wxPy_END_ALLOW_THREADS
;
4386 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4387 _resultobj
= Py_BuildValue("s",_ptemp
);
4391 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4392 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4393 PyObject
* _resultobj
;
4397 PyObject
* _argo0
= 0;
4399 PyObject
* _obj1
= 0;
4400 char *_kwnames
[] = { "self","sz", NULL
};
4404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames
,&_argo0
,&_obj1
))
4407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
4415 if (! wxSize_helper(_obj1
, &_arg1
))
4419 wxPy_BEGIN_ALLOW_THREADS
;
4420 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
4422 wxPy_END_ALLOW_THREADS
;
4423 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4424 _resultobj
= Py_BuildValue("s",_ptemp
);
4428 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4429 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4430 PyObject
* _resultobj
;
4434 PyObject
* _argo0
= 0;
4436 PyObject
* _obj1
= 0;
4437 char *_kwnames
[] = { "self","pt", NULL
};
4441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames
,&_argo0
,&_obj1
))
4444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
4452 if (! wxPoint_helper(_obj1
, &_arg1
))
4456 wxPy_BEGIN_ALLOW_THREADS
;
4457 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
4459 wxPy_END_ALLOW_THREADS
;
4460 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4461 _resultobj
= Py_BuildValue("s",_ptemp
);
4465 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4466 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4467 PyObject
* _resultobj
;
4471 PyObject
* _argo0
= 0;
4473 PyObject
* _obj1
= 0;
4474 char *_kwnames
[] = { "self","sz", NULL
};
4478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames
,&_argo0
,&_obj1
))
4481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
4489 if (! wxSize_helper(_obj1
, &_arg1
))
4493 wxPy_BEGIN_ALLOW_THREADS
;
4494 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
4496 wxPy_END_ALLOW_THREADS
;
4497 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4498 _resultobj
= Py_BuildValue("s",_ptemp
);
4502 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4503 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4504 PyObject
* _resultobj
;
4507 PyObject
* _argo0
= 0;
4508 PyObject
* _obj1
= 0;
4509 char *_kwnames
[] = { "self","tip", NULL
};
4512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTipString",_kwnames
,&_argo0
,&_obj1
))
4515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
4522 if (!PyString_Check(_obj1
)) {
4523 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4526 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4529 wxPy_BEGIN_ALLOW_THREADS
;
4530 wxWindow_SetToolTipString(_arg0
,*_arg1
);
4532 wxPy_END_ALLOW_THREADS
;
4533 } Py_INCREF(Py_None
);
4534 _resultobj
= Py_None
;
4542 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4543 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4544 PyObject
* _resultobj
;
4547 PyObject
* _argo0
= 0;
4548 PyObject
* _argo1
= 0;
4549 char *_kwnames
[] = { "self","tooltip", NULL
};
4552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTip",_kwnames
,&_argo0
,&_argo1
))
4555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
4562 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4563 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolTip_p")) {
4564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
4569 wxPy_BEGIN_ALLOW_THREADS
;
4570 wxWindow_SetToolTip(_arg0
,_arg1
);
4572 wxPy_END_ALLOW_THREADS
;
4573 } Py_INCREF(Py_None
);
4574 _resultobj
= Py_None
;
4578 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
4579 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4580 PyObject
* _resultobj
;
4581 wxToolTip
* _result
;
4583 PyObject
* _argo0
= 0;
4584 char *_kwnames
[] = { "self", NULL
};
4588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetToolTip",_kwnames
,&_argo0
))
4591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
4598 wxPy_BEGIN_ALLOW_THREADS
;
4599 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
4601 wxPy_END_ALLOW_THREADS
;
4603 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
4604 _resultobj
= Py_BuildValue("s",_ptemp
);
4607 _resultobj
= Py_None
;
4612 #define wxWindow_SetSizer(_swigobj,_swigarg0) (_swigobj->SetSizer(_swigarg0))
4613 static PyObject
*_wrap_wxWindow_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4614 PyObject
* _resultobj
;
4617 PyObject
* _argo0
= 0;
4618 PyObject
* _argo1
= 0;
4619 char *_kwnames
[] = { "self","sizer", NULL
};
4622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSizer",_kwnames
,&_argo0
,&_argo1
))
4625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizer. Expected _wxWindow_p.");
4632 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4633 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
4634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSizer. Expected _wxSizer_p.");
4639 wxPy_BEGIN_ALLOW_THREADS
;
4640 wxWindow_SetSizer(_arg0
,_arg1
);
4642 wxPy_END_ALLOW_THREADS
;
4643 } Py_INCREF(Py_None
);
4644 _resultobj
= Py_None
;
4648 #define wxWindow_GetSizer(_swigobj) (_swigobj->GetSizer())
4649 static PyObject
*_wrap_wxWindow_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4650 PyObject
* _resultobj
;
4653 PyObject
* _argo0
= 0;
4654 char *_kwnames
[] = { "self", NULL
};
4658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizer",_kwnames
,&_argo0
))
4661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizer. Expected _wxWindow_p.");
4668 wxPy_BEGIN_ALLOW_THREADS
;
4669 _result
= (wxSizer
*)wxWindow_GetSizer(_arg0
);
4671 wxPy_END_ALLOW_THREADS
;
4673 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSizer_p");
4674 _resultobj
= Py_BuildValue("s",_ptemp
);
4677 _resultobj
= Py_None
;
4682 #define wxWindow_GetValidator(_swigobj) (_swigobj->GetValidator())
4683 static PyObject
*_wrap_wxWindow_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4684 PyObject
* _resultobj
;
4685 wxValidator
* _result
;
4687 PyObject
* _argo0
= 0;
4688 char *_kwnames
[] = { "self", NULL
};
4692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetValidator",_kwnames
,&_argo0
))
4695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetValidator. Expected _wxWindow_p.");
4702 wxPy_BEGIN_ALLOW_THREADS
;
4703 _result
= (wxValidator
*)wxWindow_GetValidator(_arg0
);
4705 wxPy_END_ALLOW_THREADS
;
4707 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
4708 _resultobj
= Py_BuildValue("s",_ptemp
);
4711 _resultobj
= Py_None
;
4716 #define wxWindow_SetValidator(_swigobj,_swigarg0) (_swigobj->SetValidator(_swigarg0))
4717 static PyObject
*_wrap_wxWindow_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4718 PyObject
* _resultobj
;
4720 wxValidator
* _arg1
;
4721 PyObject
* _argo0
= 0;
4722 PyObject
* _argo1
= 0;
4723 char *_kwnames
[] = { "self","validator", NULL
};
4726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetValidator",_kwnames
,&_argo0
,&_argo1
))
4729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetValidator. Expected _wxWindow_p.");
4736 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4737 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxValidator_p")) {
4738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetValidator. Expected _wxValidator_p.");
4743 wxPy_BEGIN_ALLOW_THREADS
;
4744 wxWindow_SetValidator(_arg0
,*_arg1
);
4746 wxPy_END_ALLOW_THREADS
;
4747 } Py_INCREF(Py_None
);
4748 _resultobj
= Py_None
;
4752 #define wxWindow_SetDropTarget(_swigobj,_swigarg0) (_swigobj->SetDropTarget(_swigarg0))
4753 static PyObject
*_wrap_wxWindow_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4754 PyObject
* _resultobj
;
4756 wxDropTarget
* _arg1
;
4757 PyObject
* _argo0
= 0;
4758 PyObject
* _argo1
= 0;
4759 char *_kwnames
[] = { "self","target", NULL
};
4762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetDropTarget",_kwnames
,&_argo0
,&_argo1
))
4765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDropTarget. Expected _wxWindow_p.");
4772 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4773 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDropTarget_p")) {
4774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetDropTarget. Expected _wxDropTarget_p.");
4779 wxPy_BEGIN_ALLOW_THREADS
;
4780 wxWindow_SetDropTarget(_arg0
,_arg1
);
4782 wxPy_END_ALLOW_THREADS
;
4783 } Py_INCREF(Py_None
);
4784 _resultobj
= Py_None
;
4788 #define wxWindow_GetDropTarget(_swigobj) (_swigobj->GetDropTarget())
4789 static PyObject
*_wrap_wxWindow_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4790 PyObject
* _resultobj
;
4791 wxDropTarget
* _result
;
4793 PyObject
* _argo0
= 0;
4794 char *_kwnames
[] = { "self", NULL
};
4798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetDropTarget",_kwnames
,&_argo0
))
4801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetDropTarget. Expected _wxWindow_p.");
4808 wxPy_BEGIN_ALLOW_THREADS
;
4809 _result
= (wxDropTarget
*)wxWindow_GetDropTarget(_arg0
);
4811 wxPy_END_ALLOW_THREADS
;
4813 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDropTarget_p");
4814 _resultobj
= Py_BuildValue("s",_ptemp
);
4817 _resultobj
= Py_None
;
4822 #define wxWindow_GetBestSize(_swigobj) (_swigobj->GetBestSize())
4823 static PyObject
*_wrap_wxWindow_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4824 PyObject
* _resultobj
;
4827 PyObject
* _argo0
= 0;
4828 char *_kwnames
[] = { "self", NULL
};
4832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBestSize",_kwnames
,&_argo0
))
4835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBestSize. Expected _wxWindow_p.");
4842 wxPy_BEGIN_ALLOW_THREADS
;
4843 _result
= new wxSize (wxWindow_GetBestSize(_arg0
));
4845 wxPy_END_ALLOW_THREADS
;
4846 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4847 _resultobj
= Py_BuildValue("s",_ptemp
);
4851 #define wxWindow_SetCaret(_swigobj,_swigarg0) (_swigobj->SetCaret(_swigarg0))
4852 static PyObject
*_wrap_wxWindow_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4853 PyObject
* _resultobj
;
4856 PyObject
* _argo0
= 0;
4857 PyObject
* _argo1
= 0;
4858 char *_kwnames
[] = { "self","caret", NULL
};
4861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCaret",_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_SetCaret. Expected _wxWindow_p.");
4871 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4872 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCaret_p")) {
4873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCaret. Expected _wxCaret_p.");
4878 wxPy_BEGIN_ALLOW_THREADS
;
4879 wxWindow_SetCaret(_arg0
,_arg1
);
4881 wxPy_END_ALLOW_THREADS
;
4882 } Py_INCREF(Py_None
);
4883 _resultobj
= Py_None
;
4887 #define wxWindow_GetCaret(_swigobj) (_swigobj->GetCaret())
4888 static PyObject
*_wrap_wxWindow_GetCaret(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_GetCaret",_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_GetCaret. Expected _wxWindow_p.");
4907 wxPy_BEGIN_ALLOW_THREADS
;
4908 _result
= (wxCaret
*)wxWindow_GetCaret(_arg0
);
4910 wxPy_END_ALLOW_THREADS
;
4912 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
4913 _resultobj
= Py_BuildValue("s",_ptemp
);
4916 _resultobj
= Py_None
;
4921 static void *SwigwxPanelTowxWindow(void *ptr
) {
4924 src
= (wxPanel
*) ptr
;
4925 dest
= (wxWindow
*) src
;
4926 return (void *) dest
;
4929 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
4932 src
= (wxPanel
*) ptr
;
4933 dest
= (wxEvtHandler
*) src
;
4934 return (void *) dest
;
4937 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4938 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4939 PyObject
* _resultobj
;
4943 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
4944 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
4945 long _arg4
= (long ) wxTAB_TRAVERSAL
;
4946 char * _arg5
= (char *) "panel";
4947 PyObject
* _argo0
= 0;
4949 PyObject
* _obj2
= 0;
4951 PyObject
* _obj3
= 0;
4952 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
4956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxPanel",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
4959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
4968 if (! wxPoint_helper(_obj2
, &_arg2
))
4974 if (! wxSize_helper(_obj3
, &_arg3
))
4978 wxPy_BEGIN_ALLOW_THREADS
;
4979 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
4981 wxPy_END_ALLOW_THREADS
;
4983 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
4984 _resultobj
= Py_BuildValue("s",_ptemp
);
4987 _resultobj
= Py_None
;
4992 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
4993 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4994 PyObject
* _resultobj
;
4996 PyObject
* _argo0
= 0;
4997 char *_kwnames
[] = { "self", NULL
};
5000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_InitDialog",_kwnames
,&_argo0
))
5003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
5005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
5010 wxPy_BEGIN_ALLOW_THREADS
;
5011 wxPanel_InitDialog(_arg0
);
5013 wxPy_END_ALLOW_THREADS
;
5014 } Py_INCREF(Py_None
);
5015 _resultobj
= Py_None
;
5019 #define wxPanel_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
5020 static PyObject
*_wrap_wxPanel_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5021 PyObject
* _resultobj
;
5024 PyObject
* _argo0
= 0;
5025 char *_kwnames
[] = { "self", NULL
};
5029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_GetDefaultItem",_kwnames
,&_argo0
))
5032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
5034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_GetDefaultItem. Expected _wxPanel_p.");
5039 wxPy_BEGIN_ALLOW_THREADS
;
5040 _result
= (wxButton
*)wxPanel_GetDefaultItem(_arg0
);
5042 wxPy_END_ALLOW_THREADS
;
5044 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
5045 _resultobj
= Py_BuildValue("s",_ptemp
);
5048 _resultobj
= Py_None
;
5053 #define wxPanel_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
5054 static PyObject
*_wrap_wxPanel_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5055 PyObject
* _resultobj
;
5058 PyObject
* _argo0
= 0;
5059 PyObject
* _argo1
= 0;
5060 char *_kwnames
[] = { "self","btn", NULL
};
5063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPanel_SetDefaultItem",_kwnames
,&_argo0
,&_argo1
))
5066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
5068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_SetDefaultItem. Expected _wxPanel_p.");
5073 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5074 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxButton_p")) {
5075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPanel_SetDefaultItem. Expected _wxButton_p.");
5080 wxPy_BEGIN_ALLOW_THREADS
;
5081 wxPanel_SetDefaultItem(_arg0
,_arg1
);
5083 wxPy_END_ALLOW_THREADS
;
5084 } Py_INCREF(Py_None
);
5085 _resultobj
= Py_None
;
5089 static void *SwigwxDialogTowxPanel(void *ptr
) {
5092 src
= (wxDialog
*) ptr
;
5093 dest
= (wxPanel
*) src
;
5094 return (void *) dest
;
5097 static void *SwigwxDialogTowxWindow(void *ptr
) {
5100 src
= (wxDialog
*) ptr
;
5101 dest
= (wxWindow
*) src
;
5102 return (void *) dest
;
5105 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
5108 src
= (wxDialog
*) ptr
;
5109 dest
= (wxEvtHandler
*) src
;
5110 return (void *) dest
;
5113 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5114 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5115 PyObject
* _resultobj
;
5120 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
5121 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
5122 long _arg5
= (long ) wxDEFAULT_DIALOG_STYLE
;
5123 char * _arg6
= (char *) "dialogBox";
5124 PyObject
* _argo0
= 0;
5125 PyObject
* _obj2
= 0;
5127 PyObject
* _obj3
= 0;
5129 PyObject
* _obj4
= 0;
5130 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
5134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxDialog",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
5137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
5144 if (!PyString_Check(_obj2
)) {
5145 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5148 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5153 if (! wxPoint_helper(_obj3
, &_arg3
))
5159 if (! wxSize_helper(_obj4
, &_arg4
))
5163 wxPy_BEGIN_ALLOW_THREADS
;
5164 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
5166 wxPy_END_ALLOW_THREADS
;
5168 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
5169 _resultobj
= Py_BuildValue("s",_ptemp
);
5172 _resultobj
= Py_None
;
5181 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
5182 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5183 PyObject
* _resultobj
;
5185 int _arg1
= (int ) wxBOTH
;
5186 PyObject
* _argo0
= 0;
5187 char *_kwnames
[] = { "self","direction", NULL
};
5190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDialog_Centre",_kwnames
,&_argo0
,&_arg1
))
5193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
5200 wxPy_BEGIN_ALLOW_THREADS
;
5201 wxDialog_Centre(_arg0
,_arg1
);
5203 wxPy_END_ALLOW_THREADS
;
5204 } Py_INCREF(Py_None
);
5205 _resultobj
= Py_None
;
5209 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
5210 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5211 PyObject
* _resultobj
;
5214 PyObject
* _argo0
= 0;
5215 char *_kwnames
[] = { "self","retCode", NULL
};
5218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_EndModal",_kwnames
,&_argo0
,&_arg1
))
5221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
5228 wxPy_BEGIN_ALLOW_THREADS
;
5229 wxDialog_EndModal(_arg0
,_arg1
);
5231 wxPy_END_ALLOW_THREADS
;
5232 } Py_INCREF(Py_None
);
5233 _resultobj
= Py_None
;
5237 #define wxDialog_GetTitle(_swigobj) (_swigobj->GetTitle())
5238 static PyObject
*_wrap_wxDialog_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5239 PyObject
* _resultobj
;
5242 PyObject
* _argo0
= 0;
5243 char *_kwnames
[] = { "self", NULL
};
5246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetTitle",_kwnames
,&_argo0
))
5249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetTitle. Expected _wxDialog_p.");
5256 wxPy_BEGIN_ALLOW_THREADS
;
5257 _result
= new wxString (wxDialog_GetTitle(_arg0
));
5259 wxPy_END_ALLOW_THREADS
;
5261 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5269 #define wxDialog_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
5270 static PyObject
*_wrap_wxDialog_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5271 PyObject
* _resultobj
;
5274 PyObject
* _argo0
= 0;
5276 char *_kwnames
[] = { "self","iconize", NULL
};
5279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Iconize",_kwnames
,&_argo0
,&tempbool1
))
5282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Iconize. Expected _wxDialog_p.");
5288 _arg1
= (bool ) tempbool1
;
5290 wxPy_BEGIN_ALLOW_THREADS
;
5291 wxDialog_Iconize(_arg0
,_arg1
);
5293 wxPy_END_ALLOW_THREADS
;
5294 } Py_INCREF(Py_None
);
5295 _resultobj
= Py_None
;
5299 #define wxDialog_IsIconized(_swigobj) (_swigobj->IsIconized())
5300 static PyObject
*_wrap_wxDialog_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5301 PyObject
* _resultobj
;
5304 PyObject
* _argo0
= 0;
5305 char *_kwnames
[] = { "self", NULL
};
5308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsIconized",_kwnames
,&_argo0
))
5311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsIconized. Expected _wxDialog_p.");
5318 wxPy_BEGIN_ALLOW_THREADS
;
5319 _result
= (bool )wxDialog_IsIconized(_arg0
);
5321 wxPy_END_ALLOW_THREADS
;
5322 } _resultobj
= Py_BuildValue("i",_result
);
5326 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
5327 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5328 PyObject
* _resultobj
;
5331 PyObject
* _argo0
= 0;
5333 char *_kwnames
[] = { "self","flag", NULL
};
5336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetModal",_kwnames
,&_argo0
,&tempbool1
))
5339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
5345 _arg1
= (bool ) tempbool1
;
5347 wxPy_BEGIN_ALLOW_THREADS
;
5348 wxDialog_SetModal(_arg0
,_arg1
);
5350 wxPy_END_ALLOW_THREADS
;
5351 } Py_INCREF(Py_None
);
5352 _resultobj
= Py_None
;
5356 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
5357 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5358 PyObject
* _resultobj
;
5361 PyObject
* _argo0
= 0;
5362 char *_kwnames
[] = { "self", NULL
};
5365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsModal",_kwnames
,&_argo0
))
5368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
5375 wxPy_BEGIN_ALLOW_THREADS
;
5376 _result
= (bool )wxDialog_IsModal(_arg0
);
5378 wxPy_END_ALLOW_THREADS
;
5379 } _resultobj
= Py_BuildValue("i",_result
);
5383 #define wxDialog_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
5384 static PyObject
*_wrap_wxDialog_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5385 PyObject
* _resultobj
;
5388 PyObject
* _argo0
= 0;
5389 PyObject
* _obj1
= 0;
5390 char *_kwnames
[] = { "self","title", NULL
};
5393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDialog_SetTitle",_kwnames
,&_argo0
,&_obj1
))
5396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetTitle. Expected _wxDialog_p.");
5403 if (!PyString_Check(_obj1
)) {
5404 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5407 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5410 wxPy_BEGIN_ALLOW_THREADS
;
5411 wxDialog_SetTitle(_arg0
,*_arg1
);
5413 wxPy_END_ALLOW_THREADS
;
5414 } Py_INCREF(Py_None
);
5415 _resultobj
= Py_None
;
5423 #define wxDialog_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5424 static PyObject
*_wrap_wxDialog_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5425 PyObject
* _resultobj
;
5429 PyObject
* _argo0
= 0;
5431 char *_kwnames
[] = { "self","show", NULL
};
5434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Show",_kwnames
,&_argo0
,&tempbool1
))
5437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Show. Expected _wxDialog_p.");
5443 _arg1
= (bool ) tempbool1
;
5445 wxPy_BEGIN_ALLOW_THREADS
;
5446 _result
= (bool )wxDialog_Show(_arg0
,_arg1
);
5448 wxPy_END_ALLOW_THREADS
;
5449 } _resultobj
= Py_BuildValue("i",_result
);
5453 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
5454 static PyObject
*_wrap_wxDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5455 PyObject
* _resultobj
;
5458 PyObject
* _argo0
= 0;
5459 char *_kwnames
[] = { "self", NULL
};
5462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_ShowModal",_kwnames
,&_argo0
))
5465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
5472 wxPy_BEGIN_ALLOW_THREADS
;
5473 _result
= (int )wxDialog_ShowModal(_arg0
);
5475 wxPy_END_ALLOW_THREADS
;
5476 } _resultobj
= Py_BuildValue("i",_result
);
5480 #define wxDialog_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
5481 static PyObject
*_wrap_wxDialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5482 PyObject
* _resultobj
;
5485 PyObject
* _argo0
= 0;
5486 char *_kwnames
[] = { "self", NULL
};
5489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetReturnCode",_kwnames
,&_argo0
))
5492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetReturnCode. Expected _wxDialog_p.");
5499 wxPy_BEGIN_ALLOW_THREADS
;
5500 _result
= (int )wxDialog_GetReturnCode(_arg0
);
5502 wxPy_END_ALLOW_THREADS
;
5503 } _resultobj
= Py_BuildValue("i",_result
);
5507 #define wxDialog_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
5508 static PyObject
*_wrap_wxDialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5509 PyObject
* _resultobj
;
5512 PyObject
* _argo0
= 0;
5513 char *_kwnames
[] = { "self","retCode", NULL
};
5516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetReturnCode",_kwnames
,&_argo0
,&_arg1
))
5519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetReturnCode. Expected _wxDialog_p.");
5526 wxPy_BEGIN_ALLOW_THREADS
;
5527 wxDialog_SetReturnCode(_arg0
,_arg1
);
5529 wxPy_END_ALLOW_THREADS
;
5530 } Py_INCREF(Py_None
);
5531 _resultobj
= Py_None
;
5535 static void *SwigwxScrolledWindowTowxPanel(void *ptr
) {
5536 wxScrolledWindow
*src
;
5538 src
= (wxScrolledWindow
*) ptr
;
5539 dest
= (wxPanel
*) src
;
5540 return (void *) dest
;
5543 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
5544 wxScrolledWindow
*src
;
5546 src
= (wxScrolledWindow
*) ptr
;
5547 dest
= (wxWindow
*) src
;
5548 return (void *) dest
;
5551 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
5552 wxScrolledWindow
*src
;
5554 src
= (wxScrolledWindow
*) ptr
;
5555 dest
= (wxEvtHandler
*) src
;
5556 return (void *) dest
;
5559 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5560 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5561 PyObject
* _resultobj
;
5562 wxScrolledWindow
* _result
;
5564 wxWindowID _arg1
= (wxWindowID
) -1;
5565 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
5566 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
5567 long _arg4
= (long ) wxHSCROLL
|wxVSCROLL
;
5568 char * _arg5
= (char *) "scrolledWindow";
5569 PyObject
* _argo0
= 0;
5571 PyObject
* _obj2
= 0;
5573 PyObject
* _obj3
= 0;
5574 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
5578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxScrolledWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
5581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
5590 if (! wxPoint_helper(_obj2
, &_arg2
))
5596 if (! wxSize_helper(_obj3
, &_arg3
))
5600 wxPy_BEGIN_ALLOW_THREADS
;
5601 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
5603 wxPy_END_ALLOW_THREADS
;
5605 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
5606 _resultobj
= Py_BuildValue("s",_ptemp
);
5609 _resultobj
= Py_None
;
5614 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
5615 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5616 PyObject
* _resultobj
;
5617 wxScrolledWindow
* _arg0
;
5620 PyObject
* _argo0
= 0;
5623 char *_kwnames
[] = { "self","xScrolling","yScrolling", NULL
};
5626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_EnableScrolling",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
5629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
5635 _arg1
= (bool ) tempbool1
;
5636 _arg2
= (bool ) tempbool2
;
5638 wxPy_BEGIN_ALLOW_THREADS
;
5639 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
5641 wxPy_END_ALLOW_THREADS
;
5642 } Py_INCREF(Py_None
);
5643 _resultobj
= Py_None
;
5647 #define wxScrolledWindow_GetScrollPageSize(_swigobj,_swigarg0) (_swigobj->GetScrollPageSize(_swigarg0))
5648 static PyObject
*_wrap_wxScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5649 PyObject
* _resultobj
;
5651 wxScrolledWindow
* _arg0
;
5653 PyObject
* _argo0
= 0;
5654 char *_kwnames
[] = { "self","orient", NULL
};
5657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrolledWindow_GetScrollPageSize",_kwnames
,&_argo0
,&_arg1
))
5660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPageSize. Expected _wxScrolledWindow_p.");
5667 wxPy_BEGIN_ALLOW_THREADS
;
5668 _result
= (int )wxScrolledWindow_GetScrollPageSize(_arg0
,_arg1
);
5670 wxPy_END_ALLOW_THREADS
;
5671 } _resultobj
= Py_BuildValue("i",_result
);
5675 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
5676 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5677 PyObject
* _resultobj
;
5678 wxScrolledWindow
* _arg0
;
5683 PyObject
* _argo0
= 0;
5684 char *_kwnames
[] = { "self", NULL
};
5693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames
,&_argo0
))
5696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
5703 wxPy_BEGIN_ALLOW_THREADS
;
5704 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
5706 wxPy_END_ALLOW_THREADS
;
5707 } Py_INCREF(Py_None
);
5708 _resultobj
= Py_None
;
5711 o
= PyInt_FromLong((long) (*_arg1
));
5712 _resultobj
= t_output_helper(_resultobj
, o
);
5716 o
= PyInt_FromLong((long) (*_arg2
));
5717 _resultobj
= t_output_helper(_resultobj
, o
);
5722 #define wxScrolledWindow_GetTargetWindow(_swigobj) (_swigobj->GetTargetWindow())
5723 static PyObject
*_wrap_wxScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5724 PyObject
* _resultobj
;
5726 wxScrolledWindow
* _arg0
;
5727 PyObject
* _argo0
= 0;
5728 char *_kwnames
[] = { "self", NULL
};
5732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetTargetWindow",_kwnames
,&_argo0
))
5735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetTargetWindow. Expected _wxScrolledWindow_p.");
5742 wxPy_BEGIN_ALLOW_THREADS
;
5743 _result
= (wxWindow
*)wxScrolledWindow_GetTargetWindow(_arg0
);
5745 wxPy_END_ALLOW_THREADS
;
5747 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
5748 _resultobj
= Py_BuildValue("s",_ptemp
);
5751 _resultobj
= Py_None
;
5756 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
5757 static PyObject
*_wrap_wxScrolledWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5758 PyObject
* _resultobj
;
5759 wxScrolledWindow
* _arg0
;
5764 PyObject
* _argo0
= 0;
5765 char *_kwnames
[] = { "self", NULL
};
5774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetVirtualSize",_kwnames
,&_argo0
))
5777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
5784 wxPy_BEGIN_ALLOW_THREADS
;
5785 wxScrolledWindow_GetVirtualSize(_arg0
,_arg1
,_arg2
);
5787 wxPy_END_ALLOW_THREADS
;
5788 } Py_INCREF(Py_None
);
5789 _resultobj
= Py_None
;
5792 o
= PyInt_FromLong((long) (*_arg1
));
5793 _resultobj
= t_output_helper(_resultobj
, o
);
5797 o
= PyInt_FromLong((long) (*_arg2
));
5798 _resultobj
= t_output_helper(_resultobj
, o
);
5803 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
5804 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5805 PyObject
* _resultobj
;
5807 wxScrolledWindow
* _arg0
;
5808 PyObject
* _argo0
= 0;
5809 char *_kwnames
[] = { "self", NULL
};
5812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_IsRetained",_kwnames
,&_argo0
))
5815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
5822 wxPy_BEGIN_ALLOW_THREADS
;
5823 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
5825 wxPy_END_ALLOW_THREADS
;
5826 } _resultobj
= Py_BuildValue("i",_result
);
5830 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
5831 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5832 PyObject
* _resultobj
;
5833 wxScrolledWindow
* _arg0
;
5835 PyObject
* _argo0
= 0;
5836 PyObject
* _argo1
= 0;
5837 char *_kwnames
[] = { "self","dc", NULL
};
5840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_PrepareDC",_kwnames
,&_argo0
,&_argo1
))
5843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
5850 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5851 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
5857 wxPy_BEGIN_ALLOW_THREADS
;
5858 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
5860 wxPy_END_ALLOW_THREADS
;
5861 } Py_INCREF(Py_None
);
5862 _resultobj
= Py_None
;
5866 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
5867 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5868 PyObject
* _resultobj
;
5869 wxScrolledWindow
* _arg0
;
5872 PyObject
* _argo0
= 0;
5873 char *_kwnames
[] = { "self","x","y", NULL
};
5876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_Scroll",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5879 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5880 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
5886 wxPy_BEGIN_ALLOW_THREADS
;
5887 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
5889 wxPy_END_ALLOW_THREADS
;
5890 } Py_INCREF(Py_None
);
5891 _resultobj
= Py_None
;
5895 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5896 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5897 PyObject
* _resultobj
;
5898 wxScrolledWindow
* _arg0
;
5903 int _arg5
= (int ) 0;
5904 int _arg6
= (int ) 0;
5905 int _arg7
= (int ) FALSE
;
5906 PyObject
* _argo0
= 0;
5907 char *_kwnames
[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos","noRefresh", NULL
};
5910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|iii:wxScrolledWindow_SetScrollbars",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&_arg7
))
5913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
5920 wxPy_BEGIN_ALLOW_THREADS
;
5921 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
5923 wxPy_END_ALLOW_THREADS
;
5924 } Py_INCREF(Py_None
);
5925 _resultobj
= Py_None
;
5929 #define wxScrolledWindow_SetScrollPageSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScrollPageSize(_swigarg0,_swigarg1))
5930 static PyObject
*_wrap_wxScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5931 PyObject
* _resultobj
;
5932 wxScrolledWindow
* _arg0
;
5935 PyObject
* _argo0
= 0;
5936 char *_kwnames
[] = { "self","orient","pageSize", NULL
};
5939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_SetScrollPageSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollPageSize. Expected _wxScrolledWindow_p.");
5949 wxPy_BEGIN_ALLOW_THREADS
;
5950 wxScrolledWindow_SetScrollPageSize(_arg0
,_arg1
,_arg2
);
5952 wxPy_END_ALLOW_THREADS
;
5953 } Py_INCREF(Py_None
);
5954 _resultobj
= Py_None
;
5958 #define wxScrolledWindow_SetTargetWindow(_swigobj,_swigarg0) (_swigobj->SetTargetWindow(_swigarg0))
5959 static PyObject
*_wrap_wxScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5960 PyObject
* _resultobj
;
5961 wxScrolledWindow
* _arg0
;
5963 PyObject
* _argo0
= 0;
5964 PyObject
* _argo1
= 0;
5965 char *_kwnames
[] = { "self","window", NULL
};
5968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_SetTargetWindow",_kwnames
,&_argo0
,&_argo1
))
5971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetTargetWindow. Expected _wxScrolledWindow_p.");
5978 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5979 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_SetTargetWindow. Expected _wxWindow_p.");
5985 wxPy_BEGIN_ALLOW_THREADS
;
5986 wxScrolledWindow_SetTargetWindow(_arg0
,_arg1
);
5988 wxPy_END_ALLOW_THREADS
;
5989 } Py_INCREF(Py_None
);
5990 _resultobj
= Py_None
;
5994 #define wxScrolledWindow_GetViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetViewStart(_swigarg0,_swigarg1))
5995 static PyObject
*_wrap_wxScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5996 PyObject
* _resultobj
;
5997 wxScrolledWindow
* _arg0
;
6002 PyObject
* _argo0
= 0;
6003 char *_kwnames
[] = { "self", NULL
};
6012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetViewStart",_kwnames
,&_argo0
))
6015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetViewStart. Expected _wxScrolledWindow_p.");
6022 wxPy_BEGIN_ALLOW_THREADS
;
6023 wxScrolledWindow_GetViewStart(_arg0
,_arg1
,_arg2
);
6025 wxPy_END_ALLOW_THREADS
;
6026 } Py_INCREF(Py_None
);
6027 _resultobj
= Py_None
;
6030 o
= PyInt_FromLong((long) (*_arg1
));
6031 _resultobj
= t_output_helper(_resultobj
, o
);
6035 o
= PyInt_FromLong((long) (*_arg2
));
6036 _resultobj
= t_output_helper(_resultobj
, o
);
6041 #define wxScrolledWindow_ViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->ViewStart(_swigarg0,_swigarg1))
6042 static PyObject
*_wrap_wxScrolledWindow_ViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6043 PyObject
* _resultobj
;
6044 wxScrolledWindow
* _arg0
;
6049 PyObject
* _argo0
= 0;
6050 char *_kwnames
[] = { "self", NULL
};
6059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_ViewStart",_kwnames
,&_argo0
))
6062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_ViewStart. Expected _wxScrolledWindow_p.");
6069 wxPy_BEGIN_ALLOW_THREADS
;
6070 wxScrolledWindow_ViewStart(_arg0
,_arg1
,_arg2
);
6072 wxPy_END_ALLOW_THREADS
;
6073 } Py_INCREF(Py_None
);
6074 _resultobj
= Py_None
;
6077 o
= PyInt_FromLong((long) (*_arg1
));
6078 _resultobj
= t_output_helper(_resultobj
, o
);
6082 o
= PyInt_FromLong((long) (*_arg2
));
6083 _resultobj
= t_output_helper(_resultobj
, o
);
6088 #define wxScrolledWindow_CalcScrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcScrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6089 static PyObject
*_wrap_wxScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6090 PyObject
* _resultobj
;
6091 wxScrolledWindow
* _arg0
;
6098 PyObject
* _argo0
= 0;
6099 char *_kwnames
[] = { "self","x","y", NULL
};
6108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcScrolledPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition. Expected _wxScrolledWindow_p.");
6118 wxPy_BEGIN_ALLOW_THREADS
;
6119 wxScrolledWindow_CalcScrolledPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6121 wxPy_END_ALLOW_THREADS
;
6122 } Py_INCREF(Py_None
);
6123 _resultobj
= Py_None
;
6126 o
= PyInt_FromLong((long) (*_arg3
));
6127 _resultobj
= t_output_helper(_resultobj
, o
);
6131 o
= PyInt_FromLong((long) (*_arg4
));
6132 _resultobj
= t_output_helper(_resultobj
, o
);
6137 #define wxScrolledWindow_CalcUnscrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcUnscrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6138 static PyObject
*_wrap_wxScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6139 PyObject
* _resultobj
;
6140 wxScrolledWindow
* _arg0
;
6147 PyObject
* _argo0
= 0;
6148 char *_kwnames
[] = { "self","x","y", NULL
};
6157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcUnscrolledPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition. Expected _wxScrolledWindow_p.");
6167 wxPy_BEGIN_ALLOW_THREADS
;
6168 wxScrolledWindow_CalcUnscrolledPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6170 wxPy_END_ALLOW_THREADS
;
6171 } Py_INCREF(Py_None
);
6172 _resultobj
= Py_None
;
6175 o
= PyInt_FromLong((long) (*_arg3
));
6176 _resultobj
= t_output_helper(_resultobj
, o
);
6180 o
= PyInt_FromLong((long) (*_arg4
));
6181 _resultobj
= t_output_helper(_resultobj
, o
);
6186 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
6189 src
= (wxMenu
*) ptr
;
6190 dest
= (wxEvtHandler
*) src
;
6191 return (void *) dest
;
6194 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
6195 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6196 PyObject
* _resultobj
;
6198 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
6199 long _arg1
= (long ) 0;
6200 PyObject
* _obj0
= 0;
6201 char *_kwnames
[] = { "title","style", NULL
};
6205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Ol:new_wxMenu",_kwnames
,&_obj0
,&_arg1
))
6209 if (!PyString_Check(_obj0
)) {
6210 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6213 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
6216 wxPy_BEGIN_ALLOW_THREADS
;
6217 _result
= (wxMenu
*)new_wxMenu(*_arg0
,_arg1
);
6219 wxPy_END_ALLOW_THREADS
;
6221 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
6222 _resultobj
= Py_BuildValue("s",_ptemp
);
6225 _resultobj
= Py_None
;
6234 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6235 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6236 PyObject
* _resultobj
;
6240 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
6241 int _arg4
= (int ) FALSE
;
6242 PyObject
* _argo0
= 0;
6243 PyObject
* _obj2
= 0;
6244 PyObject
* _obj3
= 0;
6245 char *_kwnames
[] = { "self","id","item","helpString","checkable", NULL
};
6248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Append",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
6251 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6252 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
6258 if (!PyString_Check(_obj2
)) {
6259 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6262 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6266 if (!PyString_Check(_obj3
)) {
6267 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6270 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
6273 wxPy_BEGIN_ALLOW_THREADS
;
6274 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
6276 wxPy_END_ALLOW_THREADS
;
6277 } Py_INCREF(Py_None
);
6278 _resultobj
= Py_None
;
6290 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6291 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6292 PyObject
* _resultobj
;
6297 wxString
* _arg4
= (wxString
*) &wxPyEmptyStr
;
6298 PyObject
* _argo0
= 0;
6299 PyObject
* _obj2
= 0;
6300 PyObject
* _argo3
= 0;
6301 PyObject
* _obj4
= 0;
6302 char *_kwnames
[] = { "self","id","item","subMenu","helpString", NULL
};
6305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_AppendMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
6308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
6315 if (!PyString_Check(_obj2
)) {
6316 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6319 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6322 if (_argo3
== Py_None
) { _arg3
= NULL
; }
6323 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
6324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
6330 if (!PyString_Check(_obj4
)) {
6331 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6334 _arg4
= new wxString(PyString_AsString(_obj4
), PyString_Size(_obj4
));
6337 wxPy_BEGIN_ALLOW_THREADS
;
6338 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
6340 wxPy_END_ALLOW_THREADS
;
6341 } Py_INCREF(Py_None
);
6342 _resultobj
= Py_None
;
6354 #define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
6355 static PyObject
*_wrap_wxMenu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6356 PyObject
* _resultobj
;
6359 PyObject
* _argo0
= 0;
6360 PyObject
* _argo1
= 0;
6361 char *_kwnames
[] = { "self","item", NULL
};
6364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_AppendItem",_kwnames
,&_argo0
,&_argo1
))
6367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
6374 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6375 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
6376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
6381 wxPy_BEGIN_ALLOW_THREADS
;
6382 wxMenu_AppendItem(_arg0
,_arg1
);
6384 wxPy_END_ALLOW_THREADS
;
6385 } Py_INCREF(Py_None
);
6386 _resultobj
= Py_None
;
6390 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
6391 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6392 PyObject
* _resultobj
;
6394 PyObject
* _argo0
= 0;
6395 char *_kwnames
[] = { "self", NULL
};
6398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_AppendSeparator",_kwnames
,&_argo0
))
6401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
6408 wxPy_BEGIN_ALLOW_THREADS
;
6409 wxMenu_AppendSeparator(_arg0
);
6411 wxPy_END_ALLOW_THREADS
;
6412 } Py_INCREF(Py_None
);
6413 _resultobj
= Py_None
;
6417 #define wxMenu_Break(_swigobj) (_swigobj->Break())
6418 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6419 PyObject
* _resultobj
;
6421 PyObject
* _argo0
= 0;
6422 char *_kwnames
[] = { "self", NULL
};
6425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Break",_kwnames
,&_argo0
))
6428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
6435 wxPy_BEGIN_ALLOW_THREADS
;
6436 wxMenu_Break(_arg0
);
6438 wxPy_END_ALLOW_THREADS
;
6439 } Py_INCREF(Py_None
);
6440 _resultobj
= Py_None
;
6444 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
6445 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6446 PyObject
* _resultobj
;
6450 PyObject
* _argo0
= 0;
6452 char *_kwnames
[] = { "self","id","flag", NULL
};
6455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
6464 _arg2
= (bool ) tempbool2
;
6466 wxPy_BEGIN_ALLOW_THREADS
;
6467 wxMenu_Check(_arg0
,_arg1
,_arg2
);
6469 wxPy_END_ALLOW_THREADS
;
6470 } Py_INCREF(Py_None
);
6471 _resultobj
= Py_None
;
6475 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
6476 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6477 PyObject
* _resultobj
;
6481 PyObject
* _argo0
= 0;
6482 char *_kwnames
[] = { "self","id", NULL
};
6485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsChecked",_kwnames
,&_argo0
,&_arg1
))
6488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
6495 wxPy_BEGIN_ALLOW_THREADS
;
6496 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
6498 wxPy_END_ALLOW_THREADS
;
6499 } _resultobj
= Py_BuildValue("i",_result
);
6503 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
6504 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6505 PyObject
* _resultobj
;
6509 PyObject
* _argo0
= 0;
6511 char *_kwnames
[] = { "self","id","enable", NULL
};
6514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
6523 _arg2
= (bool ) tempbool2
;
6525 wxPy_BEGIN_ALLOW_THREADS
;
6526 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
6528 wxPy_END_ALLOW_THREADS
;
6529 } Py_INCREF(Py_None
);
6530 _resultobj
= Py_None
;
6534 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
6535 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6536 PyObject
* _resultobj
;
6540 PyObject
* _argo0
= 0;
6541 char *_kwnames
[] = { "self","id", NULL
};
6544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
6547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
6554 wxPy_BEGIN_ALLOW_THREADS
;
6555 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
6557 wxPy_END_ALLOW_THREADS
;
6558 } _resultobj
= Py_BuildValue("i",_result
);
6562 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
6563 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6564 PyObject
* _resultobj
;
6568 PyObject
* _argo0
= 0;
6569 PyObject
* _obj1
= 0;
6570 char *_kwnames
[] = { "self","itemString", NULL
};
6573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_FindItem",_kwnames
,&_argo0
,&_obj1
))
6576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
6583 if (!PyString_Check(_obj1
)) {
6584 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6587 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
6590 wxPy_BEGIN_ALLOW_THREADS
;
6591 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
6593 wxPy_END_ALLOW_THREADS
;
6594 } _resultobj
= Py_BuildValue("i",_result
);
6602 #define wxMenu_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
6603 static PyObject
*_wrap_wxMenu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6604 PyObject
* _resultobj
;
6605 wxMenuItem
* _result
;
6608 PyObject
* _argo0
= 0;
6609 char *_kwnames
[] = { "self","id", NULL
};
6613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_FindItemById",_kwnames
,&_argo0
,&_arg1
))
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_FindItemById. Expected _wxMenu_p.");
6623 wxPy_BEGIN_ALLOW_THREADS
;
6624 _result
= (wxMenuItem
*)wxMenu_FindItemById(_arg0
,_arg1
);
6626 wxPy_END_ALLOW_THREADS
;
6628 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
6629 _resultobj
= Py_BuildValue("s",_ptemp
);
6632 _resultobj
= Py_None
;
6637 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
6638 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6639 PyObject
* _resultobj
;
6642 PyObject
* _argo0
= 0;
6643 char *_kwnames
[] = { "self", NULL
};
6646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetTitle",_kwnames
,&_argo0
))
6649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
6656 wxPy_BEGIN_ALLOW_THREADS
;
6657 _result
= new wxString (wxMenu_GetTitle(_arg0
));
6659 wxPy_END_ALLOW_THREADS
;
6661 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6669 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
6670 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6671 PyObject
* _resultobj
;
6674 PyObject
* _argo0
= 0;
6675 PyObject
* _obj1
= 0;
6676 char *_kwnames
[] = { "self","title", NULL
};
6679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetTitle",_kwnames
,&_argo0
,&_obj1
))
6682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
6689 if (!PyString_Check(_obj1
)) {
6690 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6693 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
6696 wxPy_BEGIN_ALLOW_THREADS
;
6697 wxMenu_SetTitle(_arg0
,*_arg1
);
6699 wxPy_END_ALLOW_THREADS
;
6700 } Py_INCREF(Py_None
);
6701 _resultobj
= Py_None
;
6709 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
6710 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6711 PyObject
* _resultobj
;
6715 PyObject
* _argo0
= 0;
6716 char *_kwnames
[] = { "self","id", NULL
};
6719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetLabel",_kwnames
,&_argo0
,&_arg1
))
6722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
6729 wxPy_BEGIN_ALLOW_THREADS
;
6730 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
6732 wxPy_END_ALLOW_THREADS
;
6734 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6742 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
6743 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6744 PyObject
* _resultobj
;
6748 PyObject
* _argo0
= 0;
6749 PyObject
* _obj2
= 0;
6750 char *_kwnames
[] = { "self","id","label", NULL
};
6753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
6763 if (!PyString_Check(_obj2
)) {
6764 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6767 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6770 wxPy_BEGIN_ALLOW_THREADS
;
6771 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
6773 wxPy_END_ALLOW_THREADS
;
6774 } Py_INCREF(Py_None
);
6775 _resultobj
= Py_None
;
6783 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
6784 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6785 PyObject
* _resultobj
;
6789 PyObject
* _argo0
= 0;
6790 char *_kwnames
[] = { "self","id", NULL
};
6793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
6796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
6803 wxPy_BEGIN_ALLOW_THREADS
;
6804 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
6806 wxPy_END_ALLOW_THREADS
;
6808 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6816 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
6817 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6818 PyObject
* _resultobj
;
6822 PyObject
* _argo0
= 0;
6823 PyObject
* _obj2
= 0;
6824 char *_kwnames
[] = { "self","id","helpString", NULL
};
6827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
6837 if (!PyString_Check(_obj2
)) {
6838 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6841 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6844 wxPy_BEGIN_ALLOW_THREADS
;
6845 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
6847 wxPy_END_ALLOW_THREADS
;
6848 } Py_INCREF(Py_None
);
6849 _resultobj
= Py_None
;
6857 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
6858 static PyObject
*_wrap_wxMenu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6859 PyObject
* _resultobj
;
6861 wxEvtHandler
* _arg1
= (wxEvtHandler
*) NULL
;
6862 PyObject
* _argo0
= 0;
6863 PyObject
* _argo1
= 0;
6864 char *_kwnames
[] = { "self","source", NULL
};
6867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxMenu_UpdateUI",_kwnames
,&_argo0
,&_argo1
))
6870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
6877 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6878 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
6879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
6884 wxPy_BEGIN_ALLOW_THREADS
;
6885 wxMenu_UpdateUI(_arg0
,_arg1
);
6887 wxPy_END_ALLOW_THREADS
;
6888 } Py_INCREF(Py_None
);
6889 _resultobj
= Py_None
;
6893 #define wxMenu_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
6894 static PyObject
*_wrap_wxMenu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6895 PyObject
* _resultobj
;
6899 PyObject
* _argo0
= 0;
6900 char *_kwnames
[] = { "self","id", NULL
};
6903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Delete",_kwnames
,&_argo0
,&_arg1
))
6906 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6907 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Delete. Expected _wxMenu_p.");
6913 wxPy_BEGIN_ALLOW_THREADS
;
6914 _result
= (bool )wxMenu_Delete(_arg0
,_arg1
);
6916 wxPy_END_ALLOW_THREADS
;
6917 } _resultobj
= Py_BuildValue("i",_result
);
6921 #define wxMenu_DeleteItem(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
6922 static PyObject
*_wrap_wxMenu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6923 PyObject
* _resultobj
;
6927 PyObject
* _argo0
= 0;
6928 PyObject
* _argo1
= 0;
6929 char *_kwnames
[] = { "self","item", NULL
};
6932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DeleteItem",_kwnames
,&_argo0
,&_argo1
))
6935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DeleteItem. Expected _wxMenu_p.");
6942 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6943 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
6944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DeleteItem. Expected _wxMenuItem_p.");
6949 wxPy_BEGIN_ALLOW_THREADS
;
6950 _result
= (bool )wxMenu_DeleteItem(_arg0
,_arg1
);
6952 wxPy_END_ALLOW_THREADS
;
6953 } _resultobj
= Py_BuildValue("i",_result
);
6957 #define wxMenu_Insert(_swigobj,_swigarg0,_swigarg1) (_swigobj->Insert(_swigarg0,_swigarg1))
6958 static PyObject
*_wrap_wxMenu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6959 PyObject
* _resultobj
;
6964 PyObject
* _argo0
= 0;
6965 PyObject
* _argo2
= 0;
6966 char *_kwnames
[] = { "self","pos","item", NULL
};
6969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
6972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Insert. Expected _wxMenu_p.");
6979 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6980 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenuItem_p")) {
6981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenu_Insert. Expected _wxMenuItem_p.");
6986 wxPy_BEGIN_ALLOW_THREADS
;
6987 _result
= (bool )wxMenu_Insert(_arg0
,_arg1
,_arg2
);
6989 wxPy_END_ALLOW_THREADS
;
6990 } _resultobj
= Py_BuildValue("i",_result
);
6994 #define wxMenu_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
6995 static PyObject
*_wrap_wxMenu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6996 PyObject
* _resultobj
;
6997 wxMenuItem
* _result
;
7000 PyObject
* _argo0
= 0;
7001 char *_kwnames
[] = { "self","id", NULL
};
7005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Remove",_kwnames
,&_argo0
,&_arg1
))
7008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Remove. Expected _wxMenu_p.");
7015 wxPy_BEGIN_ALLOW_THREADS
;
7016 _result
= (wxMenuItem
*)wxMenu_Remove(_arg0
,_arg1
);
7018 wxPy_END_ALLOW_THREADS
;
7020 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
7021 _resultobj
= Py_BuildValue("s",_ptemp
);
7024 _resultobj
= Py_None
;
7029 #define wxMenu_RemoveItem(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
7030 static PyObject
*_wrap_wxMenu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7031 PyObject
* _resultobj
;
7032 wxMenuItem
* _result
;
7035 PyObject
* _argo0
= 0;
7036 PyObject
* _argo1
= 0;
7037 char *_kwnames
[] = { "self","item", NULL
};
7041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_RemoveItem",_kwnames
,&_argo0
,&_argo1
))
7044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_RemoveItem. Expected _wxMenu_p.");
7051 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7052 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
7053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_RemoveItem. Expected _wxMenuItem_p.");
7058 wxPy_BEGIN_ALLOW_THREADS
;
7059 _result
= (wxMenuItem
*)wxMenu_RemoveItem(_arg0
,_arg1
);
7061 wxPy_END_ALLOW_THREADS
;
7063 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
7064 _resultobj
= Py_BuildValue("s",_ptemp
);
7067 _resultobj
= Py_None
;
7072 static void wxMenu_Destroy(wxMenu
*self
) { delete self
; }
7073 static PyObject
*_wrap_wxMenu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7074 PyObject
* _resultobj
;
7076 PyObject
* _argo0
= 0;
7077 char *_kwnames
[] = { "self", NULL
};
7080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Destroy",_kwnames
,&_argo0
))
7083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Destroy. Expected _wxMenu_p.");
7090 wxPy_BEGIN_ALLOW_THREADS
;
7091 wxMenu_Destroy(_arg0
);
7093 wxPy_END_ALLOW_THREADS
;
7094 } Py_INCREF(Py_None
);
7095 _resultobj
= Py_None
;
7099 #define wxMenu_DestroyId(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
7100 static PyObject
*_wrap_wxMenu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7101 PyObject
* _resultobj
;
7105 PyObject
* _argo0
= 0;
7106 char *_kwnames
[] = { "self","id", NULL
};
7109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_DestroyId",_kwnames
,&_argo0
,&_arg1
))
7112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyId. Expected _wxMenu_p.");
7119 wxPy_BEGIN_ALLOW_THREADS
;
7120 _result
= (bool )wxMenu_DestroyId(_arg0
,_arg1
);
7122 wxPy_END_ALLOW_THREADS
;
7123 } _resultobj
= Py_BuildValue("i",_result
);
7127 #define wxMenu_DestroyItem(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
7128 static PyObject
*_wrap_wxMenu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7129 PyObject
* _resultobj
;
7133 PyObject
* _argo0
= 0;
7134 PyObject
* _argo1
= 0;
7135 char *_kwnames
[] = { "self","item", NULL
};
7138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DestroyItem",_kwnames
,&_argo0
,&_argo1
))
7141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyItem. Expected _wxMenu_p.");
7148 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7149 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
7150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DestroyItem. Expected _wxMenuItem_p.");
7155 wxPy_BEGIN_ALLOW_THREADS
;
7156 _result
= (bool )wxMenu_DestroyItem(_arg0
,_arg1
);
7158 wxPy_END_ALLOW_THREADS
;
7159 } _resultobj
= Py_BuildValue("i",_result
);
7163 #define wxMenu_GetMenuItemCount(_swigobj) (_swigobj->GetMenuItemCount())
7164 static PyObject
*_wrap_wxMenu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7165 PyObject
* _resultobj
;
7168 PyObject
* _argo0
= 0;
7169 char *_kwnames
[] = { "self", NULL
};
7172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItemCount",_kwnames
,&_argo0
))
7175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItemCount. Expected _wxMenu_p.");
7182 wxPy_BEGIN_ALLOW_THREADS
;
7183 _result
= (size_t )wxMenu_GetMenuItemCount(_arg0
);
7185 wxPy_END_ALLOW_THREADS
;
7186 } _resultobj
= Py_BuildValue("i",_result
);
7190 static PyObject
* wxMenu_GetMenuItems(wxMenu
*self
) {
7191 wxMenuItemList
& list
= self
->GetMenuItems();
7192 return wxPy_ConvertList(&list
, "wxMenuItem");
7194 static PyObject
*_wrap_wxMenu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7195 PyObject
* _resultobj
;
7198 PyObject
* _argo0
= 0;
7199 char *_kwnames
[] = { "self", NULL
};
7202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItems",_kwnames
,&_argo0
))
7205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItems. Expected _wxMenu_p.");
7212 wxPy_BEGIN_ALLOW_THREADS
;
7213 _result
= (PyObject
*)wxMenu_GetMenuItems(_arg0
);
7215 wxPy_END_ALLOW_THREADS
;
7217 _resultobj
= _result
;
7222 #define wxMenu_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
7223 static PyObject
*_wrap_wxMenu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7224 PyObject
* _resultobj
;
7226 wxEvtHandler
* _arg1
;
7227 PyObject
* _argo0
= 0;
7228 PyObject
* _argo1
= 0;
7229 char *_kwnames
[] = { "self","handler", NULL
};
7232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
7235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetEventHandler. Expected _wxMenu_p.");
7242 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7243 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
7244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetEventHandler. Expected _wxEvtHandler_p.");
7249 wxPy_BEGIN_ALLOW_THREADS
;
7250 wxMenu_SetEventHandler(_arg0
,_arg1
);
7252 wxPy_END_ALLOW_THREADS
;
7253 } Py_INCREF(Py_None
);
7254 _resultobj
= Py_None
;
7258 #define wxMenu_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
7259 static PyObject
*_wrap_wxMenu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7260 PyObject
* _resultobj
;
7261 wxEvtHandler
* _result
;
7263 PyObject
* _argo0
= 0;
7264 char *_kwnames
[] = { "self", NULL
};
7268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetEventHandler",_kwnames
,&_argo0
))
7271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetEventHandler. Expected _wxMenu_p.");
7278 wxPy_BEGIN_ALLOW_THREADS
;
7279 _result
= (wxEvtHandler
*)wxMenu_GetEventHandler(_arg0
);
7281 wxPy_END_ALLOW_THREADS
;
7283 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
7284 _resultobj
= Py_BuildValue("s",_ptemp
);
7287 _resultobj
= Py_None
;
7292 #define wxMenu_SetInvokingWindow(_swigobj,_swigarg0) (_swigobj->SetInvokingWindow(_swigarg0))
7293 static PyObject
*_wrap_wxMenu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7294 PyObject
* _resultobj
;
7297 PyObject
* _argo0
= 0;
7298 PyObject
* _argo1
= 0;
7299 char *_kwnames
[] = { "self","win", NULL
};
7302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetInvokingWindow",_kwnames
,&_argo0
,&_argo1
))
7305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetInvokingWindow. Expected _wxMenu_p.");
7312 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7313 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetInvokingWindow. Expected _wxWindow_p.");
7319 wxPy_BEGIN_ALLOW_THREADS
;
7320 wxMenu_SetInvokingWindow(_arg0
,_arg1
);
7322 wxPy_END_ALLOW_THREADS
;
7323 } Py_INCREF(Py_None
);
7324 _resultobj
= Py_None
;
7328 #define wxMenu_GetInvokingWindow(_swigobj) (_swigobj->GetInvokingWindow())
7329 static PyObject
*_wrap_wxMenu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7330 PyObject
* _resultobj
;
7333 PyObject
* _argo0
= 0;
7334 char *_kwnames
[] = { "self", NULL
};
7338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetInvokingWindow",_kwnames
,&_argo0
))
7341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetInvokingWindow. Expected _wxMenu_p.");
7348 wxPy_BEGIN_ALLOW_THREADS
;
7349 _result
= (wxWindow
*)wxMenu_GetInvokingWindow(_arg0
);
7351 wxPy_END_ALLOW_THREADS
;
7353 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
7354 _resultobj
= Py_BuildValue("s",_ptemp
);
7357 _resultobj
= Py_None
;
7362 #define wxMenu_GetStyle(_swigobj) (_swigobj->GetStyle())
7363 static PyObject
*_wrap_wxMenu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7364 PyObject
* _resultobj
;
7367 PyObject
* _argo0
= 0;
7368 char *_kwnames
[] = { "self", NULL
};
7371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetStyle",_kwnames
,&_argo0
))
7374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetStyle. Expected _wxMenu_p.");
7381 wxPy_BEGIN_ALLOW_THREADS
;
7382 _result
= (long )wxMenu_GetStyle(_arg0
);
7384 wxPy_END_ALLOW_THREADS
;
7385 } _resultobj
= Py_BuildValue("l",_result
);
7389 #define wxMenu_IsAttached(_swigobj) (_swigobj->IsAttached())
7390 static PyObject
*_wrap_wxMenu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7391 PyObject
* _resultobj
;
7394 PyObject
* _argo0
= 0;
7395 char *_kwnames
[] = { "self", NULL
};
7398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_IsAttached",_kwnames
,&_argo0
))
7401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsAttached. Expected _wxMenu_p.");
7408 wxPy_BEGIN_ALLOW_THREADS
;
7409 _result
= (bool )wxMenu_IsAttached(_arg0
);
7411 wxPy_END_ALLOW_THREADS
;
7412 } _resultobj
= Py_BuildValue("i",_result
);
7416 #define wxMenu_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
7417 static PyObject
*_wrap_wxMenu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7418 PyObject
* _resultobj
;
7421 PyObject
* _argo0
= 0;
7422 PyObject
* _argo1
= 0;
7423 char *_kwnames
[] = { "self","parent", NULL
};
7426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetParent",_kwnames
,&_argo0
,&_argo1
))
7429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetParent. Expected _wxMenu_p.");
7436 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7437 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
7438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetParent. Expected _wxMenu_p.");
7443 wxPy_BEGIN_ALLOW_THREADS
;
7444 wxMenu_SetParent(_arg0
,_arg1
);
7446 wxPy_END_ALLOW_THREADS
;
7447 } Py_INCREF(Py_None
);
7448 _resultobj
= Py_None
;
7452 #define wxMenu_GetParent(_swigobj) (_swigobj->GetParent())
7453 static PyObject
*_wrap_wxMenu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7454 PyObject
* _resultobj
;
7457 PyObject
* _argo0
= 0;
7458 char *_kwnames
[] = { "self", NULL
};
7462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetParent",_kwnames
,&_argo0
))
7465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetParent. Expected _wxMenu_p.");
7472 wxPy_BEGIN_ALLOW_THREADS
;
7473 _result
= (wxMenu
*)wxMenu_GetParent(_arg0
);
7475 wxPy_END_ALLOW_THREADS
;
7477 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7478 _resultobj
= Py_BuildValue("s",_ptemp
);
7481 _resultobj
= Py_None
;
7486 static void *SwigwxMenuBarTowxWindow(void *ptr
) {
7489 src
= (wxMenuBar
*) ptr
;
7490 dest
= (wxWindow
*) src
;
7491 return (void *) dest
;
7494 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
7497 src
= (wxMenuBar
*) ptr
;
7498 dest
= (wxEvtHandler
*) src
;
7499 return (void *) dest
;
7502 #define new_wxMenuBar() (new wxMenuBar())
7503 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7504 PyObject
* _resultobj
;
7505 wxMenuBar
* _result
;
7506 char *_kwnames
[] = { NULL
};
7510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMenuBar",_kwnames
))
7513 wxPy_BEGIN_ALLOW_THREADS
;
7514 _result
= (wxMenuBar
*)new_wxMenuBar();
7516 wxPy_END_ALLOW_THREADS
;
7518 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
7519 _resultobj
= Py_BuildValue("s",_ptemp
);
7522 _resultobj
= Py_None
;
7527 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
7528 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7529 PyObject
* _resultobj
;
7534 PyObject
* _argo0
= 0;
7535 PyObject
* _argo1
= 0;
7536 PyObject
* _obj2
= 0;
7537 char *_kwnames
[] = { "self","menu","title", NULL
};
7540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_Append",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
7550 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7551 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
7552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
7557 if (!PyString_Check(_obj2
)) {
7558 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7561 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7564 wxPy_BEGIN_ALLOW_THREADS
;
7565 _result
= (bool )wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
7567 wxPy_END_ALLOW_THREADS
;
7568 } _resultobj
= Py_BuildValue("i",_result
);
7576 #define wxMenuBar_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2))
7577 static PyObject
*_wrap_wxMenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7578 PyObject
* _resultobj
;
7584 PyObject
* _argo0
= 0;
7585 PyObject
* _argo2
= 0;
7586 PyObject
* _obj3
= 0;
7587 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
7590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
7593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Insert. Expected _wxMenuBar_p.");
7600 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7601 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
7602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Insert. Expected _wxMenu_p.");
7607 if (!PyString_Check(_obj3
)) {
7608 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7611 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
7614 wxPy_BEGIN_ALLOW_THREADS
;
7615 _result
= (bool )wxMenuBar_Insert(_arg0
,_arg1
,_arg2
,*_arg3
);
7617 wxPy_END_ALLOW_THREADS
;
7618 } _resultobj
= Py_BuildValue("i",_result
);
7626 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
7627 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7628 PyObject
* _resultobj
;
7631 PyObject
* _argo0
= 0;
7632 char *_kwnames
[] = { "self", NULL
};
7635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuBar_GetMenuCount",_kwnames
,&_argo0
))
7638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
7645 wxPy_BEGIN_ALLOW_THREADS
;
7646 _result
= (size_t )wxMenuBar_GetMenuCount(_arg0
);
7648 wxPy_END_ALLOW_THREADS
;
7649 } _resultobj
= Py_BuildValue("i",_result
);
7653 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
7654 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7655 PyObject
* _resultobj
;
7659 PyObject
* _argo0
= 0;
7660 char *_kwnames
[] = { "self","pos", NULL
};
7664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetMenu",_kwnames
,&_argo0
,&_arg1
))
7667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
7674 wxPy_BEGIN_ALLOW_THREADS
;
7675 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
7677 wxPy_END_ALLOW_THREADS
;
7679 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7680 _resultobj
= Py_BuildValue("s",_ptemp
);
7683 _resultobj
= Py_None
;
7688 #define wxMenuBar_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
7689 static PyObject
*_wrap_wxMenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7690 PyObject
* _resultobj
;
7696 PyObject
* _argo0
= 0;
7697 PyObject
* _argo2
= 0;
7698 PyObject
* _obj3
= 0;
7699 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
7703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
7706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Replace. Expected _wxMenuBar_p.");
7713 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7714 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
7715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Replace. Expected _wxMenu_p.");
7720 if (!PyString_Check(_obj3
)) {
7721 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7724 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
7727 wxPy_BEGIN_ALLOW_THREADS
;
7728 _result
= (wxMenu
*)wxMenuBar_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
7730 wxPy_END_ALLOW_THREADS
;
7732 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7733 _resultobj
= Py_BuildValue("s",_ptemp
);
7736 _resultobj
= Py_None
;
7745 #define wxMenuBar_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
7746 static PyObject
*_wrap_wxMenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7747 PyObject
* _resultobj
;
7751 PyObject
* _argo0
= 0;
7752 char *_kwnames
[] = { "self","pos", NULL
};
7756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_Remove",_kwnames
,&_argo0
,&_arg1
))
7759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Remove. Expected _wxMenuBar_p.");
7766 wxPy_BEGIN_ALLOW_THREADS
;
7767 _result
= (wxMenu
*)wxMenuBar_Remove(_arg0
,_arg1
);
7769 wxPy_END_ALLOW_THREADS
;
7771 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7772 _resultobj
= Py_BuildValue("s",_ptemp
);
7775 _resultobj
= Py_None
;
7780 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
7781 static PyObject
*_wrap_wxMenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7782 PyObject
* _resultobj
;
7786 PyObject
* _argo0
= 0;
7788 char *_kwnames
[] = { "self","pos","enable", NULL
};
7791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_EnableTop",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
7800 _arg2
= (bool ) tempbool2
;
7802 wxPy_BEGIN_ALLOW_THREADS
;
7803 wxMenuBar_EnableTop(_arg0
,_arg1
,_arg2
);
7805 wxPy_END_ALLOW_THREADS
;
7806 } Py_INCREF(Py_None
);
7807 _resultobj
= Py_None
;
7811 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
7812 static PyObject
*_wrap_wxMenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7813 PyObject
* _resultobj
;
7817 PyObject
* _argo0
= 0;
7818 PyObject
* _obj2
= 0;
7819 char *_kwnames
[] = { "self","pos","label", NULL
};
7822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabelTop",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
7825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
7832 if (!PyString_Check(_obj2
)) {
7833 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7836 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7839 wxPy_BEGIN_ALLOW_THREADS
;
7840 wxMenuBar_SetLabelTop(_arg0
,_arg1
,*_arg2
);
7842 wxPy_END_ALLOW_THREADS
;
7843 } Py_INCREF(Py_None
);
7844 _resultobj
= Py_None
;
7852 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
7853 static PyObject
*_wrap_wxMenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7854 PyObject
* _resultobj
;
7858 PyObject
* _argo0
= 0;
7859 char *_kwnames
[] = { "self","pos", NULL
};
7862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabelTop",_kwnames
,&_argo0
,&_arg1
))
7865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
7872 wxPy_BEGIN_ALLOW_THREADS
;
7873 _result
= new wxString (wxMenuBar_GetLabelTop(_arg0
,_arg1
));
7875 wxPy_END_ALLOW_THREADS
;
7877 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7885 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
7886 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7887 PyObject
* _resultobj
;
7892 PyObject
* _argo0
= 0;
7893 PyObject
* _obj1
= 0;
7894 PyObject
* _obj2
= 0;
7895 char *_kwnames
[] = { "self","menuString","itemString", NULL
};
7898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_FindMenuItem",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
7901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
7908 if (!PyString_Check(_obj1
)) {
7909 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7912 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
7915 if (!PyString_Check(_obj2
)) {
7916 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7919 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7922 wxPy_BEGIN_ALLOW_THREADS
;
7923 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
7925 wxPy_END_ALLOW_THREADS
;
7926 } _resultobj
= Py_BuildValue("i",_result
);
7938 #define wxMenuBar_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
7939 static PyObject
*_wrap_wxMenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7940 PyObject
* _resultobj
;
7941 wxMenuItem
* _result
;
7944 PyObject
* _argo0
= 0;
7945 char *_kwnames
[] = { "self","id", NULL
};
7949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_FindItemById",_kwnames
,&_argo0
,&_arg1
))
7952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemById. Expected _wxMenuBar_p.");
7959 wxPy_BEGIN_ALLOW_THREADS
;
7960 _result
= (wxMenuItem
*)wxMenuBar_FindItemById(_arg0
,_arg1
);
7962 wxPy_END_ALLOW_THREADS
;
7964 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
7965 _resultobj
= Py_BuildValue("s",_ptemp
);
7968 _resultobj
= Py_None
;
7973 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
7974 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7975 PyObject
* _resultobj
;
7979 PyObject
* _argo0
= 0;
7981 char *_kwnames
[] = { "self","id","enable", NULL
};
7984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
7993 _arg2
= (bool ) tempbool2
;
7995 wxPy_BEGIN_ALLOW_THREADS
;
7996 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
7998 wxPy_END_ALLOW_THREADS
;
7999 } Py_INCREF(Py_None
);
8000 _resultobj
= Py_None
;
8004 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
8005 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8006 PyObject
* _resultobj
;
8010 PyObject
* _argo0
= 0;
8012 char *_kwnames
[] = { "self","id","check", NULL
};
8015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
8024 _arg2
= (bool ) tempbool2
;
8026 wxPy_BEGIN_ALLOW_THREADS
;
8027 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
8029 wxPy_END_ALLOW_THREADS
;
8030 } Py_INCREF(Py_None
);
8031 _resultobj
= Py_None
;
8035 #define wxMenuBar_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
8036 static PyObject
*_wrap_wxMenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8037 PyObject
* _resultobj
;
8041 PyObject
* _argo0
= 0;
8042 char *_kwnames
[] = { "self","id", NULL
};
8045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsChecked",_kwnames
,&_argo0
,&_arg1
))
8048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsChecked. Expected _wxMenuBar_p.");
8055 wxPy_BEGIN_ALLOW_THREADS
;
8056 _result
= (bool )wxMenuBar_IsChecked(_arg0
,_arg1
);
8058 wxPy_END_ALLOW_THREADS
;
8059 } _resultobj
= Py_BuildValue("i",_result
);
8063 #define wxMenuBar_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
8064 static PyObject
*_wrap_wxMenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8065 PyObject
* _resultobj
;
8069 PyObject
* _argo0
= 0;
8070 char *_kwnames
[] = { "self","id", NULL
};
8073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
8076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsEnabled. Expected _wxMenuBar_p.");
8083 wxPy_BEGIN_ALLOW_THREADS
;
8084 _result
= (bool )wxMenuBar_IsEnabled(_arg0
,_arg1
);
8086 wxPy_END_ALLOW_THREADS
;
8087 } _resultobj
= Py_BuildValue("i",_result
);
8091 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
8092 static PyObject
*_wrap_wxMenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8093 PyObject
* _resultobj
;
8097 PyObject
* _argo0
= 0;
8098 PyObject
* _obj2
= 0;
8099 char *_kwnames
[] = { "self","id","label", NULL
};
8102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
8112 if (!PyString_Check(_obj2
)) {
8113 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8116 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
8119 wxPy_BEGIN_ALLOW_THREADS
;
8120 wxMenuBar_SetLabel(_arg0
,_arg1
,*_arg2
);
8122 wxPy_END_ALLOW_THREADS
;
8123 } Py_INCREF(Py_None
);
8124 _resultobj
= Py_None
;
8132 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
8133 static PyObject
*_wrap_wxMenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8134 PyObject
* _resultobj
;
8138 PyObject
* _argo0
= 0;
8139 char *_kwnames
[] = { "self","id", NULL
};
8142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabel",_kwnames
,&_argo0
,&_arg1
))
8145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
8152 wxPy_BEGIN_ALLOW_THREADS
;
8153 _result
= new wxString (wxMenuBar_GetLabel(_arg0
,_arg1
));
8155 wxPy_END_ALLOW_THREADS
;
8157 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8165 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
8166 static PyObject
*_wrap_wxMenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8167 PyObject
* _resultobj
;
8171 PyObject
* _argo0
= 0;
8172 PyObject
* _obj2
= 0;
8173 char *_kwnames
[] = { "self","id","helpString", NULL
};
8176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
8186 if (!PyString_Check(_obj2
)) {
8187 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8190 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
8193 wxPy_BEGIN_ALLOW_THREADS
;
8194 wxMenuBar_SetHelpString(_arg0
,_arg1
,*_arg2
);
8196 wxPy_END_ALLOW_THREADS
;
8197 } Py_INCREF(Py_None
);
8198 _resultobj
= Py_None
;
8206 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
8207 static PyObject
*_wrap_wxMenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8208 PyObject
* _resultobj
;
8212 PyObject
* _argo0
= 0;
8213 char *_kwnames
[] = { "self","id", NULL
};
8216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
8219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
8226 wxPy_BEGIN_ALLOW_THREADS
;
8227 _result
= new wxString (wxMenuBar_GetHelpString(_arg0
,_arg1
));
8229 wxPy_END_ALLOW_THREADS
;
8231 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8239 #define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8240 static PyObject
*_wrap_new_wxMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8241 PyObject
* _resultobj
;
8242 wxMenuItem
* _result
;
8243 wxMenu
* _arg0
= (wxMenu
*) NULL
;
8244 int _arg1
= (int ) wxID_SEPARATOR
;
8245 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
8246 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
8247 bool _arg4
= (bool ) FALSE
;
8248 wxMenu
* _arg5
= (wxMenu
*) NULL
;
8249 PyObject
* _argo0
= 0;
8250 PyObject
* _obj2
= 0;
8251 PyObject
* _obj3
= 0;
8252 int tempbool4
= (int) FALSE
;
8253 PyObject
* _argo5
= 0;
8254 char *_kwnames
[] = { "parentMenu","id","text","help","isCheckable","subMenu", NULL
};
8258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OiOOiO:new_wxMenuItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&tempbool4
,&_argo5
))
8261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
8269 if (!PyString_Check(_obj2
)) {
8270 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8273 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
8277 if (!PyString_Check(_obj3
)) {
8278 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8281 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
8283 _arg4
= (bool ) tempbool4
;
8285 if (_argo5
== Py_None
) { _arg5
= NULL
; }
8286 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxMenu_p")) {
8287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
8292 wxPy_BEGIN_ALLOW_THREADS
;
8293 _result
= (wxMenuItem
*)new_wxMenuItem(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
8295 wxPy_END_ALLOW_THREADS
;
8297 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
8298 _resultobj
= Py_BuildValue("s",_ptemp
);
8301 _resultobj
= Py_None
;
8314 #define wxMenuItem_GetMenu(_swigobj) (_swigobj->GetMenu())
8315 static PyObject
*_wrap_wxMenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8316 PyObject
* _resultobj
;
8319 PyObject
* _argo0
= 0;
8320 char *_kwnames
[] = { "self", NULL
};
8324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetMenu",_kwnames
,&_argo0
))
8327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMenu. Expected _wxMenuItem_p.");
8334 wxPy_BEGIN_ALLOW_THREADS
;
8335 _result
= (wxMenu
*)wxMenuItem_GetMenu(_arg0
);
8337 wxPy_END_ALLOW_THREADS
;
8339 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
8340 _resultobj
= Py_BuildValue("s",_ptemp
);
8343 _resultobj
= Py_None
;
8348 #define wxMenuItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
8349 static PyObject
*_wrap_wxMenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8350 PyObject
* _resultobj
;
8353 PyObject
* _argo0
= 0;
8354 char *_kwnames
[] = { "self","id", NULL
};
8357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetId",_kwnames
,&_argo0
,&_arg1
))
8360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetId. Expected _wxMenuItem_p.");
8367 wxPy_BEGIN_ALLOW_THREADS
;
8368 wxMenuItem_SetId(_arg0
,_arg1
);
8370 wxPy_END_ALLOW_THREADS
;
8371 } Py_INCREF(Py_None
);
8372 _resultobj
= Py_None
;
8376 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
8377 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8378 PyObject
* _resultobj
;
8381 PyObject
* _argo0
= 0;
8382 char *_kwnames
[] = { "self", NULL
};
8385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetId",_kwnames
,&_argo0
))
8388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
8395 wxPy_BEGIN_ALLOW_THREADS
;
8396 _result
= (int )wxMenuItem_GetId(_arg0
);
8398 wxPy_END_ALLOW_THREADS
;
8399 } _resultobj
= Py_BuildValue("i",_result
);
8403 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
8404 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8405 PyObject
* _resultobj
;
8408 PyObject
* _argo0
= 0;
8409 char *_kwnames
[] = { "self", NULL
};
8412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSeparator",_kwnames
,&_argo0
))
8415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
8422 wxPy_BEGIN_ALLOW_THREADS
;
8423 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
8425 wxPy_END_ALLOW_THREADS
;
8426 } _resultobj
= Py_BuildValue("i",_result
);
8430 #define wxMenuItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
8431 static PyObject
*_wrap_wxMenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8432 PyObject
* _resultobj
;
8435 PyObject
* _argo0
= 0;
8436 PyObject
* _obj1
= 0;
8437 char *_kwnames
[] = { "self","str", NULL
};
8440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetText",_kwnames
,&_argo0
,&_obj1
))
8443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetText. Expected _wxMenuItem_p.");
8450 if (!PyString_Check(_obj1
)) {
8451 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8454 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
8457 wxPy_BEGIN_ALLOW_THREADS
;
8458 wxMenuItem_SetText(_arg0
,*_arg1
);
8460 wxPy_END_ALLOW_THREADS
;
8461 } Py_INCREF(Py_None
);
8462 _resultobj
= Py_None
;
8470 #define wxMenuItem_GetLabel(_swigobj) (_swigobj->GetLabel())
8471 static PyObject
*_wrap_wxMenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8472 PyObject
* _resultobj
;
8475 PyObject
* _argo0
= 0;
8476 char *_kwnames
[] = { "self", NULL
};
8479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabel",_kwnames
,&_argo0
))
8482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetLabel. Expected _wxMenuItem_p.");
8489 wxPy_BEGIN_ALLOW_THREADS
;
8490 _result
= new wxString (wxMenuItem_GetLabel(_arg0
));
8492 wxPy_END_ALLOW_THREADS
;
8494 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8502 #define wxMenuItem_GetText(_swigobj) (_swigobj->GetText())
8503 static PyObject
*_wrap_wxMenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8504 PyObject
* _resultobj
;
8507 PyObject
* _argo0
= 0;
8508 char *_kwnames
[] = { "self", NULL
};
8511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetText",_kwnames
,&_argo0
))
8514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetText. Expected _wxMenuItem_p.");
8521 wxPy_BEGIN_ALLOW_THREADS
;
8522 const wxString
& _result_ref
= wxMenuItem_GetText(_arg0
);
8523 _result
= (wxString
*) &_result_ref
;
8525 wxPy_END_ALLOW_THREADS
;
8527 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8532 #define wxMenuItem_SetCheckable(_swigobj,_swigarg0) (_swigobj->SetCheckable(_swigarg0))
8533 static PyObject
*_wrap_wxMenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8534 PyObject
* _resultobj
;
8537 PyObject
* _argo0
= 0;
8539 char *_kwnames
[] = { "self","checkable", NULL
};
8542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetCheckable",_kwnames
,&_argo0
,&tempbool1
))
8545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetCheckable. Expected _wxMenuItem_p.");
8551 _arg1
= (bool ) tempbool1
;
8553 wxPy_BEGIN_ALLOW_THREADS
;
8554 wxMenuItem_SetCheckable(_arg0
,_arg1
);
8556 wxPy_END_ALLOW_THREADS
;
8557 } Py_INCREF(Py_None
);
8558 _resultobj
= Py_None
;
8562 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
8563 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8564 PyObject
* _resultobj
;
8567 PyObject
* _argo0
= 0;
8568 char *_kwnames
[] = { "self", NULL
};
8571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsCheckable",_kwnames
,&_argo0
))
8574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
8581 wxPy_BEGIN_ALLOW_THREADS
;
8582 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
8584 wxPy_END_ALLOW_THREADS
;
8585 } _resultobj
= Py_BuildValue("i",_result
);
8589 #define wxMenuItem_IsSubMenu(_swigobj) (_swigobj->IsSubMenu())
8590 static PyObject
*_wrap_wxMenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8591 PyObject
* _resultobj
;
8594 PyObject
* _argo0
= 0;
8595 char *_kwnames
[] = { "self", NULL
};
8598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSubMenu",_kwnames
,&_argo0
))
8601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSubMenu. Expected _wxMenuItem_p.");
8608 wxPy_BEGIN_ALLOW_THREADS
;
8609 _result
= (bool )wxMenuItem_IsSubMenu(_arg0
);
8611 wxPy_END_ALLOW_THREADS
;
8612 } _resultobj
= Py_BuildValue("i",_result
);
8616 #define wxMenuItem_SetSubMenu(_swigobj,_swigarg0) (_swigobj->SetSubMenu(_swigarg0))
8617 static PyObject
*_wrap_wxMenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8618 PyObject
* _resultobj
;
8621 PyObject
* _argo0
= 0;
8622 PyObject
* _argo1
= 0;
8623 char *_kwnames
[] = { "self","menu", NULL
};
8626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetSubMenu",_kwnames
,&_argo0
,&_argo1
))
8629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetSubMenu. Expected _wxMenuItem_p.");
8636 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8637 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
8638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetSubMenu. Expected _wxMenu_p.");
8643 wxPy_BEGIN_ALLOW_THREADS
;
8644 wxMenuItem_SetSubMenu(_arg0
,_arg1
);
8646 wxPy_END_ALLOW_THREADS
;
8647 } Py_INCREF(Py_None
);
8648 _resultobj
= Py_None
;
8652 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
8653 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8654 PyObject
* _resultobj
;
8657 PyObject
* _argo0
= 0;
8658 char *_kwnames
[] = { "self", NULL
};
8662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetSubMenu",_kwnames
,&_argo0
))
8665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
8672 wxPy_BEGIN_ALLOW_THREADS
;
8673 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
8675 wxPy_END_ALLOW_THREADS
;
8677 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
8678 _resultobj
= Py_BuildValue("s",_ptemp
);
8681 _resultobj
= Py_None
;
8686 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
8687 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8688 PyObject
* _resultobj
;
8690 bool _arg1
= (bool ) TRUE
;
8691 PyObject
* _argo0
= 0;
8692 int tempbool1
= (int) TRUE
;
8693 char *_kwnames
[] = { "self","enable", NULL
};
8696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Enable",_kwnames
,&_argo0
,&tempbool1
))
8699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
8705 _arg1
= (bool ) tempbool1
;
8707 wxPy_BEGIN_ALLOW_THREADS
;
8708 wxMenuItem_Enable(_arg0
,_arg1
);
8710 wxPy_END_ALLOW_THREADS
;
8711 } Py_INCREF(Py_None
);
8712 _resultobj
= Py_None
;
8716 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
8717 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8718 PyObject
* _resultobj
;
8721 PyObject
* _argo0
= 0;
8722 char *_kwnames
[] = { "self", NULL
};
8725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsEnabled",_kwnames
,&_argo0
))
8728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
8735 wxPy_BEGIN_ALLOW_THREADS
;
8736 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
8738 wxPy_END_ALLOW_THREADS
;
8739 } _resultobj
= Py_BuildValue("i",_result
);
8743 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
8744 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8745 PyObject
* _resultobj
;
8747 bool _arg1
= (bool ) TRUE
;
8748 PyObject
* _argo0
= 0;
8749 int tempbool1
= (int) TRUE
;
8750 char *_kwnames
[] = { "self","check", NULL
};
8753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Check",_kwnames
,&_argo0
,&tempbool1
))
8756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
8762 _arg1
= (bool ) tempbool1
;
8764 wxPy_BEGIN_ALLOW_THREADS
;
8765 wxMenuItem_Check(_arg0
,_arg1
);
8767 wxPy_END_ALLOW_THREADS
;
8768 } Py_INCREF(Py_None
);
8769 _resultobj
= Py_None
;
8773 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
8774 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8775 PyObject
* _resultobj
;
8778 PyObject
* _argo0
= 0;
8779 char *_kwnames
[] = { "self", NULL
};
8782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsChecked",_kwnames
,&_argo0
))
8785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
8792 wxPy_BEGIN_ALLOW_THREADS
;
8793 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
8795 wxPy_END_ALLOW_THREADS
;
8796 } _resultobj
= Py_BuildValue("i",_result
);
8800 #define wxMenuItem_Toggle(_swigobj) (_swigobj->Toggle())
8801 static PyObject
*_wrap_wxMenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8802 PyObject
* _resultobj
;
8804 PyObject
* _argo0
= 0;
8805 char *_kwnames
[] = { "self", NULL
};
8808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_Toggle",_kwnames
,&_argo0
))
8811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Toggle. Expected _wxMenuItem_p.");
8818 wxPy_BEGIN_ALLOW_THREADS
;
8819 wxMenuItem_Toggle(_arg0
);
8821 wxPy_END_ALLOW_THREADS
;
8822 } Py_INCREF(Py_None
);
8823 _resultobj
= Py_None
;
8827 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
8828 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8829 PyObject
* _resultobj
;
8832 PyObject
* _argo0
= 0;
8833 PyObject
* _obj1
= 0;
8834 char *_kwnames
[] = { "self","str", NULL
};
8837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetHelp",_kwnames
,&_argo0
,&_obj1
))
8840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
8847 if (!PyString_Check(_obj1
)) {
8848 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8851 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
8854 wxPy_BEGIN_ALLOW_THREADS
;
8855 wxMenuItem_SetHelp(_arg0
,*_arg1
);
8857 wxPy_END_ALLOW_THREADS
;
8858 } Py_INCREF(Py_None
);
8859 _resultobj
= Py_None
;
8867 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
8868 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8869 PyObject
* _resultobj
;
8872 PyObject
* _argo0
= 0;
8873 char *_kwnames
[] = { "self", NULL
};
8876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetHelp",_kwnames
,&_argo0
))
8879 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8880 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
8886 wxPy_BEGIN_ALLOW_THREADS
;
8887 const wxString
& _result_ref
= wxMenuItem_GetHelp(_arg0
);
8888 _result
= (wxString
*) &_result_ref
;
8890 wxPy_END_ALLOW_THREADS
;
8892 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8897 #define wxMenuItem_GetAccel(_swigobj) (_swigobj->GetAccel())
8898 static PyObject
*_wrap_wxMenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8899 PyObject
* _resultobj
;
8900 wxAcceleratorEntry
* _result
;
8902 PyObject
* _argo0
= 0;
8903 char *_kwnames
[] = { "self", NULL
};
8907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetAccel",_kwnames
,&_argo0
))
8910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetAccel. Expected _wxMenuItem_p.");
8917 wxPy_BEGIN_ALLOW_THREADS
;
8918 _result
= (wxAcceleratorEntry
*)wxMenuItem_GetAccel(_arg0
);
8920 wxPy_END_ALLOW_THREADS
;
8922 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
8923 _resultobj
= Py_BuildValue("s",_ptemp
);
8926 _resultobj
= Py_None
;
8931 #define wxMenuItem_SetAccel(_swigobj,_swigarg0) (_swigobj->SetAccel(_swigarg0))
8932 static PyObject
*_wrap_wxMenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8933 PyObject
* _resultobj
;
8935 wxAcceleratorEntry
* _arg1
;
8936 PyObject
* _argo0
= 0;
8937 PyObject
* _argo1
= 0;
8938 char *_kwnames
[] = { "self","accel", NULL
};
8941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetAccel",_kwnames
,&_argo0
,&_argo1
))
8944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetAccel. Expected _wxMenuItem_p.");
8951 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8952 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorEntry_p")) {
8953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetAccel. Expected _wxAcceleratorEntry_p.");
8958 wxPy_BEGIN_ALLOW_THREADS
;
8959 wxMenuItem_SetAccel(_arg0
,_arg1
);
8961 wxPy_END_ALLOW_THREADS
;
8962 } Py_INCREF(Py_None
);
8963 _resultobj
= Py_None
;
8967 static PyMethodDef windowscMethods
[] = {
8968 { "wxMenuItem_SetAccel", (PyCFunction
) _wrap_wxMenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
8969 { "wxMenuItem_GetAccel", (PyCFunction
) _wrap_wxMenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
8970 { "wxMenuItem_GetHelp", (PyCFunction
) _wrap_wxMenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
8971 { "wxMenuItem_SetHelp", (PyCFunction
) _wrap_wxMenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
8972 { "wxMenuItem_Toggle", (PyCFunction
) _wrap_wxMenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
8973 { "wxMenuItem_IsChecked", (PyCFunction
) _wrap_wxMenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
8974 { "wxMenuItem_Check", (PyCFunction
) _wrap_wxMenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
8975 { "wxMenuItem_IsEnabled", (PyCFunction
) _wrap_wxMenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8976 { "wxMenuItem_Enable", (PyCFunction
) _wrap_wxMenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
8977 { "wxMenuItem_GetSubMenu", (PyCFunction
) _wrap_wxMenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
8978 { "wxMenuItem_SetSubMenu", (PyCFunction
) _wrap_wxMenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
8979 { "wxMenuItem_IsSubMenu", (PyCFunction
) _wrap_wxMenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
8980 { "wxMenuItem_IsCheckable", (PyCFunction
) _wrap_wxMenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
8981 { "wxMenuItem_SetCheckable", (PyCFunction
) _wrap_wxMenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
8982 { "wxMenuItem_GetText", (PyCFunction
) _wrap_wxMenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
8983 { "wxMenuItem_GetLabel", (PyCFunction
) _wrap_wxMenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8984 { "wxMenuItem_SetText", (PyCFunction
) _wrap_wxMenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
8985 { "wxMenuItem_IsSeparator", (PyCFunction
) _wrap_wxMenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
8986 { "wxMenuItem_GetId", (PyCFunction
) _wrap_wxMenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
8987 { "wxMenuItem_SetId", (PyCFunction
) _wrap_wxMenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
8988 { "wxMenuItem_GetMenu", (PyCFunction
) _wrap_wxMenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
8989 { "new_wxMenuItem", (PyCFunction
) _wrap_new_wxMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
8990 { "wxMenuBar_GetHelpString", (PyCFunction
) _wrap_wxMenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
8991 { "wxMenuBar_SetHelpString", (PyCFunction
) _wrap_wxMenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
8992 { "wxMenuBar_GetLabel", (PyCFunction
) _wrap_wxMenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8993 { "wxMenuBar_SetLabel", (PyCFunction
) _wrap_wxMenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8994 { "wxMenuBar_IsEnabled", (PyCFunction
) _wrap_wxMenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8995 { "wxMenuBar_IsChecked", (PyCFunction
) _wrap_wxMenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
8996 { "wxMenuBar_Check", (PyCFunction
) _wrap_wxMenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
8997 { "wxMenuBar_Enable", (PyCFunction
) _wrap_wxMenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
8998 { "wxMenuBar_FindItemById", (PyCFunction
) _wrap_wxMenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
8999 { "wxMenuBar_FindMenuItem", (PyCFunction
) _wrap_wxMenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
9000 { "wxMenuBar_GetLabelTop", (PyCFunction
) _wrap_wxMenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
9001 { "wxMenuBar_SetLabelTop", (PyCFunction
) _wrap_wxMenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
9002 { "wxMenuBar_EnableTop", (PyCFunction
) _wrap_wxMenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
9003 { "wxMenuBar_Remove", (PyCFunction
) _wrap_wxMenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
9004 { "wxMenuBar_Replace", (PyCFunction
) _wrap_wxMenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
9005 { "wxMenuBar_GetMenu", (PyCFunction
) _wrap_wxMenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
9006 { "wxMenuBar_GetMenuCount", (PyCFunction
) _wrap_wxMenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
9007 { "wxMenuBar_Insert", (PyCFunction
) _wrap_wxMenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
9008 { "wxMenuBar_Append", (PyCFunction
) _wrap_wxMenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
9009 { "new_wxMenuBar", (PyCFunction
) _wrap_new_wxMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
9010 { "wxMenu_GetParent", (PyCFunction
) _wrap_wxMenu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
9011 { "wxMenu_SetParent", (PyCFunction
) _wrap_wxMenu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
9012 { "wxMenu_IsAttached", (PyCFunction
) _wrap_wxMenu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
9013 { "wxMenu_GetStyle", (PyCFunction
) _wrap_wxMenu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
9014 { "wxMenu_GetInvokingWindow", (PyCFunction
) _wrap_wxMenu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
9015 { "wxMenu_SetInvokingWindow", (PyCFunction
) _wrap_wxMenu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
9016 { "wxMenu_GetEventHandler", (PyCFunction
) _wrap_wxMenu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9017 { "wxMenu_SetEventHandler", (PyCFunction
) _wrap_wxMenu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9018 { "wxMenu_GetMenuItems", (PyCFunction
) _wrap_wxMenu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
9019 { "wxMenu_GetMenuItemCount", (PyCFunction
) _wrap_wxMenu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
9020 { "wxMenu_DestroyItem", (PyCFunction
) _wrap_wxMenu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
9021 { "wxMenu_DestroyId", (PyCFunction
) _wrap_wxMenu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
9022 { "wxMenu_Destroy", (PyCFunction
) _wrap_wxMenu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
9023 { "wxMenu_RemoveItem", (PyCFunction
) _wrap_wxMenu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
9024 { "wxMenu_Remove", (PyCFunction
) _wrap_wxMenu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
9025 { "wxMenu_Insert", (PyCFunction
) _wrap_wxMenu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
9026 { "wxMenu_DeleteItem", (PyCFunction
) _wrap_wxMenu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
9027 { "wxMenu_Delete", (PyCFunction
) _wrap_wxMenu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
9028 { "wxMenu_UpdateUI", (PyCFunction
) _wrap_wxMenu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
9029 { "wxMenu_SetHelpString", (PyCFunction
) _wrap_wxMenu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
9030 { "wxMenu_GetHelpString", (PyCFunction
) _wrap_wxMenu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
9031 { "wxMenu_SetLabel", (PyCFunction
) _wrap_wxMenu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9032 { "wxMenu_GetLabel", (PyCFunction
) _wrap_wxMenu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9033 { "wxMenu_SetTitle", (PyCFunction
) _wrap_wxMenu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9034 { "wxMenu_GetTitle", (PyCFunction
) _wrap_wxMenu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9035 { "wxMenu_FindItemById", (PyCFunction
) _wrap_wxMenu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
9036 { "wxMenu_FindItem", (PyCFunction
) _wrap_wxMenu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
9037 { "wxMenu_IsEnabled", (PyCFunction
) _wrap_wxMenu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9038 { "wxMenu_Enable", (PyCFunction
) _wrap_wxMenu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
9039 { "wxMenu_IsChecked", (PyCFunction
) _wrap_wxMenu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
9040 { "wxMenu_Check", (PyCFunction
) _wrap_wxMenu_Check
, METH_VARARGS
| METH_KEYWORDS
},
9041 { "wxMenu_Break", (PyCFunction
) _wrap_wxMenu_Break
, METH_VARARGS
| METH_KEYWORDS
},
9042 { "wxMenu_AppendSeparator", (PyCFunction
) _wrap_wxMenu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
9043 { "wxMenu_AppendItem", (PyCFunction
) _wrap_wxMenu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
9044 { "wxMenu_AppendMenu", (PyCFunction
) _wrap_wxMenu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
9045 { "wxMenu_Append", (PyCFunction
) _wrap_wxMenu_Append
, METH_VARARGS
| METH_KEYWORDS
},
9046 { "new_wxMenu", (PyCFunction
) _wrap_new_wxMenu
, METH_VARARGS
| METH_KEYWORDS
},
9047 { "wxScrolledWindow_CalcUnscrolledPosition", (PyCFunction
) _wrap_wxScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
| METH_KEYWORDS
},
9048 { "wxScrolledWindow_CalcScrolledPosition", (PyCFunction
) _wrap_wxScrolledWindow_CalcScrolledPosition
, METH_VARARGS
| METH_KEYWORDS
},
9049 { "wxScrolledWindow_ViewStart", (PyCFunction
) _wrap_wxScrolledWindow_ViewStart
, METH_VARARGS
| METH_KEYWORDS
},
9050 { "wxScrolledWindow_GetViewStart", (PyCFunction
) _wrap_wxScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
9051 { "wxScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
9052 { "wxScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
9053 { "wxScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
9054 { "wxScrolledWindow_Scroll", (PyCFunction
) _wrap_wxScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
9055 { "wxScrolledWindow_PrepareDC", (PyCFunction
) _wrap_wxScrolledWindow_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
9056 { "wxScrolledWindow_IsRetained", (PyCFunction
) _wrap_wxScrolledWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
9057 { "wxScrolledWindow_GetVirtualSize", (PyCFunction
) _wrap_wxScrolledWindow_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
9058 { "wxScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
9059 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
9060 { "wxScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
9061 { "wxScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_wxScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
9062 { "new_wxScrolledWindow", (PyCFunction
) _wrap_new_wxScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
9063 { "wxDialog_SetReturnCode", (PyCFunction
) _wrap_wxDialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
9064 { "wxDialog_GetReturnCode", (PyCFunction
) _wrap_wxDialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
9065 { "wxDialog_ShowModal", (PyCFunction
) _wrap_wxDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
9066 { "wxDialog_Show", (PyCFunction
) _wrap_wxDialog_Show
, METH_VARARGS
| METH_KEYWORDS
},
9067 { "wxDialog_SetTitle", (PyCFunction
) _wrap_wxDialog_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9068 { "wxDialog_IsModal", (PyCFunction
) _wrap_wxDialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
9069 { "wxDialog_SetModal", (PyCFunction
) _wrap_wxDialog_SetModal
, METH_VARARGS
| METH_KEYWORDS
},
9070 { "wxDialog_IsIconized", (PyCFunction
) _wrap_wxDialog_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
9071 { "wxDialog_Iconize", (PyCFunction
) _wrap_wxDialog_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
9072 { "wxDialog_GetTitle", (PyCFunction
) _wrap_wxDialog_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9073 { "wxDialog_EndModal", (PyCFunction
) _wrap_wxDialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
9074 { "wxDialog_Centre", (PyCFunction
) _wrap_wxDialog_Centre
, METH_VARARGS
| METH_KEYWORDS
},
9075 { "new_wxDialog", (PyCFunction
) _wrap_new_wxDialog
, METH_VARARGS
| METH_KEYWORDS
},
9076 { "wxPanel_SetDefaultItem", (PyCFunction
) _wrap_wxPanel_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
9077 { "wxPanel_GetDefaultItem", (PyCFunction
) _wrap_wxPanel_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
9078 { "wxPanel_InitDialog", (PyCFunction
) _wrap_wxPanel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
9079 { "new_wxPanel", (PyCFunction
) _wrap_new_wxPanel
, METH_VARARGS
| METH_KEYWORDS
},
9080 { "wxWindow_GetCaret", (PyCFunction
) _wrap_wxWindow_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
9081 { "wxWindow_SetCaret", (PyCFunction
) _wrap_wxWindow_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
9082 { "wxWindow_GetBestSize", (PyCFunction
) _wrap_wxWindow_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
9083 { "wxWindow_GetDropTarget", (PyCFunction
) _wrap_wxWindow_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
9084 { "wxWindow_SetDropTarget", (PyCFunction
) _wrap_wxWindow_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
9085 { "wxWindow_SetValidator", (PyCFunction
) _wrap_wxWindow_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
9086 { "wxWindow_GetValidator", (PyCFunction
) _wrap_wxWindow_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
9087 { "wxWindow_GetSizer", (PyCFunction
) _wrap_wxWindow_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
9088 { "wxWindow_SetSizer", (PyCFunction
) _wrap_wxWindow_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
9089 { "wxWindow_GetToolTip", (PyCFunction
) _wrap_wxWindow_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
9090 { "wxWindow_SetToolTip", (PyCFunction
) _wrap_wxWindow_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
9091 { "wxWindow_SetToolTipString", (PyCFunction
) _wrap_wxWindow_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
9092 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
9093 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
9094 { "wxWindow_DLG_SZE", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
9095 { "wxWindow_DLG_PNT", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
9096 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
9097 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
9098 { "wxWindow_WarpPointer", (PyCFunction
) _wrap_wxWindow_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
9099 { "wxWindow_Validate", (PyCFunction
) _wrap_wxWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
},
9100 { "wxWindow_TransferDataToWindow", (PyCFunction
) _wrap_wxWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
9101 { "wxWindow_TransferDataFromWindow", (PyCFunction
) _wrap_wxWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
9102 { "wxWindow_Show", (PyCFunction
) _wrap_wxWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
9103 { "wxWindow_SetTitle", (PyCFunction
) _wrap_wxWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9104 { "wxWindow_SetEventHandler", (PyCFunction
) _wrap_wxWindow_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9105 { "wxWindow_SetCursor", (PyCFunction
) _wrap_wxWindow_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
9106 { "wxWindow_SetClientSize", (PyCFunction
) _wrap_wxWindow_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
9107 { "wxWindow_SetClientSizeWH", (PyCFunction
) _wrap_wxWindow_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
9108 { "wxWindow_SetSizeHints", (PyCFunction
) _wrap_wxWindow_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
9109 { "wxWindow_SetPosition", (PyCFunction
) _wrap_wxWindow_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
9110 { "wxWindow_SetSize", (PyCFunction
) _wrap_wxWindow_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
9111 { "wxWindow_SetDimensions", (PyCFunction
) _wrap_wxWindow_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
9112 { "wxWindow_SetScrollPos", (PyCFunction
) _wrap_wxWindow_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
9113 { "wxWindow_SetScrollbar", (PyCFunction
) _wrap_wxWindow_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
9114 { "wxWindow_SetName", (PyCFunction
) _wrap_wxWindow_SetName
, METH_VARARGS
| METH_KEYWORDS
},
9115 { "wxWindow_SetId", (PyCFunction
) _wrap_wxWindow_SetId
, METH_VARARGS
| METH_KEYWORDS
},
9116 { "wxWindow_SetForegroundColour", (PyCFunction
) _wrap_wxWindow_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9117 { "wxWindow_SetFont", (PyCFunction
) _wrap_wxWindow_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
9118 { "wxWindow_AcceptsFocus", (PyCFunction
) _wrap_wxWindow_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
9119 { "wxWindow_SetFocus", (PyCFunction
) _wrap_wxWindow_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
9120 { "wxWindow_UnsetConstraints", (PyCFunction
) _wrap_wxWindow_UnsetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
9121 { "wxWindow_SetConstraints", (PyCFunction
) _wrap_wxWindow_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
9122 { "wxWindow_SetBackgroundColour", (PyCFunction
) _wrap_wxWindow_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9123 { "wxWindow_GetAutoLayout", (PyCFunction
) _wrap_wxWindow_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
9124 { "wxWindow_SetAutoLayout", (PyCFunction
) _wrap_wxWindow_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
9125 { "wxWindow_SetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
9126 { "wxWindow_ScrollWindow", (PyCFunction
) _wrap_wxWindow_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
9127 { "wxWindow_ScreenToClient", (PyCFunction
) _wrap_wxWindow_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
9128 { "wxWindow_ScreenToClientXY", (PyCFunction
) _wrap_wxWindow_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
9129 { "wxWindow_Reparent", (PyCFunction
) _wrap_wxWindow_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
9130 { "wxWindow_RemoveChild", (PyCFunction
) _wrap_wxWindow_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
9131 { "wxWindow_ReleaseMouse", (PyCFunction
) _wrap_wxWindow_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
9132 { "wxWindow_Refresh", (PyCFunction
) _wrap_wxWindow_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
9133 { "wxWindow_Raise", (PyCFunction
) _wrap_wxWindow_Raise
, METH_VARARGS
| METH_KEYWORDS
},
9134 { "wxWindow_PopupMenu", (PyCFunction
) _wrap_wxWindow_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
9135 { "wxWindow_PopupMenuXY", (PyCFunction
) _wrap_wxWindow_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
9136 { "wxWindow_PushEventHandler", (PyCFunction
) _wrap_wxWindow_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9137 { "wxWindow_PopEventHandler", (PyCFunction
) _wrap_wxWindow_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9138 { "wxWindow_Move", (PyCFunction
) _wrap_wxWindow_Move
, METH_VARARGS
| METH_KEYWORDS
},
9139 { "wxWindow_MoveXY", (PyCFunction
) _wrap_wxWindow_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
9140 { "wxWindow_MakeModal", (PyCFunction
) _wrap_wxWindow_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
9141 { "wxWindow_Lower", (PyCFunction
) _wrap_wxWindow_Lower
, METH_VARARGS
| METH_KEYWORDS
},
9142 { "wxWindow_LoadFromResource", (PyCFunction
) _wrap_wxWindow_LoadFromResource
, METH_VARARGS
| METH_KEYWORDS
},
9143 { "wxWindow_Layout", (PyCFunction
) _wrap_wxWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
9144 { "wxWindow_IsTopLevel", (PyCFunction
) _wrap_wxWindow_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
9145 { "wxWindow_IsShown", (PyCFunction
) _wrap_wxWindow_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
9146 { "wxWindow_IsRetained", (PyCFunction
) _wrap_wxWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
9147 { "wxWindow_IsExposedRect", (PyCFunction
) _wrap_wxWindow_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
9148 { "wxWindow_IsExposedPoint", (PyCFunction
) _wrap_wxWindow_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
9149 { "wxWindow_IsExposed", (PyCFunction
) _wrap_wxWindow_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
9150 { "wxWindow_IsEnabled", (PyCFunction
) _wrap_wxWindow_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9151 { "wxWindow_InitDialog", (PyCFunction
) _wrap_wxWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
9152 { "wxWindow_Hide", (PyCFunction
) _wrap_wxWindow_Hide
, METH_VARARGS
| METH_KEYWORDS
},
9153 { "wxWindow_SetWindowStyle", (PyCFunction
) _wrap_wxWindow_SetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
9154 { "wxWindow_SetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
9155 { "wxWindow_GetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
9156 { "wxWindow_GetUpdateRegion", (PyCFunction
) _wrap_wxWindow_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
9157 { "wxWindow_GetTitle", (PyCFunction
) _wrap_wxWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9158 { "wxWindow_GetFullTextExtent", (PyCFunction
) _wrap_wxWindow_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
9159 { "wxWindow_GetTextExtent", (PyCFunction
) _wrap_wxWindow_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
9160 { "wxWindow_GetSize", (PyCFunction
) _wrap_wxWindow_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
9161 { "wxWindow_GetSizeTuple", (PyCFunction
) _wrap_wxWindow_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
9162 { "wxWindow_GetScrollRange", (PyCFunction
) _wrap_wxWindow_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
9163 { "wxWindow_GetScrollPos", (PyCFunction
) _wrap_wxWindow_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
9164 { "wxWindow_GetScrollThumb", (PyCFunction
) _wrap_wxWindow_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
9165 { "wxWindow_GetRect", (PyCFunction
) _wrap_wxWindow_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
9166 { "wxWindow_GetPosition", (PyCFunction
) _wrap_wxWindow_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
9167 { "wxWindow_GetPositionTuple", (PyCFunction
) _wrap_wxWindow_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
9168 { "wxWindow_GetParent", (PyCFunction
) _wrap_wxWindow_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
9169 { "wxWindow_GetName", (PyCFunction
) _wrap_wxWindow_GetName
, METH_VARARGS
| METH_KEYWORDS
},
9170 { "wxWindow_SetLabel", (PyCFunction
) _wrap_wxWindow_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9171 { "wxWindow_GetLabel", (PyCFunction
) _wrap_wxWindow_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9172 { "wxWindow_GetId", (PyCFunction
) _wrap_wxWindow_GetId
, METH_VARARGS
| METH_KEYWORDS
},
9173 { "wxWindow_GetHandle", (PyCFunction
) _wrap_wxWindow_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
9174 { "wxWindow_GetGrandParent", (PyCFunction
) _wrap_wxWindow_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
9175 { "wxWindow_GetForegroundColour", (PyCFunction
) _wrap_wxWindow_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9176 { "wxWindow_GetFont", (PyCFunction
) _wrap_wxWindow_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
9177 { "wxWindow_GetEventHandler", (PyCFunction
) _wrap_wxWindow_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9178 { "wxWindow_GetConstraints", (PyCFunction
) _wrap_wxWindow_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
9179 { "wxWindow_GetClientSize", (PyCFunction
) _wrap_wxWindow_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
9180 { "wxWindow_GetClientSizeTuple", (PyCFunction
) _wrap_wxWindow_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
9181 { "wxWindow_GetCharWidth", (PyCFunction
) _wrap_wxWindow_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
9182 { "wxWindow_GetCharHeight", (PyCFunction
) _wrap_wxWindow_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
9183 { "wxWindow_GetChildren", (PyCFunction
) _wrap_wxWindow_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
9184 { "wxWindow_GetBackgroundColour", (PyCFunction
) _wrap_wxWindow_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9185 { "wxWindow_Fit", (PyCFunction
) _wrap_wxWindow_Fit
, METH_VARARGS
| METH_KEYWORDS
},
9186 { "wxWindow_FindWindowByName", (PyCFunction
) _wrap_wxWindow_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
9187 { "wxWindow_FindWindowById", (PyCFunction
) _wrap_wxWindow_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
9188 { "wxWindow_Enable", (PyCFunction
) _wrap_wxWindow_Enable
, METH_VARARGS
| METH_KEYWORDS
},
9189 { "wxWindow_DestroyChildren", (PyCFunction
) _wrap_wxWindow_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
9190 { "wxWindow_Destroy", (PyCFunction
) _wrap_wxWindow_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
9191 { "wxWindow_Close", (PyCFunction
) _wrap_wxWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
9192 { "wxWindow_ClientToScreen", (PyCFunction
) _wrap_wxWindow_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
9193 { "wxWindow_ClientToScreenXY", (PyCFunction
) _wrap_wxWindow_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
9194 { "wxWindow_CenterOnScreen", (PyCFunction
) _wrap_wxWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
9195 { "wxWindow_CentreOnScreen", (PyCFunction
) _wrap_wxWindow_CentreOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
9196 { "wxWindow_CenterOnParent", (PyCFunction
) _wrap_wxWindow_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
9197 { "wxWindow_CentreOnParent", (PyCFunction
) _wrap_wxWindow_CentreOnParent
, METH_VARARGS
| METH_KEYWORDS
},
9198 { "wxWindow_Centre", (PyCFunction
) _wrap_wxWindow_Centre
, METH_VARARGS
| METH_KEYWORDS
},
9199 { "wxWindow_Center", (PyCFunction
) _wrap_wxWindow_Center
, METH_VARARGS
| METH_KEYWORDS
},
9200 { "wxWindow_CaptureMouse", (PyCFunction
) _wrap_wxWindow_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
9201 { "new_wxWindow", (PyCFunction
) _wrap_new_wxWindow
, METH_VARARGS
| METH_KEYWORDS
},
9202 { "wxPyValidator__setSelf", (PyCFunction
) _wrap_wxPyValidator__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
9203 { "wxPyValidator_Destroy", (PyCFunction
) _wrap_wxPyValidator_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
9204 { "new_wxPyValidator", (PyCFunction
) _wrap_new_wxPyValidator
, METH_VARARGS
| METH_KEYWORDS
},
9205 { "wxValidator_SetWindow", (PyCFunction
) _wrap_wxValidator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
9206 { "wxValidator_GetWindow", (PyCFunction
) _wrap_wxValidator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
9207 { "wxValidator_Clone", (PyCFunction
) _wrap_wxValidator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
9208 { "new_wxValidator", (PyCFunction
) _wrap_new_wxValidator
, METH_VARARGS
| METH_KEYWORDS
},
9209 { "wxEvtHandler_Disconnect", (PyCFunction
) _wrap_wxEvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
9210 { "wxEvtHandler_Connect", (PyCFunction
) _wrap_wxEvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
9211 { "wxEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
9212 { "wxEvtHandler_SetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
9213 { "wxEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
9214 { "wxEvtHandler_GetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
9215 { "wxEvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9216 { "wxEvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9217 { "wxEvtHandler_AddPendingEvent", (PyCFunction
) _wrap_wxEvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
9218 { "wxEvtHandler_ProcessEvent", (PyCFunction
) _wrap_wxEvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
9219 { "wxWindow_PrevControlId", (PyCFunction
) _wrap_wxWindow_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
9220 { "wxWindow_NextControlId", (PyCFunction
) _wrap_wxWindow_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
9221 { "wxWindow_NewControlId", (PyCFunction
) _wrap_wxWindow_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
9222 { "wxValidator_SetBellOnError", (PyCFunction
) _wrap_wxValidator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
9223 { "wxValidator_IsSilent", (PyCFunction
) _wrap_wxValidator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
9230 * This table is used by the pointer type-checker
9232 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
9233 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
9234 { "_signed_long","_long",0},
9235 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
9236 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
9237 { "_wxPrintQuality","_wxCoord",0},
9238 { "_wxPrintQuality","_int",0},
9239 { "_wxPrintQuality","_signed_int",0},
9240 { "_wxPrintQuality","_unsigned_int",0},
9241 { "_wxPrintQuality","_wxWindowID",0},
9242 { "_wxPrintQuality","_uint",0},
9243 { "_wxPrintQuality","_EBool",0},
9244 { "_wxPrintQuality","_size_t",0},
9245 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
9246 { "_class_wxRegionIterator","_wxRegionIterator",0},
9247 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
9248 { "_class_wxMenuBar","_wxMenuBar",0},
9249 { "_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
9250 { "_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
9251 { "_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
9252 { "_class_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
9253 { "_class_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
9254 { "_class_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
9255 { "_class_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
9256 { "_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
9257 { "_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
9258 { "_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
9259 { "_class_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
9260 { "_class_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
9261 { "_class_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
9262 { "_class_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
9263 { "_class_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler
},
9264 { "_class_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
9265 { "_class_wxEvtHandler","_wxEvtHandler",0},
9266 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
9267 { "_wxCursor","_class_wxCursor",0},
9268 { "_wxMask","_class_wxMask",0},
9269 { "_wxPen","_class_wxPen",0},
9270 { "_byte","_unsigned_char",0},
9271 { "_wxDataObject","_class_wxDataObject",0},
9272 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
9273 { "_wxPyDropSource","_class_wxPyDropSource",0},
9274 { "_long","_unsigned_long",0},
9275 { "_long","_signed_long",0},
9276 { "_wxImageList","_class_wxImageList",0},
9277 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
9278 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
9279 { "_class_wxClipboard","_wxClipboard",0},
9280 { "_wxDC","_class_wxDC",0},
9281 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
9282 { "_size_t","_wxCoord",0},
9283 { "_size_t","_wxPrintQuality",0},
9284 { "_size_t","_unsigned_int",0},
9285 { "_size_t","_int",0},
9286 { "_size_t","_wxWindowID",0},
9287 { "_size_t","_uint",0},
9288 { "_class_wxRealPoint","_wxRealPoint",0},
9289 { "_class_wxMenuItem","_wxMenuItem",0},
9290 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
9291 { "_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
9292 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
9293 { "_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
9294 { "_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
9295 { "_wxPanel","_class_wxPanel",0},
9296 { "_class_wxMask","_wxMask",0},
9297 { "_wxTextDataObject","_class_wxTextDataObject",0},
9298 { "_wxColour","_class_wxColour",0},
9299 { "_class_wxDialog","_wxDialog",0},
9300 { "_class_wxFileDataObject","_wxFileDataObject",0},
9301 { "_class_wxDataObject","_wxDataObject",0},
9302 { "_wxBrush","_class_wxBrush",0},
9303 { "_wxDataFormat","_class_wxDataFormat",0},
9304 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
9305 { "_uint","_wxCoord",0},
9306 { "_uint","_wxPrintQuality",0},
9307 { "_uint","_size_t",0},
9308 { "_uint","_unsigned_int",0},
9309 { "_uint","_int",0},
9310 { "_uint","_wxWindowID",0},
9311 { "_wxChar","_char",0},
9312 { "_wxPyValidator","_class_wxPyValidator",0},
9313 { "_wxRect","_class_wxRect",0},
9314 { "_wxPoint","_class_wxPoint",0},
9315 { "_char","_wxChar",0},
9316 { "_wxBitmap","_class_wxBitmap",0},
9317 { "_wxWindowDC","_class_wxWindowDC",0},
9318 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
9319 { "_class_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator
},
9320 { "_class_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
9321 { "_class_wxValidator","_wxValidator",0},
9322 { "_wxDropTarget","_class_wxDropTarget",0},
9323 { "_EBool","_wxCoord",0},
9324 { "_EBool","_wxPrintQuality",0},
9325 { "_EBool","_signed_int",0},
9326 { "_EBool","_int",0},
9327 { "_EBool","_wxWindowID",0},
9328 { "_class_wxRegion","_wxRegion",0},
9329 { "_class_wxDataFormat","_wxDataFormat",0},
9330 { "_wxFont","_class_wxFont",0},
9331 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
9332 { "_unsigned_long","_long",0},
9333 { "_class_wxRect","_wxRect",0},
9334 { "_class_wxDC","_wxDC",0},
9335 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
9336 { "_class_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
9337 { "_class_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
9338 { "_class_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
9339 { "_class_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
9340 { "_class_wxPanel","_wxPanel",0},
9341 { "_signed_int","_wxCoord",0},
9342 { "_signed_int","_wxPrintQuality",0},
9343 { "_signed_int","_EBool",0},
9344 { "_signed_int","_wxWindowID",0},
9345 { "_signed_int","_int",0},
9346 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
9347 { "_class_wxTextDataObject","_wxTextDataObject",0},
9348 { "_wxMenu","_class_wxMenu",0},
9349 { "_wxScreenDC","_class_wxScreenDC",0},
9350 { "_WXTYPE","_short",0},
9351 { "_WXTYPE","_signed_short",0},
9352 { "_WXTYPE","_unsigned_short",0},
9353 { "_class_wxDropTarget","_wxDropTarget",0},
9354 { "_class_wxBrush","_wxBrush",0},
9355 { "_unsigned_short","_WXTYPE",0},
9356 { "_unsigned_short","_short",0},
9357 { "_class_wxWindow","_class_wxMenuBar",SwigwxMenuBarTowxWindow
},
9358 { "_class_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
9359 { "_class_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
9360 { "_class_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
9361 { "_class_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
9362 { "_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
9363 { "_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
9364 { "_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
9365 { "_class_wxWindow","_wxWindow",0},
9366 { "_class_wxFont","_wxFont",0},
9367 { "_wxClipboard","_class_wxClipboard",0},
9368 { "_class_wxPyValidator","_wxPyValidator",0},
9369 { "_wxBusyInfo","_class_wxBusyInfo",0},
9370 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
9371 { "_wxClientDC","_class_wxClientDC",0},
9372 { "_class_wxPoint","_wxPoint",0},
9373 { "_wxRealPoint","_class_wxRealPoint",0},
9374 { "_signed_short","_WXTYPE",0},
9375 { "_signed_short","_short",0},
9376 { "_wxMemoryDC","_class_wxMemoryDC",0},
9377 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
9378 { "_wxPaintDC","_class_wxPaintDC",0},
9379 { "_class_wxWindowDC","_wxWindowDC",0},
9380 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
9381 { "_class_wxCursor","_wxCursor",0},
9382 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
9383 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
9384 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
9385 { "_unsigned_char","_byte",0},
9386 { "_class_wxMenu","_wxMenu",0},
9387 { "_unsigned_int","_wxCoord",0},
9388 { "_unsigned_int","_wxPrintQuality",0},
9389 { "_unsigned_int","_size_t",0},
9390 { "_unsigned_int","_uint",0},
9391 { "_unsigned_int","_wxWindowID",0},
9392 { "_unsigned_int","_int",0},
9393 { "_wxIcon","_class_wxIcon",0},
9394 { "_wxDialog","_class_wxDialog",0},
9395 { "_class_wxPen","_wxPen",0},
9396 { "_short","_WXTYPE",0},
9397 { "_short","_unsigned_short",0},
9398 { "_short","_signed_short",0},
9399 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
9400 { "_class_wxPyDropSource","_wxPyDropSource",0},
9401 { "_class_wxImageList","_wxImageList",0},
9402 { "_wxWindowID","_wxCoord",0},
9403 { "_wxWindowID","_wxPrintQuality",0},
9404 { "_wxWindowID","_size_t",0},
9405 { "_wxWindowID","_EBool",0},
9406 { "_wxWindowID","_uint",0},
9407 { "_wxWindowID","_int",0},
9408 { "_wxWindowID","_signed_int",0},
9409 { "_wxWindowID","_unsigned_int",0},
9410 { "_int","_wxCoord",0},
9411 { "_int","_wxPrintQuality",0},
9412 { "_int","_size_t",0},
9413 { "_int","_EBool",0},
9414 { "_int","_uint",0},
9415 { "_int","_wxWindowID",0},
9416 { "_int","_unsigned_int",0},
9417 { "_int","_signed_int",0},
9418 { "_wxSize","_class_wxSize",0},
9419 { "_wxRegionIterator","_class_wxRegionIterator",0},
9420 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
9421 { "_class_wxPaintDC","_wxPaintDC",0},
9422 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
9423 { "_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator
},
9424 { "_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
9425 { "_wxValidator","_class_wxValidator",0},
9426 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
9427 { "_class_wxIcon","_wxIcon",0},
9428 { "_class_wxColour","_wxColour",0},
9429 { "_class_wxScreenDC","_wxScreenDC",0},
9430 { "_wxPalette","_class_wxPalette",0},
9431 { "_wxCoord","_int",0},
9432 { "_wxCoord","_signed_int",0},
9433 { "_wxCoord","_unsigned_int",0},
9434 { "_wxCoord","_wxWindowID",0},
9435 { "_wxCoord","_uint",0},
9436 { "_wxCoord","_EBool",0},
9437 { "_wxCoord","_size_t",0},
9438 { "_wxCoord","_wxPrintQuality",0},
9439 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
9440 { "_wxRegion","_class_wxRegion",0},
9441 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
9442 { "_class_wxBusyInfo","_wxBusyInfo",0},
9443 { "_class_wxClientDC","_wxClientDC",0},
9444 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
9445 { "_class_wxSize","_wxSize",0},
9446 { "_class_wxBitmap","_wxBitmap",0},
9447 { "_class_wxMemoryDC","_wxMemoryDC",0},
9448 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
9449 { "_wxMenuBar","_class_wxMenuBar",0},
9450 { "_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
9451 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
9452 { "_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
9453 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
9454 { "_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
9455 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
9456 { "_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
9457 { "_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
9458 { "_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
9459 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
9460 { "_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
9461 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
9462 { "_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
9463 { "_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
9464 { "_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler
},
9465 { "_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
9466 { "_wxEvtHandler","_class_wxEvtHandler",0},
9467 { "_wxMenuItem","_class_wxMenuItem",0},
9468 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
9469 { "_class_wxPalette","_wxPalette",0},
9470 { "_wxFileDataObject","_class_wxFileDataObject",0},
9471 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
9472 { "_wxWindow","_class_wxMenuBar",SwigwxMenuBarTowxWindow
},
9473 { "_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
9474 { "_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
9475 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
9476 { "_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
9477 { "_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
9478 { "_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
9479 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
9480 { "_wxWindow","_class_wxWindow",0},
9483 static PyObject
*SWIG_globals
;
9487 SWIGEXPORT(void) initwindowsc() {
9489 SWIG_globals
= SWIG_newvarlink();
9490 m
= Py_InitModule("windowsc", windowscMethods
);
9491 d
= PyModule_GetDict(m
);
9494 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
9495 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);