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_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
1054 static PyObject
*_wrap_wxWindow_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1055 PyObject
* _resultobj
;
1059 PyObject
* _argo0
= 0;
1061 PyObject
* _obj1
= 0;
1063 PyObject
* _obj2
= 0;
1064 char *_kwnames
[] = { "self","x","y", NULL
};
1067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ClientToScreenXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
1077 temp
= (int) PyInt_AsLong(_obj1
);
1081 temp0
= (int) PyInt_AsLong(_obj2
);
1085 wxPy_BEGIN_ALLOW_THREADS
;
1086 wxWindow_ClientToScreenXY(_arg0
,_arg1
,_arg2
);
1088 wxPy_END_ALLOW_THREADS
;
1089 } Py_INCREF(Py_None
);
1090 _resultobj
= Py_None
;
1093 o
= PyInt_FromLong((long) (*_arg1
));
1094 _resultobj
= t_output_helper(_resultobj
, o
);
1098 o
= PyInt_FromLong((long) (*_arg2
));
1099 _resultobj
= t_output_helper(_resultobj
, o
);
1104 #define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
1105 static PyObject
*_wrap_wxWindow_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1106 PyObject
* _resultobj
;
1110 PyObject
* _argo0
= 0;
1112 PyObject
* _obj1
= 0;
1113 char *_kwnames
[] = { "self","pt", NULL
};
1117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ClientToScreen",_kwnames
,&_argo0
,&_obj1
))
1120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
1128 if (! wxPoint_helper(_obj1
, &_arg1
))
1132 wxPy_BEGIN_ALLOW_THREADS
;
1133 _result
= new wxPoint (wxWindow_ClientToScreen(_arg0
,*_arg1
));
1135 wxPy_END_ALLOW_THREADS
;
1136 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1137 _resultobj
= Py_BuildValue("s",_ptemp
);
1141 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
1142 static PyObject
*_wrap_wxWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1143 PyObject
* _resultobj
;
1146 int _arg1
= (int ) FALSE
;
1147 PyObject
* _argo0
= 0;
1148 char *_kwnames
[] = { "self","force", NULL
};
1151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Close",_kwnames
,&_argo0
,&_arg1
))
1154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
1161 wxPy_BEGIN_ALLOW_THREADS
;
1162 _result
= (bool )wxWindow_Close(_arg0
,_arg1
);
1164 wxPy_END_ALLOW_THREADS
;
1165 } _resultobj
= Py_BuildValue("i",_result
);
1169 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
1170 static PyObject
*_wrap_wxWindow_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1171 PyObject
* _resultobj
;
1174 PyObject
* _argo0
= 0;
1175 char *_kwnames
[] = { "self", NULL
};
1178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Destroy",_kwnames
,&_argo0
))
1181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
1188 wxPy_BEGIN_ALLOW_THREADS
;
1189 _result
= (bool )wxWindow_Destroy(_arg0
);
1191 wxPy_END_ALLOW_THREADS
;
1192 } _resultobj
= Py_BuildValue("i",_result
);
1196 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
1197 static PyObject
*_wrap_wxWindow_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1198 PyObject
* _resultobj
;
1200 PyObject
* _argo0
= 0;
1201 char *_kwnames
[] = { "self", NULL
};
1204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_DestroyChildren",_kwnames
,&_argo0
))
1207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
1214 wxPy_BEGIN_ALLOW_THREADS
;
1215 wxWindow_DestroyChildren(_arg0
);
1217 wxPy_END_ALLOW_THREADS
;
1218 } Py_INCREF(Py_None
);
1219 _resultobj
= Py_None
;
1223 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
1224 static PyObject
*_wrap_wxWindow_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1225 PyObject
* _resultobj
;
1228 PyObject
* _argo0
= 0;
1230 char *_kwnames
[] = { "self","enable", NULL
};
1233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Enable",_kwnames
,&_argo0
,&tempbool1
))
1236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
1242 _arg1
= (bool ) tempbool1
;
1244 wxPy_BEGIN_ALLOW_THREADS
;
1245 wxWindow_Enable(_arg0
,_arg1
);
1247 wxPy_END_ALLOW_THREADS
;
1248 } Py_INCREF(Py_None
);
1249 _resultobj
= Py_None
;
1253 #define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1254 static PyObject
*_wrap_wxWindow_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1255 PyObject
* _resultobj
;
1259 PyObject
* _argo0
= 0;
1260 char *_kwnames
[] = { "self","id", NULL
};
1264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_FindWindowById",_kwnames
,&_argo0
,&_arg1
))
1267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
1274 wxPy_BEGIN_ALLOW_THREADS
;
1275 _result
= (wxWindow
*)wxWindow_FindWindowById(_arg0
,_arg1
);
1277 wxPy_END_ALLOW_THREADS
;
1279 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1280 _resultobj
= Py_BuildValue("s",_ptemp
);
1283 _resultobj
= Py_None
;
1288 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1289 static PyObject
*_wrap_wxWindow_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1290 PyObject
* _resultobj
;
1294 PyObject
* _argo0
= 0;
1295 PyObject
* _obj1
= 0;
1296 char *_kwnames
[] = { "self","name", NULL
};
1300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_FindWindowByName",_kwnames
,&_argo0
,&_obj1
))
1303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
1310 if (!PyString_Check(_obj1
)) {
1311 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1314 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1317 wxPy_BEGIN_ALLOW_THREADS
;
1318 _result
= (wxWindow
*)wxWindow_FindWindowByName(_arg0
,*_arg1
);
1320 wxPy_END_ALLOW_THREADS
;
1322 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1323 _resultobj
= Py_BuildValue("s",_ptemp
);
1326 _resultobj
= Py_None
;
1335 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
1336 static PyObject
*_wrap_wxWindow_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1337 PyObject
* _resultobj
;
1339 PyObject
* _argo0
= 0;
1340 char *_kwnames
[] = { "self", NULL
};
1343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Fit",_kwnames
,&_argo0
))
1346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
1353 wxPy_BEGIN_ALLOW_THREADS
;
1354 wxWindow_Fit(_arg0
);
1356 wxPy_END_ALLOW_THREADS
;
1357 } Py_INCREF(Py_None
);
1358 _resultobj
= Py_None
;
1362 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1363 static PyObject
*_wrap_wxWindow_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1364 PyObject
* _resultobj
;
1367 PyObject
* _argo0
= 0;
1368 char *_kwnames
[] = { "self", NULL
};
1372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBackgroundColour",_kwnames
,&_argo0
))
1375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
1382 wxPy_BEGIN_ALLOW_THREADS
;
1383 _result
= new wxColour (wxWindow_GetBackgroundColour(_arg0
));
1385 wxPy_END_ALLOW_THREADS
;
1386 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1387 _resultobj
= Py_BuildValue("s",_ptemp
);
1391 static PyObject
* wxWindow_GetChildren(wxWindow
*self
) {
1392 wxWindowList
& list
= self
->GetChildren();
1393 return wxPy_ConvertList(&list
, "wxWindow");
1395 static PyObject
*_wrap_wxWindow_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1396 PyObject
* _resultobj
;
1399 PyObject
* _argo0
= 0;
1400 char *_kwnames
[] = { "self", NULL
};
1403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetChildren",_kwnames
,&_argo0
))
1406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetChildren. Expected _wxWindow_p.");
1413 wxPy_BEGIN_ALLOW_THREADS
;
1414 _result
= (PyObject
*)wxWindow_GetChildren(_arg0
);
1416 wxPy_END_ALLOW_THREADS
;
1418 _resultobj
= _result
;
1423 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1424 static PyObject
*_wrap_wxWindow_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1425 PyObject
* _resultobj
;
1428 PyObject
* _argo0
= 0;
1429 char *_kwnames
[] = { "self", NULL
};
1432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharHeight",_kwnames
,&_argo0
))
1435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
1442 wxPy_BEGIN_ALLOW_THREADS
;
1443 _result
= (int )wxWindow_GetCharHeight(_arg0
);
1445 wxPy_END_ALLOW_THREADS
;
1446 } _resultobj
= Py_BuildValue("i",_result
);
1450 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1451 static PyObject
*_wrap_wxWindow_GetCharWidth(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_GetCharWidth",_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_GetCharWidth. Expected _wxWindow_p.");
1469 wxPy_BEGIN_ALLOW_THREADS
;
1470 _result
= (int )wxWindow_GetCharWidth(_arg0
);
1472 wxPy_END_ALLOW_THREADS
;
1473 } _resultobj
= Py_BuildValue("i",_result
);
1477 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
1478 static PyObject
*_wrap_wxWindow_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1479 PyObject
* _resultobj
;
1485 PyObject
* _argo0
= 0;
1486 char *_kwnames
[] = { "self", NULL
};
1495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSizeTuple",_kwnames
,&_argo0
))
1498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
1505 wxPy_BEGIN_ALLOW_THREADS
;
1506 wxWindow_GetClientSizeTuple(_arg0
,_arg1
,_arg2
);
1508 wxPy_END_ALLOW_THREADS
;
1509 } Py_INCREF(Py_None
);
1510 _resultobj
= Py_None
;
1513 o
= PyInt_FromLong((long) (*_arg1
));
1514 _resultobj
= t_output_helper(_resultobj
, o
);
1518 o
= PyInt_FromLong((long) (*_arg2
));
1519 _resultobj
= t_output_helper(_resultobj
, o
);
1524 #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
1525 static PyObject
*_wrap_wxWindow_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1526 PyObject
* _resultobj
;
1529 PyObject
* _argo0
= 0;
1530 char *_kwnames
[] = { "self", NULL
};
1534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSize",_kwnames
,&_argo0
))
1537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
1544 wxPy_BEGIN_ALLOW_THREADS
;
1545 _result
= new wxSize (wxWindow_GetClientSize(_arg0
));
1547 wxPy_END_ALLOW_THREADS
;
1548 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1549 _resultobj
= Py_BuildValue("s",_ptemp
);
1553 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
1554 static PyObject
*_wrap_wxWindow_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1555 PyObject
* _resultobj
;
1556 wxLayoutConstraints
* _result
;
1558 PyObject
* _argo0
= 0;
1559 char *_kwnames
[] = { "self", NULL
};
1563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetConstraints",_kwnames
,&_argo0
))
1566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
1573 wxPy_BEGIN_ALLOW_THREADS
;
1574 _result
= (wxLayoutConstraints
*)wxWindow_GetConstraints(_arg0
);
1576 wxPy_END_ALLOW_THREADS
;
1578 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
1579 _resultobj
= Py_BuildValue("s",_ptemp
);
1582 _resultobj
= Py_None
;
1587 #define wxWindow_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
1588 static PyObject
*_wrap_wxWindow_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1589 PyObject
* _resultobj
;
1590 wxEvtHandler
* _result
;
1592 PyObject
* _argo0
= 0;
1593 char *_kwnames
[] = { "self", NULL
};
1597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetEventHandler",_kwnames
,&_argo0
))
1600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetEventHandler. Expected _wxWindow_p.");
1607 wxPy_BEGIN_ALLOW_THREADS
;
1608 _result
= (wxEvtHandler
*)wxWindow_GetEventHandler(_arg0
);
1610 wxPy_END_ALLOW_THREADS
;
1612 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
1613 _resultobj
= Py_BuildValue("s",_ptemp
);
1616 _resultobj
= Py_None
;
1621 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
1622 static PyObject
*_wrap_wxWindow_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1623 PyObject
* _resultobj
;
1626 PyObject
* _argo0
= 0;
1627 char *_kwnames
[] = { "self", NULL
};
1631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetFont",_kwnames
,&_argo0
))
1634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
1641 wxPy_BEGIN_ALLOW_THREADS
;
1642 wxFont
& _result_ref
= wxWindow_GetFont(_arg0
);
1643 _result
= (wxFont
*) &_result_ref
;
1645 wxPy_END_ALLOW_THREADS
;
1647 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1648 _resultobj
= Py_BuildValue("s",_ptemp
);
1651 _resultobj
= Py_None
;
1656 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
1657 static PyObject
*_wrap_wxWindow_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1658 PyObject
* _resultobj
;
1661 PyObject
* _argo0
= 0;
1662 char *_kwnames
[] = { "self", NULL
};
1666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetForegroundColour",_kwnames
,&_argo0
))
1669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
1676 wxPy_BEGIN_ALLOW_THREADS
;
1677 _result
= new wxColour (wxWindow_GetForegroundColour(_arg0
));
1679 wxPy_END_ALLOW_THREADS
;
1680 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1681 _resultobj
= Py_BuildValue("s",_ptemp
);
1685 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
1686 static PyObject
*_wrap_wxWindow_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1687 PyObject
* _resultobj
;
1690 PyObject
* _argo0
= 0;
1691 char *_kwnames
[] = { "self", NULL
};
1695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetGrandParent",_kwnames
,&_argo0
))
1698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
1705 wxPy_BEGIN_ALLOW_THREADS
;
1706 _result
= (wxWindow
*)wxWindow_GetGrandParent(_arg0
);
1708 wxPy_END_ALLOW_THREADS
;
1710 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1711 _resultobj
= Py_BuildValue("s",_ptemp
);
1714 _resultobj
= Py_None
;
1719 static long wxWindow_GetHandle(wxWindow
*self
) {
1720 return wxPyGetWinHandle(self
); //(long)self->GetHandle();
1722 static PyObject
*_wrap_wxWindow_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1723 PyObject
* _resultobj
;
1726 PyObject
* _argo0
= 0;
1727 char *_kwnames
[] = { "self", NULL
};
1730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetHandle",_kwnames
,&_argo0
))
1733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetHandle. Expected _wxWindow_p.");
1740 wxPy_BEGIN_ALLOW_THREADS
;
1741 _result
= (long )wxWindow_GetHandle(_arg0
);
1743 wxPy_END_ALLOW_THREADS
;
1744 } _resultobj
= Py_BuildValue("l",_result
);
1748 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
1749 static PyObject
*_wrap_wxWindow_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1750 PyObject
* _resultobj
;
1753 PyObject
* _argo0
= 0;
1754 char *_kwnames
[] = { "self", NULL
};
1757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetId",_kwnames
,&_argo0
))
1760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
1767 wxPy_BEGIN_ALLOW_THREADS
;
1768 _result
= (int )wxWindow_GetId(_arg0
);
1770 wxPy_END_ALLOW_THREADS
;
1771 } _resultobj
= Py_BuildValue("i",_result
);
1775 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
1776 static PyObject
*_wrap_wxWindow_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1777 PyObject
* _resultobj
;
1780 PyObject
* _argo0
= 0;
1781 char *_kwnames
[] = { "self", NULL
};
1784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetLabel",_kwnames
,&_argo0
))
1787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
1794 wxPy_BEGIN_ALLOW_THREADS
;
1795 _result
= new wxString (wxWindow_GetLabel(_arg0
));
1797 wxPy_END_ALLOW_THREADS
;
1799 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1807 #define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
1808 static PyObject
*_wrap_wxWindow_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1809 PyObject
* _resultobj
;
1812 PyObject
* _argo0
= 0;
1813 PyObject
* _obj1
= 0;
1814 char *_kwnames
[] = { "self","label", NULL
};
1817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetLabel",_kwnames
,&_argo0
,&_obj1
))
1820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
1827 if (!PyString_Check(_obj1
)) {
1828 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1831 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1834 wxPy_BEGIN_ALLOW_THREADS
;
1835 wxWindow_SetLabel(_arg0
,*_arg1
);
1837 wxPy_END_ALLOW_THREADS
;
1838 } Py_INCREF(Py_None
);
1839 _resultobj
= Py_None
;
1847 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
1848 static PyObject
*_wrap_wxWindow_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1849 PyObject
* _resultobj
;
1852 PyObject
* _argo0
= 0;
1853 char *_kwnames
[] = { "self", NULL
};
1856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetName",_kwnames
,&_argo0
))
1859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
1866 wxPy_BEGIN_ALLOW_THREADS
;
1867 _result
= new wxString (wxWindow_GetName(_arg0
));
1869 wxPy_END_ALLOW_THREADS
;
1871 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1879 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
1880 static PyObject
*_wrap_wxWindow_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1881 PyObject
* _resultobj
;
1884 PyObject
* _argo0
= 0;
1885 char *_kwnames
[] = { "self", NULL
};
1889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetParent",_kwnames
,&_argo0
))
1892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
1899 wxPy_BEGIN_ALLOW_THREADS
;
1900 _result
= (wxWindow
*)wxWindow_GetParent(_arg0
);
1902 wxPy_END_ALLOW_THREADS
;
1904 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1905 _resultobj
= Py_BuildValue("s",_ptemp
);
1908 _resultobj
= Py_None
;
1913 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
1914 static PyObject
*_wrap_wxWindow_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1915 PyObject
* _resultobj
;
1921 PyObject
* _argo0
= 0;
1922 char *_kwnames
[] = { "self", NULL
};
1931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPositionTuple",_kwnames
,&_argo0
))
1934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
1941 wxPy_BEGIN_ALLOW_THREADS
;
1942 wxWindow_GetPositionTuple(_arg0
,_arg1
,_arg2
);
1944 wxPy_END_ALLOW_THREADS
;
1945 } Py_INCREF(Py_None
);
1946 _resultobj
= Py_None
;
1949 o
= PyInt_FromLong((long) (*_arg1
));
1950 _resultobj
= t_output_helper(_resultobj
, o
);
1954 o
= PyInt_FromLong((long) (*_arg2
));
1955 _resultobj
= t_output_helper(_resultobj
, o
);
1960 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
1961 static PyObject
*_wrap_wxWindow_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1962 PyObject
* _resultobj
;
1965 PyObject
* _argo0
= 0;
1966 char *_kwnames
[] = { "self", NULL
};
1970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPosition",_kwnames
,&_argo0
))
1973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
1980 wxPy_BEGIN_ALLOW_THREADS
;
1981 _result
= new wxPoint (wxWindow_GetPosition(_arg0
));
1983 wxPy_END_ALLOW_THREADS
;
1984 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1985 _resultobj
= Py_BuildValue("s",_ptemp
);
1989 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
1990 static PyObject
*_wrap_wxWindow_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1991 PyObject
* _resultobj
;
1994 PyObject
* _argo0
= 0;
1995 char *_kwnames
[] = { "self", NULL
};
1999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetRect",_kwnames
,&_argo0
))
2002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
2009 wxPy_BEGIN_ALLOW_THREADS
;
2010 _result
= new wxRect (wxWindow_GetRect(_arg0
));
2012 wxPy_END_ALLOW_THREADS
;
2013 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
2014 _resultobj
= Py_BuildValue("s",_ptemp
);
2018 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
2019 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2020 PyObject
* _resultobj
;
2024 PyObject
* _argo0
= 0;
2025 char *_kwnames
[] = { "self","orientation", NULL
};
2028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollThumb",_kwnames
,&_argo0
,&_arg1
))
2031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
2038 wxPy_BEGIN_ALLOW_THREADS
;
2039 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
2041 wxPy_END_ALLOW_THREADS
;
2042 } _resultobj
= Py_BuildValue("i",_result
);
2046 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
2047 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2048 PyObject
* _resultobj
;
2052 PyObject
* _argo0
= 0;
2053 char *_kwnames
[] = { "self","orientation", NULL
};
2056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollPos",_kwnames
,&_argo0
,&_arg1
))
2059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
2066 wxPy_BEGIN_ALLOW_THREADS
;
2067 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
2069 wxPy_END_ALLOW_THREADS
;
2070 } _resultobj
= Py_BuildValue("i",_result
);
2074 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
2075 static PyObject
*_wrap_wxWindow_GetScrollRange(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_GetScrollRange",_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_GetScrollRange. Expected _wxWindow_p.");
2094 wxPy_BEGIN_ALLOW_THREADS
;
2095 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
2097 wxPy_END_ALLOW_THREADS
;
2098 } _resultobj
= Py_BuildValue("i",_result
);
2102 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2103 static PyObject
*_wrap_wxWindow_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2104 PyObject
* _resultobj
;
2110 PyObject
* _argo0
= 0;
2111 char *_kwnames
[] = { "self", NULL
};
2120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizeTuple",_kwnames
,&_argo0
))
2123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
2130 wxPy_BEGIN_ALLOW_THREADS
;
2131 wxWindow_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2133 wxPy_END_ALLOW_THREADS
;
2134 } Py_INCREF(Py_None
);
2135 _resultobj
= Py_None
;
2138 o
= PyInt_FromLong((long) (*_arg1
));
2139 _resultobj
= t_output_helper(_resultobj
, o
);
2143 o
= PyInt_FromLong((long) (*_arg2
));
2144 _resultobj
= t_output_helper(_resultobj
, o
);
2149 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
2150 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2151 PyObject
* _resultobj
;
2154 PyObject
* _argo0
= 0;
2155 char *_kwnames
[] = { "self", NULL
};
2159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSize",_kwnames
,&_argo0
))
2162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
2169 wxPy_BEGIN_ALLOW_THREADS
;
2170 _result
= new wxSize (wxWindow_GetSize(_arg0
));
2172 wxPy_END_ALLOW_THREADS
;
2173 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2174 _resultobj
= Py_BuildValue("s",_ptemp
);
2178 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
2179 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2180 PyObject
* _resultobj
;
2187 PyObject
* _argo0
= 0;
2188 PyObject
* _obj1
= 0;
2189 char *_kwnames
[] = { "self","string", NULL
};
2198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
2201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
2208 if (!PyString_Check(_obj1
)) {
2209 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2212 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2215 wxPy_BEGIN_ALLOW_THREADS
;
2216 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
2218 wxPy_END_ALLOW_THREADS
;
2219 } Py_INCREF(Py_None
);
2220 _resultobj
= Py_None
;
2223 o
= PyInt_FromLong((long) (*_arg2
));
2224 _resultobj
= t_output_helper(_resultobj
, o
);
2228 o
= PyInt_FromLong((long) (*_arg3
));
2229 _resultobj
= t_output_helper(_resultobj
, o
);
2238 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2239 static PyObject
*_wrap_wxWindow_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2240 PyObject
* _resultobj
;
2251 wxFont
* _arg6
= (wxFont
*) NULL
;
2252 PyObject
* _argo0
= 0;
2253 PyObject
* _obj1
= 0;
2254 PyObject
* _argo6
= 0;
2255 char *_kwnames
[] = { "self","string","font", NULL
};
2270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxWindow_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
2273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
2280 if (!PyString_Check(_obj1
)) {
2281 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2284 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2287 if (_argo6
== Py_None
) { _arg6
= NULL
; }
2288 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
2289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
2294 wxPy_BEGIN_ALLOW_THREADS
;
2295 wxWindow_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2297 wxPy_END_ALLOW_THREADS
;
2298 } Py_INCREF(Py_None
);
2299 _resultobj
= Py_None
;
2302 o
= PyInt_FromLong((long) (*_arg2
));
2303 _resultobj
= t_output_helper(_resultobj
, o
);
2307 o
= PyInt_FromLong((long) (*_arg3
));
2308 _resultobj
= t_output_helper(_resultobj
, o
);
2312 o
= PyInt_FromLong((long) (*_arg4
));
2313 _resultobj
= t_output_helper(_resultobj
, o
);
2317 o
= PyInt_FromLong((long) (*_arg5
));
2318 _resultobj
= t_output_helper(_resultobj
, o
);
2327 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
2328 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2329 PyObject
* _resultobj
;
2332 PyObject
* _argo0
= 0;
2333 char *_kwnames
[] = { "self", NULL
};
2336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetTitle",_kwnames
,&_argo0
))
2339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
2346 wxPy_BEGIN_ALLOW_THREADS
;
2347 _result
= new wxString (wxWindow_GetTitle(_arg0
));
2349 wxPy_END_ALLOW_THREADS
;
2351 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2359 #define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
2360 static PyObject
*_wrap_wxWindow_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2361 PyObject
* _resultobj
;
2364 PyObject
* _argo0
= 0;
2365 char *_kwnames
[] = { "self", NULL
};
2369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetUpdateRegion",_kwnames
,&_argo0
))
2372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
2379 wxPy_BEGIN_ALLOW_THREADS
;
2380 _result
= new wxRegion (wxWindow_GetUpdateRegion(_arg0
));
2382 wxPy_END_ALLOW_THREADS
;
2383 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRegion_p");
2384 _resultobj
= Py_BuildValue("s",_ptemp
);
2388 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
2389 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2390 PyObject
* _resultobj
;
2393 PyObject
* _argo0
= 0;
2394 char *_kwnames
[] = { "self", NULL
};
2397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetWindowStyleFlag",_kwnames
,&_argo0
))
2400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
2407 wxPy_BEGIN_ALLOW_THREADS
;
2408 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
2410 wxPy_END_ALLOW_THREADS
;
2411 } _resultobj
= Py_BuildValue("l",_result
);
2415 #define wxWindow_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
2416 static PyObject
*_wrap_wxWindow_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2417 PyObject
* _resultobj
;
2420 PyObject
* _argo0
= 0;
2421 char *_kwnames
[] = { "self","style", NULL
};
2424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
2427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetWindowStyleFlag. Expected _wxWindow_p.");
2434 wxPy_BEGIN_ALLOW_THREADS
;
2435 wxWindow_SetWindowStyleFlag(_arg0
,_arg1
);
2437 wxPy_END_ALLOW_THREADS
;
2438 } Py_INCREF(Py_None
);
2439 _resultobj
= Py_None
;
2443 #define wxWindow_SetWindowStyle(_swigobj,_swigarg0) (_swigobj->SetWindowStyle(_swigarg0))
2444 static PyObject
*_wrap_wxWindow_SetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2445 PyObject
* _resultobj
;
2448 PyObject
* _argo0
= 0;
2449 char *_kwnames
[] = { "self","style", NULL
};
2452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyle",_kwnames
,&_argo0
,&_arg1
))
2455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetWindowStyle. Expected _wxWindow_p.");
2462 wxPy_BEGIN_ALLOW_THREADS
;
2463 wxWindow_SetWindowStyle(_arg0
,_arg1
);
2465 wxPy_END_ALLOW_THREADS
;
2466 } Py_INCREF(Py_None
);
2467 _resultobj
= Py_None
;
2471 #define wxWindow_Hide(_swigobj) (_swigobj->Hide())
2472 static PyObject
*_wrap_wxWindow_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2473 PyObject
* _resultobj
;
2476 PyObject
* _argo0
= 0;
2477 char *_kwnames
[] = { "self", NULL
};
2480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Hide",_kwnames
,&_argo0
))
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_Hide. Expected _wxWindow_p.");
2490 wxPy_BEGIN_ALLOW_THREADS
;
2491 _result
= (bool )wxWindow_Hide(_arg0
);
2493 wxPy_END_ALLOW_THREADS
;
2494 } _resultobj
= Py_BuildValue("i",_result
);
2498 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
2499 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2500 PyObject
* _resultobj
;
2502 PyObject
* _argo0
= 0;
2503 char *_kwnames
[] = { "self", NULL
};
2506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_InitDialog",_kwnames
,&_argo0
))
2509 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2510 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
2516 wxPy_BEGIN_ALLOW_THREADS
;
2517 wxWindow_InitDialog(_arg0
);
2519 wxPy_END_ALLOW_THREADS
;
2520 } Py_INCREF(Py_None
);
2521 _resultobj
= Py_None
;
2525 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
2526 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2527 PyObject
* _resultobj
;
2530 PyObject
* _argo0
= 0;
2531 char *_kwnames
[] = { "self", NULL
};
2534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsEnabled",_kwnames
,&_argo0
))
2537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
2544 wxPy_BEGIN_ALLOW_THREADS
;
2545 _result
= (bool )wxWindow_IsEnabled(_arg0
);
2547 wxPy_END_ALLOW_THREADS
;
2548 } _resultobj
= Py_BuildValue("i",_result
);
2552 #define wxWindow_IsExposed(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->IsExposed(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2553 static PyObject
*_wrap_wxWindow_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2554 PyObject
* _resultobj
;
2559 int _arg3
= (int ) 0;
2560 int _arg4
= (int ) 0;
2561 PyObject
* _argo0
= 0;
2562 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
2565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxWindow_IsExposed",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposed. Expected _wxWindow_p.");
2575 wxPy_BEGIN_ALLOW_THREADS
;
2576 _result
= (bool )wxWindow_IsExposed(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2578 wxPy_END_ALLOW_THREADS
;
2579 } _resultobj
= Py_BuildValue("i",_result
);
2583 #define wxWindow_IsExposedPoint(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
2584 static PyObject
*_wrap_wxWindow_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2585 PyObject
* _resultobj
;
2589 PyObject
* _argo0
= 0;
2591 PyObject
* _obj1
= 0;
2592 char *_kwnames
[] = { "self","pt", NULL
};
2595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedPoint",_kwnames
,&_argo0
,&_obj1
))
2598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedPoint. Expected _wxWindow_p.");
2606 if (! wxPoint_helper(_obj1
, &_arg1
))
2610 wxPy_BEGIN_ALLOW_THREADS
;
2611 _result
= (bool )wxWindow_IsExposedPoint(_arg0
,*_arg1
);
2613 wxPy_END_ALLOW_THREADS
;
2614 } _resultobj
= Py_BuildValue("i",_result
);
2618 #define wxWindow_IsExposedRect(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
2619 static PyObject
*_wrap_wxWindow_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2620 PyObject
* _resultobj
;
2624 PyObject
* _argo0
= 0;
2626 PyObject
* _obj1
= 0;
2627 char *_kwnames
[] = { "self","rect", NULL
};
2630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedRect",_kwnames
,&_argo0
,&_obj1
))
2633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedRect. Expected _wxWindow_p.");
2641 if (! wxRect_helper(_obj1
, &_arg1
))
2645 wxPy_BEGIN_ALLOW_THREADS
;
2646 _result
= (bool )wxWindow_IsExposedRect(_arg0
,*_arg1
);
2648 wxPy_END_ALLOW_THREADS
;
2649 } _resultobj
= Py_BuildValue("i",_result
);
2653 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
2654 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2655 PyObject
* _resultobj
;
2658 PyObject
* _argo0
= 0;
2659 char *_kwnames
[] = { "self", NULL
};
2662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsRetained",_kwnames
,&_argo0
))
2665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
2672 wxPy_BEGIN_ALLOW_THREADS
;
2673 _result
= (bool )wxWindow_IsRetained(_arg0
);
2675 wxPy_END_ALLOW_THREADS
;
2676 } _resultobj
= Py_BuildValue("i",_result
);
2680 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
2681 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2682 PyObject
* _resultobj
;
2685 PyObject
* _argo0
= 0;
2686 char *_kwnames
[] = { "self", NULL
};
2689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsShown",_kwnames
,&_argo0
))
2692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
2699 wxPy_BEGIN_ALLOW_THREADS
;
2700 _result
= (bool )wxWindow_IsShown(_arg0
);
2702 wxPy_END_ALLOW_THREADS
;
2703 } _resultobj
= Py_BuildValue("i",_result
);
2707 #define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
2708 static PyObject
*_wrap_wxWindow_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2709 PyObject
* _resultobj
;
2712 PyObject
* _argo0
= 0;
2713 char *_kwnames
[] = { "self", NULL
};
2716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsTopLevel",_kwnames
,&_argo0
))
2719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
2726 wxPy_BEGIN_ALLOW_THREADS
;
2727 _result
= (bool )wxWindow_IsTopLevel(_arg0
);
2729 wxPy_END_ALLOW_THREADS
;
2730 } _resultobj
= Py_BuildValue("i",_result
);
2734 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
2735 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2736 PyObject
* _resultobj
;
2738 PyObject
* _argo0
= 0;
2739 char *_kwnames
[] = { "self", NULL
};
2742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Layout",_kwnames
,&_argo0
))
2745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
2752 wxPy_BEGIN_ALLOW_THREADS
;
2753 wxWindow_Layout(_arg0
);
2755 wxPy_END_ALLOW_THREADS
;
2756 } Py_INCREF(Py_None
);
2757 _resultobj
= Py_None
;
2761 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
2762 static PyObject
*_wrap_wxWindow_LoadFromResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2763 PyObject
* _resultobj
;
2768 wxResourceTable
* _arg3
= (wxResourceTable
*) NULL
;
2769 PyObject
* _argo0
= 0;
2770 PyObject
* _argo1
= 0;
2771 PyObject
* _obj2
= 0;
2772 PyObject
* _argo3
= 0;
2773 char *_kwnames
[] = { "self","parent","resourceName","resourceTable", NULL
};
2776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|O:wxWindow_LoadFromResource",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_argo3
))
2779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
2786 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2787 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
2793 if (!PyString_Check(_obj2
)) {
2794 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2797 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2800 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2801 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxResourceTable_p")) {
2802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
2807 wxPy_BEGIN_ALLOW_THREADS
;
2808 _result
= (bool )wxWindow_LoadFromResource(_arg0
,_arg1
,*_arg2
,_arg3
);
2810 wxPy_END_ALLOW_THREADS
;
2811 } _resultobj
= Py_BuildValue("i",_result
);
2819 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
2820 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2821 PyObject
* _resultobj
;
2823 PyObject
* _argo0
= 0;
2824 char *_kwnames
[] = { "self", NULL
};
2827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Lower",_kwnames
,&_argo0
))
2830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
2837 wxPy_BEGIN_ALLOW_THREADS
;
2838 wxWindow_Lower(_arg0
);
2840 wxPy_END_ALLOW_THREADS
;
2841 } Py_INCREF(Py_None
);
2842 _resultobj
= Py_None
;
2846 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
2847 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2848 PyObject
* _resultobj
;
2851 PyObject
* _argo0
= 0;
2853 char *_kwnames
[] = { "self","flag", NULL
};
2856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_MakeModal",_kwnames
,&_argo0
,&tempbool1
))
2859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
2865 _arg1
= (bool ) tempbool1
;
2867 wxPy_BEGIN_ALLOW_THREADS
;
2868 wxWindow_MakeModal(_arg0
,_arg1
);
2870 wxPy_END_ALLOW_THREADS
;
2871 } Py_INCREF(Py_None
);
2872 _resultobj
= Py_None
;
2876 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2877 static PyObject
*_wrap_wxWindow_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2878 PyObject
* _resultobj
;
2882 PyObject
* _argo0
= 0;
2883 char *_kwnames
[] = { "self","x","y", NULL
};
2886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
2896 wxPy_BEGIN_ALLOW_THREADS
;
2897 wxWindow_MoveXY(_arg0
,_arg1
,_arg2
);
2899 wxPy_END_ALLOW_THREADS
;
2900 } Py_INCREF(Py_None
);
2901 _resultobj
= Py_None
;
2905 #define wxWindow_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2906 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2907 PyObject
* _resultobj
;
2910 PyObject
* _argo0
= 0;
2912 PyObject
* _obj1
= 0;
2913 char *_kwnames
[] = { "self","point", NULL
};
2916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Move",_kwnames
,&_argo0
,&_obj1
))
2919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
2927 if (! wxPoint_helper(_obj1
, &_arg1
))
2931 wxPy_BEGIN_ALLOW_THREADS
;
2932 wxWindow_Move(_arg0
,*_arg1
);
2934 wxPy_END_ALLOW_THREADS
;
2935 } Py_INCREF(Py_None
);
2936 _resultobj
= Py_None
;
2940 #define wxWindow_PopEventHandler(_swigobj,_swigarg0) (_swigobj->PopEventHandler(_swigarg0))
2941 static PyObject
*_wrap_wxWindow_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2942 PyObject
* _resultobj
;
2943 wxEvtHandler
* _result
;
2945 bool _arg1
= (bool ) FALSE
;
2946 PyObject
* _argo0
= 0;
2947 int tempbool1
= (int) FALSE
;
2948 char *_kwnames
[] = { "self","deleteHandler", NULL
};
2952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_PopEventHandler",_kwnames
,&_argo0
,&tempbool1
))
2955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopEventHandler. Expected _wxWindow_p.");
2961 _arg1
= (bool ) tempbool1
;
2963 wxPy_BEGIN_ALLOW_THREADS
;
2964 _result
= (wxEvtHandler
*)wxWindow_PopEventHandler(_arg0
,_arg1
);
2966 wxPy_END_ALLOW_THREADS
;
2968 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
2969 _resultobj
= Py_BuildValue("s",_ptemp
);
2972 _resultobj
= Py_None
;
2977 #define wxWindow_PushEventHandler(_swigobj,_swigarg0) (_swigobj->PushEventHandler(_swigarg0))
2978 static PyObject
*_wrap_wxWindow_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2979 PyObject
* _resultobj
;
2981 wxEvtHandler
* _arg1
;
2982 PyObject
* _argo0
= 0;
2983 PyObject
* _argo1
= 0;
2984 char *_kwnames
[] = { "self","handler", NULL
};
2987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_PushEventHandler",_kwnames
,&_argo0
,&_argo1
))
2990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PushEventHandler. Expected _wxWindow_p.");
2997 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2998 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
2999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PushEventHandler. Expected _wxEvtHandler_p.");
3004 wxPy_BEGIN_ALLOW_THREADS
;
3005 wxWindow_PushEventHandler(_arg0
,_arg1
);
3007 wxPy_END_ALLOW_THREADS
;
3008 } Py_INCREF(Py_None
);
3009 _resultobj
= Py_None
;
3013 #define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
3014 static PyObject
*_wrap_wxWindow_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3015 PyObject
* _resultobj
;
3021 PyObject
* _argo0
= 0;
3022 PyObject
* _argo1
= 0;
3023 char *_kwnames
[] = { "self","menu","x","y", NULL
};
3026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxWindow_PopupMenuXY",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
3036 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3037 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
3043 wxPy_BEGIN_ALLOW_THREADS
;
3044 _result
= (bool )wxWindow_PopupMenuXY(_arg0
,_arg1
,_arg2
,_arg3
);
3046 wxPy_END_ALLOW_THREADS
;
3047 } _resultobj
= Py_BuildValue("i",_result
);
3051 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
3052 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3053 PyObject
* _resultobj
;
3058 PyObject
* _argo0
= 0;
3059 PyObject
* _argo1
= 0;
3061 PyObject
* _obj2
= 0;
3062 char *_kwnames
[] = { "self","menu","pos", NULL
};
3065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_PopupMenu",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
3068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
3075 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3076 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
3083 if (! wxPoint_helper(_obj2
, &_arg2
))
3087 wxPy_BEGIN_ALLOW_THREADS
;
3088 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,*_arg2
);
3090 wxPy_END_ALLOW_THREADS
;
3091 } _resultobj
= Py_BuildValue("i",_result
);
3095 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
3096 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3097 PyObject
* _resultobj
;
3099 PyObject
* _argo0
= 0;
3100 char *_kwnames
[] = { "self", NULL
};
3103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Raise",_kwnames
,&_argo0
))
3106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
3113 wxPy_BEGIN_ALLOW_THREADS
;
3114 wxWindow_Raise(_arg0
);
3116 wxPy_END_ALLOW_THREADS
;
3117 } Py_INCREF(Py_None
);
3118 _resultobj
= Py_None
;
3122 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
3123 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3124 PyObject
* _resultobj
;
3126 bool _arg1
= (bool ) TRUE
;
3127 wxRect
* _arg2
= (wxRect
*) NULL
;
3128 PyObject
* _argo0
= 0;
3129 int tempbool1
= (int) TRUE
;
3131 PyObject
* _obj2
= 0;
3132 char *_kwnames
[] = { "self","eraseBackground","rect", NULL
};
3135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxWindow_Refresh",_kwnames
,&_argo0
,&tempbool1
,&_obj2
))
3138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
3144 _arg1
= (bool ) tempbool1
;
3148 if (! wxRect_helper(_obj2
, &_arg2
))
3152 wxPy_BEGIN_ALLOW_THREADS
;
3153 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
3155 wxPy_END_ALLOW_THREADS
;
3156 } Py_INCREF(Py_None
);
3157 _resultobj
= Py_None
;
3161 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
3162 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3163 PyObject
* _resultobj
;
3165 PyObject
* _argo0
= 0;
3166 char *_kwnames
[] = { "self", NULL
};
3169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_ReleaseMouse",_kwnames
,&_argo0
))
3172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
3179 wxPy_BEGIN_ALLOW_THREADS
;
3180 wxWindow_ReleaseMouse(_arg0
);
3182 wxPy_END_ALLOW_THREADS
;
3183 } Py_INCREF(Py_None
);
3184 _resultobj
= Py_None
;
3188 #define wxWindow_RemoveChild(_swigobj,_swigarg0) (_swigobj->RemoveChild(_swigarg0))
3189 static PyObject
*_wrap_wxWindow_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3190 PyObject
* _resultobj
;
3193 PyObject
* _argo0
= 0;
3194 PyObject
* _argo1
= 0;
3195 char *_kwnames
[] = { "self","child", NULL
};
3198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
3201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3208 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3209 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3215 wxPy_BEGIN_ALLOW_THREADS
;
3216 wxWindow_RemoveChild(_arg0
,_arg1
);
3218 wxPy_END_ALLOW_THREADS
;
3219 } Py_INCREF(Py_None
);
3220 _resultobj
= Py_None
;
3224 #define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
3225 static PyObject
*_wrap_wxWindow_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3226 PyObject
* _resultobj
;
3230 PyObject
* _argo0
= 0;
3231 PyObject
* _argo1
= 0;
3232 char *_kwnames
[] = { "self","newParent", NULL
};
3235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Reparent",_kwnames
,&_argo0
,&_argo1
))
3238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
3245 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3246 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
3252 wxPy_BEGIN_ALLOW_THREADS
;
3253 _result
= (bool )wxWindow_Reparent(_arg0
,_arg1
);
3255 wxPy_END_ALLOW_THREADS
;
3256 } _resultobj
= Py_BuildValue("i",_result
);
3260 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
3261 static PyObject
*_wrap_wxWindow_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3262 PyObject
* _resultobj
;
3266 PyObject
* _argo0
= 0;
3268 PyObject
* _obj1
= 0;
3270 PyObject
* _obj2
= 0;
3271 char *_kwnames
[] = { "self","x","y", NULL
};
3274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ScreenToClientXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
3284 temp
= (int) PyInt_AsLong(_obj1
);
3288 temp0
= (int) PyInt_AsLong(_obj2
);
3292 wxPy_BEGIN_ALLOW_THREADS
;
3293 wxWindow_ScreenToClientXY(_arg0
,_arg1
,_arg2
);
3295 wxPy_END_ALLOW_THREADS
;
3296 } Py_INCREF(Py_None
);
3297 _resultobj
= Py_None
;
3300 o
= PyInt_FromLong((long) (*_arg1
));
3301 _resultobj
= t_output_helper(_resultobj
, o
);
3305 o
= PyInt_FromLong((long) (*_arg2
));
3306 _resultobj
= t_output_helper(_resultobj
, o
);
3311 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
3312 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3313 PyObject
* _resultobj
;
3317 PyObject
* _argo0
= 0;
3319 PyObject
* _obj1
= 0;
3320 char *_kwnames
[] = { "self","pt", NULL
};
3324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ScreenToClient",_kwnames
,&_argo0
,&_obj1
))
3327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
3335 if (! wxPoint_helper(_obj1
, &_arg1
))
3339 wxPy_BEGIN_ALLOW_THREADS
;
3340 _result
= new wxPoint (wxWindow_ScreenToClient(_arg0
,*_arg1
));
3342 wxPy_END_ALLOW_THREADS
;
3343 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3344 _resultobj
= Py_BuildValue("s",_ptemp
);
3348 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
3349 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3350 PyObject
* _resultobj
;
3354 wxRect
* _arg3
= (wxRect
*) NULL
;
3355 PyObject
* _argo0
= 0;
3357 PyObject
* _obj3
= 0;
3358 char *_kwnames
[] = { "self","dx","dy","rect", NULL
};
3361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|O:wxWindow_ScrollWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
3373 if (! wxRect_helper(_obj3
, &_arg3
))
3377 wxPy_BEGIN_ALLOW_THREADS
;
3378 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
3380 wxPy_END_ALLOW_THREADS
;
3381 } Py_INCREF(Py_None
);
3382 _resultobj
= Py_None
;
3386 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
3387 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3388 PyObject
* _resultobj
;
3390 wxAcceleratorTable
* _arg1
;
3391 PyObject
* _argo0
= 0;
3392 PyObject
* _argo1
= 0;
3393 char *_kwnames
[] = { "self","accel", NULL
};
3396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetAcceleratorTable",_kwnames
,&_argo0
,&_argo1
))
3399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
3406 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3407 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
3408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
3413 wxPy_BEGIN_ALLOW_THREADS
;
3414 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
3416 wxPy_END_ALLOW_THREADS
;
3417 } Py_INCREF(Py_None
);
3418 _resultobj
= Py_None
;
3422 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
3423 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3424 PyObject
* _resultobj
;
3427 PyObject
* _argo0
= 0;
3429 char *_kwnames
[] = { "self","autoLayout", NULL
};
3432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetAutoLayout",_kwnames
,&_argo0
,&tempbool1
))
3435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
3441 _arg1
= (bool ) tempbool1
;
3443 wxPy_BEGIN_ALLOW_THREADS
;
3444 wxWindow_SetAutoLayout(_arg0
,_arg1
);
3446 wxPy_END_ALLOW_THREADS
;
3447 } Py_INCREF(Py_None
);
3448 _resultobj
= Py_None
;
3452 #define wxWindow_GetAutoLayout(_swigobj) (_swigobj->GetAutoLayout())
3453 static PyObject
*_wrap_wxWindow_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3454 PyObject
* _resultobj
;
3457 PyObject
* _argo0
= 0;
3458 char *_kwnames
[] = { "self", NULL
};
3461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAutoLayout",_kwnames
,&_argo0
))
3464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetAutoLayout. Expected _wxWindow_p.");
3471 wxPy_BEGIN_ALLOW_THREADS
;
3472 _result
= (bool )wxWindow_GetAutoLayout(_arg0
);
3474 wxPy_END_ALLOW_THREADS
;
3475 } _resultobj
= Py_BuildValue("i",_result
);
3479 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3480 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3481 PyObject
* _resultobj
;
3484 PyObject
* _argo0
= 0;
3486 PyObject
* _obj1
= 0;
3487 char *_kwnames
[] = { "self","colour", NULL
};
3490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
3501 if (! wxColour_helper(_obj1
, &_arg1
))
3505 wxPy_BEGIN_ALLOW_THREADS
;
3506 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
3508 wxPy_END_ALLOW_THREADS
;
3509 } Py_INCREF(Py_None
);
3510 _resultobj
= Py_None
;
3514 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
3515 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3516 PyObject
* _resultobj
;
3518 wxLayoutConstraints
* _arg1
;
3519 PyObject
* _argo0
= 0;
3520 PyObject
* _argo1
= 0;
3521 char *_kwnames
[] = { "self","constraints", NULL
};
3524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetConstraints",_kwnames
,&_argo0
,&_argo1
))
3527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
3534 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3535 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
3541 wxPy_BEGIN_ALLOW_THREADS
;
3542 wxWindow_SetConstraints(_arg0
,_arg1
);
3544 wxPy_END_ALLOW_THREADS
;
3545 } Py_INCREF(Py_None
);
3546 _resultobj
= Py_None
;
3550 #define wxWindow_UnsetConstraints(_swigobj,_swigarg0) (_swigobj->UnsetConstraints(_swigarg0))
3551 static PyObject
*_wrap_wxWindow_UnsetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3552 PyObject
* _resultobj
;
3554 wxLayoutConstraints
* _arg1
;
3555 PyObject
* _argo0
= 0;
3556 PyObject
* _argo1
= 0;
3557 char *_kwnames
[] = { "self","constraints", NULL
};
3560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_UnsetConstraints",_kwnames
,&_argo0
,&_argo1
))
3563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_UnsetConstraints. Expected _wxWindow_p.");
3570 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3571 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_UnsetConstraints. Expected _wxLayoutConstraints_p.");
3577 wxPy_BEGIN_ALLOW_THREADS
;
3578 wxWindow_UnsetConstraints(_arg0
,_arg1
);
3580 wxPy_END_ALLOW_THREADS
;
3581 } Py_INCREF(Py_None
);
3582 _resultobj
= Py_None
;
3586 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
3587 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3588 PyObject
* _resultobj
;
3590 PyObject
* _argo0
= 0;
3591 char *_kwnames
[] = { "self", NULL
};
3594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_SetFocus",_kwnames
,&_argo0
))
3597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
3604 wxPy_BEGIN_ALLOW_THREADS
;
3605 wxWindow_SetFocus(_arg0
);
3607 wxPy_END_ALLOW_THREADS
;
3608 } Py_INCREF(Py_None
);
3609 _resultobj
= Py_None
;
3613 #define wxWindow_AcceptsFocus(_swigobj) (_swigobj->AcceptsFocus())
3614 static PyObject
*_wrap_wxWindow_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3615 PyObject
* _resultobj
;
3618 PyObject
* _argo0
= 0;
3619 char *_kwnames
[] = { "self", NULL
};
3622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_AcceptsFocus",_kwnames
,&_argo0
))
3625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_AcceptsFocus. Expected _wxWindow_p.");
3632 wxPy_BEGIN_ALLOW_THREADS
;
3633 _result
= (bool )wxWindow_AcceptsFocus(_arg0
);
3635 wxPy_END_ALLOW_THREADS
;
3636 } _resultobj
= Py_BuildValue("i",_result
);
3640 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
3641 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3642 PyObject
* _resultobj
;
3645 PyObject
* _argo0
= 0;
3646 PyObject
* _argo1
= 0;
3647 char *_kwnames
[] = { "self","font", NULL
};
3650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetFont",_kwnames
,&_argo0
,&_argo1
))
3653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
3660 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3661 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
3662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
3667 wxPy_BEGIN_ALLOW_THREADS
;
3668 wxWindow_SetFont(_arg0
,*_arg1
);
3670 wxPy_END_ALLOW_THREADS
;
3671 } Py_INCREF(Py_None
);
3672 _resultobj
= Py_None
;
3676 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
3677 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3678 PyObject
* _resultobj
;
3681 PyObject
* _argo0
= 0;
3683 PyObject
* _obj1
= 0;
3684 char *_kwnames
[] = { "self","colour", NULL
};
3687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
3690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
3698 if (! wxColour_helper(_obj1
, &_arg1
))
3702 wxPy_BEGIN_ALLOW_THREADS
;
3703 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
3705 wxPy_END_ALLOW_THREADS
;
3706 } Py_INCREF(Py_None
);
3707 _resultobj
= Py_None
;
3711 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
3712 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3713 PyObject
* _resultobj
;
3716 PyObject
* _argo0
= 0;
3717 char *_kwnames
[] = { "self","id", NULL
};
3720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetId",_kwnames
,&_argo0
,&_arg1
))
3723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
3730 wxPy_BEGIN_ALLOW_THREADS
;
3731 wxWindow_SetId(_arg0
,_arg1
);
3733 wxPy_END_ALLOW_THREADS
;
3734 } Py_INCREF(Py_None
);
3735 _resultobj
= Py_None
;
3739 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
3740 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3741 PyObject
* _resultobj
;
3744 PyObject
* _argo0
= 0;
3745 PyObject
* _obj1
= 0;
3746 char *_kwnames
[] = { "self","name", NULL
};
3749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetName",_kwnames
,&_argo0
,&_obj1
))
3752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
3759 if (!PyString_Check(_obj1
)) {
3760 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3763 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3766 wxPy_BEGIN_ALLOW_THREADS
;
3767 wxWindow_SetName(_arg0
,*_arg1
);
3769 wxPy_END_ALLOW_THREADS
;
3770 } Py_INCREF(Py_None
);
3771 _resultobj
= Py_None
;
3779 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3780 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3781 PyObject
* _resultobj
;
3787 int _arg5
= (int ) TRUE
;
3788 PyObject
* _argo0
= 0;
3789 char *_kwnames
[] = { "self","orientation","position","thumbSize","range","refresh", NULL
};
3792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3795 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3796 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
3802 wxPy_BEGIN_ALLOW_THREADS
;
3803 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3805 wxPy_END_ALLOW_THREADS
;
3806 } Py_INCREF(Py_None
);
3807 _resultobj
= Py_None
;
3811 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
3812 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3813 PyObject
* _resultobj
;
3817 bool _arg3
= (bool ) TRUE
;
3818 PyObject
* _argo0
= 0;
3819 int tempbool3
= (int) TRUE
;
3820 char *_kwnames
[] = { "self","orientation","pos","refresh", NULL
};
3823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_SetScrollPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
3826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
3832 _arg3
= (bool ) tempbool3
;
3834 wxPy_BEGIN_ALLOW_THREADS
;
3835 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
3837 wxPy_END_ALLOW_THREADS
;
3838 } Py_INCREF(Py_None
);
3839 _resultobj
= Py_None
;
3843 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3844 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3845 PyObject
* _resultobj
;
3851 int _arg5
= (int ) wxSIZE_AUTO
;
3852 PyObject
* _argo0
= 0;
3853 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
3856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetDimensions",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
3866 wxPy_BEGIN_ALLOW_THREADS
;
3867 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3869 wxPy_END_ALLOW_THREADS
;
3870 } Py_INCREF(Py_None
);
3871 _resultobj
= Py_None
;
3875 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
3876 self
->SetSize(size
);
3878 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3879 PyObject
* _resultobj
;
3882 PyObject
* _argo0
= 0;
3884 PyObject
* _obj1
= 0;
3885 char *_kwnames
[] = { "self","size", NULL
};
3888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSize",_kwnames
,&_argo0
,&_obj1
))
3891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
3899 if (! wxSize_helper(_obj1
, &_arg1
))
3903 wxPy_BEGIN_ALLOW_THREADS
;
3904 wxWindow_SetSize(_arg0
,*_arg1
);
3906 wxPy_END_ALLOW_THREADS
;
3907 } Py_INCREF(Py_None
);
3908 _resultobj
= Py_None
;
3912 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
) {
3915 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3916 PyObject
* _resultobj
;
3919 PyObject
* _argo0
= 0;
3921 PyObject
* _obj1
= 0;
3922 char *_kwnames
[] = { "self","pos", NULL
};
3925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetPosition",_kwnames
,&_argo0
,&_obj1
))
3928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
3936 if (! wxPoint_helper(_obj1
, &_arg1
))
3940 wxPy_BEGIN_ALLOW_THREADS
;
3941 wxWindow_SetPosition(_arg0
,*_arg1
);
3943 wxPy_END_ALLOW_THREADS
;
3944 } Py_INCREF(Py_None
);
3945 _resultobj
= Py_None
;
3949 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3950 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3951 PyObject
* _resultobj
;
3953 int _arg1
= (int ) -1;
3954 int _arg2
= (int ) -1;
3955 int _arg3
= (int ) -1;
3956 int _arg4
= (int ) -1;
3957 int _arg5
= (int ) -1;
3958 int _arg6
= (int ) -1;
3959 PyObject
* _argo0
= 0;
3960 char *_kwnames
[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL
};
3963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iiiiii:wxWindow_SetSizeHints",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
3973 wxPy_BEGIN_ALLOW_THREADS
;
3974 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3976 wxPy_END_ALLOW_THREADS
;
3977 } Py_INCREF(Py_None
);
3978 _resultobj
= Py_None
;
3982 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
3983 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3984 PyObject
* _resultobj
;
3988 PyObject
* _argo0
= 0;
3989 char *_kwnames
[] = { "self","width","height", NULL
};
3992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_SetClientSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
4002 wxPy_BEGIN_ALLOW_THREADS
;
4003 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
4005 wxPy_END_ALLOW_THREADS
;
4006 } Py_INCREF(Py_None
);
4007 _resultobj
= Py_None
;
4011 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
4012 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4013 PyObject
* _resultobj
;
4016 PyObject
* _argo0
= 0;
4018 PyObject
* _obj1
= 0;
4019 char *_kwnames
[] = { "self","size", NULL
};
4022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetClientSize",_kwnames
,&_argo0
,&_obj1
))
4025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
4033 if (! wxSize_helper(_obj1
, &_arg1
))
4037 wxPy_BEGIN_ALLOW_THREADS
;
4038 wxWindow_SetClientSize(_arg0
,*_arg1
);
4040 wxPy_END_ALLOW_THREADS
;
4041 } Py_INCREF(Py_None
);
4042 _resultobj
= Py_None
;
4046 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
4047 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4048 PyObject
* _resultobj
;
4051 PyObject
* _argo0
= 0;
4052 PyObject
* _argo1
= 0;
4053 char *_kwnames
[] = { "self","cursor", NULL
};
4056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCursor",_kwnames
,&_argo0
,&_argo1
))
4059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
4066 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4067 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
4068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
4073 wxPy_BEGIN_ALLOW_THREADS
;
4074 wxWindow_SetCursor(_arg0
,*_arg1
);
4076 wxPy_END_ALLOW_THREADS
;
4077 } Py_INCREF(Py_None
);
4078 _resultobj
= Py_None
;
4082 #define wxWindow_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
4083 static PyObject
*_wrap_wxWindow_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4084 PyObject
* _resultobj
;
4086 wxEvtHandler
* _arg1
;
4087 PyObject
* _argo0
= 0;
4088 PyObject
* _argo1
= 0;
4089 char *_kwnames
[] = { "self","handler", NULL
};
4092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
4095 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4096 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetEventHandler. Expected _wxWindow_p.");
4102 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4103 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetEventHandler. Expected _wxEvtHandler_p.");
4109 wxPy_BEGIN_ALLOW_THREADS
;
4110 wxWindow_SetEventHandler(_arg0
,_arg1
);
4112 wxPy_END_ALLOW_THREADS
;
4113 } Py_INCREF(Py_None
);
4114 _resultobj
= Py_None
;
4118 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4119 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4120 PyObject
* _resultobj
;
4123 PyObject
* _argo0
= 0;
4124 PyObject
* _obj1
= 0;
4125 char *_kwnames
[] = { "self","title", NULL
};
4128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
4138 if (!PyString_Check(_obj1
)) {
4139 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4142 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4145 wxPy_BEGIN_ALLOW_THREADS
;
4146 wxWindow_SetTitle(_arg0
,*_arg1
);
4148 wxPy_END_ALLOW_THREADS
;
4149 } Py_INCREF(Py_None
);
4150 _resultobj
= Py_None
;
4158 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4159 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4160 PyObject
* _resultobj
;
4164 PyObject
* _argo0
= 0;
4166 char *_kwnames
[] = { "self","show", NULL
};
4169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
4172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
4178 _arg1
= (bool ) tempbool1
;
4180 wxPy_BEGIN_ALLOW_THREADS
;
4181 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
4183 wxPy_END_ALLOW_THREADS
;
4184 } _resultobj
= Py_BuildValue("i",_result
);
4188 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
4189 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4190 PyObject
* _resultobj
;
4193 PyObject
* _argo0
= 0;
4194 char *_kwnames
[] = { "self", NULL
};
4197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataFromWindow",_kwnames
,&_argo0
))
4200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
4207 wxPy_BEGIN_ALLOW_THREADS
;
4208 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
4210 wxPy_END_ALLOW_THREADS
;
4211 } _resultobj
= Py_BuildValue("i",_result
);
4215 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
4216 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4217 PyObject
* _resultobj
;
4220 PyObject
* _argo0
= 0;
4221 char *_kwnames
[] = { "self", NULL
};
4224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataToWindow",_kwnames
,&_argo0
))
4227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
4234 wxPy_BEGIN_ALLOW_THREADS
;
4235 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
4237 wxPy_END_ALLOW_THREADS
;
4238 } _resultobj
= Py_BuildValue("i",_result
);
4242 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
4243 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4244 PyObject
* _resultobj
;
4247 PyObject
* _argo0
= 0;
4248 char *_kwnames
[] = { "self", NULL
};
4251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Validate",_kwnames
,&_argo0
))
4254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
4261 wxPy_BEGIN_ALLOW_THREADS
;
4262 _result
= (bool )wxWindow_Validate(_arg0
);
4264 wxPy_END_ALLOW_THREADS
;
4265 } _resultobj
= Py_BuildValue("i",_result
);
4269 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
4270 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4271 PyObject
* _resultobj
;
4275 PyObject
* _argo0
= 0;
4276 char *_kwnames
[] = { "self","x","y", NULL
};
4279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_WarpPointer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
4289 wxPy_BEGIN_ALLOW_THREADS
;
4290 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
4292 wxPy_END_ALLOW_THREADS
;
4293 } Py_INCREF(Py_None
);
4294 _resultobj
= Py_None
;
4298 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4299 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4300 PyObject
* _resultobj
;
4304 PyObject
* _argo0
= 0;
4306 PyObject
* _obj1
= 0;
4307 char *_kwnames
[] = { "self","pt", NULL
};
4311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames
,&_argo0
,&_obj1
))
4314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
4322 if (! wxPoint_helper(_obj1
, &_arg1
))
4326 wxPy_BEGIN_ALLOW_THREADS
;
4327 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
4329 wxPy_END_ALLOW_THREADS
;
4330 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4331 _resultobj
= Py_BuildValue("s",_ptemp
);
4335 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4336 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4337 PyObject
* _resultobj
;
4341 PyObject
* _argo0
= 0;
4343 PyObject
* _obj1
= 0;
4344 char *_kwnames
[] = { "self","sz", NULL
};
4348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames
,&_argo0
,&_obj1
))
4351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
4359 if (! wxSize_helper(_obj1
, &_arg1
))
4363 wxPy_BEGIN_ALLOW_THREADS
;
4364 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
4366 wxPy_END_ALLOW_THREADS
;
4367 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4368 _resultobj
= Py_BuildValue("s",_ptemp
);
4372 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4373 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4374 PyObject
* _resultobj
;
4378 PyObject
* _argo0
= 0;
4380 PyObject
* _obj1
= 0;
4381 char *_kwnames
[] = { "self","pt", NULL
};
4385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames
,&_argo0
,&_obj1
))
4388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
4396 if (! wxPoint_helper(_obj1
, &_arg1
))
4400 wxPy_BEGIN_ALLOW_THREADS
;
4401 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
4403 wxPy_END_ALLOW_THREADS
;
4404 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4405 _resultobj
= Py_BuildValue("s",_ptemp
);
4409 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4410 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4411 PyObject
* _resultobj
;
4415 PyObject
* _argo0
= 0;
4417 PyObject
* _obj1
= 0;
4418 char *_kwnames
[] = { "self","sz", NULL
};
4422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames
,&_argo0
,&_obj1
))
4425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
4433 if (! wxSize_helper(_obj1
, &_arg1
))
4437 wxPy_BEGIN_ALLOW_THREADS
;
4438 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
4440 wxPy_END_ALLOW_THREADS
;
4441 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4442 _resultobj
= Py_BuildValue("s",_ptemp
);
4446 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4447 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4448 PyObject
* _resultobj
;
4451 PyObject
* _argo0
= 0;
4452 PyObject
* _obj1
= 0;
4453 char *_kwnames
[] = { "self","tip", NULL
};
4456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTipString",_kwnames
,&_argo0
,&_obj1
))
4459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
4466 if (!PyString_Check(_obj1
)) {
4467 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4470 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4473 wxPy_BEGIN_ALLOW_THREADS
;
4474 wxWindow_SetToolTipString(_arg0
,*_arg1
);
4476 wxPy_END_ALLOW_THREADS
;
4477 } Py_INCREF(Py_None
);
4478 _resultobj
= Py_None
;
4486 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4487 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4488 PyObject
* _resultobj
;
4491 PyObject
* _argo0
= 0;
4492 PyObject
* _argo1
= 0;
4493 char *_kwnames
[] = { "self","tooltip", NULL
};
4496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTip",_kwnames
,&_argo0
,&_argo1
))
4499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
4506 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4507 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolTip_p")) {
4508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
4513 wxPy_BEGIN_ALLOW_THREADS
;
4514 wxWindow_SetToolTip(_arg0
,_arg1
);
4516 wxPy_END_ALLOW_THREADS
;
4517 } Py_INCREF(Py_None
);
4518 _resultobj
= Py_None
;
4522 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
4523 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4524 PyObject
* _resultobj
;
4525 wxToolTip
* _result
;
4527 PyObject
* _argo0
= 0;
4528 char *_kwnames
[] = { "self", NULL
};
4532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetToolTip",_kwnames
,&_argo0
))
4535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
4542 wxPy_BEGIN_ALLOW_THREADS
;
4543 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
4545 wxPy_END_ALLOW_THREADS
;
4547 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
4548 _resultobj
= Py_BuildValue("s",_ptemp
);
4551 _resultobj
= Py_None
;
4556 #define wxWindow_SetSizer(_swigobj,_swigarg0) (_swigobj->SetSizer(_swigarg0))
4557 static PyObject
*_wrap_wxWindow_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4558 PyObject
* _resultobj
;
4561 PyObject
* _argo0
= 0;
4562 PyObject
* _argo1
= 0;
4563 char *_kwnames
[] = { "self","sizer", NULL
};
4566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSizer",_kwnames
,&_argo0
,&_argo1
))
4569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizer. Expected _wxWindow_p.");
4576 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4577 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
4578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSizer. Expected _wxSizer_p.");
4583 wxPy_BEGIN_ALLOW_THREADS
;
4584 wxWindow_SetSizer(_arg0
,_arg1
);
4586 wxPy_END_ALLOW_THREADS
;
4587 } Py_INCREF(Py_None
);
4588 _resultobj
= Py_None
;
4592 #define wxWindow_GetSizer(_swigobj) (_swigobj->GetSizer())
4593 static PyObject
*_wrap_wxWindow_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4594 PyObject
* _resultobj
;
4597 PyObject
* _argo0
= 0;
4598 char *_kwnames
[] = { "self", NULL
};
4602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizer",_kwnames
,&_argo0
))
4605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizer. Expected _wxWindow_p.");
4612 wxPy_BEGIN_ALLOW_THREADS
;
4613 _result
= (wxSizer
*)wxWindow_GetSizer(_arg0
);
4615 wxPy_END_ALLOW_THREADS
;
4617 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSizer_p");
4618 _resultobj
= Py_BuildValue("s",_ptemp
);
4621 _resultobj
= Py_None
;
4626 #define wxWindow_GetValidator(_swigobj) (_swigobj->GetValidator())
4627 static PyObject
*_wrap_wxWindow_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4628 PyObject
* _resultobj
;
4629 wxValidator
* _result
;
4631 PyObject
* _argo0
= 0;
4632 char *_kwnames
[] = { "self", NULL
};
4636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetValidator",_kwnames
,&_argo0
))
4639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetValidator. Expected _wxWindow_p.");
4646 wxPy_BEGIN_ALLOW_THREADS
;
4647 _result
= (wxValidator
*)wxWindow_GetValidator(_arg0
);
4649 wxPy_END_ALLOW_THREADS
;
4651 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
4652 _resultobj
= Py_BuildValue("s",_ptemp
);
4655 _resultobj
= Py_None
;
4660 #define wxWindow_SetValidator(_swigobj,_swigarg0) (_swigobj->SetValidator(_swigarg0))
4661 static PyObject
*_wrap_wxWindow_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4662 PyObject
* _resultobj
;
4664 wxValidator
* _arg1
;
4665 PyObject
* _argo0
= 0;
4666 PyObject
* _argo1
= 0;
4667 char *_kwnames
[] = { "self","validator", NULL
};
4670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetValidator",_kwnames
,&_argo0
,&_argo1
))
4673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetValidator. Expected _wxWindow_p.");
4680 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4681 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxValidator_p")) {
4682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetValidator. Expected _wxValidator_p.");
4687 wxPy_BEGIN_ALLOW_THREADS
;
4688 wxWindow_SetValidator(_arg0
,*_arg1
);
4690 wxPy_END_ALLOW_THREADS
;
4691 } Py_INCREF(Py_None
);
4692 _resultobj
= Py_None
;
4696 #define wxWindow_SetDropTarget(_swigobj,_swigarg0) (_swigobj->SetDropTarget(_swigarg0))
4697 static PyObject
*_wrap_wxWindow_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4698 PyObject
* _resultobj
;
4700 wxDropTarget
* _arg1
;
4701 PyObject
* _argo0
= 0;
4702 PyObject
* _argo1
= 0;
4703 char *_kwnames
[] = { "self","target", NULL
};
4706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetDropTarget",_kwnames
,&_argo0
,&_argo1
))
4709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDropTarget. Expected _wxWindow_p.");
4716 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4717 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDropTarget_p")) {
4718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetDropTarget. Expected _wxDropTarget_p.");
4723 wxPy_BEGIN_ALLOW_THREADS
;
4724 wxWindow_SetDropTarget(_arg0
,_arg1
);
4726 wxPy_END_ALLOW_THREADS
;
4727 } Py_INCREF(Py_None
);
4728 _resultobj
= Py_None
;
4732 #define wxWindow_GetDropTarget(_swigobj) (_swigobj->GetDropTarget())
4733 static PyObject
*_wrap_wxWindow_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4734 PyObject
* _resultobj
;
4735 wxDropTarget
* _result
;
4737 PyObject
* _argo0
= 0;
4738 char *_kwnames
[] = { "self", NULL
};
4742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetDropTarget",_kwnames
,&_argo0
))
4745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetDropTarget. Expected _wxWindow_p.");
4752 wxPy_BEGIN_ALLOW_THREADS
;
4753 _result
= (wxDropTarget
*)wxWindow_GetDropTarget(_arg0
);
4755 wxPy_END_ALLOW_THREADS
;
4757 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDropTarget_p");
4758 _resultobj
= Py_BuildValue("s",_ptemp
);
4761 _resultobj
= Py_None
;
4766 #define wxWindow_GetBestSize(_swigobj) (_swigobj->GetBestSize())
4767 static PyObject
*_wrap_wxWindow_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4768 PyObject
* _resultobj
;
4771 PyObject
* _argo0
= 0;
4772 char *_kwnames
[] = { "self", NULL
};
4776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBestSize",_kwnames
,&_argo0
))
4779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBestSize. Expected _wxWindow_p.");
4786 wxPy_BEGIN_ALLOW_THREADS
;
4787 _result
= new wxSize (wxWindow_GetBestSize(_arg0
));
4789 wxPy_END_ALLOW_THREADS
;
4790 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4791 _resultobj
= Py_BuildValue("s",_ptemp
);
4795 #define wxWindow_SetCaret(_swigobj,_swigarg0) (_swigobj->SetCaret(_swigarg0))
4796 static PyObject
*_wrap_wxWindow_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4797 PyObject
* _resultobj
;
4800 PyObject
* _argo0
= 0;
4801 PyObject
* _argo1
= 0;
4802 char *_kwnames
[] = { "self","caret", NULL
};
4805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCaret",_kwnames
,&_argo0
,&_argo1
))
4808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCaret. Expected _wxWindow_p.");
4815 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4816 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCaret_p")) {
4817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCaret. Expected _wxCaret_p.");
4822 wxPy_BEGIN_ALLOW_THREADS
;
4823 wxWindow_SetCaret(_arg0
,_arg1
);
4825 wxPy_END_ALLOW_THREADS
;
4826 } Py_INCREF(Py_None
);
4827 _resultobj
= Py_None
;
4831 #define wxWindow_GetCaret(_swigobj) (_swigobj->GetCaret())
4832 static PyObject
*_wrap_wxWindow_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4833 PyObject
* _resultobj
;
4836 PyObject
* _argo0
= 0;
4837 char *_kwnames
[] = { "self", NULL
};
4841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCaret",_kwnames
,&_argo0
))
4844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCaret. Expected _wxWindow_p.");
4851 wxPy_BEGIN_ALLOW_THREADS
;
4852 _result
= (wxCaret
*)wxWindow_GetCaret(_arg0
);
4854 wxPy_END_ALLOW_THREADS
;
4856 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
4857 _resultobj
= Py_BuildValue("s",_ptemp
);
4860 _resultobj
= Py_None
;
4865 static void *SwigwxPanelTowxWindow(void *ptr
) {
4868 src
= (wxPanel
*) ptr
;
4869 dest
= (wxWindow
*) src
;
4870 return (void *) dest
;
4873 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
4876 src
= (wxPanel
*) ptr
;
4877 dest
= (wxEvtHandler
*) src
;
4878 return (void *) dest
;
4881 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4882 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4883 PyObject
* _resultobj
;
4887 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
4888 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
4889 long _arg4
= (long ) wxTAB_TRAVERSAL
;
4890 char * _arg5
= (char *) "panel";
4891 PyObject
* _argo0
= 0;
4893 PyObject
* _obj2
= 0;
4895 PyObject
* _obj3
= 0;
4896 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
4900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxPanel",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
4903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
4912 if (! wxPoint_helper(_obj2
, &_arg2
))
4918 if (! wxSize_helper(_obj3
, &_arg3
))
4922 wxPy_BEGIN_ALLOW_THREADS
;
4923 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
4925 wxPy_END_ALLOW_THREADS
;
4927 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
4928 _resultobj
= Py_BuildValue("s",_ptemp
);
4931 _resultobj
= Py_None
;
4936 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
4937 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4938 PyObject
* _resultobj
;
4940 PyObject
* _argo0
= 0;
4941 char *_kwnames
[] = { "self", NULL
};
4944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_InitDialog",_kwnames
,&_argo0
))
4947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
4949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
4954 wxPy_BEGIN_ALLOW_THREADS
;
4955 wxPanel_InitDialog(_arg0
);
4957 wxPy_END_ALLOW_THREADS
;
4958 } Py_INCREF(Py_None
);
4959 _resultobj
= Py_None
;
4963 #define wxPanel_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
4964 static PyObject
*_wrap_wxPanel_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4965 PyObject
* _resultobj
;
4968 PyObject
* _argo0
= 0;
4969 char *_kwnames
[] = { "self", NULL
};
4973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_GetDefaultItem",_kwnames
,&_argo0
))
4976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
4978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_GetDefaultItem. Expected _wxPanel_p.");
4983 wxPy_BEGIN_ALLOW_THREADS
;
4984 _result
= (wxButton
*)wxPanel_GetDefaultItem(_arg0
);
4986 wxPy_END_ALLOW_THREADS
;
4988 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
4989 _resultobj
= Py_BuildValue("s",_ptemp
);
4992 _resultobj
= Py_None
;
4997 #define wxPanel_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
4998 static PyObject
*_wrap_wxPanel_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4999 PyObject
* _resultobj
;
5002 PyObject
* _argo0
= 0;
5003 PyObject
* _argo1
= 0;
5004 char *_kwnames
[] = { "self","btn", NULL
};
5007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPanel_SetDefaultItem",_kwnames
,&_argo0
,&_argo1
))
5010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
5012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_SetDefaultItem. Expected _wxPanel_p.");
5017 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5018 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxButton_p")) {
5019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPanel_SetDefaultItem. Expected _wxButton_p.");
5024 wxPy_BEGIN_ALLOW_THREADS
;
5025 wxPanel_SetDefaultItem(_arg0
,_arg1
);
5027 wxPy_END_ALLOW_THREADS
;
5028 } Py_INCREF(Py_None
);
5029 _resultobj
= Py_None
;
5033 static void *SwigwxDialogTowxPanel(void *ptr
) {
5036 src
= (wxDialog
*) ptr
;
5037 dest
= (wxPanel
*) src
;
5038 return (void *) dest
;
5041 static void *SwigwxDialogTowxWindow(void *ptr
) {
5044 src
= (wxDialog
*) ptr
;
5045 dest
= (wxWindow
*) src
;
5046 return (void *) dest
;
5049 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
5052 src
= (wxDialog
*) ptr
;
5053 dest
= (wxEvtHandler
*) src
;
5054 return (void *) dest
;
5057 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5058 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5059 PyObject
* _resultobj
;
5064 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
5065 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
5066 long _arg5
= (long ) wxDEFAULT_DIALOG_STYLE
;
5067 char * _arg6
= (char *) "dialogBox";
5068 PyObject
* _argo0
= 0;
5069 PyObject
* _obj2
= 0;
5071 PyObject
* _obj3
= 0;
5073 PyObject
* _obj4
= 0;
5074 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
5078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxDialog",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
5081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
5088 if (!PyString_Check(_obj2
)) {
5089 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5092 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5097 if (! wxPoint_helper(_obj3
, &_arg3
))
5103 if (! wxSize_helper(_obj4
, &_arg4
))
5107 wxPy_BEGIN_ALLOW_THREADS
;
5108 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
5110 wxPy_END_ALLOW_THREADS
;
5112 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
5113 _resultobj
= Py_BuildValue("s",_ptemp
);
5116 _resultobj
= Py_None
;
5125 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
5126 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5127 PyObject
* _resultobj
;
5129 int _arg1
= (int ) wxBOTH
;
5130 PyObject
* _argo0
= 0;
5131 char *_kwnames
[] = { "self","direction", NULL
};
5134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDialog_Centre",_kwnames
,&_argo0
,&_arg1
))
5137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
5144 wxPy_BEGIN_ALLOW_THREADS
;
5145 wxDialog_Centre(_arg0
,_arg1
);
5147 wxPy_END_ALLOW_THREADS
;
5148 } Py_INCREF(Py_None
);
5149 _resultobj
= Py_None
;
5153 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
5154 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5155 PyObject
* _resultobj
;
5158 PyObject
* _argo0
= 0;
5159 char *_kwnames
[] = { "self","retCode", NULL
};
5162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_EndModal",_kwnames
,&_argo0
,&_arg1
))
5165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
5172 wxPy_BEGIN_ALLOW_THREADS
;
5173 wxDialog_EndModal(_arg0
,_arg1
);
5175 wxPy_END_ALLOW_THREADS
;
5176 } Py_INCREF(Py_None
);
5177 _resultobj
= Py_None
;
5181 #define wxDialog_GetTitle(_swigobj) (_swigobj->GetTitle())
5182 static PyObject
*_wrap_wxDialog_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5183 PyObject
* _resultobj
;
5186 PyObject
* _argo0
= 0;
5187 char *_kwnames
[] = { "self", NULL
};
5190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetTitle",_kwnames
,&_argo0
))
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_GetTitle. Expected _wxDialog_p.");
5200 wxPy_BEGIN_ALLOW_THREADS
;
5201 _result
= new wxString (wxDialog_GetTitle(_arg0
));
5203 wxPy_END_ALLOW_THREADS
;
5205 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5213 #define wxDialog_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
5214 static PyObject
*_wrap_wxDialog_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5215 PyObject
* _resultobj
;
5218 PyObject
* _argo0
= 0;
5220 char *_kwnames
[] = { "self","iconize", NULL
};
5223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Iconize",_kwnames
,&_argo0
,&tempbool1
))
5226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Iconize. Expected _wxDialog_p.");
5232 _arg1
= (bool ) tempbool1
;
5234 wxPy_BEGIN_ALLOW_THREADS
;
5235 wxDialog_Iconize(_arg0
,_arg1
);
5237 wxPy_END_ALLOW_THREADS
;
5238 } Py_INCREF(Py_None
);
5239 _resultobj
= Py_None
;
5243 #define wxDialog_IsIconized(_swigobj) (_swigobj->IsIconized())
5244 static PyObject
*_wrap_wxDialog_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5245 PyObject
* _resultobj
;
5248 PyObject
* _argo0
= 0;
5249 char *_kwnames
[] = { "self", NULL
};
5252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsIconized",_kwnames
,&_argo0
))
5255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsIconized. Expected _wxDialog_p.");
5262 wxPy_BEGIN_ALLOW_THREADS
;
5263 _result
= (bool )wxDialog_IsIconized(_arg0
);
5265 wxPy_END_ALLOW_THREADS
;
5266 } _resultobj
= Py_BuildValue("i",_result
);
5270 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
5271 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5272 PyObject
* _resultobj
;
5275 PyObject
* _argo0
= 0;
5277 char *_kwnames
[] = { "self","flag", NULL
};
5280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetModal",_kwnames
,&_argo0
,&tempbool1
))
5283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
5289 _arg1
= (bool ) tempbool1
;
5291 wxPy_BEGIN_ALLOW_THREADS
;
5292 wxDialog_SetModal(_arg0
,_arg1
);
5294 wxPy_END_ALLOW_THREADS
;
5295 } Py_INCREF(Py_None
);
5296 _resultobj
= Py_None
;
5300 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
5301 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5302 PyObject
* _resultobj
;
5305 PyObject
* _argo0
= 0;
5306 char *_kwnames
[] = { "self", NULL
};
5309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsModal",_kwnames
,&_argo0
))
5312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
5319 wxPy_BEGIN_ALLOW_THREADS
;
5320 _result
= (bool )wxDialog_IsModal(_arg0
);
5322 wxPy_END_ALLOW_THREADS
;
5323 } _resultobj
= Py_BuildValue("i",_result
);
5327 #define wxDialog_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
5328 static PyObject
*_wrap_wxDialog_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5329 PyObject
* _resultobj
;
5332 PyObject
* _argo0
= 0;
5333 PyObject
* _obj1
= 0;
5334 char *_kwnames
[] = { "self","title", NULL
};
5337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDialog_SetTitle",_kwnames
,&_argo0
,&_obj1
))
5340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetTitle. Expected _wxDialog_p.");
5347 if (!PyString_Check(_obj1
)) {
5348 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5351 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5354 wxPy_BEGIN_ALLOW_THREADS
;
5355 wxDialog_SetTitle(_arg0
,*_arg1
);
5357 wxPy_END_ALLOW_THREADS
;
5358 } Py_INCREF(Py_None
);
5359 _resultobj
= Py_None
;
5367 #define wxDialog_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5368 static PyObject
*_wrap_wxDialog_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5369 PyObject
* _resultobj
;
5373 PyObject
* _argo0
= 0;
5375 char *_kwnames
[] = { "self","show", NULL
};
5378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Show",_kwnames
,&_argo0
,&tempbool1
))
5381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Show. Expected _wxDialog_p.");
5387 _arg1
= (bool ) tempbool1
;
5389 wxPy_BEGIN_ALLOW_THREADS
;
5390 _result
= (bool )wxDialog_Show(_arg0
,_arg1
);
5392 wxPy_END_ALLOW_THREADS
;
5393 } _resultobj
= Py_BuildValue("i",_result
);
5397 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
5398 static PyObject
*_wrap_wxDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5399 PyObject
* _resultobj
;
5402 PyObject
* _argo0
= 0;
5403 char *_kwnames
[] = { "self", NULL
};
5406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_ShowModal",_kwnames
,&_argo0
))
5409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
5416 wxPy_BEGIN_ALLOW_THREADS
;
5417 _result
= (int )wxDialog_ShowModal(_arg0
);
5419 wxPy_END_ALLOW_THREADS
;
5420 } _resultobj
= Py_BuildValue("i",_result
);
5424 #define wxDialog_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
5425 static PyObject
*_wrap_wxDialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5426 PyObject
* _resultobj
;
5429 PyObject
* _argo0
= 0;
5430 char *_kwnames
[] = { "self", NULL
};
5433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetReturnCode",_kwnames
,&_argo0
))
5436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetReturnCode. Expected _wxDialog_p.");
5443 wxPy_BEGIN_ALLOW_THREADS
;
5444 _result
= (int )wxDialog_GetReturnCode(_arg0
);
5446 wxPy_END_ALLOW_THREADS
;
5447 } _resultobj
= Py_BuildValue("i",_result
);
5451 #define wxDialog_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
5452 static PyObject
*_wrap_wxDialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5453 PyObject
* _resultobj
;
5456 PyObject
* _argo0
= 0;
5457 char *_kwnames
[] = { "self","retCode", NULL
};
5460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetReturnCode",_kwnames
,&_argo0
,&_arg1
))
5463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
5465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetReturnCode. Expected _wxDialog_p.");
5470 wxPy_BEGIN_ALLOW_THREADS
;
5471 wxDialog_SetReturnCode(_arg0
,_arg1
);
5473 wxPy_END_ALLOW_THREADS
;
5474 } Py_INCREF(Py_None
);
5475 _resultobj
= Py_None
;
5479 static void *SwigwxScrolledWindowTowxPanel(void *ptr
) {
5480 wxScrolledWindow
*src
;
5482 src
= (wxScrolledWindow
*) ptr
;
5483 dest
= (wxPanel
*) src
;
5484 return (void *) dest
;
5487 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
5488 wxScrolledWindow
*src
;
5490 src
= (wxScrolledWindow
*) ptr
;
5491 dest
= (wxWindow
*) src
;
5492 return (void *) dest
;
5495 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
5496 wxScrolledWindow
*src
;
5498 src
= (wxScrolledWindow
*) ptr
;
5499 dest
= (wxEvtHandler
*) src
;
5500 return (void *) dest
;
5503 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5504 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5505 PyObject
* _resultobj
;
5506 wxScrolledWindow
* _result
;
5508 wxWindowID _arg1
= (wxWindowID
) -1;
5509 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
5510 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
5511 long _arg4
= (long ) wxHSCROLL
|wxVSCROLL
;
5512 char * _arg5
= (char *) "scrolledWindow";
5513 PyObject
* _argo0
= 0;
5515 PyObject
* _obj2
= 0;
5517 PyObject
* _obj3
= 0;
5518 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
5522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxScrolledWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
5525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
5534 if (! wxPoint_helper(_obj2
, &_arg2
))
5540 if (! wxSize_helper(_obj3
, &_arg3
))
5544 wxPy_BEGIN_ALLOW_THREADS
;
5545 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
5547 wxPy_END_ALLOW_THREADS
;
5549 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
5550 _resultobj
= Py_BuildValue("s",_ptemp
);
5553 _resultobj
= Py_None
;
5558 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
5559 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5560 PyObject
* _resultobj
;
5561 wxScrolledWindow
* _arg0
;
5564 PyObject
* _argo0
= 0;
5567 char *_kwnames
[] = { "self","xScrolling","yScrolling", NULL
};
5570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_EnableScrolling",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
5573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
5579 _arg1
= (bool ) tempbool1
;
5580 _arg2
= (bool ) tempbool2
;
5582 wxPy_BEGIN_ALLOW_THREADS
;
5583 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
5585 wxPy_END_ALLOW_THREADS
;
5586 } Py_INCREF(Py_None
);
5587 _resultobj
= Py_None
;
5591 #define wxScrolledWindow_GetScrollPageSize(_swigobj,_swigarg0) (_swigobj->GetScrollPageSize(_swigarg0))
5592 static PyObject
*_wrap_wxScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5593 PyObject
* _resultobj
;
5595 wxScrolledWindow
* _arg0
;
5597 PyObject
* _argo0
= 0;
5598 char *_kwnames
[] = { "self","orient", NULL
};
5601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrolledWindow_GetScrollPageSize",_kwnames
,&_argo0
,&_arg1
))
5604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPageSize. Expected _wxScrolledWindow_p.");
5611 wxPy_BEGIN_ALLOW_THREADS
;
5612 _result
= (int )wxScrolledWindow_GetScrollPageSize(_arg0
,_arg1
);
5614 wxPy_END_ALLOW_THREADS
;
5615 } _resultobj
= Py_BuildValue("i",_result
);
5619 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
5620 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5621 PyObject
* _resultobj
;
5622 wxScrolledWindow
* _arg0
;
5627 PyObject
* _argo0
= 0;
5628 char *_kwnames
[] = { "self", NULL
};
5637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames
,&_argo0
))
5640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
5647 wxPy_BEGIN_ALLOW_THREADS
;
5648 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
5650 wxPy_END_ALLOW_THREADS
;
5651 } Py_INCREF(Py_None
);
5652 _resultobj
= Py_None
;
5655 o
= PyInt_FromLong((long) (*_arg1
));
5656 _resultobj
= t_output_helper(_resultobj
, o
);
5660 o
= PyInt_FromLong((long) (*_arg2
));
5661 _resultobj
= t_output_helper(_resultobj
, o
);
5666 #define wxScrolledWindow_GetTargetWindow(_swigobj) (_swigobj->GetTargetWindow())
5667 static PyObject
*_wrap_wxScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5668 PyObject
* _resultobj
;
5670 wxScrolledWindow
* _arg0
;
5671 PyObject
* _argo0
= 0;
5672 char *_kwnames
[] = { "self", NULL
};
5676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetTargetWindow",_kwnames
,&_argo0
))
5679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetTargetWindow. Expected _wxScrolledWindow_p.");
5686 wxPy_BEGIN_ALLOW_THREADS
;
5687 _result
= (wxWindow
*)wxScrolledWindow_GetTargetWindow(_arg0
);
5689 wxPy_END_ALLOW_THREADS
;
5691 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
5692 _resultobj
= Py_BuildValue("s",_ptemp
);
5695 _resultobj
= Py_None
;
5700 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
5701 static PyObject
*_wrap_wxScrolledWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5702 PyObject
* _resultobj
;
5703 wxScrolledWindow
* _arg0
;
5708 PyObject
* _argo0
= 0;
5709 char *_kwnames
[] = { "self", NULL
};
5718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetVirtualSize",_kwnames
,&_argo0
))
5721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
5728 wxPy_BEGIN_ALLOW_THREADS
;
5729 wxScrolledWindow_GetVirtualSize(_arg0
,_arg1
,_arg2
);
5731 wxPy_END_ALLOW_THREADS
;
5732 } Py_INCREF(Py_None
);
5733 _resultobj
= Py_None
;
5736 o
= PyInt_FromLong((long) (*_arg1
));
5737 _resultobj
= t_output_helper(_resultobj
, o
);
5741 o
= PyInt_FromLong((long) (*_arg2
));
5742 _resultobj
= t_output_helper(_resultobj
, o
);
5747 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
5748 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5749 PyObject
* _resultobj
;
5751 wxScrolledWindow
* _arg0
;
5752 PyObject
* _argo0
= 0;
5753 char *_kwnames
[] = { "self", NULL
};
5756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_IsRetained",_kwnames
,&_argo0
))
5759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
5766 wxPy_BEGIN_ALLOW_THREADS
;
5767 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
5769 wxPy_END_ALLOW_THREADS
;
5770 } _resultobj
= Py_BuildValue("i",_result
);
5774 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
5775 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5776 PyObject
* _resultobj
;
5777 wxScrolledWindow
* _arg0
;
5779 PyObject
* _argo0
= 0;
5780 PyObject
* _argo1
= 0;
5781 char *_kwnames
[] = { "self","dc", NULL
};
5784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_PrepareDC",_kwnames
,&_argo0
,&_argo1
))
5787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
5794 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5795 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
5801 wxPy_BEGIN_ALLOW_THREADS
;
5802 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
5804 wxPy_END_ALLOW_THREADS
;
5805 } Py_INCREF(Py_None
);
5806 _resultobj
= Py_None
;
5810 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
5811 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5812 PyObject
* _resultobj
;
5813 wxScrolledWindow
* _arg0
;
5816 PyObject
* _argo0
= 0;
5817 char *_kwnames
[] = { "self","x","y", NULL
};
5820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_Scroll",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
5830 wxPy_BEGIN_ALLOW_THREADS
;
5831 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
5833 wxPy_END_ALLOW_THREADS
;
5834 } Py_INCREF(Py_None
);
5835 _resultobj
= Py_None
;
5839 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5840 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5841 PyObject
* _resultobj
;
5842 wxScrolledWindow
* _arg0
;
5847 int _arg5
= (int ) 0;
5848 int _arg6
= (int ) 0;
5849 int _arg7
= (int ) FALSE
;
5850 PyObject
* _argo0
= 0;
5851 char *_kwnames
[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos","noRefresh", NULL
};
5854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|iii:wxScrolledWindow_SetScrollbars",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&_arg7
))
5857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
5864 wxPy_BEGIN_ALLOW_THREADS
;
5865 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
5867 wxPy_END_ALLOW_THREADS
;
5868 } Py_INCREF(Py_None
);
5869 _resultobj
= Py_None
;
5873 #define wxScrolledWindow_SetScrollPageSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScrollPageSize(_swigarg0,_swigarg1))
5874 static PyObject
*_wrap_wxScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5875 PyObject
* _resultobj
;
5876 wxScrolledWindow
* _arg0
;
5879 PyObject
* _argo0
= 0;
5880 char *_kwnames
[] = { "self","orient","pageSize", NULL
};
5883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_SetScrollPageSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollPageSize. Expected _wxScrolledWindow_p.");
5893 wxPy_BEGIN_ALLOW_THREADS
;
5894 wxScrolledWindow_SetScrollPageSize(_arg0
,_arg1
,_arg2
);
5896 wxPy_END_ALLOW_THREADS
;
5897 } Py_INCREF(Py_None
);
5898 _resultobj
= Py_None
;
5902 #define wxScrolledWindow_SetTargetWindow(_swigobj,_swigarg0) (_swigobj->SetTargetWindow(_swigarg0))
5903 static PyObject
*_wrap_wxScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5904 PyObject
* _resultobj
;
5905 wxScrolledWindow
* _arg0
;
5907 PyObject
* _argo0
= 0;
5908 PyObject
* _argo1
= 0;
5909 char *_kwnames
[] = { "self","window", NULL
};
5912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_SetTargetWindow",_kwnames
,&_argo0
,&_argo1
))
5915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetTargetWindow. Expected _wxScrolledWindow_p.");
5922 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5923 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_SetTargetWindow. Expected _wxWindow_p.");
5929 wxPy_BEGIN_ALLOW_THREADS
;
5930 wxScrolledWindow_SetTargetWindow(_arg0
,_arg1
);
5932 wxPy_END_ALLOW_THREADS
;
5933 } Py_INCREF(Py_None
);
5934 _resultobj
= Py_None
;
5938 #define wxScrolledWindow_GetViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetViewStart(_swigarg0,_swigarg1))
5939 static PyObject
*_wrap_wxScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5940 PyObject
* _resultobj
;
5941 wxScrolledWindow
* _arg0
;
5946 PyObject
* _argo0
= 0;
5947 char *_kwnames
[] = { "self", NULL
};
5956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetViewStart",_kwnames
,&_argo0
))
5959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
5961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetViewStart. Expected _wxScrolledWindow_p.");
5966 wxPy_BEGIN_ALLOW_THREADS
;
5967 wxScrolledWindow_GetViewStart(_arg0
,_arg1
,_arg2
);
5969 wxPy_END_ALLOW_THREADS
;
5970 } Py_INCREF(Py_None
);
5971 _resultobj
= Py_None
;
5974 o
= PyInt_FromLong((long) (*_arg1
));
5975 _resultobj
= t_output_helper(_resultobj
, o
);
5979 o
= PyInt_FromLong((long) (*_arg2
));
5980 _resultobj
= t_output_helper(_resultobj
, o
);
5985 #define wxScrolledWindow_ViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->ViewStart(_swigarg0,_swigarg1))
5986 static PyObject
*_wrap_wxScrolledWindow_ViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5987 PyObject
* _resultobj
;
5988 wxScrolledWindow
* _arg0
;
5993 PyObject
* _argo0
= 0;
5994 char *_kwnames
[] = { "self", NULL
};
6003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_ViewStart",_kwnames
,&_argo0
))
6006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_ViewStart. Expected _wxScrolledWindow_p.");
6013 wxPy_BEGIN_ALLOW_THREADS
;
6014 wxScrolledWindow_ViewStart(_arg0
,_arg1
,_arg2
);
6016 wxPy_END_ALLOW_THREADS
;
6017 } Py_INCREF(Py_None
);
6018 _resultobj
= Py_None
;
6021 o
= PyInt_FromLong((long) (*_arg1
));
6022 _resultobj
= t_output_helper(_resultobj
, o
);
6026 o
= PyInt_FromLong((long) (*_arg2
));
6027 _resultobj
= t_output_helper(_resultobj
, o
);
6032 #define wxScrolledWindow_CalcScrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcScrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6033 static PyObject
*_wrap_wxScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6034 PyObject
* _resultobj
;
6035 wxScrolledWindow
* _arg0
;
6042 PyObject
* _argo0
= 0;
6043 char *_kwnames
[] = { "self","x","y", NULL
};
6052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcScrolledPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition. Expected _wxScrolledWindow_p.");
6062 wxPy_BEGIN_ALLOW_THREADS
;
6063 wxScrolledWindow_CalcScrolledPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6065 wxPy_END_ALLOW_THREADS
;
6066 } Py_INCREF(Py_None
);
6067 _resultobj
= Py_None
;
6070 o
= PyInt_FromLong((long) (*_arg3
));
6071 _resultobj
= t_output_helper(_resultobj
, o
);
6075 o
= PyInt_FromLong((long) (*_arg4
));
6076 _resultobj
= t_output_helper(_resultobj
, o
);
6081 #define wxScrolledWindow_CalcUnscrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcUnscrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6082 static PyObject
*_wrap_wxScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6083 PyObject
* _resultobj
;
6084 wxScrolledWindow
* _arg0
;
6091 PyObject
* _argo0
= 0;
6092 char *_kwnames
[] = { "self","x","y", NULL
};
6101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcUnscrolledPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition. Expected _wxScrolledWindow_p.");
6111 wxPy_BEGIN_ALLOW_THREADS
;
6112 wxScrolledWindow_CalcUnscrolledPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6114 wxPy_END_ALLOW_THREADS
;
6115 } Py_INCREF(Py_None
);
6116 _resultobj
= Py_None
;
6119 o
= PyInt_FromLong((long) (*_arg3
));
6120 _resultobj
= t_output_helper(_resultobj
, o
);
6124 o
= PyInt_FromLong((long) (*_arg4
));
6125 _resultobj
= t_output_helper(_resultobj
, o
);
6130 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
6133 src
= (wxMenu
*) ptr
;
6134 dest
= (wxEvtHandler
*) src
;
6135 return (void *) dest
;
6138 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
6139 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6140 PyObject
* _resultobj
;
6142 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
6143 long _arg1
= (long ) 0;
6144 PyObject
* _obj0
= 0;
6145 char *_kwnames
[] = { "title","style", NULL
};
6149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Ol:new_wxMenu",_kwnames
,&_obj0
,&_arg1
))
6153 if (!PyString_Check(_obj0
)) {
6154 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6157 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
6160 wxPy_BEGIN_ALLOW_THREADS
;
6161 _result
= (wxMenu
*)new_wxMenu(*_arg0
,_arg1
);
6163 wxPy_END_ALLOW_THREADS
;
6165 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
6166 _resultobj
= Py_BuildValue("s",_ptemp
);
6169 _resultobj
= Py_None
;
6178 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6179 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6180 PyObject
* _resultobj
;
6184 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
6185 int _arg4
= (int ) FALSE
;
6186 PyObject
* _argo0
= 0;
6187 PyObject
* _obj2
= 0;
6188 PyObject
* _obj3
= 0;
6189 char *_kwnames
[] = { "self","id","item","helpString","checkable", NULL
};
6192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Append",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
6195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
6202 if (!PyString_Check(_obj2
)) {
6203 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6206 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6210 if (!PyString_Check(_obj3
)) {
6211 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6214 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
6217 wxPy_BEGIN_ALLOW_THREADS
;
6218 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
6220 wxPy_END_ALLOW_THREADS
;
6221 } Py_INCREF(Py_None
);
6222 _resultobj
= Py_None
;
6234 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6235 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6236 PyObject
* _resultobj
;
6241 wxString
* _arg4
= (wxString
*) &wxPyEmptyStr
;
6242 PyObject
* _argo0
= 0;
6243 PyObject
* _obj2
= 0;
6244 PyObject
* _argo3
= 0;
6245 PyObject
* _obj4
= 0;
6246 char *_kwnames
[] = { "self","id","item","subMenu","helpString", NULL
};
6249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_AppendMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
6252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
6259 if (!PyString_Check(_obj2
)) {
6260 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6263 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6266 if (_argo3
== Py_None
) { _arg3
= NULL
; }
6267 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
6268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
6274 if (!PyString_Check(_obj4
)) {
6275 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6278 _arg4
= new wxString(PyString_AsString(_obj4
), PyString_Size(_obj4
));
6281 wxPy_BEGIN_ALLOW_THREADS
;
6282 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
6284 wxPy_END_ALLOW_THREADS
;
6285 } Py_INCREF(Py_None
);
6286 _resultobj
= Py_None
;
6298 #define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
6299 static PyObject
*_wrap_wxMenu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6300 PyObject
* _resultobj
;
6303 PyObject
* _argo0
= 0;
6304 PyObject
* _argo1
= 0;
6305 char *_kwnames
[] = { "self","item", NULL
};
6308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_AppendItem",_kwnames
,&_argo0
,&_argo1
))
6311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
6318 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6319 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
6320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
6325 wxPy_BEGIN_ALLOW_THREADS
;
6326 wxMenu_AppendItem(_arg0
,_arg1
);
6328 wxPy_END_ALLOW_THREADS
;
6329 } Py_INCREF(Py_None
);
6330 _resultobj
= Py_None
;
6334 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
6335 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6336 PyObject
* _resultobj
;
6338 PyObject
* _argo0
= 0;
6339 char *_kwnames
[] = { "self", NULL
};
6342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_AppendSeparator",_kwnames
,&_argo0
))
6345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
6352 wxPy_BEGIN_ALLOW_THREADS
;
6353 wxMenu_AppendSeparator(_arg0
);
6355 wxPy_END_ALLOW_THREADS
;
6356 } Py_INCREF(Py_None
);
6357 _resultobj
= Py_None
;
6361 #define wxMenu_Break(_swigobj) (_swigobj->Break())
6362 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6363 PyObject
* _resultobj
;
6365 PyObject
* _argo0
= 0;
6366 char *_kwnames
[] = { "self", NULL
};
6369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Break",_kwnames
,&_argo0
))
6372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
6379 wxPy_BEGIN_ALLOW_THREADS
;
6380 wxMenu_Break(_arg0
);
6382 wxPy_END_ALLOW_THREADS
;
6383 } Py_INCREF(Py_None
);
6384 _resultobj
= Py_None
;
6388 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
6389 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6390 PyObject
* _resultobj
;
6394 PyObject
* _argo0
= 0;
6396 char *_kwnames
[] = { "self","id","flag", NULL
};
6399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
6408 _arg2
= (bool ) tempbool2
;
6410 wxPy_BEGIN_ALLOW_THREADS
;
6411 wxMenu_Check(_arg0
,_arg1
,_arg2
);
6413 wxPy_END_ALLOW_THREADS
;
6414 } Py_INCREF(Py_None
);
6415 _resultobj
= Py_None
;
6419 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
6420 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6421 PyObject
* _resultobj
;
6425 PyObject
* _argo0
= 0;
6426 char *_kwnames
[] = { "self","id", NULL
};
6429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsChecked",_kwnames
,&_argo0
,&_arg1
))
6432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
6439 wxPy_BEGIN_ALLOW_THREADS
;
6440 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
6442 wxPy_END_ALLOW_THREADS
;
6443 } _resultobj
= Py_BuildValue("i",_result
);
6447 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
6448 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6449 PyObject
* _resultobj
;
6453 PyObject
* _argo0
= 0;
6455 char *_kwnames
[] = { "self","id","enable", NULL
};
6458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
6467 _arg2
= (bool ) tempbool2
;
6469 wxPy_BEGIN_ALLOW_THREADS
;
6470 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
6472 wxPy_END_ALLOW_THREADS
;
6473 } Py_INCREF(Py_None
);
6474 _resultobj
= Py_None
;
6478 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
6479 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6480 PyObject
* _resultobj
;
6484 PyObject
* _argo0
= 0;
6485 char *_kwnames
[] = { "self","id", NULL
};
6488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
6491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
6498 wxPy_BEGIN_ALLOW_THREADS
;
6499 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
6501 wxPy_END_ALLOW_THREADS
;
6502 } _resultobj
= Py_BuildValue("i",_result
);
6506 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
6507 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6508 PyObject
* _resultobj
;
6512 PyObject
* _argo0
= 0;
6513 PyObject
* _obj1
= 0;
6514 char *_kwnames
[] = { "self","itemString", NULL
};
6517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_FindItem",_kwnames
,&_argo0
,&_obj1
))
6520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
6527 if (!PyString_Check(_obj1
)) {
6528 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6531 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
6534 wxPy_BEGIN_ALLOW_THREADS
;
6535 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
6537 wxPy_END_ALLOW_THREADS
;
6538 } _resultobj
= Py_BuildValue("i",_result
);
6546 #define wxMenu_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
6547 static PyObject
*_wrap_wxMenu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6548 PyObject
* _resultobj
;
6549 wxMenuItem
* _result
;
6552 PyObject
* _argo0
= 0;
6553 char *_kwnames
[] = { "self","id", NULL
};
6557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_FindItemById",_kwnames
,&_argo0
,&_arg1
))
6560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemById. Expected _wxMenu_p.");
6567 wxPy_BEGIN_ALLOW_THREADS
;
6568 _result
= (wxMenuItem
*)wxMenu_FindItemById(_arg0
,_arg1
);
6570 wxPy_END_ALLOW_THREADS
;
6572 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
6573 _resultobj
= Py_BuildValue("s",_ptemp
);
6576 _resultobj
= Py_None
;
6581 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
6582 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6583 PyObject
* _resultobj
;
6586 PyObject
* _argo0
= 0;
6587 char *_kwnames
[] = { "self", NULL
};
6590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetTitle",_kwnames
,&_argo0
))
6593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
6600 wxPy_BEGIN_ALLOW_THREADS
;
6601 _result
= new wxString (wxMenu_GetTitle(_arg0
));
6603 wxPy_END_ALLOW_THREADS
;
6605 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6613 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
6614 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6615 PyObject
* _resultobj
;
6618 PyObject
* _argo0
= 0;
6619 PyObject
* _obj1
= 0;
6620 char *_kwnames
[] = { "self","title", NULL
};
6623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetTitle",_kwnames
,&_argo0
,&_obj1
))
6626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
6633 if (!PyString_Check(_obj1
)) {
6634 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6637 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
6640 wxPy_BEGIN_ALLOW_THREADS
;
6641 wxMenu_SetTitle(_arg0
,*_arg1
);
6643 wxPy_END_ALLOW_THREADS
;
6644 } Py_INCREF(Py_None
);
6645 _resultobj
= Py_None
;
6653 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
6654 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6655 PyObject
* _resultobj
;
6659 PyObject
* _argo0
= 0;
6660 char *_kwnames
[] = { "self","id", NULL
};
6663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetLabel",_kwnames
,&_argo0
,&_arg1
))
6666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
6673 wxPy_BEGIN_ALLOW_THREADS
;
6674 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
6676 wxPy_END_ALLOW_THREADS
;
6678 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6686 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
6687 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6688 PyObject
* _resultobj
;
6692 PyObject
* _argo0
= 0;
6693 PyObject
* _obj2
= 0;
6694 char *_kwnames
[] = { "self","id","label", NULL
};
6697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
6707 if (!PyString_Check(_obj2
)) {
6708 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6711 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6714 wxPy_BEGIN_ALLOW_THREADS
;
6715 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
6717 wxPy_END_ALLOW_THREADS
;
6718 } Py_INCREF(Py_None
);
6719 _resultobj
= Py_None
;
6727 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
6728 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6729 PyObject
* _resultobj
;
6733 PyObject
* _argo0
= 0;
6734 char *_kwnames
[] = { "self","id", NULL
};
6737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
6740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
6747 wxPy_BEGIN_ALLOW_THREADS
;
6748 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
6750 wxPy_END_ALLOW_THREADS
;
6752 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6760 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
6761 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6762 PyObject
* _resultobj
;
6766 PyObject
* _argo0
= 0;
6767 PyObject
* _obj2
= 0;
6768 char *_kwnames
[] = { "self","id","helpString", NULL
};
6771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
6781 if (!PyString_Check(_obj2
)) {
6782 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6785 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6788 wxPy_BEGIN_ALLOW_THREADS
;
6789 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
6791 wxPy_END_ALLOW_THREADS
;
6792 } Py_INCREF(Py_None
);
6793 _resultobj
= Py_None
;
6801 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
6802 static PyObject
*_wrap_wxMenu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6803 PyObject
* _resultobj
;
6805 wxEvtHandler
* _arg1
= (wxEvtHandler
*) NULL
;
6806 PyObject
* _argo0
= 0;
6807 PyObject
* _argo1
= 0;
6808 char *_kwnames
[] = { "self","source", NULL
};
6811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxMenu_UpdateUI",_kwnames
,&_argo0
,&_argo1
))
6814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
6821 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6822 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
6823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
6828 wxPy_BEGIN_ALLOW_THREADS
;
6829 wxMenu_UpdateUI(_arg0
,_arg1
);
6831 wxPy_END_ALLOW_THREADS
;
6832 } Py_INCREF(Py_None
);
6833 _resultobj
= Py_None
;
6837 #define wxMenu_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
6838 static PyObject
*_wrap_wxMenu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6839 PyObject
* _resultobj
;
6843 PyObject
* _argo0
= 0;
6844 char *_kwnames
[] = { "self","id", NULL
};
6847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Delete",_kwnames
,&_argo0
,&_arg1
))
6850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Delete. Expected _wxMenu_p.");
6857 wxPy_BEGIN_ALLOW_THREADS
;
6858 _result
= (bool )wxMenu_Delete(_arg0
,_arg1
);
6860 wxPy_END_ALLOW_THREADS
;
6861 } _resultobj
= Py_BuildValue("i",_result
);
6865 #define wxMenu_DeleteItem(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
6866 static PyObject
*_wrap_wxMenu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6867 PyObject
* _resultobj
;
6871 PyObject
* _argo0
= 0;
6872 PyObject
* _argo1
= 0;
6873 char *_kwnames
[] = { "self","item", NULL
};
6876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DeleteItem",_kwnames
,&_argo0
,&_argo1
))
6879 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6880 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DeleteItem. Expected _wxMenu_p.");
6886 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6887 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
6888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DeleteItem. Expected _wxMenuItem_p.");
6893 wxPy_BEGIN_ALLOW_THREADS
;
6894 _result
= (bool )wxMenu_DeleteItem(_arg0
,_arg1
);
6896 wxPy_END_ALLOW_THREADS
;
6897 } _resultobj
= Py_BuildValue("i",_result
);
6901 #define wxMenu_Insert(_swigobj,_swigarg0,_swigarg1) (_swigobj->Insert(_swigarg0,_swigarg1))
6902 static PyObject
*_wrap_wxMenu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6903 PyObject
* _resultobj
;
6908 PyObject
* _argo0
= 0;
6909 PyObject
* _argo2
= 0;
6910 char *_kwnames
[] = { "self","pos","item", NULL
};
6913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
6916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Insert. Expected _wxMenu_p.");
6923 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6924 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenuItem_p")) {
6925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenu_Insert. Expected _wxMenuItem_p.");
6930 wxPy_BEGIN_ALLOW_THREADS
;
6931 _result
= (bool )wxMenu_Insert(_arg0
,_arg1
,_arg2
);
6933 wxPy_END_ALLOW_THREADS
;
6934 } _resultobj
= Py_BuildValue("i",_result
);
6938 #define wxMenu_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
6939 static PyObject
*_wrap_wxMenu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6940 PyObject
* _resultobj
;
6941 wxMenuItem
* _result
;
6944 PyObject
* _argo0
= 0;
6945 char *_kwnames
[] = { "self","id", NULL
};
6949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Remove",_kwnames
,&_argo0
,&_arg1
))
6952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Remove. Expected _wxMenu_p.");
6959 wxPy_BEGIN_ALLOW_THREADS
;
6960 _result
= (wxMenuItem
*)wxMenu_Remove(_arg0
,_arg1
);
6962 wxPy_END_ALLOW_THREADS
;
6964 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
6965 _resultobj
= Py_BuildValue("s",_ptemp
);
6968 _resultobj
= Py_None
;
6973 #define wxMenu_RemoveItem(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
6974 static PyObject
*_wrap_wxMenu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6975 PyObject
* _resultobj
;
6976 wxMenuItem
* _result
;
6979 PyObject
* _argo0
= 0;
6980 PyObject
* _argo1
= 0;
6981 char *_kwnames
[] = { "self","item", NULL
};
6985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_RemoveItem",_kwnames
,&_argo0
,&_argo1
))
6988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_RemoveItem. Expected _wxMenu_p.");
6995 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6996 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
6997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_RemoveItem. Expected _wxMenuItem_p.");
7002 wxPy_BEGIN_ALLOW_THREADS
;
7003 _result
= (wxMenuItem
*)wxMenu_RemoveItem(_arg0
,_arg1
);
7005 wxPy_END_ALLOW_THREADS
;
7007 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
7008 _resultobj
= Py_BuildValue("s",_ptemp
);
7011 _resultobj
= Py_None
;
7016 static void wxMenu_Destroy(wxMenu
*self
) { delete self
; }
7017 static PyObject
*_wrap_wxMenu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7018 PyObject
* _resultobj
;
7020 PyObject
* _argo0
= 0;
7021 char *_kwnames
[] = { "self", NULL
};
7024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Destroy",_kwnames
,&_argo0
))
7027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Destroy. Expected _wxMenu_p.");
7034 wxPy_BEGIN_ALLOW_THREADS
;
7035 wxMenu_Destroy(_arg0
);
7037 wxPy_END_ALLOW_THREADS
;
7038 } Py_INCREF(Py_None
);
7039 _resultobj
= Py_None
;
7043 #define wxMenu_DestroyId(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
7044 static PyObject
*_wrap_wxMenu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7045 PyObject
* _resultobj
;
7049 PyObject
* _argo0
= 0;
7050 char *_kwnames
[] = { "self","id", NULL
};
7053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_DestroyId",_kwnames
,&_argo0
,&_arg1
))
7056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyId. Expected _wxMenu_p.");
7063 wxPy_BEGIN_ALLOW_THREADS
;
7064 _result
= (bool )wxMenu_DestroyId(_arg0
,_arg1
);
7066 wxPy_END_ALLOW_THREADS
;
7067 } _resultobj
= Py_BuildValue("i",_result
);
7071 #define wxMenu_DestroyItem(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
7072 static PyObject
*_wrap_wxMenu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7073 PyObject
* _resultobj
;
7077 PyObject
* _argo0
= 0;
7078 PyObject
* _argo1
= 0;
7079 char *_kwnames
[] = { "self","item", NULL
};
7082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DestroyItem",_kwnames
,&_argo0
,&_argo1
))
7085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyItem. Expected _wxMenu_p.");
7092 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7093 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
7094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DestroyItem. Expected _wxMenuItem_p.");
7099 wxPy_BEGIN_ALLOW_THREADS
;
7100 _result
= (bool )wxMenu_DestroyItem(_arg0
,_arg1
);
7102 wxPy_END_ALLOW_THREADS
;
7103 } _resultobj
= Py_BuildValue("i",_result
);
7107 #define wxMenu_GetMenuItemCount(_swigobj) (_swigobj->GetMenuItemCount())
7108 static PyObject
*_wrap_wxMenu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7109 PyObject
* _resultobj
;
7112 PyObject
* _argo0
= 0;
7113 char *_kwnames
[] = { "self", NULL
};
7116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItemCount",_kwnames
,&_argo0
))
7119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItemCount. Expected _wxMenu_p.");
7126 wxPy_BEGIN_ALLOW_THREADS
;
7127 _result
= (size_t )wxMenu_GetMenuItemCount(_arg0
);
7129 wxPy_END_ALLOW_THREADS
;
7130 } _resultobj
= Py_BuildValue("i",_result
);
7134 static PyObject
* wxMenu_GetMenuItems(wxMenu
*self
) {
7135 wxMenuItemList
& list
= self
->GetMenuItems();
7136 return wxPy_ConvertList(&list
, "wxMenuItem");
7138 static PyObject
*_wrap_wxMenu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7139 PyObject
* _resultobj
;
7142 PyObject
* _argo0
= 0;
7143 char *_kwnames
[] = { "self", NULL
};
7146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItems",_kwnames
,&_argo0
))
7149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItems. Expected _wxMenu_p.");
7156 wxPy_BEGIN_ALLOW_THREADS
;
7157 _result
= (PyObject
*)wxMenu_GetMenuItems(_arg0
);
7159 wxPy_END_ALLOW_THREADS
;
7161 _resultobj
= _result
;
7166 #define wxMenu_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
7167 static PyObject
*_wrap_wxMenu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7168 PyObject
* _resultobj
;
7170 wxEvtHandler
* _arg1
;
7171 PyObject
* _argo0
= 0;
7172 PyObject
* _argo1
= 0;
7173 char *_kwnames
[] = { "self","handler", NULL
};
7176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
7179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetEventHandler. Expected _wxMenu_p.");
7186 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7187 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
7188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetEventHandler. Expected _wxEvtHandler_p.");
7193 wxPy_BEGIN_ALLOW_THREADS
;
7194 wxMenu_SetEventHandler(_arg0
,_arg1
);
7196 wxPy_END_ALLOW_THREADS
;
7197 } Py_INCREF(Py_None
);
7198 _resultobj
= Py_None
;
7202 #define wxMenu_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
7203 static PyObject
*_wrap_wxMenu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7204 PyObject
* _resultobj
;
7205 wxEvtHandler
* _result
;
7207 PyObject
* _argo0
= 0;
7208 char *_kwnames
[] = { "self", NULL
};
7212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetEventHandler",_kwnames
,&_argo0
))
7215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetEventHandler. Expected _wxMenu_p.");
7222 wxPy_BEGIN_ALLOW_THREADS
;
7223 _result
= (wxEvtHandler
*)wxMenu_GetEventHandler(_arg0
);
7225 wxPy_END_ALLOW_THREADS
;
7227 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
7228 _resultobj
= Py_BuildValue("s",_ptemp
);
7231 _resultobj
= Py_None
;
7236 #define wxMenu_SetInvokingWindow(_swigobj,_swigarg0) (_swigobj->SetInvokingWindow(_swigarg0))
7237 static PyObject
*_wrap_wxMenu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7238 PyObject
* _resultobj
;
7241 PyObject
* _argo0
= 0;
7242 PyObject
* _argo1
= 0;
7243 char *_kwnames
[] = { "self","win", NULL
};
7246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetInvokingWindow",_kwnames
,&_argo0
,&_argo1
))
7249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetInvokingWindow. Expected _wxMenu_p.");
7256 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7257 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetInvokingWindow. Expected _wxWindow_p.");
7263 wxPy_BEGIN_ALLOW_THREADS
;
7264 wxMenu_SetInvokingWindow(_arg0
,_arg1
);
7266 wxPy_END_ALLOW_THREADS
;
7267 } Py_INCREF(Py_None
);
7268 _resultobj
= Py_None
;
7272 #define wxMenu_GetInvokingWindow(_swigobj) (_swigobj->GetInvokingWindow())
7273 static PyObject
*_wrap_wxMenu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7274 PyObject
* _resultobj
;
7277 PyObject
* _argo0
= 0;
7278 char *_kwnames
[] = { "self", NULL
};
7282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetInvokingWindow",_kwnames
,&_argo0
))
7285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetInvokingWindow. Expected _wxMenu_p.");
7292 wxPy_BEGIN_ALLOW_THREADS
;
7293 _result
= (wxWindow
*)wxMenu_GetInvokingWindow(_arg0
);
7295 wxPy_END_ALLOW_THREADS
;
7297 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
7298 _resultobj
= Py_BuildValue("s",_ptemp
);
7301 _resultobj
= Py_None
;
7306 #define wxMenu_GetStyle(_swigobj) (_swigobj->GetStyle())
7307 static PyObject
*_wrap_wxMenu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7308 PyObject
* _resultobj
;
7311 PyObject
* _argo0
= 0;
7312 char *_kwnames
[] = { "self", NULL
};
7315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetStyle",_kwnames
,&_argo0
))
7318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetStyle. Expected _wxMenu_p.");
7325 wxPy_BEGIN_ALLOW_THREADS
;
7326 _result
= (long )wxMenu_GetStyle(_arg0
);
7328 wxPy_END_ALLOW_THREADS
;
7329 } _resultobj
= Py_BuildValue("l",_result
);
7333 #define wxMenu_IsAttached(_swigobj) (_swigobj->IsAttached())
7334 static PyObject
*_wrap_wxMenu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7335 PyObject
* _resultobj
;
7338 PyObject
* _argo0
= 0;
7339 char *_kwnames
[] = { "self", NULL
};
7342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_IsAttached",_kwnames
,&_argo0
))
7345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsAttached. Expected _wxMenu_p.");
7352 wxPy_BEGIN_ALLOW_THREADS
;
7353 _result
= (bool )wxMenu_IsAttached(_arg0
);
7355 wxPy_END_ALLOW_THREADS
;
7356 } _resultobj
= Py_BuildValue("i",_result
);
7360 #define wxMenu_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
7361 static PyObject
*_wrap_wxMenu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7362 PyObject
* _resultobj
;
7365 PyObject
* _argo0
= 0;
7366 PyObject
* _argo1
= 0;
7367 char *_kwnames
[] = { "self","parent", NULL
};
7370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetParent",_kwnames
,&_argo0
,&_argo1
))
7373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetParent. Expected _wxMenu_p.");
7380 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7381 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
7382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetParent. Expected _wxMenu_p.");
7387 wxPy_BEGIN_ALLOW_THREADS
;
7388 wxMenu_SetParent(_arg0
,_arg1
);
7390 wxPy_END_ALLOW_THREADS
;
7391 } Py_INCREF(Py_None
);
7392 _resultobj
= Py_None
;
7396 #define wxMenu_GetParent(_swigobj) (_swigobj->GetParent())
7397 static PyObject
*_wrap_wxMenu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7398 PyObject
* _resultobj
;
7401 PyObject
* _argo0
= 0;
7402 char *_kwnames
[] = { "self", NULL
};
7406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetParent",_kwnames
,&_argo0
))
7409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetParent. Expected _wxMenu_p.");
7416 wxPy_BEGIN_ALLOW_THREADS
;
7417 _result
= (wxMenu
*)wxMenu_GetParent(_arg0
);
7419 wxPy_END_ALLOW_THREADS
;
7421 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7422 _resultobj
= Py_BuildValue("s",_ptemp
);
7425 _resultobj
= Py_None
;
7430 static void *SwigwxMenuBarTowxWindow(void *ptr
) {
7433 src
= (wxMenuBar
*) ptr
;
7434 dest
= (wxWindow
*) src
;
7435 return (void *) dest
;
7438 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
7441 src
= (wxMenuBar
*) ptr
;
7442 dest
= (wxEvtHandler
*) src
;
7443 return (void *) dest
;
7446 #define new_wxMenuBar() (new wxMenuBar())
7447 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7448 PyObject
* _resultobj
;
7449 wxMenuBar
* _result
;
7450 char *_kwnames
[] = { NULL
};
7454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMenuBar",_kwnames
))
7457 wxPy_BEGIN_ALLOW_THREADS
;
7458 _result
= (wxMenuBar
*)new_wxMenuBar();
7460 wxPy_END_ALLOW_THREADS
;
7462 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
7463 _resultobj
= Py_BuildValue("s",_ptemp
);
7466 _resultobj
= Py_None
;
7471 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
7472 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7473 PyObject
* _resultobj
;
7478 PyObject
* _argo0
= 0;
7479 PyObject
* _argo1
= 0;
7480 PyObject
* _obj2
= 0;
7481 char *_kwnames
[] = { "self","menu","title", NULL
};
7484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_Append",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
7494 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7495 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
7496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
7501 if (!PyString_Check(_obj2
)) {
7502 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7505 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7508 wxPy_BEGIN_ALLOW_THREADS
;
7509 _result
= (bool )wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
7511 wxPy_END_ALLOW_THREADS
;
7512 } _resultobj
= Py_BuildValue("i",_result
);
7520 #define wxMenuBar_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2))
7521 static PyObject
*_wrap_wxMenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7522 PyObject
* _resultobj
;
7528 PyObject
* _argo0
= 0;
7529 PyObject
* _argo2
= 0;
7530 PyObject
* _obj3
= 0;
7531 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
7534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
7537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Insert. Expected _wxMenuBar_p.");
7544 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7545 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
7546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Insert. Expected _wxMenu_p.");
7551 if (!PyString_Check(_obj3
)) {
7552 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7555 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
7558 wxPy_BEGIN_ALLOW_THREADS
;
7559 _result
= (bool )wxMenuBar_Insert(_arg0
,_arg1
,_arg2
,*_arg3
);
7561 wxPy_END_ALLOW_THREADS
;
7562 } _resultobj
= Py_BuildValue("i",_result
);
7570 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
7571 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7572 PyObject
* _resultobj
;
7575 PyObject
* _argo0
= 0;
7576 char *_kwnames
[] = { "self", NULL
};
7579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuBar_GetMenuCount",_kwnames
,&_argo0
))
7582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
7589 wxPy_BEGIN_ALLOW_THREADS
;
7590 _result
= (size_t )wxMenuBar_GetMenuCount(_arg0
);
7592 wxPy_END_ALLOW_THREADS
;
7593 } _resultobj
= Py_BuildValue("i",_result
);
7597 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
7598 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7599 PyObject
* _resultobj
;
7603 PyObject
* _argo0
= 0;
7604 char *_kwnames
[] = { "self","pos", NULL
};
7608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetMenu",_kwnames
,&_argo0
,&_arg1
))
7611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
7618 wxPy_BEGIN_ALLOW_THREADS
;
7619 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
7621 wxPy_END_ALLOW_THREADS
;
7623 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7624 _resultobj
= Py_BuildValue("s",_ptemp
);
7627 _resultobj
= Py_None
;
7632 #define wxMenuBar_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
7633 static PyObject
*_wrap_wxMenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7634 PyObject
* _resultobj
;
7640 PyObject
* _argo0
= 0;
7641 PyObject
* _argo2
= 0;
7642 PyObject
* _obj3
= 0;
7643 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
7647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
7650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Replace. Expected _wxMenuBar_p.");
7657 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7658 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
7659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Replace. Expected _wxMenu_p.");
7664 if (!PyString_Check(_obj3
)) {
7665 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7668 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
7671 wxPy_BEGIN_ALLOW_THREADS
;
7672 _result
= (wxMenu
*)wxMenuBar_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
7674 wxPy_END_ALLOW_THREADS
;
7676 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7677 _resultobj
= Py_BuildValue("s",_ptemp
);
7680 _resultobj
= Py_None
;
7689 #define wxMenuBar_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
7690 static PyObject
*_wrap_wxMenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7691 PyObject
* _resultobj
;
7695 PyObject
* _argo0
= 0;
7696 char *_kwnames
[] = { "self","pos", NULL
};
7700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_Remove",_kwnames
,&_argo0
,&_arg1
))
7703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Remove. Expected _wxMenuBar_p.");
7710 wxPy_BEGIN_ALLOW_THREADS
;
7711 _result
= (wxMenu
*)wxMenuBar_Remove(_arg0
,_arg1
);
7713 wxPy_END_ALLOW_THREADS
;
7715 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7716 _resultobj
= Py_BuildValue("s",_ptemp
);
7719 _resultobj
= Py_None
;
7724 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
7725 static PyObject
*_wrap_wxMenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7726 PyObject
* _resultobj
;
7730 PyObject
* _argo0
= 0;
7732 char *_kwnames
[] = { "self","pos","enable", NULL
};
7735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_EnableTop",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
7744 _arg2
= (bool ) tempbool2
;
7746 wxPy_BEGIN_ALLOW_THREADS
;
7747 wxMenuBar_EnableTop(_arg0
,_arg1
,_arg2
);
7749 wxPy_END_ALLOW_THREADS
;
7750 } Py_INCREF(Py_None
);
7751 _resultobj
= Py_None
;
7755 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
7756 static PyObject
*_wrap_wxMenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7757 PyObject
* _resultobj
;
7761 PyObject
* _argo0
= 0;
7762 PyObject
* _obj2
= 0;
7763 char *_kwnames
[] = { "self","pos","label", NULL
};
7766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabelTop",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
7769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
7776 if (!PyString_Check(_obj2
)) {
7777 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7780 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7783 wxPy_BEGIN_ALLOW_THREADS
;
7784 wxMenuBar_SetLabelTop(_arg0
,_arg1
,*_arg2
);
7786 wxPy_END_ALLOW_THREADS
;
7787 } Py_INCREF(Py_None
);
7788 _resultobj
= Py_None
;
7796 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
7797 static PyObject
*_wrap_wxMenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7798 PyObject
* _resultobj
;
7802 PyObject
* _argo0
= 0;
7803 char *_kwnames
[] = { "self","pos", NULL
};
7806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabelTop",_kwnames
,&_argo0
,&_arg1
))
7809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
7816 wxPy_BEGIN_ALLOW_THREADS
;
7817 _result
= new wxString (wxMenuBar_GetLabelTop(_arg0
,_arg1
));
7819 wxPy_END_ALLOW_THREADS
;
7821 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7829 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
7830 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7831 PyObject
* _resultobj
;
7836 PyObject
* _argo0
= 0;
7837 PyObject
* _obj1
= 0;
7838 PyObject
* _obj2
= 0;
7839 char *_kwnames
[] = { "self","menuString","itemString", NULL
};
7842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_FindMenuItem",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
7845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
7852 if (!PyString_Check(_obj1
)) {
7853 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7856 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
7859 if (!PyString_Check(_obj2
)) {
7860 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7863 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7866 wxPy_BEGIN_ALLOW_THREADS
;
7867 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
7869 wxPy_END_ALLOW_THREADS
;
7870 } _resultobj
= Py_BuildValue("i",_result
);
7882 #define wxMenuBar_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
7883 static PyObject
*_wrap_wxMenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7884 PyObject
* _resultobj
;
7885 wxMenuItem
* _result
;
7888 PyObject
* _argo0
= 0;
7889 char *_kwnames
[] = { "self","id", NULL
};
7893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_FindItemById",_kwnames
,&_argo0
,&_arg1
))
7896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemById. Expected _wxMenuBar_p.");
7903 wxPy_BEGIN_ALLOW_THREADS
;
7904 _result
= (wxMenuItem
*)wxMenuBar_FindItemById(_arg0
,_arg1
);
7906 wxPy_END_ALLOW_THREADS
;
7908 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
7909 _resultobj
= Py_BuildValue("s",_ptemp
);
7912 _resultobj
= Py_None
;
7917 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
7918 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7919 PyObject
* _resultobj
;
7923 PyObject
* _argo0
= 0;
7925 char *_kwnames
[] = { "self","id","enable", NULL
};
7928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
7937 _arg2
= (bool ) tempbool2
;
7939 wxPy_BEGIN_ALLOW_THREADS
;
7940 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
7942 wxPy_END_ALLOW_THREADS
;
7943 } Py_INCREF(Py_None
);
7944 _resultobj
= Py_None
;
7948 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
7949 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7950 PyObject
* _resultobj
;
7954 PyObject
* _argo0
= 0;
7956 char *_kwnames
[] = { "self","id","check", NULL
};
7959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
7968 _arg2
= (bool ) tempbool2
;
7970 wxPy_BEGIN_ALLOW_THREADS
;
7971 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
7973 wxPy_END_ALLOW_THREADS
;
7974 } Py_INCREF(Py_None
);
7975 _resultobj
= Py_None
;
7979 #define wxMenuBar_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
7980 static PyObject
*_wrap_wxMenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7981 PyObject
* _resultobj
;
7985 PyObject
* _argo0
= 0;
7986 char *_kwnames
[] = { "self","id", NULL
};
7989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsChecked",_kwnames
,&_argo0
,&_arg1
))
7992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
7994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsChecked. Expected _wxMenuBar_p.");
7999 wxPy_BEGIN_ALLOW_THREADS
;
8000 _result
= (bool )wxMenuBar_IsChecked(_arg0
,_arg1
);
8002 wxPy_END_ALLOW_THREADS
;
8003 } _resultobj
= Py_BuildValue("i",_result
);
8007 #define wxMenuBar_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
8008 static PyObject
*_wrap_wxMenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8009 PyObject
* _resultobj
;
8013 PyObject
* _argo0
= 0;
8014 char *_kwnames
[] = { "self","id", NULL
};
8017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
8020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsEnabled. Expected _wxMenuBar_p.");
8027 wxPy_BEGIN_ALLOW_THREADS
;
8028 _result
= (bool )wxMenuBar_IsEnabled(_arg0
,_arg1
);
8030 wxPy_END_ALLOW_THREADS
;
8031 } _resultobj
= Py_BuildValue("i",_result
);
8035 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
8036 static PyObject
*_wrap_wxMenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8037 PyObject
* _resultobj
;
8041 PyObject
* _argo0
= 0;
8042 PyObject
* _obj2
= 0;
8043 char *_kwnames
[] = { "self","id","label", NULL
};
8046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
8056 if (!PyString_Check(_obj2
)) {
8057 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8060 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
8063 wxPy_BEGIN_ALLOW_THREADS
;
8064 wxMenuBar_SetLabel(_arg0
,_arg1
,*_arg2
);
8066 wxPy_END_ALLOW_THREADS
;
8067 } Py_INCREF(Py_None
);
8068 _resultobj
= Py_None
;
8076 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
8077 static PyObject
*_wrap_wxMenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8078 PyObject
* _resultobj
;
8082 PyObject
* _argo0
= 0;
8083 char *_kwnames
[] = { "self","id", NULL
};
8086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabel",_kwnames
,&_argo0
,&_arg1
))
8089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
8096 wxPy_BEGIN_ALLOW_THREADS
;
8097 _result
= new wxString (wxMenuBar_GetLabel(_arg0
,_arg1
));
8099 wxPy_END_ALLOW_THREADS
;
8101 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8109 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
8110 static PyObject
*_wrap_wxMenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8111 PyObject
* _resultobj
;
8115 PyObject
* _argo0
= 0;
8116 PyObject
* _obj2
= 0;
8117 char *_kwnames
[] = { "self","id","helpString", NULL
};
8120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
8130 if (!PyString_Check(_obj2
)) {
8131 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8134 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
8137 wxPy_BEGIN_ALLOW_THREADS
;
8138 wxMenuBar_SetHelpString(_arg0
,_arg1
,*_arg2
);
8140 wxPy_END_ALLOW_THREADS
;
8141 } Py_INCREF(Py_None
);
8142 _resultobj
= Py_None
;
8150 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
8151 static PyObject
*_wrap_wxMenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8152 PyObject
* _resultobj
;
8156 PyObject
* _argo0
= 0;
8157 char *_kwnames
[] = { "self","id", NULL
};
8160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
8163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
8170 wxPy_BEGIN_ALLOW_THREADS
;
8171 _result
= new wxString (wxMenuBar_GetHelpString(_arg0
,_arg1
));
8173 wxPy_END_ALLOW_THREADS
;
8175 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8183 #define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8184 static PyObject
*_wrap_new_wxMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8185 PyObject
* _resultobj
;
8186 wxMenuItem
* _result
;
8187 wxMenu
* _arg0
= (wxMenu
*) NULL
;
8188 int _arg1
= (int ) wxID_SEPARATOR
;
8189 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
8190 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
8191 bool _arg4
= (bool ) FALSE
;
8192 wxMenu
* _arg5
= (wxMenu
*) NULL
;
8193 PyObject
* _argo0
= 0;
8194 PyObject
* _obj2
= 0;
8195 PyObject
* _obj3
= 0;
8196 int tempbool4
= (int) FALSE
;
8197 PyObject
* _argo5
= 0;
8198 char *_kwnames
[] = { "parentMenu","id","text","help","isCheckable","subMenu", NULL
};
8202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OiOOiO:new_wxMenuItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&tempbool4
,&_argo5
))
8205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
8213 if (!PyString_Check(_obj2
)) {
8214 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8217 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
8221 if (!PyString_Check(_obj3
)) {
8222 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8225 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
8227 _arg4
= (bool ) tempbool4
;
8229 if (_argo5
== Py_None
) { _arg5
= NULL
; }
8230 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxMenu_p")) {
8231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
8236 wxPy_BEGIN_ALLOW_THREADS
;
8237 _result
= (wxMenuItem
*)new_wxMenuItem(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
8239 wxPy_END_ALLOW_THREADS
;
8241 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
8242 _resultobj
= Py_BuildValue("s",_ptemp
);
8245 _resultobj
= Py_None
;
8258 #define wxMenuItem_GetMenu(_swigobj) (_swigobj->GetMenu())
8259 static PyObject
*_wrap_wxMenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8260 PyObject
* _resultobj
;
8263 PyObject
* _argo0
= 0;
8264 char *_kwnames
[] = { "self", NULL
};
8268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetMenu",_kwnames
,&_argo0
))
8271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMenu. Expected _wxMenuItem_p.");
8278 wxPy_BEGIN_ALLOW_THREADS
;
8279 _result
= (wxMenu
*)wxMenuItem_GetMenu(_arg0
);
8281 wxPy_END_ALLOW_THREADS
;
8283 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
8284 _resultobj
= Py_BuildValue("s",_ptemp
);
8287 _resultobj
= Py_None
;
8292 #define wxMenuItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
8293 static PyObject
*_wrap_wxMenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8294 PyObject
* _resultobj
;
8297 PyObject
* _argo0
= 0;
8298 char *_kwnames
[] = { "self","id", NULL
};
8301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetId",_kwnames
,&_argo0
,&_arg1
))
8304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetId. Expected _wxMenuItem_p.");
8311 wxPy_BEGIN_ALLOW_THREADS
;
8312 wxMenuItem_SetId(_arg0
,_arg1
);
8314 wxPy_END_ALLOW_THREADS
;
8315 } Py_INCREF(Py_None
);
8316 _resultobj
= Py_None
;
8320 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
8321 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8322 PyObject
* _resultobj
;
8325 PyObject
* _argo0
= 0;
8326 char *_kwnames
[] = { "self", NULL
};
8329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetId",_kwnames
,&_argo0
))
8332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
8339 wxPy_BEGIN_ALLOW_THREADS
;
8340 _result
= (int )wxMenuItem_GetId(_arg0
);
8342 wxPy_END_ALLOW_THREADS
;
8343 } _resultobj
= Py_BuildValue("i",_result
);
8347 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
8348 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8349 PyObject
* _resultobj
;
8352 PyObject
* _argo0
= 0;
8353 char *_kwnames
[] = { "self", NULL
};
8356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSeparator",_kwnames
,&_argo0
))
8359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
8366 wxPy_BEGIN_ALLOW_THREADS
;
8367 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
8369 wxPy_END_ALLOW_THREADS
;
8370 } _resultobj
= Py_BuildValue("i",_result
);
8374 #define wxMenuItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
8375 static PyObject
*_wrap_wxMenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8376 PyObject
* _resultobj
;
8379 PyObject
* _argo0
= 0;
8380 PyObject
* _obj1
= 0;
8381 char *_kwnames
[] = { "self","str", NULL
};
8384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetText",_kwnames
,&_argo0
,&_obj1
))
8387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetText. Expected _wxMenuItem_p.");
8394 if (!PyString_Check(_obj1
)) {
8395 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8398 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
8401 wxPy_BEGIN_ALLOW_THREADS
;
8402 wxMenuItem_SetText(_arg0
,*_arg1
);
8404 wxPy_END_ALLOW_THREADS
;
8405 } Py_INCREF(Py_None
);
8406 _resultobj
= Py_None
;
8414 #define wxMenuItem_GetLabel(_swigobj) (_swigobj->GetLabel())
8415 static PyObject
*_wrap_wxMenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8416 PyObject
* _resultobj
;
8419 PyObject
* _argo0
= 0;
8420 char *_kwnames
[] = { "self", NULL
};
8423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabel",_kwnames
,&_argo0
))
8426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetLabel. Expected _wxMenuItem_p.");
8433 wxPy_BEGIN_ALLOW_THREADS
;
8434 _result
= new wxString (wxMenuItem_GetLabel(_arg0
));
8436 wxPy_END_ALLOW_THREADS
;
8438 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8446 #define wxMenuItem_GetText(_swigobj) (_swigobj->GetText())
8447 static PyObject
*_wrap_wxMenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8448 PyObject
* _resultobj
;
8451 PyObject
* _argo0
= 0;
8452 char *_kwnames
[] = { "self", NULL
};
8455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetText",_kwnames
,&_argo0
))
8458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetText. Expected _wxMenuItem_p.");
8465 wxPy_BEGIN_ALLOW_THREADS
;
8466 const wxString
& _result_ref
= wxMenuItem_GetText(_arg0
);
8467 _result
= (wxString
*) &_result_ref
;
8469 wxPy_END_ALLOW_THREADS
;
8471 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8476 #define wxMenuItem_SetCheckable(_swigobj,_swigarg0) (_swigobj->SetCheckable(_swigarg0))
8477 static PyObject
*_wrap_wxMenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8478 PyObject
* _resultobj
;
8481 PyObject
* _argo0
= 0;
8483 char *_kwnames
[] = { "self","checkable", NULL
};
8486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetCheckable",_kwnames
,&_argo0
,&tempbool1
))
8489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetCheckable. Expected _wxMenuItem_p.");
8495 _arg1
= (bool ) tempbool1
;
8497 wxPy_BEGIN_ALLOW_THREADS
;
8498 wxMenuItem_SetCheckable(_arg0
,_arg1
);
8500 wxPy_END_ALLOW_THREADS
;
8501 } Py_INCREF(Py_None
);
8502 _resultobj
= Py_None
;
8506 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
8507 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8508 PyObject
* _resultobj
;
8511 PyObject
* _argo0
= 0;
8512 char *_kwnames
[] = { "self", NULL
};
8515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsCheckable",_kwnames
,&_argo0
))
8518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
8525 wxPy_BEGIN_ALLOW_THREADS
;
8526 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
8528 wxPy_END_ALLOW_THREADS
;
8529 } _resultobj
= Py_BuildValue("i",_result
);
8533 #define wxMenuItem_IsSubMenu(_swigobj) (_swigobj->IsSubMenu())
8534 static PyObject
*_wrap_wxMenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8535 PyObject
* _resultobj
;
8538 PyObject
* _argo0
= 0;
8539 char *_kwnames
[] = { "self", NULL
};
8542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSubMenu",_kwnames
,&_argo0
))
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_IsSubMenu. Expected _wxMenuItem_p.");
8552 wxPy_BEGIN_ALLOW_THREADS
;
8553 _result
= (bool )wxMenuItem_IsSubMenu(_arg0
);
8555 wxPy_END_ALLOW_THREADS
;
8556 } _resultobj
= Py_BuildValue("i",_result
);
8560 #define wxMenuItem_SetSubMenu(_swigobj,_swigarg0) (_swigobj->SetSubMenu(_swigarg0))
8561 static PyObject
*_wrap_wxMenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8562 PyObject
* _resultobj
;
8565 PyObject
* _argo0
= 0;
8566 PyObject
* _argo1
= 0;
8567 char *_kwnames
[] = { "self","menu", NULL
};
8570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetSubMenu",_kwnames
,&_argo0
,&_argo1
))
8573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetSubMenu. Expected _wxMenuItem_p.");
8580 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8581 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
8582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetSubMenu. Expected _wxMenu_p.");
8587 wxPy_BEGIN_ALLOW_THREADS
;
8588 wxMenuItem_SetSubMenu(_arg0
,_arg1
);
8590 wxPy_END_ALLOW_THREADS
;
8591 } Py_INCREF(Py_None
);
8592 _resultobj
= Py_None
;
8596 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
8597 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8598 PyObject
* _resultobj
;
8601 PyObject
* _argo0
= 0;
8602 char *_kwnames
[] = { "self", NULL
};
8606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetSubMenu",_kwnames
,&_argo0
))
8609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
8616 wxPy_BEGIN_ALLOW_THREADS
;
8617 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
8619 wxPy_END_ALLOW_THREADS
;
8621 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
8622 _resultobj
= Py_BuildValue("s",_ptemp
);
8625 _resultobj
= Py_None
;
8630 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
8631 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8632 PyObject
* _resultobj
;
8634 bool _arg1
= (bool ) TRUE
;
8635 PyObject
* _argo0
= 0;
8636 int tempbool1
= (int) TRUE
;
8637 char *_kwnames
[] = { "self","enable", NULL
};
8640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Enable",_kwnames
,&_argo0
,&tempbool1
))
8643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
8649 _arg1
= (bool ) tempbool1
;
8651 wxPy_BEGIN_ALLOW_THREADS
;
8652 wxMenuItem_Enable(_arg0
,_arg1
);
8654 wxPy_END_ALLOW_THREADS
;
8655 } Py_INCREF(Py_None
);
8656 _resultobj
= Py_None
;
8660 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
8661 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8662 PyObject
* _resultobj
;
8665 PyObject
* _argo0
= 0;
8666 char *_kwnames
[] = { "self", NULL
};
8669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsEnabled",_kwnames
,&_argo0
))
8672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
8679 wxPy_BEGIN_ALLOW_THREADS
;
8680 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
8682 wxPy_END_ALLOW_THREADS
;
8683 } _resultobj
= Py_BuildValue("i",_result
);
8687 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
8688 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8689 PyObject
* _resultobj
;
8691 bool _arg1
= (bool ) TRUE
;
8692 PyObject
* _argo0
= 0;
8693 int tempbool1
= (int) TRUE
;
8694 char *_kwnames
[] = { "self","check", NULL
};
8697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Check",_kwnames
,&_argo0
,&tempbool1
))
8700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
8706 _arg1
= (bool ) tempbool1
;
8708 wxPy_BEGIN_ALLOW_THREADS
;
8709 wxMenuItem_Check(_arg0
,_arg1
);
8711 wxPy_END_ALLOW_THREADS
;
8712 } Py_INCREF(Py_None
);
8713 _resultobj
= Py_None
;
8717 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
8718 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8719 PyObject
* _resultobj
;
8722 PyObject
* _argo0
= 0;
8723 char *_kwnames
[] = { "self", NULL
};
8726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsChecked",_kwnames
,&_argo0
))
8729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
8736 wxPy_BEGIN_ALLOW_THREADS
;
8737 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
8739 wxPy_END_ALLOW_THREADS
;
8740 } _resultobj
= Py_BuildValue("i",_result
);
8744 #define wxMenuItem_Toggle(_swigobj) (_swigobj->Toggle())
8745 static PyObject
*_wrap_wxMenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8746 PyObject
* _resultobj
;
8748 PyObject
* _argo0
= 0;
8749 char *_kwnames
[] = { "self", NULL
};
8752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_Toggle",_kwnames
,&_argo0
))
8755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Toggle. Expected _wxMenuItem_p.");
8762 wxPy_BEGIN_ALLOW_THREADS
;
8763 wxMenuItem_Toggle(_arg0
);
8765 wxPy_END_ALLOW_THREADS
;
8766 } Py_INCREF(Py_None
);
8767 _resultobj
= Py_None
;
8771 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
8772 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8773 PyObject
* _resultobj
;
8776 PyObject
* _argo0
= 0;
8777 PyObject
* _obj1
= 0;
8778 char *_kwnames
[] = { "self","str", NULL
};
8781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetHelp",_kwnames
,&_argo0
,&_obj1
))
8784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
8791 if (!PyString_Check(_obj1
)) {
8792 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8795 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
8798 wxPy_BEGIN_ALLOW_THREADS
;
8799 wxMenuItem_SetHelp(_arg0
,*_arg1
);
8801 wxPy_END_ALLOW_THREADS
;
8802 } Py_INCREF(Py_None
);
8803 _resultobj
= Py_None
;
8811 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
8812 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8813 PyObject
* _resultobj
;
8816 PyObject
* _argo0
= 0;
8817 char *_kwnames
[] = { "self", NULL
};
8820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetHelp",_kwnames
,&_argo0
))
8823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
8830 wxPy_BEGIN_ALLOW_THREADS
;
8831 const wxString
& _result_ref
= wxMenuItem_GetHelp(_arg0
);
8832 _result
= (wxString
*) &_result_ref
;
8834 wxPy_END_ALLOW_THREADS
;
8836 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8841 #define wxMenuItem_GetAccel(_swigobj) (_swigobj->GetAccel())
8842 static PyObject
*_wrap_wxMenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8843 PyObject
* _resultobj
;
8844 wxAcceleratorEntry
* _result
;
8846 PyObject
* _argo0
= 0;
8847 char *_kwnames
[] = { "self", NULL
};
8851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetAccel",_kwnames
,&_argo0
))
8854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetAccel. Expected _wxMenuItem_p.");
8861 wxPy_BEGIN_ALLOW_THREADS
;
8862 _result
= (wxAcceleratorEntry
*)wxMenuItem_GetAccel(_arg0
);
8864 wxPy_END_ALLOW_THREADS
;
8866 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
8867 _resultobj
= Py_BuildValue("s",_ptemp
);
8870 _resultobj
= Py_None
;
8875 #define wxMenuItem_SetAccel(_swigobj,_swigarg0) (_swigobj->SetAccel(_swigarg0))
8876 static PyObject
*_wrap_wxMenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8877 PyObject
* _resultobj
;
8879 wxAcceleratorEntry
* _arg1
;
8880 PyObject
* _argo0
= 0;
8881 PyObject
* _argo1
= 0;
8882 char *_kwnames
[] = { "self","accel", NULL
};
8885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetAccel",_kwnames
,&_argo0
,&_argo1
))
8888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
8890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetAccel. Expected _wxMenuItem_p.");
8895 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8896 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorEntry_p")) {
8897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetAccel. Expected _wxAcceleratorEntry_p.");
8902 wxPy_BEGIN_ALLOW_THREADS
;
8903 wxMenuItem_SetAccel(_arg0
,_arg1
);
8905 wxPy_END_ALLOW_THREADS
;
8906 } Py_INCREF(Py_None
);
8907 _resultobj
= Py_None
;
8911 static PyMethodDef windowscMethods
[] = {
8912 { "wxMenuItem_SetAccel", (PyCFunction
) _wrap_wxMenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
8913 { "wxMenuItem_GetAccel", (PyCFunction
) _wrap_wxMenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
8914 { "wxMenuItem_GetHelp", (PyCFunction
) _wrap_wxMenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
8915 { "wxMenuItem_SetHelp", (PyCFunction
) _wrap_wxMenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
8916 { "wxMenuItem_Toggle", (PyCFunction
) _wrap_wxMenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
8917 { "wxMenuItem_IsChecked", (PyCFunction
) _wrap_wxMenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
8918 { "wxMenuItem_Check", (PyCFunction
) _wrap_wxMenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
8919 { "wxMenuItem_IsEnabled", (PyCFunction
) _wrap_wxMenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8920 { "wxMenuItem_Enable", (PyCFunction
) _wrap_wxMenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
8921 { "wxMenuItem_GetSubMenu", (PyCFunction
) _wrap_wxMenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
8922 { "wxMenuItem_SetSubMenu", (PyCFunction
) _wrap_wxMenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
8923 { "wxMenuItem_IsSubMenu", (PyCFunction
) _wrap_wxMenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
8924 { "wxMenuItem_IsCheckable", (PyCFunction
) _wrap_wxMenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
8925 { "wxMenuItem_SetCheckable", (PyCFunction
) _wrap_wxMenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
8926 { "wxMenuItem_GetText", (PyCFunction
) _wrap_wxMenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
8927 { "wxMenuItem_GetLabel", (PyCFunction
) _wrap_wxMenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8928 { "wxMenuItem_SetText", (PyCFunction
) _wrap_wxMenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
8929 { "wxMenuItem_IsSeparator", (PyCFunction
) _wrap_wxMenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
8930 { "wxMenuItem_GetId", (PyCFunction
) _wrap_wxMenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
8931 { "wxMenuItem_SetId", (PyCFunction
) _wrap_wxMenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
8932 { "wxMenuItem_GetMenu", (PyCFunction
) _wrap_wxMenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
8933 { "new_wxMenuItem", (PyCFunction
) _wrap_new_wxMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
8934 { "wxMenuBar_GetHelpString", (PyCFunction
) _wrap_wxMenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
8935 { "wxMenuBar_SetHelpString", (PyCFunction
) _wrap_wxMenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
8936 { "wxMenuBar_GetLabel", (PyCFunction
) _wrap_wxMenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8937 { "wxMenuBar_SetLabel", (PyCFunction
) _wrap_wxMenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8938 { "wxMenuBar_IsEnabled", (PyCFunction
) _wrap_wxMenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8939 { "wxMenuBar_IsChecked", (PyCFunction
) _wrap_wxMenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
8940 { "wxMenuBar_Check", (PyCFunction
) _wrap_wxMenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
8941 { "wxMenuBar_Enable", (PyCFunction
) _wrap_wxMenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
8942 { "wxMenuBar_FindItemById", (PyCFunction
) _wrap_wxMenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
8943 { "wxMenuBar_FindMenuItem", (PyCFunction
) _wrap_wxMenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
8944 { "wxMenuBar_GetLabelTop", (PyCFunction
) _wrap_wxMenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
8945 { "wxMenuBar_SetLabelTop", (PyCFunction
) _wrap_wxMenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
8946 { "wxMenuBar_EnableTop", (PyCFunction
) _wrap_wxMenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
8947 { "wxMenuBar_Remove", (PyCFunction
) _wrap_wxMenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
8948 { "wxMenuBar_Replace", (PyCFunction
) _wrap_wxMenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
8949 { "wxMenuBar_GetMenu", (PyCFunction
) _wrap_wxMenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
8950 { "wxMenuBar_GetMenuCount", (PyCFunction
) _wrap_wxMenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
8951 { "wxMenuBar_Insert", (PyCFunction
) _wrap_wxMenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
8952 { "wxMenuBar_Append", (PyCFunction
) _wrap_wxMenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
8953 { "new_wxMenuBar", (PyCFunction
) _wrap_new_wxMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
8954 { "wxMenu_GetParent", (PyCFunction
) _wrap_wxMenu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
8955 { "wxMenu_SetParent", (PyCFunction
) _wrap_wxMenu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
8956 { "wxMenu_IsAttached", (PyCFunction
) _wrap_wxMenu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
8957 { "wxMenu_GetStyle", (PyCFunction
) _wrap_wxMenu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
8958 { "wxMenu_GetInvokingWindow", (PyCFunction
) _wrap_wxMenu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
8959 { "wxMenu_SetInvokingWindow", (PyCFunction
) _wrap_wxMenu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
8960 { "wxMenu_GetEventHandler", (PyCFunction
) _wrap_wxMenu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8961 { "wxMenu_SetEventHandler", (PyCFunction
) _wrap_wxMenu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8962 { "wxMenu_GetMenuItems", (PyCFunction
) _wrap_wxMenu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
8963 { "wxMenu_GetMenuItemCount", (PyCFunction
) _wrap_wxMenu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
8964 { "wxMenu_DestroyItem", (PyCFunction
) _wrap_wxMenu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
8965 { "wxMenu_DestroyId", (PyCFunction
) _wrap_wxMenu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
8966 { "wxMenu_Destroy", (PyCFunction
) _wrap_wxMenu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
8967 { "wxMenu_RemoveItem", (PyCFunction
) _wrap_wxMenu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
8968 { "wxMenu_Remove", (PyCFunction
) _wrap_wxMenu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
8969 { "wxMenu_Insert", (PyCFunction
) _wrap_wxMenu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
8970 { "wxMenu_DeleteItem", (PyCFunction
) _wrap_wxMenu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
8971 { "wxMenu_Delete", (PyCFunction
) _wrap_wxMenu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
8972 { "wxMenu_UpdateUI", (PyCFunction
) _wrap_wxMenu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
8973 { "wxMenu_SetHelpString", (PyCFunction
) _wrap_wxMenu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
8974 { "wxMenu_GetHelpString", (PyCFunction
) _wrap_wxMenu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
8975 { "wxMenu_SetLabel", (PyCFunction
) _wrap_wxMenu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8976 { "wxMenu_GetLabel", (PyCFunction
) _wrap_wxMenu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8977 { "wxMenu_SetTitle", (PyCFunction
) _wrap_wxMenu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8978 { "wxMenu_GetTitle", (PyCFunction
) _wrap_wxMenu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8979 { "wxMenu_FindItemById", (PyCFunction
) _wrap_wxMenu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
8980 { "wxMenu_FindItem", (PyCFunction
) _wrap_wxMenu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
8981 { "wxMenu_IsEnabled", (PyCFunction
) _wrap_wxMenu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
8982 { "wxMenu_Enable", (PyCFunction
) _wrap_wxMenu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
8983 { "wxMenu_IsChecked", (PyCFunction
) _wrap_wxMenu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
8984 { "wxMenu_Check", (PyCFunction
) _wrap_wxMenu_Check
, METH_VARARGS
| METH_KEYWORDS
},
8985 { "wxMenu_Break", (PyCFunction
) _wrap_wxMenu_Break
, METH_VARARGS
| METH_KEYWORDS
},
8986 { "wxMenu_AppendSeparator", (PyCFunction
) _wrap_wxMenu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
8987 { "wxMenu_AppendItem", (PyCFunction
) _wrap_wxMenu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
8988 { "wxMenu_AppendMenu", (PyCFunction
) _wrap_wxMenu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
8989 { "wxMenu_Append", (PyCFunction
) _wrap_wxMenu_Append
, METH_VARARGS
| METH_KEYWORDS
},
8990 { "new_wxMenu", (PyCFunction
) _wrap_new_wxMenu
, METH_VARARGS
| METH_KEYWORDS
},
8991 { "wxScrolledWindow_CalcUnscrolledPosition", (PyCFunction
) _wrap_wxScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
| METH_KEYWORDS
},
8992 { "wxScrolledWindow_CalcScrolledPosition", (PyCFunction
) _wrap_wxScrolledWindow_CalcScrolledPosition
, METH_VARARGS
| METH_KEYWORDS
},
8993 { "wxScrolledWindow_ViewStart", (PyCFunction
) _wrap_wxScrolledWindow_ViewStart
, METH_VARARGS
| METH_KEYWORDS
},
8994 { "wxScrolledWindow_GetViewStart", (PyCFunction
) _wrap_wxScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
8995 { "wxScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
8996 { "wxScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
8997 { "wxScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
8998 { "wxScrolledWindow_Scroll", (PyCFunction
) _wrap_wxScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
8999 { "wxScrolledWindow_PrepareDC", (PyCFunction
) _wrap_wxScrolledWindow_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
9000 { "wxScrolledWindow_IsRetained", (PyCFunction
) _wrap_wxScrolledWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
9001 { "wxScrolledWindow_GetVirtualSize", (PyCFunction
) _wrap_wxScrolledWindow_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
9002 { "wxScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
9003 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
9004 { "wxScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
9005 { "wxScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_wxScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
9006 { "new_wxScrolledWindow", (PyCFunction
) _wrap_new_wxScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
9007 { "wxDialog_SetReturnCode", (PyCFunction
) _wrap_wxDialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
9008 { "wxDialog_GetReturnCode", (PyCFunction
) _wrap_wxDialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
9009 { "wxDialog_ShowModal", (PyCFunction
) _wrap_wxDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
9010 { "wxDialog_Show", (PyCFunction
) _wrap_wxDialog_Show
, METH_VARARGS
| METH_KEYWORDS
},
9011 { "wxDialog_SetTitle", (PyCFunction
) _wrap_wxDialog_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9012 { "wxDialog_IsModal", (PyCFunction
) _wrap_wxDialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
9013 { "wxDialog_SetModal", (PyCFunction
) _wrap_wxDialog_SetModal
, METH_VARARGS
| METH_KEYWORDS
},
9014 { "wxDialog_IsIconized", (PyCFunction
) _wrap_wxDialog_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
9015 { "wxDialog_Iconize", (PyCFunction
) _wrap_wxDialog_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
9016 { "wxDialog_GetTitle", (PyCFunction
) _wrap_wxDialog_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9017 { "wxDialog_EndModal", (PyCFunction
) _wrap_wxDialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
9018 { "wxDialog_Centre", (PyCFunction
) _wrap_wxDialog_Centre
, METH_VARARGS
| METH_KEYWORDS
},
9019 { "new_wxDialog", (PyCFunction
) _wrap_new_wxDialog
, METH_VARARGS
| METH_KEYWORDS
},
9020 { "wxPanel_SetDefaultItem", (PyCFunction
) _wrap_wxPanel_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
9021 { "wxPanel_GetDefaultItem", (PyCFunction
) _wrap_wxPanel_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
9022 { "wxPanel_InitDialog", (PyCFunction
) _wrap_wxPanel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
9023 { "new_wxPanel", (PyCFunction
) _wrap_new_wxPanel
, METH_VARARGS
| METH_KEYWORDS
},
9024 { "wxWindow_GetCaret", (PyCFunction
) _wrap_wxWindow_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
9025 { "wxWindow_SetCaret", (PyCFunction
) _wrap_wxWindow_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
9026 { "wxWindow_GetBestSize", (PyCFunction
) _wrap_wxWindow_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
9027 { "wxWindow_GetDropTarget", (PyCFunction
) _wrap_wxWindow_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
9028 { "wxWindow_SetDropTarget", (PyCFunction
) _wrap_wxWindow_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
9029 { "wxWindow_SetValidator", (PyCFunction
) _wrap_wxWindow_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
9030 { "wxWindow_GetValidator", (PyCFunction
) _wrap_wxWindow_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
9031 { "wxWindow_GetSizer", (PyCFunction
) _wrap_wxWindow_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
9032 { "wxWindow_SetSizer", (PyCFunction
) _wrap_wxWindow_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
9033 { "wxWindow_GetToolTip", (PyCFunction
) _wrap_wxWindow_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
9034 { "wxWindow_SetToolTip", (PyCFunction
) _wrap_wxWindow_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
9035 { "wxWindow_SetToolTipString", (PyCFunction
) _wrap_wxWindow_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
9036 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
9037 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
9038 { "wxWindow_DLG_SZE", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
9039 { "wxWindow_DLG_PNT", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
9040 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
9041 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
9042 { "wxWindow_WarpPointer", (PyCFunction
) _wrap_wxWindow_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
9043 { "wxWindow_Validate", (PyCFunction
) _wrap_wxWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
},
9044 { "wxWindow_TransferDataToWindow", (PyCFunction
) _wrap_wxWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
9045 { "wxWindow_TransferDataFromWindow", (PyCFunction
) _wrap_wxWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
9046 { "wxWindow_Show", (PyCFunction
) _wrap_wxWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
9047 { "wxWindow_SetTitle", (PyCFunction
) _wrap_wxWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9048 { "wxWindow_SetEventHandler", (PyCFunction
) _wrap_wxWindow_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9049 { "wxWindow_SetCursor", (PyCFunction
) _wrap_wxWindow_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
9050 { "wxWindow_SetClientSize", (PyCFunction
) _wrap_wxWindow_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
9051 { "wxWindow_SetClientSizeWH", (PyCFunction
) _wrap_wxWindow_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
9052 { "wxWindow_SetSizeHints", (PyCFunction
) _wrap_wxWindow_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
9053 { "wxWindow_SetPosition", (PyCFunction
) _wrap_wxWindow_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
9054 { "wxWindow_SetSize", (PyCFunction
) _wrap_wxWindow_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
9055 { "wxWindow_SetDimensions", (PyCFunction
) _wrap_wxWindow_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
9056 { "wxWindow_SetScrollPos", (PyCFunction
) _wrap_wxWindow_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
9057 { "wxWindow_SetScrollbar", (PyCFunction
) _wrap_wxWindow_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
9058 { "wxWindow_SetName", (PyCFunction
) _wrap_wxWindow_SetName
, METH_VARARGS
| METH_KEYWORDS
},
9059 { "wxWindow_SetId", (PyCFunction
) _wrap_wxWindow_SetId
, METH_VARARGS
| METH_KEYWORDS
},
9060 { "wxWindow_SetForegroundColour", (PyCFunction
) _wrap_wxWindow_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9061 { "wxWindow_SetFont", (PyCFunction
) _wrap_wxWindow_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
9062 { "wxWindow_AcceptsFocus", (PyCFunction
) _wrap_wxWindow_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
9063 { "wxWindow_SetFocus", (PyCFunction
) _wrap_wxWindow_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
9064 { "wxWindow_UnsetConstraints", (PyCFunction
) _wrap_wxWindow_UnsetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
9065 { "wxWindow_SetConstraints", (PyCFunction
) _wrap_wxWindow_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
9066 { "wxWindow_SetBackgroundColour", (PyCFunction
) _wrap_wxWindow_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9067 { "wxWindow_GetAutoLayout", (PyCFunction
) _wrap_wxWindow_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
9068 { "wxWindow_SetAutoLayout", (PyCFunction
) _wrap_wxWindow_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
9069 { "wxWindow_SetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
9070 { "wxWindow_ScrollWindow", (PyCFunction
) _wrap_wxWindow_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
9071 { "wxWindow_ScreenToClient", (PyCFunction
) _wrap_wxWindow_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
9072 { "wxWindow_ScreenToClientXY", (PyCFunction
) _wrap_wxWindow_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
9073 { "wxWindow_Reparent", (PyCFunction
) _wrap_wxWindow_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
9074 { "wxWindow_RemoveChild", (PyCFunction
) _wrap_wxWindow_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
9075 { "wxWindow_ReleaseMouse", (PyCFunction
) _wrap_wxWindow_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
9076 { "wxWindow_Refresh", (PyCFunction
) _wrap_wxWindow_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
9077 { "wxWindow_Raise", (PyCFunction
) _wrap_wxWindow_Raise
, METH_VARARGS
| METH_KEYWORDS
},
9078 { "wxWindow_PopupMenu", (PyCFunction
) _wrap_wxWindow_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
9079 { "wxWindow_PopupMenuXY", (PyCFunction
) _wrap_wxWindow_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
9080 { "wxWindow_PushEventHandler", (PyCFunction
) _wrap_wxWindow_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9081 { "wxWindow_PopEventHandler", (PyCFunction
) _wrap_wxWindow_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9082 { "wxWindow_Move", (PyCFunction
) _wrap_wxWindow_Move
, METH_VARARGS
| METH_KEYWORDS
},
9083 { "wxWindow_MoveXY", (PyCFunction
) _wrap_wxWindow_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
9084 { "wxWindow_MakeModal", (PyCFunction
) _wrap_wxWindow_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
9085 { "wxWindow_Lower", (PyCFunction
) _wrap_wxWindow_Lower
, METH_VARARGS
| METH_KEYWORDS
},
9086 { "wxWindow_LoadFromResource", (PyCFunction
) _wrap_wxWindow_LoadFromResource
, METH_VARARGS
| METH_KEYWORDS
},
9087 { "wxWindow_Layout", (PyCFunction
) _wrap_wxWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
9088 { "wxWindow_IsTopLevel", (PyCFunction
) _wrap_wxWindow_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
9089 { "wxWindow_IsShown", (PyCFunction
) _wrap_wxWindow_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
9090 { "wxWindow_IsRetained", (PyCFunction
) _wrap_wxWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
9091 { "wxWindow_IsExposedRect", (PyCFunction
) _wrap_wxWindow_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
9092 { "wxWindow_IsExposedPoint", (PyCFunction
) _wrap_wxWindow_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
9093 { "wxWindow_IsExposed", (PyCFunction
) _wrap_wxWindow_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
9094 { "wxWindow_IsEnabled", (PyCFunction
) _wrap_wxWindow_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9095 { "wxWindow_InitDialog", (PyCFunction
) _wrap_wxWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
9096 { "wxWindow_Hide", (PyCFunction
) _wrap_wxWindow_Hide
, METH_VARARGS
| METH_KEYWORDS
},
9097 { "wxWindow_SetWindowStyle", (PyCFunction
) _wrap_wxWindow_SetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
9098 { "wxWindow_SetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
9099 { "wxWindow_GetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
9100 { "wxWindow_GetUpdateRegion", (PyCFunction
) _wrap_wxWindow_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
9101 { "wxWindow_GetTitle", (PyCFunction
) _wrap_wxWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
9102 { "wxWindow_GetFullTextExtent", (PyCFunction
) _wrap_wxWindow_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
9103 { "wxWindow_GetTextExtent", (PyCFunction
) _wrap_wxWindow_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
9104 { "wxWindow_GetSize", (PyCFunction
) _wrap_wxWindow_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
9105 { "wxWindow_GetSizeTuple", (PyCFunction
) _wrap_wxWindow_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
9106 { "wxWindow_GetScrollRange", (PyCFunction
) _wrap_wxWindow_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
9107 { "wxWindow_GetScrollPos", (PyCFunction
) _wrap_wxWindow_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
9108 { "wxWindow_GetScrollThumb", (PyCFunction
) _wrap_wxWindow_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
9109 { "wxWindow_GetRect", (PyCFunction
) _wrap_wxWindow_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
9110 { "wxWindow_GetPosition", (PyCFunction
) _wrap_wxWindow_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
9111 { "wxWindow_GetPositionTuple", (PyCFunction
) _wrap_wxWindow_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
9112 { "wxWindow_GetParent", (PyCFunction
) _wrap_wxWindow_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
9113 { "wxWindow_GetName", (PyCFunction
) _wrap_wxWindow_GetName
, METH_VARARGS
| METH_KEYWORDS
},
9114 { "wxWindow_SetLabel", (PyCFunction
) _wrap_wxWindow_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9115 { "wxWindow_GetLabel", (PyCFunction
) _wrap_wxWindow_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9116 { "wxWindow_GetId", (PyCFunction
) _wrap_wxWindow_GetId
, METH_VARARGS
| METH_KEYWORDS
},
9117 { "wxWindow_GetHandle", (PyCFunction
) _wrap_wxWindow_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
9118 { "wxWindow_GetGrandParent", (PyCFunction
) _wrap_wxWindow_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
9119 { "wxWindow_GetForegroundColour", (PyCFunction
) _wrap_wxWindow_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9120 { "wxWindow_GetFont", (PyCFunction
) _wrap_wxWindow_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
9121 { "wxWindow_GetEventHandler", (PyCFunction
) _wrap_wxWindow_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
9122 { "wxWindow_GetConstraints", (PyCFunction
) _wrap_wxWindow_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
9123 { "wxWindow_GetClientSize", (PyCFunction
) _wrap_wxWindow_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
9124 { "wxWindow_GetClientSizeTuple", (PyCFunction
) _wrap_wxWindow_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
9125 { "wxWindow_GetCharWidth", (PyCFunction
) _wrap_wxWindow_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
9126 { "wxWindow_GetCharHeight", (PyCFunction
) _wrap_wxWindow_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
9127 { "wxWindow_GetChildren", (PyCFunction
) _wrap_wxWindow_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
9128 { "wxWindow_GetBackgroundColour", (PyCFunction
) _wrap_wxWindow_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9129 { "wxWindow_Fit", (PyCFunction
) _wrap_wxWindow_Fit
, METH_VARARGS
| METH_KEYWORDS
},
9130 { "wxWindow_FindWindowByName", (PyCFunction
) _wrap_wxWindow_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
9131 { "wxWindow_FindWindowById", (PyCFunction
) _wrap_wxWindow_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
9132 { "wxWindow_Enable", (PyCFunction
) _wrap_wxWindow_Enable
, METH_VARARGS
| METH_KEYWORDS
},
9133 { "wxWindow_DestroyChildren", (PyCFunction
) _wrap_wxWindow_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
9134 { "wxWindow_Destroy", (PyCFunction
) _wrap_wxWindow_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
9135 { "wxWindow_Close", (PyCFunction
) _wrap_wxWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
9136 { "wxWindow_ClientToScreen", (PyCFunction
) _wrap_wxWindow_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
9137 { "wxWindow_ClientToScreenXY", (PyCFunction
) _wrap_wxWindow_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
9138 { "wxWindow_CenterOnParent", (PyCFunction
) _wrap_wxWindow_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
9139 { "wxWindow_CentreOnParent", (PyCFunction
) _wrap_wxWindow_CentreOnParent
, METH_VARARGS
| METH_KEYWORDS
},
9140 { "wxWindow_Centre", (PyCFunction
) _wrap_wxWindow_Centre
, METH_VARARGS
| METH_KEYWORDS
},
9141 { "wxWindow_Center", (PyCFunction
) _wrap_wxWindow_Center
, METH_VARARGS
| METH_KEYWORDS
},
9142 { "wxWindow_CaptureMouse", (PyCFunction
) _wrap_wxWindow_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
9143 { "new_wxWindow", (PyCFunction
) _wrap_new_wxWindow
, METH_VARARGS
| METH_KEYWORDS
},
9144 { "wxPyValidator__setSelf", (PyCFunction
) _wrap_wxPyValidator__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
9145 { "wxPyValidator_Destroy", (PyCFunction
) _wrap_wxPyValidator_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
9146 { "new_wxPyValidator", (PyCFunction
) _wrap_new_wxPyValidator
, METH_VARARGS
| METH_KEYWORDS
},
9147 { "wxValidator_SetWindow", (PyCFunction
) _wrap_wxValidator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
9148 { "wxValidator_GetWindow", (PyCFunction
) _wrap_wxValidator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
9149 { "wxValidator_Clone", (PyCFunction
) _wrap_wxValidator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
9150 { "new_wxValidator", (PyCFunction
) _wrap_new_wxValidator
, METH_VARARGS
| METH_KEYWORDS
},
9151 { "wxEvtHandler_Disconnect", (PyCFunction
) _wrap_wxEvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
9152 { "wxEvtHandler_Connect", (PyCFunction
) _wrap_wxEvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
9153 { "wxEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
9154 { "wxEvtHandler_SetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
9155 { "wxEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
9156 { "wxEvtHandler_GetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
9157 { "wxEvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9158 { "wxEvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9159 { "wxEvtHandler_AddPendingEvent", (PyCFunction
) _wrap_wxEvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
9160 { "wxEvtHandler_ProcessEvent", (PyCFunction
) _wrap_wxEvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
9161 { "wxWindow_PrevControlId", (PyCFunction
) _wrap_wxWindow_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
9162 { "wxWindow_NextControlId", (PyCFunction
) _wrap_wxWindow_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
9163 { "wxWindow_NewControlId", (PyCFunction
) _wrap_wxWindow_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
9164 { "wxValidator_SetBellOnError", (PyCFunction
) _wrap_wxValidator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
9165 { "wxValidator_IsSilent", (PyCFunction
) _wrap_wxValidator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
9172 * This table is used by the pointer type-checker
9174 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
9175 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
9176 { "_signed_long","_long",0},
9177 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
9178 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
9179 { "_wxPrintQuality","_wxCoord",0},
9180 { "_wxPrintQuality","_int",0},
9181 { "_wxPrintQuality","_signed_int",0},
9182 { "_wxPrintQuality","_unsigned_int",0},
9183 { "_wxPrintQuality","_wxWindowID",0},
9184 { "_wxPrintQuality","_uint",0},
9185 { "_wxPrintQuality","_EBool",0},
9186 { "_wxPrintQuality","_size_t",0},
9187 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
9188 { "_class_wxRegionIterator","_wxRegionIterator",0},
9189 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
9190 { "_class_wxMenuBar","_wxMenuBar",0},
9191 { "_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
9192 { "_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
9193 { "_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
9194 { "_class_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
9195 { "_class_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
9196 { "_class_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
9197 { "_class_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
9198 { "_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
9199 { "_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
9200 { "_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
9201 { "_class_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
9202 { "_class_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
9203 { "_class_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
9204 { "_class_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
9205 { "_class_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler
},
9206 { "_class_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
9207 { "_class_wxEvtHandler","_wxEvtHandler",0},
9208 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
9209 { "_wxCursor","_class_wxCursor",0},
9210 { "_wxMask","_class_wxMask",0},
9211 { "_wxPen","_class_wxPen",0},
9212 { "_byte","_unsigned_char",0},
9213 { "_wxDataObject","_class_wxDataObject",0},
9214 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
9215 { "_wxPyDropSource","_class_wxPyDropSource",0},
9216 { "_long","_unsigned_long",0},
9217 { "_long","_signed_long",0},
9218 { "_wxImageList","_class_wxImageList",0},
9219 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
9220 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
9221 { "_class_wxClipboard","_wxClipboard",0},
9222 { "_wxDC","_class_wxDC",0},
9223 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
9224 { "_size_t","_wxCoord",0},
9225 { "_size_t","_wxPrintQuality",0},
9226 { "_size_t","_unsigned_int",0},
9227 { "_size_t","_int",0},
9228 { "_size_t","_wxWindowID",0},
9229 { "_size_t","_uint",0},
9230 { "_class_wxRealPoint","_wxRealPoint",0},
9231 { "_class_wxMenuItem","_wxMenuItem",0},
9232 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
9233 { "_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
9234 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
9235 { "_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
9236 { "_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
9237 { "_wxPanel","_class_wxPanel",0},
9238 { "_class_wxMask","_wxMask",0},
9239 { "_wxTextDataObject","_class_wxTextDataObject",0},
9240 { "_wxColour","_class_wxColour",0},
9241 { "_class_wxDialog","_wxDialog",0},
9242 { "_class_wxFileDataObject","_wxFileDataObject",0},
9243 { "_class_wxDataObject","_wxDataObject",0},
9244 { "_wxBrush","_class_wxBrush",0},
9245 { "_wxDataFormat","_class_wxDataFormat",0},
9246 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
9247 { "_uint","_wxCoord",0},
9248 { "_uint","_wxPrintQuality",0},
9249 { "_uint","_size_t",0},
9250 { "_uint","_unsigned_int",0},
9251 { "_uint","_int",0},
9252 { "_uint","_wxWindowID",0},
9253 { "_wxChar","_char",0},
9254 { "_wxPyValidator","_class_wxPyValidator",0},
9255 { "_wxRect","_class_wxRect",0},
9256 { "_wxPoint","_class_wxPoint",0},
9257 { "_char","_wxChar",0},
9258 { "_wxBitmap","_class_wxBitmap",0},
9259 { "_wxWindowDC","_class_wxWindowDC",0},
9260 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
9261 { "_class_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator
},
9262 { "_class_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
9263 { "_class_wxValidator","_wxValidator",0},
9264 { "_wxDropTarget","_class_wxDropTarget",0},
9265 { "_EBool","_wxCoord",0},
9266 { "_EBool","_wxPrintQuality",0},
9267 { "_EBool","_signed_int",0},
9268 { "_EBool","_int",0},
9269 { "_EBool","_wxWindowID",0},
9270 { "_class_wxRegion","_wxRegion",0},
9271 { "_class_wxDataFormat","_wxDataFormat",0},
9272 { "_wxFont","_class_wxFont",0},
9273 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
9274 { "_unsigned_long","_long",0},
9275 { "_class_wxRect","_wxRect",0},
9276 { "_class_wxDC","_wxDC",0},
9277 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
9278 { "_class_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
9279 { "_class_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
9280 { "_class_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
9281 { "_class_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
9282 { "_class_wxPanel","_wxPanel",0},
9283 { "_signed_int","_wxCoord",0},
9284 { "_signed_int","_wxPrintQuality",0},
9285 { "_signed_int","_EBool",0},
9286 { "_signed_int","_wxWindowID",0},
9287 { "_signed_int","_int",0},
9288 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
9289 { "_class_wxTextDataObject","_wxTextDataObject",0},
9290 { "_wxMenu","_class_wxMenu",0},
9291 { "_wxScreenDC","_class_wxScreenDC",0},
9292 { "_WXTYPE","_short",0},
9293 { "_WXTYPE","_signed_short",0},
9294 { "_WXTYPE","_unsigned_short",0},
9295 { "_class_wxDropTarget","_wxDropTarget",0},
9296 { "_class_wxBrush","_wxBrush",0},
9297 { "_unsigned_short","_WXTYPE",0},
9298 { "_unsigned_short","_short",0},
9299 { "_class_wxWindow","_class_wxMenuBar",SwigwxMenuBarTowxWindow
},
9300 { "_class_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
9301 { "_class_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
9302 { "_class_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
9303 { "_class_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
9304 { "_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
9305 { "_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
9306 { "_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
9307 { "_class_wxWindow","_wxWindow",0},
9308 { "_class_wxFont","_wxFont",0},
9309 { "_wxClipboard","_class_wxClipboard",0},
9310 { "_class_wxPyValidator","_wxPyValidator",0},
9311 { "_wxBusyInfo","_class_wxBusyInfo",0},
9312 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
9313 { "_wxClientDC","_class_wxClientDC",0},
9314 { "_class_wxPoint","_wxPoint",0},
9315 { "_wxRealPoint","_class_wxRealPoint",0},
9316 { "_signed_short","_WXTYPE",0},
9317 { "_signed_short","_short",0},
9318 { "_wxMemoryDC","_class_wxMemoryDC",0},
9319 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
9320 { "_wxPaintDC","_class_wxPaintDC",0},
9321 { "_class_wxWindowDC","_wxWindowDC",0},
9322 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
9323 { "_class_wxCursor","_wxCursor",0},
9324 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
9325 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
9326 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
9327 { "_unsigned_char","_byte",0},
9328 { "_class_wxMenu","_wxMenu",0},
9329 { "_unsigned_int","_wxCoord",0},
9330 { "_unsigned_int","_wxPrintQuality",0},
9331 { "_unsigned_int","_size_t",0},
9332 { "_unsigned_int","_uint",0},
9333 { "_unsigned_int","_wxWindowID",0},
9334 { "_unsigned_int","_int",0},
9335 { "_wxIcon","_class_wxIcon",0},
9336 { "_wxDialog","_class_wxDialog",0},
9337 { "_class_wxPen","_wxPen",0},
9338 { "_short","_WXTYPE",0},
9339 { "_short","_unsigned_short",0},
9340 { "_short","_signed_short",0},
9341 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
9342 { "_class_wxPyDropSource","_wxPyDropSource",0},
9343 { "_class_wxImageList","_wxImageList",0},
9344 { "_wxWindowID","_wxCoord",0},
9345 { "_wxWindowID","_wxPrintQuality",0},
9346 { "_wxWindowID","_size_t",0},
9347 { "_wxWindowID","_EBool",0},
9348 { "_wxWindowID","_uint",0},
9349 { "_wxWindowID","_int",0},
9350 { "_wxWindowID","_signed_int",0},
9351 { "_wxWindowID","_unsigned_int",0},
9352 { "_int","_wxCoord",0},
9353 { "_int","_wxPrintQuality",0},
9354 { "_int","_size_t",0},
9355 { "_int","_EBool",0},
9356 { "_int","_uint",0},
9357 { "_int","_wxWindowID",0},
9358 { "_int","_unsigned_int",0},
9359 { "_int","_signed_int",0},
9360 { "_wxSize","_class_wxSize",0},
9361 { "_wxRegionIterator","_class_wxRegionIterator",0},
9362 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
9363 { "_class_wxPaintDC","_wxPaintDC",0},
9364 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
9365 { "_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator
},
9366 { "_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
9367 { "_wxValidator","_class_wxValidator",0},
9368 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
9369 { "_class_wxIcon","_wxIcon",0},
9370 { "_class_wxColour","_wxColour",0},
9371 { "_class_wxScreenDC","_wxScreenDC",0},
9372 { "_wxPalette","_class_wxPalette",0},
9373 { "_wxCoord","_int",0},
9374 { "_wxCoord","_signed_int",0},
9375 { "_wxCoord","_unsigned_int",0},
9376 { "_wxCoord","_wxWindowID",0},
9377 { "_wxCoord","_uint",0},
9378 { "_wxCoord","_EBool",0},
9379 { "_wxCoord","_size_t",0},
9380 { "_wxCoord","_wxPrintQuality",0},
9381 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
9382 { "_wxRegion","_class_wxRegion",0},
9383 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
9384 { "_class_wxBusyInfo","_wxBusyInfo",0},
9385 { "_class_wxClientDC","_wxClientDC",0},
9386 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
9387 { "_class_wxSize","_wxSize",0},
9388 { "_class_wxBitmap","_wxBitmap",0},
9389 { "_class_wxMemoryDC","_wxMemoryDC",0},
9390 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
9391 { "_wxMenuBar","_class_wxMenuBar",0},
9392 { "_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
9393 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
9394 { "_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
9395 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
9396 { "_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
9397 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
9398 { "_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
9399 { "_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
9400 { "_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
9401 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
9402 { "_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
9403 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
9404 { "_wxEvtHandler","_class_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
9405 { "_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
9406 { "_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler
},
9407 { "_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
9408 { "_wxEvtHandler","_class_wxEvtHandler",0},
9409 { "_wxMenuItem","_class_wxMenuItem",0},
9410 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
9411 { "_class_wxPalette","_wxPalette",0},
9412 { "_wxFileDataObject","_class_wxFileDataObject",0},
9413 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
9414 { "_wxWindow","_class_wxMenuBar",SwigwxMenuBarTowxWindow
},
9415 { "_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
9416 { "_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
9417 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
9418 { "_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
9419 { "_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
9420 { "_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
9421 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
9422 { "_wxWindow","_class_wxWindow",0},
9425 static PyObject
*SWIG_globals
;
9429 SWIGEXPORT(void) initwindowsc() {
9431 SWIG_globals
= SWIG_newvarlink();
9432 m
= Py_InitModule("windowsc", windowscMethods
);
9433 d
= PyModule_GetDict(m
);
9436 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
9437 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);