2 * FILE : gtk/windows.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 5)
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,b) __declspec(dllexport) a b
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a,b) a _export b
32 # define SWIGEXPORT(a,b) a b
36 # define SWIGEXPORT(a,b) a b
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 void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
47 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initwindowsc
54 #define SWIG_name "windowsc"
57 #include <wx/menuitem.h>
59 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
64 } else if (target
== Py_None
) {
68 if (!PyList_Check(target
)) {
70 target
= PyList_New(0);
71 PyList_Append(target
, o2
);
74 PyList_Append(target
,o
);
80 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
86 } else if (target
== Py_None
) {
90 if (!PyTuple_Check(target
)) {
92 target
= PyTuple_New(1);
93 PyTuple_SetItem(target
, 0, o2
);
96 PyTuple_SetItem(o3
, 0, o
);
99 target
= PySequence_Concat(o2
, o3
);
107 extern byte
* byte_LIST_helper(PyObject
* source
);
108 extern int* int_LIST_helper(PyObject
* source
);
109 extern long* long_LIST_helper(PyObject
* source
);
110 extern char** string_LIST_helper(PyObject
* source
);
111 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
112 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
113 extern wxString
* wxString_LIST_helper(PyObject
* source
);
114 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
117 static char* wxStringErrorMsg
= "string type is required for parameter";
118 #define wxEvtHandler_ProcessEvent(_swigobj,_swigarg0) (_swigobj->ProcessEvent(_swigarg0))
119 static PyObject
*_wrap_wxEvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
) {
120 PyObject
* _resultobj
;
122 wxEvtHandler
* _arg0
;
128 if(!PyArg_ParseTuple(args
,"ss:wxEvtHandler_ProcessEvent",&_argc0
,&_argc1
))
131 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_ProcessEvent. Expected _wxEvtHandler_p.");
137 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxEvent_p")) {
138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_ProcessEvent. Expected _wxEvent_p.");
143 wxPy_BEGIN_ALLOW_THREADS
;
144 _result
= (bool )wxEvtHandler_ProcessEvent(_arg0
,*_arg1
);
146 wxPy_END_ALLOW_THREADS
;
147 } _resultobj
= Py_BuildValue("i",_result
);
151 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
* func
) {
152 if (PyCallable_Check(func
)) {
153 self
->Connect(id
, lastId
, eventType
,
154 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
155 new wxPyCallback(func
));
158 static PyObject
*_wrap_wxEvtHandler_Connect(PyObject
*self
, PyObject
*args
) {
159 PyObject
* _resultobj
;
160 wxEvtHandler
* _arg0
;
166 PyObject
* _obj4
= 0;
169 if(!PyArg_ParseTuple(args
,"siiiO:wxEvtHandler_Connect",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
172 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
181 wxPy_BEGIN_ALLOW_THREADS
;
182 wxEvtHandler_Connect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
184 wxPy_END_ALLOW_THREADS
;
185 } Py_INCREF(Py_None
);
186 _resultobj
= Py_None
;
190 static void *SwigwxWindowTowxEvtHandler(void *ptr
) {
193 src
= (wxWindow
*) ptr
;
194 dest
= (wxEvtHandler
*) src
;
195 return (void *) dest
;
198 #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
199 static PyObject
*_wrap_new_wxWindow(PyObject
*self
, PyObject
*args
) {
200 PyObject
* _resultobj
;
204 wxPoint
* _arg2
= &wxPyDefaultPosition
;
205 wxSize
* _arg3
= &wxPyDefaultSize
;
207 char * _arg5
= "panel";
214 if(!PyArg_ParseTuple(args
,"si|ssls:new_wxWindow",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
217 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
223 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxWindow. Expected _wxPoint_p.");
229 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxWindow. Expected _wxSize_p.");
235 wxPy_BEGIN_ALLOW_THREADS
;
236 _result
= (wxWindow
*)new_wxWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
238 wxPy_END_ALLOW_THREADS
;
239 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
240 _resultobj
= Py_BuildValue("s",_ptemp
);
244 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
245 static PyObject
*_wrap_wxWindow_CaptureMouse(PyObject
*self
, PyObject
*args
) {
246 PyObject
* _resultobj
;
251 if(!PyArg_ParseTuple(args
,"s:wxWindow_CaptureMouse",&_argc0
))
254 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
260 wxPy_BEGIN_ALLOW_THREADS
;
261 wxWindow_CaptureMouse(_arg0
);
263 wxPy_END_ALLOW_THREADS
;
264 } Py_INCREF(Py_None
);
265 _resultobj
= Py_None
;
269 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
270 static PyObject
*_wrap_wxWindow_Center(PyObject
*self
, PyObject
*args
) {
271 PyObject
* _resultobj
;
273 int _arg1
= (wxHORIZONTAL
);
277 if(!PyArg_ParseTuple(args
,"s|i:wxWindow_Center",&_argc0
,&_arg1
))
280 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
286 wxPy_BEGIN_ALLOW_THREADS
;
287 wxWindow_Center(_arg0
,_arg1
);
289 wxPy_END_ALLOW_THREADS
;
290 } Py_INCREF(Py_None
);
291 _resultobj
= Py_None
;
295 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
296 static PyObject
*_wrap_wxWindow_Centre(PyObject
*self
, PyObject
*args
) {
297 PyObject
* _resultobj
;
299 int _arg1
= (wxHORIZONTAL
);
303 if(!PyArg_ParseTuple(args
,"s|i:wxWindow_Centre",&_argc0
,&_arg1
))
306 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
312 wxPy_BEGIN_ALLOW_THREADS
;
313 wxWindow_Centre(_arg0
,_arg1
);
315 wxPy_END_ALLOW_THREADS
;
316 } Py_INCREF(Py_None
);
317 _resultobj
= Py_None
;
321 #define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
322 static PyObject
*_wrap_wxWindow_ClientToScreenXY(PyObject
*self
, PyObject
*args
) {
323 PyObject
* _resultobj
;
329 PyObject
* _obj1
= 0;
331 PyObject
* _obj2
= 0;
334 if(!PyArg_ParseTuple(args
,"sOO:wxWindow_ClientToScreenXY",&_argc0
,&_obj1
,&_obj2
))
337 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
343 temp
= (int) PyInt_AsLong(_obj1
);
347 temp0
= (int) PyInt_AsLong(_obj2
);
351 wxPy_BEGIN_ALLOW_THREADS
;
352 wxWindow_ClientToScreenXY(_arg0
,_arg1
,_arg2
);
354 wxPy_END_ALLOW_THREADS
;
355 } Py_INCREF(Py_None
);
356 _resultobj
= Py_None
;
359 o
= PyInt_FromLong((long) (*_arg1
));
360 _resultobj
= t_output_helper(_resultobj
, o
);
364 o
= PyInt_FromLong((long) (*_arg2
));
365 _resultobj
= t_output_helper(_resultobj
, o
);
370 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
371 static PyObject
*_wrap_wxWindow_Close(PyObject
*self
, PyObject
*args
) {
372 PyObject
* _resultobj
;
379 if(!PyArg_ParseTuple(args
,"s|i:wxWindow_Close",&_argc0
,&_arg1
))
382 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
388 wxPy_BEGIN_ALLOW_THREADS
;
389 _result
= (bool )wxWindow_Close(_arg0
,_arg1
);
391 wxPy_END_ALLOW_THREADS
;
392 } _resultobj
= Py_BuildValue("i",_result
);
396 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
397 static PyObject
*_wrap_wxWindow_Destroy(PyObject
*self
, PyObject
*args
) {
398 PyObject
* _resultobj
;
404 if(!PyArg_ParseTuple(args
,"s:wxWindow_Destroy",&_argc0
))
407 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
413 wxPy_BEGIN_ALLOW_THREADS
;
414 _result
= (bool )wxWindow_Destroy(_arg0
);
416 wxPy_END_ALLOW_THREADS
;
417 } _resultobj
= Py_BuildValue("i",_result
);
421 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
422 static PyObject
*_wrap_wxWindow_DestroyChildren(PyObject
*self
, PyObject
*args
) {
423 PyObject
* _resultobj
;
428 if(!PyArg_ParseTuple(args
,"s:wxWindow_DestroyChildren",&_argc0
))
431 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
437 wxPy_BEGIN_ALLOW_THREADS
;
438 wxWindow_DestroyChildren(_arg0
);
440 wxPy_END_ALLOW_THREADS
;
441 } Py_INCREF(Py_None
);
442 _resultobj
= Py_None
;
446 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
447 static PyObject
*_wrap_wxWindow_Enable(PyObject
*self
, PyObject
*args
) {
448 PyObject
* _resultobj
;
455 if(!PyArg_ParseTuple(args
,"si:wxWindow_Enable",&_argc0
,&tempbool1
))
458 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
463 _arg1
= (bool ) tempbool1
;
465 wxPy_BEGIN_ALLOW_THREADS
;
466 wxWindow_Enable(_arg0
,_arg1
);
468 wxPy_END_ALLOW_THREADS
;
469 } Py_INCREF(Py_None
);
470 _resultobj
= Py_None
;
474 #define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
475 static PyObject
*_wrap_wxWindow_FindWindowById(PyObject
*self
, PyObject
*args
) {
476 PyObject
* _resultobj
;
484 if(!PyArg_ParseTuple(args
,"sl:wxWindow_FindWindowById",&_argc0
,&_arg1
))
487 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
493 wxPy_BEGIN_ALLOW_THREADS
;
494 _result
= (wxWindow
*)wxWindow_FindWindowById(_arg0
,_arg1
);
496 wxPy_END_ALLOW_THREADS
;
497 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
498 _resultobj
= Py_BuildValue("s",_ptemp
);
502 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
503 static PyObject
*_wrap_wxWindow_FindWindowByName(PyObject
*self
, PyObject
*args
) {
504 PyObject
* _resultobj
;
509 PyObject
* _obj1
= 0;
513 if(!PyArg_ParseTuple(args
,"sO:wxWindow_FindWindowByName",&_argc0
,&_obj1
))
516 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
522 if (!PyString_Check(_obj1
)) {
523 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
526 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
529 wxPy_BEGIN_ALLOW_THREADS
;
530 _result
= (wxWindow
*)wxWindow_FindWindowByName(_arg0
,*_arg1
);
532 wxPy_END_ALLOW_THREADS
;
533 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
534 _resultobj
= Py_BuildValue("s",_ptemp
);
542 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
543 static PyObject
*_wrap_wxWindow_Fit(PyObject
*self
, PyObject
*args
) {
544 PyObject
* _resultobj
;
549 if(!PyArg_ParseTuple(args
,"s:wxWindow_Fit",&_argc0
))
552 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
558 wxPy_BEGIN_ALLOW_THREADS
;
561 wxPy_END_ALLOW_THREADS
;
562 } Py_INCREF(Py_None
);
563 _resultobj
= Py_None
;
567 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
568 static PyObject
*_wrap_wxWindow_GetBackgroundColour(PyObject
*self
, PyObject
*args
) {
569 PyObject
* _resultobj
;
576 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetBackgroundColour",&_argc0
))
579 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
585 wxPy_BEGIN_ALLOW_THREADS
;
586 _result
= new wxColour (wxWindow_GetBackgroundColour(_arg0
));
588 wxPy_END_ALLOW_THREADS
;
589 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
590 _resultobj
= Py_BuildValue("s",_ptemp
);
594 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
595 static PyObject
*_wrap_wxWindow_GetCharHeight(PyObject
*self
, PyObject
*args
) {
596 PyObject
* _resultobj
;
602 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetCharHeight",&_argc0
))
605 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
611 wxPy_BEGIN_ALLOW_THREADS
;
612 _result
= (int )wxWindow_GetCharHeight(_arg0
);
614 wxPy_END_ALLOW_THREADS
;
615 } _resultobj
= Py_BuildValue("i",_result
);
619 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
620 static PyObject
*_wrap_wxWindow_GetCharWidth(PyObject
*self
, PyObject
*args
) {
621 PyObject
* _resultobj
;
627 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetCharWidth",&_argc0
))
630 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
636 wxPy_BEGIN_ALLOW_THREADS
;
637 _result
= (int )wxWindow_GetCharWidth(_arg0
);
639 wxPy_END_ALLOW_THREADS
;
640 } _resultobj
= Py_BuildValue("i",_result
);
644 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
645 static PyObject
*_wrap_wxWindow_GetClientSizeTuple(PyObject
*self
, PyObject
*args
) {
646 PyObject
* _resultobj
;
661 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetClientSizeTuple",&_argc0
))
664 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
670 wxPy_BEGIN_ALLOW_THREADS
;
671 wxWindow_GetClientSizeTuple(_arg0
,_arg1
,_arg2
);
673 wxPy_END_ALLOW_THREADS
;
674 } Py_INCREF(Py_None
);
675 _resultobj
= Py_None
;
678 o
= PyInt_FromLong((long) (*_arg1
));
679 _resultobj
= t_output_helper(_resultobj
, o
);
683 o
= PyInt_FromLong((long) (*_arg2
));
684 _resultobj
= t_output_helper(_resultobj
, o
);
689 #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
690 static PyObject
*_wrap_wxWindow_GetClientSize(PyObject
*self
, PyObject
*args
) {
691 PyObject
* _resultobj
;
698 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetClientSize",&_argc0
))
701 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
707 wxPy_BEGIN_ALLOW_THREADS
;
708 _result
= new wxSize (wxWindow_GetClientSize(_arg0
));
710 wxPy_END_ALLOW_THREADS
;
711 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
712 _resultobj
= Py_BuildValue("s",_ptemp
);
716 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
717 static PyObject
*_wrap_wxWindow_GetConstraints(PyObject
*self
, PyObject
*args
) {
718 PyObject
* _resultobj
;
719 wxLayoutConstraints
* _result
;
725 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetConstraints",&_argc0
))
728 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
734 wxPy_BEGIN_ALLOW_THREADS
;
735 _result
= (wxLayoutConstraints
*)wxWindow_GetConstraints(_arg0
);
737 wxPy_END_ALLOW_THREADS
;
738 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
739 _resultobj
= Py_BuildValue("s",_ptemp
);
743 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
744 static PyObject
*_wrap_wxWindow_GetFont(PyObject
*self
, PyObject
*args
) {
745 PyObject
* _resultobj
;
752 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetFont",&_argc0
))
755 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
761 wxPy_BEGIN_ALLOW_THREADS
;
762 wxFont
& _result_ref
= wxWindow_GetFont(_arg0
);
763 _result
= (wxFont
*) &_result_ref
;
765 wxPy_END_ALLOW_THREADS
;
766 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
767 _resultobj
= Py_BuildValue("s",_ptemp
);
771 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
772 static PyObject
*_wrap_wxWindow_GetForegroundColour(PyObject
*self
, PyObject
*args
) {
773 PyObject
* _resultobj
;
780 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetForegroundColour",&_argc0
))
783 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
789 wxPy_BEGIN_ALLOW_THREADS
;
790 _result
= new wxColour (wxWindow_GetForegroundColour(_arg0
));
792 wxPy_END_ALLOW_THREADS
;
793 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
794 _resultobj
= Py_BuildValue("s",_ptemp
);
798 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
799 static PyObject
*_wrap_wxWindow_GetGrandParent(PyObject
*self
, PyObject
*args
) {
800 PyObject
* _resultobj
;
807 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetGrandParent",&_argc0
))
810 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
816 wxPy_BEGIN_ALLOW_THREADS
;
817 _result
= (wxWindow
*)wxWindow_GetGrandParent(_arg0
);
819 wxPy_END_ALLOW_THREADS
;
820 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
821 _resultobj
= Py_BuildValue("s",_ptemp
);
825 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
826 static PyObject
*_wrap_wxWindow_GetId(PyObject
*self
, PyObject
*args
) {
827 PyObject
* _resultobj
;
833 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetId",&_argc0
))
836 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
842 wxPy_BEGIN_ALLOW_THREADS
;
843 _result
= (int )wxWindow_GetId(_arg0
);
845 wxPy_END_ALLOW_THREADS
;
846 } _resultobj
= Py_BuildValue("i",_result
);
850 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
851 static PyObject
*_wrap_wxWindow_GetLabel(PyObject
*self
, PyObject
*args
) {
852 PyObject
* _resultobj
;
858 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetLabel",&_argc0
))
861 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
867 wxPy_BEGIN_ALLOW_THREADS
;
868 _result
= new wxString (wxWindow_GetLabel(_arg0
));
870 wxPy_END_ALLOW_THREADS
;
872 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
880 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
881 static PyObject
*_wrap_wxWindow_GetName(PyObject
*self
, PyObject
*args
) {
882 PyObject
* _resultobj
;
888 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetName",&_argc0
))
891 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
897 wxPy_BEGIN_ALLOW_THREADS
;
898 _result
= new wxString (wxWindow_GetName(_arg0
));
900 wxPy_END_ALLOW_THREADS
;
902 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
910 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
911 static PyObject
*_wrap_wxWindow_GetParent(PyObject
*self
, PyObject
*args
) {
912 PyObject
* _resultobj
;
919 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetParent",&_argc0
))
922 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
928 wxPy_BEGIN_ALLOW_THREADS
;
929 _result
= (wxWindow
*)wxWindow_GetParent(_arg0
);
931 wxPy_END_ALLOW_THREADS
;
932 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
933 _resultobj
= Py_BuildValue("s",_ptemp
);
937 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
938 static PyObject
*_wrap_wxWindow_GetPositionTuple(PyObject
*self
, PyObject
*args
) {
939 PyObject
* _resultobj
;
954 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetPositionTuple",&_argc0
))
957 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
963 wxPy_BEGIN_ALLOW_THREADS
;
964 wxWindow_GetPositionTuple(_arg0
,_arg1
,_arg2
);
966 wxPy_END_ALLOW_THREADS
;
967 } Py_INCREF(Py_None
);
968 _resultobj
= Py_None
;
971 o
= PyInt_FromLong((long) (*_arg1
));
972 _resultobj
= t_output_helper(_resultobj
, o
);
976 o
= PyInt_FromLong((long) (*_arg2
));
977 _resultobj
= t_output_helper(_resultobj
, o
);
982 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
983 static PyObject
*_wrap_wxWindow_GetPosition(PyObject
*self
, PyObject
*args
) {
984 PyObject
* _resultobj
;
991 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetPosition",&_argc0
))
994 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
1000 wxPy_BEGIN_ALLOW_THREADS
;
1001 _result
= new wxPoint (wxWindow_GetPosition(_arg0
));
1003 wxPy_END_ALLOW_THREADS
;
1004 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1005 _resultobj
= Py_BuildValue("s",_ptemp
);
1009 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
1010 static PyObject
*_wrap_wxWindow_GetRect(PyObject
*self
, PyObject
*args
) {
1011 PyObject
* _resultobj
;
1018 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetRect",&_argc0
))
1021 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
1027 wxPy_BEGIN_ALLOW_THREADS
;
1028 _result
= new wxRect (wxWindow_GetRect(_arg0
));
1030 wxPy_END_ALLOW_THREADS
;
1031 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1032 _resultobj
= Py_BuildValue("s",_ptemp
);
1036 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
1037 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*self
, PyObject
*args
) {
1038 PyObject
* _resultobj
;
1045 if(!PyArg_ParseTuple(args
,"si:wxWindow_GetScrollThumb",&_argc0
,&_arg1
))
1048 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
1054 wxPy_BEGIN_ALLOW_THREADS
;
1055 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
1057 wxPy_END_ALLOW_THREADS
;
1058 } _resultobj
= Py_BuildValue("i",_result
);
1062 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
1063 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
) {
1064 PyObject
* _resultobj
;
1071 if(!PyArg_ParseTuple(args
,"si:wxWindow_GetScrollPos",&_argc0
,&_arg1
))
1074 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
1080 wxPy_BEGIN_ALLOW_THREADS
;
1081 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
1083 wxPy_END_ALLOW_THREADS
;
1084 } _resultobj
= Py_BuildValue("i",_result
);
1088 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
1089 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*self
, PyObject
*args
) {
1090 PyObject
* _resultobj
;
1097 if(!PyArg_ParseTuple(args
,"si:wxWindow_GetScrollRange",&_argc0
,&_arg1
))
1100 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
1106 wxPy_BEGIN_ALLOW_THREADS
;
1107 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
1109 wxPy_END_ALLOW_THREADS
;
1110 } _resultobj
= Py_BuildValue("i",_result
);
1114 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
1115 static PyObject
*_wrap_wxWindow_GetSizeTuple(PyObject
*self
, PyObject
*args
) {
1116 PyObject
* _resultobj
;
1131 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetSizeTuple",&_argc0
))
1134 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
1140 wxPy_BEGIN_ALLOW_THREADS
;
1141 wxWindow_GetSizeTuple(_arg0
,_arg1
,_arg2
);
1143 wxPy_END_ALLOW_THREADS
;
1144 } Py_INCREF(Py_None
);
1145 _resultobj
= Py_None
;
1148 o
= PyInt_FromLong((long) (*_arg1
));
1149 _resultobj
= t_output_helper(_resultobj
, o
);
1153 o
= PyInt_FromLong((long) (*_arg2
));
1154 _resultobj
= t_output_helper(_resultobj
, o
);
1159 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
1160 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*self
, PyObject
*args
) {
1161 PyObject
* _resultobj
;
1168 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetSize",&_argc0
))
1171 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
1177 wxPy_BEGIN_ALLOW_THREADS
;
1178 _result
= new wxSize (wxWindow_GetSize(_arg0
));
1180 wxPy_END_ALLOW_THREADS
;
1181 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1182 _resultobj
= Py_BuildValue("s",_ptemp
);
1186 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
1187 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
) {
1188 PyObject
* _resultobj
;
1196 PyObject
* _obj1
= 0;
1205 if(!PyArg_ParseTuple(args
,"sO:wxWindow_GetTextExtent",&_argc0
,&_obj1
))
1208 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
1214 if (!PyString_Check(_obj1
)) {
1215 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1218 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1221 wxPy_BEGIN_ALLOW_THREADS
;
1222 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
1224 wxPy_END_ALLOW_THREADS
;
1225 } Py_INCREF(Py_None
);
1226 _resultobj
= Py_None
;
1229 o
= PyInt_FromLong((long) (*_arg2
));
1230 _resultobj
= t_output_helper(_resultobj
, o
);
1234 o
= PyInt_FromLong((long) (*_arg3
));
1235 _resultobj
= t_output_helper(_resultobj
, o
);
1244 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1245 static PyObject
*_wrap_wxWindow_GetFullTextExtent(PyObject
*self
, PyObject
*args
) {
1246 PyObject
* _resultobj
;
1257 wxFont
* _arg6
= NULL
;
1259 PyObject
* _obj1
= 0;
1275 if(!PyArg_ParseTuple(args
,"sO|s:wxWindow_GetFullTextExtent",&_argc0
,&_obj1
,&_argc6
))
1278 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
1284 if (!PyString_Check(_obj1
)) {
1285 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1288 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1291 if (SWIG_GetPtr(_argc6
,(void **) &_arg6
,"_wxFont_p")) {
1292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
1297 wxPy_BEGIN_ALLOW_THREADS
;
1298 wxWindow_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1300 wxPy_END_ALLOW_THREADS
;
1301 } Py_INCREF(Py_None
);
1302 _resultobj
= Py_None
;
1305 o
= PyInt_FromLong((long) (*_arg2
));
1306 _resultobj
= t_output_helper(_resultobj
, o
);
1310 o
= PyInt_FromLong((long) (*_arg3
));
1311 _resultobj
= t_output_helper(_resultobj
, o
);
1315 o
= PyInt_FromLong((long) (*_arg4
));
1316 _resultobj
= t_output_helper(_resultobj
, o
);
1320 o
= PyInt_FromLong((long) (*_arg5
));
1321 _resultobj
= t_output_helper(_resultobj
, o
);
1330 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
1331 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
) {
1332 PyObject
* _resultobj
;
1338 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetTitle",&_argc0
))
1341 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
1347 wxPy_BEGIN_ALLOW_THREADS
;
1348 _result
= new wxString (wxWindow_GetTitle(_arg0
));
1350 wxPy_END_ALLOW_THREADS
;
1352 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1360 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
1361 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
) {
1362 PyObject
* _resultobj
;
1368 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetWindowStyleFlag",&_argc0
))
1371 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
1377 wxPy_BEGIN_ALLOW_THREADS
;
1378 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
1380 wxPy_END_ALLOW_THREADS
;
1381 } _resultobj
= Py_BuildValue("l",_result
);
1385 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
1386 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
) {
1387 PyObject
* _resultobj
;
1392 if(!PyArg_ParseTuple(args
,"s:wxWindow_InitDialog",&_argc0
))
1395 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
1401 wxPy_BEGIN_ALLOW_THREADS
;
1402 wxWindow_InitDialog(_arg0
);
1404 wxPy_END_ALLOW_THREADS
;
1405 } Py_INCREF(Py_None
);
1406 _resultobj
= Py_None
;
1410 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
1411 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
) {
1412 PyObject
* _resultobj
;
1418 if(!PyArg_ParseTuple(args
,"s:wxWindow_IsEnabled",&_argc0
))
1421 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
1427 wxPy_BEGIN_ALLOW_THREADS
;
1428 _result
= (bool )wxWindow_IsEnabled(_arg0
);
1430 wxPy_END_ALLOW_THREADS
;
1431 } _resultobj
= Py_BuildValue("i",_result
);
1435 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
1436 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
) {
1437 PyObject
* _resultobj
;
1443 if(!PyArg_ParseTuple(args
,"s:wxWindow_IsRetained",&_argc0
))
1446 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
1452 wxPy_BEGIN_ALLOW_THREADS
;
1453 _result
= (bool )wxWindow_IsRetained(_arg0
);
1455 wxPy_END_ALLOW_THREADS
;
1456 } _resultobj
= Py_BuildValue("i",_result
);
1460 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
1461 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
) {
1462 PyObject
* _resultobj
;
1468 if(!PyArg_ParseTuple(args
,"s:wxWindow_IsShown",&_argc0
))
1471 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
1477 wxPy_BEGIN_ALLOW_THREADS
;
1478 _result
= (bool )wxWindow_IsShown(_arg0
);
1480 wxPy_END_ALLOW_THREADS
;
1481 } _resultobj
= Py_BuildValue("i",_result
);
1485 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
1486 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
) {
1487 PyObject
* _resultobj
;
1492 if(!PyArg_ParseTuple(args
,"s:wxWindow_Layout",&_argc0
))
1495 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
1501 wxPy_BEGIN_ALLOW_THREADS
;
1502 wxWindow_Layout(_arg0
);
1504 wxPy_END_ALLOW_THREADS
;
1505 } Py_INCREF(Py_None
);
1506 _resultobj
= Py_None
;
1510 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
1511 static PyObject
*_wrap_wxWindow_LoadFromResource(PyObject
*self
, PyObject
*args
) {
1512 PyObject
* _resultobj
;
1517 wxResourceTable
* _arg3
= NULL
;
1520 PyObject
* _obj2
= 0;
1524 if(!PyArg_ParseTuple(args
,"ssO|s:wxWindow_LoadFromResource",&_argc0
,&_argc1
,&_obj2
,&_argc3
))
1527 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
1533 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
1534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
1539 if (!PyString_Check(_obj2
)) {
1540 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1543 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
1546 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxResourceTable_p")) {
1547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
1552 wxPy_BEGIN_ALLOW_THREADS
;
1553 _result
= (bool )wxWindow_LoadFromResource(_arg0
,_arg1
,*_arg2
,_arg3
);
1555 wxPy_END_ALLOW_THREADS
;
1556 } _resultobj
= Py_BuildValue("i",_result
);
1564 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
1565 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
) {
1566 PyObject
* _resultobj
;
1571 if(!PyArg_ParseTuple(args
,"s:wxWindow_Lower",&_argc0
))
1574 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
1580 wxPy_BEGIN_ALLOW_THREADS
;
1581 wxWindow_Lower(_arg0
);
1583 wxPy_END_ALLOW_THREADS
;
1584 } Py_INCREF(Py_None
);
1585 _resultobj
= Py_None
;
1589 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
1590 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
) {
1591 PyObject
* _resultobj
;
1598 if(!PyArg_ParseTuple(args
,"si:wxWindow_MakeModal",&_argc0
,&tempbool1
))
1601 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
1606 _arg1
= (bool ) tempbool1
;
1608 wxPy_BEGIN_ALLOW_THREADS
;
1609 wxWindow_MakeModal(_arg0
,_arg1
);
1611 wxPy_END_ALLOW_THREADS
;
1612 } Py_INCREF(Py_None
);
1613 _resultobj
= Py_None
;
1617 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
1618 static PyObject
*_wrap_wxWindow_MoveXY(PyObject
*self
, PyObject
*args
) {
1619 PyObject
* _resultobj
;
1626 if(!PyArg_ParseTuple(args
,"sii:wxWindow_MoveXY",&_argc0
,&_arg1
,&_arg2
))
1629 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
1635 wxPy_BEGIN_ALLOW_THREADS
;
1636 wxWindow_MoveXY(_arg0
,_arg1
,_arg2
);
1638 wxPy_END_ALLOW_THREADS
;
1639 } Py_INCREF(Py_None
);
1640 _resultobj
= Py_None
;
1644 #define wxWindow_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
1645 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
) {
1646 PyObject
* _resultobj
;
1653 if(!PyArg_ParseTuple(args
,"ss:wxWindow_Move",&_argc0
,&_argc1
))
1656 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
1662 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
1663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Move. Expected _wxPoint_p.");
1668 wxPy_BEGIN_ALLOW_THREADS
;
1669 wxWindow_Move(_arg0
,*_arg1
);
1671 wxPy_END_ALLOW_THREADS
;
1672 } Py_INCREF(Py_None
);
1673 _resultobj
= Py_None
;
1677 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
1678 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
) {
1679 PyObject
* _resultobj
;
1689 if(!PyArg_ParseTuple(args
,"ssii:wxWindow_PopupMenu",&_argc0
,&_argc1
,&_arg2
,&_arg3
))
1692 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
1698 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxMenu_p")) {
1699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
1704 wxPy_BEGIN_ALLOW_THREADS
;
1705 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,_arg2
,_arg3
);
1707 wxPy_END_ALLOW_THREADS
;
1708 } _resultobj
= Py_BuildValue("i",_result
);
1712 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
1713 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
) {
1714 PyObject
* _resultobj
;
1719 if(!PyArg_ParseTuple(args
,"s:wxWindow_Raise",&_argc0
))
1722 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
1728 wxPy_BEGIN_ALLOW_THREADS
;
1729 wxWindow_Raise(_arg0
);
1731 wxPy_END_ALLOW_THREADS
;
1732 } Py_INCREF(Py_None
);
1733 _resultobj
= Py_None
;
1737 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
1738 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
) {
1739 PyObject
* _resultobj
;
1742 wxRect
* _arg2
= NULL
;
1748 if(!PyArg_ParseTuple(args
,"s|is:wxWindow_Refresh",&_argc0
,&tempbool1
,&_argc2
))
1751 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
1756 _arg1
= (bool ) tempbool1
;
1758 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxRect_p")) {
1759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxWindow_Refresh. Expected _wxRect_p.");
1764 wxPy_BEGIN_ALLOW_THREADS
;
1765 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
1767 wxPy_END_ALLOW_THREADS
;
1768 } Py_INCREF(Py_None
);
1769 _resultobj
= Py_None
;
1773 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
1774 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
) {
1775 PyObject
* _resultobj
;
1780 if(!PyArg_ParseTuple(args
,"s:wxWindow_ReleaseMouse",&_argc0
))
1783 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
1789 wxPy_BEGIN_ALLOW_THREADS
;
1790 wxWindow_ReleaseMouse(_arg0
);
1792 wxPy_END_ALLOW_THREADS
;
1793 } Py_INCREF(Py_None
);
1794 _resultobj
= Py_None
;
1798 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
1799 static PyObject
*_wrap_wxWindow_ScreenToClientXY(PyObject
*self
, PyObject
*args
) {
1800 PyObject
* _resultobj
;
1806 PyObject
* _obj1
= 0;
1808 PyObject
* _obj2
= 0;
1811 if(!PyArg_ParseTuple(args
,"sOO:wxWindow_ScreenToClientXY",&_argc0
,&_obj1
,&_obj2
))
1814 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
1820 temp
= (int) PyInt_AsLong(_obj1
);
1824 temp0
= (int) PyInt_AsLong(_obj2
);
1828 wxPy_BEGIN_ALLOW_THREADS
;
1829 wxWindow_ScreenToClientXY(_arg0
,_arg1
,_arg2
);
1831 wxPy_END_ALLOW_THREADS
;
1832 } Py_INCREF(Py_None
);
1833 _resultobj
= Py_None
;
1836 o
= PyInt_FromLong((long) (*_arg1
));
1837 _resultobj
= t_output_helper(_resultobj
, o
);
1841 o
= PyInt_FromLong((long) (*_arg2
));
1842 _resultobj
= t_output_helper(_resultobj
, o
);
1847 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
1848 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
) {
1849 PyObject
* _resultobj
;
1853 wxRect
* _arg3
= NULL
;
1858 if(!PyArg_ParseTuple(args
,"sii|s:wxWindow_ScrollWindow",&_argc0
,&_arg1
,&_arg2
,&_argc3
))
1861 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
1867 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxRect_p")) {
1868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_ScrollWindow. Expected _wxRect_p.");
1873 wxPy_BEGIN_ALLOW_THREADS
;
1874 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
1876 wxPy_END_ALLOW_THREADS
;
1877 } Py_INCREF(Py_None
);
1878 _resultobj
= Py_None
;
1882 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
1883 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
) {
1884 PyObject
* _resultobj
;
1886 wxAcceleratorTable
* _arg1
;
1891 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetAcceleratorTable",&_argc0
,&_argc1
))
1894 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
1900 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
1901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
1906 wxPy_BEGIN_ALLOW_THREADS
;
1907 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
1909 wxPy_END_ALLOW_THREADS
;
1910 } Py_INCREF(Py_None
);
1911 _resultobj
= Py_None
;
1915 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
1916 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
) {
1917 PyObject
* _resultobj
;
1924 if(!PyArg_ParseTuple(args
,"si:wxWindow_SetAutoLayout",&_argc0
,&tempbool1
))
1927 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
1932 _arg1
= (bool ) tempbool1
;
1934 wxPy_BEGIN_ALLOW_THREADS
;
1935 wxWindow_SetAutoLayout(_arg0
,_arg1
);
1937 wxPy_END_ALLOW_THREADS
;
1938 } Py_INCREF(Py_None
);
1939 _resultobj
= Py_None
;
1943 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1944 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
) {
1945 PyObject
* _resultobj
;
1952 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetBackgroundColour",&_argc0
,&_argc1
))
1955 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
1961 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
1962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetBackgroundColour. Expected _wxColour_p.");
1967 wxPy_BEGIN_ALLOW_THREADS
;
1968 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
1970 wxPy_END_ALLOW_THREADS
;
1971 } Py_INCREF(Py_None
);
1972 _resultobj
= Py_None
;
1976 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
1977 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
) {
1978 PyObject
* _resultobj
;
1980 wxLayoutConstraints
* _arg1
;
1985 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetConstraints",&_argc0
,&_argc1
))
1988 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
1994 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
1995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
2000 wxPy_BEGIN_ALLOW_THREADS
;
2001 wxWindow_SetConstraints(_arg0
,_arg1
);
2003 wxPy_END_ALLOW_THREADS
;
2004 } Py_INCREF(Py_None
);
2005 _resultobj
= Py_None
;
2009 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
2010 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
) {
2011 PyObject
* _resultobj
;
2016 if(!PyArg_ParseTuple(args
,"s:wxWindow_SetFocus",&_argc0
))
2019 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
2025 wxPy_BEGIN_ALLOW_THREADS
;
2026 wxWindow_SetFocus(_arg0
);
2028 wxPy_END_ALLOW_THREADS
;
2029 } Py_INCREF(Py_None
);
2030 _resultobj
= Py_None
;
2034 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
2035 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
) {
2036 PyObject
* _resultobj
;
2043 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetFont",&_argc0
,&_argc1
))
2046 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
2052 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxFont_p")) {
2053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
2058 wxPy_BEGIN_ALLOW_THREADS
;
2059 wxWindow_SetFont(_arg0
,*_arg1
);
2061 wxPy_END_ALLOW_THREADS
;
2062 } Py_INCREF(Py_None
);
2063 _resultobj
= Py_None
;
2067 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
2068 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
) {
2069 PyObject
* _resultobj
;
2076 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetForegroundColour",&_argc0
,&_argc1
))
2079 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
2085 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
2086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetForegroundColour. Expected _wxColour_p.");
2091 wxPy_BEGIN_ALLOW_THREADS
;
2092 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
2094 wxPy_END_ALLOW_THREADS
;
2095 } Py_INCREF(Py_None
);
2096 _resultobj
= Py_None
;
2100 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
2101 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
) {
2102 PyObject
* _resultobj
;
2108 if(!PyArg_ParseTuple(args
,"si:wxWindow_SetId",&_argc0
,&_arg1
))
2111 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
2117 wxPy_BEGIN_ALLOW_THREADS
;
2118 wxWindow_SetId(_arg0
,_arg1
);
2120 wxPy_END_ALLOW_THREADS
;
2121 } Py_INCREF(Py_None
);
2122 _resultobj
= Py_None
;
2126 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
2127 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
) {
2128 PyObject
* _resultobj
;
2132 PyObject
* _obj1
= 0;
2135 if(!PyArg_ParseTuple(args
,"sO:wxWindow_SetName",&_argc0
,&_obj1
))
2138 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
2144 if (!PyString_Check(_obj1
)) {
2145 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2148 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2151 wxPy_BEGIN_ALLOW_THREADS
;
2152 wxWindow_SetName(_arg0
,*_arg1
);
2154 wxPy_END_ALLOW_THREADS
;
2155 } Py_INCREF(Py_None
);
2156 _resultobj
= Py_None
;
2164 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2165 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
) {
2166 PyObject
* _resultobj
;
2177 if(!PyArg_ParseTuple(args
,"siiii|i:wxWindow_SetScrollbar",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
2180 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
2185 _arg5
= (bool ) tempbool5
;
2187 wxPy_BEGIN_ALLOW_THREADS
;
2188 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2190 wxPy_END_ALLOW_THREADS
;
2191 } Py_INCREF(Py_None
);
2192 _resultobj
= Py_None
;
2196 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
2197 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
) {
2198 PyObject
* _resultobj
;
2207 if(!PyArg_ParseTuple(args
,"sii|i:wxWindow_SetScrollPos",&_argc0
,&_arg1
,&_arg2
,&tempbool3
))
2210 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
2215 _arg3
= (bool ) tempbool3
;
2217 wxPy_BEGIN_ALLOW_THREADS
;
2218 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
2220 wxPy_END_ALLOW_THREADS
;
2221 } Py_INCREF(Py_None
);
2222 _resultobj
= Py_None
;
2226 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2227 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
) {
2228 PyObject
* _resultobj
;
2234 int _arg5
= (wxSIZE_AUTO
);
2238 if(!PyArg_ParseTuple(args
,"siiii|i:wxWindow_SetDimensions",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2241 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
2247 wxPy_BEGIN_ALLOW_THREADS
;
2248 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2250 wxPy_END_ALLOW_THREADS
;
2251 } Py_INCREF(Py_None
);
2252 _resultobj
= Py_None
;
2256 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
2257 self
->SetSize(size
.x
, size
.y
);
2259 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
) {
2260 PyObject
* _resultobj
;
2267 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetSize",&_argc0
,&_argc1
))
2270 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
2276 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
2277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSize. Expected _wxSize_p.");
2282 wxPy_BEGIN_ALLOW_THREADS
;
2283 wxWindow_SetSize(_arg0
,*_arg1
);
2285 wxPy_END_ALLOW_THREADS
;
2286 } Py_INCREF(Py_None
);
2287 _resultobj
= Py_None
;
2291 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
) {
2292 self
->SetSize(pos
.x
, pos
.y
, -1, -1);
2294 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
) {
2295 PyObject
* _resultobj
;
2302 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetPosition",&_argc0
,&_argc1
))
2305 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
2311 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
2312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetPosition. Expected _wxPoint_p.");
2317 wxPy_BEGIN_ALLOW_THREADS
;
2318 wxWindow_SetPosition(_arg0
,*_arg1
);
2320 wxPy_END_ALLOW_THREADS
;
2321 } Py_INCREF(Py_None
);
2322 _resultobj
= Py_None
;
2326 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2327 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
) {
2328 PyObject
* _resultobj
;
2339 if(!PyArg_ParseTuple(args
,"s|iiiiii:wxWindow_SetSizeHints",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
2342 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
2348 wxPy_BEGIN_ALLOW_THREADS
;
2349 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2351 wxPy_END_ALLOW_THREADS
;
2352 } Py_INCREF(Py_None
);
2353 _resultobj
= Py_None
;
2357 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
2358 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
) {
2359 PyObject
* _resultobj
;
2366 if(!PyArg_ParseTuple(args
,"sii:wxWindow_SetClientSizeWH",&_argc0
,&_arg1
,&_arg2
))
2369 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
2375 wxPy_BEGIN_ALLOW_THREADS
;
2376 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
2378 wxPy_END_ALLOW_THREADS
;
2379 } Py_INCREF(Py_None
);
2380 _resultobj
= Py_None
;
2384 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
2385 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
) {
2386 PyObject
* _resultobj
;
2393 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetClientSize",&_argc0
,&_argc1
))
2396 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
2402 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
2403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetClientSize. Expected _wxSize_p.");
2408 wxPy_BEGIN_ALLOW_THREADS
;
2409 wxWindow_SetClientSize(_arg0
,*_arg1
);
2411 wxPy_END_ALLOW_THREADS
;
2412 } Py_INCREF(Py_None
);
2413 _resultobj
= Py_None
;
2417 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
2418 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
) {
2419 PyObject
* _resultobj
;
2426 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetCursor",&_argc0
,&_argc1
))
2429 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
2435 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxCursor_p")) {
2436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
2441 wxPy_BEGIN_ALLOW_THREADS
;
2442 wxWindow_SetCursor(_arg0
,*_arg1
);
2444 wxPy_END_ALLOW_THREADS
;
2445 } Py_INCREF(Py_None
);
2446 _resultobj
= Py_None
;
2450 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
2451 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
) {
2452 PyObject
* _resultobj
;
2456 PyObject
* _obj1
= 0;
2459 if(!PyArg_ParseTuple(args
,"sO:wxWindow_SetTitle",&_argc0
,&_obj1
))
2462 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
2468 if (!PyString_Check(_obj1
)) {
2469 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2472 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2475 wxPy_BEGIN_ALLOW_THREADS
;
2476 wxWindow_SetTitle(_arg0
,*_arg1
);
2478 wxPy_END_ALLOW_THREADS
;
2479 } Py_INCREF(Py_None
);
2480 _resultobj
= Py_None
;
2488 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
2489 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
) {
2490 PyObject
* _resultobj
;
2498 if(!PyArg_ParseTuple(args
,"si:wxWindow_Show",&_argc0
,&tempbool1
))
2501 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
2506 _arg1
= (bool ) tempbool1
;
2508 wxPy_BEGIN_ALLOW_THREADS
;
2509 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
2511 wxPy_END_ALLOW_THREADS
;
2512 } _resultobj
= Py_BuildValue("i",_result
);
2516 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
2517 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
) {
2518 PyObject
* _resultobj
;
2524 if(!PyArg_ParseTuple(args
,"s:wxWindow_TransferDataFromWindow",&_argc0
))
2527 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
2533 wxPy_BEGIN_ALLOW_THREADS
;
2534 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
2536 wxPy_END_ALLOW_THREADS
;
2537 } _resultobj
= Py_BuildValue("i",_result
);
2541 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
2542 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
) {
2543 PyObject
* _resultobj
;
2549 if(!PyArg_ParseTuple(args
,"s:wxWindow_TransferDataToWindow",&_argc0
))
2552 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
2558 wxPy_BEGIN_ALLOW_THREADS
;
2559 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
2561 wxPy_END_ALLOW_THREADS
;
2562 } _resultobj
= Py_BuildValue("i",_result
);
2566 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
2567 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
) {
2568 PyObject
* _resultobj
;
2574 if(!PyArg_ParseTuple(args
,"s:wxWindow_Validate",&_argc0
))
2577 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
2583 wxPy_BEGIN_ALLOW_THREADS
;
2584 _result
= (bool )wxWindow_Validate(_arg0
);
2586 wxPy_END_ALLOW_THREADS
;
2587 } _resultobj
= Py_BuildValue("i",_result
);
2591 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
2592 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
) {
2593 PyObject
* _resultobj
;
2600 if(!PyArg_ParseTuple(args
,"sii:wxWindow_WarpPointer",&_argc0
,&_arg1
,&_arg2
))
2603 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
2609 wxPy_BEGIN_ALLOW_THREADS
;
2610 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
2612 wxPy_END_ALLOW_THREADS
;
2613 } Py_INCREF(Py_None
);
2614 _resultobj
= Py_None
;
2618 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
2619 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
) {
2620 PyObject
* _resultobj
;
2629 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ConvertDialogPointToPixels",&_argc0
,&_argc1
))
2632 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
2638 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
2639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertDialogPointToPixels. Expected _wxPoint_p.");
2644 wxPy_BEGIN_ALLOW_THREADS
;
2645 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
2647 wxPy_END_ALLOW_THREADS
;
2648 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2649 _resultobj
= Py_BuildValue("s",_ptemp
);
2653 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
2654 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
) {
2655 PyObject
* _resultobj
;
2664 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ConvertDialogSizeToPixels",&_argc0
,&_argc1
))
2667 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
2673 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
2674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertDialogSizeToPixels. Expected _wxSize_p.");
2679 wxPy_BEGIN_ALLOW_THREADS
;
2680 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
2682 wxPy_END_ALLOW_THREADS
;
2683 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2684 _resultobj
= Py_BuildValue("s",_ptemp
);
2688 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
2689 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
) {
2690 PyObject
* _resultobj
;
2699 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ConvertPixelPointToDialog",&_argc0
,&_argc1
))
2702 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
2708 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
2709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertPixelPointToDialog. Expected _wxPoint_p.");
2714 wxPy_BEGIN_ALLOW_THREADS
;
2715 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
2717 wxPy_END_ALLOW_THREADS
;
2718 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2719 _resultobj
= Py_BuildValue("s",_ptemp
);
2723 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
2724 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
) {
2725 PyObject
* _resultobj
;
2734 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ConvertPixelSizeToDialog",&_argc0
,&_argc1
))
2737 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
2743 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
2744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertPixelSizeToDialog. Expected _wxSize_p.");
2749 wxPy_BEGIN_ALLOW_THREADS
;
2750 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
2752 wxPy_END_ALLOW_THREADS
;
2753 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2754 _resultobj
= Py_BuildValue("s",_ptemp
);
2758 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
2759 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
) {
2760 PyObject
* _resultobj
;
2764 PyObject
* _obj1
= 0;
2767 if(!PyArg_ParseTuple(args
,"sO:wxWindow_SetToolTipString",&_argc0
,&_obj1
))
2770 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
2776 if (!PyString_Check(_obj1
)) {
2777 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2780 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2783 wxPy_BEGIN_ALLOW_THREADS
;
2784 wxWindow_SetToolTipString(_arg0
,*_arg1
);
2786 wxPy_END_ALLOW_THREADS
;
2787 } Py_INCREF(Py_None
);
2788 _resultobj
= Py_None
;
2796 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
2797 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
) {
2798 PyObject
* _resultobj
;
2805 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetToolTip",&_argc0
,&_argc1
))
2808 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
2814 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxToolTip_p")) {
2815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
2820 wxPy_BEGIN_ALLOW_THREADS
;
2821 wxWindow_SetToolTip(_arg0
,_arg1
);
2823 wxPy_END_ALLOW_THREADS
;
2824 } Py_INCREF(Py_None
);
2825 _resultobj
= Py_None
;
2829 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
2830 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
) {
2831 PyObject
* _resultobj
;
2832 wxToolTip
* _result
;
2838 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetToolTip",&_argc0
))
2841 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
2847 wxPy_BEGIN_ALLOW_THREADS
;
2848 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
2850 wxPy_END_ALLOW_THREADS
;
2851 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
2852 _resultobj
= Py_BuildValue("s",_ptemp
);
2856 static void *SwigwxPanelTowxWindow(void *ptr
) {
2859 src
= (wxPanel
*) ptr
;
2860 dest
= (wxWindow
*) src
;
2861 return (void *) dest
;
2864 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
2867 src
= (wxPanel
*) ptr
;
2868 dest
= (wxEvtHandler
*) src
;
2869 return (void *) dest
;
2872 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2873 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
) {
2874 PyObject
* _resultobj
;
2878 wxPoint
* _arg2
= &wxPyDefaultPosition
;
2879 wxSize
* _arg3
= &wxPyDefaultSize
;
2880 long _arg4
= (wxTAB_TRAVERSAL
);
2881 char * _arg5
= "panel";
2888 if(!PyArg_ParseTuple(args
,"si|ssls:new_wxPanel",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
2891 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
2897 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
2898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPanel. Expected _wxPoint_p.");
2903 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
2904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxPanel. Expected _wxSize_p.");
2909 wxPy_BEGIN_ALLOW_THREADS
;
2910 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
2912 wxPy_END_ALLOW_THREADS
;
2913 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
2914 _resultobj
= Py_BuildValue("s",_ptemp
);
2918 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
2919 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
) {
2920 PyObject
* _resultobj
;
2925 if(!PyArg_ParseTuple(args
,"s:wxPanel_InitDialog",&_argc0
))
2928 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPanel_p")) {
2929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
2934 wxPy_BEGIN_ALLOW_THREADS
;
2935 wxPanel_InitDialog(_arg0
);
2937 wxPy_END_ALLOW_THREADS
;
2938 } Py_INCREF(Py_None
);
2939 _resultobj
= Py_None
;
2943 static void *SwigwxDialogTowxPanel(void *ptr
) {
2946 src
= (wxDialog
*) ptr
;
2947 dest
= (wxPanel
*) src
;
2948 return (void *) dest
;
2951 static void *SwigwxDialogTowxWindow(void *ptr
) {
2954 src
= (wxDialog
*) ptr
;
2955 dest
= (wxWindow
*) src
;
2956 return (void *) dest
;
2959 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
2962 src
= (wxDialog
*) ptr
;
2963 dest
= (wxEvtHandler
*) src
;
2964 return (void *) dest
;
2967 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2968 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
) {
2969 PyObject
* _resultobj
;
2974 wxPoint
* _arg3
= &wxPyDefaultPosition
;
2975 wxSize
* _arg4
= &wxPyDefaultSize
;
2976 long _arg5
= (wxDEFAULT_DIALOG_STYLE
);
2977 char * _arg6
= "dialogBox";
2979 PyObject
* _obj2
= 0;
2985 if(!PyArg_ParseTuple(args
,"siO|ssls:new_wxDialog",&_argc0
,&_arg1
,&_obj2
,&_argc3
,&_argc4
,&_arg5
,&_arg6
))
2988 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
2994 if (!PyString_Check(_obj2
)) {
2995 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2998 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
3001 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxPoint_p")) {
3002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxDialog. Expected _wxPoint_p.");
3007 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_wxSize_p")) {
3008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxDialog. Expected _wxSize_p.");
3013 wxPy_BEGIN_ALLOW_THREADS
;
3014 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
3016 wxPy_END_ALLOW_THREADS
;
3017 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
3018 _resultobj
= Py_BuildValue("s",_ptemp
);
3026 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
3027 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
) {
3028 PyObject
* _resultobj
;
3030 int _arg1
= (wxBOTH
);
3034 if(!PyArg_ParseTuple(args
,"s|i:wxDialog_Centre",&_argc0
,&_arg1
))
3037 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
3043 wxPy_BEGIN_ALLOW_THREADS
;
3044 wxDialog_Centre(_arg0
,_arg1
);
3046 wxPy_END_ALLOW_THREADS
;
3047 } Py_INCREF(Py_None
);
3048 _resultobj
= Py_None
;
3052 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
3053 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
) {
3054 PyObject
* _resultobj
;
3060 if(!PyArg_ParseTuple(args
,"si:wxDialog_EndModal",&_argc0
,&_arg1
))
3063 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
3069 wxPy_BEGIN_ALLOW_THREADS
;
3070 wxDialog_EndModal(_arg0
,_arg1
);
3072 wxPy_END_ALLOW_THREADS
;
3073 } Py_INCREF(Py_None
);
3074 _resultobj
= Py_None
;
3078 #define wxDialog_GetTitle(_swigobj) (_swigobj->GetTitle())
3079 static PyObject
*_wrap_wxDialog_GetTitle(PyObject
*self
, PyObject
*args
) {
3080 PyObject
* _resultobj
;
3086 if(!PyArg_ParseTuple(args
,"s:wxDialog_GetTitle",&_argc0
))
3089 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetTitle. Expected _wxDialog_p.");
3095 wxPy_BEGIN_ALLOW_THREADS
;
3096 _result
= new wxString (wxDialog_GetTitle(_arg0
));
3098 wxPy_END_ALLOW_THREADS
;
3100 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3108 #define wxDialog_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
3109 static PyObject
*_wrap_wxDialog_Iconize(PyObject
*self
, PyObject
*args
) {
3110 PyObject
* _resultobj
;
3117 if(!PyArg_ParseTuple(args
,"si:wxDialog_Iconize",&_argc0
,&tempbool1
))
3120 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Iconize. Expected _wxDialog_p.");
3125 _arg1
= (bool ) tempbool1
;
3127 wxPy_BEGIN_ALLOW_THREADS
;
3128 wxDialog_Iconize(_arg0
,_arg1
);
3130 wxPy_END_ALLOW_THREADS
;
3131 } Py_INCREF(Py_None
);
3132 _resultobj
= Py_None
;
3136 #define wxDialog_IsIconized(_swigobj) (_swigobj->IsIconized())
3137 static PyObject
*_wrap_wxDialog_IsIconized(PyObject
*self
, PyObject
*args
) {
3138 PyObject
* _resultobj
;
3144 if(!PyArg_ParseTuple(args
,"s:wxDialog_IsIconized",&_argc0
))
3147 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsIconized. Expected _wxDialog_p.");
3153 wxPy_BEGIN_ALLOW_THREADS
;
3154 _result
= (bool )wxDialog_IsIconized(_arg0
);
3156 wxPy_END_ALLOW_THREADS
;
3157 } _resultobj
= Py_BuildValue("i",_result
);
3161 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
3162 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
) {
3163 PyObject
* _resultobj
;
3170 if(!PyArg_ParseTuple(args
,"si:wxDialog_SetModal",&_argc0
,&tempbool1
))
3173 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
3178 _arg1
= (bool ) tempbool1
;
3180 wxPy_BEGIN_ALLOW_THREADS
;
3181 wxDialog_SetModal(_arg0
,_arg1
);
3183 wxPy_END_ALLOW_THREADS
;
3184 } Py_INCREF(Py_None
);
3185 _resultobj
= Py_None
;
3189 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
3190 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
) {
3191 PyObject
* _resultobj
;
3197 if(!PyArg_ParseTuple(args
,"s:wxDialog_IsModal",&_argc0
))
3200 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
3206 wxPy_BEGIN_ALLOW_THREADS
;
3207 _result
= (bool )wxDialog_IsModal(_arg0
);
3209 wxPy_END_ALLOW_THREADS
;
3210 } _resultobj
= Py_BuildValue("i",_result
);
3214 #define wxDialog_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
3215 static PyObject
*_wrap_wxDialog_SetTitle(PyObject
*self
, PyObject
*args
) {
3216 PyObject
* _resultobj
;
3220 PyObject
* _obj1
= 0;
3223 if(!PyArg_ParseTuple(args
,"sO:wxDialog_SetTitle",&_argc0
,&_obj1
))
3226 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetTitle. Expected _wxDialog_p.");
3232 if (!PyString_Check(_obj1
)) {
3233 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3236 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3239 wxPy_BEGIN_ALLOW_THREADS
;
3240 wxDialog_SetTitle(_arg0
,*_arg1
);
3242 wxPy_END_ALLOW_THREADS
;
3243 } Py_INCREF(Py_None
);
3244 _resultobj
= Py_None
;
3252 #define wxDialog_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3253 static PyObject
*_wrap_wxDialog_Show(PyObject
*self
, PyObject
*args
) {
3254 PyObject
* _resultobj
;
3262 if(!PyArg_ParseTuple(args
,"si:wxDialog_Show",&_argc0
,&tempbool1
))
3265 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Show. Expected _wxDialog_p.");
3270 _arg1
= (bool ) tempbool1
;
3272 wxPy_BEGIN_ALLOW_THREADS
;
3273 _result
= (bool )wxDialog_Show(_arg0
,_arg1
);
3275 wxPy_END_ALLOW_THREADS
;
3276 } _resultobj
= Py_BuildValue("i",_result
);
3280 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
3281 static PyObject
*_wrap_wxDialog_ShowModal(PyObject
*self
, PyObject
*args
) {
3282 PyObject
* _resultobj
;
3288 if(!PyArg_ParseTuple(args
,"s:wxDialog_ShowModal",&_argc0
))
3291 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
3297 wxPy_BEGIN_ALLOW_THREADS
;
3298 _result
= (int )wxDialog_ShowModal(_arg0
);
3300 wxPy_END_ALLOW_THREADS
;
3301 } _resultobj
= Py_BuildValue("i",_result
);
3305 #define wxDialog_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
3306 static PyObject
*_wrap_wxDialog_GetReturnCode(PyObject
*self
, PyObject
*args
) {
3307 PyObject
* _resultobj
;
3313 if(!PyArg_ParseTuple(args
,"s:wxDialog_GetReturnCode",&_argc0
))
3316 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetReturnCode. Expected _wxDialog_p.");
3322 wxPy_BEGIN_ALLOW_THREADS
;
3323 _result
= (int )wxDialog_GetReturnCode(_arg0
);
3325 wxPy_END_ALLOW_THREADS
;
3326 } _resultobj
= Py_BuildValue("i",_result
);
3330 #define wxDialog_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
3331 static PyObject
*_wrap_wxDialog_SetReturnCode(PyObject
*self
, PyObject
*args
) {
3332 PyObject
* _resultobj
;
3338 if(!PyArg_ParseTuple(args
,"si:wxDialog_SetReturnCode",&_argc0
,&_arg1
))
3341 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetReturnCode. Expected _wxDialog_p.");
3347 wxPy_BEGIN_ALLOW_THREADS
;
3348 wxDialog_SetReturnCode(_arg0
,_arg1
);
3350 wxPy_END_ALLOW_THREADS
;
3351 } Py_INCREF(Py_None
);
3352 _resultobj
= Py_None
;
3356 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
3357 wxScrolledWindow
*src
;
3359 src
= (wxScrolledWindow
*) ptr
;
3360 dest
= (wxWindow
*) src
;
3361 return (void *) dest
;
3364 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
3365 wxScrolledWindow
*src
;
3367 src
= (wxScrolledWindow
*) ptr
;
3368 dest
= (wxEvtHandler
*) src
;
3369 return (void *) dest
;
3372 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3373 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
) {
3374 PyObject
* _resultobj
;
3375 wxScrolledWindow
* _result
;
3377 wxWindowID _arg1
= -1;
3378 wxPoint
* _arg2
= &wxPyDefaultPosition
;
3379 wxSize
* _arg3
= &wxPyDefaultSize
;
3380 long _arg4
= (wxHSCROLL
)|(wxVSCROLL
);
3381 char * _arg5
= "scrolledWindow";
3388 if(!PyArg_ParseTuple(args
,"s|issls:new_wxScrolledWindow",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
3391 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
3392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
3397 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
3398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxScrolledWindow. Expected _wxPoint_p.");
3403 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
3404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxScrolledWindow. Expected _wxSize_p.");
3409 wxPy_BEGIN_ALLOW_THREADS
;
3410 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
3412 wxPy_END_ALLOW_THREADS
;
3413 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
3414 _resultobj
= Py_BuildValue("s",_ptemp
);
3418 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
3419 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
) {
3420 PyObject
* _resultobj
;
3421 wxScrolledWindow
* _arg0
;
3429 if(!PyArg_ParseTuple(args
,"sii:wxScrolledWindow_EnableScrolling",&_argc0
,&tempbool1
,&tempbool2
))
3432 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
3437 _arg1
= (bool ) tempbool1
;
3438 _arg2
= (bool ) tempbool2
;
3440 wxPy_BEGIN_ALLOW_THREADS
;
3441 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
3443 wxPy_END_ALLOW_THREADS
;
3444 } Py_INCREF(Py_None
);
3445 _resultobj
= Py_None
;
3449 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
3450 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
) {
3451 PyObject
* _resultobj
;
3452 wxScrolledWindow
* _arg0
;
3466 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_GetScrollPixelsPerUnit",&_argc0
))
3469 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
3475 wxPy_BEGIN_ALLOW_THREADS
;
3476 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
3478 wxPy_END_ALLOW_THREADS
;
3479 } Py_INCREF(Py_None
);
3480 _resultobj
= Py_None
;
3483 o
= PyInt_FromLong((long) (*_arg1
));
3484 _resultobj
= t_output_helper(_resultobj
, o
);
3488 o
= PyInt_FromLong((long) (*_arg2
));
3489 _resultobj
= t_output_helper(_resultobj
, o
);
3494 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
3495 static PyObject
*_wrap_wxScrolledWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
) {
3496 PyObject
* _resultobj
;
3497 wxScrolledWindow
* _arg0
;
3511 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_GetVirtualSize",&_argc0
))
3514 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
3520 wxPy_BEGIN_ALLOW_THREADS
;
3521 wxScrolledWindow_GetVirtualSize(_arg0
,_arg1
,_arg2
);
3523 wxPy_END_ALLOW_THREADS
;
3524 } Py_INCREF(Py_None
);
3525 _resultobj
= Py_None
;
3528 o
= PyInt_FromLong((long) (*_arg1
));
3529 _resultobj
= t_output_helper(_resultobj
, o
);
3533 o
= PyInt_FromLong((long) (*_arg2
));
3534 _resultobj
= t_output_helper(_resultobj
, o
);
3539 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
3540 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
) {
3541 PyObject
* _resultobj
;
3543 wxScrolledWindow
* _arg0
;
3547 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_IsRetained",&_argc0
))
3550 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
3556 wxPy_BEGIN_ALLOW_THREADS
;
3557 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
3559 wxPy_END_ALLOW_THREADS
;
3560 } _resultobj
= Py_BuildValue("i",_result
);
3564 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
3565 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
) {
3566 PyObject
* _resultobj
;
3567 wxScrolledWindow
* _arg0
;
3573 if(!PyArg_ParseTuple(args
,"ss:wxScrolledWindow_PrepareDC",&_argc0
,&_argc1
))
3576 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
3582 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxDC_p")) {
3583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
3588 wxPy_BEGIN_ALLOW_THREADS
;
3589 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
3591 wxPy_END_ALLOW_THREADS
;
3592 } Py_INCREF(Py_None
);
3593 _resultobj
= Py_None
;
3597 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
3598 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
) {
3599 PyObject
* _resultobj
;
3600 wxScrolledWindow
* _arg0
;
3606 if(!PyArg_ParseTuple(args
,"sii:wxScrolledWindow_Scroll",&_argc0
,&_arg1
,&_arg2
))
3609 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
3615 wxPy_BEGIN_ALLOW_THREADS
;
3616 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
3618 wxPy_END_ALLOW_THREADS
;
3619 } Py_INCREF(Py_None
);
3620 _resultobj
= Py_None
;
3624 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3625 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
) {
3626 PyObject
* _resultobj
;
3627 wxScrolledWindow
* _arg0
;
3637 if(!PyArg_ParseTuple(args
,"siiii|ii:wxScrolledWindow_SetScrollbars",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3640 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
3646 wxPy_BEGIN_ALLOW_THREADS
;
3647 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3649 wxPy_END_ALLOW_THREADS
;
3650 } Py_INCREF(Py_None
);
3651 _resultobj
= Py_None
;
3655 #define wxScrolledWindow_ViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->ViewStart(_swigarg0,_swigarg1))
3656 static PyObject
*_wrap_wxScrolledWindow_ViewStart(PyObject
*self
, PyObject
*args
) {
3657 PyObject
* _resultobj
;
3658 wxScrolledWindow
* _arg0
;
3672 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_ViewStart",&_argc0
))
3675 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_ViewStart. Expected _wxScrolledWindow_p.");
3681 wxPy_BEGIN_ALLOW_THREADS
;
3682 wxScrolledWindow_ViewStart(_arg0
,_arg1
,_arg2
);
3684 wxPy_END_ALLOW_THREADS
;
3685 } Py_INCREF(Py_None
);
3686 _resultobj
= Py_None
;
3689 o
= PyInt_FromLong((long) (*_arg1
));
3690 _resultobj
= t_output_helper(_resultobj
, o
);
3694 o
= PyInt_FromLong((long) (*_arg2
));
3695 _resultobj
= t_output_helper(_resultobj
, o
);
3700 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
3703 src
= (wxMenu
*) ptr
;
3704 dest
= (wxEvtHandler
*) src
;
3705 return (void *) dest
;
3708 #define new_wxMenu(_swigarg0) (new wxMenu(_swigarg0))
3709 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
) {
3710 PyObject
* _resultobj
;
3712 wxString
* _arg0
= &wxPyEmptyStr
;
3713 PyObject
* _obj0
= 0;
3717 if(!PyArg_ParseTuple(args
,"|O:new_wxMenu",&_obj0
))
3721 if (!PyString_Check(_obj0
)) {
3722 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3725 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
3728 wxPy_BEGIN_ALLOW_THREADS
;
3729 _result
= (wxMenu
*)new_wxMenu(*_arg0
);
3731 wxPy_END_ALLOW_THREADS
;
3732 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
3733 _resultobj
= Py_BuildValue("s",_ptemp
);
3741 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3742 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
) {
3743 PyObject
* _resultobj
;
3747 wxString
* _arg3
= &wxPyEmptyStr
;
3750 PyObject
* _obj2
= 0;
3751 PyObject
* _obj3
= 0;
3754 if(!PyArg_ParseTuple(args
,"siO|Oi:wxMenu_Append",&_argc0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
3757 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
3763 if (!PyString_Check(_obj2
)) {
3764 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3767 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
3771 if (!PyString_Check(_obj3
)) {
3772 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3775 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
3778 wxPy_BEGIN_ALLOW_THREADS
;
3779 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
3781 wxPy_END_ALLOW_THREADS
;
3782 } Py_INCREF(Py_None
);
3783 _resultobj
= Py_None
;
3795 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3796 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
) {
3797 PyObject
* _resultobj
;
3802 wxString
* _arg4
= &wxPyEmptyStr
;
3804 PyObject
* _obj2
= 0;
3806 PyObject
* _obj4
= 0;
3809 if(!PyArg_ParseTuple(args
,"siOs|O:wxMenu_AppendMenu",&_argc0
,&_arg1
,&_obj2
,&_argc3
,&_obj4
))
3812 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
3818 if (!PyString_Check(_obj2
)) {
3819 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3822 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
3825 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxMenu_p")) {
3826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
3832 if (!PyString_Check(_obj4
)) {
3833 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3836 _arg4
= new wxString(PyString_AsString(_obj4
), PyString_Size(_obj4
));
3839 wxPy_BEGIN_ALLOW_THREADS
;
3840 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
3842 wxPy_END_ALLOW_THREADS
;
3843 } Py_INCREF(Py_None
);
3844 _resultobj
= Py_None
;
3856 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
3857 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
) {
3858 PyObject
* _resultobj
;
3863 if(!PyArg_ParseTuple(args
,"s:wxMenu_AppendSeparator",&_argc0
))
3866 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
3872 wxPy_BEGIN_ALLOW_THREADS
;
3873 wxMenu_AppendSeparator(_arg0
);
3875 wxPy_END_ALLOW_THREADS
;
3876 } Py_INCREF(Py_None
);
3877 _resultobj
= Py_None
;
3881 #define wxMenu_Break(_swigobj) (_swigobj->Break())
3882 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
) {
3883 PyObject
* _resultobj
;
3888 if(!PyArg_ParseTuple(args
,"s:wxMenu_Break",&_argc0
))
3891 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
3897 wxPy_BEGIN_ALLOW_THREADS
;
3898 wxMenu_Break(_arg0
);
3900 wxPy_END_ALLOW_THREADS
;
3901 } Py_INCREF(Py_None
);
3902 _resultobj
= Py_None
;
3906 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
3907 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
) {
3908 PyObject
* _resultobj
;
3916 if(!PyArg_ParseTuple(args
,"sii:wxMenu_Check",&_argc0
,&_arg1
,&tempbool2
))
3919 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
3924 _arg2
= (bool ) tempbool2
;
3926 wxPy_BEGIN_ALLOW_THREADS
;
3927 wxMenu_Check(_arg0
,_arg1
,_arg2
);
3929 wxPy_END_ALLOW_THREADS
;
3930 } Py_INCREF(Py_None
);
3931 _resultobj
= Py_None
;
3935 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
3936 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
) {
3937 PyObject
* _resultobj
;
3945 if(!PyArg_ParseTuple(args
,"sii:wxMenu_Enable",&_argc0
,&_arg1
,&tempbool2
))
3948 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
3953 _arg2
= (bool ) tempbool2
;
3955 wxPy_BEGIN_ALLOW_THREADS
;
3956 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
3958 wxPy_END_ALLOW_THREADS
;
3959 } Py_INCREF(Py_None
);
3960 _resultobj
= Py_None
;
3964 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
3965 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
) {
3966 PyObject
* _resultobj
;
3971 PyObject
* _obj1
= 0;
3974 if(!PyArg_ParseTuple(args
,"sO:wxMenu_FindItem",&_argc0
,&_obj1
))
3977 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
3983 if (!PyString_Check(_obj1
)) {
3984 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3987 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3990 wxPy_BEGIN_ALLOW_THREADS
;
3991 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
3993 wxPy_END_ALLOW_THREADS
;
3994 } _resultobj
= Py_BuildValue("i",_result
);
4002 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
4003 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
) {
4004 PyObject
* _resultobj
;
4010 if(!PyArg_ParseTuple(args
,"s:wxMenu_GetTitle",&_argc0
))
4013 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
4019 wxPy_BEGIN_ALLOW_THREADS
;
4020 _result
= new wxString (wxMenu_GetTitle(_arg0
));
4022 wxPy_END_ALLOW_THREADS
;
4024 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
4032 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4033 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
) {
4034 PyObject
* _resultobj
;
4038 PyObject
* _obj1
= 0;
4041 if(!PyArg_ParseTuple(args
,"sO:wxMenu_SetTitle",&_argc0
,&_obj1
))
4044 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
4050 if (!PyString_Check(_obj1
)) {
4051 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4054 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4057 wxPy_BEGIN_ALLOW_THREADS
;
4058 wxMenu_SetTitle(_arg0
,*_arg1
);
4060 wxPy_END_ALLOW_THREADS
;
4061 } Py_INCREF(Py_None
);
4062 _resultobj
= Py_None
;
4070 #define wxMenu_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
4071 static PyObject
*_wrap_wxMenu_FindItemForId(PyObject
*self
, PyObject
*args
) {
4072 PyObject
* _resultobj
;
4073 wxMenuItem
* _result
;
4080 if(!PyArg_ParseTuple(args
,"si:wxMenu_FindItemForId",&_argc0
,&_arg1
))
4083 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemForId. Expected _wxMenu_p.");
4089 wxPy_BEGIN_ALLOW_THREADS
;
4090 _result
= (wxMenuItem
*)wxMenu_FindItemForId(_arg0
,_arg1
);
4092 wxPy_END_ALLOW_THREADS
;
4093 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
4094 _resultobj
= Py_BuildValue("s",_ptemp
);
4098 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
4099 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
) {
4100 PyObject
* _resultobj
;
4107 if(!PyArg_ParseTuple(args
,"si:wxMenu_GetHelpString",&_argc0
,&_arg1
))
4110 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
4116 wxPy_BEGIN_ALLOW_THREADS
;
4117 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
4119 wxPy_END_ALLOW_THREADS
;
4121 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
4129 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
4130 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
) {
4131 PyObject
* _resultobj
;
4138 if(!PyArg_ParseTuple(args
,"si:wxMenu_GetLabel",&_argc0
,&_arg1
))
4141 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
4147 wxPy_BEGIN_ALLOW_THREADS
;
4148 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
4150 wxPy_END_ALLOW_THREADS
;
4152 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
4160 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
4161 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
) {
4162 PyObject
* _resultobj
;
4167 PyObject
* _obj2
= 0;
4170 if(!PyArg_ParseTuple(args
,"siO:wxMenu_SetHelpString",&_argc0
,&_arg1
,&_obj2
))
4173 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
4179 if (!PyString_Check(_obj2
)) {
4180 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4183 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4186 wxPy_BEGIN_ALLOW_THREADS
;
4187 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
4189 wxPy_END_ALLOW_THREADS
;
4190 } Py_INCREF(Py_None
);
4191 _resultobj
= Py_None
;
4199 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
4200 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
) {
4201 PyObject
* _resultobj
;
4208 if(!PyArg_ParseTuple(args
,"si:wxMenu_IsChecked",&_argc0
,&_arg1
))
4211 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
4217 wxPy_BEGIN_ALLOW_THREADS
;
4218 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
4220 wxPy_END_ALLOW_THREADS
;
4221 } _resultobj
= Py_BuildValue("i",_result
);
4225 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
4226 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
) {
4227 PyObject
* _resultobj
;
4234 if(!PyArg_ParseTuple(args
,"si:wxMenu_IsEnabled",&_argc0
,&_arg1
))
4237 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
4243 wxPy_BEGIN_ALLOW_THREADS
;
4244 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
4246 wxPy_END_ALLOW_THREADS
;
4247 } _resultobj
= Py_BuildValue("i",_result
);
4251 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
4252 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
) {
4253 PyObject
* _resultobj
;
4258 PyObject
* _obj2
= 0;
4261 if(!PyArg_ParseTuple(args
,"siO:wxMenu_SetLabel",&_argc0
,&_arg1
,&_obj2
))
4264 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
4270 if (!PyString_Check(_obj2
)) {
4271 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4274 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4277 wxPy_BEGIN_ALLOW_THREADS
;
4278 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
4280 wxPy_END_ALLOW_THREADS
;
4281 } Py_INCREF(Py_None
);
4282 _resultobj
= Py_None
;
4290 static void *SwigwxPyMenuTowxMenu(void *ptr
) {
4293 src
= (wxPyMenu
*) ptr
;
4294 dest
= (wxMenu
*) src
;
4295 return (void *) dest
;
4298 static void *SwigwxPyMenuTowxEvtHandler(void *ptr
) {
4301 src
= (wxPyMenu
*) ptr
;
4302 dest
= (wxEvtHandler
*) src
;
4303 return (void *) dest
;
4306 #define new_wxPyMenu(_swigarg0,_swigarg1) (new wxPyMenu(_swigarg0,_swigarg1))
4307 static PyObject
*_wrap_new_wxPyMenu(PyObject
*self
, PyObject
*args
) {
4308 PyObject
* _resultobj
;
4310 wxString
* _arg0
= &wxPyEmptyStr
;
4311 PyObject
* _arg1
= NULL
;
4312 PyObject
* _obj0
= 0;
4313 PyObject
* _obj1
= 0;
4317 if(!PyArg_ParseTuple(args
,"|OO:new_wxPyMenu",&_obj0
,&_obj1
))
4321 if (!PyString_Check(_obj0
)) {
4322 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4325 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
4332 wxPy_BEGIN_ALLOW_THREADS
;
4333 _result
= (wxPyMenu
*)new_wxPyMenu(*_arg0
,_arg1
);
4335 wxPy_END_ALLOW_THREADS
;
4336 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyMenu_p");
4337 _resultobj
= Py_BuildValue("s",_ptemp
);
4345 #define delete_wxPyMenu(_swigobj) (delete _swigobj)
4346 static PyObject
*_wrap_delete_wxPyMenu(PyObject
*self
, PyObject
*args
) {
4347 PyObject
* _resultobj
;
4352 if(!PyArg_ParseTuple(args
,"s:delete_wxPyMenu",&_argc0
))
4355 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyMenu_p")) {
4356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyMenu. Expected _wxPyMenu_p.");
4361 wxPy_BEGIN_ALLOW_THREADS
;
4362 delete_wxPyMenu(_arg0
);
4364 wxPy_END_ALLOW_THREADS
;
4365 } Py_INCREF(Py_None
);
4366 _resultobj
= Py_None
;
4370 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
4373 src
= (wxMenuBar
*) ptr
;
4374 dest
= (wxEvtHandler
*) src
;
4375 return (void *) dest
;
4378 #define new_wxMenuBar() (new wxMenuBar())
4379 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
) {
4380 PyObject
* _resultobj
;
4381 wxMenuBar
* _result
;
4385 if(!PyArg_ParseTuple(args
,":new_wxMenuBar"))
4388 wxPy_BEGIN_ALLOW_THREADS
;
4389 _result
= (wxMenuBar
*)new_wxMenuBar();
4391 wxPy_END_ALLOW_THREADS
;
4392 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
4393 _resultobj
= Py_BuildValue("s",_ptemp
);
4397 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
4398 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
) {
4399 PyObject
* _resultobj
;
4405 PyObject
* _obj2
= 0;
4408 if(!PyArg_ParseTuple(args
,"ssO:wxMenuBar_Append",&_argc0
,&_argc1
,&_obj2
))
4411 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
4417 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxMenu_p")) {
4418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
4423 if (!PyString_Check(_obj2
)) {
4424 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4427 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4430 wxPy_BEGIN_ALLOW_THREADS
;
4431 wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
4433 wxPy_END_ALLOW_THREADS
;
4434 } Py_INCREF(Py_None
);
4435 _resultobj
= Py_None
;
4443 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
4444 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
) {
4445 PyObject
* _resultobj
;
4453 if(!PyArg_ParseTuple(args
,"sii:wxMenuBar_Check",&_argc0
,&_arg1
,&tempbool2
))
4456 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
4461 _arg2
= (bool ) tempbool2
;
4463 wxPy_BEGIN_ALLOW_THREADS
;
4464 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
4466 wxPy_END_ALLOW_THREADS
;
4467 } Py_INCREF(Py_None
);
4468 _resultobj
= Py_None
;
4472 #define wxMenuBar_Checked(_swigobj,_swigarg0) (_swigobj->Checked(_swigarg0))
4473 static PyObject
*_wrap_wxMenuBar_Checked(PyObject
*self
, PyObject
*args
) {
4474 PyObject
* _resultobj
;
4481 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_Checked",&_argc0
,&_arg1
))
4484 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Checked. Expected _wxMenuBar_p.");
4490 wxPy_BEGIN_ALLOW_THREADS
;
4491 _result
= (bool )wxMenuBar_Checked(_arg0
,_arg1
);
4493 wxPy_END_ALLOW_THREADS
;
4494 } _resultobj
= Py_BuildValue("i",_result
);
4498 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
4499 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
) {
4500 PyObject
* _resultobj
;
4508 if(!PyArg_ParseTuple(args
,"sii:wxMenuBar_Enable",&_argc0
,&_arg1
,&tempbool2
))
4511 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
4516 _arg2
= (bool ) tempbool2
;
4518 wxPy_BEGIN_ALLOW_THREADS
;
4519 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
4521 wxPy_END_ALLOW_THREADS
;
4522 } Py_INCREF(Py_None
);
4523 _resultobj
= Py_None
;
4527 #define wxMenuBar_Enabled(_swigobj,_swigarg0) (_swigobj->Enabled(_swigarg0))
4528 static PyObject
*_wrap_wxMenuBar_Enabled(PyObject
*self
, PyObject
*args
) {
4529 PyObject
* _resultobj
;
4536 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_Enabled",&_argc0
,&_arg1
))
4539 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enabled. Expected _wxMenuBar_p.");
4545 wxPy_BEGIN_ALLOW_THREADS
;
4546 _result
= (bool )wxMenuBar_Enabled(_arg0
,_arg1
);
4548 wxPy_END_ALLOW_THREADS
;
4549 } _resultobj
= Py_BuildValue("i",_result
);
4553 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
4554 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
) {
4555 PyObject
* _resultobj
;
4561 PyObject
* _obj1
= 0;
4562 PyObject
* _obj2
= 0;
4565 if(!PyArg_ParseTuple(args
,"sOO:wxMenuBar_FindMenuItem",&_argc0
,&_obj1
,&_obj2
))
4568 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
4574 if (!PyString_Check(_obj1
)) {
4575 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4578 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4581 if (!PyString_Check(_obj2
)) {
4582 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4585 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4588 wxPy_BEGIN_ALLOW_THREADS
;
4589 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
4591 wxPy_END_ALLOW_THREADS
;
4592 } _resultobj
= Py_BuildValue("i",_result
);
4604 #define wxMenuBar_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
4605 static PyObject
*_wrap_wxMenuBar_FindItemForId(PyObject
*self
, PyObject
*args
) {
4606 PyObject
* _resultobj
;
4607 wxMenuItem
* _result
;
4614 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_FindItemForId",&_argc0
,&_arg1
))
4617 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemForId. Expected _wxMenuBar_p.");
4623 wxPy_BEGIN_ALLOW_THREADS
;
4624 _result
= (wxMenuItem
*)wxMenuBar_FindItemForId(_arg0
,_arg1
);
4626 wxPy_END_ALLOW_THREADS
;
4627 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
4628 _resultobj
= Py_BuildValue("s",_ptemp
);
4632 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
4633 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
) {
4634 PyObject
* _resultobj
;
4640 if(!PyArg_ParseTuple(args
,"s:wxMenuBar_GetMenuCount",&_argc0
))
4643 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
4649 wxPy_BEGIN_ALLOW_THREADS
;
4650 _result
= (int )wxMenuBar_GetMenuCount(_arg0
);
4652 wxPy_END_ALLOW_THREADS
;
4653 } _resultobj
= Py_BuildValue("i",_result
);
4657 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
4658 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
) {
4659 PyObject
* _resultobj
;
4667 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_GetMenu",&_argc0
,&_arg1
))
4670 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
4676 wxPy_BEGIN_ALLOW_THREADS
;
4677 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
4679 wxPy_END_ALLOW_THREADS
;
4680 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
4681 _resultobj
= Py_BuildValue("s",_ptemp
);
4685 #define new_wxMenuItem() (new wxMenuItem())
4686 static PyObject
*_wrap_new_wxMenuItem(PyObject
*self
, PyObject
*args
) {
4687 PyObject
* _resultobj
;
4688 wxMenuItem
* _result
;
4692 if(!PyArg_ParseTuple(args
,":new_wxMenuItem"))
4695 wxPy_BEGIN_ALLOW_THREADS
;
4696 _result
= (wxMenuItem
*)new_wxMenuItem();
4698 wxPy_END_ALLOW_THREADS
;
4699 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
4700 _resultobj
= Py_BuildValue("s",_ptemp
);
4704 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
4705 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
) {
4706 PyObject
* _resultobj
;
4712 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsSeparator",&_argc0
))
4715 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
4721 wxPy_BEGIN_ALLOW_THREADS
;
4722 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
4724 wxPy_END_ALLOW_THREADS
;
4725 } _resultobj
= Py_BuildValue("i",_result
);
4729 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
4730 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
) {
4731 PyObject
* _resultobj
;
4737 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsEnabled",&_argc0
))
4740 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
4746 wxPy_BEGIN_ALLOW_THREADS
;
4747 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
4749 wxPy_END_ALLOW_THREADS
;
4750 } _resultobj
= Py_BuildValue("i",_result
);
4754 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
4755 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
) {
4756 PyObject
* _resultobj
;
4762 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsChecked",&_argc0
))
4765 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
4771 wxPy_BEGIN_ALLOW_THREADS
;
4772 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
4774 wxPy_END_ALLOW_THREADS
;
4775 } _resultobj
= Py_BuildValue("i",_result
);
4779 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
4780 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
) {
4781 PyObject
* _resultobj
;
4787 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsCheckable",&_argc0
))
4790 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
4796 wxPy_BEGIN_ALLOW_THREADS
;
4797 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
4799 wxPy_END_ALLOW_THREADS
;
4800 } _resultobj
= Py_BuildValue("i",_result
);
4804 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
4805 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
) {
4806 PyObject
* _resultobj
;
4812 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetId",&_argc0
))
4815 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
4821 wxPy_BEGIN_ALLOW_THREADS
;
4822 _result
= (int )wxMenuItem_GetId(_arg0
);
4824 wxPy_END_ALLOW_THREADS
;
4825 } _resultobj
= Py_BuildValue("i",_result
);
4829 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
4830 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
) {
4831 PyObject
* _resultobj
;
4838 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetSubMenu",&_argc0
))
4841 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
4847 wxPy_BEGIN_ALLOW_THREADS
;
4848 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
4850 wxPy_END_ALLOW_THREADS
;
4851 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
4852 _resultobj
= Py_BuildValue("s",_ptemp
);
4856 #define wxMenuItem_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
4857 static PyObject
*_wrap_wxMenuItem_SetName(PyObject
*self
, PyObject
*args
) {
4858 PyObject
* _resultobj
;
4862 PyObject
* _obj1
= 0;
4865 if(!PyArg_ParseTuple(args
,"sO:wxMenuItem_SetName",&_argc0
,&_obj1
))
4868 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetName. Expected _wxMenuItem_p.");
4874 if (!PyString_Check(_obj1
)) {
4875 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4878 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4881 wxPy_BEGIN_ALLOW_THREADS
;
4882 wxMenuItem_SetName(_arg0
,*_arg1
);
4884 wxPy_END_ALLOW_THREADS
;
4885 } Py_INCREF(Py_None
);
4886 _resultobj
= Py_None
;
4894 #define wxMenuItem_GetName(_swigobj) (_swigobj->GetName())
4895 static PyObject
*_wrap_wxMenuItem_GetName(PyObject
*self
, PyObject
*args
) {
4896 PyObject
* _resultobj
;
4902 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetName",&_argc0
))
4905 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetName. Expected _wxMenuItem_p.");
4911 wxPy_BEGIN_ALLOW_THREADS
;
4912 _result
= new wxString (wxMenuItem_GetName(_arg0
));
4914 wxPy_END_ALLOW_THREADS
;
4916 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
4924 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
4925 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
) {
4926 PyObject
* _resultobj
;
4932 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetHelp",&_argc0
))
4935 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
4941 wxPy_BEGIN_ALLOW_THREADS
;
4942 _result
= new wxString (wxMenuItem_GetHelp(_arg0
));
4944 wxPy_END_ALLOW_THREADS
;
4946 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
4954 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
4955 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
) {
4956 PyObject
* _resultobj
;
4960 PyObject
* _obj1
= 0;
4963 if(!PyArg_ParseTuple(args
,"sO:wxMenuItem_SetHelp",&_argc0
,&_obj1
))
4966 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
4972 if (!PyString_Check(_obj1
)) {
4973 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4976 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4979 wxPy_BEGIN_ALLOW_THREADS
;
4980 wxMenuItem_SetHelp(_arg0
,*_arg1
);
4982 wxPy_END_ALLOW_THREADS
;
4983 } Py_INCREF(Py_None
);
4984 _resultobj
= Py_None
;
4992 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
4993 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
) {
4994 PyObject
* _resultobj
;
5001 if(!PyArg_ParseTuple(args
,"s|i:wxMenuItem_Enable",&_argc0
,&tempbool1
))
5004 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
5009 _arg1
= (bool ) tempbool1
;
5011 wxPy_BEGIN_ALLOW_THREADS
;
5012 wxMenuItem_Enable(_arg0
,_arg1
);
5014 wxPy_END_ALLOW_THREADS
;
5015 } Py_INCREF(Py_None
);
5016 _resultobj
= Py_None
;
5020 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
5021 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
) {
5022 PyObject
* _resultobj
;
5029 if(!PyArg_ParseTuple(args
,"s|i:wxMenuItem_Check",&_argc0
,&tempbool1
))
5032 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
5037 _arg1
= (bool ) tempbool1
;
5039 wxPy_BEGIN_ALLOW_THREADS
;
5040 wxMenuItem_Check(_arg0
,_arg1
);
5042 wxPy_END_ALLOW_THREADS
;
5043 } Py_INCREF(Py_None
);
5044 _resultobj
= Py_None
;
5048 static PyMethodDef windowscMethods
[] = {
5049 { "wxMenuItem_Check", _wrap_wxMenuItem_Check
, 1 },
5050 { "wxMenuItem_Enable", _wrap_wxMenuItem_Enable
, 1 },
5051 { "wxMenuItem_SetHelp", _wrap_wxMenuItem_SetHelp
, 1 },
5052 { "wxMenuItem_GetHelp", _wrap_wxMenuItem_GetHelp
, 1 },
5053 { "wxMenuItem_GetName", _wrap_wxMenuItem_GetName
, 1 },
5054 { "wxMenuItem_SetName", _wrap_wxMenuItem_SetName
, 1 },
5055 { "wxMenuItem_GetSubMenu", _wrap_wxMenuItem_GetSubMenu
, 1 },
5056 { "wxMenuItem_GetId", _wrap_wxMenuItem_GetId
, 1 },
5057 { "wxMenuItem_IsCheckable", _wrap_wxMenuItem_IsCheckable
, 1 },
5058 { "wxMenuItem_IsChecked", _wrap_wxMenuItem_IsChecked
, 1 },
5059 { "wxMenuItem_IsEnabled", _wrap_wxMenuItem_IsEnabled
, 1 },
5060 { "wxMenuItem_IsSeparator", _wrap_wxMenuItem_IsSeparator
, 1 },
5061 { "new_wxMenuItem", _wrap_new_wxMenuItem
, 1 },
5062 { "wxMenuBar_GetMenu", _wrap_wxMenuBar_GetMenu
, 1 },
5063 { "wxMenuBar_GetMenuCount", _wrap_wxMenuBar_GetMenuCount
, 1 },
5064 { "wxMenuBar_FindItemForId", _wrap_wxMenuBar_FindItemForId
, 1 },
5065 { "wxMenuBar_FindMenuItem", _wrap_wxMenuBar_FindMenuItem
, 1 },
5066 { "wxMenuBar_Enabled", _wrap_wxMenuBar_Enabled
, 1 },
5067 { "wxMenuBar_Enable", _wrap_wxMenuBar_Enable
, 1 },
5068 { "wxMenuBar_Checked", _wrap_wxMenuBar_Checked
, 1 },
5069 { "wxMenuBar_Check", _wrap_wxMenuBar_Check
, 1 },
5070 { "wxMenuBar_Append", _wrap_wxMenuBar_Append
, 1 },
5071 { "new_wxMenuBar", _wrap_new_wxMenuBar
, 1 },
5072 { "delete_wxPyMenu", _wrap_delete_wxPyMenu
, 1 },
5073 { "new_wxPyMenu", _wrap_new_wxPyMenu
, 1 },
5074 { "wxMenu_SetLabel", _wrap_wxMenu_SetLabel
, 1 },
5075 { "wxMenu_IsEnabled", _wrap_wxMenu_IsEnabled
, 1 },
5076 { "wxMenu_IsChecked", _wrap_wxMenu_IsChecked
, 1 },
5077 { "wxMenu_SetHelpString", _wrap_wxMenu_SetHelpString
, 1 },
5078 { "wxMenu_GetLabel", _wrap_wxMenu_GetLabel
, 1 },
5079 { "wxMenu_GetHelpString", _wrap_wxMenu_GetHelpString
, 1 },
5080 { "wxMenu_FindItemForId", _wrap_wxMenu_FindItemForId
, 1 },
5081 { "wxMenu_SetTitle", _wrap_wxMenu_SetTitle
, 1 },
5082 { "wxMenu_GetTitle", _wrap_wxMenu_GetTitle
, 1 },
5083 { "wxMenu_FindItem", _wrap_wxMenu_FindItem
, 1 },
5084 { "wxMenu_Enable", _wrap_wxMenu_Enable
, 1 },
5085 { "wxMenu_Check", _wrap_wxMenu_Check
, 1 },
5086 { "wxMenu_Break", _wrap_wxMenu_Break
, 1 },
5087 { "wxMenu_AppendSeparator", _wrap_wxMenu_AppendSeparator
, 1 },
5088 { "wxMenu_AppendMenu", _wrap_wxMenu_AppendMenu
, 1 },
5089 { "wxMenu_Append", _wrap_wxMenu_Append
, 1 },
5090 { "new_wxMenu", _wrap_new_wxMenu
, 1 },
5091 { "wxScrolledWindow_ViewStart", _wrap_wxScrolledWindow_ViewStart
, 1 },
5092 { "wxScrolledWindow_SetScrollbars", _wrap_wxScrolledWindow_SetScrollbars
, 1 },
5093 { "wxScrolledWindow_Scroll", _wrap_wxScrolledWindow_Scroll
, 1 },
5094 { "wxScrolledWindow_PrepareDC", _wrap_wxScrolledWindow_PrepareDC
, 1 },
5095 { "wxScrolledWindow_IsRetained", _wrap_wxScrolledWindow_IsRetained
, 1 },
5096 { "wxScrolledWindow_GetVirtualSize", _wrap_wxScrolledWindow_GetVirtualSize
, 1 },
5097 { "wxScrolledWindow_GetScrollPixelsPerUnit", _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, 1 },
5098 { "wxScrolledWindow_EnableScrolling", _wrap_wxScrolledWindow_EnableScrolling
, 1 },
5099 { "new_wxScrolledWindow", _wrap_new_wxScrolledWindow
, 1 },
5100 { "wxDialog_SetReturnCode", _wrap_wxDialog_SetReturnCode
, 1 },
5101 { "wxDialog_GetReturnCode", _wrap_wxDialog_GetReturnCode
, 1 },
5102 { "wxDialog_ShowModal", _wrap_wxDialog_ShowModal
, 1 },
5103 { "wxDialog_Show", _wrap_wxDialog_Show
, 1 },
5104 { "wxDialog_SetTitle", _wrap_wxDialog_SetTitle
, 1 },
5105 { "wxDialog_IsModal", _wrap_wxDialog_IsModal
, 1 },
5106 { "wxDialog_SetModal", _wrap_wxDialog_SetModal
, 1 },
5107 { "wxDialog_IsIconized", _wrap_wxDialog_IsIconized
, 1 },
5108 { "wxDialog_Iconize", _wrap_wxDialog_Iconize
, 1 },
5109 { "wxDialog_GetTitle", _wrap_wxDialog_GetTitle
, 1 },
5110 { "wxDialog_EndModal", _wrap_wxDialog_EndModal
, 1 },
5111 { "wxDialog_Centre", _wrap_wxDialog_Centre
, 1 },
5112 { "new_wxDialog", _wrap_new_wxDialog
, 1 },
5113 { "wxPanel_InitDialog", _wrap_wxPanel_InitDialog
, 1 },
5114 { "new_wxPanel", _wrap_new_wxPanel
, 1 },
5115 { "wxWindow_GetToolTip", _wrap_wxWindow_GetToolTip
, 1 },
5116 { "wxWindow_SetToolTip", _wrap_wxWindow_SetToolTip
, 1 },
5117 { "wxWindow_SetToolTipString", _wrap_wxWindow_SetToolTipString
, 1 },
5118 { "wxWindow_ConvertPixelSizeToDialog", _wrap_wxWindow_ConvertPixelSizeToDialog
, 1 },
5119 { "wxWindow_ConvertPixelPointToDialog", _wrap_wxWindow_ConvertPixelPointToDialog
, 1 },
5120 { "wxWindow_DLG_SZE", _wrap_wxWindow_ConvertDialogSizeToPixels
, 1 },
5121 { "wxWindow_DLG_PNT", _wrap_wxWindow_ConvertDialogPointToPixels
, 1 },
5122 { "wxWindow_ConvertDialogSizeToPixels", _wrap_wxWindow_ConvertDialogSizeToPixels
, 1 },
5123 { "wxWindow_ConvertDialogPointToPixels", _wrap_wxWindow_ConvertDialogPointToPixels
, 1 },
5124 { "wxWindow_WarpPointer", _wrap_wxWindow_WarpPointer
, 1 },
5125 { "wxWindow_Validate", _wrap_wxWindow_Validate
, 1 },
5126 { "wxWindow_TransferDataToWindow", _wrap_wxWindow_TransferDataToWindow
, 1 },
5127 { "wxWindow_TransferDataFromWindow", _wrap_wxWindow_TransferDataFromWindow
, 1 },
5128 { "wxWindow_Show", _wrap_wxWindow_Show
, 1 },
5129 { "wxWindow_SetTitle", _wrap_wxWindow_SetTitle
, 1 },
5130 { "wxWindow_SetCursor", _wrap_wxWindow_SetCursor
, 1 },
5131 { "wxWindow_SetClientSize", _wrap_wxWindow_SetClientSize
, 1 },
5132 { "wxWindow_SetClientSizeWH", _wrap_wxWindow_SetClientSizeWH
, 1 },
5133 { "wxWindow_SetSizeHints", _wrap_wxWindow_SetSizeHints
, 1 },
5134 { "wxWindow_SetPosition", _wrap_wxWindow_SetPosition
, 1 },
5135 { "wxWindow_SetSize", _wrap_wxWindow_SetSize
, 1 },
5136 { "wxWindow_SetDimensions", _wrap_wxWindow_SetDimensions
, 1 },
5137 { "wxWindow_SetScrollPos", _wrap_wxWindow_SetScrollPos
, 1 },
5138 { "wxWindow_SetScrollbar", _wrap_wxWindow_SetScrollbar
, 1 },
5139 { "wxWindow_SetName", _wrap_wxWindow_SetName
, 1 },
5140 { "wxWindow_SetId", _wrap_wxWindow_SetId
, 1 },
5141 { "wxWindow_SetForegroundColour", _wrap_wxWindow_SetForegroundColour
, 1 },
5142 { "wxWindow_SetFont", _wrap_wxWindow_SetFont
, 1 },
5143 { "wxWindow_SetFocus", _wrap_wxWindow_SetFocus
, 1 },
5144 { "wxWindow_SetConstraints", _wrap_wxWindow_SetConstraints
, 1 },
5145 { "wxWindow_SetBackgroundColour", _wrap_wxWindow_SetBackgroundColour
, 1 },
5146 { "wxWindow_SetAutoLayout", _wrap_wxWindow_SetAutoLayout
, 1 },
5147 { "wxWindow_SetAcceleratorTable", _wrap_wxWindow_SetAcceleratorTable
, 1 },
5148 { "wxWindow_ScrollWindow", _wrap_wxWindow_ScrollWindow
, 1 },
5149 { "wxWindow_ScreenToClientXY", _wrap_wxWindow_ScreenToClientXY
, 1 },
5150 { "wxWindow_ReleaseMouse", _wrap_wxWindow_ReleaseMouse
, 1 },
5151 { "wxWindow_Refresh", _wrap_wxWindow_Refresh
, 1 },
5152 { "wxWindow_Raise", _wrap_wxWindow_Raise
, 1 },
5153 { "wxWindow_PopupMenu", _wrap_wxWindow_PopupMenu
, 1 },
5154 { "wxWindow_Move", _wrap_wxWindow_Move
, 1 },
5155 { "wxWindow_MoveXY", _wrap_wxWindow_MoveXY
, 1 },
5156 { "wxWindow_MakeModal", _wrap_wxWindow_MakeModal
, 1 },
5157 { "wxWindow_Lower", _wrap_wxWindow_Lower
, 1 },
5158 { "wxWindow_LoadFromResource", _wrap_wxWindow_LoadFromResource
, 1 },
5159 { "wxWindow_Layout", _wrap_wxWindow_Layout
, 1 },
5160 { "wxWindow_IsShown", _wrap_wxWindow_IsShown
, 1 },
5161 { "wxWindow_IsRetained", _wrap_wxWindow_IsRetained
, 1 },
5162 { "wxWindow_IsEnabled", _wrap_wxWindow_IsEnabled
, 1 },
5163 { "wxWindow_InitDialog", _wrap_wxWindow_InitDialog
, 1 },
5164 { "wxWindow_GetWindowStyleFlag", _wrap_wxWindow_GetWindowStyleFlag
, 1 },
5165 { "wxWindow_GetTitle", _wrap_wxWindow_GetTitle
, 1 },
5166 { "wxWindow_GetFullTextExtent", _wrap_wxWindow_GetFullTextExtent
, 1 },
5167 { "wxWindow_GetTextExtent", _wrap_wxWindow_GetTextExtent
, 1 },
5168 { "wxWindow_GetSize", _wrap_wxWindow_GetSize
, 1 },
5169 { "wxWindow_GetSizeTuple", _wrap_wxWindow_GetSizeTuple
, 1 },
5170 { "wxWindow_GetScrollRange", _wrap_wxWindow_GetScrollRange
, 1 },
5171 { "wxWindow_GetScrollPos", _wrap_wxWindow_GetScrollPos
, 1 },
5172 { "wxWindow_GetScrollThumb", _wrap_wxWindow_GetScrollThumb
, 1 },
5173 { "wxWindow_GetRect", _wrap_wxWindow_GetRect
, 1 },
5174 { "wxWindow_GetPosition", _wrap_wxWindow_GetPosition
, 1 },
5175 { "wxWindow_GetPositionTuple", _wrap_wxWindow_GetPositionTuple
, 1 },
5176 { "wxWindow_GetParent", _wrap_wxWindow_GetParent
, 1 },
5177 { "wxWindow_GetName", _wrap_wxWindow_GetName
, 1 },
5178 { "wxWindow_GetLabel", _wrap_wxWindow_GetLabel
, 1 },
5179 { "wxWindow_GetId", _wrap_wxWindow_GetId
, 1 },
5180 { "wxWindow_GetGrandParent", _wrap_wxWindow_GetGrandParent
, 1 },
5181 { "wxWindow_GetForegroundColour", _wrap_wxWindow_GetForegroundColour
, 1 },
5182 { "wxWindow_GetFont", _wrap_wxWindow_GetFont
, 1 },
5183 { "wxWindow_GetConstraints", _wrap_wxWindow_GetConstraints
, 1 },
5184 { "wxWindow_GetClientSize", _wrap_wxWindow_GetClientSize
, 1 },
5185 { "wxWindow_GetClientSizeTuple", _wrap_wxWindow_GetClientSizeTuple
, 1 },
5186 { "wxWindow_GetCharWidth", _wrap_wxWindow_GetCharWidth
, 1 },
5187 { "wxWindow_GetCharHeight", _wrap_wxWindow_GetCharHeight
, 1 },
5188 { "wxWindow_GetBackgroundColour", _wrap_wxWindow_GetBackgroundColour
, 1 },
5189 { "wxWindow_Fit", _wrap_wxWindow_Fit
, 1 },
5190 { "wxWindow_FindWindowByName", _wrap_wxWindow_FindWindowByName
, 1 },
5191 { "wxWindow_FindWindowById", _wrap_wxWindow_FindWindowById
, 1 },
5192 { "wxWindow_Enable", _wrap_wxWindow_Enable
, 1 },
5193 { "wxWindow_DestroyChildren", _wrap_wxWindow_DestroyChildren
, 1 },
5194 { "wxWindow_Destroy", _wrap_wxWindow_Destroy
, 1 },
5195 { "wxWindow_Close", _wrap_wxWindow_Close
, 1 },
5196 { "wxWindow_ClientToScreenXY", _wrap_wxWindow_ClientToScreenXY
, 1 },
5197 { "wxWindow_Centre", _wrap_wxWindow_Centre
, 1 },
5198 { "wxWindow_Center", _wrap_wxWindow_Center
, 1 },
5199 { "wxWindow_CaptureMouse", _wrap_wxWindow_CaptureMouse
, 1 },
5200 { "new_wxWindow", _wrap_new_wxWindow
, 1 },
5201 { "wxEvtHandler_Connect", _wrap_wxEvtHandler_Connect
, 1 },
5202 { "wxEvtHandler_ProcessEvent", _wrap_wxEvtHandler_ProcessEvent
, 1 },
5205 static PyObject
*SWIG_globals
;
5209 SWIGEXPORT(void,initwindowsc
)() {
5211 SWIG_globals
= SWIG_newvarlink();
5212 m
= Py_InitModule("windowsc", windowscMethods
);
5213 d
= PyModule_GetDict(m
);
5215 * These are the pointer type-equivalency mappings.
5216 * (Used by the SWIG pointer type-checker).
5218 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
5219 SWIG_RegisterMapping("_signed_long","_long",0);
5220 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
5221 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
5222 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
5223 SWIG_RegisterMapping("_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
5224 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxPyMenu",SwigwxPyMenuTowxEvtHandler
);
5225 SWIG_RegisterMapping("_class_wxEvtHandler","_wxPyMenu",SwigwxPyMenuTowxEvtHandler
);
5226 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
);
5227 SWIG_RegisterMapping("_class_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
);
5228 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
5229 SWIG_RegisterMapping("_class_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
5230 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
);
5231 SWIG_RegisterMapping("_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
);
5232 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
);
5233 SWIG_RegisterMapping("_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
);
5234 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
);
5235 SWIG_RegisterMapping("_class_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
);
5236 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
5237 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
5238 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
5239 SWIG_RegisterMapping("_wxToolTip","_class_wxToolTip",0);
5240 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
5241 SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
5242 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
5243 SWIG_RegisterMapping("_byte","_unsigned_char",0);
5244 SWIG_RegisterMapping("_long","_wxDash",0);
5245 SWIG_RegisterMapping("_long","_unsigned_long",0);
5246 SWIG_RegisterMapping("_long","_signed_long",0);
5247 SWIG_RegisterMapping("_wxImageList","_class_wxImageList",0);
5248 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
5249 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
5250 SWIG_RegisterMapping("_size_t","_unsigned_int",0);
5251 SWIG_RegisterMapping("_size_t","_int",0);
5252 SWIG_RegisterMapping("_size_t","_wxWindowID",0);
5253 SWIG_RegisterMapping("_size_t","_uint",0);
5254 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
5255 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
5256 SWIG_RegisterMapping("_class_wxPostScriptDC","_wxPostScriptDC",0);
5257 SWIG_RegisterMapping("_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
);
5258 SWIG_RegisterMapping("_wxPanel","_wxDialog",SwigwxDialogTowxPanel
);
5259 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
5260 SWIG_RegisterMapping("_class_wxToolTip","_wxToolTip",0);
5261 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
5262 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
5263 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
5264 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
5265 SWIG_RegisterMapping("_uint","_size_t",0);
5266 SWIG_RegisterMapping("_uint","_unsigned_int",0);
5267 SWIG_RegisterMapping("_uint","_int",0);
5268 SWIG_RegisterMapping("_uint","_wxWindowID",0);
5269 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
5270 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
5271 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
5272 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
5273 SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
5274 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
5275 SWIG_RegisterMapping("_EBool","_signed_int",0);
5276 SWIG_RegisterMapping("_EBool","_int",0);
5277 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
5278 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
5279 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
5280 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
5281 SWIG_RegisterMapping("_unsigned_long","_long",0);
5282 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
5283 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
5284 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
5285 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
5286 SWIG_RegisterMapping("_class_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
);
5287 SWIG_RegisterMapping("_class_wxPanel","_wxDialog",SwigwxDialogTowxPanel
);
5288 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
5289 SWIG_RegisterMapping("_signed_int","_EBool",0);
5290 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
5291 SWIG_RegisterMapping("_signed_int","_int",0);
5292 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
5293 SWIG_RegisterMapping("_wxMenu","_class_wxPyMenu",SwigwxPyMenuTowxMenu
);
5294 SWIG_RegisterMapping("_wxMenu","_wxPyMenu",SwigwxPyMenuTowxMenu
);
5295 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
5296 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
5297 SWIG_RegisterMapping("_WXTYPE","_short",0);
5298 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
5299 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
5300 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
5301 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
5302 SWIG_RegisterMapping("_unsigned_short","_short",0);
5303 SWIG_RegisterMapping("_class_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
5304 SWIG_RegisterMapping("_class_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
5305 SWIG_RegisterMapping("_class_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
);
5306 SWIG_RegisterMapping("_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow
);
5307 SWIG_RegisterMapping("_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
);
5308 SWIG_RegisterMapping("_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow
);
5309 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
5310 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
5311 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
5312 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
5313 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
5314 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
5315 SWIG_RegisterMapping("_signed_short","_short",0);
5316 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
5317 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
5318 SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0);
5319 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
5320 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
5321 SWIG_RegisterMapping("_wxPostScriptDC","_class_wxPostScriptDC",0);
5322 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
5323 SWIG_RegisterMapping("_unsigned_char","_byte",0);
5324 SWIG_RegisterMapping("_class_wxMenu","_class_wxPyMenu",SwigwxPyMenuTowxMenu
);
5325 SWIG_RegisterMapping("_class_wxMenu","_wxPyMenu",SwigwxPyMenuTowxMenu
);
5326 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
5327 SWIG_RegisterMapping("_unsigned_int","_size_t",0);
5328 SWIG_RegisterMapping("_unsigned_int","_uint",0);
5329 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
5330 SWIG_RegisterMapping("_unsigned_int","_int",0);
5331 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
5332 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
5333 SWIG_RegisterMapping("_class_wxPyMenu","_wxPyMenu",0);
5334 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
5335 SWIG_RegisterMapping("_short","_WXTYPE",0);
5336 SWIG_RegisterMapping("_short","_unsigned_short",0);
5337 SWIG_RegisterMapping("_short","_signed_short",0);
5338 SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0);
5339 SWIG_RegisterMapping("_wxWindowID","_size_t",0);
5340 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
5341 SWIG_RegisterMapping("_wxWindowID","_uint",0);
5342 SWIG_RegisterMapping("_wxWindowID","_int",0);
5343 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
5344 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
5345 SWIG_RegisterMapping("_int","_size_t",0);
5346 SWIG_RegisterMapping("_int","_EBool",0);
5347 SWIG_RegisterMapping("_int","_uint",0);
5348 SWIG_RegisterMapping("_int","_wxWindowID",0);
5349 SWIG_RegisterMapping("_int","_unsigned_int",0);
5350 SWIG_RegisterMapping("_int","_signed_int",0);
5351 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
5352 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
5353 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
5354 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
5355 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
5356 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
5357 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
5358 SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
5359 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
5360 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
5361 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
5362 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
5363 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
5364 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
5365 SWIG_RegisterMapping("_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
5366 SWIG_RegisterMapping("_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
5367 SWIG_RegisterMapping("_wxEvtHandler","_class_wxPyMenu",SwigwxPyMenuTowxEvtHandler
);
5368 SWIG_RegisterMapping("_wxEvtHandler","_wxPyMenu",SwigwxPyMenuTowxEvtHandler
);
5369 SWIG_RegisterMapping("_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
);
5370 SWIG_RegisterMapping("_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
);
5371 SWIG_RegisterMapping("_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
5372 SWIG_RegisterMapping("_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
5373 SWIG_RegisterMapping("_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
);
5374 SWIG_RegisterMapping("_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
);
5375 SWIG_RegisterMapping("_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
);
5376 SWIG_RegisterMapping("_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
);
5377 SWIG_RegisterMapping("_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
);
5378 SWIG_RegisterMapping("_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
);
5379 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
5380 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
5381 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
5382 SWIG_RegisterMapping("_wxDash","_long",0);
5383 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
5384 SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);
5385 SWIG_RegisterMapping("_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
5386 SWIG_RegisterMapping("_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
5387 SWIG_RegisterMapping("_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
);
5388 SWIG_RegisterMapping("_wxWindow","_wxDialog",SwigwxDialogTowxWindow
);
5389 SWIG_RegisterMapping("_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
);
5390 SWIG_RegisterMapping("_wxWindow","_wxPanel",SwigwxPanelTowxWindow
);
5391 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);