2 * FILE : msw/windows.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 810)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initwindowsc
54 #define SWIG_name "windowsc"
57 #include <wx/menuitem.h>
59 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
64 } else if (target
== Py_None
) {
68 if (!PyList_Check(target
)) {
70 target
= PyList_New(0);
71 PyList_Append(target
, o2
);
74 PyList_Append(target
,o
);
80 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
86 } else if (target
== Py_None
) {
90 if (!PyTuple_Check(target
)) {
92 target
= PyTuple_New(1);
93 PyTuple_SetItem(target
, 0, o2
);
96 PyTuple_SetItem(o3
, 0, o
);
99 target
= PySequence_Concat(o2
, o3
);
107 HELPEREXPORT byte
* byte_LIST_helper(PyObject
* source
);
108 HELPEREXPORT
int* int_LIST_helper(PyObject
* source
);
109 HELPEREXPORT
long* long_LIST_helper(PyObject
* source
);
110 HELPEREXPORT
char** string_LIST_helper(PyObject
* source
);
111 HELPEREXPORT wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
112 HELPEREXPORT wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
113 HELPEREXPORT wxString
* wxString_LIST_helper(PyObject
* source
);
114 HELPEREXPORT 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 static PyObject
* wxWindow_GetChildren(wxWindow
*self
) {
830 wxWindowList
& list
= self
->GetChildren();
831 return wxPy_ConvertList(&list
, "wxWindow");
833 static PyObject
*_wrap_wxWindow_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
834 PyObject
* _resultobj
;
837 PyObject
* _argo0
= 0;
838 char *_kwnames
[] = { "self", NULL
};
841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetChildren",_kwnames
,&_argo0
))
844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetChildren. Expected _wxWindow_p.");
851 wxPy_BEGIN_ALLOW_THREADS
;
852 _result
= (PyObject
*)wxWindow_GetChildren(_arg0
);
854 wxPy_END_ALLOW_THREADS
;
856 _resultobj
= _result
;
861 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
862 static PyObject
*_wrap_wxWindow_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
863 PyObject
* _resultobj
;
866 PyObject
* _argo0
= 0;
867 char *_kwnames
[] = { "self", NULL
};
870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharHeight",_kwnames
,&_argo0
))
873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
880 wxPy_BEGIN_ALLOW_THREADS
;
881 _result
= (int )wxWindow_GetCharHeight(_arg0
);
883 wxPy_END_ALLOW_THREADS
;
884 } _resultobj
= Py_BuildValue("i",_result
);
888 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
889 static PyObject
*_wrap_wxWindow_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
890 PyObject
* _resultobj
;
893 PyObject
* _argo0
= 0;
894 char *_kwnames
[] = { "self", NULL
};
897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharWidth",_kwnames
,&_argo0
))
900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
907 wxPy_BEGIN_ALLOW_THREADS
;
908 _result
= (int )wxWindow_GetCharWidth(_arg0
);
910 wxPy_END_ALLOW_THREADS
;
911 } _resultobj
= Py_BuildValue("i",_result
);
915 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
916 static PyObject
*_wrap_wxWindow_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
917 PyObject
* _resultobj
;
923 PyObject
* _argo0
= 0;
924 char *_kwnames
[] = { "self", NULL
};
933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSizeTuple",_kwnames
,&_argo0
))
936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
943 wxPy_BEGIN_ALLOW_THREADS
;
944 wxWindow_GetClientSizeTuple(_arg0
,_arg1
,_arg2
);
946 wxPy_END_ALLOW_THREADS
;
947 } Py_INCREF(Py_None
);
948 _resultobj
= Py_None
;
951 o
= PyInt_FromLong((long) (*_arg1
));
952 _resultobj
= t_output_helper(_resultobj
, o
);
956 o
= PyInt_FromLong((long) (*_arg2
));
957 _resultobj
= t_output_helper(_resultobj
, o
);
962 #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
963 static PyObject
*_wrap_wxWindow_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
964 PyObject
* _resultobj
;
967 PyObject
* _argo0
= 0;
968 char *_kwnames
[] = { "self", NULL
};
972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSize",_kwnames
,&_argo0
))
975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
982 wxPy_BEGIN_ALLOW_THREADS
;
983 _result
= new wxSize (wxWindow_GetClientSize(_arg0
));
985 wxPy_END_ALLOW_THREADS
;
986 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
987 _resultobj
= Py_BuildValue("s",_ptemp
);
991 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
992 static PyObject
*_wrap_wxWindow_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
993 PyObject
* _resultobj
;
994 wxLayoutConstraints
* _result
;
996 PyObject
* _argo0
= 0;
997 char *_kwnames
[] = { "self", NULL
};
1001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetConstraints",_kwnames
,&_argo0
))
1004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
1011 wxPy_BEGIN_ALLOW_THREADS
;
1012 _result
= (wxLayoutConstraints
*)wxWindow_GetConstraints(_arg0
);
1014 wxPy_END_ALLOW_THREADS
;
1016 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
1017 _resultobj
= Py_BuildValue("s",_ptemp
);
1020 _resultobj
= Py_None
;
1025 #define wxWindow_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
1026 static PyObject
*_wrap_wxWindow_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1027 PyObject
* _resultobj
;
1028 wxEvtHandler
* _result
;
1030 PyObject
* _argo0
= 0;
1031 char *_kwnames
[] = { "self", NULL
};
1035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetEventHandler",_kwnames
,&_argo0
))
1038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetEventHandler. Expected _wxWindow_p.");
1045 wxPy_BEGIN_ALLOW_THREADS
;
1046 _result
= (wxEvtHandler
*)wxWindow_GetEventHandler(_arg0
);
1048 wxPy_END_ALLOW_THREADS
;
1050 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
1051 _resultobj
= Py_BuildValue("s",_ptemp
);
1054 _resultobj
= Py_None
;
1059 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
1060 static PyObject
*_wrap_wxWindow_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1061 PyObject
* _resultobj
;
1064 PyObject
* _argo0
= 0;
1065 char *_kwnames
[] = { "self", NULL
};
1069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetFont",_kwnames
,&_argo0
))
1072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
1079 wxPy_BEGIN_ALLOW_THREADS
;
1080 wxFont
& _result_ref
= wxWindow_GetFont(_arg0
);
1081 _result
= (wxFont
*) &_result_ref
;
1083 wxPy_END_ALLOW_THREADS
;
1085 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1086 _resultobj
= Py_BuildValue("s",_ptemp
);
1089 _resultobj
= Py_None
;
1094 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
1095 static PyObject
*_wrap_wxWindow_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1096 PyObject
* _resultobj
;
1099 PyObject
* _argo0
= 0;
1100 char *_kwnames
[] = { "self", NULL
};
1104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetForegroundColour",_kwnames
,&_argo0
))
1107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
1114 wxPy_BEGIN_ALLOW_THREADS
;
1115 _result
= new wxColour (wxWindow_GetForegroundColour(_arg0
));
1117 wxPy_END_ALLOW_THREADS
;
1118 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1119 _resultobj
= Py_BuildValue("s",_ptemp
);
1123 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
1124 static PyObject
*_wrap_wxWindow_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1125 PyObject
* _resultobj
;
1128 PyObject
* _argo0
= 0;
1129 char *_kwnames
[] = { "self", NULL
};
1133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetGrandParent",_kwnames
,&_argo0
))
1136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
1143 wxPy_BEGIN_ALLOW_THREADS
;
1144 _result
= (wxWindow
*)wxWindow_GetGrandParent(_arg0
);
1146 wxPy_END_ALLOW_THREADS
;
1148 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1149 _resultobj
= Py_BuildValue("s",_ptemp
);
1152 _resultobj
= Py_None
;
1157 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
1158 static PyObject
*_wrap_wxWindow_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1159 PyObject
* _resultobj
;
1162 PyObject
* _argo0
= 0;
1163 char *_kwnames
[] = { "self", NULL
};
1166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetId",_kwnames
,&_argo0
))
1169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
1176 wxPy_BEGIN_ALLOW_THREADS
;
1177 _result
= (int )wxWindow_GetId(_arg0
);
1179 wxPy_END_ALLOW_THREADS
;
1180 } _resultobj
= Py_BuildValue("i",_result
);
1184 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
1185 static PyObject
*_wrap_wxWindow_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1186 PyObject
* _resultobj
;
1189 PyObject
* _argo0
= 0;
1190 char *_kwnames
[] = { "self", NULL
};
1193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetLabel",_kwnames
,&_argo0
))
1196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
1203 wxPy_BEGIN_ALLOW_THREADS
;
1204 _result
= new wxString (wxWindow_GetLabel(_arg0
));
1206 wxPy_END_ALLOW_THREADS
;
1208 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1216 #define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
1217 static PyObject
*_wrap_wxWindow_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1218 PyObject
* _resultobj
;
1221 PyObject
* _argo0
= 0;
1222 PyObject
* _obj1
= 0;
1223 char *_kwnames
[] = { "self","label", NULL
};
1226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetLabel",_kwnames
,&_argo0
,&_obj1
))
1229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
1236 if (!PyString_Check(_obj1
)) {
1237 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1240 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1243 wxPy_BEGIN_ALLOW_THREADS
;
1244 wxWindow_SetLabel(_arg0
,*_arg1
);
1246 wxPy_END_ALLOW_THREADS
;
1247 } Py_INCREF(Py_None
);
1248 _resultobj
= Py_None
;
1256 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
1257 static PyObject
*_wrap_wxWindow_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1258 PyObject
* _resultobj
;
1261 PyObject
* _argo0
= 0;
1262 char *_kwnames
[] = { "self", NULL
};
1265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetName",_kwnames
,&_argo0
))
1268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
1275 wxPy_BEGIN_ALLOW_THREADS
;
1276 _result
= new wxString (wxWindow_GetName(_arg0
));
1278 wxPy_END_ALLOW_THREADS
;
1280 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1288 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
1289 static PyObject
*_wrap_wxWindow_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1290 PyObject
* _resultobj
;
1293 PyObject
* _argo0
= 0;
1294 char *_kwnames
[] = { "self", NULL
};
1298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetParent",_kwnames
,&_argo0
))
1301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
1308 wxPy_BEGIN_ALLOW_THREADS
;
1309 _result
= (wxWindow
*)wxWindow_GetParent(_arg0
);
1311 wxPy_END_ALLOW_THREADS
;
1313 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1314 _resultobj
= Py_BuildValue("s",_ptemp
);
1317 _resultobj
= Py_None
;
1322 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
1323 static PyObject
*_wrap_wxWindow_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1324 PyObject
* _resultobj
;
1330 PyObject
* _argo0
= 0;
1331 char *_kwnames
[] = { "self", NULL
};
1340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPositionTuple",_kwnames
,&_argo0
))
1343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
1350 wxPy_BEGIN_ALLOW_THREADS
;
1351 wxWindow_GetPositionTuple(_arg0
,_arg1
,_arg2
);
1353 wxPy_END_ALLOW_THREADS
;
1354 } Py_INCREF(Py_None
);
1355 _resultobj
= Py_None
;
1358 o
= PyInt_FromLong((long) (*_arg1
));
1359 _resultobj
= t_output_helper(_resultobj
, o
);
1363 o
= PyInt_FromLong((long) (*_arg2
));
1364 _resultobj
= t_output_helper(_resultobj
, o
);
1369 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
1370 static PyObject
*_wrap_wxWindow_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1371 PyObject
* _resultobj
;
1374 PyObject
* _argo0
= 0;
1375 char *_kwnames
[] = { "self", NULL
};
1379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPosition",_kwnames
,&_argo0
))
1382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
1389 wxPy_BEGIN_ALLOW_THREADS
;
1390 _result
= new wxPoint (wxWindow_GetPosition(_arg0
));
1392 wxPy_END_ALLOW_THREADS
;
1393 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1394 _resultobj
= Py_BuildValue("s",_ptemp
);
1398 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
1399 static PyObject
*_wrap_wxWindow_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1400 PyObject
* _resultobj
;
1403 PyObject
* _argo0
= 0;
1404 char *_kwnames
[] = { "self", NULL
};
1408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetRect",_kwnames
,&_argo0
))
1411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
1418 wxPy_BEGIN_ALLOW_THREADS
;
1419 _result
= new wxRect (wxWindow_GetRect(_arg0
));
1421 wxPy_END_ALLOW_THREADS
;
1422 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1423 _resultobj
= Py_BuildValue("s",_ptemp
);
1427 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
1428 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1429 PyObject
* _resultobj
;
1433 PyObject
* _argo0
= 0;
1434 char *_kwnames
[] = { "self","orientation", NULL
};
1437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollThumb",_kwnames
,&_argo0
,&_arg1
))
1440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
1447 wxPy_BEGIN_ALLOW_THREADS
;
1448 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
1450 wxPy_END_ALLOW_THREADS
;
1451 } _resultobj
= Py_BuildValue("i",_result
);
1455 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
1456 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1457 PyObject
* _resultobj
;
1461 PyObject
* _argo0
= 0;
1462 char *_kwnames
[] = { "self","orientation", NULL
};
1465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollPos",_kwnames
,&_argo0
,&_arg1
))
1468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
1475 wxPy_BEGIN_ALLOW_THREADS
;
1476 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
1478 wxPy_END_ALLOW_THREADS
;
1479 } _resultobj
= Py_BuildValue("i",_result
);
1483 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
1484 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1485 PyObject
* _resultobj
;
1489 PyObject
* _argo0
= 0;
1490 char *_kwnames
[] = { "self","orientation", NULL
};
1493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollRange",_kwnames
,&_argo0
,&_arg1
))
1496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
1503 wxPy_BEGIN_ALLOW_THREADS
;
1504 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
1506 wxPy_END_ALLOW_THREADS
;
1507 } _resultobj
= Py_BuildValue("i",_result
);
1511 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
1512 static PyObject
*_wrap_wxWindow_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1513 PyObject
* _resultobj
;
1519 PyObject
* _argo0
= 0;
1520 char *_kwnames
[] = { "self", NULL
};
1529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizeTuple",_kwnames
,&_argo0
))
1532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
1539 wxPy_BEGIN_ALLOW_THREADS
;
1540 wxWindow_GetSizeTuple(_arg0
,_arg1
,_arg2
);
1542 wxPy_END_ALLOW_THREADS
;
1543 } Py_INCREF(Py_None
);
1544 _resultobj
= Py_None
;
1547 o
= PyInt_FromLong((long) (*_arg1
));
1548 _resultobj
= t_output_helper(_resultobj
, o
);
1552 o
= PyInt_FromLong((long) (*_arg2
));
1553 _resultobj
= t_output_helper(_resultobj
, o
);
1558 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
1559 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1560 PyObject
* _resultobj
;
1563 PyObject
* _argo0
= 0;
1564 char *_kwnames
[] = { "self", NULL
};
1568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSize",_kwnames
,&_argo0
))
1571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
1578 wxPy_BEGIN_ALLOW_THREADS
;
1579 _result
= new wxSize (wxWindow_GetSize(_arg0
));
1581 wxPy_END_ALLOW_THREADS
;
1582 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1583 _resultobj
= Py_BuildValue("s",_ptemp
);
1587 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
1588 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1589 PyObject
* _resultobj
;
1596 PyObject
* _argo0
= 0;
1597 PyObject
* _obj1
= 0;
1598 char *_kwnames
[] = { "self","string", NULL
};
1607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
1610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
1617 if (!PyString_Check(_obj1
)) {
1618 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1621 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1624 wxPy_BEGIN_ALLOW_THREADS
;
1625 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
1627 wxPy_END_ALLOW_THREADS
;
1628 } Py_INCREF(Py_None
);
1629 _resultobj
= Py_None
;
1632 o
= PyInt_FromLong((long) (*_arg2
));
1633 _resultobj
= t_output_helper(_resultobj
, o
);
1637 o
= PyInt_FromLong((long) (*_arg3
));
1638 _resultobj
= t_output_helper(_resultobj
, o
);
1647 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1648 static PyObject
*_wrap_wxWindow_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1649 PyObject
* _resultobj
;
1660 wxFont
* _arg6
= (wxFont
*) NULL
;
1661 PyObject
* _argo0
= 0;
1662 PyObject
* _obj1
= 0;
1663 PyObject
* _argo6
= 0;
1664 char *_kwnames
[] = { "self","string","font", NULL
};
1679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxWindow_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
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_GetFullTextExtent. Expected _wxWindow_p.");
1689 if (!PyString_Check(_obj1
)) {
1690 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1693 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1696 if (_argo6
== Py_None
) { _arg6
= NULL
; }
1697 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
1698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
1703 wxPy_BEGIN_ALLOW_THREADS
;
1704 wxWindow_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1706 wxPy_END_ALLOW_THREADS
;
1707 } Py_INCREF(Py_None
);
1708 _resultobj
= Py_None
;
1711 o
= PyInt_FromLong((long) (*_arg2
));
1712 _resultobj
= t_output_helper(_resultobj
, o
);
1716 o
= PyInt_FromLong((long) (*_arg3
));
1717 _resultobj
= t_output_helper(_resultobj
, o
);
1721 o
= PyInt_FromLong((long) (*_arg4
));
1722 _resultobj
= t_output_helper(_resultobj
, o
);
1726 o
= PyInt_FromLong((long) (*_arg5
));
1727 _resultobj
= t_output_helper(_resultobj
, o
);
1736 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
1737 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1738 PyObject
* _resultobj
;
1741 PyObject
* _argo0
= 0;
1742 char *_kwnames
[] = { "self", NULL
};
1745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetTitle",_kwnames
,&_argo0
))
1748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
1755 wxPy_BEGIN_ALLOW_THREADS
;
1756 _result
= new wxString (wxWindow_GetTitle(_arg0
));
1758 wxPy_END_ALLOW_THREADS
;
1760 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1768 #define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
1769 static PyObject
*_wrap_wxWindow_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1770 PyObject
* _resultobj
;
1773 PyObject
* _argo0
= 0;
1774 char *_kwnames
[] = { "self", NULL
};
1778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetUpdateRegion",_kwnames
,&_argo0
))
1781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
1788 wxPy_BEGIN_ALLOW_THREADS
;
1789 _result
= new wxRegion (wxWindow_GetUpdateRegion(_arg0
));
1791 wxPy_END_ALLOW_THREADS
;
1792 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRegion_p");
1793 _resultobj
= Py_BuildValue("s",_ptemp
);
1797 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
1798 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1799 PyObject
* _resultobj
;
1802 PyObject
* _argo0
= 0;
1803 char *_kwnames
[] = { "self", NULL
};
1806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetWindowStyleFlag",_kwnames
,&_argo0
))
1809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
1816 wxPy_BEGIN_ALLOW_THREADS
;
1817 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
1819 wxPy_END_ALLOW_THREADS
;
1820 } _resultobj
= Py_BuildValue("l",_result
);
1824 #define wxWindow_Hide(_swigobj) (_swigobj->Hide())
1825 static PyObject
*_wrap_wxWindow_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1826 PyObject
* _resultobj
;
1829 PyObject
* _argo0
= 0;
1830 char *_kwnames
[] = { "self", NULL
};
1833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Hide",_kwnames
,&_argo0
))
1836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
1843 wxPy_BEGIN_ALLOW_THREADS
;
1844 _result
= (bool )wxWindow_Hide(_arg0
);
1846 wxPy_END_ALLOW_THREADS
;
1847 } _resultobj
= Py_BuildValue("i",_result
);
1851 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
1852 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1853 PyObject
* _resultobj
;
1855 PyObject
* _argo0
= 0;
1856 char *_kwnames
[] = { "self", NULL
};
1859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_InitDialog",_kwnames
,&_argo0
))
1862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
1869 wxPy_BEGIN_ALLOW_THREADS
;
1870 wxWindow_InitDialog(_arg0
);
1872 wxPy_END_ALLOW_THREADS
;
1873 } Py_INCREF(Py_None
);
1874 _resultobj
= Py_None
;
1878 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
1879 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1880 PyObject
* _resultobj
;
1883 PyObject
* _argo0
= 0;
1884 char *_kwnames
[] = { "self", NULL
};
1887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsEnabled",_kwnames
,&_argo0
))
1890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
1897 wxPy_BEGIN_ALLOW_THREADS
;
1898 _result
= (bool )wxWindow_IsEnabled(_arg0
);
1900 wxPy_END_ALLOW_THREADS
;
1901 } _resultobj
= Py_BuildValue("i",_result
);
1905 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
1906 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1907 PyObject
* _resultobj
;
1910 PyObject
* _argo0
= 0;
1911 char *_kwnames
[] = { "self", NULL
};
1914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsRetained",_kwnames
,&_argo0
))
1917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
1924 wxPy_BEGIN_ALLOW_THREADS
;
1925 _result
= (bool )wxWindow_IsRetained(_arg0
);
1927 wxPy_END_ALLOW_THREADS
;
1928 } _resultobj
= Py_BuildValue("i",_result
);
1932 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
1933 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1934 PyObject
* _resultobj
;
1937 PyObject
* _argo0
= 0;
1938 char *_kwnames
[] = { "self", NULL
};
1941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsShown",_kwnames
,&_argo0
))
1944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
1951 wxPy_BEGIN_ALLOW_THREADS
;
1952 _result
= (bool )wxWindow_IsShown(_arg0
);
1954 wxPy_END_ALLOW_THREADS
;
1955 } _resultobj
= Py_BuildValue("i",_result
);
1959 #define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
1960 static PyObject
*_wrap_wxWindow_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1961 PyObject
* _resultobj
;
1964 PyObject
* _argo0
= 0;
1965 char *_kwnames
[] = { "self", NULL
};
1968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsTopLevel",_kwnames
,&_argo0
))
1971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
1978 wxPy_BEGIN_ALLOW_THREADS
;
1979 _result
= (bool )wxWindow_IsTopLevel(_arg0
);
1981 wxPy_END_ALLOW_THREADS
;
1982 } _resultobj
= Py_BuildValue("i",_result
);
1986 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
1987 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1988 PyObject
* _resultobj
;
1990 PyObject
* _argo0
= 0;
1991 char *_kwnames
[] = { "self", NULL
};
1994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Layout",_kwnames
,&_argo0
))
1997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
2004 wxPy_BEGIN_ALLOW_THREADS
;
2005 wxWindow_Layout(_arg0
);
2007 wxPy_END_ALLOW_THREADS
;
2008 } Py_INCREF(Py_None
);
2009 _resultobj
= Py_None
;
2013 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
2014 static PyObject
*_wrap_wxWindow_LoadFromResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2015 PyObject
* _resultobj
;
2020 wxResourceTable
* _arg3
= (wxResourceTable
*) NULL
;
2021 PyObject
* _argo0
= 0;
2022 PyObject
* _argo1
= 0;
2023 PyObject
* _obj2
= 0;
2024 PyObject
* _argo3
= 0;
2025 char *_kwnames
[] = { "self","parent","resourceName","resourceTable", NULL
};
2028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|O:wxWindow_LoadFromResource",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_argo3
))
2031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
2038 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2039 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
2045 if (!PyString_Check(_obj2
)) {
2046 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2049 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2052 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2053 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxResourceTable_p")) {
2054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
2059 wxPy_BEGIN_ALLOW_THREADS
;
2060 _result
= (bool )wxWindow_LoadFromResource(_arg0
,_arg1
,*_arg2
,_arg3
);
2062 wxPy_END_ALLOW_THREADS
;
2063 } _resultobj
= Py_BuildValue("i",_result
);
2071 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
2072 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2073 PyObject
* _resultobj
;
2075 PyObject
* _argo0
= 0;
2076 char *_kwnames
[] = { "self", NULL
};
2079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Lower",_kwnames
,&_argo0
))
2082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
2089 wxPy_BEGIN_ALLOW_THREADS
;
2090 wxWindow_Lower(_arg0
);
2092 wxPy_END_ALLOW_THREADS
;
2093 } Py_INCREF(Py_None
);
2094 _resultobj
= Py_None
;
2098 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
2099 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2100 PyObject
* _resultobj
;
2103 PyObject
* _argo0
= 0;
2105 char *_kwnames
[] = { "self","flag", NULL
};
2108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_MakeModal",_kwnames
,&_argo0
,&tempbool1
))
2111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
2117 _arg1
= (bool ) tempbool1
;
2119 wxPy_BEGIN_ALLOW_THREADS
;
2120 wxWindow_MakeModal(_arg0
,_arg1
);
2122 wxPy_END_ALLOW_THREADS
;
2123 } Py_INCREF(Py_None
);
2124 _resultobj
= Py_None
;
2128 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2129 static PyObject
*_wrap_wxWindow_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2130 PyObject
* _resultobj
;
2134 PyObject
* _argo0
= 0;
2135 char *_kwnames
[] = { "self","x","y", NULL
};
2138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
2148 wxPy_BEGIN_ALLOW_THREADS
;
2149 wxWindow_MoveXY(_arg0
,_arg1
,_arg2
);
2151 wxPy_END_ALLOW_THREADS
;
2152 } Py_INCREF(Py_None
);
2153 _resultobj
= Py_None
;
2157 #define wxWindow_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2158 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2159 PyObject
* _resultobj
;
2162 PyObject
* _argo0
= 0;
2163 PyObject
* _argo1
= 0;
2164 char *_kwnames
[] = { "self","point", NULL
};
2167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Move",_kwnames
,&_argo0
,&_argo1
))
2170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
2177 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2178 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
2179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Move. Expected _wxPoint_p.");
2184 wxPy_BEGIN_ALLOW_THREADS
;
2185 wxWindow_Move(_arg0
,*_arg1
);
2187 wxPy_END_ALLOW_THREADS
;
2188 } Py_INCREF(Py_None
);
2189 _resultobj
= Py_None
;
2193 #define wxWindow_PopEventHandler(_swigobj,_swigarg0) (_swigobj->PopEventHandler(_swigarg0))
2194 static PyObject
*_wrap_wxWindow_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2195 PyObject
* _resultobj
;
2196 wxEvtHandler
* _result
;
2198 bool _arg1
= (bool ) FALSE
;
2199 PyObject
* _argo0
= 0;
2200 int tempbool1
= (int) FALSE
;
2201 char *_kwnames
[] = { "self","deleteHandler", NULL
};
2205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_PopEventHandler",_kwnames
,&_argo0
,&tempbool1
))
2208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopEventHandler. Expected _wxWindow_p.");
2214 _arg1
= (bool ) tempbool1
;
2216 wxPy_BEGIN_ALLOW_THREADS
;
2217 _result
= (wxEvtHandler
*)wxWindow_PopEventHandler(_arg0
,_arg1
);
2219 wxPy_END_ALLOW_THREADS
;
2221 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
2222 _resultobj
= Py_BuildValue("s",_ptemp
);
2225 _resultobj
= Py_None
;
2230 #define wxWindow_PushEventHandler(_swigobj,_swigarg0) (_swigobj->PushEventHandler(_swigarg0))
2231 static PyObject
*_wrap_wxWindow_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2232 PyObject
* _resultobj
;
2234 wxEvtHandler
* _arg1
;
2235 PyObject
* _argo0
= 0;
2236 PyObject
* _argo1
= 0;
2237 char *_kwnames
[] = { "self","handler", NULL
};
2240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_PushEventHandler",_kwnames
,&_argo0
,&_argo1
))
2243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PushEventHandler. Expected _wxWindow_p.");
2250 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2251 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
2252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PushEventHandler. Expected _wxEvtHandler_p.");
2257 wxPy_BEGIN_ALLOW_THREADS
;
2258 wxWindow_PushEventHandler(_arg0
,_arg1
);
2260 wxPy_END_ALLOW_THREADS
;
2261 } Py_INCREF(Py_None
);
2262 _resultobj
= Py_None
;
2266 #define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
2267 static PyObject
*_wrap_wxWindow_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2268 PyObject
* _resultobj
;
2274 PyObject
* _argo0
= 0;
2275 PyObject
* _argo1
= 0;
2276 char *_kwnames
[] = { "self","menu","x","y", NULL
};
2279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxWindow_PopupMenuXY",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
2282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
2289 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2290 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
2291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
2296 wxPy_BEGIN_ALLOW_THREADS
;
2297 _result
= (bool )wxWindow_PopupMenuXY(_arg0
,_arg1
,_arg2
,_arg3
);
2299 wxPy_END_ALLOW_THREADS
;
2300 } _resultobj
= Py_BuildValue("i",_result
);
2304 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
2305 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2306 PyObject
* _resultobj
;
2311 PyObject
* _argo0
= 0;
2312 PyObject
* _argo1
= 0;
2313 PyObject
* _argo2
= 0;
2314 char *_kwnames
[] = { "self","menu","pos", NULL
};
2317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_PopupMenu",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
2320 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2321 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
2327 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2328 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
2329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
2334 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2335 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
2336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxWindow_PopupMenu. Expected _wxPoint_p.");
2341 wxPy_BEGIN_ALLOW_THREADS
;
2342 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,*_arg2
);
2344 wxPy_END_ALLOW_THREADS
;
2345 } _resultobj
= Py_BuildValue("i",_result
);
2349 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
2350 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2351 PyObject
* _resultobj
;
2353 PyObject
* _argo0
= 0;
2354 char *_kwnames
[] = { "self", NULL
};
2357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Raise",_kwnames
,&_argo0
))
2360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
2367 wxPy_BEGIN_ALLOW_THREADS
;
2368 wxWindow_Raise(_arg0
);
2370 wxPy_END_ALLOW_THREADS
;
2371 } Py_INCREF(Py_None
);
2372 _resultobj
= Py_None
;
2376 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
2377 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2378 PyObject
* _resultobj
;
2380 bool _arg1
= (bool ) TRUE
;
2381 wxRect
* _arg2
= (wxRect
*) NULL
;
2382 PyObject
* _argo0
= 0;
2383 int tempbool1
= (int) TRUE
;
2384 PyObject
* _argo2
= 0;
2385 char *_kwnames
[] = { "self","eraseBackground","rect", NULL
};
2388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxWindow_Refresh",_kwnames
,&_argo0
,&tempbool1
,&_argo2
))
2391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
2397 _arg1
= (bool ) tempbool1
;
2399 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2400 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxRect_p")) {
2401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxWindow_Refresh. Expected _wxRect_p.");
2406 wxPy_BEGIN_ALLOW_THREADS
;
2407 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
2409 wxPy_END_ALLOW_THREADS
;
2410 } Py_INCREF(Py_None
);
2411 _resultobj
= Py_None
;
2415 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
2416 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2417 PyObject
* _resultobj
;
2419 PyObject
* _argo0
= 0;
2420 char *_kwnames
[] = { "self", NULL
};
2423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_ReleaseMouse",_kwnames
,&_argo0
))
2426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
2433 wxPy_BEGIN_ALLOW_THREADS
;
2434 wxWindow_ReleaseMouse(_arg0
);
2436 wxPy_END_ALLOW_THREADS
;
2437 } Py_INCREF(Py_None
);
2438 _resultobj
= Py_None
;
2442 #define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
2443 static PyObject
*_wrap_wxWindow_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2444 PyObject
* _resultobj
;
2448 PyObject
* _argo0
= 0;
2449 PyObject
* _argo1
= 0;
2450 char *_kwnames
[] = { "self","newParent", NULL
};
2453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Reparent",_kwnames
,&_argo0
,&_argo1
))
2456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
2463 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2464 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
2470 wxPy_BEGIN_ALLOW_THREADS
;
2471 _result
= (bool )wxWindow_Reparent(_arg0
,_arg1
);
2473 wxPy_END_ALLOW_THREADS
;
2474 } _resultobj
= Py_BuildValue("i",_result
);
2478 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
2479 static PyObject
*_wrap_wxWindow_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2480 PyObject
* _resultobj
;
2484 PyObject
* _argo0
= 0;
2486 PyObject
* _obj1
= 0;
2488 PyObject
* _obj2
= 0;
2489 char *_kwnames
[] = { "self","x","y", NULL
};
2492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ScreenToClientXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
2502 temp
= (int) PyInt_AsLong(_obj1
);
2506 temp0
= (int) PyInt_AsLong(_obj2
);
2510 wxPy_BEGIN_ALLOW_THREADS
;
2511 wxWindow_ScreenToClientXY(_arg0
,_arg1
,_arg2
);
2513 wxPy_END_ALLOW_THREADS
;
2514 } Py_INCREF(Py_None
);
2515 _resultobj
= Py_None
;
2518 o
= PyInt_FromLong((long) (*_arg1
));
2519 _resultobj
= t_output_helper(_resultobj
, o
);
2523 o
= PyInt_FromLong((long) (*_arg2
));
2524 _resultobj
= t_output_helper(_resultobj
, o
);
2529 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
2530 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2531 PyObject
* _resultobj
;
2535 PyObject
* _argo0
= 0;
2536 PyObject
* _argo1
= 0;
2537 char *_kwnames
[] = { "self","pt", NULL
};
2541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ScreenToClient",_kwnames
,&_argo0
,&_argo1
))
2544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
2551 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2552 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
2553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ScreenToClient. Expected _wxPoint_p.");
2558 wxPy_BEGIN_ALLOW_THREADS
;
2559 _result
= new wxPoint (wxWindow_ScreenToClient(_arg0
,*_arg1
));
2561 wxPy_END_ALLOW_THREADS
;
2562 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2563 _resultobj
= Py_BuildValue("s",_ptemp
);
2567 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
2568 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2569 PyObject
* _resultobj
;
2573 wxRect
* _arg3
= (wxRect
*) NULL
;
2574 PyObject
* _argo0
= 0;
2575 PyObject
* _argo3
= 0;
2576 char *_kwnames
[] = { "self","dx","dy","rect", NULL
};
2579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|O:wxWindow_ScrollWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
2582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
2589 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2590 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxRect_p")) {
2591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_ScrollWindow. Expected _wxRect_p.");
2596 wxPy_BEGIN_ALLOW_THREADS
;
2597 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
2599 wxPy_END_ALLOW_THREADS
;
2600 } Py_INCREF(Py_None
);
2601 _resultobj
= Py_None
;
2605 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
2606 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2607 PyObject
* _resultobj
;
2609 wxAcceleratorTable
* _arg1
;
2610 PyObject
* _argo0
= 0;
2611 PyObject
* _argo1
= 0;
2612 char *_kwnames
[] = { "self","accel", NULL
};
2615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetAcceleratorTable",_kwnames
,&_argo0
,&_argo1
))
2618 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2619 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
2625 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2626 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
2627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
2632 wxPy_BEGIN_ALLOW_THREADS
;
2633 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
2635 wxPy_END_ALLOW_THREADS
;
2636 } Py_INCREF(Py_None
);
2637 _resultobj
= Py_None
;
2641 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
2642 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2643 PyObject
* _resultobj
;
2646 PyObject
* _argo0
= 0;
2648 char *_kwnames
[] = { "self","autoLayout", NULL
};
2651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetAutoLayout",_kwnames
,&_argo0
,&tempbool1
))
2654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
2660 _arg1
= (bool ) tempbool1
;
2662 wxPy_BEGIN_ALLOW_THREADS
;
2663 wxWindow_SetAutoLayout(_arg0
,_arg1
);
2665 wxPy_END_ALLOW_THREADS
;
2666 } Py_INCREF(Py_None
);
2667 _resultobj
= Py_None
;
2671 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
2672 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2673 PyObject
* _resultobj
;
2676 PyObject
* _argo0
= 0;
2677 PyObject
* _argo1
= 0;
2678 char *_kwnames
[] = { "self","colour", NULL
};
2681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetBackgroundColour",_kwnames
,&_argo0
,&_argo1
))
2684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
2691 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2692 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetBackgroundColour. Expected _wxColour_p.");
2698 wxPy_BEGIN_ALLOW_THREADS
;
2699 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
2701 wxPy_END_ALLOW_THREADS
;
2702 } Py_INCREF(Py_None
);
2703 _resultobj
= Py_None
;
2707 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
2708 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2709 PyObject
* _resultobj
;
2711 wxLayoutConstraints
* _arg1
;
2712 PyObject
* _argo0
= 0;
2713 PyObject
* _argo1
= 0;
2714 char *_kwnames
[] = { "self","constraints", NULL
};
2717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetConstraints",_kwnames
,&_argo0
,&_argo1
))
2720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
2727 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2728 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
2729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
2734 wxPy_BEGIN_ALLOW_THREADS
;
2735 wxWindow_SetConstraints(_arg0
,_arg1
);
2737 wxPy_END_ALLOW_THREADS
;
2738 } Py_INCREF(Py_None
);
2739 _resultobj
= Py_None
;
2743 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
2744 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2745 PyObject
* _resultobj
;
2747 PyObject
* _argo0
= 0;
2748 char *_kwnames
[] = { "self", NULL
};
2751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_SetFocus",_kwnames
,&_argo0
))
2754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
2761 wxPy_BEGIN_ALLOW_THREADS
;
2762 wxWindow_SetFocus(_arg0
);
2764 wxPy_END_ALLOW_THREADS
;
2765 } Py_INCREF(Py_None
);
2766 _resultobj
= Py_None
;
2770 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
2771 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2772 PyObject
* _resultobj
;
2775 PyObject
* _argo0
= 0;
2776 PyObject
* _argo1
= 0;
2777 char *_kwnames
[] = { "self","font", NULL
};
2780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetFont",_kwnames
,&_argo0
,&_argo1
))
2783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
2790 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2791 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
2797 wxPy_BEGIN_ALLOW_THREADS
;
2798 wxWindow_SetFont(_arg0
,*_arg1
);
2800 wxPy_END_ALLOW_THREADS
;
2801 } Py_INCREF(Py_None
);
2802 _resultobj
= Py_None
;
2806 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
2807 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2808 PyObject
* _resultobj
;
2811 PyObject
* _argo0
= 0;
2812 PyObject
* _argo1
= 0;
2813 char *_kwnames
[] = { "self","colour", NULL
};
2816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetForegroundColour",_kwnames
,&_argo0
,&_argo1
))
2819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
2826 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2827 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetForegroundColour. Expected _wxColour_p.");
2833 wxPy_BEGIN_ALLOW_THREADS
;
2834 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
2836 wxPy_END_ALLOW_THREADS
;
2837 } Py_INCREF(Py_None
);
2838 _resultobj
= Py_None
;
2842 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
2843 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2844 PyObject
* _resultobj
;
2847 PyObject
* _argo0
= 0;
2848 char *_kwnames
[] = { "self","id", NULL
};
2851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetId",_kwnames
,&_argo0
,&_arg1
))
2854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
2861 wxPy_BEGIN_ALLOW_THREADS
;
2862 wxWindow_SetId(_arg0
,_arg1
);
2864 wxPy_END_ALLOW_THREADS
;
2865 } Py_INCREF(Py_None
);
2866 _resultobj
= Py_None
;
2870 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
2871 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2872 PyObject
* _resultobj
;
2875 PyObject
* _argo0
= 0;
2876 PyObject
* _obj1
= 0;
2877 char *_kwnames
[] = { "self","name", NULL
};
2880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetName",_kwnames
,&_argo0
,&_obj1
))
2883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
2890 if (!PyString_Check(_obj1
)) {
2891 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2894 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2897 wxPy_BEGIN_ALLOW_THREADS
;
2898 wxWindow_SetName(_arg0
,*_arg1
);
2900 wxPy_END_ALLOW_THREADS
;
2901 } Py_INCREF(Py_None
);
2902 _resultobj
= Py_None
;
2910 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2911 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2912 PyObject
* _resultobj
;
2918 bool _arg5
= (bool ) TRUE
;
2919 PyObject
* _argo0
= 0;
2920 int tempbool5
= (int) TRUE
;
2921 char *_kwnames
[] = { "self","orientation","position","thumbSize","range","refresh", NULL
};
2924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
2927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
2933 _arg5
= (bool ) tempbool5
;
2935 wxPy_BEGIN_ALLOW_THREADS
;
2936 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2938 wxPy_END_ALLOW_THREADS
;
2939 } Py_INCREF(Py_None
);
2940 _resultobj
= Py_None
;
2944 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
2945 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2946 PyObject
* _resultobj
;
2950 bool _arg3
= (bool ) TRUE
;
2951 PyObject
* _argo0
= 0;
2952 int tempbool3
= (int) TRUE
;
2953 char *_kwnames
[] = { "self","orientation","pos","refresh", NULL
};
2956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_SetScrollPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
2959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
2965 _arg3
= (bool ) tempbool3
;
2967 wxPy_BEGIN_ALLOW_THREADS
;
2968 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
2970 wxPy_END_ALLOW_THREADS
;
2971 } Py_INCREF(Py_None
);
2972 _resultobj
= Py_None
;
2976 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2977 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2978 PyObject
* _resultobj
;
2984 int _arg5
= (int ) wxSIZE_AUTO
;
2985 PyObject
* _argo0
= 0;
2986 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
2989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetDimensions",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
2999 wxPy_BEGIN_ALLOW_THREADS
;
3000 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3002 wxPy_END_ALLOW_THREADS
;
3003 } Py_INCREF(Py_None
);
3004 _resultobj
= Py_None
;
3008 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
3009 self
->SetSize(size
.x
, size
.y
);
3011 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3012 PyObject
* _resultobj
;
3015 PyObject
* _argo0
= 0;
3016 PyObject
* _argo1
= 0;
3017 char *_kwnames
[] = { "self","size", NULL
};
3020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSize",_kwnames
,&_argo0
,&_argo1
))
3023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
3030 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3031 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSize_p")) {
3032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSize. Expected _wxSize_p.");
3037 wxPy_BEGIN_ALLOW_THREADS
;
3038 wxWindow_SetSize(_arg0
,*_arg1
);
3040 wxPy_END_ALLOW_THREADS
;
3041 } Py_INCREF(Py_None
);
3042 _resultobj
= Py_None
;
3046 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
) {
3047 self
->SetSize(pos
.x
, pos
.y
, -1, -1);
3049 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3050 PyObject
* _resultobj
;
3053 PyObject
* _argo0
= 0;
3054 PyObject
* _argo1
= 0;
3055 char *_kwnames
[] = { "self","pos", NULL
};
3058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetPosition",_kwnames
,&_argo0
,&_argo1
))
3061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
3068 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3069 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
3070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetPosition. Expected _wxPoint_p.");
3075 wxPy_BEGIN_ALLOW_THREADS
;
3076 wxWindow_SetPosition(_arg0
,*_arg1
);
3078 wxPy_END_ALLOW_THREADS
;
3079 } Py_INCREF(Py_None
);
3080 _resultobj
= Py_None
;
3084 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3085 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3086 PyObject
* _resultobj
;
3088 int _arg1
= (int ) -1;
3089 int _arg2
= (int ) -1;
3090 int _arg3
= (int ) -1;
3091 int _arg4
= (int ) -1;
3092 int _arg5
= (int ) -1;
3093 int _arg6
= (int ) -1;
3094 PyObject
* _argo0
= 0;
3095 char *_kwnames
[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL
};
3098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iiiiii:wxWindow_SetSizeHints",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
3108 wxPy_BEGIN_ALLOW_THREADS
;
3109 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3111 wxPy_END_ALLOW_THREADS
;
3112 } Py_INCREF(Py_None
);
3113 _resultobj
= Py_None
;
3117 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
3118 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3119 PyObject
* _resultobj
;
3123 PyObject
* _argo0
= 0;
3124 char *_kwnames
[] = { "self","width","height", NULL
};
3127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_SetClientSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
3137 wxPy_BEGIN_ALLOW_THREADS
;
3138 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
3140 wxPy_END_ALLOW_THREADS
;
3141 } Py_INCREF(Py_None
);
3142 _resultobj
= Py_None
;
3146 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
3147 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3148 PyObject
* _resultobj
;
3151 PyObject
* _argo0
= 0;
3152 PyObject
* _argo1
= 0;
3153 char *_kwnames
[] = { "self","size", NULL
};
3156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetClientSize",_kwnames
,&_argo0
,&_argo1
))
3159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
3166 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3167 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSize_p")) {
3168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetClientSize. Expected _wxSize_p.");
3173 wxPy_BEGIN_ALLOW_THREADS
;
3174 wxWindow_SetClientSize(_arg0
,*_arg1
);
3176 wxPy_END_ALLOW_THREADS
;
3177 } Py_INCREF(Py_None
);
3178 _resultobj
= Py_None
;
3182 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
3183 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3184 PyObject
* _resultobj
;
3187 PyObject
* _argo0
= 0;
3188 PyObject
* _argo1
= 0;
3189 char *_kwnames
[] = { "self","cursor", NULL
};
3192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCursor",_kwnames
,&_argo0
,&_argo1
))
3195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
3202 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3203 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
3209 wxPy_BEGIN_ALLOW_THREADS
;
3210 wxWindow_SetCursor(_arg0
,*_arg1
);
3212 wxPy_END_ALLOW_THREADS
;
3213 } Py_INCREF(Py_None
);
3214 _resultobj
= Py_None
;
3218 #define wxWindow_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
3219 static PyObject
*_wrap_wxWindow_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3220 PyObject
* _resultobj
;
3222 wxEvtHandler
* _arg1
;
3223 PyObject
* _argo0
= 0;
3224 PyObject
* _argo1
= 0;
3225 char *_kwnames
[] = { "self","handler", NULL
};
3228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
3231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetEventHandler. Expected _wxWindow_p.");
3238 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3239 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetEventHandler. Expected _wxEvtHandler_p.");
3245 wxPy_BEGIN_ALLOW_THREADS
;
3246 wxWindow_SetEventHandler(_arg0
,_arg1
);
3248 wxPy_END_ALLOW_THREADS
;
3249 } Py_INCREF(Py_None
);
3250 _resultobj
= Py_None
;
3254 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
3255 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3256 PyObject
* _resultobj
;
3259 PyObject
* _argo0
= 0;
3260 PyObject
* _obj1
= 0;
3261 char *_kwnames
[] = { "self","title", NULL
};
3264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
3267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
3274 if (!PyString_Check(_obj1
)) {
3275 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3278 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3281 wxPy_BEGIN_ALLOW_THREADS
;
3282 wxWindow_SetTitle(_arg0
,*_arg1
);
3284 wxPy_END_ALLOW_THREADS
;
3285 } Py_INCREF(Py_None
);
3286 _resultobj
= Py_None
;
3294 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3295 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3296 PyObject
* _resultobj
;
3300 PyObject
* _argo0
= 0;
3302 char *_kwnames
[] = { "self","show", NULL
};
3305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
3308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
3314 _arg1
= (bool ) tempbool1
;
3316 wxPy_BEGIN_ALLOW_THREADS
;
3317 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
3319 wxPy_END_ALLOW_THREADS
;
3320 } _resultobj
= Py_BuildValue("i",_result
);
3324 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
3325 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3326 PyObject
* _resultobj
;
3329 PyObject
* _argo0
= 0;
3330 char *_kwnames
[] = { "self", NULL
};
3333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataFromWindow",_kwnames
,&_argo0
))
3336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
3343 wxPy_BEGIN_ALLOW_THREADS
;
3344 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
3346 wxPy_END_ALLOW_THREADS
;
3347 } _resultobj
= Py_BuildValue("i",_result
);
3351 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
3352 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3353 PyObject
* _resultobj
;
3356 PyObject
* _argo0
= 0;
3357 char *_kwnames
[] = { "self", NULL
};
3360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataToWindow",_kwnames
,&_argo0
))
3363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
3370 wxPy_BEGIN_ALLOW_THREADS
;
3371 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
3373 wxPy_END_ALLOW_THREADS
;
3374 } _resultobj
= Py_BuildValue("i",_result
);
3378 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
3379 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3380 PyObject
* _resultobj
;
3383 PyObject
* _argo0
= 0;
3384 char *_kwnames
[] = { "self", NULL
};
3387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Validate",_kwnames
,&_argo0
))
3390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
3397 wxPy_BEGIN_ALLOW_THREADS
;
3398 _result
= (bool )wxWindow_Validate(_arg0
);
3400 wxPy_END_ALLOW_THREADS
;
3401 } _resultobj
= Py_BuildValue("i",_result
);
3405 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
3406 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3407 PyObject
* _resultobj
;
3411 PyObject
* _argo0
= 0;
3412 char *_kwnames
[] = { "self","x","y", NULL
};
3415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_WarpPointer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
3425 wxPy_BEGIN_ALLOW_THREADS
;
3426 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
3428 wxPy_END_ALLOW_THREADS
;
3429 } Py_INCREF(Py_None
);
3430 _resultobj
= Py_None
;
3434 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
3435 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3436 PyObject
* _resultobj
;
3440 PyObject
* _argo0
= 0;
3441 PyObject
* _argo1
= 0;
3442 char *_kwnames
[] = { "self","pt", NULL
};
3446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames
,&_argo0
,&_argo1
))
3449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
3456 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3457 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
3458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertDialogPointToPixels. Expected _wxPoint_p.");
3463 wxPy_BEGIN_ALLOW_THREADS
;
3464 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
3466 wxPy_END_ALLOW_THREADS
;
3467 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3468 _resultobj
= Py_BuildValue("s",_ptemp
);
3472 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
3473 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3474 PyObject
* _resultobj
;
3478 PyObject
* _argo0
= 0;
3479 PyObject
* _argo1
= 0;
3480 char *_kwnames
[] = { "self","sz", NULL
};
3484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames
,&_argo0
,&_argo1
))
3487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
3494 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3495 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSize_p")) {
3496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertDialogSizeToPixels. Expected _wxSize_p.");
3501 wxPy_BEGIN_ALLOW_THREADS
;
3502 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
3504 wxPy_END_ALLOW_THREADS
;
3505 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3506 _resultobj
= Py_BuildValue("s",_ptemp
);
3510 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
3511 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3512 PyObject
* _resultobj
;
3516 PyObject
* _argo0
= 0;
3517 PyObject
* _argo1
= 0;
3518 char *_kwnames
[] = { "self","pt", NULL
};
3522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames
,&_argo0
,&_argo1
))
3525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
3532 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3533 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
3534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertPixelPointToDialog. Expected _wxPoint_p.");
3539 wxPy_BEGIN_ALLOW_THREADS
;
3540 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
3542 wxPy_END_ALLOW_THREADS
;
3543 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3544 _resultobj
= Py_BuildValue("s",_ptemp
);
3548 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
3549 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3550 PyObject
* _resultobj
;
3554 PyObject
* _argo0
= 0;
3555 PyObject
* _argo1
= 0;
3556 char *_kwnames
[] = { "self","sz", NULL
};
3560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames
,&_argo0
,&_argo1
))
3563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
3570 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3571 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSize_p")) {
3572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertPixelSizeToDialog. Expected _wxSize_p.");
3577 wxPy_BEGIN_ALLOW_THREADS
;
3578 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
3580 wxPy_END_ALLOW_THREADS
;
3581 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3582 _resultobj
= Py_BuildValue("s",_ptemp
);
3586 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
3587 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3588 PyObject
* _resultobj
;
3591 PyObject
* _argo0
= 0;
3592 PyObject
* _obj1
= 0;
3593 char *_kwnames
[] = { "self","tip", NULL
};
3596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTipString",_kwnames
,&_argo0
,&_obj1
))
3599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
3606 if (!PyString_Check(_obj1
)) {
3607 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3610 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3613 wxPy_BEGIN_ALLOW_THREADS
;
3614 wxWindow_SetToolTipString(_arg0
,*_arg1
);
3616 wxPy_END_ALLOW_THREADS
;
3617 } Py_INCREF(Py_None
);
3618 _resultobj
= Py_None
;
3626 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
3627 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3628 PyObject
* _resultobj
;
3631 PyObject
* _argo0
= 0;
3632 PyObject
* _argo1
= 0;
3633 char *_kwnames
[] = { "self","tooltip", NULL
};
3636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTip",_kwnames
,&_argo0
,&_argo1
))
3639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
3646 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3647 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolTip_p")) {
3648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
3653 wxPy_BEGIN_ALLOW_THREADS
;
3654 wxWindow_SetToolTip(_arg0
,_arg1
);
3656 wxPy_END_ALLOW_THREADS
;
3657 } Py_INCREF(Py_None
);
3658 _resultobj
= Py_None
;
3662 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
3663 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3664 PyObject
* _resultobj
;
3665 wxToolTip
* _result
;
3667 PyObject
* _argo0
= 0;
3668 char *_kwnames
[] = { "self", NULL
};
3672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetToolTip",_kwnames
,&_argo0
))
3675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
3682 wxPy_BEGIN_ALLOW_THREADS
;
3683 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
3685 wxPy_END_ALLOW_THREADS
;
3687 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
3688 _resultobj
= Py_BuildValue("s",_ptemp
);
3691 _resultobj
= Py_None
;
3696 static void *SwigwxPanelTowxWindow(void *ptr
) {
3699 src
= (wxPanel
*) ptr
;
3700 dest
= (wxWindow
*) src
;
3701 return (void *) dest
;
3704 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
3707 src
= (wxPanel
*) ptr
;
3708 dest
= (wxEvtHandler
*) src
;
3709 return (void *) dest
;
3712 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3713 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3714 PyObject
* _resultobj
;
3718 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
3719 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
3720 long _arg4
= (long ) wxTAB_TRAVERSAL
;
3721 char * _arg5
= (char *) "panel";
3722 PyObject
* _argo0
= 0;
3723 PyObject
* _argo2
= 0;
3724 PyObject
* _argo3
= 0;
3725 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
3729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxPanel",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
))
3732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
3739 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3740 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
3741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPanel. Expected _wxPoint_p.");
3746 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3747 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxSize_p")) {
3748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxPanel. Expected _wxSize_p.");
3753 wxPy_BEGIN_ALLOW_THREADS
;
3754 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
3756 wxPy_END_ALLOW_THREADS
;
3758 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
3759 _resultobj
= Py_BuildValue("s",_ptemp
);
3762 _resultobj
= Py_None
;
3767 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
3768 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3769 PyObject
* _resultobj
;
3771 PyObject
* _argo0
= 0;
3772 char *_kwnames
[] = { "self", NULL
};
3775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_InitDialog",_kwnames
,&_argo0
))
3778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
3780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
3785 wxPy_BEGIN_ALLOW_THREADS
;
3786 wxPanel_InitDialog(_arg0
);
3788 wxPy_END_ALLOW_THREADS
;
3789 } Py_INCREF(Py_None
);
3790 _resultobj
= Py_None
;
3794 #define wxPanel_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
3795 static PyObject
*_wrap_wxPanel_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3796 PyObject
* _resultobj
;
3799 PyObject
* _argo0
= 0;
3800 char *_kwnames
[] = { "self", NULL
};
3804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_GetDefaultItem",_kwnames
,&_argo0
))
3807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
3809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_GetDefaultItem. Expected _wxPanel_p.");
3814 wxPy_BEGIN_ALLOW_THREADS
;
3815 _result
= (wxButton
*)wxPanel_GetDefaultItem(_arg0
);
3817 wxPy_END_ALLOW_THREADS
;
3819 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
3820 _resultobj
= Py_BuildValue("s",_ptemp
);
3823 _resultobj
= Py_None
;
3828 #define wxPanel_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
3829 static PyObject
*_wrap_wxPanel_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3830 PyObject
* _resultobj
;
3833 PyObject
* _argo0
= 0;
3834 PyObject
* _argo1
= 0;
3835 char *_kwnames
[] = { "self","btn", NULL
};
3838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPanel_SetDefaultItem",_kwnames
,&_argo0
,&_argo1
))
3841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
3843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_SetDefaultItem. Expected _wxPanel_p.");
3848 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3849 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxButton_p")) {
3850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPanel_SetDefaultItem. Expected _wxButton_p.");
3855 wxPy_BEGIN_ALLOW_THREADS
;
3856 wxPanel_SetDefaultItem(_arg0
,_arg1
);
3858 wxPy_END_ALLOW_THREADS
;
3859 } Py_INCREF(Py_None
);
3860 _resultobj
= Py_None
;
3864 static void *SwigwxDialogTowxPanel(void *ptr
) {
3867 src
= (wxDialog
*) ptr
;
3868 dest
= (wxPanel
*) src
;
3869 return (void *) dest
;
3872 static void *SwigwxDialogTowxWindow(void *ptr
) {
3875 src
= (wxDialog
*) ptr
;
3876 dest
= (wxWindow
*) src
;
3877 return (void *) dest
;
3880 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
3883 src
= (wxDialog
*) ptr
;
3884 dest
= (wxEvtHandler
*) src
;
3885 return (void *) dest
;
3888 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3889 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3890 PyObject
* _resultobj
;
3895 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
3896 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
3897 long _arg5
= (long ) wxDEFAULT_DIALOG_STYLE
;
3898 char * _arg6
= (char *) "dialogBox";
3899 PyObject
* _argo0
= 0;
3900 PyObject
* _obj2
= 0;
3901 PyObject
* _argo3
= 0;
3902 PyObject
* _argo4
= 0;
3903 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
3907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxDialog",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_argo4
,&_arg5
,&_arg6
))
3910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
3917 if (!PyString_Check(_obj2
)) {
3918 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3921 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
3924 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3925 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxPoint_p")) {
3926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxDialog. Expected _wxPoint_p.");
3931 if (_argo4
== Py_None
) { _arg4
= NULL
; }
3932 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxSize_p")) {
3933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxDialog. Expected _wxSize_p.");
3938 wxPy_BEGIN_ALLOW_THREADS
;
3939 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
3941 wxPy_END_ALLOW_THREADS
;
3943 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
3944 _resultobj
= Py_BuildValue("s",_ptemp
);
3947 _resultobj
= Py_None
;
3956 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
3957 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3958 PyObject
* _resultobj
;
3960 int _arg1
= (int ) wxBOTH
;
3961 PyObject
* _argo0
= 0;
3962 char *_kwnames
[] = { "self","direction", NULL
};
3965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDialog_Centre",_kwnames
,&_argo0
,&_arg1
))
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_Centre. Expected _wxDialog_p.");
3975 wxPy_BEGIN_ALLOW_THREADS
;
3976 wxDialog_Centre(_arg0
,_arg1
);
3978 wxPy_END_ALLOW_THREADS
;
3979 } Py_INCREF(Py_None
);
3980 _resultobj
= Py_None
;
3984 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
3985 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3986 PyObject
* _resultobj
;
3989 PyObject
* _argo0
= 0;
3990 char *_kwnames
[] = { "self","retCode", NULL
};
3993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_EndModal",_kwnames
,&_argo0
,&_arg1
))
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_EndModal. Expected _wxDialog_p.");
4003 wxPy_BEGIN_ALLOW_THREADS
;
4004 wxDialog_EndModal(_arg0
,_arg1
);
4006 wxPy_END_ALLOW_THREADS
;
4007 } Py_INCREF(Py_None
);
4008 _resultobj
= Py_None
;
4012 #define wxDialog_GetTitle(_swigobj) (_swigobj->GetTitle())
4013 static PyObject
*_wrap_wxDialog_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4014 PyObject
* _resultobj
;
4017 PyObject
* _argo0
= 0;
4018 char *_kwnames
[] = { "self", NULL
};
4021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetTitle",_kwnames
,&_argo0
))
4024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetTitle. Expected _wxDialog_p.");
4031 wxPy_BEGIN_ALLOW_THREADS
;
4032 _result
= new wxString (wxDialog_GetTitle(_arg0
));
4034 wxPy_END_ALLOW_THREADS
;
4036 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
4044 #define wxDialog_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
4045 static PyObject
*_wrap_wxDialog_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4046 PyObject
* _resultobj
;
4049 PyObject
* _argo0
= 0;
4051 char *_kwnames
[] = { "self","iconize", NULL
};
4054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Iconize",_kwnames
,&_argo0
,&tempbool1
))
4057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Iconize. Expected _wxDialog_p.");
4063 _arg1
= (bool ) tempbool1
;
4065 wxPy_BEGIN_ALLOW_THREADS
;
4066 wxDialog_Iconize(_arg0
,_arg1
);
4068 wxPy_END_ALLOW_THREADS
;
4069 } Py_INCREF(Py_None
);
4070 _resultobj
= Py_None
;
4074 #define wxDialog_IsIconized(_swigobj) (_swigobj->IsIconized())
4075 static PyObject
*_wrap_wxDialog_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4076 PyObject
* _resultobj
;
4079 PyObject
* _argo0
= 0;
4080 char *_kwnames
[] = { "self", NULL
};
4083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsIconized",_kwnames
,&_argo0
))
4086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsIconized. Expected _wxDialog_p.");
4093 wxPy_BEGIN_ALLOW_THREADS
;
4094 _result
= (bool )wxDialog_IsIconized(_arg0
);
4096 wxPy_END_ALLOW_THREADS
;
4097 } _resultobj
= Py_BuildValue("i",_result
);
4101 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
4102 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4103 PyObject
* _resultobj
;
4106 PyObject
* _argo0
= 0;
4108 char *_kwnames
[] = { "self","flag", NULL
};
4111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetModal",_kwnames
,&_argo0
,&tempbool1
))
4114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
4120 _arg1
= (bool ) tempbool1
;
4122 wxPy_BEGIN_ALLOW_THREADS
;
4123 wxDialog_SetModal(_arg0
,_arg1
);
4125 wxPy_END_ALLOW_THREADS
;
4126 } Py_INCREF(Py_None
);
4127 _resultobj
= Py_None
;
4131 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
4132 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4133 PyObject
* _resultobj
;
4136 PyObject
* _argo0
= 0;
4137 char *_kwnames
[] = { "self", NULL
};
4140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsModal",_kwnames
,&_argo0
))
4143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
4150 wxPy_BEGIN_ALLOW_THREADS
;
4151 _result
= (bool )wxDialog_IsModal(_arg0
);
4153 wxPy_END_ALLOW_THREADS
;
4154 } _resultobj
= Py_BuildValue("i",_result
);
4158 #define wxDialog_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4159 static PyObject
*_wrap_wxDialog_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4160 PyObject
* _resultobj
;
4163 PyObject
* _argo0
= 0;
4164 PyObject
* _obj1
= 0;
4165 char *_kwnames
[] = { "self","title", NULL
};
4168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDialog_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetTitle. Expected _wxDialog_p.");
4178 if (!PyString_Check(_obj1
)) {
4179 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4182 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4185 wxPy_BEGIN_ALLOW_THREADS
;
4186 wxDialog_SetTitle(_arg0
,*_arg1
);
4188 wxPy_END_ALLOW_THREADS
;
4189 } Py_INCREF(Py_None
);
4190 _resultobj
= Py_None
;
4198 #define wxDialog_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4199 static PyObject
*_wrap_wxDialog_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4200 PyObject
* _resultobj
;
4204 PyObject
* _argo0
= 0;
4206 char *_kwnames
[] = { "self","show", NULL
};
4209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Show",_kwnames
,&_argo0
,&tempbool1
))
4212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Show. Expected _wxDialog_p.");
4218 _arg1
= (bool ) tempbool1
;
4220 wxPy_BEGIN_ALLOW_THREADS
;
4221 _result
= (bool )wxDialog_Show(_arg0
,_arg1
);
4223 wxPy_END_ALLOW_THREADS
;
4224 } _resultobj
= Py_BuildValue("i",_result
);
4228 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
4229 static PyObject
*_wrap_wxDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4230 PyObject
* _resultobj
;
4233 PyObject
* _argo0
= 0;
4234 char *_kwnames
[] = { "self", NULL
};
4237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_ShowModal",_kwnames
,&_argo0
))
4240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
4247 wxPy_BEGIN_ALLOW_THREADS
;
4248 _result
= (int )wxDialog_ShowModal(_arg0
);
4250 wxPy_END_ALLOW_THREADS
;
4251 } _resultobj
= Py_BuildValue("i",_result
);
4255 #define wxDialog_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
4256 static PyObject
*_wrap_wxDialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4257 PyObject
* _resultobj
;
4260 PyObject
* _argo0
= 0;
4261 char *_kwnames
[] = { "self", NULL
};
4264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetReturnCode",_kwnames
,&_argo0
))
4267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetReturnCode. Expected _wxDialog_p.");
4274 wxPy_BEGIN_ALLOW_THREADS
;
4275 _result
= (int )wxDialog_GetReturnCode(_arg0
);
4277 wxPy_END_ALLOW_THREADS
;
4278 } _resultobj
= Py_BuildValue("i",_result
);
4282 #define wxDialog_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
4283 static PyObject
*_wrap_wxDialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4284 PyObject
* _resultobj
;
4287 PyObject
* _argo0
= 0;
4288 char *_kwnames
[] = { "self","retCode", NULL
};
4291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetReturnCode",_kwnames
,&_argo0
,&_arg1
))
4294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetReturnCode. Expected _wxDialog_p.");
4301 wxPy_BEGIN_ALLOW_THREADS
;
4302 wxDialog_SetReturnCode(_arg0
,_arg1
);
4304 wxPy_END_ALLOW_THREADS
;
4305 } Py_INCREF(Py_None
);
4306 _resultobj
= Py_None
;
4310 static void *SwigwxScrolledWindowTowxPanel(void *ptr
) {
4311 wxScrolledWindow
*src
;
4313 src
= (wxScrolledWindow
*) ptr
;
4314 dest
= (wxPanel
*) src
;
4315 return (void *) dest
;
4318 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
4319 wxScrolledWindow
*src
;
4321 src
= (wxScrolledWindow
*) ptr
;
4322 dest
= (wxWindow
*) src
;
4323 return (void *) dest
;
4326 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
4327 wxScrolledWindow
*src
;
4329 src
= (wxScrolledWindow
*) ptr
;
4330 dest
= (wxEvtHandler
*) src
;
4331 return (void *) dest
;
4334 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4335 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4336 PyObject
* _resultobj
;
4337 wxScrolledWindow
* _result
;
4339 wxWindowID _arg1
= (wxWindowID
) -1;
4340 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
4341 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
4342 long _arg4
= (long ) wxHSCROLL
|wxVSCROLL
;
4343 char * _arg5
= (char *) "scrolledWindow";
4344 PyObject
* _argo0
= 0;
4345 PyObject
* _argo2
= 0;
4346 PyObject
* _argo3
= 0;
4347 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
4351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxScrolledWindow",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
))
4354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
4361 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4362 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
4363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxScrolledWindow. Expected _wxPoint_p.");
4368 if (_argo3
== Py_None
) { _arg3
= NULL
; }
4369 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxSize_p")) {
4370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxScrolledWindow. Expected _wxSize_p.");
4375 wxPy_BEGIN_ALLOW_THREADS
;
4376 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
4378 wxPy_END_ALLOW_THREADS
;
4380 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
4381 _resultobj
= Py_BuildValue("s",_ptemp
);
4384 _resultobj
= Py_None
;
4389 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
4390 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4391 PyObject
* _resultobj
;
4392 wxScrolledWindow
* _arg0
;
4395 PyObject
* _argo0
= 0;
4398 char *_kwnames
[] = { "self","xScrolling","yScrolling", NULL
};
4401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_EnableScrolling",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
4404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
4406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
4410 _arg1
= (bool ) tempbool1
;
4411 _arg2
= (bool ) tempbool2
;
4413 wxPy_BEGIN_ALLOW_THREADS
;
4414 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
4416 wxPy_END_ALLOW_THREADS
;
4417 } Py_INCREF(Py_None
);
4418 _resultobj
= Py_None
;
4422 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
4423 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4424 PyObject
* _resultobj
;
4425 wxScrolledWindow
* _arg0
;
4430 PyObject
* _argo0
= 0;
4431 char *_kwnames
[] = { "self", NULL
};
4440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames
,&_argo0
))
4443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
4445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
4450 wxPy_BEGIN_ALLOW_THREADS
;
4451 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
4453 wxPy_END_ALLOW_THREADS
;
4454 } Py_INCREF(Py_None
);
4455 _resultobj
= Py_None
;
4458 o
= PyInt_FromLong((long) (*_arg1
));
4459 _resultobj
= t_output_helper(_resultobj
, o
);
4463 o
= PyInt_FromLong((long) (*_arg2
));
4464 _resultobj
= t_output_helper(_resultobj
, o
);
4469 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
4470 static PyObject
*_wrap_wxScrolledWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4471 PyObject
* _resultobj
;
4472 wxScrolledWindow
* _arg0
;
4477 PyObject
* _argo0
= 0;
4478 char *_kwnames
[] = { "self", NULL
};
4487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetVirtualSize",_kwnames
,&_argo0
))
4490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
4492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
4497 wxPy_BEGIN_ALLOW_THREADS
;
4498 wxScrolledWindow_GetVirtualSize(_arg0
,_arg1
,_arg2
);
4500 wxPy_END_ALLOW_THREADS
;
4501 } Py_INCREF(Py_None
);
4502 _resultobj
= Py_None
;
4505 o
= PyInt_FromLong((long) (*_arg1
));
4506 _resultobj
= t_output_helper(_resultobj
, o
);
4510 o
= PyInt_FromLong((long) (*_arg2
));
4511 _resultobj
= t_output_helper(_resultobj
, o
);
4516 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
4517 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4518 PyObject
* _resultobj
;
4520 wxScrolledWindow
* _arg0
;
4521 PyObject
* _argo0
= 0;
4522 char *_kwnames
[] = { "self", NULL
};
4525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_IsRetained",_kwnames
,&_argo0
))
4528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
4530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
4535 wxPy_BEGIN_ALLOW_THREADS
;
4536 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
4538 wxPy_END_ALLOW_THREADS
;
4539 } _resultobj
= Py_BuildValue("i",_result
);
4543 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
4544 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4545 PyObject
* _resultobj
;
4546 wxScrolledWindow
* _arg0
;
4548 PyObject
* _argo0
= 0;
4549 PyObject
* _argo1
= 0;
4550 char *_kwnames
[] = { "self","dc", NULL
};
4553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_PrepareDC",_kwnames
,&_argo0
,&_argo1
))
4556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
4558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
4563 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4564 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
4570 wxPy_BEGIN_ALLOW_THREADS
;
4571 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
4573 wxPy_END_ALLOW_THREADS
;
4574 } Py_INCREF(Py_None
);
4575 _resultobj
= Py_None
;
4579 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
4580 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4581 PyObject
* _resultobj
;
4582 wxScrolledWindow
* _arg0
;
4585 PyObject
* _argo0
= 0;
4586 char *_kwnames
[] = { "self","x","y", NULL
};
4589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_Scroll",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
4594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
4599 wxPy_BEGIN_ALLOW_THREADS
;
4600 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
4602 wxPy_END_ALLOW_THREADS
;
4603 } Py_INCREF(Py_None
);
4604 _resultobj
= Py_None
;
4608 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4609 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4610 PyObject
* _resultobj
;
4611 wxScrolledWindow
* _arg0
;
4616 int _arg5
= (int ) 0;
4617 int _arg6
= (int ) 0;
4618 PyObject
* _argo0
= 0;
4619 char *_kwnames
[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos", NULL
};
4622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|ii:wxScrolledWindow_SetScrollbars",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
4627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
4632 wxPy_BEGIN_ALLOW_THREADS
;
4633 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4635 wxPy_END_ALLOW_THREADS
;
4636 } Py_INCREF(Py_None
);
4637 _resultobj
= Py_None
;
4641 #define wxScrolledWindow_ViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->ViewStart(_swigarg0,_swigarg1))
4642 static PyObject
*_wrap_wxScrolledWindow_ViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4643 PyObject
* _resultobj
;
4644 wxScrolledWindow
* _arg0
;
4649 PyObject
* _argo0
= 0;
4650 char *_kwnames
[] = { "self", NULL
};
4659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_ViewStart",_kwnames
,&_argo0
))
4662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
4664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_ViewStart. Expected _wxScrolledWindow_p.");
4669 wxPy_BEGIN_ALLOW_THREADS
;
4670 wxScrolledWindow_ViewStart(_arg0
,_arg1
,_arg2
);
4672 wxPy_END_ALLOW_THREADS
;
4673 } Py_INCREF(Py_None
);
4674 _resultobj
= Py_None
;
4677 o
= PyInt_FromLong((long) (*_arg1
));
4678 _resultobj
= t_output_helper(_resultobj
, o
);
4682 o
= PyInt_FromLong((long) (*_arg2
));
4683 _resultobj
= t_output_helper(_resultobj
, o
);
4688 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
4691 src
= (wxMenu
*) ptr
;
4692 dest
= (wxEvtHandler
*) src
;
4693 return (void *) dest
;
4696 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
4697 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4698 PyObject
* _resultobj
;
4700 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
4701 long _arg1
= (long ) 0;
4702 PyObject
* _obj0
= 0;
4703 char *_kwnames
[] = { "title","style", NULL
};
4707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Ol:new_wxMenu",_kwnames
,&_obj0
,&_arg1
))
4711 if (!PyString_Check(_obj0
)) {
4712 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4715 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
4718 wxPy_BEGIN_ALLOW_THREADS
;
4719 _result
= (wxMenu
*)new_wxMenu(*_arg0
,_arg1
);
4721 wxPy_END_ALLOW_THREADS
;
4723 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
4724 _resultobj
= Py_BuildValue("s",_ptemp
);
4727 _resultobj
= Py_None
;
4736 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4737 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4738 PyObject
* _resultobj
;
4742 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
4743 int _arg4
= (int ) FALSE
;
4744 PyObject
* _argo0
= 0;
4745 PyObject
* _obj2
= 0;
4746 PyObject
* _obj3
= 0;
4747 char *_kwnames
[] = { "self","id","item","helpString","checkable", NULL
};
4750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Append",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
4753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
4760 if (!PyString_Check(_obj2
)) {
4761 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4764 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4768 if (!PyString_Check(_obj3
)) {
4769 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4772 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
4775 wxPy_BEGIN_ALLOW_THREADS
;
4776 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
4778 wxPy_END_ALLOW_THREADS
;
4779 } Py_INCREF(Py_None
);
4780 _resultobj
= Py_None
;
4792 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4793 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4794 PyObject
* _resultobj
;
4799 wxString
* _arg4
= (wxString
*) &wxPyEmptyStr
;
4800 PyObject
* _argo0
= 0;
4801 PyObject
* _obj2
= 0;
4802 PyObject
* _argo3
= 0;
4803 PyObject
* _obj4
= 0;
4804 char *_kwnames
[] = { "self","id","item","subMenu","helpString", NULL
};
4807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_AppendMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
4810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
4817 if (!PyString_Check(_obj2
)) {
4818 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4821 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4824 if (_argo3
== Py_None
) { _arg3
= NULL
; }
4825 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
4826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
4832 if (!PyString_Check(_obj4
)) {
4833 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4836 _arg4
= new wxString(PyString_AsString(_obj4
), PyString_Size(_obj4
));
4839 wxPy_BEGIN_ALLOW_THREADS
;
4840 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
4842 wxPy_END_ALLOW_THREADS
;
4843 } Py_INCREF(Py_None
);
4844 _resultobj
= Py_None
;
4856 #define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
4857 static PyObject
*_wrap_wxMenu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4858 PyObject
* _resultobj
;
4861 PyObject
* _argo0
= 0;
4862 PyObject
* _argo1
= 0;
4863 char *_kwnames
[] = { "self","item", NULL
};
4866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_AppendItem",_kwnames
,&_argo0
,&_argo1
))
4869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
4876 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4877 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
4878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
4883 wxPy_BEGIN_ALLOW_THREADS
;
4884 wxMenu_AppendItem(_arg0
,_arg1
);
4886 wxPy_END_ALLOW_THREADS
;
4887 } Py_INCREF(Py_None
);
4888 _resultobj
= Py_None
;
4892 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
4893 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4894 PyObject
* _resultobj
;
4896 PyObject
* _argo0
= 0;
4897 char *_kwnames
[] = { "self", NULL
};
4900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_AppendSeparator",_kwnames
,&_argo0
))
4903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
4910 wxPy_BEGIN_ALLOW_THREADS
;
4911 wxMenu_AppendSeparator(_arg0
);
4913 wxPy_END_ALLOW_THREADS
;
4914 } Py_INCREF(Py_None
);
4915 _resultobj
= Py_None
;
4919 #define wxMenu_Break(_swigobj) (_swigobj->Break())
4920 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4921 PyObject
* _resultobj
;
4923 PyObject
* _argo0
= 0;
4924 char *_kwnames
[] = { "self", NULL
};
4927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Break",_kwnames
,&_argo0
))
4930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
4937 wxPy_BEGIN_ALLOW_THREADS
;
4938 wxMenu_Break(_arg0
);
4940 wxPy_END_ALLOW_THREADS
;
4941 } Py_INCREF(Py_None
);
4942 _resultobj
= Py_None
;
4946 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
4947 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4948 PyObject
* _resultobj
;
4952 PyObject
* _argo0
= 0;
4954 char *_kwnames
[] = { "self","id","flag", NULL
};
4957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
4960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
4966 _arg2
= (bool ) tempbool2
;
4968 wxPy_BEGIN_ALLOW_THREADS
;
4969 wxMenu_Check(_arg0
,_arg1
,_arg2
);
4971 wxPy_END_ALLOW_THREADS
;
4972 } Py_INCREF(Py_None
);
4973 _resultobj
= Py_None
;
4977 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
4978 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4979 PyObject
* _resultobj
;
4983 PyObject
* _argo0
= 0;
4985 char *_kwnames
[] = { "self","id","enable", NULL
};
4988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
4991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
4997 _arg2
= (bool ) tempbool2
;
4999 wxPy_BEGIN_ALLOW_THREADS
;
5000 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
5002 wxPy_END_ALLOW_THREADS
;
5003 } Py_INCREF(Py_None
);
5004 _resultobj
= Py_None
;
5008 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
5009 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5010 PyObject
* _resultobj
;
5014 PyObject
* _argo0
= 0;
5015 PyObject
* _obj1
= 0;
5016 char *_kwnames
[] = { "self","itemString", NULL
};
5019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_FindItem",_kwnames
,&_argo0
,&_obj1
))
5022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
5029 if (!PyString_Check(_obj1
)) {
5030 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5033 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5036 wxPy_BEGIN_ALLOW_THREADS
;
5037 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
5039 wxPy_END_ALLOW_THREADS
;
5040 } _resultobj
= Py_BuildValue("i",_result
);
5048 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
5049 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5050 PyObject
* _resultobj
;
5053 PyObject
* _argo0
= 0;
5054 char *_kwnames
[] = { "self", NULL
};
5057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetTitle",_kwnames
,&_argo0
))
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_GetTitle. Expected _wxMenu_p.");
5067 wxPy_BEGIN_ALLOW_THREADS
;
5068 _result
= new wxString (wxMenu_GetTitle(_arg0
));
5070 wxPy_END_ALLOW_THREADS
;
5072 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5080 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
5081 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5082 PyObject
* _resultobj
;
5085 PyObject
* _argo0
= 0;
5086 PyObject
* _obj1
= 0;
5087 char *_kwnames
[] = { "self","title", NULL
};
5090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetTitle",_kwnames
,&_argo0
,&_obj1
))
5093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
5100 if (!PyString_Check(_obj1
)) {
5101 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5104 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5107 wxPy_BEGIN_ALLOW_THREADS
;
5108 wxMenu_SetTitle(_arg0
,*_arg1
);
5110 wxPy_END_ALLOW_THREADS
;
5111 } Py_INCREF(Py_None
);
5112 _resultobj
= Py_None
;
5120 #define wxMenu_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
5121 static PyObject
*_wrap_wxMenu_FindItemForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5122 PyObject
* _resultobj
;
5123 wxMenuItem
* _result
;
5126 PyObject
* _argo0
= 0;
5127 char *_kwnames
[] = { "self","id", NULL
};
5131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_FindItemForId",_kwnames
,&_argo0
,&_arg1
))
5134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemForId. Expected _wxMenu_p.");
5141 wxPy_BEGIN_ALLOW_THREADS
;
5142 _result
= (wxMenuItem
*)wxMenu_FindItemForId(_arg0
,_arg1
);
5144 wxPy_END_ALLOW_THREADS
;
5146 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
5147 _resultobj
= Py_BuildValue("s",_ptemp
);
5150 _resultobj
= Py_None
;
5155 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
5156 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5157 PyObject
* _resultobj
;
5161 PyObject
* _argo0
= 0;
5162 char *_kwnames
[] = { "self","id", NULL
};
5165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
5168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
5175 wxPy_BEGIN_ALLOW_THREADS
;
5176 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
5178 wxPy_END_ALLOW_THREADS
;
5180 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5188 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
5189 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5190 PyObject
* _resultobj
;
5194 PyObject
* _argo0
= 0;
5195 char *_kwnames
[] = { "self","id", NULL
};
5198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetLabel",_kwnames
,&_argo0
,&_arg1
))
5201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
5208 wxPy_BEGIN_ALLOW_THREADS
;
5209 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
5211 wxPy_END_ALLOW_THREADS
;
5213 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5221 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
5222 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5223 PyObject
* _resultobj
;
5227 PyObject
* _argo0
= 0;
5228 PyObject
* _obj2
= 0;
5229 char *_kwnames
[] = { "self","id","helpString", NULL
};
5232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
5242 if (!PyString_Check(_obj2
)) {
5243 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5246 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5249 wxPy_BEGIN_ALLOW_THREADS
;
5250 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
5252 wxPy_END_ALLOW_THREADS
;
5253 } Py_INCREF(Py_None
);
5254 _resultobj
= Py_None
;
5262 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
5263 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5264 PyObject
* _resultobj
;
5268 PyObject
* _argo0
= 0;
5269 char *_kwnames
[] = { "self","id", NULL
};
5272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsChecked",_kwnames
,&_argo0
,&_arg1
))
5275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
5282 wxPy_BEGIN_ALLOW_THREADS
;
5283 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
5285 wxPy_END_ALLOW_THREADS
;
5286 } _resultobj
= Py_BuildValue("i",_result
);
5290 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
5291 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5292 PyObject
* _resultobj
;
5296 PyObject
* _argo0
= 0;
5297 char *_kwnames
[] = { "self","id", NULL
};
5300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
5303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
5310 wxPy_BEGIN_ALLOW_THREADS
;
5311 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
5313 wxPy_END_ALLOW_THREADS
;
5314 } _resultobj
= Py_BuildValue("i",_result
);
5318 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
5319 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5320 PyObject
* _resultobj
;
5324 PyObject
* _argo0
= 0;
5325 PyObject
* _obj2
= 0;
5326 char *_kwnames
[] = { "self","id","label", NULL
};
5329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
5339 if (!PyString_Check(_obj2
)) {
5340 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5343 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5346 wxPy_BEGIN_ALLOW_THREADS
;
5347 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
5349 wxPy_END_ALLOW_THREADS
;
5350 } Py_INCREF(Py_None
);
5351 _resultobj
= Py_None
;
5359 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
5360 static PyObject
*_wrap_wxMenu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5361 PyObject
* _resultobj
;
5363 wxEvtHandler
* _arg1
= (wxEvtHandler
*) NULL
;
5364 PyObject
* _argo0
= 0;
5365 PyObject
* _argo1
= 0;
5366 char *_kwnames
[] = { "self","source", NULL
};
5369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxMenu_UpdateUI",_kwnames
,&_argo0
,&_argo1
))
5372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
5379 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5380 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
5381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
5386 wxPy_BEGIN_ALLOW_THREADS
;
5387 wxMenu_UpdateUI(_arg0
,_arg1
);
5389 wxPy_END_ALLOW_THREADS
;
5390 } Py_INCREF(Py_None
);
5391 _resultobj
= Py_None
;
5395 static void wxMenu_Destroy(wxMenu
*self
) {
5398 static PyObject
*_wrap_wxMenu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5399 PyObject
* _resultobj
;
5401 PyObject
* _argo0
= 0;
5402 char *_kwnames
[] = { "self", NULL
};
5405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Destroy",_kwnames
,&_argo0
))
5408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Destroy. Expected _wxMenu_p.");
5415 wxPy_BEGIN_ALLOW_THREADS
;
5416 wxMenu_Destroy(_arg0
);
5418 wxPy_END_ALLOW_THREADS
;
5419 } Py_INCREF(Py_None
);
5420 _resultobj
= Py_None
;
5424 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
5427 src
= (wxMenuBar
*) ptr
;
5428 dest
= (wxEvtHandler
*) src
;
5429 return (void *) dest
;
5432 #define new_wxMenuBar() (new wxMenuBar())
5433 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5434 PyObject
* _resultobj
;
5435 wxMenuBar
* _result
;
5436 char *_kwnames
[] = { NULL
};
5440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMenuBar",_kwnames
))
5443 wxPy_BEGIN_ALLOW_THREADS
;
5444 _result
= (wxMenuBar
*)new_wxMenuBar();
5446 wxPy_END_ALLOW_THREADS
;
5448 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
5449 _resultobj
= Py_BuildValue("s",_ptemp
);
5452 _resultobj
= Py_None
;
5457 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
5458 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5459 PyObject
* _resultobj
;
5463 PyObject
* _argo0
= 0;
5464 PyObject
* _argo1
= 0;
5465 PyObject
* _obj2
= 0;
5466 char *_kwnames
[] = { "self","menu","title", NULL
};
5469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_Append",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
5472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
5479 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5480 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
5481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
5486 if (!PyString_Check(_obj2
)) {
5487 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5490 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5493 wxPy_BEGIN_ALLOW_THREADS
;
5494 wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
5496 wxPy_END_ALLOW_THREADS
;
5497 } Py_INCREF(Py_None
);
5498 _resultobj
= Py_None
;
5506 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
5507 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5508 PyObject
* _resultobj
;
5512 PyObject
* _argo0
= 0;
5514 char *_kwnames
[] = { "self","id","flag", NULL
};
5517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
5526 _arg2
= (bool ) tempbool2
;
5528 wxPy_BEGIN_ALLOW_THREADS
;
5529 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
5531 wxPy_END_ALLOW_THREADS
;
5532 } Py_INCREF(Py_None
);
5533 _resultobj
= Py_None
;
5537 #define wxMenuBar_Checked(_swigobj,_swigarg0) (_swigobj->Checked(_swigarg0))
5538 static PyObject
*_wrap_wxMenuBar_Checked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5539 PyObject
* _resultobj
;
5543 PyObject
* _argo0
= 0;
5544 char *_kwnames
[] = { "self","id", NULL
};
5547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_Checked",_kwnames
,&_argo0
,&_arg1
))
5550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Checked. Expected _wxMenuBar_p.");
5557 wxPy_BEGIN_ALLOW_THREADS
;
5558 _result
= (bool )wxMenuBar_Checked(_arg0
,_arg1
);
5560 wxPy_END_ALLOW_THREADS
;
5561 } _resultobj
= Py_BuildValue("i",_result
);
5565 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
5566 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5567 PyObject
* _resultobj
;
5571 PyObject
* _argo0
= 0;
5573 char *_kwnames
[] = { "self","id","enable", NULL
};
5576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
5585 _arg2
= (bool ) tempbool2
;
5587 wxPy_BEGIN_ALLOW_THREADS
;
5588 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
5590 wxPy_END_ALLOW_THREADS
;
5591 } Py_INCREF(Py_None
);
5592 _resultobj
= Py_None
;
5596 #define wxMenuBar_Enabled(_swigobj,_swigarg0) (_swigobj->Enabled(_swigarg0))
5597 static PyObject
*_wrap_wxMenuBar_Enabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5598 PyObject
* _resultobj
;
5602 PyObject
* _argo0
= 0;
5603 char *_kwnames
[] = { "self","id", NULL
};
5606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_Enabled",_kwnames
,&_argo0
,&_arg1
))
5609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enabled. Expected _wxMenuBar_p.");
5616 wxPy_BEGIN_ALLOW_THREADS
;
5617 _result
= (bool )wxMenuBar_Enabled(_arg0
,_arg1
);
5619 wxPy_END_ALLOW_THREADS
;
5620 } _resultobj
= Py_BuildValue("i",_result
);
5624 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
5625 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5626 PyObject
* _resultobj
;
5631 PyObject
* _argo0
= 0;
5632 PyObject
* _obj1
= 0;
5633 PyObject
* _obj2
= 0;
5634 char *_kwnames
[] = { "self","menuString","itemString", NULL
};
5637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_FindMenuItem",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
5647 if (!PyString_Check(_obj1
)) {
5648 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5651 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5654 if (!PyString_Check(_obj2
)) {
5655 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5658 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5661 wxPy_BEGIN_ALLOW_THREADS
;
5662 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
5664 wxPy_END_ALLOW_THREADS
;
5665 } _resultobj
= Py_BuildValue("i",_result
);
5677 #define wxMenuBar_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
5678 static PyObject
*_wrap_wxMenuBar_FindItemForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5679 PyObject
* _resultobj
;
5680 wxMenuItem
* _result
;
5683 PyObject
* _argo0
= 0;
5684 char *_kwnames
[] = { "self","id", NULL
};
5688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_FindItemForId",_kwnames
,&_argo0
,&_arg1
))
5691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemForId. Expected _wxMenuBar_p.");
5698 wxPy_BEGIN_ALLOW_THREADS
;
5699 _result
= (wxMenuItem
*)wxMenuBar_FindItemForId(_arg0
,_arg1
);
5701 wxPy_END_ALLOW_THREADS
;
5703 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
5704 _resultobj
= Py_BuildValue("s",_ptemp
);
5707 _resultobj
= Py_None
;
5712 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
5713 static PyObject
*_wrap_wxMenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5714 PyObject
* _resultobj
;
5718 PyObject
* _argo0
= 0;
5720 char *_kwnames
[] = { "self","pos","enable", NULL
};
5723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_EnableTop",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
5732 _arg2
= (bool ) tempbool2
;
5734 wxPy_BEGIN_ALLOW_THREADS
;
5735 wxMenuBar_EnableTop(_arg0
,_arg1
,_arg2
);
5737 wxPy_END_ALLOW_THREADS
;
5738 } Py_INCREF(Py_None
);
5739 _resultobj
= Py_None
;
5743 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
5744 static PyObject
*_wrap_wxMenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5745 PyObject
* _resultobj
;
5749 PyObject
* _argo0
= 0;
5750 char *_kwnames
[] = { "self","id", NULL
};
5753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
5756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
5763 wxPy_BEGIN_ALLOW_THREADS
;
5764 _result
= new wxString (wxMenuBar_GetHelpString(_arg0
,_arg1
));
5766 wxPy_END_ALLOW_THREADS
;
5768 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5776 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
5777 static PyObject
*_wrap_wxMenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5778 PyObject
* _resultobj
;
5782 PyObject
* _argo0
= 0;
5783 char *_kwnames
[] = { "self","id", NULL
};
5786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabel",_kwnames
,&_argo0
,&_arg1
))
5789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
5796 wxPy_BEGIN_ALLOW_THREADS
;
5797 _result
= new wxString (wxMenuBar_GetLabel(_arg0
,_arg1
));
5799 wxPy_END_ALLOW_THREADS
;
5801 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5809 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
5810 static PyObject
*_wrap_wxMenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5811 PyObject
* _resultobj
;
5815 PyObject
* _argo0
= 0;
5816 PyObject
* _obj2
= 0;
5817 char *_kwnames
[] = { "self","id","helpString", NULL
};
5820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
5830 if (!PyString_Check(_obj2
)) {
5831 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5834 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5837 wxPy_BEGIN_ALLOW_THREADS
;
5838 wxMenuBar_SetHelpString(_arg0
,_arg1
,*_arg2
);
5840 wxPy_END_ALLOW_THREADS
;
5841 } Py_INCREF(Py_None
);
5842 _resultobj
= Py_None
;
5850 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
5851 static PyObject
*_wrap_wxMenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5852 PyObject
* _resultobj
;
5856 PyObject
* _argo0
= 0;
5857 PyObject
* _obj2
= 0;
5858 char *_kwnames
[] = { "self","id","label", NULL
};
5861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5864 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5865 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
5871 if (!PyString_Check(_obj2
)) {
5872 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5875 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5878 wxPy_BEGIN_ALLOW_THREADS
;
5879 wxMenuBar_SetLabel(_arg0
,_arg1
,*_arg2
);
5881 wxPy_END_ALLOW_THREADS
;
5882 } Py_INCREF(Py_None
);
5883 _resultobj
= Py_None
;
5891 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
5892 static PyObject
*_wrap_wxMenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5893 PyObject
* _resultobj
;
5897 PyObject
* _argo0
= 0;
5898 char *_kwnames
[] = { "self","pos", NULL
};
5901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabelTop",_kwnames
,&_argo0
,&_arg1
))
5904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
5911 wxPy_BEGIN_ALLOW_THREADS
;
5912 _result
= new wxString (wxMenuBar_GetLabelTop(_arg0
,_arg1
));
5914 wxPy_END_ALLOW_THREADS
;
5916 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5924 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
5925 static PyObject
*_wrap_wxMenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5926 PyObject
* _resultobj
;
5930 PyObject
* _argo0
= 0;
5931 PyObject
* _obj2
= 0;
5932 char *_kwnames
[] = { "self","pos","label", NULL
};
5935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabelTop",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
5945 if (!PyString_Check(_obj2
)) {
5946 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5949 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5952 wxPy_BEGIN_ALLOW_THREADS
;
5953 wxMenuBar_SetLabelTop(_arg0
,_arg1
,*_arg2
);
5955 wxPy_END_ALLOW_THREADS
;
5956 } Py_INCREF(Py_None
);
5957 _resultobj
= Py_None
;
5965 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
5966 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5967 PyObject
* _resultobj
;
5970 PyObject
* _argo0
= 0;
5971 char *_kwnames
[] = { "self", NULL
};
5974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuBar_GetMenuCount",_kwnames
,&_argo0
))
5977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
5984 wxPy_BEGIN_ALLOW_THREADS
;
5985 _result
= (int )wxMenuBar_GetMenuCount(_arg0
);
5987 wxPy_END_ALLOW_THREADS
;
5988 } _resultobj
= Py_BuildValue("i",_result
);
5992 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
5993 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5994 PyObject
* _resultobj
;
5998 PyObject
* _argo0
= 0;
5999 char *_kwnames
[] = { "self","i", NULL
};
6003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetMenu",_kwnames
,&_argo0
,&_arg1
))
6006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
6008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
6013 wxPy_BEGIN_ALLOW_THREADS
;
6014 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
6016 wxPy_END_ALLOW_THREADS
;
6018 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
6019 _resultobj
= Py_BuildValue("s",_ptemp
);
6022 _resultobj
= Py_None
;
6027 #define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6028 static PyObject
*_wrap_new_wxMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6029 PyObject
* _resultobj
;
6030 wxMenuItem
* _result
;
6031 wxMenu
* _arg0
= (wxMenu
*) NULL
;
6032 int _arg1
= (int ) ID_SEPARATOR
;
6033 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
6034 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
6035 bool _arg4
= (bool ) FALSE
;
6036 wxMenu
* _arg5
= (wxMenu
*) NULL
;
6037 PyObject
* _argo0
= 0;
6038 PyObject
* _obj2
= 0;
6039 PyObject
* _obj3
= 0;
6040 int tempbool4
= (int) FALSE
;
6041 PyObject
* _argo5
= 0;
6042 char *_kwnames
[] = { "parentMenu","id","text","helpString","checkable","subMenu", NULL
};
6046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OiOOiO:new_wxMenuItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&tempbool4
,&_argo5
))
6049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
6051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
6057 if (!PyString_Check(_obj2
)) {
6058 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6061 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6065 if (!PyString_Check(_obj3
)) {
6066 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6069 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
6071 _arg4
= (bool ) tempbool4
;
6073 if (_argo5
== Py_None
) { _arg5
= NULL
; }
6074 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxMenu_p")) {
6075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
6080 wxPy_BEGIN_ALLOW_THREADS
;
6081 _result
= (wxMenuItem
*)new_wxMenuItem(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
6083 wxPy_END_ALLOW_THREADS
;
6085 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
6086 _resultobj
= Py_BuildValue("s",_ptemp
);
6089 _resultobj
= Py_None
;
6102 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
6103 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6104 PyObject
* _resultobj
;
6107 PyObject
* _argo0
= 0;
6108 char *_kwnames
[] = { "self", NULL
};
6111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSeparator",_kwnames
,&_argo0
))
6114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
6121 wxPy_BEGIN_ALLOW_THREADS
;
6122 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
6124 wxPy_END_ALLOW_THREADS
;
6125 } _resultobj
= Py_BuildValue("i",_result
);
6129 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
6130 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6131 PyObject
* _resultobj
;
6134 PyObject
* _argo0
= 0;
6135 char *_kwnames
[] = { "self", NULL
};
6138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsEnabled",_kwnames
,&_argo0
))
6141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
6148 wxPy_BEGIN_ALLOW_THREADS
;
6149 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
6151 wxPy_END_ALLOW_THREADS
;
6152 } _resultobj
= Py_BuildValue("i",_result
);
6156 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
6157 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6158 PyObject
* _resultobj
;
6161 PyObject
* _argo0
= 0;
6162 char *_kwnames
[] = { "self", NULL
};
6165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsChecked",_kwnames
,&_argo0
))
6168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
6175 wxPy_BEGIN_ALLOW_THREADS
;
6176 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
6178 wxPy_END_ALLOW_THREADS
;
6179 } _resultobj
= Py_BuildValue("i",_result
);
6183 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
6184 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6185 PyObject
* _resultobj
;
6188 PyObject
* _argo0
= 0;
6189 char *_kwnames
[] = { "self", NULL
};
6192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsCheckable",_kwnames
,&_argo0
))
6195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
6202 wxPy_BEGIN_ALLOW_THREADS
;
6203 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
6205 wxPy_END_ALLOW_THREADS
;
6206 } _resultobj
= Py_BuildValue("i",_result
);
6210 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
6211 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6212 PyObject
* _resultobj
;
6215 PyObject
* _argo0
= 0;
6216 char *_kwnames
[] = { "self", NULL
};
6219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetId",_kwnames
,&_argo0
))
6222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
6229 wxPy_BEGIN_ALLOW_THREADS
;
6230 _result
= (int )wxMenuItem_GetId(_arg0
);
6232 wxPy_END_ALLOW_THREADS
;
6233 } _resultobj
= Py_BuildValue("i",_result
);
6237 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
6238 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6239 PyObject
* _resultobj
;
6242 PyObject
* _argo0
= 0;
6243 char *_kwnames
[] = { "self", NULL
};
6247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetSubMenu",_kwnames
,&_argo0
))
6250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
6257 wxPy_BEGIN_ALLOW_THREADS
;
6258 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
6260 wxPy_END_ALLOW_THREADS
;
6262 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
6263 _resultobj
= Py_BuildValue("s",_ptemp
);
6266 _resultobj
= Py_None
;
6271 #define wxMenuItem_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
6272 static PyObject
*_wrap_wxMenuItem_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6273 PyObject
* _resultobj
;
6276 PyObject
* _argo0
= 0;
6277 PyObject
* _obj1
= 0;
6278 char *_kwnames
[] = { "self","strName", NULL
};
6281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetName",_kwnames
,&_argo0
,&_obj1
))
6284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetName. Expected _wxMenuItem_p.");
6291 if (!PyString_Check(_obj1
)) {
6292 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6295 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
6298 wxPy_BEGIN_ALLOW_THREADS
;
6299 wxMenuItem_SetName(_arg0
,*_arg1
);
6301 wxPy_END_ALLOW_THREADS
;
6302 } Py_INCREF(Py_None
);
6303 _resultobj
= Py_None
;
6311 #define wxMenuItem_GetName(_swigobj) (_swigobj->GetName())
6312 static PyObject
*_wrap_wxMenuItem_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6313 PyObject
* _resultobj
;
6316 PyObject
* _argo0
= 0;
6317 char *_kwnames
[] = { "self", NULL
};
6320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetName",_kwnames
,&_argo0
))
6323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetName. Expected _wxMenuItem_p.");
6330 wxPy_BEGIN_ALLOW_THREADS
;
6331 _result
= new wxString (wxMenuItem_GetName(_arg0
));
6333 wxPy_END_ALLOW_THREADS
;
6335 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
6343 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
6344 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6345 PyObject
* _resultobj
;
6348 PyObject
* _argo0
= 0;
6349 char *_kwnames
[] = { "self", NULL
};
6352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetHelp",_kwnames
,&_argo0
))
6355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
6362 wxPy_BEGIN_ALLOW_THREADS
;
6363 _result
= new wxString (wxMenuItem_GetHelp(_arg0
));
6365 wxPy_END_ALLOW_THREADS
;
6367 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
6375 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
6376 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6377 PyObject
* _resultobj
;
6380 PyObject
* _argo0
= 0;
6381 PyObject
* _obj1
= 0;
6382 char *_kwnames
[] = { "self","strHelp", NULL
};
6385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetHelp",_kwnames
,&_argo0
,&_obj1
))
6388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
6395 if (!PyString_Check(_obj1
)) {
6396 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6399 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
6402 wxPy_BEGIN_ALLOW_THREADS
;
6403 wxMenuItem_SetHelp(_arg0
,*_arg1
);
6405 wxPy_END_ALLOW_THREADS
;
6406 } Py_INCREF(Py_None
);
6407 _resultobj
= Py_None
;
6415 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
6416 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6417 PyObject
* _resultobj
;
6419 bool _arg1
= (bool ) TRUE
;
6420 PyObject
* _argo0
= 0;
6421 int tempbool1
= (int) TRUE
;
6422 char *_kwnames
[] = { "self","bDoEnable", NULL
};
6425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Enable",_kwnames
,&_argo0
,&tempbool1
))
6428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
6434 _arg1
= (bool ) tempbool1
;
6436 wxPy_BEGIN_ALLOW_THREADS
;
6437 wxMenuItem_Enable(_arg0
,_arg1
);
6439 wxPy_END_ALLOW_THREADS
;
6440 } Py_INCREF(Py_None
);
6441 _resultobj
= Py_None
;
6445 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
6446 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6447 PyObject
* _resultobj
;
6449 bool _arg1
= (bool ) TRUE
;
6450 PyObject
* _argo0
= 0;
6451 int tempbool1
= (int) TRUE
;
6452 char *_kwnames
[] = { "self","bDoCheck", NULL
};
6455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Check",_kwnames
,&_argo0
,&tempbool1
))
6458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
6464 _arg1
= (bool ) tempbool1
;
6466 wxPy_BEGIN_ALLOW_THREADS
;
6467 wxMenuItem_Check(_arg0
,_arg1
);
6469 wxPy_END_ALLOW_THREADS
;
6470 } Py_INCREF(Py_None
);
6471 _resultobj
= Py_None
;
6475 #define wxMenuItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
6476 static PyObject
*_wrap_wxMenuItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6477 PyObject
* _resultobj
;
6480 PyObject
* _argo0
= 0;
6481 char *_kwnames
[] = { "self", NULL
};
6485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetBackgroundColour",_kwnames
,&_argo0
))
6488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetBackgroundColour. Expected _wxMenuItem_p.");
6495 wxPy_BEGIN_ALLOW_THREADS
;
6496 wxColour
& _result_ref
= wxMenuItem_GetBackgroundColour(_arg0
);
6497 _result
= (wxColour
*) &_result_ref
;
6499 wxPy_END_ALLOW_THREADS
;
6501 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
6502 _resultobj
= Py_BuildValue("s",_ptemp
);
6505 _resultobj
= Py_None
;
6510 #define wxMenuItem_GetBitmap(_swigobj,_swigarg0) (_swigobj->GetBitmap(_swigarg0))
6511 static PyObject
*_wrap_wxMenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6512 PyObject
* _resultobj
;
6515 bool _arg1
= (bool ) TRUE
;
6516 PyObject
* _argo0
= 0;
6517 int tempbool1
= (int) TRUE
;
6518 char *_kwnames
[] = { "self","checked", NULL
};
6522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_GetBitmap",_kwnames
,&_argo0
,&tempbool1
))
6525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetBitmap. Expected _wxMenuItem_p.");
6531 _arg1
= (bool ) tempbool1
;
6533 wxPy_BEGIN_ALLOW_THREADS
;
6534 _result
= new wxBitmap (wxMenuItem_GetBitmap(_arg0
,_arg1
));
6536 wxPy_END_ALLOW_THREADS
;
6537 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
6538 _resultobj
= Py_BuildValue("s",_ptemp
);
6542 #define wxMenuItem_GetFont(_swigobj) (_swigobj->GetFont())
6543 static PyObject
*_wrap_wxMenuItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6544 PyObject
* _resultobj
;
6547 PyObject
* _argo0
= 0;
6548 char *_kwnames
[] = { "self", NULL
};
6552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetFont",_kwnames
,&_argo0
))
6555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetFont. Expected _wxMenuItem_p.");
6562 wxPy_BEGIN_ALLOW_THREADS
;
6563 wxFont
& _result_ref
= wxMenuItem_GetFont(_arg0
);
6564 _result
= (wxFont
*) &_result_ref
;
6566 wxPy_END_ALLOW_THREADS
;
6568 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
6569 _resultobj
= Py_BuildValue("s",_ptemp
);
6572 _resultobj
= Py_None
;
6577 #define wxMenuItem_GetMarginWidth(_swigobj) (_swigobj->GetMarginWidth())
6578 static PyObject
*_wrap_wxMenuItem_GetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6579 PyObject
* _resultobj
;
6582 PyObject
* _argo0
= 0;
6583 char *_kwnames
[] = { "self", NULL
};
6586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetMarginWidth",_kwnames
,&_argo0
))
6589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMarginWidth. Expected _wxMenuItem_p.");
6596 wxPy_BEGIN_ALLOW_THREADS
;
6597 _result
= (int )wxMenuItem_GetMarginWidth(_arg0
);
6599 wxPy_END_ALLOW_THREADS
;
6600 } _resultobj
= Py_BuildValue("i",_result
);
6604 #define wxMenuItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
6605 static PyObject
*_wrap_wxMenuItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6606 PyObject
* _resultobj
;
6609 PyObject
* _argo0
= 0;
6610 char *_kwnames
[] = { "self", NULL
};
6614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetTextColour",_kwnames
,&_argo0
))
6617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetTextColour. Expected _wxMenuItem_p.");
6624 wxPy_BEGIN_ALLOW_THREADS
;
6625 wxColour
& _result_ref
= wxMenuItem_GetTextColour(_arg0
);
6626 _result
= (wxColour
*) &_result_ref
;
6628 wxPy_END_ALLOW_THREADS
;
6630 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
6631 _resultobj
= Py_BuildValue("s",_ptemp
);
6634 _resultobj
= Py_None
;
6639 #define wxMenuItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
6640 static PyObject
*_wrap_wxMenuItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6641 PyObject
* _resultobj
;
6644 PyObject
* _argo0
= 0;
6645 PyObject
* _argo1
= 0;
6646 char *_kwnames
[] = { "self","colour", NULL
};
6649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetBackgroundColour",_kwnames
,&_argo0
,&_argo1
))
6652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetBackgroundColour. Expected _wxMenuItem_p.");
6659 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6660 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
6661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetBackgroundColour. Expected _wxColour_p.");
6666 wxPy_BEGIN_ALLOW_THREADS
;
6667 wxMenuItem_SetBackgroundColour(_arg0
,*_arg1
);
6669 wxPy_END_ALLOW_THREADS
;
6670 } Py_INCREF(Py_None
);
6671 _resultobj
= Py_None
;
6675 #define wxMenuItem_SetBitmaps(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBitmaps(_swigarg0,_swigarg1))
6676 static PyObject
*_wrap_wxMenuItem_SetBitmaps(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6677 PyObject
* _resultobj
;
6680 wxBitmap
* _arg2
= (wxBitmap
*) &wxNullBitmap
;
6681 PyObject
* _argo0
= 0;
6682 PyObject
* _argo1
= 0;
6683 PyObject
* _argo2
= 0;
6684 char *_kwnames
[] = { "self","checked","unchecked", NULL
};
6687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxMenuItem_SetBitmaps",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
6690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetBitmaps. Expected _wxMenuItem_p.");
6697 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6698 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
6699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetBitmaps. Expected _wxBitmap_p.");
6704 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6705 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
6706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuItem_SetBitmaps. Expected _wxBitmap_p.");
6711 wxPy_BEGIN_ALLOW_THREADS
;
6712 wxMenuItem_SetBitmaps(_arg0
,*_arg1
,*_arg2
);
6714 wxPy_END_ALLOW_THREADS
;
6715 } Py_INCREF(Py_None
);
6716 _resultobj
= Py_None
;
6720 #define wxMenuItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
6721 static PyObject
*_wrap_wxMenuItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6722 PyObject
* _resultobj
;
6725 PyObject
* _argo0
= 0;
6726 PyObject
* _argo1
= 0;
6727 char *_kwnames
[] = { "self","font", NULL
};
6730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetFont",_kwnames
,&_argo0
,&_argo1
))
6733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetFont. Expected _wxMenuItem_p.");
6740 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6741 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
6742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetFont. Expected _wxFont_p.");
6747 wxPy_BEGIN_ALLOW_THREADS
;
6748 wxMenuItem_SetFont(_arg0
,*_arg1
);
6750 wxPy_END_ALLOW_THREADS
;
6751 } Py_INCREF(Py_None
);
6752 _resultobj
= Py_None
;
6756 #define wxMenuItem_SetMarginWidth(_swigobj,_swigarg0) (_swigobj->SetMarginWidth(_swigarg0))
6757 static PyObject
*_wrap_wxMenuItem_SetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6758 PyObject
* _resultobj
;
6761 PyObject
* _argo0
= 0;
6762 char *_kwnames
[] = { "self","width", NULL
};
6765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetMarginWidth",_kwnames
,&_argo0
,&_arg1
))
6768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetMarginWidth. Expected _wxMenuItem_p.");
6775 wxPy_BEGIN_ALLOW_THREADS
;
6776 wxMenuItem_SetMarginWidth(_arg0
,_arg1
);
6778 wxPy_END_ALLOW_THREADS
;
6779 } Py_INCREF(Py_None
);
6780 _resultobj
= Py_None
;
6784 #define wxMenuItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
6785 static PyObject
*_wrap_wxMenuItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6786 PyObject
* _resultobj
;
6789 PyObject
* _argo0
= 0;
6790 PyObject
* _argo1
= 0;
6791 char *_kwnames
[] = { "self","colour", NULL
};
6794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetTextColour",_kwnames
,&_argo0
,&_argo1
))
6797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetTextColour. Expected _wxMenuItem_p.");
6804 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6805 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
6806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetTextColour. Expected _wxColour_p.");
6811 wxPy_BEGIN_ALLOW_THREADS
;
6812 wxMenuItem_SetTextColour(_arg0
,*_arg1
);
6814 wxPy_END_ALLOW_THREADS
;
6815 } Py_INCREF(Py_None
);
6816 _resultobj
= Py_None
;
6820 #define wxMenuItem_DeleteSubMenu(_swigobj) (_swigobj->DeleteSubMenu())
6821 static PyObject
*_wrap_wxMenuItem_DeleteSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6822 PyObject
* _resultobj
;
6824 PyObject
* _argo0
= 0;
6825 char *_kwnames
[] = { "self", NULL
};
6828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_DeleteSubMenu",_kwnames
,&_argo0
))
6831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_DeleteSubMenu. Expected _wxMenuItem_p.");
6838 wxPy_BEGIN_ALLOW_THREADS
;
6839 wxMenuItem_DeleteSubMenu(_arg0
);
6841 wxPy_END_ALLOW_THREADS
;
6842 } Py_INCREF(Py_None
);
6843 _resultobj
= Py_None
;
6847 static PyMethodDef windowscMethods
[] = {
6848 { "wxMenuItem_DeleteSubMenu", (PyCFunction
) _wrap_wxMenuItem_DeleteSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
6849 { "wxMenuItem_SetTextColour", (PyCFunction
) _wrap_wxMenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
6850 { "wxMenuItem_SetMarginWidth", (PyCFunction
) _wrap_wxMenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
6851 { "wxMenuItem_SetFont", (PyCFunction
) _wrap_wxMenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
6852 { "wxMenuItem_SetBitmaps", (PyCFunction
) _wrap_wxMenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
},
6853 { "wxMenuItem_SetBackgroundColour", (PyCFunction
) _wrap_wxMenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
6854 { "wxMenuItem_GetTextColour", (PyCFunction
) _wrap_wxMenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
6855 { "wxMenuItem_GetMarginWidth", (PyCFunction
) _wrap_wxMenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
6856 { "wxMenuItem_GetFont", (PyCFunction
) _wrap_wxMenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
6857 { "wxMenuItem_GetBitmap", (PyCFunction
) _wrap_wxMenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
6858 { "wxMenuItem_GetBackgroundColour", (PyCFunction
) _wrap_wxMenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
6859 { "wxMenuItem_Check", (PyCFunction
) _wrap_wxMenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
6860 { "wxMenuItem_Enable", (PyCFunction
) _wrap_wxMenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
6861 { "wxMenuItem_SetHelp", (PyCFunction
) _wrap_wxMenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
6862 { "wxMenuItem_GetHelp", (PyCFunction
) _wrap_wxMenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
6863 { "wxMenuItem_GetName", (PyCFunction
) _wrap_wxMenuItem_GetName
, METH_VARARGS
| METH_KEYWORDS
},
6864 { "wxMenuItem_SetName", (PyCFunction
) _wrap_wxMenuItem_SetName
, METH_VARARGS
| METH_KEYWORDS
},
6865 { "wxMenuItem_GetSubMenu", (PyCFunction
) _wrap_wxMenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
6866 { "wxMenuItem_GetId", (PyCFunction
) _wrap_wxMenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
6867 { "wxMenuItem_IsCheckable", (PyCFunction
) _wrap_wxMenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
6868 { "wxMenuItem_IsChecked", (PyCFunction
) _wrap_wxMenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
6869 { "wxMenuItem_IsEnabled", (PyCFunction
) _wrap_wxMenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
6870 { "wxMenuItem_IsSeparator", (PyCFunction
) _wrap_wxMenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
6871 { "new_wxMenuItem", (PyCFunction
) _wrap_new_wxMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
6872 { "wxMenuBar_GetMenu", (PyCFunction
) _wrap_wxMenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
6873 { "wxMenuBar_GetMenuCount", (PyCFunction
) _wrap_wxMenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
6874 { "wxMenuBar_SetLabelTop", (PyCFunction
) _wrap_wxMenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
6875 { "wxMenuBar_GetLabelTop", (PyCFunction
) _wrap_wxMenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
6876 { "wxMenuBar_SetLabel", (PyCFunction
) _wrap_wxMenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
6877 { "wxMenuBar_SetHelpString", (PyCFunction
) _wrap_wxMenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
6878 { "wxMenuBar_GetLabel", (PyCFunction
) _wrap_wxMenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
6879 { "wxMenuBar_GetHelpString", (PyCFunction
) _wrap_wxMenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
6880 { "wxMenuBar_EnableTop", (PyCFunction
) _wrap_wxMenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
6881 { "wxMenuBar_FindItemForId", (PyCFunction
) _wrap_wxMenuBar_FindItemForId
, METH_VARARGS
| METH_KEYWORDS
},
6882 { "wxMenuBar_FindMenuItem", (PyCFunction
) _wrap_wxMenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
6883 { "wxMenuBar_Enabled", (PyCFunction
) _wrap_wxMenuBar_Enabled
, METH_VARARGS
| METH_KEYWORDS
},
6884 { "wxMenuBar_Enable", (PyCFunction
) _wrap_wxMenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
6885 { "wxMenuBar_Checked", (PyCFunction
) _wrap_wxMenuBar_Checked
, METH_VARARGS
| METH_KEYWORDS
},
6886 { "wxMenuBar_Check", (PyCFunction
) _wrap_wxMenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
6887 { "wxMenuBar_Append", (PyCFunction
) _wrap_wxMenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
6888 { "new_wxMenuBar", (PyCFunction
) _wrap_new_wxMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
6889 { "wxMenu_Destroy", (PyCFunction
) _wrap_wxMenu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
6890 { "wxMenu_UpdateUI", (PyCFunction
) _wrap_wxMenu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
6891 { "wxMenu_SetLabel", (PyCFunction
) _wrap_wxMenu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
6892 { "wxMenu_IsEnabled", (PyCFunction
) _wrap_wxMenu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
6893 { "wxMenu_IsChecked", (PyCFunction
) _wrap_wxMenu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
6894 { "wxMenu_SetHelpString", (PyCFunction
) _wrap_wxMenu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
6895 { "wxMenu_GetLabel", (PyCFunction
) _wrap_wxMenu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
6896 { "wxMenu_GetHelpString", (PyCFunction
) _wrap_wxMenu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
6897 { "wxMenu_FindItemForId", (PyCFunction
) _wrap_wxMenu_FindItemForId
, METH_VARARGS
| METH_KEYWORDS
},
6898 { "wxMenu_SetTitle", (PyCFunction
) _wrap_wxMenu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
6899 { "wxMenu_GetTitle", (PyCFunction
) _wrap_wxMenu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
6900 { "wxMenu_FindItem", (PyCFunction
) _wrap_wxMenu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
6901 { "wxMenu_Enable", (PyCFunction
) _wrap_wxMenu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
6902 { "wxMenu_Check", (PyCFunction
) _wrap_wxMenu_Check
, METH_VARARGS
| METH_KEYWORDS
},
6903 { "wxMenu_Break", (PyCFunction
) _wrap_wxMenu_Break
, METH_VARARGS
| METH_KEYWORDS
},
6904 { "wxMenu_AppendSeparator", (PyCFunction
) _wrap_wxMenu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
6905 { "wxMenu_AppendItem", (PyCFunction
) _wrap_wxMenu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
6906 { "wxMenu_AppendMenu", (PyCFunction
) _wrap_wxMenu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
6907 { "wxMenu_Append", (PyCFunction
) _wrap_wxMenu_Append
, METH_VARARGS
| METH_KEYWORDS
},
6908 { "new_wxMenu", (PyCFunction
) _wrap_new_wxMenu
, METH_VARARGS
| METH_KEYWORDS
},
6909 { "wxScrolledWindow_ViewStart", (PyCFunction
) _wrap_wxScrolledWindow_ViewStart
, METH_VARARGS
| METH_KEYWORDS
},
6910 { "wxScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
6911 { "wxScrolledWindow_Scroll", (PyCFunction
) _wrap_wxScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
6912 { "wxScrolledWindow_PrepareDC", (PyCFunction
) _wrap_wxScrolledWindow_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
6913 { "wxScrolledWindow_IsRetained", (PyCFunction
) _wrap_wxScrolledWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
6914 { "wxScrolledWindow_GetVirtualSize", (PyCFunction
) _wrap_wxScrolledWindow_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
6915 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
6916 { "wxScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_wxScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
6917 { "new_wxScrolledWindow", (PyCFunction
) _wrap_new_wxScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
6918 { "wxDialog_SetReturnCode", (PyCFunction
) _wrap_wxDialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
6919 { "wxDialog_GetReturnCode", (PyCFunction
) _wrap_wxDialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
6920 { "wxDialog_ShowModal", (PyCFunction
) _wrap_wxDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
6921 { "wxDialog_Show", (PyCFunction
) _wrap_wxDialog_Show
, METH_VARARGS
| METH_KEYWORDS
},
6922 { "wxDialog_SetTitle", (PyCFunction
) _wrap_wxDialog_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
6923 { "wxDialog_IsModal", (PyCFunction
) _wrap_wxDialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
6924 { "wxDialog_SetModal", (PyCFunction
) _wrap_wxDialog_SetModal
, METH_VARARGS
| METH_KEYWORDS
},
6925 { "wxDialog_IsIconized", (PyCFunction
) _wrap_wxDialog_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
6926 { "wxDialog_Iconize", (PyCFunction
) _wrap_wxDialog_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
6927 { "wxDialog_GetTitle", (PyCFunction
) _wrap_wxDialog_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
6928 { "wxDialog_EndModal", (PyCFunction
) _wrap_wxDialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
6929 { "wxDialog_Centre", (PyCFunction
) _wrap_wxDialog_Centre
, METH_VARARGS
| METH_KEYWORDS
},
6930 { "new_wxDialog", (PyCFunction
) _wrap_new_wxDialog
, METH_VARARGS
| METH_KEYWORDS
},
6931 { "wxPanel_SetDefaultItem", (PyCFunction
) _wrap_wxPanel_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
6932 { "wxPanel_GetDefaultItem", (PyCFunction
) _wrap_wxPanel_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
6933 { "wxPanel_InitDialog", (PyCFunction
) _wrap_wxPanel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
6934 { "new_wxPanel", (PyCFunction
) _wrap_new_wxPanel
, METH_VARARGS
| METH_KEYWORDS
},
6935 { "wxWindow_GetToolTip", (PyCFunction
) _wrap_wxWindow_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
6936 { "wxWindow_SetToolTip", (PyCFunction
) _wrap_wxWindow_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
6937 { "wxWindow_SetToolTipString", (PyCFunction
) _wrap_wxWindow_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
6938 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
6939 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
6940 { "wxWindow_DLG_SZE", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
6941 { "wxWindow_DLG_PNT", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
6942 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
6943 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
6944 { "wxWindow_WarpPointer", (PyCFunction
) _wrap_wxWindow_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
6945 { "wxWindow_Validate", (PyCFunction
) _wrap_wxWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
},
6946 { "wxWindow_TransferDataToWindow", (PyCFunction
) _wrap_wxWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
6947 { "wxWindow_TransferDataFromWindow", (PyCFunction
) _wrap_wxWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
6948 { "wxWindow_Show", (PyCFunction
) _wrap_wxWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
6949 { "wxWindow_SetTitle", (PyCFunction
) _wrap_wxWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
6950 { "wxWindow_SetEventHandler", (PyCFunction
) _wrap_wxWindow_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
6951 { "wxWindow_SetCursor", (PyCFunction
) _wrap_wxWindow_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
6952 { "wxWindow_SetClientSize", (PyCFunction
) _wrap_wxWindow_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
6953 { "wxWindow_SetClientSizeWH", (PyCFunction
) _wrap_wxWindow_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
6954 { "wxWindow_SetSizeHints", (PyCFunction
) _wrap_wxWindow_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
6955 { "wxWindow_SetPosition", (PyCFunction
) _wrap_wxWindow_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
6956 { "wxWindow_SetSize", (PyCFunction
) _wrap_wxWindow_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
6957 { "wxWindow_SetDimensions", (PyCFunction
) _wrap_wxWindow_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
6958 { "wxWindow_SetScrollPos", (PyCFunction
) _wrap_wxWindow_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
6959 { "wxWindow_SetScrollbar", (PyCFunction
) _wrap_wxWindow_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
6960 { "wxWindow_SetName", (PyCFunction
) _wrap_wxWindow_SetName
, METH_VARARGS
| METH_KEYWORDS
},
6961 { "wxWindow_SetId", (PyCFunction
) _wrap_wxWindow_SetId
, METH_VARARGS
| METH_KEYWORDS
},
6962 { "wxWindow_SetForegroundColour", (PyCFunction
) _wrap_wxWindow_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
6963 { "wxWindow_SetFont", (PyCFunction
) _wrap_wxWindow_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
6964 { "wxWindow_SetFocus", (PyCFunction
) _wrap_wxWindow_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
6965 { "wxWindow_SetConstraints", (PyCFunction
) _wrap_wxWindow_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
6966 { "wxWindow_SetBackgroundColour", (PyCFunction
) _wrap_wxWindow_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
6967 { "wxWindow_SetAutoLayout", (PyCFunction
) _wrap_wxWindow_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
6968 { "wxWindow_SetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
6969 { "wxWindow_ScrollWindow", (PyCFunction
) _wrap_wxWindow_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
6970 { "wxWindow_ScreenToClient", (PyCFunction
) _wrap_wxWindow_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
6971 { "wxWindow_ScreenToClientXY", (PyCFunction
) _wrap_wxWindow_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
6972 { "wxWindow_Reparent", (PyCFunction
) _wrap_wxWindow_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
6973 { "wxWindow_ReleaseMouse", (PyCFunction
) _wrap_wxWindow_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
6974 { "wxWindow_Refresh", (PyCFunction
) _wrap_wxWindow_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
6975 { "wxWindow_Raise", (PyCFunction
) _wrap_wxWindow_Raise
, METH_VARARGS
| METH_KEYWORDS
},
6976 { "wxWindow_PopupMenu", (PyCFunction
) _wrap_wxWindow_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
6977 { "wxWindow_PopupMenuXY", (PyCFunction
) _wrap_wxWindow_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
6978 { "wxWindow_PushEventHandler", (PyCFunction
) _wrap_wxWindow_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
6979 { "wxWindow_PopEventHandler", (PyCFunction
) _wrap_wxWindow_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
6980 { "wxWindow_Move", (PyCFunction
) _wrap_wxWindow_Move
, METH_VARARGS
| METH_KEYWORDS
},
6981 { "wxWindow_MoveXY", (PyCFunction
) _wrap_wxWindow_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
6982 { "wxWindow_MakeModal", (PyCFunction
) _wrap_wxWindow_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
6983 { "wxWindow_Lower", (PyCFunction
) _wrap_wxWindow_Lower
, METH_VARARGS
| METH_KEYWORDS
},
6984 { "wxWindow_LoadFromResource", (PyCFunction
) _wrap_wxWindow_LoadFromResource
, METH_VARARGS
| METH_KEYWORDS
},
6985 { "wxWindow_Layout", (PyCFunction
) _wrap_wxWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
6986 { "wxWindow_IsTopLevel", (PyCFunction
) _wrap_wxWindow_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
6987 { "wxWindow_IsShown", (PyCFunction
) _wrap_wxWindow_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
6988 { "wxWindow_IsRetained", (PyCFunction
) _wrap_wxWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
6989 { "wxWindow_IsEnabled", (PyCFunction
) _wrap_wxWindow_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
6990 { "wxWindow_InitDialog", (PyCFunction
) _wrap_wxWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
6991 { "wxWindow_Hide", (PyCFunction
) _wrap_wxWindow_Hide
, METH_VARARGS
| METH_KEYWORDS
},
6992 { "wxWindow_GetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
6993 { "wxWindow_GetUpdateRegion", (PyCFunction
) _wrap_wxWindow_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
6994 { "wxWindow_GetTitle", (PyCFunction
) _wrap_wxWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
6995 { "wxWindow_GetFullTextExtent", (PyCFunction
) _wrap_wxWindow_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
6996 { "wxWindow_GetTextExtent", (PyCFunction
) _wrap_wxWindow_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
6997 { "wxWindow_GetSize", (PyCFunction
) _wrap_wxWindow_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
6998 { "wxWindow_GetSizeTuple", (PyCFunction
) _wrap_wxWindow_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
6999 { "wxWindow_GetScrollRange", (PyCFunction
) _wrap_wxWindow_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
7000 { "wxWindow_GetScrollPos", (PyCFunction
) _wrap_wxWindow_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
7001 { "wxWindow_GetScrollThumb", (PyCFunction
) _wrap_wxWindow_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
7002 { "wxWindow_GetRect", (PyCFunction
) _wrap_wxWindow_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
7003 { "wxWindow_GetPosition", (PyCFunction
) _wrap_wxWindow_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7004 { "wxWindow_GetPositionTuple", (PyCFunction
) _wrap_wxWindow_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
7005 { "wxWindow_GetParent", (PyCFunction
) _wrap_wxWindow_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
7006 { "wxWindow_GetName", (PyCFunction
) _wrap_wxWindow_GetName
, METH_VARARGS
| METH_KEYWORDS
},
7007 { "wxWindow_SetLabel", (PyCFunction
) _wrap_wxWindow_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
7008 { "wxWindow_GetLabel", (PyCFunction
) _wrap_wxWindow_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
7009 { "wxWindow_GetId", (PyCFunction
) _wrap_wxWindow_GetId
, METH_VARARGS
| METH_KEYWORDS
},
7010 { "wxWindow_GetGrandParent", (PyCFunction
) _wrap_wxWindow_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
7011 { "wxWindow_GetForegroundColour", (PyCFunction
) _wrap_wxWindow_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7012 { "wxWindow_GetFont", (PyCFunction
) _wrap_wxWindow_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
7013 { "wxWindow_GetEventHandler", (PyCFunction
) _wrap_wxWindow_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
7014 { "wxWindow_GetConstraints", (PyCFunction
) _wrap_wxWindow_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
7015 { "wxWindow_GetClientSize", (PyCFunction
) _wrap_wxWindow_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
7016 { "wxWindow_GetClientSizeTuple", (PyCFunction
) _wrap_wxWindow_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
7017 { "wxWindow_GetCharWidth", (PyCFunction
) _wrap_wxWindow_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
7018 { "wxWindow_GetCharHeight", (PyCFunction
) _wrap_wxWindow_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
7019 { "wxWindow_GetChildren", (PyCFunction
) _wrap_wxWindow_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
7020 { "wxWindow_GetBackgroundColour", (PyCFunction
) _wrap_wxWindow_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7021 { "wxWindow_Fit", (PyCFunction
) _wrap_wxWindow_Fit
, METH_VARARGS
| METH_KEYWORDS
},
7022 { "wxWindow_FindWindowByName", (PyCFunction
) _wrap_wxWindow_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
7023 { "wxWindow_FindWindowById", (PyCFunction
) _wrap_wxWindow_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
7024 { "wxWindow_Enable", (PyCFunction
) _wrap_wxWindow_Enable
, METH_VARARGS
| METH_KEYWORDS
},
7025 { "wxWindow_DragAcceptFiles", (PyCFunction
) _wrap_wxWindow_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
},
7026 { "wxWindow_DestroyChildren", (PyCFunction
) _wrap_wxWindow_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
7027 { "wxWindow_Destroy", (PyCFunction
) _wrap_wxWindow_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
7028 { "wxWindow_Close", (PyCFunction
) _wrap_wxWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
7029 { "wxWindow_ClientToScreen", (PyCFunction
) _wrap_wxWindow_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
7030 { "wxWindow_ClientToScreenXY", (PyCFunction
) _wrap_wxWindow_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
7031 { "wxWindow_CenterOnParent", (PyCFunction
) _wrap_wxWindow_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
7032 { "wxWindow_CentreOnParent", (PyCFunction
) _wrap_wxWindow_CentreOnParent
, METH_VARARGS
| METH_KEYWORDS
},
7033 { "wxWindow_Centre", (PyCFunction
) _wrap_wxWindow_Centre
, METH_VARARGS
| METH_KEYWORDS
},
7034 { "wxWindow_Center", (PyCFunction
) _wrap_wxWindow_Center
, METH_VARARGS
| METH_KEYWORDS
},
7035 { "wxWindow_CaptureMouse", (PyCFunction
) _wrap_wxWindow_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
7036 { "new_wxWindow", (PyCFunction
) _wrap_new_wxWindow
, METH_VARARGS
| METH_KEYWORDS
},
7037 { "wxEvtHandler_Connect", (PyCFunction
) _wrap_wxEvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
7038 { "wxEvtHandler_ProcessEvent", (PyCFunction
) _wrap_wxEvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
7039 { "wxWindow_FromHWND", (PyCFunction
) _wrap_wxWindow_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
7040 { "wxWindow_FindFocus", (PyCFunction
) _wrap_wxWindow_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
7047 * This table is used by the pointer type-checker
7049 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
7050 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
7051 { "_signed_long","_long",0},
7052 { "_wxPrintQuality","_int",0},
7053 { "_wxPrintQuality","_signed_int",0},
7054 { "_wxPrintQuality","_unsigned_int",0},
7055 { "_wxPrintQuality","_wxWindowID",0},
7056 { "_wxPrintQuality","_uint",0},
7057 { "_wxPrintQuality","_EBool",0},
7058 { "_wxPrintQuality","_size_t",0},
7059 { "_class_wxRegionIterator","_wxRegionIterator",0},
7060 { "_class_wxMenuBar","_wxMenuBar",0},
7061 { "_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
7062 { "_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
7063 { "_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
7064 { "_class_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
7065 { "_class_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
7066 { "_class_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
7067 { "_class_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
7068 { "_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
7069 { "_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
7070 { "_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
7071 { "_class_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
7072 { "_class_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
7073 { "_class_wxEvtHandler","_wxEvtHandler",0},
7074 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
7075 { "_wxCursor","_class_wxCursor",0},
7076 { "_wxMask","_class_wxMask",0},
7077 { "_wxPen","_class_wxPen",0},
7078 { "_byte","_unsigned_char",0},
7079 { "_long","_wxDash",0},
7080 { "_long","_unsigned_long",0},
7081 { "_long","_signed_long",0},
7082 { "_wxImageList","_class_wxImageList",0},
7083 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
7084 { "_wxDC","_class_wxDC",0},
7085 { "_size_t","_wxPrintQuality",0},
7086 { "_size_t","_unsigned_int",0},
7087 { "_size_t","_int",0},
7088 { "_size_t","_wxWindowID",0},
7089 { "_size_t","_uint",0},
7090 { "_class_wxRealPoint","_wxRealPoint",0},
7091 { "_wxPrinterDC","_class_wxPrinterDC",0},
7092 { "_class_wxMenuItem","_wxMenuItem",0},
7093 { "_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
7094 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
7095 { "_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
7096 { "_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
7097 { "_wxPanel","_class_wxPanel",0},
7098 { "_class_wxMask","_wxMask",0},
7099 { "_wxColour","_class_wxColour",0},
7100 { "_class_wxDialog","_wxDialog",0},
7101 { "_wxBrush","_class_wxBrush",0},
7102 { "_uint","_wxPrintQuality",0},
7103 { "_uint","_size_t",0},
7104 { "_uint","_unsigned_int",0},
7105 { "_uint","_int",0},
7106 { "_uint","_wxWindowID",0},
7107 { "_wxRect","_class_wxRect",0},
7108 { "_wxPoint","_class_wxPoint",0},
7109 { "_wxBitmap","_class_wxBitmap",0},
7110 { "_wxPyTimer","_class_wxPyTimer",0},
7111 { "_wxWindowDC","_class_wxWindowDC",0},
7112 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
7113 { "_EBool","_wxPrintQuality",0},
7114 { "_EBool","_signed_int",0},
7115 { "_EBool","_int",0},
7116 { "_EBool","_wxWindowID",0},
7117 { "_class_wxRegion","_wxRegion",0},
7118 { "_wxFont","_class_wxFont",0},
7119 { "_unsigned_long","_wxDash",0},
7120 { "_unsigned_long","_long",0},
7121 { "_class_wxRect","_wxRect",0},
7122 { "_class_wxDC","_wxDC",0},
7123 { "_class_wxPyTimer","_wxPyTimer",0},
7124 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
7125 { "_class_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
7126 { "_class_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
7127 { "_class_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
7128 { "_class_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
7129 { "_class_wxPanel","_wxPanel",0},
7130 { "_signed_int","_wxPrintQuality",0},
7131 { "_signed_int","_EBool",0},
7132 { "_signed_int","_wxWindowID",0},
7133 { "_signed_int","_int",0},
7134 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
7135 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
7136 { "_wxMenu","_class_wxMenu",0},
7137 { "_wxScreenDC","_class_wxScreenDC",0},
7138 { "_WXTYPE","_short",0},
7139 { "_WXTYPE","_signed_short",0},
7140 { "_WXTYPE","_unsigned_short",0},
7141 { "_class_wxBrush","_wxBrush",0},
7142 { "_unsigned_short","_WXTYPE",0},
7143 { "_unsigned_short","_short",0},
7144 { "_class_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
7145 { "_class_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
7146 { "_class_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
7147 { "_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
7148 { "_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
7149 { "_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
7150 { "_class_wxWindow","_wxWindow",0},
7151 { "_class_wxFont","_wxFont",0},
7152 { "_wxClientDC","_class_wxClientDC",0},
7153 { "_class_wxPoint","_wxPoint",0},
7154 { "_wxRealPoint","_class_wxRealPoint",0},
7155 { "_signed_short","_WXTYPE",0},
7156 { "_signed_short","_short",0},
7157 { "_wxMemoryDC","_class_wxMemoryDC",0},
7158 { "_wxPaintDC","_class_wxPaintDC",0},
7159 { "_class_wxWindowDC","_wxWindowDC",0},
7160 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
7161 { "_class_wxCursor","_wxCursor",0},
7162 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
7163 { "_unsigned_char","_byte",0},
7164 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
7165 { "_class_wxMenu","_wxMenu",0},
7166 { "_unsigned_int","_wxPrintQuality",0},
7167 { "_unsigned_int","_size_t",0},
7168 { "_unsigned_int","_uint",0},
7169 { "_unsigned_int","_wxWindowID",0},
7170 { "_unsigned_int","_int",0},
7171 { "_wxIcon","_class_wxIcon",0},
7172 { "_wxDialog","_class_wxDialog",0},
7173 { "_class_wxPen","_wxPen",0},
7174 { "_short","_WXTYPE",0},
7175 { "_short","_unsigned_short",0},
7176 { "_short","_signed_short",0},
7177 { "_class_wxImageList","_wxImageList",0},
7178 { "_wxWindowID","_wxPrintQuality",0},
7179 { "_wxWindowID","_size_t",0},
7180 { "_wxWindowID","_EBool",0},
7181 { "_wxWindowID","_uint",0},
7182 { "_wxWindowID","_int",0},
7183 { "_wxWindowID","_signed_int",0},
7184 { "_wxWindowID","_unsigned_int",0},
7185 { "_int","_wxPrintQuality",0},
7186 { "_int","_size_t",0},
7187 { "_int","_EBool",0},
7188 { "_int","_uint",0},
7189 { "_int","_wxWindowID",0},
7190 { "_int","_unsigned_int",0},
7191 { "_int","_signed_int",0},
7192 { "_wxSize","_class_wxSize",0},
7193 { "_wxRegionIterator","_class_wxRegionIterator",0},
7194 { "_class_wxPrinterDC","_wxPrinterDC",0},
7195 { "_class_wxPaintDC","_wxPaintDC",0},
7196 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
7197 { "_class_wxIcon","_wxIcon",0},
7198 { "_class_wxColour","_wxColour",0},
7199 { "_class_wxScreenDC","_wxScreenDC",0},
7200 { "_wxPalette","_class_wxPalette",0},
7201 { "_wxRegion","_class_wxRegion",0},
7202 { "_class_wxClientDC","_wxClientDC",0},
7203 { "_class_wxSize","_wxSize",0},
7204 { "_class_wxBitmap","_wxBitmap",0},
7205 { "_class_wxMemoryDC","_wxMemoryDC",0},
7206 { "_wxMenuBar","_class_wxMenuBar",0},
7207 { "_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
7208 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
7209 { "_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
7210 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
7211 { "_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
7212 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
7213 { "_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
7214 { "_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
7215 { "_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
7216 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
7217 { "_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
7218 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
7219 { "_wxEvtHandler","_class_wxEvtHandler",0},
7220 { "_wxMenuItem","_class_wxMenuItem",0},
7221 { "_wxDash","_unsigned_long",0},
7222 { "_wxDash","_long",0},
7223 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
7224 { "_class_wxPalette","_wxPalette",0},
7225 { "_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
7226 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
7227 { "_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
7228 { "_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
7229 { "_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
7230 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
7231 { "_wxWindow","_class_wxWindow",0},
7234 static PyObject
*SWIG_globals
;
7238 SWIGEXPORT(void) initwindowsc() {
7240 SWIG_globals
= SWIG_newvarlink();
7241 m
= Py_InitModule("windowsc", windowscMethods
);
7242 d
= PyModule_GetDict(m
);
7245 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
7246 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);