2 * FILE : gtk/windows.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 5)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a,b) __declspec(dllexport) a b
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a,b) a _export b
32 # define SWIGEXPORT(a,b) a b
36 # define SWIGEXPORT(a,b) a b
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
47 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initwindowsc
54 #define SWIG_name "windowsc"
57 #include <wx/menuitem.h>
59 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
64 } else if (target
== Py_None
) {
68 if (!PyList_Check(target
)) {
70 target
= PyList_New(0);
71 PyList_Append(target
, o2
);
74 PyList_Append(target
,o
);
80 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
86 } else if (target
== Py_None
) {
90 if (!PyTuple_Check(target
)) {
92 target
= PyTuple_New(1);
93 PyTuple_SetItem(target
, 0, o2
);
96 PyTuple_SetItem(o3
, 0, o
);
99 target
= PySequence_Concat(o2
, o3
);
107 extern byte
* byte_LIST_helper(PyObject
* source
);
108 extern int* int_LIST_helper(PyObject
* source
);
109 extern long* long_LIST_helper(PyObject
* source
);
110 extern char** string_LIST_helper(PyObject
* source
);
111 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
112 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
113 extern wxString
* wxString_LIST_helper(PyObject
* source
);
114 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
117 static char* wxStringErrorMsg
= "string type is required for parameter";
118 #define wxEvtHandler_ProcessEvent(_swigobj,_swigarg0) (_swigobj->ProcessEvent(_swigarg0))
119 static PyObject
*_wrap_wxEvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
) {
120 PyObject
* _resultobj
;
122 wxEvtHandler
* _arg0
;
128 if(!PyArg_ParseTuple(args
,"ss:wxEvtHandler_ProcessEvent",&_argc0
,&_argc1
))
131 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_ProcessEvent. Expected _wxEvtHandler_p.");
137 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxEvent_p")) {
138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_ProcessEvent. Expected _wxEvent_p.");
143 wxPy_BEGIN_ALLOW_THREADS
;
144 _result
= (bool )wxEvtHandler_ProcessEvent(_arg0
,*_arg1
);
146 wxPy_END_ALLOW_THREADS
;
147 } _resultobj
= Py_BuildValue("i",_result
);
151 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
* func
) {
152 if (PyCallable_Check(func
)) {
153 self
->Connect(id
, lastId
, eventType
,
154 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
155 new wxPyCallback(func
));
158 static PyObject
*_wrap_wxEvtHandler_Connect(PyObject
*self
, PyObject
*args
) {
159 PyObject
* _resultobj
;
160 wxEvtHandler
* _arg0
;
166 PyObject
* _obj4
= 0;
169 if(!PyArg_ParseTuple(args
,"siiiO:wxEvtHandler_Connect",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
172 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
181 wxPy_BEGIN_ALLOW_THREADS
;
182 wxEvtHandler_Connect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
184 wxPy_END_ALLOW_THREADS
;
185 } Py_INCREF(Py_None
);
186 _resultobj
= Py_None
;
190 static void *SwigwxWindowTowxEvtHandler(void *ptr
) {
193 src
= (wxWindow
*) ptr
;
194 dest
= (wxEvtHandler
*) src
;
195 return (void *) dest
;
198 #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
199 static PyObject
*_wrap_new_wxWindow(PyObject
*self
, PyObject
*args
) {
200 PyObject
* _resultobj
;
204 wxPoint
* _arg2
= &wxPyDefaultPosition
;
205 wxSize
* _arg3
= &wxPyDefaultSize
;
207 char * _arg5
= "panel";
214 if(!PyArg_ParseTuple(args
,"si|ssls:new_wxWindow",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
217 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
223 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxWindow. Expected _wxPoint_p.");
229 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxWindow. Expected _wxSize_p.");
235 wxPy_BEGIN_ALLOW_THREADS
;
236 _result
= (wxWindow
*)new_wxWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
238 wxPy_END_ALLOW_THREADS
;
239 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
240 _resultobj
= Py_BuildValue("s",_ptemp
);
244 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
245 static PyObject
*_wrap_wxWindow_CaptureMouse(PyObject
*self
, PyObject
*args
) {
246 PyObject
* _resultobj
;
251 if(!PyArg_ParseTuple(args
,"s:wxWindow_CaptureMouse",&_argc0
))
254 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
260 wxPy_BEGIN_ALLOW_THREADS
;
261 wxWindow_CaptureMouse(_arg0
);
263 wxPy_END_ALLOW_THREADS
;
264 } Py_INCREF(Py_None
);
265 _resultobj
= Py_None
;
269 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
270 static PyObject
*_wrap_wxWindow_Center(PyObject
*self
, PyObject
*args
) {
271 PyObject
* _resultobj
;
273 int _arg1
= (wxHORIZONTAL
);
277 if(!PyArg_ParseTuple(args
,"s|i:wxWindow_Center",&_argc0
,&_arg1
))
280 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
286 wxPy_BEGIN_ALLOW_THREADS
;
287 wxWindow_Center(_arg0
,_arg1
);
289 wxPy_END_ALLOW_THREADS
;
290 } Py_INCREF(Py_None
);
291 _resultobj
= Py_None
;
295 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
296 static PyObject
*_wrap_wxWindow_Centre(PyObject
*self
, PyObject
*args
) {
297 PyObject
* _resultobj
;
299 int _arg1
= (wxHORIZONTAL
);
303 if(!PyArg_ParseTuple(args
,"s|i:wxWindow_Centre",&_argc0
,&_arg1
))
306 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
312 wxPy_BEGIN_ALLOW_THREADS
;
313 wxWindow_Centre(_arg0
,_arg1
);
315 wxPy_END_ALLOW_THREADS
;
316 } Py_INCREF(Py_None
);
317 _resultobj
= Py_None
;
321 #define wxWindow_CentreOnParent(_swigobj,_swigarg0) (_swigobj->CentreOnParent(_swigarg0))
322 static PyObject
*_wrap_wxWindow_CentreOnParent(PyObject
*self
, PyObject
*args
) {
323 PyObject
* _resultobj
;
325 int _arg1
= (wxHORIZONTAL
);
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
= (wxHORIZONTAL
);
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_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
1486 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
) {
1487 PyObject
* _resultobj
;
1493 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetWindowStyleFlag",&_argc0
))
1496 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
1502 wxPy_BEGIN_ALLOW_THREADS
;
1503 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
1505 wxPy_END_ALLOW_THREADS
;
1506 } _resultobj
= Py_BuildValue("l",_result
);
1510 #define wxWindow_Hide(_swigobj) (_swigobj->Hide())
1511 static PyObject
*_wrap_wxWindow_Hide(PyObject
*self
, PyObject
*args
) {
1512 PyObject
* _resultobj
;
1518 if(!PyArg_ParseTuple(args
,"s:wxWindow_Hide",&_argc0
))
1521 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
1527 wxPy_BEGIN_ALLOW_THREADS
;
1528 _result
= (bool )wxWindow_Hide(_arg0
);
1530 wxPy_END_ALLOW_THREADS
;
1531 } _resultobj
= Py_BuildValue("i",_result
);
1535 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
1536 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
) {
1537 PyObject
* _resultobj
;
1542 if(!PyArg_ParseTuple(args
,"s:wxWindow_InitDialog",&_argc0
))
1545 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
1551 wxPy_BEGIN_ALLOW_THREADS
;
1552 wxWindow_InitDialog(_arg0
);
1554 wxPy_END_ALLOW_THREADS
;
1555 } Py_INCREF(Py_None
);
1556 _resultobj
= Py_None
;
1560 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
1561 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
) {
1562 PyObject
* _resultobj
;
1568 if(!PyArg_ParseTuple(args
,"s:wxWindow_IsEnabled",&_argc0
))
1571 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
1577 wxPy_BEGIN_ALLOW_THREADS
;
1578 _result
= (bool )wxWindow_IsEnabled(_arg0
);
1580 wxPy_END_ALLOW_THREADS
;
1581 } _resultobj
= Py_BuildValue("i",_result
);
1585 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
1586 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
) {
1587 PyObject
* _resultobj
;
1593 if(!PyArg_ParseTuple(args
,"s:wxWindow_IsRetained",&_argc0
))
1596 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
1602 wxPy_BEGIN_ALLOW_THREADS
;
1603 _result
= (bool )wxWindow_IsRetained(_arg0
);
1605 wxPy_END_ALLOW_THREADS
;
1606 } _resultobj
= Py_BuildValue("i",_result
);
1610 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
1611 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
) {
1612 PyObject
* _resultobj
;
1618 if(!PyArg_ParseTuple(args
,"s:wxWindow_IsShown",&_argc0
))
1621 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
1627 wxPy_BEGIN_ALLOW_THREADS
;
1628 _result
= (bool )wxWindow_IsShown(_arg0
);
1630 wxPy_END_ALLOW_THREADS
;
1631 } _resultobj
= Py_BuildValue("i",_result
);
1635 #define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
1636 static PyObject
*_wrap_wxWindow_IsTopLevel(PyObject
*self
, PyObject
*args
) {
1637 PyObject
* _resultobj
;
1643 if(!PyArg_ParseTuple(args
,"s:wxWindow_IsTopLevel",&_argc0
))
1646 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
1652 wxPy_BEGIN_ALLOW_THREADS
;
1653 _result
= (bool )wxWindow_IsTopLevel(_arg0
);
1655 wxPy_END_ALLOW_THREADS
;
1656 } _resultobj
= Py_BuildValue("i",_result
);
1660 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
1661 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
) {
1662 PyObject
* _resultobj
;
1667 if(!PyArg_ParseTuple(args
,"s:wxWindow_Layout",&_argc0
))
1670 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
1676 wxPy_BEGIN_ALLOW_THREADS
;
1677 wxWindow_Layout(_arg0
);
1679 wxPy_END_ALLOW_THREADS
;
1680 } Py_INCREF(Py_None
);
1681 _resultobj
= Py_None
;
1685 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
1686 static PyObject
*_wrap_wxWindow_LoadFromResource(PyObject
*self
, PyObject
*args
) {
1687 PyObject
* _resultobj
;
1692 wxResourceTable
* _arg3
= NULL
;
1695 PyObject
* _obj2
= 0;
1699 if(!PyArg_ParseTuple(args
,"ssO|s:wxWindow_LoadFromResource",&_argc0
,&_argc1
,&_obj2
,&_argc3
))
1702 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
1708 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
1709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
1714 if (!PyString_Check(_obj2
)) {
1715 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1718 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
1721 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxResourceTable_p")) {
1722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
1727 wxPy_BEGIN_ALLOW_THREADS
;
1728 _result
= (bool )wxWindow_LoadFromResource(_arg0
,_arg1
,*_arg2
,_arg3
);
1730 wxPy_END_ALLOW_THREADS
;
1731 } _resultobj
= Py_BuildValue("i",_result
);
1739 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
1740 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
) {
1741 PyObject
* _resultobj
;
1746 if(!PyArg_ParseTuple(args
,"s:wxWindow_Lower",&_argc0
))
1749 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
1755 wxPy_BEGIN_ALLOW_THREADS
;
1756 wxWindow_Lower(_arg0
);
1758 wxPy_END_ALLOW_THREADS
;
1759 } Py_INCREF(Py_None
);
1760 _resultobj
= Py_None
;
1764 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
1765 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
) {
1766 PyObject
* _resultobj
;
1773 if(!PyArg_ParseTuple(args
,"si:wxWindow_MakeModal",&_argc0
,&tempbool1
))
1776 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
1781 _arg1
= (bool ) tempbool1
;
1783 wxPy_BEGIN_ALLOW_THREADS
;
1784 wxWindow_MakeModal(_arg0
,_arg1
);
1786 wxPy_END_ALLOW_THREADS
;
1787 } Py_INCREF(Py_None
);
1788 _resultobj
= Py_None
;
1792 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
1793 static PyObject
*_wrap_wxWindow_MoveXY(PyObject
*self
, PyObject
*args
) {
1794 PyObject
* _resultobj
;
1801 if(!PyArg_ParseTuple(args
,"sii:wxWindow_MoveXY",&_argc0
,&_arg1
,&_arg2
))
1804 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
1810 wxPy_BEGIN_ALLOW_THREADS
;
1811 wxWindow_MoveXY(_arg0
,_arg1
,_arg2
);
1813 wxPy_END_ALLOW_THREADS
;
1814 } Py_INCREF(Py_None
);
1815 _resultobj
= Py_None
;
1819 #define wxWindow_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
1820 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
) {
1821 PyObject
* _resultobj
;
1828 if(!PyArg_ParseTuple(args
,"ss:wxWindow_Move",&_argc0
,&_argc1
))
1831 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
1837 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
1838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Move. Expected _wxPoint_p.");
1843 wxPy_BEGIN_ALLOW_THREADS
;
1844 wxWindow_Move(_arg0
,*_arg1
);
1846 wxPy_END_ALLOW_THREADS
;
1847 } Py_INCREF(Py_None
);
1848 _resultobj
= Py_None
;
1852 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
1853 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
) {
1854 PyObject
* _resultobj
;
1864 if(!PyArg_ParseTuple(args
,"ssii:wxWindow_PopupMenu",&_argc0
,&_argc1
,&_arg2
,&_arg3
))
1867 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
1873 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxMenu_p")) {
1874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
1879 wxPy_BEGIN_ALLOW_THREADS
;
1880 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,_arg2
,_arg3
);
1882 wxPy_END_ALLOW_THREADS
;
1883 } _resultobj
= Py_BuildValue("i",_result
);
1887 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
1888 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
) {
1889 PyObject
* _resultobj
;
1894 if(!PyArg_ParseTuple(args
,"s:wxWindow_Raise",&_argc0
))
1897 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
1903 wxPy_BEGIN_ALLOW_THREADS
;
1904 wxWindow_Raise(_arg0
);
1906 wxPy_END_ALLOW_THREADS
;
1907 } Py_INCREF(Py_None
);
1908 _resultobj
= Py_None
;
1912 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
1913 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
) {
1914 PyObject
* _resultobj
;
1917 wxRect
* _arg2
= NULL
;
1923 if(!PyArg_ParseTuple(args
,"s|is:wxWindow_Refresh",&_argc0
,&tempbool1
,&_argc2
))
1926 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
1931 _arg1
= (bool ) tempbool1
;
1933 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxRect_p")) {
1934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxWindow_Refresh. Expected _wxRect_p.");
1939 wxPy_BEGIN_ALLOW_THREADS
;
1940 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
1942 wxPy_END_ALLOW_THREADS
;
1943 } Py_INCREF(Py_None
);
1944 _resultobj
= Py_None
;
1948 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
1949 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
) {
1950 PyObject
* _resultobj
;
1955 if(!PyArg_ParseTuple(args
,"s:wxWindow_ReleaseMouse",&_argc0
))
1958 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
1964 wxPy_BEGIN_ALLOW_THREADS
;
1965 wxWindow_ReleaseMouse(_arg0
);
1967 wxPy_END_ALLOW_THREADS
;
1968 } Py_INCREF(Py_None
);
1969 _resultobj
= Py_None
;
1973 #define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
1974 static PyObject
*_wrap_wxWindow_Reparent(PyObject
*self
, PyObject
*args
) {
1975 PyObject
* _resultobj
;
1983 if(!PyArg_ParseTuple(args
,"ss:wxWindow_Reparent",&_argc0
,&_argc1
))
1986 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
1992 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
1993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
1998 wxPy_BEGIN_ALLOW_THREADS
;
1999 _result
= (bool )wxWindow_Reparent(_arg0
,_arg1
);
2001 wxPy_END_ALLOW_THREADS
;
2002 } _resultobj
= Py_BuildValue("i",_result
);
2006 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
2007 static PyObject
*_wrap_wxWindow_ScreenToClientXY(PyObject
*self
, PyObject
*args
) {
2008 PyObject
* _resultobj
;
2014 PyObject
* _obj1
= 0;
2016 PyObject
* _obj2
= 0;
2019 if(!PyArg_ParseTuple(args
,"sOO:wxWindow_ScreenToClientXY",&_argc0
,&_obj1
,&_obj2
))
2022 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
2028 temp
= (int) PyInt_AsLong(_obj1
);
2032 temp0
= (int) PyInt_AsLong(_obj2
);
2036 wxPy_BEGIN_ALLOW_THREADS
;
2037 wxWindow_ScreenToClientXY(_arg0
,_arg1
,_arg2
);
2039 wxPy_END_ALLOW_THREADS
;
2040 } Py_INCREF(Py_None
);
2041 _resultobj
= Py_None
;
2044 o
= PyInt_FromLong((long) (*_arg1
));
2045 _resultobj
= t_output_helper(_resultobj
, o
);
2049 o
= PyInt_FromLong((long) (*_arg2
));
2050 _resultobj
= t_output_helper(_resultobj
, o
);
2055 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
2056 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
) {
2057 PyObject
* _resultobj
;
2066 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ScreenToClient",&_argc0
,&_argc1
))
2069 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
2075 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
2076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ScreenToClient. Expected _wxPoint_p.");
2081 wxPy_BEGIN_ALLOW_THREADS
;
2082 _result
= new wxPoint (wxWindow_ScreenToClient(_arg0
,*_arg1
));
2084 wxPy_END_ALLOW_THREADS
;
2085 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2086 _resultobj
= Py_BuildValue("s",_ptemp
);
2090 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
2091 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
) {
2092 PyObject
* _resultobj
;
2096 wxRect
* _arg3
= NULL
;
2101 if(!PyArg_ParseTuple(args
,"sii|s:wxWindow_ScrollWindow",&_argc0
,&_arg1
,&_arg2
,&_argc3
))
2104 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
2110 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxRect_p")) {
2111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_ScrollWindow. Expected _wxRect_p.");
2116 wxPy_BEGIN_ALLOW_THREADS
;
2117 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
2119 wxPy_END_ALLOW_THREADS
;
2120 } Py_INCREF(Py_None
);
2121 _resultobj
= Py_None
;
2125 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
2126 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
) {
2127 PyObject
* _resultobj
;
2129 wxAcceleratorTable
* _arg1
;
2134 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetAcceleratorTable",&_argc0
,&_argc1
))
2137 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
2143 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
2144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
2149 wxPy_BEGIN_ALLOW_THREADS
;
2150 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
2152 wxPy_END_ALLOW_THREADS
;
2153 } Py_INCREF(Py_None
);
2154 _resultobj
= Py_None
;
2158 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
2159 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
) {
2160 PyObject
* _resultobj
;
2167 if(!PyArg_ParseTuple(args
,"si:wxWindow_SetAutoLayout",&_argc0
,&tempbool1
))
2170 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
2175 _arg1
= (bool ) tempbool1
;
2177 wxPy_BEGIN_ALLOW_THREADS
;
2178 wxWindow_SetAutoLayout(_arg0
,_arg1
);
2180 wxPy_END_ALLOW_THREADS
;
2181 } Py_INCREF(Py_None
);
2182 _resultobj
= Py_None
;
2186 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
2187 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
) {
2188 PyObject
* _resultobj
;
2195 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetBackgroundColour",&_argc0
,&_argc1
))
2198 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
2204 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
2205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetBackgroundColour. Expected _wxColour_p.");
2210 wxPy_BEGIN_ALLOW_THREADS
;
2211 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
2213 wxPy_END_ALLOW_THREADS
;
2214 } Py_INCREF(Py_None
);
2215 _resultobj
= Py_None
;
2219 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
2220 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
) {
2221 PyObject
* _resultobj
;
2223 wxLayoutConstraints
* _arg1
;
2228 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetConstraints",&_argc0
,&_argc1
))
2231 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
2237 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
2238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
2243 wxPy_BEGIN_ALLOW_THREADS
;
2244 wxWindow_SetConstraints(_arg0
,_arg1
);
2246 wxPy_END_ALLOW_THREADS
;
2247 } Py_INCREF(Py_None
);
2248 _resultobj
= Py_None
;
2252 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
2253 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
) {
2254 PyObject
* _resultobj
;
2259 if(!PyArg_ParseTuple(args
,"s:wxWindow_SetFocus",&_argc0
))
2262 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
2268 wxPy_BEGIN_ALLOW_THREADS
;
2269 wxWindow_SetFocus(_arg0
);
2271 wxPy_END_ALLOW_THREADS
;
2272 } Py_INCREF(Py_None
);
2273 _resultobj
= Py_None
;
2277 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
2278 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
) {
2279 PyObject
* _resultobj
;
2286 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetFont",&_argc0
,&_argc1
))
2289 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
2295 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxFont_p")) {
2296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
2301 wxPy_BEGIN_ALLOW_THREADS
;
2302 wxWindow_SetFont(_arg0
,*_arg1
);
2304 wxPy_END_ALLOW_THREADS
;
2305 } Py_INCREF(Py_None
);
2306 _resultobj
= Py_None
;
2310 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
2311 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
) {
2312 PyObject
* _resultobj
;
2319 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetForegroundColour",&_argc0
,&_argc1
))
2322 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
2328 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
2329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetForegroundColour. Expected _wxColour_p.");
2334 wxPy_BEGIN_ALLOW_THREADS
;
2335 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
2337 wxPy_END_ALLOW_THREADS
;
2338 } Py_INCREF(Py_None
);
2339 _resultobj
= Py_None
;
2343 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
2344 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
) {
2345 PyObject
* _resultobj
;
2351 if(!PyArg_ParseTuple(args
,"si:wxWindow_SetId",&_argc0
,&_arg1
))
2354 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
2360 wxPy_BEGIN_ALLOW_THREADS
;
2361 wxWindow_SetId(_arg0
,_arg1
);
2363 wxPy_END_ALLOW_THREADS
;
2364 } Py_INCREF(Py_None
);
2365 _resultobj
= Py_None
;
2369 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
2370 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
) {
2371 PyObject
* _resultobj
;
2375 PyObject
* _obj1
= 0;
2378 if(!PyArg_ParseTuple(args
,"sO:wxWindow_SetName",&_argc0
,&_obj1
))
2381 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
2387 if (!PyString_Check(_obj1
)) {
2388 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2391 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2394 wxPy_BEGIN_ALLOW_THREADS
;
2395 wxWindow_SetName(_arg0
,*_arg1
);
2397 wxPy_END_ALLOW_THREADS
;
2398 } Py_INCREF(Py_None
);
2399 _resultobj
= Py_None
;
2407 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2408 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
) {
2409 PyObject
* _resultobj
;
2420 if(!PyArg_ParseTuple(args
,"siiii|i:wxWindow_SetScrollbar",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
2423 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
2428 _arg5
= (bool ) tempbool5
;
2430 wxPy_BEGIN_ALLOW_THREADS
;
2431 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2433 wxPy_END_ALLOW_THREADS
;
2434 } Py_INCREF(Py_None
);
2435 _resultobj
= Py_None
;
2439 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
2440 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
) {
2441 PyObject
* _resultobj
;
2450 if(!PyArg_ParseTuple(args
,"sii|i:wxWindow_SetScrollPos",&_argc0
,&_arg1
,&_arg2
,&tempbool3
))
2453 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
2458 _arg3
= (bool ) tempbool3
;
2460 wxPy_BEGIN_ALLOW_THREADS
;
2461 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
2463 wxPy_END_ALLOW_THREADS
;
2464 } Py_INCREF(Py_None
);
2465 _resultobj
= Py_None
;
2469 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2470 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
) {
2471 PyObject
* _resultobj
;
2477 int _arg5
= (wxSIZE_AUTO
);
2481 if(!PyArg_ParseTuple(args
,"siiii|i:wxWindow_SetDimensions",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2484 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
2490 wxPy_BEGIN_ALLOW_THREADS
;
2491 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2493 wxPy_END_ALLOW_THREADS
;
2494 } Py_INCREF(Py_None
);
2495 _resultobj
= Py_None
;
2499 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
2500 self
->SetSize(size
.x
, size
.y
);
2502 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
) {
2503 PyObject
* _resultobj
;
2510 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetSize",&_argc0
,&_argc1
))
2513 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
2519 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
2520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSize. Expected _wxSize_p.");
2525 wxPy_BEGIN_ALLOW_THREADS
;
2526 wxWindow_SetSize(_arg0
,*_arg1
);
2528 wxPy_END_ALLOW_THREADS
;
2529 } Py_INCREF(Py_None
);
2530 _resultobj
= Py_None
;
2534 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
) {
2535 self
->SetSize(pos
.x
, pos
.y
, -1, -1);
2537 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
) {
2538 PyObject
* _resultobj
;
2545 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetPosition",&_argc0
,&_argc1
))
2548 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
2554 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
2555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetPosition. Expected _wxPoint_p.");
2560 wxPy_BEGIN_ALLOW_THREADS
;
2561 wxWindow_SetPosition(_arg0
,*_arg1
);
2563 wxPy_END_ALLOW_THREADS
;
2564 } Py_INCREF(Py_None
);
2565 _resultobj
= Py_None
;
2569 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2570 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
) {
2571 PyObject
* _resultobj
;
2582 if(!PyArg_ParseTuple(args
,"s|iiiiii:wxWindow_SetSizeHints",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
2585 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
2591 wxPy_BEGIN_ALLOW_THREADS
;
2592 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2594 wxPy_END_ALLOW_THREADS
;
2595 } Py_INCREF(Py_None
);
2596 _resultobj
= Py_None
;
2600 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
2601 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
) {
2602 PyObject
* _resultobj
;
2609 if(!PyArg_ParseTuple(args
,"sii:wxWindow_SetClientSizeWH",&_argc0
,&_arg1
,&_arg2
))
2612 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
2618 wxPy_BEGIN_ALLOW_THREADS
;
2619 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
2621 wxPy_END_ALLOW_THREADS
;
2622 } Py_INCREF(Py_None
);
2623 _resultobj
= Py_None
;
2627 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
2628 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
) {
2629 PyObject
* _resultobj
;
2636 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetClientSize",&_argc0
,&_argc1
))
2639 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
2645 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
2646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetClientSize. Expected _wxSize_p.");
2651 wxPy_BEGIN_ALLOW_THREADS
;
2652 wxWindow_SetClientSize(_arg0
,*_arg1
);
2654 wxPy_END_ALLOW_THREADS
;
2655 } Py_INCREF(Py_None
);
2656 _resultobj
= Py_None
;
2660 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
2661 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
) {
2662 PyObject
* _resultobj
;
2669 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetCursor",&_argc0
,&_argc1
))
2672 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
2678 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxCursor_p")) {
2679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
2684 wxPy_BEGIN_ALLOW_THREADS
;
2685 wxWindow_SetCursor(_arg0
,*_arg1
);
2687 wxPy_END_ALLOW_THREADS
;
2688 } Py_INCREF(Py_None
);
2689 _resultobj
= Py_None
;
2693 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
2694 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
) {
2695 PyObject
* _resultobj
;
2699 PyObject
* _obj1
= 0;
2702 if(!PyArg_ParseTuple(args
,"sO:wxWindow_SetTitle",&_argc0
,&_obj1
))
2705 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
2711 if (!PyString_Check(_obj1
)) {
2712 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2715 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2718 wxPy_BEGIN_ALLOW_THREADS
;
2719 wxWindow_SetTitle(_arg0
,*_arg1
);
2721 wxPy_END_ALLOW_THREADS
;
2722 } Py_INCREF(Py_None
);
2723 _resultobj
= Py_None
;
2731 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
2732 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
) {
2733 PyObject
* _resultobj
;
2741 if(!PyArg_ParseTuple(args
,"si:wxWindow_Show",&_argc0
,&tempbool1
))
2744 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
2749 _arg1
= (bool ) tempbool1
;
2751 wxPy_BEGIN_ALLOW_THREADS
;
2752 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
2754 wxPy_END_ALLOW_THREADS
;
2755 } _resultobj
= Py_BuildValue("i",_result
);
2759 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
2760 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
) {
2761 PyObject
* _resultobj
;
2767 if(!PyArg_ParseTuple(args
,"s:wxWindow_TransferDataFromWindow",&_argc0
))
2770 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
2776 wxPy_BEGIN_ALLOW_THREADS
;
2777 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
2779 wxPy_END_ALLOW_THREADS
;
2780 } _resultobj
= Py_BuildValue("i",_result
);
2784 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
2785 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
) {
2786 PyObject
* _resultobj
;
2792 if(!PyArg_ParseTuple(args
,"s:wxWindow_TransferDataToWindow",&_argc0
))
2795 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
2801 wxPy_BEGIN_ALLOW_THREADS
;
2802 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
2804 wxPy_END_ALLOW_THREADS
;
2805 } _resultobj
= Py_BuildValue("i",_result
);
2809 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
2810 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
) {
2811 PyObject
* _resultobj
;
2817 if(!PyArg_ParseTuple(args
,"s:wxWindow_Validate",&_argc0
))
2820 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
2826 wxPy_BEGIN_ALLOW_THREADS
;
2827 _result
= (bool )wxWindow_Validate(_arg0
);
2829 wxPy_END_ALLOW_THREADS
;
2830 } _resultobj
= Py_BuildValue("i",_result
);
2834 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
2835 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
) {
2836 PyObject
* _resultobj
;
2843 if(!PyArg_ParseTuple(args
,"sii:wxWindow_WarpPointer",&_argc0
,&_arg1
,&_arg2
))
2846 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
2852 wxPy_BEGIN_ALLOW_THREADS
;
2853 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
2855 wxPy_END_ALLOW_THREADS
;
2856 } Py_INCREF(Py_None
);
2857 _resultobj
= Py_None
;
2861 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
2862 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
) {
2863 PyObject
* _resultobj
;
2872 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ConvertDialogPointToPixels",&_argc0
,&_argc1
))
2875 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
2881 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
2882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertDialogPointToPixels. Expected _wxPoint_p.");
2887 wxPy_BEGIN_ALLOW_THREADS
;
2888 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
2890 wxPy_END_ALLOW_THREADS
;
2891 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2892 _resultobj
= Py_BuildValue("s",_ptemp
);
2896 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
2897 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
) {
2898 PyObject
* _resultobj
;
2907 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ConvertDialogSizeToPixels",&_argc0
,&_argc1
))
2910 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
2916 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
2917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertDialogSizeToPixels. Expected _wxSize_p.");
2922 wxPy_BEGIN_ALLOW_THREADS
;
2923 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
2925 wxPy_END_ALLOW_THREADS
;
2926 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2927 _resultobj
= Py_BuildValue("s",_ptemp
);
2931 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
2932 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
) {
2933 PyObject
* _resultobj
;
2942 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ConvertPixelPointToDialog",&_argc0
,&_argc1
))
2945 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
2951 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
2952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertPixelPointToDialog. Expected _wxPoint_p.");
2957 wxPy_BEGIN_ALLOW_THREADS
;
2958 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
2960 wxPy_END_ALLOW_THREADS
;
2961 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2962 _resultobj
= Py_BuildValue("s",_ptemp
);
2966 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
2967 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
) {
2968 PyObject
* _resultobj
;
2977 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ConvertPixelSizeToDialog",&_argc0
,&_argc1
))
2980 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
2986 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
2987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertPixelSizeToDialog. Expected _wxSize_p.");
2992 wxPy_BEGIN_ALLOW_THREADS
;
2993 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
2995 wxPy_END_ALLOW_THREADS
;
2996 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2997 _resultobj
= Py_BuildValue("s",_ptemp
);
3001 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
3002 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
) {
3003 PyObject
* _resultobj
;
3007 PyObject
* _obj1
= 0;
3010 if(!PyArg_ParseTuple(args
,"sO:wxWindow_SetToolTipString",&_argc0
,&_obj1
))
3013 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
3014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
3019 if (!PyString_Check(_obj1
)) {
3020 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3023 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3026 wxPy_BEGIN_ALLOW_THREADS
;
3027 wxWindow_SetToolTipString(_arg0
,*_arg1
);
3029 wxPy_END_ALLOW_THREADS
;
3030 } Py_INCREF(Py_None
);
3031 _resultobj
= Py_None
;
3039 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
3040 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
) {
3041 PyObject
* _resultobj
;
3048 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetToolTip",&_argc0
,&_argc1
))
3051 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
3052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
3057 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxToolTip_p")) {
3058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
3063 wxPy_BEGIN_ALLOW_THREADS
;
3064 wxWindow_SetToolTip(_arg0
,_arg1
);
3066 wxPy_END_ALLOW_THREADS
;
3067 } Py_INCREF(Py_None
);
3068 _resultobj
= Py_None
;
3072 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
3073 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
) {
3074 PyObject
* _resultobj
;
3075 wxToolTip
* _result
;
3081 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetToolTip",&_argc0
))
3084 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
3085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
3090 wxPy_BEGIN_ALLOW_THREADS
;
3091 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
3093 wxPy_END_ALLOW_THREADS
;
3094 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
3095 _resultobj
= Py_BuildValue("s",_ptemp
);
3099 static void *SwigwxPanelTowxWindow(void *ptr
) {
3102 src
= (wxPanel
*) ptr
;
3103 dest
= (wxWindow
*) src
;
3104 return (void *) dest
;
3107 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
3110 src
= (wxPanel
*) ptr
;
3111 dest
= (wxEvtHandler
*) src
;
3112 return (void *) dest
;
3115 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3116 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
) {
3117 PyObject
* _resultobj
;
3121 wxPoint
* _arg2
= &wxPyDefaultPosition
;
3122 wxSize
* _arg3
= &wxPyDefaultSize
;
3123 long _arg4
= (wxTAB_TRAVERSAL
);
3124 char * _arg5
= "panel";
3131 if(!PyArg_ParseTuple(args
,"si|ssls:new_wxPanel",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
3134 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
3135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
3140 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
3141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPanel. Expected _wxPoint_p.");
3146 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
3147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxPanel. Expected _wxSize_p.");
3152 wxPy_BEGIN_ALLOW_THREADS
;
3153 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
3155 wxPy_END_ALLOW_THREADS
;
3156 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
3157 _resultobj
= Py_BuildValue("s",_ptemp
);
3161 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
3162 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
) {
3163 PyObject
* _resultobj
;
3168 if(!PyArg_ParseTuple(args
,"s:wxPanel_InitDialog",&_argc0
))
3171 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPanel_p")) {
3172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
3177 wxPy_BEGIN_ALLOW_THREADS
;
3178 wxPanel_InitDialog(_arg0
);
3180 wxPy_END_ALLOW_THREADS
;
3181 } Py_INCREF(Py_None
);
3182 _resultobj
= Py_None
;
3186 #define wxPanel_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
3187 static PyObject
*_wrap_wxPanel_GetDefaultItem(PyObject
*self
, PyObject
*args
) {
3188 PyObject
* _resultobj
;
3195 if(!PyArg_ParseTuple(args
,"s:wxPanel_GetDefaultItem",&_argc0
))
3198 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPanel_p")) {
3199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_GetDefaultItem. Expected _wxPanel_p.");
3204 wxPy_BEGIN_ALLOW_THREADS
;
3205 _result
= (wxButton
*)wxPanel_GetDefaultItem(_arg0
);
3207 wxPy_END_ALLOW_THREADS
;
3208 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
3209 _resultobj
= Py_BuildValue("s",_ptemp
);
3213 #define wxPanel_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
3214 static PyObject
*_wrap_wxPanel_SetDefaultItem(PyObject
*self
, PyObject
*args
) {
3215 PyObject
* _resultobj
;
3222 if(!PyArg_ParseTuple(args
,"ss:wxPanel_SetDefaultItem",&_argc0
,&_argc1
))
3225 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPanel_p")) {
3226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_SetDefaultItem. Expected _wxPanel_p.");
3231 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxButton_p")) {
3232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPanel_SetDefaultItem. Expected _wxButton_p.");
3237 wxPy_BEGIN_ALLOW_THREADS
;
3238 wxPanel_SetDefaultItem(_arg0
,_arg1
);
3240 wxPy_END_ALLOW_THREADS
;
3241 } Py_INCREF(Py_None
);
3242 _resultobj
= Py_None
;
3246 static void *SwigwxDialogTowxPanel(void *ptr
) {
3249 src
= (wxDialog
*) ptr
;
3250 dest
= (wxPanel
*) src
;
3251 return (void *) dest
;
3254 static void *SwigwxDialogTowxWindow(void *ptr
) {
3257 src
= (wxDialog
*) ptr
;
3258 dest
= (wxWindow
*) src
;
3259 return (void *) dest
;
3262 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
3265 src
= (wxDialog
*) ptr
;
3266 dest
= (wxEvtHandler
*) src
;
3267 return (void *) dest
;
3270 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3271 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
) {
3272 PyObject
* _resultobj
;
3277 wxPoint
* _arg3
= &wxPyDefaultPosition
;
3278 wxSize
* _arg4
= &wxPyDefaultSize
;
3279 long _arg5
= (wxDEFAULT_DIALOG_STYLE
);
3280 char * _arg6
= "dialogBox";
3282 PyObject
* _obj2
= 0;
3288 if(!PyArg_ParseTuple(args
,"siO|ssls:new_wxDialog",&_argc0
,&_arg1
,&_obj2
,&_argc3
,&_argc4
,&_arg5
,&_arg6
))
3291 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
3292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
3297 if (!PyString_Check(_obj2
)) {
3298 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3301 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
3304 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxPoint_p")) {
3305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxDialog. Expected _wxPoint_p.");
3310 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_wxSize_p")) {
3311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxDialog. Expected _wxSize_p.");
3316 wxPy_BEGIN_ALLOW_THREADS
;
3317 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
3319 wxPy_END_ALLOW_THREADS
;
3320 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
3321 _resultobj
= Py_BuildValue("s",_ptemp
);
3329 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
3330 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
) {
3331 PyObject
* _resultobj
;
3333 int _arg1
= (wxBOTH
);
3337 if(!PyArg_ParseTuple(args
,"s|i:wxDialog_Centre",&_argc0
,&_arg1
))
3340 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
3346 wxPy_BEGIN_ALLOW_THREADS
;
3347 wxDialog_Centre(_arg0
,_arg1
);
3349 wxPy_END_ALLOW_THREADS
;
3350 } Py_INCREF(Py_None
);
3351 _resultobj
= Py_None
;
3355 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
3356 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
) {
3357 PyObject
* _resultobj
;
3363 if(!PyArg_ParseTuple(args
,"si:wxDialog_EndModal",&_argc0
,&_arg1
))
3366 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
3372 wxPy_BEGIN_ALLOW_THREADS
;
3373 wxDialog_EndModal(_arg0
,_arg1
);
3375 wxPy_END_ALLOW_THREADS
;
3376 } Py_INCREF(Py_None
);
3377 _resultobj
= Py_None
;
3381 #define wxDialog_GetTitle(_swigobj) (_swigobj->GetTitle())
3382 static PyObject
*_wrap_wxDialog_GetTitle(PyObject
*self
, PyObject
*args
) {
3383 PyObject
* _resultobj
;
3389 if(!PyArg_ParseTuple(args
,"s:wxDialog_GetTitle",&_argc0
))
3392 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetTitle. Expected _wxDialog_p.");
3398 wxPy_BEGIN_ALLOW_THREADS
;
3399 _result
= new wxString (wxDialog_GetTitle(_arg0
));
3401 wxPy_END_ALLOW_THREADS
;
3403 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3411 #define wxDialog_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
3412 static PyObject
*_wrap_wxDialog_Iconize(PyObject
*self
, PyObject
*args
) {
3413 PyObject
* _resultobj
;
3420 if(!PyArg_ParseTuple(args
,"si:wxDialog_Iconize",&_argc0
,&tempbool1
))
3423 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Iconize. Expected _wxDialog_p.");
3428 _arg1
= (bool ) tempbool1
;
3430 wxPy_BEGIN_ALLOW_THREADS
;
3431 wxDialog_Iconize(_arg0
,_arg1
);
3433 wxPy_END_ALLOW_THREADS
;
3434 } Py_INCREF(Py_None
);
3435 _resultobj
= Py_None
;
3439 #define wxDialog_IsIconized(_swigobj) (_swigobj->IsIconized())
3440 static PyObject
*_wrap_wxDialog_IsIconized(PyObject
*self
, PyObject
*args
) {
3441 PyObject
* _resultobj
;
3447 if(!PyArg_ParseTuple(args
,"s:wxDialog_IsIconized",&_argc0
))
3450 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsIconized. Expected _wxDialog_p.");
3456 wxPy_BEGIN_ALLOW_THREADS
;
3457 _result
= (bool )wxDialog_IsIconized(_arg0
);
3459 wxPy_END_ALLOW_THREADS
;
3460 } _resultobj
= Py_BuildValue("i",_result
);
3464 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
3465 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
) {
3466 PyObject
* _resultobj
;
3473 if(!PyArg_ParseTuple(args
,"si:wxDialog_SetModal",&_argc0
,&tempbool1
))
3476 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
3481 _arg1
= (bool ) tempbool1
;
3483 wxPy_BEGIN_ALLOW_THREADS
;
3484 wxDialog_SetModal(_arg0
,_arg1
);
3486 wxPy_END_ALLOW_THREADS
;
3487 } Py_INCREF(Py_None
);
3488 _resultobj
= Py_None
;
3492 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
3493 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
) {
3494 PyObject
* _resultobj
;
3500 if(!PyArg_ParseTuple(args
,"s:wxDialog_IsModal",&_argc0
))
3503 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
3509 wxPy_BEGIN_ALLOW_THREADS
;
3510 _result
= (bool )wxDialog_IsModal(_arg0
);
3512 wxPy_END_ALLOW_THREADS
;
3513 } _resultobj
= Py_BuildValue("i",_result
);
3517 #define wxDialog_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
3518 static PyObject
*_wrap_wxDialog_SetTitle(PyObject
*self
, PyObject
*args
) {
3519 PyObject
* _resultobj
;
3523 PyObject
* _obj1
= 0;
3526 if(!PyArg_ParseTuple(args
,"sO:wxDialog_SetTitle",&_argc0
,&_obj1
))
3529 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetTitle. Expected _wxDialog_p.");
3535 if (!PyString_Check(_obj1
)) {
3536 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3539 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3542 wxPy_BEGIN_ALLOW_THREADS
;
3543 wxDialog_SetTitle(_arg0
,*_arg1
);
3545 wxPy_END_ALLOW_THREADS
;
3546 } Py_INCREF(Py_None
);
3547 _resultobj
= Py_None
;
3555 #define wxDialog_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3556 static PyObject
*_wrap_wxDialog_Show(PyObject
*self
, PyObject
*args
) {
3557 PyObject
* _resultobj
;
3565 if(!PyArg_ParseTuple(args
,"si:wxDialog_Show",&_argc0
,&tempbool1
))
3568 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Show. Expected _wxDialog_p.");
3573 _arg1
= (bool ) tempbool1
;
3575 wxPy_BEGIN_ALLOW_THREADS
;
3576 _result
= (bool )wxDialog_Show(_arg0
,_arg1
);
3578 wxPy_END_ALLOW_THREADS
;
3579 } _resultobj
= Py_BuildValue("i",_result
);
3583 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
3584 static PyObject
*_wrap_wxDialog_ShowModal(PyObject
*self
, PyObject
*args
) {
3585 PyObject
* _resultobj
;
3591 if(!PyArg_ParseTuple(args
,"s:wxDialog_ShowModal",&_argc0
))
3594 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
3600 wxPy_BEGIN_ALLOW_THREADS
;
3601 _result
= (int )wxDialog_ShowModal(_arg0
);
3603 wxPy_END_ALLOW_THREADS
;
3604 } _resultobj
= Py_BuildValue("i",_result
);
3608 #define wxDialog_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
3609 static PyObject
*_wrap_wxDialog_GetReturnCode(PyObject
*self
, PyObject
*args
) {
3610 PyObject
* _resultobj
;
3616 if(!PyArg_ParseTuple(args
,"s:wxDialog_GetReturnCode",&_argc0
))
3619 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetReturnCode. Expected _wxDialog_p.");
3625 wxPy_BEGIN_ALLOW_THREADS
;
3626 _result
= (int )wxDialog_GetReturnCode(_arg0
);
3628 wxPy_END_ALLOW_THREADS
;
3629 } _resultobj
= Py_BuildValue("i",_result
);
3633 #define wxDialog_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
3634 static PyObject
*_wrap_wxDialog_SetReturnCode(PyObject
*self
, PyObject
*args
) {
3635 PyObject
* _resultobj
;
3641 if(!PyArg_ParseTuple(args
,"si:wxDialog_SetReturnCode",&_argc0
,&_arg1
))
3644 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetReturnCode. Expected _wxDialog_p.");
3650 wxPy_BEGIN_ALLOW_THREADS
;
3651 wxDialog_SetReturnCode(_arg0
,_arg1
);
3653 wxPy_END_ALLOW_THREADS
;
3654 } Py_INCREF(Py_None
);
3655 _resultobj
= Py_None
;
3659 static void *SwigwxScrolledWindowTowxPanel(void *ptr
) {
3660 wxScrolledWindow
*src
;
3662 src
= (wxScrolledWindow
*) ptr
;
3663 dest
= (wxPanel
*) src
;
3664 return (void *) dest
;
3667 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
3668 wxScrolledWindow
*src
;
3670 src
= (wxScrolledWindow
*) ptr
;
3671 dest
= (wxWindow
*) src
;
3672 return (void *) dest
;
3675 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
3676 wxScrolledWindow
*src
;
3678 src
= (wxScrolledWindow
*) ptr
;
3679 dest
= (wxEvtHandler
*) src
;
3680 return (void *) dest
;
3683 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3684 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
) {
3685 PyObject
* _resultobj
;
3686 wxScrolledWindow
* _result
;
3688 wxWindowID _arg1
= -1;
3689 wxPoint
* _arg2
= &wxPyDefaultPosition
;
3690 wxSize
* _arg3
= &wxPyDefaultSize
;
3691 long _arg4
= (wxHSCROLL
)|(wxVSCROLL
);
3692 char * _arg5
= "scrolledWindow";
3699 if(!PyArg_ParseTuple(args
,"s|issls:new_wxScrolledWindow",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
3702 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
3703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
3708 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
3709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxScrolledWindow. Expected _wxPoint_p.");
3714 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
3715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxScrolledWindow. Expected _wxSize_p.");
3720 wxPy_BEGIN_ALLOW_THREADS
;
3721 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
3723 wxPy_END_ALLOW_THREADS
;
3724 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
3725 _resultobj
= Py_BuildValue("s",_ptemp
);
3729 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
3730 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
) {
3731 PyObject
* _resultobj
;
3732 wxScrolledWindow
* _arg0
;
3740 if(!PyArg_ParseTuple(args
,"sii:wxScrolledWindow_EnableScrolling",&_argc0
,&tempbool1
,&tempbool2
))
3743 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
3748 _arg1
= (bool ) tempbool1
;
3749 _arg2
= (bool ) tempbool2
;
3751 wxPy_BEGIN_ALLOW_THREADS
;
3752 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
3754 wxPy_END_ALLOW_THREADS
;
3755 } Py_INCREF(Py_None
);
3756 _resultobj
= Py_None
;
3760 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
3761 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
) {
3762 PyObject
* _resultobj
;
3763 wxScrolledWindow
* _arg0
;
3777 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_GetScrollPixelsPerUnit",&_argc0
))
3780 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
3786 wxPy_BEGIN_ALLOW_THREADS
;
3787 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
3789 wxPy_END_ALLOW_THREADS
;
3790 } Py_INCREF(Py_None
);
3791 _resultobj
= Py_None
;
3794 o
= PyInt_FromLong((long) (*_arg1
));
3795 _resultobj
= t_output_helper(_resultobj
, o
);
3799 o
= PyInt_FromLong((long) (*_arg2
));
3800 _resultobj
= t_output_helper(_resultobj
, o
);
3805 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
3806 static PyObject
*_wrap_wxScrolledWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
) {
3807 PyObject
* _resultobj
;
3808 wxScrolledWindow
* _arg0
;
3822 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_GetVirtualSize",&_argc0
))
3825 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
3831 wxPy_BEGIN_ALLOW_THREADS
;
3832 wxScrolledWindow_GetVirtualSize(_arg0
,_arg1
,_arg2
);
3834 wxPy_END_ALLOW_THREADS
;
3835 } Py_INCREF(Py_None
);
3836 _resultobj
= Py_None
;
3839 o
= PyInt_FromLong((long) (*_arg1
));
3840 _resultobj
= t_output_helper(_resultobj
, o
);
3844 o
= PyInt_FromLong((long) (*_arg2
));
3845 _resultobj
= t_output_helper(_resultobj
, o
);
3850 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
3851 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
) {
3852 PyObject
* _resultobj
;
3854 wxScrolledWindow
* _arg0
;
3858 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_IsRetained",&_argc0
))
3861 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
3867 wxPy_BEGIN_ALLOW_THREADS
;
3868 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
3870 wxPy_END_ALLOW_THREADS
;
3871 } _resultobj
= Py_BuildValue("i",_result
);
3875 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
3876 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
) {
3877 PyObject
* _resultobj
;
3878 wxScrolledWindow
* _arg0
;
3884 if(!PyArg_ParseTuple(args
,"ss:wxScrolledWindow_PrepareDC",&_argc0
,&_argc1
))
3887 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
3893 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxDC_p")) {
3894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
3899 wxPy_BEGIN_ALLOW_THREADS
;
3900 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
3902 wxPy_END_ALLOW_THREADS
;
3903 } Py_INCREF(Py_None
);
3904 _resultobj
= Py_None
;
3908 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
3909 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
) {
3910 PyObject
* _resultobj
;
3911 wxScrolledWindow
* _arg0
;
3917 if(!PyArg_ParseTuple(args
,"sii:wxScrolledWindow_Scroll",&_argc0
,&_arg1
,&_arg2
))
3920 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
3926 wxPy_BEGIN_ALLOW_THREADS
;
3927 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
3929 wxPy_END_ALLOW_THREADS
;
3930 } Py_INCREF(Py_None
);
3931 _resultobj
= Py_None
;
3935 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3936 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
) {
3937 PyObject
* _resultobj
;
3938 wxScrolledWindow
* _arg0
;
3948 if(!PyArg_ParseTuple(args
,"siiii|ii:wxScrolledWindow_SetScrollbars",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3951 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
3957 wxPy_BEGIN_ALLOW_THREADS
;
3958 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3960 wxPy_END_ALLOW_THREADS
;
3961 } Py_INCREF(Py_None
);
3962 _resultobj
= Py_None
;
3966 #define wxScrolledWindow_ViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->ViewStart(_swigarg0,_swigarg1))
3967 static PyObject
*_wrap_wxScrolledWindow_ViewStart(PyObject
*self
, PyObject
*args
) {
3968 PyObject
* _resultobj
;
3969 wxScrolledWindow
* _arg0
;
3983 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_ViewStart",&_argc0
))
3986 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_ViewStart. Expected _wxScrolledWindow_p.");
3992 wxPy_BEGIN_ALLOW_THREADS
;
3993 wxScrolledWindow_ViewStart(_arg0
,_arg1
,_arg2
);
3995 wxPy_END_ALLOW_THREADS
;
3996 } Py_INCREF(Py_None
);
3997 _resultobj
= Py_None
;
4000 o
= PyInt_FromLong((long) (*_arg1
));
4001 _resultobj
= t_output_helper(_resultobj
, o
);
4005 o
= PyInt_FromLong((long) (*_arg2
));
4006 _resultobj
= t_output_helper(_resultobj
, o
);
4011 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
4014 src
= (wxMenu
*) ptr
;
4015 dest
= (wxEvtHandler
*) src
;
4016 return (void *) dest
;
4019 #define new_wxMenu(_swigarg0) (new wxMenu(_swigarg0))
4020 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
) {
4021 PyObject
* _resultobj
;
4023 wxString
* _arg0
= &wxPyEmptyStr
;
4024 PyObject
* _obj0
= 0;
4028 if(!PyArg_ParseTuple(args
,"|O:new_wxMenu",&_obj0
))
4032 if (!PyString_Check(_obj0
)) {
4033 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4036 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
4039 wxPy_BEGIN_ALLOW_THREADS
;
4040 _result
= (wxMenu
*)new_wxMenu(*_arg0
);
4042 wxPy_END_ALLOW_THREADS
;
4043 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
4044 _resultobj
= Py_BuildValue("s",_ptemp
);
4052 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4053 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
) {
4054 PyObject
* _resultobj
;
4058 wxString
* _arg3
= &wxPyEmptyStr
;
4061 PyObject
* _obj2
= 0;
4062 PyObject
* _obj3
= 0;
4065 if(!PyArg_ParseTuple(args
,"siO|Oi:wxMenu_Append",&_argc0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
4068 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
4074 if (!PyString_Check(_obj2
)) {
4075 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4078 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4082 if (!PyString_Check(_obj3
)) {
4083 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4086 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
4089 wxPy_BEGIN_ALLOW_THREADS
;
4090 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
4092 wxPy_END_ALLOW_THREADS
;
4093 } Py_INCREF(Py_None
);
4094 _resultobj
= Py_None
;
4106 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4107 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
) {
4108 PyObject
* _resultobj
;
4113 wxString
* _arg4
= &wxPyEmptyStr
;
4115 PyObject
* _obj2
= 0;
4117 PyObject
* _obj4
= 0;
4120 if(!PyArg_ParseTuple(args
,"siOs|O:wxMenu_AppendMenu",&_argc0
,&_arg1
,&_obj2
,&_argc3
,&_obj4
))
4123 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
4129 if (!PyString_Check(_obj2
)) {
4130 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4133 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4136 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxMenu_p")) {
4137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
4143 if (!PyString_Check(_obj4
)) {
4144 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4147 _arg4
= new wxString(PyString_AsString(_obj4
), PyString_Size(_obj4
));
4150 wxPy_BEGIN_ALLOW_THREADS
;
4151 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
4153 wxPy_END_ALLOW_THREADS
;
4154 } Py_INCREF(Py_None
);
4155 _resultobj
= Py_None
;
4167 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
4168 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
) {
4169 PyObject
* _resultobj
;
4174 if(!PyArg_ParseTuple(args
,"s:wxMenu_AppendSeparator",&_argc0
))
4177 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
4183 wxPy_BEGIN_ALLOW_THREADS
;
4184 wxMenu_AppendSeparator(_arg0
);
4186 wxPy_END_ALLOW_THREADS
;
4187 } Py_INCREF(Py_None
);
4188 _resultobj
= Py_None
;
4192 #define wxMenu_Break(_swigobj) (_swigobj->Break())
4193 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
) {
4194 PyObject
* _resultobj
;
4199 if(!PyArg_ParseTuple(args
,"s:wxMenu_Break",&_argc0
))
4202 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
4208 wxPy_BEGIN_ALLOW_THREADS
;
4209 wxMenu_Break(_arg0
);
4211 wxPy_END_ALLOW_THREADS
;
4212 } Py_INCREF(Py_None
);
4213 _resultobj
= Py_None
;
4217 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
4218 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
) {
4219 PyObject
* _resultobj
;
4227 if(!PyArg_ParseTuple(args
,"sii:wxMenu_Check",&_argc0
,&_arg1
,&tempbool2
))
4230 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
4235 _arg2
= (bool ) tempbool2
;
4237 wxPy_BEGIN_ALLOW_THREADS
;
4238 wxMenu_Check(_arg0
,_arg1
,_arg2
);
4240 wxPy_END_ALLOW_THREADS
;
4241 } Py_INCREF(Py_None
);
4242 _resultobj
= Py_None
;
4246 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
4247 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
) {
4248 PyObject
* _resultobj
;
4256 if(!PyArg_ParseTuple(args
,"sii:wxMenu_Enable",&_argc0
,&_arg1
,&tempbool2
))
4259 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
4264 _arg2
= (bool ) tempbool2
;
4266 wxPy_BEGIN_ALLOW_THREADS
;
4267 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
4269 wxPy_END_ALLOW_THREADS
;
4270 } Py_INCREF(Py_None
);
4271 _resultobj
= Py_None
;
4275 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
4276 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
) {
4277 PyObject
* _resultobj
;
4282 PyObject
* _obj1
= 0;
4285 if(!PyArg_ParseTuple(args
,"sO:wxMenu_FindItem",&_argc0
,&_obj1
))
4288 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
4294 if (!PyString_Check(_obj1
)) {
4295 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4298 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4301 wxPy_BEGIN_ALLOW_THREADS
;
4302 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
4304 wxPy_END_ALLOW_THREADS
;
4305 } _resultobj
= Py_BuildValue("i",_result
);
4313 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
4314 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
) {
4315 PyObject
* _resultobj
;
4321 if(!PyArg_ParseTuple(args
,"s:wxMenu_GetTitle",&_argc0
))
4324 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
4330 wxPy_BEGIN_ALLOW_THREADS
;
4331 _result
= new wxString (wxMenu_GetTitle(_arg0
));
4333 wxPy_END_ALLOW_THREADS
;
4335 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
4343 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4344 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
) {
4345 PyObject
* _resultobj
;
4349 PyObject
* _obj1
= 0;
4352 if(!PyArg_ParseTuple(args
,"sO:wxMenu_SetTitle",&_argc0
,&_obj1
))
4355 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
4361 if (!PyString_Check(_obj1
)) {
4362 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4365 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4368 wxPy_BEGIN_ALLOW_THREADS
;
4369 wxMenu_SetTitle(_arg0
,*_arg1
);
4371 wxPy_END_ALLOW_THREADS
;
4372 } Py_INCREF(Py_None
);
4373 _resultobj
= Py_None
;
4381 #define wxMenu_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
4382 static PyObject
*_wrap_wxMenu_FindItemForId(PyObject
*self
, PyObject
*args
) {
4383 PyObject
* _resultobj
;
4384 wxMenuItem
* _result
;
4391 if(!PyArg_ParseTuple(args
,"si:wxMenu_FindItemForId",&_argc0
,&_arg1
))
4394 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemForId. Expected _wxMenu_p.");
4400 wxPy_BEGIN_ALLOW_THREADS
;
4401 _result
= (wxMenuItem
*)wxMenu_FindItemForId(_arg0
,_arg1
);
4403 wxPy_END_ALLOW_THREADS
;
4404 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
4405 _resultobj
= Py_BuildValue("s",_ptemp
);
4409 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
4410 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
) {
4411 PyObject
* _resultobj
;
4418 if(!PyArg_ParseTuple(args
,"si:wxMenu_GetHelpString",&_argc0
,&_arg1
))
4421 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
4427 wxPy_BEGIN_ALLOW_THREADS
;
4428 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
4430 wxPy_END_ALLOW_THREADS
;
4432 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
4440 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
4441 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
) {
4442 PyObject
* _resultobj
;
4449 if(!PyArg_ParseTuple(args
,"si:wxMenu_GetLabel",&_argc0
,&_arg1
))
4452 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
4458 wxPy_BEGIN_ALLOW_THREADS
;
4459 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
4461 wxPy_END_ALLOW_THREADS
;
4463 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
4471 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
4472 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
) {
4473 PyObject
* _resultobj
;
4478 PyObject
* _obj2
= 0;
4481 if(!PyArg_ParseTuple(args
,"siO:wxMenu_SetHelpString",&_argc0
,&_arg1
,&_obj2
))
4484 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
4490 if (!PyString_Check(_obj2
)) {
4491 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4494 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4497 wxPy_BEGIN_ALLOW_THREADS
;
4498 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
4500 wxPy_END_ALLOW_THREADS
;
4501 } Py_INCREF(Py_None
);
4502 _resultobj
= Py_None
;
4510 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
4511 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
) {
4512 PyObject
* _resultobj
;
4519 if(!PyArg_ParseTuple(args
,"si:wxMenu_IsChecked",&_argc0
,&_arg1
))
4522 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
4528 wxPy_BEGIN_ALLOW_THREADS
;
4529 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
4531 wxPy_END_ALLOW_THREADS
;
4532 } _resultobj
= Py_BuildValue("i",_result
);
4536 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
4537 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
) {
4538 PyObject
* _resultobj
;
4545 if(!PyArg_ParseTuple(args
,"si:wxMenu_IsEnabled",&_argc0
,&_arg1
))
4548 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
4554 wxPy_BEGIN_ALLOW_THREADS
;
4555 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
4557 wxPy_END_ALLOW_THREADS
;
4558 } _resultobj
= Py_BuildValue("i",_result
);
4562 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
4563 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
) {
4564 PyObject
* _resultobj
;
4569 PyObject
* _obj2
= 0;
4572 if(!PyArg_ParseTuple(args
,"siO:wxMenu_SetLabel",&_argc0
,&_arg1
,&_obj2
))
4575 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
4581 if (!PyString_Check(_obj2
)) {
4582 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4585 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4588 wxPy_BEGIN_ALLOW_THREADS
;
4589 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
4591 wxPy_END_ALLOW_THREADS
;
4592 } Py_INCREF(Py_None
);
4593 _resultobj
= Py_None
;
4601 static void *SwigwxPyMenuTowxMenu(void *ptr
) {
4604 src
= (wxPyMenu
*) ptr
;
4605 dest
= (wxMenu
*) src
;
4606 return (void *) dest
;
4609 static void *SwigwxPyMenuTowxEvtHandler(void *ptr
) {
4612 src
= (wxPyMenu
*) ptr
;
4613 dest
= (wxEvtHandler
*) src
;
4614 return (void *) dest
;
4617 #define new_wxPyMenu(_swigarg0,_swigarg1) (new wxPyMenu(_swigarg0,_swigarg1))
4618 static PyObject
*_wrap_new_wxPyMenu(PyObject
*self
, PyObject
*args
) {
4619 PyObject
* _resultobj
;
4621 wxString
* _arg0
= &wxPyEmptyStr
;
4622 PyObject
* _arg1
= NULL
;
4623 PyObject
* _obj0
= 0;
4624 PyObject
* _obj1
= 0;
4628 if(!PyArg_ParseTuple(args
,"|OO:new_wxPyMenu",&_obj0
,&_obj1
))
4632 if (!PyString_Check(_obj0
)) {
4633 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4636 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
4643 wxPy_BEGIN_ALLOW_THREADS
;
4644 _result
= (wxPyMenu
*)new_wxPyMenu(*_arg0
,_arg1
);
4646 wxPy_END_ALLOW_THREADS
;
4647 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyMenu_p");
4648 _resultobj
= Py_BuildValue("s",_ptemp
);
4656 #define delete_wxPyMenu(_swigobj) (delete _swigobj)
4657 static PyObject
*_wrap_delete_wxPyMenu(PyObject
*self
, PyObject
*args
) {
4658 PyObject
* _resultobj
;
4663 if(!PyArg_ParseTuple(args
,"s:delete_wxPyMenu",&_argc0
))
4666 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyMenu_p")) {
4667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyMenu. Expected _wxPyMenu_p.");
4672 wxPy_BEGIN_ALLOW_THREADS
;
4673 delete_wxPyMenu(_arg0
);
4675 wxPy_END_ALLOW_THREADS
;
4676 } Py_INCREF(Py_None
);
4677 _resultobj
= Py_None
;
4681 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
4684 src
= (wxMenuBar
*) ptr
;
4685 dest
= (wxEvtHandler
*) src
;
4686 return (void *) dest
;
4689 #define new_wxMenuBar() (new wxMenuBar())
4690 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
) {
4691 PyObject
* _resultobj
;
4692 wxMenuBar
* _result
;
4696 if(!PyArg_ParseTuple(args
,":new_wxMenuBar"))
4699 wxPy_BEGIN_ALLOW_THREADS
;
4700 _result
= (wxMenuBar
*)new_wxMenuBar();
4702 wxPy_END_ALLOW_THREADS
;
4703 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
4704 _resultobj
= Py_BuildValue("s",_ptemp
);
4708 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
4709 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
) {
4710 PyObject
* _resultobj
;
4716 PyObject
* _obj2
= 0;
4719 if(!PyArg_ParseTuple(args
,"ssO:wxMenuBar_Append",&_argc0
,&_argc1
,&_obj2
))
4722 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
4728 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxMenu_p")) {
4729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
4734 if (!PyString_Check(_obj2
)) {
4735 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4738 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4741 wxPy_BEGIN_ALLOW_THREADS
;
4742 wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
4744 wxPy_END_ALLOW_THREADS
;
4745 } Py_INCREF(Py_None
);
4746 _resultobj
= Py_None
;
4754 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
4755 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
) {
4756 PyObject
* _resultobj
;
4764 if(!PyArg_ParseTuple(args
,"sii:wxMenuBar_Check",&_argc0
,&_arg1
,&tempbool2
))
4767 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
4772 _arg2
= (bool ) tempbool2
;
4774 wxPy_BEGIN_ALLOW_THREADS
;
4775 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
4777 wxPy_END_ALLOW_THREADS
;
4778 } Py_INCREF(Py_None
);
4779 _resultobj
= Py_None
;
4783 #define wxMenuBar_Checked(_swigobj,_swigarg0) (_swigobj->Checked(_swigarg0))
4784 static PyObject
*_wrap_wxMenuBar_Checked(PyObject
*self
, PyObject
*args
) {
4785 PyObject
* _resultobj
;
4792 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_Checked",&_argc0
,&_arg1
))
4795 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Checked. Expected _wxMenuBar_p.");
4801 wxPy_BEGIN_ALLOW_THREADS
;
4802 _result
= (bool )wxMenuBar_Checked(_arg0
,_arg1
);
4804 wxPy_END_ALLOW_THREADS
;
4805 } _resultobj
= Py_BuildValue("i",_result
);
4809 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
4810 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
) {
4811 PyObject
* _resultobj
;
4819 if(!PyArg_ParseTuple(args
,"sii:wxMenuBar_Enable",&_argc0
,&_arg1
,&tempbool2
))
4822 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
4827 _arg2
= (bool ) tempbool2
;
4829 wxPy_BEGIN_ALLOW_THREADS
;
4830 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
4832 wxPy_END_ALLOW_THREADS
;
4833 } Py_INCREF(Py_None
);
4834 _resultobj
= Py_None
;
4838 #define wxMenuBar_Enabled(_swigobj,_swigarg0) (_swigobj->Enabled(_swigarg0))
4839 static PyObject
*_wrap_wxMenuBar_Enabled(PyObject
*self
, PyObject
*args
) {
4840 PyObject
* _resultobj
;
4847 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_Enabled",&_argc0
,&_arg1
))
4850 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enabled. Expected _wxMenuBar_p.");
4856 wxPy_BEGIN_ALLOW_THREADS
;
4857 _result
= (bool )wxMenuBar_Enabled(_arg0
,_arg1
);
4859 wxPy_END_ALLOW_THREADS
;
4860 } _resultobj
= Py_BuildValue("i",_result
);
4864 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
4865 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
) {
4866 PyObject
* _resultobj
;
4872 PyObject
* _obj1
= 0;
4873 PyObject
* _obj2
= 0;
4876 if(!PyArg_ParseTuple(args
,"sOO:wxMenuBar_FindMenuItem",&_argc0
,&_obj1
,&_obj2
))
4879 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
4885 if (!PyString_Check(_obj1
)) {
4886 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4889 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4892 if (!PyString_Check(_obj2
)) {
4893 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4896 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4899 wxPy_BEGIN_ALLOW_THREADS
;
4900 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
4902 wxPy_END_ALLOW_THREADS
;
4903 } _resultobj
= Py_BuildValue("i",_result
);
4915 #define wxMenuBar_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
4916 static PyObject
*_wrap_wxMenuBar_FindItemForId(PyObject
*self
, PyObject
*args
) {
4917 PyObject
* _resultobj
;
4918 wxMenuItem
* _result
;
4925 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_FindItemForId",&_argc0
,&_arg1
))
4928 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemForId. Expected _wxMenuBar_p.");
4934 wxPy_BEGIN_ALLOW_THREADS
;
4935 _result
= (wxMenuItem
*)wxMenuBar_FindItemForId(_arg0
,_arg1
);
4937 wxPy_END_ALLOW_THREADS
;
4938 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
4939 _resultobj
= Py_BuildValue("s",_ptemp
);
4943 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
4944 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
) {
4945 PyObject
* _resultobj
;
4951 if(!PyArg_ParseTuple(args
,"s:wxMenuBar_GetMenuCount",&_argc0
))
4954 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
4960 wxPy_BEGIN_ALLOW_THREADS
;
4961 _result
= (int )wxMenuBar_GetMenuCount(_arg0
);
4963 wxPy_END_ALLOW_THREADS
;
4964 } _resultobj
= Py_BuildValue("i",_result
);
4968 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
4969 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
) {
4970 PyObject
* _resultobj
;
4978 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_GetMenu",&_argc0
,&_arg1
))
4981 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
4987 wxPy_BEGIN_ALLOW_THREADS
;
4988 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
4990 wxPy_END_ALLOW_THREADS
;
4991 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
4992 _resultobj
= Py_BuildValue("s",_ptemp
);
4996 #define new_wxMenuItem() (new wxMenuItem())
4997 static PyObject
*_wrap_new_wxMenuItem(PyObject
*self
, PyObject
*args
) {
4998 PyObject
* _resultobj
;
4999 wxMenuItem
* _result
;
5003 if(!PyArg_ParseTuple(args
,":new_wxMenuItem"))
5006 wxPy_BEGIN_ALLOW_THREADS
;
5007 _result
= (wxMenuItem
*)new_wxMenuItem();
5009 wxPy_END_ALLOW_THREADS
;
5010 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
5011 _resultobj
= Py_BuildValue("s",_ptemp
);
5015 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
5016 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
) {
5017 PyObject
* _resultobj
;
5023 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsSeparator",&_argc0
))
5026 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
5032 wxPy_BEGIN_ALLOW_THREADS
;
5033 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
5035 wxPy_END_ALLOW_THREADS
;
5036 } _resultobj
= Py_BuildValue("i",_result
);
5040 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
5041 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
) {
5042 PyObject
* _resultobj
;
5048 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsEnabled",&_argc0
))
5051 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
5057 wxPy_BEGIN_ALLOW_THREADS
;
5058 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
5060 wxPy_END_ALLOW_THREADS
;
5061 } _resultobj
= Py_BuildValue("i",_result
);
5065 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
5066 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
) {
5067 PyObject
* _resultobj
;
5073 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsChecked",&_argc0
))
5076 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
5082 wxPy_BEGIN_ALLOW_THREADS
;
5083 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
5085 wxPy_END_ALLOW_THREADS
;
5086 } _resultobj
= Py_BuildValue("i",_result
);
5090 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
5091 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
) {
5092 PyObject
* _resultobj
;
5098 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsCheckable",&_argc0
))
5101 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
5107 wxPy_BEGIN_ALLOW_THREADS
;
5108 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
5110 wxPy_END_ALLOW_THREADS
;
5111 } _resultobj
= Py_BuildValue("i",_result
);
5115 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
5116 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
) {
5117 PyObject
* _resultobj
;
5123 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetId",&_argc0
))
5126 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
5132 wxPy_BEGIN_ALLOW_THREADS
;
5133 _result
= (int )wxMenuItem_GetId(_arg0
);
5135 wxPy_END_ALLOW_THREADS
;
5136 } _resultobj
= Py_BuildValue("i",_result
);
5140 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
5141 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
) {
5142 PyObject
* _resultobj
;
5149 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetSubMenu",&_argc0
))
5152 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
5158 wxPy_BEGIN_ALLOW_THREADS
;
5159 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
5161 wxPy_END_ALLOW_THREADS
;
5162 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
5163 _resultobj
= Py_BuildValue("s",_ptemp
);
5167 #define wxMenuItem_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
5168 static PyObject
*_wrap_wxMenuItem_SetName(PyObject
*self
, PyObject
*args
) {
5169 PyObject
* _resultobj
;
5173 PyObject
* _obj1
= 0;
5176 if(!PyArg_ParseTuple(args
,"sO:wxMenuItem_SetName",&_argc0
,&_obj1
))
5179 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetName. Expected _wxMenuItem_p.");
5185 if (!PyString_Check(_obj1
)) {
5186 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5189 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5192 wxPy_BEGIN_ALLOW_THREADS
;
5193 wxMenuItem_SetName(_arg0
,*_arg1
);
5195 wxPy_END_ALLOW_THREADS
;
5196 } Py_INCREF(Py_None
);
5197 _resultobj
= Py_None
;
5205 #define wxMenuItem_GetName(_swigobj) (_swigobj->GetName())
5206 static PyObject
*_wrap_wxMenuItem_GetName(PyObject
*self
, PyObject
*args
) {
5207 PyObject
* _resultobj
;
5213 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetName",&_argc0
))
5216 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetName. Expected _wxMenuItem_p.");
5222 wxPy_BEGIN_ALLOW_THREADS
;
5223 _result
= new wxString (wxMenuItem_GetName(_arg0
));
5225 wxPy_END_ALLOW_THREADS
;
5227 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5235 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
5236 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
) {
5237 PyObject
* _resultobj
;
5243 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetHelp",&_argc0
))
5246 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
5252 wxPy_BEGIN_ALLOW_THREADS
;
5253 _result
= new wxString (wxMenuItem_GetHelp(_arg0
));
5255 wxPy_END_ALLOW_THREADS
;
5257 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5265 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
5266 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
) {
5267 PyObject
* _resultobj
;
5271 PyObject
* _obj1
= 0;
5274 if(!PyArg_ParseTuple(args
,"sO:wxMenuItem_SetHelp",&_argc0
,&_obj1
))
5277 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
5283 if (!PyString_Check(_obj1
)) {
5284 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5287 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5290 wxPy_BEGIN_ALLOW_THREADS
;
5291 wxMenuItem_SetHelp(_arg0
,*_arg1
);
5293 wxPy_END_ALLOW_THREADS
;
5294 } Py_INCREF(Py_None
);
5295 _resultobj
= Py_None
;
5303 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
5304 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
) {
5305 PyObject
* _resultobj
;
5312 if(!PyArg_ParseTuple(args
,"s|i:wxMenuItem_Enable",&_argc0
,&tempbool1
))
5315 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
5320 _arg1
= (bool ) tempbool1
;
5322 wxPy_BEGIN_ALLOW_THREADS
;
5323 wxMenuItem_Enable(_arg0
,_arg1
);
5325 wxPy_END_ALLOW_THREADS
;
5326 } Py_INCREF(Py_None
);
5327 _resultobj
= Py_None
;
5331 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
5332 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
) {
5333 PyObject
* _resultobj
;
5340 if(!PyArg_ParseTuple(args
,"s|i:wxMenuItem_Check",&_argc0
,&tempbool1
))
5343 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
5348 _arg1
= (bool ) tempbool1
;
5350 wxPy_BEGIN_ALLOW_THREADS
;
5351 wxMenuItem_Check(_arg0
,_arg1
);
5353 wxPy_END_ALLOW_THREADS
;
5354 } Py_INCREF(Py_None
);
5355 _resultobj
= Py_None
;
5359 static PyMethodDef windowscMethods
[] = {
5360 { "wxMenuItem_Check", _wrap_wxMenuItem_Check
, 1 },
5361 { "wxMenuItem_Enable", _wrap_wxMenuItem_Enable
, 1 },
5362 { "wxMenuItem_SetHelp", _wrap_wxMenuItem_SetHelp
, 1 },
5363 { "wxMenuItem_GetHelp", _wrap_wxMenuItem_GetHelp
, 1 },
5364 { "wxMenuItem_GetName", _wrap_wxMenuItem_GetName
, 1 },
5365 { "wxMenuItem_SetName", _wrap_wxMenuItem_SetName
, 1 },
5366 { "wxMenuItem_GetSubMenu", _wrap_wxMenuItem_GetSubMenu
, 1 },
5367 { "wxMenuItem_GetId", _wrap_wxMenuItem_GetId
, 1 },
5368 { "wxMenuItem_IsCheckable", _wrap_wxMenuItem_IsCheckable
, 1 },
5369 { "wxMenuItem_IsChecked", _wrap_wxMenuItem_IsChecked
, 1 },
5370 { "wxMenuItem_IsEnabled", _wrap_wxMenuItem_IsEnabled
, 1 },
5371 { "wxMenuItem_IsSeparator", _wrap_wxMenuItem_IsSeparator
, 1 },
5372 { "new_wxMenuItem", _wrap_new_wxMenuItem
, 1 },
5373 { "wxMenuBar_GetMenu", _wrap_wxMenuBar_GetMenu
, 1 },
5374 { "wxMenuBar_GetMenuCount", _wrap_wxMenuBar_GetMenuCount
, 1 },
5375 { "wxMenuBar_FindItemForId", _wrap_wxMenuBar_FindItemForId
, 1 },
5376 { "wxMenuBar_FindMenuItem", _wrap_wxMenuBar_FindMenuItem
, 1 },
5377 { "wxMenuBar_Enabled", _wrap_wxMenuBar_Enabled
, 1 },
5378 { "wxMenuBar_Enable", _wrap_wxMenuBar_Enable
, 1 },
5379 { "wxMenuBar_Checked", _wrap_wxMenuBar_Checked
, 1 },
5380 { "wxMenuBar_Check", _wrap_wxMenuBar_Check
, 1 },
5381 { "wxMenuBar_Append", _wrap_wxMenuBar_Append
, 1 },
5382 { "new_wxMenuBar", _wrap_new_wxMenuBar
, 1 },
5383 { "delete_wxPyMenu", _wrap_delete_wxPyMenu
, 1 },
5384 { "new_wxPyMenu", _wrap_new_wxPyMenu
, 1 },
5385 { "wxMenu_SetLabel", _wrap_wxMenu_SetLabel
, 1 },
5386 { "wxMenu_IsEnabled", _wrap_wxMenu_IsEnabled
, 1 },
5387 { "wxMenu_IsChecked", _wrap_wxMenu_IsChecked
, 1 },
5388 { "wxMenu_SetHelpString", _wrap_wxMenu_SetHelpString
, 1 },
5389 { "wxMenu_GetLabel", _wrap_wxMenu_GetLabel
, 1 },
5390 { "wxMenu_GetHelpString", _wrap_wxMenu_GetHelpString
, 1 },
5391 { "wxMenu_FindItemForId", _wrap_wxMenu_FindItemForId
, 1 },
5392 { "wxMenu_SetTitle", _wrap_wxMenu_SetTitle
, 1 },
5393 { "wxMenu_GetTitle", _wrap_wxMenu_GetTitle
, 1 },
5394 { "wxMenu_FindItem", _wrap_wxMenu_FindItem
, 1 },
5395 { "wxMenu_Enable", _wrap_wxMenu_Enable
, 1 },
5396 { "wxMenu_Check", _wrap_wxMenu_Check
, 1 },
5397 { "wxMenu_Break", _wrap_wxMenu_Break
, 1 },
5398 { "wxMenu_AppendSeparator", _wrap_wxMenu_AppendSeparator
, 1 },
5399 { "wxMenu_AppendMenu", _wrap_wxMenu_AppendMenu
, 1 },
5400 { "wxMenu_Append", _wrap_wxMenu_Append
, 1 },
5401 { "new_wxMenu", _wrap_new_wxMenu
, 1 },
5402 { "wxScrolledWindow_ViewStart", _wrap_wxScrolledWindow_ViewStart
, 1 },
5403 { "wxScrolledWindow_SetScrollbars", _wrap_wxScrolledWindow_SetScrollbars
, 1 },
5404 { "wxScrolledWindow_Scroll", _wrap_wxScrolledWindow_Scroll
, 1 },
5405 { "wxScrolledWindow_PrepareDC", _wrap_wxScrolledWindow_PrepareDC
, 1 },
5406 { "wxScrolledWindow_IsRetained", _wrap_wxScrolledWindow_IsRetained
, 1 },
5407 { "wxScrolledWindow_GetVirtualSize", _wrap_wxScrolledWindow_GetVirtualSize
, 1 },
5408 { "wxScrolledWindow_GetScrollPixelsPerUnit", _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, 1 },
5409 { "wxScrolledWindow_EnableScrolling", _wrap_wxScrolledWindow_EnableScrolling
, 1 },
5410 { "new_wxScrolledWindow", _wrap_new_wxScrolledWindow
, 1 },
5411 { "wxDialog_SetReturnCode", _wrap_wxDialog_SetReturnCode
, 1 },
5412 { "wxDialog_GetReturnCode", _wrap_wxDialog_GetReturnCode
, 1 },
5413 { "wxDialog_ShowModal", _wrap_wxDialog_ShowModal
, 1 },
5414 { "wxDialog_Show", _wrap_wxDialog_Show
, 1 },
5415 { "wxDialog_SetTitle", _wrap_wxDialog_SetTitle
, 1 },
5416 { "wxDialog_IsModal", _wrap_wxDialog_IsModal
, 1 },
5417 { "wxDialog_SetModal", _wrap_wxDialog_SetModal
, 1 },
5418 { "wxDialog_IsIconized", _wrap_wxDialog_IsIconized
, 1 },
5419 { "wxDialog_Iconize", _wrap_wxDialog_Iconize
, 1 },
5420 { "wxDialog_GetTitle", _wrap_wxDialog_GetTitle
, 1 },
5421 { "wxDialog_EndModal", _wrap_wxDialog_EndModal
, 1 },
5422 { "wxDialog_Centre", _wrap_wxDialog_Centre
, 1 },
5423 { "new_wxDialog", _wrap_new_wxDialog
, 1 },
5424 { "wxPanel_SetDefaultItem", _wrap_wxPanel_SetDefaultItem
, 1 },
5425 { "wxPanel_GetDefaultItem", _wrap_wxPanel_GetDefaultItem
, 1 },
5426 { "wxPanel_InitDialog", _wrap_wxPanel_InitDialog
, 1 },
5427 { "new_wxPanel", _wrap_new_wxPanel
, 1 },
5428 { "wxWindow_GetToolTip", _wrap_wxWindow_GetToolTip
, 1 },
5429 { "wxWindow_SetToolTip", _wrap_wxWindow_SetToolTip
, 1 },
5430 { "wxWindow_SetToolTipString", _wrap_wxWindow_SetToolTipString
, 1 },
5431 { "wxWindow_ConvertPixelSizeToDialog", _wrap_wxWindow_ConvertPixelSizeToDialog
, 1 },
5432 { "wxWindow_ConvertPixelPointToDialog", _wrap_wxWindow_ConvertPixelPointToDialog
, 1 },
5433 { "wxWindow_DLG_SZE", _wrap_wxWindow_ConvertDialogSizeToPixels
, 1 },
5434 { "wxWindow_DLG_PNT", _wrap_wxWindow_ConvertDialogPointToPixels
, 1 },
5435 { "wxWindow_ConvertDialogSizeToPixels", _wrap_wxWindow_ConvertDialogSizeToPixels
, 1 },
5436 { "wxWindow_ConvertDialogPointToPixels", _wrap_wxWindow_ConvertDialogPointToPixels
, 1 },
5437 { "wxWindow_WarpPointer", _wrap_wxWindow_WarpPointer
, 1 },
5438 { "wxWindow_Validate", _wrap_wxWindow_Validate
, 1 },
5439 { "wxWindow_TransferDataToWindow", _wrap_wxWindow_TransferDataToWindow
, 1 },
5440 { "wxWindow_TransferDataFromWindow", _wrap_wxWindow_TransferDataFromWindow
, 1 },
5441 { "wxWindow_Show", _wrap_wxWindow_Show
, 1 },
5442 { "wxWindow_SetTitle", _wrap_wxWindow_SetTitle
, 1 },
5443 { "wxWindow_SetCursor", _wrap_wxWindow_SetCursor
, 1 },
5444 { "wxWindow_SetClientSize", _wrap_wxWindow_SetClientSize
, 1 },
5445 { "wxWindow_SetClientSizeWH", _wrap_wxWindow_SetClientSizeWH
, 1 },
5446 { "wxWindow_SetSizeHints", _wrap_wxWindow_SetSizeHints
, 1 },
5447 { "wxWindow_SetPosition", _wrap_wxWindow_SetPosition
, 1 },
5448 { "wxWindow_SetSize", _wrap_wxWindow_SetSize
, 1 },
5449 { "wxWindow_SetDimensions", _wrap_wxWindow_SetDimensions
, 1 },
5450 { "wxWindow_SetScrollPos", _wrap_wxWindow_SetScrollPos
, 1 },
5451 { "wxWindow_SetScrollbar", _wrap_wxWindow_SetScrollbar
, 1 },
5452 { "wxWindow_SetName", _wrap_wxWindow_SetName
, 1 },
5453 { "wxWindow_SetId", _wrap_wxWindow_SetId
, 1 },
5454 { "wxWindow_SetForegroundColour", _wrap_wxWindow_SetForegroundColour
, 1 },
5455 { "wxWindow_SetFont", _wrap_wxWindow_SetFont
, 1 },
5456 { "wxWindow_SetFocus", _wrap_wxWindow_SetFocus
, 1 },
5457 { "wxWindow_SetConstraints", _wrap_wxWindow_SetConstraints
, 1 },
5458 { "wxWindow_SetBackgroundColour", _wrap_wxWindow_SetBackgroundColour
, 1 },
5459 { "wxWindow_SetAutoLayout", _wrap_wxWindow_SetAutoLayout
, 1 },
5460 { "wxWindow_SetAcceleratorTable", _wrap_wxWindow_SetAcceleratorTable
, 1 },
5461 { "wxWindow_ScrollWindow", _wrap_wxWindow_ScrollWindow
, 1 },
5462 { "wxWindow_ScreenToClient", _wrap_wxWindow_ScreenToClient
, 1 },
5463 { "wxWindow_ScreenToClientXY", _wrap_wxWindow_ScreenToClientXY
, 1 },
5464 { "wxWindow_Reparent", _wrap_wxWindow_Reparent
, 1 },
5465 { "wxWindow_ReleaseMouse", _wrap_wxWindow_ReleaseMouse
, 1 },
5466 { "wxWindow_Refresh", _wrap_wxWindow_Refresh
, 1 },
5467 { "wxWindow_Raise", _wrap_wxWindow_Raise
, 1 },
5468 { "wxWindow_PopupMenu", _wrap_wxWindow_PopupMenu
, 1 },
5469 { "wxWindow_Move", _wrap_wxWindow_Move
, 1 },
5470 { "wxWindow_MoveXY", _wrap_wxWindow_MoveXY
, 1 },
5471 { "wxWindow_MakeModal", _wrap_wxWindow_MakeModal
, 1 },
5472 { "wxWindow_Lower", _wrap_wxWindow_Lower
, 1 },
5473 { "wxWindow_LoadFromResource", _wrap_wxWindow_LoadFromResource
, 1 },
5474 { "wxWindow_Layout", _wrap_wxWindow_Layout
, 1 },
5475 { "wxWindow_IsTopLevel", _wrap_wxWindow_IsTopLevel
, 1 },
5476 { "wxWindow_IsShown", _wrap_wxWindow_IsShown
, 1 },
5477 { "wxWindow_IsRetained", _wrap_wxWindow_IsRetained
, 1 },
5478 { "wxWindow_IsEnabled", _wrap_wxWindow_IsEnabled
, 1 },
5479 { "wxWindow_InitDialog", _wrap_wxWindow_InitDialog
, 1 },
5480 { "wxWindow_Hide", _wrap_wxWindow_Hide
, 1 },
5481 { "wxWindow_GetWindowStyleFlag", _wrap_wxWindow_GetWindowStyleFlag
, 1 },
5482 { "wxWindow_GetTitle", _wrap_wxWindow_GetTitle
, 1 },
5483 { "wxWindow_GetFullTextExtent", _wrap_wxWindow_GetFullTextExtent
, 1 },
5484 { "wxWindow_GetTextExtent", _wrap_wxWindow_GetTextExtent
, 1 },
5485 { "wxWindow_GetSize", _wrap_wxWindow_GetSize
, 1 },
5486 { "wxWindow_GetSizeTuple", _wrap_wxWindow_GetSizeTuple
, 1 },
5487 { "wxWindow_GetScrollRange", _wrap_wxWindow_GetScrollRange
, 1 },
5488 { "wxWindow_GetScrollPos", _wrap_wxWindow_GetScrollPos
, 1 },
5489 { "wxWindow_GetScrollThumb", _wrap_wxWindow_GetScrollThumb
, 1 },
5490 { "wxWindow_GetRect", _wrap_wxWindow_GetRect
, 1 },
5491 { "wxWindow_GetPosition", _wrap_wxWindow_GetPosition
, 1 },
5492 { "wxWindow_GetPositionTuple", _wrap_wxWindow_GetPositionTuple
, 1 },
5493 { "wxWindow_GetParent", _wrap_wxWindow_GetParent
, 1 },
5494 { "wxWindow_GetName", _wrap_wxWindow_GetName
, 1 },
5495 { "wxWindow_SetLabel", _wrap_wxWindow_SetLabel
, 1 },
5496 { "wxWindow_GetLabel", _wrap_wxWindow_GetLabel
, 1 },
5497 { "wxWindow_GetId", _wrap_wxWindow_GetId
, 1 },
5498 { "wxWindow_GetGrandParent", _wrap_wxWindow_GetGrandParent
, 1 },
5499 { "wxWindow_GetForegroundColour", _wrap_wxWindow_GetForegroundColour
, 1 },
5500 { "wxWindow_GetFont", _wrap_wxWindow_GetFont
, 1 },
5501 { "wxWindow_GetConstraints", _wrap_wxWindow_GetConstraints
, 1 },
5502 { "wxWindow_GetClientSize", _wrap_wxWindow_GetClientSize
, 1 },
5503 { "wxWindow_GetClientSizeTuple", _wrap_wxWindow_GetClientSizeTuple
, 1 },
5504 { "wxWindow_GetCharWidth", _wrap_wxWindow_GetCharWidth
, 1 },
5505 { "wxWindow_GetCharHeight", _wrap_wxWindow_GetCharHeight
, 1 },
5506 { "wxWindow_GetBackgroundColour", _wrap_wxWindow_GetBackgroundColour
, 1 },
5507 { "wxWindow_Fit", _wrap_wxWindow_Fit
, 1 },
5508 { "wxWindow_FindWindowByName", _wrap_wxWindow_FindWindowByName
, 1 },
5509 { "wxWindow_FindWindowById", _wrap_wxWindow_FindWindowById
, 1 },
5510 { "wxWindow_Enable", _wrap_wxWindow_Enable
, 1 },
5511 { "wxWindow_DestroyChildren", _wrap_wxWindow_DestroyChildren
, 1 },
5512 { "wxWindow_Destroy", _wrap_wxWindow_Destroy
, 1 },
5513 { "wxWindow_Close", _wrap_wxWindow_Close
, 1 },
5514 { "wxWindow_ClientToScreen", _wrap_wxWindow_ClientToScreen
, 1 },
5515 { "wxWindow_ClientToScreenXY", _wrap_wxWindow_ClientToScreenXY
, 1 },
5516 { "wxWindow_CenterOnParent", _wrap_wxWindow_CenterOnParent
, 1 },
5517 { "wxWindow_CentreOnParent", _wrap_wxWindow_CentreOnParent
, 1 },
5518 { "wxWindow_Centre", _wrap_wxWindow_Centre
, 1 },
5519 { "wxWindow_Center", _wrap_wxWindow_Center
, 1 },
5520 { "wxWindow_CaptureMouse", _wrap_wxWindow_CaptureMouse
, 1 },
5521 { "new_wxWindow", _wrap_new_wxWindow
, 1 },
5522 { "wxEvtHandler_Connect", _wrap_wxEvtHandler_Connect
, 1 },
5523 { "wxEvtHandler_ProcessEvent", _wrap_wxEvtHandler_ProcessEvent
, 1 },
5526 static PyObject
*SWIG_globals
;
5530 SWIGEXPORT(void,initwindowsc
)() {
5532 SWIG_globals
= SWIG_newvarlink();
5533 m
= Py_InitModule("windowsc", windowscMethods
);
5534 d
= PyModule_GetDict(m
);
5536 * These are the pointer type-equivalency mappings.
5537 * (Used by the SWIG pointer type-checker).
5539 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
5540 SWIG_RegisterMapping("_signed_long","_long",0);
5541 SWIG_RegisterMapping("_wxPrintQuality","_int",0);
5542 SWIG_RegisterMapping("_wxPrintQuality","_signed_int",0);
5543 SWIG_RegisterMapping("_wxPrintQuality","_unsigned_int",0);
5544 SWIG_RegisterMapping("_wxPrintQuality","_wxWindowID",0);
5545 SWIG_RegisterMapping("_wxPrintQuality","_uint",0);
5546 SWIG_RegisterMapping("_wxPrintQuality","_EBool",0);
5547 SWIG_RegisterMapping("_wxPrintQuality","_size_t",0);
5548 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
5549 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
5550 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
5551 SWIG_RegisterMapping("_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
5552 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxPyMenu",SwigwxPyMenuTowxEvtHandler
);
5553 SWIG_RegisterMapping("_class_wxEvtHandler","_wxPyMenu",SwigwxPyMenuTowxEvtHandler
);
5554 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
);
5555 SWIG_RegisterMapping("_class_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
);
5556 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
5557 SWIG_RegisterMapping("_class_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
5558 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
);
5559 SWIG_RegisterMapping("_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
);
5560 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
);
5561 SWIG_RegisterMapping("_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
);
5562 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
);
5563 SWIG_RegisterMapping("_class_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
);
5564 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
5565 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
5566 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
5567 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
5568 SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
5569 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
5570 SWIG_RegisterMapping("_byte","_unsigned_char",0);
5571 SWIG_RegisterMapping("_long","_wxDash",0);
5572 SWIG_RegisterMapping("_long","_unsigned_long",0);
5573 SWIG_RegisterMapping("_long","_signed_long",0);
5574 SWIG_RegisterMapping("_wxImageList","_class_wxImageList",0);
5575 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
5576 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
5577 SWIG_RegisterMapping("_size_t","_wxPrintQuality",0);
5578 SWIG_RegisterMapping("_size_t","_unsigned_int",0);
5579 SWIG_RegisterMapping("_size_t","_int",0);
5580 SWIG_RegisterMapping("_size_t","_wxWindowID",0);
5581 SWIG_RegisterMapping("_size_t","_uint",0);
5582 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
5583 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
5584 SWIG_RegisterMapping("_class_wxPostScriptDC","_wxPostScriptDC",0);
5585 SWIG_RegisterMapping("_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
);
5586 SWIG_RegisterMapping("_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
);
5587 SWIG_RegisterMapping("_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
);
5588 SWIG_RegisterMapping("_wxPanel","_wxDialog",SwigwxDialogTowxPanel
);
5589 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
5590 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
5591 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
5592 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
5593 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
5594 SWIG_RegisterMapping("_uint","_wxPrintQuality",0);
5595 SWIG_RegisterMapping("_uint","_size_t",0);
5596 SWIG_RegisterMapping("_uint","_unsigned_int",0);
5597 SWIG_RegisterMapping("_uint","_int",0);
5598 SWIG_RegisterMapping("_uint","_wxWindowID",0);
5599 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
5600 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
5601 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
5602 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
5603 SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
5604 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
5605 SWIG_RegisterMapping("_EBool","_wxPrintQuality",0);
5606 SWIG_RegisterMapping("_EBool","_signed_int",0);
5607 SWIG_RegisterMapping("_EBool","_int",0);
5608 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
5609 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
5610 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
5611 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
5612 SWIG_RegisterMapping("_unsigned_long","_long",0);
5613 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
5614 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
5615 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
5616 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
5617 SWIG_RegisterMapping("_class_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
);
5618 SWIG_RegisterMapping("_class_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
);
5619 SWIG_RegisterMapping("_class_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
);
5620 SWIG_RegisterMapping("_class_wxPanel","_wxDialog",SwigwxDialogTowxPanel
);
5621 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
5622 SWIG_RegisterMapping("_signed_int","_wxPrintQuality",0);
5623 SWIG_RegisterMapping("_signed_int","_EBool",0);
5624 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
5625 SWIG_RegisterMapping("_signed_int","_int",0);
5626 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
5627 SWIG_RegisterMapping("_wxMenu","_class_wxPyMenu",SwigwxPyMenuTowxMenu
);
5628 SWIG_RegisterMapping("_wxMenu","_wxPyMenu",SwigwxPyMenuTowxMenu
);
5629 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
5630 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
5631 SWIG_RegisterMapping("_WXTYPE","_short",0);
5632 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
5633 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
5634 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
5635 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
5636 SWIG_RegisterMapping("_unsigned_short","_short",0);
5637 SWIG_RegisterMapping("_class_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
5638 SWIG_RegisterMapping("_class_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
5639 SWIG_RegisterMapping("_class_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
);
5640 SWIG_RegisterMapping("_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow
);
5641 SWIG_RegisterMapping("_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
);
5642 SWIG_RegisterMapping("_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow
);
5643 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
5644 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
5645 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
5646 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
5647 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
5648 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
5649 SWIG_RegisterMapping("_signed_short","_short",0);
5650 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
5651 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
5652 SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0);
5653 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
5654 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
5655 SWIG_RegisterMapping("_wxPostScriptDC","_class_wxPostScriptDC",0);
5656 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
5657 SWIG_RegisterMapping("_unsigned_char","_byte",0);
5658 SWIG_RegisterMapping("_class_wxMenu","_class_wxPyMenu",SwigwxPyMenuTowxMenu
);
5659 SWIG_RegisterMapping("_class_wxMenu","_wxPyMenu",SwigwxPyMenuTowxMenu
);
5660 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
5661 SWIG_RegisterMapping("_unsigned_int","_wxPrintQuality",0);
5662 SWIG_RegisterMapping("_unsigned_int","_size_t",0);
5663 SWIG_RegisterMapping("_unsigned_int","_uint",0);
5664 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
5665 SWIG_RegisterMapping("_unsigned_int","_int",0);
5666 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
5667 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
5668 SWIG_RegisterMapping("_class_wxPyMenu","_wxPyMenu",0);
5669 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
5670 SWIG_RegisterMapping("_short","_WXTYPE",0);
5671 SWIG_RegisterMapping("_short","_unsigned_short",0);
5672 SWIG_RegisterMapping("_short","_signed_short",0);
5673 SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0);
5674 SWIG_RegisterMapping("_wxWindowID","_wxPrintQuality",0);
5675 SWIG_RegisterMapping("_wxWindowID","_size_t",0);
5676 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
5677 SWIG_RegisterMapping("_wxWindowID","_uint",0);
5678 SWIG_RegisterMapping("_wxWindowID","_int",0);
5679 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
5680 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
5681 SWIG_RegisterMapping("_int","_wxPrintQuality",0);
5682 SWIG_RegisterMapping("_int","_size_t",0);
5683 SWIG_RegisterMapping("_int","_EBool",0);
5684 SWIG_RegisterMapping("_int","_uint",0);
5685 SWIG_RegisterMapping("_int","_wxWindowID",0);
5686 SWIG_RegisterMapping("_int","_unsigned_int",0);
5687 SWIG_RegisterMapping("_int","_signed_int",0);
5688 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
5689 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
5690 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
5691 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
5692 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
5693 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
5694 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
5695 SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
5696 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
5697 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
5698 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
5699 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
5700 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
5701 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
5702 SWIG_RegisterMapping("_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
5703 SWIG_RegisterMapping("_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
5704 SWIG_RegisterMapping("_wxEvtHandler","_class_wxPyMenu",SwigwxPyMenuTowxEvtHandler
);
5705 SWIG_RegisterMapping("_wxEvtHandler","_wxPyMenu",SwigwxPyMenuTowxEvtHandler
);
5706 SWIG_RegisterMapping("_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
);
5707 SWIG_RegisterMapping("_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
);
5708 SWIG_RegisterMapping("_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
5709 SWIG_RegisterMapping("_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
5710 SWIG_RegisterMapping("_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
);
5711 SWIG_RegisterMapping("_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
);
5712 SWIG_RegisterMapping("_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
);
5713 SWIG_RegisterMapping("_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
);
5714 SWIG_RegisterMapping("_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
);
5715 SWIG_RegisterMapping("_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
);
5716 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
5717 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
5718 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
5719 SWIG_RegisterMapping("_wxDash","_long",0);
5720 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
5721 SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);
5722 SWIG_RegisterMapping("_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
5723 SWIG_RegisterMapping("_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
5724 SWIG_RegisterMapping("_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
);
5725 SWIG_RegisterMapping("_wxWindow","_wxDialog",SwigwxDialogTowxWindow
);
5726 SWIG_RegisterMapping("_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
);
5727 SWIG_RegisterMapping("_wxWindow","_wxPanel",SwigwxPanelTowxWindow
);
5728 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);