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
= (wxBOTH
);
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
= (wxBOTH
);
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_CentreOnParent(_swigobj,_swigarg0) (_swigobj->CentreOnParent(_swigarg0))
322 static PyObject
*_wrap_wxWindow_CentreOnParent(PyObject
*self
, PyObject
*args
) {
323 PyObject
* _resultobj
;
325 int _arg1
= (wxBOTH
);
329 if(!PyArg_ParseTuple(args
,"s|i:wxWindow_CentreOnParent",&_argc0
,&_arg1
))
332 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnParent. Expected _wxWindow_p.");
338 wxPy_BEGIN_ALLOW_THREADS
;
339 wxWindow_CentreOnParent(_arg0
,_arg1
);
341 wxPy_END_ALLOW_THREADS
;
342 } Py_INCREF(Py_None
);
343 _resultobj
= Py_None
;
347 #define wxWindow_CenterOnParent(_swigobj,_swigarg0) (_swigobj->CenterOnParent(_swigarg0))
348 static PyObject
*_wrap_wxWindow_CenterOnParent(PyObject
*self
, PyObject
*args
) {
349 PyObject
* _resultobj
;
351 int _arg1
= (wxBOTH
);
355 if(!PyArg_ParseTuple(args
,"s|i:wxWindow_CenterOnParent",&_argc0
,&_arg1
))
358 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnParent. Expected _wxWindow_p.");
364 wxPy_BEGIN_ALLOW_THREADS
;
365 wxWindow_CenterOnParent(_arg0
,_arg1
);
367 wxPy_END_ALLOW_THREADS
;
368 } Py_INCREF(Py_None
);
369 _resultobj
= Py_None
;
373 #define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
374 static PyObject
*_wrap_wxWindow_ClientToScreenXY(PyObject
*self
, PyObject
*args
) {
375 PyObject
* _resultobj
;
381 PyObject
* _obj1
= 0;
383 PyObject
* _obj2
= 0;
386 if(!PyArg_ParseTuple(args
,"sOO:wxWindow_ClientToScreenXY",&_argc0
,&_obj1
,&_obj2
))
389 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
395 temp
= (int) PyInt_AsLong(_obj1
);
399 temp0
= (int) PyInt_AsLong(_obj2
);
403 wxPy_BEGIN_ALLOW_THREADS
;
404 wxWindow_ClientToScreenXY(_arg0
,_arg1
,_arg2
);
406 wxPy_END_ALLOW_THREADS
;
407 } Py_INCREF(Py_None
);
408 _resultobj
= Py_None
;
411 o
= PyInt_FromLong((long) (*_arg1
));
412 _resultobj
= t_output_helper(_resultobj
, o
);
416 o
= PyInt_FromLong((long) (*_arg2
));
417 _resultobj
= t_output_helper(_resultobj
, o
);
422 #define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
423 static PyObject
*_wrap_wxWindow_ClientToScreen(PyObject
*self
, PyObject
*args
) {
424 PyObject
* _resultobj
;
433 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ClientToScreen",&_argc0
,&_argc1
))
436 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
442 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ClientToScreen. Expected _wxPoint_p.");
448 wxPy_BEGIN_ALLOW_THREADS
;
449 _result
= new wxPoint (wxWindow_ClientToScreen(_arg0
,*_arg1
));
451 wxPy_END_ALLOW_THREADS
;
452 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
453 _resultobj
= Py_BuildValue("s",_ptemp
);
457 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
458 static PyObject
*_wrap_wxWindow_Close(PyObject
*self
, PyObject
*args
) {
459 PyObject
* _resultobj
;
466 if(!PyArg_ParseTuple(args
,"s|i:wxWindow_Close",&_argc0
,&_arg1
))
469 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
475 wxPy_BEGIN_ALLOW_THREADS
;
476 _result
= (bool )wxWindow_Close(_arg0
,_arg1
);
478 wxPy_END_ALLOW_THREADS
;
479 } _resultobj
= Py_BuildValue("i",_result
);
483 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
484 static PyObject
*_wrap_wxWindow_Destroy(PyObject
*self
, PyObject
*args
) {
485 PyObject
* _resultobj
;
491 if(!PyArg_ParseTuple(args
,"s:wxWindow_Destroy",&_argc0
))
494 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
500 wxPy_BEGIN_ALLOW_THREADS
;
501 _result
= (bool )wxWindow_Destroy(_arg0
);
503 wxPy_END_ALLOW_THREADS
;
504 } _resultobj
= Py_BuildValue("i",_result
);
508 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
509 static PyObject
*_wrap_wxWindow_DestroyChildren(PyObject
*self
, PyObject
*args
) {
510 PyObject
* _resultobj
;
515 if(!PyArg_ParseTuple(args
,"s:wxWindow_DestroyChildren",&_argc0
))
518 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
524 wxPy_BEGIN_ALLOW_THREADS
;
525 wxWindow_DestroyChildren(_arg0
);
527 wxPy_END_ALLOW_THREADS
;
528 } Py_INCREF(Py_None
);
529 _resultobj
= Py_None
;
533 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
534 static PyObject
*_wrap_wxWindow_Enable(PyObject
*self
, PyObject
*args
) {
535 PyObject
* _resultobj
;
542 if(!PyArg_ParseTuple(args
,"si:wxWindow_Enable",&_argc0
,&tempbool1
))
545 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
550 _arg1
= (bool ) tempbool1
;
552 wxPy_BEGIN_ALLOW_THREADS
;
553 wxWindow_Enable(_arg0
,_arg1
);
555 wxPy_END_ALLOW_THREADS
;
556 } Py_INCREF(Py_None
);
557 _resultobj
= Py_None
;
561 #define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
562 static PyObject
*_wrap_wxWindow_FindWindowById(PyObject
*self
, PyObject
*args
) {
563 PyObject
* _resultobj
;
571 if(!PyArg_ParseTuple(args
,"sl:wxWindow_FindWindowById",&_argc0
,&_arg1
))
574 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
580 wxPy_BEGIN_ALLOW_THREADS
;
581 _result
= (wxWindow
*)wxWindow_FindWindowById(_arg0
,_arg1
);
583 wxPy_END_ALLOW_THREADS
;
584 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
585 _resultobj
= Py_BuildValue("s",_ptemp
);
589 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
590 static PyObject
*_wrap_wxWindow_FindWindowByName(PyObject
*self
, PyObject
*args
) {
591 PyObject
* _resultobj
;
596 PyObject
* _obj1
= 0;
600 if(!PyArg_ParseTuple(args
,"sO:wxWindow_FindWindowByName",&_argc0
,&_obj1
))
603 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
609 if (!PyString_Check(_obj1
)) {
610 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
613 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
616 wxPy_BEGIN_ALLOW_THREADS
;
617 _result
= (wxWindow
*)wxWindow_FindWindowByName(_arg0
,*_arg1
);
619 wxPy_END_ALLOW_THREADS
;
620 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
621 _resultobj
= Py_BuildValue("s",_ptemp
);
629 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
630 static PyObject
*_wrap_wxWindow_Fit(PyObject
*self
, PyObject
*args
) {
631 PyObject
* _resultobj
;
636 if(!PyArg_ParseTuple(args
,"s:wxWindow_Fit",&_argc0
))
639 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
645 wxPy_BEGIN_ALLOW_THREADS
;
648 wxPy_END_ALLOW_THREADS
;
649 } Py_INCREF(Py_None
);
650 _resultobj
= Py_None
;
654 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
655 static PyObject
*_wrap_wxWindow_GetBackgroundColour(PyObject
*self
, PyObject
*args
) {
656 PyObject
* _resultobj
;
663 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetBackgroundColour",&_argc0
))
666 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
672 wxPy_BEGIN_ALLOW_THREADS
;
673 _result
= new wxColour (wxWindow_GetBackgroundColour(_arg0
));
675 wxPy_END_ALLOW_THREADS
;
676 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
677 _resultobj
= Py_BuildValue("s",_ptemp
);
681 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
682 static PyObject
*_wrap_wxWindow_GetCharHeight(PyObject
*self
, PyObject
*args
) {
683 PyObject
* _resultobj
;
689 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetCharHeight",&_argc0
))
692 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
698 wxPy_BEGIN_ALLOW_THREADS
;
699 _result
= (int )wxWindow_GetCharHeight(_arg0
);
701 wxPy_END_ALLOW_THREADS
;
702 } _resultobj
= Py_BuildValue("i",_result
);
706 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
707 static PyObject
*_wrap_wxWindow_GetCharWidth(PyObject
*self
, PyObject
*args
) {
708 PyObject
* _resultobj
;
714 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetCharWidth",&_argc0
))
717 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
723 wxPy_BEGIN_ALLOW_THREADS
;
724 _result
= (int )wxWindow_GetCharWidth(_arg0
);
726 wxPy_END_ALLOW_THREADS
;
727 } _resultobj
= Py_BuildValue("i",_result
);
731 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
732 static PyObject
*_wrap_wxWindow_GetClientSizeTuple(PyObject
*self
, PyObject
*args
) {
733 PyObject
* _resultobj
;
748 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetClientSizeTuple",&_argc0
))
751 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
757 wxPy_BEGIN_ALLOW_THREADS
;
758 wxWindow_GetClientSizeTuple(_arg0
,_arg1
,_arg2
);
760 wxPy_END_ALLOW_THREADS
;
761 } Py_INCREF(Py_None
);
762 _resultobj
= Py_None
;
765 o
= PyInt_FromLong((long) (*_arg1
));
766 _resultobj
= t_output_helper(_resultobj
, o
);
770 o
= PyInt_FromLong((long) (*_arg2
));
771 _resultobj
= t_output_helper(_resultobj
, o
);
776 #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
777 static PyObject
*_wrap_wxWindow_GetClientSize(PyObject
*self
, PyObject
*args
) {
778 PyObject
* _resultobj
;
785 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetClientSize",&_argc0
))
788 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
794 wxPy_BEGIN_ALLOW_THREADS
;
795 _result
= new wxSize (wxWindow_GetClientSize(_arg0
));
797 wxPy_END_ALLOW_THREADS
;
798 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
799 _resultobj
= Py_BuildValue("s",_ptemp
);
803 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
804 static PyObject
*_wrap_wxWindow_GetConstraints(PyObject
*self
, PyObject
*args
) {
805 PyObject
* _resultobj
;
806 wxLayoutConstraints
* _result
;
812 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetConstraints",&_argc0
))
815 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
821 wxPy_BEGIN_ALLOW_THREADS
;
822 _result
= (wxLayoutConstraints
*)wxWindow_GetConstraints(_arg0
);
824 wxPy_END_ALLOW_THREADS
;
825 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
826 _resultobj
= Py_BuildValue("s",_ptemp
);
830 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
831 static PyObject
*_wrap_wxWindow_GetFont(PyObject
*self
, PyObject
*args
) {
832 PyObject
* _resultobj
;
839 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetFont",&_argc0
))
842 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
848 wxPy_BEGIN_ALLOW_THREADS
;
849 wxFont
& _result_ref
= wxWindow_GetFont(_arg0
);
850 _result
= (wxFont
*) &_result_ref
;
852 wxPy_END_ALLOW_THREADS
;
853 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
854 _resultobj
= Py_BuildValue("s",_ptemp
);
858 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
859 static PyObject
*_wrap_wxWindow_GetForegroundColour(PyObject
*self
, PyObject
*args
) {
860 PyObject
* _resultobj
;
867 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetForegroundColour",&_argc0
))
870 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
876 wxPy_BEGIN_ALLOW_THREADS
;
877 _result
= new wxColour (wxWindow_GetForegroundColour(_arg0
));
879 wxPy_END_ALLOW_THREADS
;
880 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
881 _resultobj
= Py_BuildValue("s",_ptemp
);
885 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
886 static PyObject
*_wrap_wxWindow_GetGrandParent(PyObject
*self
, PyObject
*args
) {
887 PyObject
* _resultobj
;
894 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetGrandParent",&_argc0
))
897 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
903 wxPy_BEGIN_ALLOW_THREADS
;
904 _result
= (wxWindow
*)wxWindow_GetGrandParent(_arg0
);
906 wxPy_END_ALLOW_THREADS
;
907 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
908 _resultobj
= Py_BuildValue("s",_ptemp
);
912 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
913 static PyObject
*_wrap_wxWindow_GetId(PyObject
*self
, PyObject
*args
) {
914 PyObject
* _resultobj
;
920 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetId",&_argc0
))
923 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
929 wxPy_BEGIN_ALLOW_THREADS
;
930 _result
= (int )wxWindow_GetId(_arg0
);
932 wxPy_END_ALLOW_THREADS
;
933 } _resultobj
= Py_BuildValue("i",_result
);
937 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
938 static PyObject
*_wrap_wxWindow_GetLabel(PyObject
*self
, PyObject
*args
) {
939 PyObject
* _resultobj
;
945 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetLabel",&_argc0
))
948 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
954 wxPy_BEGIN_ALLOW_THREADS
;
955 _result
= new wxString (wxWindow_GetLabel(_arg0
));
957 wxPy_END_ALLOW_THREADS
;
959 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
967 #define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
968 static PyObject
*_wrap_wxWindow_SetLabel(PyObject
*self
, PyObject
*args
) {
969 PyObject
* _resultobj
;
973 PyObject
* _obj1
= 0;
976 if(!PyArg_ParseTuple(args
,"sO:wxWindow_SetLabel",&_argc0
,&_obj1
))
979 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
985 if (!PyString_Check(_obj1
)) {
986 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
989 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
992 wxPy_BEGIN_ALLOW_THREADS
;
993 wxWindow_SetLabel(_arg0
,*_arg1
);
995 wxPy_END_ALLOW_THREADS
;
996 } Py_INCREF(Py_None
);
997 _resultobj
= Py_None
;
1005 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
1006 static PyObject
*_wrap_wxWindow_GetName(PyObject
*self
, PyObject
*args
) {
1007 PyObject
* _resultobj
;
1013 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetName",&_argc0
))
1016 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
1022 wxPy_BEGIN_ALLOW_THREADS
;
1023 _result
= new wxString (wxWindow_GetName(_arg0
));
1025 wxPy_END_ALLOW_THREADS
;
1027 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1035 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
1036 static PyObject
*_wrap_wxWindow_GetParent(PyObject
*self
, PyObject
*args
) {
1037 PyObject
* _resultobj
;
1044 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetParent",&_argc0
))
1047 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
1053 wxPy_BEGIN_ALLOW_THREADS
;
1054 _result
= (wxWindow
*)wxWindow_GetParent(_arg0
);
1056 wxPy_END_ALLOW_THREADS
;
1057 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1058 _resultobj
= Py_BuildValue("s",_ptemp
);
1062 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
1063 static PyObject
*_wrap_wxWindow_GetPositionTuple(PyObject
*self
, PyObject
*args
) {
1064 PyObject
* _resultobj
;
1079 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetPositionTuple",&_argc0
))
1082 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
1088 wxPy_BEGIN_ALLOW_THREADS
;
1089 wxWindow_GetPositionTuple(_arg0
,_arg1
,_arg2
);
1091 wxPy_END_ALLOW_THREADS
;
1092 } Py_INCREF(Py_None
);
1093 _resultobj
= Py_None
;
1096 o
= PyInt_FromLong((long) (*_arg1
));
1097 _resultobj
= t_output_helper(_resultobj
, o
);
1101 o
= PyInt_FromLong((long) (*_arg2
));
1102 _resultobj
= t_output_helper(_resultobj
, o
);
1107 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
1108 static PyObject
*_wrap_wxWindow_GetPosition(PyObject
*self
, PyObject
*args
) {
1109 PyObject
* _resultobj
;
1116 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetPosition",&_argc0
))
1119 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
1125 wxPy_BEGIN_ALLOW_THREADS
;
1126 _result
= new wxPoint (wxWindow_GetPosition(_arg0
));
1128 wxPy_END_ALLOW_THREADS
;
1129 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1130 _resultobj
= Py_BuildValue("s",_ptemp
);
1134 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
1135 static PyObject
*_wrap_wxWindow_GetRect(PyObject
*self
, PyObject
*args
) {
1136 PyObject
* _resultobj
;
1143 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetRect",&_argc0
))
1146 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
1152 wxPy_BEGIN_ALLOW_THREADS
;
1153 _result
= new wxRect (wxWindow_GetRect(_arg0
));
1155 wxPy_END_ALLOW_THREADS
;
1156 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1157 _resultobj
= Py_BuildValue("s",_ptemp
);
1161 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
1162 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*self
, PyObject
*args
) {
1163 PyObject
* _resultobj
;
1170 if(!PyArg_ParseTuple(args
,"si:wxWindow_GetScrollThumb",&_argc0
,&_arg1
))
1173 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
1179 wxPy_BEGIN_ALLOW_THREADS
;
1180 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
1182 wxPy_END_ALLOW_THREADS
;
1183 } _resultobj
= Py_BuildValue("i",_result
);
1187 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
1188 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
) {
1189 PyObject
* _resultobj
;
1196 if(!PyArg_ParseTuple(args
,"si:wxWindow_GetScrollPos",&_argc0
,&_arg1
))
1199 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
1205 wxPy_BEGIN_ALLOW_THREADS
;
1206 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
1208 wxPy_END_ALLOW_THREADS
;
1209 } _resultobj
= Py_BuildValue("i",_result
);
1213 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
1214 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*self
, PyObject
*args
) {
1215 PyObject
* _resultobj
;
1222 if(!PyArg_ParseTuple(args
,"si:wxWindow_GetScrollRange",&_argc0
,&_arg1
))
1225 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
1231 wxPy_BEGIN_ALLOW_THREADS
;
1232 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
1234 wxPy_END_ALLOW_THREADS
;
1235 } _resultobj
= Py_BuildValue("i",_result
);
1239 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
1240 static PyObject
*_wrap_wxWindow_GetSizeTuple(PyObject
*self
, PyObject
*args
) {
1241 PyObject
* _resultobj
;
1256 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetSizeTuple",&_argc0
))
1259 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
1265 wxPy_BEGIN_ALLOW_THREADS
;
1266 wxWindow_GetSizeTuple(_arg0
,_arg1
,_arg2
);
1268 wxPy_END_ALLOW_THREADS
;
1269 } Py_INCREF(Py_None
);
1270 _resultobj
= Py_None
;
1273 o
= PyInt_FromLong((long) (*_arg1
));
1274 _resultobj
= t_output_helper(_resultobj
, o
);
1278 o
= PyInt_FromLong((long) (*_arg2
));
1279 _resultobj
= t_output_helper(_resultobj
, o
);
1284 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
1285 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*self
, PyObject
*args
) {
1286 PyObject
* _resultobj
;
1293 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetSize",&_argc0
))
1296 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
1302 wxPy_BEGIN_ALLOW_THREADS
;
1303 _result
= new wxSize (wxWindow_GetSize(_arg0
));
1305 wxPy_END_ALLOW_THREADS
;
1306 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1307 _resultobj
= Py_BuildValue("s",_ptemp
);
1311 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
1312 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
) {
1313 PyObject
* _resultobj
;
1321 PyObject
* _obj1
= 0;
1330 if(!PyArg_ParseTuple(args
,"sO:wxWindow_GetTextExtent",&_argc0
,&_obj1
))
1333 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
1339 if (!PyString_Check(_obj1
)) {
1340 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1343 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1346 wxPy_BEGIN_ALLOW_THREADS
;
1347 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
1349 wxPy_END_ALLOW_THREADS
;
1350 } Py_INCREF(Py_None
);
1351 _resultobj
= Py_None
;
1354 o
= PyInt_FromLong((long) (*_arg2
));
1355 _resultobj
= t_output_helper(_resultobj
, o
);
1359 o
= PyInt_FromLong((long) (*_arg3
));
1360 _resultobj
= t_output_helper(_resultobj
, o
);
1369 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1370 static PyObject
*_wrap_wxWindow_GetFullTextExtent(PyObject
*self
, PyObject
*args
) {
1371 PyObject
* _resultobj
;
1382 wxFont
* _arg6
= NULL
;
1384 PyObject
* _obj1
= 0;
1400 if(!PyArg_ParseTuple(args
,"sO|s:wxWindow_GetFullTextExtent",&_argc0
,&_obj1
,&_argc6
))
1403 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
1409 if (!PyString_Check(_obj1
)) {
1410 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1413 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1416 if (SWIG_GetPtr(_argc6
,(void **) &_arg6
,"_wxFont_p")) {
1417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
1422 wxPy_BEGIN_ALLOW_THREADS
;
1423 wxWindow_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1425 wxPy_END_ALLOW_THREADS
;
1426 } Py_INCREF(Py_None
);
1427 _resultobj
= Py_None
;
1430 o
= PyInt_FromLong((long) (*_arg2
));
1431 _resultobj
= t_output_helper(_resultobj
, o
);
1435 o
= PyInt_FromLong((long) (*_arg3
));
1436 _resultobj
= t_output_helper(_resultobj
, o
);
1440 o
= PyInt_FromLong((long) (*_arg4
));
1441 _resultobj
= t_output_helper(_resultobj
, o
);
1445 o
= PyInt_FromLong((long) (*_arg5
));
1446 _resultobj
= t_output_helper(_resultobj
, o
);
1455 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
1456 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
) {
1457 PyObject
* _resultobj
;
1463 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetTitle",&_argc0
))
1466 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
1472 wxPy_BEGIN_ALLOW_THREADS
;
1473 _result
= new wxString (wxWindow_GetTitle(_arg0
));
1475 wxPy_END_ALLOW_THREADS
;
1477 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1485 #define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
1486 static PyObject
*_wrap_wxWindow_GetUpdateRegion(PyObject
*self
, PyObject
*args
) {
1487 PyObject
* _resultobj
;
1494 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetUpdateRegion",&_argc0
))
1497 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
1503 wxPy_BEGIN_ALLOW_THREADS
;
1504 _result
= new wxRegion (wxWindow_GetUpdateRegion(_arg0
));
1506 wxPy_END_ALLOW_THREADS
;
1507 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRegion_p");
1508 _resultobj
= Py_BuildValue("s",_ptemp
);
1512 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
1513 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
) {
1514 PyObject
* _resultobj
;
1520 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetWindowStyleFlag",&_argc0
))
1523 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
1529 wxPy_BEGIN_ALLOW_THREADS
;
1530 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
1532 wxPy_END_ALLOW_THREADS
;
1533 } _resultobj
= Py_BuildValue("l",_result
);
1537 #define wxWindow_Hide(_swigobj) (_swigobj->Hide())
1538 static PyObject
*_wrap_wxWindow_Hide(PyObject
*self
, PyObject
*args
) {
1539 PyObject
* _resultobj
;
1545 if(!PyArg_ParseTuple(args
,"s:wxWindow_Hide",&_argc0
))
1548 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
1554 wxPy_BEGIN_ALLOW_THREADS
;
1555 _result
= (bool )wxWindow_Hide(_arg0
);
1557 wxPy_END_ALLOW_THREADS
;
1558 } _resultobj
= Py_BuildValue("i",_result
);
1562 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
1563 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
) {
1564 PyObject
* _resultobj
;
1569 if(!PyArg_ParseTuple(args
,"s:wxWindow_InitDialog",&_argc0
))
1572 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
1578 wxPy_BEGIN_ALLOW_THREADS
;
1579 wxWindow_InitDialog(_arg0
);
1581 wxPy_END_ALLOW_THREADS
;
1582 } Py_INCREF(Py_None
);
1583 _resultobj
= Py_None
;
1587 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
1588 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
) {
1589 PyObject
* _resultobj
;
1595 if(!PyArg_ParseTuple(args
,"s:wxWindow_IsEnabled",&_argc0
))
1598 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
1604 wxPy_BEGIN_ALLOW_THREADS
;
1605 _result
= (bool )wxWindow_IsEnabled(_arg0
);
1607 wxPy_END_ALLOW_THREADS
;
1608 } _resultobj
= Py_BuildValue("i",_result
);
1612 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
1613 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
) {
1614 PyObject
* _resultobj
;
1620 if(!PyArg_ParseTuple(args
,"s:wxWindow_IsRetained",&_argc0
))
1623 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
1629 wxPy_BEGIN_ALLOW_THREADS
;
1630 _result
= (bool )wxWindow_IsRetained(_arg0
);
1632 wxPy_END_ALLOW_THREADS
;
1633 } _resultobj
= Py_BuildValue("i",_result
);
1637 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
1638 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
) {
1639 PyObject
* _resultobj
;
1645 if(!PyArg_ParseTuple(args
,"s:wxWindow_IsShown",&_argc0
))
1648 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
1654 wxPy_BEGIN_ALLOW_THREADS
;
1655 _result
= (bool )wxWindow_IsShown(_arg0
);
1657 wxPy_END_ALLOW_THREADS
;
1658 } _resultobj
= Py_BuildValue("i",_result
);
1662 #define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
1663 static PyObject
*_wrap_wxWindow_IsTopLevel(PyObject
*self
, PyObject
*args
) {
1664 PyObject
* _resultobj
;
1670 if(!PyArg_ParseTuple(args
,"s:wxWindow_IsTopLevel",&_argc0
))
1673 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
1679 wxPy_BEGIN_ALLOW_THREADS
;
1680 _result
= (bool )wxWindow_IsTopLevel(_arg0
);
1682 wxPy_END_ALLOW_THREADS
;
1683 } _resultobj
= Py_BuildValue("i",_result
);
1687 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
1688 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
) {
1689 PyObject
* _resultobj
;
1694 if(!PyArg_ParseTuple(args
,"s:wxWindow_Layout",&_argc0
))
1697 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
1703 wxPy_BEGIN_ALLOW_THREADS
;
1704 wxWindow_Layout(_arg0
);
1706 wxPy_END_ALLOW_THREADS
;
1707 } Py_INCREF(Py_None
);
1708 _resultobj
= Py_None
;
1712 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
1713 static PyObject
*_wrap_wxWindow_LoadFromResource(PyObject
*self
, PyObject
*args
) {
1714 PyObject
* _resultobj
;
1719 wxResourceTable
* _arg3
= NULL
;
1722 PyObject
* _obj2
= 0;
1726 if(!PyArg_ParseTuple(args
,"ssO|s:wxWindow_LoadFromResource",&_argc0
,&_argc1
,&_obj2
,&_argc3
))
1729 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
1735 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
1736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
1741 if (!PyString_Check(_obj2
)) {
1742 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1745 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
1748 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxResourceTable_p")) {
1749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
1754 wxPy_BEGIN_ALLOW_THREADS
;
1755 _result
= (bool )wxWindow_LoadFromResource(_arg0
,_arg1
,*_arg2
,_arg3
);
1757 wxPy_END_ALLOW_THREADS
;
1758 } _resultobj
= Py_BuildValue("i",_result
);
1766 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
1767 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
) {
1768 PyObject
* _resultobj
;
1773 if(!PyArg_ParseTuple(args
,"s:wxWindow_Lower",&_argc0
))
1776 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
1782 wxPy_BEGIN_ALLOW_THREADS
;
1783 wxWindow_Lower(_arg0
);
1785 wxPy_END_ALLOW_THREADS
;
1786 } Py_INCREF(Py_None
);
1787 _resultobj
= Py_None
;
1791 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
1792 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
) {
1793 PyObject
* _resultobj
;
1800 if(!PyArg_ParseTuple(args
,"si:wxWindow_MakeModal",&_argc0
,&tempbool1
))
1803 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
1808 _arg1
= (bool ) tempbool1
;
1810 wxPy_BEGIN_ALLOW_THREADS
;
1811 wxWindow_MakeModal(_arg0
,_arg1
);
1813 wxPy_END_ALLOW_THREADS
;
1814 } Py_INCREF(Py_None
);
1815 _resultobj
= Py_None
;
1819 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
1820 static PyObject
*_wrap_wxWindow_MoveXY(PyObject
*self
, PyObject
*args
) {
1821 PyObject
* _resultobj
;
1828 if(!PyArg_ParseTuple(args
,"sii:wxWindow_MoveXY",&_argc0
,&_arg1
,&_arg2
))
1831 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
1837 wxPy_BEGIN_ALLOW_THREADS
;
1838 wxWindow_MoveXY(_arg0
,_arg1
,_arg2
);
1840 wxPy_END_ALLOW_THREADS
;
1841 } Py_INCREF(Py_None
);
1842 _resultobj
= Py_None
;
1846 #define wxWindow_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
1847 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
) {
1848 PyObject
* _resultobj
;
1855 if(!PyArg_ParseTuple(args
,"ss:wxWindow_Move",&_argc0
,&_argc1
))
1858 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
1864 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
1865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Move. Expected _wxPoint_p.");
1870 wxPy_BEGIN_ALLOW_THREADS
;
1871 wxWindow_Move(_arg0
,*_arg1
);
1873 wxPy_END_ALLOW_THREADS
;
1874 } Py_INCREF(Py_None
);
1875 _resultobj
= Py_None
;
1879 #define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
1880 static PyObject
*_wrap_wxWindow_PopupMenuXY(PyObject
*self
, PyObject
*args
) {
1881 PyObject
* _resultobj
;
1891 if(!PyArg_ParseTuple(args
,"ssii:wxWindow_PopupMenuXY",&_argc0
,&_argc1
,&_arg2
,&_arg3
))
1894 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
1900 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxMenu_p")) {
1901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
1906 wxPy_BEGIN_ALLOW_THREADS
;
1907 _result
= (bool )wxWindow_PopupMenuXY(_arg0
,_arg1
,_arg2
,_arg3
);
1909 wxPy_END_ALLOW_THREADS
;
1910 } _resultobj
= Py_BuildValue("i",_result
);
1914 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
1915 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
) {
1916 PyObject
* _resultobj
;
1926 if(!PyArg_ParseTuple(args
,"sss:wxWindow_PopupMenu",&_argc0
,&_argc1
,&_argc2
))
1929 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
1935 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxMenu_p")) {
1936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
1941 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
1942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxWindow_PopupMenu. Expected _wxPoint_p.");
1947 wxPy_BEGIN_ALLOW_THREADS
;
1948 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,*_arg2
);
1950 wxPy_END_ALLOW_THREADS
;
1951 } _resultobj
= Py_BuildValue("i",_result
);
1955 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
1956 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
) {
1957 PyObject
* _resultobj
;
1962 if(!PyArg_ParseTuple(args
,"s:wxWindow_Raise",&_argc0
))
1965 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
1971 wxPy_BEGIN_ALLOW_THREADS
;
1972 wxWindow_Raise(_arg0
);
1974 wxPy_END_ALLOW_THREADS
;
1975 } Py_INCREF(Py_None
);
1976 _resultobj
= Py_None
;
1980 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
1981 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
) {
1982 PyObject
* _resultobj
;
1985 wxRect
* _arg2
= NULL
;
1991 if(!PyArg_ParseTuple(args
,"s|is:wxWindow_Refresh",&_argc0
,&tempbool1
,&_argc2
))
1994 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
1999 _arg1
= (bool ) tempbool1
;
2001 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxRect_p")) {
2002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxWindow_Refresh. Expected _wxRect_p.");
2007 wxPy_BEGIN_ALLOW_THREADS
;
2008 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
2010 wxPy_END_ALLOW_THREADS
;
2011 } Py_INCREF(Py_None
);
2012 _resultobj
= Py_None
;
2016 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
2017 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
) {
2018 PyObject
* _resultobj
;
2023 if(!PyArg_ParseTuple(args
,"s:wxWindow_ReleaseMouse",&_argc0
))
2026 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
2032 wxPy_BEGIN_ALLOW_THREADS
;
2033 wxWindow_ReleaseMouse(_arg0
);
2035 wxPy_END_ALLOW_THREADS
;
2036 } Py_INCREF(Py_None
);
2037 _resultobj
= Py_None
;
2041 #define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
2042 static PyObject
*_wrap_wxWindow_Reparent(PyObject
*self
, PyObject
*args
) {
2043 PyObject
* _resultobj
;
2051 if(!PyArg_ParseTuple(args
,"ss:wxWindow_Reparent",&_argc0
,&_argc1
))
2054 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
2060 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
2061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
2066 wxPy_BEGIN_ALLOW_THREADS
;
2067 _result
= (bool )wxWindow_Reparent(_arg0
,_arg1
);
2069 wxPy_END_ALLOW_THREADS
;
2070 } _resultobj
= Py_BuildValue("i",_result
);
2074 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
2075 static PyObject
*_wrap_wxWindow_ScreenToClientXY(PyObject
*self
, PyObject
*args
) {
2076 PyObject
* _resultobj
;
2082 PyObject
* _obj1
= 0;
2084 PyObject
* _obj2
= 0;
2087 if(!PyArg_ParseTuple(args
,"sOO:wxWindow_ScreenToClientXY",&_argc0
,&_obj1
,&_obj2
))
2090 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
2096 temp
= (int) PyInt_AsLong(_obj1
);
2100 temp0
= (int) PyInt_AsLong(_obj2
);
2104 wxPy_BEGIN_ALLOW_THREADS
;
2105 wxWindow_ScreenToClientXY(_arg0
,_arg1
,_arg2
);
2107 wxPy_END_ALLOW_THREADS
;
2108 } Py_INCREF(Py_None
);
2109 _resultobj
= Py_None
;
2112 o
= PyInt_FromLong((long) (*_arg1
));
2113 _resultobj
= t_output_helper(_resultobj
, o
);
2117 o
= PyInt_FromLong((long) (*_arg2
));
2118 _resultobj
= t_output_helper(_resultobj
, o
);
2123 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
2124 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
) {
2125 PyObject
* _resultobj
;
2134 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ScreenToClient",&_argc0
,&_argc1
))
2137 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
2143 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
2144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ScreenToClient. Expected _wxPoint_p.");
2149 wxPy_BEGIN_ALLOW_THREADS
;
2150 _result
= new wxPoint (wxWindow_ScreenToClient(_arg0
,*_arg1
));
2152 wxPy_END_ALLOW_THREADS
;
2153 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2154 _resultobj
= Py_BuildValue("s",_ptemp
);
2158 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
2159 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
) {
2160 PyObject
* _resultobj
;
2164 wxRect
* _arg3
= NULL
;
2169 if(!PyArg_ParseTuple(args
,"sii|s:wxWindow_ScrollWindow",&_argc0
,&_arg1
,&_arg2
,&_argc3
))
2172 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
2178 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxRect_p")) {
2179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_ScrollWindow. Expected _wxRect_p.");
2184 wxPy_BEGIN_ALLOW_THREADS
;
2185 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
2187 wxPy_END_ALLOW_THREADS
;
2188 } Py_INCREF(Py_None
);
2189 _resultobj
= Py_None
;
2193 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
2194 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
) {
2195 PyObject
* _resultobj
;
2197 wxAcceleratorTable
* _arg1
;
2202 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetAcceleratorTable",&_argc0
,&_argc1
))
2205 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
2211 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
2212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
2217 wxPy_BEGIN_ALLOW_THREADS
;
2218 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
2220 wxPy_END_ALLOW_THREADS
;
2221 } Py_INCREF(Py_None
);
2222 _resultobj
= Py_None
;
2226 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
2227 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
) {
2228 PyObject
* _resultobj
;
2235 if(!PyArg_ParseTuple(args
,"si:wxWindow_SetAutoLayout",&_argc0
,&tempbool1
))
2238 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
2243 _arg1
= (bool ) tempbool1
;
2245 wxPy_BEGIN_ALLOW_THREADS
;
2246 wxWindow_SetAutoLayout(_arg0
,_arg1
);
2248 wxPy_END_ALLOW_THREADS
;
2249 } Py_INCREF(Py_None
);
2250 _resultobj
= Py_None
;
2254 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
2255 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
) {
2256 PyObject
* _resultobj
;
2263 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetBackgroundColour",&_argc0
,&_argc1
))
2266 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
2272 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
2273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetBackgroundColour. Expected _wxColour_p.");
2278 wxPy_BEGIN_ALLOW_THREADS
;
2279 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
2281 wxPy_END_ALLOW_THREADS
;
2282 } Py_INCREF(Py_None
);
2283 _resultobj
= Py_None
;
2287 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
2288 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
) {
2289 PyObject
* _resultobj
;
2291 wxLayoutConstraints
* _arg1
;
2296 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetConstraints",&_argc0
,&_argc1
))
2299 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
2305 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
2306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
2311 wxPy_BEGIN_ALLOW_THREADS
;
2312 wxWindow_SetConstraints(_arg0
,_arg1
);
2314 wxPy_END_ALLOW_THREADS
;
2315 } Py_INCREF(Py_None
);
2316 _resultobj
= Py_None
;
2320 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
2321 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
) {
2322 PyObject
* _resultobj
;
2327 if(!PyArg_ParseTuple(args
,"s:wxWindow_SetFocus",&_argc0
))
2330 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
2336 wxPy_BEGIN_ALLOW_THREADS
;
2337 wxWindow_SetFocus(_arg0
);
2339 wxPy_END_ALLOW_THREADS
;
2340 } Py_INCREF(Py_None
);
2341 _resultobj
= Py_None
;
2345 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
2346 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
) {
2347 PyObject
* _resultobj
;
2354 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetFont",&_argc0
,&_argc1
))
2357 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
2363 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxFont_p")) {
2364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
2369 wxPy_BEGIN_ALLOW_THREADS
;
2370 wxWindow_SetFont(_arg0
,*_arg1
);
2372 wxPy_END_ALLOW_THREADS
;
2373 } Py_INCREF(Py_None
);
2374 _resultobj
= Py_None
;
2378 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
2379 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
) {
2380 PyObject
* _resultobj
;
2387 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetForegroundColour",&_argc0
,&_argc1
))
2390 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
2396 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
2397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetForegroundColour. Expected _wxColour_p.");
2402 wxPy_BEGIN_ALLOW_THREADS
;
2403 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
2405 wxPy_END_ALLOW_THREADS
;
2406 } Py_INCREF(Py_None
);
2407 _resultobj
= Py_None
;
2411 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
2412 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
) {
2413 PyObject
* _resultobj
;
2419 if(!PyArg_ParseTuple(args
,"si:wxWindow_SetId",&_argc0
,&_arg1
))
2422 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
2428 wxPy_BEGIN_ALLOW_THREADS
;
2429 wxWindow_SetId(_arg0
,_arg1
);
2431 wxPy_END_ALLOW_THREADS
;
2432 } Py_INCREF(Py_None
);
2433 _resultobj
= Py_None
;
2437 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
2438 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
) {
2439 PyObject
* _resultobj
;
2443 PyObject
* _obj1
= 0;
2446 if(!PyArg_ParseTuple(args
,"sO:wxWindow_SetName",&_argc0
,&_obj1
))
2449 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
2455 if (!PyString_Check(_obj1
)) {
2456 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2459 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2462 wxPy_BEGIN_ALLOW_THREADS
;
2463 wxWindow_SetName(_arg0
,*_arg1
);
2465 wxPy_END_ALLOW_THREADS
;
2466 } Py_INCREF(Py_None
);
2467 _resultobj
= Py_None
;
2475 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2476 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
) {
2477 PyObject
* _resultobj
;
2488 if(!PyArg_ParseTuple(args
,"siiii|i:wxWindow_SetScrollbar",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
2491 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
2496 _arg5
= (bool ) tempbool5
;
2498 wxPy_BEGIN_ALLOW_THREADS
;
2499 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2501 wxPy_END_ALLOW_THREADS
;
2502 } Py_INCREF(Py_None
);
2503 _resultobj
= Py_None
;
2507 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
2508 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
) {
2509 PyObject
* _resultobj
;
2518 if(!PyArg_ParseTuple(args
,"sii|i:wxWindow_SetScrollPos",&_argc0
,&_arg1
,&_arg2
,&tempbool3
))
2521 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
2526 _arg3
= (bool ) tempbool3
;
2528 wxPy_BEGIN_ALLOW_THREADS
;
2529 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
2531 wxPy_END_ALLOW_THREADS
;
2532 } Py_INCREF(Py_None
);
2533 _resultobj
= Py_None
;
2537 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2538 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
) {
2539 PyObject
* _resultobj
;
2545 int _arg5
= (wxSIZE_AUTO
);
2549 if(!PyArg_ParseTuple(args
,"siiii|i:wxWindow_SetDimensions",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2552 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
2558 wxPy_BEGIN_ALLOW_THREADS
;
2559 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2561 wxPy_END_ALLOW_THREADS
;
2562 } Py_INCREF(Py_None
);
2563 _resultobj
= Py_None
;
2567 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
2568 self
->SetSize(size
.x
, size
.y
);
2570 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
) {
2571 PyObject
* _resultobj
;
2578 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetSize",&_argc0
,&_argc1
))
2581 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
2587 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
2588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSize. Expected _wxSize_p.");
2593 wxPy_BEGIN_ALLOW_THREADS
;
2594 wxWindow_SetSize(_arg0
,*_arg1
);
2596 wxPy_END_ALLOW_THREADS
;
2597 } Py_INCREF(Py_None
);
2598 _resultobj
= Py_None
;
2602 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
) {
2603 self
->SetSize(pos
.x
, pos
.y
, -1, -1);
2605 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
) {
2606 PyObject
* _resultobj
;
2613 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetPosition",&_argc0
,&_argc1
))
2616 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
2622 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
2623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetPosition. Expected _wxPoint_p.");
2628 wxPy_BEGIN_ALLOW_THREADS
;
2629 wxWindow_SetPosition(_arg0
,*_arg1
);
2631 wxPy_END_ALLOW_THREADS
;
2632 } Py_INCREF(Py_None
);
2633 _resultobj
= Py_None
;
2637 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2638 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
) {
2639 PyObject
* _resultobj
;
2650 if(!PyArg_ParseTuple(args
,"s|iiiiii:wxWindow_SetSizeHints",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
2653 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
2659 wxPy_BEGIN_ALLOW_THREADS
;
2660 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2662 wxPy_END_ALLOW_THREADS
;
2663 } Py_INCREF(Py_None
);
2664 _resultobj
= Py_None
;
2668 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
2669 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
) {
2670 PyObject
* _resultobj
;
2677 if(!PyArg_ParseTuple(args
,"sii:wxWindow_SetClientSizeWH",&_argc0
,&_arg1
,&_arg2
))
2680 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
2686 wxPy_BEGIN_ALLOW_THREADS
;
2687 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
2689 wxPy_END_ALLOW_THREADS
;
2690 } Py_INCREF(Py_None
);
2691 _resultobj
= Py_None
;
2695 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
2696 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
) {
2697 PyObject
* _resultobj
;
2704 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetClientSize",&_argc0
,&_argc1
))
2707 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
2713 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
2714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetClientSize. Expected _wxSize_p.");
2719 wxPy_BEGIN_ALLOW_THREADS
;
2720 wxWindow_SetClientSize(_arg0
,*_arg1
);
2722 wxPy_END_ALLOW_THREADS
;
2723 } Py_INCREF(Py_None
);
2724 _resultobj
= Py_None
;
2728 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
2729 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
) {
2730 PyObject
* _resultobj
;
2737 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetCursor",&_argc0
,&_argc1
))
2740 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
2746 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxCursor_p")) {
2747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
2752 wxPy_BEGIN_ALLOW_THREADS
;
2753 wxWindow_SetCursor(_arg0
,*_arg1
);
2755 wxPy_END_ALLOW_THREADS
;
2756 } Py_INCREF(Py_None
);
2757 _resultobj
= Py_None
;
2761 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
2762 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
) {
2763 PyObject
* _resultobj
;
2767 PyObject
* _obj1
= 0;
2770 if(!PyArg_ParseTuple(args
,"sO:wxWindow_SetTitle",&_argc0
,&_obj1
))
2773 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
2779 if (!PyString_Check(_obj1
)) {
2780 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2783 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2786 wxPy_BEGIN_ALLOW_THREADS
;
2787 wxWindow_SetTitle(_arg0
,*_arg1
);
2789 wxPy_END_ALLOW_THREADS
;
2790 } Py_INCREF(Py_None
);
2791 _resultobj
= Py_None
;
2799 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
2800 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
) {
2801 PyObject
* _resultobj
;
2809 if(!PyArg_ParseTuple(args
,"si:wxWindow_Show",&_argc0
,&tempbool1
))
2812 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
2817 _arg1
= (bool ) tempbool1
;
2819 wxPy_BEGIN_ALLOW_THREADS
;
2820 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
2822 wxPy_END_ALLOW_THREADS
;
2823 } _resultobj
= Py_BuildValue("i",_result
);
2827 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
2828 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
) {
2829 PyObject
* _resultobj
;
2835 if(!PyArg_ParseTuple(args
,"s:wxWindow_TransferDataFromWindow",&_argc0
))
2838 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
2844 wxPy_BEGIN_ALLOW_THREADS
;
2845 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
2847 wxPy_END_ALLOW_THREADS
;
2848 } _resultobj
= Py_BuildValue("i",_result
);
2852 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
2853 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
) {
2854 PyObject
* _resultobj
;
2860 if(!PyArg_ParseTuple(args
,"s:wxWindow_TransferDataToWindow",&_argc0
))
2863 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
2869 wxPy_BEGIN_ALLOW_THREADS
;
2870 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
2872 wxPy_END_ALLOW_THREADS
;
2873 } _resultobj
= Py_BuildValue("i",_result
);
2877 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
2878 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
) {
2879 PyObject
* _resultobj
;
2885 if(!PyArg_ParseTuple(args
,"s:wxWindow_Validate",&_argc0
))
2888 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
2894 wxPy_BEGIN_ALLOW_THREADS
;
2895 _result
= (bool )wxWindow_Validate(_arg0
);
2897 wxPy_END_ALLOW_THREADS
;
2898 } _resultobj
= Py_BuildValue("i",_result
);
2902 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
2903 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
) {
2904 PyObject
* _resultobj
;
2911 if(!PyArg_ParseTuple(args
,"sii:wxWindow_WarpPointer",&_argc0
,&_arg1
,&_arg2
))
2914 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
2920 wxPy_BEGIN_ALLOW_THREADS
;
2921 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
2923 wxPy_END_ALLOW_THREADS
;
2924 } Py_INCREF(Py_None
);
2925 _resultobj
= Py_None
;
2929 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
2930 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
) {
2931 PyObject
* _resultobj
;
2940 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ConvertDialogPointToPixels",&_argc0
,&_argc1
))
2943 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
2949 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
2950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertDialogPointToPixels. Expected _wxPoint_p.");
2955 wxPy_BEGIN_ALLOW_THREADS
;
2956 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
2958 wxPy_END_ALLOW_THREADS
;
2959 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2960 _resultobj
= Py_BuildValue("s",_ptemp
);
2964 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
2965 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
) {
2966 PyObject
* _resultobj
;
2975 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ConvertDialogSizeToPixels",&_argc0
,&_argc1
))
2978 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
2984 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
2985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertDialogSizeToPixels. Expected _wxSize_p.");
2990 wxPy_BEGIN_ALLOW_THREADS
;
2991 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
2993 wxPy_END_ALLOW_THREADS
;
2994 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2995 _resultobj
= Py_BuildValue("s",_ptemp
);
2999 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
3000 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
) {
3001 PyObject
* _resultobj
;
3010 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ConvertPixelPointToDialog",&_argc0
,&_argc1
))
3013 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
3014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
3019 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
3020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertPixelPointToDialog. Expected _wxPoint_p.");
3025 wxPy_BEGIN_ALLOW_THREADS
;
3026 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
3028 wxPy_END_ALLOW_THREADS
;
3029 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3030 _resultobj
= Py_BuildValue("s",_ptemp
);
3034 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
3035 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
) {
3036 PyObject
* _resultobj
;
3045 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ConvertPixelSizeToDialog",&_argc0
,&_argc1
))
3048 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
3049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
3054 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
3055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertPixelSizeToDialog. Expected _wxSize_p.");
3060 wxPy_BEGIN_ALLOW_THREADS
;
3061 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
3063 wxPy_END_ALLOW_THREADS
;
3064 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3065 _resultobj
= Py_BuildValue("s",_ptemp
);
3069 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
3070 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
) {
3071 PyObject
* _resultobj
;
3075 PyObject
* _obj1
= 0;
3078 if(!PyArg_ParseTuple(args
,"sO:wxWindow_SetToolTipString",&_argc0
,&_obj1
))
3081 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
3082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
3087 if (!PyString_Check(_obj1
)) {
3088 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3091 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3094 wxPy_BEGIN_ALLOW_THREADS
;
3095 wxWindow_SetToolTipString(_arg0
,*_arg1
);
3097 wxPy_END_ALLOW_THREADS
;
3098 } Py_INCREF(Py_None
);
3099 _resultobj
= Py_None
;
3107 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
3108 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
) {
3109 PyObject
* _resultobj
;
3116 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetToolTip",&_argc0
,&_argc1
))
3119 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
3120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
3125 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxToolTip_p")) {
3126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
3131 wxPy_BEGIN_ALLOW_THREADS
;
3132 wxWindow_SetToolTip(_arg0
,_arg1
);
3134 wxPy_END_ALLOW_THREADS
;
3135 } Py_INCREF(Py_None
);
3136 _resultobj
= Py_None
;
3140 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
3141 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
) {
3142 PyObject
* _resultobj
;
3143 wxToolTip
* _result
;
3149 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetToolTip",&_argc0
))
3152 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
3153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
3158 wxPy_BEGIN_ALLOW_THREADS
;
3159 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
3161 wxPy_END_ALLOW_THREADS
;
3162 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
3163 _resultobj
= Py_BuildValue("s",_ptemp
);
3167 static void *SwigwxPanelTowxWindow(void *ptr
) {
3170 src
= (wxPanel
*) ptr
;
3171 dest
= (wxWindow
*) src
;
3172 return (void *) dest
;
3175 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
3178 src
= (wxPanel
*) ptr
;
3179 dest
= (wxEvtHandler
*) src
;
3180 return (void *) dest
;
3183 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3184 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
) {
3185 PyObject
* _resultobj
;
3189 wxPoint
* _arg2
= &wxPyDefaultPosition
;
3190 wxSize
* _arg3
= &wxPyDefaultSize
;
3191 long _arg4
= (wxTAB_TRAVERSAL
);
3192 char * _arg5
= "panel";
3199 if(!PyArg_ParseTuple(args
,"si|ssls:new_wxPanel",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
3202 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
3203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
3208 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
3209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPanel. Expected _wxPoint_p.");
3214 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
3215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxPanel. Expected _wxSize_p.");
3220 wxPy_BEGIN_ALLOW_THREADS
;
3221 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
3223 wxPy_END_ALLOW_THREADS
;
3224 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
3225 _resultobj
= Py_BuildValue("s",_ptemp
);
3229 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
3230 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
) {
3231 PyObject
* _resultobj
;
3236 if(!PyArg_ParseTuple(args
,"s:wxPanel_InitDialog",&_argc0
))
3239 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPanel_p")) {
3240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
3245 wxPy_BEGIN_ALLOW_THREADS
;
3246 wxPanel_InitDialog(_arg0
);
3248 wxPy_END_ALLOW_THREADS
;
3249 } Py_INCREF(Py_None
);
3250 _resultobj
= Py_None
;
3254 #define wxPanel_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
3255 static PyObject
*_wrap_wxPanel_GetDefaultItem(PyObject
*self
, PyObject
*args
) {
3256 PyObject
* _resultobj
;
3263 if(!PyArg_ParseTuple(args
,"s:wxPanel_GetDefaultItem",&_argc0
))
3266 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPanel_p")) {
3267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_GetDefaultItem. Expected _wxPanel_p.");
3272 wxPy_BEGIN_ALLOW_THREADS
;
3273 _result
= (wxButton
*)wxPanel_GetDefaultItem(_arg0
);
3275 wxPy_END_ALLOW_THREADS
;
3276 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
3277 _resultobj
= Py_BuildValue("s",_ptemp
);
3281 #define wxPanel_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
3282 static PyObject
*_wrap_wxPanel_SetDefaultItem(PyObject
*self
, PyObject
*args
) {
3283 PyObject
* _resultobj
;
3290 if(!PyArg_ParseTuple(args
,"ss:wxPanel_SetDefaultItem",&_argc0
,&_argc1
))
3293 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPanel_p")) {
3294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_SetDefaultItem. Expected _wxPanel_p.");
3299 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxButton_p")) {
3300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPanel_SetDefaultItem. Expected _wxButton_p.");
3305 wxPy_BEGIN_ALLOW_THREADS
;
3306 wxPanel_SetDefaultItem(_arg0
,_arg1
);
3308 wxPy_END_ALLOW_THREADS
;
3309 } Py_INCREF(Py_None
);
3310 _resultobj
= Py_None
;
3314 static void *SwigwxDialogTowxPanel(void *ptr
) {
3317 src
= (wxDialog
*) ptr
;
3318 dest
= (wxPanel
*) src
;
3319 return (void *) dest
;
3322 static void *SwigwxDialogTowxWindow(void *ptr
) {
3325 src
= (wxDialog
*) ptr
;
3326 dest
= (wxWindow
*) src
;
3327 return (void *) dest
;
3330 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
3333 src
= (wxDialog
*) ptr
;
3334 dest
= (wxEvtHandler
*) src
;
3335 return (void *) dest
;
3338 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3339 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
) {
3340 PyObject
* _resultobj
;
3345 wxPoint
* _arg3
= &wxPyDefaultPosition
;
3346 wxSize
* _arg4
= &wxPyDefaultSize
;
3347 long _arg5
= (wxDEFAULT_DIALOG_STYLE
);
3348 char * _arg6
= "dialogBox";
3350 PyObject
* _obj2
= 0;
3356 if(!PyArg_ParseTuple(args
,"siO|ssls:new_wxDialog",&_argc0
,&_arg1
,&_obj2
,&_argc3
,&_argc4
,&_arg5
,&_arg6
))
3359 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
3360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
3365 if (!PyString_Check(_obj2
)) {
3366 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3369 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
3372 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxPoint_p")) {
3373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxDialog. Expected _wxPoint_p.");
3378 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_wxSize_p")) {
3379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxDialog. Expected _wxSize_p.");
3384 wxPy_BEGIN_ALLOW_THREADS
;
3385 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
3387 wxPy_END_ALLOW_THREADS
;
3388 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
3389 _resultobj
= Py_BuildValue("s",_ptemp
);
3397 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
3398 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
) {
3399 PyObject
* _resultobj
;
3401 int _arg1
= (wxBOTH
);
3405 if(!PyArg_ParseTuple(args
,"s|i:wxDialog_Centre",&_argc0
,&_arg1
))
3408 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
3414 wxPy_BEGIN_ALLOW_THREADS
;
3415 wxDialog_Centre(_arg0
,_arg1
);
3417 wxPy_END_ALLOW_THREADS
;
3418 } Py_INCREF(Py_None
);
3419 _resultobj
= Py_None
;
3423 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
3424 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
) {
3425 PyObject
* _resultobj
;
3431 if(!PyArg_ParseTuple(args
,"si:wxDialog_EndModal",&_argc0
,&_arg1
))
3434 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
3440 wxPy_BEGIN_ALLOW_THREADS
;
3441 wxDialog_EndModal(_arg0
,_arg1
);
3443 wxPy_END_ALLOW_THREADS
;
3444 } Py_INCREF(Py_None
);
3445 _resultobj
= Py_None
;
3449 #define wxDialog_GetTitle(_swigobj) (_swigobj->GetTitle())
3450 static PyObject
*_wrap_wxDialog_GetTitle(PyObject
*self
, PyObject
*args
) {
3451 PyObject
* _resultobj
;
3457 if(!PyArg_ParseTuple(args
,"s:wxDialog_GetTitle",&_argc0
))
3460 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetTitle. Expected _wxDialog_p.");
3466 wxPy_BEGIN_ALLOW_THREADS
;
3467 _result
= new wxString (wxDialog_GetTitle(_arg0
));
3469 wxPy_END_ALLOW_THREADS
;
3471 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3479 #define wxDialog_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
3480 static PyObject
*_wrap_wxDialog_Iconize(PyObject
*self
, PyObject
*args
) {
3481 PyObject
* _resultobj
;
3488 if(!PyArg_ParseTuple(args
,"si:wxDialog_Iconize",&_argc0
,&tempbool1
))
3491 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Iconize. Expected _wxDialog_p.");
3496 _arg1
= (bool ) tempbool1
;
3498 wxPy_BEGIN_ALLOW_THREADS
;
3499 wxDialog_Iconize(_arg0
,_arg1
);
3501 wxPy_END_ALLOW_THREADS
;
3502 } Py_INCREF(Py_None
);
3503 _resultobj
= Py_None
;
3507 #define wxDialog_IsIconized(_swigobj) (_swigobj->IsIconized())
3508 static PyObject
*_wrap_wxDialog_IsIconized(PyObject
*self
, PyObject
*args
) {
3509 PyObject
* _resultobj
;
3515 if(!PyArg_ParseTuple(args
,"s:wxDialog_IsIconized",&_argc0
))
3518 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsIconized. Expected _wxDialog_p.");
3524 wxPy_BEGIN_ALLOW_THREADS
;
3525 _result
= (bool )wxDialog_IsIconized(_arg0
);
3527 wxPy_END_ALLOW_THREADS
;
3528 } _resultobj
= Py_BuildValue("i",_result
);
3532 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
3533 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
) {
3534 PyObject
* _resultobj
;
3541 if(!PyArg_ParseTuple(args
,"si:wxDialog_SetModal",&_argc0
,&tempbool1
))
3544 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
3549 _arg1
= (bool ) tempbool1
;
3551 wxPy_BEGIN_ALLOW_THREADS
;
3552 wxDialog_SetModal(_arg0
,_arg1
);
3554 wxPy_END_ALLOW_THREADS
;
3555 } Py_INCREF(Py_None
);
3556 _resultobj
= Py_None
;
3560 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
3561 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
) {
3562 PyObject
* _resultobj
;
3568 if(!PyArg_ParseTuple(args
,"s:wxDialog_IsModal",&_argc0
))
3571 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
3577 wxPy_BEGIN_ALLOW_THREADS
;
3578 _result
= (bool )wxDialog_IsModal(_arg0
);
3580 wxPy_END_ALLOW_THREADS
;
3581 } _resultobj
= Py_BuildValue("i",_result
);
3585 #define wxDialog_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
3586 static PyObject
*_wrap_wxDialog_SetTitle(PyObject
*self
, PyObject
*args
) {
3587 PyObject
* _resultobj
;
3591 PyObject
* _obj1
= 0;
3594 if(!PyArg_ParseTuple(args
,"sO:wxDialog_SetTitle",&_argc0
,&_obj1
))
3597 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetTitle. Expected _wxDialog_p.");
3603 if (!PyString_Check(_obj1
)) {
3604 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3607 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3610 wxPy_BEGIN_ALLOW_THREADS
;
3611 wxDialog_SetTitle(_arg0
,*_arg1
);
3613 wxPy_END_ALLOW_THREADS
;
3614 } Py_INCREF(Py_None
);
3615 _resultobj
= Py_None
;
3623 #define wxDialog_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3624 static PyObject
*_wrap_wxDialog_Show(PyObject
*self
, PyObject
*args
) {
3625 PyObject
* _resultobj
;
3633 if(!PyArg_ParseTuple(args
,"si:wxDialog_Show",&_argc0
,&tempbool1
))
3636 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Show. Expected _wxDialog_p.");
3641 _arg1
= (bool ) tempbool1
;
3643 wxPy_BEGIN_ALLOW_THREADS
;
3644 _result
= (bool )wxDialog_Show(_arg0
,_arg1
);
3646 wxPy_END_ALLOW_THREADS
;
3647 } _resultobj
= Py_BuildValue("i",_result
);
3651 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
3652 static PyObject
*_wrap_wxDialog_ShowModal(PyObject
*self
, PyObject
*args
) {
3653 PyObject
* _resultobj
;
3659 if(!PyArg_ParseTuple(args
,"s:wxDialog_ShowModal",&_argc0
))
3662 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
3668 wxPy_BEGIN_ALLOW_THREADS
;
3669 _result
= (int )wxDialog_ShowModal(_arg0
);
3671 wxPy_END_ALLOW_THREADS
;
3672 } _resultobj
= Py_BuildValue("i",_result
);
3676 #define wxDialog_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
3677 static PyObject
*_wrap_wxDialog_GetReturnCode(PyObject
*self
, PyObject
*args
) {
3678 PyObject
* _resultobj
;
3684 if(!PyArg_ParseTuple(args
,"s:wxDialog_GetReturnCode",&_argc0
))
3687 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetReturnCode. Expected _wxDialog_p.");
3693 wxPy_BEGIN_ALLOW_THREADS
;
3694 _result
= (int )wxDialog_GetReturnCode(_arg0
);
3696 wxPy_END_ALLOW_THREADS
;
3697 } _resultobj
= Py_BuildValue("i",_result
);
3701 #define wxDialog_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
3702 static PyObject
*_wrap_wxDialog_SetReturnCode(PyObject
*self
, PyObject
*args
) {
3703 PyObject
* _resultobj
;
3709 if(!PyArg_ParseTuple(args
,"si:wxDialog_SetReturnCode",&_argc0
,&_arg1
))
3712 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetReturnCode. Expected _wxDialog_p.");
3718 wxPy_BEGIN_ALLOW_THREADS
;
3719 wxDialog_SetReturnCode(_arg0
,_arg1
);
3721 wxPy_END_ALLOW_THREADS
;
3722 } Py_INCREF(Py_None
);
3723 _resultobj
= Py_None
;
3727 static void *SwigwxScrolledWindowTowxPanel(void *ptr
) {
3728 wxScrolledWindow
*src
;
3730 src
= (wxScrolledWindow
*) ptr
;
3731 dest
= (wxPanel
*) src
;
3732 return (void *) dest
;
3735 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
3736 wxScrolledWindow
*src
;
3738 src
= (wxScrolledWindow
*) ptr
;
3739 dest
= (wxWindow
*) src
;
3740 return (void *) dest
;
3743 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
3744 wxScrolledWindow
*src
;
3746 src
= (wxScrolledWindow
*) ptr
;
3747 dest
= (wxEvtHandler
*) src
;
3748 return (void *) dest
;
3751 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3752 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
) {
3753 PyObject
* _resultobj
;
3754 wxScrolledWindow
* _result
;
3756 wxWindowID _arg1
= -1;
3757 wxPoint
* _arg2
= &wxPyDefaultPosition
;
3758 wxSize
* _arg3
= &wxPyDefaultSize
;
3759 long _arg4
= (wxHSCROLL
)|(wxVSCROLL
);
3760 char * _arg5
= "scrolledWindow";
3767 if(!PyArg_ParseTuple(args
,"s|issls:new_wxScrolledWindow",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
3770 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
3771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
3776 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
3777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxScrolledWindow. Expected _wxPoint_p.");
3782 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
3783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxScrolledWindow. Expected _wxSize_p.");
3788 wxPy_BEGIN_ALLOW_THREADS
;
3789 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
3791 wxPy_END_ALLOW_THREADS
;
3792 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
3793 _resultobj
= Py_BuildValue("s",_ptemp
);
3797 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
3798 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
) {
3799 PyObject
* _resultobj
;
3800 wxScrolledWindow
* _arg0
;
3808 if(!PyArg_ParseTuple(args
,"sii:wxScrolledWindow_EnableScrolling",&_argc0
,&tempbool1
,&tempbool2
))
3811 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
3816 _arg1
= (bool ) tempbool1
;
3817 _arg2
= (bool ) tempbool2
;
3819 wxPy_BEGIN_ALLOW_THREADS
;
3820 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
3822 wxPy_END_ALLOW_THREADS
;
3823 } Py_INCREF(Py_None
);
3824 _resultobj
= Py_None
;
3828 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
3829 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
) {
3830 PyObject
* _resultobj
;
3831 wxScrolledWindow
* _arg0
;
3845 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_GetScrollPixelsPerUnit",&_argc0
))
3848 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
3854 wxPy_BEGIN_ALLOW_THREADS
;
3855 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
3857 wxPy_END_ALLOW_THREADS
;
3858 } Py_INCREF(Py_None
);
3859 _resultobj
= Py_None
;
3862 o
= PyInt_FromLong((long) (*_arg1
));
3863 _resultobj
= t_output_helper(_resultobj
, o
);
3867 o
= PyInt_FromLong((long) (*_arg2
));
3868 _resultobj
= t_output_helper(_resultobj
, o
);
3873 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
3874 static PyObject
*_wrap_wxScrolledWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
) {
3875 PyObject
* _resultobj
;
3876 wxScrolledWindow
* _arg0
;
3890 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_GetVirtualSize",&_argc0
))
3893 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
3899 wxPy_BEGIN_ALLOW_THREADS
;
3900 wxScrolledWindow_GetVirtualSize(_arg0
,_arg1
,_arg2
);
3902 wxPy_END_ALLOW_THREADS
;
3903 } Py_INCREF(Py_None
);
3904 _resultobj
= Py_None
;
3907 o
= PyInt_FromLong((long) (*_arg1
));
3908 _resultobj
= t_output_helper(_resultobj
, o
);
3912 o
= PyInt_FromLong((long) (*_arg2
));
3913 _resultobj
= t_output_helper(_resultobj
, o
);
3918 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
3919 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
) {
3920 PyObject
* _resultobj
;
3922 wxScrolledWindow
* _arg0
;
3926 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_IsRetained",&_argc0
))
3929 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
3935 wxPy_BEGIN_ALLOW_THREADS
;
3936 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
3938 wxPy_END_ALLOW_THREADS
;
3939 } _resultobj
= Py_BuildValue("i",_result
);
3943 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
3944 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
) {
3945 PyObject
* _resultobj
;
3946 wxScrolledWindow
* _arg0
;
3952 if(!PyArg_ParseTuple(args
,"ss:wxScrolledWindow_PrepareDC",&_argc0
,&_argc1
))
3955 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
3961 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxDC_p")) {
3962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
3967 wxPy_BEGIN_ALLOW_THREADS
;
3968 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
3970 wxPy_END_ALLOW_THREADS
;
3971 } Py_INCREF(Py_None
);
3972 _resultobj
= Py_None
;
3976 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
3977 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
) {
3978 PyObject
* _resultobj
;
3979 wxScrolledWindow
* _arg0
;
3985 if(!PyArg_ParseTuple(args
,"sii:wxScrolledWindow_Scroll",&_argc0
,&_arg1
,&_arg2
))
3988 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
3994 wxPy_BEGIN_ALLOW_THREADS
;
3995 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
3997 wxPy_END_ALLOW_THREADS
;
3998 } Py_INCREF(Py_None
);
3999 _resultobj
= Py_None
;
4003 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4004 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
) {
4005 PyObject
* _resultobj
;
4006 wxScrolledWindow
* _arg0
;
4016 if(!PyArg_ParseTuple(args
,"siiii|ii:wxScrolledWindow_SetScrollbars",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4019 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
4020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
4025 wxPy_BEGIN_ALLOW_THREADS
;
4026 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4028 wxPy_END_ALLOW_THREADS
;
4029 } Py_INCREF(Py_None
);
4030 _resultobj
= Py_None
;
4034 #define wxScrolledWindow_ViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->ViewStart(_swigarg0,_swigarg1))
4035 static PyObject
*_wrap_wxScrolledWindow_ViewStart(PyObject
*self
, PyObject
*args
) {
4036 PyObject
* _resultobj
;
4037 wxScrolledWindow
* _arg0
;
4051 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_ViewStart",&_argc0
))
4054 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
4055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_ViewStart. Expected _wxScrolledWindow_p.");
4060 wxPy_BEGIN_ALLOW_THREADS
;
4061 wxScrolledWindow_ViewStart(_arg0
,_arg1
,_arg2
);
4063 wxPy_END_ALLOW_THREADS
;
4064 } Py_INCREF(Py_None
);
4065 _resultobj
= Py_None
;
4068 o
= PyInt_FromLong((long) (*_arg1
));
4069 _resultobj
= t_output_helper(_resultobj
, o
);
4073 o
= PyInt_FromLong((long) (*_arg2
));
4074 _resultobj
= t_output_helper(_resultobj
, o
);
4079 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
4082 src
= (wxMenu
*) ptr
;
4083 dest
= (wxEvtHandler
*) src
;
4084 return (void *) dest
;
4087 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
4088 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
) {
4089 PyObject
* _resultobj
;
4091 wxString
* _arg0
= &wxPyEmptyStr
;
4093 PyObject
* _obj0
= 0;
4097 if(!PyArg_ParseTuple(args
,"|Ol:new_wxMenu",&_obj0
,&_arg1
))
4101 if (!PyString_Check(_obj0
)) {
4102 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4105 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
4108 wxPy_BEGIN_ALLOW_THREADS
;
4109 _result
= (wxMenu
*)new_wxMenu(*_arg0
,_arg1
);
4111 wxPy_END_ALLOW_THREADS
;
4112 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
4113 _resultobj
= Py_BuildValue("s",_ptemp
);
4121 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4122 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
) {
4123 PyObject
* _resultobj
;
4127 wxString
* _arg3
= &wxPyEmptyStr
;
4130 PyObject
* _obj2
= 0;
4131 PyObject
* _obj3
= 0;
4134 if(!PyArg_ParseTuple(args
,"siO|Oi:wxMenu_Append",&_argc0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
4137 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
4143 if (!PyString_Check(_obj2
)) {
4144 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4147 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4151 if (!PyString_Check(_obj3
)) {
4152 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4155 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
4158 wxPy_BEGIN_ALLOW_THREADS
;
4159 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
4161 wxPy_END_ALLOW_THREADS
;
4162 } Py_INCREF(Py_None
);
4163 _resultobj
= Py_None
;
4175 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4176 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
) {
4177 PyObject
* _resultobj
;
4182 wxString
* _arg4
= &wxPyEmptyStr
;
4184 PyObject
* _obj2
= 0;
4186 PyObject
* _obj4
= 0;
4189 if(!PyArg_ParseTuple(args
,"siOs|O:wxMenu_AppendMenu",&_argc0
,&_arg1
,&_obj2
,&_argc3
,&_obj4
))
4192 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
4198 if (!PyString_Check(_obj2
)) {
4199 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4202 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4205 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxMenu_p")) {
4206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
4212 if (!PyString_Check(_obj4
)) {
4213 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4216 _arg4
= new wxString(PyString_AsString(_obj4
), PyString_Size(_obj4
));
4219 wxPy_BEGIN_ALLOW_THREADS
;
4220 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
4222 wxPy_END_ALLOW_THREADS
;
4223 } Py_INCREF(Py_None
);
4224 _resultobj
= Py_None
;
4236 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
4237 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
) {
4238 PyObject
* _resultobj
;
4243 if(!PyArg_ParseTuple(args
,"s:wxMenu_AppendSeparator",&_argc0
))
4246 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
4252 wxPy_BEGIN_ALLOW_THREADS
;
4253 wxMenu_AppendSeparator(_arg0
);
4255 wxPy_END_ALLOW_THREADS
;
4256 } Py_INCREF(Py_None
);
4257 _resultobj
= Py_None
;
4261 #define wxMenu_Break(_swigobj) (_swigobj->Break())
4262 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
) {
4263 PyObject
* _resultobj
;
4268 if(!PyArg_ParseTuple(args
,"s:wxMenu_Break",&_argc0
))
4271 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
4277 wxPy_BEGIN_ALLOW_THREADS
;
4278 wxMenu_Break(_arg0
);
4280 wxPy_END_ALLOW_THREADS
;
4281 } Py_INCREF(Py_None
);
4282 _resultobj
= Py_None
;
4286 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
4287 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
) {
4288 PyObject
* _resultobj
;
4296 if(!PyArg_ParseTuple(args
,"sii:wxMenu_Check",&_argc0
,&_arg1
,&tempbool2
))
4299 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
4304 _arg2
= (bool ) tempbool2
;
4306 wxPy_BEGIN_ALLOW_THREADS
;
4307 wxMenu_Check(_arg0
,_arg1
,_arg2
);
4309 wxPy_END_ALLOW_THREADS
;
4310 } Py_INCREF(Py_None
);
4311 _resultobj
= Py_None
;
4315 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
4316 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
) {
4317 PyObject
* _resultobj
;
4325 if(!PyArg_ParseTuple(args
,"sii:wxMenu_Enable",&_argc0
,&_arg1
,&tempbool2
))
4328 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
4333 _arg2
= (bool ) tempbool2
;
4335 wxPy_BEGIN_ALLOW_THREADS
;
4336 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
4338 wxPy_END_ALLOW_THREADS
;
4339 } Py_INCREF(Py_None
);
4340 _resultobj
= Py_None
;
4344 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
4345 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
) {
4346 PyObject
* _resultobj
;
4351 PyObject
* _obj1
= 0;
4354 if(!PyArg_ParseTuple(args
,"sO:wxMenu_FindItem",&_argc0
,&_obj1
))
4357 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
4363 if (!PyString_Check(_obj1
)) {
4364 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4367 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4370 wxPy_BEGIN_ALLOW_THREADS
;
4371 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
4373 wxPy_END_ALLOW_THREADS
;
4374 } _resultobj
= Py_BuildValue("i",_result
);
4382 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
4383 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
) {
4384 PyObject
* _resultobj
;
4390 if(!PyArg_ParseTuple(args
,"s:wxMenu_GetTitle",&_argc0
))
4393 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
4399 wxPy_BEGIN_ALLOW_THREADS
;
4400 _result
= new wxString (wxMenu_GetTitle(_arg0
));
4402 wxPy_END_ALLOW_THREADS
;
4404 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
4412 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4413 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
) {
4414 PyObject
* _resultobj
;
4418 PyObject
* _obj1
= 0;
4421 if(!PyArg_ParseTuple(args
,"sO:wxMenu_SetTitle",&_argc0
,&_obj1
))
4424 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
4430 if (!PyString_Check(_obj1
)) {
4431 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4434 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4437 wxPy_BEGIN_ALLOW_THREADS
;
4438 wxMenu_SetTitle(_arg0
,*_arg1
);
4440 wxPy_END_ALLOW_THREADS
;
4441 } Py_INCREF(Py_None
);
4442 _resultobj
= Py_None
;
4450 #define wxMenu_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
4451 static PyObject
*_wrap_wxMenu_FindItemForId(PyObject
*self
, PyObject
*args
) {
4452 PyObject
* _resultobj
;
4453 wxMenuItem
* _result
;
4460 if(!PyArg_ParseTuple(args
,"si:wxMenu_FindItemForId",&_argc0
,&_arg1
))
4463 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemForId. Expected _wxMenu_p.");
4469 wxPy_BEGIN_ALLOW_THREADS
;
4470 _result
= (wxMenuItem
*)wxMenu_FindItemForId(_arg0
,_arg1
);
4472 wxPy_END_ALLOW_THREADS
;
4473 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
4474 _resultobj
= Py_BuildValue("s",_ptemp
);
4478 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
4479 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
) {
4480 PyObject
* _resultobj
;
4487 if(!PyArg_ParseTuple(args
,"si:wxMenu_GetHelpString",&_argc0
,&_arg1
))
4490 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
4496 wxPy_BEGIN_ALLOW_THREADS
;
4497 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
4499 wxPy_END_ALLOW_THREADS
;
4501 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
4509 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
4510 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
) {
4511 PyObject
* _resultobj
;
4518 if(!PyArg_ParseTuple(args
,"si:wxMenu_GetLabel",&_argc0
,&_arg1
))
4521 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
4527 wxPy_BEGIN_ALLOW_THREADS
;
4528 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
4530 wxPy_END_ALLOW_THREADS
;
4532 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
4540 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
4541 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
) {
4542 PyObject
* _resultobj
;
4547 PyObject
* _obj2
= 0;
4550 if(!PyArg_ParseTuple(args
,"siO:wxMenu_SetHelpString",&_argc0
,&_arg1
,&_obj2
))
4553 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
4559 if (!PyString_Check(_obj2
)) {
4560 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4563 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4566 wxPy_BEGIN_ALLOW_THREADS
;
4567 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
4569 wxPy_END_ALLOW_THREADS
;
4570 } Py_INCREF(Py_None
);
4571 _resultobj
= Py_None
;
4579 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
4580 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
) {
4581 PyObject
* _resultobj
;
4588 if(!PyArg_ParseTuple(args
,"si:wxMenu_IsChecked",&_argc0
,&_arg1
))
4591 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
4597 wxPy_BEGIN_ALLOW_THREADS
;
4598 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
4600 wxPy_END_ALLOW_THREADS
;
4601 } _resultobj
= Py_BuildValue("i",_result
);
4605 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
4606 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
) {
4607 PyObject
* _resultobj
;
4614 if(!PyArg_ParseTuple(args
,"si:wxMenu_IsEnabled",&_argc0
,&_arg1
))
4617 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
4623 wxPy_BEGIN_ALLOW_THREADS
;
4624 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
4626 wxPy_END_ALLOW_THREADS
;
4627 } _resultobj
= Py_BuildValue("i",_result
);
4631 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
4632 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
) {
4633 PyObject
* _resultobj
;
4638 PyObject
* _obj2
= 0;
4641 if(!PyArg_ParseTuple(args
,"siO:wxMenu_SetLabel",&_argc0
,&_arg1
,&_obj2
))
4644 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
4650 if (!PyString_Check(_obj2
)) {
4651 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4654 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4657 wxPy_BEGIN_ALLOW_THREADS
;
4658 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
4660 wxPy_END_ALLOW_THREADS
;
4661 } Py_INCREF(Py_None
);
4662 _resultobj
= Py_None
;
4670 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
4671 static PyObject
*_wrap_wxMenu_UpdateUI(PyObject
*self
, PyObject
*args
) {
4672 PyObject
* _resultobj
;
4674 wxEvtHandler
* _arg1
= NULL
;
4679 if(!PyArg_ParseTuple(args
,"s|s:wxMenu_UpdateUI",&_argc0
,&_argc1
))
4682 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
4688 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
4694 wxPy_BEGIN_ALLOW_THREADS
;
4695 wxMenu_UpdateUI(_arg0
,_arg1
);
4697 wxPy_END_ALLOW_THREADS
;
4698 } Py_INCREF(Py_None
);
4699 _resultobj
= Py_None
;
4703 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
4706 src
= (wxMenuBar
*) ptr
;
4707 dest
= (wxEvtHandler
*) src
;
4708 return (void *) dest
;
4711 #define new_wxMenuBar() (new wxMenuBar())
4712 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
) {
4713 PyObject
* _resultobj
;
4714 wxMenuBar
* _result
;
4718 if(!PyArg_ParseTuple(args
,":new_wxMenuBar"))
4721 wxPy_BEGIN_ALLOW_THREADS
;
4722 _result
= (wxMenuBar
*)new_wxMenuBar();
4724 wxPy_END_ALLOW_THREADS
;
4725 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
4726 _resultobj
= Py_BuildValue("s",_ptemp
);
4730 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
4731 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
) {
4732 PyObject
* _resultobj
;
4738 PyObject
* _obj2
= 0;
4741 if(!PyArg_ParseTuple(args
,"ssO:wxMenuBar_Append",&_argc0
,&_argc1
,&_obj2
))
4744 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
4750 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxMenu_p")) {
4751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
4756 if (!PyString_Check(_obj2
)) {
4757 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4760 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4763 wxPy_BEGIN_ALLOW_THREADS
;
4764 wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
4766 wxPy_END_ALLOW_THREADS
;
4767 } Py_INCREF(Py_None
);
4768 _resultobj
= Py_None
;
4776 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
4777 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
) {
4778 PyObject
* _resultobj
;
4786 if(!PyArg_ParseTuple(args
,"sii:wxMenuBar_Check",&_argc0
,&_arg1
,&tempbool2
))
4789 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
4794 _arg2
= (bool ) tempbool2
;
4796 wxPy_BEGIN_ALLOW_THREADS
;
4797 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
4799 wxPy_END_ALLOW_THREADS
;
4800 } Py_INCREF(Py_None
);
4801 _resultobj
= Py_None
;
4805 #define wxMenuBar_Checked(_swigobj,_swigarg0) (_swigobj->Checked(_swigarg0))
4806 static PyObject
*_wrap_wxMenuBar_Checked(PyObject
*self
, PyObject
*args
) {
4807 PyObject
* _resultobj
;
4814 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_Checked",&_argc0
,&_arg1
))
4817 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Checked. Expected _wxMenuBar_p.");
4823 wxPy_BEGIN_ALLOW_THREADS
;
4824 _result
= (bool )wxMenuBar_Checked(_arg0
,_arg1
);
4826 wxPy_END_ALLOW_THREADS
;
4827 } _resultobj
= Py_BuildValue("i",_result
);
4831 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
4832 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
) {
4833 PyObject
* _resultobj
;
4841 if(!PyArg_ParseTuple(args
,"sii:wxMenuBar_Enable",&_argc0
,&_arg1
,&tempbool2
))
4844 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
4849 _arg2
= (bool ) tempbool2
;
4851 wxPy_BEGIN_ALLOW_THREADS
;
4852 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
4854 wxPy_END_ALLOW_THREADS
;
4855 } Py_INCREF(Py_None
);
4856 _resultobj
= Py_None
;
4860 #define wxMenuBar_Enabled(_swigobj,_swigarg0) (_swigobj->Enabled(_swigarg0))
4861 static PyObject
*_wrap_wxMenuBar_Enabled(PyObject
*self
, PyObject
*args
) {
4862 PyObject
* _resultobj
;
4869 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_Enabled",&_argc0
,&_arg1
))
4872 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enabled. Expected _wxMenuBar_p.");
4878 wxPy_BEGIN_ALLOW_THREADS
;
4879 _result
= (bool )wxMenuBar_Enabled(_arg0
,_arg1
);
4881 wxPy_END_ALLOW_THREADS
;
4882 } _resultobj
= Py_BuildValue("i",_result
);
4886 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
4887 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
) {
4888 PyObject
* _resultobj
;
4894 PyObject
* _obj1
= 0;
4895 PyObject
* _obj2
= 0;
4898 if(!PyArg_ParseTuple(args
,"sOO:wxMenuBar_FindMenuItem",&_argc0
,&_obj1
,&_obj2
))
4901 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
4907 if (!PyString_Check(_obj1
)) {
4908 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4911 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4914 if (!PyString_Check(_obj2
)) {
4915 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4918 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4921 wxPy_BEGIN_ALLOW_THREADS
;
4922 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
4924 wxPy_END_ALLOW_THREADS
;
4925 } _resultobj
= Py_BuildValue("i",_result
);
4937 #define wxMenuBar_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
4938 static PyObject
*_wrap_wxMenuBar_FindItemForId(PyObject
*self
, PyObject
*args
) {
4939 PyObject
* _resultobj
;
4940 wxMenuItem
* _result
;
4947 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_FindItemForId",&_argc0
,&_arg1
))
4950 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemForId. Expected _wxMenuBar_p.");
4956 wxPy_BEGIN_ALLOW_THREADS
;
4957 _result
= (wxMenuItem
*)wxMenuBar_FindItemForId(_arg0
,_arg1
);
4959 wxPy_END_ALLOW_THREADS
;
4960 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
4961 _resultobj
= Py_BuildValue("s",_ptemp
);
4965 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
4966 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
) {
4967 PyObject
* _resultobj
;
4973 if(!PyArg_ParseTuple(args
,"s:wxMenuBar_GetMenuCount",&_argc0
))
4976 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
4982 wxPy_BEGIN_ALLOW_THREADS
;
4983 _result
= (int )wxMenuBar_GetMenuCount(_arg0
);
4985 wxPy_END_ALLOW_THREADS
;
4986 } _resultobj
= Py_BuildValue("i",_result
);
4990 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
4991 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
) {
4992 PyObject
* _resultobj
;
5000 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_GetMenu",&_argc0
,&_arg1
))
5003 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
5009 wxPy_BEGIN_ALLOW_THREADS
;
5010 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
5012 wxPy_END_ALLOW_THREADS
;
5013 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
5014 _resultobj
= Py_BuildValue("s",_ptemp
);
5018 #define new_wxMenuItem() (new wxMenuItem())
5019 static PyObject
*_wrap_new_wxMenuItem(PyObject
*self
, PyObject
*args
) {
5020 PyObject
* _resultobj
;
5021 wxMenuItem
* _result
;
5025 if(!PyArg_ParseTuple(args
,":new_wxMenuItem"))
5028 wxPy_BEGIN_ALLOW_THREADS
;
5029 _result
= (wxMenuItem
*)new_wxMenuItem();
5031 wxPy_END_ALLOW_THREADS
;
5032 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
5033 _resultobj
= Py_BuildValue("s",_ptemp
);
5037 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
5038 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
) {
5039 PyObject
* _resultobj
;
5045 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsSeparator",&_argc0
))
5048 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
5054 wxPy_BEGIN_ALLOW_THREADS
;
5055 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
5057 wxPy_END_ALLOW_THREADS
;
5058 } _resultobj
= Py_BuildValue("i",_result
);
5062 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
5063 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
) {
5064 PyObject
* _resultobj
;
5070 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsEnabled",&_argc0
))
5073 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
5079 wxPy_BEGIN_ALLOW_THREADS
;
5080 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
5082 wxPy_END_ALLOW_THREADS
;
5083 } _resultobj
= Py_BuildValue("i",_result
);
5087 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
5088 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
) {
5089 PyObject
* _resultobj
;
5095 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsChecked",&_argc0
))
5098 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
5104 wxPy_BEGIN_ALLOW_THREADS
;
5105 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
5107 wxPy_END_ALLOW_THREADS
;
5108 } _resultobj
= Py_BuildValue("i",_result
);
5112 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
5113 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
) {
5114 PyObject
* _resultobj
;
5120 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsCheckable",&_argc0
))
5123 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
5129 wxPy_BEGIN_ALLOW_THREADS
;
5130 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
5132 wxPy_END_ALLOW_THREADS
;
5133 } _resultobj
= Py_BuildValue("i",_result
);
5137 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
5138 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
) {
5139 PyObject
* _resultobj
;
5145 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetId",&_argc0
))
5148 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
5154 wxPy_BEGIN_ALLOW_THREADS
;
5155 _result
= (int )wxMenuItem_GetId(_arg0
);
5157 wxPy_END_ALLOW_THREADS
;
5158 } _resultobj
= Py_BuildValue("i",_result
);
5162 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
5163 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
) {
5164 PyObject
* _resultobj
;
5171 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetSubMenu",&_argc0
))
5174 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
5180 wxPy_BEGIN_ALLOW_THREADS
;
5181 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
5183 wxPy_END_ALLOW_THREADS
;
5184 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
5185 _resultobj
= Py_BuildValue("s",_ptemp
);
5189 #define wxMenuItem_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
5190 static PyObject
*_wrap_wxMenuItem_SetName(PyObject
*self
, PyObject
*args
) {
5191 PyObject
* _resultobj
;
5195 PyObject
* _obj1
= 0;
5198 if(!PyArg_ParseTuple(args
,"sO:wxMenuItem_SetName",&_argc0
,&_obj1
))
5201 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetName. Expected _wxMenuItem_p.");
5207 if (!PyString_Check(_obj1
)) {
5208 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5211 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5214 wxPy_BEGIN_ALLOW_THREADS
;
5215 wxMenuItem_SetName(_arg0
,*_arg1
);
5217 wxPy_END_ALLOW_THREADS
;
5218 } Py_INCREF(Py_None
);
5219 _resultobj
= Py_None
;
5227 #define wxMenuItem_GetName(_swigobj) (_swigobj->GetName())
5228 static PyObject
*_wrap_wxMenuItem_GetName(PyObject
*self
, PyObject
*args
) {
5229 PyObject
* _resultobj
;
5235 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetName",&_argc0
))
5238 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetName. Expected _wxMenuItem_p.");
5244 wxPy_BEGIN_ALLOW_THREADS
;
5245 _result
= new wxString (wxMenuItem_GetName(_arg0
));
5247 wxPy_END_ALLOW_THREADS
;
5249 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5257 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
5258 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
) {
5259 PyObject
* _resultobj
;
5265 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetHelp",&_argc0
))
5268 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
5274 wxPy_BEGIN_ALLOW_THREADS
;
5275 _result
= new wxString (wxMenuItem_GetHelp(_arg0
));
5277 wxPy_END_ALLOW_THREADS
;
5279 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5287 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
5288 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
) {
5289 PyObject
* _resultobj
;
5293 PyObject
* _obj1
= 0;
5296 if(!PyArg_ParseTuple(args
,"sO:wxMenuItem_SetHelp",&_argc0
,&_obj1
))
5299 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
5305 if (!PyString_Check(_obj1
)) {
5306 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5309 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5312 wxPy_BEGIN_ALLOW_THREADS
;
5313 wxMenuItem_SetHelp(_arg0
,*_arg1
);
5315 wxPy_END_ALLOW_THREADS
;
5316 } Py_INCREF(Py_None
);
5317 _resultobj
= Py_None
;
5325 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
5326 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
) {
5327 PyObject
* _resultobj
;
5334 if(!PyArg_ParseTuple(args
,"s|i:wxMenuItem_Enable",&_argc0
,&tempbool1
))
5337 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
5342 _arg1
= (bool ) tempbool1
;
5344 wxPy_BEGIN_ALLOW_THREADS
;
5345 wxMenuItem_Enable(_arg0
,_arg1
);
5347 wxPy_END_ALLOW_THREADS
;
5348 } Py_INCREF(Py_None
);
5349 _resultobj
= Py_None
;
5353 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
5354 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
) {
5355 PyObject
* _resultobj
;
5362 if(!PyArg_ParseTuple(args
,"s|i:wxMenuItem_Check",&_argc0
,&tempbool1
))
5365 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
5370 _arg1
= (bool ) tempbool1
;
5372 wxPy_BEGIN_ALLOW_THREADS
;
5373 wxMenuItem_Check(_arg0
,_arg1
);
5375 wxPy_END_ALLOW_THREADS
;
5376 } Py_INCREF(Py_None
);
5377 _resultobj
= Py_None
;
5381 static PyMethodDef windowscMethods
[] = {
5382 { "wxMenuItem_Check", _wrap_wxMenuItem_Check
, 1 },
5383 { "wxMenuItem_Enable", _wrap_wxMenuItem_Enable
, 1 },
5384 { "wxMenuItem_SetHelp", _wrap_wxMenuItem_SetHelp
, 1 },
5385 { "wxMenuItem_GetHelp", _wrap_wxMenuItem_GetHelp
, 1 },
5386 { "wxMenuItem_GetName", _wrap_wxMenuItem_GetName
, 1 },
5387 { "wxMenuItem_SetName", _wrap_wxMenuItem_SetName
, 1 },
5388 { "wxMenuItem_GetSubMenu", _wrap_wxMenuItem_GetSubMenu
, 1 },
5389 { "wxMenuItem_GetId", _wrap_wxMenuItem_GetId
, 1 },
5390 { "wxMenuItem_IsCheckable", _wrap_wxMenuItem_IsCheckable
, 1 },
5391 { "wxMenuItem_IsChecked", _wrap_wxMenuItem_IsChecked
, 1 },
5392 { "wxMenuItem_IsEnabled", _wrap_wxMenuItem_IsEnabled
, 1 },
5393 { "wxMenuItem_IsSeparator", _wrap_wxMenuItem_IsSeparator
, 1 },
5394 { "new_wxMenuItem", _wrap_new_wxMenuItem
, 1 },
5395 { "wxMenuBar_GetMenu", _wrap_wxMenuBar_GetMenu
, 1 },
5396 { "wxMenuBar_GetMenuCount", _wrap_wxMenuBar_GetMenuCount
, 1 },
5397 { "wxMenuBar_FindItemForId", _wrap_wxMenuBar_FindItemForId
, 1 },
5398 { "wxMenuBar_FindMenuItem", _wrap_wxMenuBar_FindMenuItem
, 1 },
5399 { "wxMenuBar_Enabled", _wrap_wxMenuBar_Enabled
, 1 },
5400 { "wxMenuBar_Enable", _wrap_wxMenuBar_Enable
, 1 },
5401 { "wxMenuBar_Checked", _wrap_wxMenuBar_Checked
, 1 },
5402 { "wxMenuBar_Check", _wrap_wxMenuBar_Check
, 1 },
5403 { "wxMenuBar_Append", _wrap_wxMenuBar_Append
, 1 },
5404 { "new_wxMenuBar", _wrap_new_wxMenuBar
, 1 },
5405 { "wxMenu_UpdateUI", _wrap_wxMenu_UpdateUI
, 1 },
5406 { "wxMenu_SetLabel", _wrap_wxMenu_SetLabel
, 1 },
5407 { "wxMenu_IsEnabled", _wrap_wxMenu_IsEnabled
, 1 },
5408 { "wxMenu_IsChecked", _wrap_wxMenu_IsChecked
, 1 },
5409 { "wxMenu_SetHelpString", _wrap_wxMenu_SetHelpString
, 1 },
5410 { "wxMenu_GetLabel", _wrap_wxMenu_GetLabel
, 1 },
5411 { "wxMenu_GetHelpString", _wrap_wxMenu_GetHelpString
, 1 },
5412 { "wxMenu_FindItemForId", _wrap_wxMenu_FindItemForId
, 1 },
5413 { "wxMenu_SetTitle", _wrap_wxMenu_SetTitle
, 1 },
5414 { "wxMenu_GetTitle", _wrap_wxMenu_GetTitle
, 1 },
5415 { "wxMenu_FindItem", _wrap_wxMenu_FindItem
, 1 },
5416 { "wxMenu_Enable", _wrap_wxMenu_Enable
, 1 },
5417 { "wxMenu_Check", _wrap_wxMenu_Check
, 1 },
5418 { "wxMenu_Break", _wrap_wxMenu_Break
, 1 },
5419 { "wxMenu_AppendSeparator", _wrap_wxMenu_AppendSeparator
, 1 },
5420 { "wxMenu_AppendMenu", _wrap_wxMenu_AppendMenu
, 1 },
5421 { "wxMenu_Append", _wrap_wxMenu_Append
, 1 },
5422 { "new_wxMenu", _wrap_new_wxMenu
, 1 },
5423 { "wxScrolledWindow_ViewStart", _wrap_wxScrolledWindow_ViewStart
, 1 },
5424 { "wxScrolledWindow_SetScrollbars", _wrap_wxScrolledWindow_SetScrollbars
, 1 },
5425 { "wxScrolledWindow_Scroll", _wrap_wxScrolledWindow_Scroll
, 1 },
5426 { "wxScrolledWindow_PrepareDC", _wrap_wxScrolledWindow_PrepareDC
, 1 },
5427 { "wxScrolledWindow_IsRetained", _wrap_wxScrolledWindow_IsRetained
, 1 },
5428 { "wxScrolledWindow_GetVirtualSize", _wrap_wxScrolledWindow_GetVirtualSize
, 1 },
5429 { "wxScrolledWindow_GetScrollPixelsPerUnit", _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, 1 },
5430 { "wxScrolledWindow_EnableScrolling", _wrap_wxScrolledWindow_EnableScrolling
, 1 },
5431 { "new_wxScrolledWindow", _wrap_new_wxScrolledWindow
, 1 },
5432 { "wxDialog_SetReturnCode", _wrap_wxDialog_SetReturnCode
, 1 },
5433 { "wxDialog_GetReturnCode", _wrap_wxDialog_GetReturnCode
, 1 },
5434 { "wxDialog_ShowModal", _wrap_wxDialog_ShowModal
, 1 },
5435 { "wxDialog_Show", _wrap_wxDialog_Show
, 1 },
5436 { "wxDialog_SetTitle", _wrap_wxDialog_SetTitle
, 1 },
5437 { "wxDialog_IsModal", _wrap_wxDialog_IsModal
, 1 },
5438 { "wxDialog_SetModal", _wrap_wxDialog_SetModal
, 1 },
5439 { "wxDialog_IsIconized", _wrap_wxDialog_IsIconized
, 1 },
5440 { "wxDialog_Iconize", _wrap_wxDialog_Iconize
, 1 },
5441 { "wxDialog_GetTitle", _wrap_wxDialog_GetTitle
, 1 },
5442 { "wxDialog_EndModal", _wrap_wxDialog_EndModal
, 1 },
5443 { "wxDialog_Centre", _wrap_wxDialog_Centre
, 1 },
5444 { "new_wxDialog", _wrap_new_wxDialog
, 1 },
5445 { "wxPanel_SetDefaultItem", _wrap_wxPanel_SetDefaultItem
, 1 },
5446 { "wxPanel_GetDefaultItem", _wrap_wxPanel_GetDefaultItem
, 1 },
5447 { "wxPanel_InitDialog", _wrap_wxPanel_InitDialog
, 1 },
5448 { "new_wxPanel", _wrap_new_wxPanel
, 1 },
5449 { "wxWindow_GetToolTip", _wrap_wxWindow_GetToolTip
, 1 },
5450 { "wxWindow_SetToolTip", _wrap_wxWindow_SetToolTip
, 1 },
5451 { "wxWindow_SetToolTipString", _wrap_wxWindow_SetToolTipString
, 1 },
5452 { "wxWindow_ConvertPixelSizeToDialog", _wrap_wxWindow_ConvertPixelSizeToDialog
, 1 },
5453 { "wxWindow_ConvertPixelPointToDialog", _wrap_wxWindow_ConvertPixelPointToDialog
, 1 },
5454 { "wxWindow_DLG_SZE", _wrap_wxWindow_ConvertDialogSizeToPixels
, 1 },
5455 { "wxWindow_DLG_PNT", _wrap_wxWindow_ConvertDialogPointToPixels
, 1 },
5456 { "wxWindow_ConvertDialogSizeToPixels", _wrap_wxWindow_ConvertDialogSizeToPixels
, 1 },
5457 { "wxWindow_ConvertDialogPointToPixels", _wrap_wxWindow_ConvertDialogPointToPixels
, 1 },
5458 { "wxWindow_WarpPointer", _wrap_wxWindow_WarpPointer
, 1 },
5459 { "wxWindow_Validate", _wrap_wxWindow_Validate
, 1 },
5460 { "wxWindow_TransferDataToWindow", _wrap_wxWindow_TransferDataToWindow
, 1 },
5461 { "wxWindow_TransferDataFromWindow", _wrap_wxWindow_TransferDataFromWindow
, 1 },
5462 { "wxWindow_Show", _wrap_wxWindow_Show
, 1 },
5463 { "wxWindow_SetTitle", _wrap_wxWindow_SetTitle
, 1 },
5464 { "wxWindow_SetCursor", _wrap_wxWindow_SetCursor
, 1 },
5465 { "wxWindow_SetClientSize", _wrap_wxWindow_SetClientSize
, 1 },
5466 { "wxWindow_SetClientSizeWH", _wrap_wxWindow_SetClientSizeWH
, 1 },
5467 { "wxWindow_SetSizeHints", _wrap_wxWindow_SetSizeHints
, 1 },
5468 { "wxWindow_SetPosition", _wrap_wxWindow_SetPosition
, 1 },
5469 { "wxWindow_SetSize", _wrap_wxWindow_SetSize
, 1 },
5470 { "wxWindow_SetDimensions", _wrap_wxWindow_SetDimensions
, 1 },
5471 { "wxWindow_SetScrollPos", _wrap_wxWindow_SetScrollPos
, 1 },
5472 { "wxWindow_SetScrollbar", _wrap_wxWindow_SetScrollbar
, 1 },
5473 { "wxWindow_SetName", _wrap_wxWindow_SetName
, 1 },
5474 { "wxWindow_SetId", _wrap_wxWindow_SetId
, 1 },
5475 { "wxWindow_SetForegroundColour", _wrap_wxWindow_SetForegroundColour
, 1 },
5476 { "wxWindow_SetFont", _wrap_wxWindow_SetFont
, 1 },
5477 { "wxWindow_SetFocus", _wrap_wxWindow_SetFocus
, 1 },
5478 { "wxWindow_SetConstraints", _wrap_wxWindow_SetConstraints
, 1 },
5479 { "wxWindow_SetBackgroundColour", _wrap_wxWindow_SetBackgroundColour
, 1 },
5480 { "wxWindow_SetAutoLayout", _wrap_wxWindow_SetAutoLayout
, 1 },
5481 { "wxWindow_SetAcceleratorTable", _wrap_wxWindow_SetAcceleratorTable
, 1 },
5482 { "wxWindow_ScrollWindow", _wrap_wxWindow_ScrollWindow
, 1 },
5483 { "wxWindow_ScreenToClient", _wrap_wxWindow_ScreenToClient
, 1 },
5484 { "wxWindow_ScreenToClientXY", _wrap_wxWindow_ScreenToClientXY
, 1 },
5485 { "wxWindow_Reparent", _wrap_wxWindow_Reparent
, 1 },
5486 { "wxWindow_ReleaseMouse", _wrap_wxWindow_ReleaseMouse
, 1 },
5487 { "wxWindow_Refresh", _wrap_wxWindow_Refresh
, 1 },
5488 { "wxWindow_Raise", _wrap_wxWindow_Raise
, 1 },
5489 { "wxWindow_PopupMenu", _wrap_wxWindow_PopupMenu
, 1 },
5490 { "wxWindow_PopupMenuXY", _wrap_wxWindow_PopupMenuXY
, 1 },
5491 { "wxWindow_Move", _wrap_wxWindow_Move
, 1 },
5492 { "wxWindow_MoveXY", _wrap_wxWindow_MoveXY
, 1 },
5493 { "wxWindow_MakeModal", _wrap_wxWindow_MakeModal
, 1 },
5494 { "wxWindow_Lower", _wrap_wxWindow_Lower
, 1 },
5495 { "wxWindow_LoadFromResource", _wrap_wxWindow_LoadFromResource
, 1 },
5496 { "wxWindow_Layout", _wrap_wxWindow_Layout
, 1 },
5497 { "wxWindow_IsTopLevel", _wrap_wxWindow_IsTopLevel
, 1 },
5498 { "wxWindow_IsShown", _wrap_wxWindow_IsShown
, 1 },
5499 { "wxWindow_IsRetained", _wrap_wxWindow_IsRetained
, 1 },
5500 { "wxWindow_IsEnabled", _wrap_wxWindow_IsEnabled
, 1 },
5501 { "wxWindow_InitDialog", _wrap_wxWindow_InitDialog
, 1 },
5502 { "wxWindow_Hide", _wrap_wxWindow_Hide
, 1 },
5503 { "wxWindow_GetWindowStyleFlag", _wrap_wxWindow_GetWindowStyleFlag
, 1 },
5504 { "wxWindow_GetUpdateRegion", _wrap_wxWindow_GetUpdateRegion
, 1 },
5505 { "wxWindow_GetTitle", _wrap_wxWindow_GetTitle
, 1 },
5506 { "wxWindow_GetFullTextExtent", _wrap_wxWindow_GetFullTextExtent
, 1 },
5507 { "wxWindow_GetTextExtent", _wrap_wxWindow_GetTextExtent
, 1 },
5508 { "wxWindow_GetSize", _wrap_wxWindow_GetSize
, 1 },
5509 { "wxWindow_GetSizeTuple", _wrap_wxWindow_GetSizeTuple
, 1 },
5510 { "wxWindow_GetScrollRange", _wrap_wxWindow_GetScrollRange
, 1 },
5511 { "wxWindow_GetScrollPos", _wrap_wxWindow_GetScrollPos
, 1 },
5512 { "wxWindow_GetScrollThumb", _wrap_wxWindow_GetScrollThumb
, 1 },
5513 { "wxWindow_GetRect", _wrap_wxWindow_GetRect
, 1 },
5514 { "wxWindow_GetPosition", _wrap_wxWindow_GetPosition
, 1 },
5515 { "wxWindow_GetPositionTuple", _wrap_wxWindow_GetPositionTuple
, 1 },
5516 { "wxWindow_GetParent", _wrap_wxWindow_GetParent
, 1 },
5517 { "wxWindow_GetName", _wrap_wxWindow_GetName
, 1 },
5518 { "wxWindow_SetLabel", _wrap_wxWindow_SetLabel
, 1 },
5519 { "wxWindow_GetLabel", _wrap_wxWindow_GetLabel
, 1 },
5520 { "wxWindow_GetId", _wrap_wxWindow_GetId
, 1 },
5521 { "wxWindow_GetGrandParent", _wrap_wxWindow_GetGrandParent
, 1 },
5522 { "wxWindow_GetForegroundColour", _wrap_wxWindow_GetForegroundColour
, 1 },
5523 { "wxWindow_GetFont", _wrap_wxWindow_GetFont
, 1 },
5524 { "wxWindow_GetConstraints", _wrap_wxWindow_GetConstraints
, 1 },
5525 { "wxWindow_GetClientSize", _wrap_wxWindow_GetClientSize
, 1 },
5526 { "wxWindow_GetClientSizeTuple", _wrap_wxWindow_GetClientSizeTuple
, 1 },
5527 { "wxWindow_GetCharWidth", _wrap_wxWindow_GetCharWidth
, 1 },
5528 { "wxWindow_GetCharHeight", _wrap_wxWindow_GetCharHeight
, 1 },
5529 { "wxWindow_GetBackgroundColour", _wrap_wxWindow_GetBackgroundColour
, 1 },
5530 { "wxWindow_Fit", _wrap_wxWindow_Fit
, 1 },
5531 { "wxWindow_FindWindowByName", _wrap_wxWindow_FindWindowByName
, 1 },
5532 { "wxWindow_FindWindowById", _wrap_wxWindow_FindWindowById
, 1 },
5533 { "wxWindow_Enable", _wrap_wxWindow_Enable
, 1 },
5534 { "wxWindow_DestroyChildren", _wrap_wxWindow_DestroyChildren
, 1 },
5535 { "wxWindow_Destroy", _wrap_wxWindow_Destroy
, 1 },
5536 { "wxWindow_Close", _wrap_wxWindow_Close
, 1 },
5537 { "wxWindow_ClientToScreen", _wrap_wxWindow_ClientToScreen
, 1 },
5538 { "wxWindow_ClientToScreenXY", _wrap_wxWindow_ClientToScreenXY
, 1 },
5539 { "wxWindow_CenterOnParent", _wrap_wxWindow_CenterOnParent
, 1 },
5540 { "wxWindow_CentreOnParent", _wrap_wxWindow_CentreOnParent
, 1 },
5541 { "wxWindow_Centre", _wrap_wxWindow_Centre
, 1 },
5542 { "wxWindow_Center", _wrap_wxWindow_Center
, 1 },
5543 { "wxWindow_CaptureMouse", _wrap_wxWindow_CaptureMouse
, 1 },
5544 { "new_wxWindow", _wrap_new_wxWindow
, 1 },
5545 { "wxEvtHandler_Connect", _wrap_wxEvtHandler_Connect
, 1 },
5546 { "wxEvtHandler_ProcessEvent", _wrap_wxEvtHandler_ProcessEvent
, 1 },
5549 static PyObject
*SWIG_globals
;
5553 SWIGEXPORT(void,initwindowsc
)() {
5555 SWIG_globals
= SWIG_newvarlink();
5556 m
= Py_InitModule("windowsc", windowscMethods
);
5557 d
= PyModule_GetDict(m
);
5559 * These are the pointer type-equivalency mappings.
5560 * (Used by the SWIG pointer type-checker).
5562 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
5563 SWIG_RegisterMapping("_signed_long","_long",0);
5564 SWIG_RegisterMapping("_wxPrintQuality","_int",0);
5565 SWIG_RegisterMapping("_wxPrintQuality","_signed_int",0);
5566 SWIG_RegisterMapping("_wxPrintQuality","_unsigned_int",0);
5567 SWIG_RegisterMapping("_wxPrintQuality","_wxWindowID",0);
5568 SWIG_RegisterMapping("_wxPrintQuality","_uint",0);
5569 SWIG_RegisterMapping("_wxPrintQuality","_EBool",0);
5570 SWIG_RegisterMapping("_wxPrintQuality","_size_t",0);
5571 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
5572 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
5573 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
5574 SWIG_RegisterMapping("_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
5575 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
);
5576 SWIG_RegisterMapping("_class_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
);
5577 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
5578 SWIG_RegisterMapping("_class_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
5579 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
);
5580 SWIG_RegisterMapping("_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
);
5581 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
);
5582 SWIG_RegisterMapping("_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
);
5583 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
);
5584 SWIG_RegisterMapping("_class_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
);
5585 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
5586 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
5587 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
5588 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
5589 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
5590 SWIG_RegisterMapping("_byte","_unsigned_char",0);
5591 SWIG_RegisterMapping("_long","_wxDash",0);
5592 SWIG_RegisterMapping("_long","_unsigned_long",0);
5593 SWIG_RegisterMapping("_long","_signed_long",0);
5594 SWIG_RegisterMapping("_wxImageList","_class_wxImageList",0);
5595 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
5596 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
5597 SWIG_RegisterMapping("_size_t","_wxPrintQuality",0);
5598 SWIG_RegisterMapping("_size_t","_unsigned_int",0);
5599 SWIG_RegisterMapping("_size_t","_int",0);
5600 SWIG_RegisterMapping("_size_t","_wxWindowID",0);
5601 SWIG_RegisterMapping("_size_t","_uint",0);
5602 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
5603 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
5604 SWIG_RegisterMapping("_class_wxPostScriptDC","_wxPostScriptDC",0);
5605 SWIG_RegisterMapping("_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
);
5606 SWIG_RegisterMapping("_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
);
5607 SWIG_RegisterMapping("_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
);
5608 SWIG_RegisterMapping("_wxPanel","_wxDialog",SwigwxDialogTowxPanel
);
5609 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
5610 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
5611 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
5612 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
5613 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
5614 SWIG_RegisterMapping("_uint","_wxPrintQuality",0);
5615 SWIG_RegisterMapping("_uint","_size_t",0);
5616 SWIG_RegisterMapping("_uint","_unsigned_int",0);
5617 SWIG_RegisterMapping("_uint","_int",0);
5618 SWIG_RegisterMapping("_uint","_wxWindowID",0);
5619 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
5620 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
5621 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
5622 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
5623 SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
5624 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
5625 SWIG_RegisterMapping("_EBool","_wxPrintQuality",0);
5626 SWIG_RegisterMapping("_EBool","_signed_int",0);
5627 SWIG_RegisterMapping("_EBool","_int",0);
5628 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
5629 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
5630 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
5631 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
5632 SWIG_RegisterMapping("_unsigned_long","_long",0);
5633 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
5634 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
5635 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
5636 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
5637 SWIG_RegisterMapping("_class_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
);
5638 SWIG_RegisterMapping("_class_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
);
5639 SWIG_RegisterMapping("_class_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
);
5640 SWIG_RegisterMapping("_class_wxPanel","_wxDialog",SwigwxDialogTowxPanel
);
5641 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
5642 SWIG_RegisterMapping("_signed_int","_wxPrintQuality",0);
5643 SWIG_RegisterMapping("_signed_int","_EBool",0);
5644 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
5645 SWIG_RegisterMapping("_signed_int","_int",0);
5646 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
5647 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
5648 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
5649 SWIG_RegisterMapping("_WXTYPE","_short",0);
5650 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
5651 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
5652 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
5653 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
5654 SWIG_RegisterMapping("_unsigned_short","_short",0);
5655 SWIG_RegisterMapping("_class_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
5656 SWIG_RegisterMapping("_class_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
5657 SWIG_RegisterMapping("_class_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
);
5658 SWIG_RegisterMapping("_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow
);
5659 SWIG_RegisterMapping("_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
);
5660 SWIG_RegisterMapping("_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow
);
5661 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
5662 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
5663 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
5664 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
5665 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
5666 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
5667 SWIG_RegisterMapping("_signed_short","_short",0);
5668 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
5669 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
5670 SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0);
5671 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
5672 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
5673 SWIG_RegisterMapping("_wxPostScriptDC","_class_wxPostScriptDC",0);
5674 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
5675 SWIG_RegisterMapping("_unsigned_char","_byte",0);
5676 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
5677 SWIG_RegisterMapping("_unsigned_int","_wxPrintQuality",0);
5678 SWIG_RegisterMapping("_unsigned_int","_size_t",0);
5679 SWIG_RegisterMapping("_unsigned_int","_uint",0);
5680 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
5681 SWIG_RegisterMapping("_unsigned_int","_int",0);
5682 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
5683 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
5684 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
5685 SWIG_RegisterMapping("_short","_WXTYPE",0);
5686 SWIG_RegisterMapping("_short","_unsigned_short",0);
5687 SWIG_RegisterMapping("_short","_signed_short",0);
5688 SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0);
5689 SWIG_RegisterMapping("_wxWindowID","_wxPrintQuality",0);
5690 SWIG_RegisterMapping("_wxWindowID","_size_t",0);
5691 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
5692 SWIG_RegisterMapping("_wxWindowID","_uint",0);
5693 SWIG_RegisterMapping("_wxWindowID","_int",0);
5694 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
5695 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
5696 SWIG_RegisterMapping("_int","_wxPrintQuality",0);
5697 SWIG_RegisterMapping("_int","_size_t",0);
5698 SWIG_RegisterMapping("_int","_EBool",0);
5699 SWIG_RegisterMapping("_int","_uint",0);
5700 SWIG_RegisterMapping("_int","_wxWindowID",0);
5701 SWIG_RegisterMapping("_int","_unsigned_int",0);
5702 SWIG_RegisterMapping("_int","_signed_int",0);
5703 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
5704 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
5705 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
5706 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
5707 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
5708 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
5709 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
5710 SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
5711 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
5712 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
5713 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
5714 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
5715 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
5716 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
5717 SWIG_RegisterMapping("_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
5718 SWIG_RegisterMapping("_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
5719 SWIG_RegisterMapping("_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
);
5720 SWIG_RegisterMapping("_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
);
5721 SWIG_RegisterMapping("_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
5722 SWIG_RegisterMapping("_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
5723 SWIG_RegisterMapping("_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
);
5724 SWIG_RegisterMapping("_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
);
5725 SWIG_RegisterMapping("_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
);
5726 SWIG_RegisterMapping("_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
);
5727 SWIG_RegisterMapping("_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
);
5728 SWIG_RegisterMapping("_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
);
5729 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
5730 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
5731 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
5732 SWIG_RegisterMapping("_wxDash","_long",0);
5733 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
5734 SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);
5735 SWIG_RegisterMapping("_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
5736 SWIG_RegisterMapping("_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
5737 SWIG_RegisterMapping("_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
);
5738 SWIG_RegisterMapping("_wxWindow","_wxDialog",SwigwxDialogTowxWindow
);
5739 SWIG_RegisterMapping("_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
);
5740 SWIG_RegisterMapping("_wxWindow","_wxPanel",SwigwxPanelTowxWindow
);
5741 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);