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_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
1037 static PyObject
*_wrap_wxWindow_GetReturnCode(PyObject
*self
, PyObject
*args
) {
1038 PyObject
* _resultobj
;
1044 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetReturnCode",&_argc0
))
1047 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetReturnCode. Expected _wxWindow_p.");
1053 wxPy_BEGIN_ALLOW_THREADS
;
1054 _result
= (int )wxWindow_GetReturnCode(_arg0
);
1056 wxPy_END_ALLOW_THREADS
;
1057 } _resultobj
= Py_BuildValue("i",_result
);
1061 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
1062 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*self
, PyObject
*args
) {
1063 PyObject
* _resultobj
;
1070 if(!PyArg_ParseTuple(args
,"si:wxWindow_GetScrollThumb",&_argc0
,&_arg1
))
1073 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
1079 wxPy_BEGIN_ALLOW_THREADS
;
1080 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
1082 wxPy_END_ALLOW_THREADS
;
1083 } _resultobj
= Py_BuildValue("i",_result
);
1087 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
1088 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
) {
1089 PyObject
* _resultobj
;
1096 if(!PyArg_ParseTuple(args
,"si:wxWindow_GetScrollPos",&_argc0
,&_arg1
))
1099 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
1105 wxPy_BEGIN_ALLOW_THREADS
;
1106 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
1108 wxPy_END_ALLOW_THREADS
;
1109 } _resultobj
= Py_BuildValue("i",_result
);
1113 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
1114 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*self
, PyObject
*args
) {
1115 PyObject
* _resultobj
;
1122 if(!PyArg_ParseTuple(args
,"si:wxWindow_GetScrollRange",&_argc0
,&_arg1
))
1125 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
1131 wxPy_BEGIN_ALLOW_THREADS
;
1132 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
1134 wxPy_END_ALLOW_THREADS
;
1135 } _resultobj
= Py_BuildValue("i",_result
);
1139 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
1140 static PyObject
*_wrap_wxWindow_GetSizeTuple(PyObject
*self
, PyObject
*args
) {
1141 PyObject
* _resultobj
;
1156 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetSizeTuple",&_argc0
))
1159 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
1165 wxPy_BEGIN_ALLOW_THREADS
;
1166 wxWindow_GetSizeTuple(_arg0
,_arg1
,_arg2
);
1168 wxPy_END_ALLOW_THREADS
;
1169 } Py_INCREF(Py_None
);
1170 _resultobj
= Py_None
;
1173 o
= PyInt_FromLong((long) (*_arg1
));
1174 _resultobj
= t_output_helper(_resultobj
, o
);
1178 o
= PyInt_FromLong((long) (*_arg2
));
1179 _resultobj
= t_output_helper(_resultobj
, o
);
1184 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
1185 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*self
, PyObject
*args
) {
1186 PyObject
* _resultobj
;
1193 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetSize",&_argc0
))
1196 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
1202 wxPy_BEGIN_ALLOW_THREADS
;
1203 _result
= new wxSize (wxWindow_GetSize(_arg0
));
1205 wxPy_END_ALLOW_THREADS
;
1206 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1207 _resultobj
= Py_BuildValue("s",_ptemp
);
1211 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
1212 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
) {
1213 PyObject
* _resultobj
;
1221 PyObject
* _obj1
= 0;
1230 if(!PyArg_ParseTuple(args
,"sO:wxWindow_GetTextExtent",&_argc0
,&_obj1
))
1233 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
1239 if (!PyString_Check(_obj1
)) {
1240 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1243 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1246 wxPy_BEGIN_ALLOW_THREADS
;
1247 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
1249 wxPy_END_ALLOW_THREADS
;
1250 } Py_INCREF(Py_None
);
1251 _resultobj
= Py_None
;
1254 o
= PyInt_FromLong((long) (*_arg2
));
1255 _resultobj
= t_output_helper(_resultobj
, o
);
1259 o
= PyInt_FromLong((long) (*_arg3
));
1260 _resultobj
= t_output_helper(_resultobj
, o
);
1269 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1270 static PyObject
*_wrap_wxWindow_GetFullTextExtent(PyObject
*self
, PyObject
*args
) {
1271 PyObject
* _resultobj
;
1282 wxFont
* _arg6
= NULL
;
1284 PyObject
* _obj1
= 0;
1300 if(!PyArg_ParseTuple(args
,"sO|s:wxWindow_GetFullTextExtent",&_argc0
,&_obj1
,&_argc6
))
1303 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
1309 if (!PyString_Check(_obj1
)) {
1310 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1313 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1316 if (SWIG_GetPtr(_argc6
,(void **) &_arg6
,"_wxFont_p")) {
1317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
1322 wxPy_BEGIN_ALLOW_THREADS
;
1323 wxWindow_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1325 wxPy_END_ALLOW_THREADS
;
1326 } Py_INCREF(Py_None
);
1327 _resultobj
= Py_None
;
1330 o
= PyInt_FromLong((long) (*_arg2
));
1331 _resultobj
= t_output_helper(_resultobj
, o
);
1335 o
= PyInt_FromLong((long) (*_arg3
));
1336 _resultobj
= t_output_helper(_resultobj
, o
);
1340 o
= PyInt_FromLong((long) (*_arg4
));
1341 _resultobj
= t_output_helper(_resultobj
, o
);
1345 o
= PyInt_FromLong((long) (*_arg5
));
1346 _resultobj
= t_output_helper(_resultobj
, o
);
1355 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
1356 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
) {
1357 PyObject
* _resultobj
;
1363 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetTitle",&_argc0
))
1366 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
1372 wxPy_BEGIN_ALLOW_THREADS
;
1373 _result
= new wxString (wxWindow_GetTitle(_arg0
));
1375 wxPy_END_ALLOW_THREADS
;
1377 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1385 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
1386 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
) {
1387 PyObject
* _resultobj
;
1393 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetWindowStyleFlag",&_argc0
))
1396 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
1402 wxPy_BEGIN_ALLOW_THREADS
;
1403 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
1405 wxPy_END_ALLOW_THREADS
;
1406 } _resultobj
= Py_BuildValue("l",_result
);
1410 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
1411 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
) {
1412 PyObject
* _resultobj
;
1417 if(!PyArg_ParseTuple(args
,"s:wxWindow_InitDialog",&_argc0
))
1420 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
1426 wxPy_BEGIN_ALLOW_THREADS
;
1427 wxWindow_InitDialog(_arg0
);
1429 wxPy_END_ALLOW_THREADS
;
1430 } Py_INCREF(Py_None
);
1431 _resultobj
= Py_None
;
1435 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
1436 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
) {
1437 PyObject
* _resultobj
;
1443 if(!PyArg_ParseTuple(args
,"s:wxWindow_IsEnabled",&_argc0
))
1446 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
1452 wxPy_BEGIN_ALLOW_THREADS
;
1453 _result
= (bool )wxWindow_IsEnabled(_arg0
);
1455 wxPy_END_ALLOW_THREADS
;
1456 } _resultobj
= Py_BuildValue("i",_result
);
1460 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
1461 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
) {
1462 PyObject
* _resultobj
;
1468 if(!PyArg_ParseTuple(args
,"s:wxWindow_IsRetained",&_argc0
))
1471 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
1477 wxPy_BEGIN_ALLOW_THREADS
;
1478 _result
= (bool )wxWindow_IsRetained(_arg0
);
1480 wxPy_END_ALLOW_THREADS
;
1481 } _resultobj
= Py_BuildValue("i",_result
);
1485 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
1486 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
) {
1487 PyObject
* _resultobj
;
1493 if(!PyArg_ParseTuple(args
,"s:wxWindow_IsShown",&_argc0
))
1496 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
1502 wxPy_BEGIN_ALLOW_THREADS
;
1503 _result
= (bool )wxWindow_IsShown(_arg0
);
1505 wxPy_END_ALLOW_THREADS
;
1506 } _resultobj
= Py_BuildValue("i",_result
);
1510 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
1511 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
) {
1512 PyObject
* _resultobj
;
1517 if(!PyArg_ParseTuple(args
,"s:wxWindow_Layout",&_argc0
))
1520 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
1526 wxPy_BEGIN_ALLOW_THREADS
;
1527 wxWindow_Layout(_arg0
);
1529 wxPy_END_ALLOW_THREADS
;
1530 } Py_INCREF(Py_None
);
1531 _resultobj
= Py_None
;
1535 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
1536 static PyObject
*_wrap_wxWindow_LoadFromResource(PyObject
*self
, PyObject
*args
) {
1537 PyObject
* _resultobj
;
1542 wxResourceTable
* _arg3
= NULL
;
1545 PyObject
* _obj2
= 0;
1549 if(!PyArg_ParseTuple(args
,"ssO|s:wxWindow_LoadFromResource",&_argc0
,&_argc1
,&_obj2
,&_argc3
))
1552 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
1558 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
1559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
1564 if (!PyString_Check(_obj2
)) {
1565 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1568 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
1571 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxResourceTable_p")) {
1572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
1577 wxPy_BEGIN_ALLOW_THREADS
;
1578 _result
= (bool )wxWindow_LoadFromResource(_arg0
,_arg1
,*_arg2
,_arg3
);
1580 wxPy_END_ALLOW_THREADS
;
1581 } _resultobj
= Py_BuildValue("i",_result
);
1589 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
1590 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
) {
1591 PyObject
* _resultobj
;
1596 if(!PyArg_ParseTuple(args
,"s:wxWindow_Lower",&_argc0
))
1599 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
1605 wxPy_BEGIN_ALLOW_THREADS
;
1606 wxWindow_Lower(_arg0
);
1608 wxPy_END_ALLOW_THREADS
;
1609 } Py_INCREF(Py_None
);
1610 _resultobj
= Py_None
;
1614 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
1615 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
) {
1616 PyObject
* _resultobj
;
1623 if(!PyArg_ParseTuple(args
,"si:wxWindow_MakeModal",&_argc0
,&tempbool1
))
1626 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
1631 _arg1
= (bool ) tempbool1
;
1633 wxPy_BEGIN_ALLOW_THREADS
;
1634 wxWindow_MakeModal(_arg0
,_arg1
);
1636 wxPy_END_ALLOW_THREADS
;
1637 } Py_INCREF(Py_None
);
1638 _resultobj
= Py_None
;
1642 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
1643 static PyObject
*_wrap_wxWindow_MoveXY(PyObject
*self
, PyObject
*args
) {
1644 PyObject
* _resultobj
;
1651 if(!PyArg_ParseTuple(args
,"sii:wxWindow_MoveXY",&_argc0
,&_arg1
,&_arg2
))
1654 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
1660 wxPy_BEGIN_ALLOW_THREADS
;
1661 wxWindow_MoveXY(_arg0
,_arg1
,_arg2
);
1663 wxPy_END_ALLOW_THREADS
;
1664 } Py_INCREF(Py_None
);
1665 _resultobj
= Py_None
;
1669 #define wxWindow_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
1670 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
) {
1671 PyObject
* _resultobj
;
1678 if(!PyArg_ParseTuple(args
,"ss:wxWindow_Move",&_argc0
,&_argc1
))
1681 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
1687 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
1688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Move. Expected _wxPoint_p.");
1693 wxPy_BEGIN_ALLOW_THREADS
;
1694 wxWindow_Move(_arg0
,*_arg1
);
1696 wxPy_END_ALLOW_THREADS
;
1697 } Py_INCREF(Py_None
);
1698 _resultobj
= Py_None
;
1702 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
1703 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
) {
1704 PyObject
* _resultobj
;
1714 if(!PyArg_ParseTuple(args
,"ssii:wxWindow_PopupMenu",&_argc0
,&_argc1
,&_arg2
,&_arg3
))
1717 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
1723 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxMenu_p")) {
1724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
1729 wxPy_BEGIN_ALLOW_THREADS
;
1730 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,_arg2
,_arg3
);
1732 wxPy_END_ALLOW_THREADS
;
1733 } _resultobj
= Py_BuildValue("i",_result
);
1737 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
1738 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
) {
1739 PyObject
* _resultobj
;
1744 if(!PyArg_ParseTuple(args
,"s:wxWindow_Raise",&_argc0
))
1747 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
1753 wxPy_BEGIN_ALLOW_THREADS
;
1754 wxWindow_Raise(_arg0
);
1756 wxPy_END_ALLOW_THREADS
;
1757 } Py_INCREF(Py_None
);
1758 _resultobj
= Py_None
;
1762 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
1763 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
) {
1764 PyObject
* _resultobj
;
1767 wxRect
* _arg2
= NULL
;
1773 if(!PyArg_ParseTuple(args
,"s|is:wxWindow_Refresh",&_argc0
,&tempbool1
,&_argc2
))
1776 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
1781 _arg1
= (bool ) tempbool1
;
1783 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxRect_p")) {
1784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxWindow_Refresh. Expected _wxRect_p.");
1789 wxPy_BEGIN_ALLOW_THREADS
;
1790 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
1792 wxPy_END_ALLOW_THREADS
;
1793 } Py_INCREF(Py_None
);
1794 _resultobj
= Py_None
;
1798 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
1799 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
) {
1800 PyObject
* _resultobj
;
1805 if(!PyArg_ParseTuple(args
,"s:wxWindow_ReleaseMouse",&_argc0
))
1808 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
1814 wxPy_BEGIN_ALLOW_THREADS
;
1815 wxWindow_ReleaseMouse(_arg0
);
1817 wxPy_END_ALLOW_THREADS
;
1818 } Py_INCREF(Py_None
);
1819 _resultobj
= Py_None
;
1823 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
1824 static PyObject
*_wrap_wxWindow_ScreenToClientXY(PyObject
*self
, PyObject
*args
) {
1825 PyObject
* _resultobj
;
1831 PyObject
* _obj1
= 0;
1833 PyObject
* _obj2
= 0;
1836 if(!PyArg_ParseTuple(args
,"sOO:wxWindow_ScreenToClientXY",&_argc0
,&_obj1
,&_obj2
))
1839 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
1845 temp
= (int) PyInt_AsLong(_obj1
);
1849 temp0
= (int) PyInt_AsLong(_obj2
);
1853 wxPy_BEGIN_ALLOW_THREADS
;
1854 wxWindow_ScreenToClientXY(_arg0
,_arg1
,_arg2
);
1856 wxPy_END_ALLOW_THREADS
;
1857 } Py_INCREF(Py_None
);
1858 _resultobj
= Py_None
;
1861 o
= PyInt_FromLong((long) (*_arg1
));
1862 _resultobj
= t_output_helper(_resultobj
, o
);
1866 o
= PyInt_FromLong((long) (*_arg2
));
1867 _resultobj
= t_output_helper(_resultobj
, o
);
1872 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
1873 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
) {
1874 PyObject
* _resultobj
;
1878 wxRect
* _arg3
= NULL
;
1883 if(!PyArg_ParseTuple(args
,"sii|s:wxWindow_ScrollWindow",&_argc0
,&_arg1
,&_arg2
,&_argc3
))
1886 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
1892 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxRect_p")) {
1893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_ScrollWindow. Expected _wxRect_p.");
1898 wxPy_BEGIN_ALLOW_THREADS
;
1899 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
1901 wxPy_END_ALLOW_THREADS
;
1902 } Py_INCREF(Py_None
);
1903 _resultobj
= Py_None
;
1907 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
1908 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
) {
1909 PyObject
* _resultobj
;
1911 wxAcceleratorTable
* _arg1
;
1916 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetAcceleratorTable",&_argc0
,&_argc1
))
1919 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
1925 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
1926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
1931 wxPy_BEGIN_ALLOW_THREADS
;
1932 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
1934 wxPy_END_ALLOW_THREADS
;
1935 } Py_INCREF(Py_None
);
1936 _resultobj
= Py_None
;
1940 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
1941 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
) {
1942 PyObject
* _resultobj
;
1949 if(!PyArg_ParseTuple(args
,"si:wxWindow_SetAutoLayout",&_argc0
,&tempbool1
))
1952 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
1957 _arg1
= (bool ) tempbool1
;
1959 wxPy_BEGIN_ALLOW_THREADS
;
1960 wxWindow_SetAutoLayout(_arg0
,_arg1
);
1962 wxPy_END_ALLOW_THREADS
;
1963 } Py_INCREF(Py_None
);
1964 _resultobj
= Py_None
;
1968 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1969 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
) {
1970 PyObject
* _resultobj
;
1977 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetBackgroundColour",&_argc0
,&_argc1
))
1980 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
1986 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
1987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetBackgroundColour. Expected _wxColour_p.");
1992 wxPy_BEGIN_ALLOW_THREADS
;
1993 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
1995 wxPy_END_ALLOW_THREADS
;
1996 } Py_INCREF(Py_None
);
1997 _resultobj
= Py_None
;
2001 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
2002 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
) {
2003 PyObject
* _resultobj
;
2005 wxLayoutConstraints
* _arg1
;
2010 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetConstraints",&_argc0
,&_argc1
))
2013 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
2019 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
2020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
2025 wxPy_BEGIN_ALLOW_THREADS
;
2026 wxWindow_SetConstraints(_arg0
,_arg1
);
2028 wxPy_END_ALLOW_THREADS
;
2029 } Py_INCREF(Py_None
);
2030 _resultobj
= Py_None
;
2034 #define wxWindow_SetDoubleClick(_swigobj,_swigarg0) (_swigobj->SetDoubleClick(_swigarg0))
2035 static PyObject
*_wrap_wxWindow_SetDoubleClick(PyObject
*self
, PyObject
*args
) {
2036 PyObject
* _resultobj
;
2043 if(!PyArg_ParseTuple(args
,"si:wxWindow_SetDoubleClick",&_argc0
,&tempbool1
))
2046 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDoubleClick. Expected _wxWindow_p.");
2051 _arg1
= (bool ) tempbool1
;
2053 wxPy_BEGIN_ALLOW_THREADS
;
2054 wxWindow_SetDoubleClick(_arg0
,_arg1
);
2056 wxPy_END_ALLOW_THREADS
;
2057 } Py_INCREF(Py_None
);
2058 _resultobj
= Py_None
;
2062 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
2063 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
) {
2064 PyObject
* _resultobj
;
2069 if(!PyArg_ParseTuple(args
,"s:wxWindow_SetFocus",&_argc0
))
2072 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
2078 wxPy_BEGIN_ALLOW_THREADS
;
2079 wxWindow_SetFocus(_arg0
);
2081 wxPy_END_ALLOW_THREADS
;
2082 } Py_INCREF(Py_None
);
2083 _resultobj
= Py_None
;
2087 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
2088 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
) {
2089 PyObject
* _resultobj
;
2096 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetFont",&_argc0
,&_argc1
))
2099 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
2105 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxFont_p")) {
2106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
2111 wxPy_BEGIN_ALLOW_THREADS
;
2112 wxWindow_SetFont(_arg0
,*_arg1
);
2114 wxPy_END_ALLOW_THREADS
;
2115 } Py_INCREF(Py_None
);
2116 _resultobj
= Py_None
;
2120 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
2121 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
) {
2122 PyObject
* _resultobj
;
2129 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetForegroundColour",&_argc0
,&_argc1
))
2132 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
2138 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
2139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetForegroundColour. Expected _wxColour_p.");
2144 wxPy_BEGIN_ALLOW_THREADS
;
2145 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
2147 wxPy_END_ALLOW_THREADS
;
2148 } Py_INCREF(Py_None
);
2149 _resultobj
= Py_None
;
2153 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
2154 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
) {
2155 PyObject
* _resultobj
;
2161 if(!PyArg_ParseTuple(args
,"si:wxWindow_SetId",&_argc0
,&_arg1
))
2164 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
2170 wxPy_BEGIN_ALLOW_THREADS
;
2171 wxWindow_SetId(_arg0
,_arg1
);
2173 wxPy_END_ALLOW_THREADS
;
2174 } Py_INCREF(Py_None
);
2175 _resultobj
= Py_None
;
2179 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
2180 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
) {
2181 PyObject
* _resultobj
;
2185 PyObject
* _obj1
= 0;
2188 if(!PyArg_ParseTuple(args
,"sO:wxWindow_SetName",&_argc0
,&_obj1
))
2191 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
2197 if (!PyString_Check(_obj1
)) {
2198 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2201 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2204 wxPy_BEGIN_ALLOW_THREADS
;
2205 wxWindow_SetName(_arg0
,*_arg1
);
2207 wxPy_END_ALLOW_THREADS
;
2208 } Py_INCREF(Py_None
);
2209 _resultobj
= Py_None
;
2217 #define wxWindow_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
2218 static PyObject
*_wrap_wxWindow_SetReturnCode(PyObject
*self
, PyObject
*args
) {
2219 PyObject
* _resultobj
;
2225 if(!PyArg_ParseTuple(args
,"si:wxWindow_SetReturnCode",&_argc0
,&_arg1
))
2228 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetReturnCode. Expected _wxWindow_p.");
2234 wxPy_BEGIN_ALLOW_THREADS
;
2235 wxWindow_SetReturnCode(_arg0
,_arg1
);
2237 wxPy_END_ALLOW_THREADS
;
2238 } Py_INCREF(Py_None
);
2239 _resultobj
= Py_None
;
2243 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2244 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
) {
2245 PyObject
* _resultobj
;
2256 if(!PyArg_ParseTuple(args
,"siiii|i:wxWindow_SetScrollbar",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
2259 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
2264 _arg5
= (bool ) tempbool5
;
2266 wxPy_BEGIN_ALLOW_THREADS
;
2267 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2269 wxPy_END_ALLOW_THREADS
;
2270 } Py_INCREF(Py_None
);
2271 _resultobj
= Py_None
;
2275 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
2276 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
) {
2277 PyObject
* _resultobj
;
2286 if(!PyArg_ParseTuple(args
,"sii|i:wxWindow_SetScrollPos",&_argc0
,&_arg1
,&_arg2
,&tempbool3
))
2289 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
2294 _arg3
= (bool ) tempbool3
;
2296 wxPy_BEGIN_ALLOW_THREADS
;
2297 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
2299 wxPy_END_ALLOW_THREADS
;
2300 } Py_INCREF(Py_None
);
2301 _resultobj
= Py_None
;
2305 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2306 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
) {
2307 PyObject
* _resultobj
;
2313 int _arg5
= (wxSIZE_AUTO
);
2317 if(!PyArg_ParseTuple(args
,"siiii|i:wxWindow_SetDimensions",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2320 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
2326 wxPy_BEGIN_ALLOW_THREADS
;
2327 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2329 wxPy_END_ALLOW_THREADS
;
2330 } Py_INCREF(Py_None
);
2331 _resultobj
= Py_None
;
2335 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
2336 self
->SetSize(size
.x
, size
.y
);
2338 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
) {
2339 PyObject
* _resultobj
;
2346 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetSize",&_argc0
,&_argc1
))
2349 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
2355 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
2356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSize. Expected _wxSize_p.");
2361 wxPy_BEGIN_ALLOW_THREADS
;
2362 wxWindow_SetSize(_arg0
,*_arg1
);
2364 wxPy_END_ALLOW_THREADS
;
2365 } Py_INCREF(Py_None
);
2366 _resultobj
= Py_None
;
2370 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
) {
2371 self
->SetSize(pos
.x
, pos
.y
, -1, -1);
2373 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
) {
2374 PyObject
* _resultobj
;
2381 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetPosition",&_argc0
,&_argc1
))
2384 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
2390 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
2391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetPosition. Expected _wxPoint_p.");
2396 wxPy_BEGIN_ALLOW_THREADS
;
2397 wxWindow_SetPosition(_arg0
,*_arg1
);
2399 wxPy_END_ALLOW_THREADS
;
2400 } Py_INCREF(Py_None
);
2401 _resultobj
= Py_None
;
2405 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2406 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
) {
2407 PyObject
* _resultobj
;
2418 if(!PyArg_ParseTuple(args
,"s|iiiiii:wxWindow_SetSizeHints",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
2421 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
2427 wxPy_BEGIN_ALLOW_THREADS
;
2428 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2430 wxPy_END_ALLOW_THREADS
;
2431 } Py_INCREF(Py_None
);
2432 _resultobj
= Py_None
;
2436 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
2437 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
) {
2438 PyObject
* _resultobj
;
2445 if(!PyArg_ParseTuple(args
,"sii:wxWindow_SetClientSizeWH",&_argc0
,&_arg1
,&_arg2
))
2448 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
2454 wxPy_BEGIN_ALLOW_THREADS
;
2455 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
2457 wxPy_END_ALLOW_THREADS
;
2458 } Py_INCREF(Py_None
);
2459 _resultobj
= Py_None
;
2463 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
2464 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
) {
2465 PyObject
* _resultobj
;
2472 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetClientSize",&_argc0
,&_argc1
))
2475 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
2481 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
2482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetClientSize. Expected _wxSize_p.");
2487 wxPy_BEGIN_ALLOW_THREADS
;
2488 wxWindow_SetClientSize(_arg0
,*_arg1
);
2490 wxPy_END_ALLOW_THREADS
;
2491 } Py_INCREF(Py_None
);
2492 _resultobj
= Py_None
;
2496 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
2497 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
) {
2498 PyObject
* _resultobj
;
2505 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetCursor",&_argc0
,&_argc1
))
2508 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
2514 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxCursor_p")) {
2515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
2520 wxPy_BEGIN_ALLOW_THREADS
;
2521 wxWindow_SetCursor(_arg0
,*_arg1
);
2523 wxPy_END_ALLOW_THREADS
;
2524 } Py_INCREF(Py_None
);
2525 _resultobj
= Py_None
;
2529 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
2530 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
) {
2531 PyObject
* _resultobj
;
2535 PyObject
* _obj1
= 0;
2538 if(!PyArg_ParseTuple(args
,"sO:wxWindow_SetTitle",&_argc0
,&_obj1
))
2541 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
2547 if (!PyString_Check(_obj1
)) {
2548 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2551 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2554 wxPy_BEGIN_ALLOW_THREADS
;
2555 wxWindow_SetTitle(_arg0
,*_arg1
);
2557 wxPy_END_ALLOW_THREADS
;
2558 } Py_INCREF(Py_None
);
2559 _resultobj
= Py_None
;
2567 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
2568 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
) {
2569 PyObject
* _resultobj
;
2577 if(!PyArg_ParseTuple(args
,"si:wxWindow_Show",&_argc0
,&tempbool1
))
2580 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
2585 _arg1
= (bool ) tempbool1
;
2587 wxPy_BEGIN_ALLOW_THREADS
;
2588 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
2590 wxPy_END_ALLOW_THREADS
;
2591 } _resultobj
= Py_BuildValue("i",_result
);
2595 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
2596 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
) {
2597 PyObject
* _resultobj
;
2603 if(!PyArg_ParseTuple(args
,"s:wxWindow_TransferDataFromWindow",&_argc0
))
2606 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
2612 wxPy_BEGIN_ALLOW_THREADS
;
2613 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
2615 wxPy_END_ALLOW_THREADS
;
2616 } _resultobj
= Py_BuildValue("i",_result
);
2620 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
2621 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
) {
2622 PyObject
* _resultobj
;
2628 if(!PyArg_ParseTuple(args
,"s:wxWindow_TransferDataToWindow",&_argc0
))
2631 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
2637 wxPy_BEGIN_ALLOW_THREADS
;
2638 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
2640 wxPy_END_ALLOW_THREADS
;
2641 } _resultobj
= Py_BuildValue("i",_result
);
2645 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
2646 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
) {
2647 PyObject
* _resultobj
;
2653 if(!PyArg_ParseTuple(args
,"s:wxWindow_Validate",&_argc0
))
2656 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
2662 wxPy_BEGIN_ALLOW_THREADS
;
2663 _result
= (bool )wxWindow_Validate(_arg0
);
2665 wxPy_END_ALLOW_THREADS
;
2666 } _resultobj
= Py_BuildValue("i",_result
);
2670 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
2671 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
) {
2672 PyObject
* _resultobj
;
2679 if(!PyArg_ParseTuple(args
,"sii:wxWindow_WarpPointer",&_argc0
,&_arg1
,&_arg2
))
2682 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
2688 wxPy_BEGIN_ALLOW_THREADS
;
2689 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
2691 wxPy_END_ALLOW_THREADS
;
2692 } Py_INCREF(Py_None
);
2693 _resultobj
= Py_None
;
2697 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
2698 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
) {
2699 PyObject
* _resultobj
;
2708 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ConvertDialogPointToPixels",&_argc0
,&_argc1
))
2711 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
2717 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
2718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertDialogPointToPixels. Expected _wxPoint_p.");
2723 wxPy_BEGIN_ALLOW_THREADS
;
2724 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
2726 wxPy_END_ALLOW_THREADS
;
2727 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2728 _resultobj
= Py_BuildValue("s",_ptemp
);
2732 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
2733 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
) {
2734 PyObject
* _resultobj
;
2743 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ConvertDialogSizeToPixels",&_argc0
,&_argc1
))
2746 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
2752 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
2753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertDialogSizeToPixels. Expected _wxSize_p.");
2758 wxPy_BEGIN_ALLOW_THREADS
;
2759 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
2761 wxPy_END_ALLOW_THREADS
;
2762 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2763 _resultobj
= Py_BuildValue("s",_ptemp
);
2767 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
2768 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
) {
2769 PyObject
* _resultobj
;
2778 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ConvertPixelPointToDialog",&_argc0
,&_argc1
))
2781 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
2787 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
2788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertPixelPointToDialog. Expected _wxPoint_p.");
2793 wxPy_BEGIN_ALLOW_THREADS
;
2794 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
2796 wxPy_END_ALLOW_THREADS
;
2797 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2798 _resultobj
= Py_BuildValue("s",_ptemp
);
2802 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
2803 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
) {
2804 PyObject
* _resultobj
;
2813 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ConvertPixelSizeToDialog",&_argc0
,&_argc1
))
2816 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
2822 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
2823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertPixelSizeToDialog. Expected _wxSize_p.");
2828 wxPy_BEGIN_ALLOW_THREADS
;
2829 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
2831 wxPy_END_ALLOW_THREADS
;
2832 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2833 _resultobj
= Py_BuildValue("s",_ptemp
);
2837 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
2838 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
) {
2839 PyObject
* _resultobj
;
2843 PyObject
* _obj1
= 0;
2846 if(!PyArg_ParseTuple(args
,"sO:wxWindow_SetToolTipString",&_argc0
,&_obj1
))
2849 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
2855 if (!PyString_Check(_obj1
)) {
2856 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2859 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2862 wxPy_BEGIN_ALLOW_THREADS
;
2863 wxWindow_SetToolTipString(_arg0
,*_arg1
);
2865 wxPy_END_ALLOW_THREADS
;
2866 } Py_INCREF(Py_None
);
2867 _resultobj
= Py_None
;
2875 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
2876 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
) {
2877 PyObject
* _resultobj
;
2884 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetToolTip",&_argc0
,&_argc1
))
2887 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
2893 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxToolTip_p")) {
2894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
2899 wxPy_BEGIN_ALLOW_THREADS
;
2900 wxWindow_SetToolTip(_arg0
,_arg1
);
2902 wxPy_END_ALLOW_THREADS
;
2903 } Py_INCREF(Py_None
);
2904 _resultobj
= Py_None
;
2908 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
2909 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
) {
2910 PyObject
* _resultobj
;
2911 wxToolTip
* _result
;
2917 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetToolTip",&_argc0
))
2920 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
2926 wxPy_BEGIN_ALLOW_THREADS
;
2927 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
2929 wxPy_END_ALLOW_THREADS
;
2930 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
2931 _resultobj
= Py_BuildValue("s",_ptemp
);
2935 static void *SwigwxPanelTowxWindow(void *ptr
) {
2938 src
= (wxPanel
*) ptr
;
2939 dest
= (wxWindow
*) src
;
2940 return (void *) dest
;
2943 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
2946 src
= (wxPanel
*) ptr
;
2947 dest
= (wxEvtHandler
*) src
;
2948 return (void *) dest
;
2951 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2952 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
) {
2953 PyObject
* _resultobj
;
2957 wxPoint
* _arg2
= &wxPyDefaultPosition
;
2958 wxSize
* _arg3
= &wxPyDefaultSize
;
2959 long _arg4
= (wxTAB_TRAVERSAL
);
2960 char * _arg5
= "panel";
2967 if(!PyArg_ParseTuple(args
,"si|ssls:new_wxPanel",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
2970 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
2976 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
2977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPanel. Expected _wxPoint_p.");
2982 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
2983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxPanel. Expected _wxSize_p.");
2988 wxPy_BEGIN_ALLOW_THREADS
;
2989 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
2991 wxPy_END_ALLOW_THREADS
;
2992 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
2993 _resultobj
= Py_BuildValue("s",_ptemp
);
2997 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
2998 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
) {
2999 PyObject
* _resultobj
;
3004 if(!PyArg_ParseTuple(args
,"s:wxPanel_InitDialog",&_argc0
))
3007 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPanel_p")) {
3008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
3013 wxPy_BEGIN_ALLOW_THREADS
;
3014 wxPanel_InitDialog(_arg0
);
3016 wxPy_END_ALLOW_THREADS
;
3017 } Py_INCREF(Py_None
);
3018 _resultobj
= Py_None
;
3022 static void *SwigwxDialogTowxPanel(void *ptr
) {
3025 src
= (wxDialog
*) ptr
;
3026 dest
= (wxPanel
*) src
;
3027 return (void *) dest
;
3030 static void *SwigwxDialogTowxWindow(void *ptr
) {
3033 src
= (wxDialog
*) ptr
;
3034 dest
= (wxWindow
*) src
;
3035 return (void *) dest
;
3038 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
3041 src
= (wxDialog
*) ptr
;
3042 dest
= (wxEvtHandler
*) src
;
3043 return (void *) dest
;
3046 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3047 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
) {
3048 PyObject
* _resultobj
;
3053 wxPoint
* _arg3
= &wxPyDefaultPosition
;
3054 wxSize
* _arg4
= &wxPyDefaultSize
;
3055 long _arg5
= (wxDEFAULT_DIALOG_STYLE
);
3056 char * _arg6
= "dialogBox";
3058 PyObject
* _obj2
= 0;
3064 if(!PyArg_ParseTuple(args
,"siO|ssls:new_wxDialog",&_argc0
,&_arg1
,&_obj2
,&_argc3
,&_argc4
,&_arg5
,&_arg6
))
3067 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
3068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
3073 if (!PyString_Check(_obj2
)) {
3074 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3077 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
3080 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxPoint_p")) {
3081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxDialog. Expected _wxPoint_p.");
3086 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_wxSize_p")) {
3087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxDialog. Expected _wxSize_p.");
3092 wxPy_BEGIN_ALLOW_THREADS
;
3093 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
3095 wxPy_END_ALLOW_THREADS
;
3096 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
3097 _resultobj
= Py_BuildValue("s",_ptemp
);
3105 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
3106 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
) {
3107 PyObject
* _resultobj
;
3109 int _arg1
= (wxBOTH
);
3113 if(!PyArg_ParseTuple(args
,"s|i:wxDialog_Centre",&_argc0
,&_arg1
))
3116 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
3122 wxPy_BEGIN_ALLOW_THREADS
;
3123 wxDialog_Centre(_arg0
,_arg1
);
3125 wxPy_END_ALLOW_THREADS
;
3126 } Py_INCREF(Py_None
);
3127 _resultobj
= Py_None
;
3131 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
3132 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
) {
3133 PyObject
* _resultobj
;
3139 if(!PyArg_ParseTuple(args
,"si:wxDialog_EndModal",&_argc0
,&_arg1
))
3142 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
3148 wxPy_BEGIN_ALLOW_THREADS
;
3149 wxDialog_EndModal(_arg0
,_arg1
);
3151 wxPy_END_ALLOW_THREADS
;
3152 } Py_INCREF(Py_None
);
3153 _resultobj
= Py_None
;
3157 #define wxDialog_GetTitle(_swigobj) (_swigobj->GetTitle())
3158 static PyObject
*_wrap_wxDialog_GetTitle(PyObject
*self
, PyObject
*args
) {
3159 PyObject
* _resultobj
;
3165 if(!PyArg_ParseTuple(args
,"s:wxDialog_GetTitle",&_argc0
))
3168 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetTitle. Expected _wxDialog_p.");
3174 wxPy_BEGIN_ALLOW_THREADS
;
3175 _result
= new wxString (wxDialog_GetTitle(_arg0
));
3177 wxPy_END_ALLOW_THREADS
;
3179 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3187 #define wxDialog_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
3188 static PyObject
*_wrap_wxDialog_Iconize(PyObject
*self
, PyObject
*args
) {
3189 PyObject
* _resultobj
;
3196 if(!PyArg_ParseTuple(args
,"si:wxDialog_Iconize",&_argc0
,&tempbool1
))
3199 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Iconize. Expected _wxDialog_p.");
3204 _arg1
= (bool ) tempbool1
;
3206 wxPy_BEGIN_ALLOW_THREADS
;
3207 wxDialog_Iconize(_arg0
,_arg1
);
3209 wxPy_END_ALLOW_THREADS
;
3210 } Py_INCREF(Py_None
);
3211 _resultobj
= Py_None
;
3215 #define wxDialog_IsIconized(_swigobj) (_swigobj->IsIconized())
3216 static PyObject
*_wrap_wxDialog_IsIconized(PyObject
*self
, PyObject
*args
) {
3217 PyObject
* _resultobj
;
3223 if(!PyArg_ParseTuple(args
,"s:wxDialog_IsIconized",&_argc0
))
3226 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsIconized. Expected _wxDialog_p.");
3232 wxPy_BEGIN_ALLOW_THREADS
;
3233 _result
= (bool )wxDialog_IsIconized(_arg0
);
3235 wxPy_END_ALLOW_THREADS
;
3236 } _resultobj
= Py_BuildValue("i",_result
);
3240 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
3241 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
) {
3242 PyObject
* _resultobj
;
3249 if(!PyArg_ParseTuple(args
,"si:wxDialog_SetModal",&_argc0
,&tempbool1
))
3252 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
3257 _arg1
= (bool ) tempbool1
;
3259 wxPy_BEGIN_ALLOW_THREADS
;
3260 wxDialog_SetModal(_arg0
,_arg1
);
3262 wxPy_END_ALLOW_THREADS
;
3263 } Py_INCREF(Py_None
);
3264 _resultobj
= Py_None
;
3268 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
3269 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
) {
3270 PyObject
* _resultobj
;
3276 if(!PyArg_ParseTuple(args
,"s:wxDialog_IsModal",&_argc0
))
3279 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
3285 wxPy_BEGIN_ALLOW_THREADS
;
3286 _result
= (bool )wxDialog_IsModal(_arg0
);
3288 wxPy_END_ALLOW_THREADS
;
3289 } _resultobj
= Py_BuildValue("i",_result
);
3293 #define wxDialog_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
3294 static PyObject
*_wrap_wxDialog_SetTitle(PyObject
*self
, PyObject
*args
) {
3295 PyObject
* _resultobj
;
3299 PyObject
* _obj1
= 0;
3302 if(!PyArg_ParseTuple(args
,"sO:wxDialog_SetTitle",&_argc0
,&_obj1
))
3305 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetTitle. Expected _wxDialog_p.");
3311 if (!PyString_Check(_obj1
)) {
3312 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3315 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3318 wxPy_BEGIN_ALLOW_THREADS
;
3319 wxDialog_SetTitle(_arg0
,*_arg1
);
3321 wxPy_END_ALLOW_THREADS
;
3322 } Py_INCREF(Py_None
);
3323 _resultobj
= Py_None
;
3331 #define wxDialog_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3332 static PyObject
*_wrap_wxDialog_Show(PyObject
*self
, PyObject
*args
) {
3333 PyObject
* _resultobj
;
3341 if(!PyArg_ParseTuple(args
,"si:wxDialog_Show",&_argc0
,&tempbool1
))
3344 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Show. Expected _wxDialog_p.");
3349 _arg1
= (bool ) tempbool1
;
3351 wxPy_BEGIN_ALLOW_THREADS
;
3352 _result
= (bool )wxDialog_Show(_arg0
,_arg1
);
3354 wxPy_END_ALLOW_THREADS
;
3355 } _resultobj
= Py_BuildValue("i",_result
);
3359 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
3360 static PyObject
*_wrap_wxDialog_ShowModal(PyObject
*self
, PyObject
*args
) {
3361 PyObject
* _resultobj
;
3367 if(!PyArg_ParseTuple(args
,"s:wxDialog_ShowModal",&_argc0
))
3370 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
3376 wxPy_BEGIN_ALLOW_THREADS
;
3377 _result
= (int )wxDialog_ShowModal(_arg0
);
3379 wxPy_END_ALLOW_THREADS
;
3380 } _resultobj
= Py_BuildValue("i",_result
);
3384 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
3385 wxScrolledWindow
*src
;
3387 src
= (wxScrolledWindow
*) ptr
;
3388 dest
= (wxWindow
*) src
;
3389 return (void *) dest
;
3392 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
3393 wxScrolledWindow
*src
;
3395 src
= (wxScrolledWindow
*) ptr
;
3396 dest
= (wxEvtHandler
*) src
;
3397 return (void *) dest
;
3400 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3401 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
) {
3402 PyObject
* _resultobj
;
3403 wxScrolledWindow
* _result
;
3405 wxWindowID _arg1
= -1;
3406 wxPoint
* _arg2
= &wxPyDefaultPosition
;
3407 wxSize
* _arg3
= &wxPyDefaultSize
;
3408 long _arg4
= (wxHSCROLL
)|(wxVSCROLL
);
3409 char * _arg5
= "scrolledWindow";
3416 if(!PyArg_ParseTuple(args
,"s|issls:new_wxScrolledWindow",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
3419 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
3420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
3425 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
3426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxScrolledWindow. Expected _wxPoint_p.");
3431 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
3432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxScrolledWindow. Expected _wxSize_p.");
3437 wxPy_BEGIN_ALLOW_THREADS
;
3438 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
3440 wxPy_END_ALLOW_THREADS
;
3441 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
3442 _resultobj
= Py_BuildValue("s",_ptemp
);
3446 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
3447 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
) {
3448 PyObject
* _resultobj
;
3449 wxScrolledWindow
* _arg0
;
3457 if(!PyArg_ParseTuple(args
,"sii:wxScrolledWindow_EnableScrolling",&_argc0
,&tempbool1
,&tempbool2
))
3460 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
3465 _arg1
= (bool ) tempbool1
;
3466 _arg2
= (bool ) tempbool2
;
3468 wxPy_BEGIN_ALLOW_THREADS
;
3469 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
3471 wxPy_END_ALLOW_THREADS
;
3472 } Py_INCREF(Py_None
);
3473 _resultobj
= Py_None
;
3477 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
3478 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
) {
3479 PyObject
* _resultobj
;
3480 wxScrolledWindow
* _arg0
;
3494 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_GetScrollPixelsPerUnit",&_argc0
))
3497 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
3503 wxPy_BEGIN_ALLOW_THREADS
;
3504 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
3506 wxPy_END_ALLOW_THREADS
;
3507 } Py_INCREF(Py_None
);
3508 _resultobj
= Py_None
;
3511 o
= PyInt_FromLong((long) (*_arg1
));
3512 _resultobj
= t_output_helper(_resultobj
, o
);
3516 o
= PyInt_FromLong((long) (*_arg2
));
3517 _resultobj
= t_output_helper(_resultobj
, o
);
3522 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
3523 static PyObject
*_wrap_wxScrolledWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
) {
3524 PyObject
* _resultobj
;
3525 wxScrolledWindow
* _arg0
;
3539 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_GetVirtualSize",&_argc0
))
3542 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
3548 wxPy_BEGIN_ALLOW_THREADS
;
3549 wxScrolledWindow_GetVirtualSize(_arg0
,_arg1
,_arg2
);
3551 wxPy_END_ALLOW_THREADS
;
3552 } Py_INCREF(Py_None
);
3553 _resultobj
= Py_None
;
3556 o
= PyInt_FromLong((long) (*_arg1
));
3557 _resultobj
= t_output_helper(_resultobj
, o
);
3561 o
= PyInt_FromLong((long) (*_arg2
));
3562 _resultobj
= t_output_helper(_resultobj
, o
);
3567 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
3568 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
) {
3569 PyObject
* _resultobj
;
3571 wxScrolledWindow
* _arg0
;
3575 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_IsRetained",&_argc0
))
3578 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
3584 wxPy_BEGIN_ALLOW_THREADS
;
3585 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
3587 wxPy_END_ALLOW_THREADS
;
3588 } _resultobj
= Py_BuildValue("i",_result
);
3592 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
3593 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
) {
3594 PyObject
* _resultobj
;
3595 wxScrolledWindow
* _arg0
;
3601 if(!PyArg_ParseTuple(args
,"ss:wxScrolledWindow_PrepareDC",&_argc0
,&_argc1
))
3604 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
3610 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxDC_p")) {
3611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
3616 wxPy_BEGIN_ALLOW_THREADS
;
3617 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
3619 wxPy_END_ALLOW_THREADS
;
3620 } Py_INCREF(Py_None
);
3621 _resultobj
= Py_None
;
3625 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
3626 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
) {
3627 PyObject
* _resultobj
;
3628 wxScrolledWindow
* _arg0
;
3634 if(!PyArg_ParseTuple(args
,"sii:wxScrolledWindow_Scroll",&_argc0
,&_arg1
,&_arg2
))
3637 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
3643 wxPy_BEGIN_ALLOW_THREADS
;
3644 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
3646 wxPy_END_ALLOW_THREADS
;
3647 } Py_INCREF(Py_None
);
3648 _resultobj
= Py_None
;
3652 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3653 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
) {
3654 PyObject
* _resultobj
;
3655 wxScrolledWindow
* _arg0
;
3665 if(!PyArg_ParseTuple(args
,"siiii|ii:wxScrolledWindow_SetScrollbars",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3668 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
3674 wxPy_BEGIN_ALLOW_THREADS
;
3675 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3677 wxPy_END_ALLOW_THREADS
;
3678 } Py_INCREF(Py_None
);
3679 _resultobj
= Py_None
;
3683 #define wxScrolledWindow_ViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->ViewStart(_swigarg0,_swigarg1))
3684 static PyObject
*_wrap_wxScrolledWindow_ViewStart(PyObject
*self
, PyObject
*args
) {
3685 PyObject
* _resultobj
;
3686 wxScrolledWindow
* _arg0
;
3700 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_ViewStart",&_argc0
))
3703 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_ViewStart. Expected _wxScrolledWindow_p.");
3709 wxPy_BEGIN_ALLOW_THREADS
;
3710 wxScrolledWindow_ViewStart(_arg0
,_arg1
,_arg2
);
3712 wxPy_END_ALLOW_THREADS
;
3713 } Py_INCREF(Py_None
);
3714 _resultobj
= Py_None
;
3717 o
= PyInt_FromLong((long) (*_arg1
));
3718 _resultobj
= t_output_helper(_resultobj
, o
);
3722 o
= PyInt_FromLong((long) (*_arg2
));
3723 _resultobj
= t_output_helper(_resultobj
, o
);
3728 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
3731 src
= (wxMenu
*) ptr
;
3732 dest
= (wxEvtHandler
*) src
;
3733 return (void *) dest
;
3736 #define new_wxMenu(_swigarg0) (new wxMenu(_swigarg0))
3737 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
) {
3738 PyObject
* _resultobj
;
3740 wxString
* _arg0
= &wxPyEmptyStr
;
3741 PyObject
* _obj0
= 0;
3745 if(!PyArg_ParseTuple(args
,"|O:new_wxMenu",&_obj0
))
3749 if (!PyString_Check(_obj0
)) {
3750 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3753 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
3756 wxPy_BEGIN_ALLOW_THREADS
;
3757 _result
= (wxMenu
*)new_wxMenu(*_arg0
);
3759 wxPy_END_ALLOW_THREADS
;
3760 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
3761 _resultobj
= Py_BuildValue("s",_ptemp
);
3769 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3770 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
) {
3771 PyObject
* _resultobj
;
3775 wxString
* _arg3
= &wxPyEmptyStr
;
3778 PyObject
* _obj2
= 0;
3779 PyObject
* _obj3
= 0;
3782 if(!PyArg_ParseTuple(args
,"siO|Oi:wxMenu_Append",&_argc0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
3785 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
3791 if (!PyString_Check(_obj2
)) {
3792 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3795 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
3799 if (!PyString_Check(_obj3
)) {
3800 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3803 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
3806 wxPy_BEGIN_ALLOW_THREADS
;
3807 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
3809 wxPy_END_ALLOW_THREADS
;
3810 } Py_INCREF(Py_None
);
3811 _resultobj
= Py_None
;
3823 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3824 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
) {
3825 PyObject
* _resultobj
;
3830 wxString
* _arg4
= &wxPyEmptyStr
;
3832 PyObject
* _obj2
= 0;
3834 PyObject
* _obj4
= 0;
3837 if(!PyArg_ParseTuple(args
,"siOs|O:wxMenu_AppendMenu",&_argc0
,&_arg1
,&_obj2
,&_argc3
,&_obj4
))
3840 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
3846 if (!PyString_Check(_obj2
)) {
3847 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3850 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
3853 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxMenu_p")) {
3854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
3860 if (!PyString_Check(_obj4
)) {
3861 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3864 _arg4
= new wxString(PyString_AsString(_obj4
), PyString_Size(_obj4
));
3867 wxPy_BEGIN_ALLOW_THREADS
;
3868 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
3870 wxPy_END_ALLOW_THREADS
;
3871 } Py_INCREF(Py_None
);
3872 _resultobj
= Py_None
;
3884 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
3885 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
) {
3886 PyObject
* _resultobj
;
3891 if(!PyArg_ParseTuple(args
,"s:wxMenu_AppendSeparator",&_argc0
))
3894 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
3900 wxPy_BEGIN_ALLOW_THREADS
;
3901 wxMenu_AppendSeparator(_arg0
);
3903 wxPy_END_ALLOW_THREADS
;
3904 } Py_INCREF(Py_None
);
3905 _resultobj
= Py_None
;
3909 #define wxMenu_Break(_swigobj) (_swigobj->Break())
3910 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
) {
3911 PyObject
* _resultobj
;
3916 if(!PyArg_ParseTuple(args
,"s:wxMenu_Break",&_argc0
))
3919 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
3925 wxPy_BEGIN_ALLOW_THREADS
;
3926 wxMenu_Break(_arg0
);
3928 wxPy_END_ALLOW_THREADS
;
3929 } Py_INCREF(Py_None
);
3930 _resultobj
= Py_None
;
3934 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
3935 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
) {
3936 PyObject
* _resultobj
;
3944 if(!PyArg_ParseTuple(args
,"sii:wxMenu_Check",&_argc0
,&_arg1
,&tempbool2
))
3947 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
3952 _arg2
= (bool ) tempbool2
;
3954 wxPy_BEGIN_ALLOW_THREADS
;
3955 wxMenu_Check(_arg0
,_arg1
,_arg2
);
3957 wxPy_END_ALLOW_THREADS
;
3958 } Py_INCREF(Py_None
);
3959 _resultobj
= Py_None
;
3963 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
3964 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
) {
3965 PyObject
* _resultobj
;
3973 if(!PyArg_ParseTuple(args
,"sii:wxMenu_Enable",&_argc0
,&_arg1
,&tempbool2
))
3976 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
3981 _arg2
= (bool ) tempbool2
;
3983 wxPy_BEGIN_ALLOW_THREADS
;
3984 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
3986 wxPy_END_ALLOW_THREADS
;
3987 } Py_INCREF(Py_None
);
3988 _resultobj
= Py_None
;
3992 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
3993 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
) {
3994 PyObject
* _resultobj
;
3999 PyObject
* _obj1
= 0;
4002 if(!PyArg_ParseTuple(args
,"sO:wxMenu_FindItem",&_argc0
,&_obj1
))
4005 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
4011 if (!PyString_Check(_obj1
)) {
4012 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4015 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4018 wxPy_BEGIN_ALLOW_THREADS
;
4019 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
4021 wxPy_END_ALLOW_THREADS
;
4022 } _resultobj
= Py_BuildValue("i",_result
);
4030 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
4031 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
) {
4032 PyObject
* _resultobj
;
4038 if(!PyArg_ParseTuple(args
,"s:wxMenu_GetTitle",&_argc0
))
4041 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
4047 wxPy_BEGIN_ALLOW_THREADS
;
4048 _result
= new wxString (wxMenu_GetTitle(_arg0
));
4050 wxPy_END_ALLOW_THREADS
;
4052 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
4060 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4061 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
) {
4062 PyObject
* _resultobj
;
4066 PyObject
* _obj1
= 0;
4069 if(!PyArg_ParseTuple(args
,"sO:wxMenu_SetTitle",&_argc0
,&_obj1
))
4072 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
4078 if (!PyString_Check(_obj1
)) {
4079 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4082 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4085 wxPy_BEGIN_ALLOW_THREADS
;
4086 wxMenu_SetTitle(_arg0
,*_arg1
);
4088 wxPy_END_ALLOW_THREADS
;
4089 } Py_INCREF(Py_None
);
4090 _resultobj
= Py_None
;
4098 #define wxMenu_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
4099 static PyObject
*_wrap_wxMenu_FindItemForId(PyObject
*self
, PyObject
*args
) {
4100 PyObject
* _resultobj
;
4101 wxMenuItem
* _result
;
4108 if(!PyArg_ParseTuple(args
,"si:wxMenu_FindItemForId",&_argc0
,&_arg1
))
4111 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemForId. Expected _wxMenu_p.");
4117 wxPy_BEGIN_ALLOW_THREADS
;
4118 _result
= (wxMenuItem
*)wxMenu_FindItemForId(_arg0
,_arg1
);
4120 wxPy_END_ALLOW_THREADS
;
4121 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
4122 _resultobj
= Py_BuildValue("s",_ptemp
);
4126 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
4127 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
) {
4128 PyObject
* _resultobj
;
4135 if(!PyArg_ParseTuple(args
,"si:wxMenu_GetHelpString",&_argc0
,&_arg1
))
4138 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
4144 wxPy_BEGIN_ALLOW_THREADS
;
4145 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
4147 wxPy_END_ALLOW_THREADS
;
4149 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
4157 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
4158 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
) {
4159 PyObject
* _resultobj
;
4166 if(!PyArg_ParseTuple(args
,"si:wxMenu_GetLabel",&_argc0
,&_arg1
))
4169 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
4175 wxPy_BEGIN_ALLOW_THREADS
;
4176 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
4178 wxPy_END_ALLOW_THREADS
;
4180 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
4188 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
4189 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
) {
4190 PyObject
* _resultobj
;
4195 PyObject
* _obj2
= 0;
4198 if(!PyArg_ParseTuple(args
,"siO:wxMenu_SetHelpString",&_argc0
,&_arg1
,&_obj2
))
4201 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
4207 if (!PyString_Check(_obj2
)) {
4208 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4211 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4214 wxPy_BEGIN_ALLOW_THREADS
;
4215 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
4217 wxPy_END_ALLOW_THREADS
;
4218 } Py_INCREF(Py_None
);
4219 _resultobj
= Py_None
;
4227 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
4228 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
) {
4229 PyObject
* _resultobj
;
4236 if(!PyArg_ParseTuple(args
,"si:wxMenu_IsChecked",&_argc0
,&_arg1
))
4239 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
4245 wxPy_BEGIN_ALLOW_THREADS
;
4246 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
4248 wxPy_END_ALLOW_THREADS
;
4249 } _resultobj
= Py_BuildValue("i",_result
);
4253 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
4254 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
) {
4255 PyObject
* _resultobj
;
4262 if(!PyArg_ParseTuple(args
,"si:wxMenu_IsEnabled",&_argc0
,&_arg1
))
4265 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
4271 wxPy_BEGIN_ALLOW_THREADS
;
4272 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
4274 wxPy_END_ALLOW_THREADS
;
4275 } _resultobj
= Py_BuildValue("i",_result
);
4279 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
4280 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
) {
4281 PyObject
* _resultobj
;
4286 PyObject
* _obj2
= 0;
4289 if(!PyArg_ParseTuple(args
,"siO:wxMenu_SetLabel",&_argc0
,&_arg1
,&_obj2
))
4292 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
4298 if (!PyString_Check(_obj2
)) {
4299 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4302 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4305 wxPy_BEGIN_ALLOW_THREADS
;
4306 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
4308 wxPy_END_ALLOW_THREADS
;
4309 } Py_INCREF(Py_None
);
4310 _resultobj
= Py_None
;
4318 static void *SwigwxPyMenuTowxMenu(void *ptr
) {
4321 src
= (wxPyMenu
*) ptr
;
4322 dest
= (wxMenu
*) src
;
4323 return (void *) dest
;
4326 static void *SwigwxPyMenuTowxEvtHandler(void *ptr
) {
4329 src
= (wxPyMenu
*) ptr
;
4330 dest
= (wxEvtHandler
*) src
;
4331 return (void *) dest
;
4334 #define new_wxPyMenu(_swigarg0,_swigarg1) (new wxPyMenu(_swigarg0,_swigarg1))
4335 static PyObject
*_wrap_new_wxPyMenu(PyObject
*self
, PyObject
*args
) {
4336 PyObject
* _resultobj
;
4338 wxString
* _arg0
= &wxPyEmptyStr
;
4339 PyObject
* _arg1
= NULL
;
4340 PyObject
* _obj0
= 0;
4341 PyObject
* _obj1
= 0;
4345 if(!PyArg_ParseTuple(args
,"|OO:new_wxPyMenu",&_obj0
,&_obj1
))
4349 if (!PyString_Check(_obj0
)) {
4350 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4353 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
4360 wxPy_BEGIN_ALLOW_THREADS
;
4361 _result
= (wxPyMenu
*)new_wxPyMenu(*_arg0
,_arg1
);
4363 wxPy_END_ALLOW_THREADS
;
4364 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyMenu_p");
4365 _resultobj
= Py_BuildValue("s",_ptemp
);
4373 #define delete_wxPyMenu(_swigobj) (delete _swigobj)
4374 static PyObject
*_wrap_delete_wxPyMenu(PyObject
*self
, PyObject
*args
) {
4375 PyObject
* _resultobj
;
4380 if(!PyArg_ParseTuple(args
,"s:delete_wxPyMenu",&_argc0
))
4383 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyMenu_p")) {
4384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyMenu. Expected _wxPyMenu_p.");
4389 wxPy_BEGIN_ALLOW_THREADS
;
4390 delete_wxPyMenu(_arg0
);
4392 wxPy_END_ALLOW_THREADS
;
4393 } Py_INCREF(Py_None
);
4394 _resultobj
= Py_None
;
4398 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
4401 src
= (wxMenuBar
*) ptr
;
4402 dest
= (wxEvtHandler
*) src
;
4403 return (void *) dest
;
4406 #define new_wxMenuBar() (new wxMenuBar())
4407 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
) {
4408 PyObject
* _resultobj
;
4409 wxMenuBar
* _result
;
4413 if(!PyArg_ParseTuple(args
,":new_wxMenuBar"))
4416 wxPy_BEGIN_ALLOW_THREADS
;
4417 _result
= (wxMenuBar
*)new_wxMenuBar();
4419 wxPy_END_ALLOW_THREADS
;
4420 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
4421 _resultobj
= Py_BuildValue("s",_ptemp
);
4425 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
4426 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
) {
4427 PyObject
* _resultobj
;
4433 PyObject
* _obj2
= 0;
4436 if(!PyArg_ParseTuple(args
,"ssO:wxMenuBar_Append",&_argc0
,&_argc1
,&_obj2
))
4439 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
4445 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxMenu_p")) {
4446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
4451 if (!PyString_Check(_obj2
)) {
4452 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4455 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4458 wxPy_BEGIN_ALLOW_THREADS
;
4459 wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
4461 wxPy_END_ALLOW_THREADS
;
4462 } Py_INCREF(Py_None
);
4463 _resultobj
= Py_None
;
4471 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
4472 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
) {
4473 PyObject
* _resultobj
;
4481 if(!PyArg_ParseTuple(args
,"sii:wxMenuBar_Check",&_argc0
,&_arg1
,&tempbool2
))
4484 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
4489 _arg2
= (bool ) tempbool2
;
4491 wxPy_BEGIN_ALLOW_THREADS
;
4492 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
4494 wxPy_END_ALLOW_THREADS
;
4495 } Py_INCREF(Py_None
);
4496 _resultobj
= Py_None
;
4500 #define wxMenuBar_Checked(_swigobj,_swigarg0) (_swigobj->Checked(_swigarg0))
4501 static PyObject
*_wrap_wxMenuBar_Checked(PyObject
*self
, PyObject
*args
) {
4502 PyObject
* _resultobj
;
4509 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_Checked",&_argc0
,&_arg1
))
4512 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Checked. Expected _wxMenuBar_p.");
4518 wxPy_BEGIN_ALLOW_THREADS
;
4519 _result
= (bool )wxMenuBar_Checked(_arg0
,_arg1
);
4521 wxPy_END_ALLOW_THREADS
;
4522 } _resultobj
= Py_BuildValue("i",_result
);
4526 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
4527 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
) {
4528 PyObject
* _resultobj
;
4536 if(!PyArg_ParseTuple(args
,"sii:wxMenuBar_Enable",&_argc0
,&_arg1
,&tempbool2
))
4539 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
4544 _arg2
= (bool ) tempbool2
;
4546 wxPy_BEGIN_ALLOW_THREADS
;
4547 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
4549 wxPy_END_ALLOW_THREADS
;
4550 } Py_INCREF(Py_None
);
4551 _resultobj
= Py_None
;
4555 #define wxMenuBar_Enabled(_swigobj,_swigarg0) (_swigobj->Enabled(_swigarg0))
4556 static PyObject
*_wrap_wxMenuBar_Enabled(PyObject
*self
, PyObject
*args
) {
4557 PyObject
* _resultobj
;
4564 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_Enabled",&_argc0
,&_arg1
))
4567 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enabled. Expected _wxMenuBar_p.");
4573 wxPy_BEGIN_ALLOW_THREADS
;
4574 _result
= (bool )wxMenuBar_Enabled(_arg0
,_arg1
);
4576 wxPy_END_ALLOW_THREADS
;
4577 } _resultobj
= Py_BuildValue("i",_result
);
4581 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
4582 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
) {
4583 PyObject
* _resultobj
;
4589 PyObject
* _obj1
= 0;
4590 PyObject
* _obj2
= 0;
4593 if(!PyArg_ParseTuple(args
,"sOO:wxMenuBar_FindMenuItem",&_argc0
,&_obj1
,&_obj2
))
4596 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
4602 if (!PyString_Check(_obj1
)) {
4603 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4606 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4609 if (!PyString_Check(_obj2
)) {
4610 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4613 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4616 wxPy_BEGIN_ALLOW_THREADS
;
4617 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
4619 wxPy_END_ALLOW_THREADS
;
4620 } _resultobj
= Py_BuildValue("i",_result
);
4632 #define wxMenuBar_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
4633 static PyObject
*_wrap_wxMenuBar_FindItemForId(PyObject
*self
, PyObject
*args
) {
4634 PyObject
* _resultobj
;
4635 wxMenuItem
* _result
;
4642 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_FindItemForId",&_argc0
,&_arg1
))
4645 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemForId. Expected _wxMenuBar_p.");
4651 wxPy_BEGIN_ALLOW_THREADS
;
4652 _result
= (wxMenuItem
*)wxMenuBar_FindItemForId(_arg0
,_arg1
);
4654 wxPy_END_ALLOW_THREADS
;
4655 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
4656 _resultobj
= Py_BuildValue("s",_ptemp
);
4660 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
4661 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
) {
4662 PyObject
* _resultobj
;
4668 if(!PyArg_ParseTuple(args
,"s:wxMenuBar_GetMenuCount",&_argc0
))
4671 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
4677 wxPy_BEGIN_ALLOW_THREADS
;
4678 _result
= (int )wxMenuBar_GetMenuCount(_arg0
);
4680 wxPy_END_ALLOW_THREADS
;
4681 } _resultobj
= Py_BuildValue("i",_result
);
4685 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
4686 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
) {
4687 PyObject
* _resultobj
;
4695 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_GetMenu",&_argc0
,&_arg1
))
4698 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
4704 wxPy_BEGIN_ALLOW_THREADS
;
4705 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
4707 wxPy_END_ALLOW_THREADS
;
4708 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
4709 _resultobj
= Py_BuildValue("s",_ptemp
);
4713 #define new_wxMenuItem() (new wxMenuItem())
4714 static PyObject
*_wrap_new_wxMenuItem(PyObject
*self
, PyObject
*args
) {
4715 PyObject
* _resultobj
;
4716 wxMenuItem
* _result
;
4720 if(!PyArg_ParseTuple(args
,":new_wxMenuItem"))
4723 wxPy_BEGIN_ALLOW_THREADS
;
4724 _result
= (wxMenuItem
*)new_wxMenuItem();
4726 wxPy_END_ALLOW_THREADS
;
4727 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
4728 _resultobj
= Py_BuildValue("s",_ptemp
);
4732 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
4733 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
) {
4734 PyObject
* _resultobj
;
4740 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsSeparator",&_argc0
))
4743 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
4749 wxPy_BEGIN_ALLOW_THREADS
;
4750 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
4752 wxPy_END_ALLOW_THREADS
;
4753 } _resultobj
= Py_BuildValue("i",_result
);
4757 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
4758 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
) {
4759 PyObject
* _resultobj
;
4765 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsEnabled",&_argc0
))
4768 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
4774 wxPy_BEGIN_ALLOW_THREADS
;
4775 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
4777 wxPy_END_ALLOW_THREADS
;
4778 } _resultobj
= Py_BuildValue("i",_result
);
4782 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
4783 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
) {
4784 PyObject
* _resultobj
;
4790 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsChecked",&_argc0
))
4793 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
4799 wxPy_BEGIN_ALLOW_THREADS
;
4800 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
4802 wxPy_END_ALLOW_THREADS
;
4803 } _resultobj
= Py_BuildValue("i",_result
);
4807 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
4808 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
) {
4809 PyObject
* _resultobj
;
4815 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsCheckable",&_argc0
))
4818 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
4824 wxPy_BEGIN_ALLOW_THREADS
;
4825 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
4827 wxPy_END_ALLOW_THREADS
;
4828 } _resultobj
= Py_BuildValue("i",_result
);
4832 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
4833 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
) {
4834 PyObject
* _resultobj
;
4840 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetId",&_argc0
))
4843 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
4849 wxPy_BEGIN_ALLOW_THREADS
;
4850 _result
= (int )wxMenuItem_GetId(_arg0
);
4852 wxPy_END_ALLOW_THREADS
;
4853 } _resultobj
= Py_BuildValue("i",_result
);
4857 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
4858 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
) {
4859 PyObject
* _resultobj
;
4866 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetSubMenu",&_argc0
))
4869 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
4875 wxPy_BEGIN_ALLOW_THREADS
;
4876 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
4878 wxPy_END_ALLOW_THREADS
;
4879 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
4880 _resultobj
= Py_BuildValue("s",_ptemp
);
4884 #define wxMenuItem_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
4885 static PyObject
*_wrap_wxMenuItem_SetName(PyObject
*self
, PyObject
*args
) {
4886 PyObject
* _resultobj
;
4890 PyObject
* _obj1
= 0;
4893 if(!PyArg_ParseTuple(args
,"sO:wxMenuItem_SetName",&_argc0
,&_obj1
))
4896 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetName. Expected _wxMenuItem_p.");
4902 if (!PyString_Check(_obj1
)) {
4903 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4906 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4909 wxPy_BEGIN_ALLOW_THREADS
;
4910 wxMenuItem_SetName(_arg0
,*_arg1
);
4912 wxPy_END_ALLOW_THREADS
;
4913 } Py_INCREF(Py_None
);
4914 _resultobj
= Py_None
;
4922 #define wxMenuItem_GetName(_swigobj) (_swigobj->GetName())
4923 static PyObject
*_wrap_wxMenuItem_GetName(PyObject
*self
, PyObject
*args
) {
4924 PyObject
* _resultobj
;
4930 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetName",&_argc0
))
4933 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetName. Expected _wxMenuItem_p.");
4939 wxPy_BEGIN_ALLOW_THREADS
;
4940 _result
= new wxString (wxMenuItem_GetName(_arg0
));
4942 wxPy_END_ALLOW_THREADS
;
4944 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
4952 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
4953 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
) {
4954 PyObject
* _resultobj
;
4960 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetHelp",&_argc0
))
4963 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
4969 wxPy_BEGIN_ALLOW_THREADS
;
4970 _result
= new wxString (wxMenuItem_GetHelp(_arg0
));
4972 wxPy_END_ALLOW_THREADS
;
4974 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
4982 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
4983 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
) {
4984 PyObject
* _resultobj
;
4988 PyObject
* _obj1
= 0;
4991 if(!PyArg_ParseTuple(args
,"sO:wxMenuItem_SetHelp",&_argc0
,&_obj1
))
4994 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
5000 if (!PyString_Check(_obj1
)) {
5001 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5004 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5007 wxPy_BEGIN_ALLOW_THREADS
;
5008 wxMenuItem_SetHelp(_arg0
,*_arg1
);
5010 wxPy_END_ALLOW_THREADS
;
5011 } Py_INCREF(Py_None
);
5012 _resultobj
= Py_None
;
5020 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
5021 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
) {
5022 PyObject
* _resultobj
;
5029 if(!PyArg_ParseTuple(args
,"s|i:wxMenuItem_Enable",&_argc0
,&tempbool1
))
5032 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
5037 _arg1
= (bool ) tempbool1
;
5039 wxPy_BEGIN_ALLOW_THREADS
;
5040 wxMenuItem_Enable(_arg0
,_arg1
);
5042 wxPy_END_ALLOW_THREADS
;
5043 } Py_INCREF(Py_None
);
5044 _resultobj
= Py_None
;
5048 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
5049 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
) {
5050 PyObject
* _resultobj
;
5057 if(!PyArg_ParseTuple(args
,"s|i:wxMenuItem_Check",&_argc0
,&tempbool1
))
5060 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
5065 _arg1
= (bool ) tempbool1
;
5067 wxPy_BEGIN_ALLOW_THREADS
;
5068 wxMenuItem_Check(_arg0
,_arg1
);
5070 wxPy_END_ALLOW_THREADS
;
5071 } Py_INCREF(Py_None
);
5072 _resultobj
= Py_None
;
5076 static PyMethodDef windowscMethods
[] = {
5077 { "wxMenuItem_Check", _wrap_wxMenuItem_Check
, 1 },
5078 { "wxMenuItem_Enable", _wrap_wxMenuItem_Enable
, 1 },
5079 { "wxMenuItem_SetHelp", _wrap_wxMenuItem_SetHelp
, 1 },
5080 { "wxMenuItem_GetHelp", _wrap_wxMenuItem_GetHelp
, 1 },
5081 { "wxMenuItem_GetName", _wrap_wxMenuItem_GetName
, 1 },
5082 { "wxMenuItem_SetName", _wrap_wxMenuItem_SetName
, 1 },
5083 { "wxMenuItem_GetSubMenu", _wrap_wxMenuItem_GetSubMenu
, 1 },
5084 { "wxMenuItem_GetId", _wrap_wxMenuItem_GetId
, 1 },
5085 { "wxMenuItem_IsCheckable", _wrap_wxMenuItem_IsCheckable
, 1 },
5086 { "wxMenuItem_IsChecked", _wrap_wxMenuItem_IsChecked
, 1 },
5087 { "wxMenuItem_IsEnabled", _wrap_wxMenuItem_IsEnabled
, 1 },
5088 { "wxMenuItem_IsSeparator", _wrap_wxMenuItem_IsSeparator
, 1 },
5089 { "new_wxMenuItem", _wrap_new_wxMenuItem
, 1 },
5090 { "wxMenuBar_GetMenu", _wrap_wxMenuBar_GetMenu
, 1 },
5091 { "wxMenuBar_GetMenuCount", _wrap_wxMenuBar_GetMenuCount
, 1 },
5092 { "wxMenuBar_FindItemForId", _wrap_wxMenuBar_FindItemForId
, 1 },
5093 { "wxMenuBar_FindMenuItem", _wrap_wxMenuBar_FindMenuItem
, 1 },
5094 { "wxMenuBar_Enabled", _wrap_wxMenuBar_Enabled
, 1 },
5095 { "wxMenuBar_Enable", _wrap_wxMenuBar_Enable
, 1 },
5096 { "wxMenuBar_Checked", _wrap_wxMenuBar_Checked
, 1 },
5097 { "wxMenuBar_Check", _wrap_wxMenuBar_Check
, 1 },
5098 { "wxMenuBar_Append", _wrap_wxMenuBar_Append
, 1 },
5099 { "new_wxMenuBar", _wrap_new_wxMenuBar
, 1 },
5100 { "delete_wxPyMenu", _wrap_delete_wxPyMenu
, 1 },
5101 { "new_wxPyMenu", _wrap_new_wxPyMenu
, 1 },
5102 { "wxMenu_SetLabel", _wrap_wxMenu_SetLabel
, 1 },
5103 { "wxMenu_IsEnabled", _wrap_wxMenu_IsEnabled
, 1 },
5104 { "wxMenu_IsChecked", _wrap_wxMenu_IsChecked
, 1 },
5105 { "wxMenu_SetHelpString", _wrap_wxMenu_SetHelpString
, 1 },
5106 { "wxMenu_GetLabel", _wrap_wxMenu_GetLabel
, 1 },
5107 { "wxMenu_GetHelpString", _wrap_wxMenu_GetHelpString
, 1 },
5108 { "wxMenu_FindItemForId", _wrap_wxMenu_FindItemForId
, 1 },
5109 { "wxMenu_SetTitle", _wrap_wxMenu_SetTitle
, 1 },
5110 { "wxMenu_GetTitle", _wrap_wxMenu_GetTitle
, 1 },
5111 { "wxMenu_FindItem", _wrap_wxMenu_FindItem
, 1 },
5112 { "wxMenu_Enable", _wrap_wxMenu_Enable
, 1 },
5113 { "wxMenu_Check", _wrap_wxMenu_Check
, 1 },
5114 { "wxMenu_Break", _wrap_wxMenu_Break
, 1 },
5115 { "wxMenu_AppendSeparator", _wrap_wxMenu_AppendSeparator
, 1 },
5116 { "wxMenu_AppendMenu", _wrap_wxMenu_AppendMenu
, 1 },
5117 { "wxMenu_Append", _wrap_wxMenu_Append
, 1 },
5118 { "new_wxMenu", _wrap_new_wxMenu
, 1 },
5119 { "wxScrolledWindow_ViewStart", _wrap_wxScrolledWindow_ViewStart
, 1 },
5120 { "wxScrolledWindow_SetScrollbars", _wrap_wxScrolledWindow_SetScrollbars
, 1 },
5121 { "wxScrolledWindow_Scroll", _wrap_wxScrolledWindow_Scroll
, 1 },
5122 { "wxScrolledWindow_PrepareDC", _wrap_wxScrolledWindow_PrepareDC
, 1 },
5123 { "wxScrolledWindow_IsRetained", _wrap_wxScrolledWindow_IsRetained
, 1 },
5124 { "wxScrolledWindow_GetVirtualSize", _wrap_wxScrolledWindow_GetVirtualSize
, 1 },
5125 { "wxScrolledWindow_GetScrollPixelsPerUnit", _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, 1 },
5126 { "wxScrolledWindow_EnableScrolling", _wrap_wxScrolledWindow_EnableScrolling
, 1 },
5127 { "new_wxScrolledWindow", _wrap_new_wxScrolledWindow
, 1 },
5128 { "wxDialog_ShowModal", _wrap_wxDialog_ShowModal
, 1 },
5129 { "wxDialog_Show", _wrap_wxDialog_Show
, 1 },
5130 { "wxDialog_SetTitle", _wrap_wxDialog_SetTitle
, 1 },
5131 { "wxDialog_IsModal", _wrap_wxDialog_IsModal
, 1 },
5132 { "wxDialog_SetModal", _wrap_wxDialog_SetModal
, 1 },
5133 { "wxDialog_IsIconized", _wrap_wxDialog_IsIconized
, 1 },
5134 { "wxDialog_Iconize", _wrap_wxDialog_Iconize
, 1 },
5135 { "wxDialog_GetTitle", _wrap_wxDialog_GetTitle
, 1 },
5136 { "wxDialog_EndModal", _wrap_wxDialog_EndModal
, 1 },
5137 { "wxDialog_Centre", _wrap_wxDialog_Centre
, 1 },
5138 { "new_wxDialog", _wrap_new_wxDialog
, 1 },
5139 { "wxPanel_InitDialog", _wrap_wxPanel_InitDialog
, 1 },
5140 { "new_wxPanel", _wrap_new_wxPanel
, 1 },
5141 { "wxWindow_GetToolTip", _wrap_wxWindow_GetToolTip
, 1 },
5142 { "wxWindow_SetToolTip", _wrap_wxWindow_SetToolTip
, 1 },
5143 { "wxWindow_SetToolTipString", _wrap_wxWindow_SetToolTipString
, 1 },
5144 { "wxWindow_ConvertPixelSizeToDialog", _wrap_wxWindow_ConvertPixelSizeToDialog
, 1 },
5145 { "wxWindow_ConvertPixelPointToDialog", _wrap_wxWindow_ConvertPixelPointToDialog
, 1 },
5146 { "wxWindow_DLG_SZE", _wrap_wxWindow_ConvertDialogSizeToPixels
, 1 },
5147 { "wxWindow_DLG_PNT", _wrap_wxWindow_ConvertDialogPointToPixels
, 1 },
5148 { "wxWindow_ConvertDialogSizeToPixels", _wrap_wxWindow_ConvertDialogSizeToPixels
, 1 },
5149 { "wxWindow_ConvertDialogPointToPixels", _wrap_wxWindow_ConvertDialogPointToPixels
, 1 },
5150 { "wxWindow_WarpPointer", _wrap_wxWindow_WarpPointer
, 1 },
5151 { "wxWindow_Validate", _wrap_wxWindow_Validate
, 1 },
5152 { "wxWindow_TransferDataToWindow", _wrap_wxWindow_TransferDataToWindow
, 1 },
5153 { "wxWindow_TransferDataFromWindow", _wrap_wxWindow_TransferDataFromWindow
, 1 },
5154 { "wxWindow_Show", _wrap_wxWindow_Show
, 1 },
5155 { "wxWindow_SetTitle", _wrap_wxWindow_SetTitle
, 1 },
5156 { "wxWindow_SetCursor", _wrap_wxWindow_SetCursor
, 1 },
5157 { "wxWindow_SetClientSize", _wrap_wxWindow_SetClientSize
, 1 },
5158 { "wxWindow_SetClientSizeWH", _wrap_wxWindow_SetClientSizeWH
, 1 },
5159 { "wxWindow_SetSizeHints", _wrap_wxWindow_SetSizeHints
, 1 },
5160 { "wxWindow_SetPosition", _wrap_wxWindow_SetPosition
, 1 },
5161 { "wxWindow_SetSize", _wrap_wxWindow_SetSize
, 1 },
5162 { "wxWindow_SetDimensions", _wrap_wxWindow_SetDimensions
, 1 },
5163 { "wxWindow_SetScrollPos", _wrap_wxWindow_SetScrollPos
, 1 },
5164 { "wxWindow_SetScrollbar", _wrap_wxWindow_SetScrollbar
, 1 },
5165 { "wxWindow_SetReturnCode", _wrap_wxWindow_SetReturnCode
, 1 },
5166 { "wxWindow_SetName", _wrap_wxWindow_SetName
, 1 },
5167 { "wxWindow_SetId", _wrap_wxWindow_SetId
, 1 },
5168 { "wxWindow_SetForegroundColour", _wrap_wxWindow_SetForegroundColour
, 1 },
5169 { "wxWindow_SetFont", _wrap_wxWindow_SetFont
, 1 },
5170 { "wxWindow_SetFocus", _wrap_wxWindow_SetFocus
, 1 },
5171 { "wxWindow_SetDoubleClick", _wrap_wxWindow_SetDoubleClick
, 1 },
5172 { "wxWindow_SetConstraints", _wrap_wxWindow_SetConstraints
, 1 },
5173 { "wxWindow_SetBackgroundColour", _wrap_wxWindow_SetBackgroundColour
, 1 },
5174 { "wxWindow_SetAutoLayout", _wrap_wxWindow_SetAutoLayout
, 1 },
5175 { "wxWindow_SetAcceleratorTable", _wrap_wxWindow_SetAcceleratorTable
, 1 },
5176 { "wxWindow_ScrollWindow", _wrap_wxWindow_ScrollWindow
, 1 },
5177 { "wxWindow_ScreenToClientXY", _wrap_wxWindow_ScreenToClientXY
, 1 },
5178 { "wxWindow_ReleaseMouse", _wrap_wxWindow_ReleaseMouse
, 1 },
5179 { "wxWindow_Refresh", _wrap_wxWindow_Refresh
, 1 },
5180 { "wxWindow_Raise", _wrap_wxWindow_Raise
, 1 },
5181 { "wxWindow_PopupMenu", _wrap_wxWindow_PopupMenu
, 1 },
5182 { "wxWindow_Move", _wrap_wxWindow_Move
, 1 },
5183 { "wxWindow_MoveXY", _wrap_wxWindow_MoveXY
, 1 },
5184 { "wxWindow_MakeModal", _wrap_wxWindow_MakeModal
, 1 },
5185 { "wxWindow_Lower", _wrap_wxWindow_Lower
, 1 },
5186 { "wxWindow_LoadFromResource", _wrap_wxWindow_LoadFromResource
, 1 },
5187 { "wxWindow_Layout", _wrap_wxWindow_Layout
, 1 },
5188 { "wxWindow_IsShown", _wrap_wxWindow_IsShown
, 1 },
5189 { "wxWindow_IsRetained", _wrap_wxWindow_IsRetained
, 1 },
5190 { "wxWindow_IsEnabled", _wrap_wxWindow_IsEnabled
, 1 },
5191 { "wxWindow_InitDialog", _wrap_wxWindow_InitDialog
, 1 },
5192 { "wxWindow_GetWindowStyleFlag", _wrap_wxWindow_GetWindowStyleFlag
, 1 },
5193 { "wxWindow_GetTitle", _wrap_wxWindow_GetTitle
, 1 },
5194 { "wxWindow_GetFullTextExtent", _wrap_wxWindow_GetFullTextExtent
, 1 },
5195 { "wxWindow_GetTextExtent", _wrap_wxWindow_GetTextExtent
, 1 },
5196 { "wxWindow_GetSize", _wrap_wxWindow_GetSize
, 1 },
5197 { "wxWindow_GetSizeTuple", _wrap_wxWindow_GetSizeTuple
, 1 },
5198 { "wxWindow_GetScrollRange", _wrap_wxWindow_GetScrollRange
, 1 },
5199 { "wxWindow_GetScrollPos", _wrap_wxWindow_GetScrollPos
, 1 },
5200 { "wxWindow_GetScrollThumb", _wrap_wxWindow_GetScrollThumb
, 1 },
5201 { "wxWindow_GetReturnCode", _wrap_wxWindow_GetReturnCode
, 1 },
5202 { "wxWindow_GetRect", _wrap_wxWindow_GetRect
, 1 },
5203 { "wxWindow_GetPosition", _wrap_wxWindow_GetPosition
, 1 },
5204 { "wxWindow_GetPositionTuple", _wrap_wxWindow_GetPositionTuple
, 1 },
5205 { "wxWindow_GetParent", _wrap_wxWindow_GetParent
, 1 },
5206 { "wxWindow_GetName", _wrap_wxWindow_GetName
, 1 },
5207 { "wxWindow_GetLabel", _wrap_wxWindow_GetLabel
, 1 },
5208 { "wxWindow_GetId", _wrap_wxWindow_GetId
, 1 },
5209 { "wxWindow_GetGrandParent", _wrap_wxWindow_GetGrandParent
, 1 },
5210 { "wxWindow_GetForegroundColour", _wrap_wxWindow_GetForegroundColour
, 1 },
5211 { "wxWindow_GetFont", _wrap_wxWindow_GetFont
, 1 },
5212 { "wxWindow_GetConstraints", _wrap_wxWindow_GetConstraints
, 1 },
5213 { "wxWindow_GetClientSize", _wrap_wxWindow_GetClientSize
, 1 },
5214 { "wxWindow_GetClientSizeTuple", _wrap_wxWindow_GetClientSizeTuple
, 1 },
5215 { "wxWindow_GetCharWidth", _wrap_wxWindow_GetCharWidth
, 1 },
5216 { "wxWindow_GetCharHeight", _wrap_wxWindow_GetCharHeight
, 1 },
5217 { "wxWindow_GetBackgroundColour", _wrap_wxWindow_GetBackgroundColour
, 1 },
5218 { "wxWindow_Fit", _wrap_wxWindow_Fit
, 1 },
5219 { "wxWindow_FindWindowByName", _wrap_wxWindow_FindWindowByName
, 1 },
5220 { "wxWindow_FindWindowById", _wrap_wxWindow_FindWindowById
, 1 },
5221 { "wxWindow_Enable", _wrap_wxWindow_Enable
, 1 },
5222 { "wxWindow_DestroyChildren", _wrap_wxWindow_DestroyChildren
, 1 },
5223 { "wxWindow_Destroy", _wrap_wxWindow_Destroy
, 1 },
5224 { "wxWindow_Close", _wrap_wxWindow_Close
, 1 },
5225 { "wxWindow_ClientToScreenXY", _wrap_wxWindow_ClientToScreenXY
, 1 },
5226 { "wxWindow_Centre", _wrap_wxWindow_Centre
, 1 },
5227 { "wxWindow_Center", _wrap_wxWindow_Center
, 1 },
5228 { "wxWindow_CaptureMouse", _wrap_wxWindow_CaptureMouse
, 1 },
5229 { "new_wxWindow", _wrap_new_wxWindow
, 1 },
5230 { "wxEvtHandler_Connect", _wrap_wxEvtHandler_Connect
, 1 },
5231 { "wxEvtHandler_ProcessEvent", _wrap_wxEvtHandler_ProcessEvent
, 1 },
5234 static PyObject
*SWIG_globals
;
5238 SWIGEXPORT(void,initwindowsc
)() {
5240 SWIG_globals
= SWIG_newvarlink();
5241 m
= Py_InitModule("windowsc", windowscMethods
);
5242 d
= PyModule_GetDict(m
);
5244 * These are the pointer type-equivalency mappings.
5245 * (Used by the SWIG pointer type-checker).
5247 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
5248 SWIG_RegisterMapping("_signed_long","_long",0);
5249 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
5250 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
5251 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
5252 SWIG_RegisterMapping("_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
5253 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxPyMenu",SwigwxPyMenuTowxEvtHandler
);
5254 SWIG_RegisterMapping("_class_wxEvtHandler","_wxPyMenu",SwigwxPyMenuTowxEvtHandler
);
5255 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
);
5256 SWIG_RegisterMapping("_class_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
);
5257 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
5258 SWIG_RegisterMapping("_class_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
5259 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
);
5260 SWIG_RegisterMapping("_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
);
5261 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
);
5262 SWIG_RegisterMapping("_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
);
5263 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
);
5264 SWIG_RegisterMapping("_class_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
);
5265 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
5266 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
5267 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
5268 SWIG_RegisterMapping("_wxToolTip","_class_wxToolTip",0);
5269 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
5270 SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
5271 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
5272 SWIG_RegisterMapping("_byte","_unsigned_char",0);
5273 SWIG_RegisterMapping("_long","_wxDash",0);
5274 SWIG_RegisterMapping("_long","_unsigned_long",0);
5275 SWIG_RegisterMapping("_long","_signed_long",0);
5276 SWIG_RegisterMapping("_wxImageList","_class_wxImageList",0);
5277 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
5278 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
5279 SWIG_RegisterMapping("_size_t","_unsigned_int",0);
5280 SWIG_RegisterMapping("_size_t","_int",0);
5281 SWIG_RegisterMapping("_size_t","_wxWindowID",0);
5282 SWIG_RegisterMapping("_size_t","_uint",0);
5283 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
5284 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
5285 SWIG_RegisterMapping("_class_wxPostScriptDC","_wxPostScriptDC",0);
5286 SWIG_RegisterMapping("_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
);
5287 SWIG_RegisterMapping("_wxPanel","_wxDialog",SwigwxDialogTowxPanel
);
5288 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
5289 SWIG_RegisterMapping("_class_wxToolTip","_wxToolTip",0);
5290 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
5291 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
5292 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
5293 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
5294 SWIG_RegisterMapping("_uint","_size_t",0);
5295 SWIG_RegisterMapping("_uint","_unsigned_int",0);
5296 SWIG_RegisterMapping("_uint","_int",0);
5297 SWIG_RegisterMapping("_uint","_wxWindowID",0);
5298 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
5299 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
5300 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
5301 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
5302 SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
5303 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
5304 SWIG_RegisterMapping("_EBool","_signed_int",0);
5305 SWIG_RegisterMapping("_EBool","_int",0);
5306 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
5307 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
5308 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
5309 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
5310 SWIG_RegisterMapping("_unsigned_long","_long",0);
5311 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
5312 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
5313 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
5314 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
5315 SWIG_RegisterMapping("_class_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
);
5316 SWIG_RegisterMapping("_class_wxPanel","_wxDialog",SwigwxDialogTowxPanel
);
5317 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
5318 SWIG_RegisterMapping("_signed_int","_EBool",0);
5319 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
5320 SWIG_RegisterMapping("_signed_int","_int",0);
5321 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
5322 SWIG_RegisterMapping("_wxMenu","_class_wxPyMenu",SwigwxPyMenuTowxMenu
);
5323 SWIG_RegisterMapping("_wxMenu","_wxPyMenu",SwigwxPyMenuTowxMenu
);
5324 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
5325 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
5326 SWIG_RegisterMapping("_WXTYPE","_short",0);
5327 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
5328 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
5329 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
5330 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
5331 SWIG_RegisterMapping("_unsigned_short","_short",0);
5332 SWIG_RegisterMapping("_class_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
5333 SWIG_RegisterMapping("_class_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
5334 SWIG_RegisterMapping("_class_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
);
5335 SWIG_RegisterMapping("_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow
);
5336 SWIG_RegisterMapping("_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
);
5337 SWIG_RegisterMapping("_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow
);
5338 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
5339 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
5340 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
5341 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
5342 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
5343 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
5344 SWIG_RegisterMapping("_signed_short","_short",0);
5345 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
5346 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
5347 SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0);
5348 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
5349 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
5350 SWIG_RegisterMapping("_wxPostScriptDC","_class_wxPostScriptDC",0);
5351 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
5352 SWIG_RegisterMapping("_unsigned_char","_byte",0);
5353 SWIG_RegisterMapping("_class_wxMenu","_class_wxPyMenu",SwigwxPyMenuTowxMenu
);
5354 SWIG_RegisterMapping("_class_wxMenu","_wxPyMenu",SwigwxPyMenuTowxMenu
);
5355 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
5356 SWIG_RegisterMapping("_unsigned_int","_size_t",0);
5357 SWIG_RegisterMapping("_unsigned_int","_uint",0);
5358 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
5359 SWIG_RegisterMapping("_unsigned_int","_int",0);
5360 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
5361 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
5362 SWIG_RegisterMapping("_class_wxPyMenu","_wxPyMenu",0);
5363 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
5364 SWIG_RegisterMapping("_short","_WXTYPE",0);
5365 SWIG_RegisterMapping("_short","_unsigned_short",0);
5366 SWIG_RegisterMapping("_short","_signed_short",0);
5367 SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0);
5368 SWIG_RegisterMapping("_wxWindowID","_size_t",0);
5369 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
5370 SWIG_RegisterMapping("_wxWindowID","_uint",0);
5371 SWIG_RegisterMapping("_wxWindowID","_int",0);
5372 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
5373 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
5374 SWIG_RegisterMapping("_int","_size_t",0);
5375 SWIG_RegisterMapping("_int","_EBool",0);
5376 SWIG_RegisterMapping("_int","_uint",0);
5377 SWIG_RegisterMapping("_int","_wxWindowID",0);
5378 SWIG_RegisterMapping("_int","_unsigned_int",0);
5379 SWIG_RegisterMapping("_int","_signed_int",0);
5380 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
5381 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
5382 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
5383 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
5384 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
5385 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
5386 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
5387 SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
5388 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
5389 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
5390 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
5391 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
5392 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
5393 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
5394 SWIG_RegisterMapping("_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
5395 SWIG_RegisterMapping("_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
5396 SWIG_RegisterMapping("_wxEvtHandler","_class_wxPyMenu",SwigwxPyMenuTowxEvtHandler
);
5397 SWIG_RegisterMapping("_wxEvtHandler","_wxPyMenu",SwigwxPyMenuTowxEvtHandler
);
5398 SWIG_RegisterMapping("_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
);
5399 SWIG_RegisterMapping("_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
);
5400 SWIG_RegisterMapping("_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
5401 SWIG_RegisterMapping("_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
5402 SWIG_RegisterMapping("_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
);
5403 SWIG_RegisterMapping("_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
);
5404 SWIG_RegisterMapping("_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
);
5405 SWIG_RegisterMapping("_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
);
5406 SWIG_RegisterMapping("_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
);
5407 SWIG_RegisterMapping("_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
);
5408 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
5409 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
5410 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
5411 SWIG_RegisterMapping("_wxDash","_long",0);
5412 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
5413 SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);
5414 SWIG_RegisterMapping("_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
5415 SWIG_RegisterMapping("_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
5416 SWIG_RegisterMapping("_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
);
5417 SWIG_RegisterMapping("_wxWindow","_wxDialog",SwigwxDialogTowxWindow
);
5418 SWIG_RegisterMapping("_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
);
5419 SWIG_RegisterMapping("_wxWindow","_wxPanel",SwigwxPanelTowxWindow
);
5420 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);