2 * FILE : msw/windows.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 802)
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
);
107 extern byte
* byte_LIST_helper(PyObject
* source
);
108 extern int* int_LIST_helper(PyObject
* source
);
109 extern long* long_LIST_helper(PyObject
* source
);
110 extern char** string_LIST_helper(PyObject
* source
);
111 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
112 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
113 extern wxString
* wxString_LIST_helper(PyObject
* source
);
114 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
117 static char* wxStringErrorMsg
= "string type is required for parameter";
119 wxWindow
* wxWindow_FindFocus() {
120 return wxWindow::FindFocus();
123 wxWindow
* wxWindow_FromHWND(unsigned long hWnd
) {
124 wxWindow
* win
= new wxWindow
;
126 win
->SubclassWin(hWnd
);
132 static PyObject
*_wrap_wxWindow_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
133 PyObject
* _resultobj
;
135 char *_kwnames
[] = { NULL
};
139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_FindFocus",_kwnames
))
142 wxPy_BEGIN_ALLOW_THREADS
;
143 _result
= (wxWindow
*)wxWindow_FindFocus();
145 wxPy_END_ALLOW_THREADS
;
147 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
148 _resultobj
= Py_BuildValue("s",_ptemp
);
151 _resultobj
= Py_None
;
156 static PyObject
*_wrap_wxWindow_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
157 PyObject
* _resultobj
;
160 char *_kwnames
[] = { "hWnd", NULL
};
164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxWindow_FromHWND",_kwnames
,&_arg0
))
167 wxPy_BEGIN_ALLOW_THREADS
;
168 _result
= (wxWindow
*)wxWindow_FromHWND(_arg0
);
170 wxPy_END_ALLOW_THREADS
;
172 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
173 _resultobj
= Py_BuildValue("s",_ptemp
);
176 _resultobj
= Py_None
;
181 #define wxEvtHandler_ProcessEvent(_swigobj,_swigarg0) (_swigobj->ProcessEvent(_swigarg0))
182 static PyObject
*_wrap_wxEvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
183 PyObject
* _resultobj
;
185 wxEvtHandler
* _arg0
;
187 PyObject
* _argo0
= 0;
188 PyObject
* _argo1
= 0;
189 char *_kwnames
[] = { "self","event", NULL
};
192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_ProcessEvent",_kwnames
,&_argo0
,&_argo1
))
195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_ProcessEvent. Expected _wxEvtHandler_p.");
202 if (_argo1
== Py_None
) { _arg1
= NULL
; }
203 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_ProcessEvent. Expected _wxEvent_p.");
209 wxPy_BEGIN_ALLOW_THREADS
;
210 _result
= (bool )wxEvtHandler_ProcessEvent(_arg0
,*_arg1
);
212 wxPy_END_ALLOW_THREADS
;
213 } _resultobj
= Py_BuildValue("i",_result
);
217 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
* func
) {
218 if (PyCallable_Check(func
)) {
219 self
->Connect(id
, lastId
, eventType
,
220 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
221 new wxPyCallback(func
));
224 static PyObject
*_wrap_wxEvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
225 PyObject
* _resultobj
;
226 wxEvtHandler
* _arg0
;
231 PyObject
* _argo0
= 0;
232 PyObject
* _obj4
= 0;
233 char *_kwnames
[] = { "self","id","lastId","eventType","func", NULL
};
236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiiO:wxEvtHandler_Connect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
249 wxPy_BEGIN_ALLOW_THREADS
;
250 wxEvtHandler_Connect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
252 wxPy_END_ALLOW_THREADS
;
253 } Py_INCREF(Py_None
);
254 _resultobj
= Py_None
;
258 static void *SwigwxWindowTowxEvtHandler(void *ptr
) {
261 src
= (wxWindow
*) ptr
;
262 dest
= (wxEvtHandler
*) src
;
263 return (void *) dest
;
266 #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
267 static PyObject
*_wrap_new_wxWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
268 PyObject
* _resultobj
;
272 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
273 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
274 long _arg4
= (long ) 0;
275 char * _arg5
= (char *) "panel";
276 PyObject
* _argo0
= 0;
277 PyObject
* _argo2
= 0;
278 PyObject
* _argo3
= 0;
279 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxWindow",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
))
286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
293 if (_argo2
== Py_None
) { _arg2
= NULL
; }
294 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxWindow. Expected _wxPoint_p.");
300 if (_argo3
== Py_None
) { _arg3
= NULL
; }
301 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxSize_p")) {
302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxWindow. Expected _wxSize_p.");
307 wxPy_BEGIN_ALLOW_THREADS
;
308 _result
= (wxWindow
*)new_wxWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
310 wxPy_END_ALLOW_THREADS
;
312 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
313 _resultobj
= Py_BuildValue("s",_ptemp
);
316 _resultobj
= Py_None
;
321 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
322 static PyObject
*_wrap_wxWindow_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
323 PyObject
* _resultobj
;
325 PyObject
* _argo0
= 0;
326 char *_kwnames
[] = { "self", NULL
};
329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_CaptureMouse",_kwnames
,&_argo0
))
332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
339 wxPy_BEGIN_ALLOW_THREADS
;
340 wxWindow_CaptureMouse(_arg0
);
342 wxPy_END_ALLOW_THREADS
;
343 } Py_INCREF(Py_None
);
344 _resultobj
= Py_None
;
348 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
349 static PyObject
*_wrap_wxWindow_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
350 PyObject
* _resultobj
;
352 int _arg1
= (int ) wxBOTH
;
353 PyObject
* _argo0
= 0;
354 char *_kwnames
[] = { "self","direction", NULL
};
357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Center",_kwnames
,&_argo0
,&_arg1
))
360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
367 wxPy_BEGIN_ALLOW_THREADS
;
368 wxWindow_Center(_arg0
,_arg1
);
370 wxPy_END_ALLOW_THREADS
;
371 } Py_INCREF(Py_None
);
372 _resultobj
= Py_None
;
376 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
377 static PyObject
*_wrap_wxWindow_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
378 PyObject
* _resultobj
;
380 int _arg1
= (int ) wxBOTH
;
381 PyObject
* _argo0
= 0;
382 char *_kwnames
[] = { "self","direction", NULL
};
385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Centre",_kwnames
,&_argo0
,&_arg1
))
388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
395 wxPy_BEGIN_ALLOW_THREADS
;
396 wxWindow_Centre(_arg0
,_arg1
);
398 wxPy_END_ALLOW_THREADS
;
399 } Py_INCREF(Py_None
);
400 _resultobj
= Py_None
;
404 #define wxWindow_CentreOnParent(_swigobj,_swigarg0) (_swigobj->CentreOnParent(_swigarg0))
405 static PyObject
*_wrap_wxWindow_CentreOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
406 PyObject
* _resultobj
;
408 int _arg1
= (int ) wxBOTH
;
409 PyObject
* _argo0
= 0;
410 char *_kwnames
[] = { "self","direction", NULL
};
413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnParent",_kwnames
,&_argo0
,&_arg1
))
416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnParent. Expected _wxWindow_p.");
423 wxPy_BEGIN_ALLOW_THREADS
;
424 wxWindow_CentreOnParent(_arg0
,_arg1
);
426 wxPy_END_ALLOW_THREADS
;
427 } Py_INCREF(Py_None
);
428 _resultobj
= Py_None
;
432 #define wxWindow_CenterOnParent(_swigobj,_swigarg0) (_swigobj->CenterOnParent(_swigarg0))
433 static PyObject
*_wrap_wxWindow_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
434 PyObject
* _resultobj
;
436 int _arg1
= (int ) wxBOTH
;
437 PyObject
* _argo0
= 0;
438 char *_kwnames
[] = { "self","direction", NULL
};
441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnParent",_kwnames
,&_argo0
,&_arg1
))
444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnParent. Expected _wxWindow_p.");
451 wxPy_BEGIN_ALLOW_THREADS
;
452 wxWindow_CenterOnParent(_arg0
,_arg1
);
454 wxPy_END_ALLOW_THREADS
;
455 } Py_INCREF(Py_None
);
456 _resultobj
= Py_None
;
460 #define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
461 static PyObject
*_wrap_wxWindow_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
462 PyObject
* _resultobj
;
466 PyObject
* _argo0
= 0;
468 PyObject
* _obj1
= 0;
470 PyObject
* _obj2
= 0;
471 char *_kwnames
[] = { "self","x","y", NULL
};
474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ClientToScreenXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
484 temp
= (int) PyInt_AsLong(_obj1
);
488 temp0
= (int) PyInt_AsLong(_obj2
);
492 wxPy_BEGIN_ALLOW_THREADS
;
493 wxWindow_ClientToScreenXY(_arg0
,_arg1
,_arg2
);
495 wxPy_END_ALLOW_THREADS
;
496 } Py_INCREF(Py_None
);
497 _resultobj
= Py_None
;
500 o
= PyInt_FromLong((long) (*_arg1
));
501 _resultobj
= t_output_helper(_resultobj
, o
);
505 o
= PyInt_FromLong((long) (*_arg2
));
506 _resultobj
= t_output_helper(_resultobj
, o
);
511 #define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
512 static PyObject
*_wrap_wxWindow_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
513 PyObject
* _resultobj
;
517 PyObject
* _argo0
= 0;
518 PyObject
* _argo1
= 0;
519 char *_kwnames
[] = { "self","pt", NULL
};
523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ClientToScreen",_kwnames
,&_argo0
,&_argo1
))
526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
533 if (_argo1
== Py_None
) { _arg1
= NULL
; }
534 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ClientToScreen. Expected _wxPoint_p.");
540 wxPy_BEGIN_ALLOW_THREADS
;
541 _result
= new wxPoint (wxWindow_ClientToScreen(_arg0
,*_arg1
));
543 wxPy_END_ALLOW_THREADS
;
544 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
545 _resultobj
= Py_BuildValue("s",_ptemp
);
549 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
550 static PyObject
*_wrap_wxWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
551 PyObject
* _resultobj
;
554 int _arg1
= (int ) FALSE
;
555 PyObject
* _argo0
= 0;
556 char *_kwnames
[] = { "self","force", NULL
};
559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Close",_kwnames
,&_argo0
,&_arg1
))
562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
569 wxPy_BEGIN_ALLOW_THREADS
;
570 _result
= (bool )wxWindow_Close(_arg0
,_arg1
);
572 wxPy_END_ALLOW_THREADS
;
573 } _resultobj
= Py_BuildValue("i",_result
);
577 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
578 static PyObject
*_wrap_wxWindow_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
579 PyObject
* _resultobj
;
582 PyObject
* _argo0
= 0;
583 char *_kwnames
[] = { "self", NULL
};
586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Destroy",_kwnames
,&_argo0
))
589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
596 wxPy_BEGIN_ALLOW_THREADS
;
597 _result
= (bool )wxWindow_Destroy(_arg0
);
599 wxPy_END_ALLOW_THREADS
;
600 } _resultobj
= Py_BuildValue("i",_result
);
604 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
605 static PyObject
*_wrap_wxWindow_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
606 PyObject
* _resultobj
;
608 PyObject
* _argo0
= 0;
609 char *_kwnames
[] = { "self", NULL
};
612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_DestroyChildren",_kwnames
,&_argo0
))
615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
622 wxPy_BEGIN_ALLOW_THREADS
;
623 wxWindow_DestroyChildren(_arg0
);
625 wxPy_END_ALLOW_THREADS
;
626 } Py_INCREF(Py_None
);
627 _resultobj
= Py_None
;
631 #define wxWindow_DragAcceptFiles(_swigobj,_swigarg0) (_swigobj->DragAcceptFiles(_swigarg0))
632 static PyObject
*_wrap_wxWindow_DragAcceptFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
633 PyObject
* _resultobj
;
636 PyObject
* _argo0
= 0;
638 char *_kwnames
[] = { "self","accept", NULL
};
641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_DragAcceptFiles",_kwnames
,&_argo0
,&tempbool1
))
644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DragAcceptFiles. Expected _wxWindow_p.");
650 _arg1
= (bool ) tempbool1
;
652 wxPy_BEGIN_ALLOW_THREADS
;
653 wxWindow_DragAcceptFiles(_arg0
,_arg1
);
655 wxPy_END_ALLOW_THREADS
;
656 } Py_INCREF(Py_None
);
657 _resultobj
= Py_None
;
661 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
662 static PyObject
*_wrap_wxWindow_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
663 PyObject
* _resultobj
;
666 PyObject
* _argo0
= 0;
668 char *_kwnames
[] = { "self","enable", NULL
};
671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Enable",_kwnames
,&_argo0
,&tempbool1
))
674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
680 _arg1
= (bool ) tempbool1
;
682 wxPy_BEGIN_ALLOW_THREADS
;
683 wxWindow_Enable(_arg0
,_arg1
);
685 wxPy_END_ALLOW_THREADS
;
686 } Py_INCREF(Py_None
);
687 _resultobj
= Py_None
;
691 #define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
692 static PyObject
*_wrap_wxWindow_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
693 PyObject
* _resultobj
;
697 PyObject
* _argo0
= 0;
698 char *_kwnames
[] = { "self","id", NULL
};
702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_FindWindowById",_kwnames
,&_argo0
,&_arg1
))
705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
712 wxPy_BEGIN_ALLOW_THREADS
;
713 _result
= (wxWindow
*)wxWindow_FindWindowById(_arg0
,_arg1
);
715 wxPy_END_ALLOW_THREADS
;
717 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
718 _resultobj
= Py_BuildValue("s",_ptemp
);
721 _resultobj
= Py_None
;
726 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
727 static PyObject
*_wrap_wxWindow_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
728 PyObject
* _resultobj
;
732 PyObject
* _argo0
= 0;
733 PyObject
* _obj1
= 0;
734 char *_kwnames
[] = { "self","name", NULL
};
738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_FindWindowByName",_kwnames
,&_argo0
,&_obj1
))
741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
748 if (!PyString_Check(_obj1
)) {
749 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
752 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
755 wxPy_BEGIN_ALLOW_THREADS
;
756 _result
= (wxWindow
*)wxWindow_FindWindowByName(_arg0
,*_arg1
);
758 wxPy_END_ALLOW_THREADS
;
760 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
761 _resultobj
= Py_BuildValue("s",_ptemp
);
764 _resultobj
= Py_None
;
773 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
774 static PyObject
*_wrap_wxWindow_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
775 PyObject
* _resultobj
;
777 PyObject
* _argo0
= 0;
778 char *_kwnames
[] = { "self", NULL
};
781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Fit",_kwnames
,&_argo0
))
784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
791 wxPy_BEGIN_ALLOW_THREADS
;
794 wxPy_END_ALLOW_THREADS
;
795 } Py_INCREF(Py_None
);
796 _resultobj
= Py_None
;
800 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
801 static PyObject
*_wrap_wxWindow_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
802 PyObject
* _resultobj
;
805 PyObject
* _argo0
= 0;
806 char *_kwnames
[] = { "self", NULL
};
810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBackgroundColour",_kwnames
,&_argo0
))
813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
820 wxPy_BEGIN_ALLOW_THREADS
;
821 _result
= new wxColour (wxWindow_GetBackgroundColour(_arg0
));
823 wxPy_END_ALLOW_THREADS
;
824 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
825 _resultobj
= Py_BuildValue("s",_ptemp
);
829 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
830 static PyObject
*_wrap_wxWindow_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
831 PyObject
* _resultobj
;
834 PyObject
* _argo0
= 0;
835 char *_kwnames
[] = { "self", NULL
};
838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharHeight",_kwnames
,&_argo0
))
841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
848 wxPy_BEGIN_ALLOW_THREADS
;
849 _result
= (int )wxWindow_GetCharHeight(_arg0
);
851 wxPy_END_ALLOW_THREADS
;
852 } _resultobj
= Py_BuildValue("i",_result
);
856 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
857 static PyObject
*_wrap_wxWindow_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
858 PyObject
* _resultobj
;
861 PyObject
* _argo0
= 0;
862 char *_kwnames
[] = { "self", NULL
};
865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharWidth",_kwnames
,&_argo0
))
868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
875 wxPy_BEGIN_ALLOW_THREADS
;
876 _result
= (int )wxWindow_GetCharWidth(_arg0
);
878 wxPy_END_ALLOW_THREADS
;
879 } _resultobj
= Py_BuildValue("i",_result
);
883 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
884 static PyObject
*_wrap_wxWindow_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
885 PyObject
* _resultobj
;
891 PyObject
* _argo0
= 0;
892 char *_kwnames
[] = { "self", NULL
};
901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSizeTuple",_kwnames
,&_argo0
))
904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
911 wxPy_BEGIN_ALLOW_THREADS
;
912 wxWindow_GetClientSizeTuple(_arg0
,_arg1
,_arg2
);
914 wxPy_END_ALLOW_THREADS
;
915 } Py_INCREF(Py_None
);
916 _resultobj
= Py_None
;
919 o
= PyInt_FromLong((long) (*_arg1
));
920 _resultobj
= t_output_helper(_resultobj
, o
);
924 o
= PyInt_FromLong((long) (*_arg2
));
925 _resultobj
= t_output_helper(_resultobj
, o
);
930 #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
931 static PyObject
*_wrap_wxWindow_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
932 PyObject
* _resultobj
;
935 PyObject
* _argo0
= 0;
936 char *_kwnames
[] = { "self", NULL
};
940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSize",_kwnames
,&_argo0
))
943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
950 wxPy_BEGIN_ALLOW_THREADS
;
951 _result
= new wxSize (wxWindow_GetClientSize(_arg0
));
953 wxPy_END_ALLOW_THREADS
;
954 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
955 _resultobj
= Py_BuildValue("s",_ptemp
);
959 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
960 static PyObject
*_wrap_wxWindow_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
961 PyObject
* _resultobj
;
962 wxLayoutConstraints
* _result
;
964 PyObject
* _argo0
= 0;
965 char *_kwnames
[] = { "self", NULL
};
969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetConstraints",_kwnames
,&_argo0
))
972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
979 wxPy_BEGIN_ALLOW_THREADS
;
980 _result
= (wxLayoutConstraints
*)wxWindow_GetConstraints(_arg0
);
982 wxPy_END_ALLOW_THREADS
;
984 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
985 _resultobj
= Py_BuildValue("s",_ptemp
);
988 _resultobj
= Py_None
;
993 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
994 static PyObject
*_wrap_wxWindow_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
995 PyObject
* _resultobj
;
998 PyObject
* _argo0
= 0;
999 char *_kwnames
[] = { "self", NULL
};
1003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetFont",_kwnames
,&_argo0
))
1006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
1013 wxPy_BEGIN_ALLOW_THREADS
;
1014 wxFont
& _result_ref
= wxWindow_GetFont(_arg0
);
1015 _result
= (wxFont
*) &_result_ref
;
1017 wxPy_END_ALLOW_THREADS
;
1019 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1020 _resultobj
= Py_BuildValue("s",_ptemp
);
1023 _resultobj
= Py_None
;
1028 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
1029 static PyObject
*_wrap_wxWindow_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1030 PyObject
* _resultobj
;
1033 PyObject
* _argo0
= 0;
1034 char *_kwnames
[] = { "self", NULL
};
1038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetForegroundColour",_kwnames
,&_argo0
))
1041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
1048 wxPy_BEGIN_ALLOW_THREADS
;
1049 _result
= new wxColour (wxWindow_GetForegroundColour(_arg0
));
1051 wxPy_END_ALLOW_THREADS
;
1052 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1053 _resultobj
= Py_BuildValue("s",_ptemp
);
1057 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
1058 static PyObject
*_wrap_wxWindow_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1059 PyObject
* _resultobj
;
1062 PyObject
* _argo0
= 0;
1063 char *_kwnames
[] = { "self", NULL
};
1067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetGrandParent",_kwnames
,&_argo0
))
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_GetGrandParent. Expected _wxWindow_p.");
1077 wxPy_BEGIN_ALLOW_THREADS
;
1078 _result
= (wxWindow
*)wxWindow_GetGrandParent(_arg0
);
1080 wxPy_END_ALLOW_THREADS
;
1082 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1083 _resultobj
= Py_BuildValue("s",_ptemp
);
1086 _resultobj
= Py_None
;
1091 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
1092 static PyObject
*_wrap_wxWindow_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1093 PyObject
* _resultobj
;
1096 PyObject
* _argo0
= 0;
1097 char *_kwnames
[] = { "self", NULL
};
1100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetId",_kwnames
,&_argo0
))
1103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
1110 wxPy_BEGIN_ALLOW_THREADS
;
1111 _result
= (int )wxWindow_GetId(_arg0
);
1113 wxPy_END_ALLOW_THREADS
;
1114 } _resultobj
= Py_BuildValue("i",_result
);
1118 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
1119 static PyObject
*_wrap_wxWindow_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1120 PyObject
* _resultobj
;
1123 PyObject
* _argo0
= 0;
1124 char *_kwnames
[] = { "self", NULL
};
1127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetLabel",_kwnames
,&_argo0
))
1130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
1137 wxPy_BEGIN_ALLOW_THREADS
;
1138 _result
= new wxString (wxWindow_GetLabel(_arg0
));
1140 wxPy_END_ALLOW_THREADS
;
1142 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1150 #define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
1151 static PyObject
*_wrap_wxWindow_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1152 PyObject
* _resultobj
;
1155 PyObject
* _argo0
= 0;
1156 PyObject
* _obj1
= 0;
1157 char *_kwnames
[] = { "self","label", NULL
};
1160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetLabel",_kwnames
,&_argo0
,&_obj1
))
1163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
1170 if (!PyString_Check(_obj1
)) {
1171 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1174 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1177 wxPy_BEGIN_ALLOW_THREADS
;
1178 wxWindow_SetLabel(_arg0
,*_arg1
);
1180 wxPy_END_ALLOW_THREADS
;
1181 } Py_INCREF(Py_None
);
1182 _resultobj
= Py_None
;
1190 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
1191 static PyObject
*_wrap_wxWindow_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1192 PyObject
* _resultobj
;
1195 PyObject
* _argo0
= 0;
1196 char *_kwnames
[] = { "self", NULL
};
1199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetName",_kwnames
,&_argo0
))
1202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
1209 wxPy_BEGIN_ALLOW_THREADS
;
1210 _result
= new wxString (wxWindow_GetName(_arg0
));
1212 wxPy_END_ALLOW_THREADS
;
1214 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1222 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
1223 static PyObject
*_wrap_wxWindow_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1224 PyObject
* _resultobj
;
1227 PyObject
* _argo0
= 0;
1228 char *_kwnames
[] = { "self", NULL
};
1232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetParent",_kwnames
,&_argo0
))
1235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
1242 wxPy_BEGIN_ALLOW_THREADS
;
1243 _result
= (wxWindow
*)wxWindow_GetParent(_arg0
);
1245 wxPy_END_ALLOW_THREADS
;
1247 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1248 _resultobj
= Py_BuildValue("s",_ptemp
);
1251 _resultobj
= Py_None
;
1256 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
1257 static PyObject
*_wrap_wxWindow_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1258 PyObject
* _resultobj
;
1264 PyObject
* _argo0
= 0;
1265 char *_kwnames
[] = { "self", NULL
};
1274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPositionTuple",_kwnames
,&_argo0
))
1277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
1284 wxPy_BEGIN_ALLOW_THREADS
;
1285 wxWindow_GetPositionTuple(_arg0
,_arg1
,_arg2
);
1287 wxPy_END_ALLOW_THREADS
;
1288 } Py_INCREF(Py_None
);
1289 _resultobj
= Py_None
;
1292 o
= PyInt_FromLong((long) (*_arg1
));
1293 _resultobj
= t_output_helper(_resultobj
, o
);
1297 o
= PyInt_FromLong((long) (*_arg2
));
1298 _resultobj
= t_output_helper(_resultobj
, o
);
1303 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
1304 static PyObject
*_wrap_wxWindow_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1305 PyObject
* _resultobj
;
1308 PyObject
* _argo0
= 0;
1309 char *_kwnames
[] = { "self", NULL
};
1313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPosition",_kwnames
,&_argo0
))
1316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
1323 wxPy_BEGIN_ALLOW_THREADS
;
1324 _result
= new wxPoint (wxWindow_GetPosition(_arg0
));
1326 wxPy_END_ALLOW_THREADS
;
1327 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1328 _resultobj
= Py_BuildValue("s",_ptemp
);
1332 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
1333 static PyObject
*_wrap_wxWindow_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1334 PyObject
* _resultobj
;
1337 PyObject
* _argo0
= 0;
1338 char *_kwnames
[] = { "self", NULL
};
1342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetRect",_kwnames
,&_argo0
))
1345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
1352 wxPy_BEGIN_ALLOW_THREADS
;
1353 _result
= new wxRect (wxWindow_GetRect(_arg0
));
1355 wxPy_END_ALLOW_THREADS
;
1356 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1357 _resultobj
= Py_BuildValue("s",_ptemp
);
1361 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
1362 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1363 PyObject
* _resultobj
;
1367 PyObject
* _argo0
= 0;
1368 char *_kwnames
[] = { "self","orientation", NULL
};
1371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollThumb",_kwnames
,&_argo0
,&_arg1
))
1374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
1381 wxPy_BEGIN_ALLOW_THREADS
;
1382 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
1384 wxPy_END_ALLOW_THREADS
;
1385 } _resultobj
= Py_BuildValue("i",_result
);
1389 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
1390 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1391 PyObject
* _resultobj
;
1395 PyObject
* _argo0
= 0;
1396 char *_kwnames
[] = { "self","orientation", NULL
};
1399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollPos",_kwnames
,&_argo0
,&_arg1
))
1402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
1409 wxPy_BEGIN_ALLOW_THREADS
;
1410 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
1412 wxPy_END_ALLOW_THREADS
;
1413 } _resultobj
= Py_BuildValue("i",_result
);
1417 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
1418 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1419 PyObject
* _resultobj
;
1423 PyObject
* _argo0
= 0;
1424 char *_kwnames
[] = { "self","orientation", NULL
};
1427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollRange",_kwnames
,&_argo0
,&_arg1
))
1430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
1437 wxPy_BEGIN_ALLOW_THREADS
;
1438 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
1440 wxPy_END_ALLOW_THREADS
;
1441 } _resultobj
= Py_BuildValue("i",_result
);
1445 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
1446 static PyObject
*_wrap_wxWindow_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1447 PyObject
* _resultobj
;
1453 PyObject
* _argo0
= 0;
1454 char *_kwnames
[] = { "self", NULL
};
1463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizeTuple",_kwnames
,&_argo0
))
1466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
1473 wxPy_BEGIN_ALLOW_THREADS
;
1474 wxWindow_GetSizeTuple(_arg0
,_arg1
,_arg2
);
1476 wxPy_END_ALLOW_THREADS
;
1477 } Py_INCREF(Py_None
);
1478 _resultobj
= Py_None
;
1481 o
= PyInt_FromLong((long) (*_arg1
));
1482 _resultobj
= t_output_helper(_resultobj
, o
);
1486 o
= PyInt_FromLong((long) (*_arg2
));
1487 _resultobj
= t_output_helper(_resultobj
, o
);
1492 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
1493 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1494 PyObject
* _resultobj
;
1497 PyObject
* _argo0
= 0;
1498 char *_kwnames
[] = { "self", NULL
};
1502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSize",_kwnames
,&_argo0
))
1505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
1512 wxPy_BEGIN_ALLOW_THREADS
;
1513 _result
= new wxSize (wxWindow_GetSize(_arg0
));
1515 wxPy_END_ALLOW_THREADS
;
1516 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1517 _resultobj
= Py_BuildValue("s",_ptemp
);
1521 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
1522 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1523 PyObject
* _resultobj
;
1530 PyObject
* _argo0
= 0;
1531 PyObject
* _obj1
= 0;
1532 char *_kwnames
[] = { "self","string", NULL
};
1541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
1544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
1551 if (!PyString_Check(_obj1
)) {
1552 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1555 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1558 wxPy_BEGIN_ALLOW_THREADS
;
1559 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
1561 wxPy_END_ALLOW_THREADS
;
1562 } Py_INCREF(Py_None
);
1563 _resultobj
= Py_None
;
1566 o
= PyInt_FromLong((long) (*_arg2
));
1567 _resultobj
= t_output_helper(_resultobj
, o
);
1571 o
= PyInt_FromLong((long) (*_arg3
));
1572 _resultobj
= t_output_helper(_resultobj
, o
);
1581 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1582 static PyObject
*_wrap_wxWindow_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1583 PyObject
* _resultobj
;
1594 wxFont
* _arg6
= (wxFont
*) NULL
;
1595 PyObject
* _argo0
= 0;
1596 PyObject
* _obj1
= 0;
1597 PyObject
* _argo6
= 0;
1598 char *_kwnames
[] = { "self","string","font", NULL
};
1613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxWindow_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
1616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
1623 if (!PyString_Check(_obj1
)) {
1624 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1627 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1630 if (_argo6
== Py_None
) { _arg6
= NULL
; }
1631 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
1632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
1637 wxPy_BEGIN_ALLOW_THREADS
;
1638 wxWindow_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1640 wxPy_END_ALLOW_THREADS
;
1641 } Py_INCREF(Py_None
);
1642 _resultobj
= Py_None
;
1645 o
= PyInt_FromLong((long) (*_arg2
));
1646 _resultobj
= t_output_helper(_resultobj
, o
);
1650 o
= PyInt_FromLong((long) (*_arg3
));
1651 _resultobj
= t_output_helper(_resultobj
, o
);
1655 o
= PyInt_FromLong((long) (*_arg4
));
1656 _resultobj
= t_output_helper(_resultobj
, o
);
1660 o
= PyInt_FromLong((long) (*_arg5
));
1661 _resultobj
= t_output_helper(_resultobj
, o
);
1670 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
1671 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1672 PyObject
* _resultobj
;
1675 PyObject
* _argo0
= 0;
1676 char *_kwnames
[] = { "self", NULL
};
1679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetTitle",_kwnames
,&_argo0
))
1682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
1689 wxPy_BEGIN_ALLOW_THREADS
;
1690 _result
= new wxString (wxWindow_GetTitle(_arg0
));
1692 wxPy_END_ALLOW_THREADS
;
1694 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1702 #define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
1703 static PyObject
*_wrap_wxWindow_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1704 PyObject
* _resultobj
;
1707 PyObject
* _argo0
= 0;
1708 char *_kwnames
[] = { "self", NULL
};
1712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetUpdateRegion",_kwnames
,&_argo0
))
1715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
1722 wxPy_BEGIN_ALLOW_THREADS
;
1723 _result
= new wxRegion (wxWindow_GetUpdateRegion(_arg0
));
1725 wxPy_END_ALLOW_THREADS
;
1726 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRegion_p");
1727 _resultobj
= Py_BuildValue("s",_ptemp
);
1731 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
1732 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1733 PyObject
* _resultobj
;
1736 PyObject
* _argo0
= 0;
1737 char *_kwnames
[] = { "self", NULL
};
1740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetWindowStyleFlag",_kwnames
,&_argo0
))
1743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
1750 wxPy_BEGIN_ALLOW_THREADS
;
1751 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
1753 wxPy_END_ALLOW_THREADS
;
1754 } _resultobj
= Py_BuildValue("l",_result
);
1758 #define wxWindow_Hide(_swigobj) (_swigobj->Hide())
1759 static PyObject
*_wrap_wxWindow_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1760 PyObject
* _resultobj
;
1763 PyObject
* _argo0
= 0;
1764 char *_kwnames
[] = { "self", NULL
};
1767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Hide",_kwnames
,&_argo0
))
1770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
1777 wxPy_BEGIN_ALLOW_THREADS
;
1778 _result
= (bool )wxWindow_Hide(_arg0
);
1780 wxPy_END_ALLOW_THREADS
;
1781 } _resultobj
= Py_BuildValue("i",_result
);
1785 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
1786 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1787 PyObject
* _resultobj
;
1789 PyObject
* _argo0
= 0;
1790 char *_kwnames
[] = { "self", NULL
};
1793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_InitDialog",_kwnames
,&_argo0
))
1796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
1803 wxPy_BEGIN_ALLOW_THREADS
;
1804 wxWindow_InitDialog(_arg0
);
1806 wxPy_END_ALLOW_THREADS
;
1807 } Py_INCREF(Py_None
);
1808 _resultobj
= Py_None
;
1812 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
1813 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1814 PyObject
* _resultobj
;
1817 PyObject
* _argo0
= 0;
1818 char *_kwnames
[] = { "self", NULL
};
1821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsEnabled",_kwnames
,&_argo0
))
1824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
1831 wxPy_BEGIN_ALLOW_THREADS
;
1832 _result
= (bool )wxWindow_IsEnabled(_arg0
);
1834 wxPy_END_ALLOW_THREADS
;
1835 } _resultobj
= Py_BuildValue("i",_result
);
1839 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
1840 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1841 PyObject
* _resultobj
;
1844 PyObject
* _argo0
= 0;
1845 char *_kwnames
[] = { "self", NULL
};
1848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsRetained",_kwnames
,&_argo0
))
1851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
1858 wxPy_BEGIN_ALLOW_THREADS
;
1859 _result
= (bool )wxWindow_IsRetained(_arg0
);
1861 wxPy_END_ALLOW_THREADS
;
1862 } _resultobj
= Py_BuildValue("i",_result
);
1866 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
1867 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1868 PyObject
* _resultobj
;
1871 PyObject
* _argo0
= 0;
1872 char *_kwnames
[] = { "self", NULL
};
1875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsShown",_kwnames
,&_argo0
))
1878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
1885 wxPy_BEGIN_ALLOW_THREADS
;
1886 _result
= (bool )wxWindow_IsShown(_arg0
);
1888 wxPy_END_ALLOW_THREADS
;
1889 } _resultobj
= Py_BuildValue("i",_result
);
1893 #define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
1894 static PyObject
*_wrap_wxWindow_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1895 PyObject
* _resultobj
;
1898 PyObject
* _argo0
= 0;
1899 char *_kwnames
[] = { "self", NULL
};
1902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsTopLevel",_kwnames
,&_argo0
))
1905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
1912 wxPy_BEGIN_ALLOW_THREADS
;
1913 _result
= (bool )wxWindow_IsTopLevel(_arg0
);
1915 wxPy_END_ALLOW_THREADS
;
1916 } _resultobj
= Py_BuildValue("i",_result
);
1920 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
1921 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1922 PyObject
* _resultobj
;
1924 PyObject
* _argo0
= 0;
1925 char *_kwnames
[] = { "self", NULL
};
1928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Layout",_kwnames
,&_argo0
))
1931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
1938 wxPy_BEGIN_ALLOW_THREADS
;
1939 wxWindow_Layout(_arg0
);
1941 wxPy_END_ALLOW_THREADS
;
1942 } Py_INCREF(Py_None
);
1943 _resultobj
= Py_None
;
1947 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
1948 static PyObject
*_wrap_wxWindow_LoadFromResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1949 PyObject
* _resultobj
;
1954 wxResourceTable
* _arg3
= (wxResourceTable
*) NULL
;
1955 PyObject
* _argo0
= 0;
1956 PyObject
* _argo1
= 0;
1957 PyObject
* _obj2
= 0;
1958 PyObject
* _argo3
= 0;
1959 char *_kwnames
[] = { "self","parent","resourceName","resourceTable", NULL
};
1962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|O:wxWindow_LoadFromResource",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_argo3
))
1965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
1972 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1973 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
1979 if (!PyString_Check(_obj2
)) {
1980 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1983 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
1986 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1987 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxResourceTable_p")) {
1988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
1993 wxPy_BEGIN_ALLOW_THREADS
;
1994 _result
= (bool )wxWindow_LoadFromResource(_arg0
,_arg1
,*_arg2
,_arg3
);
1996 wxPy_END_ALLOW_THREADS
;
1997 } _resultobj
= Py_BuildValue("i",_result
);
2005 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
2006 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2007 PyObject
* _resultobj
;
2009 PyObject
* _argo0
= 0;
2010 char *_kwnames
[] = { "self", NULL
};
2013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Lower",_kwnames
,&_argo0
))
2016 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2017 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
2023 wxPy_BEGIN_ALLOW_THREADS
;
2024 wxWindow_Lower(_arg0
);
2026 wxPy_END_ALLOW_THREADS
;
2027 } Py_INCREF(Py_None
);
2028 _resultobj
= Py_None
;
2032 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
2033 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2034 PyObject
* _resultobj
;
2037 PyObject
* _argo0
= 0;
2039 char *_kwnames
[] = { "self","flag", NULL
};
2042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_MakeModal",_kwnames
,&_argo0
,&tempbool1
))
2045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
2051 _arg1
= (bool ) tempbool1
;
2053 wxPy_BEGIN_ALLOW_THREADS
;
2054 wxWindow_MakeModal(_arg0
,_arg1
);
2056 wxPy_END_ALLOW_THREADS
;
2057 } Py_INCREF(Py_None
);
2058 _resultobj
= Py_None
;
2062 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2063 static PyObject
*_wrap_wxWindow_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2064 PyObject
* _resultobj
;
2068 PyObject
* _argo0
= 0;
2069 char *_kwnames
[] = { "self","x","y", NULL
};
2072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
2082 wxPy_BEGIN_ALLOW_THREADS
;
2083 wxWindow_MoveXY(_arg0
,_arg1
,_arg2
);
2085 wxPy_END_ALLOW_THREADS
;
2086 } Py_INCREF(Py_None
);
2087 _resultobj
= Py_None
;
2091 #define wxWindow_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2092 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2093 PyObject
* _resultobj
;
2096 PyObject
* _argo0
= 0;
2097 PyObject
* _argo1
= 0;
2098 char *_kwnames
[] = { "self","point", NULL
};
2101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Move",_kwnames
,&_argo0
,&_argo1
))
2104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
2111 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2112 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
2113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Move. Expected _wxPoint_p.");
2118 wxPy_BEGIN_ALLOW_THREADS
;
2119 wxWindow_Move(_arg0
,*_arg1
);
2121 wxPy_END_ALLOW_THREADS
;
2122 } Py_INCREF(Py_None
);
2123 _resultobj
= Py_None
;
2127 #define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
2128 static PyObject
*_wrap_wxWindow_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2129 PyObject
* _resultobj
;
2135 PyObject
* _argo0
= 0;
2136 PyObject
* _argo1
= 0;
2137 char *_kwnames
[] = { "self","menu","x","y", NULL
};
2140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxWindow_PopupMenuXY",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
2143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
2150 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2151 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
2152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
2157 wxPy_BEGIN_ALLOW_THREADS
;
2158 _result
= (bool )wxWindow_PopupMenuXY(_arg0
,_arg1
,_arg2
,_arg3
);
2160 wxPy_END_ALLOW_THREADS
;
2161 } _resultobj
= Py_BuildValue("i",_result
);
2165 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
2166 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2167 PyObject
* _resultobj
;
2172 PyObject
* _argo0
= 0;
2173 PyObject
* _argo1
= 0;
2174 PyObject
* _argo2
= 0;
2175 char *_kwnames
[] = { "self","menu","pos", NULL
};
2178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_PopupMenu",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
2181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
2188 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2189 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
2190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
2195 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2196 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
2197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxWindow_PopupMenu. Expected _wxPoint_p.");
2202 wxPy_BEGIN_ALLOW_THREADS
;
2203 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,*_arg2
);
2205 wxPy_END_ALLOW_THREADS
;
2206 } _resultobj
= Py_BuildValue("i",_result
);
2210 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
2211 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2212 PyObject
* _resultobj
;
2214 PyObject
* _argo0
= 0;
2215 char *_kwnames
[] = { "self", NULL
};
2218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Raise",_kwnames
,&_argo0
))
2221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
2228 wxPy_BEGIN_ALLOW_THREADS
;
2229 wxWindow_Raise(_arg0
);
2231 wxPy_END_ALLOW_THREADS
;
2232 } Py_INCREF(Py_None
);
2233 _resultobj
= Py_None
;
2237 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
2238 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2239 PyObject
* _resultobj
;
2241 bool _arg1
= (bool ) TRUE
;
2242 wxRect
* _arg2
= (wxRect
*) NULL
;
2243 PyObject
* _argo0
= 0;
2244 int tempbool1
= (int) TRUE
;
2245 PyObject
* _argo2
= 0;
2246 char *_kwnames
[] = { "self","eraseBackground","rect", NULL
};
2249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxWindow_Refresh",_kwnames
,&_argo0
,&tempbool1
,&_argo2
))
2252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
2258 _arg1
= (bool ) tempbool1
;
2260 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2261 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxRect_p")) {
2262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxWindow_Refresh. Expected _wxRect_p.");
2267 wxPy_BEGIN_ALLOW_THREADS
;
2268 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
2270 wxPy_END_ALLOW_THREADS
;
2271 } Py_INCREF(Py_None
);
2272 _resultobj
= Py_None
;
2276 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
2277 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2278 PyObject
* _resultobj
;
2280 PyObject
* _argo0
= 0;
2281 char *_kwnames
[] = { "self", NULL
};
2284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_ReleaseMouse",_kwnames
,&_argo0
))
2287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
2294 wxPy_BEGIN_ALLOW_THREADS
;
2295 wxWindow_ReleaseMouse(_arg0
);
2297 wxPy_END_ALLOW_THREADS
;
2298 } Py_INCREF(Py_None
);
2299 _resultobj
= Py_None
;
2303 #define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
2304 static PyObject
*_wrap_wxWindow_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2305 PyObject
* _resultobj
;
2309 PyObject
* _argo0
= 0;
2310 PyObject
* _argo1
= 0;
2311 char *_kwnames
[] = { "self","newParent", NULL
};
2314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Reparent",_kwnames
,&_argo0
,&_argo1
))
2317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
2324 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2325 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
2331 wxPy_BEGIN_ALLOW_THREADS
;
2332 _result
= (bool )wxWindow_Reparent(_arg0
,_arg1
);
2334 wxPy_END_ALLOW_THREADS
;
2335 } _resultobj
= Py_BuildValue("i",_result
);
2339 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
2340 static PyObject
*_wrap_wxWindow_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2341 PyObject
* _resultobj
;
2345 PyObject
* _argo0
= 0;
2347 PyObject
* _obj1
= 0;
2349 PyObject
* _obj2
= 0;
2350 char *_kwnames
[] = { "self","x","y", NULL
};
2353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ScreenToClientXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
2363 temp
= (int) PyInt_AsLong(_obj1
);
2367 temp0
= (int) PyInt_AsLong(_obj2
);
2371 wxPy_BEGIN_ALLOW_THREADS
;
2372 wxWindow_ScreenToClientXY(_arg0
,_arg1
,_arg2
);
2374 wxPy_END_ALLOW_THREADS
;
2375 } Py_INCREF(Py_None
);
2376 _resultobj
= Py_None
;
2379 o
= PyInt_FromLong((long) (*_arg1
));
2380 _resultobj
= t_output_helper(_resultobj
, o
);
2384 o
= PyInt_FromLong((long) (*_arg2
));
2385 _resultobj
= t_output_helper(_resultobj
, o
);
2390 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
2391 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2392 PyObject
* _resultobj
;
2396 PyObject
* _argo0
= 0;
2397 PyObject
* _argo1
= 0;
2398 char *_kwnames
[] = { "self","pt", NULL
};
2402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ScreenToClient",_kwnames
,&_argo0
,&_argo1
))
2405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
2412 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2413 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
2414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ScreenToClient. Expected _wxPoint_p.");
2419 wxPy_BEGIN_ALLOW_THREADS
;
2420 _result
= new wxPoint (wxWindow_ScreenToClient(_arg0
,*_arg1
));
2422 wxPy_END_ALLOW_THREADS
;
2423 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2424 _resultobj
= Py_BuildValue("s",_ptemp
);
2428 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
2429 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2430 PyObject
* _resultobj
;
2434 wxRect
* _arg3
= (wxRect
*) NULL
;
2435 PyObject
* _argo0
= 0;
2436 PyObject
* _argo3
= 0;
2437 char *_kwnames
[] = { "self","dx","dy","rect", NULL
};
2440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|O:wxWindow_ScrollWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
2443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
2450 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2451 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxRect_p")) {
2452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_ScrollWindow. Expected _wxRect_p.");
2457 wxPy_BEGIN_ALLOW_THREADS
;
2458 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
2460 wxPy_END_ALLOW_THREADS
;
2461 } Py_INCREF(Py_None
);
2462 _resultobj
= Py_None
;
2466 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
2467 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2468 PyObject
* _resultobj
;
2470 wxAcceleratorTable
* _arg1
;
2471 PyObject
* _argo0
= 0;
2472 PyObject
* _argo1
= 0;
2473 char *_kwnames
[] = { "self","accel", NULL
};
2476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetAcceleratorTable",_kwnames
,&_argo0
,&_argo1
))
2479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
2486 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2487 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
2488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
2493 wxPy_BEGIN_ALLOW_THREADS
;
2494 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
2496 wxPy_END_ALLOW_THREADS
;
2497 } Py_INCREF(Py_None
);
2498 _resultobj
= Py_None
;
2502 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
2503 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2504 PyObject
* _resultobj
;
2507 PyObject
* _argo0
= 0;
2509 char *_kwnames
[] = { "self","autoLayout", NULL
};
2512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetAutoLayout",_kwnames
,&_argo0
,&tempbool1
))
2515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
2521 _arg1
= (bool ) tempbool1
;
2523 wxPy_BEGIN_ALLOW_THREADS
;
2524 wxWindow_SetAutoLayout(_arg0
,_arg1
);
2526 wxPy_END_ALLOW_THREADS
;
2527 } Py_INCREF(Py_None
);
2528 _resultobj
= Py_None
;
2532 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
2533 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2534 PyObject
* _resultobj
;
2537 PyObject
* _argo0
= 0;
2538 PyObject
* _argo1
= 0;
2539 char *_kwnames
[] = { "self","colour", NULL
};
2542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetBackgroundColour",_kwnames
,&_argo0
,&_argo1
))
2545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
2552 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2553 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetBackgroundColour. Expected _wxColour_p.");
2559 wxPy_BEGIN_ALLOW_THREADS
;
2560 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
2562 wxPy_END_ALLOW_THREADS
;
2563 } Py_INCREF(Py_None
);
2564 _resultobj
= Py_None
;
2568 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
2569 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2570 PyObject
* _resultobj
;
2572 wxLayoutConstraints
* _arg1
;
2573 PyObject
* _argo0
= 0;
2574 PyObject
* _argo1
= 0;
2575 char *_kwnames
[] = { "self","constraints", NULL
};
2578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetConstraints",_kwnames
,&_argo0
,&_argo1
))
2581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
2588 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2589 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
2590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
2595 wxPy_BEGIN_ALLOW_THREADS
;
2596 wxWindow_SetConstraints(_arg0
,_arg1
);
2598 wxPy_END_ALLOW_THREADS
;
2599 } Py_INCREF(Py_None
);
2600 _resultobj
= Py_None
;
2604 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
2605 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2606 PyObject
* _resultobj
;
2608 PyObject
* _argo0
= 0;
2609 char *_kwnames
[] = { "self", NULL
};
2612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_SetFocus",_kwnames
,&_argo0
))
2615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
2622 wxPy_BEGIN_ALLOW_THREADS
;
2623 wxWindow_SetFocus(_arg0
);
2625 wxPy_END_ALLOW_THREADS
;
2626 } Py_INCREF(Py_None
);
2627 _resultobj
= Py_None
;
2631 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
2632 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2633 PyObject
* _resultobj
;
2636 PyObject
* _argo0
= 0;
2637 PyObject
* _argo1
= 0;
2638 char *_kwnames
[] = { "self","font", NULL
};
2641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetFont",_kwnames
,&_argo0
,&_argo1
))
2644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
2651 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2652 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
2658 wxPy_BEGIN_ALLOW_THREADS
;
2659 wxWindow_SetFont(_arg0
,*_arg1
);
2661 wxPy_END_ALLOW_THREADS
;
2662 } Py_INCREF(Py_None
);
2663 _resultobj
= Py_None
;
2667 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
2668 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2669 PyObject
* _resultobj
;
2672 PyObject
* _argo0
= 0;
2673 PyObject
* _argo1
= 0;
2674 char *_kwnames
[] = { "self","colour", NULL
};
2677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetForegroundColour",_kwnames
,&_argo0
,&_argo1
))
2680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
2687 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2688 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetForegroundColour. Expected _wxColour_p.");
2694 wxPy_BEGIN_ALLOW_THREADS
;
2695 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
2697 wxPy_END_ALLOW_THREADS
;
2698 } Py_INCREF(Py_None
);
2699 _resultobj
= Py_None
;
2703 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
2704 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2705 PyObject
* _resultobj
;
2708 PyObject
* _argo0
= 0;
2709 char *_kwnames
[] = { "self","id", NULL
};
2712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetId",_kwnames
,&_argo0
,&_arg1
))
2715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
2722 wxPy_BEGIN_ALLOW_THREADS
;
2723 wxWindow_SetId(_arg0
,_arg1
);
2725 wxPy_END_ALLOW_THREADS
;
2726 } Py_INCREF(Py_None
);
2727 _resultobj
= Py_None
;
2731 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
2732 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2733 PyObject
* _resultobj
;
2736 PyObject
* _argo0
= 0;
2737 PyObject
* _obj1
= 0;
2738 char *_kwnames
[] = { "self","name", NULL
};
2741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetName",_kwnames
,&_argo0
,&_obj1
))
2744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
2751 if (!PyString_Check(_obj1
)) {
2752 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2755 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2758 wxPy_BEGIN_ALLOW_THREADS
;
2759 wxWindow_SetName(_arg0
,*_arg1
);
2761 wxPy_END_ALLOW_THREADS
;
2762 } Py_INCREF(Py_None
);
2763 _resultobj
= Py_None
;
2771 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2772 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2773 PyObject
* _resultobj
;
2779 bool _arg5
= (bool ) TRUE
;
2780 PyObject
* _argo0
= 0;
2781 int tempbool5
= (int) TRUE
;
2782 char *_kwnames
[] = { "self","orientation","position","thumbSize","range","refresh", NULL
};
2785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
2788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
2794 _arg5
= (bool ) tempbool5
;
2796 wxPy_BEGIN_ALLOW_THREADS
;
2797 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2799 wxPy_END_ALLOW_THREADS
;
2800 } Py_INCREF(Py_None
);
2801 _resultobj
= Py_None
;
2805 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
2806 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2807 PyObject
* _resultobj
;
2811 bool _arg3
= (bool ) TRUE
;
2812 PyObject
* _argo0
= 0;
2813 int tempbool3
= (int) TRUE
;
2814 char *_kwnames
[] = { "self","orientation","pos","refresh", NULL
};
2817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_SetScrollPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
2820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
2826 _arg3
= (bool ) tempbool3
;
2828 wxPy_BEGIN_ALLOW_THREADS
;
2829 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
2831 wxPy_END_ALLOW_THREADS
;
2832 } Py_INCREF(Py_None
);
2833 _resultobj
= Py_None
;
2837 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2838 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2839 PyObject
* _resultobj
;
2845 int _arg5
= (int ) wxSIZE_AUTO
;
2846 PyObject
* _argo0
= 0;
2847 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
2850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetDimensions",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
2860 wxPy_BEGIN_ALLOW_THREADS
;
2861 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2863 wxPy_END_ALLOW_THREADS
;
2864 } Py_INCREF(Py_None
);
2865 _resultobj
= Py_None
;
2869 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
2870 self
->SetSize(size
.x
, size
.y
);
2872 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2873 PyObject
* _resultobj
;
2876 PyObject
* _argo0
= 0;
2877 PyObject
* _argo1
= 0;
2878 char *_kwnames
[] = { "self","size", NULL
};
2881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSize",_kwnames
,&_argo0
,&_argo1
))
2884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
2891 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2892 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSize_p")) {
2893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSize. Expected _wxSize_p.");
2898 wxPy_BEGIN_ALLOW_THREADS
;
2899 wxWindow_SetSize(_arg0
,*_arg1
);
2901 wxPy_END_ALLOW_THREADS
;
2902 } Py_INCREF(Py_None
);
2903 _resultobj
= Py_None
;
2907 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
) {
2908 self
->SetSize(pos
.x
, pos
.y
, -1, -1);
2910 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2911 PyObject
* _resultobj
;
2914 PyObject
* _argo0
= 0;
2915 PyObject
* _argo1
= 0;
2916 char *_kwnames
[] = { "self","pos", NULL
};
2919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetPosition",_kwnames
,&_argo0
,&_argo1
))
2922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
2929 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2930 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
2931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetPosition. Expected _wxPoint_p.");
2936 wxPy_BEGIN_ALLOW_THREADS
;
2937 wxWindow_SetPosition(_arg0
,*_arg1
);
2939 wxPy_END_ALLOW_THREADS
;
2940 } Py_INCREF(Py_None
);
2941 _resultobj
= Py_None
;
2945 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2946 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2947 PyObject
* _resultobj
;
2949 int _arg1
= (int ) -1;
2950 int _arg2
= (int ) -1;
2951 int _arg3
= (int ) -1;
2952 int _arg4
= (int ) -1;
2953 int _arg5
= (int ) -1;
2954 int _arg6
= (int ) -1;
2955 PyObject
* _argo0
= 0;
2956 char *_kwnames
[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL
};
2959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iiiiii:wxWindow_SetSizeHints",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
2962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
2969 wxPy_BEGIN_ALLOW_THREADS
;
2970 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2972 wxPy_END_ALLOW_THREADS
;
2973 } Py_INCREF(Py_None
);
2974 _resultobj
= Py_None
;
2978 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
2979 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2980 PyObject
* _resultobj
;
2984 PyObject
* _argo0
= 0;
2985 char *_kwnames
[] = { "self","width","height", NULL
};
2988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_SetClientSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
2998 wxPy_BEGIN_ALLOW_THREADS
;
2999 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
3001 wxPy_END_ALLOW_THREADS
;
3002 } Py_INCREF(Py_None
);
3003 _resultobj
= Py_None
;
3007 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
3008 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3009 PyObject
* _resultobj
;
3012 PyObject
* _argo0
= 0;
3013 PyObject
* _argo1
= 0;
3014 char *_kwnames
[] = { "self","size", NULL
};
3017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetClientSize",_kwnames
,&_argo0
,&_argo1
))
3020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
3027 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3028 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSize_p")) {
3029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetClientSize. Expected _wxSize_p.");
3034 wxPy_BEGIN_ALLOW_THREADS
;
3035 wxWindow_SetClientSize(_arg0
,*_arg1
);
3037 wxPy_END_ALLOW_THREADS
;
3038 } Py_INCREF(Py_None
);
3039 _resultobj
= Py_None
;
3043 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
3044 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3045 PyObject
* _resultobj
;
3048 PyObject
* _argo0
= 0;
3049 PyObject
* _argo1
= 0;
3050 char *_kwnames
[] = { "self","cursor", NULL
};
3053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCursor",_kwnames
,&_argo0
,&_argo1
))
3056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
3063 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3064 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
3070 wxPy_BEGIN_ALLOW_THREADS
;
3071 wxWindow_SetCursor(_arg0
,*_arg1
);
3073 wxPy_END_ALLOW_THREADS
;
3074 } Py_INCREF(Py_None
);
3075 _resultobj
= Py_None
;
3079 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
3080 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3081 PyObject
* _resultobj
;
3084 PyObject
* _argo0
= 0;
3085 PyObject
* _obj1
= 0;
3086 char *_kwnames
[] = { "self","title", NULL
};
3089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
3092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
3099 if (!PyString_Check(_obj1
)) {
3100 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3103 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3106 wxPy_BEGIN_ALLOW_THREADS
;
3107 wxWindow_SetTitle(_arg0
,*_arg1
);
3109 wxPy_END_ALLOW_THREADS
;
3110 } Py_INCREF(Py_None
);
3111 _resultobj
= Py_None
;
3119 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3120 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3121 PyObject
* _resultobj
;
3125 PyObject
* _argo0
= 0;
3127 char *_kwnames
[] = { "self","show", NULL
};
3130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
3133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
3139 _arg1
= (bool ) tempbool1
;
3141 wxPy_BEGIN_ALLOW_THREADS
;
3142 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
3144 wxPy_END_ALLOW_THREADS
;
3145 } _resultobj
= Py_BuildValue("i",_result
);
3149 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
3150 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3151 PyObject
* _resultobj
;
3154 PyObject
* _argo0
= 0;
3155 char *_kwnames
[] = { "self", NULL
};
3158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataFromWindow",_kwnames
,&_argo0
))
3161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
3168 wxPy_BEGIN_ALLOW_THREADS
;
3169 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
3171 wxPy_END_ALLOW_THREADS
;
3172 } _resultobj
= Py_BuildValue("i",_result
);
3176 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
3177 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3178 PyObject
* _resultobj
;
3181 PyObject
* _argo0
= 0;
3182 char *_kwnames
[] = { "self", NULL
};
3185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataToWindow",_kwnames
,&_argo0
))
3188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
3195 wxPy_BEGIN_ALLOW_THREADS
;
3196 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
3198 wxPy_END_ALLOW_THREADS
;
3199 } _resultobj
= Py_BuildValue("i",_result
);
3203 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
3204 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3205 PyObject
* _resultobj
;
3208 PyObject
* _argo0
= 0;
3209 char *_kwnames
[] = { "self", NULL
};
3212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Validate",_kwnames
,&_argo0
))
3215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
3222 wxPy_BEGIN_ALLOW_THREADS
;
3223 _result
= (bool )wxWindow_Validate(_arg0
);
3225 wxPy_END_ALLOW_THREADS
;
3226 } _resultobj
= Py_BuildValue("i",_result
);
3230 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
3231 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3232 PyObject
* _resultobj
;
3236 PyObject
* _argo0
= 0;
3237 char *_kwnames
[] = { "self","x","y", NULL
};
3240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_WarpPointer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
3250 wxPy_BEGIN_ALLOW_THREADS
;
3251 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
3253 wxPy_END_ALLOW_THREADS
;
3254 } Py_INCREF(Py_None
);
3255 _resultobj
= Py_None
;
3259 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
3260 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3261 PyObject
* _resultobj
;
3265 PyObject
* _argo0
= 0;
3266 PyObject
* _argo1
= 0;
3267 char *_kwnames
[] = { "self","pt", NULL
};
3271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames
,&_argo0
,&_argo1
))
3274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
3281 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3282 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
3283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertDialogPointToPixels. Expected _wxPoint_p.");
3288 wxPy_BEGIN_ALLOW_THREADS
;
3289 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
3291 wxPy_END_ALLOW_THREADS
;
3292 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3293 _resultobj
= Py_BuildValue("s",_ptemp
);
3297 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
3298 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3299 PyObject
* _resultobj
;
3303 PyObject
* _argo0
= 0;
3304 PyObject
* _argo1
= 0;
3305 char *_kwnames
[] = { "self","sz", NULL
};
3309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames
,&_argo0
,&_argo1
))
3312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
3319 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3320 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSize_p")) {
3321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertDialogSizeToPixels. Expected _wxSize_p.");
3326 wxPy_BEGIN_ALLOW_THREADS
;
3327 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
3329 wxPy_END_ALLOW_THREADS
;
3330 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3331 _resultobj
= Py_BuildValue("s",_ptemp
);
3335 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
3336 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3337 PyObject
* _resultobj
;
3341 PyObject
* _argo0
= 0;
3342 PyObject
* _argo1
= 0;
3343 char *_kwnames
[] = { "self","pt", NULL
};
3347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames
,&_argo0
,&_argo1
))
3350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
3357 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3358 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
3359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertPixelPointToDialog. Expected _wxPoint_p.");
3364 wxPy_BEGIN_ALLOW_THREADS
;
3365 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
3367 wxPy_END_ALLOW_THREADS
;
3368 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3369 _resultobj
= Py_BuildValue("s",_ptemp
);
3373 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
3374 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3375 PyObject
* _resultobj
;
3379 PyObject
* _argo0
= 0;
3380 PyObject
* _argo1
= 0;
3381 char *_kwnames
[] = { "self","sz", NULL
};
3385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames
,&_argo0
,&_argo1
))
3388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
3395 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3396 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSize_p")) {
3397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertPixelSizeToDialog. Expected _wxSize_p.");
3402 wxPy_BEGIN_ALLOW_THREADS
;
3403 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
3405 wxPy_END_ALLOW_THREADS
;
3406 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3407 _resultobj
= Py_BuildValue("s",_ptemp
);
3411 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
3412 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3413 PyObject
* _resultobj
;
3416 PyObject
* _argo0
= 0;
3417 PyObject
* _obj1
= 0;
3418 char *_kwnames
[] = { "self","tip", NULL
};
3421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTipString",_kwnames
,&_argo0
,&_obj1
))
3424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
3431 if (!PyString_Check(_obj1
)) {
3432 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3435 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3438 wxPy_BEGIN_ALLOW_THREADS
;
3439 wxWindow_SetToolTipString(_arg0
,*_arg1
);
3441 wxPy_END_ALLOW_THREADS
;
3442 } Py_INCREF(Py_None
);
3443 _resultobj
= Py_None
;
3451 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
3452 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3453 PyObject
* _resultobj
;
3456 PyObject
* _argo0
= 0;
3457 PyObject
* _argo1
= 0;
3458 char *_kwnames
[] = { "self","tooltip", NULL
};
3461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTip",_kwnames
,&_argo0
,&_argo1
))
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_SetToolTip. Expected _wxWindow_p.");
3471 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3472 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolTip_p")) {
3473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
3478 wxPy_BEGIN_ALLOW_THREADS
;
3479 wxWindow_SetToolTip(_arg0
,_arg1
);
3481 wxPy_END_ALLOW_THREADS
;
3482 } Py_INCREF(Py_None
);
3483 _resultobj
= Py_None
;
3487 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
3488 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3489 PyObject
* _resultobj
;
3490 wxToolTip
* _result
;
3492 PyObject
* _argo0
= 0;
3493 char *_kwnames
[] = { "self", NULL
};
3497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetToolTip",_kwnames
,&_argo0
))
3500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
3507 wxPy_BEGIN_ALLOW_THREADS
;
3508 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
3510 wxPy_END_ALLOW_THREADS
;
3512 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
3513 _resultobj
= Py_BuildValue("s",_ptemp
);
3516 _resultobj
= Py_None
;
3521 static void *SwigwxPanelTowxWindow(void *ptr
) {
3524 src
= (wxPanel
*) ptr
;
3525 dest
= (wxWindow
*) src
;
3526 return (void *) dest
;
3529 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
3532 src
= (wxPanel
*) ptr
;
3533 dest
= (wxEvtHandler
*) src
;
3534 return (void *) dest
;
3537 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3538 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3539 PyObject
* _resultobj
;
3543 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
3544 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
3545 long _arg4
= (long ) wxTAB_TRAVERSAL
;
3546 char * _arg5
= (char *) "panel";
3547 PyObject
* _argo0
= 0;
3548 PyObject
* _argo2
= 0;
3549 PyObject
* _argo3
= 0;
3550 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
3554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxPanel",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
))
3557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
3564 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3565 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
3566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPanel. Expected _wxPoint_p.");
3571 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3572 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxSize_p")) {
3573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxPanel. Expected _wxSize_p.");
3578 wxPy_BEGIN_ALLOW_THREADS
;
3579 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
3581 wxPy_END_ALLOW_THREADS
;
3583 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
3584 _resultobj
= Py_BuildValue("s",_ptemp
);
3587 _resultobj
= Py_None
;
3592 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
3593 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3594 PyObject
* _resultobj
;
3596 PyObject
* _argo0
= 0;
3597 char *_kwnames
[] = { "self", NULL
};
3600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_InitDialog",_kwnames
,&_argo0
))
3603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
3605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
3610 wxPy_BEGIN_ALLOW_THREADS
;
3611 wxPanel_InitDialog(_arg0
);
3613 wxPy_END_ALLOW_THREADS
;
3614 } Py_INCREF(Py_None
);
3615 _resultobj
= Py_None
;
3619 #define wxPanel_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
3620 static PyObject
*_wrap_wxPanel_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3621 PyObject
* _resultobj
;
3624 PyObject
* _argo0
= 0;
3625 char *_kwnames
[] = { "self", NULL
};
3629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_GetDefaultItem",_kwnames
,&_argo0
))
3632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
3634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_GetDefaultItem. Expected _wxPanel_p.");
3639 wxPy_BEGIN_ALLOW_THREADS
;
3640 _result
= (wxButton
*)wxPanel_GetDefaultItem(_arg0
);
3642 wxPy_END_ALLOW_THREADS
;
3644 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
3645 _resultobj
= Py_BuildValue("s",_ptemp
);
3648 _resultobj
= Py_None
;
3653 #define wxPanel_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
3654 static PyObject
*_wrap_wxPanel_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3655 PyObject
* _resultobj
;
3658 PyObject
* _argo0
= 0;
3659 PyObject
* _argo1
= 0;
3660 char *_kwnames
[] = { "self","btn", NULL
};
3663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPanel_SetDefaultItem",_kwnames
,&_argo0
,&_argo1
))
3666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
3668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_SetDefaultItem. Expected _wxPanel_p.");
3673 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3674 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxButton_p")) {
3675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPanel_SetDefaultItem. Expected _wxButton_p.");
3680 wxPy_BEGIN_ALLOW_THREADS
;
3681 wxPanel_SetDefaultItem(_arg0
,_arg1
);
3683 wxPy_END_ALLOW_THREADS
;
3684 } Py_INCREF(Py_None
);
3685 _resultobj
= Py_None
;
3689 static void *SwigwxDialogTowxPanel(void *ptr
) {
3692 src
= (wxDialog
*) ptr
;
3693 dest
= (wxPanel
*) src
;
3694 return (void *) dest
;
3697 static void *SwigwxDialogTowxWindow(void *ptr
) {
3700 src
= (wxDialog
*) ptr
;
3701 dest
= (wxWindow
*) src
;
3702 return (void *) dest
;
3705 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
3708 src
= (wxDialog
*) ptr
;
3709 dest
= (wxEvtHandler
*) src
;
3710 return (void *) dest
;
3713 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3714 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3715 PyObject
* _resultobj
;
3720 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
3721 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
3722 long _arg5
= (long ) wxDEFAULT_DIALOG_STYLE
;
3723 char * _arg6
= (char *) "dialogBox";
3724 PyObject
* _argo0
= 0;
3725 PyObject
* _obj2
= 0;
3726 PyObject
* _argo3
= 0;
3727 PyObject
* _argo4
= 0;
3728 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
3732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxDialog",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_argo4
,&_arg5
,&_arg6
))
3735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
3742 if (!PyString_Check(_obj2
)) {
3743 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3746 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
3749 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3750 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxPoint_p")) {
3751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxDialog. Expected _wxPoint_p.");
3756 if (_argo4
== Py_None
) { _arg4
= NULL
; }
3757 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxSize_p")) {
3758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxDialog. Expected _wxSize_p.");
3763 wxPy_BEGIN_ALLOW_THREADS
;
3764 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
3766 wxPy_END_ALLOW_THREADS
;
3768 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
3769 _resultobj
= Py_BuildValue("s",_ptemp
);
3772 _resultobj
= Py_None
;
3781 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
3782 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3783 PyObject
* _resultobj
;
3785 int _arg1
= (int ) wxBOTH
;
3786 PyObject
* _argo0
= 0;
3787 char *_kwnames
[] = { "self","direction", NULL
};
3790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDialog_Centre",_kwnames
,&_argo0
,&_arg1
))
3793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
3795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
3800 wxPy_BEGIN_ALLOW_THREADS
;
3801 wxDialog_Centre(_arg0
,_arg1
);
3803 wxPy_END_ALLOW_THREADS
;
3804 } Py_INCREF(Py_None
);
3805 _resultobj
= Py_None
;
3809 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
3810 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3811 PyObject
* _resultobj
;
3814 PyObject
* _argo0
= 0;
3815 char *_kwnames
[] = { "self","retCode", NULL
};
3818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_EndModal",_kwnames
,&_argo0
,&_arg1
))
3821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
3823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
3828 wxPy_BEGIN_ALLOW_THREADS
;
3829 wxDialog_EndModal(_arg0
,_arg1
);
3831 wxPy_END_ALLOW_THREADS
;
3832 } Py_INCREF(Py_None
);
3833 _resultobj
= Py_None
;
3837 #define wxDialog_GetTitle(_swigobj) (_swigobj->GetTitle())
3838 static PyObject
*_wrap_wxDialog_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3839 PyObject
* _resultobj
;
3842 PyObject
* _argo0
= 0;
3843 char *_kwnames
[] = { "self", NULL
};
3846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetTitle",_kwnames
,&_argo0
))
3849 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3850 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
3851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetTitle. Expected _wxDialog_p.");
3856 wxPy_BEGIN_ALLOW_THREADS
;
3857 _result
= new wxString (wxDialog_GetTitle(_arg0
));
3859 wxPy_END_ALLOW_THREADS
;
3861 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3869 #define wxDialog_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
3870 static PyObject
*_wrap_wxDialog_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3871 PyObject
* _resultobj
;
3874 PyObject
* _argo0
= 0;
3876 char *_kwnames
[] = { "self","iconize", NULL
};
3879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Iconize",_kwnames
,&_argo0
,&tempbool1
))
3882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
3884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Iconize. Expected _wxDialog_p.");
3888 _arg1
= (bool ) tempbool1
;
3890 wxPy_BEGIN_ALLOW_THREADS
;
3891 wxDialog_Iconize(_arg0
,_arg1
);
3893 wxPy_END_ALLOW_THREADS
;
3894 } Py_INCREF(Py_None
);
3895 _resultobj
= Py_None
;
3899 #define wxDialog_IsIconized(_swigobj) (_swigobj->IsIconized())
3900 static PyObject
*_wrap_wxDialog_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3901 PyObject
* _resultobj
;
3904 PyObject
* _argo0
= 0;
3905 char *_kwnames
[] = { "self", NULL
};
3908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsIconized",_kwnames
,&_argo0
))
3911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
3913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsIconized. Expected _wxDialog_p.");
3918 wxPy_BEGIN_ALLOW_THREADS
;
3919 _result
= (bool )wxDialog_IsIconized(_arg0
);
3921 wxPy_END_ALLOW_THREADS
;
3922 } _resultobj
= Py_BuildValue("i",_result
);
3926 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
3927 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3928 PyObject
* _resultobj
;
3931 PyObject
* _argo0
= 0;
3933 char *_kwnames
[] = { "self","flag", NULL
};
3936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetModal",_kwnames
,&_argo0
,&tempbool1
))
3939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
3941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
3945 _arg1
= (bool ) tempbool1
;
3947 wxPy_BEGIN_ALLOW_THREADS
;
3948 wxDialog_SetModal(_arg0
,_arg1
);
3950 wxPy_END_ALLOW_THREADS
;
3951 } Py_INCREF(Py_None
);
3952 _resultobj
= Py_None
;
3956 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
3957 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3958 PyObject
* _resultobj
;
3961 PyObject
* _argo0
= 0;
3962 char *_kwnames
[] = { "self", NULL
};
3965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsModal",_kwnames
,&_argo0
))
3968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
3970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
3975 wxPy_BEGIN_ALLOW_THREADS
;
3976 _result
= (bool )wxDialog_IsModal(_arg0
);
3978 wxPy_END_ALLOW_THREADS
;
3979 } _resultobj
= Py_BuildValue("i",_result
);
3983 #define wxDialog_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
3984 static PyObject
*_wrap_wxDialog_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3985 PyObject
* _resultobj
;
3988 PyObject
* _argo0
= 0;
3989 PyObject
* _obj1
= 0;
3990 char *_kwnames
[] = { "self","title", NULL
};
3993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDialog_SetTitle",_kwnames
,&_argo0
,&_obj1
))
3996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
3998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetTitle. Expected _wxDialog_p.");
4003 if (!PyString_Check(_obj1
)) {
4004 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4007 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4010 wxPy_BEGIN_ALLOW_THREADS
;
4011 wxDialog_SetTitle(_arg0
,*_arg1
);
4013 wxPy_END_ALLOW_THREADS
;
4014 } Py_INCREF(Py_None
);
4015 _resultobj
= Py_None
;
4023 #define wxDialog_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4024 static PyObject
*_wrap_wxDialog_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4025 PyObject
* _resultobj
;
4029 PyObject
* _argo0
= 0;
4031 char *_kwnames
[] = { "self","show", NULL
};
4034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Show",_kwnames
,&_argo0
,&tempbool1
))
4037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Show. Expected _wxDialog_p.");
4043 _arg1
= (bool ) tempbool1
;
4045 wxPy_BEGIN_ALLOW_THREADS
;
4046 _result
= (bool )wxDialog_Show(_arg0
,_arg1
);
4048 wxPy_END_ALLOW_THREADS
;
4049 } _resultobj
= Py_BuildValue("i",_result
);
4053 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
4054 static PyObject
*_wrap_wxDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4055 PyObject
* _resultobj
;
4058 PyObject
* _argo0
= 0;
4059 char *_kwnames
[] = { "self", NULL
};
4062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_ShowModal",_kwnames
,&_argo0
))
4065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
4072 wxPy_BEGIN_ALLOW_THREADS
;
4073 _result
= (int )wxDialog_ShowModal(_arg0
);
4075 wxPy_END_ALLOW_THREADS
;
4076 } _resultobj
= Py_BuildValue("i",_result
);
4080 #define wxDialog_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
4081 static PyObject
*_wrap_wxDialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4082 PyObject
* _resultobj
;
4085 PyObject
* _argo0
= 0;
4086 char *_kwnames
[] = { "self", NULL
};
4089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetReturnCode",_kwnames
,&_argo0
))
4092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetReturnCode. Expected _wxDialog_p.");
4099 wxPy_BEGIN_ALLOW_THREADS
;
4100 _result
= (int )wxDialog_GetReturnCode(_arg0
);
4102 wxPy_END_ALLOW_THREADS
;
4103 } _resultobj
= Py_BuildValue("i",_result
);
4107 #define wxDialog_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
4108 static PyObject
*_wrap_wxDialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4109 PyObject
* _resultobj
;
4112 PyObject
* _argo0
= 0;
4113 char *_kwnames
[] = { "self","retCode", NULL
};
4116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetReturnCode",_kwnames
,&_argo0
,&_arg1
))
4119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetReturnCode. Expected _wxDialog_p.");
4126 wxPy_BEGIN_ALLOW_THREADS
;
4127 wxDialog_SetReturnCode(_arg0
,_arg1
);
4129 wxPy_END_ALLOW_THREADS
;
4130 } Py_INCREF(Py_None
);
4131 _resultobj
= Py_None
;
4135 static void *SwigwxScrolledWindowTowxPanel(void *ptr
) {
4136 wxScrolledWindow
*src
;
4138 src
= (wxScrolledWindow
*) ptr
;
4139 dest
= (wxPanel
*) src
;
4140 return (void *) dest
;
4143 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
4144 wxScrolledWindow
*src
;
4146 src
= (wxScrolledWindow
*) ptr
;
4147 dest
= (wxWindow
*) src
;
4148 return (void *) dest
;
4151 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
4152 wxScrolledWindow
*src
;
4154 src
= (wxScrolledWindow
*) ptr
;
4155 dest
= (wxEvtHandler
*) src
;
4156 return (void *) dest
;
4159 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4160 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4161 PyObject
* _resultobj
;
4162 wxScrolledWindow
* _result
;
4164 wxWindowID _arg1
= (wxWindowID
) -1;
4165 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
4166 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
4167 long _arg4
= (long ) wxHSCROLL
|wxVSCROLL
;
4168 char * _arg5
= (char *) "scrolledWindow";
4169 PyObject
* _argo0
= 0;
4170 PyObject
* _argo2
= 0;
4171 PyObject
* _argo3
= 0;
4172 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
4176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxScrolledWindow",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
))
4179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
4186 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4187 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
4188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxScrolledWindow. Expected _wxPoint_p.");
4193 if (_argo3
== Py_None
) { _arg3
= NULL
; }
4194 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxSize_p")) {
4195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxScrolledWindow. Expected _wxSize_p.");
4200 wxPy_BEGIN_ALLOW_THREADS
;
4201 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
4203 wxPy_END_ALLOW_THREADS
;
4205 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
4206 _resultobj
= Py_BuildValue("s",_ptemp
);
4209 _resultobj
= Py_None
;
4214 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
4215 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4216 PyObject
* _resultobj
;
4217 wxScrolledWindow
* _arg0
;
4220 PyObject
* _argo0
= 0;
4223 char *_kwnames
[] = { "self","xScrolling","yScrolling", NULL
};
4226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_EnableScrolling",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
4229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
4231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
4235 _arg1
= (bool ) tempbool1
;
4236 _arg2
= (bool ) tempbool2
;
4238 wxPy_BEGIN_ALLOW_THREADS
;
4239 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
4241 wxPy_END_ALLOW_THREADS
;
4242 } Py_INCREF(Py_None
);
4243 _resultobj
= Py_None
;
4247 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
4248 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4249 PyObject
* _resultobj
;
4250 wxScrolledWindow
* _arg0
;
4255 PyObject
* _argo0
= 0;
4256 char *_kwnames
[] = { "self", NULL
};
4265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames
,&_argo0
))
4268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
4270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
4275 wxPy_BEGIN_ALLOW_THREADS
;
4276 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
4278 wxPy_END_ALLOW_THREADS
;
4279 } Py_INCREF(Py_None
);
4280 _resultobj
= Py_None
;
4283 o
= PyInt_FromLong((long) (*_arg1
));
4284 _resultobj
= t_output_helper(_resultobj
, o
);
4288 o
= PyInt_FromLong((long) (*_arg2
));
4289 _resultobj
= t_output_helper(_resultobj
, o
);
4294 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
4295 static PyObject
*_wrap_wxScrolledWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4296 PyObject
* _resultobj
;
4297 wxScrolledWindow
* _arg0
;
4302 PyObject
* _argo0
= 0;
4303 char *_kwnames
[] = { "self", NULL
};
4312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetVirtualSize",_kwnames
,&_argo0
))
4315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
4317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
4322 wxPy_BEGIN_ALLOW_THREADS
;
4323 wxScrolledWindow_GetVirtualSize(_arg0
,_arg1
,_arg2
);
4325 wxPy_END_ALLOW_THREADS
;
4326 } Py_INCREF(Py_None
);
4327 _resultobj
= Py_None
;
4330 o
= PyInt_FromLong((long) (*_arg1
));
4331 _resultobj
= t_output_helper(_resultobj
, o
);
4335 o
= PyInt_FromLong((long) (*_arg2
));
4336 _resultobj
= t_output_helper(_resultobj
, o
);
4341 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
4342 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4343 PyObject
* _resultobj
;
4345 wxScrolledWindow
* _arg0
;
4346 PyObject
* _argo0
= 0;
4347 char *_kwnames
[] = { "self", NULL
};
4350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_IsRetained",_kwnames
,&_argo0
))
4353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
4355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
4360 wxPy_BEGIN_ALLOW_THREADS
;
4361 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
4363 wxPy_END_ALLOW_THREADS
;
4364 } _resultobj
= Py_BuildValue("i",_result
);
4368 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
4369 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4370 PyObject
* _resultobj
;
4371 wxScrolledWindow
* _arg0
;
4373 PyObject
* _argo0
= 0;
4374 PyObject
* _argo1
= 0;
4375 char *_kwnames
[] = { "self","dc", NULL
};
4378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_PrepareDC",_kwnames
,&_argo0
,&_argo1
))
4381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
4383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
4388 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4389 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
4395 wxPy_BEGIN_ALLOW_THREADS
;
4396 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
4398 wxPy_END_ALLOW_THREADS
;
4399 } Py_INCREF(Py_None
);
4400 _resultobj
= Py_None
;
4404 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
4405 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4406 PyObject
* _resultobj
;
4407 wxScrolledWindow
* _arg0
;
4410 PyObject
* _argo0
= 0;
4411 char *_kwnames
[] = { "self","x","y", NULL
};
4414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_Scroll",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
4419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
4424 wxPy_BEGIN_ALLOW_THREADS
;
4425 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
4427 wxPy_END_ALLOW_THREADS
;
4428 } Py_INCREF(Py_None
);
4429 _resultobj
= Py_None
;
4433 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4434 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4435 PyObject
* _resultobj
;
4436 wxScrolledWindow
* _arg0
;
4441 int _arg5
= (int ) 0;
4442 int _arg6
= (int ) 0;
4443 PyObject
* _argo0
= 0;
4444 char *_kwnames
[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos", NULL
};
4447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|ii:wxScrolledWindow_SetScrollbars",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
4452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
4457 wxPy_BEGIN_ALLOW_THREADS
;
4458 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4460 wxPy_END_ALLOW_THREADS
;
4461 } Py_INCREF(Py_None
);
4462 _resultobj
= Py_None
;
4466 #define wxScrolledWindow_ViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->ViewStart(_swigarg0,_swigarg1))
4467 static PyObject
*_wrap_wxScrolledWindow_ViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4468 PyObject
* _resultobj
;
4469 wxScrolledWindow
* _arg0
;
4474 PyObject
* _argo0
= 0;
4475 char *_kwnames
[] = { "self", NULL
};
4484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_ViewStart",_kwnames
,&_argo0
))
4487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
4489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_ViewStart. Expected _wxScrolledWindow_p.");
4494 wxPy_BEGIN_ALLOW_THREADS
;
4495 wxScrolledWindow_ViewStart(_arg0
,_arg1
,_arg2
);
4497 wxPy_END_ALLOW_THREADS
;
4498 } Py_INCREF(Py_None
);
4499 _resultobj
= Py_None
;
4502 o
= PyInt_FromLong((long) (*_arg1
));
4503 _resultobj
= t_output_helper(_resultobj
, o
);
4507 o
= PyInt_FromLong((long) (*_arg2
));
4508 _resultobj
= t_output_helper(_resultobj
, o
);
4513 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
4516 src
= (wxMenu
*) ptr
;
4517 dest
= (wxEvtHandler
*) src
;
4518 return (void *) dest
;
4521 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
4522 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4523 PyObject
* _resultobj
;
4525 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
4526 long _arg1
= (long ) 0;
4527 PyObject
* _obj0
= 0;
4528 char *_kwnames
[] = { "title","style", NULL
};
4532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Ol:new_wxMenu",_kwnames
,&_obj0
,&_arg1
))
4536 if (!PyString_Check(_obj0
)) {
4537 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4540 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
4543 wxPy_BEGIN_ALLOW_THREADS
;
4544 _result
= (wxMenu
*)new_wxMenu(*_arg0
,_arg1
);
4546 wxPy_END_ALLOW_THREADS
;
4548 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
4549 _resultobj
= Py_BuildValue("s",_ptemp
);
4552 _resultobj
= Py_None
;
4561 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4562 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4563 PyObject
* _resultobj
;
4567 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
4568 int _arg4
= (int ) FALSE
;
4569 PyObject
* _argo0
= 0;
4570 PyObject
* _obj2
= 0;
4571 PyObject
* _obj3
= 0;
4572 char *_kwnames
[] = { "self","id","item","helpString","checkable", NULL
};
4575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Append",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
4578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
4585 if (!PyString_Check(_obj2
)) {
4586 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4589 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4593 if (!PyString_Check(_obj3
)) {
4594 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4597 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
4600 wxPy_BEGIN_ALLOW_THREADS
;
4601 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
4603 wxPy_END_ALLOW_THREADS
;
4604 } Py_INCREF(Py_None
);
4605 _resultobj
= Py_None
;
4617 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4618 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4619 PyObject
* _resultobj
;
4624 wxString
* _arg4
= (wxString
*) &wxPyEmptyStr
;
4625 PyObject
* _argo0
= 0;
4626 PyObject
* _obj2
= 0;
4627 PyObject
* _argo3
= 0;
4628 PyObject
* _obj4
= 0;
4629 char *_kwnames
[] = { "self","id","item","subMenu","helpString", NULL
};
4632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_AppendMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
4635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
4642 if (!PyString_Check(_obj2
)) {
4643 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4646 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4649 if (_argo3
== Py_None
) { _arg3
= NULL
; }
4650 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
4651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
4657 if (!PyString_Check(_obj4
)) {
4658 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4661 _arg4
= new wxString(PyString_AsString(_obj4
), PyString_Size(_obj4
));
4664 wxPy_BEGIN_ALLOW_THREADS
;
4665 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
4667 wxPy_END_ALLOW_THREADS
;
4668 } Py_INCREF(Py_None
);
4669 _resultobj
= Py_None
;
4681 #define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
4682 static PyObject
*_wrap_wxMenu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4683 PyObject
* _resultobj
;
4686 PyObject
* _argo0
= 0;
4687 PyObject
* _argo1
= 0;
4688 char *_kwnames
[] = { "self","item", NULL
};
4691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_AppendItem",_kwnames
,&_argo0
,&_argo1
))
4694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
4701 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4702 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
4703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
4708 wxPy_BEGIN_ALLOW_THREADS
;
4709 wxMenu_AppendItem(_arg0
,_arg1
);
4711 wxPy_END_ALLOW_THREADS
;
4712 } Py_INCREF(Py_None
);
4713 _resultobj
= Py_None
;
4717 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
4718 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4719 PyObject
* _resultobj
;
4721 PyObject
* _argo0
= 0;
4722 char *_kwnames
[] = { "self", NULL
};
4725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_AppendSeparator",_kwnames
,&_argo0
))
4728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
4735 wxPy_BEGIN_ALLOW_THREADS
;
4736 wxMenu_AppendSeparator(_arg0
);
4738 wxPy_END_ALLOW_THREADS
;
4739 } Py_INCREF(Py_None
);
4740 _resultobj
= Py_None
;
4744 #define wxMenu_Break(_swigobj) (_swigobj->Break())
4745 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4746 PyObject
* _resultobj
;
4748 PyObject
* _argo0
= 0;
4749 char *_kwnames
[] = { "self", NULL
};
4752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Break",_kwnames
,&_argo0
))
4755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
4762 wxPy_BEGIN_ALLOW_THREADS
;
4763 wxMenu_Break(_arg0
);
4765 wxPy_END_ALLOW_THREADS
;
4766 } Py_INCREF(Py_None
);
4767 _resultobj
= Py_None
;
4771 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
4772 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4773 PyObject
* _resultobj
;
4777 PyObject
* _argo0
= 0;
4779 char *_kwnames
[] = { "self","id","flag", NULL
};
4782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
4785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
4791 _arg2
= (bool ) tempbool2
;
4793 wxPy_BEGIN_ALLOW_THREADS
;
4794 wxMenu_Check(_arg0
,_arg1
,_arg2
);
4796 wxPy_END_ALLOW_THREADS
;
4797 } Py_INCREF(Py_None
);
4798 _resultobj
= Py_None
;
4802 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
4803 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4804 PyObject
* _resultobj
;
4808 PyObject
* _argo0
= 0;
4810 char *_kwnames
[] = { "self","id","enable", NULL
};
4813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
4816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
4822 _arg2
= (bool ) tempbool2
;
4824 wxPy_BEGIN_ALLOW_THREADS
;
4825 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
4827 wxPy_END_ALLOW_THREADS
;
4828 } Py_INCREF(Py_None
);
4829 _resultobj
= Py_None
;
4833 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
4834 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4835 PyObject
* _resultobj
;
4839 PyObject
* _argo0
= 0;
4840 PyObject
* _obj1
= 0;
4841 char *_kwnames
[] = { "self","itemString", NULL
};
4844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_FindItem",_kwnames
,&_argo0
,&_obj1
))
4847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
4854 if (!PyString_Check(_obj1
)) {
4855 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4858 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4861 wxPy_BEGIN_ALLOW_THREADS
;
4862 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
4864 wxPy_END_ALLOW_THREADS
;
4865 } _resultobj
= Py_BuildValue("i",_result
);
4873 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
4874 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4875 PyObject
* _resultobj
;
4878 PyObject
* _argo0
= 0;
4879 char *_kwnames
[] = { "self", NULL
};
4882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetTitle",_kwnames
,&_argo0
))
4885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
4892 wxPy_BEGIN_ALLOW_THREADS
;
4893 _result
= new wxString (wxMenu_GetTitle(_arg0
));
4895 wxPy_END_ALLOW_THREADS
;
4897 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
4905 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4906 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4907 PyObject
* _resultobj
;
4910 PyObject
* _argo0
= 0;
4911 PyObject
* _obj1
= 0;
4912 char *_kwnames
[] = { "self","title", NULL
};
4915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
4925 if (!PyString_Check(_obj1
)) {
4926 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4929 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4932 wxPy_BEGIN_ALLOW_THREADS
;
4933 wxMenu_SetTitle(_arg0
,*_arg1
);
4935 wxPy_END_ALLOW_THREADS
;
4936 } Py_INCREF(Py_None
);
4937 _resultobj
= Py_None
;
4945 #define wxMenu_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
4946 static PyObject
*_wrap_wxMenu_FindItemForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4947 PyObject
* _resultobj
;
4948 wxMenuItem
* _result
;
4951 PyObject
* _argo0
= 0;
4952 char *_kwnames
[] = { "self","id", NULL
};
4956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_FindItemForId",_kwnames
,&_argo0
,&_arg1
))
4959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemForId. Expected _wxMenu_p.");
4966 wxPy_BEGIN_ALLOW_THREADS
;
4967 _result
= (wxMenuItem
*)wxMenu_FindItemForId(_arg0
,_arg1
);
4969 wxPy_END_ALLOW_THREADS
;
4971 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
4972 _resultobj
= Py_BuildValue("s",_ptemp
);
4975 _resultobj
= Py_None
;
4980 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
4981 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4982 PyObject
* _resultobj
;
4986 PyObject
* _argo0
= 0;
4987 char *_kwnames
[] = { "self","id", NULL
};
4990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
4993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
5000 wxPy_BEGIN_ALLOW_THREADS
;
5001 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
5003 wxPy_END_ALLOW_THREADS
;
5005 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5013 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
5014 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5015 PyObject
* _resultobj
;
5019 PyObject
* _argo0
= 0;
5020 char *_kwnames
[] = { "self","id", NULL
};
5023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetLabel",_kwnames
,&_argo0
,&_arg1
))
5026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
5033 wxPy_BEGIN_ALLOW_THREADS
;
5034 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
5036 wxPy_END_ALLOW_THREADS
;
5038 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5046 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
5047 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5048 PyObject
* _resultobj
;
5052 PyObject
* _argo0
= 0;
5053 PyObject
* _obj2
= 0;
5054 char *_kwnames
[] = { "self","id","helpString", NULL
};
5057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
5067 if (!PyString_Check(_obj2
)) {
5068 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5071 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5074 wxPy_BEGIN_ALLOW_THREADS
;
5075 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
5077 wxPy_END_ALLOW_THREADS
;
5078 } Py_INCREF(Py_None
);
5079 _resultobj
= Py_None
;
5087 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
5088 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5089 PyObject
* _resultobj
;
5093 PyObject
* _argo0
= 0;
5094 char *_kwnames
[] = { "self","id", NULL
};
5097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsChecked",_kwnames
,&_argo0
,&_arg1
))
5100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
5107 wxPy_BEGIN_ALLOW_THREADS
;
5108 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
5110 wxPy_END_ALLOW_THREADS
;
5111 } _resultobj
= Py_BuildValue("i",_result
);
5115 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
5116 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5117 PyObject
* _resultobj
;
5121 PyObject
* _argo0
= 0;
5122 char *_kwnames
[] = { "self","id", NULL
};
5125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
5128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
5135 wxPy_BEGIN_ALLOW_THREADS
;
5136 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
5138 wxPy_END_ALLOW_THREADS
;
5139 } _resultobj
= Py_BuildValue("i",_result
);
5143 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
5144 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5145 PyObject
* _resultobj
;
5149 PyObject
* _argo0
= 0;
5150 PyObject
* _obj2
= 0;
5151 char *_kwnames
[] = { "self","id","label", NULL
};
5154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
5164 if (!PyString_Check(_obj2
)) {
5165 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5168 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5171 wxPy_BEGIN_ALLOW_THREADS
;
5172 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
5174 wxPy_END_ALLOW_THREADS
;
5175 } Py_INCREF(Py_None
);
5176 _resultobj
= Py_None
;
5184 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
5185 static PyObject
*_wrap_wxMenu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5186 PyObject
* _resultobj
;
5188 wxEvtHandler
* _arg1
= (wxEvtHandler
*) NULL
;
5189 PyObject
* _argo0
= 0;
5190 PyObject
* _argo1
= 0;
5191 char *_kwnames
[] = { "self","source", NULL
};
5194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxMenu_UpdateUI",_kwnames
,&_argo0
,&_argo1
))
5197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
5204 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5205 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
5206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
5211 wxPy_BEGIN_ALLOW_THREADS
;
5212 wxMenu_UpdateUI(_arg0
,_arg1
);
5214 wxPy_END_ALLOW_THREADS
;
5215 } Py_INCREF(Py_None
);
5216 _resultobj
= Py_None
;
5220 static void wxMenu_Destroy(wxMenu
*self
) {
5223 static PyObject
*_wrap_wxMenu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5224 PyObject
* _resultobj
;
5226 PyObject
* _argo0
= 0;
5227 char *_kwnames
[] = { "self", NULL
};
5230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Destroy",_kwnames
,&_argo0
))
5233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Destroy. Expected _wxMenu_p.");
5240 wxPy_BEGIN_ALLOW_THREADS
;
5241 wxMenu_Destroy(_arg0
);
5243 wxPy_END_ALLOW_THREADS
;
5244 } Py_INCREF(Py_None
);
5245 _resultobj
= Py_None
;
5249 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
5252 src
= (wxMenuBar
*) ptr
;
5253 dest
= (wxEvtHandler
*) src
;
5254 return (void *) dest
;
5257 #define new_wxMenuBar() (new wxMenuBar())
5258 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5259 PyObject
* _resultobj
;
5260 wxMenuBar
* _result
;
5261 char *_kwnames
[] = { NULL
};
5265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMenuBar",_kwnames
))
5268 wxPy_BEGIN_ALLOW_THREADS
;
5269 _result
= (wxMenuBar
*)new_wxMenuBar();
5271 wxPy_END_ALLOW_THREADS
;
5273 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
5274 _resultobj
= Py_BuildValue("s",_ptemp
);
5277 _resultobj
= Py_None
;
5282 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
5283 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5284 PyObject
* _resultobj
;
5288 PyObject
* _argo0
= 0;
5289 PyObject
* _argo1
= 0;
5290 PyObject
* _obj2
= 0;
5291 char *_kwnames
[] = { "self","menu","title", NULL
};
5294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_Append",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
5297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
5304 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5305 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
5306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
5311 if (!PyString_Check(_obj2
)) {
5312 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5315 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5318 wxPy_BEGIN_ALLOW_THREADS
;
5319 wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
5321 wxPy_END_ALLOW_THREADS
;
5322 } Py_INCREF(Py_None
);
5323 _resultobj
= Py_None
;
5331 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
5332 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5333 PyObject
* _resultobj
;
5337 PyObject
* _argo0
= 0;
5339 char *_kwnames
[] = { "self","id","flag", NULL
};
5342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
5351 _arg2
= (bool ) tempbool2
;
5353 wxPy_BEGIN_ALLOW_THREADS
;
5354 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
5356 wxPy_END_ALLOW_THREADS
;
5357 } Py_INCREF(Py_None
);
5358 _resultobj
= Py_None
;
5362 #define wxMenuBar_Checked(_swigobj,_swigarg0) (_swigobj->Checked(_swigarg0))
5363 static PyObject
*_wrap_wxMenuBar_Checked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5364 PyObject
* _resultobj
;
5368 PyObject
* _argo0
= 0;
5369 char *_kwnames
[] = { "self","id", NULL
};
5372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_Checked",_kwnames
,&_argo0
,&_arg1
))
5375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Checked. Expected _wxMenuBar_p.");
5382 wxPy_BEGIN_ALLOW_THREADS
;
5383 _result
= (bool )wxMenuBar_Checked(_arg0
,_arg1
);
5385 wxPy_END_ALLOW_THREADS
;
5386 } _resultobj
= Py_BuildValue("i",_result
);
5390 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
5391 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5392 PyObject
* _resultobj
;
5396 PyObject
* _argo0
= 0;
5398 char *_kwnames
[] = { "self","id","enable", NULL
};
5401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
5410 _arg2
= (bool ) tempbool2
;
5412 wxPy_BEGIN_ALLOW_THREADS
;
5413 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
5415 wxPy_END_ALLOW_THREADS
;
5416 } Py_INCREF(Py_None
);
5417 _resultobj
= Py_None
;
5421 #define wxMenuBar_Enabled(_swigobj,_swigarg0) (_swigobj->Enabled(_swigarg0))
5422 static PyObject
*_wrap_wxMenuBar_Enabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5423 PyObject
* _resultobj
;
5427 PyObject
* _argo0
= 0;
5428 char *_kwnames
[] = { "self","id", NULL
};
5431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_Enabled",_kwnames
,&_argo0
,&_arg1
))
5434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enabled. Expected _wxMenuBar_p.");
5441 wxPy_BEGIN_ALLOW_THREADS
;
5442 _result
= (bool )wxMenuBar_Enabled(_arg0
,_arg1
);
5444 wxPy_END_ALLOW_THREADS
;
5445 } _resultobj
= Py_BuildValue("i",_result
);
5449 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
5450 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5451 PyObject
* _resultobj
;
5456 PyObject
* _argo0
= 0;
5457 PyObject
* _obj1
= 0;
5458 PyObject
* _obj2
= 0;
5459 char *_kwnames
[] = { "self","menuString","itemString", NULL
};
5462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_FindMenuItem",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
5472 if (!PyString_Check(_obj1
)) {
5473 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5476 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5479 if (!PyString_Check(_obj2
)) {
5480 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5483 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5486 wxPy_BEGIN_ALLOW_THREADS
;
5487 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
5489 wxPy_END_ALLOW_THREADS
;
5490 } _resultobj
= Py_BuildValue("i",_result
);
5502 #define wxMenuBar_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
5503 static PyObject
*_wrap_wxMenuBar_FindItemForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5504 PyObject
* _resultobj
;
5505 wxMenuItem
* _result
;
5508 PyObject
* _argo0
= 0;
5509 char *_kwnames
[] = { "self","id", NULL
};
5513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_FindItemForId",_kwnames
,&_argo0
,&_arg1
))
5516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemForId. Expected _wxMenuBar_p.");
5523 wxPy_BEGIN_ALLOW_THREADS
;
5524 _result
= (wxMenuItem
*)wxMenuBar_FindItemForId(_arg0
,_arg1
);
5526 wxPy_END_ALLOW_THREADS
;
5528 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
5529 _resultobj
= Py_BuildValue("s",_ptemp
);
5532 _resultobj
= Py_None
;
5537 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
5538 static PyObject
*_wrap_wxMenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5539 PyObject
* _resultobj
;
5543 PyObject
* _argo0
= 0;
5545 char *_kwnames
[] = { "self","pos","enable", NULL
};
5548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_EnableTop",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
5557 _arg2
= (bool ) tempbool2
;
5559 wxPy_BEGIN_ALLOW_THREADS
;
5560 wxMenuBar_EnableTop(_arg0
,_arg1
,_arg2
);
5562 wxPy_END_ALLOW_THREADS
;
5563 } Py_INCREF(Py_None
);
5564 _resultobj
= Py_None
;
5568 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
5569 static PyObject
*_wrap_wxMenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5570 PyObject
* _resultobj
;
5574 PyObject
* _argo0
= 0;
5575 char *_kwnames
[] = { "self","id", NULL
};
5578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
5581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
5588 wxPy_BEGIN_ALLOW_THREADS
;
5589 _result
= new wxString (wxMenuBar_GetHelpString(_arg0
,_arg1
));
5591 wxPy_END_ALLOW_THREADS
;
5593 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5601 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
5602 static PyObject
*_wrap_wxMenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5603 PyObject
* _resultobj
;
5607 PyObject
* _argo0
= 0;
5608 char *_kwnames
[] = { "self","id", NULL
};
5611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabel",_kwnames
,&_argo0
,&_arg1
))
5614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
5621 wxPy_BEGIN_ALLOW_THREADS
;
5622 _result
= new wxString (wxMenuBar_GetLabel(_arg0
,_arg1
));
5624 wxPy_END_ALLOW_THREADS
;
5626 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5634 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
5635 static PyObject
*_wrap_wxMenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5636 PyObject
* _resultobj
;
5640 PyObject
* _argo0
= 0;
5641 PyObject
* _obj2
= 0;
5642 char *_kwnames
[] = { "self","id","helpString", NULL
};
5645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
5655 if (!PyString_Check(_obj2
)) {
5656 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5659 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5662 wxPy_BEGIN_ALLOW_THREADS
;
5663 wxMenuBar_SetHelpString(_arg0
,_arg1
,*_arg2
);
5665 wxPy_END_ALLOW_THREADS
;
5666 } Py_INCREF(Py_None
);
5667 _resultobj
= Py_None
;
5675 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
5676 static PyObject
*_wrap_wxMenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5677 PyObject
* _resultobj
;
5681 PyObject
* _argo0
= 0;
5682 PyObject
* _obj2
= 0;
5683 char *_kwnames
[] = { "self","id","label", NULL
};
5686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
5696 if (!PyString_Check(_obj2
)) {
5697 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5700 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5703 wxPy_BEGIN_ALLOW_THREADS
;
5704 wxMenuBar_SetLabel(_arg0
,_arg1
,*_arg2
);
5706 wxPy_END_ALLOW_THREADS
;
5707 } Py_INCREF(Py_None
);
5708 _resultobj
= Py_None
;
5716 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
5717 static PyObject
*_wrap_wxMenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5718 PyObject
* _resultobj
;
5722 PyObject
* _argo0
= 0;
5723 char *_kwnames
[] = { "self","pos", NULL
};
5726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabelTop",_kwnames
,&_argo0
,&_arg1
))
5729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
5736 wxPy_BEGIN_ALLOW_THREADS
;
5737 _result
= new wxString (wxMenuBar_GetLabelTop(_arg0
,_arg1
));
5739 wxPy_END_ALLOW_THREADS
;
5741 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5749 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
5750 static PyObject
*_wrap_wxMenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5751 PyObject
* _resultobj
;
5755 PyObject
* _argo0
= 0;
5756 PyObject
* _obj2
= 0;
5757 char *_kwnames
[] = { "self","pos","label", NULL
};
5760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabelTop",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
5770 if (!PyString_Check(_obj2
)) {
5771 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5774 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5777 wxPy_BEGIN_ALLOW_THREADS
;
5778 wxMenuBar_SetLabelTop(_arg0
,_arg1
,*_arg2
);
5780 wxPy_END_ALLOW_THREADS
;
5781 } Py_INCREF(Py_None
);
5782 _resultobj
= Py_None
;
5790 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
5791 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5792 PyObject
* _resultobj
;
5795 PyObject
* _argo0
= 0;
5796 char *_kwnames
[] = { "self", NULL
};
5799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuBar_GetMenuCount",_kwnames
,&_argo0
))
5802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
5809 wxPy_BEGIN_ALLOW_THREADS
;
5810 _result
= (int )wxMenuBar_GetMenuCount(_arg0
);
5812 wxPy_END_ALLOW_THREADS
;
5813 } _resultobj
= Py_BuildValue("i",_result
);
5817 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
5818 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5819 PyObject
* _resultobj
;
5823 PyObject
* _argo0
= 0;
5824 char *_kwnames
[] = { "self","i", NULL
};
5828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetMenu",_kwnames
,&_argo0
,&_arg1
))
5831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
5838 wxPy_BEGIN_ALLOW_THREADS
;
5839 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
5841 wxPy_END_ALLOW_THREADS
;
5843 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
5844 _resultobj
= Py_BuildValue("s",_ptemp
);
5847 _resultobj
= Py_None
;
5852 #define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5853 static PyObject
*_wrap_new_wxMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5854 PyObject
* _resultobj
;
5855 wxMenuItem
* _result
;
5856 wxMenu
* _arg0
= (wxMenu
*) NULL
;
5857 int _arg1
= (int ) ID_SEPARATOR
;
5858 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
5859 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
5860 bool _arg4
= (bool ) FALSE
;
5861 wxMenu
* _arg5
= (wxMenu
*) NULL
;
5862 PyObject
* _argo0
= 0;
5863 PyObject
* _obj2
= 0;
5864 PyObject
* _obj3
= 0;
5865 int tempbool4
= (int) FALSE
;
5866 PyObject
* _argo5
= 0;
5867 char *_kwnames
[] = { "parentMenu","id","text","helpString","checkable","subMenu", NULL
};
5871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OiOOiO:new_wxMenuItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&tempbool4
,&_argo5
))
5874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
5882 if (!PyString_Check(_obj2
)) {
5883 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5886 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5890 if (!PyString_Check(_obj3
)) {
5891 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5894 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
5896 _arg4
= (bool ) tempbool4
;
5898 if (_argo5
== Py_None
) { _arg5
= NULL
; }
5899 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxMenu_p")) {
5900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
5905 wxPy_BEGIN_ALLOW_THREADS
;
5906 _result
= (wxMenuItem
*)new_wxMenuItem(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
5908 wxPy_END_ALLOW_THREADS
;
5910 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
5911 _resultobj
= Py_BuildValue("s",_ptemp
);
5914 _resultobj
= Py_None
;
5927 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
5928 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5929 PyObject
* _resultobj
;
5932 PyObject
* _argo0
= 0;
5933 char *_kwnames
[] = { "self", NULL
};
5936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSeparator",_kwnames
,&_argo0
))
5939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
5946 wxPy_BEGIN_ALLOW_THREADS
;
5947 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
5949 wxPy_END_ALLOW_THREADS
;
5950 } _resultobj
= Py_BuildValue("i",_result
);
5954 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
5955 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5956 PyObject
* _resultobj
;
5959 PyObject
* _argo0
= 0;
5960 char *_kwnames
[] = { "self", NULL
};
5963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsEnabled",_kwnames
,&_argo0
))
5966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
5973 wxPy_BEGIN_ALLOW_THREADS
;
5974 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
5976 wxPy_END_ALLOW_THREADS
;
5977 } _resultobj
= Py_BuildValue("i",_result
);
5981 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
5982 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5983 PyObject
* _resultobj
;
5986 PyObject
* _argo0
= 0;
5987 char *_kwnames
[] = { "self", NULL
};
5990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsChecked",_kwnames
,&_argo0
))
5993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
6000 wxPy_BEGIN_ALLOW_THREADS
;
6001 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
6003 wxPy_END_ALLOW_THREADS
;
6004 } _resultobj
= Py_BuildValue("i",_result
);
6008 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
6009 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6010 PyObject
* _resultobj
;
6013 PyObject
* _argo0
= 0;
6014 char *_kwnames
[] = { "self", NULL
};
6017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsCheckable",_kwnames
,&_argo0
))
6020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
6027 wxPy_BEGIN_ALLOW_THREADS
;
6028 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
6030 wxPy_END_ALLOW_THREADS
;
6031 } _resultobj
= Py_BuildValue("i",_result
);
6035 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
6036 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6037 PyObject
* _resultobj
;
6040 PyObject
* _argo0
= 0;
6041 char *_kwnames
[] = { "self", NULL
};
6044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetId",_kwnames
,&_argo0
))
6047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
6054 wxPy_BEGIN_ALLOW_THREADS
;
6055 _result
= (int )wxMenuItem_GetId(_arg0
);
6057 wxPy_END_ALLOW_THREADS
;
6058 } _resultobj
= Py_BuildValue("i",_result
);
6062 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
6063 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6064 PyObject
* _resultobj
;
6067 PyObject
* _argo0
= 0;
6068 char *_kwnames
[] = { "self", NULL
};
6072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetSubMenu",_kwnames
,&_argo0
))
6075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
6082 wxPy_BEGIN_ALLOW_THREADS
;
6083 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
6085 wxPy_END_ALLOW_THREADS
;
6087 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
6088 _resultobj
= Py_BuildValue("s",_ptemp
);
6091 _resultobj
= Py_None
;
6096 #define wxMenuItem_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
6097 static PyObject
*_wrap_wxMenuItem_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6098 PyObject
* _resultobj
;
6101 PyObject
* _argo0
= 0;
6102 PyObject
* _obj1
= 0;
6103 char *_kwnames
[] = { "self","strName", NULL
};
6106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetName",_kwnames
,&_argo0
,&_obj1
))
6109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetName. Expected _wxMenuItem_p.");
6116 if (!PyString_Check(_obj1
)) {
6117 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6120 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
6123 wxPy_BEGIN_ALLOW_THREADS
;
6124 wxMenuItem_SetName(_arg0
,*_arg1
);
6126 wxPy_END_ALLOW_THREADS
;
6127 } Py_INCREF(Py_None
);
6128 _resultobj
= Py_None
;
6136 #define wxMenuItem_GetName(_swigobj) (_swigobj->GetName())
6137 static PyObject
*_wrap_wxMenuItem_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6138 PyObject
* _resultobj
;
6141 PyObject
* _argo0
= 0;
6142 char *_kwnames
[] = { "self", NULL
};
6145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetName",_kwnames
,&_argo0
))
6148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetName. Expected _wxMenuItem_p.");
6155 wxPy_BEGIN_ALLOW_THREADS
;
6156 _result
= new wxString (wxMenuItem_GetName(_arg0
));
6158 wxPy_END_ALLOW_THREADS
;
6160 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
6168 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
6169 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6170 PyObject
* _resultobj
;
6173 PyObject
* _argo0
= 0;
6174 char *_kwnames
[] = { "self", NULL
};
6177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetHelp",_kwnames
,&_argo0
))
6180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
6187 wxPy_BEGIN_ALLOW_THREADS
;
6188 _result
= new wxString (wxMenuItem_GetHelp(_arg0
));
6190 wxPy_END_ALLOW_THREADS
;
6192 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
6200 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
6201 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6202 PyObject
* _resultobj
;
6205 PyObject
* _argo0
= 0;
6206 PyObject
* _obj1
= 0;
6207 char *_kwnames
[] = { "self","strHelp", NULL
};
6210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetHelp",_kwnames
,&_argo0
,&_obj1
))
6213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
6220 if (!PyString_Check(_obj1
)) {
6221 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6224 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
6227 wxPy_BEGIN_ALLOW_THREADS
;
6228 wxMenuItem_SetHelp(_arg0
,*_arg1
);
6230 wxPy_END_ALLOW_THREADS
;
6231 } Py_INCREF(Py_None
);
6232 _resultobj
= Py_None
;
6240 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
6241 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6242 PyObject
* _resultobj
;
6244 bool _arg1
= (bool ) TRUE
;
6245 PyObject
* _argo0
= 0;
6246 int tempbool1
= (int) TRUE
;
6247 char *_kwnames
[] = { "self","bDoEnable", NULL
};
6250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Enable",_kwnames
,&_argo0
,&tempbool1
))
6253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
6259 _arg1
= (bool ) tempbool1
;
6261 wxPy_BEGIN_ALLOW_THREADS
;
6262 wxMenuItem_Enable(_arg0
,_arg1
);
6264 wxPy_END_ALLOW_THREADS
;
6265 } Py_INCREF(Py_None
);
6266 _resultobj
= Py_None
;
6270 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
6271 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6272 PyObject
* _resultobj
;
6274 bool _arg1
= (bool ) TRUE
;
6275 PyObject
* _argo0
= 0;
6276 int tempbool1
= (int) TRUE
;
6277 char *_kwnames
[] = { "self","bDoCheck", NULL
};
6280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Check",_kwnames
,&_argo0
,&tempbool1
))
6283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
6289 _arg1
= (bool ) tempbool1
;
6291 wxPy_BEGIN_ALLOW_THREADS
;
6292 wxMenuItem_Check(_arg0
,_arg1
);
6294 wxPy_END_ALLOW_THREADS
;
6295 } Py_INCREF(Py_None
);
6296 _resultobj
= Py_None
;
6300 #define wxMenuItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
6301 static PyObject
*_wrap_wxMenuItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6302 PyObject
* _resultobj
;
6305 PyObject
* _argo0
= 0;
6306 char *_kwnames
[] = { "self", NULL
};
6310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetBackgroundColour",_kwnames
,&_argo0
))
6313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetBackgroundColour. Expected _wxMenuItem_p.");
6320 wxPy_BEGIN_ALLOW_THREADS
;
6321 wxColour
& _result_ref
= wxMenuItem_GetBackgroundColour(_arg0
);
6322 _result
= (wxColour
*) &_result_ref
;
6324 wxPy_END_ALLOW_THREADS
;
6326 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
6327 _resultobj
= Py_BuildValue("s",_ptemp
);
6330 _resultobj
= Py_None
;
6335 #define wxMenuItem_GetBitmap(_swigobj,_swigarg0) (_swigobj->GetBitmap(_swigarg0))
6336 static PyObject
*_wrap_wxMenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6337 PyObject
* _resultobj
;
6340 bool _arg1
= (bool ) TRUE
;
6341 PyObject
* _argo0
= 0;
6342 int tempbool1
= (int) TRUE
;
6343 char *_kwnames
[] = { "self","checked", NULL
};
6347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_GetBitmap",_kwnames
,&_argo0
,&tempbool1
))
6350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetBitmap. Expected _wxMenuItem_p.");
6356 _arg1
= (bool ) tempbool1
;
6358 wxPy_BEGIN_ALLOW_THREADS
;
6359 _result
= new wxBitmap (wxMenuItem_GetBitmap(_arg0
,_arg1
));
6361 wxPy_END_ALLOW_THREADS
;
6362 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
6363 _resultobj
= Py_BuildValue("s",_ptemp
);
6367 #define wxMenuItem_GetFont(_swigobj) (_swigobj->GetFont())
6368 static PyObject
*_wrap_wxMenuItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6369 PyObject
* _resultobj
;
6372 PyObject
* _argo0
= 0;
6373 char *_kwnames
[] = { "self", NULL
};
6377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetFont",_kwnames
,&_argo0
))
6380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetFont. Expected _wxMenuItem_p.");
6387 wxPy_BEGIN_ALLOW_THREADS
;
6388 wxFont
& _result_ref
= wxMenuItem_GetFont(_arg0
);
6389 _result
= (wxFont
*) &_result_ref
;
6391 wxPy_END_ALLOW_THREADS
;
6393 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
6394 _resultobj
= Py_BuildValue("s",_ptemp
);
6397 _resultobj
= Py_None
;
6402 #define wxMenuItem_GetMarginWidth(_swigobj) (_swigobj->GetMarginWidth())
6403 static PyObject
*_wrap_wxMenuItem_GetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6404 PyObject
* _resultobj
;
6407 PyObject
* _argo0
= 0;
6408 char *_kwnames
[] = { "self", NULL
};
6411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetMarginWidth",_kwnames
,&_argo0
))
6414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMarginWidth. Expected _wxMenuItem_p.");
6421 wxPy_BEGIN_ALLOW_THREADS
;
6422 _result
= (int )wxMenuItem_GetMarginWidth(_arg0
);
6424 wxPy_END_ALLOW_THREADS
;
6425 } _resultobj
= Py_BuildValue("i",_result
);
6429 #define wxMenuItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
6430 static PyObject
*_wrap_wxMenuItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6431 PyObject
* _resultobj
;
6434 PyObject
* _argo0
= 0;
6435 char *_kwnames
[] = { "self", NULL
};
6439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetTextColour",_kwnames
,&_argo0
))
6442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetTextColour. Expected _wxMenuItem_p.");
6449 wxPy_BEGIN_ALLOW_THREADS
;
6450 wxColour
& _result_ref
= wxMenuItem_GetTextColour(_arg0
);
6451 _result
= (wxColour
*) &_result_ref
;
6453 wxPy_END_ALLOW_THREADS
;
6455 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
6456 _resultobj
= Py_BuildValue("s",_ptemp
);
6459 _resultobj
= Py_None
;
6464 #define wxMenuItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
6465 static PyObject
*_wrap_wxMenuItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6466 PyObject
* _resultobj
;
6469 PyObject
* _argo0
= 0;
6470 PyObject
* _argo1
= 0;
6471 char *_kwnames
[] = { "self","colour", NULL
};
6474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetBackgroundColour",_kwnames
,&_argo0
,&_argo1
))
6477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetBackgroundColour. Expected _wxMenuItem_p.");
6484 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6485 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
6486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetBackgroundColour. Expected _wxColour_p.");
6491 wxPy_BEGIN_ALLOW_THREADS
;
6492 wxMenuItem_SetBackgroundColour(_arg0
,*_arg1
);
6494 wxPy_END_ALLOW_THREADS
;
6495 } Py_INCREF(Py_None
);
6496 _resultobj
= Py_None
;
6500 #define wxMenuItem_SetBitmaps(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBitmaps(_swigarg0,_swigarg1))
6501 static PyObject
*_wrap_wxMenuItem_SetBitmaps(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6502 PyObject
* _resultobj
;
6505 wxBitmap
* _arg2
= (wxBitmap
*) &wxNullBitmap
;
6506 PyObject
* _argo0
= 0;
6507 PyObject
* _argo1
= 0;
6508 PyObject
* _argo2
= 0;
6509 char *_kwnames
[] = { "self","checked","unchecked", NULL
};
6512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxMenuItem_SetBitmaps",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
6515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetBitmaps. Expected _wxMenuItem_p.");
6522 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6523 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
6524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetBitmaps. Expected _wxBitmap_p.");
6529 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6530 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
6531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuItem_SetBitmaps. Expected _wxBitmap_p.");
6536 wxPy_BEGIN_ALLOW_THREADS
;
6537 wxMenuItem_SetBitmaps(_arg0
,*_arg1
,*_arg2
);
6539 wxPy_END_ALLOW_THREADS
;
6540 } Py_INCREF(Py_None
);
6541 _resultobj
= Py_None
;
6545 #define wxMenuItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
6546 static PyObject
*_wrap_wxMenuItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6547 PyObject
* _resultobj
;
6550 PyObject
* _argo0
= 0;
6551 PyObject
* _argo1
= 0;
6552 char *_kwnames
[] = { "self","font", NULL
};
6555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetFont",_kwnames
,&_argo0
,&_argo1
))
6558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetFont. Expected _wxMenuItem_p.");
6565 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6566 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
6567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetFont. Expected _wxFont_p.");
6572 wxPy_BEGIN_ALLOW_THREADS
;
6573 wxMenuItem_SetFont(_arg0
,*_arg1
);
6575 wxPy_END_ALLOW_THREADS
;
6576 } Py_INCREF(Py_None
);
6577 _resultobj
= Py_None
;
6581 #define wxMenuItem_SetMarginWidth(_swigobj,_swigarg0) (_swigobj->SetMarginWidth(_swigarg0))
6582 static PyObject
*_wrap_wxMenuItem_SetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6583 PyObject
* _resultobj
;
6586 PyObject
* _argo0
= 0;
6587 char *_kwnames
[] = { "self","width", NULL
};
6590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetMarginWidth",_kwnames
,&_argo0
,&_arg1
))
6593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetMarginWidth. Expected _wxMenuItem_p.");
6600 wxPy_BEGIN_ALLOW_THREADS
;
6601 wxMenuItem_SetMarginWidth(_arg0
,_arg1
);
6603 wxPy_END_ALLOW_THREADS
;
6604 } Py_INCREF(Py_None
);
6605 _resultobj
= Py_None
;
6609 #define wxMenuItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
6610 static PyObject
*_wrap_wxMenuItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6611 PyObject
* _resultobj
;
6614 PyObject
* _argo0
= 0;
6615 PyObject
* _argo1
= 0;
6616 char *_kwnames
[] = { "self","colour", NULL
};
6619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetTextColour",_kwnames
,&_argo0
,&_argo1
))
6622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetTextColour. Expected _wxMenuItem_p.");
6629 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6630 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
6631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetTextColour. Expected _wxColour_p.");
6636 wxPy_BEGIN_ALLOW_THREADS
;
6637 wxMenuItem_SetTextColour(_arg0
,*_arg1
);
6639 wxPy_END_ALLOW_THREADS
;
6640 } Py_INCREF(Py_None
);
6641 _resultobj
= Py_None
;
6645 #define wxMenuItem_DeleteSubMenu(_swigobj) (_swigobj->DeleteSubMenu())
6646 static PyObject
*_wrap_wxMenuItem_DeleteSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6647 PyObject
* _resultobj
;
6649 PyObject
* _argo0
= 0;
6650 char *_kwnames
[] = { "self", NULL
};
6653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_DeleteSubMenu",_kwnames
,&_argo0
))
6656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_DeleteSubMenu. Expected _wxMenuItem_p.");
6663 wxPy_BEGIN_ALLOW_THREADS
;
6664 wxMenuItem_DeleteSubMenu(_arg0
);
6666 wxPy_END_ALLOW_THREADS
;
6667 } Py_INCREF(Py_None
);
6668 _resultobj
= Py_None
;
6672 static PyMethodDef windowscMethods
[] = {
6673 { "wxMenuItem_DeleteSubMenu", (PyCFunction
) _wrap_wxMenuItem_DeleteSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
6674 { "wxMenuItem_SetTextColour", (PyCFunction
) _wrap_wxMenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
6675 { "wxMenuItem_SetMarginWidth", (PyCFunction
) _wrap_wxMenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
6676 { "wxMenuItem_SetFont", (PyCFunction
) _wrap_wxMenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
6677 { "wxMenuItem_SetBitmaps", (PyCFunction
) _wrap_wxMenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
},
6678 { "wxMenuItem_SetBackgroundColour", (PyCFunction
) _wrap_wxMenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
6679 { "wxMenuItem_GetTextColour", (PyCFunction
) _wrap_wxMenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
6680 { "wxMenuItem_GetMarginWidth", (PyCFunction
) _wrap_wxMenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
6681 { "wxMenuItem_GetFont", (PyCFunction
) _wrap_wxMenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
6682 { "wxMenuItem_GetBitmap", (PyCFunction
) _wrap_wxMenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
6683 { "wxMenuItem_GetBackgroundColour", (PyCFunction
) _wrap_wxMenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
6684 { "wxMenuItem_Check", (PyCFunction
) _wrap_wxMenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
6685 { "wxMenuItem_Enable", (PyCFunction
) _wrap_wxMenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
6686 { "wxMenuItem_SetHelp", (PyCFunction
) _wrap_wxMenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
6687 { "wxMenuItem_GetHelp", (PyCFunction
) _wrap_wxMenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
6688 { "wxMenuItem_GetName", (PyCFunction
) _wrap_wxMenuItem_GetName
, METH_VARARGS
| METH_KEYWORDS
},
6689 { "wxMenuItem_SetName", (PyCFunction
) _wrap_wxMenuItem_SetName
, METH_VARARGS
| METH_KEYWORDS
},
6690 { "wxMenuItem_GetSubMenu", (PyCFunction
) _wrap_wxMenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
6691 { "wxMenuItem_GetId", (PyCFunction
) _wrap_wxMenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
6692 { "wxMenuItem_IsCheckable", (PyCFunction
) _wrap_wxMenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
6693 { "wxMenuItem_IsChecked", (PyCFunction
) _wrap_wxMenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
6694 { "wxMenuItem_IsEnabled", (PyCFunction
) _wrap_wxMenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
6695 { "wxMenuItem_IsSeparator", (PyCFunction
) _wrap_wxMenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
6696 { "new_wxMenuItem", (PyCFunction
) _wrap_new_wxMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
6697 { "wxMenuBar_GetMenu", (PyCFunction
) _wrap_wxMenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
6698 { "wxMenuBar_GetMenuCount", (PyCFunction
) _wrap_wxMenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
6699 { "wxMenuBar_SetLabelTop", (PyCFunction
) _wrap_wxMenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
6700 { "wxMenuBar_GetLabelTop", (PyCFunction
) _wrap_wxMenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
6701 { "wxMenuBar_SetLabel", (PyCFunction
) _wrap_wxMenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
6702 { "wxMenuBar_SetHelpString", (PyCFunction
) _wrap_wxMenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
6703 { "wxMenuBar_GetLabel", (PyCFunction
) _wrap_wxMenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
6704 { "wxMenuBar_GetHelpString", (PyCFunction
) _wrap_wxMenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
6705 { "wxMenuBar_EnableTop", (PyCFunction
) _wrap_wxMenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
6706 { "wxMenuBar_FindItemForId", (PyCFunction
) _wrap_wxMenuBar_FindItemForId
, METH_VARARGS
| METH_KEYWORDS
},
6707 { "wxMenuBar_FindMenuItem", (PyCFunction
) _wrap_wxMenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
6708 { "wxMenuBar_Enabled", (PyCFunction
) _wrap_wxMenuBar_Enabled
, METH_VARARGS
| METH_KEYWORDS
},
6709 { "wxMenuBar_Enable", (PyCFunction
) _wrap_wxMenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
6710 { "wxMenuBar_Checked", (PyCFunction
) _wrap_wxMenuBar_Checked
, METH_VARARGS
| METH_KEYWORDS
},
6711 { "wxMenuBar_Check", (PyCFunction
) _wrap_wxMenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
6712 { "wxMenuBar_Append", (PyCFunction
) _wrap_wxMenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
6713 { "new_wxMenuBar", (PyCFunction
) _wrap_new_wxMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
6714 { "wxMenu_Destroy", (PyCFunction
) _wrap_wxMenu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
6715 { "wxMenu_UpdateUI", (PyCFunction
) _wrap_wxMenu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
6716 { "wxMenu_SetLabel", (PyCFunction
) _wrap_wxMenu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
6717 { "wxMenu_IsEnabled", (PyCFunction
) _wrap_wxMenu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
6718 { "wxMenu_IsChecked", (PyCFunction
) _wrap_wxMenu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
6719 { "wxMenu_SetHelpString", (PyCFunction
) _wrap_wxMenu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
6720 { "wxMenu_GetLabel", (PyCFunction
) _wrap_wxMenu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
6721 { "wxMenu_GetHelpString", (PyCFunction
) _wrap_wxMenu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
6722 { "wxMenu_FindItemForId", (PyCFunction
) _wrap_wxMenu_FindItemForId
, METH_VARARGS
| METH_KEYWORDS
},
6723 { "wxMenu_SetTitle", (PyCFunction
) _wrap_wxMenu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
6724 { "wxMenu_GetTitle", (PyCFunction
) _wrap_wxMenu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
6725 { "wxMenu_FindItem", (PyCFunction
) _wrap_wxMenu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
6726 { "wxMenu_Enable", (PyCFunction
) _wrap_wxMenu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
6727 { "wxMenu_Check", (PyCFunction
) _wrap_wxMenu_Check
, METH_VARARGS
| METH_KEYWORDS
},
6728 { "wxMenu_Break", (PyCFunction
) _wrap_wxMenu_Break
, METH_VARARGS
| METH_KEYWORDS
},
6729 { "wxMenu_AppendSeparator", (PyCFunction
) _wrap_wxMenu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
6730 { "wxMenu_AppendItem", (PyCFunction
) _wrap_wxMenu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
6731 { "wxMenu_AppendMenu", (PyCFunction
) _wrap_wxMenu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
6732 { "wxMenu_Append", (PyCFunction
) _wrap_wxMenu_Append
, METH_VARARGS
| METH_KEYWORDS
},
6733 { "new_wxMenu", (PyCFunction
) _wrap_new_wxMenu
, METH_VARARGS
| METH_KEYWORDS
},
6734 { "wxScrolledWindow_ViewStart", (PyCFunction
) _wrap_wxScrolledWindow_ViewStart
, METH_VARARGS
| METH_KEYWORDS
},
6735 { "wxScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
6736 { "wxScrolledWindow_Scroll", (PyCFunction
) _wrap_wxScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
6737 { "wxScrolledWindow_PrepareDC", (PyCFunction
) _wrap_wxScrolledWindow_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
6738 { "wxScrolledWindow_IsRetained", (PyCFunction
) _wrap_wxScrolledWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
6739 { "wxScrolledWindow_GetVirtualSize", (PyCFunction
) _wrap_wxScrolledWindow_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
6740 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
6741 { "wxScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_wxScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
6742 { "new_wxScrolledWindow", (PyCFunction
) _wrap_new_wxScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
6743 { "wxDialog_SetReturnCode", (PyCFunction
) _wrap_wxDialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
6744 { "wxDialog_GetReturnCode", (PyCFunction
) _wrap_wxDialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
6745 { "wxDialog_ShowModal", (PyCFunction
) _wrap_wxDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
6746 { "wxDialog_Show", (PyCFunction
) _wrap_wxDialog_Show
, METH_VARARGS
| METH_KEYWORDS
},
6747 { "wxDialog_SetTitle", (PyCFunction
) _wrap_wxDialog_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
6748 { "wxDialog_IsModal", (PyCFunction
) _wrap_wxDialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
6749 { "wxDialog_SetModal", (PyCFunction
) _wrap_wxDialog_SetModal
, METH_VARARGS
| METH_KEYWORDS
},
6750 { "wxDialog_IsIconized", (PyCFunction
) _wrap_wxDialog_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
6751 { "wxDialog_Iconize", (PyCFunction
) _wrap_wxDialog_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
6752 { "wxDialog_GetTitle", (PyCFunction
) _wrap_wxDialog_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
6753 { "wxDialog_EndModal", (PyCFunction
) _wrap_wxDialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
6754 { "wxDialog_Centre", (PyCFunction
) _wrap_wxDialog_Centre
, METH_VARARGS
| METH_KEYWORDS
},
6755 { "new_wxDialog", (PyCFunction
) _wrap_new_wxDialog
, METH_VARARGS
| METH_KEYWORDS
},
6756 { "wxPanel_SetDefaultItem", (PyCFunction
) _wrap_wxPanel_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
6757 { "wxPanel_GetDefaultItem", (PyCFunction
) _wrap_wxPanel_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
6758 { "wxPanel_InitDialog", (PyCFunction
) _wrap_wxPanel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
6759 { "new_wxPanel", (PyCFunction
) _wrap_new_wxPanel
, METH_VARARGS
| METH_KEYWORDS
},
6760 { "wxWindow_GetToolTip", (PyCFunction
) _wrap_wxWindow_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
6761 { "wxWindow_SetToolTip", (PyCFunction
) _wrap_wxWindow_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
6762 { "wxWindow_SetToolTipString", (PyCFunction
) _wrap_wxWindow_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
6763 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
6764 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
6765 { "wxWindow_DLG_SZE", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
6766 { "wxWindow_DLG_PNT", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
6767 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
6768 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
6769 { "wxWindow_WarpPointer", (PyCFunction
) _wrap_wxWindow_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
6770 { "wxWindow_Validate", (PyCFunction
) _wrap_wxWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
},
6771 { "wxWindow_TransferDataToWindow", (PyCFunction
) _wrap_wxWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
6772 { "wxWindow_TransferDataFromWindow", (PyCFunction
) _wrap_wxWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
6773 { "wxWindow_Show", (PyCFunction
) _wrap_wxWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
6774 { "wxWindow_SetTitle", (PyCFunction
) _wrap_wxWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
6775 { "wxWindow_SetCursor", (PyCFunction
) _wrap_wxWindow_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
6776 { "wxWindow_SetClientSize", (PyCFunction
) _wrap_wxWindow_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
6777 { "wxWindow_SetClientSizeWH", (PyCFunction
) _wrap_wxWindow_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
6778 { "wxWindow_SetSizeHints", (PyCFunction
) _wrap_wxWindow_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
6779 { "wxWindow_SetPosition", (PyCFunction
) _wrap_wxWindow_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
6780 { "wxWindow_SetSize", (PyCFunction
) _wrap_wxWindow_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
6781 { "wxWindow_SetDimensions", (PyCFunction
) _wrap_wxWindow_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
6782 { "wxWindow_SetScrollPos", (PyCFunction
) _wrap_wxWindow_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
6783 { "wxWindow_SetScrollbar", (PyCFunction
) _wrap_wxWindow_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
6784 { "wxWindow_SetName", (PyCFunction
) _wrap_wxWindow_SetName
, METH_VARARGS
| METH_KEYWORDS
},
6785 { "wxWindow_SetId", (PyCFunction
) _wrap_wxWindow_SetId
, METH_VARARGS
| METH_KEYWORDS
},
6786 { "wxWindow_SetForegroundColour", (PyCFunction
) _wrap_wxWindow_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
6787 { "wxWindow_SetFont", (PyCFunction
) _wrap_wxWindow_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
6788 { "wxWindow_SetFocus", (PyCFunction
) _wrap_wxWindow_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
6789 { "wxWindow_SetConstraints", (PyCFunction
) _wrap_wxWindow_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
6790 { "wxWindow_SetBackgroundColour", (PyCFunction
) _wrap_wxWindow_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
6791 { "wxWindow_SetAutoLayout", (PyCFunction
) _wrap_wxWindow_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
6792 { "wxWindow_SetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
6793 { "wxWindow_ScrollWindow", (PyCFunction
) _wrap_wxWindow_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
6794 { "wxWindow_ScreenToClient", (PyCFunction
) _wrap_wxWindow_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
6795 { "wxWindow_ScreenToClientXY", (PyCFunction
) _wrap_wxWindow_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
6796 { "wxWindow_Reparent", (PyCFunction
) _wrap_wxWindow_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
6797 { "wxWindow_ReleaseMouse", (PyCFunction
) _wrap_wxWindow_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
6798 { "wxWindow_Refresh", (PyCFunction
) _wrap_wxWindow_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
6799 { "wxWindow_Raise", (PyCFunction
) _wrap_wxWindow_Raise
, METH_VARARGS
| METH_KEYWORDS
},
6800 { "wxWindow_PopupMenu", (PyCFunction
) _wrap_wxWindow_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
6801 { "wxWindow_PopupMenuXY", (PyCFunction
) _wrap_wxWindow_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
6802 { "wxWindow_Move", (PyCFunction
) _wrap_wxWindow_Move
, METH_VARARGS
| METH_KEYWORDS
},
6803 { "wxWindow_MoveXY", (PyCFunction
) _wrap_wxWindow_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
6804 { "wxWindow_MakeModal", (PyCFunction
) _wrap_wxWindow_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
6805 { "wxWindow_Lower", (PyCFunction
) _wrap_wxWindow_Lower
, METH_VARARGS
| METH_KEYWORDS
},
6806 { "wxWindow_LoadFromResource", (PyCFunction
) _wrap_wxWindow_LoadFromResource
, METH_VARARGS
| METH_KEYWORDS
},
6807 { "wxWindow_Layout", (PyCFunction
) _wrap_wxWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
6808 { "wxWindow_IsTopLevel", (PyCFunction
) _wrap_wxWindow_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
6809 { "wxWindow_IsShown", (PyCFunction
) _wrap_wxWindow_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
6810 { "wxWindow_IsRetained", (PyCFunction
) _wrap_wxWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
6811 { "wxWindow_IsEnabled", (PyCFunction
) _wrap_wxWindow_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
6812 { "wxWindow_InitDialog", (PyCFunction
) _wrap_wxWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
6813 { "wxWindow_Hide", (PyCFunction
) _wrap_wxWindow_Hide
, METH_VARARGS
| METH_KEYWORDS
},
6814 { "wxWindow_GetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
6815 { "wxWindow_GetUpdateRegion", (PyCFunction
) _wrap_wxWindow_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
6816 { "wxWindow_GetTitle", (PyCFunction
) _wrap_wxWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
6817 { "wxWindow_GetFullTextExtent", (PyCFunction
) _wrap_wxWindow_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
6818 { "wxWindow_GetTextExtent", (PyCFunction
) _wrap_wxWindow_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
6819 { "wxWindow_GetSize", (PyCFunction
) _wrap_wxWindow_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
6820 { "wxWindow_GetSizeTuple", (PyCFunction
) _wrap_wxWindow_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
6821 { "wxWindow_GetScrollRange", (PyCFunction
) _wrap_wxWindow_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
6822 { "wxWindow_GetScrollPos", (PyCFunction
) _wrap_wxWindow_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
6823 { "wxWindow_GetScrollThumb", (PyCFunction
) _wrap_wxWindow_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
6824 { "wxWindow_GetRect", (PyCFunction
) _wrap_wxWindow_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
6825 { "wxWindow_GetPosition", (PyCFunction
) _wrap_wxWindow_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
6826 { "wxWindow_GetPositionTuple", (PyCFunction
) _wrap_wxWindow_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
6827 { "wxWindow_GetParent", (PyCFunction
) _wrap_wxWindow_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
6828 { "wxWindow_GetName", (PyCFunction
) _wrap_wxWindow_GetName
, METH_VARARGS
| METH_KEYWORDS
},
6829 { "wxWindow_SetLabel", (PyCFunction
) _wrap_wxWindow_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
6830 { "wxWindow_GetLabel", (PyCFunction
) _wrap_wxWindow_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
6831 { "wxWindow_GetId", (PyCFunction
) _wrap_wxWindow_GetId
, METH_VARARGS
| METH_KEYWORDS
},
6832 { "wxWindow_GetGrandParent", (PyCFunction
) _wrap_wxWindow_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
6833 { "wxWindow_GetForegroundColour", (PyCFunction
) _wrap_wxWindow_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
6834 { "wxWindow_GetFont", (PyCFunction
) _wrap_wxWindow_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
6835 { "wxWindow_GetConstraints", (PyCFunction
) _wrap_wxWindow_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
6836 { "wxWindow_GetClientSize", (PyCFunction
) _wrap_wxWindow_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
6837 { "wxWindow_GetClientSizeTuple", (PyCFunction
) _wrap_wxWindow_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
6838 { "wxWindow_GetCharWidth", (PyCFunction
) _wrap_wxWindow_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
6839 { "wxWindow_GetCharHeight", (PyCFunction
) _wrap_wxWindow_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
6840 { "wxWindow_GetBackgroundColour", (PyCFunction
) _wrap_wxWindow_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
6841 { "wxWindow_Fit", (PyCFunction
) _wrap_wxWindow_Fit
, METH_VARARGS
| METH_KEYWORDS
},
6842 { "wxWindow_FindWindowByName", (PyCFunction
) _wrap_wxWindow_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
6843 { "wxWindow_FindWindowById", (PyCFunction
) _wrap_wxWindow_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
6844 { "wxWindow_Enable", (PyCFunction
) _wrap_wxWindow_Enable
, METH_VARARGS
| METH_KEYWORDS
},
6845 { "wxWindow_DragAcceptFiles", (PyCFunction
) _wrap_wxWindow_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
},
6846 { "wxWindow_DestroyChildren", (PyCFunction
) _wrap_wxWindow_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
6847 { "wxWindow_Destroy", (PyCFunction
) _wrap_wxWindow_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
6848 { "wxWindow_Close", (PyCFunction
) _wrap_wxWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
6849 { "wxWindow_ClientToScreen", (PyCFunction
) _wrap_wxWindow_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
6850 { "wxWindow_ClientToScreenXY", (PyCFunction
) _wrap_wxWindow_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
6851 { "wxWindow_CenterOnParent", (PyCFunction
) _wrap_wxWindow_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
6852 { "wxWindow_CentreOnParent", (PyCFunction
) _wrap_wxWindow_CentreOnParent
, METH_VARARGS
| METH_KEYWORDS
},
6853 { "wxWindow_Centre", (PyCFunction
) _wrap_wxWindow_Centre
, METH_VARARGS
| METH_KEYWORDS
},
6854 { "wxWindow_Center", (PyCFunction
) _wrap_wxWindow_Center
, METH_VARARGS
| METH_KEYWORDS
},
6855 { "wxWindow_CaptureMouse", (PyCFunction
) _wrap_wxWindow_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
6856 { "new_wxWindow", (PyCFunction
) _wrap_new_wxWindow
, METH_VARARGS
| METH_KEYWORDS
},
6857 { "wxEvtHandler_Connect", (PyCFunction
) _wrap_wxEvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
6858 { "wxEvtHandler_ProcessEvent", (PyCFunction
) _wrap_wxEvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
6859 { "wxWindow_FromHWND", (PyCFunction
) _wrap_wxWindow_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
6860 { "wxWindow_FindFocus", (PyCFunction
) _wrap_wxWindow_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
6867 * This table is used by the pointer type-checker
6869 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
6870 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
6871 { "_signed_long","_long",0},
6872 { "_wxPrintQuality","_int",0},
6873 { "_wxPrintQuality","_signed_int",0},
6874 { "_wxPrintQuality","_unsigned_int",0},
6875 { "_wxPrintQuality","_wxWindowID",0},
6876 { "_wxPrintQuality","_uint",0},
6877 { "_wxPrintQuality","_EBool",0},
6878 { "_wxPrintQuality","_size_t",0},
6879 { "_class_wxRegionIterator","_wxRegionIterator",0},
6880 { "_class_wxMenuBar","_wxMenuBar",0},
6881 { "_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
6882 { "_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
6883 { "_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
6884 { "_class_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
6885 { "_class_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
6886 { "_class_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
6887 { "_class_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
6888 { "_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
6889 { "_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
6890 { "_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
6891 { "_class_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
6892 { "_class_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
6893 { "_class_wxEvtHandler","_wxEvtHandler",0},
6894 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
6895 { "_wxCursor","_class_wxCursor",0},
6896 { "_wxMask","_class_wxMask",0},
6897 { "_wxPen","_class_wxPen",0},
6898 { "_byte","_unsigned_char",0},
6899 { "_long","_wxDash",0},
6900 { "_long","_unsigned_long",0},
6901 { "_long","_signed_long",0},
6902 { "_wxImageList","_class_wxImageList",0},
6903 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
6904 { "_wxDC","_class_wxDC",0},
6905 { "_size_t","_wxPrintQuality",0},
6906 { "_size_t","_unsigned_int",0},
6907 { "_size_t","_int",0},
6908 { "_size_t","_wxWindowID",0},
6909 { "_size_t","_uint",0},
6910 { "_class_wxRealPoint","_wxRealPoint",0},
6911 { "_wxPrinterDC","_class_wxPrinterDC",0},
6912 { "_class_wxMenuItem","_wxMenuItem",0},
6913 { "_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
6914 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
6915 { "_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
6916 { "_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
6917 { "_wxPanel","_class_wxPanel",0},
6918 { "_class_wxMask","_wxMask",0},
6919 { "_wxColour","_class_wxColour",0},
6920 { "_class_wxDialog","_wxDialog",0},
6921 { "_wxBrush","_class_wxBrush",0},
6922 { "_uint","_wxPrintQuality",0},
6923 { "_uint","_size_t",0},
6924 { "_uint","_unsigned_int",0},
6925 { "_uint","_int",0},
6926 { "_uint","_wxWindowID",0},
6927 { "_wxRect","_class_wxRect",0},
6928 { "_wxPoint","_class_wxPoint",0},
6929 { "_wxBitmap","_class_wxBitmap",0},
6930 { "_wxPyTimer","_class_wxPyTimer",0},
6931 { "_wxWindowDC","_class_wxWindowDC",0},
6932 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
6933 { "_EBool","_wxPrintQuality",0},
6934 { "_EBool","_signed_int",0},
6935 { "_EBool","_int",0},
6936 { "_EBool","_wxWindowID",0},
6937 { "_class_wxRegion","_wxRegion",0},
6938 { "_wxFont","_class_wxFont",0},
6939 { "_unsigned_long","_wxDash",0},
6940 { "_unsigned_long","_long",0},
6941 { "_class_wxRect","_wxRect",0},
6942 { "_class_wxDC","_wxDC",0},
6943 { "_class_wxPyTimer","_wxPyTimer",0},
6944 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
6945 { "_class_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
6946 { "_class_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
6947 { "_class_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
6948 { "_class_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
6949 { "_class_wxPanel","_wxPanel",0},
6950 { "_signed_int","_wxPrintQuality",0},
6951 { "_signed_int","_EBool",0},
6952 { "_signed_int","_wxWindowID",0},
6953 { "_signed_int","_int",0},
6954 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
6955 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
6956 { "_wxMenu","_class_wxMenu",0},
6957 { "_wxScreenDC","_class_wxScreenDC",0},
6958 { "_WXTYPE","_short",0},
6959 { "_WXTYPE","_signed_short",0},
6960 { "_WXTYPE","_unsigned_short",0},
6961 { "_class_wxBrush","_wxBrush",0},
6962 { "_unsigned_short","_WXTYPE",0},
6963 { "_unsigned_short","_short",0},
6964 { "_class_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
6965 { "_class_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
6966 { "_class_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
6967 { "_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
6968 { "_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
6969 { "_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
6970 { "_class_wxWindow","_wxWindow",0},
6971 { "_class_wxFont","_wxFont",0},
6972 { "_wxClientDC","_class_wxClientDC",0},
6973 { "_class_wxPoint","_wxPoint",0},
6974 { "_wxRealPoint","_class_wxRealPoint",0},
6975 { "_signed_short","_WXTYPE",0},
6976 { "_signed_short","_short",0},
6977 { "_wxMemoryDC","_class_wxMemoryDC",0},
6978 { "_wxPaintDC","_class_wxPaintDC",0},
6979 { "_class_wxWindowDC","_wxWindowDC",0},
6980 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
6981 { "_class_wxCursor","_wxCursor",0},
6982 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
6983 { "_unsigned_char","_byte",0},
6984 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
6985 { "_class_wxMenu","_wxMenu",0},
6986 { "_unsigned_int","_wxPrintQuality",0},
6987 { "_unsigned_int","_size_t",0},
6988 { "_unsigned_int","_uint",0},
6989 { "_unsigned_int","_wxWindowID",0},
6990 { "_unsigned_int","_int",0},
6991 { "_wxIcon","_class_wxIcon",0},
6992 { "_wxDialog","_class_wxDialog",0},
6993 { "_class_wxPen","_wxPen",0},
6994 { "_short","_WXTYPE",0},
6995 { "_short","_unsigned_short",0},
6996 { "_short","_signed_short",0},
6997 { "_class_wxImageList","_wxImageList",0},
6998 { "_wxWindowID","_wxPrintQuality",0},
6999 { "_wxWindowID","_size_t",0},
7000 { "_wxWindowID","_EBool",0},
7001 { "_wxWindowID","_uint",0},
7002 { "_wxWindowID","_int",0},
7003 { "_wxWindowID","_signed_int",0},
7004 { "_wxWindowID","_unsigned_int",0},
7005 { "_int","_wxPrintQuality",0},
7006 { "_int","_size_t",0},
7007 { "_int","_EBool",0},
7008 { "_int","_uint",0},
7009 { "_int","_wxWindowID",0},
7010 { "_int","_unsigned_int",0},
7011 { "_int","_signed_int",0},
7012 { "_wxSize","_class_wxSize",0},
7013 { "_wxRegionIterator","_class_wxRegionIterator",0},
7014 { "_class_wxPrinterDC","_wxPrinterDC",0},
7015 { "_class_wxPaintDC","_wxPaintDC",0},
7016 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
7017 { "_class_wxIcon","_wxIcon",0},
7018 { "_class_wxColour","_wxColour",0},
7019 { "_class_wxScreenDC","_wxScreenDC",0},
7020 { "_wxPalette","_class_wxPalette",0},
7021 { "_wxRegion","_class_wxRegion",0},
7022 { "_class_wxClientDC","_wxClientDC",0},
7023 { "_class_wxSize","_wxSize",0},
7024 { "_class_wxBitmap","_wxBitmap",0},
7025 { "_class_wxMemoryDC","_wxMemoryDC",0},
7026 { "_wxMenuBar","_class_wxMenuBar",0},
7027 { "_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
7028 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
7029 { "_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
7030 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
7031 { "_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
7032 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
7033 { "_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
7034 { "_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
7035 { "_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
7036 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
7037 { "_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
7038 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
7039 { "_wxEvtHandler","_class_wxEvtHandler",0},
7040 { "_wxMenuItem","_class_wxMenuItem",0},
7041 { "_wxDash","_unsigned_long",0},
7042 { "_wxDash","_long",0},
7043 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
7044 { "_class_wxPalette","_wxPalette",0},
7045 { "_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
7046 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
7047 { "_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
7048 { "_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
7049 { "_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
7050 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
7051 { "_wxWindow","_class_wxWindow",0},
7054 static PyObject
*SWIG_globals
;
7058 SWIGEXPORT(void) initwindowsc() {
7060 SWIG_globals
= SWIG_newvarlink();
7061 m
= Py_InitModule("windowsc", windowscMethods
);
7062 d
= PyModule_GetDict(m
);
7065 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
7066 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);