2 * FILE : msw/windows.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 5)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a,b) __declspec(dllexport) a b
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a,b) a _export b
32 # define SWIGEXPORT(a,b) a b
36 # define SWIGEXPORT(a,b) a b
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
47 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initwindowsc
54 #define SWIG_name "windowsc"
57 #include <wx/menuitem.h>
59 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
63 } else if (target
== Py_None
) {
67 if (!PyList_Check(target
)) {
69 target
= PyList_New(0);
70 PyList_Append(target
, o2
);
73 PyList_Append(target
,o
);
79 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
85 } else if (target
== Py_None
) {
89 if (!PyTuple_Check(target
)) {
91 target
= PyTuple_New(1);
92 PyTuple_SetItem(target
, 0, o2
);
95 PyTuple_SetItem(o3
, 0, o
);
98 target
= PySequence_Concat(o2
, o3
);
106 extern byte
* byte_LIST_helper(PyObject
* source
);
107 extern int* int_LIST_helper(PyObject
* source
);
108 extern long* long_LIST_helper(PyObject
* source
);
109 extern char** string_LIST_helper(PyObject
* source
);
110 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
111 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
112 extern wxString
* wxString_LIST_helper(PyObject
* source
);
113 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
116 static char* wxStringErrorMsg
= "string type is required for parameter";
118 wxWindow
* wxWindow_FindFocus() {
119 return wxWindow::FindFocus();
122 wxWindow
* wxWindow_FromHWND(unsigned long hWnd
) {
123 wxWindow
* win
= new wxWindow
;
125 win
->SubclassWin(hWnd
);
128 static PyObject
*_wrap_wxWindow_FindFocus(PyObject
*self
, PyObject
*args
) {
129 PyObject
* _resultobj
;
134 if(!PyArg_ParseTuple(args
,":wxWindow_FindFocus"))
137 wxPy_BEGIN_ALLOW_THREADS
;
138 _result
= (wxWindow
*)wxWindow_FindFocus();
140 wxPy_END_ALLOW_THREADS
;
141 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
142 _resultobj
= Py_BuildValue("s",_ptemp
);
146 static PyObject
*_wrap_wxWindow_FromHWND(PyObject
*self
, PyObject
*args
) {
147 PyObject
* _resultobj
;
153 if(!PyArg_ParseTuple(args
,"l:wxWindow_FromHWND",&_arg0
))
156 wxPy_BEGIN_ALLOW_THREADS
;
157 _result
= (wxWindow
*)wxWindow_FromHWND(_arg0
);
159 wxPy_END_ALLOW_THREADS
;
160 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
161 _resultobj
= Py_BuildValue("s",_ptemp
);
165 #define wxEvtHandler_ProcessEvent(_swigobj,_swigarg0) (_swigobj->ProcessEvent(_swigarg0))
166 static PyObject
*_wrap_wxEvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
) {
167 PyObject
* _resultobj
;
169 wxEvtHandler
* _arg0
;
175 if(!PyArg_ParseTuple(args
,"ss:wxEvtHandler_ProcessEvent",&_argc0
,&_argc1
))
178 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_ProcessEvent. Expected _wxEvtHandler_p.");
184 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxEvent_p")) {
185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_ProcessEvent. Expected _wxEvent_p.");
190 wxPy_BEGIN_ALLOW_THREADS
;
191 _result
= (bool )wxEvtHandler_ProcessEvent(_arg0
,*_arg1
);
193 wxPy_END_ALLOW_THREADS
;
194 } _resultobj
= Py_BuildValue("i",_result
);
198 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
* func
) {
199 if (PyCallable_Check(func
)) {
200 self
->Connect(id
, lastId
, eventType
,
201 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
202 new wxPyCallback(func
));
205 static PyObject
*_wrap_wxEvtHandler_Connect(PyObject
*self
, PyObject
*args
) {
206 PyObject
* _resultobj
;
207 wxEvtHandler
* _arg0
;
213 PyObject
* _obj4
= 0;
216 if(!PyArg_ParseTuple(args
,"siiiO:wxEvtHandler_Connect",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
219 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
228 wxPy_BEGIN_ALLOW_THREADS
;
229 wxEvtHandler_Connect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
231 wxPy_END_ALLOW_THREADS
;
232 } Py_INCREF(Py_None
);
233 _resultobj
= Py_None
;
237 static void *SwigwxWindowTowxEvtHandler(void *ptr
) {
240 src
= (wxWindow
*) ptr
;
241 dest
= (wxEvtHandler
*) src
;
242 return (void *) dest
;
245 #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
246 static PyObject
*_wrap_new_wxWindow(PyObject
*self
, PyObject
*args
) {
247 PyObject
* _resultobj
;
251 wxPoint
* _arg2
= &wxPyDefaultPosition
;
252 wxSize
* _arg3
= &wxPyDefaultSize
;
254 char * _arg5
= "panel";
261 if(!PyArg_ParseTuple(args
,"si|ssls:new_wxWindow",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
264 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
270 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxWindow. Expected _wxPoint_p.");
276 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxWindow. Expected _wxSize_p.");
282 wxPy_BEGIN_ALLOW_THREADS
;
283 _result
= (wxWindow
*)new_wxWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
285 wxPy_END_ALLOW_THREADS
;
286 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
287 _resultobj
= Py_BuildValue("s",_ptemp
);
291 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
292 static PyObject
*_wrap_wxWindow_CaptureMouse(PyObject
*self
, PyObject
*args
) {
293 PyObject
* _resultobj
;
298 if(!PyArg_ParseTuple(args
,"s:wxWindow_CaptureMouse",&_argc0
))
301 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
307 wxPy_BEGIN_ALLOW_THREADS
;
308 wxWindow_CaptureMouse(_arg0
);
310 wxPy_END_ALLOW_THREADS
;
311 } Py_INCREF(Py_None
);
312 _resultobj
= Py_None
;
316 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
317 static PyObject
*_wrap_wxWindow_Center(PyObject
*self
, PyObject
*args
) {
318 PyObject
* _resultobj
;
320 int _arg1
= (wxHORIZONTAL
);
324 if(!PyArg_ParseTuple(args
,"s|i:wxWindow_Center",&_argc0
,&_arg1
))
327 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
333 wxPy_BEGIN_ALLOW_THREADS
;
334 wxWindow_Center(_arg0
,_arg1
);
336 wxPy_END_ALLOW_THREADS
;
337 } Py_INCREF(Py_None
);
338 _resultobj
= Py_None
;
342 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
343 static PyObject
*_wrap_wxWindow_Centre(PyObject
*self
, PyObject
*args
) {
344 PyObject
* _resultobj
;
346 int _arg1
= (wxHORIZONTAL
);
350 if(!PyArg_ParseTuple(args
,"s|i:wxWindow_Centre",&_argc0
,&_arg1
))
353 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
359 wxPy_BEGIN_ALLOW_THREADS
;
360 wxWindow_Centre(_arg0
,_arg1
);
362 wxPy_END_ALLOW_THREADS
;
363 } Py_INCREF(Py_None
);
364 _resultobj
= Py_None
;
368 #define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
369 static PyObject
*_wrap_wxWindow_ClientToScreenXY(PyObject
*self
, PyObject
*args
) {
370 PyObject
* _resultobj
;
376 PyObject
* _obj1
= 0;
378 PyObject
* _obj2
= 0;
381 if(!PyArg_ParseTuple(args
,"sOO:wxWindow_ClientToScreenXY",&_argc0
,&_obj1
,&_obj2
))
384 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
390 temp
= (int) PyInt_AsLong(_obj1
);
394 temp0
= (int) PyInt_AsLong(_obj2
);
398 wxPy_BEGIN_ALLOW_THREADS
;
399 wxWindow_ClientToScreenXY(_arg0
,_arg1
,_arg2
);
401 wxPy_END_ALLOW_THREADS
;
402 } Py_INCREF(Py_None
);
403 _resultobj
= Py_None
;
406 o
= PyInt_FromLong((long) (*_arg1
));
407 _resultobj
= t_output_helper(_resultobj
, o
);
411 o
= PyInt_FromLong((long) (*_arg2
));
412 _resultobj
= t_output_helper(_resultobj
, o
);
417 #define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
418 static PyObject
*_wrap_wxWindow_ClientToScreen(PyObject
*self
, PyObject
*args
) {
419 PyObject
* _resultobj
;
428 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ClientToScreen",&_argc0
,&_argc1
))
431 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
437 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ClientToScreen. Expected _wxPoint_p.");
443 wxPy_BEGIN_ALLOW_THREADS
;
444 _result
= new wxPoint (wxWindow_ClientToScreen(_arg0
,*_arg1
));
446 wxPy_END_ALLOW_THREADS
;
447 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
448 _resultobj
= Py_BuildValue("s",_ptemp
);
452 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
453 static PyObject
*_wrap_wxWindow_Close(PyObject
*self
, PyObject
*args
) {
454 PyObject
* _resultobj
;
461 if(!PyArg_ParseTuple(args
,"s|i:wxWindow_Close",&_argc0
,&_arg1
))
464 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
470 wxPy_BEGIN_ALLOW_THREADS
;
471 _result
= (bool )wxWindow_Close(_arg0
,_arg1
);
473 wxPy_END_ALLOW_THREADS
;
474 } _resultobj
= Py_BuildValue("i",_result
);
478 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
479 static PyObject
*_wrap_wxWindow_Destroy(PyObject
*self
, PyObject
*args
) {
480 PyObject
* _resultobj
;
486 if(!PyArg_ParseTuple(args
,"s:wxWindow_Destroy",&_argc0
))
489 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
495 wxPy_BEGIN_ALLOW_THREADS
;
496 _result
= (bool )wxWindow_Destroy(_arg0
);
498 wxPy_END_ALLOW_THREADS
;
499 } _resultobj
= Py_BuildValue("i",_result
);
503 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
504 static PyObject
*_wrap_wxWindow_DestroyChildren(PyObject
*self
, PyObject
*args
) {
505 PyObject
* _resultobj
;
510 if(!PyArg_ParseTuple(args
,"s:wxWindow_DestroyChildren",&_argc0
))
513 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
519 wxPy_BEGIN_ALLOW_THREADS
;
520 wxWindow_DestroyChildren(_arg0
);
522 wxPy_END_ALLOW_THREADS
;
523 } Py_INCREF(Py_None
);
524 _resultobj
= Py_None
;
528 #define wxWindow_DragAcceptFiles(_swigobj,_swigarg0) (_swigobj->DragAcceptFiles(_swigarg0))
529 static PyObject
*_wrap_wxWindow_DragAcceptFiles(PyObject
*self
, PyObject
*args
) {
530 PyObject
* _resultobj
;
537 if(!PyArg_ParseTuple(args
,"si:wxWindow_DragAcceptFiles",&_argc0
,&tempbool1
))
540 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DragAcceptFiles. Expected _wxWindow_p.");
545 _arg1
= (bool ) tempbool1
;
547 wxPy_BEGIN_ALLOW_THREADS
;
548 wxWindow_DragAcceptFiles(_arg0
,_arg1
);
550 wxPy_END_ALLOW_THREADS
;
551 } Py_INCREF(Py_None
);
552 _resultobj
= Py_None
;
556 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
557 static PyObject
*_wrap_wxWindow_Enable(PyObject
*self
, PyObject
*args
) {
558 PyObject
* _resultobj
;
565 if(!PyArg_ParseTuple(args
,"si:wxWindow_Enable",&_argc0
,&tempbool1
))
568 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
573 _arg1
= (bool ) tempbool1
;
575 wxPy_BEGIN_ALLOW_THREADS
;
576 wxWindow_Enable(_arg0
,_arg1
);
578 wxPy_END_ALLOW_THREADS
;
579 } Py_INCREF(Py_None
);
580 _resultobj
= Py_None
;
584 #define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
585 static PyObject
*_wrap_wxWindow_FindWindowById(PyObject
*self
, PyObject
*args
) {
586 PyObject
* _resultobj
;
594 if(!PyArg_ParseTuple(args
,"sl:wxWindow_FindWindowById",&_argc0
,&_arg1
))
597 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
603 wxPy_BEGIN_ALLOW_THREADS
;
604 _result
= (wxWindow
*)wxWindow_FindWindowById(_arg0
,_arg1
);
606 wxPy_END_ALLOW_THREADS
;
607 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
608 _resultobj
= Py_BuildValue("s",_ptemp
);
612 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
613 static PyObject
*_wrap_wxWindow_FindWindowByName(PyObject
*self
, PyObject
*args
) {
614 PyObject
* _resultobj
;
619 PyObject
* _obj1
= 0;
623 if(!PyArg_ParseTuple(args
,"sO:wxWindow_FindWindowByName",&_argc0
,&_obj1
))
626 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
632 if (!PyString_Check(_obj1
)) {
633 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
636 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
639 wxPy_BEGIN_ALLOW_THREADS
;
640 _result
= (wxWindow
*)wxWindow_FindWindowByName(_arg0
,*_arg1
);
642 wxPy_END_ALLOW_THREADS
;
643 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
644 _resultobj
= Py_BuildValue("s",_ptemp
);
652 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
653 static PyObject
*_wrap_wxWindow_Fit(PyObject
*self
, PyObject
*args
) {
654 PyObject
* _resultobj
;
659 if(!PyArg_ParseTuple(args
,"s:wxWindow_Fit",&_argc0
))
662 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
668 wxPy_BEGIN_ALLOW_THREADS
;
671 wxPy_END_ALLOW_THREADS
;
672 } Py_INCREF(Py_None
);
673 _resultobj
= Py_None
;
677 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
678 static PyObject
*_wrap_wxWindow_GetBackgroundColour(PyObject
*self
, PyObject
*args
) {
679 PyObject
* _resultobj
;
686 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetBackgroundColour",&_argc0
))
689 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
695 wxPy_BEGIN_ALLOW_THREADS
;
696 _result
= new wxColour (wxWindow_GetBackgroundColour(_arg0
));
698 wxPy_END_ALLOW_THREADS
;
699 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
700 _resultobj
= Py_BuildValue("s",_ptemp
);
704 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
705 static PyObject
*_wrap_wxWindow_GetCharHeight(PyObject
*self
, PyObject
*args
) {
706 PyObject
* _resultobj
;
712 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetCharHeight",&_argc0
))
715 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
721 wxPy_BEGIN_ALLOW_THREADS
;
722 _result
= (int )wxWindow_GetCharHeight(_arg0
);
724 wxPy_END_ALLOW_THREADS
;
725 } _resultobj
= Py_BuildValue("i",_result
);
729 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
730 static PyObject
*_wrap_wxWindow_GetCharWidth(PyObject
*self
, PyObject
*args
) {
731 PyObject
* _resultobj
;
737 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetCharWidth",&_argc0
))
740 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
746 wxPy_BEGIN_ALLOW_THREADS
;
747 _result
= (int )wxWindow_GetCharWidth(_arg0
);
749 wxPy_END_ALLOW_THREADS
;
750 } _resultobj
= Py_BuildValue("i",_result
);
754 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
755 static PyObject
*_wrap_wxWindow_GetClientSizeTuple(PyObject
*self
, PyObject
*args
) {
756 PyObject
* _resultobj
;
771 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetClientSizeTuple",&_argc0
))
774 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
780 wxPy_BEGIN_ALLOW_THREADS
;
781 wxWindow_GetClientSizeTuple(_arg0
,_arg1
,_arg2
);
783 wxPy_END_ALLOW_THREADS
;
784 } Py_INCREF(Py_None
);
785 _resultobj
= Py_None
;
788 o
= PyInt_FromLong((long) (*_arg1
));
789 _resultobj
= t_output_helper(_resultobj
, o
);
793 o
= PyInt_FromLong((long) (*_arg2
));
794 _resultobj
= t_output_helper(_resultobj
, o
);
799 #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
800 static PyObject
*_wrap_wxWindow_GetClientSize(PyObject
*self
, PyObject
*args
) {
801 PyObject
* _resultobj
;
808 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetClientSize",&_argc0
))
811 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
817 wxPy_BEGIN_ALLOW_THREADS
;
818 _result
= new wxSize (wxWindow_GetClientSize(_arg0
));
820 wxPy_END_ALLOW_THREADS
;
821 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
822 _resultobj
= Py_BuildValue("s",_ptemp
);
826 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
827 static PyObject
*_wrap_wxWindow_GetConstraints(PyObject
*self
, PyObject
*args
) {
828 PyObject
* _resultobj
;
829 wxLayoutConstraints
* _result
;
835 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetConstraints",&_argc0
))
838 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
844 wxPy_BEGIN_ALLOW_THREADS
;
845 _result
= (wxLayoutConstraints
*)wxWindow_GetConstraints(_arg0
);
847 wxPy_END_ALLOW_THREADS
;
848 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
849 _resultobj
= Py_BuildValue("s",_ptemp
);
853 #define wxWindow_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
854 static PyObject
*_wrap_wxWindow_GetDefaultItem(PyObject
*self
, PyObject
*args
) {
855 PyObject
* _resultobj
;
862 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetDefaultItem",&_argc0
))
865 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetDefaultItem. Expected _wxWindow_p.");
871 wxPy_BEGIN_ALLOW_THREADS
;
872 _result
= (wxButton
*)wxWindow_GetDefaultItem(_arg0
);
874 wxPy_END_ALLOW_THREADS
;
875 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
876 _resultobj
= Py_BuildValue("s",_ptemp
);
880 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
881 static PyObject
*_wrap_wxWindow_GetFont(PyObject
*self
, PyObject
*args
) {
882 PyObject
* _resultobj
;
889 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetFont",&_argc0
))
892 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
898 wxPy_BEGIN_ALLOW_THREADS
;
899 wxFont
& _result_ref
= wxWindow_GetFont(_arg0
);
900 _result
= (wxFont
*) &_result_ref
;
902 wxPy_END_ALLOW_THREADS
;
903 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
904 _resultobj
= Py_BuildValue("s",_ptemp
);
908 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
909 static PyObject
*_wrap_wxWindow_GetForegroundColour(PyObject
*self
, PyObject
*args
) {
910 PyObject
* _resultobj
;
917 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetForegroundColour",&_argc0
))
920 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
926 wxPy_BEGIN_ALLOW_THREADS
;
927 _result
= new wxColour (wxWindow_GetForegroundColour(_arg0
));
929 wxPy_END_ALLOW_THREADS
;
930 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
931 _resultobj
= Py_BuildValue("s",_ptemp
);
935 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
936 static PyObject
*_wrap_wxWindow_GetGrandParent(PyObject
*self
, PyObject
*args
) {
937 PyObject
* _resultobj
;
944 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetGrandParent",&_argc0
))
947 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
953 wxPy_BEGIN_ALLOW_THREADS
;
954 _result
= (wxWindow
*)wxWindow_GetGrandParent(_arg0
);
956 wxPy_END_ALLOW_THREADS
;
957 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
958 _resultobj
= Py_BuildValue("s",_ptemp
);
962 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
963 static PyObject
*_wrap_wxWindow_GetId(PyObject
*self
, PyObject
*args
) {
964 PyObject
* _resultobj
;
970 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetId",&_argc0
))
973 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
979 wxPy_BEGIN_ALLOW_THREADS
;
980 _result
= (int )wxWindow_GetId(_arg0
);
982 wxPy_END_ALLOW_THREADS
;
983 } _resultobj
= Py_BuildValue("i",_result
);
987 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
988 static PyObject
*_wrap_wxWindow_GetLabel(PyObject
*self
, PyObject
*args
) {
989 PyObject
* _resultobj
;
995 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetLabel",&_argc0
))
998 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
1004 wxPy_BEGIN_ALLOW_THREADS
;
1005 _result
= new wxString (wxWindow_GetLabel(_arg0
));
1007 wxPy_END_ALLOW_THREADS
;
1009 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1017 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
1018 static PyObject
*_wrap_wxWindow_GetName(PyObject
*self
, PyObject
*args
) {
1019 PyObject
* _resultobj
;
1025 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetName",&_argc0
))
1028 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
1034 wxPy_BEGIN_ALLOW_THREADS
;
1035 _result
= new wxString (wxWindow_GetName(_arg0
));
1037 wxPy_END_ALLOW_THREADS
;
1039 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1047 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
1048 static PyObject
*_wrap_wxWindow_GetParent(PyObject
*self
, PyObject
*args
) {
1049 PyObject
* _resultobj
;
1056 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetParent",&_argc0
))
1059 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
1065 wxPy_BEGIN_ALLOW_THREADS
;
1066 _result
= (wxWindow
*)wxWindow_GetParent(_arg0
);
1068 wxPy_END_ALLOW_THREADS
;
1069 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1070 _resultobj
= Py_BuildValue("s",_ptemp
);
1074 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
1075 static PyObject
*_wrap_wxWindow_GetPositionTuple(PyObject
*self
, PyObject
*args
) {
1076 PyObject
* _resultobj
;
1091 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetPositionTuple",&_argc0
))
1094 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
1100 wxPy_BEGIN_ALLOW_THREADS
;
1101 wxWindow_GetPositionTuple(_arg0
,_arg1
,_arg2
);
1103 wxPy_END_ALLOW_THREADS
;
1104 } Py_INCREF(Py_None
);
1105 _resultobj
= Py_None
;
1108 o
= PyInt_FromLong((long) (*_arg1
));
1109 _resultobj
= t_output_helper(_resultobj
, o
);
1113 o
= PyInt_FromLong((long) (*_arg2
));
1114 _resultobj
= t_output_helper(_resultobj
, o
);
1119 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
1120 static PyObject
*_wrap_wxWindow_GetPosition(PyObject
*self
, PyObject
*args
) {
1121 PyObject
* _resultobj
;
1128 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetPosition",&_argc0
))
1131 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
1137 wxPy_BEGIN_ALLOW_THREADS
;
1138 _result
= new wxPoint (wxWindow_GetPosition(_arg0
));
1140 wxPy_END_ALLOW_THREADS
;
1141 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1142 _resultobj
= Py_BuildValue("s",_ptemp
);
1146 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
1147 static PyObject
*_wrap_wxWindow_GetRect(PyObject
*self
, PyObject
*args
) {
1148 PyObject
* _resultobj
;
1155 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetRect",&_argc0
))
1158 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
1164 wxPy_BEGIN_ALLOW_THREADS
;
1165 _result
= new wxRect (wxWindow_GetRect(_arg0
));
1167 wxPy_END_ALLOW_THREADS
;
1168 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1169 _resultobj
= Py_BuildValue("s",_ptemp
);
1173 #define wxWindow_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
1174 static PyObject
*_wrap_wxWindow_GetReturnCode(PyObject
*self
, PyObject
*args
) {
1175 PyObject
* _resultobj
;
1181 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetReturnCode",&_argc0
))
1184 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetReturnCode. Expected _wxWindow_p.");
1190 wxPy_BEGIN_ALLOW_THREADS
;
1191 _result
= (int )wxWindow_GetReturnCode(_arg0
);
1193 wxPy_END_ALLOW_THREADS
;
1194 } _resultobj
= Py_BuildValue("i",_result
);
1198 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
1199 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*self
, PyObject
*args
) {
1200 PyObject
* _resultobj
;
1207 if(!PyArg_ParseTuple(args
,"si:wxWindow_GetScrollThumb",&_argc0
,&_arg1
))
1210 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
1216 wxPy_BEGIN_ALLOW_THREADS
;
1217 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
1219 wxPy_END_ALLOW_THREADS
;
1220 } _resultobj
= Py_BuildValue("i",_result
);
1224 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
1225 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
) {
1226 PyObject
* _resultobj
;
1233 if(!PyArg_ParseTuple(args
,"si:wxWindow_GetScrollPos",&_argc0
,&_arg1
))
1236 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
1242 wxPy_BEGIN_ALLOW_THREADS
;
1243 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
1245 wxPy_END_ALLOW_THREADS
;
1246 } _resultobj
= Py_BuildValue("i",_result
);
1250 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
1251 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*self
, PyObject
*args
) {
1252 PyObject
* _resultobj
;
1259 if(!PyArg_ParseTuple(args
,"si:wxWindow_GetScrollRange",&_argc0
,&_arg1
))
1262 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
1268 wxPy_BEGIN_ALLOW_THREADS
;
1269 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
1271 wxPy_END_ALLOW_THREADS
;
1272 } _resultobj
= Py_BuildValue("i",_result
);
1276 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
1277 static PyObject
*_wrap_wxWindow_GetSizeTuple(PyObject
*self
, PyObject
*args
) {
1278 PyObject
* _resultobj
;
1293 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetSizeTuple",&_argc0
))
1296 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
1302 wxPy_BEGIN_ALLOW_THREADS
;
1303 wxWindow_GetSizeTuple(_arg0
,_arg1
,_arg2
);
1305 wxPy_END_ALLOW_THREADS
;
1306 } Py_INCREF(Py_None
);
1307 _resultobj
= Py_None
;
1310 o
= PyInt_FromLong((long) (*_arg1
));
1311 _resultobj
= t_output_helper(_resultobj
, o
);
1315 o
= PyInt_FromLong((long) (*_arg2
));
1316 _resultobj
= t_output_helper(_resultobj
, o
);
1321 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
1322 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*self
, PyObject
*args
) {
1323 PyObject
* _resultobj
;
1330 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetSize",&_argc0
))
1333 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
1339 wxPy_BEGIN_ALLOW_THREADS
;
1340 _result
= new wxSize (wxWindow_GetSize(_arg0
));
1342 wxPy_END_ALLOW_THREADS
;
1343 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1344 _resultobj
= Py_BuildValue("s",_ptemp
);
1348 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
1349 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
) {
1350 PyObject
* _resultobj
;
1358 PyObject
* _obj1
= 0;
1367 if(!PyArg_ParseTuple(args
,"sO:wxWindow_GetTextExtent",&_argc0
,&_obj1
))
1370 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
1376 if (!PyString_Check(_obj1
)) {
1377 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1380 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1383 wxPy_BEGIN_ALLOW_THREADS
;
1384 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
1386 wxPy_END_ALLOW_THREADS
;
1387 } Py_INCREF(Py_None
);
1388 _resultobj
= Py_None
;
1391 o
= PyInt_FromLong((long) (*_arg2
));
1392 _resultobj
= t_output_helper(_resultobj
, o
);
1396 o
= PyInt_FromLong((long) (*_arg3
));
1397 _resultobj
= t_output_helper(_resultobj
, o
);
1406 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1407 static PyObject
*_wrap_wxWindow_GetFullTextExtent(PyObject
*self
, PyObject
*args
) {
1408 PyObject
* _resultobj
;
1419 wxFont
* _arg6
= NULL
;
1421 PyObject
* _obj1
= 0;
1437 if(!PyArg_ParseTuple(args
,"sO|s:wxWindow_GetFullTextExtent",&_argc0
,&_obj1
,&_argc6
))
1440 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
1446 if (!PyString_Check(_obj1
)) {
1447 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1450 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1453 if (SWIG_GetPtr(_argc6
,(void **) &_arg6
,"_wxFont_p")) {
1454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
1459 wxPy_BEGIN_ALLOW_THREADS
;
1460 wxWindow_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1462 wxPy_END_ALLOW_THREADS
;
1463 } Py_INCREF(Py_None
);
1464 _resultobj
= Py_None
;
1467 o
= PyInt_FromLong((long) (*_arg2
));
1468 _resultobj
= t_output_helper(_resultobj
, o
);
1472 o
= PyInt_FromLong((long) (*_arg3
));
1473 _resultobj
= t_output_helper(_resultobj
, o
);
1477 o
= PyInt_FromLong((long) (*_arg4
));
1478 _resultobj
= t_output_helper(_resultobj
, o
);
1482 o
= PyInt_FromLong((long) (*_arg5
));
1483 _resultobj
= t_output_helper(_resultobj
, o
);
1492 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
1493 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
) {
1494 PyObject
* _resultobj
;
1500 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetTitle",&_argc0
))
1503 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
1509 wxPy_BEGIN_ALLOW_THREADS
;
1510 _result
= new wxString (wxWindow_GetTitle(_arg0
));
1512 wxPy_END_ALLOW_THREADS
;
1514 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1522 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
1523 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
) {
1524 PyObject
* _resultobj
;
1530 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetWindowStyleFlag",&_argc0
))
1533 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
1539 wxPy_BEGIN_ALLOW_THREADS
;
1540 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
1542 wxPy_END_ALLOW_THREADS
;
1543 } _resultobj
= Py_BuildValue("l",_result
);
1547 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
1548 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
) {
1549 PyObject
* _resultobj
;
1554 if(!PyArg_ParseTuple(args
,"s:wxWindow_InitDialog",&_argc0
))
1557 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
1563 wxPy_BEGIN_ALLOW_THREADS
;
1564 wxWindow_InitDialog(_arg0
);
1566 wxPy_END_ALLOW_THREADS
;
1567 } Py_INCREF(Py_None
);
1568 _resultobj
= Py_None
;
1572 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
1573 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
) {
1574 PyObject
* _resultobj
;
1580 if(!PyArg_ParseTuple(args
,"s:wxWindow_IsEnabled",&_argc0
))
1583 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
1589 wxPy_BEGIN_ALLOW_THREADS
;
1590 _result
= (bool )wxWindow_IsEnabled(_arg0
);
1592 wxPy_END_ALLOW_THREADS
;
1593 } _resultobj
= Py_BuildValue("i",_result
);
1597 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
1598 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
) {
1599 PyObject
* _resultobj
;
1605 if(!PyArg_ParseTuple(args
,"s:wxWindow_IsRetained",&_argc0
))
1608 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
1614 wxPy_BEGIN_ALLOW_THREADS
;
1615 _result
= (bool )wxWindow_IsRetained(_arg0
);
1617 wxPy_END_ALLOW_THREADS
;
1618 } _resultobj
= Py_BuildValue("i",_result
);
1622 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
1623 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
) {
1624 PyObject
* _resultobj
;
1630 if(!PyArg_ParseTuple(args
,"s:wxWindow_IsShown",&_argc0
))
1633 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
1639 wxPy_BEGIN_ALLOW_THREADS
;
1640 _result
= (bool )wxWindow_IsShown(_arg0
);
1642 wxPy_END_ALLOW_THREADS
;
1643 } _resultobj
= Py_BuildValue("i",_result
);
1647 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
1648 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
) {
1649 PyObject
* _resultobj
;
1654 if(!PyArg_ParseTuple(args
,"s:wxWindow_Layout",&_argc0
))
1657 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
1663 wxPy_BEGIN_ALLOW_THREADS
;
1664 wxWindow_Layout(_arg0
);
1666 wxPy_END_ALLOW_THREADS
;
1667 } Py_INCREF(Py_None
);
1668 _resultobj
= Py_None
;
1672 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
1673 static PyObject
*_wrap_wxWindow_LoadFromResource(PyObject
*self
, PyObject
*args
) {
1674 PyObject
* _resultobj
;
1679 wxResourceTable
* _arg3
= NULL
;
1682 PyObject
* _obj2
= 0;
1686 if(!PyArg_ParseTuple(args
,"ssO|s:wxWindow_LoadFromResource",&_argc0
,&_argc1
,&_obj2
,&_argc3
))
1689 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
1695 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
1696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
1701 if (!PyString_Check(_obj2
)) {
1702 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1705 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
1708 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxResourceTable_p")) {
1709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
1714 wxPy_BEGIN_ALLOW_THREADS
;
1715 _result
= (bool )wxWindow_LoadFromResource(_arg0
,_arg1
,*_arg2
,_arg3
);
1717 wxPy_END_ALLOW_THREADS
;
1718 } _resultobj
= Py_BuildValue("i",_result
);
1726 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
1727 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
) {
1728 PyObject
* _resultobj
;
1733 if(!PyArg_ParseTuple(args
,"s:wxWindow_Lower",&_argc0
))
1736 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
1742 wxPy_BEGIN_ALLOW_THREADS
;
1743 wxWindow_Lower(_arg0
);
1745 wxPy_END_ALLOW_THREADS
;
1746 } Py_INCREF(Py_None
);
1747 _resultobj
= Py_None
;
1751 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
1752 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
) {
1753 PyObject
* _resultobj
;
1760 if(!PyArg_ParseTuple(args
,"si:wxWindow_MakeModal",&_argc0
,&tempbool1
))
1763 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
1768 _arg1
= (bool ) tempbool1
;
1770 wxPy_BEGIN_ALLOW_THREADS
;
1771 wxWindow_MakeModal(_arg0
,_arg1
);
1773 wxPy_END_ALLOW_THREADS
;
1774 } Py_INCREF(Py_None
);
1775 _resultobj
= Py_None
;
1779 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
1780 static PyObject
*_wrap_wxWindow_MoveXY(PyObject
*self
, PyObject
*args
) {
1781 PyObject
* _resultobj
;
1788 if(!PyArg_ParseTuple(args
,"sii:wxWindow_MoveXY",&_argc0
,&_arg1
,&_arg2
))
1791 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
1797 wxPy_BEGIN_ALLOW_THREADS
;
1798 wxWindow_MoveXY(_arg0
,_arg1
,_arg2
);
1800 wxPy_END_ALLOW_THREADS
;
1801 } Py_INCREF(Py_None
);
1802 _resultobj
= Py_None
;
1806 #define wxWindow_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
1807 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
) {
1808 PyObject
* _resultobj
;
1815 if(!PyArg_ParseTuple(args
,"ss:wxWindow_Move",&_argc0
,&_argc1
))
1818 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
1824 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
1825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Move. Expected _wxPoint_p.");
1830 wxPy_BEGIN_ALLOW_THREADS
;
1831 wxWindow_Move(_arg0
,*_arg1
);
1833 wxPy_END_ALLOW_THREADS
;
1834 } Py_INCREF(Py_None
);
1835 _resultobj
= Py_None
;
1839 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
1840 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
) {
1841 PyObject
* _resultobj
;
1851 if(!PyArg_ParseTuple(args
,"ssii:wxWindow_PopupMenu",&_argc0
,&_argc1
,&_arg2
,&_arg3
))
1854 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
1860 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxMenu_p")) {
1861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
1866 wxPy_BEGIN_ALLOW_THREADS
;
1867 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,_arg2
,_arg3
);
1869 wxPy_END_ALLOW_THREADS
;
1870 } _resultobj
= Py_BuildValue("i",_result
);
1874 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
1875 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
) {
1876 PyObject
* _resultobj
;
1881 if(!PyArg_ParseTuple(args
,"s:wxWindow_Raise",&_argc0
))
1884 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
1890 wxPy_BEGIN_ALLOW_THREADS
;
1891 wxWindow_Raise(_arg0
);
1893 wxPy_END_ALLOW_THREADS
;
1894 } Py_INCREF(Py_None
);
1895 _resultobj
= Py_None
;
1899 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
1900 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
) {
1901 PyObject
* _resultobj
;
1904 wxRect
* _arg2
= NULL
;
1910 if(!PyArg_ParseTuple(args
,"s|is:wxWindow_Refresh",&_argc0
,&tempbool1
,&_argc2
))
1913 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
1918 _arg1
= (bool ) tempbool1
;
1920 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxRect_p")) {
1921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxWindow_Refresh. Expected _wxRect_p.");
1926 wxPy_BEGIN_ALLOW_THREADS
;
1927 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
1929 wxPy_END_ALLOW_THREADS
;
1930 } Py_INCREF(Py_None
);
1931 _resultobj
= Py_None
;
1935 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
1936 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
) {
1937 PyObject
* _resultobj
;
1942 if(!PyArg_ParseTuple(args
,"s:wxWindow_ReleaseMouse",&_argc0
))
1945 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
1951 wxPy_BEGIN_ALLOW_THREADS
;
1952 wxWindow_ReleaseMouse(_arg0
);
1954 wxPy_END_ALLOW_THREADS
;
1955 } Py_INCREF(Py_None
);
1956 _resultobj
= Py_None
;
1960 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
1961 static PyObject
*_wrap_wxWindow_ScreenToClientXY(PyObject
*self
, PyObject
*args
) {
1962 PyObject
* _resultobj
;
1968 PyObject
* _obj1
= 0;
1970 PyObject
* _obj2
= 0;
1973 if(!PyArg_ParseTuple(args
,"sOO:wxWindow_ScreenToClientXY",&_argc0
,&_obj1
,&_obj2
))
1976 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
1982 temp
= (int) PyInt_AsLong(_obj1
);
1986 temp0
= (int) PyInt_AsLong(_obj2
);
1990 wxPy_BEGIN_ALLOW_THREADS
;
1991 wxWindow_ScreenToClientXY(_arg0
,_arg1
,_arg2
);
1993 wxPy_END_ALLOW_THREADS
;
1994 } Py_INCREF(Py_None
);
1995 _resultobj
= Py_None
;
1998 o
= PyInt_FromLong((long) (*_arg1
));
1999 _resultobj
= t_output_helper(_resultobj
, o
);
2003 o
= PyInt_FromLong((long) (*_arg2
));
2004 _resultobj
= t_output_helper(_resultobj
, o
);
2009 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
2010 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
) {
2011 PyObject
* _resultobj
;
2020 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ScreenToClient",&_argc0
,&_argc1
))
2023 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
2029 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
2030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ScreenToClient. Expected _wxPoint_p.");
2035 wxPy_BEGIN_ALLOW_THREADS
;
2036 _result
= new wxPoint (wxWindow_ScreenToClient(_arg0
,*_arg1
));
2038 wxPy_END_ALLOW_THREADS
;
2039 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2040 _resultobj
= Py_BuildValue("s",_ptemp
);
2044 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
2045 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
) {
2046 PyObject
* _resultobj
;
2050 wxRect
* _arg3
= NULL
;
2055 if(!PyArg_ParseTuple(args
,"sii|s:wxWindow_ScrollWindow",&_argc0
,&_arg1
,&_arg2
,&_argc3
))
2058 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
2064 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxRect_p")) {
2065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_ScrollWindow. Expected _wxRect_p.");
2070 wxPy_BEGIN_ALLOW_THREADS
;
2071 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
2073 wxPy_END_ALLOW_THREADS
;
2074 } Py_INCREF(Py_None
);
2075 _resultobj
= Py_None
;
2079 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
2080 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
) {
2081 PyObject
* _resultobj
;
2083 wxAcceleratorTable
* _arg1
;
2088 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetAcceleratorTable",&_argc0
,&_argc1
))
2091 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
2097 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
2098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
2103 wxPy_BEGIN_ALLOW_THREADS
;
2104 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
2106 wxPy_END_ALLOW_THREADS
;
2107 } Py_INCREF(Py_None
);
2108 _resultobj
= Py_None
;
2112 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
2113 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
) {
2114 PyObject
* _resultobj
;
2121 if(!PyArg_ParseTuple(args
,"si:wxWindow_SetAutoLayout",&_argc0
,&tempbool1
))
2124 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
2129 _arg1
= (bool ) tempbool1
;
2131 wxPy_BEGIN_ALLOW_THREADS
;
2132 wxWindow_SetAutoLayout(_arg0
,_arg1
);
2134 wxPy_END_ALLOW_THREADS
;
2135 } Py_INCREF(Py_None
);
2136 _resultobj
= Py_None
;
2140 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
2141 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
) {
2142 PyObject
* _resultobj
;
2149 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetBackgroundColour",&_argc0
,&_argc1
))
2152 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
2158 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
2159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetBackgroundColour. Expected _wxColour_p.");
2164 wxPy_BEGIN_ALLOW_THREADS
;
2165 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
2167 wxPy_END_ALLOW_THREADS
;
2168 } Py_INCREF(Py_None
);
2169 _resultobj
= Py_None
;
2173 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
2174 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
) {
2175 PyObject
* _resultobj
;
2177 wxLayoutConstraints
* _arg1
;
2182 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetConstraints",&_argc0
,&_argc1
))
2185 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
2191 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
2192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
2197 wxPy_BEGIN_ALLOW_THREADS
;
2198 wxWindow_SetConstraints(_arg0
,_arg1
);
2200 wxPy_END_ALLOW_THREADS
;
2201 } Py_INCREF(Py_None
);
2202 _resultobj
= Py_None
;
2206 #define wxWindow_SetDoubleClick(_swigobj,_swigarg0) (_swigobj->SetDoubleClick(_swigarg0))
2207 static PyObject
*_wrap_wxWindow_SetDoubleClick(PyObject
*self
, PyObject
*args
) {
2208 PyObject
* _resultobj
;
2215 if(!PyArg_ParseTuple(args
,"si:wxWindow_SetDoubleClick",&_argc0
,&tempbool1
))
2218 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDoubleClick. Expected _wxWindow_p.");
2223 _arg1
= (bool ) tempbool1
;
2225 wxPy_BEGIN_ALLOW_THREADS
;
2226 wxWindow_SetDoubleClick(_arg0
,_arg1
);
2228 wxPy_END_ALLOW_THREADS
;
2229 } Py_INCREF(Py_None
);
2230 _resultobj
= Py_None
;
2234 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
2235 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
) {
2236 PyObject
* _resultobj
;
2241 if(!PyArg_ParseTuple(args
,"s:wxWindow_SetFocus",&_argc0
))
2244 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
2250 wxPy_BEGIN_ALLOW_THREADS
;
2251 wxWindow_SetFocus(_arg0
);
2253 wxPy_END_ALLOW_THREADS
;
2254 } Py_INCREF(Py_None
);
2255 _resultobj
= Py_None
;
2259 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
2260 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
) {
2261 PyObject
* _resultobj
;
2268 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetFont",&_argc0
,&_argc1
))
2271 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
2277 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxFont_p")) {
2278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
2283 wxPy_BEGIN_ALLOW_THREADS
;
2284 wxWindow_SetFont(_arg0
,*_arg1
);
2286 wxPy_END_ALLOW_THREADS
;
2287 } Py_INCREF(Py_None
);
2288 _resultobj
= Py_None
;
2292 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
2293 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
) {
2294 PyObject
* _resultobj
;
2301 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetForegroundColour",&_argc0
,&_argc1
))
2304 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
2310 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
2311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetForegroundColour. Expected _wxColour_p.");
2316 wxPy_BEGIN_ALLOW_THREADS
;
2317 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
2319 wxPy_END_ALLOW_THREADS
;
2320 } Py_INCREF(Py_None
);
2321 _resultobj
= Py_None
;
2325 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
2326 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
) {
2327 PyObject
* _resultobj
;
2333 if(!PyArg_ParseTuple(args
,"si:wxWindow_SetId",&_argc0
,&_arg1
))
2336 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
2342 wxPy_BEGIN_ALLOW_THREADS
;
2343 wxWindow_SetId(_arg0
,_arg1
);
2345 wxPy_END_ALLOW_THREADS
;
2346 } Py_INCREF(Py_None
);
2347 _resultobj
= Py_None
;
2351 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
2352 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
) {
2353 PyObject
* _resultobj
;
2357 PyObject
* _obj1
= 0;
2360 if(!PyArg_ParseTuple(args
,"sO:wxWindow_SetName",&_argc0
,&_obj1
))
2363 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
2369 if (!PyString_Check(_obj1
)) {
2370 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2373 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2376 wxPy_BEGIN_ALLOW_THREADS
;
2377 wxWindow_SetName(_arg0
,*_arg1
);
2379 wxPy_END_ALLOW_THREADS
;
2380 } Py_INCREF(Py_None
);
2381 _resultobj
= Py_None
;
2389 #define wxWindow_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
2390 static PyObject
*_wrap_wxWindow_SetReturnCode(PyObject
*self
, PyObject
*args
) {
2391 PyObject
* _resultobj
;
2397 if(!PyArg_ParseTuple(args
,"si:wxWindow_SetReturnCode",&_argc0
,&_arg1
))
2400 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetReturnCode. Expected _wxWindow_p.");
2406 wxPy_BEGIN_ALLOW_THREADS
;
2407 wxWindow_SetReturnCode(_arg0
,_arg1
);
2409 wxPy_END_ALLOW_THREADS
;
2410 } Py_INCREF(Py_None
);
2411 _resultobj
= Py_None
;
2415 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2416 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
) {
2417 PyObject
* _resultobj
;
2428 if(!PyArg_ParseTuple(args
,"siiii|i:wxWindow_SetScrollbar",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
2431 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
2436 _arg5
= (bool ) tempbool5
;
2438 wxPy_BEGIN_ALLOW_THREADS
;
2439 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2441 wxPy_END_ALLOW_THREADS
;
2442 } Py_INCREF(Py_None
);
2443 _resultobj
= Py_None
;
2447 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
2448 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
) {
2449 PyObject
* _resultobj
;
2458 if(!PyArg_ParseTuple(args
,"sii|i:wxWindow_SetScrollPos",&_argc0
,&_arg1
,&_arg2
,&tempbool3
))
2461 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
2466 _arg3
= (bool ) tempbool3
;
2468 wxPy_BEGIN_ALLOW_THREADS
;
2469 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
2471 wxPy_END_ALLOW_THREADS
;
2472 } Py_INCREF(Py_None
);
2473 _resultobj
= Py_None
;
2477 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2478 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
) {
2479 PyObject
* _resultobj
;
2485 int _arg5
= (wxSIZE_AUTO
);
2489 if(!PyArg_ParseTuple(args
,"siiii|i:wxWindow_SetDimensions",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2492 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
2498 wxPy_BEGIN_ALLOW_THREADS
;
2499 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2501 wxPy_END_ALLOW_THREADS
;
2502 } Py_INCREF(Py_None
);
2503 _resultobj
= Py_None
;
2507 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
2508 self
->SetSize(size
.x
, size
.y
);
2510 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
) {
2511 PyObject
* _resultobj
;
2518 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetSize",&_argc0
,&_argc1
))
2521 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
2527 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
2528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSize. Expected _wxSize_p.");
2533 wxPy_BEGIN_ALLOW_THREADS
;
2534 wxWindow_SetSize(_arg0
,*_arg1
);
2536 wxPy_END_ALLOW_THREADS
;
2537 } Py_INCREF(Py_None
);
2538 _resultobj
= Py_None
;
2542 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
) {
2543 self
->SetSize(pos
.x
, pos
.y
, -1, -1);
2545 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
) {
2546 PyObject
* _resultobj
;
2553 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetPosition",&_argc0
,&_argc1
))
2556 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
2562 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
2563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetPosition. Expected _wxPoint_p.");
2568 wxPy_BEGIN_ALLOW_THREADS
;
2569 wxWindow_SetPosition(_arg0
,*_arg1
);
2571 wxPy_END_ALLOW_THREADS
;
2572 } Py_INCREF(Py_None
);
2573 _resultobj
= Py_None
;
2577 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2578 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
) {
2579 PyObject
* _resultobj
;
2590 if(!PyArg_ParseTuple(args
,"s|iiiiii:wxWindow_SetSizeHints",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
2593 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
2599 wxPy_BEGIN_ALLOW_THREADS
;
2600 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2602 wxPy_END_ALLOW_THREADS
;
2603 } Py_INCREF(Py_None
);
2604 _resultobj
= Py_None
;
2608 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
2609 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
) {
2610 PyObject
* _resultobj
;
2617 if(!PyArg_ParseTuple(args
,"sii:wxWindow_SetClientSizeWH",&_argc0
,&_arg1
,&_arg2
))
2620 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
2626 wxPy_BEGIN_ALLOW_THREADS
;
2627 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
2629 wxPy_END_ALLOW_THREADS
;
2630 } Py_INCREF(Py_None
);
2631 _resultobj
= Py_None
;
2635 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
2636 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
) {
2637 PyObject
* _resultobj
;
2644 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetClientSize",&_argc0
,&_argc1
))
2647 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
2653 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
2654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetClientSize. Expected _wxSize_p.");
2659 wxPy_BEGIN_ALLOW_THREADS
;
2660 wxWindow_SetClientSize(_arg0
,*_arg1
);
2662 wxPy_END_ALLOW_THREADS
;
2663 } Py_INCREF(Py_None
);
2664 _resultobj
= Py_None
;
2668 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
2669 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
) {
2670 PyObject
* _resultobj
;
2677 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetCursor",&_argc0
,&_argc1
))
2680 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
2686 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxCursor_p")) {
2687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
2692 wxPy_BEGIN_ALLOW_THREADS
;
2693 wxWindow_SetCursor(_arg0
,*_arg1
);
2695 wxPy_END_ALLOW_THREADS
;
2696 } Py_INCREF(Py_None
);
2697 _resultobj
= Py_None
;
2701 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
2702 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
) {
2703 PyObject
* _resultobj
;
2707 PyObject
* _obj1
= 0;
2710 if(!PyArg_ParseTuple(args
,"sO:wxWindow_SetTitle",&_argc0
,&_obj1
))
2713 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
2719 if (!PyString_Check(_obj1
)) {
2720 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2723 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2726 wxPy_BEGIN_ALLOW_THREADS
;
2727 wxWindow_SetTitle(_arg0
,*_arg1
);
2729 wxPy_END_ALLOW_THREADS
;
2730 } Py_INCREF(Py_None
);
2731 _resultobj
= Py_None
;
2739 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
2740 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
) {
2741 PyObject
* _resultobj
;
2749 if(!PyArg_ParseTuple(args
,"si:wxWindow_Show",&_argc0
,&tempbool1
))
2752 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
2757 _arg1
= (bool ) tempbool1
;
2759 wxPy_BEGIN_ALLOW_THREADS
;
2760 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
2762 wxPy_END_ALLOW_THREADS
;
2763 } _resultobj
= Py_BuildValue("i",_result
);
2767 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
2768 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
) {
2769 PyObject
* _resultobj
;
2775 if(!PyArg_ParseTuple(args
,"s:wxWindow_TransferDataFromWindow",&_argc0
))
2778 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
2784 wxPy_BEGIN_ALLOW_THREADS
;
2785 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
2787 wxPy_END_ALLOW_THREADS
;
2788 } _resultobj
= Py_BuildValue("i",_result
);
2792 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
2793 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
) {
2794 PyObject
* _resultobj
;
2800 if(!PyArg_ParseTuple(args
,"s:wxWindow_TransferDataToWindow",&_argc0
))
2803 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
2809 wxPy_BEGIN_ALLOW_THREADS
;
2810 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
2812 wxPy_END_ALLOW_THREADS
;
2813 } _resultobj
= Py_BuildValue("i",_result
);
2817 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
2818 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
) {
2819 PyObject
* _resultobj
;
2825 if(!PyArg_ParseTuple(args
,"s:wxWindow_Validate",&_argc0
))
2828 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
2834 wxPy_BEGIN_ALLOW_THREADS
;
2835 _result
= (bool )wxWindow_Validate(_arg0
);
2837 wxPy_END_ALLOW_THREADS
;
2838 } _resultobj
= Py_BuildValue("i",_result
);
2842 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
2843 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
) {
2844 PyObject
* _resultobj
;
2851 if(!PyArg_ParseTuple(args
,"sii:wxWindow_WarpPointer",&_argc0
,&_arg1
,&_arg2
))
2854 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
2860 wxPy_BEGIN_ALLOW_THREADS
;
2861 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
2863 wxPy_END_ALLOW_THREADS
;
2864 } Py_INCREF(Py_None
);
2865 _resultobj
= Py_None
;
2869 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
2870 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
) {
2871 PyObject
* _resultobj
;
2880 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ConvertDialogPointToPixels",&_argc0
,&_argc1
))
2883 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
2889 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
2890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertDialogPointToPixels. Expected _wxPoint_p.");
2895 wxPy_BEGIN_ALLOW_THREADS
;
2896 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
2898 wxPy_END_ALLOW_THREADS
;
2899 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2900 _resultobj
= Py_BuildValue("s",_ptemp
);
2904 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
2905 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
) {
2906 PyObject
* _resultobj
;
2915 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ConvertDialogSizeToPixels",&_argc0
,&_argc1
))
2918 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
2924 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
2925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertDialogSizeToPixels. Expected _wxSize_p.");
2930 wxPy_BEGIN_ALLOW_THREADS
;
2931 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
2933 wxPy_END_ALLOW_THREADS
;
2934 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2935 _resultobj
= Py_BuildValue("s",_ptemp
);
2939 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
2940 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
) {
2941 PyObject
* _resultobj
;
2950 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ConvertPixelPointToDialog",&_argc0
,&_argc1
))
2953 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
2959 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
2960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertPixelPointToDialog. Expected _wxPoint_p.");
2965 wxPy_BEGIN_ALLOW_THREADS
;
2966 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
2968 wxPy_END_ALLOW_THREADS
;
2969 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2970 _resultobj
= Py_BuildValue("s",_ptemp
);
2974 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
2975 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
) {
2976 PyObject
* _resultobj
;
2985 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ConvertPixelSizeToDialog",&_argc0
,&_argc1
))
2988 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
2994 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
2995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertPixelSizeToDialog. Expected _wxSize_p.");
3000 wxPy_BEGIN_ALLOW_THREADS
;
3001 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
3003 wxPy_END_ALLOW_THREADS
;
3004 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3005 _resultobj
= Py_BuildValue("s",_ptemp
);
3009 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
3010 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
) {
3011 PyObject
* _resultobj
;
3015 PyObject
* _obj1
= 0;
3018 if(!PyArg_ParseTuple(args
,"sO:wxWindow_SetToolTipString",&_argc0
,&_obj1
))
3021 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
3022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
3027 if (!PyString_Check(_obj1
)) {
3028 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3031 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3034 wxPy_BEGIN_ALLOW_THREADS
;
3035 wxWindow_SetToolTipString(_arg0
,*_arg1
);
3037 wxPy_END_ALLOW_THREADS
;
3038 } Py_INCREF(Py_None
);
3039 _resultobj
= Py_None
;
3047 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
3048 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
) {
3049 PyObject
* _resultobj
;
3056 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetToolTip",&_argc0
,&_argc1
))
3059 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
3060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
3065 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxToolTip_p")) {
3066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
3071 wxPy_BEGIN_ALLOW_THREADS
;
3072 wxWindow_SetToolTip(_arg0
,_arg1
);
3074 wxPy_END_ALLOW_THREADS
;
3075 } Py_INCREF(Py_None
);
3076 _resultobj
= Py_None
;
3080 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
3081 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
) {
3082 PyObject
* _resultobj
;
3083 wxToolTip
* _result
;
3089 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetToolTip",&_argc0
))
3092 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
3093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
3098 wxPy_BEGIN_ALLOW_THREADS
;
3099 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
3101 wxPy_END_ALLOW_THREADS
;
3102 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
3103 _resultobj
= Py_BuildValue("s",_ptemp
);
3107 static void *SwigwxPanelTowxWindow(void *ptr
) {
3110 src
= (wxPanel
*) ptr
;
3111 dest
= (wxWindow
*) src
;
3112 return (void *) dest
;
3115 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
3118 src
= (wxPanel
*) ptr
;
3119 dest
= (wxEvtHandler
*) src
;
3120 return (void *) dest
;
3123 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3124 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
) {
3125 PyObject
* _resultobj
;
3129 wxPoint
* _arg2
= &wxPyDefaultPosition
;
3130 wxSize
* _arg3
= &wxPyDefaultSize
;
3131 long _arg4
= (wxTAB_TRAVERSAL
);
3132 char * _arg5
= "panel";
3139 if(!PyArg_ParseTuple(args
,"si|ssls:new_wxPanel",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
3142 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
3143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
3148 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
3149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPanel. Expected _wxPoint_p.");
3154 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
3155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxPanel. Expected _wxSize_p.");
3160 wxPy_BEGIN_ALLOW_THREADS
;
3161 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
3163 wxPy_END_ALLOW_THREADS
;
3164 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
3165 _resultobj
= Py_BuildValue("s",_ptemp
);
3169 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
3170 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
) {
3171 PyObject
* _resultobj
;
3176 if(!PyArg_ParseTuple(args
,"s:wxPanel_InitDialog",&_argc0
))
3179 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPanel_p")) {
3180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
3185 wxPy_BEGIN_ALLOW_THREADS
;
3186 wxPanel_InitDialog(_arg0
);
3188 wxPy_END_ALLOW_THREADS
;
3189 } Py_INCREF(Py_None
);
3190 _resultobj
= Py_None
;
3194 static void *SwigwxDialogTowxPanel(void *ptr
) {
3197 src
= (wxDialog
*) ptr
;
3198 dest
= (wxPanel
*) src
;
3199 return (void *) dest
;
3202 static void *SwigwxDialogTowxWindow(void *ptr
) {
3205 src
= (wxDialog
*) ptr
;
3206 dest
= (wxWindow
*) src
;
3207 return (void *) dest
;
3210 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
3213 src
= (wxDialog
*) ptr
;
3214 dest
= (wxEvtHandler
*) src
;
3215 return (void *) dest
;
3218 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3219 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
) {
3220 PyObject
* _resultobj
;
3225 wxPoint
* _arg3
= &wxPyDefaultPosition
;
3226 wxSize
* _arg4
= &wxPyDefaultSize
;
3227 long _arg5
= (wxDEFAULT_DIALOG_STYLE
);
3228 char * _arg6
= "dialogBox";
3230 PyObject
* _obj2
= 0;
3236 if(!PyArg_ParseTuple(args
,"siO|ssls:new_wxDialog",&_argc0
,&_arg1
,&_obj2
,&_argc3
,&_argc4
,&_arg5
,&_arg6
))
3239 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
3240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
3245 if (!PyString_Check(_obj2
)) {
3246 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3249 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
3252 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxPoint_p")) {
3253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxDialog. Expected _wxPoint_p.");
3258 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_wxSize_p")) {
3259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxDialog. Expected _wxSize_p.");
3264 wxPy_BEGIN_ALLOW_THREADS
;
3265 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
3267 wxPy_END_ALLOW_THREADS
;
3268 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
3269 _resultobj
= Py_BuildValue("s",_ptemp
);
3277 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
3278 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
) {
3279 PyObject
* _resultobj
;
3281 int _arg1
= (wxBOTH
);
3285 if(!PyArg_ParseTuple(args
,"s|i:wxDialog_Centre",&_argc0
,&_arg1
))
3288 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
3294 wxPy_BEGIN_ALLOW_THREADS
;
3295 wxDialog_Centre(_arg0
,_arg1
);
3297 wxPy_END_ALLOW_THREADS
;
3298 } Py_INCREF(Py_None
);
3299 _resultobj
= Py_None
;
3303 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
3304 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
) {
3305 PyObject
* _resultobj
;
3311 if(!PyArg_ParseTuple(args
,"si:wxDialog_EndModal",&_argc0
,&_arg1
))
3314 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
3320 wxPy_BEGIN_ALLOW_THREADS
;
3321 wxDialog_EndModal(_arg0
,_arg1
);
3323 wxPy_END_ALLOW_THREADS
;
3324 } Py_INCREF(Py_None
);
3325 _resultobj
= Py_None
;
3329 #define wxDialog_GetTitle(_swigobj) (_swigobj->GetTitle())
3330 static PyObject
*_wrap_wxDialog_GetTitle(PyObject
*self
, PyObject
*args
) {
3331 PyObject
* _resultobj
;
3337 if(!PyArg_ParseTuple(args
,"s:wxDialog_GetTitle",&_argc0
))
3340 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetTitle. Expected _wxDialog_p.");
3346 wxPy_BEGIN_ALLOW_THREADS
;
3347 _result
= new wxString (wxDialog_GetTitle(_arg0
));
3349 wxPy_END_ALLOW_THREADS
;
3351 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3359 #define wxDialog_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
3360 static PyObject
*_wrap_wxDialog_Iconize(PyObject
*self
, PyObject
*args
) {
3361 PyObject
* _resultobj
;
3368 if(!PyArg_ParseTuple(args
,"si:wxDialog_Iconize",&_argc0
,&tempbool1
))
3371 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Iconize. Expected _wxDialog_p.");
3376 _arg1
= (bool ) tempbool1
;
3378 wxPy_BEGIN_ALLOW_THREADS
;
3379 wxDialog_Iconize(_arg0
,_arg1
);
3381 wxPy_END_ALLOW_THREADS
;
3382 } Py_INCREF(Py_None
);
3383 _resultobj
= Py_None
;
3387 #define wxDialog_IsIconized(_swigobj) (_swigobj->IsIconized())
3388 static PyObject
*_wrap_wxDialog_IsIconized(PyObject
*self
, PyObject
*args
) {
3389 PyObject
* _resultobj
;
3395 if(!PyArg_ParseTuple(args
,"s:wxDialog_IsIconized",&_argc0
))
3398 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsIconized. Expected _wxDialog_p.");
3404 wxPy_BEGIN_ALLOW_THREADS
;
3405 _result
= (bool )wxDialog_IsIconized(_arg0
);
3407 wxPy_END_ALLOW_THREADS
;
3408 } _resultobj
= Py_BuildValue("i",_result
);
3412 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
3413 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
) {
3414 PyObject
* _resultobj
;
3421 if(!PyArg_ParseTuple(args
,"si:wxDialog_SetModal",&_argc0
,&tempbool1
))
3424 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
3429 _arg1
= (bool ) tempbool1
;
3431 wxPy_BEGIN_ALLOW_THREADS
;
3432 wxDialog_SetModal(_arg0
,_arg1
);
3434 wxPy_END_ALLOW_THREADS
;
3435 } Py_INCREF(Py_None
);
3436 _resultobj
= Py_None
;
3440 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
3441 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
) {
3442 PyObject
* _resultobj
;
3448 if(!PyArg_ParseTuple(args
,"s:wxDialog_IsModal",&_argc0
))
3451 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
3457 wxPy_BEGIN_ALLOW_THREADS
;
3458 _result
= (bool )wxDialog_IsModal(_arg0
);
3460 wxPy_END_ALLOW_THREADS
;
3461 } _resultobj
= Py_BuildValue("i",_result
);
3465 #define wxDialog_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
3466 static PyObject
*_wrap_wxDialog_SetTitle(PyObject
*self
, PyObject
*args
) {
3467 PyObject
* _resultobj
;
3471 PyObject
* _obj1
= 0;
3474 if(!PyArg_ParseTuple(args
,"sO:wxDialog_SetTitle",&_argc0
,&_obj1
))
3477 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetTitle. Expected _wxDialog_p.");
3483 if (!PyString_Check(_obj1
)) {
3484 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3487 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3490 wxPy_BEGIN_ALLOW_THREADS
;
3491 wxDialog_SetTitle(_arg0
,*_arg1
);
3493 wxPy_END_ALLOW_THREADS
;
3494 } Py_INCREF(Py_None
);
3495 _resultobj
= Py_None
;
3503 #define wxDialog_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3504 static PyObject
*_wrap_wxDialog_Show(PyObject
*self
, PyObject
*args
) {
3505 PyObject
* _resultobj
;
3513 if(!PyArg_ParseTuple(args
,"si:wxDialog_Show",&_argc0
,&tempbool1
))
3516 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Show. Expected _wxDialog_p.");
3521 _arg1
= (bool ) tempbool1
;
3523 wxPy_BEGIN_ALLOW_THREADS
;
3524 _result
= (bool )wxDialog_Show(_arg0
,_arg1
);
3526 wxPy_END_ALLOW_THREADS
;
3527 } _resultobj
= Py_BuildValue("i",_result
);
3531 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
3532 static PyObject
*_wrap_wxDialog_ShowModal(PyObject
*self
, PyObject
*args
) {
3533 PyObject
* _resultobj
;
3539 if(!PyArg_ParseTuple(args
,"s:wxDialog_ShowModal",&_argc0
))
3542 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
3543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
3548 wxPy_BEGIN_ALLOW_THREADS
;
3549 _result
= (int )wxDialog_ShowModal(_arg0
);
3551 wxPy_END_ALLOW_THREADS
;
3552 } _resultobj
= Py_BuildValue("i",_result
);
3556 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
3557 wxScrolledWindow
*src
;
3559 src
= (wxScrolledWindow
*) ptr
;
3560 dest
= (wxWindow
*) src
;
3561 return (void *) dest
;
3564 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
3565 wxScrolledWindow
*src
;
3567 src
= (wxScrolledWindow
*) ptr
;
3568 dest
= (wxEvtHandler
*) src
;
3569 return (void *) dest
;
3572 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3573 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
) {
3574 PyObject
* _resultobj
;
3575 wxScrolledWindow
* _result
;
3577 wxWindowID _arg1
= -1;
3578 wxPoint
* _arg2
= &wxPyDefaultPosition
;
3579 wxSize
* _arg3
= &wxPyDefaultSize
;
3580 long _arg4
= (wxHSCROLL
)|(wxVSCROLL
);
3581 char * _arg5
= "scrolledWindow";
3588 if(!PyArg_ParseTuple(args
,"s|issls:new_wxScrolledWindow",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
3591 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
3592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
3597 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
3598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxScrolledWindow. Expected _wxPoint_p.");
3603 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
3604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxScrolledWindow. Expected _wxSize_p.");
3609 wxPy_BEGIN_ALLOW_THREADS
;
3610 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
3612 wxPy_END_ALLOW_THREADS
;
3613 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
3614 _resultobj
= Py_BuildValue("s",_ptemp
);
3618 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
3619 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
) {
3620 PyObject
* _resultobj
;
3621 wxScrolledWindow
* _arg0
;
3629 if(!PyArg_ParseTuple(args
,"sii:wxScrolledWindow_EnableScrolling",&_argc0
,&tempbool1
,&tempbool2
))
3632 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
3637 _arg1
= (bool ) tempbool1
;
3638 _arg2
= (bool ) tempbool2
;
3640 wxPy_BEGIN_ALLOW_THREADS
;
3641 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
3643 wxPy_END_ALLOW_THREADS
;
3644 } Py_INCREF(Py_None
);
3645 _resultobj
= Py_None
;
3649 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
3650 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
) {
3651 PyObject
* _resultobj
;
3652 wxScrolledWindow
* _arg0
;
3666 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_GetScrollPixelsPerUnit",&_argc0
))
3669 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
3675 wxPy_BEGIN_ALLOW_THREADS
;
3676 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
3678 wxPy_END_ALLOW_THREADS
;
3679 } Py_INCREF(Py_None
);
3680 _resultobj
= Py_None
;
3683 o
= PyInt_FromLong((long) (*_arg1
));
3684 _resultobj
= t_output_helper(_resultobj
, o
);
3688 o
= PyInt_FromLong((long) (*_arg2
));
3689 _resultobj
= t_output_helper(_resultobj
, o
);
3694 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
3695 static PyObject
*_wrap_wxScrolledWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
) {
3696 PyObject
* _resultobj
;
3697 wxScrolledWindow
* _arg0
;
3711 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_GetVirtualSize",&_argc0
))
3714 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
3720 wxPy_BEGIN_ALLOW_THREADS
;
3721 wxScrolledWindow_GetVirtualSize(_arg0
,_arg1
,_arg2
);
3723 wxPy_END_ALLOW_THREADS
;
3724 } Py_INCREF(Py_None
);
3725 _resultobj
= Py_None
;
3728 o
= PyInt_FromLong((long) (*_arg1
));
3729 _resultobj
= t_output_helper(_resultobj
, o
);
3733 o
= PyInt_FromLong((long) (*_arg2
));
3734 _resultobj
= t_output_helper(_resultobj
, o
);
3739 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
3740 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
) {
3741 PyObject
* _resultobj
;
3743 wxScrolledWindow
* _arg0
;
3747 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_IsRetained",&_argc0
))
3750 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
3756 wxPy_BEGIN_ALLOW_THREADS
;
3757 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
3759 wxPy_END_ALLOW_THREADS
;
3760 } _resultobj
= Py_BuildValue("i",_result
);
3764 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
3765 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
) {
3766 PyObject
* _resultobj
;
3767 wxScrolledWindow
* _arg0
;
3773 if(!PyArg_ParseTuple(args
,"ss:wxScrolledWindow_PrepareDC",&_argc0
,&_argc1
))
3776 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
3782 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxDC_p")) {
3783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
3788 wxPy_BEGIN_ALLOW_THREADS
;
3789 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
3791 wxPy_END_ALLOW_THREADS
;
3792 } Py_INCREF(Py_None
);
3793 _resultobj
= Py_None
;
3797 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
3798 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
) {
3799 PyObject
* _resultobj
;
3800 wxScrolledWindow
* _arg0
;
3806 if(!PyArg_ParseTuple(args
,"sii:wxScrolledWindow_Scroll",&_argc0
,&_arg1
,&_arg2
))
3809 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
3815 wxPy_BEGIN_ALLOW_THREADS
;
3816 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
3818 wxPy_END_ALLOW_THREADS
;
3819 } Py_INCREF(Py_None
);
3820 _resultobj
= Py_None
;
3824 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3825 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
) {
3826 PyObject
* _resultobj
;
3827 wxScrolledWindow
* _arg0
;
3837 if(!PyArg_ParseTuple(args
,"siiii|ii:wxScrolledWindow_SetScrollbars",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3840 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
3846 wxPy_BEGIN_ALLOW_THREADS
;
3847 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3849 wxPy_END_ALLOW_THREADS
;
3850 } Py_INCREF(Py_None
);
3851 _resultobj
= Py_None
;
3855 #define wxScrolledWindow_ViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->ViewStart(_swigarg0,_swigarg1))
3856 static PyObject
*_wrap_wxScrolledWindow_ViewStart(PyObject
*self
, PyObject
*args
) {
3857 PyObject
* _resultobj
;
3858 wxScrolledWindow
* _arg0
;
3872 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_ViewStart",&_argc0
))
3875 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_ViewStart. Expected _wxScrolledWindow_p.");
3881 wxPy_BEGIN_ALLOW_THREADS
;
3882 wxScrolledWindow_ViewStart(_arg0
,_arg1
,_arg2
);
3884 wxPy_END_ALLOW_THREADS
;
3885 } Py_INCREF(Py_None
);
3886 _resultobj
= Py_None
;
3889 o
= PyInt_FromLong((long) (*_arg1
));
3890 _resultobj
= t_output_helper(_resultobj
, o
);
3894 o
= PyInt_FromLong((long) (*_arg2
));
3895 _resultobj
= t_output_helper(_resultobj
, o
);
3900 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
3903 src
= (wxMenu
*) ptr
;
3904 dest
= (wxEvtHandler
*) src
;
3905 return (void *) dest
;
3908 #define new_wxMenu(_swigarg0) (new wxMenu(_swigarg0))
3909 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
) {
3910 PyObject
* _resultobj
;
3912 wxString
* _arg0
= &wxPyEmptyStr
;
3913 PyObject
* _obj0
= 0;
3917 if(!PyArg_ParseTuple(args
,"|O:new_wxMenu",&_obj0
))
3921 if (!PyString_Check(_obj0
)) {
3922 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3925 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
3928 wxPy_BEGIN_ALLOW_THREADS
;
3929 _result
= (wxMenu
*)new_wxMenu(*_arg0
);
3931 wxPy_END_ALLOW_THREADS
;
3932 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
3933 _resultobj
= Py_BuildValue("s",_ptemp
);
3941 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3942 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
) {
3943 PyObject
* _resultobj
;
3947 wxString
* _arg3
= &wxPyEmptyStr
;
3950 PyObject
* _obj2
= 0;
3951 PyObject
* _obj3
= 0;
3954 if(!PyArg_ParseTuple(args
,"siO|Oi:wxMenu_Append",&_argc0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
3957 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
3963 if (!PyString_Check(_obj2
)) {
3964 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3967 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
3971 if (!PyString_Check(_obj3
)) {
3972 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3975 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
3978 wxPy_BEGIN_ALLOW_THREADS
;
3979 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
3981 wxPy_END_ALLOW_THREADS
;
3982 } Py_INCREF(Py_None
);
3983 _resultobj
= Py_None
;
3995 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3996 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
) {
3997 PyObject
* _resultobj
;
4002 wxString
* _arg4
= &wxPyEmptyStr
;
4004 PyObject
* _obj2
= 0;
4006 PyObject
* _obj4
= 0;
4009 if(!PyArg_ParseTuple(args
,"siOs|O:wxMenu_AppendMenu",&_argc0
,&_arg1
,&_obj2
,&_argc3
,&_obj4
))
4012 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
4018 if (!PyString_Check(_obj2
)) {
4019 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4022 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4025 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxMenu_p")) {
4026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
4032 if (!PyString_Check(_obj4
)) {
4033 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4036 _arg4
= new wxString(PyString_AsString(_obj4
), PyString_Size(_obj4
));
4039 wxPy_BEGIN_ALLOW_THREADS
;
4040 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
4042 wxPy_END_ALLOW_THREADS
;
4043 } Py_INCREF(Py_None
);
4044 _resultobj
= Py_None
;
4056 #define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
4057 static PyObject
*_wrap_wxMenu_AppendItem(PyObject
*self
, PyObject
*args
) {
4058 PyObject
* _resultobj
;
4065 if(!PyArg_ParseTuple(args
,"ss:wxMenu_AppendItem",&_argc0
,&_argc1
))
4068 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
4074 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxMenuItem_p")) {
4075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
4080 wxPy_BEGIN_ALLOW_THREADS
;
4081 wxMenu_AppendItem(_arg0
,_arg1
);
4083 wxPy_END_ALLOW_THREADS
;
4084 } Py_INCREF(Py_None
);
4085 _resultobj
= Py_None
;
4089 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
4090 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
) {
4091 PyObject
* _resultobj
;
4096 if(!PyArg_ParseTuple(args
,"s:wxMenu_AppendSeparator",&_argc0
))
4099 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
4105 wxPy_BEGIN_ALLOW_THREADS
;
4106 wxMenu_AppendSeparator(_arg0
);
4108 wxPy_END_ALLOW_THREADS
;
4109 } Py_INCREF(Py_None
);
4110 _resultobj
= Py_None
;
4114 #define wxMenu_Break(_swigobj) (_swigobj->Break())
4115 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
) {
4116 PyObject
* _resultobj
;
4121 if(!PyArg_ParseTuple(args
,"s:wxMenu_Break",&_argc0
))
4124 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
4130 wxPy_BEGIN_ALLOW_THREADS
;
4131 wxMenu_Break(_arg0
);
4133 wxPy_END_ALLOW_THREADS
;
4134 } Py_INCREF(Py_None
);
4135 _resultobj
= Py_None
;
4139 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
4140 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
) {
4141 PyObject
* _resultobj
;
4149 if(!PyArg_ParseTuple(args
,"sii:wxMenu_Check",&_argc0
,&_arg1
,&tempbool2
))
4152 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
4157 _arg2
= (bool ) tempbool2
;
4159 wxPy_BEGIN_ALLOW_THREADS
;
4160 wxMenu_Check(_arg0
,_arg1
,_arg2
);
4162 wxPy_END_ALLOW_THREADS
;
4163 } Py_INCREF(Py_None
);
4164 _resultobj
= Py_None
;
4168 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
4169 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
) {
4170 PyObject
* _resultobj
;
4178 if(!PyArg_ParseTuple(args
,"sii:wxMenu_Enable",&_argc0
,&_arg1
,&tempbool2
))
4181 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
4186 _arg2
= (bool ) tempbool2
;
4188 wxPy_BEGIN_ALLOW_THREADS
;
4189 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
4191 wxPy_END_ALLOW_THREADS
;
4192 } Py_INCREF(Py_None
);
4193 _resultobj
= Py_None
;
4197 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
4198 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
) {
4199 PyObject
* _resultobj
;
4204 PyObject
* _obj1
= 0;
4207 if(!PyArg_ParseTuple(args
,"sO:wxMenu_FindItem",&_argc0
,&_obj1
))
4210 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
4216 if (!PyString_Check(_obj1
)) {
4217 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4220 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4223 wxPy_BEGIN_ALLOW_THREADS
;
4224 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
4226 wxPy_END_ALLOW_THREADS
;
4227 } _resultobj
= Py_BuildValue("i",_result
);
4235 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
4236 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
) {
4237 PyObject
* _resultobj
;
4243 if(!PyArg_ParseTuple(args
,"s:wxMenu_GetTitle",&_argc0
))
4246 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
4252 wxPy_BEGIN_ALLOW_THREADS
;
4253 _result
= new wxString (wxMenu_GetTitle(_arg0
));
4255 wxPy_END_ALLOW_THREADS
;
4257 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
4265 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4266 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
) {
4267 PyObject
* _resultobj
;
4271 PyObject
* _obj1
= 0;
4274 if(!PyArg_ParseTuple(args
,"sO:wxMenu_SetTitle",&_argc0
,&_obj1
))
4277 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
4283 if (!PyString_Check(_obj1
)) {
4284 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4287 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4290 wxPy_BEGIN_ALLOW_THREADS
;
4291 wxMenu_SetTitle(_arg0
,*_arg1
);
4293 wxPy_END_ALLOW_THREADS
;
4294 } Py_INCREF(Py_None
);
4295 _resultobj
= Py_None
;
4303 #define wxMenu_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
4304 static PyObject
*_wrap_wxMenu_FindItemForId(PyObject
*self
, PyObject
*args
) {
4305 PyObject
* _resultobj
;
4306 wxMenuItem
* _result
;
4313 if(!PyArg_ParseTuple(args
,"si:wxMenu_FindItemForId",&_argc0
,&_arg1
))
4316 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemForId. Expected _wxMenu_p.");
4322 wxPy_BEGIN_ALLOW_THREADS
;
4323 _result
= (wxMenuItem
*)wxMenu_FindItemForId(_arg0
,_arg1
);
4325 wxPy_END_ALLOW_THREADS
;
4326 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
4327 _resultobj
= Py_BuildValue("s",_ptemp
);
4331 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
4332 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
) {
4333 PyObject
* _resultobj
;
4340 if(!PyArg_ParseTuple(args
,"si:wxMenu_GetHelpString",&_argc0
,&_arg1
))
4343 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
4349 wxPy_BEGIN_ALLOW_THREADS
;
4350 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
4352 wxPy_END_ALLOW_THREADS
;
4354 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
4362 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
4363 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
) {
4364 PyObject
* _resultobj
;
4371 if(!PyArg_ParseTuple(args
,"si:wxMenu_GetLabel",&_argc0
,&_arg1
))
4374 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
4380 wxPy_BEGIN_ALLOW_THREADS
;
4381 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
4383 wxPy_END_ALLOW_THREADS
;
4385 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
4393 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
4394 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
) {
4395 PyObject
* _resultobj
;
4400 PyObject
* _obj2
= 0;
4403 if(!PyArg_ParseTuple(args
,"siO:wxMenu_SetHelpString",&_argc0
,&_arg1
,&_obj2
))
4406 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
4412 if (!PyString_Check(_obj2
)) {
4413 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4416 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4419 wxPy_BEGIN_ALLOW_THREADS
;
4420 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
4422 wxPy_END_ALLOW_THREADS
;
4423 } Py_INCREF(Py_None
);
4424 _resultobj
= Py_None
;
4432 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
4433 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
) {
4434 PyObject
* _resultobj
;
4441 if(!PyArg_ParseTuple(args
,"si:wxMenu_IsChecked",&_argc0
,&_arg1
))
4444 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
4450 wxPy_BEGIN_ALLOW_THREADS
;
4451 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
4453 wxPy_END_ALLOW_THREADS
;
4454 } _resultobj
= Py_BuildValue("i",_result
);
4458 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
4459 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
) {
4460 PyObject
* _resultobj
;
4467 if(!PyArg_ParseTuple(args
,"si:wxMenu_IsEnabled",&_argc0
,&_arg1
))
4470 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
4476 wxPy_BEGIN_ALLOW_THREADS
;
4477 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
4479 wxPy_END_ALLOW_THREADS
;
4480 } _resultobj
= Py_BuildValue("i",_result
);
4484 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
4485 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
) {
4486 PyObject
* _resultobj
;
4491 PyObject
* _obj2
= 0;
4494 if(!PyArg_ParseTuple(args
,"siO:wxMenu_SetLabel",&_argc0
,&_arg1
,&_obj2
))
4497 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
4498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
4503 if (!PyString_Check(_obj2
)) {
4504 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4507 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4510 wxPy_BEGIN_ALLOW_THREADS
;
4511 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
4513 wxPy_END_ALLOW_THREADS
;
4514 } Py_INCREF(Py_None
);
4515 _resultobj
= Py_None
;
4523 static void *SwigwxPyMenuTowxMenu(void *ptr
) {
4526 src
= (wxPyMenu
*) ptr
;
4527 dest
= (wxMenu
*) src
;
4528 return (void *) dest
;
4531 static void *SwigwxPyMenuTowxEvtHandler(void *ptr
) {
4534 src
= (wxPyMenu
*) ptr
;
4535 dest
= (wxEvtHandler
*) src
;
4536 return (void *) dest
;
4539 #define new_wxPyMenu(_swigarg0,_swigarg1) (new wxPyMenu(_swigarg0,_swigarg1))
4540 static PyObject
*_wrap_new_wxPyMenu(PyObject
*self
, PyObject
*args
) {
4541 PyObject
* _resultobj
;
4543 wxString
* _arg0
= &wxPyEmptyStr
;
4544 PyObject
* _arg1
= NULL
;
4545 PyObject
* _obj0
= 0;
4546 PyObject
* _obj1
= 0;
4550 if(!PyArg_ParseTuple(args
,"|OO:new_wxPyMenu",&_obj0
,&_obj1
))
4554 if (!PyString_Check(_obj0
)) {
4555 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4558 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
4565 wxPy_BEGIN_ALLOW_THREADS
;
4566 _result
= (wxPyMenu
*)new_wxPyMenu(*_arg0
,_arg1
);
4568 wxPy_END_ALLOW_THREADS
;
4569 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyMenu_p");
4570 _resultobj
= Py_BuildValue("s",_ptemp
);
4578 #define delete_wxPyMenu(_swigobj) (delete _swigobj)
4579 static PyObject
*_wrap_delete_wxPyMenu(PyObject
*self
, PyObject
*args
) {
4580 PyObject
* _resultobj
;
4585 if(!PyArg_ParseTuple(args
,"s:delete_wxPyMenu",&_argc0
))
4588 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyMenu_p")) {
4589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyMenu. Expected _wxPyMenu_p.");
4594 wxPy_BEGIN_ALLOW_THREADS
;
4595 delete_wxPyMenu(_arg0
);
4597 wxPy_END_ALLOW_THREADS
;
4598 } Py_INCREF(Py_None
);
4599 _resultobj
= Py_None
;
4603 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
4606 src
= (wxMenuBar
*) ptr
;
4607 dest
= (wxEvtHandler
*) src
;
4608 return (void *) dest
;
4611 #define new_wxMenuBar() (new wxMenuBar())
4612 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
) {
4613 PyObject
* _resultobj
;
4614 wxMenuBar
* _result
;
4618 if(!PyArg_ParseTuple(args
,":new_wxMenuBar"))
4621 wxPy_BEGIN_ALLOW_THREADS
;
4622 _result
= (wxMenuBar
*)new_wxMenuBar();
4624 wxPy_END_ALLOW_THREADS
;
4625 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
4626 _resultobj
= Py_BuildValue("s",_ptemp
);
4630 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
4631 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
) {
4632 PyObject
* _resultobj
;
4638 PyObject
* _obj2
= 0;
4641 if(!PyArg_ParseTuple(args
,"ssO:wxMenuBar_Append",&_argc0
,&_argc1
,&_obj2
))
4644 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
4650 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxMenu_p")) {
4651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
4656 if (!PyString_Check(_obj2
)) {
4657 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4660 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4663 wxPy_BEGIN_ALLOW_THREADS
;
4664 wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
4666 wxPy_END_ALLOW_THREADS
;
4667 } Py_INCREF(Py_None
);
4668 _resultobj
= Py_None
;
4676 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
4677 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
) {
4678 PyObject
* _resultobj
;
4686 if(!PyArg_ParseTuple(args
,"sii:wxMenuBar_Check",&_argc0
,&_arg1
,&tempbool2
))
4689 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
4694 _arg2
= (bool ) tempbool2
;
4696 wxPy_BEGIN_ALLOW_THREADS
;
4697 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
4699 wxPy_END_ALLOW_THREADS
;
4700 } Py_INCREF(Py_None
);
4701 _resultobj
= Py_None
;
4705 #define wxMenuBar_Checked(_swigobj,_swigarg0) (_swigobj->Checked(_swigarg0))
4706 static PyObject
*_wrap_wxMenuBar_Checked(PyObject
*self
, PyObject
*args
) {
4707 PyObject
* _resultobj
;
4714 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_Checked",&_argc0
,&_arg1
))
4717 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Checked. Expected _wxMenuBar_p.");
4723 wxPy_BEGIN_ALLOW_THREADS
;
4724 _result
= (bool )wxMenuBar_Checked(_arg0
,_arg1
);
4726 wxPy_END_ALLOW_THREADS
;
4727 } _resultobj
= Py_BuildValue("i",_result
);
4731 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
4732 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
) {
4733 PyObject
* _resultobj
;
4741 if(!PyArg_ParseTuple(args
,"sii:wxMenuBar_Enable",&_argc0
,&_arg1
,&tempbool2
))
4744 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
4749 _arg2
= (bool ) tempbool2
;
4751 wxPy_BEGIN_ALLOW_THREADS
;
4752 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
4754 wxPy_END_ALLOW_THREADS
;
4755 } Py_INCREF(Py_None
);
4756 _resultobj
= Py_None
;
4760 #define wxMenuBar_Enabled(_swigobj,_swigarg0) (_swigobj->Enabled(_swigarg0))
4761 static PyObject
*_wrap_wxMenuBar_Enabled(PyObject
*self
, PyObject
*args
) {
4762 PyObject
* _resultobj
;
4769 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_Enabled",&_argc0
,&_arg1
))
4772 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enabled. Expected _wxMenuBar_p.");
4778 wxPy_BEGIN_ALLOW_THREADS
;
4779 _result
= (bool )wxMenuBar_Enabled(_arg0
,_arg1
);
4781 wxPy_END_ALLOW_THREADS
;
4782 } _resultobj
= Py_BuildValue("i",_result
);
4786 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
4787 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
) {
4788 PyObject
* _resultobj
;
4794 PyObject
* _obj1
= 0;
4795 PyObject
* _obj2
= 0;
4798 if(!PyArg_ParseTuple(args
,"sOO:wxMenuBar_FindMenuItem",&_argc0
,&_obj1
,&_obj2
))
4801 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
4807 if (!PyString_Check(_obj1
)) {
4808 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4811 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4814 if (!PyString_Check(_obj2
)) {
4815 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4818 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4821 wxPy_BEGIN_ALLOW_THREADS
;
4822 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
4824 wxPy_END_ALLOW_THREADS
;
4825 } _resultobj
= Py_BuildValue("i",_result
);
4837 #define wxMenuBar_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
4838 static PyObject
*_wrap_wxMenuBar_FindItemForId(PyObject
*self
, PyObject
*args
) {
4839 PyObject
* _resultobj
;
4840 wxMenuItem
* _result
;
4847 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_FindItemForId",&_argc0
,&_arg1
))
4850 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemForId. Expected _wxMenuBar_p.");
4856 wxPy_BEGIN_ALLOW_THREADS
;
4857 _result
= (wxMenuItem
*)wxMenuBar_FindItemForId(_arg0
,_arg1
);
4859 wxPy_END_ALLOW_THREADS
;
4860 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
4861 _resultobj
= Py_BuildValue("s",_ptemp
);
4865 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
4866 static PyObject
*_wrap_wxMenuBar_EnableTop(PyObject
*self
, PyObject
*args
) {
4867 PyObject
* _resultobj
;
4875 if(!PyArg_ParseTuple(args
,"sii:wxMenuBar_EnableTop",&_argc0
,&_arg1
,&tempbool2
))
4878 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
4883 _arg2
= (bool ) tempbool2
;
4885 wxPy_BEGIN_ALLOW_THREADS
;
4886 wxMenuBar_EnableTop(_arg0
,_arg1
,_arg2
);
4888 wxPy_END_ALLOW_THREADS
;
4889 } Py_INCREF(Py_None
);
4890 _resultobj
= Py_None
;
4894 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
4895 static PyObject
*_wrap_wxMenuBar_GetHelpString(PyObject
*self
, PyObject
*args
) {
4896 PyObject
* _resultobj
;
4903 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_GetHelpString",&_argc0
,&_arg1
))
4906 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
4912 wxPy_BEGIN_ALLOW_THREADS
;
4913 _result
= new wxString (wxMenuBar_GetHelpString(_arg0
,_arg1
));
4915 wxPy_END_ALLOW_THREADS
;
4917 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
4925 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
4926 static PyObject
*_wrap_wxMenuBar_GetLabel(PyObject
*self
, PyObject
*args
) {
4927 PyObject
* _resultobj
;
4934 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_GetLabel",&_argc0
,&_arg1
))
4937 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
4943 wxPy_BEGIN_ALLOW_THREADS
;
4944 _result
= new wxString (wxMenuBar_GetLabel(_arg0
,_arg1
));
4946 wxPy_END_ALLOW_THREADS
;
4948 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
4956 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
4957 static PyObject
*_wrap_wxMenuBar_SetHelpString(PyObject
*self
, PyObject
*args
) {
4958 PyObject
* _resultobj
;
4963 PyObject
* _obj2
= 0;
4966 if(!PyArg_ParseTuple(args
,"siO:wxMenuBar_SetHelpString",&_argc0
,&_arg1
,&_obj2
))
4969 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
4975 if (!PyString_Check(_obj2
)) {
4976 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4979 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4982 wxPy_BEGIN_ALLOW_THREADS
;
4983 wxMenuBar_SetHelpString(_arg0
,_arg1
,*_arg2
);
4985 wxPy_END_ALLOW_THREADS
;
4986 } Py_INCREF(Py_None
);
4987 _resultobj
= Py_None
;
4995 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
4996 static PyObject
*_wrap_wxMenuBar_SetLabel(PyObject
*self
, PyObject
*args
) {
4997 PyObject
* _resultobj
;
5002 PyObject
* _obj2
= 0;
5005 if(!PyArg_ParseTuple(args
,"siO:wxMenuBar_SetLabel",&_argc0
,&_arg1
,&_obj2
))
5008 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
5014 if (!PyString_Check(_obj2
)) {
5015 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5018 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5021 wxPy_BEGIN_ALLOW_THREADS
;
5022 wxMenuBar_SetLabel(_arg0
,_arg1
,*_arg2
);
5024 wxPy_END_ALLOW_THREADS
;
5025 } Py_INCREF(Py_None
);
5026 _resultobj
= Py_None
;
5034 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
5035 static PyObject
*_wrap_wxMenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
) {
5036 PyObject
* _resultobj
;
5043 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_GetLabelTop",&_argc0
,&_arg1
))
5046 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
5052 wxPy_BEGIN_ALLOW_THREADS
;
5053 _result
= new wxString (wxMenuBar_GetLabelTop(_arg0
,_arg1
));
5055 wxPy_END_ALLOW_THREADS
;
5057 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5065 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
5066 static PyObject
*_wrap_wxMenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
) {
5067 PyObject
* _resultobj
;
5072 PyObject
* _obj2
= 0;
5075 if(!PyArg_ParseTuple(args
,"siO:wxMenuBar_SetLabelTop",&_argc0
,&_arg1
,&_obj2
))
5078 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
5084 if (!PyString_Check(_obj2
)) {
5085 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5088 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5091 wxPy_BEGIN_ALLOW_THREADS
;
5092 wxMenuBar_SetLabelTop(_arg0
,_arg1
,*_arg2
);
5094 wxPy_END_ALLOW_THREADS
;
5095 } Py_INCREF(Py_None
);
5096 _resultobj
= Py_None
;
5104 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
5105 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
) {
5106 PyObject
* _resultobj
;
5112 if(!PyArg_ParseTuple(args
,"s:wxMenuBar_GetMenuCount",&_argc0
))
5115 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
5121 wxPy_BEGIN_ALLOW_THREADS
;
5122 _result
= (int )wxMenuBar_GetMenuCount(_arg0
);
5124 wxPy_END_ALLOW_THREADS
;
5125 } _resultobj
= Py_BuildValue("i",_result
);
5129 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
5130 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
) {
5131 PyObject
* _resultobj
;
5139 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_GetMenu",&_argc0
,&_arg1
))
5142 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
5148 wxPy_BEGIN_ALLOW_THREADS
;
5149 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
5151 wxPy_END_ALLOW_THREADS
;
5152 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
5153 _resultobj
= Py_BuildValue("s",_ptemp
);
5157 #define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5158 static PyObject
*_wrap_new_wxMenuItem(PyObject
*self
, PyObject
*args
) {
5159 PyObject
* _resultobj
;
5160 wxMenuItem
* _result
;
5161 wxMenu
* _arg0
= NULL
;
5162 int _arg1
= ID_SEPARATOR
;
5163 wxString
* _arg2
= &wxPyEmptyStr
;
5164 wxString
* _arg3
= &wxPyEmptyStr
;
5166 wxMenu
* _arg5
= NULL
;
5168 PyObject
* _obj2
= 0;
5169 PyObject
* _obj3
= 0;
5175 if(!PyArg_ParseTuple(args
,"|siOOis:new_wxMenuItem",&_argc0
,&_arg1
,&_obj2
,&_obj3
,&tempbool4
,&_argc5
))
5178 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
5179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
5185 if (!PyString_Check(_obj2
)) {
5186 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5189 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5193 if (!PyString_Check(_obj3
)) {
5194 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5197 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
5199 _arg4
= (bool ) tempbool4
;
5201 if (SWIG_GetPtr(_argc5
,(void **) &_arg5
,"_wxMenu_p")) {
5202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
5207 wxPy_BEGIN_ALLOW_THREADS
;
5208 _result
= (wxMenuItem
*)new_wxMenuItem(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
5210 wxPy_END_ALLOW_THREADS
;
5211 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
5212 _resultobj
= Py_BuildValue("s",_ptemp
);
5224 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
5225 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
) {
5226 PyObject
* _resultobj
;
5232 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsSeparator",&_argc0
))
5235 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
5241 wxPy_BEGIN_ALLOW_THREADS
;
5242 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
5244 wxPy_END_ALLOW_THREADS
;
5245 } _resultobj
= Py_BuildValue("i",_result
);
5249 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
5250 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
) {
5251 PyObject
* _resultobj
;
5257 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsEnabled",&_argc0
))
5260 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
5266 wxPy_BEGIN_ALLOW_THREADS
;
5267 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
5269 wxPy_END_ALLOW_THREADS
;
5270 } _resultobj
= Py_BuildValue("i",_result
);
5274 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
5275 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
) {
5276 PyObject
* _resultobj
;
5282 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsChecked",&_argc0
))
5285 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
5291 wxPy_BEGIN_ALLOW_THREADS
;
5292 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
5294 wxPy_END_ALLOW_THREADS
;
5295 } _resultobj
= Py_BuildValue("i",_result
);
5299 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
5300 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
) {
5301 PyObject
* _resultobj
;
5307 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsCheckable",&_argc0
))
5310 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
5316 wxPy_BEGIN_ALLOW_THREADS
;
5317 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
5319 wxPy_END_ALLOW_THREADS
;
5320 } _resultobj
= Py_BuildValue("i",_result
);
5324 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
5325 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
) {
5326 PyObject
* _resultobj
;
5332 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetId",&_argc0
))
5335 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
5341 wxPy_BEGIN_ALLOW_THREADS
;
5342 _result
= (int )wxMenuItem_GetId(_arg0
);
5344 wxPy_END_ALLOW_THREADS
;
5345 } _resultobj
= Py_BuildValue("i",_result
);
5349 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
5350 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
) {
5351 PyObject
* _resultobj
;
5358 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetSubMenu",&_argc0
))
5361 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
5367 wxPy_BEGIN_ALLOW_THREADS
;
5368 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
5370 wxPy_END_ALLOW_THREADS
;
5371 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
5372 _resultobj
= Py_BuildValue("s",_ptemp
);
5376 #define wxMenuItem_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
5377 static PyObject
*_wrap_wxMenuItem_SetName(PyObject
*self
, PyObject
*args
) {
5378 PyObject
* _resultobj
;
5382 PyObject
* _obj1
= 0;
5385 if(!PyArg_ParseTuple(args
,"sO:wxMenuItem_SetName",&_argc0
,&_obj1
))
5388 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetName. Expected _wxMenuItem_p.");
5394 if (!PyString_Check(_obj1
)) {
5395 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5398 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5401 wxPy_BEGIN_ALLOW_THREADS
;
5402 wxMenuItem_SetName(_arg0
,*_arg1
);
5404 wxPy_END_ALLOW_THREADS
;
5405 } Py_INCREF(Py_None
);
5406 _resultobj
= Py_None
;
5414 #define wxMenuItem_GetName(_swigobj) (_swigobj->GetName())
5415 static PyObject
*_wrap_wxMenuItem_GetName(PyObject
*self
, PyObject
*args
) {
5416 PyObject
* _resultobj
;
5422 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetName",&_argc0
))
5425 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetName. Expected _wxMenuItem_p.");
5431 wxPy_BEGIN_ALLOW_THREADS
;
5432 _result
= new wxString (wxMenuItem_GetName(_arg0
));
5434 wxPy_END_ALLOW_THREADS
;
5436 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5444 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
5445 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
) {
5446 PyObject
* _resultobj
;
5452 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetHelp",&_argc0
))
5455 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
5461 wxPy_BEGIN_ALLOW_THREADS
;
5462 _result
= new wxString (wxMenuItem_GetHelp(_arg0
));
5464 wxPy_END_ALLOW_THREADS
;
5466 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5474 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
5475 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
) {
5476 PyObject
* _resultobj
;
5480 PyObject
* _obj1
= 0;
5483 if(!PyArg_ParseTuple(args
,"sO:wxMenuItem_SetHelp",&_argc0
,&_obj1
))
5486 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
5492 if (!PyString_Check(_obj1
)) {
5493 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5496 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5499 wxPy_BEGIN_ALLOW_THREADS
;
5500 wxMenuItem_SetHelp(_arg0
,*_arg1
);
5502 wxPy_END_ALLOW_THREADS
;
5503 } Py_INCREF(Py_None
);
5504 _resultobj
= Py_None
;
5512 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
5513 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
) {
5514 PyObject
* _resultobj
;
5521 if(!PyArg_ParseTuple(args
,"s|i:wxMenuItem_Enable",&_argc0
,&tempbool1
))
5524 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
5529 _arg1
= (bool ) tempbool1
;
5531 wxPy_BEGIN_ALLOW_THREADS
;
5532 wxMenuItem_Enable(_arg0
,_arg1
);
5534 wxPy_END_ALLOW_THREADS
;
5535 } Py_INCREF(Py_None
);
5536 _resultobj
= Py_None
;
5540 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
5541 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
) {
5542 PyObject
* _resultobj
;
5549 if(!PyArg_ParseTuple(args
,"s|i:wxMenuItem_Check",&_argc0
,&tempbool1
))
5552 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
5557 _arg1
= (bool ) tempbool1
;
5559 wxPy_BEGIN_ALLOW_THREADS
;
5560 wxMenuItem_Check(_arg0
,_arg1
);
5562 wxPy_END_ALLOW_THREADS
;
5563 } Py_INCREF(Py_None
);
5564 _resultobj
= Py_None
;
5568 #define wxMenuItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
5569 static PyObject
*_wrap_wxMenuItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
) {
5570 PyObject
* _resultobj
;
5577 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetBackgroundColour",&_argc0
))
5580 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetBackgroundColour. Expected _wxMenuItem_p.");
5586 wxPy_BEGIN_ALLOW_THREADS
;
5587 wxColour
& _result_ref
= wxMenuItem_GetBackgroundColour(_arg0
);
5588 _result
= (wxColour
*) &_result_ref
;
5590 wxPy_END_ALLOW_THREADS
;
5591 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
5592 _resultobj
= Py_BuildValue("s",_ptemp
);
5596 #define wxMenuItem_GetBitmap(_swigobj,_swigarg0) (_swigobj->GetBitmap(_swigarg0))
5597 static PyObject
*_wrap_wxMenuItem_GetBitmap(PyObject
*self
, PyObject
*args
) {
5598 PyObject
* _resultobj
;
5607 if(!PyArg_ParseTuple(args
,"s|i:wxMenuItem_GetBitmap",&_argc0
,&tempbool1
))
5610 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetBitmap. Expected _wxMenuItem_p.");
5615 _arg1
= (bool ) tempbool1
;
5617 wxPy_BEGIN_ALLOW_THREADS
;
5618 _result
= new wxBitmap (wxMenuItem_GetBitmap(_arg0
,_arg1
));
5620 wxPy_END_ALLOW_THREADS
;
5621 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
5622 _resultobj
= Py_BuildValue("s",_ptemp
);
5626 #define wxMenuItem_GetFont(_swigobj) (_swigobj->GetFont())
5627 static PyObject
*_wrap_wxMenuItem_GetFont(PyObject
*self
, PyObject
*args
) {
5628 PyObject
* _resultobj
;
5635 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetFont",&_argc0
))
5638 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetFont. Expected _wxMenuItem_p.");
5644 wxPy_BEGIN_ALLOW_THREADS
;
5645 wxFont
& _result_ref
= wxMenuItem_GetFont(_arg0
);
5646 _result
= (wxFont
*) &_result_ref
;
5648 wxPy_END_ALLOW_THREADS
;
5649 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
5650 _resultobj
= Py_BuildValue("s",_ptemp
);
5654 #define wxMenuItem_GetMarginWidth(_swigobj) (_swigobj->GetMarginWidth())
5655 static PyObject
*_wrap_wxMenuItem_GetMarginWidth(PyObject
*self
, PyObject
*args
) {
5656 PyObject
* _resultobj
;
5662 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetMarginWidth",&_argc0
))
5665 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMarginWidth. Expected _wxMenuItem_p.");
5671 wxPy_BEGIN_ALLOW_THREADS
;
5672 _result
= (int )wxMenuItem_GetMarginWidth(_arg0
);
5674 wxPy_END_ALLOW_THREADS
;
5675 } _resultobj
= Py_BuildValue("i",_result
);
5679 #define wxMenuItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
5680 static PyObject
*_wrap_wxMenuItem_GetTextColour(PyObject
*self
, PyObject
*args
) {
5681 PyObject
* _resultobj
;
5688 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetTextColour",&_argc0
))
5691 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetTextColour. Expected _wxMenuItem_p.");
5697 wxPy_BEGIN_ALLOW_THREADS
;
5698 wxColour
& _result_ref
= wxMenuItem_GetTextColour(_arg0
);
5699 _result
= (wxColour
*) &_result_ref
;
5701 wxPy_END_ALLOW_THREADS
;
5702 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
5703 _resultobj
= Py_BuildValue("s",_ptemp
);
5707 #define wxMenuItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5708 static PyObject
*_wrap_wxMenuItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
) {
5709 PyObject
* _resultobj
;
5716 if(!PyArg_ParseTuple(args
,"ss:wxMenuItem_SetBackgroundColour",&_argc0
,&_argc1
))
5719 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetBackgroundColour. Expected _wxMenuItem_p.");
5725 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
5726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetBackgroundColour. Expected _wxColour_p.");
5731 wxPy_BEGIN_ALLOW_THREADS
;
5732 wxMenuItem_SetBackgroundColour(_arg0
,*_arg1
);
5734 wxPy_END_ALLOW_THREADS
;
5735 } Py_INCREF(Py_None
);
5736 _resultobj
= Py_None
;
5740 #define wxMenuItem_SetBitmaps(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBitmaps(_swigarg0,_swigarg1))
5741 static PyObject
*_wrap_wxMenuItem_SetBitmaps(PyObject
*self
, PyObject
*args
) {
5742 PyObject
* _resultobj
;
5745 wxBitmap
* _arg2
= &wxNullBitmap
;
5751 if(!PyArg_ParseTuple(args
,"ss|s:wxMenuItem_SetBitmaps",&_argc0
,&_argc1
,&_argc2
))
5754 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetBitmaps. Expected _wxMenuItem_p.");
5760 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBitmap_p")) {
5761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetBitmaps. Expected _wxBitmap_p.");
5766 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxBitmap_p")) {
5767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuItem_SetBitmaps. Expected _wxBitmap_p.");
5772 wxPy_BEGIN_ALLOW_THREADS
;
5773 wxMenuItem_SetBitmaps(_arg0
,*_arg1
,*_arg2
);
5775 wxPy_END_ALLOW_THREADS
;
5776 } Py_INCREF(Py_None
);
5777 _resultobj
= Py_None
;
5781 #define wxMenuItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5782 static PyObject
*_wrap_wxMenuItem_SetFont(PyObject
*self
, PyObject
*args
) {
5783 PyObject
* _resultobj
;
5790 if(!PyArg_ParseTuple(args
,"ss:wxMenuItem_SetFont",&_argc0
,&_argc1
))
5793 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetFont. Expected _wxMenuItem_p.");
5799 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxFont_p")) {
5800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetFont. Expected _wxFont_p.");
5805 wxPy_BEGIN_ALLOW_THREADS
;
5806 wxMenuItem_SetFont(_arg0
,*_arg1
);
5808 wxPy_END_ALLOW_THREADS
;
5809 } Py_INCREF(Py_None
);
5810 _resultobj
= Py_None
;
5814 #define wxMenuItem_SetMarginWidth(_swigobj,_swigarg0) (_swigobj->SetMarginWidth(_swigarg0))
5815 static PyObject
*_wrap_wxMenuItem_SetMarginWidth(PyObject
*self
, PyObject
*args
) {
5816 PyObject
* _resultobj
;
5822 if(!PyArg_ParseTuple(args
,"si:wxMenuItem_SetMarginWidth",&_argc0
,&_arg1
))
5825 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetMarginWidth. Expected _wxMenuItem_p.");
5831 wxPy_BEGIN_ALLOW_THREADS
;
5832 wxMenuItem_SetMarginWidth(_arg0
,_arg1
);
5834 wxPy_END_ALLOW_THREADS
;
5835 } Py_INCREF(Py_None
);
5836 _resultobj
= Py_None
;
5840 #define wxMenuItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
5841 static PyObject
*_wrap_wxMenuItem_SetTextColour(PyObject
*self
, PyObject
*args
) {
5842 PyObject
* _resultobj
;
5849 if(!PyArg_ParseTuple(args
,"ss:wxMenuItem_SetTextColour",&_argc0
,&_argc1
))
5852 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetTextColour. Expected _wxMenuItem_p.");
5858 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
5859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetTextColour. Expected _wxColour_p.");
5864 wxPy_BEGIN_ALLOW_THREADS
;
5865 wxMenuItem_SetTextColour(_arg0
,*_arg1
);
5867 wxPy_END_ALLOW_THREADS
;
5868 } Py_INCREF(Py_None
);
5869 _resultobj
= Py_None
;
5873 #define wxMenuItem_DeleteSubMenu(_swigobj) (_swigobj->DeleteSubMenu())
5874 static PyObject
*_wrap_wxMenuItem_DeleteSubMenu(PyObject
*self
, PyObject
*args
) {
5875 PyObject
* _resultobj
;
5880 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_DeleteSubMenu",&_argc0
))
5883 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_DeleteSubMenu. Expected _wxMenuItem_p.");
5889 wxPy_BEGIN_ALLOW_THREADS
;
5890 wxMenuItem_DeleteSubMenu(_arg0
);
5892 wxPy_END_ALLOW_THREADS
;
5893 } Py_INCREF(Py_None
);
5894 _resultobj
= Py_None
;
5898 static PyMethodDef windowscMethods
[] = {
5899 { "wxMenuItem_DeleteSubMenu", _wrap_wxMenuItem_DeleteSubMenu
, 1 },
5900 { "wxMenuItem_SetTextColour", _wrap_wxMenuItem_SetTextColour
, 1 },
5901 { "wxMenuItem_SetMarginWidth", _wrap_wxMenuItem_SetMarginWidth
, 1 },
5902 { "wxMenuItem_SetFont", _wrap_wxMenuItem_SetFont
, 1 },
5903 { "wxMenuItem_SetBitmaps", _wrap_wxMenuItem_SetBitmaps
, 1 },
5904 { "wxMenuItem_SetBackgroundColour", _wrap_wxMenuItem_SetBackgroundColour
, 1 },
5905 { "wxMenuItem_GetTextColour", _wrap_wxMenuItem_GetTextColour
, 1 },
5906 { "wxMenuItem_GetMarginWidth", _wrap_wxMenuItem_GetMarginWidth
, 1 },
5907 { "wxMenuItem_GetFont", _wrap_wxMenuItem_GetFont
, 1 },
5908 { "wxMenuItem_GetBitmap", _wrap_wxMenuItem_GetBitmap
, 1 },
5909 { "wxMenuItem_GetBackgroundColour", _wrap_wxMenuItem_GetBackgroundColour
, 1 },
5910 { "wxMenuItem_Check", _wrap_wxMenuItem_Check
, 1 },
5911 { "wxMenuItem_Enable", _wrap_wxMenuItem_Enable
, 1 },
5912 { "wxMenuItem_SetHelp", _wrap_wxMenuItem_SetHelp
, 1 },
5913 { "wxMenuItem_GetHelp", _wrap_wxMenuItem_GetHelp
, 1 },
5914 { "wxMenuItem_GetName", _wrap_wxMenuItem_GetName
, 1 },
5915 { "wxMenuItem_SetName", _wrap_wxMenuItem_SetName
, 1 },
5916 { "wxMenuItem_GetSubMenu", _wrap_wxMenuItem_GetSubMenu
, 1 },
5917 { "wxMenuItem_GetId", _wrap_wxMenuItem_GetId
, 1 },
5918 { "wxMenuItem_IsCheckable", _wrap_wxMenuItem_IsCheckable
, 1 },
5919 { "wxMenuItem_IsChecked", _wrap_wxMenuItem_IsChecked
, 1 },
5920 { "wxMenuItem_IsEnabled", _wrap_wxMenuItem_IsEnabled
, 1 },
5921 { "wxMenuItem_IsSeparator", _wrap_wxMenuItem_IsSeparator
, 1 },
5922 { "new_wxMenuItem", _wrap_new_wxMenuItem
, 1 },
5923 { "wxMenuBar_GetMenu", _wrap_wxMenuBar_GetMenu
, 1 },
5924 { "wxMenuBar_GetMenuCount", _wrap_wxMenuBar_GetMenuCount
, 1 },
5925 { "wxMenuBar_SetLabelTop", _wrap_wxMenuBar_SetLabelTop
, 1 },
5926 { "wxMenuBar_GetLabelTop", _wrap_wxMenuBar_GetLabelTop
, 1 },
5927 { "wxMenuBar_SetLabel", _wrap_wxMenuBar_SetLabel
, 1 },
5928 { "wxMenuBar_SetHelpString", _wrap_wxMenuBar_SetHelpString
, 1 },
5929 { "wxMenuBar_GetLabel", _wrap_wxMenuBar_GetLabel
, 1 },
5930 { "wxMenuBar_GetHelpString", _wrap_wxMenuBar_GetHelpString
, 1 },
5931 { "wxMenuBar_EnableTop", _wrap_wxMenuBar_EnableTop
, 1 },
5932 { "wxMenuBar_FindItemForId", _wrap_wxMenuBar_FindItemForId
, 1 },
5933 { "wxMenuBar_FindMenuItem", _wrap_wxMenuBar_FindMenuItem
, 1 },
5934 { "wxMenuBar_Enabled", _wrap_wxMenuBar_Enabled
, 1 },
5935 { "wxMenuBar_Enable", _wrap_wxMenuBar_Enable
, 1 },
5936 { "wxMenuBar_Checked", _wrap_wxMenuBar_Checked
, 1 },
5937 { "wxMenuBar_Check", _wrap_wxMenuBar_Check
, 1 },
5938 { "wxMenuBar_Append", _wrap_wxMenuBar_Append
, 1 },
5939 { "new_wxMenuBar", _wrap_new_wxMenuBar
, 1 },
5940 { "delete_wxPyMenu", _wrap_delete_wxPyMenu
, 1 },
5941 { "new_wxPyMenu", _wrap_new_wxPyMenu
, 1 },
5942 { "wxMenu_SetLabel", _wrap_wxMenu_SetLabel
, 1 },
5943 { "wxMenu_IsEnabled", _wrap_wxMenu_IsEnabled
, 1 },
5944 { "wxMenu_IsChecked", _wrap_wxMenu_IsChecked
, 1 },
5945 { "wxMenu_SetHelpString", _wrap_wxMenu_SetHelpString
, 1 },
5946 { "wxMenu_GetLabel", _wrap_wxMenu_GetLabel
, 1 },
5947 { "wxMenu_GetHelpString", _wrap_wxMenu_GetHelpString
, 1 },
5948 { "wxMenu_FindItemForId", _wrap_wxMenu_FindItemForId
, 1 },
5949 { "wxMenu_SetTitle", _wrap_wxMenu_SetTitle
, 1 },
5950 { "wxMenu_GetTitle", _wrap_wxMenu_GetTitle
, 1 },
5951 { "wxMenu_FindItem", _wrap_wxMenu_FindItem
, 1 },
5952 { "wxMenu_Enable", _wrap_wxMenu_Enable
, 1 },
5953 { "wxMenu_Check", _wrap_wxMenu_Check
, 1 },
5954 { "wxMenu_Break", _wrap_wxMenu_Break
, 1 },
5955 { "wxMenu_AppendSeparator", _wrap_wxMenu_AppendSeparator
, 1 },
5956 { "wxMenu_AppendItem", _wrap_wxMenu_AppendItem
, 1 },
5957 { "wxMenu_AppendMenu", _wrap_wxMenu_AppendMenu
, 1 },
5958 { "wxMenu_Append", _wrap_wxMenu_Append
, 1 },
5959 { "new_wxMenu", _wrap_new_wxMenu
, 1 },
5960 { "wxScrolledWindow_ViewStart", _wrap_wxScrolledWindow_ViewStart
, 1 },
5961 { "wxScrolledWindow_SetScrollbars", _wrap_wxScrolledWindow_SetScrollbars
, 1 },
5962 { "wxScrolledWindow_Scroll", _wrap_wxScrolledWindow_Scroll
, 1 },
5963 { "wxScrolledWindow_PrepareDC", _wrap_wxScrolledWindow_PrepareDC
, 1 },
5964 { "wxScrolledWindow_IsRetained", _wrap_wxScrolledWindow_IsRetained
, 1 },
5965 { "wxScrolledWindow_GetVirtualSize", _wrap_wxScrolledWindow_GetVirtualSize
, 1 },
5966 { "wxScrolledWindow_GetScrollPixelsPerUnit", _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, 1 },
5967 { "wxScrolledWindow_EnableScrolling", _wrap_wxScrolledWindow_EnableScrolling
, 1 },
5968 { "new_wxScrolledWindow", _wrap_new_wxScrolledWindow
, 1 },
5969 { "wxDialog_ShowModal", _wrap_wxDialog_ShowModal
, 1 },
5970 { "wxDialog_Show", _wrap_wxDialog_Show
, 1 },
5971 { "wxDialog_SetTitle", _wrap_wxDialog_SetTitle
, 1 },
5972 { "wxDialog_IsModal", _wrap_wxDialog_IsModal
, 1 },
5973 { "wxDialog_SetModal", _wrap_wxDialog_SetModal
, 1 },
5974 { "wxDialog_IsIconized", _wrap_wxDialog_IsIconized
, 1 },
5975 { "wxDialog_Iconize", _wrap_wxDialog_Iconize
, 1 },
5976 { "wxDialog_GetTitle", _wrap_wxDialog_GetTitle
, 1 },
5977 { "wxDialog_EndModal", _wrap_wxDialog_EndModal
, 1 },
5978 { "wxDialog_Centre", _wrap_wxDialog_Centre
, 1 },
5979 { "new_wxDialog", _wrap_new_wxDialog
, 1 },
5980 { "wxPanel_InitDialog", _wrap_wxPanel_InitDialog
, 1 },
5981 { "new_wxPanel", _wrap_new_wxPanel
, 1 },
5982 { "wxWindow_GetToolTip", _wrap_wxWindow_GetToolTip
, 1 },
5983 { "wxWindow_SetToolTip", _wrap_wxWindow_SetToolTip
, 1 },
5984 { "wxWindow_SetToolTipString", _wrap_wxWindow_SetToolTipString
, 1 },
5985 { "wxWindow_ConvertPixelSizeToDialog", _wrap_wxWindow_ConvertPixelSizeToDialog
, 1 },
5986 { "wxWindow_ConvertPixelPointToDialog", _wrap_wxWindow_ConvertPixelPointToDialog
, 1 },
5987 { "wxWindow_DLG_SZE", _wrap_wxWindow_ConvertDialogSizeToPixels
, 1 },
5988 { "wxWindow_DLG_PNT", _wrap_wxWindow_ConvertDialogPointToPixels
, 1 },
5989 { "wxWindow_ConvertDialogSizeToPixels", _wrap_wxWindow_ConvertDialogSizeToPixels
, 1 },
5990 { "wxWindow_ConvertDialogPointToPixels", _wrap_wxWindow_ConvertDialogPointToPixels
, 1 },
5991 { "wxWindow_WarpPointer", _wrap_wxWindow_WarpPointer
, 1 },
5992 { "wxWindow_Validate", _wrap_wxWindow_Validate
, 1 },
5993 { "wxWindow_TransferDataToWindow", _wrap_wxWindow_TransferDataToWindow
, 1 },
5994 { "wxWindow_TransferDataFromWindow", _wrap_wxWindow_TransferDataFromWindow
, 1 },
5995 { "wxWindow_Show", _wrap_wxWindow_Show
, 1 },
5996 { "wxWindow_SetTitle", _wrap_wxWindow_SetTitle
, 1 },
5997 { "wxWindow_SetCursor", _wrap_wxWindow_SetCursor
, 1 },
5998 { "wxWindow_SetClientSize", _wrap_wxWindow_SetClientSize
, 1 },
5999 { "wxWindow_SetClientSizeWH", _wrap_wxWindow_SetClientSizeWH
, 1 },
6000 { "wxWindow_SetSizeHints", _wrap_wxWindow_SetSizeHints
, 1 },
6001 { "wxWindow_SetPosition", _wrap_wxWindow_SetPosition
, 1 },
6002 { "wxWindow_SetSize", _wrap_wxWindow_SetSize
, 1 },
6003 { "wxWindow_SetDimensions", _wrap_wxWindow_SetDimensions
, 1 },
6004 { "wxWindow_SetScrollPos", _wrap_wxWindow_SetScrollPos
, 1 },
6005 { "wxWindow_SetScrollbar", _wrap_wxWindow_SetScrollbar
, 1 },
6006 { "wxWindow_SetReturnCode", _wrap_wxWindow_SetReturnCode
, 1 },
6007 { "wxWindow_SetName", _wrap_wxWindow_SetName
, 1 },
6008 { "wxWindow_SetId", _wrap_wxWindow_SetId
, 1 },
6009 { "wxWindow_SetForegroundColour", _wrap_wxWindow_SetForegroundColour
, 1 },
6010 { "wxWindow_SetFont", _wrap_wxWindow_SetFont
, 1 },
6011 { "wxWindow_SetFocus", _wrap_wxWindow_SetFocus
, 1 },
6012 { "wxWindow_SetDoubleClick", _wrap_wxWindow_SetDoubleClick
, 1 },
6013 { "wxWindow_SetConstraints", _wrap_wxWindow_SetConstraints
, 1 },
6014 { "wxWindow_SetBackgroundColour", _wrap_wxWindow_SetBackgroundColour
, 1 },
6015 { "wxWindow_SetAutoLayout", _wrap_wxWindow_SetAutoLayout
, 1 },
6016 { "wxWindow_SetAcceleratorTable", _wrap_wxWindow_SetAcceleratorTable
, 1 },
6017 { "wxWindow_ScrollWindow", _wrap_wxWindow_ScrollWindow
, 1 },
6018 { "wxWindow_ScreenToClient", _wrap_wxWindow_ScreenToClient
, 1 },
6019 { "wxWindow_ScreenToClientXY", _wrap_wxWindow_ScreenToClientXY
, 1 },
6020 { "wxWindow_ReleaseMouse", _wrap_wxWindow_ReleaseMouse
, 1 },
6021 { "wxWindow_Refresh", _wrap_wxWindow_Refresh
, 1 },
6022 { "wxWindow_Raise", _wrap_wxWindow_Raise
, 1 },
6023 { "wxWindow_PopupMenu", _wrap_wxWindow_PopupMenu
, 1 },
6024 { "wxWindow_Move", _wrap_wxWindow_Move
, 1 },
6025 { "wxWindow_MoveXY", _wrap_wxWindow_MoveXY
, 1 },
6026 { "wxWindow_MakeModal", _wrap_wxWindow_MakeModal
, 1 },
6027 { "wxWindow_Lower", _wrap_wxWindow_Lower
, 1 },
6028 { "wxWindow_LoadFromResource", _wrap_wxWindow_LoadFromResource
, 1 },
6029 { "wxWindow_Layout", _wrap_wxWindow_Layout
, 1 },
6030 { "wxWindow_IsShown", _wrap_wxWindow_IsShown
, 1 },
6031 { "wxWindow_IsRetained", _wrap_wxWindow_IsRetained
, 1 },
6032 { "wxWindow_IsEnabled", _wrap_wxWindow_IsEnabled
, 1 },
6033 { "wxWindow_InitDialog", _wrap_wxWindow_InitDialog
, 1 },
6034 { "wxWindow_GetWindowStyleFlag", _wrap_wxWindow_GetWindowStyleFlag
, 1 },
6035 { "wxWindow_GetTitle", _wrap_wxWindow_GetTitle
, 1 },
6036 { "wxWindow_GetFullTextExtent", _wrap_wxWindow_GetFullTextExtent
, 1 },
6037 { "wxWindow_GetTextExtent", _wrap_wxWindow_GetTextExtent
, 1 },
6038 { "wxWindow_GetSize", _wrap_wxWindow_GetSize
, 1 },
6039 { "wxWindow_GetSizeTuple", _wrap_wxWindow_GetSizeTuple
, 1 },
6040 { "wxWindow_GetScrollRange", _wrap_wxWindow_GetScrollRange
, 1 },
6041 { "wxWindow_GetScrollPos", _wrap_wxWindow_GetScrollPos
, 1 },
6042 { "wxWindow_GetScrollThumb", _wrap_wxWindow_GetScrollThumb
, 1 },
6043 { "wxWindow_GetReturnCode", _wrap_wxWindow_GetReturnCode
, 1 },
6044 { "wxWindow_GetRect", _wrap_wxWindow_GetRect
, 1 },
6045 { "wxWindow_GetPosition", _wrap_wxWindow_GetPosition
, 1 },
6046 { "wxWindow_GetPositionTuple", _wrap_wxWindow_GetPositionTuple
, 1 },
6047 { "wxWindow_GetParent", _wrap_wxWindow_GetParent
, 1 },
6048 { "wxWindow_GetName", _wrap_wxWindow_GetName
, 1 },
6049 { "wxWindow_GetLabel", _wrap_wxWindow_GetLabel
, 1 },
6050 { "wxWindow_GetId", _wrap_wxWindow_GetId
, 1 },
6051 { "wxWindow_GetGrandParent", _wrap_wxWindow_GetGrandParent
, 1 },
6052 { "wxWindow_GetForegroundColour", _wrap_wxWindow_GetForegroundColour
, 1 },
6053 { "wxWindow_GetFont", _wrap_wxWindow_GetFont
, 1 },
6054 { "wxWindow_GetDefaultItem", _wrap_wxWindow_GetDefaultItem
, 1 },
6055 { "wxWindow_GetConstraints", _wrap_wxWindow_GetConstraints
, 1 },
6056 { "wxWindow_GetClientSize", _wrap_wxWindow_GetClientSize
, 1 },
6057 { "wxWindow_GetClientSizeTuple", _wrap_wxWindow_GetClientSizeTuple
, 1 },
6058 { "wxWindow_GetCharWidth", _wrap_wxWindow_GetCharWidth
, 1 },
6059 { "wxWindow_GetCharHeight", _wrap_wxWindow_GetCharHeight
, 1 },
6060 { "wxWindow_GetBackgroundColour", _wrap_wxWindow_GetBackgroundColour
, 1 },
6061 { "wxWindow_Fit", _wrap_wxWindow_Fit
, 1 },
6062 { "wxWindow_FindWindowByName", _wrap_wxWindow_FindWindowByName
, 1 },
6063 { "wxWindow_FindWindowById", _wrap_wxWindow_FindWindowById
, 1 },
6064 { "wxWindow_Enable", _wrap_wxWindow_Enable
, 1 },
6065 { "wxWindow_DragAcceptFiles", _wrap_wxWindow_DragAcceptFiles
, 1 },
6066 { "wxWindow_DestroyChildren", _wrap_wxWindow_DestroyChildren
, 1 },
6067 { "wxWindow_Destroy", _wrap_wxWindow_Destroy
, 1 },
6068 { "wxWindow_Close", _wrap_wxWindow_Close
, 1 },
6069 { "wxWindow_ClientToScreen", _wrap_wxWindow_ClientToScreen
, 1 },
6070 { "wxWindow_ClientToScreenXY", _wrap_wxWindow_ClientToScreenXY
, 1 },
6071 { "wxWindow_Centre", _wrap_wxWindow_Centre
, 1 },
6072 { "wxWindow_Center", _wrap_wxWindow_Center
, 1 },
6073 { "wxWindow_CaptureMouse", _wrap_wxWindow_CaptureMouse
, 1 },
6074 { "new_wxWindow", _wrap_new_wxWindow
, 1 },
6075 { "wxEvtHandler_Connect", _wrap_wxEvtHandler_Connect
, 1 },
6076 { "wxEvtHandler_ProcessEvent", _wrap_wxEvtHandler_ProcessEvent
, 1 },
6077 { "wxWindow_FromHWND", _wrap_wxWindow_FromHWND
, 1 },
6078 { "wxWindow_FindFocus", _wrap_wxWindow_FindFocus
, 1 },
6081 static PyObject
*SWIG_globals
;
6085 SWIGEXPORT(void,initwindowsc
)() {
6087 SWIG_globals
= SWIG_newvarlink();
6088 m
= Py_InitModule("windowsc", windowscMethods
);
6089 d
= PyModule_GetDict(m
);
6091 * These are the pointer type-equivalency mappings.
6092 * (Used by the SWIG pointer type-checker).
6094 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
6095 SWIG_RegisterMapping("_signed_long","_long",0);
6096 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
6097 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
6098 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
6099 SWIG_RegisterMapping("_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
6100 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxPyMenu",SwigwxPyMenuTowxEvtHandler
);
6101 SWIG_RegisterMapping("_class_wxEvtHandler","_wxPyMenu",SwigwxPyMenuTowxEvtHandler
);
6102 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
);
6103 SWIG_RegisterMapping("_class_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
);
6104 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
6105 SWIG_RegisterMapping("_class_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
6106 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
);
6107 SWIG_RegisterMapping("_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
);
6108 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
);
6109 SWIG_RegisterMapping("_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
);
6110 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
);
6111 SWIG_RegisterMapping("_class_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
);
6112 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
6113 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
6114 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
6115 SWIG_RegisterMapping("_wxToolTip","_class_wxToolTip",0);
6116 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
6117 SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
6118 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
6119 SWIG_RegisterMapping("_byte","_unsigned_char",0);
6120 SWIG_RegisterMapping("_long","_wxDash",0);
6121 SWIG_RegisterMapping("_long","_unsigned_long",0);
6122 SWIG_RegisterMapping("_long","_signed_long",0);
6123 SWIG_RegisterMapping("_wxImageList","_class_wxImageList",0);
6124 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
6125 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
6126 SWIG_RegisterMapping("_size_t","_unsigned_int",0);
6127 SWIG_RegisterMapping("_size_t","_int",0);
6128 SWIG_RegisterMapping("_size_t","_wxWindowID",0);
6129 SWIG_RegisterMapping("_size_t","_uint",0);
6130 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
6131 SWIG_RegisterMapping("_wxPrinterDC","_class_wxPrinterDC",0);
6132 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
6133 SWIG_RegisterMapping("_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
);
6134 SWIG_RegisterMapping("_wxPanel","_wxDialog",SwigwxDialogTowxPanel
);
6135 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
6136 SWIG_RegisterMapping("_class_wxToolTip","_wxToolTip",0);
6137 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
6138 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
6139 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
6140 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
6141 SWIG_RegisterMapping("_uint","_size_t",0);
6142 SWIG_RegisterMapping("_uint","_unsigned_int",0);
6143 SWIG_RegisterMapping("_uint","_int",0);
6144 SWIG_RegisterMapping("_uint","_wxWindowID",0);
6145 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
6146 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
6147 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
6148 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
6149 SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
6150 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
6151 SWIG_RegisterMapping("_EBool","_signed_int",0);
6152 SWIG_RegisterMapping("_EBool","_int",0);
6153 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
6154 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
6155 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
6156 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
6157 SWIG_RegisterMapping("_unsigned_long","_long",0);
6158 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
6159 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
6160 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
6161 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
6162 SWIG_RegisterMapping("_class_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
);
6163 SWIG_RegisterMapping("_class_wxPanel","_wxDialog",SwigwxDialogTowxPanel
);
6164 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
6165 SWIG_RegisterMapping("_signed_int","_EBool",0);
6166 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
6167 SWIG_RegisterMapping("_signed_int","_int",0);
6168 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
6169 SWIG_RegisterMapping("_wxMetaFileDC","_class_wxMetaFileDC",0);
6170 SWIG_RegisterMapping("_wxMenu","_class_wxPyMenu",SwigwxPyMenuTowxMenu
);
6171 SWIG_RegisterMapping("_wxMenu","_wxPyMenu",SwigwxPyMenuTowxMenu
);
6172 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
6173 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
6174 SWIG_RegisterMapping("_WXTYPE","_short",0);
6175 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
6176 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
6177 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
6178 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
6179 SWIG_RegisterMapping("_unsigned_short","_short",0);
6180 SWIG_RegisterMapping("_class_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
6181 SWIG_RegisterMapping("_class_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
6182 SWIG_RegisterMapping("_class_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
);
6183 SWIG_RegisterMapping("_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow
);
6184 SWIG_RegisterMapping("_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
);
6185 SWIG_RegisterMapping("_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow
);
6186 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
6187 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
6188 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
6189 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
6190 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
6191 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
6192 SWIG_RegisterMapping("_signed_short","_short",0);
6193 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
6194 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
6195 SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0);
6196 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
6197 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
6198 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
6199 SWIG_RegisterMapping("_unsigned_char","_byte",0);
6200 SWIG_RegisterMapping("_class_wxMetaFileDC","_wxMetaFileDC",0);
6201 SWIG_RegisterMapping("_class_wxMenu","_class_wxPyMenu",SwigwxPyMenuTowxMenu
);
6202 SWIG_RegisterMapping("_class_wxMenu","_wxPyMenu",SwigwxPyMenuTowxMenu
);
6203 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
6204 SWIG_RegisterMapping("_unsigned_int","_size_t",0);
6205 SWIG_RegisterMapping("_unsigned_int","_uint",0);
6206 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
6207 SWIG_RegisterMapping("_unsigned_int","_int",0);
6208 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
6209 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
6210 SWIG_RegisterMapping("_class_wxPyMenu","_wxPyMenu",0);
6211 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
6212 SWIG_RegisterMapping("_short","_WXTYPE",0);
6213 SWIG_RegisterMapping("_short","_unsigned_short",0);
6214 SWIG_RegisterMapping("_short","_signed_short",0);
6215 SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0);
6216 SWIG_RegisterMapping("_wxWindowID","_size_t",0);
6217 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
6218 SWIG_RegisterMapping("_wxWindowID","_uint",0);
6219 SWIG_RegisterMapping("_wxWindowID","_int",0);
6220 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
6221 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
6222 SWIG_RegisterMapping("_int","_size_t",0);
6223 SWIG_RegisterMapping("_int","_EBool",0);
6224 SWIG_RegisterMapping("_int","_uint",0);
6225 SWIG_RegisterMapping("_int","_wxWindowID",0);
6226 SWIG_RegisterMapping("_int","_unsigned_int",0);
6227 SWIG_RegisterMapping("_int","_signed_int",0);
6228 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
6229 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
6230 SWIG_RegisterMapping("_class_wxPrinterDC","_wxPrinterDC",0);
6231 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
6232 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
6233 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
6234 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
6235 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
6236 SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
6237 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
6238 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
6239 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
6240 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
6241 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
6242 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
6243 SWIG_RegisterMapping("_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
6244 SWIG_RegisterMapping("_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
6245 SWIG_RegisterMapping("_wxEvtHandler","_class_wxPyMenu",SwigwxPyMenuTowxEvtHandler
);
6246 SWIG_RegisterMapping("_wxEvtHandler","_wxPyMenu",SwigwxPyMenuTowxEvtHandler
);
6247 SWIG_RegisterMapping("_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
);
6248 SWIG_RegisterMapping("_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
);
6249 SWIG_RegisterMapping("_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
6250 SWIG_RegisterMapping("_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
6251 SWIG_RegisterMapping("_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
);
6252 SWIG_RegisterMapping("_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
);
6253 SWIG_RegisterMapping("_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
);
6254 SWIG_RegisterMapping("_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
);
6255 SWIG_RegisterMapping("_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
);
6256 SWIG_RegisterMapping("_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
);
6257 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
6258 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
6259 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
6260 SWIG_RegisterMapping("_wxDash","_long",0);
6261 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
6262 SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);
6263 SWIG_RegisterMapping("_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
6264 SWIG_RegisterMapping("_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
6265 SWIG_RegisterMapping("_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
);
6266 SWIG_RegisterMapping("_wxWindow","_wxDialog",SwigwxDialogTowxWindow
);
6267 SWIG_RegisterMapping("_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
);
6268 SWIG_RegisterMapping("_wxWindow","_wxPanel",SwigwxPanelTowxWindow
);
6269 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);