2 * FILE : msw/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
) {
63 } else if (target
== Py_None
) {
67 if (!PyList_Check(target
)) {
69 target
= PyList_New(0);
70 PyList_Append(target
, o2
);
73 PyList_Append(target
,o
);
79 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
85 } else if (target
== Py_None
) {
89 if (!PyTuple_Check(target
)) {
91 target
= PyTuple_New(1);
92 PyTuple_SetItem(target
, 0, o2
);
95 PyTuple_SetItem(o3
, 0, o
);
98 target
= PySequence_Concat(o2
, o3
);
106 extern byte
* byte_LIST_helper(PyObject
* source
);
107 extern int* int_LIST_helper(PyObject
* source
);
108 extern long* long_LIST_helper(PyObject
* source
);
109 extern char** string_LIST_helper(PyObject
* source
);
110 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
111 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
112 extern wxString
* wxString_LIST_helper(PyObject
* source
);
113 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
116 static char* wxStringErrorMsg
= "string type is required for parameter";
118 wxWindow
* wxWindow_FindFocus() {
119 return wxWindow::FindFocus();
122 wxWindow
* wxWindow_FromHWND(unsigned long hWnd
) {
123 wxWindow
* win
= new wxWindow
;
125 win
->SubclassWin(hWnd
);
128 static PyObject
*_wrap_wxWindow_FindFocus(PyObject
*self
, PyObject
*args
) {
129 PyObject
* _resultobj
;
134 if(!PyArg_ParseTuple(args
,":wxWindow_FindFocus"))
137 wxPy_BEGIN_ALLOW_THREADS
;
138 _result
= (wxWindow
*)wxWindow_FindFocus();
140 wxPy_END_ALLOW_THREADS
;
141 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
142 _resultobj
= Py_BuildValue("s",_ptemp
);
146 static PyObject
*_wrap_wxWindow_FromHWND(PyObject
*self
, PyObject
*args
) {
147 PyObject
* _resultobj
;
153 if(!PyArg_ParseTuple(args
,"l:wxWindow_FromHWND",&_arg0
))
156 wxPy_BEGIN_ALLOW_THREADS
;
157 _result
= (wxWindow
*)wxWindow_FromHWND(_arg0
);
159 wxPy_END_ALLOW_THREADS
;
160 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
161 _resultobj
= Py_BuildValue("s",_ptemp
);
165 #define wxEvtHandler_ProcessEvent(_swigobj,_swigarg0) (_swigobj->ProcessEvent(_swigarg0))
166 static PyObject
*_wrap_wxEvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
) {
167 PyObject
* _resultobj
;
169 wxEvtHandler
* _arg0
;
175 if(!PyArg_ParseTuple(args
,"ss:wxEvtHandler_ProcessEvent",&_argc0
,&_argc1
))
178 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_ProcessEvent. Expected _wxEvtHandler_p.");
184 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxEvent_p")) {
185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_ProcessEvent. Expected _wxEvent_p.");
190 wxPy_BEGIN_ALLOW_THREADS
;
191 _result
= (bool )wxEvtHandler_ProcessEvent(_arg0
,*_arg1
);
193 wxPy_END_ALLOW_THREADS
;
194 } _resultobj
= Py_BuildValue("i",_result
);
198 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
* func
) {
199 if (PyCallable_Check(func
)) {
200 self
->Connect(id
, lastId
, eventType
,
201 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
202 new wxPyCallback(func
));
205 static PyObject
*_wrap_wxEvtHandler_Connect(PyObject
*self
, PyObject
*args
) {
206 PyObject
* _resultobj
;
207 wxEvtHandler
* _arg0
;
213 PyObject
* _obj4
= 0;
216 if(!PyArg_ParseTuple(args
,"siiiO:wxEvtHandler_Connect",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
219 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
228 wxPy_BEGIN_ALLOW_THREADS
;
229 wxEvtHandler_Connect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
231 wxPy_END_ALLOW_THREADS
;
232 } Py_INCREF(Py_None
);
233 _resultobj
= Py_None
;
237 static void *SwigwxWindowTowxEvtHandler(void *ptr
) {
240 src
= (wxWindow
*) ptr
;
241 dest
= (wxEvtHandler
*) src
;
242 return (void *) dest
;
245 #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
246 static PyObject
*_wrap_new_wxWindow(PyObject
*self
, PyObject
*args
) {
247 PyObject
* _resultobj
;
251 wxPoint
* _arg2
= &wxPyDefaultPosition
;
252 wxSize
* _arg3
= &wxPyDefaultSize
;
254 char * _arg5
= "panel";
261 if(!PyArg_ParseTuple(args
,"si|ssls:new_wxWindow",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
264 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
270 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxWindow. Expected _wxPoint_p.");
276 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxWindow. Expected _wxSize_p.");
282 wxPy_BEGIN_ALLOW_THREADS
;
283 _result
= (wxWindow
*)new_wxWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
285 wxPy_END_ALLOW_THREADS
;
286 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
287 _resultobj
= Py_BuildValue("s",_ptemp
);
291 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
292 static PyObject
*_wrap_wxWindow_CaptureMouse(PyObject
*self
, PyObject
*args
) {
293 PyObject
* _resultobj
;
298 if(!PyArg_ParseTuple(args
,"s:wxWindow_CaptureMouse",&_argc0
))
301 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
307 wxPy_BEGIN_ALLOW_THREADS
;
308 wxWindow_CaptureMouse(_arg0
);
310 wxPy_END_ALLOW_THREADS
;
311 } Py_INCREF(Py_None
);
312 _resultobj
= Py_None
;
316 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
317 static PyObject
*_wrap_wxWindow_Center(PyObject
*self
, PyObject
*args
) {
318 PyObject
* _resultobj
;
320 int _arg1
= (wxHORIZONTAL
);
324 if(!PyArg_ParseTuple(args
,"s|i:wxWindow_Center",&_argc0
,&_arg1
))
327 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
333 wxPy_BEGIN_ALLOW_THREADS
;
334 wxWindow_Center(_arg0
,_arg1
);
336 wxPy_END_ALLOW_THREADS
;
337 } Py_INCREF(Py_None
);
338 _resultobj
= Py_None
;
342 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
343 static PyObject
*_wrap_wxWindow_Centre(PyObject
*self
, PyObject
*args
) {
344 PyObject
* _resultobj
;
346 int _arg1
= (wxHORIZONTAL
);
350 if(!PyArg_ParseTuple(args
,"s|i:wxWindow_Centre",&_argc0
,&_arg1
))
353 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
359 wxPy_BEGIN_ALLOW_THREADS
;
360 wxWindow_Centre(_arg0
,_arg1
);
362 wxPy_END_ALLOW_THREADS
;
363 } Py_INCREF(Py_None
);
364 _resultobj
= Py_None
;
368 #define wxWindow_CentreOnParent(_swigobj,_swigarg0) (_swigobj->CentreOnParent(_swigarg0))
369 static PyObject
*_wrap_wxWindow_CentreOnParent(PyObject
*self
, PyObject
*args
) {
370 PyObject
* _resultobj
;
372 int _arg1
= (wxHORIZONTAL
);
376 if(!PyArg_ParseTuple(args
,"s|i:wxWindow_CentreOnParent",&_argc0
,&_arg1
))
379 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnParent. Expected _wxWindow_p.");
385 wxPy_BEGIN_ALLOW_THREADS
;
386 wxWindow_CentreOnParent(_arg0
,_arg1
);
388 wxPy_END_ALLOW_THREADS
;
389 } Py_INCREF(Py_None
);
390 _resultobj
= Py_None
;
394 #define wxWindow_CenterOnParent(_swigobj,_swigarg0) (_swigobj->CenterOnParent(_swigarg0))
395 static PyObject
*_wrap_wxWindow_CenterOnParent(PyObject
*self
, PyObject
*args
) {
396 PyObject
* _resultobj
;
398 int _arg1
= (wxHORIZONTAL
);
402 if(!PyArg_ParseTuple(args
,"s|i:wxWindow_CenterOnParent",&_argc0
,&_arg1
))
405 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnParent. Expected _wxWindow_p.");
411 wxPy_BEGIN_ALLOW_THREADS
;
412 wxWindow_CenterOnParent(_arg0
,_arg1
);
414 wxPy_END_ALLOW_THREADS
;
415 } Py_INCREF(Py_None
);
416 _resultobj
= Py_None
;
420 #define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
421 static PyObject
*_wrap_wxWindow_ClientToScreenXY(PyObject
*self
, PyObject
*args
) {
422 PyObject
* _resultobj
;
428 PyObject
* _obj1
= 0;
430 PyObject
* _obj2
= 0;
433 if(!PyArg_ParseTuple(args
,"sOO:wxWindow_ClientToScreenXY",&_argc0
,&_obj1
,&_obj2
))
436 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
442 temp
= (int) PyInt_AsLong(_obj1
);
446 temp0
= (int) PyInt_AsLong(_obj2
);
450 wxPy_BEGIN_ALLOW_THREADS
;
451 wxWindow_ClientToScreenXY(_arg0
,_arg1
,_arg2
);
453 wxPy_END_ALLOW_THREADS
;
454 } Py_INCREF(Py_None
);
455 _resultobj
= Py_None
;
458 o
= PyInt_FromLong((long) (*_arg1
));
459 _resultobj
= t_output_helper(_resultobj
, o
);
463 o
= PyInt_FromLong((long) (*_arg2
));
464 _resultobj
= t_output_helper(_resultobj
, o
);
469 #define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
470 static PyObject
*_wrap_wxWindow_ClientToScreen(PyObject
*self
, PyObject
*args
) {
471 PyObject
* _resultobj
;
480 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ClientToScreen",&_argc0
,&_argc1
))
483 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
489 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ClientToScreen. Expected _wxPoint_p.");
495 wxPy_BEGIN_ALLOW_THREADS
;
496 _result
= new wxPoint (wxWindow_ClientToScreen(_arg0
,*_arg1
));
498 wxPy_END_ALLOW_THREADS
;
499 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
500 _resultobj
= Py_BuildValue("s",_ptemp
);
504 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
505 static PyObject
*_wrap_wxWindow_Close(PyObject
*self
, PyObject
*args
) {
506 PyObject
* _resultobj
;
513 if(!PyArg_ParseTuple(args
,"s|i:wxWindow_Close",&_argc0
,&_arg1
))
516 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
522 wxPy_BEGIN_ALLOW_THREADS
;
523 _result
= (bool )wxWindow_Close(_arg0
,_arg1
);
525 wxPy_END_ALLOW_THREADS
;
526 } _resultobj
= Py_BuildValue("i",_result
);
530 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
531 static PyObject
*_wrap_wxWindow_Destroy(PyObject
*self
, PyObject
*args
) {
532 PyObject
* _resultobj
;
538 if(!PyArg_ParseTuple(args
,"s:wxWindow_Destroy",&_argc0
))
541 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
547 wxPy_BEGIN_ALLOW_THREADS
;
548 _result
= (bool )wxWindow_Destroy(_arg0
);
550 wxPy_END_ALLOW_THREADS
;
551 } _resultobj
= Py_BuildValue("i",_result
);
555 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
556 static PyObject
*_wrap_wxWindow_DestroyChildren(PyObject
*self
, PyObject
*args
) {
557 PyObject
* _resultobj
;
562 if(!PyArg_ParseTuple(args
,"s:wxWindow_DestroyChildren",&_argc0
))
565 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
571 wxPy_BEGIN_ALLOW_THREADS
;
572 wxWindow_DestroyChildren(_arg0
);
574 wxPy_END_ALLOW_THREADS
;
575 } Py_INCREF(Py_None
);
576 _resultobj
= Py_None
;
580 #define wxWindow_DragAcceptFiles(_swigobj,_swigarg0) (_swigobj->DragAcceptFiles(_swigarg0))
581 static PyObject
*_wrap_wxWindow_DragAcceptFiles(PyObject
*self
, PyObject
*args
) {
582 PyObject
* _resultobj
;
589 if(!PyArg_ParseTuple(args
,"si:wxWindow_DragAcceptFiles",&_argc0
,&tempbool1
))
592 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DragAcceptFiles. Expected _wxWindow_p.");
597 _arg1
= (bool ) tempbool1
;
599 wxPy_BEGIN_ALLOW_THREADS
;
600 wxWindow_DragAcceptFiles(_arg0
,_arg1
);
602 wxPy_END_ALLOW_THREADS
;
603 } Py_INCREF(Py_None
);
604 _resultobj
= Py_None
;
608 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
609 static PyObject
*_wrap_wxWindow_Enable(PyObject
*self
, PyObject
*args
) {
610 PyObject
* _resultobj
;
617 if(!PyArg_ParseTuple(args
,"si:wxWindow_Enable",&_argc0
,&tempbool1
))
620 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
625 _arg1
= (bool ) tempbool1
;
627 wxPy_BEGIN_ALLOW_THREADS
;
628 wxWindow_Enable(_arg0
,_arg1
);
630 wxPy_END_ALLOW_THREADS
;
631 } Py_INCREF(Py_None
);
632 _resultobj
= Py_None
;
636 #define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
637 static PyObject
*_wrap_wxWindow_FindWindowById(PyObject
*self
, PyObject
*args
) {
638 PyObject
* _resultobj
;
646 if(!PyArg_ParseTuple(args
,"sl:wxWindow_FindWindowById",&_argc0
,&_arg1
))
649 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
655 wxPy_BEGIN_ALLOW_THREADS
;
656 _result
= (wxWindow
*)wxWindow_FindWindowById(_arg0
,_arg1
);
658 wxPy_END_ALLOW_THREADS
;
659 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
660 _resultobj
= Py_BuildValue("s",_ptemp
);
664 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
665 static PyObject
*_wrap_wxWindow_FindWindowByName(PyObject
*self
, PyObject
*args
) {
666 PyObject
* _resultobj
;
671 PyObject
* _obj1
= 0;
675 if(!PyArg_ParseTuple(args
,"sO:wxWindow_FindWindowByName",&_argc0
,&_obj1
))
678 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
684 if (!PyString_Check(_obj1
)) {
685 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
688 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
691 wxPy_BEGIN_ALLOW_THREADS
;
692 _result
= (wxWindow
*)wxWindow_FindWindowByName(_arg0
,*_arg1
);
694 wxPy_END_ALLOW_THREADS
;
695 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
696 _resultobj
= Py_BuildValue("s",_ptemp
);
704 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
705 static PyObject
*_wrap_wxWindow_Fit(PyObject
*self
, PyObject
*args
) {
706 PyObject
* _resultobj
;
711 if(!PyArg_ParseTuple(args
,"s:wxWindow_Fit",&_argc0
))
714 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
720 wxPy_BEGIN_ALLOW_THREADS
;
723 wxPy_END_ALLOW_THREADS
;
724 } Py_INCREF(Py_None
);
725 _resultobj
= Py_None
;
729 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
730 static PyObject
*_wrap_wxWindow_GetBackgroundColour(PyObject
*self
, PyObject
*args
) {
731 PyObject
* _resultobj
;
738 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetBackgroundColour",&_argc0
))
741 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
747 wxPy_BEGIN_ALLOW_THREADS
;
748 _result
= new wxColour (wxWindow_GetBackgroundColour(_arg0
));
750 wxPy_END_ALLOW_THREADS
;
751 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
752 _resultobj
= Py_BuildValue("s",_ptemp
);
756 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
757 static PyObject
*_wrap_wxWindow_GetCharHeight(PyObject
*self
, PyObject
*args
) {
758 PyObject
* _resultobj
;
764 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetCharHeight",&_argc0
))
767 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
773 wxPy_BEGIN_ALLOW_THREADS
;
774 _result
= (int )wxWindow_GetCharHeight(_arg0
);
776 wxPy_END_ALLOW_THREADS
;
777 } _resultobj
= Py_BuildValue("i",_result
);
781 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
782 static PyObject
*_wrap_wxWindow_GetCharWidth(PyObject
*self
, PyObject
*args
) {
783 PyObject
* _resultobj
;
789 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetCharWidth",&_argc0
))
792 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
798 wxPy_BEGIN_ALLOW_THREADS
;
799 _result
= (int )wxWindow_GetCharWidth(_arg0
);
801 wxPy_END_ALLOW_THREADS
;
802 } _resultobj
= Py_BuildValue("i",_result
);
806 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
807 static PyObject
*_wrap_wxWindow_GetClientSizeTuple(PyObject
*self
, PyObject
*args
) {
808 PyObject
* _resultobj
;
823 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetClientSizeTuple",&_argc0
))
826 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
832 wxPy_BEGIN_ALLOW_THREADS
;
833 wxWindow_GetClientSizeTuple(_arg0
,_arg1
,_arg2
);
835 wxPy_END_ALLOW_THREADS
;
836 } Py_INCREF(Py_None
);
837 _resultobj
= Py_None
;
840 o
= PyInt_FromLong((long) (*_arg1
));
841 _resultobj
= t_output_helper(_resultobj
, o
);
845 o
= PyInt_FromLong((long) (*_arg2
));
846 _resultobj
= t_output_helper(_resultobj
, o
);
851 #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
852 static PyObject
*_wrap_wxWindow_GetClientSize(PyObject
*self
, PyObject
*args
) {
853 PyObject
* _resultobj
;
860 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetClientSize",&_argc0
))
863 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
869 wxPy_BEGIN_ALLOW_THREADS
;
870 _result
= new wxSize (wxWindow_GetClientSize(_arg0
));
872 wxPy_END_ALLOW_THREADS
;
873 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
874 _resultobj
= Py_BuildValue("s",_ptemp
);
878 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
879 static PyObject
*_wrap_wxWindow_GetConstraints(PyObject
*self
, PyObject
*args
) {
880 PyObject
* _resultobj
;
881 wxLayoutConstraints
* _result
;
887 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetConstraints",&_argc0
))
890 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
896 wxPy_BEGIN_ALLOW_THREADS
;
897 _result
= (wxLayoutConstraints
*)wxWindow_GetConstraints(_arg0
);
899 wxPy_END_ALLOW_THREADS
;
900 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
901 _resultobj
= Py_BuildValue("s",_ptemp
);
905 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
906 static PyObject
*_wrap_wxWindow_GetFont(PyObject
*self
, PyObject
*args
) {
907 PyObject
* _resultobj
;
914 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetFont",&_argc0
))
917 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
923 wxPy_BEGIN_ALLOW_THREADS
;
924 wxFont
& _result_ref
= wxWindow_GetFont(_arg0
);
925 _result
= (wxFont
*) &_result_ref
;
927 wxPy_END_ALLOW_THREADS
;
928 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
929 _resultobj
= Py_BuildValue("s",_ptemp
);
933 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
934 static PyObject
*_wrap_wxWindow_GetForegroundColour(PyObject
*self
, PyObject
*args
) {
935 PyObject
* _resultobj
;
942 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetForegroundColour",&_argc0
))
945 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
951 wxPy_BEGIN_ALLOW_THREADS
;
952 _result
= new wxColour (wxWindow_GetForegroundColour(_arg0
));
954 wxPy_END_ALLOW_THREADS
;
955 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
956 _resultobj
= Py_BuildValue("s",_ptemp
);
960 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
961 static PyObject
*_wrap_wxWindow_GetGrandParent(PyObject
*self
, PyObject
*args
) {
962 PyObject
* _resultobj
;
969 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetGrandParent",&_argc0
))
972 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
978 wxPy_BEGIN_ALLOW_THREADS
;
979 _result
= (wxWindow
*)wxWindow_GetGrandParent(_arg0
);
981 wxPy_END_ALLOW_THREADS
;
982 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
983 _resultobj
= Py_BuildValue("s",_ptemp
);
987 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
988 static PyObject
*_wrap_wxWindow_GetId(PyObject
*self
, PyObject
*args
) {
989 PyObject
* _resultobj
;
995 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetId",&_argc0
))
998 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
1004 wxPy_BEGIN_ALLOW_THREADS
;
1005 _result
= (int )wxWindow_GetId(_arg0
);
1007 wxPy_END_ALLOW_THREADS
;
1008 } _resultobj
= Py_BuildValue("i",_result
);
1012 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
1013 static PyObject
*_wrap_wxWindow_GetLabel(PyObject
*self
, PyObject
*args
) {
1014 PyObject
* _resultobj
;
1020 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetLabel",&_argc0
))
1023 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
1029 wxPy_BEGIN_ALLOW_THREADS
;
1030 _result
= new wxString (wxWindow_GetLabel(_arg0
));
1032 wxPy_END_ALLOW_THREADS
;
1034 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1042 #define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
1043 static PyObject
*_wrap_wxWindow_SetLabel(PyObject
*self
, PyObject
*args
) {
1044 PyObject
* _resultobj
;
1048 PyObject
* _obj1
= 0;
1051 if(!PyArg_ParseTuple(args
,"sO:wxWindow_SetLabel",&_argc0
,&_obj1
))
1054 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
1060 if (!PyString_Check(_obj1
)) {
1061 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1064 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1067 wxPy_BEGIN_ALLOW_THREADS
;
1068 wxWindow_SetLabel(_arg0
,*_arg1
);
1070 wxPy_END_ALLOW_THREADS
;
1071 } Py_INCREF(Py_None
);
1072 _resultobj
= Py_None
;
1080 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
1081 static PyObject
*_wrap_wxWindow_GetName(PyObject
*self
, PyObject
*args
) {
1082 PyObject
* _resultobj
;
1088 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetName",&_argc0
))
1091 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
1097 wxPy_BEGIN_ALLOW_THREADS
;
1098 _result
= new wxString (wxWindow_GetName(_arg0
));
1100 wxPy_END_ALLOW_THREADS
;
1102 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1110 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
1111 static PyObject
*_wrap_wxWindow_GetParent(PyObject
*self
, PyObject
*args
) {
1112 PyObject
* _resultobj
;
1119 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetParent",&_argc0
))
1122 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
1128 wxPy_BEGIN_ALLOW_THREADS
;
1129 _result
= (wxWindow
*)wxWindow_GetParent(_arg0
);
1131 wxPy_END_ALLOW_THREADS
;
1132 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1133 _resultobj
= Py_BuildValue("s",_ptemp
);
1137 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
1138 static PyObject
*_wrap_wxWindow_GetPositionTuple(PyObject
*self
, PyObject
*args
) {
1139 PyObject
* _resultobj
;
1154 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetPositionTuple",&_argc0
))
1157 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
1163 wxPy_BEGIN_ALLOW_THREADS
;
1164 wxWindow_GetPositionTuple(_arg0
,_arg1
,_arg2
);
1166 wxPy_END_ALLOW_THREADS
;
1167 } Py_INCREF(Py_None
);
1168 _resultobj
= Py_None
;
1171 o
= PyInt_FromLong((long) (*_arg1
));
1172 _resultobj
= t_output_helper(_resultobj
, o
);
1176 o
= PyInt_FromLong((long) (*_arg2
));
1177 _resultobj
= t_output_helper(_resultobj
, o
);
1182 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
1183 static PyObject
*_wrap_wxWindow_GetPosition(PyObject
*self
, PyObject
*args
) {
1184 PyObject
* _resultobj
;
1191 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetPosition",&_argc0
))
1194 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
1200 wxPy_BEGIN_ALLOW_THREADS
;
1201 _result
= new wxPoint (wxWindow_GetPosition(_arg0
));
1203 wxPy_END_ALLOW_THREADS
;
1204 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1205 _resultobj
= Py_BuildValue("s",_ptemp
);
1209 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
1210 static PyObject
*_wrap_wxWindow_GetRect(PyObject
*self
, PyObject
*args
) {
1211 PyObject
* _resultobj
;
1218 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetRect",&_argc0
))
1221 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
1227 wxPy_BEGIN_ALLOW_THREADS
;
1228 _result
= new wxRect (wxWindow_GetRect(_arg0
));
1230 wxPy_END_ALLOW_THREADS
;
1231 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1232 _resultobj
= Py_BuildValue("s",_ptemp
);
1236 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
1237 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*self
, PyObject
*args
) {
1238 PyObject
* _resultobj
;
1245 if(!PyArg_ParseTuple(args
,"si:wxWindow_GetScrollThumb",&_argc0
,&_arg1
))
1248 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
1254 wxPy_BEGIN_ALLOW_THREADS
;
1255 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
1257 wxPy_END_ALLOW_THREADS
;
1258 } _resultobj
= Py_BuildValue("i",_result
);
1262 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
1263 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
) {
1264 PyObject
* _resultobj
;
1271 if(!PyArg_ParseTuple(args
,"si:wxWindow_GetScrollPos",&_argc0
,&_arg1
))
1274 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
1280 wxPy_BEGIN_ALLOW_THREADS
;
1281 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
1283 wxPy_END_ALLOW_THREADS
;
1284 } _resultobj
= Py_BuildValue("i",_result
);
1288 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
1289 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*self
, PyObject
*args
) {
1290 PyObject
* _resultobj
;
1297 if(!PyArg_ParseTuple(args
,"si:wxWindow_GetScrollRange",&_argc0
,&_arg1
))
1300 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
1306 wxPy_BEGIN_ALLOW_THREADS
;
1307 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
1309 wxPy_END_ALLOW_THREADS
;
1310 } _resultobj
= Py_BuildValue("i",_result
);
1314 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
1315 static PyObject
*_wrap_wxWindow_GetSizeTuple(PyObject
*self
, PyObject
*args
) {
1316 PyObject
* _resultobj
;
1331 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetSizeTuple",&_argc0
))
1334 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
1340 wxPy_BEGIN_ALLOW_THREADS
;
1341 wxWindow_GetSizeTuple(_arg0
,_arg1
,_arg2
);
1343 wxPy_END_ALLOW_THREADS
;
1344 } Py_INCREF(Py_None
);
1345 _resultobj
= Py_None
;
1348 o
= PyInt_FromLong((long) (*_arg1
));
1349 _resultobj
= t_output_helper(_resultobj
, o
);
1353 o
= PyInt_FromLong((long) (*_arg2
));
1354 _resultobj
= t_output_helper(_resultobj
, o
);
1359 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
1360 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*self
, PyObject
*args
) {
1361 PyObject
* _resultobj
;
1368 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetSize",&_argc0
))
1371 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
1377 wxPy_BEGIN_ALLOW_THREADS
;
1378 _result
= new wxSize (wxWindow_GetSize(_arg0
));
1380 wxPy_END_ALLOW_THREADS
;
1381 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1382 _resultobj
= Py_BuildValue("s",_ptemp
);
1386 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
1387 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
) {
1388 PyObject
* _resultobj
;
1396 PyObject
* _obj1
= 0;
1405 if(!PyArg_ParseTuple(args
,"sO:wxWindow_GetTextExtent",&_argc0
,&_obj1
))
1408 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
1414 if (!PyString_Check(_obj1
)) {
1415 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1418 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1421 wxPy_BEGIN_ALLOW_THREADS
;
1422 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
1424 wxPy_END_ALLOW_THREADS
;
1425 } Py_INCREF(Py_None
);
1426 _resultobj
= Py_None
;
1429 o
= PyInt_FromLong((long) (*_arg2
));
1430 _resultobj
= t_output_helper(_resultobj
, o
);
1434 o
= PyInt_FromLong((long) (*_arg3
));
1435 _resultobj
= t_output_helper(_resultobj
, o
);
1444 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1445 static PyObject
*_wrap_wxWindow_GetFullTextExtent(PyObject
*self
, PyObject
*args
) {
1446 PyObject
* _resultobj
;
1457 wxFont
* _arg6
= NULL
;
1459 PyObject
* _obj1
= 0;
1475 if(!PyArg_ParseTuple(args
,"sO|s:wxWindow_GetFullTextExtent",&_argc0
,&_obj1
,&_argc6
))
1478 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
1484 if (!PyString_Check(_obj1
)) {
1485 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1488 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1491 if (SWIG_GetPtr(_argc6
,(void **) &_arg6
,"_wxFont_p")) {
1492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
1497 wxPy_BEGIN_ALLOW_THREADS
;
1498 wxWindow_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1500 wxPy_END_ALLOW_THREADS
;
1501 } Py_INCREF(Py_None
);
1502 _resultobj
= Py_None
;
1505 o
= PyInt_FromLong((long) (*_arg2
));
1506 _resultobj
= t_output_helper(_resultobj
, o
);
1510 o
= PyInt_FromLong((long) (*_arg3
));
1511 _resultobj
= t_output_helper(_resultobj
, o
);
1515 o
= PyInt_FromLong((long) (*_arg4
));
1516 _resultobj
= t_output_helper(_resultobj
, o
);
1520 o
= PyInt_FromLong((long) (*_arg5
));
1521 _resultobj
= t_output_helper(_resultobj
, o
);
1530 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
1531 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
) {
1532 PyObject
* _resultobj
;
1538 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetTitle",&_argc0
))
1541 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
1547 wxPy_BEGIN_ALLOW_THREADS
;
1548 _result
= new wxString (wxWindow_GetTitle(_arg0
));
1550 wxPy_END_ALLOW_THREADS
;
1552 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1560 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
1561 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
) {
1562 PyObject
* _resultobj
;
1568 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetWindowStyleFlag",&_argc0
))
1571 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
1577 wxPy_BEGIN_ALLOW_THREADS
;
1578 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
1580 wxPy_END_ALLOW_THREADS
;
1581 } _resultobj
= Py_BuildValue("l",_result
);
1585 #define wxWindow_Hide(_swigobj) (_swigobj->Hide())
1586 static PyObject
*_wrap_wxWindow_Hide(PyObject
*self
, PyObject
*args
) {
1587 PyObject
* _resultobj
;
1593 if(!PyArg_ParseTuple(args
,"s:wxWindow_Hide",&_argc0
))
1596 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
1602 wxPy_BEGIN_ALLOW_THREADS
;
1603 _result
= (bool )wxWindow_Hide(_arg0
);
1605 wxPy_END_ALLOW_THREADS
;
1606 } _resultobj
= Py_BuildValue("i",_result
);
1610 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
1611 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
) {
1612 PyObject
* _resultobj
;
1617 if(!PyArg_ParseTuple(args
,"s:wxWindow_InitDialog",&_argc0
))
1620 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
1626 wxPy_BEGIN_ALLOW_THREADS
;
1627 wxWindow_InitDialog(_arg0
);
1629 wxPy_END_ALLOW_THREADS
;
1630 } Py_INCREF(Py_None
);
1631 _resultobj
= Py_None
;
1635 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
1636 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
) {
1637 PyObject
* _resultobj
;
1643 if(!PyArg_ParseTuple(args
,"s:wxWindow_IsEnabled",&_argc0
))
1646 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
1652 wxPy_BEGIN_ALLOW_THREADS
;
1653 _result
= (bool )wxWindow_IsEnabled(_arg0
);
1655 wxPy_END_ALLOW_THREADS
;
1656 } _resultobj
= Py_BuildValue("i",_result
);
1660 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
1661 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
) {
1662 PyObject
* _resultobj
;
1668 if(!PyArg_ParseTuple(args
,"s:wxWindow_IsRetained",&_argc0
))
1671 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
1677 wxPy_BEGIN_ALLOW_THREADS
;
1678 _result
= (bool )wxWindow_IsRetained(_arg0
);
1680 wxPy_END_ALLOW_THREADS
;
1681 } _resultobj
= Py_BuildValue("i",_result
);
1685 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
1686 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
) {
1687 PyObject
* _resultobj
;
1693 if(!PyArg_ParseTuple(args
,"s:wxWindow_IsShown",&_argc0
))
1696 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
1702 wxPy_BEGIN_ALLOW_THREADS
;
1703 _result
= (bool )wxWindow_IsShown(_arg0
);
1705 wxPy_END_ALLOW_THREADS
;
1706 } _resultobj
= Py_BuildValue("i",_result
);
1710 #define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
1711 static PyObject
*_wrap_wxWindow_IsTopLevel(PyObject
*self
, PyObject
*args
) {
1712 PyObject
* _resultobj
;
1718 if(!PyArg_ParseTuple(args
,"s:wxWindow_IsTopLevel",&_argc0
))
1721 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
1727 wxPy_BEGIN_ALLOW_THREADS
;
1728 _result
= (bool )wxWindow_IsTopLevel(_arg0
);
1730 wxPy_END_ALLOW_THREADS
;
1731 } _resultobj
= Py_BuildValue("i",_result
);
1735 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
1736 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
) {
1737 PyObject
* _resultobj
;
1742 if(!PyArg_ParseTuple(args
,"s:wxWindow_Layout",&_argc0
))
1745 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
1751 wxPy_BEGIN_ALLOW_THREADS
;
1752 wxWindow_Layout(_arg0
);
1754 wxPy_END_ALLOW_THREADS
;
1755 } Py_INCREF(Py_None
);
1756 _resultobj
= Py_None
;
1760 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
1761 static PyObject
*_wrap_wxWindow_LoadFromResource(PyObject
*self
, PyObject
*args
) {
1762 PyObject
* _resultobj
;
1767 wxResourceTable
* _arg3
= NULL
;
1770 PyObject
* _obj2
= 0;
1774 if(!PyArg_ParseTuple(args
,"ssO|s:wxWindow_LoadFromResource",&_argc0
,&_argc1
,&_obj2
,&_argc3
))
1777 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
1783 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
1784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
1789 if (!PyString_Check(_obj2
)) {
1790 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1793 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
1796 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxResourceTable_p")) {
1797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
1802 wxPy_BEGIN_ALLOW_THREADS
;
1803 _result
= (bool )wxWindow_LoadFromResource(_arg0
,_arg1
,*_arg2
,_arg3
);
1805 wxPy_END_ALLOW_THREADS
;
1806 } _resultobj
= Py_BuildValue("i",_result
);
1814 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
1815 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
) {
1816 PyObject
* _resultobj
;
1821 if(!PyArg_ParseTuple(args
,"s:wxWindow_Lower",&_argc0
))
1824 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
1830 wxPy_BEGIN_ALLOW_THREADS
;
1831 wxWindow_Lower(_arg0
);
1833 wxPy_END_ALLOW_THREADS
;
1834 } Py_INCREF(Py_None
);
1835 _resultobj
= Py_None
;
1839 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
1840 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
) {
1841 PyObject
* _resultobj
;
1848 if(!PyArg_ParseTuple(args
,"si:wxWindow_MakeModal",&_argc0
,&tempbool1
))
1851 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
1856 _arg1
= (bool ) tempbool1
;
1858 wxPy_BEGIN_ALLOW_THREADS
;
1859 wxWindow_MakeModal(_arg0
,_arg1
);
1861 wxPy_END_ALLOW_THREADS
;
1862 } Py_INCREF(Py_None
);
1863 _resultobj
= Py_None
;
1867 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
1868 static PyObject
*_wrap_wxWindow_MoveXY(PyObject
*self
, PyObject
*args
) {
1869 PyObject
* _resultobj
;
1876 if(!PyArg_ParseTuple(args
,"sii:wxWindow_MoveXY",&_argc0
,&_arg1
,&_arg2
))
1879 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
1885 wxPy_BEGIN_ALLOW_THREADS
;
1886 wxWindow_MoveXY(_arg0
,_arg1
,_arg2
);
1888 wxPy_END_ALLOW_THREADS
;
1889 } Py_INCREF(Py_None
);
1890 _resultobj
= Py_None
;
1894 #define wxWindow_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
1895 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
) {
1896 PyObject
* _resultobj
;
1903 if(!PyArg_ParseTuple(args
,"ss:wxWindow_Move",&_argc0
,&_argc1
))
1906 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
1912 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
1913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Move. Expected _wxPoint_p.");
1918 wxPy_BEGIN_ALLOW_THREADS
;
1919 wxWindow_Move(_arg0
,*_arg1
);
1921 wxPy_END_ALLOW_THREADS
;
1922 } Py_INCREF(Py_None
);
1923 _resultobj
= Py_None
;
1927 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
1928 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
) {
1929 PyObject
* _resultobj
;
1939 if(!PyArg_ParseTuple(args
,"ssii:wxWindow_PopupMenu",&_argc0
,&_argc1
,&_arg2
,&_arg3
))
1942 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
1948 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxMenu_p")) {
1949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
1954 wxPy_BEGIN_ALLOW_THREADS
;
1955 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,_arg2
,_arg3
);
1957 wxPy_END_ALLOW_THREADS
;
1958 } _resultobj
= Py_BuildValue("i",_result
);
1962 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
1963 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
) {
1964 PyObject
* _resultobj
;
1969 if(!PyArg_ParseTuple(args
,"s:wxWindow_Raise",&_argc0
))
1972 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
1978 wxPy_BEGIN_ALLOW_THREADS
;
1979 wxWindow_Raise(_arg0
);
1981 wxPy_END_ALLOW_THREADS
;
1982 } Py_INCREF(Py_None
);
1983 _resultobj
= Py_None
;
1987 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
1988 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
) {
1989 PyObject
* _resultobj
;
1992 wxRect
* _arg2
= NULL
;
1998 if(!PyArg_ParseTuple(args
,"s|is:wxWindow_Refresh",&_argc0
,&tempbool1
,&_argc2
))
2001 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
2006 _arg1
= (bool ) tempbool1
;
2008 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxRect_p")) {
2009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxWindow_Refresh. Expected _wxRect_p.");
2014 wxPy_BEGIN_ALLOW_THREADS
;
2015 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
2017 wxPy_END_ALLOW_THREADS
;
2018 } Py_INCREF(Py_None
);
2019 _resultobj
= Py_None
;
2023 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
2024 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
) {
2025 PyObject
* _resultobj
;
2030 if(!PyArg_ParseTuple(args
,"s:wxWindow_ReleaseMouse",&_argc0
))
2033 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
2039 wxPy_BEGIN_ALLOW_THREADS
;
2040 wxWindow_ReleaseMouse(_arg0
);
2042 wxPy_END_ALLOW_THREADS
;
2043 } Py_INCREF(Py_None
);
2044 _resultobj
= Py_None
;
2048 #define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
2049 static PyObject
*_wrap_wxWindow_Reparent(PyObject
*self
, PyObject
*args
) {
2050 PyObject
* _resultobj
;
2058 if(!PyArg_ParseTuple(args
,"ss:wxWindow_Reparent",&_argc0
,&_argc1
))
2061 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
2067 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
2068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
2073 wxPy_BEGIN_ALLOW_THREADS
;
2074 _result
= (bool )wxWindow_Reparent(_arg0
,_arg1
);
2076 wxPy_END_ALLOW_THREADS
;
2077 } _resultobj
= Py_BuildValue("i",_result
);
2081 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
2082 static PyObject
*_wrap_wxWindow_ScreenToClientXY(PyObject
*self
, PyObject
*args
) {
2083 PyObject
* _resultobj
;
2089 PyObject
* _obj1
= 0;
2091 PyObject
* _obj2
= 0;
2094 if(!PyArg_ParseTuple(args
,"sOO:wxWindow_ScreenToClientXY",&_argc0
,&_obj1
,&_obj2
))
2097 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
2103 temp
= (int) PyInt_AsLong(_obj1
);
2107 temp0
= (int) PyInt_AsLong(_obj2
);
2111 wxPy_BEGIN_ALLOW_THREADS
;
2112 wxWindow_ScreenToClientXY(_arg0
,_arg1
,_arg2
);
2114 wxPy_END_ALLOW_THREADS
;
2115 } Py_INCREF(Py_None
);
2116 _resultobj
= Py_None
;
2119 o
= PyInt_FromLong((long) (*_arg1
));
2120 _resultobj
= t_output_helper(_resultobj
, o
);
2124 o
= PyInt_FromLong((long) (*_arg2
));
2125 _resultobj
= t_output_helper(_resultobj
, o
);
2130 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
2131 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
) {
2132 PyObject
* _resultobj
;
2141 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ScreenToClient",&_argc0
,&_argc1
))
2144 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
2150 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
2151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ScreenToClient. Expected _wxPoint_p.");
2156 wxPy_BEGIN_ALLOW_THREADS
;
2157 _result
= new wxPoint (wxWindow_ScreenToClient(_arg0
,*_arg1
));
2159 wxPy_END_ALLOW_THREADS
;
2160 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2161 _resultobj
= Py_BuildValue("s",_ptemp
);
2165 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
2166 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
) {
2167 PyObject
* _resultobj
;
2171 wxRect
* _arg3
= NULL
;
2176 if(!PyArg_ParseTuple(args
,"sii|s:wxWindow_ScrollWindow",&_argc0
,&_arg1
,&_arg2
,&_argc3
))
2179 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
2185 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxRect_p")) {
2186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_ScrollWindow. Expected _wxRect_p.");
2191 wxPy_BEGIN_ALLOW_THREADS
;
2192 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
2194 wxPy_END_ALLOW_THREADS
;
2195 } Py_INCREF(Py_None
);
2196 _resultobj
= Py_None
;
2200 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
2201 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
) {
2202 PyObject
* _resultobj
;
2204 wxAcceleratorTable
* _arg1
;
2209 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetAcceleratorTable",&_argc0
,&_argc1
))
2212 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
2218 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
2219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
2224 wxPy_BEGIN_ALLOW_THREADS
;
2225 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
2227 wxPy_END_ALLOW_THREADS
;
2228 } Py_INCREF(Py_None
);
2229 _resultobj
= Py_None
;
2233 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
2234 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
) {
2235 PyObject
* _resultobj
;
2242 if(!PyArg_ParseTuple(args
,"si:wxWindow_SetAutoLayout",&_argc0
,&tempbool1
))
2245 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
2250 _arg1
= (bool ) tempbool1
;
2252 wxPy_BEGIN_ALLOW_THREADS
;
2253 wxWindow_SetAutoLayout(_arg0
,_arg1
);
2255 wxPy_END_ALLOW_THREADS
;
2256 } Py_INCREF(Py_None
);
2257 _resultobj
= Py_None
;
2261 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
2262 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
) {
2263 PyObject
* _resultobj
;
2270 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetBackgroundColour",&_argc0
,&_argc1
))
2273 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
2279 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
2280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetBackgroundColour. Expected _wxColour_p.");
2285 wxPy_BEGIN_ALLOW_THREADS
;
2286 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
2288 wxPy_END_ALLOW_THREADS
;
2289 } Py_INCREF(Py_None
);
2290 _resultobj
= Py_None
;
2294 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
2295 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
) {
2296 PyObject
* _resultobj
;
2298 wxLayoutConstraints
* _arg1
;
2303 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetConstraints",&_argc0
,&_argc1
))
2306 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
2312 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
2313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
2318 wxPy_BEGIN_ALLOW_THREADS
;
2319 wxWindow_SetConstraints(_arg0
,_arg1
);
2321 wxPy_END_ALLOW_THREADS
;
2322 } Py_INCREF(Py_None
);
2323 _resultobj
= Py_None
;
2327 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
2328 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
) {
2329 PyObject
* _resultobj
;
2334 if(!PyArg_ParseTuple(args
,"s:wxWindow_SetFocus",&_argc0
))
2337 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
2343 wxPy_BEGIN_ALLOW_THREADS
;
2344 wxWindow_SetFocus(_arg0
);
2346 wxPy_END_ALLOW_THREADS
;
2347 } Py_INCREF(Py_None
);
2348 _resultobj
= Py_None
;
2352 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
2353 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
) {
2354 PyObject
* _resultobj
;
2361 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetFont",&_argc0
,&_argc1
))
2364 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
2370 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxFont_p")) {
2371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
2376 wxPy_BEGIN_ALLOW_THREADS
;
2377 wxWindow_SetFont(_arg0
,*_arg1
);
2379 wxPy_END_ALLOW_THREADS
;
2380 } Py_INCREF(Py_None
);
2381 _resultobj
= Py_None
;
2385 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
2386 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
) {
2387 PyObject
* _resultobj
;
2394 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetForegroundColour",&_argc0
,&_argc1
))
2397 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
2403 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
2404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetForegroundColour. Expected _wxColour_p.");
2409 wxPy_BEGIN_ALLOW_THREADS
;
2410 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
2412 wxPy_END_ALLOW_THREADS
;
2413 } Py_INCREF(Py_None
);
2414 _resultobj
= Py_None
;
2418 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
2419 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
) {
2420 PyObject
* _resultobj
;
2426 if(!PyArg_ParseTuple(args
,"si:wxWindow_SetId",&_argc0
,&_arg1
))
2429 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
2435 wxPy_BEGIN_ALLOW_THREADS
;
2436 wxWindow_SetId(_arg0
,_arg1
);
2438 wxPy_END_ALLOW_THREADS
;
2439 } Py_INCREF(Py_None
);
2440 _resultobj
= Py_None
;
2444 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
2445 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
) {
2446 PyObject
* _resultobj
;
2450 PyObject
* _obj1
= 0;
2453 if(!PyArg_ParseTuple(args
,"sO:wxWindow_SetName",&_argc0
,&_obj1
))
2456 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
2462 if (!PyString_Check(_obj1
)) {
2463 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2466 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2469 wxPy_BEGIN_ALLOW_THREADS
;
2470 wxWindow_SetName(_arg0
,*_arg1
);
2472 wxPy_END_ALLOW_THREADS
;
2473 } Py_INCREF(Py_None
);
2474 _resultobj
= Py_None
;
2482 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2483 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
) {
2484 PyObject
* _resultobj
;
2495 if(!PyArg_ParseTuple(args
,"siiii|i:wxWindow_SetScrollbar",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
2498 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
2503 _arg5
= (bool ) tempbool5
;
2505 wxPy_BEGIN_ALLOW_THREADS
;
2506 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2508 wxPy_END_ALLOW_THREADS
;
2509 } Py_INCREF(Py_None
);
2510 _resultobj
= Py_None
;
2514 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
2515 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
) {
2516 PyObject
* _resultobj
;
2525 if(!PyArg_ParseTuple(args
,"sii|i:wxWindow_SetScrollPos",&_argc0
,&_arg1
,&_arg2
,&tempbool3
))
2528 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
2533 _arg3
= (bool ) tempbool3
;
2535 wxPy_BEGIN_ALLOW_THREADS
;
2536 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
2538 wxPy_END_ALLOW_THREADS
;
2539 } Py_INCREF(Py_None
);
2540 _resultobj
= Py_None
;
2544 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2545 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
) {
2546 PyObject
* _resultobj
;
2552 int _arg5
= (wxSIZE_AUTO
);
2556 if(!PyArg_ParseTuple(args
,"siiii|i:wxWindow_SetDimensions",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2559 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
2565 wxPy_BEGIN_ALLOW_THREADS
;
2566 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2568 wxPy_END_ALLOW_THREADS
;
2569 } Py_INCREF(Py_None
);
2570 _resultobj
= Py_None
;
2574 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
2575 self
->SetSize(size
.x
, size
.y
);
2577 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
) {
2578 PyObject
* _resultobj
;
2585 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetSize",&_argc0
,&_argc1
))
2588 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
2594 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
2595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSize. Expected _wxSize_p.");
2600 wxPy_BEGIN_ALLOW_THREADS
;
2601 wxWindow_SetSize(_arg0
,*_arg1
);
2603 wxPy_END_ALLOW_THREADS
;
2604 } Py_INCREF(Py_None
);
2605 _resultobj
= Py_None
;
2609 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
) {
2610 self
->SetSize(pos
.x
, pos
.y
, -1, -1);
2612 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
) {
2613 PyObject
* _resultobj
;
2620 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetPosition",&_argc0
,&_argc1
))
2623 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
2629 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
2630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetPosition. Expected _wxPoint_p.");
2635 wxPy_BEGIN_ALLOW_THREADS
;
2636 wxWindow_SetPosition(_arg0
,*_arg1
);
2638 wxPy_END_ALLOW_THREADS
;
2639 } Py_INCREF(Py_None
);
2640 _resultobj
= Py_None
;
2644 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2645 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
) {
2646 PyObject
* _resultobj
;
2657 if(!PyArg_ParseTuple(args
,"s|iiiiii:wxWindow_SetSizeHints",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
2660 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
2666 wxPy_BEGIN_ALLOW_THREADS
;
2667 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2669 wxPy_END_ALLOW_THREADS
;
2670 } Py_INCREF(Py_None
);
2671 _resultobj
= Py_None
;
2675 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
2676 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
) {
2677 PyObject
* _resultobj
;
2684 if(!PyArg_ParseTuple(args
,"sii:wxWindow_SetClientSizeWH",&_argc0
,&_arg1
,&_arg2
))
2687 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
2693 wxPy_BEGIN_ALLOW_THREADS
;
2694 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
2696 wxPy_END_ALLOW_THREADS
;
2697 } Py_INCREF(Py_None
);
2698 _resultobj
= Py_None
;
2702 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
2703 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
) {
2704 PyObject
* _resultobj
;
2711 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetClientSize",&_argc0
,&_argc1
))
2714 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
2720 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
2721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetClientSize. Expected _wxSize_p.");
2726 wxPy_BEGIN_ALLOW_THREADS
;
2727 wxWindow_SetClientSize(_arg0
,*_arg1
);
2729 wxPy_END_ALLOW_THREADS
;
2730 } Py_INCREF(Py_None
);
2731 _resultobj
= Py_None
;
2735 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
2736 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
) {
2737 PyObject
* _resultobj
;
2744 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetCursor",&_argc0
,&_argc1
))
2747 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
2753 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxCursor_p")) {
2754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
2759 wxPy_BEGIN_ALLOW_THREADS
;
2760 wxWindow_SetCursor(_arg0
,*_arg1
);
2762 wxPy_END_ALLOW_THREADS
;
2763 } Py_INCREF(Py_None
);
2764 _resultobj
= Py_None
;
2768 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
2769 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
) {
2770 PyObject
* _resultobj
;
2774 PyObject
* _obj1
= 0;
2777 if(!PyArg_ParseTuple(args
,"sO:wxWindow_SetTitle",&_argc0
,&_obj1
))
2780 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
2786 if (!PyString_Check(_obj1
)) {
2787 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2790 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2793 wxPy_BEGIN_ALLOW_THREADS
;
2794 wxWindow_SetTitle(_arg0
,*_arg1
);
2796 wxPy_END_ALLOW_THREADS
;
2797 } Py_INCREF(Py_None
);
2798 _resultobj
= Py_None
;
2806 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
2807 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
) {
2808 PyObject
* _resultobj
;
2816 if(!PyArg_ParseTuple(args
,"si:wxWindow_Show",&_argc0
,&tempbool1
))
2819 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
2824 _arg1
= (bool ) tempbool1
;
2826 wxPy_BEGIN_ALLOW_THREADS
;
2827 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
2829 wxPy_END_ALLOW_THREADS
;
2830 } _resultobj
= Py_BuildValue("i",_result
);
2834 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
2835 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
) {
2836 PyObject
* _resultobj
;
2842 if(!PyArg_ParseTuple(args
,"s:wxWindow_TransferDataFromWindow",&_argc0
))
2845 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
2851 wxPy_BEGIN_ALLOW_THREADS
;
2852 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
2854 wxPy_END_ALLOW_THREADS
;
2855 } _resultobj
= Py_BuildValue("i",_result
);
2859 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
2860 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
) {
2861 PyObject
* _resultobj
;
2867 if(!PyArg_ParseTuple(args
,"s:wxWindow_TransferDataToWindow",&_argc0
))
2870 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
2876 wxPy_BEGIN_ALLOW_THREADS
;
2877 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
2879 wxPy_END_ALLOW_THREADS
;
2880 } _resultobj
= Py_BuildValue("i",_result
);
2884 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
2885 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
) {
2886 PyObject
* _resultobj
;
2892 if(!PyArg_ParseTuple(args
,"s:wxWindow_Validate",&_argc0
))
2895 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
2901 wxPy_BEGIN_ALLOW_THREADS
;
2902 _result
= (bool )wxWindow_Validate(_arg0
);
2904 wxPy_END_ALLOW_THREADS
;
2905 } _resultobj
= Py_BuildValue("i",_result
);
2909 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
2910 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
) {
2911 PyObject
* _resultobj
;
2918 if(!PyArg_ParseTuple(args
,"sii:wxWindow_WarpPointer",&_argc0
,&_arg1
,&_arg2
))
2921 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
2927 wxPy_BEGIN_ALLOW_THREADS
;
2928 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
2930 wxPy_END_ALLOW_THREADS
;
2931 } Py_INCREF(Py_None
);
2932 _resultobj
= Py_None
;
2936 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
2937 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
) {
2938 PyObject
* _resultobj
;
2947 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ConvertDialogPointToPixels",&_argc0
,&_argc1
))
2950 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
2956 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
2957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertDialogPointToPixels. Expected _wxPoint_p.");
2962 wxPy_BEGIN_ALLOW_THREADS
;
2963 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
2965 wxPy_END_ALLOW_THREADS
;
2966 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2967 _resultobj
= Py_BuildValue("s",_ptemp
);
2971 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
2972 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
) {
2973 PyObject
* _resultobj
;
2982 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ConvertDialogSizeToPixels",&_argc0
,&_argc1
))
2985 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
2991 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
2992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertDialogSizeToPixels. Expected _wxSize_p.");
2997 wxPy_BEGIN_ALLOW_THREADS
;
2998 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
3000 wxPy_END_ALLOW_THREADS
;
3001 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3002 _resultobj
= Py_BuildValue("s",_ptemp
);
3006 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
3007 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
) {
3008 PyObject
* _resultobj
;
3017 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ConvertPixelPointToDialog",&_argc0
,&_argc1
))
3020 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
3021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
3026 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
3027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertPixelPointToDialog. Expected _wxPoint_p.");
3032 wxPy_BEGIN_ALLOW_THREADS
;
3033 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
3035 wxPy_END_ALLOW_THREADS
;
3036 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3037 _resultobj
= Py_BuildValue("s",_ptemp
);
3041 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
3042 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
) {
3043 PyObject
* _resultobj
;
3052 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ConvertPixelSizeToDialog",&_argc0
,&_argc1
))
3055 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
3056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
3061 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
3062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertPixelSizeToDialog. Expected _wxSize_p.");
3067 wxPy_BEGIN_ALLOW_THREADS
;
3068 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
3070 wxPy_END_ALLOW_THREADS
;
3071 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3072 _resultobj
= Py_BuildValue("s",_ptemp
);
3076 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
3077 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
) {
3078 PyObject
* _resultobj
;
3082 PyObject
* _obj1
= 0;
3085 if(!PyArg_ParseTuple(args
,"sO:wxWindow_SetToolTipString",&_argc0
,&_obj1
))
3088 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
3089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
3094 if (!PyString_Check(_obj1
)) {
3095 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3098 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3101 wxPy_BEGIN_ALLOW_THREADS
;
3102 wxWindow_SetToolTipString(_arg0
,*_arg1
);
3104 wxPy_END_ALLOW_THREADS
;
3105 } Py_INCREF(Py_None
);
3106 _resultobj
= Py_None
;
3114 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
3115 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
) {
3116 PyObject
* _resultobj
;
3123 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetToolTip",&_argc0
,&_argc1
))
3126 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
3127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
3132 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxToolTip_p")) {
3133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
3138 wxPy_BEGIN_ALLOW_THREADS
;
3139 wxWindow_SetToolTip(_arg0
,_arg1
);
3141 wxPy_END_ALLOW_THREADS
;
3142 } Py_INCREF(Py_None
);
3143 _resultobj
= Py_None
;
3147 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
3148 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
) {
3149 PyObject
* _resultobj
;
3150 wxToolTip
* _result
;
3156 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetToolTip",&_argc0
))
3159 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
3160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
3165 wxPy_BEGIN_ALLOW_THREADS
;
3166 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
3168 wxPy_END_ALLOW_THREADS
;
3169 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
3170 _resultobj
= Py_BuildValue("s",_ptemp
);
3174 static void *SwigwxPanelTowxWindow(void *ptr
) {
3177 src
= (wxPanel
*) ptr
;
3178 dest
= (wxWindow
*) src
;
3179 return (void *) dest
;
3182 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
3185 src
= (wxPanel
*) ptr
;
3186 dest
= (wxEvtHandler
*) src
;
3187 return (void *) dest
;
3190 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3191 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
) {
3192 PyObject
* _resultobj
;
3196 wxPoint
* _arg2
= &wxPyDefaultPosition
;
3197 wxSize
* _arg3
= &wxPyDefaultSize
;
3198 long _arg4
= (wxTAB_TRAVERSAL
);
3199 char * _arg5
= "panel";
3206 if(!PyArg_ParseTuple(args
,"si|ssls:new_wxPanel",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
3209 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
3210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
3215 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
3216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPanel. Expected _wxPoint_p.");
3221 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
3222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxPanel. Expected _wxSize_p.");
3227 wxPy_BEGIN_ALLOW_THREADS
;
3228 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
3230 wxPy_END_ALLOW_THREADS
;
3231 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
3232 _resultobj
= Py_BuildValue("s",_ptemp
);
3236 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
3237 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
) {
3238 PyObject
* _resultobj
;
3243 if(!PyArg_ParseTuple(args
,"s:wxPanel_InitDialog",&_argc0
))
3246 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPanel_p")) {
3247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
3252 wxPy_BEGIN_ALLOW_THREADS
;
3253 wxPanel_InitDialog(_arg0
);
3255 wxPy_END_ALLOW_THREADS
;
3256 } Py_INCREF(Py_None
);
3257 _resultobj
= Py_None
;
3261 #define wxPanel_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
3262 static PyObject
*_wrap_wxPanel_GetDefaultItem(PyObject
*self
, PyObject
*args
) {
3263 PyObject
* _resultobj
;
3270 if(!PyArg_ParseTuple(args
,"s:wxPanel_GetDefaultItem",&_argc0
))
3273 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPanel_p")) {
3274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_GetDefaultItem. Expected _wxPanel_p.");
3279 wxPy_BEGIN_ALLOW_THREADS
;
3280 _result
= (wxButton
*)wxPanel_GetDefaultItem(_arg0
);
3282 wxPy_END_ALLOW_THREADS
;
3283 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
3284 _resultobj
= Py_BuildValue("s",_ptemp
);
3288 #define wxPanel_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
3289 static PyObject
*_wrap_wxPanel_SetDefaultItem(PyObject
*self
, PyObject
*args
) {
3290 PyObject
* _resultobj
;
3297 if(!PyArg_ParseTuple(args
,"ss:wxPanel_SetDefaultItem",&_argc0
,&_argc1
))
3300 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPanel_p")) {
3301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_SetDefaultItem. Expected _wxPanel_p.");
3306 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxButton_p")) {
3307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPanel_SetDefaultItem. Expected _wxButton_p.");
3312 wxPy_BEGIN_ALLOW_THREADS
;
3313 wxPanel_SetDefaultItem(_arg0
,_arg1
);
3315 wxPy_END_ALLOW_THREADS
;
3316 } Py_INCREF(Py_None
);
3317 _resultobj
= Py_None
;
3321 static void *SwigwxDialogTowxPanel(void *ptr
) {
3324 src
= (wxDialog
*) ptr
;
3325 dest
= (wxPanel
*) src
;
3326 return (void *) dest
;
3329 static void *SwigwxDialogTowxWindow(void *ptr
) {
3332 src
= (wxDialog
*) ptr
;
3333 dest
= (wxWindow
*) src
;
3334 return (void *) dest
;
3337 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
3340 src
= (wxDialog
*) ptr
;
3341 dest
= (wxEvtHandler
*) src
;
3342 return (void *) dest
;
3345 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3346 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
) {
3347 PyObject
* _resultobj
;
3352 wxPoint
* _arg3
= &wxPyDefaultPosition
;
3353 wxSize
* _arg4
= &wxPyDefaultSize
;
3354 long _arg5
= (wxDEFAULT_DIALOG_STYLE
);
3355 char * _arg6
= "dialogBox";
3357 PyObject
* _obj2
= 0;
3363 if(!PyArg_ParseTuple(args
,"siO|ssls:new_wxDialog",&_argc0
,&_arg1
,&_obj2
,&_argc3
,&_argc4
,&_arg5
,&_arg6
))
3366 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
3367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
3372 if (!PyString_Check(_obj2
)) {
3373 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3376 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
3379 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxPoint_p")) {
3380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxDialog. Expected _wxPoint_p.");
3385 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_wxSize_p")) {
3386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxDialog. Expected _wxSize_p.");
3391 wxPy_BEGIN_ALLOW_THREADS
;
3392 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
3394 wxPy_END_ALLOW_THREADS
;
3395 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
3396 _resultobj
= Py_BuildValue("s",_ptemp
);
3404 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
3405 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
) {
3406 PyObject
* _resultobj
;
3408 int _arg1
= (wxBOTH
);
3412 if(!PyArg_ParseTuple(args
,"s|i:wxDialog_Centre",&_argc0
,&_arg1
))
3415 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
3421 wxPy_BEGIN_ALLOW_THREADS
;
3422 wxDialog_Centre(_arg0
,_arg1
);
3424 wxPy_END_ALLOW_THREADS
;
3425 } Py_INCREF(Py_None
);
3426 _resultobj
= Py_None
;
3430 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
3431 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
) {
3432 PyObject
* _resultobj
;
3438 if(!PyArg_ParseTuple(args
,"si:wxDialog_EndModal",&_argc0
,&_arg1
))
3441 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
3447 wxPy_BEGIN_ALLOW_THREADS
;
3448 wxDialog_EndModal(_arg0
,_arg1
);
3450 wxPy_END_ALLOW_THREADS
;
3451 } Py_INCREF(Py_None
);
3452 _resultobj
= Py_None
;
3456 #define wxDialog_GetTitle(_swigobj) (_swigobj->GetTitle())
3457 static PyObject
*_wrap_wxDialog_GetTitle(PyObject
*self
, PyObject
*args
) {
3458 PyObject
* _resultobj
;
3464 if(!PyArg_ParseTuple(args
,"s:wxDialog_GetTitle",&_argc0
))
3467 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetTitle. Expected _wxDialog_p.");
3473 wxPy_BEGIN_ALLOW_THREADS
;
3474 _result
= new wxString (wxDialog_GetTitle(_arg0
));
3476 wxPy_END_ALLOW_THREADS
;
3478 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3486 #define wxDialog_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
3487 static PyObject
*_wrap_wxDialog_Iconize(PyObject
*self
, PyObject
*args
) {
3488 PyObject
* _resultobj
;
3495 if(!PyArg_ParseTuple(args
,"si:wxDialog_Iconize",&_argc0
,&tempbool1
))
3498 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Iconize. Expected _wxDialog_p.");
3503 _arg1
= (bool ) tempbool1
;
3505 wxPy_BEGIN_ALLOW_THREADS
;
3506 wxDialog_Iconize(_arg0
,_arg1
);
3508 wxPy_END_ALLOW_THREADS
;
3509 } Py_INCREF(Py_None
);
3510 _resultobj
= Py_None
;
3514 #define wxDialog_IsIconized(_swigobj) (_swigobj->IsIconized())
3515 static PyObject
*_wrap_wxDialog_IsIconized(PyObject
*self
, PyObject
*args
) {
3516 PyObject
* _resultobj
;
3522 if(!PyArg_ParseTuple(args
,"s:wxDialog_IsIconized",&_argc0
))
3525 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsIconized. Expected _wxDialog_p.");
3531 wxPy_BEGIN_ALLOW_THREADS
;
3532 _result
= (bool )wxDialog_IsIconized(_arg0
);
3534 wxPy_END_ALLOW_THREADS
;
3535 } _resultobj
= Py_BuildValue("i",_result
);
3539 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
3540 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
) {
3541 PyObject
* _resultobj
;
3548 if(!PyArg_ParseTuple(args
,"si:wxDialog_SetModal",&_argc0
,&tempbool1
))
3551 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
3556 _arg1
= (bool ) tempbool1
;
3558 wxPy_BEGIN_ALLOW_THREADS
;
3559 wxDialog_SetModal(_arg0
,_arg1
);
3561 wxPy_END_ALLOW_THREADS
;
3562 } Py_INCREF(Py_None
);
3563 _resultobj
= Py_None
;
3567 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
3568 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
) {
3569 PyObject
* _resultobj
;
3575 if(!PyArg_ParseTuple(args
,"s:wxDialog_IsModal",&_argc0
))
3578 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
3584 wxPy_BEGIN_ALLOW_THREADS
;
3585 _result
= (bool )wxDialog_IsModal(_arg0
);
3587 wxPy_END_ALLOW_THREADS
;
3588 } _resultobj
= Py_BuildValue("i",_result
);
3592 #define wxDialog_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
3593 static PyObject
*_wrap_wxDialog_SetTitle(PyObject
*self
, PyObject
*args
) {
3594 PyObject
* _resultobj
;
3598 PyObject
* _obj1
= 0;
3601 if(!PyArg_ParseTuple(args
,"sO:wxDialog_SetTitle",&_argc0
,&_obj1
))
3604 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetTitle. Expected _wxDialog_p.");
3610 if (!PyString_Check(_obj1
)) {
3611 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3614 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3617 wxPy_BEGIN_ALLOW_THREADS
;
3618 wxDialog_SetTitle(_arg0
,*_arg1
);
3620 wxPy_END_ALLOW_THREADS
;
3621 } Py_INCREF(Py_None
);
3622 _resultobj
= Py_None
;
3630 #define wxDialog_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3631 static PyObject
*_wrap_wxDialog_Show(PyObject
*self
, PyObject
*args
) {
3632 PyObject
* _resultobj
;
3640 if(!PyArg_ParseTuple(args
,"si:wxDialog_Show",&_argc0
,&tempbool1
))
3643 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Show. Expected _wxDialog_p.");
3648 _arg1
= (bool ) tempbool1
;
3650 wxPy_BEGIN_ALLOW_THREADS
;
3651 _result
= (bool )wxDialog_Show(_arg0
,_arg1
);
3653 wxPy_END_ALLOW_THREADS
;
3654 } _resultobj
= Py_BuildValue("i",_result
);
3658 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
3659 static PyObject
*_wrap_wxDialog_ShowModal(PyObject
*self
, PyObject
*args
) {
3660 PyObject
* _resultobj
;
3666 if(!PyArg_ParseTuple(args
,"s:wxDialog_ShowModal",&_argc0
))
3669 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
3675 wxPy_BEGIN_ALLOW_THREADS
;
3676 _result
= (int )wxDialog_ShowModal(_arg0
);
3678 wxPy_END_ALLOW_THREADS
;
3679 } _resultobj
= Py_BuildValue("i",_result
);
3683 #define wxDialog_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
3684 static PyObject
*_wrap_wxDialog_GetReturnCode(PyObject
*self
, PyObject
*args
) {
3685 PyObject
* _resultobj
;
3691 if(!PyArg_ParseTuple(args
,"s:wxDialog_GetReturnCode",&_argc0
))
3694 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetReturnCode. Expected _wxDialog_p.");
3700 wxPy_BEGIN_ALLOW_THREADS
;
3701 _result
= (int )wxDialog_GetReturnCode(_arg0
);
3703 wxPy_END_ALLOW_THREADS
;
3704 } _resultobj
= Py_BuildValue("i",_result
);
3708 #define wxDialog_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
3709 static PyObject
*_wrap_wxDialog_SetReturnCode(PyObject
*self
, PyObject
*args
) {
3710 PyObject
* _resultobj
;
3716 if(!PyArg_ParseTuple(args
,"si:wxDialog_SetReturnCode",&_argc0
,&_arg1
))
3719 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetReturnCode. Expected _wxDialog_p.");
3725 wxPy_BEGIN_ALLOW_THREADS
;
3726 wxDialog_SetReturnCode(_arg0
,_arg1
);
3728 wxPy_END_ALLOW_THREADS
;
3729 } Py_INCREF(Py_None
);
3730 _resultobj
= Py_None
;
3734 static void *SwigwxScrolledWindowTowxPanel(void *ptr
) {
3735 wxScrolledWindow
*src
;
3737 src
= (wxScrolledWindow
*) ptr
;
3738 dest
= (wxPanel
*) src
;
3739 return (void *) dest
;
3742 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
3743 wxScrolledWindow
*src
;
3745 src
= (wxScrolledWindow
*) ptr
;
3746 dest
= (wxWindow
*) src
;
3747 return (void *) dest
;
3750 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
3751 wxScrolledWindow
*src
;
3753 src
= (wxScrolledWindow
*) ptr
;
3754 dest
= (wxEvtHandler
*) src
;
3755 return (void *) dest
;
3758 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3759 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
) {
3760 PyObject
* _resultobj
;
3761 wxScrolledWindow
* _result
;
3763 wxWindowID _arg1
= -1;
3764 wxPoint
* _arg2
= &wxPyDefaultPosition
;
3765 wxSize
* _arg3
= &wxPyDefaultSize
;
3766 long _arg4
= (wxHSCROLL
)|(wxVSCROLL
);
3767 char * _arg5
= "scrolledWindow";
3774 if(!PyArg_ParseTuple(args
,"s|issls:new_wxScrolledWindow",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
3777 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
3778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
3783 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
3784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxScrolledWindow. Expected _wxPoint_p.");
3789 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
3790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxScrolledWindow. Expected _wxSize_p.");
3795 wxPy_BEGIN_ALLOW_THREADS
;
3796 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
3798 wxPy_END_ALLOW_THREADS
;
3799 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
3800 _resultobj
= Py_BuildValue("s",_ptemp
);
3804 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
3805 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
) {
3806 PyObject
* _resultobj
;
3807 wxScrolledWindow
* _arg0
;
3815 if(!PyArg_ParseTuple(args
,"sii:wxScrolledWindow_EnableScrolling",&_argc0
,&tempbool1
,&tempbool2
))
3818 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
3823 _arg1
= (bool ) tempbool1
;
3824 _arg2
= (bool ) tempbool2
;
3826 wxPy_BEGIN_ALLOW_THREADS
;
3827 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
3829 wxPy_END_ALLOW_THREADS
;
3830 } Py_INCREF(Py_None
);
3831 _resultobj
= Py_None
;
3835 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
3836 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
) {
3837 PyObject
* _resultobj
;
3838 wxScrolledWindow
* _arg0
;
3852 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_GetScrollPixelsPerUnit",&_argc0
))
3855 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
3861 wxPy_BEGIN_ALLOW_THREADS
;
3862 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
3864 wxPy_END_ALLOW_THREADS
;
3865 } Py_INCREF(Py_None
);
3866 _resultobj
= Py_None
;
3869 o
= PyInt_FromLong((long) (*_arg1
));
3870 _resultobj
= t_output_helper(_resultobj
, o
);
3874 o
= PyInt_FromLong((long) (*_arg2
));
3875 _resultobj
= t_output_helper(_resultobj
, o
);
3880 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
3881 static PyObject
*_wrap_wxScrolledWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
) {
3882 PyObject
* _resultobj
;
3883 wxScrolledWindow
* _arg0
;
3897 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_GetVirtualSize",&_argc0
))
3900 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
3906 wxPy_BEGIN_ALLOW_THREADS
;
3907 wxScrolledWindow_GetVirtualSize(_arg0
,_arg1
,_arg2
);
3909 wxPy_END_ALLOW_THREADS
;
3910 } Py_INCREF(Py_None
);
3911 _resultobj
= Py_None
;
3914 o
= PyInt_FromLong((long) (*_arg1
));
3915 _resultobj
= t_output_helper(_resultobj
, o
);
3919 o
= PyInt_FromLong((long) (*_arg2
));
3920 _resultobj
= t_output_helper(_resultobj
, o
);
3925 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
3926 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
) {
3927 PyObject
* _resultobj
;
3929 wxScrolledWindow
* _arg0
;
3933 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_IsRetained",&_argc0
))
3936 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
3942 wxPy_BEGIN_ALLOW_THREADS
;
3943 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
3945 wxPy_END_ALLOW_THREADS
;
3946 } _resultobj
= Py_BuildValue("i",_result
);
3950 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
3951 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
) {
3952 PyObject
* _resultobj
;
3953 wxScrolledWindow
* _arg0
;
3959 if(!PyArg_ParseTuple(args
,"ss:wxScrolledWindow_PrepareDC",&_argc0
,&_argc1
))
3962 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
3968 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxDC_p")) {
3969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
3974 wxPy_BEGIN_ALLOW_THREADS
;
3975 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
3977 wxPy_END_ALLOW_THREADS
;
3978 } Py_INCREF(Py_None
);
3979 _resultobj
= Py_None
;
3983 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
3984 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
) {
3985 PyObject
* _resultobj
;
3986 wxScrolledWindow
* _arg0
;
3992 if(!PyArg_ParseTuple(args
,"sii:wxScrolledWindow_Scroll",&_argc0
,&_arg1
,&_arg2
))
3995 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
4001 wxPy_BEGIN_ALLOW_THREADS
;
4002 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
4004 wxPy_END_ALLOW_THREADS
;
4005 } Py_INCREF(Py_None
);
4006 _resultobj
= Py_None
;
4010 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4011 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
) {
4012 PyObject
* _resultobj
;
4013 wxScrolledWindow
* _arg0
;
4023 if(!PyArg_ParseTuple(args
,"siiii|ii:wxScrolledWindow_SetScrollbars",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4026 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
4027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
4032 wxPy_BEGIN_ALLOW_THREADS
;
4033 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4035 wxPy_END_ALLOW_THREADS
;
4036 } Py_INCREF(Py_None
);
4037 _resultobj
= Py_None
;
4041 #define wxScrolledWindow_ViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->ViewStart(_swigarg0,_swigarg1))
4042 static PyObject
*_wrap_wxScrolledWindow_ViewStart(PyObject
*self
, PyObject
*args
) {
4043 PyObject
* _resultobj
;
4044 wxScrolledWindow
* _arg0
;
4058 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_ViewStart",&_argc0
))
4061 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
4062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_ViewStart. Expected _wxScrolledWindow_p.");
4067 wxPy_BEGIN_ALLOW_THREADS
;
4068 wxScrolledWindow_ViewStart(_arg0
,_arg1
,_arg2
);
4070 wxPy_END_ALLOW_THREADS
;
4071 } Py_INCREF(Py_None
);
4072 _resultobj
= Py_None
;
4075 o
= PyInt_FromLong((long) (*_arg1
));
4076 _resultobj
= t_output_helper(_resultobj
, o
);
4080 o
= PyInt_FromLong((long) (*_arg2
));
4081 _resultobj
= t_output_helper(_resultobj
, o
);
4086 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
4089 src
= (wxMenu
*) ptr
;
4090 dest
= (wxEvtHandler
*) src
;
4091 return (void *) dest
;
4094 #define new_wxMenu(_swigarg0) (new wxMenu(_swigarg0))
4095 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
) {
4096 PyObject
* _resultobj
;
4098 wxString
* _arg0
= &wxPyEmptyStr
;
4099 PyObject
* _obj0
= 0;
4103 if(!PyArg_ParseTuple(args
,"|O:new_wxMenu",&_obj0
))
4107 if (!PyString_Check(_obj0
)) {
4108 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4111 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
4114 wxPy_BEGIN_ALLOW_THREADS
;
4115 _result
= (wxMenu
*)new_wxMenu(*_arg0
);
4117 wxPy_END_ALLOW_THREADS
;
4118 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
4119 _resultobj
= Py_BuildValue("s",_ptemp
);
4127 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4128 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
) {
4129 PyObject
* _resultobj
;
4133 wxString
* _arg3
= &wxPyEmptyStr
;
4136 PyObject
* _obj2
= 0;
4137 PyObject
* _obj3
= 0;
4140 if(!PyArg_ParseTuple(args
,"siO|Oi:wxMenu_Append",&_argc0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
4143 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
4149 if (!PyString_Check(_obj2
)) {
4150 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4153 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4157 if (!PyString_Check(_obj3
)) {
4158 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4161 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
4164 wxPy_BEGIN_ALLOW_THREADS
;
4165 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
4167 wxPy_END_ALLOW_THREADS
;
4168 } Py_INCREF(Py_None
);
4169 _resultobj
= Py_None
;
4181 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4182 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
) {
4183 PyObject
* _resultobj
;
4188 wxString
* _arg4
= &wxPyEmptyStr
;
4190 PyObject
* _obj2
= 0;
4192 PyObject
* _obj4
= 0;
4195 if(!PyArg_ParseTuple(args
,"siOs|O:wxMenu_AppendMenu",&_argc0
,&_arg1
,&_obj2
,&_argc3
,&_obj4
))
4198 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
4204 if (!PyString_Check(_obj2
)) {
4205 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4208 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4211 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxMenu_p")) {
4212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
4218 if (!PyString_Check(_obj4
)) {
4219 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4222 _arg4
= new wxString(PyString_AsString(_obj4
), PyString_Size(_obj4
));
4225 wxPy_BEGIN_ALLOW_THREADS
;
4226 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
4228 wxPy_END_ALLOW_THREADS
;
4229 } Py_INCREF(Py_None
);
4230 _resultobj
= Py_None
;
4242 #define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
4243 static PyObject
*_wrap_wxMenu_AppendItem(PyObject
*self
, PyObject
*args
) {
4244 PyObject
* _resultobj
;
4251 if(!PyArg_ParseTuple(args
,"ss:wxMenu_AppendItem",&_argc0
,&_argc1
))
4254 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
4260 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxMenuItem_p")) {
4261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
4266 wxPy_BEGIN_ALLOW_THREADS
;
4267 wxMenu_AppendItem(_arg0
,_arg1
);
4269 wxPy_END_ALLOW_THREADS
;
4270 } Py_INCREF(Py_None
);
4271 _resultobj
= Py_None
;
4275 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
4276 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
) {
4277 PyObject
* _resultobj
;
4282 if(!PyArg_ParseTuple(args
,"s:wxMenu_AppendSeparator",&_argc0
))
4285 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
4291 wxPy_BEGIN_ALLOW_THREADS
;
4292 wxMenu_AppendSeparator(_arg0
);
4294 wxPy_END_ALLOW_THREADS
;
4295 } Py_INCREF(Py_None
);
4296 _resultobj
= Py_None
;
4300 #define wxMenu_Break(_swigobj) (_swigobj->Break())
4301 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
) {
4302 PyObject
* _resultobj
;
4307 if(!PyArg_ParseTuple(args
,"s:wxMenu_Break",&_argc0
))
4310 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
4316 wxPy_BEGIN_ALLOW_THREADS
;
4317 wxMenu_Break(_arg0
);
4319 wxPy_END_ALLOW_THREADS
;
4320 } Py_INCREF(Py_None
);
4321 _resultobj
= Py_None
;
4325 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
4326 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
) {
4327 PyObject
* _resultobj
;
4335 if(!PyArg_ParseTuple(args
,"sii:wxMenu_Check",&_argc0
,&_arg1
,&tempbool2
))
4338 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
4343 _arg2
= (bool ) tempbool2
;
4345 wxPy_BEGIN_ALLOW_THREADS
;
4346 wxMenu_Check(_arg0
,_arg1
,_arg2
);
4348 wxPy_END_ALLOW_THREADS
;
4349 } Py_INCREF(Py_None
);
4350 _resultobj
= Py_None
;
4354 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
4355 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
) {
4356 PyObject
* _resultobj
;
4364 if(!PyArg_ParseTuple(args
,"sii:wxMenu_Enable",&_argc0
,&_arg1
,&tempbool2
))
4367 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
4372 _arg2
= (bool ) tempbool2
;
4374 wxPy_BEGIN_ALLOW_THREADS
;
4375 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
4377 wxPy_END_ALLOW_THREADS
;
4378 } Py_INCREF(Py_None
);
4379 _resultobj
= Py_None
;
4383 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
4384 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
) {
4385 PyObject
* _resultobj
;
4390 PyObject
* _obj1
= 0;
4393 if(!PyArg_ParseTuple(args
,"sO:wxMenu_FindItem",&_argc0
,&_obj1
))
4396 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
4402 if (!PyString_Check(_obj1
)) {
4403 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4406 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4409 wxPy_BEGIN_ALLOW_THREADS
;
4410 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
4412 wxPy_END_ALLOW_THREADS
;
4413 } _resultobj
= Py_BuildValue("i",_result
);
4421 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
4422 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
) {
4423 PyObject
* _resultobj
;
4429 if(!PyArg_ParseTuple(args
,"s:wxMenu_GetTitle",&_argc0
))
4432 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
4438 wxPy_BEGIN_ALLOW_THREADS
;
4439 _result
= new wxString (wxMenu_GetTitle(_arg0
));
4441 wxPy_END_ALLOW_THREADS
;
4443 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
4451 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4452 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
) {
4453 PyObject
* _resultobj
;
4457 PyObject
* _obj1
= 0;
4460 if(!PyArg_ParseTuple(args
,"sO:wxMenu_SetTitle",&_argc0
,&_obj1
))
4463 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
4469 if (!PyString_Check(_obj1
)) {
4470 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4473 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4476 wxPy_BEGIN_ALLOW_THREADS
;
4477 wxMenu_SetTitle(_arg0
,*_arg1
);
4479 wxPy_END_ALLOW_THREADS
;
4480 } Py_INCREF(Py_None
);
4481 _resultobj
= Py_None
;
4489 #define wxMenu_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
4490 static PyObject
*_wrap_wxMenu_FindItemForId(PyObject
*self
, PyObject
*args
) {
4491 PyObject
* _resultobj
;
4492 wxMenuItem
* _result
;
4499 if(!PyArg_ParseTuple(args
,"si:wxMenu_FindItemForId",&_argc0
,&_arg1
))
4502 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemForId. Expected _wxMenu_p.");
4508 wxPy_BEGIN_ALLOW_THREADS
;
4509 _result
= (wxMenuItem
*)wxMenu_FindItemForId(_arg0
,_arg1
);
4511 wxPy_END_ALLOW_THREADS
;
4512 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
4513 _resultobj
= Py_BuildValue("s",_ptemp
);
4517 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
4518 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
) {
4519 PyObject
* _resultobj
;
4526 if(!PyArg_ParseTuple(args
,"si:wxMenu_GetHelpString",&_argc0
,&_arg1
))
4529 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
4535 wxPy_BEGIN_ALLOW_THREADS
;
4536 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
4538 wxPy_END_ALLOW_THREADS
;
4540 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
4548 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
4549 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
) {
4550 PyObject
* _resultobj
;
4557 if(!PyArg_ParseTuple(args
,"si:wxMenu_GetLabel",&_argc0
,&_arg1
))
4560 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
4566 wxPy_BEGIN_ALLOW_THREADS
;
4567 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
4569 wxPy_END_ALLOW_THREADS
;
4571 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
4579 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
4580 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
) {
4581 PyObject
* _resultobj
;
4586 PyObject
* _obj2
= 0;
4589 if(!PyArg_ParseTuple(args
,"siO:wxMenu_SetHelpString",&_argc0
,&_arg1
,&_obj2
))
4592 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
4598 if (!PyString_Check(_obj2
)) {
4599 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4602 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4605 wxPy_BEGIN_ALLOW_THREADS
;
4606 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
4608 wxPy_END_ALLOW_THREADS
;
4609 } Py_INCREF(Py_None
);
4610 _resultobj
= Py_None
;
4618 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
4619 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
) {
4620 PyObject
* _resultobj
;
4627 if(!PyArg_ParseTuple(args
,"si:wxMenu_IsChecked",&_argc0
,&_arg1
))
4630 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
4636 wxPy_BEGIN_ALLOW_THREADS
;
4637 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
4639 wxPy_END_ALLOW_THREADS
;
4640 } _resultobj
= Py_BuildValue("i",_result
);
4644 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
4645 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
) {
4646 PyObject
* _resultobj
;
4653 if(!PyArg_ParseTuple(args
,"si:wxMenu_IsEnabled",&_argc0
,&_arg1
))
4656 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
4662 wxPy_BEGIN_ALLOW_THREADS
;
4663 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
4665 wxPy_END_ALLOW_THREADS
;
4666 } _resultobj
= Py_BuildValue("i",_result
);
4670 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
4671 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
) {
4672 PyObject
* _resultobj
;
4677 PyObject
* _obj2
= 0;
4680 if(!PyArg_ParseTuple(args
,"siO:wxMenu_SetLabel",&_argc0
,&_arg1
,&_obj2
))
4683 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
4689 if (!PyString_Check(_obj2
)) {
4690 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4693 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4696 wxPy_BEGIN_ALLOW_THREADS
;
4697 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
4699 wxPy_END_ALLOW_THREADS
;
4700 } Py_INCREF(Py_None
);
4701 _resultobj
= Py_None
;
4709 static void *SwigwxPyMenuTowxMenu(void *ptr
) {
4712 src
= (wxPyMenu
*) ptr
;
4713 dest
= (wxMenu
*) src
;
4714 return (void *) dest
;
4717 static void *SwigwxPyMenuTowxEvtHandler(void *ptr
) {
4720 src
= (wxPyMenu
*) ptr
;
4721 dest
= (wxEvtHandler
*) src
;
4722 return (void *) dest
;
4725 #define new_wxPyMenu(_swigarg0,_swigarg1) (new wxPyMenu(_swigarg0,_swigarg1))
4726 static PyObject
*_wrap_new_wxPyMenu(PyObject
*self
, PyObject
*args
) {
4727 PyObject
* _resultobj
;
4729 wxString
* _arg0
= &wxPyEmptyStr
;
4730 PyObject
* _arg1
= NULL
;
4731 PyObject
* _obj0
= 0;
4732 PyObject
* _obj1
= 0;
4736 if(!PyArg_ParseTuple(args
,"|OO:new_wxPyMenu",&_obj0
,&_obj1
))
4740 if (!PyString_Check(_obj0
)) {
4741 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4744 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
4751 wxPy_BEGIN_ALLOW_THREADS
;
4752 _result
= (wxPyMenu
*)new_wxPyMenu(*_arg0
,_arg1
);
4754 wxPy_END_ALLOW_THREADS
;
4755 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyMenu_p");
4756 _resultobj
= Py_BuildValue("s",_ptemp
);
4764 #define delete_wxPyMenu(_swigobj) (delete _swigobj)
4765 static PyObject
*_wrap_delete_wxPyMenu(PyObject
*self
, PyObject
*args
) {
4766 PyObject
* _resultobj
;
4771 if(!PyArg_ParseTuple(args
,"s:delete_wxPyMenu",&_argc0
))
4774 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyMenu_p")) {
4775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyMenu. Expected _wxPyMenu_p.");
4780 wxPy_BEGIN_ALLOW_THREADS
;
4781 delete_wxPyMenu(_arg0
);
4783 wxPy_END_ALLOW_THREADS
;
4784 } Py_INCREF(Py_None
);
4785 _resultobj
= Py_None
;
4789 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
4792 src
= (wxMenuBar
*) ptr
;
4793 dest
= (wxEvtHandler
*) src
;
4794 return (void *) dest
;
4797 #define new_wxMenuBar() (new wxMenuBar())
4798 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
) {
4799 PyObject
* _resultobj
;
4800 wxMenuBar
* _result
;
4804 if(!PyArg_ParseTuple(args
,":new_wxMenuBar"))
4807 wxPy_BEGIN_ALLOW_THREADS
;
4808 _result
= (wxMenuBar
*)new_wxMenuBar();
4810 wxPy_END_ALLOW_THREADS
;
4811 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
4812 _resultobj
= Py_BuildValue("s",_ptemp
);
4816 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
4817 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
) {
4818 PyObject
* _resultobj
;
4824 PyObject
* _obj2
= 0;
4827 if(!PyArg_ParseTuple(args
,"ssO:wxMenuBar_Append",&_argc0
,&_argc1
,&_obj2
))
4830 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
4836 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxMenu_p")) {
4837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
4842 if (!PyString_Check(_obj2
)) {
4843 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4846 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4849 wxPy_BEGIN_ALLOW_THREADS
;
4850 wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
4852 wxPy_END_ALLOW_THREADS
;
4853 } Py_INCREF(Py_None
);
4854 _resultobj
= Py_None
;
4862 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
4863 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
) {
4864 PyObject
* _resultobj
;
4872 if(!PyArg_ParseTuple(args
,"sii:wxMenuBar_Check",&_argc0
,&_arg1
,&tempbool2
))
4875 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
4880 _arg2
= (bool ) tempbool2
;
4882 wxPy_BEGIN_ALLOW_THREADS
;
4883 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
4885 wxPy_END_ALLOW_THREADS
;
4886 } Py_INCREF(Py_None
);
4887 _resultobj
= Py_None
;
4891 #define wxMenuBar_Checked(_swigobj,_swigarg0) (_swigobj->Checked(_swigarg0))
4892 static PyObject
*_wrap_wxMenuBar_Checked(PyObject
*self
, PyObject
*args
) {
4893 PyObject
* _resultobj
;
4900 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_Checked",&_argc0
,&_arg1
))
4903 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Checked. Expected _wxMenuBar_p.");
4909 wxPy_BEGIN_ALLOW_THREADS
;
4910 _result
= (bool )wxMenuBar_Checked(_arg0
,_arg1
);
4912 wxPy_END_ALLOW_THREADS
;
4913 } _resultobj
= Py_BuildValue("i",_result
);
4917 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
4918 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
) {
4919 PyObject
* _resultobj
;
4927 if(!PyArg_ParseTuple(args
,"sii:wxMenuBar_Enable",&_argc0
,&_arg1
,&tempbool2
))
4930 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
4935 _arg2
= (bool ) tempbool2
;
4937 wxPy_BEGIN_ALLOW_THREADS
;
4938 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
4940 wxPy_END_ALLOW_THREADS
;
4941 } Py_INCREF(Py_None
);
4942 _resultobj
= Py_None
;
4946 #define wxMenuBar_Enabled(_swigobj,_swigarg0) (_swigobj->Enabled(_swigarg0))
4947 static PyObject
*_wrap_wxMenuBar_Enabled(PyObject
*self
, PyObject
*args
) {
4948 PyObject
* _resultobj
;
4955 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_Enabled",&_argc0
,&_arg1
))
4958 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enabled. Expected _wxMenuBar_p.");
4964 wxPy_BEGIN_ALLOW_THREADS
;
4965 _result
= (bool )wxMenuBar_Enabled(_arg0
,_arg1
);
4967 wxPy_END_ALLOW_THREADS
;
4968 } _resultobj
= Py_BuildValue("i",_result
);
4972 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
4973 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
) {
4974 PyObject
* _resultobj
;
4980 PyObject
* _obj1
= 0;
4981 PyObject
* _obj2
= 0;
4984 if(!PyArg_ParseTuple(args
,"sOO:wxMenuBar_FindMenuItem",&_argc0
,&_obj1
,&_obj2
))
4987 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
4993 if (!PyString_Check(_obj1
)) {
4994 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4997 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5000 if (!PyString_Check(_obj2
)) {
5001 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5004 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5007 wxPy_BEGIN_ALLOW_THREADS
;
5008 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
5010 wxPy_END_ALLOW_THREADS
;
5011 } _resultobj
= Py_BuildValue("i",_result
);
5023 #define wxMenuBar_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
5024 static PyObject
*_wrap_wxMenuBar_FindItemForId(PyObject
*self
, PyObject
*args
) {
5025 PyObject
* _resultobj
;
5026 wxMenuItem
* _result
;
5033 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_FindItemForId",&_argc0
,&_arg1
))
5036 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemForId. Expected _wxMenuBar_p.");
5042 wxPy_BEGIN_ALLOW_THREADS
;
5043 _result
= (wxMenuItem
*)wxMenuBar_FindItemForId(_arg0
,_arg1
);
5045 wxPy_END_ALLOW_THREADS
;
5046 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
5047 _resultobj
= Py_BuildValue("s",_ptemp
);
5051 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
5052 static PyObject
*_wrap_wxMenuBar_EnableTop(PyObject
*self
, PyObject
*args
) {
5053 PyObject
* _resultobj
;
5061 if(!PyArg_ParseTuple(args
,"sii:wxMenuBar_EnableTop",&_argc0
,&_arg1
,&tempbool2
))
5064 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
5069 _arg2
= (bool ) tempbool2
;
5071 wxPy_BEGIN_ALLOW_THREADS
;
5072 wxMenuBar_EnableTop(_arg0
,_arg1
,_arg2
);
5074 wxPy_END_ALLOW_THREADS
;
5075 } Py_INCREF(Py_None
);
5076 _resultobj
= Py_None
;
5080 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
5081 static PyObject
*_wrap_wxMenuBar_GetHelpString(PyObject
*self
, PyObject
*args
) {
5082 PyObject
* _resultobj
;
5089 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_GetHelpString",&_argc0
,&_arg1
))
5092 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
5098 wxPy_BEGIN_ALLOW_THREADS
;
5099 _result
= new wxString (wxMenuBar_GetHelpString(_arg0
,_arg1
));
5101 wxPy_END_ALLOW_THREADS
;
5103 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5111 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
5112 static PyObject
*_wrap_wxMenuBar_GetLabel(PyObject
*self
, PyObject
*args
) {
5113 PyObject
* _resultobj
;
5120 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_GetLabel",&_argc0
,&_arg1
))
5123 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
5129 wxPy_BEGIN_ALLOW_THREADS
;
5130 _result
= new wxString (wxMenuBar_GetLabel(_arg0
,_arg1
));
5132 wxPy_END_ALLOW_THREADS
;
5134 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5142 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
5143 static PyObject
*_wrap_wxMenuBar_SetHelpString(PyObject
*self
, PyObject
*args
) {
5144 PyObject
* _resultobj
;
5149 PyObject
* _obj2
= 0;
5152 if(!PyArg_ParseTuple(args
,"siO:wxMenuBar_SetHelpString",&_argc0
,&_arg1
,&_obj2
))
5155 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
5161 if (!PyString_Check(_obj2
)) {
5162 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5165 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5168 wxPy_BEGIN_ALLOW_THREADS
;
5169 wxMenuBar_SetHelpString(_arg0
,_arg1
,*_arg2
);
5171 wxPy_END_ALLOW_THREADS
;
5172 } Py_INCREF(Py_None
);
5173 _resultobj
= Py_None
;
5181 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
5182 static PyObject
*_wrap_wxMenuBar_SetLabel(PyObject
*self
, PyObject
*args
) {
5183 PyObject
* _resultobj
;
5188 PyObject
* _obj2
= 0;
5191 if(!PyArg_ParseTuple(args
,"siO:wxMenuBar_SetLabel",&_argc0
,&_arg1
,&_obj2
))
5194 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
5200 if (!PyString_Check(_obj2
)) {
5201 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5204 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5207 wxPy_BEGIN_ALLOW_THREADS
;
5208 wxMenuBar_SetLabel(_arg0
,_arg1
,*_arg2
);
5210 wxPy_END_ALLOW_THREADS
;
5211 } Py_INCREF(Py_None
);
5212 _resultobj
= Py_None
;
5220 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
5221 static PyObject
*_wrap_wxMenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
) {
5222 PyObject
* _resultobj
;
5229 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_GetLabelTop",&_argc0
,&_arg1
))
5232 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
5238 wxPy_BEGIN_ALLOW_THREADS
;
5239 _result
= new wxString (wxMenuBar_GetLabelTop(_arg0
,_arg1
));
5241 wxPy_END_ALLOW_THREADS
;
5243 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5251 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
5252 static PyObject
*_wrap_wxMenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
) {
5253 PyObject
* _resultobj
;
5258 PyObject
* _obj2
= 0;
5261 if(!PyArg_ParseTuple(args
,"siO:wxMenuBar_SetLabelTop",&_argc0
,&_arg1
,&_obj2
))
5264 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
5270 if (!PyString_Check(_obj2
)) {
5271 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5274 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5277 wxPy_BEGIN_ALLOW_THREADS
;
5278 wxMenuBar_SetLabelTop(_arg0
,_arg1
,*_arg2
);
5280 wxPy_END_ALLOW_THREADS
;
5281 } Py_INCREF(Py_None
);
5282 _resultobj
= Py_None
;
5290 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
5291 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
) {
5292 PyObject
* _resultobj
;
5298 if(!PyArg_ParseTuple(args
,"s:wxMenuBar_GetMenuCount",&_argc0
))
5301 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
5307 wxPy_BEGIN_ALLOW_THREADS
;
5308 _result
= (int )wxMenuBar_GetMenuCount(_arg0
);
5310 wxPy_END_ALLOW_THREADS
;
5311 } _resultobj
= Py_BuildValue("i",_result
);
5315 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
5316 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
) {
5317 PyObject
* _resultobj
;
5325 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_GetMenu",&_argc0
,&_arg1
))
5328 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
5334 wxPy_BEGIN_ALLOW_THREADS
;
5335 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
5337 wxPy_END_ALLOW_THREADS
;
5338 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
5339 _resultobj
= Py_BuildValue("s",_ptemp
);
5343 #define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5344 static PyObject
*_wrap_new_wxMenuItem(PyObject
*self
, PyObject
*args
) {
5345 PyObject
* _resultobj
;
5346 wxMenuItem
* _result
;
5347 wxMenu
* _arg0
= NULL
;
5348 int _arg1
= ID_SEPARATOR
;
5349 wxString
* _arg2
= &wxPyEmptyStr
;
5350 wxString
* _arg3
= &wxPyEmptyStr
;
5352 wxMenu
* _arg5
= NULL
;
5354 PyObject
* _obj2
= 0;
5355 PyObject
* _obj3
= 0;
5361 if(!PyArg_ParseTuple(args
,"|siOOis:new_wxMenuItem",&_argc0
,&_arg1
,&_obj2
,&_obj3
,&tempbool4
,&_argc5
))
5364 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
5365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
5371 if (!PyString_Check(_obj2
)) {
5372 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5375 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5379 if (!PyString_Check(_obj3
)) {
5380 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5383 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
5385 _arg4
= (bool ) tempbool4
;
5387 if (SWIG_GetPtr(_argc5
,(void **) &_arg5
,"_wxMenu_p")) {
5388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
5393 wxPy_BEGIN_ALLOW_THREADS
;
5394 _result
= (wxMenuItem
*)new_wxMenuItem(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
5396 wxPy_END_ALLOW_THREADS
;
5397 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
5398 _resultobj
= Py_BuildValue("s",_ptemp
);
5410 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
5411 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
) {
5412 PyObject
* _resultobj
;
5418 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsSeparator",&_argc0
))
5421 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
5427 wxPy_BEGIN_ALLOW_THREADS
;
5428 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
5430 wxPy_END_ALLOW_THREADS
;
5431 } _resultobj
= Py_BuildValue("i",_result
);
5435 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
5436 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
) {
5437 PyObject
* _resultobj
;
5443 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsEnabled",&_argc0
))
5446 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
5452 wxPy_BEGIN_ALLOW_THREADS
;
5453 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
5455 wxPy_END_ALLOW_THREADS
;
5456 } _resultobj
= Py_BuildValue("i",_result
);
5460 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
5461 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
) {
5462 PyObject
* _resultobj
;
5468 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsChecked",&_argc0
))
5471 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
5477 wxPy_BEGIN_ALLOW_THREADS
;
5478 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
5480 wxPy_END_ALLOW_THREADS
;
5481 } _resultobj
= Py_BuildValue("i",_result
);
5485 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
5486 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
) {
5487 PyObject
* _resultobj
;
5493 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsCheckable",&_argc0
))
5496 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
5502 wxPy_BEGIN_ALLOW_THREADS
;
5503 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
5505 wxPy_END_ALLOW_THREADS
;
5506 } _resultobj
= Py_BuildValue("i",_result
);
5510 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
5511 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
) {
5512 PyObject
* _resultobj
;
5518 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetId",&_argc0
))
5521 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
5527 wxPy_BEGIN_ALLOW_THREADS
;
5528 _result
= (int )wxMenuItem_GetId(_arg0
);
5530 wxPy_END_ALLOW_THREADS
;
5531 } _resultobj
= Py_BuildValue("i",_result
);
5535 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
5536 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
) {
5537 PyObject
* _resultobj
;
5544 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetSubMenu",&_argc0
))
5547 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
5553 wxPy_BEGIN_ALLOW_THREADS
;
5554 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
5556 wxPy_END_ALLOW_THREADS
;
5557 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
5558 _resultobj
= Py_BuildValue("s",_ptemp
);
5562 #define wxMenuItem_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
5563 static PyObject
*_wrap_wxMenuItem_SetName(PyObject
*self
, PyObject
*args
) {
5564 PyObject
* _resultobj
;
5568 PyObject
* _obj1
= 0;
5571 if(!PyArg_ParseTuple(args
,"sO:wxMenuItem_SetName",&_argc0
,&_obj1
))
5574 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetName. Expected _wxMenuItem_p.");
5580 if (!PyString_Check(_obj1
)) {
5581 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5584 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5587 wxPy_BEGIN_ALLOW_THREADS
;
5588 wxMenuItem_SetName(_arg0
,*_arg1
);
5590 wxPy_END_ALLOW_THREADS
;
5591 } Py_INCREF(Py_None
);
5592 _resultobj
= Py_None
;
5600 #define wxMenuItem_GetName(_swigobj) (_swigobj->GetName())
5601 static PyObject
*_wrap_wxMenuItem_GetName(PyObject
*self
, PyObject
*args
) {
5602 PyObject
* _resultobj
;
5608 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetName",&_argc0
))
5611 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetName. Expected _wxMenuItem_p.");
5617 wxPy_BEGIN_ALLOW_THREADS
;
5618 _result
= new wxString (wxMenuItem_GetName(_arg0
));
5620 wxPy_END_ALLOW_THREADS
;
5622 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5630 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
5631 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
) {
5632 PyObject
* _resultobj
;
5638 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetHelp",&_argc0
))
5641 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
5647 wxPy_BEGIN_ALLOW_THREADS
;
5648 _result
= new wxString (wxMenuItem_GetHelp(_arg0
));
5650 wxPy_END_ALLOW_THREADS
;
5652 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5660 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
5661 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
) {
5662 PyObject
* _resultobj
;
5666 PyObject
* _obj1
= 0;
5669 if(!PyArg_ParseTuple(args
,"sO:wxMenuItem_SetHelp",&_argc0
,&_obj1
))
5672 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
5678 if (!PyString_Check(_obj1
)) {
5679 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5682 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5685 wxPy_BEGIN_ALLOW_THREADS
;
5686 wxMenuItem_SetHelp(_arg0
,*_arg1
);
5688 wxPy_END_ALLOW_THREADS
;
5689 } Py_INCREF(Py_None
);
5690 _resultobj
= Py_None
;
5698 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
5699 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
) {
5700 PyObject
* _resultobj
;
5707 if(!PyArg_ParseTuple(args
,"s|i:wxMenuItem_Enable",&_argc0
,&tempbool1
))
5710 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
5715 _arg1
= (bool ) tempbool1
;
5717 wxPy_BEGIN_ALLOW_THREADS
;
5718 wxMenuItem_Enable(_arg0
,_arg1
);
5720 wxPy_END_ALLOW_THREADS
;
5721 } Py_INCREF(Py_None
);
5722 _resultobj
= Py_None
;
5726 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
5727 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
) {
5728 PyObject
* _resultobj
;
5735 if(!PyArg_ParseTuple(args
,"s|i:wxMenuItem_Check",&_argc0
,&tempbool1
))
5738 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
5743 _arg1
= (bool ) tempbool1
;
5745 wxPy_BEGIN_ALLOW_THREADS
;
5746 wxMenuItem_Check(_arg0
,_arg1
);
5748 wxPy_END_ALLOW_THREADS
;
5749 } Py_INCREF(Py_None
);
5750 _resultobj
= Py_None
;
5754 #define wxMenuItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
5755 static PyObject
*_wrap_wxMenuItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
) {
5756 PyObject
* _resultobj
;
5763 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetBackgroundColour",&_argc0
))
5766 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetBackgroundColour. Expected _wxMenuItem_p.");
5772 wxPy_BEGIN_ALLOW_THREADS
;
5773 wxColour
& _result_ref
= wxMenuItem_GetBackgroundColour(_arg0
);
5774 _result
= (wxColour
*) &_result_ref
;
5776 wxPy_END_ALLOW_THREADS
;
5777 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
5778 _resultobj
= Py_BuildValue("s",_ptemp
);
5782 #define wxMenuItem_GetBitmap(_swigobj,_swigarg0) (_swigobj->GetBitmap(_swigarg0))
5783 static PyObject
*_wrap_wxMenuItem_GetBitmap(PyObject
*self
, PyObject
*args
) {
5784 PyObject
* _resultobj
;
5793 if(!PyArg_ParseTuple(args
,"s|i:wxMenuItem_GetBitmap",&_argc0
,&tempbool1
))
5796 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetBitmap. Expected _wxMenuItem_p.");
5801 _arg1
= (bool ) tempbool1
;
5803 wxPy_BEGIN_ALLOW_THREADS
;
5804 _result
= new wxBitmap (wxMenuItem_GetBitmap(_arg0
,_arg1
));
5806 wxPy_END_ALLOW_THREADS
;
5807 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
5808 _resultobj
= Py_BuildValue("s",_ptemp
);
5812 #define wxMenuItem_GetFont(_swigobj) (_swigobj->GetFont())
5813 static PyObject
*_wrap_wxMenuItem_GetFont(PyObject
*self
, PyObject
*args
) {
5814 PyObject
* _resultobj
;
5821 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetFont",&_argc0
))
5824 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetFont. Expected _wxMenuItem_p.");
5830 wxPy_BEGIN_ALLOW_THREADS
;
5831 wxFont
& _result_ref
= wxMenuItem_GetFont(_arg0
);
5832 _result
= (wxFont
*) &_result_ref
;
5834 wxPy_END_ALLOW_THREADS
;
5835 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
5836 _resultobj
= Py_BuildValue("s",_ptemp
);
5840 #define wxMenuItem_GetMarginWidth(_swigobj) (_swigobj->GetMarginWidth())
5841 static PyObject
*_wrap_wxMenuItem_GetMarginWidth(PyObject
*self
, PyObject
*args
) {
5842 PyObject
* _resultobj
;
5848 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetMarginWidth",&_argc0
))
5851 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMarginWidth. Expected _wxMenuItem_p.");
5857 wxPy_BEGIN_ALLOW_THREADS
;
5858 _result
= (int )wxMenuItem_GetMarginWidth(_arg0
);
5860 wxPy_END_ALLOW_THREADS
;
5861 } _resultobj
= Py_BuildValue("i",_result
);
5865 #define wxMenuItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
5866 static PyObject
*_wrap_wxMenuItem_GetTextColour(PyObject
*self
, PyObject
*args
) {
5867 PyObject
* _resultobj
;
5874 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetTextColour",&_argc0
))
5877 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetTextColour. Expected _wxMenuItem_p.");
5883 wxPy_BEGIN_ALLOW_THREADS
;
5884 wxColour
& _result_ref
= wxMenuItem_GetTextColour(_arg0
);
5885 _result
= (wxColour
*) &_result_ref
;
5887 wxPy_END_ALLOW_THREADS
;
5888 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
5889 _resultobj
= Py_BuildValue("s",_ptemp
);
5893 #define wxMenuItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5894 static PyObject
*_wrap_wxMenuItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
) {
5895 PyObject
* _resultobj
;
5902 if(!PyArg_ParseTuple(args
,"ss:wxMenuItem_SetBackgroundColour",&_argc0
,&_argc1
))
5905 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetBackgroundColour. Expected _wxMenuItem_p.");
5911 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
5912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetBackgroundColour. Expected _wxColour_p.");
5917 wxPy_BEGIN_ALLOW_THREADS
;
5918 wxMenuItem_SetBackgroundColour(_arg0
,*_arg1
);
5920 wxPy_END_ALLOW_THREADS
;
5921 } Py_INCREF(Py_None
);
5922 _resultobj
= Py_None
;
5926 #define wxMenuItem_SetBitmaps(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBitmaps(_swigarg0,_swigarg1))
5927 static PyObject
*_wrap_wxMenuItem_SetBitmaps(PyObject
*self
, PyObject
*args
) {
5928 PyObject
* _resultobj
;
5931 wxBitmap
* _arg2
= &wxNullBitmap
;
5937 if(!PyArg_ParseTuple(args
,"ss|s:wxMenuItem_SetBitmaps",&_argc0
,&_argc1
,&_argc2
))
5940 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetBitmaps. Expected _wxMenuItem_p.");
5946 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBitmap_p")) {
5947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetBitmaps. Expected _wxBitmap_p.");
5952 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxBitmap_p")) {
5953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuItem_SetBitmaps. Expected _wxBitmap_p.");
5958 wxPy_BEGIN_ALLOW_THREADS
;
5959 wxMenuItem_SetBitmaps(_arg0
,*_arg1
,*_arg2
);
5961 wxPy_END_ALLOW_THREADS
;
5962 } Py_INCREF(Py_None
);
5963 _resultobj
= Py_None
;
5967 #define wxMenuItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5968 static PyObject
*_wrap_wxMenuItem_SetFont(PyObject
*self
, PyObject
*args
) {
5969 PyObject
* _resultobj
;
5976 if(!PyArg_ParseTuple(args
,"ss:wxMenuItem_SetFont",&_argc0
,&_argc1
))
5979 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetFont. Expected _wxMenuItem_p.");
5985 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxFont_p")) {
5986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetFont. Expected _wxFont_p.");
5991 wxPy_BEGIN_ALLOW_THREADS
;
5992 wxMenuItem_SetFont(_arg0
,*_arg1
);
5994 wxPy_END_ALLOW_THREADS
;
5995 } Py_INCREF(Py_None
);
5996 _resultobj
= Py_None
;
6000 #define wxMenuItem_SetMarginWidth(_swigobj,_swigarg0) (_swigobj->SetMarginWidth(_swigarg0))
6001 static PyObject
*_wrap_wxMenuItem_SetMarginWidth(PyObject
*self
, PyObject
*args
) {
6002 PyObject
* _resultobj
;
6008 if(!PyArg_ParseTuple(args
,"si:wxMenuItem_SetMarginWidth",&_argc0
,&_arg1
))
6011 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetMarginWidth. Expected _wxMenuItem_p.");
6017 wxPy_BEGIN_ALLOW_THREADS
;
6018 wxMenuItem_SetMarginWidth(_arg0
,_arg1
);
6020 wxPy_END_ALLOW_THREADS
;
6021 } Py_INCREF(Py_None
);
6022 _resultobj
= Py_None
;
6026 #define wxMenuItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
6027 static PyObject
*_wrap_wxMenuItem_SetTextColour(PyObject
*self
, PyObject
*args
) {
6028 PyObject
* _resultobj
;
6035 if(!PyArg_ParseTuple(args
,"ss:wxMenuItem_SetTextColour",&_argc0
,&_argc1
))
6038 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetTextColour. Expected _wxMenuItem_p.");
6044 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
6045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetTextColour. Expected _wxColour_p.");
6050 wxPy_BEGIN_ALLOW_THREADS
;
6051 wxMenuItem_SetTextColour(_arg0
,*_arg1
);
6053 wxPy_END_ALLOW_THREADS
;
6054 } Py_INCREF(Py_None
);
6055 _resultobj
= Py_None
;
6059 #define wxMenuItem_DeleteSubMenu(_swigobj) (_swigobj->DeleteSubMenu())
6060 static PyObject
*_wrap_wxMenuItem_DeleteSubMenu(PyObject
*self
, PyObject
*args
) {
6061 PyObject
* _resultobj
;
6066 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_DeleteSubMenu",&_argc0
))
6069 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_DeleteSubMenu. Expected _wxMenuItem_p.");
6075 wxPy_BEGIN_ALLOW_THREADS
;
6076 wxMenuItem_DeleteSubMenu(_arg0
);
6078 wxPy_END_ALLOW_THREADS
;
6079 } Py_INCREF(Py_None
);
6080 _resultobj
= Py_None
;
6084 static PyMethodDef windowscMethods
[] = {
6085 { "wxMenuItem_DeleteSubMenu", _wrap_wxMenuItem_DeleteSubMenu
, 1 },
6086 { "wxMenuItem_SetTextColour", _wrap_wxMenuItem_SetTextColour
, 1 },
6087 { "wxMenuItem_SetMarginWidth", _wrap_wxMenuItem_SetMarginWidth
, 1 },
6088 { "wxMenuItem_SetFont", _wrap_wxMenuItem_SetFont
, 1 },
6089 { "wxMenuItem_SetBitmaps", _wrap_wxMenuItem_SetBitmaps
, 1 },
6090 { "wxMenuItem_SetBackgroundColour", _wrap_wxMenuItem_SetBackgroundColour
, 1 },
6091 { "wxMenuItem_GetTextColour", _wrap_wxMenuItem_GetTextColour
, 1 },
6092 { "wxMenuItem_GetMarginWidth", _wrap_wxMenuItem_GetMarginWidth
, 1 },
6093 { "wxMenuItem_GetFont", _wrap_wxMenuItem_GetFont
, 1 },
6094 { "wxMenuItem_GetBitmap", _wrap_wxMenuItem_GetBitmap
, 1 },
6095 { "wxMenuItem_GetBackgroundColour", _wrap_wxMenuItem_GetBackgroundColour
, 1 },
6096 { "wxMenuItem_Check", _wrap_wxMenuItem_Check
, 1 },
6097 { "wxMenuItem_Enable", _wrap_wxMenuItem_Enable
, 1 },
6098 { "wxMenuItem_SetHelp", _wrap_wxMenuItem_SetHelp
, 1 },
6099 { "wxMenuItem_GetHelp", _wrap_wxMenuItem_GetHelp
, 1 },
6100 { "wxMenuItem_GetName", _wrap_wxMenuItem_GetName
, 1 },
6101 { "wxMenuItem_SetName", _wrap_wxMenuItem_SetName
, 1 },
6102 { "wxMenuItem_GetSubMenu", _wrap_wxMenuItem_GetSubMenu
, 1 },
6103 { "wxMenuItem_GetId", _wrap_wxMenuItem_GetId
, 1 },
6104 { "wxMenuItem_IsCheckable", _wrap_wxMenuItem_IsCheckable
, 1 },
6105 { "wxMenuItem_IsChecked", _wrap_wxMenuItem_IsChecked
, 1 },
6106 { "wxMenuItem_IsEnabled", _wrap_wxMenuItem_IsEnabled
, 1 },
6107 { "wxMenuItem_IsSeparator", _wrap_wxMenuItem_IsSeparator
, 1 },
6108 { "new_wxMenuItem", _wrap_new_wxMenuItem
, 1 },
6109 { "wxMenuBar_GetMenu", _wrap_wxMenuBar_GetMenu
, 1 },
6110 { "wxMenuBar_GetMenuCount", _wrap_wxMenuBar_GetMenuCount
, 1 },
6111 { "wxMenuBar_SetLabelTop", _wrap_wxMenuBar_SetLabelTop
, 1 },
6112 { "wxMenuBar_GetLabelTop", _wrap_wxMenuBar_GetLabelTop
, 1 },
6113 { "wxMenuBar_SetLabel", _wrap_wxMenuBar_SetLabel
, 1 },
6114 { "wxMenuBar_SetHelpString", _wrap_wxMenuBar_SetHelpString
, 1 },
6115 { "wxMenuBar_GetLabel", _wrap_wxMenuBar_GetLabel
, 1 },
6116 { "wxMenuBar_GetHelpString", _wrap_wxMenuBar_GetHelpString
, 1 },
6117 { "wxMenuBar_EnableTop", _wrap_wxMenuBar_EnableTop
, 1 },
6118 { "wxMenuBar_FindItemForId", _wrap_wxMenuBar_FindItemForId
, 1 },
6119 { "wxMenuBar_FindMenuItem", _wrap_wxMenuBar_FindMenuItem
, 1 },
6120 { "wxMenuBar_Enabled", _wrap_wxMenuBar_Enabled
, 1 },
6121 { "wxMenuBar_Enable", _wrap_wxMenuBar_Enable
, 1 },
6122 { "wxMenuBar_Checked", _wrap_wxMenuBar_Checked
, 1 },
6123 { "wxMenuBar_Check", _wrap_wxMenuBar_Check
, 1 },
6124 { "wxMenuBar_Append", _wrap_wxMenuBar_Append
, 1 },
6125 { "new_wxMenuBar", _wrap_new_wxMenuBar
, 1 },
6126 { "delete_wxPyMenu", _wrap_delete_wxPyMenu
, 1 },
6127 { "new_wxPyMenu", _wrap_new_wxPyMenu
, 1 },
6128 { "wxMenu_SetLabel", _wrap_wxMenu_SetLabel
, 1 },
6129 { "wxMenu_IsEnabled", _wrap_wxMenu_IsEnabled
, 1 },
6130 { "wxMenu_IsChecked", _wrap_wxMenu_IsChecked
, 1 },
6131 { "wxMenu_SetHelpString", _wrap_wxMenu_SetHelpString
, 1 },
6132 { "wxMenu_GetLabel", _wrap_wxMenu_GetLabel
, 1 },
6133 { "wxMenu_GetHelpString", _wrap_wxMenu_GetHelpString
, 1 },
6134 { "wxMenu_FindItemForId", _wrap_wxMenu_FindItemForId
, 1 },
6135 { "wxMenu_SetTitle", _wrap_wxMenu_SetTitle
, 1 },
6136 { "wxMenu_GetTitle", _wrap_wxMenu_GetTitle
, 1 },
6137 { "wxMenu_FindItem", _wrap_wxMenu_FindItem
, 1 },
6138 { "wxMenu_Enable", _wrap_wxMenu_Enable
, 1 },
6139 { "wxMenu_Check", _wrap_wxMenu_Check
, 1 },
6140 { "wxMenu_Break", _wrap_wxMenu_Break
, 1 },
6141 { "wxMenu_AppendSeparator", _wrap_wxMenu_AppendSeparator
, 1 },
6142 { "wxMenu_AppendItem", _wrap_wxMenu_AppendItem
, 1 },
6143 { "wxMenu_AppendMenu", _wrap_wxMenu_AppendMenu
, 1 },
6144 { "wxMenu_Append", _wrap_wxMenu_Append
, 1 },
6145 { "new_wxMenu", _wrap_new_wxMenu
, 1 },
6146 { "wxScrolledWindow_ViewStart", _wrap_wxScrolledWindow_ViewStart
, 1 },
6147 { "wxScrolledWindow_SetScrollbars", _wrap_wxScrolledWindow_SetScrollbars
, 1 },
6148 { "wxScrolledWindow_Scroll", _wrap_wxScrolledWindow_Scroll
, 1 },
6149 { "wxScrolledWindow_PrepareDC", _wrap_wxScrolledWindow_PrepareDC
, 1 },
6150 { "wxScrolledWindow_IsRetained", _wrap_wxScrolledWindow_IsRetained
, 1 },
6151 { "wxScrolledWindow_GetVirtualSize", _wrap_wxScrolledWindow_GetVirtualSize
, 1 },
6152 { "wxScrolledWindow_GetScrollPixelsPerUnit", _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, 1 },
6153 { "wxScrolledWindow_EnableScrolling", _wrap_wxScrolledWindow_EnableScrolling
, 1 },
6154 { "new_wxScrolledWindow", _wrap_new_wxScrolledWindow
, 1 },
6155 { "wxDialog_SetReturnCode", _wrap_wxDialog_SetReturnCode
, 1 },
6156 { "wxDialog_GetReturnCode", _wrap_wxDialog_GetReturnCode
, 1 },
6157 { "wxDialog_ShowModal", _wrap_wxDialog_ShowModal
, 1 },
6158 { "wxDialog_Show", _wrap_wxDialog_Show
, 1 },
6159 { "wxDialog_SetTitle", _wrap_wxDialog_SetTitle
, 1 },
6160 { "wxDialog_IsModal", _wrap_wxDialog_IsModal
, 1 },
6161 { "wxDialog_SetModal", _wrap_wxDialog_SetModal
, 1 },
6162 { "wxDialog_IsIconized", _wrap_wxDialog_IsIconized
, 1 },
6163 { "wxDialog_Iconize", _wrap_wxDialog_Iconize
, 1 },
6164 { "wxDialog_GetTitle", _wrap_wxDialog_GetTitle
, 1 },
6165 { "wxDialog_EndModal", _wrap_wxDialog_EndModal
, 1 },
6166 { "wxDialog_Centre", _wrap_wxDialog_Centre
, 1 },
6167 { "new_wxDialog", _wrap_new_wxDialog
, 1 },
6168 { "wxPanel_SetDefaultItem", _wrap_wxPanel_SetDefaultItem
, 1 },
6169 { "wxPanel_GetDefaultItem", _wrap_wxPanel_GetDefaultItem
, 1 },
6170 { "wxPanel_InitDialog", _wrap_wxPanel_InitDialog
, 1 },
6171 { "new_wxPanel", _wrap_new_wxPanel
, 1 },
6172 { "wxWindow_GetToolTip", _wrap_wxWindow_GetToolTip
, 1 },
6173 { "wxWindow_SetToolTip", _wrap_wxWindow_SetToolTip
, 1 },
6174 { "wxWindow_SetToolTipString", _wrap_wxWindow_SetToolTipString
, 1 },
6175 { "wxWindow_ConvertPixelSizeToDialog", _wrap_wxWindow_ConvertPixelSizeToDialog
, 1 },
6176 { "wxWindow_ConvertPixelPointToDialog", _wrap_wxWindow_ConvertPixelPointToDialog
, 1 },
6177 { "wxWindow_DLG_SZE", _wrap_wxWindow_ConvertDialogSizeToPixels
, 1 },
6178 { "wxWindow_DLG_PNT", _wrap_wxWindow_ConvertDialogPointToPixels
, 1 },
6179 { "wxWindow_ConvertDialogSizeToPixels", _wrap_wxWindow_ConvertDialogSizeToPixels
, 1 },
6180 { "wxWindow_ConvertDialogPointToPixels", _wrap_wxWindow_ConvertDialogPointToPixels
, 1 },
6181 { "wxWindow_WarpPointer", _wrap_wxWindow_WarpPointer
, 1 },
6182 { "wxWindow_Validate", _wrap_wxWindow_Validate
, 1 },
6183 { "wxWindow_TransferDataToWindow", _wrap_wxWindow_TransferDataToWindow
, 1 },
6184 { "wxWindow_TransferDataFromWindow", _wrap_wxWindow_TransferDataFromWindow
, 1 },
6185 { "wxWindow_Show", _wrap_wxWindow_Show
, 1 },
6186 { "wxWindow_SetTitle", _wrap_wxWindow_SetTitle
, 1 },
6187 { "wxWindow_SetCursor", _wrap_wxWindow_SetCursor
, 1 },
6188 { "wxWindow_SetClientSize", _wrap_wxWindow_SetClientSize
, 1 },
6189 { "wxWindow_SetClientSizeWH", _wrap_wxWindow_SetClientSizeWH
, 1 },
6190 { "wxWindow_SetSizeHints", _wrap_wxWindow_SetSizeHints
, 1 },
6191 { "wxWindow_SetPosition", _wrap_wxWindow_SetPosition
, 1 },
6192 { "wxWindow_SetSize", _wrap_wxWindow_SetSize
, 1 },
6193 { "wxWindow_SetDimensions", _wrap_wxWindow_SetDimensions
, 1 },
6194 { "wxWindow_SetScrollPos", _wrap_wxWindow_SetScrollPos
, 1 },
6195 { "wxWindow_SetScrollbar", _wrap_wxWindow_SetScrollbar
, 1 },
6196 { "wxWindow_SetName", _wrap_wxWindow_SetName
, 1 },
6197 { "wxWindow_SetId", _wrap_wxWindow_SetId
, 1 },
6198 { "wxWindow_SetForegroundColour", _wrap_wxWindow_SetForegroundColour
, 1 },
6199 { "wxWindow_SetFont", _wrap_wxWindow_SetFont
, 1 },
6200 { "wxWindow_SetFocus", _wrap_wxWindow_SetFocus
, 1 },
6201 { "wxWindow_SetConstraints", _wrap_wxWindow_SetConstraints
, 1 },
6202 { "wxWindow_SetBackgroundColour", _wrap_wxWindow_SetBackgroundColour
, 1 },
6203 { "wxWindow_SetAutoLayout", _wrap_wxWindow_SetAutoLayout
, 1 },
6204 { "wxWindow_SetAcceleratorTable", _wrap_wxWindow_SetAcceleratorTable
, 1 },
6205 { "wxWindow_ScrollWindow", _wrap_wxWindow_ScrollWindow
, 1 },
6206 { "wxWindow_ScreenToClient", _wrap_wxWindow_ScreenToClient
, 1 },
6207 { "wxWindow_ScreenToClientXY", _wrap_wxWindow_ScreenToClientXY
, 1 },
6208 { "wxWindow_Reparent", _wrap_wxWindow_Reparent
, 1 },
6209 { "wxWindow_ReleaseMouse", _wrap_wxWindow_ReleaseMouse
, 1 },
6210 { "wxWindow_Refresh", _wrap_wxWindow_Refresh
, 1 },
6211 { "wxWindow_Raise", _wrap_wxWindow_Raise
, 1 },
6212 { "wxWindow_PopupMenu", _wrap_wxWindow_PopupMenu
, 1 },
6213 { "wxWindow_Move", _wrap_wxWindow_Move
, 1 },
6214 { "wxWindow_MoveXY", _wrap_wxWindow_MoveXY
, 1 },
6215 { "wxWindow_MakeModal", _wrap_wxWindow_MakeModal
, 1 },
6216 { "wxWindow_Lower", _wrap_wxWindow_Lower
, 1 },
6217 { "wxWindow_LoadFromResource", _wrap_wxWindow_LoadFromResource
, 1 },
6218 { "wxWindow_Layout", _wrap_wxWindow_Layout
, 1 },
6219 { "wxWindow_IsTopLevel", _wrap_wxWindow_IsTopLevel
, 1 },
6220 { "wxWindow_IsShown", _wrap_wxWindow_IsShown
, 1 },
6221 { "wxWindow_IsRetained", _wrap_wxWindow_IsRetained
, 1 },
6222 { "wxWindow_IsEnabled", _wrap_wxWindow_IsEnabled
, 1 },
6223 { "wxWindow_InitDialog", _wrap_wxWindow_InitDialog
, 1 },
6224 { "wxWindow_Hide", _wrap_wxWindow_Hide
, 1 },
6225 { "wxWindow_GetWindowStyleFlag", _wrap_wxWindow_GetWindowStyleFlag
, 1 },
6226 { "wxWindow_GetTitle", _wrap_wxWindow_GetTitle
, 1 },
6227 { "wxWindow_GetFullTextExtent", _wrap_wxWindow_GetFullTextExtent
, 1 },
6228 { "wxWindow_GetTextExtent", _wrap_wxWindow_GetTextExtent
, 1 },
6229 { "wxWindow_GetSize", _wrap_wxWindow_GetSize
, 1 },
6230 { "wxWindow_GetSizeTuple", _wrap_wxWindow_GetSizeTuple
, 1 },
6231 { "wxWindow_GetScrollRange", _wrap_wxWindow_GetScrollRange
, 1 },
6232 { "wxWindow_GetScrollPos", _wrap_wxWindow_GetScrollPos
, 1 },
6233 { "wxWindow_GetScrollThumb", _wrap_wxWindow_GetScrollThumb
, 1 },
6234 { "wxWindow_GetRect", _wrap_wxWindow_GetRect
, 1 },
6235 { "wxWindow_GetPosition", _wrap_wxWindow_GetPosition
, 1 },
6236 { "wxWindow_GetPositionTuple", _wrap_wxWindow_GetPositionTuple
, 1 },
6237 { "wxWindow_GetParent", _wrap_wxWindow_GetParent
, 1 },
6238 { "wxWindow_GetName", _wrap_wxWindow_GetName
, 1 },
6239 { "wxWindow_SetLabel", _wrap_wxWindow_SetLabel
, 1 },
6240 { "wxWindow_GetLabel", _wrap_wxWindow_GetLabel
, 1 },
6241 { "wxWindow_GetId", _wrap_wxWindow_GetId
, 1 },
6242 { "wxWindow_GetGrandParent", _wrap_wxWindow_GetGrandParent
, 1 },
6243 { "wxWindow_GetForegroundColour", _wrap_wxWindow_GetForegroundColour
, 1 },
6244 { "wxWindow_GetFont", _wrap_wxWindow_GetFont
, 1 },
6245 { "wxWindow_GetConstraints", _wrap_wxWindow_GetConstraints
, 1 },
6246 { "wxWindow_GetClientSize", _wrap_wxWindow_GetClientSize
, 1 },
6247 { "wxWindow_GetClientSizeTuple", _wrap_wxWindow_GetClientSizeTuple
, 1 },
6248 { "wxWindow_GetCharWidth", _wrap_wxWindow_GetCharWidth
, 1 },
6249 { "wxWindow_GetCharHeight", _wrap_wxWindow_GetCharHeight
, 1 },
6250 { "wxWindow_GetBackgroundColour", _wrap_wxWindow_GetBackgroundColour
, 1 },
6251 { "wxWindow_Fit", _wrap_wxWindow_Fit
, 1 },
6252 { "wxWindow_FindWindowByName", _wrap_wxWindow_FindWindowByName
, 1 },
6253 { "wxWindow_FindWindowById", _wrap_wxWindow_FindWindowById
, 1 },
6254 { "wxWindow_Enable", _wrap_wxWindow_Enable
, 1 },
6255 { "wxWindow_DragAcceptFiles", _wrap_wxWindow_DragAcceptFiles
, 1 },
6256 { "wxWindow_DestroyChildren", _wrap_wxWindow_DestroyChildren
, 1 },
6257 { "wxWindow_Destroy", _wrap_wxWindow_Destroy
, 1 },
6258 { "wxWindow_Close", _wrap_wxWindow_Close
, 1 },
6259 { "wxWindow_ClientToScreen", _wrap_wxWindow_ClientToScreen
, 1 },
6260 { "wxWindow_ClientToScreenXY", _wrap_wxWindow_ClientToScreenXY
, 1 },
6261 { "wxWindow_CenterOnParent", _wrap_wxWindow_CenterOnParent
, 1 },
6262 { "wxWindow_CentreOnParent", _wrap_wxWindow_CentreOnParent
, 1 },
6263 { "wxWindow_Centre", _wrap_wxWindow_Centre
, 1 },
6264 { "wxWindow_Center", _wrap_wxWindow_Center
, 1 },
6265 { "wxWindow_CaptureMouse", _wrap_wxWindow_CaptureMouse
, 1 },
6266 { "new_wxWindow", _wrap_new_wxWindow
, 1 },
6267 { "wxEvtHandler_Connect", _wrap_wxEvtHandler_Connect
, 1 },
6268 { "wxEvtHandler_ProcessEvent", _wrap_wxEvtHandler_ProcessEvent
, 1 },
6269 { "wxWindow_FromHWND", _wrap_wxWindow_FromHWND
, 1 },
6270 { "wxWindow_FindFocus", _wrap_wxWindow_FindFocus
, 1 },
6273 static PyObject
*SWIG_globals
;
6277 SWIGEXPORT(void,initwindowsc
)() {
6279 SWIG_globals
= SWIG_newvarlink();
6280 m
= Py_InitModule("windowsc", windowscMethods
);
6281 d
= PyModule_GetDict(m
);
6283 * These are the pointer type-equivalency mappings.
6284 * (Used by the SWIG pointer type-checker).
6286 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
6287 SWIG_RegisterMapping("_signed_long","_long",0);
6288 SWIG_RegisterMapping("_wxPrintQuality","_int",0);
6289 SWIG_RegisterMapping("_wxPrintQuality","_signed_int",0);
6290 SWIG_RegisterMapping("_wxPrintQuality","_unsigned_int",0);
6291 SWIG_RegisterMapping("_wxPrintQuality","_wxWindowID",0);
6292 SWIG_RegisterMapping("_wxPrintQuality","_uint",0);
6293 SWIG_RegisterMapping("_wxPrintQuality","_EBool",0);
6294 SWIG_RegisterMapping("_wxPrintQuality","_size_t",0);
6295 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
6296 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
6297 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
6298 SWIG_RegisterMapping("_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
6299 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxPyMenu",SwigwxPyMenuTowxEvtHandler
);
6300 SWIG_RegisterMapping("_class_wxEvtHandler","_wxPyMenu",SwigwxPyMenuTowxEvtHandler
);
6301 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
);
6302 SWIG_RegisterMapping("_class_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
);
6303 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
6304 SWIG_RegisterMapping("_class_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
6305 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
);
6306 SWIG_RegisterMapping("_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
);
6307 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
);
6308 SWIG_RegisterMapping("_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
);
6309 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
);
6310 SWIG_RegisterMapping("_class_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
);
6311 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
6312 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
6313 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
6314 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
6315 SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
6316 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
6317 SWIG_RegisterMapping("_byte","_unsigned_char",0);
6318 SWIG_RegisterMapping("_long","_wxDash",0);
6319 SWIG_RegisterMapping("_long","_unsigned_long",0);
6320 SWIG_RegisterMapping("_long","_signed_long",0);
6321 SWIG_RegisterMapping("_wxImageList","_class_wxImageList",0);
6322 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
6323 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
6324 SWIG_RegisterMapping("_size_t","_wxPrintQuality",0);
6325 SWIG_RegisterMapping("_size_t","_unsigned_int",0);
6326 SWIG_RegisterMapping("_size_t","_int",0);
6327 SWIG_RegisterMapping("_size_t","_wxWindowID",0);
6328 SWIG_RegisterMapping("_size_t","_uint",0);
6329 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
6330 SWIG_RegisterMapping("_wxPrinterDC","_class_wxPrinterDC",0);
6331 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
6332 SWIG_RegisterMapping("_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
);
6333 SWIG_RegisterMapping("_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
);
6334 SWIG_RegisterMapping("_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
);
6335 SWIG_RegisterMapping("_wxPanel","_wxDialog",SwigwxDialogTowxPanel
);
6336 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
6337 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
6338 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
6339 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
6340 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
6341 SWIG_RegisterMapping("_uint","_wxPrintQuality",0);
6342 SWIG_RegisterMapping("_uint","_size_t",0);
6343 SWIG_RegisterMapping("_uint","_unsigned_int",0);
6344 SWIG_RegisterMapping("_uint","_int",0);
6345 SWIG_RegisterMapping("_uint","_wxWindowID",0);
6346 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
6347 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
6348 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
6349 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
6350 SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
6351 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
6352 SWIG_RegisterMapping("_EBool","_wxPrintQuality",0);
6353 SWIG_RegisterMapping("_EBool","_signed_int",0);
6354 SWIG_RegisterMapping("_EBool","_int",0);
6355 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
6356 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
6357 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
6358 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
6359 SWIG_RegisterMapping("_unsigned_long","_long",0);
6360 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
6361 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
6362 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
6363 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
6364 SWIG_RegisterMapping("_class_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
);
6365 SWIG_RegisterMapping("_class_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
);
6366 SWIG_RegisterMapping("_class_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
);
6367 SWIG_RegisterMapping("_class_wxPanel","_wxDialog",SwigwxDialogTowxPanel
);
6368 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
6369 SWIG_RegisterMapping("_signed_int","_wxPrintQuality",0);
6370 SWIG_RegisterMapping("_signed_int","_EBool",0);
6371 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
6372 SWIG_RegisterMapping("_signed_int","_int",0);
6373 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
6374 SWIG_RegisterMapping("_wxMetaFileDC","_class_wxMetaFileDC",0);
6375 SWIG_RegisterMapping("_wxMenu","_class_wxPyMenu",SwigwxPyMenuTowxMenu
);
6376 SWIG_RegisterMapping("_wxMenu","_wxPyMenu",SwigwxPyMenuTowxMenu
);
6377 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
6378 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
6379 SWIG_RegisterMapping("_WXTYPE","_short",0);
6380 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
6381 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
6382 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
6383 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
6384 SWIG_RegisterMapping("_unsigned_short","_short",0);
6385 SWIG_RegisterMapping("_class_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
6386 SWIG_RegisterMapping("_class_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
6387 SWIG_RegisterMapping("_class_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
);
6388 SWIG_RegisterMapping("_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow
);
6389 SWIG_RegisterMapping("_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
);
6390 SWIG_RegisterMapping("_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow
);
6391 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
6392 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
6393 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
6394 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
6395 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
6396 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
6397 SWIG_RegisterMapping("_signed_short","_short",0);
6398 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
6399 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
6400 SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0);
6401 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
6402 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
6403 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
6404 SWIG_RegisterMapping("_unsigned_char","_byte",0);
6405 SWIG_RegisterMapping("_class_wxMetaFileDC","_wxMetaFileDC",0);
6406 SWIG_RegisterMapping("_class_wxMenu","_class_wxPyMenu",SwigwxPyMenuTowxMenu
);
6407 SWIG_RegisterMapping("_class_wxMenu","_wxPyMenu",SwigwxPyMenuTowxMenu
);
6408 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
6409 SWIG_RegisterMapping("_unsigned_int","_wxPrintQuality",0);
6410 SWIG_RegisterMapping("_unsigned_int","_size_t",0);
6411 SWIG_RegisterMapping("_unsigned_int","_uint",0);
6412 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
6413 SWIG_RegisterMapping("_unsigned_int","_int",0);
6414 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
6415 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
6416 SWIG_RegisterMapping("_class_wxPyMenu","_wxPyMenu",0);
6417 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
6418 SWIG_RegisterMapping("_short","_WXTYPE",0);
6419 SWIG_RegisterMapping("_short","_unsigned_short",0);
6420 SWIG_RegisterMapping("_short","_signed_short",0);
6421 SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0);
6422 SWIG_RegisterMapping("_wxWindowID","_wxPrintQuality",0);
6423 SWIG_RegisterMapping("_wxWindowID","_size_t",0);
6424 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
6425 SWIG_RegisterMapping("_wxWindowID","_uint",0);
6426 SWIG_RegisterMapping("_wxWindowID","_int",0);
6427 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
6428 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
6429 SWIG_RegisterMapping("_int","_wxPrintQuality",0);
6430 SWIG_RegisterMapping("_int","_size_t",0);
6431 SWIG_RegisterMapping("_int","_EBool",0);
6432 SWIG_RegisterMapping("_int","_uint",0);
6433 SWIG_RegisterMapping("_int","_wxWindowID",0);
6434 SWIG_RegisterMapping("_int","_unsigned_int",0);
6435 SWIG_RegisterMapping("_int","_signed_int",0);
6436 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
6437 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
6438 SWIG_RegisterMapping("_class_wxPrinterDC","_wxPrinterDC",0);
6439 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
6440 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
6441 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
6442 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
6443 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
6444 SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
6445 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
6446 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
6447 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
6448 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
6449 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
6450 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
6451 SWIG_RegisterMapping("_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
6452 SWIG_RegisterMapping("_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
6453 SWIG_RegisterMapping("_wxEvtHandler","_class_wxPyMenu",SwigwxPyMenuTowxEvtHandler
);
6454 SWIG_RegisterMapping("_wxEvtHandler","_wxPyMenu",SwigwxPyMenuTowxEvtHandler
);
6455 SWIG_RegisterMapping("_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
);
6456 SWIG_RegisterMapping("_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
);
6457 SWIG_RegisterMapping("_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
6458 SWIG_RegisterMapping("_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
6459 SWIG_RegisterMapping("_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
);
6460 SWIG_RegisterMapping("_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
);
6461 SWIG_RegisterMapping("_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
);
6462 SWIG_RegisterMapping("_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
);
6463 SWIG_RegisterMapping("_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
);
6464 SWIG_RegisterMapping("_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
);
6465 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
6466 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
6467 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
6468 SWIG_RegisterMapping("_wxDash","_long",0);
6469 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
6470 SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);
6471 SWIG_RegisterMapping("_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
6472 SWIG_RegisterMapping("_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
6473 SWIG_RegisterMapping("_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
);
6474 SWIG_RegisterMapping("_wxWindow","_wxDialog",SwigwxDialogTowxWindow
);
6475 SWIG_RegisterMapping("_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
);
6476 SWIG_RegisterMapping("_wxWindow","_wxPanel",SwigwxPanelTowxWindow
);
6477 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);