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
= (wxBOTH
);
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
= (wxBOTH
);
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
= (wxBOTH
);
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
= (wxBOTH
);
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_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
1561 static PyObject
*_wrap_wxWindow_GetUpdateRegion(PyObject
*self
, PyObject
*args
) {
1562 PyObject
* _resultobj
;
1569 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetUpdateRegion",&_argc0
))
1572 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
1578 wxPy_BEGIN_ALLOW_THREADS
;
1579 _result
= new wxRegion (wxWindow_GetUpdateRegion(_arg0
));
1581 wxPy_END_ALLOW_THREADS
;
1582 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRegion_p");
1583 _resultobj
= Py_BuildValue("s",_ptemp
);
1587 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
1588 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
) {
1589 PyObject
* _resultobj
;
1595 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetWindowStyleFlag",&_argc0
))
1598 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
1604 wxPy_BEGIN_ALLOW_THREADS
;
1605 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
1607 wxPy_END_ALLOW_THREADS
;
1608 } _resultobj
= Py_BuildValue("l",_result
);
1612 #define wxWindow_Hide(_swigobj) (_swigobj->Hide())
1613 static PyObject
*_wrap_wxWindow_Hide(PyObject
*self
, PyObject
*args
) {
1614 PyObject
* _resultobj
;
1620 if(!PyArg_ParseTuple(args
,"s:wxWindow_Hide",&_argc0
))
1623 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
1629 wxPy_BEGIN_ALLOW_THREADS
;
1630 _result
= (bool )wxWindow_Hide(_arg0
);
1632 wxPy_END_ALLOW_THREADS
;
1633 } _resultobj
= Py_BuildValue("i",_result
);
1637 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
1638 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
) {
1639 PyObject
* _resultobj
;
1644 if(!PyArg_ParseTuple(args
,"s:wxWindow_InitDialog",&_argc0
))
1647 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
1653 wxPy_BEGIN_ALLOW_THREADS
;
1654 wxWindow_InitDialog(_arg0
);
1656 wxPy_END_ALLOW_THREADS
;
1657 } Py_INCREF(Py_None
);
1658 _resultobj
= Py_None
;
1662 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
1663 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
) {
1664 PyObject
* _resultobj
;
1670 if(!PyArg_ParseTuple(args
,"s:wxWindow_IsEnabled",&_argc0
))
1673 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
1679 wxPy_BEGIN_ALLOW_THREADS
;
1680 _result
= (bool )wxWindow_IsEnabled(_arg0
);
1682 wxPy_END_ALLOW_THREADS
;
1683 } _resultobj
= Py_BuildValue("i",_result
);
1687 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
1688 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
) {
1689 PyObject
* _resultobj
;
1695 if(!PyArg_ParseTuple(args
,"s:wxWindow_IsRetained",&_argc0
))
1698 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
1704 wxPy_BEGIN_ALLOW_THREADS
;
1705 _result
= (bool )wxWindow_IsRetained(_arg0
);
1707 wxPy_END_ALLOW_THREADS
;
1708 } _resultobj
= Py_BuildValue("i",_result
);
1712 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
1713 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
) {
1714 PyObject
* _resultobj
;
1720 if(!PyArg_ParseTuple(args
,"s:wxWindow_IsShown",&_argc0
))
1723 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
1729 wxPy_BEGIN_ALLOW_THREADS
;
1730 _result
= (bool )wxWindow_IsShown(_arg0
);
1732 wxPy_END_ALLOW_THREADS
;
1733 } _resultobj
= Py_BuildValue("i",_result
);
1737 #define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
1738 static PyObject
*_wrap_wxWindow_IsTopLevel(PyObject
*self
, PyObject
*args
) {
1739 PyObject
* _resultobj
;
1745 if(!PyArg_ParseTuple(args
,"s:wxWindow_IsTopLevel",&_argc0
))
1748 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
1754 wxPy_BEGIN_ALLOW_THREADS
;
1755 _result
= (bool )wxWindow_IsTopLevel(_arg0
);
1757 wxPy_END_ALLOW_THREADS
;
1758 } _resultobj
= Py_BuildValue("i",_result
);
1762 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
1763 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
) {
1764 PyObject
* _resultobj
;
1769 if(!PyArg_ParseTuple(args
,"s:wxWindow_Layout",&_argc0
))
1772 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
1778 wxPy_BEGIN_ALLOW_THREADS
;
1779 wxWindow_Layout(_arg0
);
1781 wxPy_END_ALLOW_THREADS
;
1782 } Py_INCREF(Py_None
);
1783 _resultobj
= Py_None
;
1787 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
1788 static PyObject
*_wrap_wxWindow_LoadFromResource(PyObject
*self
, PyObject
*args
) {
1789 PyObject
* _resultobj
;
1794 wxResourceTable
* _arg3
= NULL
;
1797 PyObject
* _obj2
= 0;
1801 if(!PyArg_ParseTuple(args
,"ssO|s:wxWindow_LoadFromResource",&_argc0
,&_argc1
,&_obj2
,&_argc3
))
1804 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
1810 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
1811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
1816 if (!PyString_Check(_obj2
)) {
1817 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1820 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
1823 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxResourceTable_p")) {
1824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
1829 wxPy_BEGIN_ALLOW_THREADS
;
1830 _result
= (bool )wxWindow_LoadFromResource(_arg0
,_arg1
,*_arg2
,_arg3
);
1832 wxPy_END_ALLOW_THREADS
;
1833 } _resultobj
= Py_BuildValue("i",_result
);
1841 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
1842 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
) {
1843 PyObject
* _resultobj
;
1848 if(!PyArg_ParseTuple(args
,"s:wxWindow_Lower",&_argc0
))
1851 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
1857 wxPy_BEGIN_ALLOW_THREADS
;
1858 wxWindow_Lower(_arg0
);
1860 wxPy_END_ALLOW_THREADS
;
1861 } Py_INCREF(Py_None
);
1862 _resultobj
= Py_None
;
1866 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
1867 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
) {
1868 PyObject
* _resultobj
;
1875 if(!PyArg_ParseTuple(args
,"si:wxWindow_MakeModal",&_argc0
,&tempbool1
))
1878 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
1883 _arg1
= (bool ) tempbool1
;
1885 wxPy_BEGIN_ALLOW_THREADS
;
1886 wxWindow_MakeModal(_arg0
,_arg1
);
1888 wxPy_END_ALLOW_THREADS
;
1889 } Py_INCREF(Py_None
);
1890 _resultobj
= Py_None
;
1894 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
1895 static PyObject
*_wrap_wxWindow_MoveXY(PyObject
*self
, PyObject
*args
) {
1896 PyObject
* _resultobj
;
1903 if(!PyArg_ParseTuple(args
,"sii:wxWindow_MoveXY",&_argc0
,&_arg1
,&_arg2
))
1906 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
1912 wxPy_BEGIN_ALLOW_THREADS
;
1913 wxWindow_MoveXY(_arg0
,_arg1
,_arg2
);
1915 wxPy_END_ALLOW_THREADS
;
1916 } Py_INCREF(Py_None
);
1917 _resultobj
= Py_None
;
1921 #define wxWindow_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
1922 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
) {
1923 PyObject
* _resultobj
;
1930 if(!PyArg_ParseTuple(args
,"ss:wxWindow_Move",&_argc0
,&_argc1
))
1933 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
1939 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
1940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Move. Expected _wxPoint_p.");
1945 wxPy_BEGIN_ALLOW_THREADS
;
1946 wxWindow_Move(_arg0
,*_arg1
);
1948 wxPy_END_ALLOW_THREADS
;
1949 } Py_INCREF(Py_None
);
1950 _resultobj
= Py_None
;
1954 #define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
1955 static PyObject
*_wrap_wxWindow_PopupMenuXY(PyObject
*self
, PyObject
*args
) {
1956 PyObject
* _resultobj
;
1966 if(!PyArg_ParseTuple(args
,"ssii:wxWindow_PopupMenuXY",&_argc0
,&_argc1
,&_arg2
,&_arg3
))
1969 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
1975 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxMenu_p")) {
1976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
1981 wxPy_BEGIN_ALLOW_THREADS
;
1982 _result
= (bool )wxWindow_PopupMenuXY(_arg0
,_arg1
,_arg2
,_arg3
);
1984 wxPy_END_ALLOW_THREADS
;
1985 } _resultobj
= Py_BuildValue("i",_result
);
1989 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
1990 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
) {
1991 PyObject
* _resultobj
;
2001 if(!PyArg_ParseTuple(args
,"sss:wxWindow_PopupMenu",&_argc0
,&_argc1
,&_argc2
))
2004 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
2010 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxMenu_p")) {
2011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
2016 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
2017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxWindow_PopupMenu. Expected _wxPoint_p.");
2022 wxPy_BEGIN_ALLOW_THREADS
;
2023 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,*_arg2
);
2025 wxPy_END_ALLOW_THREADS
;
2026 } _resultobj
= Py_BuildValue("i",_result
);
2030 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
2031 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
) {
2032 PyObject
* _resultobj
;
2037 if(!PyArg_ParseTuple(args
,"s:wxWindow_Raise",&_argc0
))
2040 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
2046 wxPy_BEGIN_ALLOW_THREADS
;
2047 wxWindow_Raise(_arg0
);
2049 wxPy_END_ALLOW_THREADS
;
2050 } Py_INCREF(Py_None
);
2051 _resultobj
= Py_None
;
2055 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
2056 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
) {
2057 PyObject
* _resultobj
;
2060 wxRect
* _arg2
= NULL
;
2066 if(!PyArg_ParseTuple(args
,"s|is:wxWindow_Refresh",&_argc0
,&tempbool1
,&_argc2
))
2069 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
2074 _arg1
= (bool ) tempbool1
;
2076 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxRect_p")) {
2077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxWindow_Refresh. Expected _wxRect_p.");
2082 wxPy_BEGIN_ALLOW_THREADS
;
2083 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
2085 wxPy_END_ALLOW_THREADS
;
2086 } Py_INCREF(Py_None
);
2087 _resultobj
= Py_None
;
2091 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
2092 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
) {
2093 PyObject
* _resultobj
;
2098 if(!PyArg_ParseTuple(args
,"s:wxWindow_ReleaseMouse",&_argc0
))
2101 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
2107 wxPy_BEGIN_ALLOW_THREADS
;
2108 wxWindow_ReleaseMouse(_arg0
);
2110 wxPy_END_ALLOW_THREADS
;
2111 } Py_INCREF(Py_None
);
2112 _resultobj
= Py_None
;
2116 #define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
2117 static PyObject
*_wrap_wxWindow_Reparent(PyObject
*self
, PyObject
*args
) {
2118 PyObject
* _resultobj
;
2126 if(!PyArg_ParseTuple(args
,"ss:wxWindow_Reparent",&_argc0
,&_argc1
))
2129 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
2135 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
2136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
2141 wxPy_BEGIN_ALLOW_THREADS
;
2142 _result
= (bool )wxWindow_Reparent(_arg0
,_arg1
);
2144 wxPy_END_ALLOW_THREADS
;
2145 } _resultobj
= Py_BuildValue("i",_result
);
2149 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
2150 static PyObject
*_wrap_wxWindow_ScreenToClientXY(PyObject
*self
, PyObject
*args
) {
2151 PyObject
* _resultobj
;
2157 PyObject
* _obj1
= 0;
2159 PyObject
* _obj2
= 0;
2162 if(!PyArg_ParseTuple(args
,"sOO:wxWindow_ScreenToClientXY",&_argc0
,&_obj1
,&_obj2
))
2165 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
2171 temp
= (int) PyInt_AsLong(_obj1
);
2175 temp0
= (int) PyInt_AsLong(_obj2
);
2179 wxPy_BEGIN_ALLOW_THREADS
;
2180 wxWindow_ScreenToClientXY(_arg0
,_arg1
,_arg2
);
2182 wxPy_END_ALLOW_THREADS
;
2183 } Py_INCREF(Py_None
);
2184 _resultobj
= Py_None
;
2187 o
= PyInt_FromLong((long) (*_arg1
));
2188 _resultobj
= t_output_helper(_resultobj
, o
);
2192 o
= PyInt_FromLong((long) (*_arg2
));
2193 _resultobj
= t_output_helper(_resultobj
, o
);
2198 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
2199 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
) {
2200 PyObject
* _resultobj
;
2209 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ScreenToClient",&_argc0
,&_argc1
))
2212 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
2218 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
2219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ScreenToClient. Expected _wxPoint_p.");
2224 wxPy_BEGIN_ALLOW_THREADS
;
2225 _result
= new wxPoint (wxWindow_ScreenToClient(_arg0
,*_arg1
));
2227 wxPy_END_ALLOW_THREADS
;
2228 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2229 _resultobj
= Py_BuildValue("s",_ptemp
);
2233 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
2234 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
) {
2235 PyObject
* _resultobj
;
2239 wxRect
* _arg3
= NULL
;
2244 if(!PyArg_ParseTuple(args
,"sii|s:wxWindow_ScrollWindow",&_argc0
,&_arg1
,&_arg2
,&_argc3
))
2247 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
2253 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxRect_p")) {
2254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_ScrollWindow. Expected _wxRect_p.");
2259 wxPy_BEGIN_ALLOW_THREADS
;
2260 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
2262 wxPy_END_ALLOW_THREADS
;
2263 } Py_INCREF(Py_None
);
2264 _resultobj
= Py_None
;
2268 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
2269 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
) {
2270 PyObject
* _resultobj
;
2272 wxAcceleratorTable
* _arg1
;
2277 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetAcceleratorTable",&_argc0
,&_argc1
))
2280 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
2286 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
2287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
2292 wxPy_BEGIN_ALLOW_THREADS
;
2293 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
2295 wxPy_END_ALLOW_THREADS
;
2296 } Py_INCREF(Py_None
);
2297 _resultobj
= Py_None
;
2301 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
2302 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
) {
2303 PyObject
* _resultobj
;
2310 if(!PyArg_ParseTuple(args
,"si:wxWindow_SetAutoLayout",&_argc0
,&tempbool1
))
2313 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
2318 _arg1
= (bool ) tempbool1
;
2320 wxPy_BEGIN_ALLOW_THREADS
;
2321 wxWindow_SetAutoLayout(_arg0
,_arg1
);
2323 wxPy_END_ALLOW_THREADS
;
2324 } Py_INCREF(Py_None
);
2325 _resultobj
= Py_None
;
2329 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
2330 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
) {
2331 PyObject
* _resultobj
;
2338 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetBackgroundColour",&_argc0
,&_argc1
))
2341 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
2347 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
2348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetBackgroundColour. Expected _wxColour_p.");
2353 wxPy_BEGIN_ALLOW_THREADS
;
2354 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
2356 wxPy_END_ALLOW_THREADS
;
2357 } Py_INCREF(Py_None
);
2358 _resultobj
= Py_None
;
2362 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
2363 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
) {
2364 PyObject
* _resultobj
;
2366 wxLayoutConstraints
* _arg1
;
2371 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetConstraints",&_argc0
,&_argc1
))
2374 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
2380 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
2381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
2386 wxPy_BEGIN_ALLOW_THREADS
;
2387 wxWindow_SetConstraints(_arg0
,_arg1
);
2389 wxPy_END_ALLOW_THREADS
;
2390 } Py_INCREF(Py_None
);
2391 _resultobj
= Py_None
;
2395 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
2396 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
) {
2397 PyObject
* _resultobj
;
2402 if(!PyArg_ParseTuple(args
,"s:wxWindow_SetFocus",&_argc0
))
2405 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
2411 wxPy_BEGIN_ALLOW_THREADS
;
2412 wxWindow_SetFocus(_arg0
);
2414 wxPy_END_ALLOW_THREADS
;
2415 } Py_INCREF(Py_None
);
2416 _resultobj
= Py_None
;
2420 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
2421 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
) {
2422 PyObject
* _resultobj
;
2429 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetFont",&_argc0
,&_argc1
))
2432 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
2438 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxFont_p")) {
2439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
2444 wxPy_BEGIN_ALLOW_THREADS
;
2445 wxWindow_SetFont(_arg0
,*_arg1
);
2447 wxPy_END_ALLOW_THREADS
;
2448 } Py_INCREF(Py_None
);
2449 _resultobj
= Py_None
;
2453 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
2454 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
) {
2455 PyObject
* _resultobj
;
2462 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetForegroundColour",&_argc0
,&_argc1
))
2465 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
2471 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
2472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetForegroundColour. Expected _wxColour_p.");
2477 wxPy_BEGIN_ALLOW_THREADS
;
2478 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
2480 wxPy_END_ALLOW_THREADS
;
2481 } Py_INCREF(Py_None
);
2482 _resultobj
= Py_None
;
2486 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
2487 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
) {
2488 PyObject
* _resultobj
;
2494 if(!PyArg_ParseTuple(args
,"si:wxWindow_SetId",&_argc0
,&_arg1
))
2497 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
2503 wxPy_BEGIN_ALLOW_THREADS
;
2504 wxWindow_SetId(_arg0
,_arg1
);
2506 wxPy_END_ALLOW_THREADS
;
2507 } Py_INCREF(Py_None
);
2508 _resultobj
= Py_None
;
2512 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
2513 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
) {
2514 PyObject
* _resultobj
;
2518 PyObject
* _obj1
= 0;
2521 if(!PyArg_ParseTuple(args
,"sO:wxWindow_SetName",&_argc0
,&_obj1
))
2524 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
2530 if (!PyString_Check(_obj1
)) {
2531 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2534 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2537 wxPy_BEGIN_ALLOW_THREADS
;
2538 wxWindow_SetName(_arg0
,*_arg1
);
2540 wxPy_END_ALLOW_THREADS
;
2541 } Py_INCREF(Py_None
);
2542 _resultobj
= Py_None
;
2550 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2551 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
) {
2552 PyObject
* _resultobj
;
2563 if(!PyArg_ParseTuple(args
,"siiii|i:wxWindow_SetScrollbar",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
2566 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
2571 _arg5
= (bool ) tempbool5
;
2573 wxPy_BEGIN_ALLOW_THREADS
;
2574 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2576 wxPy_END_ALLOW_THREADS
;
2577 } Py_INCREF(Py_None
);
2578 _resultobj
= Py_None
;
2582 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
2583 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
) {
2584 PyObject
* _resultobj
;
2593 if(!PyArg_ParseTuple(args
,"sii|i:wxWindow_SetScrollPos",&_argc0
,&_arg1
,&_arg2
,&tempbool3
))
2596 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
2601 _arg3
= (bool ) tempbool3
;
2603 wxPy_BEGIN_ALLOW_THREADS
;
2604 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
2606 wxPy_END_ALLOW_THREADS
;
2607 } Py_INCREF(Py_None
);
2608 _resultobj
= Py_None
;
2612 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2613 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
) {
2614 PyObject
* _resultobj
;
2620 int _arg5
= (wxSIZE_AUTO
);
2624 if(!PyArg_ParseTuple(args
,"siiii|i:wxWindow_SetDimensions",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2627 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
2633 wxPy_BEGIN_ALLOW_THREADS
;
2634 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2636 wxPy_END_ALLOW_THREADS
;
2637 } Py_INCREF(Py_None
);
2638 _resultobj
= Py_None
;
2642 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
2643 self
->SetSize(size
.x
, size
.y
);
2645 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
) {
2646 PyObject
* _resultobj
;
2653 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetSize",&_argc0
,&_argc1
))
2656 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
2662 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
2663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSize. Expected _wxSize_p.");
2668 wxPy_BEGIN_ALLOW_THREADS
;
2669 wxWindow_SetSize(_arg0
,*_arg1
);
2671 wxPy_END_ALLOW_THREADS
;
2672 } Py_INCREF(Py_None
);
2673 _resultobj
= Py_None
;
2677 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
) {
2678 self
->SetSize(pos
.x
, pos
.y
, -1, -1);
2680 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
) {
2681 PyObject
* _resultobj
;
2688 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetPosition",&_argc0
,&_argc1
))
2691 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
2697 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
2698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetPosition. Expected _wxPoint_p.");
2703 wxPy_BEGIN_ALLOW_THREADS
;
2704 wxWindow_SetPosition(_arg0
,*_arg1
);
2706 wxPy_END_ALLOW_THREADS
;
2707 } Py_INCREF(Py_None
);
2708 _resultobj
= Py_None
;
2712 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2713 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
) {
2714 PyObject
* _resultobj
;
2725 if(!PyArg_ParseTuple(args
,"s|iiiiii:wxWindow_SetSizeHints",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
2728 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
2734 wxPy_BEGIN_ALLOW_THREADS
;
2735 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2737 wxPy_END_ALLOW_THREADS
;
2738 } Py_INCREF(Py_None
);
2739 _resultobj
= Py_None
;
2743 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
2744 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
) {
2745 PyObject
* _resultobj
;
2752 if(!PyArg_ParseTuple(args
,"sii:wxWindow_SetClientSizeWH",&_argc0
,&_arg1
,&_arg2
))
2755 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
2761 wxPy_BEGIN_ALLOW_THREADS
;
2762 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
2764 wxPy_END_ALLOW_THREADS
;
2765 } Py_INCREF(Py_None
);
2766 _resultobj
= Py_None
;
2770 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
2771 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
) {
2772 PyObject
* _resultobj
;
2779 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetClientSize",&_argc0
,&_argc1
))
2782 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
2788 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
2789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetClientSize. Expected _wxSize_p.");
2794 wxPy_BEGIN_ALLOW_THREADS
;
2795 wxWindow_SetClientSize(_arg0
,*_arg1
);
2797 wxPy_END_ALLOW_THREADS
;
2798 } Py_INCREF(Py_None
);
2799 _resultobj
= Py_None
;
2803 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
2804 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
) {
2805 PyObject
* _resultobj
;
2812 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetCursor",&_argc0
,&_argc1
))
2815 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
2821 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxCursor_p")) {
2822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
2827 wxPy_BEGIN_ALLOW_THREADS
;
2828 wxWindow_SetCursor(_arg0
,*_arg1
);
2830 wxPy_END_ALLOW_THREADS
;
2831 } Py_INCREF(Py_None
);
2832 _resultobj
= Py_None
;
2836 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
2837 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
) {
2838 PyObject
* _resultobj
;
2842 PyObject
* _obj1
= 0;
2845 if(!PyArg_ParseTuple(args
,"sO:wxWindow_SetTitle",&_argc0
,&_obj1
))
2848 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
2854 if (!PyString_Check(_obj1
)) {
2855 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2858 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2861 wxPy_BEGIN_ALLOW_THREADS
;
2862 wxWindow_SetTitle(_arg0
,*_arg1
);
2864 wxPy_END_ALLOW_THREADS
;
2865 } Py_INCREF(Py_None
);
2866 _resultobj
= Py_None
;
2874 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
2875 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
) {
2876 PyObject
* _resultobj
;
2884 if(!PyArg_ParseTuple(args
,"si:wxWindow_Show",&_argc0
,&tempbool1
))
2887 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
2892 _arg1
= (bool ) tempbool1
;
2894 wxPy_BEGIN_ALLOW_THREADS
;
2895 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
2897 wxPy_END_ALLOW_THREADS
;
2898 } _resultobj
= Py_BuildValue("i",_result
);
2902 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
2903 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
) {
2904 PyObject
* _resultobj
;
2910 if(!PyArg_ParseTuple(args
,"s:wxWindow_TransferDataFromWindow",&_argc0
))
2913 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
2919 wxPy_BEGIN_ALLOW_THREADS
;
2920 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
2922 wxPy_END_ALLOW_THREADS
;
2923 } _resultobj
= Py_BuildValue("i",_result
);
2927 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
2928 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
) {
2929 PyObject
* _resultobj
;
2935 if(!PyArg_ParseTuple(args
,"s:wxWindow_TransferDataToWindow",&_argc0
))
2938 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
2944 wxPy_BEGIN_ALLOW_THREADS
;
2945 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
2947 wxPy_END_ALLOW_THREADS
;
2948 } _resultobj
= Py_BuildValue("i",_result
);
2952 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
2953 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
) {
2954 PyObject
* _resultobj
;
2960 if(!PyArg_ParseTuple(args
,"s:wxWindow_Validate",&_argc0
))
2963 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
2969 wxPy_BEGIN_ALLOW_THREADS
;
2970 _result
= (bool )wxWindow_Validate(_arg0
);
2972 wxPy_END_ALLOW_THREADS
;
2973 } _resultobj
= Py_BuildValue("i",_result
);
2977 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
2978 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
) {
2979 PyObject
* _resultobj
;
2986 if(!PyArg_ParseTuple(args
,"sii:wxWindow_WarpPointer",&_argc0
,&_arg1
,&_arg2
))
2989 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
2995 wxPy_BEGIN_ALLOW_THREADS
;
2996 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
2998 wxPy_END_ALLOW_THREADS
;
2999 } Py_INCREF(Py_None
);
3000 _resultobj
= Py_None
;
3004 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
3005 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
) {
3006 PyObject
* _resultobj
;
3015 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ConvertDialogPointToPixels",&_argc0
,&_argc1
))
3018 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
3019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
3024 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
3025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertDialogPointToPixels. Expected _wxPoint_p.");
3030 wxPy_BEGIN_ALLOW_THREADS
;
3031 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
3033 wxPy_END_ALLOW_THREADS
;
3034 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3035 _resultobj
= Py_BuildValue("s",_ptemp
);
3039 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
3040 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
) {
3041 PyObject
* _resultobj
;
3050 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ConvertDialogSizeToPixels",&_argc0
,&_argc1
))
3053 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
3054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
3059 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
3060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertDialogSizeToPixels. Expected _wxSize_p.");
3065 wxPy_BEGIN_ALLOW_THREADS
;
3066 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
3068 wxPy_END_ALLOW_THREADS
;
3069 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3070 _resultobj
= Py_BuildValue("s",_ptemp
);
3074 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
3075 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
) {
3076 PyObject
* _resultobj
;
3085 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ConvertPixelPointToDialog",&_argc0
,&_argc1
))
3088 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
3089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
3094 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
3095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertPixelPointToDialog. Expected _wxPoint_p.");
3100 wxPy_BEGIN_ALLOW_THREADS
;
3101 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
3103 wxPy_END_ALLOW_THREADS
;
3104 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3105 _resultobj
= Py_BuildValue("s",_ptemp
);
3109 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
3110 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
) {
3111 PyObject
* _resultobj
;
3120 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ConvertPixelSizeToDialog",&_argc0
,&_argc1
))
3123 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
3124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
3129 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
3130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertPixelSizeToDialog. Expected _wxSize_p.");
3135 wxPy_BEGIN_ALLOW_THREADS
;
3136 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
3138 wxPy_END_ALLOW_THREADS
;
3139 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3140 _resultobj
= Py_BuildValue("s",_ptemp
);
3144 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
3145 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
) {
3146 PyObject
* _resultobj
;
3150 PyObject
* _obj1
= 0;
3153 if(!PyArg_ParseTuple(args
,"sO:wxWindow_SetToolTipString",&_argc0
,&_obj1
))
3156 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
3157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
3162 if (!PyString_Check(_obj1
)) {
3163 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3166 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3169 wxPy_BEGIN_ALLOW_THREADS
;
3170 wxWindow_SetToolTipString(_arg0
,*_arg1
);
3172 wxPy_END_ALLOW_THREADS
;
3173 } Py_INCREF(Py_None
);
3174 _resultobj
= Py_None
;
3182 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
3183 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
) {
3184 PyObject
* _resultobj
;
3191 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetToolTip",&_argc0
,&_argc1
))
3194 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
3195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
3200 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxToolTip_p")) {
3201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
3206 wxPy_BEGIN_ALLOW_THREADS
;
3207 wxWindow_SetToolTip(_arg0
,_arg1
);
3209 wxPy_END_ALLOW_THREADS
;
3210 } Py_INCREF(Py_None
);
3211 _resultobj
= Py_None
;
3215 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
3216 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
) {
3217 PyObject
* _resultobj
;
3218 wxToolTip
* _result
;
3224 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetToolTip",&_argc0
))
3227 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
3228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
3233 wxPy_BEGIN_ALLOW_THREADS
;
3234 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
3236 wxPy_END_ALLOW_THREADS
;
3237 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
3238 _resultobj
= Py_BuildValue("s",_ptemp
);
3242 static void *SwigwxPanelTowxWindow(void *ptr
) {
3245 src
= (wxPanel
*) ptr
;
3246 dest
= (wxWindow
*) src
;
3247 return (void *) dest
;
3250 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
3253 src
= (wxPanel
*) ptr
;
3254 dest
= (wxEvtHandler
*) src
;
3255 return (void *) dest
;
3258 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3259 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
) {
3260 PyObject
* _resultobj
;
3264 wxPoint
* _arg2
= &wxPyDefaultPosition
;
3265 wxSize
* _arg3
= &wxPyDefaultSize
;
3266 long _arg4
= (wxTAB_TRAVERSAL
);
3267 char * _arg5
= "panel";
3274 if(!PyArg_ParseTuple(args
,"si|ssls:new_wxPanel",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
3277 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
3278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
3283 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
3284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPanel. Expected _wxPoint_p.");
3289 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
3290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxPanel. Expected _wxSize_p.");
3295 wxPy_BEGIN_ALLOW_THREADS
;
3296 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
3298 wxPy_END_ALLOW_THREADS
;
3299 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
3300 _resultobj
= Py_BuildValue("s",_ptemp
);
3304 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
3305 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
) {
3306 PyObject
* _resultobj
;
3311 if(!PyArg_ParseTuple(args
,"s:wxPanel_InitDialog",&_argc0
))
3314 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPanel_p")) {
3315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
3320 wxPy_BEGIN_ALLOW_THREADS
;
3321 wxPanel_InitDialog(_arg0
);
3323 wxPy_END_ALLOW_THREADS
;
3324 } Py_INCREF(Py_None
);
3325 _resultobj
= Py_None
;
3329 #define wxPanel_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
3330 static PyObject
*_wrap_wxPanel_GetDefaultItem(PyObject
*self
, PyObject
*args
) {
3331 PyObject
* _resultobj
;
3338 if(!PyArg_ParseTuple(args
,"s:wxPanel_GetDefaultItem",&_argc0
))
3341 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPanel_p")) {
3342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_GetDefaultItem. Expected _wxPanel_p.");
3347 wxPy_BEGIN_ALLOW_THREADS
;
3348 _result
= (wxButton
*)wxPanel_GetDefaultItem(_arg0
);
3350 wxPy_END_ALLOW_THREADS
;
3351 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
3352 _resultobj
= Py_BuildValue("s",_ptemp
);
3356 #define wxPanel_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
3357 static PyObject
*_wrap_wxPanel_SetDefaultItem(PyObject
*self
, PyObject
*args
) {
3358 PyObject
* _resultobj
;
3365 if(!PyArg_ParseTuple(args
,"ss:wxPanel_SetDefaultItem",&_argc0
,&_argc1
))
3368 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPanel_p")) {
3369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_SetDefaultItem. Expected _wxPanel_p.");
3374 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxButton_p")) {
3375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPanel_SetDefaultItem. Expected _wxButton_p.");
3380 wxPy_BEGIN_ALLOW_THREADS
;
3381 wxPanel_SetDefaultItem(_arg0
,_arg1
);
3383 wxPy_END_ALLOW_THREADS
;
3384 } Py_INCREF(Py_None
);
3385 _resultobj
= Py_None
;
3389 static void *SwigwxDialogTowxPanel(void *ptr
) {
3392 src
= (wxDialog
*) ptr
;
3393 dest
= (wxPanel
*) src
;
3394 return (void *) dest
;
3397 static void *SwigwxDialogTowxWindow(void *ptr
) {
3400 src
= (wxDialog
*) ptr
;
3401 dest
= (wxWindow
*) src
;
3402 return (void *) dest
;
3405 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
3408 src
= (wxDialog
*) ptr
;
3409 dest
= (wxEvtHandler
*) src
;
3410 return (void *) dest
;
3413 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3414 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
) {
3415 PyObject
* _resultobj
;
3420 wxPoint
* _arg3
= &wxPyDefaultPosition
;
3421 wxSize
* _arg4
= &wxPyDefaultSize
;
3422 long _arg5
= (wxDEFAULT_DIALOG_STYLE
);
3423 char * _arg6
= "dialogBox";
3425 PyObject
* _obj2
= 0;
3431 if(!PyArg_ParseTuple(args
,"siO|ssls:new_wxDialog",&_argc0
,&_arg1
,&_obj2
,&_argc3
,&_argc4
,&_arg5
,&_arg6
))
3434 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
3435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
3440 if (!PyString_Check(_obj2
)) {
3441 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3444 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
3447 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxPoint_p")) {
3448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxDialog. Expected _wxPoint_p.");
3453 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_wxSize_p")) {
3454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxDialog. Expected _wxSize_p.");
3459 wxPy_BEGIN_ALLOW_THREADS
;
3460 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
3462 wxPy_END_ALLOW_THREADS
;
3463 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
3464 _resultobj
= Py_BuildValue("s",_ptemp
);
3472 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
3473 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
) {
3474 PyObject
* _resultobj
;
3476 int _arg1
= (wxBOTH
);
3480 if(!PyArg_ParseTuple(args
,"s|i:wxDialog_Centre",&_argc0
,&_arg1
))
3483 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
3489 wxPy_BEGIN_ALLOW_THREADS
;
3490 wxDialog_Centre(_arg0
,_arg1
);
3492 wxPy_END_ALLOW_THREADS
;
3493 } Py_INCREF(Py_None
);
3494 _resultobj
= Py_None
;
3498 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
3499 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
) {
3500 PyObject
* _resultobj
;
3506 if(!PyArg_ParseTuple(args
,"si:wxDialog_EndModal",&_argc0
,&_arg1
))
3509 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
3515 wxPy_BEGIN_ALLOW_THREADS
;
3516 wxDialog_EndModal(_arg0
,_arg1
);
3518 wxPy_END_ALLOW_THREADS
;
3519 } Py_INCREF(Py_None
);
3520 _resultobj
= Py_None
;
3524 #define wxDialog_GetTitle(_swigobj) (_swigobj->GetTitle())
3525 static PyObject
*_wrap_wxDialog_GetTitle(PyObject
*self
, PyObject
*args
) {
3526 PyObject
* _resultobj
;
3532 if(!PyArg_ParseTuple(args
,"s:wxDialog_GetTitle",&_argc0
))
3535 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetTitle. Expected _wxDialog_p.");
3541 wxPy_BEGIN_ALLOW_THREADS
;
3542 _result
= new wxString (wxDialog_GetTitle(_arg0
));
3544 wxPy_END_ALLOW_THREADS
;
3546 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3554 #define wxDialog_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
3555 static PyObject
*_wrap_wxDialog_Iconize(PyObject
*self
, PyObject
*args
) {
3556 PyObject
* _resultobj
;
3563 if(!PyArg_ParseTuple(args
,"si:wxDialog_Iconize",&_argc0
,&tempbool1
))
3566 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Iconize. Expected _wxDialog_p.");
3571 _arg1
= (bool ) tempbool1
;
3573 wxPy_BEGIN_ALLOW_THREADS
;
3574 wxDialog_Iconize(_arg0
,_arg1
);
3576 wxPy_END_ALLOW_THREADS
;
3577 } Py_INCREF(Py_None
);
3578 _resultobj
= Py_None
;
3582 #define wxDialog_IsIconized(_swigobj) (_swigobj->IsIconized())
3583 static PyObject
*_wrap_wxDialog_IsIconized(PyObject
*self
, PyObject
*args
) {
3584 PyObject
* _resultobj
;
3590 if(!PyArg_ParseTuple(args
,"s:wxDialog_IsIconized",&_argc0
))
3593 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsIconized. Expected _wxDialog_p.");
3599 wxPy_BEGIN_ALLOW_THREADS
;
3600 _result
= (bool )wxDialog_IsIconized(_arg0
);
3602 wxPy_END_ALLOW_THREADS
;
3603 } _resultobj
= Py_BuildValue("i",_result
);
3607 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
3608 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
) {
3609 PyObject
* _resultobj
;
3616 if(!PyArg_ParseTuple(args
,"si:wxDialog_SetModal",&_argc0
,&tempbool1
))
3619 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
3624 _arg1
= (bool ) tempbool1
;
3626 wxPy_BEGIN_ALLOW_THREADS
;
3627 wxDialog_SetModal(_arg0
,_arg1
);
3629 wxPy_END_ALLOW_THREADS
;
3630 } Py_INCREF(Py_None
);
3631 _resultobj
= Py_None
;
3635 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
3636 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
) {
3637 PyObject
* _resultobj
;
3643 if(!PyArg_ParseTuple(args
,"s:wxDialog_IsModal",&_argc0
))
3646 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
3652 wxPy_BEGIN_ALLOW_THREADS
;
3653 _result
= (bool )wxDialog_IsModal(_arg0
);
3655 wxPy_END_ALLOW_THREADS
;
3656 } _resultobj
= Py_BuildValue("i",_result
);
3660 #define wxDialog_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
3661 static PyObject
*_wrap_wxDialog_SetTitle(PyObject
*self
, PyObject
*args
) {
3662 PyObject
* _resultobj
;
3666 PyObject
* _obj1
= 0;
3669 if(!PyArg_ParseTuple(args
,"sO:wxDialog_SetTitle",&_argc0
,&_obj1
))
3672 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetTitle. Expected _wxDialog_p.");
3678 if (!PyString_Check(_obj1
)) {
3679 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3682 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3685 wxPy_BEGIN_ALLOW_THREADS
;
3686 wxDialog_SetTitle(_arg0
,*_arg1
);
3688 wxPy_END_ALLOW_THREADS
;
3689 } Py_INCREF(Py_None
);
3690 _resultobj
= Py_None
;
3698 #define wxDialog_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3699 static PyObject
*_wrap_wxDialog_Show(PyObject
*self
, PyObject
*args
) {
3700 PyObject
* _resultobj
;
3708 if(!PyArg_ParseTuple(args
,"si:wxDialog_Show",&_argc0
,&tempbool1
))
3711 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Show. Expected _wxDialog_p.");
3716 _arg1
= (bool ) tempbool1
;
3718 wxPy_BEGIN_ALLOW_THREADS
;
3719 _result
= (bool )wxDialog_Show(_arg0
,_arg1
);
3721 wxPy_END_ALLOW_THREADS
;
3722 } _resultobj
= Py_BuildValue("i",_result
);
3726 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
3727 static PyObject
*_wrap_wxDialog_ShowModal(PyObject
*self
, PyObject
*args
) {
3728 PyObject
* _resultobj
;
3734 if(!PyArg_ParseTuple(args
,"s:wxDialog_ShowModal",&_argc0
))
3737 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
3743 wxPy_BEGIN_ALLOW_THREADS
;
3744 _result
= (int )wxDialog_ShowModal(_arg0
);
3746 wxPy_END_ALLOW_THREADS
;
3747 } _resultobj
= Py_BuildValue("i",_result
);
3751 #define wxDialog_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
3752 static PyObject
*_wrap_wxDialog_GetReturnCode(PyObject
*self
, PyObject
*args
) {
3753 PyObject
* _resultobj
;
3759 if(!PyArg_ParseTuple(args
,"s:wxDialog_GetReturnCode",&_argc0
))
3762 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetReturnCode. Expected _wxDialog_p.");
3768 wxPy_BEGIN_ALLOW_THREADS
;
3769 _result
= (int )wxDialog_GetReturnCode(_arg0
);
3771 wxPy_END_ALLOW_THREADS
;
3772 } _resultobj
= Py_BuildValue("i",_result
);
3776 #define wxDialog_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
3777 static PyObject
*_wrap_wxDialog_SetReturnCode(PyObject
*self
, PyObject
*args
) {
3778 PyObject
* _resultobj
;
3784 if(!PyArg_ParseTuple(args
,"si:wxDialog_SetReturnCode",&_argc0
,&_arg1
))
3787 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetReturnCode. Expected _wxDialog_p.");
3793 wxPy_BEGIN_ALLOW_THREADS
;
3794 wxDialog_SetReturnCode(_arg0
,_arg1
);
3796 wxPy_END_ALLOW_THREADS
;
3797 } Py_INCREF(Py_None
);
3798 _resultobj
= Py_None
;
3802 static void *SwigwxScrolledWindowTowxPanel(void *ptr
) {
3803 wxScrolledWindow
*src
;
3805 src
= (wxScrolledWindow
*) ptr
;
3806 dest
= (wxPanel
*) src
;
3807 return (void *) dest
;
3810 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
3811 wxScrolledWindow
*src
;
3813 src
= (wxScrolledWindow
*) ptr
;
3814 dest
= (wxWindow
*) src
;
3815 return (void *) dest
;
3818 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
3819 wxScrolledWindow
*src
;
3821 src
= (wxScrolledWindow
*) ptr
;
3822 dest
= (wxEvtHandler
*) src
;
3823 return (void *) dest
;
3826 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3827 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
) {
3828 PyObject
* _resultobj
;
3829 wxScrolledWindow
* _result
;
3831 wxWindowID _arg1
= -1;
3832 wxPoint
* _arg2
= &wxPyDefaultPosition
;
3833 wxSize
* _arg3
= &wxPyDefaultSize
;
3834 long _arg4
= (wxHSCROLL
)|(wxVSCROLL
);
3835 char * _arg5
= "scrolledWindow";
3842 if(!PyArg_ParseTuple(args
,"s|issls:new_wxScrolledWindow",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
3845 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
3846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
3851 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
3852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxScrolledWindow. Expected _wxPoint_p.");
3857 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
3858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxScrolledWindow. Expected _wxSize_p.");
3863 wxPy_BEGIN_ALLOW_THREADS
;
3864 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
3866 wxPy_END_ALLOW_THREADS
;
3867 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
3868 _resultobj
= Py_BuildValue("s",_ptemp
);
3872 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
3873 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
) {
3874 PyObject
* _resultobj
;
3875 wxScrolledWindow
* _arg0
;
3883 if(!PyArg_ParseTuple(args
,"sii:wxScrolledWindow_EnableScrolling",&_argc0
,&tempbool1
,&tempbool2
))
3886 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
3891 _arg1
= (bool ) tempbool1
;
3892 _arg2
= (bool ) tempbool2
;
3894 wxPy_BEGIN_ALLOW_THREADS
;
3895 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
3897 wxPy_END_ALLOW_THREADS
;
3898 } Py_INCREF(Py_None
);
3899 _resultobj
= Py_None
;
3903 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
3904 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
) {
3905 PyObject
* _resultobj
;
3906 wxScrolledWindow
* _arg0
;
3920 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_GetScrollPixelsPerUnit",&_argc0
))
3923 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
3929 wxPy_BEGIN_ALLOW_THREADS
;
3930 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
3932 wxPy_END_ALLOW_THREADS
;
3933 } Py_INCREF(Py_None
);
3934 _resultobj
= Py_None
;
3937 o
= PyInt_FromLong((long) (*_arg1
));
3938 _resultobj
= t_output_helper(_resultobj
, o
);
3942 o
= PyInt_FromLong((long) (*_arg2
));
3943 _resultobj
= t_output_helper(_resultobj
, o
);
3948 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
3949 static PyObject
*_wrap_wxScrolledWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
) {
3950 PyObject
* _resultobj
;
3951 wxScrolledWindow
* _arg0
;
3965 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_GetVirtualSize",&_argc0
))
3968 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
3974 wxPy_BEGIN_ALLOW_THREADS
;
3975 wxScrolledWindow_GetVirtualSize(_arg0
,_arg1
,_arg2
);
3977 wxPy_END_ALLOW_THREADS
;
3978 } Py_INCREF(Py_None
);
3979 _resultobj
= Py_None
;
3982 o
= PyInt_FromLong((long) (*_arg1
));
3983 _resultobj
= t_output_helper(_resultobj
, o
);
3987 o
= PyInt_FromLong((long) (*_arg2
));
3988 _resultobj
= t_output_helper(_resultobj
, o
);
3993 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
3994 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
) {
3995 PyObject
* _resultobj
;
3997 wxScrolledWindow
* _arg0
;
4001 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_IsRetained",&_argc0
))
4004 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
4005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
4010 wxPy_BEGIN_ALLOW_THREADS
;
4011 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
4013 wxPy_END_ALLOW_THREADS
;
4014 } _resultobj
= Py_BuildValue("i",_result
);
4018 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
4019 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
) {
4020 PyObject
* _resultobj
;
4021 wxScrolledWindow
* _arg0
;
4027 if(!PyArg_ParseTuple(args
,"ss:wxScrolledWindow_PrepareDC",&_argc0
,&_argc1
))
4030 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
4031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
4036 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxDC_p")) {
4037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
4042 wxPy_BEGIN_ALLOW_THREADS
;
4043 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
4045 wxPy_END_ALLOW_THREADS
;
4046 } Py_INCREF(Py_None
);
4047 _resultobj
= Py_None
;
4051 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
4052 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
) {
4053 PyObject
* _resultobj
;
4054 wxScrolledWindow
* _arg0
;
4060 if(!PyArg_ParseTuple(args
,"sii:wxScrolledWindow_Scroll",&_argc0
,&_arg1
,&_arg2
))
4063 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
4064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
4069 wxPy_BEGIN_ALLOW_THREADS
;
4070 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
4072 wxPy_END_ALLOW_THREADS
;
4073 } Py_INCREF(Py_None
);
4074 _resultobj
= Py_None
;
4078 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4079 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
) {
4080 PyObject
* _resultobj
;
4081 wxScrolledWindow
* _arg0
;
4091 if(!PyArg_ParseTuple(args
,"siiii|ii:wxScrolledWindow_SetScrollbars",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4094 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
4095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
4100 wxPy_BEGIN_ALLOW_THREADS
;
4101 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4103 wxPy_END_ALLOW_THREADS
;
4104 } Py_INCREF(Py_None
);
4105 _resultobj
= Py_None
;
4109 #define wxScrolledWindow_ViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->ViewStart(_swigarg0,_swigarg1))
4110 static PyObject
*_wrap_wxScrolledWindow_ViewStart(PyObject
*self
, PyObject
*args
) {
4111 PyObject
* _resultobj
;
4112 wxScrolledWindow
* _arg0
;
4126 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_ViewStart",&_argc0
))
4129 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
4130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_ViewStart. Expected _wxScrolledWindow_p.");
4135 wxPy_BEGIN_ALLOW_THREADS
;
4136 wxScrolledWindow_ViewStart(_arg0
,_arg1
,_arg2
);
4138 wxPy_END_ALLOW_THREADS
;
4139 } Py_INCREF(Py_None
);
4140 _resultobj
= Py_None
;
4143 o
= PyInt_FromLong((long) (*_arg1
));
4144 _resultobj
= t_output_helper(_resultobj
, o
);
4148 o
= PyInt_FromLong((long) (*_arg2
));
4149 _resultobj
= t_output_helper(_resultobj
, o
);
4154 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
4157 src
= (wxMenu
*) ptr
;
4158 dest
= (wxEvtHandler
*) src
;
4159 return (void *) dest
;
4162 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
4163 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
) {
4164 PyObject
* _resultobj
;
4166 wxString
* _arg0
= &wxPyEmptyStr
;
4168 PyObject
* _obj0
= 0;
4172 if(!PyArg_ParseTuple(args
,"|Ol:new_wxMenu",&_obj0
,&_arg1
))
4176 if (!PyString_Check(_obj0
)) {
4177 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4180 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
4183 wxPy_BEGIN_ALLOW_THREADS
;
4184 _result
= (wxMenu
*)new_wxMenu(*_arg0
,_arg1
);
4186 wxPy_END_ALLOW_THREADS
;
4187 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
4188 _resultobj
= Py_BuildValue("s",_ptemp
);
4196 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4197 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
) {
4198 PyObject
* _resultobj
;
4202 wxString
* _arg3
= &wxPyEmptyStr
;
4205 PyObject
* _obj2
= 0;
4206 PyObject
* _obj3
= 0;
4209 if(!PyArg_ParseTuple(args
,"siO|Oi:wxMenu_Append",&_argc0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
4212 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
4218 if (!PyString_Check(_obj2
)) {
4219 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4222 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4226 if (!PyString_Check(_obj3
)) {
4227 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4230 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
4233 wxPy_BEGIN_ALLOW_THREADS
;
4234 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
4236 wxPy_END_ALLOW_THREADS
;
4237 } Py_INCREF(Py_None
);
4238 _resultobj
= Py_None
;
4250 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4251 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
) {
4252 PyObject
* _resultobj
;
4257 wxString
* _arg4
= &wxPyEmptyStr
;
4259 PyObject
* _obj2
= 0;
4261 PyObject
* _obj4
= 0;
4264 if(!PyArg_ParseTuple(args
,"siOs|O:wxMenu_AppendMenu",&_argc0
,&_arg1
,&_obj2
,&_argc3
,&_obj4
))
4267 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
4273 if (!PyString_Check(_obj2
)) {
4274 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4277 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4280 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxMenu_p")) {
4281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
4287 if (!PyString_Check(_obj4
)) {
4288 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4291 _arg4
= new wxString(PyString_AsString(_obj4
), PyString_Size(_obj4
));
4294 wxPy_BEGIN_ALLOW_THREADS
;
4295 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
4297 wxPy_END_ALLOW_THREADS
;
4298 } Py_INCREF(Py_None
);
4299 _resultobj
= Py_None
;
4311 #define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
4312 static PyObject
*_wrap_wxMenu_AppendItem(PyObject
*self
, PyObject
*args
) {
4313 PyObject
* _resultobj
;
4320 if(!PyArg_ParseTuple(args
,"ss:wxMenu_AppendItem",&_argc0
,&_argc1
))
4323 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
4329 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxMenuItem_p")) {
4330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
4335 wxPy_BEGIN_ALLOW_THREADS
;
4336 wxMenu_AppendItem(_arg0
,_arg1
);
4338 wxPy_END_ALLOW_THREADS
;
4339 } Py_INCREF(Py_None
);
4340 _resultobj
= Py_None
;
4344 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
4345 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
) {
4346 PyObject
* _resultobj
;
4351 if(!PyArg_ParseTuple(args
,"s:wxMenu_AppendSeparator",&_argc0
))
4354 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
4360 wxPy_BEGIN_ALLOW_THREADS
;
4361 wxMenu_AppendSeparator(_arg0
);
4363 wxPy_END_ALLOW_THREADS
;
4364 } Py_INCREF(Py_None
);
4365 _resultobj
= Py_None
;
4369 #define wxMenu_Break(_swigobj) (_swigobj->Break())
4370 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
) {
4371 PyObject
* _resultobj
;
4376 if(!PyArg_ParseTuple(args
,"s:wxMenu_Break",&_argc0
))
4379 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
4385 wxPy_BEGIN_ALLOW_THREADS
;
4386 wxMenu_Break(_arg0
);
4388 wxPy_END_ALLOW_THREADS
;
4389 } Py_INCREF(Py_None
);
4390 _resultobj
= Py_None
;
4394 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
4395 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
) {
4396 PyObject
* _resultobj
;
4404 if(!PyArg_ParseTuple(args
,"sii:wxMenu_Check",&_argc0
,&_arg1
,&tempbool2
))
4407 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
4412 _arg2
= (bool ) tempbool2
;
4414 wxPy_BEGIN_ALLOW_THREADS
;
4415 wxMenu_Check(_arg0
,_arg1
,_arg2
);
4417 wxPy_END_ALLOW_THREADS
;
4418 } Py_INCREF(Py_None
);
4419 _resultobj
= Py_None
;
4423 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
4424 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
) {
4425 PyObject
* _resultobj
;
4433 if(!PyArg_ParseTuple(args
,"sii:wxMenu_Enable",&_argc0
,&_arg1
,&tempbool2
))
4436 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
4441 _arg2
= (bool ) tempbool2
;
4443 wxPy_BEGIN_ALLOW_THREADS
;
4444 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
4446 wxPy_END_ALLOW_THREADS
;
4447 } Py_INCREF(Py_None
);
4448 _resultobj
= Py_None
;
4452 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
4453 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
) {
4454 PyObject
* _resultobj
;
4459 PyObject
* _obj1
= 0;
4462 if(!PyArg_ParseTuple(args
,"sO:wxMenu_FindItem",&_argc0
,&_obj1
))
4465 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
4471 if (!PyString_Check(_obj1
)) {
4472 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4475 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4478 wxPy_BEGIN_ALLOW_THREADS
;
4479 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
4481 wxPy_END_ALLOW_THREADS
;
4482 } _resultobj
= Py_BuildValue("i",_result
);
4490 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
4491 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
) {
4492 PyObject
* _resultobj
;
4498 if(!PyArg_ParseTuple(args
,"s:wxMenu_GetTitle",&_argc0
))
4501 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
4507 wxPy_BEGIN_ALLOW_THREADS
;
4508 _result
= new wxString (wxMenu_GetTitle(_arg0
));
4510 wxPy_END_ALLOW_THREADS
;
4512 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
4520 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4521 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
) {
4522 PyObject
* _resultobj
;
4526 PyObject
* _obj1
= 0;
4529 if(!PyArg_ParseTuple(args
,"sO:wxMenu_SetTitle",&_argc0
,&_obj1
))
4532 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
4538 if (!PyString_Check(_obj1
)) {
4539 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4542 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4545 wxPy_BEGIN_ALLOW_THREADS
;
4546 wxMenu_SetTitle(_arg0
,*_arg1
);
4548 wxPy_END_ALLOW_THREADS
;
4549 } Py_INCREF(Py_None
);
4550 _resultobj
= Py_None
;
4558 #define wxMenu_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
4559 static PyObject
*_wrap_wxMenu_FindItemForId(PyObject
*self
, PyObject
*args
) {
4560 PyObject
* _resultobj
;
4561 wxMenuItem
* _result
;
4568 if(!PyArg_ParseTuple(args
,"si:wxMenu_FindItemForId",&_argc0
,&_arg1
))
4571 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemForId. Expected _wxMenu_p.");
4577 wxPy_BEGIN_ALLOW_THREADS
;
4578 _result
= (wxMenuItem
*)wxMenu_FindItemForId(_arg0
,_arg1
);
4580 wxPy_END_ALLOW_THREADS
;
4581 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
4582 _resultobj
= Py_BuildValue("s",_ptemp
);
4586 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
4587 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
) {
4588 PyObject
* _resultobj
;
4595 if(!PyArg_ParseTuple(args
,"si:wxMenu_GetHelpString",&_argc0
,&_arg1
))
4598 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
4604 wxPy_BEGIN_ALLOW_THREADS
;
4605 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
4607 wxPy_END_ALLOW_THREADS
;
4609 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
4617 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
4618 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
) {
4619 PyObject
* _resultobj
;
4626 if(!PyArg_ParseTuple(args
,"si:wxMenu_GetLabel",&_argc0
,&_arg1
))
4629 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
4635 wxPy_BEGIN_ALLOW_THREADS
;
4636 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
4638 wxPy_END_ALLOW_THREADS
;
4640 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
4648 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
4649 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
) {
4650 PyObject
* _resultobj
;
4655 PyObject
* _obj2
= 0;
4658 if(!PyArg_ParseTuple(args
,"siO:wxMenu_SetHelpString",&_argc0
,&_arg1
,&_obj2
))
4661 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
4667 if (!PyString_Check(_obj2
)) {
4668 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4671 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4674 wxPy_BEGIN_ALLOW_THREADS
;
4675 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
4677 wxPy_END_ALLOW_THREADS
;
4678 } Py_INCREF(Py_None
);
4679 _resultobj
= Py_None
;
4687 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
4688 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
) {
4689 PyObject
* _resultobj
;
4696 if(!PyArg_ParseTuple(args
,"si:wxMenu_IsChecked",&_argc0
,&_arg1
))
4699 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
4705 wxPy_BEGIN_ALLOW_THREADS
;
4706 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
4708 wxPy_END_ALLOW_THREADS
;
4709 } _resultobj
= Py_BuildValue("i",_result
);
4713 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
4714 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
) {
4715 PyObject
* _resultobj
;
4722 if(!PyArg_ParseTuple(args
,"si:wxMenu_IsEnabled",&_argc0
,&_arg1
))
4725 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
4731 wxPy_BEGIN_ALLOW_THREADS
;
4732 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
4734 wxPy_END_ALLOW_THREADS
;
4735 } _resultobj
= Py_BuildValue("i",_result
);
4739 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
4740 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
) {
4741 PyObject
* _resultobj
;
4746 PyObject
* _obj2
= 0;
4749 if(!PyArg_ParseTuple(args
,"siO:wxMenu_SetLabel",&_argc0
,&_arg1
,&_obj2
))
4752 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
4758 if (!PyString_Check(_obj2
)) {
4759 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4762 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4765 wxPy_BEGIN_ALLOW_THREADS
;
4766 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
4768 wxPy_END_ALLOW_THREADS
;
4769 } Py_INCREF(Py_None
);
4770 _resultobj
= Py_None
;
4778 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
4779 static PyObject
*_wrap_wxMenu_UpdateUI(PyObject
*self
, PyObject
*args
) {
4780 PyObject
* _resultobj
;
4782 wxEvtHandler
* _arg1
= NULL
;
4787 if(!PyArg_ParseTuple(args
,"s|s:wxMenu_UpdateUI",&_argc0
,&_argc1
))
4790 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
4796 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
4802 wxPy_BEGIN_ALLOW_THREADS
;
4803 wxMenu_UpdateUI(_arg0
,_arg1
);
4805 wxPy_END_ALLOW_THREADS
;
4806 } Py_INCREF(Py_None
);
4807 _resultobj
= Py_None
;
4811 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
4814 src
= (wxMenuBar
*) ptr
;
4815 dest
= (wxEvtHandler
*) src
;
4816 return (void *) dest
;
4819 #define new_wxMenuBar() (new wxMenuBar())
4820 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
) {
4821 PyObject
* _resultobj
;
4822 wxMenuBar
* _result
;
4826 if(!PyArg_ParseTuple(args
,":new_wxMenuBar"))
4829 wxPy_BEGIN_ALLOW_THREADS
;
4830 _result
= (wxMenuBar
*)new_wxMenuBar();
4832 wxPy_END_ALLOW_THREADS
;
4833 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
4834 _resultobj
= Py_BuildValue("s",_ptemp
);
4838 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
4839 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
) {
4840 PyObject
* _resultobj
;
4846 PyObject
* _obj2
= 0;
4849 if(!PyArg_ParseTuple(args
,"ssO:wxMenuBar_Append",&_argc0
,&_argc1
,&_obj2
))
4852 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
4858 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxMenu_p")) {
4859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
4864 if (!PyString_Check(_obj2
)) {
4865 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4868 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4871 wxPy_BEGIN_ALLOW_THREADS
;
4872 wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
4874 wxPy_END_ALLOW_THREADS
;
4875 } Py_INCREF(Py_None
);
4876 _resultobj
= Py_None
;
4884 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
4885 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
) {
4886 PyObject
* _resultobj
;
4894 if(!PyArg_ParseTuple(args
,"sii:wxMenuBar_Check",&_argc0
,&_arg1
,&tempbool2
))
4897 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
4902 _arg2
= (bool ) tempbool2
;
4904 wxPy_BEGIN_ALLOW_THREADS
;
4905 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
4907 wxPy_END_ALLOW_THREADS
;
4908 } Py_INCREF(Py_None
);
4909 _resultobj
= Py_None
;
4913 #define wxMenuBar_Checked(_swigobj,_swigarg0) (_swigobj->Checked(_swigarg0))
4914 static PyObject
*_wrap_wxMenuBar_Checked(PyObject
*self
, PyObject
*args
) {
4915 PyObject
* _resultobj
;
4922 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_Checked",&_argc0
,&_arg1
))
4925 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Checked. Expected _wxMenuBar_p.");
4931 wxPy_BEGIN_ALLOW_THREADS
;
4932 _result
= (bool )wxMenuBar_Checked(_arg0
,_arg1
);
4934 wxPy_END_ALLOW_THREADS
;
4935 } _resultobj
= Py_BuildValue("i",_result
);
4939 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
4940 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
) {
4941 PyObject
* _resultobj
;
4949 if(!PyArg_ParseTuple(args
,"sii:wxMenuBar_Enable",&_argc0
,&_arg1
,&tempbool2
))
4952 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
4957 _arg2
= (bool ) tempbool2
;
4959 wxPy_BEGIN_ALLOW_THREADS
;
4960 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
4962 wxPy_END_ALLOW_THREADS
;
4963 } Py_INCREF(Py_None
);
4964 _resultobj
= Py_None
;
4968 #define wxMenuBar_Enabled(_swigobj,_swigarg0) (_swigobj->Enabled(_swigarg0))
4969 static PyObject
*_wrap_wxMenuBar_Enabled(PyObject
*self
, PyObject
*args
) {
4970 PyObject
* _resultobj
;
4977 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_Enabled",&_argc0
,&_arg1
))
4980 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enabled. Expected _wxMenuBar_p.");
4986 wxPy_BEGIN_ALLOW_THREADS
;
4987 _result
= (bool )wxMenuBar_Enabled(_arg0
,_arg1
);
4989 wxPy_END_ALLOW_THREADS
;
4990 } _resultobj
= Py_BuildValue("i",_result
);
4994 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
4995 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
) {
4996 PyObject
* _resultobj
;
5002 PyObject
* _obj1
= 0;
5003 PyObject
* _obj2
= 0;
5006 if(!PyArg_ParseTuple(args
,"sOO:wxMenuBar_FindMenuItem",&_argc0
,&_obj1
,&_obj2
))
5009 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
5015 if (!PyString_Check(_obj1
)) {
5016 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5019 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5022 if (!PyString_Check(_obj2
)) {
5023 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5026 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5029 wxPy_BEGIN_ALLOW_THREADS
;
5030 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
5032 wxPy_END_ALLOW_THREADS
;
5033 } _resultobj
= Py_BuildValue("i",_result
);
5045 #define wxMenuBar_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
5046 static PyObject
*_wrap_wxMenuBar_FindItemForId(PyObject
*self
, PyObject
*args
) {
5047 PyObject
* _resultobj
;
5048 wxMenuItem
* _result
;
5055 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_FindItemForId",&_argc0
,&_arg1
))
5058 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemForId. Expected _wxMenuBar_p.");
5064 wxPy_BEGIN_ALLOW_THREADS
;
5065 _result
= (wxMenuItem
*)wxMenuBar_FindItemForId(_arg0
,_arg1
);
5067 wxPy_END_ALLOW_THREADS
;
5068 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
5069 _resultobj
= Py_BuildValue("s",_ptemp
);
5073 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
5074 static PyObject
*_wrap_wxMenuBar_EnableTop(PyObject
*self
, PyObject
*args
) {
5075 PyObject
* _resultobj
;
5083 if(!PyArg_ParseTuple(args
,"sii:wxMenuBar_EnableTop",&_argc0
,&_arg1
,&tempbool2
))
5086 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
5091 _arg2
= (bool ) tempbool2
;
5093 wxPy_BEGIN_ALLOW_THREADS
;
5094 wxMenuBar_EnableTop(_arg0
,_arg1
,_arg2
);
5096 wxPy_END_ALLOW_THREADS
;
5097 } Py_INCREF(Py_None
);
5098 _resultobj
= Py_None
;
5102 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
5103 static PyObject
*_wrap_wxMenuBar_GetHelpString(PyObject
*self
, PyObject
*args
) {
5104 PyObject
* _resultobj
;
5111 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_GetHelpString",&_argc0
,&_arg1
))
5114 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
5120 wxPy_BEGIN_ALLOW_THREADS
;
5121 _result
= new wxString (wxMenuBar_GetHelpString(_arg0
,_arg1
));
5123 wxPy_END_ALLOW_THREADS
;
5125 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5133 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
5134 static PyObject
*_wrap_wxMenuBar_GetLabel(PyObject
*self
, PyObject
*args
) {
5135 PyObject
* _resultobj
;
5142 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_GetLabel",&_argc0
,&_arg1
))
5145 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
5151 wxPy_BEGIN_ALLOW_THREADS
;
5152 _result
= new wxString (wxMenuBar_GetLabel(_arg0
,_arg1
));
5154 wxPy_END_ALLOW_THREADS
;
5156 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5164 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
5165 static PyObject
*_wrap_wxMenuBar_SetHelpString(PyObject
*self
, PyObject
*args
) {
5166 PyObject
* _resultobj
;
5171 PyObject
* _obj2
= 0;
5174 if(!PyArg_ParseTuple(args
,"siO:wxMenuBar_SetHelpString",&_argc0
,&_arg1
,&_obj2
))
5177 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
5183 if (!PyString_Check(_obj2
)) {
5184 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5187 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5190 wxPy_BEGIN_ALLOW_THREADS
;
5191 wxMenuBar_SetHelpString(_arg0
,_arg1
,*_arg2
);
5193 wxPy_END_ALLOW_THREADS
;
5194 } Py_INCREF(Py_None
);
5195 _resultobj
= Py_None
;
5203 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
5204 static PyObject
*_wrap_wxMenuBar_SetLabel(PyObject
*self
, PyObject
*args
) {
5205 PyObject
* _resultobj
;
5210 PyObject
* _obj2
= 0;
5213 if(!PyArg_ParseTuple(args
,"siO:wxMenuBar_SetLabel",&_argc0
,&_arg1
,&_obj2
))
5216 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
5222 if (!PyString_Check(_obj2
)) {
5223 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5226 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5229 wxPy_BEGIN_ALLOW_THREADS
;
5230 wxMenuBar_SetLabel(_arg0
,_arg1
,*_arg2
);
5232 wxPy_END_ALLOW_THREADS
;
5233 } Py_INCREF(Py_None
);
5234 _resultobj
= Py_None
;
5242 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
5243 static PyObject
*_wrap_wxMenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
) {
5244 PyObject
* _resultobj
;
5251 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_GetLabelTop",&_argc0
,&_arg1
))
5254 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
5260 wxPy_BEGIN_ALLOW_THREADS
;
5261 _result
= new wxString (wxMenuBar_GetLabelTop(_arg0
,_arg1
));
5263 wxPy_END_ALLOW_THREADS
;
5265 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5273 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
5274 static PyObject
*_wrap_wxMenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
) {
5275 PyObject
* _resultobj
;
5280 PyObject
* _obj2
= 0;
5283 if(!PyArg_ParseTuple(args
,"siO:wxMenuBar_SetLabelTop",&_argc0
,&_arg1
,&_obj2
))
5286 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
5292 if (!PyString_Check(_obj2
)) {
5293 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5296 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5299 wxPy_BEGIN_ALLOW_THREADS
;
5300 wxMenuBar_SetLabelTop(_arg0
,_arg1
,*_arg2
);
5302 wxPy_END_ALLOW_THREADS
;
5303 } Py_INCREF(Py_None
);
5304 _resultobj
= Py_None
;
5312 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
5313 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
) {
5314 PyObject
* _resultobj
;
5320 if(!PyArg_ParseTuple(args
,"s:wxMenuBar_GetMenuCount",&_argc0
))
5323 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
5329 wxPy_BEGIN_ALLOW_THREADS
;
5330 _result
= (int )wxMenuBar_GetMenuCount(_arg0
);
5332 wxPy_END_ALLOW_THREADS
;
5333 } _resultobj
= Py_BuildValue("i",_result
);
5337 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
5338 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
) {
5339 PyObject
* _resultobj
;
5347 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_GetMenu",&_argc0
,&_arg1
))
5350 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
5356 wxPy_BEGIN_ALLOW_THREADS
;
5357 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
5359 wxPy_END_ALLOW_THREADS
;
5360 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
5361 _resultobj
= Py_BuildValue("s",_ptemp
);
5365 #define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5366 static PyObject
*_wrap_new_wxMenuItem(PyObject
*self
, PyObject
*args
) {
5367 PyObject
* _resultobj
;
5368 wxMenuItem
* _result
;
5369 wxMenu
* _arg0
= NULL
;
5370 int _arg1
= ID_SEPARATOR
;
5371 wxString
* _arg2
= &wxPyEmptyStr
;
5372 wxString
* _arg3
= &wxPyEmptyStr
;
5374 wxMenu
* _arg5
= NULL
;
5376 PyObject
* _obj2
= 0;
5377 PyObject
* _obj3
= 0;
5383 if(!PyArg_ParseTuple(args
,"|siOOis:new_wxMenuItem",&_argc0
,&_arg1
,&_obj2
,&_obj3
,&tempbool4
,&_argc5
))
5386 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
5387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
5393 if (!PyString_Check(_obj2
)) {
5394 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5397 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5401 if (!PyString_Check(_obj3
)) {
5402 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5405 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
5407 _arg4
= (bool ) tempbool4
;
5409 if (SWIG_GetPtr(_argc5
,(void **) &_arg5
,"_wxMenu_p")) {
5410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
5415 wxPy_BEGIN_ALLOW_THREADS
;
5416 _result
= (wxMenuItem
*)new_wxMenuItem(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
5418 wxPy_END_ALLOW_THREADS
;
5419 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
5420 _resultobj
= Py_BuildValue("s",_ptemp
);
5432 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
5433 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
) {
5434 PyObject
* _resultobj
;
5440 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsSeparator",&_argc0
))
5443 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
5449 wxPy_BEGIN_ALLOW_THREADS
;
5450 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
5452 wxPy_END_ALLOW_THREADS
;
5453 } _resultobj
= Py_BuildValue("i",_result
);
5457 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
5458 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
) {
5459 PyObject
* _resultobj
;
5465 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsEnabled",&_argc0
))
5468 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
5474 wxPy_BEGIN_ALLOW_THREADS
;
5475 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
5477 wxPy_END_ALLOW_THREADS
;
5478 } _resultobj
= Py_BuildValue("i",_result
);
5482 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
5483 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
) {
5484 PyObject
* _resultobj
;
5490 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsChecked",&_argc0
))
5493 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
5499 wxPy_BEGIN_ALLOW_THREADS
;
5500 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
5502 wxPy_END_ALLOW_THREADS
;
5503 } _resultobj
= Py_BuildValue("i",_result
);
5507 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
5508 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
) {
5509 PyObject
* _resultobj
;
5515 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsCheckable",&_argc0
))
5518 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
5524 wxPy_BEGIN_ALLOW_THREADS
;
5525 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
5527 wxPy_END_ALLOW_THREADS
;
5528 } _resultobj
= Py_BuildValue("i",_result
);
5532 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
5533 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
) {
5534 PyObject
* _resultobj
;
5540 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetId",&_argc0
))
5543 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
5549 wxPy_BEGIN_ALLOW_THREADS
;
5550 _result
= (int )wxMenuItem_GetId(_arg0
);
5552 wxPy_END_ALLOW_THREADS
;
5553 } _resultobj
= Py_BuildValue("i",_result
);
5557 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
5558 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
) {
5559 PyObject
* _resultobj
;
5566 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetSubMenu",&_argc0
))
5569 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
5575 wxPy_BEGIN_ALLOW_THREADS
;
5576 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
5578 wxPy_END_ALLOW_THREADS
;
5579 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
5580 _resultobj
= Py_BuildValue("s",_ptemp
);
5584 #define wxMenuItem_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
5585 static PyObject
*_wrap_wxMenuItem_SetName(PyObject
*self
, PyObject
*args
) {
5586 PyObject
* _resultobj
;
5590 PyObject
* _obj1
= 0;
5593 if(!PyArg_ParseTuple(args
,"sO:wxMenuItem_SetName",&_argc0
,&_obj1
))
5596 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetName. Expected _wxMenuItem_p.");
5602 if (!PyString_Check(_obj1
)) {
5603 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5606 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5609 wxPy_BEGIN_ALLOW_THREADS
;
5610 wxMenuItem_SetName(_arg0
,*_arg1
);
5612 wxPy_END_ALLOW_THREADS
;
5613 } Py_INCREF(Py_None
);
5614 _resultobj
= Py_None
;
5622 #define wxMenuItem_GetName(_swigobj) (_swigobj->GetName())
5623 static PyObject
*_wrap_wxMenuItem_GetName(PyObject
*self
, PyObject
*args
) {
5624 PyObject
* _resultobj
;
5630 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetName",&_argc0
))
5633 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetName. Expected _wxMenuItem_p.");
5639 wxPy_BEGIN_ALLOW_THREADS
;
5640 _result
= new wxString (wxMenuItem_GetName(_arg0
));
5642 wxPy_END_ALLOW_THREADS
;
5644 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5652 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
5653 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
) {
5654 PyObject
* _resultobj
;
5660 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetHelp",&_argc0
))
5663 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
5669 wxPy_BEGIN_ALLOW_THREADS
;
5670 _result
= new wxString (wxMenuItem_GetHelp(_arg0
));
5672 wxPy_END_ALLOW_THREADS
;
5674 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5682 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
5683 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
) {
5684 PyObject
* _resultobj
;
5688 PyObject
* _obj1
= 0;
5691 if(!PyArg_ParseTuple(args
,"sO:wxMenuItem_SetHelp",&_argc0
,&_obj1
))
5694 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
5700 if (!PyString_Check(_obj1
)) {
5701 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5704 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5707 wxPy_BEGIN_ALLOW_THREADS
;
5708 wxMenuItem_SetHelp(_arg0
,*_arg1
);
5710 wxPy_END_ALLOW_THREADS
;
5711 } Py_INCREF(Py_None
);
5712 _resultobj
= Py_None
;
5720 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
5721 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
) {
5722 PyObject
* _resultobj
;
5729 if(!PyArg_ParseTuple(args
,"s|i:wxMenuItem_Enable",&_argc0
,&tempbool1
))
5732 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
5737 _arg1
= (bool ) tempbool1
;
5739 wxPy_BEGIN_ALLOW_THREADS
;
5740 wxMenuItem_Enable(_arg0
,_arg1
);
5742 wxPy_END_ALLOW_THREADS
;
5743 } Py_INCREF(Py_None
);
5744 _resultobj
= Py_None
;
5748 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
5749 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
) {
5750 PyObject
* _resultobj
;
5757 if(!PyArg_ParseTuple(args
,"s|i:wxMenuItem_Check",&_argc0
,&tempbool1
))
5760 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
5765 _arg1
= (bool ) tempbool1
;
5767 wxPy_BEGIN_ALLOW_THREADS
;
5768 wxMenuItem_Check(_arg0
,_arg1
);
5770 wxPy_END_ALLOW_THREADS
;
5771 } Py_INCREF(Py_None
);
5772 _resultobj
= Py_None
;
5776 #define wxMenuItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
5777 static PyObject
*_wrap_wxMenuItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
) {
5778 PyObject
* _resultobj
;
5785 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetBackgroundColour",&_argc0
))
5788 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetBackgroundColour. Expected _wxMenuItem_p.");
5794 wxPy_BEGIN_ALLOW_THREADS
;
5795 wxColour
& _result_ref
= wxMenuItem_GetBackgroundColour(_arg0
);
5796 _result
= (wxColour
*) &_result_ref
;
5798 wxPy_END_ALLOW_THREADS
;
5799 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
5800 _resultobj
= Py_BuildValue("s",_ptemp
);
5804 #define wxMenuItem_GetBitmap(_swigobj,_swigarg0) (_swigobj->GetBitmap(_swigarg0))
5805 static PyObject
*_wrap_wxMenuItem_GetBitmap(PyObject
*self
, PyObject
*args
) {
5806 PyObject
* _resultobj
;
5815 if(!PyArg_ParseTuple(args
,"s|i:wxMenuItem_GetBitmap",&_argc0
,&tempbool1
))
5818 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetBitmap. Expected _wxMenuItem_p.");
5823 _arg1
= (bool ) tempbool1
;
5825 wxPy_BEGIN_ALLOW_THREADS
;
5826 _result
= new wxBitmap (wxMenuItem_GetBitmap(_arg0
,_arg1
));
5828 wxPy_END_ALLOW_THREADS
;
5829 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
5830 _resultobj
= Py_BuildValue("s",_ptemp
);
5834 #define wxMenuItem_GetFont(_swigobj) (_swigobj->GetFont())
5835 static PyObject
*_wrap_wxMenuItem_GetFont(PyObject
*self
, PyObject
*args
) {
5836 PyObject
* _resultobj
;
5843 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetFont",&_argc0
))
5846 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetFont. Expected _wxMenuItem_p.");
5852 wxPy_BEGIN_ALLOW_THREADS
;
5853 wxFont
& _result_ref
= wxMenuItem_GetFont(_arg0
);
5854 _result
= (wxFont
*) &_result_ref
;
5856 wxPy_END_ALLOW_THREADS
;
5857 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
5858 _resultobj
= Py_BuildValue("s",_ptemp
);
5862 #define wxMenuItem_GetMarginWidth(_swigobj) (_swigobj->GetMarginWidth())
5863 static PyObject
*_wrap_wxMenuItem_GetMarginWidth(PyObject
*self
, PyObject
*args
) {
5864 PyObject
* _resultobj
;
5870 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetMarginWidth",&_argc0
))
5873 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMarginWidth. Expected _wxMenuItem_p.");
5879 wxPy_BEGIN_ALLOW_THREADS
;
5880 _result
= (int )wxMenuItem_GetMarginWidth(_arg0
);
5882 wxPy_END_ALLOW_THREADS
;
5883 } _resultobj
= Py_BuildValue("i",_result
);
5887 #define wxMenuItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
5888 static PyObject
*_wrap_wxMenuItem_GetTextColour(PyObject
*self
, PyObject
*args
) {
5889 PyObject
* _resultobj
;
5896 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetTextColour",&_argc0
))
5899 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetTextColour. Expected _wxMenuItem_p.");
5905 wxPy_BEGIN_ALLOW_THREADS
;
5906 wxColour
& _result_ref
= wxMenuItem_GetTextColour(_arg0
);
5907 _result
= (wxColour
*) &_result_ref
;
5909 wxPy_END_ALLOW_THREADS
;
5910 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
5911 _resultobj
= Py_BuildValue("s",_ptemp
);
5915 #define wxMenuItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5916 static PyObject
*_wrap_wxMenuItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
) {
5917 PyObject
* _resultobj
;
5924 if(!PyArg_ParseTuple(args
,"ss:wxMenuItem_SetBackgroundColour",&_argc0
,&_argc1
))
5927 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetBackgroundColour. Expected _wxMenuItem_p.");
5933 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
5934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetBackgroundColour. Expected _wxColour_p.");
5939 wxPy_BEGIN_ALLOW_THREADS
;
5940 wxMenuItem_SetBackgroundColour(_arg0
,*_arg1
);
5942 wxPy_END_ALLOW_THREADS
;
5943 } Py_INCREF(Py_None
);
5944 _resultobj
= Py_None
;
5948 #define wxMenuItem_SetBitmaps(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBitmaps(_swigarg0,_swigarg1))
5949 static PyObject
*_wrap_wxMenuItem_SetBitmaps(PyObject
*self
, PyObject
*args
) {
5950 PyObject
* _resultobj
;
5953 wxBitmap
* _arg2
= &wxNullBitmap
;
5959 if(!PyArg_ParseTuple(args
,"ss|s:wxMenuItem_SetBitmaps",&_argc0
,&_argc1
,&_argc2
))
5962 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetBitmaps. Expected _wxMenuItem_p.");
5968 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBitmap_p")) {
5969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetBitmaps. Expected _wxBitmap_p.");
5974 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxBitmap_p")) {
5975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuItem_SetBitmaps. Expected _wxBitmap_p.");
5980 wxPy_BEGIN_ALLOW_THREADS
;
5981 wxMenuItem_SetBitmaps(_arg0
,*_arg1
,*_arg2
);
5983 wxPy_END_ALLOW_THREADS
;
5984 } Py_INCREF(Py_None
);
5985 _resultobj
= Py_None
;
5989 #define wxMenuItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5990 static PyObject
*_wrap_wxMenuItem_SetFont(PyObject
*self
, PyObject
*args
) {
5991 PyObject
* _resultobj
;
5998 if(!PyArg_ParseTuple(args
,"ss:wxMenuItem_SetFont",&_argc0
,&_argc1
))
6001 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetFont. Expected _wxMenuItem_p.");
6007 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxFont_p")) {
6008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetFont. Expected _wxFont_p.");
6013 wxPy_BEGIN_ALLOW_THREADS
;
6014 wxMenuItem_SetFont(_arg0
,*_arg1
);
6016 wxPy_END_ALLOW_THREADS
;
6017 } Py_INCREF(Py_None
);
6018 _resultobj
= Py_None
;
6022 #define wxMenuItem_SetMarginWidth(_swigobj,_swigarg0) (_swigobj->SetMarginWidth(_swigarg0))
6023 static PyObject
*_wrap_wxMenuItem_SetMarginWidth(PyObject
*self
, PyObject
*args
) {
6024 PyObject
* _resultobj
;
6030 if(!PyArg_ParseTuple(args
,"si:wxMenuItem_SetMarginWidth",&_argc0
,&_arg1
))
6033 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetMarginWidth. Expected _wxMenuItem_p.");
6039 wxPy_BEGIN_ALLOW_THREADS
;
6040 wxMenuItem_SetMarginWidth(_arg0
,_arg1
);
6042 wxPy_END_ALLOW_THREADS
;
6043 } Py_INCREF(Py_None
);
6044 _resultobj
= Py_None
;
6048 #define wxMenuItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
6049 static PyObject
*_wrap_wxMenuItem_SetTextColour(PyObject
*self
, PyObject
*args
) {
6050 PyObject
* _resultobj
;
6057 if(!PyArg_ParseTuple(args
,"ss:wxMenuItem_SetTextColour",&_argc0
,&_argc1
))
6060 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetTextColour. Expected _wxMenuItem_p.");
6066 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
6067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetTextColour. Expected _wxColour_p.");
6072 wxPy_BEGIN_ALLOW_THREADS
;
6073 wxMenuItem_SetTextColour(_arg0
,*_arg1
);
6075 wxPy_END_ALLOW_THREADS
;
6076 } Py_INCREF(Py_None
);
6077 _resultobj
= Py_None
;
6081 #define wxMenuItem_DeleteSubMenu(_swigobj) (_swigobj->DeleteSubMenu())
6082 static PyObject
*_wrap_wxMenuItem_DeleteSubMenu(PyObject
*self
, PyObject
*args
) {
6083 PyObject
* _resultobj
;
6088 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_DeleteSubMenu",&_argc0
))
6091 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
6092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_DeleteSubMenu. Expected _wxMenuItem_p.");
6097 wxPy_BEGIN_ALLOW_THREADS
;
6098 wxMenuItem_DeleteSubMenu(_arg0
);
6100 wxPy_END_ALLOW_THREADS
;
6101 } Py_INCREF(Py_None
);
6102 _resultobj
= Py_None
;
6106 static PyMethodDef windowscMethods
[] = {
6107 { "wxMenuItem_DeleteSubMenu", _wrap_wxMenuItem_DeleteSubMenu
, 1 },
6108 { "wxMenuItem_SetTextColour", _wrap_wxMenuItem_SetTextColour
, 1 },
6109 { "wxMenuItem_SetMarginWidth", _wrap_wxMenuItem_SetMarginWidth
, 1 },
6110 { "wxMenuItem_SetFont", _wrap_wxMenuItem_SetFont
, 1 },
6111 { "wxMenuItem_SetBitmaps", _wrap_wxMenuItem_SetBitmaps
, 1 },
6112 { "wxMenuItem_SetBackgroundColour", _wrap_wxMenuItem_SetBackgroundColour
, 1 },
6113 { "wxMenuItem_GetTextColour", _wrap_wxMenuItem_GetTextColour
, 1 },
6114 { "wxMenuItem_GetMarginWidth", _wrap_wxMenuItem_GetMarginWidth
, 1 },
6115 { "wxMenuItem_GetFont", _wrap_wxMenuItem_GetFont
, 1 },
6116 { "wxMenuItem_GetBitmap", _wrap_wxMenuItem_GetBitmap
, 1 },
6117 { "wxMenuItem_GetBackgroundColour", _wrap_wxMenuItem_GetBackgroundColour
, 1 },
6118 { "wxMenuItem_Check", _wrap_wxMenuItem_Check
, 1 },
6119 { "wxMenuItem_Enable", _wrap_wxMenuItem_Enable
, 1 },
6120 { "wxMenuItem_SetHelp", _wrap_wxMenuItem_SetHelp
, 1 },
6121 { "wxMenuItem_GetHelp", _wrap_wxMenuItem_GetHelp
, 1 },
6122 { "wxMenuItem_GetName", _wrap_wxMenuItem_GetName
, 1 },
6123 { "wxMenuItem_SetName", _wrap_wxMenuItem_SetName
, 1 },
6124 { "wxMenuItem_GetSubMenu", _wrap_wxMenuItem_GetSubMenu
, 1 },
6125 { "wxMenuItem_GetId", _wrap_wxMenuItem_GetId
, 1 },
6126 { "wxMenuItem_IsCheckable", _wrap_wxMenuItem_IsCheckable
, 1 },
6127 { "wxMenuItem_IsChecked", _wrap_wxMenuItem_IsChecked
, 1 },
6128 { "wxMenuItem_IsEnabled", _wrap_wxMenuItem_IsEnabled
, 1 },
6129 { "wxMenuItem_IsSeparator", _wrap_wxMenuItem_IsSeparator
, 1 },
6130 { "new_wxMenuItem", _wrap_new_wxMenuItem
, 1 },
6131 { "wxMenuBar_GetMenu", _wrap_wxMenuBar_GetMenu
, 1 },
6132 { "wxMenuBar_GetMenuCount", _wrap_wxMenuBar_GetMenuCount
, 1 },
6133 { "wxMenuBar_SetLabelTop", _wrap_wxMenuBar_SetLabelTop
, 1 },
6134 { "wxMenuBar_GetLabelTop", _wrap_wxMenuBar_GetLabelTop
, 1 },
6135 { "wxMenuBar_SetLabel", _wrap_wxMenuBar_SetLabel
, 1 },
6136 { "wxMenuBar_SetHelpString", _wrap_wxMenuBar_SetHelpString
, 1 },
6137 { "wxMenuBar_GetLabel", _wrap_wxMenuBar_GetLabel
, 1 },
6138 { "wxMenuBar_GetHelpString", _wrap_wxMenuBar_GetHelpString
, 1 },
6139 { "wxMenuBar_EnableTop", _wrap_wxMenuBar_EnableTop
, 1 },
6140 { "wxMenuBar_FindItemForId", _wrap_wxMenuBar_FindItemForId
, 1 },
6141 { "wxMenuBar_FindMenuItem", _wrap_wxMenuBar_FindMenuItem
, 1 },
6142 { "wxMenuBar_Enabled", _wrap_wxMenuBar_Enabled
, 1 },
6143 { "wxMenuBar_Enable", _wrap_wxMenuBar_Enable
, 1 },
6144 { "wxMenuBar_Checked", _wrap_wxMenuBar_Checked
, 1 },
6145 { "wxMenuBar_Check", _wrap_wxMenuBar_Check
, 1 },
6146 { "wxMenuBar_Append", _wrap_wxMenuBar_Append
, 1 },
6147 { "new_wxMenuBar", _wrap_new_wxMenuBar
, 1 },
6148 { "wxMenu_UpdateUI", _wrap_wxMenu_UpdateUI
, 1 },
6149 { "wxMenu_SetLabel", _wrap_wxMenu_SetLabel
, 1 },
6150 { "wxMenu_IsEnabled", _wrap_wxMenu_IsEnabled
, 1 },
6151 { "wxMenu_IsChecked", _wrap_wxMenu_IsChecked
, 1 },
6152 { "wxMenu_SetHelpString", _wrap_wxMenu_SetHelpString
, 1 },
6153 { "wxMenu_GetLabel", _wrap_wxMenu_GetLabel
, 1 },
6154 { "wxMenu_GetHelpString", _wrap_wxMenu_GetHelpString
, 1 },
6155 { "wxMenu_FindItemForId", _wrap_wxMenu_FindItemForId
, 1 },
6156 { "wxMenu_SetTitle", _wrap_wxMenu_SetTitle
, 1 },
6157 { "wxMenu_GetTitle", _wrap_wxMenu_GetTitle
, 1 },
6158 { "wxMenu_FindItem", _wrap_wxMenu_FindItem
, 1 },
6159 { "wxMenu_Enable", _wrap_wxMenu_Enable
, 1 },
6160 { "wxMenu_Check", _wrap_wxMenu_Check
, 1 },
6161 { "wxMenu_Break", _wrap_wxMenu_Break
, 1 },
6162 { "wxMenu_AppendSeparator", _wrap_wxMenu_AppendSeparator
, 1 },
6163 { "wxMenu_AppendItem", _wrap_wxMenu_AppendItem
, 1 },
6164 { "wxMenu_AppendMenu", _wrap_wxMenu_AppendMenu
, 1 },
6165 { "wxMenu_Append", _wrap_wxMenu_Append
, 1 },
6166 { "new_wxMenu", _wrap_new_wxMenu
, 1 },
6167 { "wxScrolledWindow_ViewStart", _wrap_wxScrolledWindow_ViewStart
, 1 },
6168 { "wxScrolledWindow_SetScrollbars", _wrap_wxScrolledWindow_SetScrollbars
, 1 },
6169 { "wxScrolledWindow_Scroll", _wrap_wxScrolledWindow_Scroll
, 1 },
6170 { "wxScrolledWindow_PrepareDC", _wrap_wxScrolledWindow_PrepareDC
, 1 },
6171 { "wxScrolledWindow_IsRetained", _wrap_wxScrolledWindow_IsRetained
, 1 },
6172 { "wxScrolledWindow_GetVirtualSize", _wrap_wxScrolledWindow_GetVirtualSize
, 1 },
6173 { "wxScrolledWindow_GetScrollPixelsPerUnit", _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, 1 },
6174 { "wxScrolledWindow_EnableScrolling", _wrap_wxScrolledWindow_EnableScrolling
, 1 },
6175 { "new_wxScrolledWindow", _wrap_new_wxScrolledWindow
, 1 },
6176 { "wxDialog_SetReturnCode", _wrap_wxDialog_SetReturnCode
, 1 },
6177 { "wxDialog_GetReturnCode", _wrap_wxDialog_GetReturnCode
, 1 },
6178 { "wxDialog_ShowModal", _wrap_wxDialog_ShowModal
, 1 },
6179 { "wxDialog_Show", _wrap_wxDialog_Show
, 1 },
6180 { "wxDialog_SetTitle", _wrap_wxDialog_SetTitle
, 1 },
6181 { "wxDialog_IsModal", _wrap_wxDialog_IsModal
, 1 },
6182 { "wxDialog_SetModal", _wrap_wxDialog_SetModal
, 1 },
6183 { "wxDialog_IsIconized", _wrap_wxDialog_IsIconized
, 1 },
6184 { "wxDialog_Iconize", _wrap_wxDialog_Iconize
, 1 },
6185 { "wxDialog_GetTitle", _wrap_wxDialog_GetTitle
, 1 },
6186 { "wxDialog_EndModal", _wrap_wxDialog_EndModal
, 1 },
6187 { "wxDialog_Centre", _wrap_wxDialog_Centre
, 1 },
6188 { "new_wxDialog", _wrap_new_wxDialog
, 1 },
6189 { "wxPanel_SetDefaultItem", _wrap_wxPanel_SetDefaultItem
, 1 },
6190 { "wxPanel_GetDefaultItem", _wrap_wxPanel_GetDefaultItem
, 1 },
6191 { "wxPanel_InitDialog", _wrap_wxPanel_InitDialog
, 1 },
6192 { "new_wxPanel", _wrap_new_wxPanel
, 1 },
6193 { "wxWindow_GetToolTip", _wrap_wxWindow_GetToolTip
, 1 },
6194 { "wxWindow_SetToolTip", _wrap_wxWindow_SetToolTip
, 1 },
6195 { "wxWindow_SetToolTipString", _wrap_wxWindow_SetToolTipString
, 1 },
6196 { "wxWindow_ConvertPixelSizeToDialog", _wrap_wxWindow_ConvertPixelSizeToDialog
, 1 },
6197 { "wxWindow_ConvertPixelPointToDialog", _wrap_wxWindow_ConvertPixelPointToDialog
, 1 },
6198 { "wxWindow_DLG_SZE", _wrap_wxWindow_ConvertDialogSizeToPixels
, 1 },
6199 { "wxWindow_DLG_PNT", _wrap_wxWindow_ConvertDialogPointToPixels
, 1 },
6200 { "wxWindow_ConvertDialogSizeToPixels", _wrap_wxWindow_ConvertDialogSizeToPixels
, 1 },
6201 { "wxWindow_ConvertDialogPointToPixels", _wrap_wxWindow_ConvertDialogPointToPixels
, 1 },
6202 { "wxWindow_WarpPointer", _wrap_wxWindow_WarpPointer
, 1 },
6203 { "wxWindow_Validate", _wrap_wxWindow_Validate
, 1 },
6204 { "wxWindow_TransferDataToWindow", _wrap_wxWindow_TransferDataToWindow
, 1 },
6205 { "wxWindow_TransferDataFromWindow", _wrap_wxWindow_TransferDataFromWindow
, 1 },
6206 { "wxWindow_Show", _wrap_wxWindow_Show
, 1 },
6207 { "wxWindow_SetTitle", _wrap_wxWindow_SetTitle
, 1 },
6208 { "wxWindow_SetCursor", _wrap_wxWindow_SetCursor
, 1 },
6209 { "wxWindow_SetClientSize", _wrap_wxWindow_SetClientSize
, 1 },
6210 { "wxWindow_SetClientSizeWH", _wrap_wxWindow_SetClientSizeWH
, 1 },
6211 { "wxWindow_SetSizeHints", _wrap_wxWindow_SetSizeHints
, 1 },
6212 { "wxWindow_SetPosition", _wrap_wxWindow_SetPosition
, 1 },
6213 { "wxWindow_SetSize", _wrap_wxWindow_SetSize
, 1 },
6214 { "wxWindow_SetDimensions", _wrap_wxWindow_SetDimensions
, 1 },
6215 { "wxWindow_SetScrollPos", _wrap_wxWindow_SetScrollPos
, 1 },
6216 { "wxWindow_SetScrollbar", _wrap_wxWindow_SetScrollbar
, 1 },
6217 { "wxWindow_SetName", _wrap_wxWindow_SetName
, 1 },
6218 { "wxWindow_SetId", _wrap_wxWindow_SetId
, 1 },
6219 { "wxWindow_SetForegroundColour", _wrap_wxWindow_SetForegroundColour
, 1 },
6220 { "wxWindow_SetFont", _wrap_wxWindow_SetFont
, 1 },
6221 { "wxWindow_SetFocus", _wrap_wxWindow_SetFocus
, 1 },
6222 { "wxWindow_SetConstraints", _wrap_wxWindow_SetConstraints
, 1 },
6223 { "wxWindow_SetBackgroundColour", _wrap_wxWindow_SetBackgroundColour
, 1 },
6224 { "wxWindow_SetAutoLayout", _wrap_wxWindow_SetAutoLayout
, 1 },
6225 { "wxWindow_SetAcceleratorTable", _wrap_wxWindow_SetAcceleratorTable
, 1 },
6226 { "wxWindow_ScrollWindow", _wrap_wxWindow_ScrollWindow
, 1 },
6227 { "wxWindow_ScreenToClient", _wrap_wxWindow_ScreenToClient
, 1 },
6228 { "wxWindow_ScreenToClientXY", _wrap_wxWindow_ScreenToClientXY
, 1 },
6229 { "wxWindow_Reparent", _wrap_wxWindow_Reparent
, 1 },
6230 { "wxWindow_ReleaseMouse", _wrap_wxWindow_ReleaseMouse
, 1 },
6231 { "wxWindow_Refresh", _wrap_wxWindow_Refresh
, 1 },
6232 { "wxWindow_Raise", _wrap_wxWindow_Raise
, 1 },
6233 { "wxWindow_PopupMenu", _wrap_wxWindow_PopupMenu
, 1 },
6234 { "wxWindow_PopupMenuXY", _wrap_wxWindow_PopupMenuXY
, 1 },
6235 { "wxWindow_Move", _wrap_wxWindow_Move
, 1 },
6236 { "wxWindow_MoveXY", _wrap_wxWindow_MoveXY
, 1 },
6237 { "wxWindow_MakeModal", _wrap_wxWindow_MakeModal
, 1 },
6238 { "wxWindow_Lower", _wrap_wxWindow_Lower
, 1 },
6239 { "wxWindow_LoadFromResource", _wrap_wxWindow_LoadFromResource
, 1 },
6240 { "wxWindow_Layout", _wrap_wxWindow_Layout
, 1 },
6241 { "wxWindow_IsTopLevel", _wrap_wxWindow_IsTopLevel
, 1 },
6242 { "wxWindow_IsShown", _wrap_wxWindow_IsShown
, 1 },
6243 { "wxWindow_IsRetained", _wrap_wxWindow_IsRetained
, 1 },
6244 { "wxWindow_IsEnabled", _wrap_wxWindow_IsEnabled
, 1 },
6245 { "wxWindow_InitDialog", _wrap_wxWindow_InitDialog
, 1 },
6246 { "wxWindow_Hide", _wrap_wxWindow_Hide
, 1 },
6247 { "wxWindow_GetWindowStyleFlag", _wrap_wxWindow_GetWindowStyleFlag
, 1 },
6248 { "wxWindow_GetUpdateRegion", _wrap_wxWindow_GetUpdateRegion
, 1 },
6249 { "wxWindow_GetTitle", _wrap_wxWindow_GetTitle
, 1 },
6250 { "wxWindow_GetFullTextExtent", _wrap_wxWindow_GetFullTextExtent
, 1 },
6251 { "wxWindow_GetTextExtent", _wrap_wxWindow_GetTextExtent
, 1 },
6252 { "wxWindow_GetSize", _wrap_wxWindow_GetSize
, 1 },
6253 { "wxWindow_GetSizeTuple", _wrap_wxWindow_GetSizeTuple
, 1 },
6254 { "wxWindow_GetScrollRange", _wrap_wxWindow_GetScrollRange
, 1 },
6255 { "wxWindow_GetScrollPos", _wrap_wxWindow_GetScrollPos
, 1 },
6256 { "wxWindow_GetScrollThumb", _wrap_wxWindow_GetScrollThumb
, 1 },
6257 { "wxWindow_GetRect", _wrap_wxWindow_GetRect
, 1 },
6258 { "wxWindow_GetPosition", _wrap_wxWindow_GetPosition
, 1 },
6259 { "wxWindow_GetPositionTuple", _wrap_wxWindow_GetPositionTuple
, 1 },
6260 { "wxWindow_GetParent", _wrap_wxWindow_GetParent
, 1 },
6261 { "wxWindow_GetName", _wrap_wxWindow_GetName
, 1 },
6262 { "wxWindow_SetLabel", _wrap_wxWindow_SetLabel
, 1 },
6263 { "wxWindow_GetLabel", _wrap_wxWindow_GetLabel
, 1 },
6264 { "wxWindow_GetId", _wrap_wxWindow_GetId
, 1 },
6265 { "wxWindow_GetGrandParent", _wrap_wxWindow_GetGrandParent
, 1 },
6266 { "wxWindow_GetForegroundColour", _wrap_wxWindow_GetForegroundColour
, 1 },
6267 { "wxWindow_GetFont", _wrap_wxWindow_GetFont
, 1 },
6268 { "wxWindow_GetConstraints", _wrap_wxWindow_GetConstraints
, 1 },
6269 { "wxWindow_GetClientSize", _wrap_wxWindow_GetClientSize
, 1 },
6270 { "wxWindow_GetClientSizeTuple", _wrap_wxWindow_GetClientSizeTuple
, 1 },
6271 { "wxWindow_GetCharWidth", _wrap_wxWindow_GetCharWidth
, 1 },
6272 { "wxWindow_GetCharHeight", _wrap_wxWindow_GetCharHeight
, 1 },
6273 { "wxWindow_GetBackgroundColour", _wrap_wxWindow_GetBackgroundColour
, 1 },
6274 { "wxWindow_Fit", _wrap_wxWindow_Fit
, 1 },
6275 { "wxWindow_FindWindowByName", _wrap_wxWindow_FindWindowByName
, 1 },
6276 { "wxWindow_FindWindowById", _wrap_wxWindow_FindWindowById
, 1 },
6277 { "wxWindow_Enable", _wrap_wxWindow_Enable
, 1 },
6278 { "wxWindow_DragAcceptFiles", _wrap_wxWindow_DragAcceptFiles
, 1 },
6279 { "wxWindow_DestroyChildren", _wrap_wxWindow_DestroyChildren
, 1 },
6280 { "wxWindow_Destroy", _wrap_wxWindow_Destroy
, 1 },
6281 { "wxWindow_Close", _wrap_wxWindow_Close
, 1 },
6282 { "wxWindow_ClientToScreen", _wrap_wxWindow_ClientToScreen
, 1 },
6283 { "wxWindow_ClientToScreenXY", _wrap_wxWindow_ClientToScreenXY
, 1 },
6284 { "wxWindow_CenterOnParent", _wrap_wxWindow_CenterOnParent
, 1 },
6285 { "wxWindow_CentreOnParent", _wrap_wxWindow_CentreOnParent
, 1 },
6286 { "wxWindow_Centre", _wrap_wxWindow_Centre
, 1 },
6287 { "wxWindow_Center", _wrap_wxWindow_Center
, 1 },
6288 { "wxWindow_CaptureMouse", _wrap_wxWindow_CaptureMouse
, 1 },
6289 { "new_wxWindow", _wrap_new_wxWindow
, 1 },
6290 { "wxEvtHandler_Connect", _wrap_wxEvtHandler_Connect
, 1 },
6291 { "wxEvtHandler_ProcessEvent", _wrap_wxEvtHandler_ProcessEvent
, 1 },
6292 { "wxWindow_FromHWND", _wrap_wxWindow_FromHWND
, 1 },
6293 { "wxWindow_FindFocus", _wrap_wxWindow_FindFocus
, 1 },
6296 static PyObject
*SWIG_globals
;
6300 SWIGEXPORT(void,initwindowsc
)() {
6302 SWIG_globals
= SWIG_newvarlink();
6303 m
= Py_InitModule("windowsc", windowscMethods
);
6304 d
= PyModule_GetDict(m
);
6306 * These are the pointer type-equivalency mappings.
6307 * (Used by the SWIG pointer type-checker).
6309 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
6310 SWIG_RegisterMapping("_signed_long","_long",0);
6311 SWIG_RegisterMapping("_wxPrintQuality","_int",0);
6312 SWIG_RegisterMapping("_wxPrintQuality","_signed_int",0);
6313 SWIG_RegisterMapping("_wxPrintQuality","_unsigned_int",0);
6314 SWIG_RegisterMapping("_wxPrintQuality","_wxWindowID",0);
6315 SWIG_RegisterMapping("_wxPrintQuality","_uint",0);
6316 SWIG_RegisterMapping("_wxPrintQuality","_EBool",0);
6317 SWIG_RegisterMapping("_wxPrintQuality","_size_t",0);
6318 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
6319 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
6320 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
6321 SWIG_RegisterMapping("_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
6322 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
);
6323 SWIG_RegisterMapping("_class_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
);
6324 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
6325 SWIG_RegisterMapping("_class_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
6326 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
);
6327 SWIG_RegisterMapping("_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
);
6328 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
);
6329 SWIG_RegisterMapping("_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
);
6330 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
);
6331 SWIG_RegisterMapping("_class_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
);
6332 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
6333 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
6334 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
6335 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
6336 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
6337 SWIG_RegisterMapping("_byte","_unsigned_char",0);
6338 SWIG_RegisterMapping("_long","_wxDash",0);
6339 SWIG_RegisterMapping("_long","_unsigned_long",0);
6340 SWIG_RegisterMapping("_long","_signed_long",0);
6341 SWIG_RegisterMapping("_wxImageList","_class_wxImageList",0);
6342 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
6343 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
6344 SWIG_RegisterMapping("_size_t","_wxPrintQuality",0);
6345 SWIG_RegisterMapping("_size_t","_unsigned_int",0);
6346 SWIG_RegisterMapping("_size_t","_int",0);
6347 SWIG_RegisterMapping("_size_t","_wxWindowID",0);
6348 SWIG_RegisterMapping("_size_t","_uint",0);
6349 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
6350 SWIG_RegisterMapping("_wxPrinterDC","_class_wxPrinterDC",0);
6351 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
6352 SWIG_RegisterMapping("_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
);
6353 SWIG_RegisterMapping("_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
);
6354 SWIG_RegisterMapping("_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
);
6355 SWIG_RegisterMapping("_wxPanel","_wxDialog",SwigwxDialogTowxPanel
);
6356 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
6357 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
6358 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
6359 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
6360 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
6361 SWIG_RegisterMapping("_uint","_wxPrintQuality",0);
6362 SWIG_RegisterMapping("_uint","_size_t",0);
6363 SWIG_RegisterMapping("_uint","_unsigned_int",0);
6364 SWIG_RegisterMapping("_uint","_int",0);
6365 SWIG_RegisterMapping("_uint","_wxWindowID",0);
6366 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
6367 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
6368 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
6369 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
6370 SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
6371 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
6372 SWIG_RegisterMapping("_EBool","_wxPrintQuality",0);
6373 SWIG_RegisterMapping("_EBool","_signed_int",0);
6374 SWIG_RegisterMapping("_EBool","_int",0);
6375 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
6376 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
6377 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
6378 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
6379 SWIG_RegisterMapping("_unsigned_long","_long",0);
6380 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
6381 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
6382 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
6383 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
6384 SWIG_RegisterMapping("_class_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
);
6385 SWIG_RegisterMapping("_class_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
);
6386 SWIG_RegisterMapping("_class_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
);
6387 SWIG_RegisterMapping("_class_wxPanel","_wxDialog",SwigwxDialogTowxPanel
);
6388 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
6389 SWIG_RegisterMapping("_signed_int","_wxPrintQuality",0);
6390 SWIG_RegisterMapping("_signed_int","_EBool",0);
6391 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
6392 SWIG_RegisterMapping("_signed_int","_int",0);
6393 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
6394 SWIG_RegisterMapping("_wxMetaFileDC","_class_wxMetaFileDC",0);
6395 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
6396 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
6397 SWIG_RegisterMapping("_WXTYPE","_short",0);
6398 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
6399 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
6400 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
6401 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
6402 SWIG_RegisterMapping("_unsigned_short","_short",0);
6403 SWIG_RegisterMapping("_class_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
6404 SWIG_RegisterMapping("_class_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
6405 SWIG_RegisterMapping("_class_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
);
6406 SWIG_RegisterMapping("_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow
);
6407 SWIG_RegisterMapping("_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
);
6408 SWIG_RegisterMapping("_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow
);
6409 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
6410 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
6411 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
6412 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
6413 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
6414 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
6415 SWIG_RegisterMapping("_signed_short","_short",0);
6416 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
6417 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
6418 SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0);
6419 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
6420 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
6421 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
6422 SWIG_RegisterMapping("_unsigned_char","_byte",0);
6423 SWIG_RegisterMapping("_class_wxMetaFileDC","_wxMetaFileDC",0);
6424 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
6425 SWIG_RegisterMapping("_unsigned_int","_wxPrintQuality",0);
6426 SWIG_RegisterMapping("_unsigned_int","_size_t",0);
6427 SWIG_RegisterMapping("_unsigned_int","_uint",0);
6428 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
6429 SWIG_RegisterMapping("_unsigned_int","_int",0);
6430 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
6431 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
6432 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
6433 SWIG_RegisterMapping("_short","_WXTYPE",0);
6434 SWIG_RegisterMapping("_short","_unsigned_short",0);
6435 SWIG_RegisterMapping("_short","_signed_short",0);
6436 SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0);
6437 SWIG_RegisterMapping("_wxWindowID","_wxPrintQuality",0);
6438 SWIG_RegisterMapping("_wxWindowID","_size_t",0);
6439 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
6440 SWIG_RegisterMapping("_wxWindowID","_uint",0);
6441 SWIG_RegisterMapping("_wxWindowID","_int",0);
6442 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
6443 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
6444 SWIG_RegisterMapping("_int","_wxPrintQuality",0);
6445 SWIG_RegisterMapping("_int","_size_t",0);
6446 SWIG_RegisterMapping("_int","_EBool",0);
6447 SWIG_RegisterMapping("_int","_uint",0);
6448 SWIG_RegisterMapping("_int","_wxWindowID",0);
6449 SWIG_RegisterMapping("_int","_unsigned_int",0);
6450 SWIG_RegisterMapping("_int","_signed_int",0);
6451 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
6452 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
6453 SWIG_RegisterMapping("_class_wxPrinterDC","_wxPrinterDC",0);
6454 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
6455 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
6456 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
6457 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
6458 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
6459 SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
6460 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
6461 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
6462 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
6463 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
6464 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
6465 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
6466 SWIG_RegisterMapping("_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
6467 SWIG_RegisterMapping("_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
6468 SWIG_RegisterMapping("_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
);
6469 SWIG_RegisterMapping("_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
);
6470 SWIG_RegisterMapping("_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
6471 SWIG_RegisterMapping("_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
6472 SWIG_RegisterMapping("_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
);
6473 SWIG_RegisterMapping("_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
);
6474 SWIG_RegisterMapping("_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
);
6475 SWIG_RegisterMapping("_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
);
6476 SWIG_RegisterMapping("_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
);
6477 SWIG_RegisterMapping("_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
);
6478 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
6479 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
6480 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
6481 SWIG_RegisterMapping("_wxDash","_long",0);
6482 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
6483 SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);
6484 SWIG_RegisterMapping("_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
6485 SWIG_RegisterMapping("_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
6486 SWIG_RegisterMapping("_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
);
6487 SWIG_RegisterMapping("_wxWindow","_wxDialog",SwigwxDialogTowxWindow
);
6488 SWIG_RegisterMapping("_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
);
6489 SWIG_RegisterMapping("_wxWindow","_wxPanel",SwigwxPanelTowxWindow
);
6490 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);