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"
59 // wxGTK defines wxMenuItem inside menu.h
60 #include <wx/menuitem.h>
64 #include <wx/minifram.h>
67 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
71 } else if (target
== Py_None
) {
75 if (!PyList_Check(target
)) {
77 target
= PyList_New(0);
78 PyList_Append(target
, o2
);
81 PyList_Append(target
,o
);
87 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
93 } else if (target
== Py_None
) {
97 if (!PyTuple_Check(target
)) {
99 target
= PyTuple_New(1);
100 PyTuple_SetItem(target
, 0, o2
);
103 PyTuple_SetItem(o3
, 0, o
);
106 target
= PySequence_Concat(o2
, o3
);
114 extern byte
* byte_LIST_helper(PyObject
* source
);
115 extern int* int_LIST_helper(PyObject
* source
);
116 extern long* long_LIST_helper(PyObject
* source
);
117 extern char** string_LIST_helper(PyObject
* source
);
118 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
119 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
120 extern wxString
* wxString_LIST_helper(PyObject
* source
);
121 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
124 static char* wxStringErrorMsg
= "string type is required for parameter";
126 wxWindow
* wxWindow_FindFocus() {
127 return wxWindow::FindFocus();
129 static PyObject
*_wrap_wxWindow_FindFocus(PyObject
*self
, PyObject
*args
) {
130 PyObject
* _resultobj
;
135 if(!PyArg_ParseTuple(args
,":wxWindow_FindFocus"))
137 _result
= (wxWindow
*)wxWindow_FindFocus();
138 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
139 _resultobj
= Py_BuildValue("s",_ptemp
);
143 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
* func
) {
144 if (PyCallable_Check(func
)) {
145 self
->Connect(id
, lastId
, eventType
,
146 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
147 new wxPyCallback(func
));
150 static PyObject
*_wrap_wxEvtHandler_Connect(PyObject
*self
, PyObject
*args
) {
151 PyObject
* _resultobj
;
152 wxEvtHandler
* _arg0
;
158 PyObject
* _obj4
= 0;
161 if(!PyArg_ParseTuple(args
,"siiiO:wxEvtHandler_Connect",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
164 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
172 wxEvtHandler_Connect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
174 _resultobj
= Py_None
;
178 static void *SwigwxWindowTowxEvtHandler(void *ptr
) {
181 src
= (wxWindow
*) ptr
;
182 dest
= (wxEvtHandler
*) src
;
183 return (void *) dest
;
186 #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
187 static PyObject
*_wrap_new_wxWindow(PyObject
*self
, PyObject
*args
) {
188 PyObject
* _resultobj
;
192 wxPoint
* _arg2
= &wxPyDefaultPosition
;
193 wxSize
* _arg3
= &wxPyDefaultSize
;
195 char * _arg5
= "panel";
202 if(!PyArg_ParseTuple(args
,"si|ssls:new_wxWindow",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
205 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
211 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxWindow. Expected _wxPoint_p.");
217 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxWindow. Expected _wxSize_p.");
222 _result
= (wxWindow
*)new_wxWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
223 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
224 _resultobj
= Py_BuildValue("s",_ptemp
);
228 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
229 static PyObject
*_wrap_wxWindow_CaptureMouse(PyObject
*self
, PyObject
*args
) {
230 PyObject
* _resultobj
;
235 if(!PyArg_ParseTuple(args
,"s:wxWindow_CaptureMouse",&_argc0
))
238 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
243 wxWindow_CaptureMouse(_arg0
);
245 _resultobj
= Py_None
;
249 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
250 static PyObject
*_wrap_wxWindow_Center(PyObject
*self
, PyObject
*args
) {
251 PyObject
* _resultobj
;
253 int _arg1
= (wxHORIZONTAL
);
257 if(!PyArg_ParseTuple(args
,"s|i:wxWindow_Center",&_argc0
,&_arg1
))
260 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
265 wxWindow_Center(_arg0
,_arg1
);
267 _resultobj
= Py_None
;
271 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
272 static PyObject
*_wrap_wxWindow_Centre(PyObject
*self
, PyObject
*args
) {
273 PyObject
* _resultobj
;
275 int _arg1
= (wxHORIZONTAL
);
279 if(!PyArg_ParseTuple(args
,"s|i:wxWindow_Centre",&_argc0
,&_arg1
))
282 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
287 wxWindow_Centre(_arg0
,_arg1
);
289 _resultobj
= Py_None
;
293 #define wxWindow_ClientToScreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
294 static PyObject
*_wrap_wxWindow_ClientToScreen(PyObject
*self
, PyObject
*args
) {
295 PyObject
* _resultobj
;
301 PyObject
* _obj1
= 0;
303 PyObject
* _obj2
= 0;
306 if(!PyArg_ParseTuple(args
,"sOO:wxWindow_ClientToScreen",&_argc0
,&_obj1
,&_obj2
))
309 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
315 temp
= (int) PyInt_AsLong(_obj1
);
319 temp0
= (int) PyInt_AsLong(_obj2
);
322 wxWindow_ClientToScreen(_arg0
,_arg1
,_arg2
);
324 _resultobj
= Py_None
;
327 o
= PyInt_FromLong((long) (*_arg1
));
328 _resultobj
= t_output_helper(_resultobj
, o
);
332 o
= PyInt_FromLong((long) (*_arg2
));
333 _resultobj
= t_output_helper(_resultobj
, o
);
338 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
339 static PyObject
*_wrap_wxWindow_Close(PyObject
*self
, PyObject
*args
) {
340 PyObject
* _resultobj
;
347 if(!PyArg_ParseTuple(args
,"s|i:wxWindow_Close",&_argc0
,&_arg1
))
350 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
355 _result
= (bool )wxWindow_Close(_arg0
,_arg1
);
356 _resultobj
= Py_BuildValue("i",_result
);
360 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
361 static PyObject
*_wrap_wxWindow_Destroy(PyObject
*self
, PyObject
*args
) {
362 PyObject
* _resultobj
;
368 if(!PyArg_ParseTuple(args
,"s:wxWindow_Destroy",&_argc0
))
371 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
376 _result
= (bool )wxWindow_Destroy(_arg0
);
377 _resultobj
= Py_BuildValue("i",_result
);
381 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
382 static PyObject
*_wrap_wxWindow_DestroyChildren(PyObject
*self
, PyObject
*args
) {
383 PyObject
* _resultobj
;
388 if(!PyArg_ParseTuple(args
,"s:wxWindow_DestroyChildren",&_argc0
))
391 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
396 wxWindow_DestroyChildren(_arg0
);
398 _resultobj
= Py_None
;
402 #define wxWindow_DragAcceptFiles(_swigobj,_swigarg0) (_swigobj->DragAcceptFiles(_swigarg0))
403 static PyObject
*_wrap_wxWindow_DragAcceptFiles(PyObject
*self
, PyObject
*args
) {
404 PyObject
* _resultobj
;
411 if(!PyArg_ParseTuple(args
,"si:wxWindow_DragAcceptFiles",&_argc0
,&tempbool1
))
414 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DragAcceptFiles. Expected _wxWindow_p.");
419 _arg1
= (bool ) tempbool1
;
420 wxWindow_DragAcceptFiles(_arg0
,_arg1
);
422 _resultobj
= Py_None
;
426 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
427 static PyObject
*_wrap_wxWindow_Enable(PyObject
*self
, PyObject
*args
) {
428 PyObject
* _resultobj
;
435 if(!PyArg_ParseTuple(args
,"si:wxWindow_Enable",&_argc0
,&tempbool1
))
438 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
443 _arg1
= (bool ) tempbool1
;
444 wxWindow_Enable(_arg0
,_arg1
);
446 _resultobj
= Py_None
;
450 #define wxWindow_FindWindowByID(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
451 static PyObject
*_wrap_wxWindow_FindWindowByID(PyObject
*self
, PyObject
*args
) {
452 PyObject
* _resultobj
;
460 if(!PyArg_ParseTuple(args
,"sl:wxWindow_FindWindowByID",&_argc0
,&_arg1
))
463 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByID. Expected _wxWindow_p.");
468 _result
= (wxWindow
*)wxWindow_FindWindowByID(_arg0
,_arg1
);
469 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
470 _resultobj
= Py_BuildValue("s",_ptemp
);
474 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
475 static PyObject
*_wrap_wxWindow_FindWindowByName(PyObject
*self
, PyObject
*args
) {
476 PyObject
* _resultobj
;
481 PyObject
* _obj1
= 0;
485 if(!PyArg_ParseTuple(args
,"sO:wxWindow_FindWindowByName",&_argc0
,&_obj1
))
488 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
494 if (!PyString_Check(_obj1
)) {
495 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
498 _arg1
= new wxString(PyString_AsString(_obj1
));
500 _result
= (wxWindow
*)wxWindow_FindWindowByName(_arg0
,*_arg1
);
501 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
502 _resultobj
= Py_BuildValue("s",_ptemp
);
510 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
511 static PyObject
*_wrap_wxWindow_Fit(PyObject
*self
, PyObject
*args
) {
512 PyObject
* _resultobj
;
517 if(!PyArg_ParseTuple(args
,"s:wxWindow_Fit",&_argc0
))
520 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
527 _resultobj
= Py_None
;
531 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
532 static PyObject
*_wrap_wxWindow_GetBackgroundColour(PyObject
*self
, PyObject
*args
) {
533 PyObject
* _resultobj
;
540 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetBackgroundColour",&_argc0
))
543 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
548 _result
= new wxColour (wxWindow_GetBackgroundColour(_arg0
));
549 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
550 _resultobj
= Py_BuildValue("s",_ptemp
);
554 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
555 static PyObject
*_wrap_wxWindow_GetCharHeight(PyObject
*self
, PyObject
*args
) {
556 PyObject
* _resultobj
;
562 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetCharHeight",&_argc0
))
565 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
570 _result
= (int )wxWindow_GetCharHeight(_arg0
);
571 _resultobj
= Py_BuildValue("i",_result
);
575 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
576 static PyObject
*_wrap_wxWindow_GetCharWidth(PyObject
*self
, PyObject
*args
) {
577 PyObject
* _resultobj
;
583 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetCharWidth",&_argc0
))
586 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
591 _result
= (int )wxWindow_GetCharWidth(_arg0
);
592 _resultobj
= Py_BuildValue("i",_result
);
596 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
597 static PyObject
*_wrap_wxWindow_GetClientSizeTuple(PyObject
*self
, PyObject
*args
) {
598 PyObject
* _resultobj
;
613 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetClientSizeTuple",&_argc0
))
616 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
621 wxWindow_GetClientSizeTuple(_arg0
,_arg1
,_arg2
);
623 _resultobj
= Py_None
;
626 o
= PyInt_FromLong((long) (*_arg1
));
627 _resultobj
= t_output_helper(_resultobj
, o
);
631 o
= PyInt_FromLong((long) (*_arg2
));
632 _resultobj
= t_output_helper(_resultobj
, o
);
637 #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
638 static PyObject
*_wrap_wxWindow_GetClientSize(PyObject
*self
, PyObject
*args
) {
639 PyObject
* _resultobj
;
646 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetClientSize",&_argc0
))
649 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
654 _result
= new wxSize (wxWindow_GetClientSize(_arg0
));
655 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
656 _resultobj
= Py_BuildValue("s",_ptemp
);
660 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
661 static PyObject
*_wrap_wxWindow_GetConstraints(PyObject
*self
, PyObject
*args
) {
662 PyObject
* _resultobj
;
663 wxLayoutConstraints
* _result
;
669 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetConstraints",&_argc0
))
672 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
677 _result
= (wxLayoutConstraints
*)wxWindow_GetConstraints(_arg0
);
678 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
679 _resultobj
= Py_BuildValue("s",_ptemp
);
683 #define wxWindow_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
684 static PyObject
*_wrap_wxWindow_GetDefaultItem(PyObject
*self
, PyObject
*args
) {
685 PyObject
* _resultobj
;
692 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetDefaultItem",&_argc0
))
695 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetDefaultItem. Expected _wxWindow_p.");
700 _result
= (wxButton
*)wxWindow_GetDefaultItem(_arg0
);
701 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
702 _resultobj
= Py_BuildValue("s",_ptemp
);
706 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
707 static PyObject
*_wrap_wxWindow_GetFont(PyObject
*self
, PyObject
*args
) {
708 PyObject
* _resultobj
;
715 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetFont",&_argc0
))
718 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
723 wxFont
& _result_ref
= wxWindow_GetFont(_arg0
);
724 _result
= (wxFont
*) &_result_ref
;
725 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
726 _resultobj
= Py_BuildValue("s",_ptemp
);
730 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
731 static PyObject
*_wrap_wxWindow_GetForegroundColour(PyObject
*self
, PyObject
*args
) {
732 PyObject
* _resultobj
;
739 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetForegroundColour",&_argc0
))
742 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
747 _result
= new wxColour (wxWindow_GetForegroundColour(_arg0
));
748 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
749 _resultobj
= Py_BuildValue("s",_ptemp
);
753 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
754 static PyObject
*_wrap_wxWindow_GetGrandParent(PyObject
*self
, PyObject
*args
) {
755 PyObject
* _resultobj
;
762 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetGrandParent",&_argc0
))
765 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
770 _result
= (wxWindow
*)wxWindow_GetGrandParent(_arg0
);
771 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
772 _resultobj
= Py_BuildValue("s",_ptemp
);
776 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
777 static PyObject
*_wrap_wxWindow_GetId(PyObject
*self
, PyObject
*args
) {
778 PyObject
* _resultobj
;
784 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetId",&_argc0
))
787 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
792 _result
= (int )wxWindow_GetId(_arg0
);
793 _resultobj
= Py_BuildValue("i",_result
);
797 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
798 static PyObject
*_wrap_wxWindow_GetLabel(PyObject
*self
, PyObject
*args
) {
799 PyObject
* _resultobj
;
805 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetLabel",&_argc0
))
808 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
813 _result
= new wxString (wxWindow_GetLabel(_arg0
));
815 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
823 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
824 static PyObject
*_wrap_wxWindow_GetName(PyObject
*self
, PyObject
*args
) {
825 PyObject
* _resultobj
;
831 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetName",&_argc0
))
834 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
839 _result
= new wxString (wxWindow_GetName(_arg0
));
841 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
849 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
850 static PyObject
*_wrap_wxWindow_GetParent(PyObject
*self
, PyObject
*args
) {
851 PyObject
* _resultobj
;
858 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetParent",&_argc0
))
861 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
866 _result
= (wxWindow
*)wxWindow_GetParent(_arg0
);
867 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
868 _resultobj
= Py_BuildValue("s",_ptemp
);
872 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
873 static PyObject
*_wrap_wxWindow_GetPositionTuple(PyObject
*self
, PyObject
*args
) {
874 PyObject
* _resultobj
;
889 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetPositionTuple",&_argc0
))
892 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
897 wxWindow_GetPositionTuple(_arg0
,_arg1
,_arg2
);
899 _resultobj
= Py_None
;
902 o
= PyInt_FromLong((long) (*_arg1
));
903 _resultobj
= t_output_helper(_resultobj
, o
);
907 o
= PyInt_FromLong((long) (*_arg2
));
908 _resultobj
= t_output_helper(_resultobj
, o
);
913 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
914 static PyObject
*_wrap_wxWindow_GetPosition(PyObject
*self
, PyObject
*args
) {
915 PyObject
* _resultobj
;
922 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetPosition",&_argc0
))
925 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
930 _result
= new wxPoint (wxWindow_GetPosition(_arg0
));
931 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
932 _resultobj
= Py_BuildValue("s",_ptemp
);
936 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
937 static PyObject
*_wrap_wxWindow_GetRect(PyObject
*self
, PyObject
*args
) {
938 PyObject
* _resultobj
;
945 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetRect",&_argc0
))
948 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
953 _result
= new wxRect (wxWindow_GetRect(_arg0
));
954 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
955 _resultobj
= Py_BuildValue("s",_ptemp
);
959 #define wxWindow_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
960 static PyObject
*_wrap_wxWindow_GetReturnCode(PyObject
*self
, PyObject
*args
) {
961 PyObject
* _resultobj
;
967 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetReturnCode",&_argc0
))
970 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetReturnCode. Expected _wxWindow_p.");
975 _result
= (int )wxWindow_GetReturnCode(_arg0
);
976 _resultobj
= Py_BuildValue("i",_result
);
980 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
981 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*self
, PyObject
*args
) {
982 PyObject
* _resultobj
;
989 if(!PyArg_ParseTuple(args
,"si:wxWindow_GetScrollThumb",&_argc0
,&_arg1
))
992 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
997 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
998 _resultobj
= Py_BuildValue("i",_result
);
1002 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
1003 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
) {
1004 PyObject
* _resultobj
;
1011 if(!PyArg_ParseTuple(args
,"si:wxWindow_GetScrollPos",&_argc0
,&_arg1
))
1014 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
1019 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
1020 _resultobj
= Py_BuildValue("i",_result
);
1024 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
1025 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*self
, PyObject
*args
) {
1026 PyObject
* _resultobj
;
1033 if(!PyArg_ParseTuple(args
,"si:wxWindow_GetScrollRange",&_argc0
,&_arg1
))
1036 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
1041 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
1042 _resultobj
= Py_BuildValue("i",_result
);
1046 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
1047 static PyObject
*_wrap_wxWindow_GetSizeTuple(PyObject
*self
, PyObject
*args
) {
1048 PyObject
* _resultobj
;
1063 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetSizeTuple",&_argc0
))
1066 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
1071 wxWindow_GetSizeTuple(_arg0
,_arg1
,_arg2
);
1073 _resultobj
= Py_None
;
1076 o
= PyInt_FromLong((long) (*_arg1
));
1077 _resultobj
= t_output_helper(_resultobj
, o
);
1081 o
= PyInt_FromLong((long) (*_arg2
));
1082 _resultobj
= t_output_helper(_resultobj
, o
);
1087 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
1088 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*self
, PyObject
*args
) {
1089 PyObject
* _resultobj
;
1096 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetSize",&_argc0
))
1099 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
1104 _result
= new wxSize (wxWindow_GetSize(_arg0
));
1105 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1106 _resultobj
= Py_BuildValue("s",_ptemp
);
1110 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
1111 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
) {
1112 PyObject
* _resultobj
;
1120 PyObject
* _obj1
= 0;
1129 if(!PyArg_ParseTuple(args
,"sO:wxWindow_GetTextExtent",&_argc0
,&_obj1
))
1132 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
1138 if (!PyString_Check(_obj1
)) {
1139 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1142 _arg1
= new wxString(PyString_AsString(_obj1
));
1144 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
1146 _resultobj
= Py_None
;
1149 o
= PyInt_FromLong((long) (*_arg2
));
1150 _resultobj
= t_output_helper(_resultobj
, o
);
1154 o
= PyInt_FromLong((long) (*_arg3
));
1155 _resultobj
= t_output_helper(_resultobj
, o
);
1164 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
1165 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
) {
1166 PyObject
* _resultobj
;
1172 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetTitle",&_argc0
))
1175 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
1180 _result
= new wxString (wxWindow_GetTitle(_arg0
));
1182 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1190 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
1191 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
) {
1192 PyObject
* _resultobj
;
1198 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetWindowStyleFlag",&_argc0
))
1201 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
1206 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
1207 _resultobj
= Py_BuildValue("l",_result
);
1211 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
1212 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
) {
1213 PyObject
* _resultobj
;
1218 if(!PyArg_ParseTuple(args
,"s:wxWindow_InitDialog",&_argc0
))
1221 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
1226 wxWindow_InitDialog(_arg0
);
1228 _resultobj
= Py_None
;
1232 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
1233 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
) {
1234 PyObject
* _resultobj
;
1240 if(!PyArg_ParseTuple(args
,"s:wxWindow_IsEnabled",&_argc0
))
1243 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
1248 _result
= (bool )wxWindow_IsEnabled(_arg0
);
1249 _resultobj
= Py_BuildValue("i",_result
);
1253 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
1254 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
) {
1255 PyObject
* _resultobj
;
1261 if(!PyArg_ParseTuple(args
,"s:wxWindow_IsRetained",&_argc0
))
1264 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
1269 _result
= (bool )wxWindow_IsRetained(_arg0
);
1270 _resultobj
= Py_BuildValue("i",_result
);
1274 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
1275 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
) {
1276 PyObject
* _resultobj
;
1282 if(!PyArg_ParseTuple(args
,"s:wxWindow_IsShown",&_argc0
))
1285 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
1290 _result
= (bool )wxWindow_IsShown(_arg0
);
1291 _resultobj
= Py_BuildValue("i",_result
);
1295 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
1296 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
) {
1297 PyObject
* _resultobj
;
1302 if(!PyArg_ParseTuple(args
,"s:wxWindow_Layout",&_argc0
))
1305 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
1310 wxWindow_Layout(_arg0
);
1312 _resultobj
= Py_None
;
1316 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
1317 static PyObject
*_wrap_wxWindow_LoadFromResource(PyObject
*self
, PyObject
*args
) {
1318 PyObject
* _resultobj
;
1323 wxResourceTable
* _arg3
= NULL
;
1326 PyObject
* _obj2
= 0;
1330 if(!PyArg_ParseTuple(args
,"ssO|s:wxWindow_LoadFromResource",&_argc0
,&_argc1
,&_obj2
,&_argc3
))
1333 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
1339 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
1340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
1345 if (!PyString_Check(_obj2
)) {
1346 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1349 _arg2
= new wxString(PyString_AsString(_obj2
));
1352 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxResourceTable_p")) {
1353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
1357 _result
= (bool )wxWindow_LoadFromResource(_arg0
,_arg1
,*_arg2
,_arg3
);
1358 _resultobj
= Py_BuildValue("i",_result
);
1366 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
1367 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
) {
1368 PyObject
* _resultobj
;
1373 if(!PyArg_ParseTuple(args
,"s:wxWindow_Lower",&_argc0
))
1376 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
1381 wxWindow_Lower(_arg0
);
1383 _resultobj
= Py_None
;
1387 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
1388 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
) {
1389 PyObject
* _resultobj
;
1396 if(!PyArg_ParseTuple(args
,"si:wxWindow_MakeModal",&_argc0
,&tempbool1
))
1399 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
1404 _arg1
= (bool ) tempbool1
;
1405 wxWindow_MakeModal(_arg0
,_arg1
);
1407 _resultobj
= Py_None
;
1411 #define wxWindow_Move(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
1412 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
) {
1413 PyObject
* _resultobj
;
1420 if(!PyArg_ParseTuple(args
,"sii:wxWindow_Move",&_argc0
,&_arg1
,&_arg2
))
1423 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
1428 wxWindow_Move(_arg0
,_arg1
,_arg2
);
1430 _resultobj
= Py_None
;
1434 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
1435 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
) {
1436 PyObject
* _resultobj
;
1446 if(!PyArg_ParseTuple(args
,"ssii:wxWindow_PopupMenu",&_argc0
,&_argc1
,&_arg2
,&_arg3
))
1449 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
1455 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxMenu_p")) {
1456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
1460 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,_arg2
,_arg3
);
1461 _resultobj
= Py_BuildValue("i",_result
);
1465 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
1466 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
) {
1467 PyObject
* _resultobj
;
1472 if(!PyArg_ParseTuple(args
,"s:wxWindow_Raise",&_argc0
))
1475 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
1480 wxWindow_Raise(_arg0
);
1482 _resultobj
= Py_None
;
1486 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
1487 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
) {
1488 PyObject
* _resultobj
;
1491 wxRect
* _arg2
= NULL
;
1497 if(!PyArg_ParseTuple(args
,"s|is:wxWindow_Refresh",&_argc0
,&tempbool1
,&_argc2
))
1500 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
1505 _arg1
= (bool ) tempbool1
;
1507 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxRect_p")) {
1508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxWindow_Refresh. Expected _wxRect_p.");
1512 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
1514 _resultobj
= Py_None
;
1518 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
1519 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
) {
1520 PyObject
* _resultobj
;
1525 if(!PyArg_ParseTuple(args
,"s:wxWindow_ReleaseMouse",&_argc0
))
1528 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
1533 wxWindow_ReleaseMouse(_arg0
);
1535 _resultobj
= Py_None
;
1539 #define wxWindow_ScreenToClient(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
1540 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
) {
1541 PyObject
* _resultobj
;
1547 PyObject
* _obj1
= 0;
1549 PyObject
* _obj2
= 0;
1552 if(!PyArg_ParseTuple(args
,"sOO:wxWindow_ScreenToClient",&_argc0
,&_obj1
,&_obj2
))
1555 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
1561 temp
= (int) PyInt_AsLong(_obj1
);
1565 temp0
= (int) PyInt_AsLong(_obj2
);
1568 wxWindow_ScreenToClient(_arg0
,_arg1
,_arg2
);
1570 _resultobj
= Py_None
;
1573 o
= PyInt_FromLong((long) (*_arg1
));
1574 _resultobj
= t_output_helper(_resultobj
, o
);
1578 o
= PyInt_FromLong((long) (*_arg2
));
1579 _resultobj
= t_output_helper(_resultobj
, o
);
1584 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
1585 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
) {
1586 PyObject
* _resultobj
;
1590 wxRect
* _arg3
= NULL
;
1595 if(!PyArg_ParseTuple(args
,"sii|s:wxWindow_ScrollWindow",&_argc0
,&_arg1
,&_arg2
,&_argc3
))
1598 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
1604 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxRect_p")) {
1605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_ScrollWindow. Expected _wxRect_p.");
1609 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
1611 _resultobj
= Py_None
;
1615 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
1616 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
) {
1617 PyObject
* _resultobj
;
1619 wxAcceleratorTable
* _arg1
;
1624 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetAcceleratorTable",&_argc0
,&_argc1
))
1627 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
1633 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
1634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
1638 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
1640 _resultobj
= Py_None
;
1644 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
1645 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
) {
1646 PyObject
* _resultobj
;
1653 if(!PyArg_ParseTuple(args
,"si:wxWindow_SetAutoLayout",&_argc0
,&tempbool1
))
1656 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
1661 _arg1
= (bool ) tempbool1
;
1662 wxWindow_SetAutoLayout(_arg0
,_arg1
);
1664 _resultobj
= Py_None
;
1668 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1669 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
) {
1670 PyObject
* _resultobj
;
1677 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetBackgroundColour",&_argc0
,&_argc1
))
1680 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
1686 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
1687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetBackgroundColour. Expected _wxColour_p.");
1691 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
1693 _resultobj
= Py_None
;
1697 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
1698 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
) {
1699 PyObject
* _resultobj
;
1701 wxLayoutConstraints
* _arg1
;
1706 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetConstraints",&_argc0
,&_argc1
))
1709 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
1715 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
1716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
1720 wxWindow_SetConstraints(_arg0
,_arg1
);
1722 _resultobj
= Py_None
;
1726 #define wxWindow_SetDoubleClick(_swigobj,_swigarg0) (_swigobj->SetDoubleClick(_swigarg0))
1727 static PyObject
*_wrap_wxWindow_SetDoubleClick(PyObject
*self
, PyObject
*args
) {
1728 PyObject
* _resultobj
;
1735 if(!PyArg_ParseTuple(args
,"si:wxWindow_SetDoubleClick",&_argc0
,&tempbool1
))
1738 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDoubleClick. Expected _wxWindow_p.");
1743 _arg1
= (bool ) tempbool1
;
1744 wxWindow_SetDoubleClick(_arg0
,_arg1
);
1746 _resultobj
= Py_None
;
1750 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
1751 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
) {
1752 PyObject
* _resultobj
;
1757 if(!PyArg_ParseTuple(args
,"s:wxWindow_SetFocus",&_argc0
))
1760 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
1765 wxWindow_SetFocus(_arg0
);
1767 _resultobj
= Py_None
;
1771 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
1772 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
) {
1773 PyObject
* _resultobj
;
1780 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetFont",&_argc0
,&_argc1
))
1783 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
1789 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxFont_p")) {
1790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
1794 wxWindow_SetFont(_arg0
,*_arg1
);
1796 _resultobj
= Py_None
;
1800 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
1801 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
) {
1802 PyObject
* _resultobj
;
1809 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetForegroundColour",&_argc0
,&_argc1
))
1812 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
1818 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
1819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetForegroundColour. Expected _wxColour_p.");
1823 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
1825 _resultobj
= Py_None
;
1829 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
1830 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
) {
1831 PyObject
* _resultobj
;
1837 if(!PyArg_ParseTuple(args
,"si:wxWindow_SetId",&_argc0
,&_arg1
))
1840 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
1845 wxWindow_SetId(_arg0
,_arg1
);
1847 _resultobj
= Py_None
;
1851 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
1852 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
) {
1853 PyObject
* _resultobj
;
1857 PyObject
* _obj1
= 0;
1860 if(!PyArg_ParseTuple(args
,"sO:wxWindow_SetName",&_argc0
,&_obj1
))
1863 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
1869 if (!PyString_Check(_obj1
)) {
1870 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1873 _arg1
= new wxString(PyString_AsString(_obj1
));
1875 wxWindow_SetName(_arg0
,*_arg1
);
1877 _resultobj
= Py_None
;
1885 #define wxWindow_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
1886 static PyObject
*_wrap_wxWindow_SetReturnCode(PyObject
*self
, PyObject
*args
) {
1887 PyObject
* _resultobj
;
1893 if(!PyArg_ParseTuple(args
,"si:wxWindow_SetReturnCode",&_argc0
,&_arg1
))
1896 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetReturnCode. Expected _wxWindow_p.");
1901 wxWindow_SetReturnCode(_arg0
,_arg1
);
1903 _resultobj
= Py_None
;
1907 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1908 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
) {
1909 PyObject
* _resultobj
;
1920 if(!PyArg_ParseTuple(args
,"siiii|i:wxWindow_SetScrollbar",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
1923 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
1928 _arg5
= (bool ) tempbool5
;
1929 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1931 _resultobj
= Py_None
;
1935 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
1936 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
) {
1937 PyObject
* _resultobj
;
1946 if(!PyArg_ParseTuple(args
,"sii|i:wxWindow_SetScrollPos",&_argc0
,&_arg1
,&_arg2
,&tempbool3
))
1949 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
1954 _arg3
= (bool ) tempbool3
;
1955 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
1957 _resultobj
= Py_None
;
1961 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1962 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
) {
1963 PyObject
* _resultobj
;
1969 int _arg5
= (wxSIZE_AUTO
);
1973 if(!PyArg_ParseTuple(args
,"siiii|i:wxWindow_SetDimensions",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
1976 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
1981 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1983 _resultobj
= Py_None
;
1987 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
1988 self
->SetSize(size
.x
, size
.y
);
1990 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
) {
1991 PyObject
* _resultobj
;
1998 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetSize",&_argc0
,&_argc1
))
2001 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
2007 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
2008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSize. Expected _wxSize_p.");
2012 wxWindow_SetSize(_arg0
,*_arg1
);
2014 _resultobj
= Py_None
;
2018 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
) {
2019 self
->SetSize(pos
.x
, pos
.y
, -1, -1);
2021 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
) {
2022 PyObject
* _resultobj
;
2029 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetPosition",&_argc0
,&_argc1
))
2032 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
2038 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
2039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetPosition. Expected _wxPoint_p.");
2043 wxWindow_SetPosition(_arg0
,*_arg1
);
2045 _resultobj
= Py_None
;
2049 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2050 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
) {
2051 PyObject
* _resultobj
;
2062 if(!PyArg_ParseTuple(args
,"s|iiiiii:wxWindow_SetSizeHints",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
2065 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
2070 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2072 _resultobj
= Py_None
;
2076 #define wxWindow_SetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
2077 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
) {
2078 PyObject
* _resultobj
;
2085 if(!PyArg_ParseTuple(args
,"sii:wxWindow_SetClientSize",&_argc0
,&_arg1
,&_arg2
))
2088 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
2093 wxWindow_SetClientSize(_arg0
,_arg1
,_arg2
);
2095 _resultobj
= Py_None
;
2099 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
2100 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
) {
2101 PyObject
* _resultobj
;
2108 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetCursor",&_argc0
,&_argc1
))
2111 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
2117 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxCursor_p")) {
2118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
2122 wxWindow_SetCursor(_arg0
,*_arg1
);
2124 _resultobj
= Py_None
;
2128 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
2129 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
) {
2130 PyObject
* _resultobj
;
2134 PyObject
* _obj1
= 0;
2137 if(!PyArg_ParseTuple(args
,"sO:wxWindow_SetTitle",&_argc0
,&_obj1
))
2140 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
2146 if (!PyString_Check(_obj1
)) {
2147 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2150 _arg1
= new wxString(PyString_AsString(_obj1
));
2152 wxWindow_SetTitle(_arg0
,*_arg1
);
2154 _resultobj
= Py_None
;
2162 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
2163 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
) {
2164 PyObject
* _resultobj
;
2172 if(!PyArg_ParseTuple(args
,"si:wxWindow_Show",&_argc0
,&tempbool1
))
2175 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
2180 _arg1
= (bool ) tempbool1
;
2181 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
2182 _resultobj
= Py_BuildValue("i",_result
);
2186 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
2187 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
) {
2188 PyObject
* _resultobj
;
2194 if(!PyArg_ParseTuple(args
,"s:wxWindow_TransferDataFromWindow",&_argc0
))
2197 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
2202 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
2203 _resultobj
= Py_BuildValue("i",_result
);
2207 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
2208 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
) {
2209 PyObject
* _resultobj
;
2215 if(!PyArg_ParseTuple(args
,"s:wxWindow_TransferDataToWindow",&_argc0
))
2218 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
2223 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
2224 _resultobj
= Py_BuildValue("i",_result
);
2228 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
2229 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
) {
2230 PyObject
* _resultobj
;
2236 if(!PyArg_ParseTuple(args
,"s:wxWindow_Validate",&_argc0
))
2239 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
2244 _result
= (bool )wxWindow_Validate(_arg0
);
2245 _resultobj
= Py_BuildValue("i",_result
);
2249 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
2250 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
) {
2251 PyObject
* _resultobj
;
2258 if(!PyArg_ParseTuple(args
,"sii:wxWindow_WarpPointer",&_argc0
,&_arg1
,&_arg2
))
2261 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
2266 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
2268 _resultobj
= Py_None
;
2272 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
2273 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
) {
2274 PyObject
* _resultobj
;
2283 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ConvertDialogPointToPixels",&_argc0
,&_argc1
))
2286 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
2292 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
2293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertDialogPointToPixels. Expected _wxPoint_p.");
2297 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
2298 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2299 _resultobj
= Py_BuildValue("s",_ptemp
);
2303 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
2304 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
) {
2305 PyObject
* _resultobj
;
2314 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ConvertDialogSizeToPixels",&_argc0
,&_argc1
))
2317 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
2323 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
2324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertDialogSizeToPixels. Expected _wxSize_p.");
2328 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
2329 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2330 _resultobj
= Py_BuildValue("s",_ptemp
);
2334 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
2335 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
) {
2336 PyObject
* _resultobj
;
2345 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ConvertPixelPointToDialog",&_argc0
,&_argc1
))
2348 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
2354 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
2355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertPixelPointToDialog. Expected _wxPoint_p.");
2359 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
2360 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2361 _resultobj
= Py_BuildValue("s",_ptemp
);
2365 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
2366 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
) {
2367 PyObject
* _resultobj
;
2376 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ConvertPixelSizeToDialog",&_argc0
,&_argc1
))
2379 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
2385 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
2386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertPixelSizeToDialog. Expected _wxSize_p.");
2390 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
2391 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2392 _resultobj
= Py_BuildValue("s",_ptemp
);
2396 static void *SwigwxPanelTowxWindow(void *ptr
) {
2399 src
= (wxPanel
*) ptr
;
2400 dest
= (wxWindow
*) src
;
2401 return (void *) dest
;
2404 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
2407 src
= (wxPanel
*) ptr
;
2408 dest
= (wxEvtHandler
*) src
;
2409 return (void *) dest
;
2412 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2413 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
) {
2414 PyObject
* _resultobj
;
2418 wxPoint
* _arg2
= &wxPyDefaultPosition
;
2419 wxSize
* _arg3
= &wxPyDefaultSize
;
2420 long _arg4
= (wxTAB_TRAVERSAL
);
2421 char * _arg5
= "panel";
2428 if(!PyArg_ParseTuple(args
,"si|ssls:new_wxPanel",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
2431 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
2437 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
2438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPanel. Expected _wxPoint_p.");
2443 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
2444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxPanel. Expected _wxSize_p.");
2448 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
2449 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
2450 _resultobj
= Py_BuildValue("s",_ptemp
);
2454 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
2455 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
) {
2456 PyObject
* _resultobj
;
2461 if(!PyArg_ParseTuple(args
,"s:wxPanel_InitDialog",&_argc0
))
2464 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPanel_p")) {
2465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
2469 wxPanel_InitDialog(_arg0
);
2471 _resultobj
= Py_None
;
2475 static void *SwigwxDialogTowxPanel(void *ptr
) {
2478 src
= (wxDialog
*) ptr
;
2479 dest
= (wxPanel
*) src
;
2480 return (void *) dest
;
2483 static void *SwigwxDialogTowxWindow(void *ptr
) {
2486 src
= (wxDialog
*) ptr
;
2487 dest
= (wxWindow
*) src
;
2488 return (void *) dest
;
2491 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
2494 src
= (wxDialog
*) ptr
;
2495 dest
= (wxEvtHandler
*) src
;
2496 return (void *) dest
;
2499 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2500 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
) {
2501 PyObject
* _resultobj
;
2506 wxPoint
* _arg3
= &wxPyDefaultPosition
;
2507 wxSize
* _arg4
= &wxPyDefaultSize
;
2508 long _arg5
= (wxDEFAULT_DIALOG_STYLE
);
2509 char * _arg6
= "dialogBox";
2511 PyObject
* _obj2
= 0;
2517 if(!PyArg_ParseTuple(args
,"siO|ssls:new_wxDialog",&_argc0
,&_arg1
,&_obj2
,&_argc3
,&_argc4
,&_arg5
,&_arg6
))
2520 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
2526 if (!PyString_Check(_obj2
)) {
2527 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2530 _arg2
= new wxString(PyString_AsString(_obj2
));
2533 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxPoint_p")) {
2534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxDialog. Expected _wxPoint_p.");
2539 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_wxSize_p")) {
2540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxDialog. Expected _wxSize_p.");
2544 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
2545 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
2546 _resultobj
= Py_BuildValue("s",_ptemp
);
2554 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
2555 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
) {
2556 PyObject
* _resultobj
;
2558 int _arg1
= (wxBOTH
);
2562 if(!PyArg_ParseTuple(args
,"s|i:wxDialog_Centre",&_argc0
,&_arg1
))
2565 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
2570 wxDialog_Centre(_arg0
,_arg1
);
2572 _resultobj
= Py_None
;
2576 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
2577 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
) {
2578 PyObject
* _resultobj
;
2584 if(!PyArg_ParseTuple(args
,"si:wxDialog_EndModal",&_argc0
,&_arg1
))
2587 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
2592 wxDialog_EndModal(_arg0
,_arg1
);
2594 _resultobj
= Py_None
;
2598 #define wxDialog_GetTitle(_swigobj) (_swigobj->GetTitle())
2599 static PyObject
*_wrap_wxDialog_GetTitle(PyObject
*self
, PyObject
*args
) {
2600 PyObject
* _resultobj
;
2606 if(!PyArg_ParseTuple(args
,"s:wxDialog_GetTitle",&_argc0
))
2609 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetTitle. Expected _wxDialog_p.");
2614 _result
= new wxString (wxDialog_GetTitle(_arg0
));
2616 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2624 #define wxDialog_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
2625 static PyObject
*_wrap_wxDialog_Iconize(PyObject
*self
, PyObject
*args
) {
2626 PyObject
* _resultobj
;
2633 if(!PyArg_ParseTuple(args
,"si:wxDialog_Iconize",&_argc0
,&tempbool1
))
2636 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Iconize. Expected _wxDialog_p.");
2641 _arg1
= (bool ) tempbool1
;
2642 wxDialog_Iconize(_arg0
,_arg1
);
2644 _resultobj
= Py_None
;
2648 #define wxDialog_IsIconized(_swigobj) (_swigobj->IsIconized())
2649 static PyObject
*_wrap_wxDialog_IsIconized(PyObject
*self
, PyObject
*args
) {
2650 PyObject
* _resultobj
;
2656 if(!PyArg_ParseTuple(args
,"s:wxDialog_IsIconized",&_argc0
))
2659 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsIconized. Expected _wxDialog_p.");
2664 _result
= (bool )wxDialog_IsIconized(_arg0
);
2665 _resultobj
= Py_BuildValue("i",_result
);
2669 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
2670 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
) {
2671 PyObject
* _resultobj
;
2678 if(!PyArg_ParseTuple(args
,"si:wxDialog_SetModal",&_argc0
,&tempbool1
))
2681 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
2686 _arg1
= (bool ) tempbool1
;
2687 wxDialog_SetModal(_arg0
,_arg1
);
2689 _resultobj
= Py_None
;
2693 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
2694 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
) {
2695 PyObject
* _resultobj
;
2701 if(!PyArg_ParseTuple(args
,"s:wxDialog_IsModal",&_argc0
))
2704 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
2709 _result
= (bool )wxDialog_IsModal(_arg0
);
2710 _resultobj
= Py_BuildValue("i",_result
);
2714 #define wxDialog_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
2715 static PyObject
*_wrap_wxDialog_SetTitle(PyObject
*self
, PyObject
*args
) {
2716 PyObject
* _resultobj
;
2720 PyObject
* _obj1
= 0;
2723 if(!PyArg_ParseTuple(args
,"sO:wxDialog_SetTitle",&_argc0
,&_obj1
))
2726 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetTitle. Expected _wxDialog_p.");
2732 if (!PyString_Check(_obj1
)) {
2733 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2736 _arg1
= new wxString(PyString_AsString(_obj1
));
2738 wxDialog_SetTitle(_arg0
,*_arg1
);
2740 _resultobj
= Py_None
;
2748 #define wxDialog_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
2749 static PyObject
*_wrap_wxDialog_Show(PyObject
*self
, PyObject
*args
) {
2750 PyObject
* _resultobj
;
2758 if(!PyArg_ParseTuple(args
,"si:wxDialog_Show",&_argc0
,&tempbool1
))
2761 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Show. Expected _wxDialog_p.");
2766 _arg1
= (bool ) tempbool1
;
2767 _result
= (bool )wxDialog_Show(_arg0
,_arg1
);
2768 _resultobj
= Py_BuildValue("i",_result
);
2772 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2773 static PyObject
*_wrap_wxDialog_ShowModal(PyObject
*self
, PyObject
*args
) {
2774 PyObject
* _resultobj
;
2780 if(!PyArg_ParseTuple(args
,"s:wxDialog_ShowModal",&_argc0
))
2783 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
2788 _result
= (int )wxDialog_ShowModal(_arg0
);
2789 _resultobj
= Py_BuildValue("i",_result
);
2793 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
2794 wxScrolledWindow
*src
;
2796 src
= (wxScrolledWindow
*) ptr
;
2797 dest
= (wxWindow
*) src
;
2798 return (void *) dest
;
2801 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
2802 wxScrolledWindow
*src
;
2804 src
= (wxScrolledWindow
*) ptr
;
2805 dest
= (wxEvtHandler
*) src
;
2806 return (void *) dest
;
2809 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2810 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
) {
2811 PyObject
* _resultobj
;
2812 wxScrolledWindow
* _result
;
2814 wxWindowID _arg1
= -1;
2815 wxPoint
* _arg2
= &wxPyDefaultPosition
;
2816 wxSize
* _arg3
= &wxPyDefaultSize
;
2817 long _arg4
= (wxHSCROLL
)|(wxVSCROLL
);
2818 char * _arg5
= "scrolledWindow";
2825 if(!PyArg_ParseTuple(args
,"s|issls:new_wxScrolledWindow",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
2828 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
2834 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
2835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxScrolledWindow. Expected _wxPoint_p.");
2840 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
2841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxScrolledWindow. Expected _wxSize_p.");
2845 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
2846 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
2847 _resultobj
= Py_BuildValue("s",_ptemp
);
2851 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
2852 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
) {
2853 PyObject
* _resultobj
;
2854 wxScrolledWindow
* _arg0
;
2862 if(!PyArg_ParseTuple(args
,"sii:wxScrolledWindow_EnableScrolling",&_argc0
,&tempbool1
,&tempbool2
))
2865 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
2866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
2870 _arg1
= (bool ) tempbool1
;
2871 _arg2
= (bool ) tempbool2
;
2872 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
2874 _resultobj
= Py_None
;
2878 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
2879 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
) {
2880 PyObject
* _resultobj
;
2881 wxScrolledWindow
* _arg0
;
2895 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_GetScrollPixelsPerUnit",&_argc0
))
2898 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
2899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
2903 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
2905 _resultobj
= Py_None
;
2908 o
= PyInt_FromLong((long) (*_arg1
));
2909 _resultobj
= t_output_helper(_resultobj
, o
);
2913 o
= PyInt_FromLong((long) (*_arg2
));
2914 _resultobj
= t_output_helper(_resultobj
, o
);
2919 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
2920 static PyObject
*_wrap_wxScrolledWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
) {
2921 PyObject
* _resultobj
;
2922 wxScrolledWindow
* _arg0
;
2936 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_GetVirtualSize",&_argc0
))
2939 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
2940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
2944 wxScrolledWindow_GetVirtualSize(_arg0
,_arg1
,_arg2
);
2946 _resultobj
= Py_None
;
2949 o
= PyInt_FromLong((long) (*_arg1
));
2950 _resultobj
= t_output_helper(_resultobj
, o
);
2954 o
= PyInt_FromLong((long) (*_arg2
));
2955 _resultobj
= t_output_helper(_resultobj
, o
);
2960 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
2961 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
) {
2962 PyObject
* _resultobj
;
2964 wxScrolledWindow
* _arg0
;
2968 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_IsRetained",&_argc0
))
2971 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
2972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
2976 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
2977 _resultobj
= Py_BuildValue("i",_result
);
2981 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
2982 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
) {
2983 PyObject
* _resultobj
;
2984 wxScrolledWindow
* _arg0
;
2990 if(!PyArg_ParseTuple(args
,"ss:wxScrolledWindow_PrepareDC",&_argc0
,&_argc1
))
2993 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
2994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
2999 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxDC_p")) {
3000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
3004 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
3006 _resultobj
= Py_None
;
3010 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
3011 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
) {
3012 PyObject
* _resultobj
;
3013 wxScrolledWindow
* _arg0
;
3019 if(!PyArg_ParseTuple(args
,"sii:wxScrolledWindow_Scroll",&_argc0
,&_arg1
,&_arg2
))
3022 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
3027 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
3029 _resultobj
= Py_None
;
3033 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3034 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
) {
3035 PyObject
* _resultobj
;
3036 wxScrolledWindow
* _arg0
;
3046 if(!PyArg_ParseTuple(args
,"siiii|ii:wxScrolledWindow_SetScrollbars",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3049 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
3054 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3056 _resultobj
= Py_None
;
3060 #define wxScrolledWindow_ViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->ViewStart(_swigarg0,_swigarg1))
3061 static PyObject
*_wrap_wxScrolledWindow_ViewStart(PyObject
*self
, PyObject
*args
) {
3062 PyObject
* _resultobj
;
3063 wxScrolledWindow
* _arg0
;
3077 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_ViewStart",&_argc0
))
3080 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_ViewStart. Expected _wxScrolledWindow_p.");
3085 wxScrolledWindow_ViewStart(_arg0
,_arg1
,_arg2
);
3087 _resultobj
= Py_None
;
3090 o
= PyInt_FromLong((long) (*_arg1
));
3091 _resultobj
= t_output_helper(_resultobj
, o
);
3095 o
= PyInt_FromLong((long) (*_arg2
));
3096 _resultobj
= t_output_helper(_resultobj
, o
);
3101 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
3104 src
= (wxMenu
*) ptr
;
3105 dest
= (wxEvtHandler
*) src
;
3106 return (void *) dest
;
3109 #define new_wxMenu(_swigarg0) (new wxMenu(_swigarg0))
3110 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
) {
3111 PyObject
* _resultobj
;
3113 wxString
* _arg0
= &wxPyEmptyStr
;
3114 PyObject
* _obj0
= 0;
3118 if(!PyArg_ParseTuple(args
,"|O:new_wxMenu",&_obj0
))
3122 if (!PyString_Check(_obj0
)) {
3123 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3126 _arg0
= new wxString(PyString_AsString(_obj0
));
3128 _result
= (wxMenu
*)new_wxMenu(*_arg0
);
3129 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
3130 _resultobj
= Py_BuildValue("s",_ptemp
);
3138 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3139 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
) {
3140 PyObject
* _resultobj
;
3144 wxString
* _arg3
= &wxPyEmptyStr
;
3147 PyObject
* _obj2
= 0;
3148 PyObject
* _obj3
= 0;
3151 if(!PyArg_ParseTuple(args
,"siO|Oi:wxMenu_Append",&_argc0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
3154 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
3160 if (!PyString_Check(_obj2
)) {
3161 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3164 _arg2
= new wxString(PyString_AsString(_obj2
));
3168 if (!PyString_Check(_obj3
)) {
3169 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3172 _arg3
= new wxString(PyString_AsString(_obj3
));
3174 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
3176 _resultobj
= Py_None
;
3188 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3189 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
) {
3190 PyObject
* _resultobj
;
3195 wxString
* _arg4
= &wxPyEmptyStr
;
3197 PyObject
* _obj2
= 0;
3199 PyObject
* _obj4
= 0;
3202 if(!PyArg_ParseTuple(args
,"siOs|O:wxMenu_AppendMenu",&_argc0
,&_arg1
,&_obj2
,&_argc3
,&_obj4
))
3205 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
3211 if (!PyString_Check(_obj2
)) {
3212 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3215 _arg2
= new wxString(PyString_AsString(_obj2
));
3218 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxMenu_p")) {
3219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
3225 if (!PyString_Check(_obj4
)) {
3226 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3229 _arg4
= new wxString(PyString_AsString(_obj4
));
3231 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
3233 _resultobj
= Py_None
;
3245 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
3246 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
) {
3247 PyObject
* _resultobj
;
3252 if(!PyArg_ParseTuple(args
,"s:wxMenu_AppendSeparator",&_argc0
))
3255 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
3260 wxMenu_AppendSeparator(_arg0
);
3262 _resultobj
= Py_None
;
3266 #define wxMenu_Break(_swigobj) (_swigobj->Break())
3267 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
) {
3268 PyObject
* _resultobj
;
3273 if(!PyArg_ParseTuple(args
,"s:wxMenu_Break",&_argc0
))
3276 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
3281 wxMenu_Break(_arg0
);
3283 _resultobj
= Py_None
;
3287 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
3288 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
) {
3289 PyObject
* _resultobj
;
3297 if(!PyArg_ParseTuple(args
,"sii:wxMenu_Check",&_argc0
,&_arg1
,&tempbool2
))
3300 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
3305 _arg2
= (bool ) tempbool2
;
3306 wxMenu_Check(_arg0
,_arg1
,_arg2
);
3308 _resultobj
= Py_None
;
3312 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
3313 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
) {
3314 PyObject
* _resultobj
;
3322 if(!PyArg_ParseTuple(args
,"sii:wxMenu_Enable",&_argc0
,&_arg1
,&tempbool2
))
3325 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
3330 _arg2
= (bool ) tempbool2
;
3331 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
3333 _resultobj
= Py_None
;
3337 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
3338 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
) {
3339 PyObject
* _resultobj
;
3344 PyObject
* _obj1
= 0;
3347 if(!PyArg_ParseTuple(args
,"sO:wxMenu_FindItem",&_argc0
,&_obj1
))
3350 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
3356 if (!PyString_Check(_obj1
)) {
3357 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3360 _arg1
= new wxString(PyString_AsString(_obj1
));
3362 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
3363 _resultobj
= Py_BuildValue("i",_result
);
3371 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
3372 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
) {
3373 PyObject
* _resultobj
;
3379 if(!PyArg_ParseTuple(args
,"s:wxMenu_GetTitle",&_argc0
))
3382 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
3387 _result
= new wxString (wxMenu_GetTitle(_arg0
));
3389 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3397 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
3398 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
) {
3399 PyObject
* _resultobj
;
3403 PyObject
* _obj1
= 0;
3406 if(!PyArg_ParseTuple(args
,"sO:wxMenu_SetTitle",&_argc0
,&_obj1
))
3409 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
3415 if (!PyString_Check(_obj1
)) {
3416 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3419 _arg1
= new wxString(PyString_AsString(_obj1
));
3421 wxMenu_SetTitle(_arg0
,*_arg1
);
3423 _resultobj
= Py_None
;
3431 #define wxMenu_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
3432 static PyObject
*_wrap_wxMenu_FindItemForId(PyObject
*self
, PyObject
*args
) {
3433 PyObject
* _resultobj
;
3434 wxMenuItem
* _result
;
3441 if(!PyArg_ParseTuple(args
,"si:wxMenu_FindItemForId",&_argc0
,&_arg1
))
3444 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemForId. Expected _wxMenu_p.");
3449 _result
= (wxMenuItem
*)wxMenu_FindItemForId(_arg0
,_arg1
);
3450 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
3451 _resultobj
= Py_BuildValue("s",_ptemp
);
3455 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
3456 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
) {
3457 PyObject
* _resultobj
;
3464 if(!PyArg_ParseTuple(args
,"si:wxMenu_GetHelpString",&_argc0
,&_arg1
))
3467 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
3472 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
3474 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3482 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
3483 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
) {
3484 PyObject
* _resultobj
;
3491 if(!PyArg_ParseTuple(args
,"si:wxMenu_GetLabel",&_argc0
,&_arg1
))
3494 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
3499 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
3501 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3509 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
3510 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
) {
3511 PyObject
* _resultobj
;
3516 PyObject
* _obj2
= 0;
3519 if(!PyArg_ParseTuple(args
,"siO:wxMenu_SetHelpString",&_argc0
,&_arg1
,&_obj2
))
3522 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
3528 if (!PyString_Check(_obj2
)) {
3529 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3532 _arg2
= new wxString(PyString_AsString(_obj2
));
3534 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
3536 _resultobj
= Py_None
;
3544 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
3545 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
) {
3546 PyObject
* _resultobj
;
3553 if(!PyArg_ParseTuple(args
,"si:wxMenu_IsChecked",&_argc0
,&_arg1
))
3556 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
3561 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
3562 _resultobj
= Py_BuildValue("i",_result
);
3566 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
3567 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
) {
3568 PyObject
* _resultobj
;
3575 if(!PyArg_ParseTuple(args
,"si:wxMenu_IsEnabled",&_argc0
,&_arg1
))
3578 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
3583 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
3584 _resultobj
= Py_BuildValue("i",_result
);
3588 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
3589 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
) {
3590 PyObject
* _resultobj
;
3595 PyObject
* _obj2
= 0;
3598 if(!PyArg_ParseTuple(args
,"siO:wxMenu_SetLabel",&_argc0
,&_arg1
,&_obj2
))
3601 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
3607 if (!PyString_Check(_obj2
)) {
3608 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3611 _arg2
= new wxString(PyString_AsString(_obj2
));
3613 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
3615 _resultobj
= Py_None
;
3623 static void *SwigwxPyMenuTowxMenu(void *ptr
) {
3626 src
= (wxPyMenu
*) ptr
;
3627 dest
= (wxMenu
*) src
;
3628 return (void *) dest
;
3631 static void *SwigwxPyMenuTowxEvtHandler(void *ptr
) {
3634 src
= (wxPyMenu
*) ptr
;
3635 dest
= (wxEvtHandler
*) src
;
3636 return (void *) dest
;
3639 #define new_wxPyMenu(_swigarg0,_swigarg1) (new wxPyMenu(_swigarg0,_swigarg1))
3640 static PyObject
*_wrap_new_wxPyMenu(PyObject
*self
, PyObject
*args
) {
3641 PyObject
* _resultobj
;
3643 wxString
* _arg0
= &wxPyEmptyStr
;
3644 PyObject
* _arg1
= NULL
;
3645 PyObject
* _obj0
= 0;
3646 PyObject
* _obj1
= 0;
3650 if(!PyArg_ParseTuple(args
,"|OO:new_wxPyMenu",&_obj0
,&_obj1
))
3654 if (!PyString_Check(_obj0
)) {
3655 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3658 _arg0
= new wxString(PyString_AsString(_obj0
));
3664 _result
= (wxPyMenu
*)new_wxPyMenu(*_arg0
,_arg1
);
3665 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyMenu_p");
3666 _resultobj
= Py_BuildValue("s",_ptemp
);
3674 #define delete_wxPyMenu(_swigobj) (delete _swigobj)
3675 static PyObject
*_wrap_delete_wxPyMenu(PyObject
*self
, PyObject
*args
) {
3676 PyObject
* _resultobj
;
3681 if(!PyArg_ParseTuple(args
,"s:delete_wxPyMenu",&_argc0
))
3684 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyMenu_p")) {
3685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyMenu. Expected _wxPyMenu_p.");
3689 delete_wxPyMenu(_arg0
);
3691 _resultobj
= Py_None
;
3695 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
3698 src
= (wxMenuBar
*) ptr
;
3699 dest
= (wxEvtHandler
*) src
;
3700 return (void *) dest
;
3703 #define new_wxMenuBar() (new wxMenuBar())
3704 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
) {
3705 PyObject
* _resultobj
;
3706 wxMenuBar
* _result
;
3710 if(!PyArg_ParseTuple(args
,":new_wxMenuBar"))
3712 _result
= (wxMenuBar
*)new_wxMenuBar();
3713 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
3714 _resultobj
= Py_BuildValue("s",_ptemp
);
3718 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
3719 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
) {
3720 PyObject
* _resultobj
;
3726 PyObject
* _obj2
= 0;
3729 if(!PyArg_ParseTuple(args
,"ssO:wxMenuBar_Append",&_argc0
,&_argc1
,&_obj2
))
3732 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
3738 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxMenu_p")) {
3739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
3744 if (!PyString_Check(_obj2
)) {
3745 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3748 _arg2
= new wxString(PyString_AsString(_obj2
));
3750 wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
3752 _resultobj
= Py_None
;
3760 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
3761 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
) {
3762 PyObject
* _resultobj
;
3770 if(!PyArg_ParseTuple(args
,"sii:wxMenuBar_Check",&_argc0
,&_arg1
,&tempbool2
))
3773 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
3778 _arg2
= (bool ) tempbool2
;
3779 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
3781 _resultobj
= Py_None
;
3785 #define wxMenuBar_Checked(_swigobj,_swigarg0) (_swigobj->Checked(_swigarg0))
3786 static PyObject
*_wrap_wxMenuBar_Checked(PyObject
*self
, PyObject
*args
) {
3787 PyObject
* _resultobj
;
3794 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_Checked",&_argc0
,&_arg1
))
3797 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Checked. Expected _wxMenuBar_p.");
3802 _result
= (bool )wxMenuBar_Checked(_arg0
,_arg1
);
3803 _resultobj
= Py_BuildValue("i",_result
);
3807 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
3808 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
) {
3809 PyObject
* _resultobj
;
3817 if(!PyArg_ParseTuple(args
,"sii:wxMenuBar_Enable",&_argc0
,&_arg1
,&tempbool2
))
3820 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
3825 _arg2
= (bool ) tempbool2
;
3826 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
3828 _resultobj
= Py_None
;
3832 #define wxMenuBar_Enabled(_swigobj,_swigarg0) (_swigobj->Enabled(_swigarg0))
3833 static PyObject
*_wrap_wxMenuBar_Enabled(PyObject
*self
, PyObject
*args
) {
3834 PyObject
* _resultobj
;
3841 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_Enabled",&_argc0
,&_arg1
))
3844 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enabled. Expected _wxMenuBar_p.");
3849 _result
= (bool )wxMenuBar_Enabled(_arg0
,_arg1
);
3850 _resultobj
= Py_BuildValue("i",_result
);
3854 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
3855 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
) {
3856 PyObject
* _resultobj
;
3862 PyObject
* _obj1
= 0;
3863 PyObject
* _obj2
= 0;
3866 if(!PyArg_ParseTuple(args
,"sOO:wxMenuBar_FindMenuItem",&_argc0
,&_obj1
,&_obj2
))
3869 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
3875 if (!PyString_Check(_obj1
)) {
3876 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3879 _arg1
= new wxString(PyString_AsString(_obj1
));
3882 if (!PyString_Check(_obj2
)) {
3883 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3886 _arg2
= new wxString(PyString_AsString(_obj2
));
3888 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
3889 _resultobj
= Py_BuildValue("i",_result
);
3901 #define wxMenuBar_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
3902 static PyObject
*_wrap_wxMenuBar_FindItemForId(PyObject
*self
, PyObject
*args
) {
3903 PyObject
* _resultobj
;
3904 wxMenuItem
* _result
;
3911 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_FindItemForId",&_argc0
,&_arg1
))
3914 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemForId. Expected _wxMenuBar_p.");
3919 _result
= (wxMenuItem
*)wxMenuBar_FindItemForId(_arg0
,_arg1
);
3920 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
3921 _resultobj
= Py_BuildValue("s",_ptemp
);
3925 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
3926 static PyObject
*_wrap_wxMenuBar_EnableTop(PyObject
*self
, PyObject
*args
) {
3927 PyObject
* _resultobj
;
3935 if(!PyArg_ParseTuple(args
,"sii:wxMenuBar_EnableTop",&_argc0
,&_arg1
,&tempbool2
))
3938 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
3943 _arg2
= (bool ) tempbool2
;
3944 wxMenuBar_EnableTop(_arg0
,_arg1
,_arg2
);
3946 _resultobj
= Py_None
;
3950 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
3951 static PyObject
*_wrap_wxMenuBar_GetHelpString(PyObject
*self
, PyObject
*args
) {
3952 PyObject
* _resultobj
;
3959 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_GetHelpString",&_argc0
,&_arg1
))
3962 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
3967 _result
= new wxString (wxMenuBar_GetHelpString(_arg0
,_arg1
));
3969 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3977 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
3978 static PyObject
*_wrap_wxMenuBar_GetLabel(PyObject
*self
, PyObject
*args
) {
3979 PyObject
* _resultobj
;
3986 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_GetLabel",&_argc0
,&_arg1
))
3989 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
3994 _result
= new wxString (wxMenuBar_GetLabel(_arg0
,_arg1
));
3996 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
4004 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
4005 static PyObject
*_wrap_wxMenuBar_SetHelpString(PyObject
*self
, PyObject
*args
) {
4006 PyObject
* _resultobj
;
4011 PyObject
* _obj2
= 0;
4014 if(!PyArg_ParseTuple(args
,"siO:wxMenuBar_SetHelpString",&_argc0
,&_arg1
,&_obj2
))
4017 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
4023 if (!PyString_Check(_obj2
)) {
4024 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4027 _arg2
= new wxString(PyString_AsString(_obj2
));
4029 wxMenuBar_SetHelpString(_arg0
,_arg1
,*_arg2
);
4031 _resultobj
= Py_None
;
4039 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
4040 static PyObject
*_wrap_wxMenuBar_SetLabel(PyObject
*self
, PyObject
*args
) {
4041 PyObject
* _resultobj
;
4046 PyObject
* _obj2
= 0;
4049 if(!PyArg_ParseTuple(args
,"siO:wxMenuBar_SetLabel",&_argc0
,&_arg1
,&_obj2
))
4052 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
4058 if (!PyString_Check(_obj2
)) {
4059 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4062 _arg2
= new wxString(PyString_AsString(_obj2
));
4064 wxMenuBar_SetLabel(_arg0
,_arg1
,*_arg2
);
4066 _resultobj
= Py_None
;
4074 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
4075 static PyObject
*_wrap_wxMenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
) {
4076 PyObject
* _resultobj
;
4083 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_GetLabelTop",&_argc0
,&_arg1
))
4086 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
4091 _result
= new wxString (wxMenuBar_GetLabelTop(_arg0
,_arg1
));
4093 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
4101 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
4102 static PyObject
*_wrap_wxMenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
) {
4103 PyObject
* _resultobj
;
4108 PyObject
* _obj2
= 0;
4111 if(!PyArg_ParseTuple(args
,"siO:wxMenuBar_SetLabelTop",&_argc0
,&_arg1
,&_obj2
))
4114 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
4120 if (!PyString_Check(_obj2
)) {
4121 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4124 _arg2
= new wxString(PyString_AsString(_obj2
));
4126 wxMenuBar_SetLabelTop(_arg0
,_arg1
,*_arg2
);
4128 _resultobj
= Py_None
;
4136 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
4137 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
) {
4138 PyObject
* _resultobj
;
4144 if(!PyArg_ParseTuple(args
,"s:wxMenuBar_GetMenuCount",&_argc0
))
4147 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
4152 _result
= (int )wxMenuBar_GetMenuCount(_arg0
);
4153 _resultobj
= Py_BuildValue("i",_result
);
4157 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
4158 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
) {
4159 PyObject
* _resultobj
;
4167 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_GetMenu",&_argc0
,&_arg1
))
4170 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
4175 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
4176 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
4177 _resultobj
= Py_BuildValue("s",_ptemp
);
4181 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
4182 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
) {
4183 PyObject
* _resultobj
;
4189 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsSeparator",&_argc0
))
4192 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
4197 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
4198 _resultobj
= Py_BuildValue("i",_result
);
4202 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
4203 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
) {
4204 PyObject
* _resultobj
;
4210 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsEnabled",&_argc0
))
4213 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
4218 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
4219 _resultobj
= Py_BuildValue("i",_result
);
4223 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
4224 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
) {
4225 PyObject
* _resultobj
;
4231 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsChecked",&_argc0
))
4234 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
4239 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
4240 _resultobj
= Py_BuildValue("i",_result
);
4244 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
4245 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
) {
4246 PyObject
* _resultobj
;
4252 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsCheckable",&_argc0
))
4255 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
4260 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
4261 _resultobj
= Py_BuildValue("i",_result
);
4265 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
4266 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
) {
4267 PyObject
* _resultobj
;
4273 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetId",&_argc0
))
4276 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
4281 _result
= (int )wxMenuItem_GetId(_arg0
);
4282 _resultobj
= Py_BuildValue("i",_result
);
4286 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
4287 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
) {
4288 PyObject
* _resultobj
;
4295 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetSubMenu",&_argc0
))
4298 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
4303 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
4304 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
4305 _resultobj
= Py_BuildValue("s",_ptemp
);
4309 #define wxMenuItem_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
4310 static PyObject
*_wrap_wxMenuItem_SetName(PyObject
*self
, PyObject
*args
) {
4311 PyObject
* _resultobj
;
4315 PyObject
* _obj1
= 0;
4318 if(!PyArg_ParseTuple(args
,"sO:wxMenuItem_SetName",&_argc0
,&_obj1
))
4321 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetName. Expected _wxMenuItem_p.");
4327 if (!PyString_Check(_obj1
)) {
4328 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4331 _arg1
= new wxString(PyString_AsString(_obj1
));
4333 wxMenuItem_SetName(_arg0
,*_arg1
);
4335 _resultobj
= Py_None
;
4343 #define wxMenuItem_DeleteSubMenu(_swigobj) (_swigobj->DeleteSubMenu())
4344 static PyObject
*_wrap_wxMenuItem_DeleteSubMenu(PyObject
*self
, PyObject
*args
) {
4345 PyObject
* _resultobj
;
4350 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_DeleteSubMenu",&_argc0
))
4353 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_DeleteSubMenu. Expected _wxMenuItem_p.");
4358 wxMenuItem_DeleteSubMenu(_arg0
);
4360 _resultobj
= Py_None
;
4364 #define wxMenuItem_GetName(_swigobj) (_swigobj->GetName())
4365 static PyObject
*_wrap_wxMenuItem_GetName(PyObject
*self
, PyObject
*args
) {
4366 PyObject
* _resultobj
;
4372 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetName",&_argc0
))
4375 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetName. Expected _wxMenuItem_p.");
4380 const wxString
& _result_ref
= wxMenuItem_GetName(_arg0
);
4381 _result
= (wxString
*) &_result_ref
;
4383 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
4388 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
4389 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
) {
4390 PyObject
* _resultobj
;
4396 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetHelp",&_argc0
))
4399 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
4404 const wxString
& _result_ref
= wxMenuItem_GetHelp(_arg0
);
4405 _result
= (wxString
*) &_result_ref
;
4407 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
4412 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
4413 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
) {
4414 PyObject
* _resultobj
;
4418 PyObject
* _obj1
= 0;
4421 if(!PyArg_ParseTuple(args
,"sO:wxMenuItem_SetHelp",&_argc0
,&_obj1
))
4424 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
4430 if (!PyString_Check(_obj1
)) {
4431 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4434 _arg1
= new wxString(PyString_AsString(_obj1
));
4436 wxMenuItem_SetHelp(_arg0
,*_arg1
);
4438 _resultobj
= Py_None
;
4446 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
4447 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
) {
4448 PyObject
* _resultobj
;
4455 if(!PyArg_ParseTuple(args
,"s|i:wxMenuItem_Enable",&_argc0
,&tempbool1
))
4458 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
4463 _arg1
= (bool ) tempbool1
;
4464 wxMenuItem_Enable(_arg0
,_arg1
);
4466 _resultobj
= Py_None
;
4470 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
4471 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
) {
4472 PyObject
* _resultobj
;
4479 if(!PyArg_ParseTuple(args
,"s|i:wxMenuItem_Check",&_argc0
,&tempbool1
))
4482 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
4487 _arg1
= (bool ) tempbool1
;
4488 wxMenuItem_Check(_arg0
,_arg1
);
4490 _resultobj
= Py_None
;
4494 static PyMethodDef windowscMethods
[] = {
4495 { "wxMenuItem_Check", _wrap_wxMenuItem_Check
, 1 },
4496 { "wxMenuItem_Enable", _wrap_wxMenuItem_Enable
, 1 },
4497 { "wxMenuItem_SetHelp", _wrap_wxMenuItem_SetHelp
, 1 },
4498 { "wxMenuItem_GetHelp", _wrap_wxMenuItem_GetHelp
, 1 },
4499 { "wxMenuItem_GetName", _wrap_wxMenuItem_GetName
, 1 },
4500 { "wxMenuItem_DeleteSubMenu", _wrap_wxMenuItem_DeleteSubMenu
, 1 },
4501 { "wxMenuItem_SetName", _wrap_wxMenuItem_SetName
, 1 },
4502 { "wxMenuItem_GetSubMenu", _wrap_wxMenuItem_GetSubMenu
, 1 },
4503 { "wxMenuItem_GetId", _wrap_wxMenuItem_GetId
, 1 },
4504 { "wxMenuItem_IsCheckable", _wrap_wxMenuItem_IsCheckable
, 1 },
4505 { "wxMenuItem_IsChecked", _wrap_wxMenuItem_IsChecked
, 1 },
4506 { "wxMenuItem_IsEnabled", _wrap_wxMenuItem_IsEnabled
, 1 },
4507 { "wxMenuItem_IsSeparator", _wrap_wxMenuItem_IsSeparator
, 1 },
4508 { "wxMenuBar_GetMenu", _wrap_wxMenuBar_GetMenu
, 1 },
4509 { "wxMenuBar_GetMenuCount", _wrap_wxMenuBar_GetMenuCount
, 1 },
4510 { "wxMenuBar_SetLabelTop", _wrap_wxMenuBar_SetLabelTop
, 1 },
4511 { "wxMenuBar_GetLabelTop", _wrap_wxMenuBar_GetLabelTop
, 1 },
4512 { "wxMenuBar_SetLabel", _wrap_wxMenuBar_SetLabel
, 1 },
4513 { "wxMenuBar_SetHelpString", _wrap_wxMenuBar_SetHelpString
, 1 },
4514 { "wxMenuBar_GetLabel", _wrap_wxMenuBar_GetLabel
, 1 },
4515 { "wxMenuBar_GetHelpString", _wrap_wxMenuBar_GetHelpString
, 1 },
4516 { "wxMenuBar_EnableTop", _wrap_wxMenuBar_EnableTop
, 1 },
4517 { "wxMenuBar_FindItemForId", _wrap_wxMenuBar_FindItemForId
, 1 },
4518 { "wxMenuBar_FindMenuItem", _wrap_wxMenuBar_FindMenuItem
, 1 },
4519 { "wxMenuBar_Enabled", _wrap_wxMenuBar_Enabled
, 1 },
4520 { "wxMenuBar_Enable", _wrap_wxMenuBar_Enable
, 1 },
4521 { "wxMenuBar_Checked", _wrap_wxMenuBar_Checked
, 1 },
4522 { "wxMenuBar_Check", _wrap_wxMenuBar_Check
, 1 },
4523 { "wxMenuBar_Append", _wrap_wxMenuBar_Append
, 1 },
4524 { "new_wxMenuBar", _wrap_new_wxMenuBar
, 1 },
4525 { "delete_wxPyMenu", _wrap_delete_wxPyMenu
, 1 },
4526 { "new_wxPyMenu", _wrap_new_wxPyMenu
, 1 },
4527 { "wxMenu_SetLabel", _wrap_wxMenu_SetLabel
, 1 },
4528 { "wxMenu_IsEnabled", _wrap_wxMenu_IsEnabled
, 1 },
4529 { "wxMenu_IsChecked", _wrap_wxMenu_IsChecked
, 1 },
4530 { "wxMenu_SetHelpString", _wrap_wxMenu_SetHelpString
, 1 },
4531 { "wxMenu_GetLabel", _wrap_wxMenu_GetLabel
, 1 },
4532 { "wxMenu_GetHelpString", _wrap_wxMenu_GetHelpString
, 1 },
4533 { "wxMenu_FindItemForId", _wrap_wxMenu_FindItemForId
, 1 },
4534 { "wxMenu_SetTitle", _wrap_wxMenu_SetTitle
, 1 },
4535 { "wxMenu_GetTitle", _wrap_wxMenu_GetTitle
, 1 },
4536 { "wxMenu_FindItem", _wrap_wxMenu_FindItem
, 1 },
4537 { "wxMenu_Enable", _wrap_wxMenu_Enable
, 1 },
4538 { "wxMenu_Check", _wrap_wxMenu_Check
, 1 },
4539 { "wxMenu_Break", _wrap_wxMenu_Break
, 1 },
4540 { "wxMenu_AppendSeparator", _wrap_wxMenu_AppendSeparator
, 1 },
4541 { "wxMenu_AppendMenu", _wrap_wxMenu_AppendMenu
, 1 },
4542 { "wxMenu_Append", _wrap_wxMenu_Append
, 1 },
4543 { "new_wxMenu", _wrap_new_wxMenu
, 1 },
4544 { "wxScrolledWindow_ViewStart", _wrap_wxScrolledWindow_ViewStart
, 1 },
4545 { "wxScrolledWindow_SetScrollbars", _wrap_wxScrolledWindow_SetScrollbars
, 1 },
4546 { "wxScrolledWindow_Scroll", _wrap_wxScrolledWindow_Scroll
, 1 },
4547 { "wxScrolledWindow_PrepareDC", _wrap_wxScrolledWindow_PrepareDC
, 1 },
4548 { "wxScrolledWindow_IsRetained", _wrap_wxScrolledWindow_IsRetained
, 1 },
4549 { "wxScrolledWindow_GetVirtualSize", _wrap_wxScrolledWindow_GetVirtualSize
, 1 },
4550 { "wxScrolledWindow_GetScrollPixelsPerUnit", _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, 1 },
4551 { "wxScrolledWindow_EnableScrolling", _wrap_wxScrolledWindow_EnableScrolling
, 1 },
4552 { "new_wxScrolledWindow", _wrap_new_wxScrolledWindow
, 1 },
4553 { "wxDialog_ShowModal", _wrap_wxDialog_ShowModal
, 1 },
4554 { "wxDialog_Show", _wrap_wxDialog_Show
, 1 },
4555 { "wxDialog_SetTitle", _wrap_wxDialog_SetTitle
, 1 },
4556 { "wxDialog_IsModal", _wrap_wxDialog_IsModal
, 1 },
4557 { "wxDialog_SetModal", _wrap_wxDialog_SetModal
, 1 },
4558 { "wxDialog_IsIconized", _wrap_wxDialog_IsIconized
, 1 },
4559 { "wxDialog_Iconize", _wrap_wxDialog_Iconize
, 1 },
4560 { "wxDialog_GetTitle", _wrap_wxDialog_GetTitle
, 1 },
4561 { "wxDialog_EndModal", _wrap_wxDialog_EndModal
, 1 },
4562 { "wxDialog_Centre", _wrap_wxDialog_Centre
, 1 },
4563 { "new_wxDialog", _wrap_new_wxDialog
, 1 },
4564 { "wxPanel_InitDialog", _wrap_wxPanel_InitDialog
, 1 },
4565 { "new_wxPanel", _wrap_new_wxPanel
, 1 },
4566 { "wxWindow_ConvertPixelSizeToDialog", _wrap_wxWindow_ConvertPixelSizeToDialog
, 1 },
4567 { "wxWindow_ConvertPixelPointToDialog", _wrap_wxWindow_ConvertPixelPointToDialog
, 1 },
4568 { "wxWindow_ConvertDialogSizeToPixels", _wrap_wxWindow_ConvertDialogSizeToPixels
, 1 },
4569 { "wxWindow_ConvertDialogPointToPixels", _wrap_wxWindow_ConvertDialogPointToPixels
, 1 },
4570 { "wxWindow_WarpPointer", _wrap_wxWindow_WarpPointer
, 1 },
4571 { "wxWindow_Validate", _wrap_wxWindow_Validate
, 1 },
4572 { "wxWindow_TransferDataToWindow", _wrap_wxWindow_TransferDataToWindow
, 1 },
4573 { "wxWindow_TransferDataFromWindow", _wrap_wxWindow_TransferDataFromWindow
, 1 },
4574 { "wxWindow_Show", _wrap_wxWindow_Show
, 1 },
4575 { "wxWindow_SetTitle", _wrap_wxWindow_SetTitle
, 1 },
4576 { "wxWindow_SetCursor", _wrap_wxWindow_SetCursor
, 1 },
4577 { "wxWindow_SetClientSize", _wrap_wxWindow_SetClientSize
, 1 },
4578 { "wxWindow_SetSizeHints", _wrap_wxWindow_SetSizeHints
, 1 },
4579 { "wxWindow_SetPosition", _wrap_wxWindow_SetPosition
, 1 },
4580 { "wxWindow_SetSize", _wrap_wxWindow_SetSize
, 1 },
4581 { "wxWindow_SetDimensions", _wrap_wxWindow_SetDimensions
, 1 },
4582 { "wxWindow_SetScrollPos", _wrap_wxWindow_SetScrollPos
, 1 },
4583 { "wxWindow_SetScrollbar", _wrap_wxWindow_SetScrollbar
, 1 },
4584 { "wxWindow_SetReturnCode", _wrap_wxWindow_SetReturnCode
, 1 },
4585 { "wxWindow_SetName", _wrap_wxWindow_SetName
, 1 },
4586 { "wxWindow_SetId", _wrap_wxWindow_SetId
, 1 },
4587 { "wxWindow_SetForegroundColour", _wrap_wxWindow_SetForegroundColour
, 1 },
4588 { "wxWindow_SetFont", _wrap_wxWindow_SetFont
, 1 },
4589 { "wxWindow_SetFocus", _wrap_wxWindow_SetFocus
, 1 },
4590 { "wxWindow_SetDoubleClick", _wrap_wxWindow_SetDoubleClick
, 1 },
4591 { "wxWindow_SetConstraints", _wrap_wxWindow_SetConstraints
, 1 },
4592 { "wxWindow_SetBackgroundColour", _wrap_wxWindow_SetBackgroundColour
, 1 },
4593 { "wxWindow_SetAutoLayout", _wrap_wxWindow_SetAutoLayout
, 1 },
4594 { "wxWindow_SetAcceleratorTable", _wrap_wxWindow_SetAcceleratorTable
, 1 },
4595 { "wxWindow_ScrollWindow", _wrap_wxWindow_ScrollWindow
, 1 },
4596 { "wxWindow_ScreenToClient", _wrap_wxWindow_ScreenToClient
, 1 },
4597 { "wxWindow_ReleaseMouse", _wrap_wxWindow_ReleaseMouse
, 1 },
4598 { "wxWindow_Refresh", _wrap_wxWindow_Refresh
, 1 },
4599 { "wxWindow_Raise", _wrap_wxWindow_Raise
, 1 },
4600 { "wxWindow_PopupMenu", _wrap_wxWindow_PopupMenu
, 1 },
4601 { "wxWindow_Move", _wrap_wxWindow_Move
, 1 },
4602 { "wxWindow_MakeModal", _wrap_wxWindow_MakeModal
, 1 },
4603 { "wxWindow_Lower", _wrap_wxWindow_Lower
, 1 },
4604 { "wxWindow_LoadFromResource", _wrap_wxWindow_LoadFromResource
, 1 },
4605 { "wxWindow_Layout", _wrap_wxWindow_Layout
, 1 },
4606 { "wxWindow_IsShown", _wrap_wxWindow_IsShown
, 1 },
4607 { "wxWindow_IsRetained", _wrap_wxWindow_IsRetained
, 1 },
4608 { "wxWindow_IsEnabled", _wrap_wxWindow_IsEnabled
, 1 },
4609 { "wxWindow_InitDialog", _wrap_wxWindow_InitDialog
, 1 },
4610 { "wxWindow_GetWindowStyleFlag", _wrap_wxWindow_GetWindowStyleFlag
, 1 },
4611 { "wxWindow_GetTitle", _wrap_wxWindow_GetTitle
, 1 },
4612 { "wxWindow_GetTextExtent", _wrap_wxWindow_GetTextExtent
, 1 },
4613 { "wxWindow_GetSize", _wrap_wxWindow_GetSize
, 1 },
4614 { "wxWindow_GetSizeTuple", _wrap_wxWindow_GetSizeTuple
, 1 },
4615 { "wxWindow_GetScrollRange", _wrap_wxWindow_GetScrollRange
, 1 },
4616 { "wxWindow_GetScrollPos", _wrap_wxWindow_GetScrollPos
, 1 },
4617 { "wxWindow_GetScrollThumb", _wrap_wxWindow_GetScrollThumb
, 1 },
4618 { "wxWindow_GetReturnCode", _wrap_wxWindow_GetReturnCode
, 1 },
4619 { "wxWindow_GetRect", _wrap_wxWindow_GetRect
, 1 },
4620 { "wxWindow_GetPosition", _wrap_wxWindow_GetPosition
, 1 },
4621 { "wxWindow_GetPositionTuple", _wrap_wxWindow_GetPositionTuple
, 1 },
4622 { "wxWindow_GetParent", _wrap_wxWindow_GetParent
, 1 },
4623 { "wxWindow_GetName", _wrap_wxWindow_GetName
, 1 },
4624 { "wxWindow_GetLabel", _wrap_wxWindow_GetLabel
, 1 },
4625 { "wxWindow_GetId", _wrap_wxWindow_GetId
, 1 },
4626 { "wxWindow_GetGrandParent", _wrap_wxWindow_GetGrandParent
, 1 },
4627 { "wxWindow_GetForegroundColour", _wrap_wxWindow_GetForegroundColour
, 1 },
4628 { "wxWindow_GetFont", _wrap_wxWindow_GetFont
, 1 },
4629 { "wxWindow_GetDefaultItem", _wrap_wxWindow_GetDefaultItem
, 1 },
4630 { "wxWindow_GetConstraints", _wrap_wxWindow_GetConstraints
, 1 },
4631 { "wxWindow_GetClientSize", _wrap_wxWindow_GetClientSize
, 1 },
4632 { "wxWindow_GetClientSizeTuple", _wrap_wxWindow_GetClientSizeTuple
, 1 },
4633 { "wxWindow_GetCharWidth", _wrap_wxWindow_GetCharWidth
, 1 },
4634 { "wxWindow_GetCharHeight", _wrap_wxWindow_GetCharHeight
, 1 },
4635 { "wxWindow_GetBackgroundColour", _wrap_wxWindow_GetBackgroundColour
, 1 },
4636 { "wxWindow_Fit", _wrap_wxWindow_Fit
, 1 },
4637 { "wxWindow_FindWindowByName", _wrap_wxWindow_FindWindowByName
, 1 },
4638 { "wxWindow_FindWindowByID", _wrap_wxWindow_FindWindowByID
, 1 },
4639 { "wxWindow_Enable", _wrap_wxWindow_Enable
, 1 },
4640 { "wxWindow_DragAcceptFiles", _wrap_wxWindow_DragAcceptFiles
, 1 },
4641 { "wxWindow_DestroyChildren", _wrap_wxWindow_DestroyChildren
, 1 },
4642 { "wxWindow_Destroy", _wrap_wxWindow_Destroy
, 1 },
4643 { "wxWindow_Close", _wrap_wxWindow_Close
, 1 },
4644 { "wxWindow_ClientToScreen", _wrap_wxWindow_ClientToScreen
, 1 },
4645 { "wxWindow_Centre", _wrap_wxWindow_Centre
, 1 },
4646 { "wxWindow_Center", _wrap_wxWindow_Center
, 1 },
4647 { "wxWindow_CaptureMouse", _wrap_wxWindow_CaptureMouse
, 1 },
4648 { "new_wxWindow", _wrap_new_wxWindow
, 1 },
4649 { "wxEvtHandler_Connect", _wrap_wxEvtHandler_Connect
, 1 },
4650 { "wxWindow_FindFocus", _wrap_wxWindow_FindFocus
, 1 },
4653 static PyObject
*SWIG_globals
;
4657 SWIGEXPORT(void,initwindowsc
)() {
4659 SWIG_globals
= SWIG_newvarlink();
4660 m
= Py_InitModule("windowsc", windowscMethods
);
4661 d
= PyModule_GetDict(m
);
4663 * These are the pointer type-equivalency mappings.
4664 * (Used by the SWIG pointer type-checker).
4666 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
4667 SWIG_RegisterMapping("_signed_long","_long",0);
4668 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
4669 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
4670 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
4671 SWIG_RegisterMapping("_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
4672 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxPyMenu",SwigwxPyMenuTowxEvtHandler
);
4673 SWIG_RegisterMapping("_class_wxEvtHandler","_wxPyMenu",SwigwxPyMenuTowxEvtHandler
);
4674 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
);
4675 SWIG_RegisterMapping("_class_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
);
4676 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
4677 SWIG_RegisterMapping("_class_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
4678 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
);
4679 SWIG_RegisterMapping("_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
);
4680 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
);
4681 SWIG_RegisterMapping("_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
);
4682 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
);
4683 SWIG_RegisterMapping("_class_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
);
4684 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
4685 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
4686 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
4687 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
4688 SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
4689 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
4690 SWIG_RegisterMapping("_byte","_unsigned_char",0);
4691 SWIG_RegisterMapping("_long","_wxDash",0);
4692 SWIG_RegisterMapping("_long","_unsigned_long",0);
4693 SWIG_RegisterMapping("_long","_signed_long",0);
4694 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
4695 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
4696 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
4697 SWIG_RegisterMapping("_wxPrinterDC","_class_wxPrinterDC",0);
4698 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
4699 SWIG_RegisterMapping("_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
);
4700 SWIG_RegisterMapping("_wxPanel","_wxDialog",SwigwxDialogTowxPanel
);
4701 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
4702 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
4703 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
4704 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
4705 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
4706 SWIG_RegisterMapping("_uint","_unsigned_int",0);
4707 SWIG_RegisterMapping("_uint","_int",0);
4708 SWIG_RegisterMapping("_uint","_wxWindowID",0);
4709 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
4710 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
4711 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
4712 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
4713 SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
4714 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
4715 SWIG_RegisterMapping("_EBool","_signed_int",0);
4716 SWIG_RegisterMapping("_EBool","_int",0);
4717 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
4718 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
4719 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
4720 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
4721 SWIG_RegisterMapping("_unsigned_long","_long",0);
4722 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
4723 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
4724 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
4725 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
4726 SWIG_RegisterMapping("_class_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
);
4727 SWIG_RegisterMapping("_class_wxPanel","_wxDialog",SwigwxDialogTowxPanel
);
4728 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
4729 SWIG_RegisterMapping("_signed_int","_EBool",0);
4730 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
4731 SWIG_RegisterMapping("_signed_int","_int",0);
4732 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
4733 SWIG_RegisterMapping("_wxMetaFileDC","_class_wxMetaFileDC",0);
4734 SWIG_RegisterMapping("_wxMenu","_class_wxPyMenu",SwigwxPyMenuTowxMenu
);
4735 SWIG_RegisterMapping("_wxMenu","_wxPyMenu",SwigwxPyMenuTowxMenu
);
4736 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
4737 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
4738 SWIG_RegisterMapping("_WXTYPE","_short",0);
4739 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
4740 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
4741 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
4742 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
4743 SWIG_RegisterMapping("_unsigned_short","_short",0);
4744 SWIG_RegisterMapping("_class_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
4745 SWIG_RegisterMapping("_class_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
4746 SWIG_RegisterMapping("_class_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
);
4747 SWIG_RegisterMapping("_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow
);
4748 SWIG_RegisterMapping("_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
);
4749 SWIG_RegisterMapping("_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow
);
4750 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
4751 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
4752 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
4753 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
4754 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
4755 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
4756 SWIG_RegisterMapping("_signed_short","_short",0);
4757 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
4758 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
4759 SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0);
4760 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
4761 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
4762 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
4763 SWIG_RegisterMapping("_unsigned_char","_byte",0);
4764 SWIG_RegisterMapping("_class_wxMetaFileDC","_wxMetaFileDC",0);
4765 SWIG_RegisterMapping("_class_wxMenu","_class_wxPyMenu",SwigwxPyMenuTowxMenu
);
4766 SWIG_RegisterMapping("_class_wxMenu","_wxPyMenu",SwigwxPyMenuTowxMenu
);
4767 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
4768 SWIG_RegisterMapping("_unsigned_int","_uint",0);
4769 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
4770 SWIG_RegisterMapping("_unsigned_int","_int",0);
4771 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
4772 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
4773 SWIG_RegisterMapping("_class_wxPyMenu","_wxPyMenu",0);
4774 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
4775 SWIG_RegisterMapping("_short","_WXTYPE",0);
4776 SWIG_RegisterMapping("_short","_unsigned_short",0);
4777 SWIG_RegisterMapping("_short","_signed_short",0);
4778 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
4779 SWIG_RegisterMapping("_wxWindowID","_uint",0);
4780 SWIG_RegisterMapping("_wxWindowID","_int",0);
4781 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
4782 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
4783 SWIG_RegisterMapping("_int","_EBool",0);
4784 SWIG_RegisterMapping("_int","_uint",0);
4785 SWIG_RegisterMapping("_int","_wxWindowID",0);
4786 SWIG_RegisterMapping("_int","_unsigned_int",0);
4787 SWIG_RegisterMapping("_int","_signed_int",0);
4788 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
4789 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
4790 SWIG_RegisterMapping("_class_wxPrinterDC","_wxPrinterDC",0);
4791 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
4792 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
4793 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
4794 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
4795 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
4796 SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
4797 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
4798 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
4799 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
4800 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
4801 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
4802 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
4803 SWIG_RegisterMapping("_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
4804 SWIG_RegisterMapping("_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
4805 SWIG_RegisterMapping("_wxEvtHandler","_class_wxPyMenu",SwigwxPyMenuTowxEvtHandler
);
4806 SWIG_RegisterMapping("_wxEvtHandler","_wxPyMenu",SwigwxPyMenuTowxEvtHandler
);
4807 SWIG_RegisterMapping("_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
);
4808 SWIG_RegisterMapping("_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
);
4809 SWIG_RegisterMapping("_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
4810 SWIG_RegisterMapping("_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
4811 SWIG_RegisterMapping("_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
);
4812 SWIG_RegisterMapping("_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
);
4813 SWIG_RegisterMapping("_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
);
4814 SWIG_RegisterMapping("_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
);
4815 SWIG_RegisterMapping("_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
);
4816 SWIG_RegisterMapping("_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
);
4817 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
4818 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
4819 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
4820 SWIG_RegisterMapping("_wxDash","_long",0);
4821 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
4822 SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);
4823 SWIG_RegisterMapping("_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
4824 SWIG_RegisterMapping("_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
4825 SWIG_RegisterMapping("_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
);
4826 SWIG_RegisterMapping("_wxWindow","_wxDialog",SwigwxDialogTowxWindow
);
4827 SWIG_RegisterMapping("_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
);
4828 SWIG_RegisterMapping("_wxWindow","_wxPanel",SwigwxPanelTowxWindow
);
4829 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);